@koobiq/components 18.1.0 → 18.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/README.md +0 -0
- package/accordion/_accordion-theme.scss +62 -0
- package/accordion/accordion-content.d.ts +6 -0
- package/accordion/accordion-header.d.ts +6 -0
- package/accordion/accordion-item.d.ts +6 -0
- package/accordion/accordion-tokens.scss +45 -0
- package/accordion/accordion-trigger.component.d.ts +11 -0
- package/accordion/accordion-trigger.component.scss +79 -0
- package/accordion/accordion.component.d.ts +20 -0
- package/accordion/accordion.component.scss +66 -0
- package/accordion/accordion.module.d.ts +12 -0
- package/accordion/index.d.ts +1 -0
- package/accordion/public-api.d.ts +6 -0
- package/alert/_alert-theme.scss +3 -3
- package/alert/alert-tokens.scss +3 -3
- package/alert/alert.component.scss +40 -39
- package/autocomplete/_autocomplete-theme.scss +2 -2
- package/autocomplete/autocomplete.scss +6 -6
- package/badge/_badge-theme.scss +5 -5
- package/badge/badge.component.scss +16 -16
- package/button/_button-base.scss +6 -6
- package/button/_button-theme.scss +11 -11
- package/button/button.dropdown-trigger.directive.d.ts +14 -0
- package/button/button.module.d.ts +2 -1
- package/button/button.scss +8 -8
- package/button/public-api.d.ts +1 -0
- package/button-toggle/_button-toggle-theme.scss +5 -5
- package/button-toggle/button-toggle.scss +11 -11
- package/checkbox/_checkbox-theme.scss +22 -22
- package/checkbox/checkbox-tokens.scss +2 -2
- package/checkbox/checkbox.scss +16 -16
- package/code-block/_code-block-theme.scss +15 -15
- package/code-block/actionbar.component.scss +4 -4
- package/code-block/code-block.scss +18 -19
- package/core/forms/_forms-theme.scss +2 -2
- package/core/forms/_forms.scss +12 -12
- package/core/option/_optgroup-theme.scss +2 -2
- package/core/option/_option-action-theme.scss +6 -6
- package/core/option/_option-theme.scss +5 -5
- package/core/option/action.d.ts +1 -1
- package/core/option/action.scss +2 -2
- package/core/option/optgroup.scss +1 -1
- package/core/pop-up/pop-up-trigger.d.ts +3 -3
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +8 -8
- package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +2 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +8 -8
- package/core/styles/common/_groups.scss +4 -4
- package/core/styles/common/_list.scss +19 -19
- package/core/styles/common/_popup.scss +3 -3
- package/core/styles/common/_select.scss +13 -13
- package/core/styles/common/_tokens.scss +8 -19
- package/core/styles/theming/_scrollbar-theme.scss +11 -11
- package/core/styles/visual/_layout.scss +13 -13
- package/datepicker/_datepicker-theme.scss +15 -15
- package/datepicker/calendar-body.scss +2 -2
- package/datepicker/calendar-header.scss +3 -3
- package/datepicker/calendar.scss +6 -6
- package/datepicker/datepicker-content.scss +4 -4
- package/datepicker/datepicker-toggle.scss +2 -2
- package/divider/_divider-theme.scss +1 -1
- package/divider/divider.scss +6 -6
- package/dl/_dl-theme.scss +2 -2
- package/dl/dl.scss +4 -4
- package/dropdown/_dropdown-theme.scss +7 -7
- package/dropdown/dropdown-item.scss +2 -2
- package/dropdown/dropdown.scss +5 -5
- package/empty-state/_empty-state-theme.scss +4 -4
- package/empty-state/empty-state.scss +18 -20
- package/esm2022/accordion/accordion-content.mjs +19 -0
- package/esm2022/accordion/accordion-header.mjs +19 -0
- package/esm2022/accordion/accordion-item.mjs +25 -0
- package/esm2022/accordion/accordion-trigger.component.mjs +60 -0
- package/esm2022/accordion/accordion.component.mjs +40 -0
- package/esm2022/accordion/accordion.module.mjs +44 -0
- package/esm2022/accordion/index.mjs +2 -0
- package/esm2022/accordion/koobiq-components-accordion.mjs +5 -0
- package/esm2022/accordion/public-api.mjs +7 -0
- package/esm2022/alert/alert.component.mjs +2 -2
- package/esm2022/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/button/button.dropdown-trigger.directive.mjs +28 -0
- package/esm2022/button/button.module.mjs +10 -5
- package/esm2022/button/public-api.mjs +2 -1
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/code-block/actionbar.component.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +2 -2
- package/esm2022/core/option/action.mjs +7 -10
- package/esm2022/core/option/optgroup.mjs +2 -2
- package/esm2022/core/option/option.mjs +2 -2
- package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -12
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +2 -2
- package/esm2022/datepicker/calendar.component.mjs +2 -2
- package/esm2022/datepicker/datepicker-toggle.component.mjs +2 -2
- package/esm2022/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/divider/divider.component.mjs +2 -2
- package/esm2022/dl/dl.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/empty-state/empty-state.component.mjs +2 -2
- package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
- package/esm2022/form-field/cleaner.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +9 -10
- package/esm2022/form-field/hint.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +2 -2
- package/esm2022/form-field/password-toggle.mjs +2 -2
- package/esm2022/form-field/stepper.mjs +2 -2
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/icon/icon-item.component.mjs +2 -2
- package/esm2022/icon/icon.component.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +10 -14
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +2 -2
- package/esm2022/modal/modal.component.mjs +5 -7
- package/esm2022/navbar/navbar-item.component.mjs +8 -11
- package/esm2022/navbar/navbar.component.mjs +14 -15
- package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +5 -5
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
- package/esm2022/radio/radio.component.mjs +2 -2
- package/esm2022/risk-level/risk-level.component.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/select/select.component.mjs +17 -16
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/splitter/splitter.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +2 -2
- package/esm2022/tabs/paginated-tab-header.mjs +10 -12
- package/esm2022/tabs/tab-group.component.mjs +2 -2
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
- package/esm2022/tags/tag-list.component.mjs +11 -13
- package/esm2022/tags/tag.component.mjs +2 -2
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/timezone/timezone-select.component.mjs +2 -2
- package/esm2022/toast/toast-container.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +7 -8
- package/esm2022/toggle/toggle.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +3 -9
- package/esm2022/tree/toggle.mjs +2 -2
- package/esm2022/tree/tree-base.mjs +5 -8
- package/esm2022/tree/tree-option.component.mjs +2 -2
- package/esm2022/tree/tree-selection.component.mjs +12 -15
- package/esm2022/tree/tree.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +15 -15
- package/fesm2022/koobiq-components-accordion.mjs +189 -0
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -0
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +2 -2
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +2 -2
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +38 -8
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +4 -4
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +22 -23
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +10 -10
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +2 -2
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -2
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +4 -4
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +2 -2
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +4 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +18 -19
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +6 -6
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +11 -15
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +2 -2
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +4 -6
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +19 -24
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +7 -7
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +2 -2
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +2 -2
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +2 -2
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +17 -16
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +2 -2
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -2
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +15 -17
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +11 -13
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +4 -4
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +8 -9
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +14 -14
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +21 -32
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +27 -29
- package/file-upload/multiple-file-upload.component.scss +26 -26
- package/file-upload/single-file-upload.component.scss +8 -8
- package/form-field/_form-field-theme.scss +14 -14
- package/form-field/_hint-theme.scss +2 -2
- package/form-field/cleaner.scss +2 -2
- package/form-field/form-field.d.ts +1 -1
- package/form-field/form-field.scss +10 -10
- package/form-field/hint.scss +4 -4
- package/form-field/password-toggle.scss +2 -2
- package/form-field/stepper.scss +3 -3
- package/icon/_icon-button-theme.scss +26 -26
- package/icon/_icon-item-theme.scss +2 -2
- package/icon/_icon-theme.scss +6 -6
- package/icon/icon-button.scss +2 -4
- package/icon/icon-item.scss +2 -4
- package/input/input.scss +2 -2
- package/link/_link-theme.scss +11 -11
- package/list/_list-theme.scss +6 -6
- package/list/list-selection.component.d.ts +2 -4
- package/list/list.scss +1 -1
- package/loader-overlay/_loader-overlay-theme.scss +6 -6
- package/loader-overlay/loader-overlay.scss +8 -8
- package/markdown/_markdown-theme.scss +27 -27
- package/markdown/markdown-tokens.scss +17 -17
- package/markdown/markdown.scss +29 -29
- package/modal/_modal-confirm.scss +1 -1
- package/modal/_modal-theme.scss +9 -12
- package/modal/modal.scss +12 -13
- package/navbar/_navbar-item_horizontal.scss +20 -20
- package/navbar/_navbar-item_vertical.scss +28 -28
- package/navbar/_navbar-theme.scss +8 -8
- package/navbar/navbar-brand.scss +23 -23
- package/navbar/navbar-divider.scss +3 -3
- package/navbar/navbar-item.component.d.ts +2 -3
- package/navbar/navbar-item.scss +6 -6
- package/navbar/navbar.component.d.ts +7 -5
- package/navbar/navbar.scss +1 -1
- package/navbar/vertical-navbar.scss +2 -2
- package/package.json +14 -7
- package/popover/_popover-theme.scss +7 -7
- package/popover/popover.scss +17 -18
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +4 -4
- package/progress-bar/progress-bar.scss +5 -5
- package/progress-spinner/_progress-spinner-theme.scss +3 -3
- package/progress-spinner/progress-spinner.scss +7 -7
- package/radio/_radio-theme.scss +9 -9
- package/radio/radio.scss +14 -14
- package/risk-level/_risk-level-theme.scss +5 -5
- package/risk-level/risk-level.component.scss +3 -3
- package/schematics/ng-add/index.js +23 -6
- package/scrollbar/_scrollbar-component-theme.scss +12 -12
- package/scrollbar/scrollbar.component.scss +6 -6
- package/select/_select-theme.scss +9 -9
- package/select/select.component.d.ts +1 -2
- package/select/select.scss +2 -2
- package/sidepanel/_sidepanel-theme.scss +4 -4
- package/sidepanel/sidepanel.scss +14 -16
- package/splitter/_splitter-theme.scss +1 -1
- package/table/_table-theme.scss +5 -5
- package/table/table.scss +12 -12
- package/tabs/_tabs-common.scss +3 -3
- package/tabs/_tabs-theme.scss +13 -13
- package/tabs/paginated-tab-header.d.ts +1 -3
- package/tabs/tab-group.scss +1 -1
- package/tabs/tab-header.scss +3 -2
- package/tabs/tab-nav-bar/tab-nav-bar.scss +1 -1
- package/tags/_tag-theme.scss +5 -5
- package/tags/tag-list.component.d.ts +1 -2
- package/tags/tag-list.scss +5 -5
- package/tags/tag.scss +4 -4
- package/textarea/textarea.scss +2 -2
- package/timepicker/timepicker.scss +1 -1
- package/timezone/_timezone-option-theme.scss +3 -3
- package/timezone/timezone-option.component.scss +4 -4
- package/timezone/timezone-select.component.scss +1 -1
- package/toast/_toast-theme.scss +4 -4
- package/toast/toast-container.component.scss +3 -3
- package/toast/toast.component.d.ts +0 -1
- package/toast/toast.component.scss +21 -21
- package/toggle/_toggle-theme.scss +8 -8
- package/toggle/toggle.scss +8 -8
- package/tooltip/_tooltip-theme.scss +5 -5
- package/tooltip/tooltip.scss +7 -7
- package/tree/_tree-theme.scss +6 -6
- package/tree/padding.directive.d.ts +2 -4
- package/tree/toggle.scss +2 -2
- package/tree/tree-base.d.ts +2 -3
- package/tree/tree-option.scss +4 -4
- package/tree/tree-selection.component.d.ts +2 -4
- package/tree-select/_tree-select-theme.scss +7 -7
- package/tree-select/tree-select.component.d.ts +1 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.kbq-markdown {
|
|
4
4
|
--kbq-markdown-h1-size-max-width: var(--kbq-markdown-size-max-width);
|
|
5
5
|
--kbq-markdown-h1-size-margin-top: 0;
|
|
6
|
-
--kbq-markdown-h1-size-margin-bottom: var(--kbq-size-
|
|
6
|
+
--kbq-markdown-h1-size-margin-bottom: var(--kbq-size-m);
|
|
7
7
|
--kbq-markdown-h1-font-default-font-size: var(--kbq-md-typography-md-h1-font-size);
|
|
8
8
|
--kbq-markdown-h1-font-default-line-height: var(--kbq-md-typography-md-h1-line-height);
|
|
9
9
|
--kbq-markdown-h1-font-default-letter-spacing: var(--kbq-md-typography-md-h1-letter-spacing);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--kbq-markdown-h1-font-default-text-transform: var(--kbq-md-typography-md-h1-text-transform);
|
|
13
13
|
--kbq-markdown-h1-font-default-font-feature-settings: var(--kbq-md-typography-md-h1-font-feature-settings);
|
|
14
14
|
--kbq-markdown-h2-size-max-width: var(--kbq-markdown-size-max-width);
|
|
15
|
-
--kbq-markdown-h2-size-margin-top: var(--kbq-size-
|
|
15
|
+
--kbq-markdown-h2-size-margin-top: var(--kbq-size-3xl);
|
|
16
16
|
--kbq-markdown-h2-size-margin-bottom: var(--kbq-size-m);
|
|
17
17
|
--kbq-markdown-h2-font-default-font-size: var(--kbq-md-typography-md-h2-font-size);
|
|
18
18
|
--kbq-markdown-h2-font-default-line-height: var(--kbq-md-typography-md-h2-line-height);
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
--kbq-markdown-h2-font-default-text-transform: var(--kbq-md-typography-md-h2-text-transform);
|
|
23
23
|
--kbq-markdown-h2-font-default-font-feature-settings: var(--kbq-md-typography-md-h2-font-feature-settings);
|
|
24
24
|
--kbq-markdown-h3-size-max-width: var(--kbq-markdown-size-max-width);
|
|
25
|
-
--kbq-markdown-h3-size-margin-top:
|
|
25
|
+
--kbq-markdown-h3-size-margin-top: 28px;
|
|
26
26
|
--kbq-markdown-h3-size-margin-bottom: var(--kbq-size-m);
|
|
27
27
|
--kbq-markdown-h3-font-default-font-size: var(--kbq-md-typography-md-h3-font-size);
|
|
28
28
|
--kbq-markdown-h3-font-default-line-height: var(--kbq-md-typography-md-h3-line-height);
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
--kbq-markdown-h4-font-default-font-feature-settings: var(--kbq-md-typography-md-h4-font-feature-settings);
|
|
44
44
|
--kbq-markdown-h5-size-max-width: var(--kbq-markdown-size-max-width);
|
|
45
45
|
--kbq-markdown-h5-size-margin-top: var(--kbq-size-xxl);
|
|
46
|
-
--kbq-markdown-h5-size-margin-bottom: var(--kbq-size-
|
|
46
|
+
--kbq-markdown-h5-size-margin-bottom: var(--kbq-size-m);
|
|
47
47
|
--kbq-markdown-h5-font-default-font-size: var(--kbq-md-typography-md-h5-font-size);
|
|
48
48
|
--kbq-markdown-h5-font-default-line-height: var(--kbq-md-typography-md-h5-line-height);
|
|
49
49
|
--kbq-markdown-h5-font-default-letter-spacing: var(--kbq-md-typography-md-h5-letter-spacing);
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
--kbq-markdown-h5-font-default-font-feature-settings: var(--kbq-md-typography-md-h5-font-feature-settings);
|
|
54
54
|
--kbq-markdown-h6-size-max-width: var(--kbq-markdown-size-max-width);
|
|
55
55
|
--kbq-markdown-h6-size-margin-top: var(--kbq-size-xxl);
|
|
56
|
-
--kbq-markdown-h6-size-margin-bottom: var(--kbq-size-
|
|
56
|
+
--kbq-markdown-h6-size-margin-bottom: var(--kbq-size-m);
|
|
57
57
|
--kbq-markdown-h6-font-default-font-size: var(--kbq-md-typography-md-h6-font-size);
|
|
58
58
|
--kbq-markdown-h6-font-default-line-height: var(--kbq-md-typography-md-h6-line-height);
|
|
59
59
|
--kbq-markdown-h6-font-default-letter-spacing: var(--kbq-md-typography-md-h6-letter-spacing);
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
--kbq-markdown-list-size-margin-top-after-paragraph: -var(--kbq-size-s);
|
|
78
78
|
--kbq-markdown-list-size-ol-number-padding-right: var(--kbq-size-xxs);
|
|
79
79
|
--kbq-markdown-list-size-ul-padding: 0 0 0 var(--kbq-size-xxl);
|
|
80
|
-
--kbq-markdown-list-size-item-margin-bottom: var(--kbq-size-
|
|
80
|
+
--kbq-markdown-list-size-item-margin-bottom: var(--kbq-size-s);
|
|
81
81
|
--kbq-markdown-list-font-default-font-size: var(--kbq-md-typography-md-body-font-size);
|
|
82
82
|
--kbq-markdown-list-font-default-line-height: var(--kbq-md-typography-md-body-line-height);
|
|
83
83
|
--kbq-markdown-list-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
--kbq-markdown-list-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);
|
|
87
87
|
--kbq-markdown-list-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);
|
|
88
88
|
--kbq-markdown-blockquote-size-max-width: var(--kbq-markdown-size-max-width);
|
|
89
|
-
--kbq-markdown-blockquote-size-margin-top: var(--kbq-size-
|
|
90
|
-
--kbq-markdown-blockquote-size-margin-bottom: var(--kbq-size-
|
|
91
|
-
--kbq-markdown-blockquote-size-padding: var(--kbq-size-
|
|
89
|
+
--kbq-markdown-blockquote-size-margin-top: var(--kbq-size-xl);
|
|
90
|
+
--kbq-markdown-blockquote-size-margin-bottom: var(--kbq-size-xxl);
|
|
91
|
+
--kbq-markdown-blockquote-size-padding: var(--kbq-size-m) var(--kbq-size-l);
|
|
92
92
|
--kbq-markdown-blockquote-size-line-width: var(--kbq-size-xxs);
|
|
93
93
|
--kbq-markdown-blockquote-size-border-radius: 0;
|
|
94
94
|
--kbq-markdown-blockquote-size-border-width: 0;
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
--kbq-md-typography-md-body-font-feature-settings
|
|
103
103
|
);
|
|
104
104
|
--kbq-markdown-code-size-max-width: var(--kbq-markdown-size-max-width);
|
|
105
|
-
--kbq-markdown-code-size-multiline-margin-top: var(--kbq-size-
|
|
105
|
+
--kbq-markdown-code-size-multiline-margin-top: var(--kbq-size-s);
|
|
106
106
|
--kbq-markdown-code-size-multiline-margin-bottom: var(--kbq-size-xxl);
|
|
107
107
|
--kbq-markdown-code-size-inline-padding: 0 var(--kbq-size-xxs);
|
|
108
|
-
--kbq-markdown-code-size-multiline-padding:
|
|
108
|
+
--kbq-markdown-code-size-multiline-padding: 14px var(--kbq-size-xl);
|
|
109
109
|
--kbq-markdown-code-size-border-radius: var(--kbq-size-border-radius);
|
|
110
110
|
--kbq-markdown-code-size-border-width: var(--kbq-size-border-width);
|
|
111
111
|
--kbq-markdown-code-font-default-font-size: var(--kbq-md-typography-md-body-mono-font-size);
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
--kbq-markdown-link-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);
|
|
127
127
|
--kbq-markdown-link-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);
|
|
128
128
|
--kbq-markdown-image-size-max-width: var(--kbq-markdown-size-max-width);
|
|
129
|
-
--kbq-markdown-image-size-margin-top: var(--kbq-size-
|
|
130
|
-
--kbq-markdown-image-size-margin-bottom: var(--kbq-size-
|
|
129
|
+
--kbq-markdown-image-size-margin-top: var(--kbq-size-s);
|
|
130
|
+
--kbq-markdown-image-size-margin-bottom: var(--kbq-size-s);
|
|
131
131
|
--kbq-markdown-image-size-caption-margin-top: -var(--kbq-size-s);
|
|
132
132
|
--kbq-markdown-image-size-caption-margin-bottom: var(--kbq-size-xxl);
|
|
133
133
|
--kbq-markdown-image-font-caption-font-size: var(--kbq-md-typography-md-caption-font-size);
|
|
@@ -138,10 +138,10 @@
|
|
|
138
138
|
--kbq-markdown-image-font-caption-text-transform: var(--kbq-md-typography-md-caption-text-transform);
|
|
139
139
|
--kbq-markdown-image-font-caption-font-feature-settings: var(--kbq-md-typography-md-caption-font-feature-settings);
|
|
140
140
|
--kbq-markdown-hr-size-width: 1px;
|
|
141
|
-
--kbq-markdown-hr-size-margin-vertical: var(--kbq-size-
|
|
141
|
+
--kbq-markdown-hr-size-margin-vertical: var(--kbq-size-l);
|
|
142
142
|
--kbq-markdown-table-size-border-width: var(--kbq-size-border-width);
|
|
143
143
|
--kbq-markdown-table-size-padding: var(--kbq-size-s);
|
|
144
|
-
--kbq-markdown-table-size-margin-bottom: var(--kbq-size-
|
|
144
|
+
--kbq-markdown-table-size-margin-bottom: var(--kbq-size-l);
|
|
145
145
|
--kbq-markdown-table-font-header-font-size: var(--kbq-md-typography-md-table-header-font-size);
|
|
146
146
|
--kbq-markdown-table-font-header-line-height: var(--kbq-md-typography-md-table-header-line-height);
|
|
147
147
|
--kbq-markdown-table-font-header-letter-spacing: var(--kbq-md-typography-md-table-header-letter-spacing);
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
--kbq-markdown-list-color: var(--kbq-foreground-contrast);
|
|
180
180
|
--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);
|
|
181
181
|
--kbq-markdown-blockquote-line: var(--kbq-foreground-border);
|
|
182
|
-
--kbq-markdown-blockquote-background:
|
|
182
|
+
--kbq-markdown-blockquote-background: var(--kbq-background-contrast-fade);
|
|
183
183
|
--kbq-markdown-blockquote-border: transparent;
|
|
184
184
|
--kbq-markdown-code-text: var(--kbq-foreground-contrast);
|
|
185
185
|
--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
--kbq-markdown-list-color: var(--kbq-foreground-contrast);
|
|
211
211
|
--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);
|
|
212
212
|
--kbq-markdown-blockquote-line: var(--kbq-foreground-border);
|
|
213
|
-
--kbq-markdown-blockquote-background:
|
|
213
|
+
--kbq-markdown-blockquote-background: var(--kbq-background-contrast-fade);
|
|
214
214
|
--kbq-markdown-blockquote-border: transparent;
|
|
215
215
|
--kbq-markdown-code-text: var(--kbq-foreground-contrast);
|
|
216
216
|
--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);
|
package/markdown/markdown.scss
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
// h1, h2, h3, h4, h5, h6
|
|
15
15
|
@for $i from 1 through 6 {
|
|
16
16
|
.kbq-markdown__h#{$i} {
|
|
17
|
-
margin-top: kbq-
|
|
18
|
-
margin-bottom: kbq-
|
|
17
|
+
margin-top: var(--kbq-markdown-h#{$i}-size-margin-top);
|
|
18
|
+
margin-bottom: var(--kbq-markdown-h#{$i}-size-margin-bottom);
|
|
19
19
|
|
|
20
20
|
@for $i from 1 through 6 {
|
|
21
21
|
& + .kbq-markdown__h#{$i} {
|
|
@@ -37,24 +37,24 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.kbq-markdown__p {
|
|
40
|
-
margin-top: kbq-
|
|
41
|
-
margin-bottom: kbq-
|
|
40
|
+
margin-top: var(--kbq-markdown-p-size-margin-top);
|
|
41
|
+
margin-bottom: var(--kbq-markdown-p-size-margin-bottom);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.kbq-markdown__ul,
|
|
45
45
|
.kbq-markdown__ol {
|
|
46
|
-
margin-top: kbq-
|
|
47
|
-
margin-bottom: kbq-
|
|
46
|
+
margin-top: var(--kbq-markdown-list-size-margin-top);
|
|
47
|
+
margin-bottom: var(--kbq-markdown-list-size-margin-bottom);
|
|
48
48
|
|
|
49
49
|
> li {
|
|
50
|
-
margin-bottom: kbq-
|
|
50
|
+
margin-bottom: var(--kbq-markdown-list-size-item-margin-bottom);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.kbq-markdown__ul {
|
|
55
55
|
position: relative;
|
|
56
56
|
list-style: none;
|
|
57
|
-
padding: kbq-
|
|
57
|
+
padding: var(--kbq-markdown-list-size-ul-padding);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.kbq-markdown__ul > li:before {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
&:before {
|
|
76
76
|
content: counter(li) '.';
|
|
77
77
|
counter-increment: li;
|
|
78
|
-
padding-right: kbq-
|
|
78
|
+
padding-right: var(--kbq-markdown-list-size-ol-number-padding-right);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
> * {
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
|
|
87
87
|
.kbq-markdown__p + .kbq-markdown__ul,
|
|
88
88
|
.kbq-markdown__p + .kbq-markdown__ol {
|
|
89
|
-
margin-top: kbq-
|
|
89
|
+
margin-top: var(--kbq-markdown-list-size-margin-top-after-paragraph);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.kbq-markdown__blockquote {
|
|
93
|
-
margin-top: kbq-
|
|
93
|
+
margin-top: var(--kbq-markdown-blockquote-size-margin-top);
|
|
94
94
|
margin-left: 0;
|
|
95
|
-
margin-bottom: kbq-
|
|
95
|
+
margin-bottom: var(--kbq-markdown-blockquote-size-margin-bottom);
|
|
96
96
|
margin-right: 0;
|
|
97
97
|
|
|
98
|
-
border-left-width: kbq-
|
|
98
|
+
border-left-width: var(--kbq-markdown-blockquote-size-line-width);
|
|
99
99
|
|
|
100
100
|
border-left-style: solid;
|
|
101
101
|
|
|
102
|
-
padding: kbq-
|
|
102
|
+
padding: var(--kbq-markdown-blockquote-size-padding);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.kbq-markdown__blockquote > .kbq-markdown__p {
|
|
@@ -111,32 +111,32 @@
|
|
|
111
111
|
position: relative;
|
|
112
112
|
overflow-x: auto;
|
|
113
113
|
|
|
114
|
-
margin-top: kbq-
|
|
115
|
-
margin-bottom: kbq-
|
|
114
|
+
margin-top: var(--kbq-markdown-code-size-multiline-margin-top);
|
|
115
|
+
margin-bottom: var(--kbq-markdown-code-size-multiline-margin-bottom);
|
|
116
116
|
|
|
117
|
-
padding: kbq-
|
|
117
|
+
padding: var(--kbq-markdown-code-size-multiline-padding);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.kbq-markdown__pre,
|
|
121
121
|
.kbq-markdown__p > .kbq-markdown__code {
|
|
122
|
-
border-radius: kbq-
|
|
123
|
-
border-width: kbq-
|
|
122
|
+
border-radius: var(--kbq-markdown-code-size-border-radius);
|
|
123
|
+
border-width: var(--kbq-markdown-code-size-border-width);
|
|
124
124
|
border-style: solid;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.kbq-markdown__p > .kbq-markdown__code {
|
|
128
|
-
padding: kbq-
|
|
128
|
+
padding: var(--kbq-markdown-code-size-inline-padding);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.kbq-markdown__img {
|
|
132
132
|
max-width: 100%;
|
|
133
|
-
margin-top: kbq-
|
|
134
|
-
margin-bottom: kbq-
|
|
133
|
+
margin-top: var(--kbq-markdown-image-size-margin-top);
|
|
134
|
+
margin-bottom: var(--kbq-markdown-image-size-margin-bottom);
|
|
135
135
|
|
|
136
136
|
+ em {
|
|
137
137
|
display: block;
|
|
138
|
-
margin-top: kbq-
|
|
139
|
-
margin-bottom: kbq-
|
|
138
|
+
margin-top: var(--kbq-markdown-image-size-caption-margin-top);
|
|
139
|
+
margin-bottom: var(--kbq-markdown-image-size-caption-margin-bottom);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
@@ -145,8 +145,8 @@
|
|
|
145
145
|
border-left: none;
|
|
146
146
|
border-right: none;
|
|
147
147
|
border-bottom-style: solid;
|
|
148
|
-
border-bottom-width: kbq-
|
|
149
|
-
margin: kbq-
|
|
148
|
+
border-bottom-width: var(--kbq-markdown-hr-size-width);
|
|
149
|
+
margin: var(--kbq-markdown-hr-size-margin-vertical) 0;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
.kbq-markdown__table {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
overflow-x: auto;
|
|
155
155
|
display: table;
|
|
156
156
|
border-collapse: collapse;
|
|
157
|
-
margin-bottom: kbq-
|
|
157
|
+
margin-bottom: var(--kbq-markdown-table-size-margin-bottom);
|
|
158
158
|
|
|
159
159
|
td {
|
|
160
160
|
vertical-align: top;
|
|
@@ -162,14 +162,14 @@
|
|
|
162
162
|
|
|
163
163
|
th,
|
|
164
164
|
td {
|
|
165
|
-
padding: kbq-
|
|
165
|
+
padding: var(--kbq-markdown-table-size-padding);
|
|
166
166
|
font-weight: 400;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.kbq-markdown__table > .kbq-markdown__thead {
|
|
171
171
|
border-bottom-style: solid;
|
|
172
|
-
border-bottom-width: kbq-
|
|
172
|
+
border-bottom-width: var(--kbq-markdown-table-size-border-width);
|
|
173
173
|
|
|
174
174
|
text-align: left;
|
|
175
175
|
|
package/modal/_modal-theme.scss
CHANGED
|
@@ -1,40 +1,37 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
1
|
@use 'sass:map';
|
|
3
2
|
|
|
4
|
-
@use '../core/styles/typography/typography-utils' as *;
|
|
5
3
|
@use '../core/styles/common/tokens' as *;
|
|
6
4
|
|
|
7
5
|
@mixin kbq-modal-theme() {
|
|
8
6
|
.kbq-modal {
|
|
9
|
-
background: kbq-
|
|
10
|
-
box-shadow: kbq-
|
|
7
|
+
background: var(--kbq-modal-container-background);
|
|
8
|
+
box-shadow: var(--kbq-modal-container-box-shadow);
|
|
11
9
|
|
|
12
10
|
.kbq-modal-header {
|
|
13
11
|
& .kbq-modal-title {
|
|
14
|
-
color: kbq-
|
|
12
|
+
color: var(--kbq-modal-header-text-color);
|
|
15
13
|
}
|
|
16
14
|
|
|
17
15
|
& .kbq-modal-close {
|
|
18
|
-
color: kbq-
|
|
16
|
+
color: var(--kbq-modal-close-button-color);
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
.kbq-modal-content {
|
|
23
|
-
color: kbq-
|
|
21
|
+
color: var(--kbq-modal-content-text-color);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
|
-
// FIXME: default token doesn't exist
|
|
27
24
|
.kbq-modal-header.kbq-modal-body_top-overflow {
|
|
28
|
-
box-shadow: kbq-
|
|
25
|
+
box-shadow: var(--kbq-shadow-overflow-normal-bottom);
|
|
29
26
|
}
|
|
30
|
-
|
|
27
|
+
|
|
31
28
|
.kbq-modal-footer.kbq-modal-body_bottom-overflow {
|
|
32
|
-
box-shadow: kbq-
|
|
29
|
+
box-shadow: var(--kbq-shadow-overflow-normal-top);
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
.kbq-modal-mask {
|
|
37
|
-
background-color: kbq-
|
|
34
|
+
background-color: var(--kbq-modal-overlay-background);
|
|
38
35
|
}
|
|
39
36
|
}
|
|
40
37
|
|
package/modal/modal.scss
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
top: 48px;
|
|
16
16
|
|
|
17
|
-
border-radius: kbq-
|
|
17
|
+
border-radius: var(--kbq-modal-size-border-radius);
|
|
18
18
|
|
|
19
19
|
width: auto;
|
|
20
20
|
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&.kbq-modal_small {
|
|
34
|
-
width: kbq-
|
|
34
|
+
width: var(--kbq-modal-size-small-width);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&.kbq-modal_medium {
|
|
38
|
-
width: kbq-
|
|
38
|
+
width: var(--kbq-modal-size-medium-width);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&.kbq-modal_large {
|
|
42
|
-
width: kbq-
|
|
42
|
+
width: var(--kbq-modal-size-large-width);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
// todo реализуем когда будем делать 2.0, пока нет возможности отслеживать наличие/отсутствие футера
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
.kbq-modal-content {
|
|
76
76
|
position: relative;
|
|
77
77
|
|
|
78
|
-
border-radius: kbq-
|
|
78
|
+
border-radius: var(--kbq-modal-size-border-radius);
|
|
79
79
|
|
|
80
80
|
background-clip: padding-box;
|
|
81
81
|
}
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
align-items: center;
|
|
86
86
|
justify-content: space-between;
|
|
87
87
|
|
|
88
|
-
padding: kbq-
|
|
89
|
-
kbq-
|
|
88
|
+
padding: var(--kbq-modal-size-header-padding-vertical) var(--kbq-modal-size-header-padding-right)
|
|
89
|
+
var(--kbq-modal-size-header-padding-vertical) var(--kbq-modal-size-header-padding-left);
|
|
90
90
|
|
|
91
91
|
& + .kbq-modal-body {
|
|
92
|
-
padding-top: kbq-
|
|
92
|
+
padding-top: var(--kbq-modal-size-content-padding-top);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -106,9 +106,8 @@
|
|
|
106
106
|
|
|
107
107
|
max-height: calc(100vh - 260px);
|
|
108
108
|
|
|
109
|
-
padding: kbq-
|
|
110
|
-
kbq-
|
|
111
|
-
kbq-css-variable(modal-size-content-padding-horizontal);
|
|
109
|
+
padding: var(--kbq-modal-size-content-padding-top-without-header) var(--kbq-modal-size-content-padding-horizontal)
|
|
110
|
+
var(--kbq-modal-size-content-padding-bottom) var(--kbq-modal-size-content-padding-horizontal);
|
|
112
111
|
|
|
113
112
|
word-wrap: break-word;
|
|
114
113
|
|
|
@@ -122,9 +121,9 @@
|
|
|
122
121
|
display: flex;
|
|
123
122
|
align-items: center;
|
|
124
123
|
|
|
125
|
-
padding: kbq-
|
|
124
|
+
padding: var(--kbq-modal-size-footer-padding-vertical) var(--kbq-modal-size-footer-padding-horizontal);
|
|
126
125
|
|
|
127
|
-
gap: kbq-
|
|
126
|
+
gap: var(--kbq-modal-size-footer-content-gap-horizontal);
|
|
128
127
|
}
|
|
129
128
|
|
|
130
129
|
.kbq-modal-mask {
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
outline: none;
|
|
16
16
|
-webkit-tap-highlight-color: transparent;
|
|
17
17
|
|
|
18
|
-
min-height: kbq-
|
|
19
|
-
min-width: kbq-
|
|
18
|
+
min-height: var(--kbq-size-3xl);
|
|
19
|
+
min-width: var(--kbq-size-3xl);
|
|
20
20
|
|
|
21
|
-
margin: kbq-
|
|
21
|
+
margin: var(--kbq-size-s);
|
|
22
22
|
|
|
23
23
|
justify-content: center;
|
|
24
24
|
|
|
25
25
|
&:before {
|
|
26
|
-
top: calc(-1 * #{kbq-
|
|
27
|
-
left: calc(-1 * #{kbq-
|
|
28
|
-
right: calc(-1 * #{kbq-
|
|
29
|
-
bottom: calc(-1 * #{kbq-
|
|
26
|
+
top: calc(-1 * #{var(--kbq-size-s)});
|
|
27
|
+
left: calc(-1 * #{var(--kbq-size-s)});
|
|
28
|
+
right: calc(-1 * #{var(--kbq-size-s)});
|
|
29
|
+
bottom: calc(-1 * #{var(--kbq-size-s)});
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&:after {
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
& .kbq-navbar-item__title {
|
|
40
|
-
padding-left: kbq-
|
|
41
|
-
padding-right: kbq-
|
|
40
|
+
padding-left: var(--kbq-size-xxs);
|
|
41
|
+
padding-right: var(--kbq-size-xxs);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
& .kbq-navbar-item__arrow-icon {
|
|
45
|
-
padding-left: kbq-
|
|
45
|
+
padding-left: var(--kbq-size-xxs);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&.kbq-navbar-item_with-title:not(.kbq-navbar-item_collapsed) {
|
|
49
49
|
margin-left: 0;
|
|
50
50
|
margin-right: 0;
|
|
51
|
-
padding-right: kbq-
|
|
52
|
-
padding-left: kbq-
|
|
51
|
+
padding-right: var(--kbq-size-m);
|
|
52
|
+
padding-left: var(--kbq-size-m);
|
|
53
53
|
|
|
54
54
|
&:before {
|
|
55
55
|
left: 0;
|
|
@@ -59,24 +59,24 @@
|
|
|
59
59
|
& > .kbq-icon {
|
|
60
60
|
align-self: center;
|
|
61
61
|
|
|
62
|
-
padding-right: kbq-
|
|
62
|
+
padding-right: var(--kbq-size-xxs);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&.kbq-navbar-bento {
|
|
67
67
|
justify-content: center;
|
|
68
68
|
|
|
69
|
-
margin-right: kbq-
|
|
69
|
+
margin-right: var(--kbq-size-xxs);
|
|
70
70
|
|
|
71
71
|
&:before {
|
|
72
|
-
right: calc(-1 * #{kbq-
|
|
72
|
+
right: calc(-1 * #{var(--kbq-size-xxs)});
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&.kbq-navbar-item_collapsed {
|
|
77
77
|
justify-content: center;
|
|
78
78
|
|
|
79
|
-
padding: kbq-
|
|
79
|
+
padding: var(--kbq-size-s);
|
|
80
80
|
|
|
81
81
|
& .kbq-navbar-item__container {
|
|
82
82
|
display: none;
|
|
@@ -93,12 +93,12 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
&.kbq-navbar-item_has-nested {
|
|
96
|
-
margin-left: kbq-
|
|
97
|
-
margin-right: kbq-
|
|
96
|
+
margin-left: var(--kbq-size-m);
|
|
97
|
+
margin-right: var(--kbq-size-m);
|
|
98
98
|
|
|
99
99
|
&:before {
|
|
100
|
-
left: calc(-1 * #{kbq-
|
|
101
|
-
right: calc(-1 * #{kbq-
|
|
100
|
+
left: calc(-1 * #{var(--kbq-size-m)});
|
|
101
|
+
right: calc(-1 * #{var(--kbq-size-m)});
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -6,24 +6,24 @@
|
|
|
6
6
|
|
|
7
7
|
.kbq-navbar-item.kbq-vertical {
|
|
8
8
|
& .kbq-navbar-item__container {
|
|
9
|
-
gap: kbq-
|
|
9
|
+
gap: var(--kbq-size-m);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&.kbq-expanded {
|
|
13
|
-
height: kbq-
|
|
13
|
+
height: var(--kbq-size-5xl);
|
|
14
14
|
|
|
15
15
|
align-items: center;
|
|
16
16
|
|
|
17
|
-
padding-right: kbq-
|
|
18
|
-
padding-left: kbq-
|
|
17
|
+
padding-right: var(--kbq-size-xl);
|
|
18
|
+
padding-left: var(--kbq-size-xl);
|
|
19
19
|
|
|
20
|
-
gap: kbq-
|
|
20
|
+
gap: var(--kbq-size-m);
|
|
21
21
|
|
|
22
22
|
&:after {
|
|
23
|
-
top: kbq-
|
|
24
|
-
right: kbq-
|
|
25
|
-
bottom: kbq-
|
|
26
|
-
left: kbq-
|
|
23
|
+
top: var(--kbq-size-xxs);
|
|
24
|
+
right: var(--kbq-size-s);
|
|
25
|
+
bottom: var(--kbq-size-xxs);
|
|
26
|
+
left: var(--kbq-size-s);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&.kbq-navbar-bento {
|
|
@@ -34,44 +34,44 @@
|
|
|
34
34
|
justify-content: center;
|
|
35
35
|
align-items: center;
|
|
36
36
|
|
|
37
|
-
top: kbq-
|
|
38
|
-
right: kbq-
|
|
37
|
+
top: var(--kbq-size-xxs);
|
|
38
|
+
right: var(--kbq-size-xxs);
|
|
39
39
|
|
|
40
40
|
z-index: 1;
|
|
41
41
|
|
|
42
|
-
padding: kbq-
|
|
42
|
+
padding: var(--kbq-size-s);
|
|
43
43
|
|
|
44
|
-
height: kbq-
|
|
45
|
-
width: kbq-
|
|
44
|
+
height: var(--kbq-size-5xl);
|
|
45
|
+
width: var(--kbq-size-5xl);
|
|
46
46
|
|
|
47
47
|
&:after {
|
|
48
|
-
top: kbq-
|
|
49
|
-
right: kbq-
|
|
50
|
-
bottom: kbq-
|
|
51
|
-
left: kbq-
|
|
48
|
+
top: var(--kbq-size-s);
|
|
49
|
+
right: var(--kbq-size-s);
|
|
50
|
+
bottom: var(--kbq-size-s);
|
|
51
|
+
left: var(--kbq-size-s);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&.kbq-navbar-item_has-nested {
|
|
56
56
|
align-items: center;
|
|
57
57
|
|
|
58
|
-
padding: 0 kbq-
|
|
58
|
+
padding: 0 var(--kbq-size-m);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.kbq-collapsed {
|
|
63
|
-
height: kbq-
|
|
64
|
-
width: kbq-
|
|
63
|
+
height: var(--kbq-size-5xl);
|
|
64
|
+
width: var(--kbq-size-5xl);
|
|
65
65
|
|
|
66
|
-
padding: kbq-
|
|
66
|
+
padding: var(--kbq-size-l);
|
|
67
67
|
|
|
68
68
|
justify-content: center;
|
|
69
69
|
|
|
70
70
|
&:after {
|
|
71
|
-
top: kbq-
|
|
72
|
-
right: kbq-
|
|
73
|
-
bottom: kbq-
|
|
74
|
-
left: kbq-
|
|
71
|
+
top: var(--kbq-size-s);
|
|
72
|
+
right: var(--kbq-size-s);
|
|
73
|
+
bottom: var(--kbq-size-s);
|
|
74
|
+
left: var(--kbq-size-s);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
& .kbq-badge {
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
|
|
80
80
|
z-index: 1;
|
|
81
81
|
|
|
82
|
-
top: kbq-
|
|
83
|
-
right: kbq-
|
|
82
|
+
top: var(--kbq-size-xs);
|
|
83
|
+
right: var(--kbq-size-xs);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
& .kbq-navbar-item__container {
|
|
@@ -4,31 +4,31 @@
|
|
|
4
4
|
&:not(.kbq-navbar-item_has-nested) {
|
|
5
5
|
&:after {
|
|
6
6
|
display: block;
|
|
7
|
-
background: kbq-
|
|
7
|
+
background: var(--kbq-navbar-item-#{$state-name}-content-background);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.kbq-navbar-title {
|
|
12
|
-
color: kbq-
|
|
12
|
+
color: var(--kbq-navbar-item-#{$state-name}-content-text);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
& > .kbq-icon {
|
|
16
|
-
color: kbq-
|
|
16
|
+
color: var(--kbq-navbar-item-#{$state-name}-content-icon-left) !important;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.kbq-navbar-item__arrow-icon {
|
|
20
|
-
color: kbq-
|
|
20
|
+
color: var(--kbq-navbar-item-#{$state-name}-content-icon-right) !important;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
@mixin kbq-navbar-theme() {
|
|
25
25
|
.kbq-navbar,
|
|
26
26
|
.kbq-vertical-navbar .kbq-vertical-navbar__container {
|
|
27
|
-
background-color: kbq-
|
|
27
|
+
background-color: var(--kbq-navbar-background);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.kbq-vertical-navbar .kbq-vertical-navbar__container {
|
|
31
|
-
border-right: 1px solid kbq-
|
|
31
|
+
border-right: 1px solid var(--kbq-navbar-border);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.kbq-navbar-item,
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
&:after {
|
|
49
49
|
display: block;
|
|
50
|
-
box-shadow: inset 0 0 0 2px kbq-
|
|
50
|
+
box-shadow: inset 0 0 0 2px var(--kbq-states-line-focus-theme);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.kbq-navbar-divider {
|
|
84
|
-
background: kbq-
|
|
84
|
+
background: var(--kbq-line-contrast-less);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|