@jirkasa/code-box
Version:
Showcase code samples on the web with a container that lets users select and display different samples.
62 lines (61 loc) • 5.53 kB
TypeScript
/** Stores all CSS classes used in code. */
declare class CSSClasses {
static readonly CODE_VIEW = "cb-code-view";
static readonly CODE_VIEW_GUTTER = "cb-code-view__gutter";
static readonly CODE_VIEW_GUTTER_HIDDEN_MODIFIER = "cb-code-view__gutter--hidden";
static readonly CODE_VIEW_LINE_NUMBER = "cb-code-view__line-number";
static readonly CODE_VIEW_LINE_NUMBER_HIDDEN_MODIFIER = "cb-code-view__line-number--hidden";
static readonly CODE_VIEW_CONTAINER = "cb-code-view__container";
static readonly CODE_VIEW_CONTENT_CONTAINER = "cb-code-view__content";
static readonly CODE_VIEW_HIGHLIGHT_BOX = "cb-code-view__highlight";
static readonly TAB_CODE_BOX = "cb-tab-code-box";
static readonly TAB_CODE_BOX_TABS = "cb-tab-code-box__tabs";
static readonly TAB_CODE_BOX_TAB = "cb-tab-code-box__tab";
static readonly TAB_CODE_BOX_TAB_ACTIVE_MODIFIER = "cb-tab-code-box__tab--active";
static readonly TAB_CODE_BOX_TAB_ICON = "cb-tab-code-box__tab-icon";
static readonly TAB_CODE_BOX_TAB_DOWNLOAD_ICON = "cb-tab-code-box__tab-download-icon";
static readonly TAB_CODE_BOX_TAB_TEXT = "cb-tab-code-box__tab-text";
static readonly TAB_CODE_BOX_CODE_VIEW_CONTAINER = "cb-tab-code-box__code-view-container";
static readonly TAB_CODE_BOX_CODE_VIEW_CONTAINER_HIDDEN_MODIFIER = "cb-tab-code-box__code-view-container--hidden";
static readonly TAB_CODE_BOX_NO_CODE_VIEW = "cb-tab-code-box__no-code-view";
static readonly TAB_CODE_BOX_NO_CODE_VIEW_HIDDEN_MODIFIER = "cb-tab-code-box__no-code-view--hidden";
static readonly TAB_CODE_BOX_NO_CODE_VIEW_MESSAGE = "cb-tab-code-box__no-code-view-message";
static readonly PROJECT_CODE_BOX = "cb-project-code-box";
static readonly PROJECT_CODE_BOX_PANEL_CONTAINER = "cb-project-code-box__panel-container";
static readonly PROJECT_CODE_BOX_CODE_VIEW_CONTAINER = "cb-project-code-box__code-view-container";
static readonly PROJECT_CODE_BOX_CODE_VIEW_CONTAINER_HIDDEN_MODIFIER = "cb-project-code-box__code-view-container--hidden";
static readonly PROJECT_CODE_BOX_NO_CODE_VIEW = "cb-project-code-box__no-code-view";
static readonly PROJECT_CODE_BOX_NO_CODE_VIEW_HIDDEN_MODIFIER = "cb-project-code-box__no-code-view--hidden";
static readonly PROJECT_CODE_BOX_NO_CODE_VIEW_MESSAGE = "cb-project-code-box__no-code-view-message";
static readonly PROJECT_CODE_BOX_PANEL = "cb-project-code-box__panel";
static readonly PROJECT_CODE_BOX_PANEL_OPENED_MODIFIER = "cb-project-code-box__panel--opened";
static readonly PROJECT_CODE_BOX_PANEL_CONTENT = "cb-project-code-box__panel-content";
static readonly PROJECT_CODE_BOX_PANEL_OPEN_BUTTON = "cb-project-code-box__panel-open-button";
static readonly PROJECT_CODE_BOX_PANEL_OPEN_BUTTON_OPENED_MODIFIER = "cb-project-code-box__panel-open-button--opened";
static readonly PROJECT_CODE_BOX_PANEL_OPEN_BUTTON_ICON = "cb-project-code-box__panel-open-button-icon";
static readonly PROJECT_CODE_BOX_PANEL_HEADING = "cb-project-code-box__panel-heading";
static readonly PROJECT_CODE_BOX_PANEL_FOLDER_STRUCTURE_CONTAINER = "cb-project-code-box__panel-folder-structure-container";
static readonly PROJECT_CODE_BOX_PANEL_PACKAGES_CONTAINER = "cb-project-code-box__panel-packages-container";
static readonly PROJECT_CODE_BOX_PANEL_ITEM = "cb-project-code-box__panel-item";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_ACTIVE_MODIFIER = "cb-project-code-box__panel-item--active";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_FOLDER_OPENED_MODIFIER = "cb-project-code-box__panel-item--folder-opened";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_PROJECT_MODIFIER = "cb-project-code-box__panel-item--project";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_PACKAGE_MODIFIER = "cb-project-code-box__panel-item--package";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_DEFAULT_PACKAGE_MODIFIER = "cb-project-code-box__panel-item--default-package";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_FOLDER_MODIFIER = "cb-project-code-box__panel-item--folder";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_FILE_MODIFIER = "cb-project-code-box__panel-item--file";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_ICON = "cb-project-code-box__panel-item-icon";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_ARROW_ICON = "cb-project-code-box__panel-item-arrow-icon";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_TEXT = "cb-project-code-box__panel-item-text";
static readonly PROJECT_CODE_BOX_PANEL_ITEM_DOWNLOAD_ICON = "cb-project-code-box__panel-item-download-icon";
static readonly PROJECT_CODE_BOX_PANEL_COLLAPSIBLE = "cb-project-code-box__panel-collapsible";
static readonly PROJECT_CODE_BOX_PANEL_COLLAPSIBLE_OPENED_MODIFIDER = "cb-project-code-box__panel-collapsible--opened";
static readonly PROJECT_CODE_BOX_PANEL_HORIZONTAL_RULE = "cb-project-code-box__panel-horizontal-rule";
static readonly VIRTUAL_CODE_BOX = "cb-virtual-code-box";
static readonly VIRTUAL_CODE_BOX_CODE_VIEW_CONTAINER = "cb-virtual-code-box__code-view-container";
static readonly VIRTUAL_CODE_BOX_CODE_VIEW_CONTAINER_HIDDEN_MODIFIER = "cb-virtual-code-box__code-view-container--hidden";
static readonly VIRTUAL_CODE_BOX_NO_CODE_VIEW = "cb-virtual-code-box__no-code-view";
static readonly VIRTUAL_CODE_BOX_NO_CODE_VIEW_HIDDEN_MODIFIER = "cb-virtual-code-box__no-code-view--hidden";
static readonly VIRTUAL_CODE_BOX_NO_CODE_VIEW_MESSAGE = "cb-virtual-code-box__no-code-view-message";
}
export default CSSClasses;