@koobiq/components 17.0.0-beta.2 → 17.0.0-rc.10
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/README.md +1 -2
- package/alert/_alert-theme.scss +48 -24
- package/alert/alert.component.d.ts +23 -3
- package/alert/alert.component.scss +91 -59
- package/autocomplete/_autocomplete-theme.scss +3 -3
- package/autocomplete/autocomplete.scss +8 -18
- package/badge/_badge-theme.scss +30 -45
- package/badge/badge.component.scss +18 -39
- package/button/_button-base.scss +7 -14
- package/button/_button-theme.scss +30 -86
- package/button/button.component.d.ts +3 -2
- package/button/button.scss +7 -17
- package/button-toggle/_button-toggle-theme.scss +19 -20
- package/button-toggle/button-toggle.scss +17 -44
- package/card/_card-theme.scss +18 -17
- package/card/card.component.scss +3 -6
- package/checkbox/_checkbox-theme.scss +50 -50
- package/checkbox/checkbox.scss +31 -35
- package/code-block/README.md +18 -14
- package/code-block/_code-block-theme.scss +53 -23
- package/code-block/actionbar.component.scss +11 -25
- package/code-block/code-block.component.d.ts +12 -4
- package/code-block/code-block.scss +62 -77
- package/core/form-field/form-field-ref.d.ts +2 -0
- package/core/forms/_forms-theme.scss +4 -8
- package/core/forms/_forms.scss +13 -43
- package/core/locales/formatters.d.ts +96 -0
- package/core/locales/locale-service.d.ts +97 -0
- package/core/option/_optgroup-theme.scss +4 -6
- package/core/option/_option-action-theme.scss +8 -11
- package/core/option/_option-theme.scss +15 -20
- package/core/option/optgroup.scss +0 -1
- package/core/option/option.scss +0 -1
- package/core/pop-up/_pop-up.scss +0 -1
- package/core/pop-up/pop-up-trigger.d.ts +3 -1
- package/core/select/common.d.ts +35 -0
- package/core/select/index.d.ts +1 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +15 -19
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +9 -9
- package/core/services/theme.service.d.ts +3 -2
- package/core/styles/_core.scss +0 -1
- package/core/styles/_koobiq-theme.scss +5 -3
- package/core/styles/common/_animation.scss +9 -8
- package/core/styles/common/_button.scss +0 -2
- package/core/styles/common/_clearfix.scss +1 -1
- package/core/styles/common/_groups.scss +3 -9
- package/core/styles/common/_list.scss +28 -31
- package/core/styles/common/_overlay.scss +4 -3
- package/core/styles/common/_popup.scss +5 -5
- package/core/styles/common/_rtl.scss +4 -4
- package/core/styles/common/_select.scss +48 -42
- package/core/styles/common/_tokens.scss +47 -0
- package/core/styles/functions/_number.scss +14 -19
- package/core/styles/functions/_string.scss +18 -19
- package/core/styles/functions/_timing.scss +24 -24
- package/core/styles/theming/_components-theming.scss +1380 -1384
- package/core/styles/theming/_scrollbar-theme.scss +8 -5
- package/core/styles/theming/_theming.scss +26 -29
- package/core/styles/typography/_typography-utils.scss +1 -2
- package/core/styles/typography/_typography.scss +138 -85
- package/core/styles/visual/_body.scss +0 -2
- package/core/styles/visual/_layout.scss +44 -38
- package/core/utils/data-size/config.d.ts +20 -2
- package/core/utils/data-size/data-size.pipe.d.ts +10 -9
- package/core/utils/data-size/size.d.ts +3 -4
- package/datepicker/_datepicker-theme.scss +38 -40
- package/datepicker/calendar-body.scss +3 -11
- package/datepicker/calendar-header.scss +4 -10
- package/datepicker/calendar.scss +5 -17
- package/datepicker/datepicker-content.scss +5 -15
- package/datepicker/datepicker-input.scss +0 -5
- package/datepicker/datepicker-toggle.scss +3 -3
- package/divider/_divider-theme.scss +2 -1
- package/divider/divider.scss +9 -26
- package/dl/_dl-theme.scss +5 -8
- package/dl/dl.scss +5 -20
- package/dropdown/_dropdown-theme.scss +27 -22
- package/dropdown/dropdown-item.scss +5 -12
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.scss +6 -15
- package/ellipsis-center/ellipsis-center.directive.d.ts +3 -2
- package/empty-state/README.md +0 -0
- package/empty-state/_empty-state-theme.scss +56 -0
- package/empty-state/empty-state.component.d.ts +31 -0
- package/empty-state/empty-state.module.d.ts +10 -0
- package/empty-state/empty-state.scss +81 -0
- package/empty-state/index.d.ts +1 -0
- package/empty-state/public-api.d.ts +2 -0
- package/esm2022/alert/alert.component.mjs +52 -5
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/button/button.component.mjs +13 -6
- 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 +58 -14
- package/esm2022/core/animation/select-animations.mjs +4 -4
- package/esm2022/core/form-field/form-field-ref.mjs +1 -1
- package/esm2022/core/locales/formatters.mjs +97 -1
- package/esm2022/core/locales/locale-service.mjs +5 -2
- package/esm2022/core/option/option.mjs +2 -2
- package/esm2022/core/pop-up/pop-up-trigger.mjs +18 -11
- package/esm2022/core/select/common.mjs +120 -0
- package/esm2022/core/select/index.mjs +2 -1
- package/esm2022/core/services/theme.service.mjs +4 -1
- package/esm2022/core/utils/data-size/config.mjs +5 -17
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +36 -22
- package/esm2022/core/utils/data-size/size.mjs +10 -14
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +1 -1
- package/esm2022/datepicker/datepicker-animations.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +4 -4
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -5
- package/esm2022/empty-state/empty-state.component.mjs +104 -0
- package/esm2022/empty-state/empty-state.module.mjs +50 -0
- package/esm2022/empty-state/index.mjs +2 -0
- package/esm2022/empty-state/koobiq-components-empty-state.mjs +5 -0
- package/esm2022/empty-state/public-api.mjs +3 -0
- package/esm2022/file-upload/file-upload.mjs +15 -1
- package/esm2022/file-upload/file-upload.module.mjs +15 -5
- package/esm2022/file-upload/multiple-file-upload.component.mjs +98 -49
- package/esm2022/file-upload/single-file-upload.component.mjs +110 -54
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/hint.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +2 -2
- package/esm2022/form-field/password-toggle.mjs +11 -9
- package/esm2022/icon/icon-item.component.mjs +16 -6
- package/esm2022/input/input-number.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +2 -2
- 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 +8 -9
- package/esm2022/navbar/navbar-item.component.mjs +11 -11
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/radio/radio.component.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +2 -2
- package/esm2022/select/select-option.directive.mjs +7 -5
- package/esm2022/select/select.component.mjs +71 -125
- package/esm2022/select/select.module.mjs +28 -28
- package/esm2022/splitter/splitter.component.mjs +37 -17
- package/esm2022/table/table.component.mjs +29 -6
- package/esm2022/table/table.module.mjs +14 -6
- package/esm2022/tabs/tab-body.component.mjs +1 -1
- package/esm2022/tabs/tab-group.component.mjs +55 -13
- 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-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +17 -3
- package/esm2022/tags/tag-list.component.mjs +2 -2
- package/esm2022/tags/tag.component.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +12 -10
- package/esm2022/timepicker/timepicker.directive.mjs +11 -3
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/timezone/timezone-option.directive.mjs +7 -5
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/title/title.directive.mjs +3 -4
- package/esm2022/toast/toast-container.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +18 -13
- package/esm2022/toast/toast.type.mjs +3 -1
- package/esm2022/tooltip/tooltip.component.mjs +28 -14
- package/esm2022/tree/padding.directive.mjs +2 -2
- package/esm2022/tree/tree-base.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +2 -2
- package/esm2022/tree/tree-selection.component.mjs +6 -1
- package/esm2022/tree-select/tree-select.component.mjs +29 -44
- package/esm2022/tree-select/tree-select.module.mjs +31 -11
- package/fesm2022/koobiq-components-alert.mjs +52 -5
- package/fesm2022/koobiq-components-alert.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 +12 -5
- 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 +57 -14
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +285 -67
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +2 -2
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +8 -8
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +5 -4
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +157 -0
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -0
- package/fesm2022/koobiq-components-file-upload.mjs +225 -97
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +21 -21
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +14 -4
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +1 -1
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +2 -2
- package/fesm2022/koobiq-components-modal.mjs +7 -8
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +14 -14
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.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-scrollbar.mjs +2 -2
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +102 -155
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +36 -16
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +41 -10
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +57 -15
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +21 -8
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +11 -9
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +10 -2
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +11 -10
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +2 -3
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +25 -17
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +26 -13
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +57 -51
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +9 -4
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +124 -73
- package/file-upload/file-upload.d.ts +1 -1
- package/file-upload/file-upload.module.d.ts +11 -9
- package/file-upload/file-upload.scss +0 -6
- package/file-upload/multiple-file-upload.component.d.ts +38 -10
- package/file-upload/multiple-file-upload.component.scss +50 -120
- package/file-upload/single-file-upload.component.d.ts +40 -13
- package/file-upload/single-file-upload.component.scss +12 -33
- package/form-field/_form-field-theme.scss +46 -36
- package/form-field/_hint-theme.scss +15 -20
- package/form-field/cleaner.scss +3 -9
- package/form-field/form-field.scss +23 -26
- package/form-field/hint.scss +5 -8
- package/form-field/password-toggle.d.ts +3 -2
- package/form-field/password-toggle.scss +3 -10
- package/form-field/stepper.scss +4 -11
- package/icon/_icon-button-theme.scss +47 -36
- package/icon/_icon-item-theme.scss +47 -26
- package/icon/_icon-theme.scss +12 -14
- package/icon/icon-button.scss +5 -20
- package/icon/icon-item.component.d.ts +3 -1
- package/icon/icon-item.scss +10 -8
- package/icon/icon.scss +0 -6
- package/input/_input-theme.scss +6 -4
- package/input/input.scss +11 -10
- package/link/_link-theme.scss +30 -49
- package/list/_list-theme.scss +21 -19
- package/list/list.scss +2 -6
- package/loader-overlay/_loader-overlay-theme.scss +17 -18
- package/loader-overlay/loader-overlay.scss +9 -33
- package/markdown/_markdown-theme.scss +47 -47
- package/markdown/markdown.scss +41 -91
- package/modal/README.md +5 -4
- package/modal/_modal-animation.scss +0 -1
- package/modal/_modal-confirm.scss +2 -7
- package/modal/_modal-theme.scss +11 -13
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.scss +15 -31
- package/navbar/README.md +21 -20
- package/navbar/_navbar-item_horizontal.scss +28 -29
- package/navbar/_navbar-item_vertical.scss +31 -31
- package/navbar/_navbar-theme.scss +20 -24
- package/navbar/navbar-brand.scss +24 -27
- package/navbar/navbar-divider.scss +4 -8
- package/navbar/navbar-item.component.d.ts +4 -4
- package/navbar/navbar-item.scss +13 -15
- package/navbar/navbar.scss +2 -6
- package/navbar/vertical-navbar.scss +4 -6
- package/package.json +23 -16
- package/popover/README.md +18 -14
- package/popover/_popover-theme.scss +9 -17
- package/popover/popover.scss +15 -29
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +7 -11
- package/progress-bar/progress-bar.scss +6 -19
- package/progress-spinner/_progress-spinner-theme.scss +6 -8
- package/progress-spinner/progress-spinner.scss +8 -18
- package/radio/_radio-theme.scss +36 -37
- package/radio/radio.scss +25 -40
- package/risk-level/_risk-level-theme.scss +25 -31
- package/risk-level/risk-level.component.scss +4 -10
- package/schematics/collection.json +11 -0
- package/schematics/ng-add/index.js +70 -0
- package/schematics/ng-add/schema.json +15 -0
- package/scrollbar/_scrollbar-component-theme.scss +15 -19
- package/scrollbar/scrollbar.component.scss +68 -63
- package/scrollbar/scrollbar.directive.d.ts +1 -0
- package/scrollbar/scrollbar.types.d.ts +1 -0
- package/select/_select-theme.scss +14 -16
- package/select/select-option.directive.d.ts +3 -2
- package/select/select.component.d.ts +12 -33
- package/select/select.module.d.ts +1 -1
- package/select/select.scss +3 -11
- package/sidepanel/_sidepanel-theme.scss +8 -10
- package/sidepanel/sidepanel.scss +20 -37
- package/splitter/_splitter-theme.scss +5 -6
- package/splitter/splitter.component.d.ts +10 -5
- package/splitter/splitter.scss +0 -1
- package/table/_table-theme.scss +16 -15
- package/table/table.component.d.ts +8 -1
- package/table/table.module.d.ts +1 -1
- package/table/table.scss +41 -42
- package/tabs/_tabs-common.scss +13 -15
- package/tabs/_tabs-theme.scss +76 -44
- package/tabs/tab-body.component.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +9 -3
- package/tabs/tab-group.scss +2 -8
- package/tabs/tab-header.scss +0 -10
- package/tabs/tab-nav-bar/tab-nav-bar.scss +2 -9
- package/tags/_tag-theme.scss +22 -27
- package/tags/tag-default-options.d.ts +1 -0
- package/tags/tag-input.d.ts +7 -1
- package/tags/tag-list.scss +15 -12
- package/tags/tag.component.d.ts +1 -1
- package/tags/tag.scss +5 -11
- package/textarea/_textarea-theme.scss +2 -5
- package/textarea/textarea.scss +5 -10
- package/timepicker/timepicker.directive.d.ts +1 -1
- package/timepicker/timepicker.scss +2 -8
- package/timezone/_timezone-option-theme.scss +8 -10
- package/timezone/timezone-option.component.scss +5 -8
- package/timezone/timezone-option.directive.d.ts +3 -2
- package/timezone/timezone-select.component.d.ts +2 -1
- package/timezone/timezone-select.component.scss +2 -4
- package/title/title.directive.d.ts +0 -1
- package/toast/_toast-theme.scss +20 -16
- package/toast/toast-container.component.scss +5 -6
- package/toast/toast.component.scss +28 -29
- package/toast/toast.service.d.ts +8 -4
- package/toast/toast.type.d.ts +2 -0
- package/toggle/_toggle-theme.scss +49 -42
- package/toggle/toggle.scss +9 -22
- package/tooltip/_tooltip-theme.scss +12 -16
- package/tooltip/tooltip.component.d.ts +12 -8
- package/tooltip/tooltip.scss +7 -13
- package/tree/_tree-theme.scss +20 -23
- package/tree/toggle.scss +3 -6
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.scss +17 -14
- package/tree/tree-selection.component.d.ts +1 -0
- package/tree-select/_tree-select-theme.scss +12 -15
- package/tree-select/tree-select.component.d.ts +8 -17
- package/tree-select/tree-select.module.d.ts +1 -2
- package/tree-select/tree-select.scss +1 -6
- package/core/styles/_variables.scss +0 -1
package/modal/modal.scss
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/tokens'
|
|
4
|
+
@use '../core/styles/common/tokens' as *;
|
|
5
5
|
|
|
6
6
|
@use './modal-confirm';
|
|
7
7
|
|
|
8
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
9
|
-
|
|
10
8
|
.kbq-modal {
|
|
11
9
|
box-sizing: border-box;
|
|
12
10
|
|
|
@@ -14,7 +12,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
14
12
|
|
|
15
13
|
top: 48px;
|
|
16
14
|
|
|
17
|
-
border-radius:
|
|
15
|
+
border-radius: kbq-css-variable(modal-size-border-radius);
|
|
18
16
|
|
|
19
17
|
width: auto;
|
|
20
18
|
|
|
@@ -31,18 +29,18 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
&.kbq-modal_small {
|
|
34
|
-
width:
|
|
32
|
+
width: kbq-css-variable(modal-size-small-width);
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
&.kbq-modal_medium {
|
|
38
|
-
width:
|
|
36
|
+
width: kbq-css-variable(modal-size-medium-width);
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
&.kbq-modal_large {
|
|
42
|
-
width:
|
|
40
|
+
width: kbq-css-variable(modal-size-large-width);
|
|
43
41
|
}
|
|
44
42
|
|
|
45
|
-
// todo реализуем когда будем делать 2.0, пока нет возможности отслеживать
|
|
43
|
+
// todo реализуем когда будем делать 2.0, пока нет возможности отслеживать наличие/отсутствие футера
|
|
46
44
|
//&.kbq-modal_no-footer .kbq-modal-body {
|
|
47
45
|
// padding-bottom: var(
|
|
48
46
|
// --kbq-modal-size-content-padding-bottom-without-footer,
|
|
@@ -75,7 +73,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
75
73
|
.kbq-modal-content {
|
|
76
74
|
position: relative;
|
|
77
75
|
|
|
78
|
-
border-radius:
|
|
76
|
+
border-radius: kbq-css-variable(modal-size-border-radius);
|
|
79
77
|
|
|
80
78
|
background-clip: padding-box;
|
|
81
79
|
}
|
|
@@ -85,14 +83,11 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
85
83
|
align-items: center;
|
|
86
84
|
justify-content: space-between;
|
|
87
85
|
|
|
88
|
-
padding:
|
|
89
|
-
|
|
90
|
-
var(--kbq-modal-size-header-padding-right, map.get($tokens, modal-size-header-padding-right))
|
|
91
|
-
var(--kbq-modal-size-header-padding-vertical, map.get($tokens, modal-size-header-padding-vertical))
|
|
92
|
-
var(--kbq-modal-size-header-padding-left, map.get($tokens, modal-size-header-padding-left));
|
|
86
|
+
padding: kbq-css-variable(modal-size-header-padding-vertical) kbq-css-variable(modal-size-header-padding-right)
|
|
87
|
+
kbq-css-variable(modal-size-header-padding-vertical) kbq-css-variable(modal-size-header-padding-left);
|
|
93
88
|
|
|
94
89
|
& + .kbq-modal-body {
|
|
95
|
-
padding-top:
|
|
90
|
+
padding-top: kbq-css-variable(modal-size-content-padding-top);
|
|
96
91
|
}
|
|
97
92
|
}
|
|
98
93
|
|
|
@@ -103,38 +98,27 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
103
98
|
overflow: hidden;
|
|
104
99
|
}
|
|
105
100
|
|
|
106
|
-
/* stylelint-disable no-descending-specificity */
|
|
107
101
|
.kbq-modal-body {
|
|
108
102
|
display: block;
|
|
109
103
|
overflow-y: auto;
|
|
110
104
|
|
|
111
105
|
max-height: calc(100vh - 260px);
|
|
112
106
|
|
|
113
|
-
padding:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
map.get($tokens, modal-size-content-padding-top-without-header)
|
|
117
|
-
)
|
|
118
|
-
var(--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal))
|
|
119
|
-
var(--kbq-modal-size-content-padding-bottom, map.get($tokens, modal-size-content-padding-bottom))
|
|
120
|
-
var(--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal));
|
|
107
|
+
padding: kbq-css-variable(modal-size-content-padding-top-without-header)
|
|
108
|
+
kbq-css-variable(modal-size-content-padding-horizontal) kbq-css-variable(modal-size-content-padding-bottom)
|
|
109
|
+
kbq-css-variable(modal-size-content-padding-horizontal);
|
|
121
110
|
|
|
122
111
|
word-wrap: break-word;
|
|
123
112
|
}
|
|
124
|
-
/* stylelint-enable no-descending-specificity */
|
|
125
113
|
|
|
126
114
|
.kbq-modal-footer,
|
|
127
115
|
.kbq-confirm-footer {
|
|
128
116
|
display: flex;
|
|
129
117
|
align-items: center;
|
|
130
118
|
|
|
131
|
-
padding:
|
|
132
|
-
var(--kbq-modal-size-footer-padding-vertical, map.get($tokens, modal-size-footer-padding-vertical))
|
|
133
|
-
var(--kbq-modal-size-footer-padding-horizontal, map.get($tokens, modal-size-footer-padding-horizontal));
|
|
119
|
+
padding: kbq-css-variable(modal-size-footer-padding-vertical) kbq-css-variable(modal-size-footer-padding-horizontal);
|
|
134
120
|
|
|
135
|
-
gap:
|
|
136
|
-
--kbq-modal-size-footer-content-gap-horizontal, map.get($tokens, modal-size-footer-content-gap-horizontal)
|
|
137
|
-
);
|
|
121
|
+
gap: kbq-css-variable(modal-size-footer-content-gap-horizontal);
|
|
138
122
|
}
|
|
139
123
|
|
|
140
124
|
.kbq-modal-mask {
|
package/navbar/README.md
CHANGED
|
@@ -9,33 +9,34 @@
|
|
|
9
9
|
|
|
10
10
|
We strongly recommend adhere to use our child components until it is possible but you are free to insert there what you want.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
12
|
+
- left\right side container **kbq-navbar-section**
|
|
13
|
+
- product\company title **kbq-navbar-brand**
|
|
14
|
+
- logo container **kbq-navbar-logo**
|
|
15
|
+
- any markup
|
|
16
|
+
- **kbq-navbar-title** (please see below)
|
|
17
|
+
- title **kbq-navbar-title**
|
|
18
|
+
- any markup, only font size, font color, font family is gonna be styled
|
|
19
|
+
- menu item container **kbq-navbar-item**
|
|
20
|
+
- icon **[kbq-icon]** (another PT koobiq component, out of the scope of this)
|
|
21
|
+
- title **kbq-navbar-title**
|
|
22
|
+
- dropdown **[kbq-dropdown]** (another PT koobiq component, out of the scope of this)
|
|
23
|
+
- any markup
|
|
24
|
+
- any markup
|
|
25
|
+
- any markup
|
|
26
26
|
|
|
27
27
|
## States
|
|
28
28
|
|
|
29
29
|
We believe you are able to manage navbar child components from outside. Meantime we provide number of kbq-navbar-item states based on css classes which may be combined between each others.
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
- kbq-active - selected item
|
|
32
|
+
- kbq-progress - something in progress (striped animation)
|
|
33
|
+
- cdk-focused - focused state, we control it as well for common tab order behaviour
|
|
34
|
+
|
|
35
35
|
Disable state also could be combined with other states but it is **disabled** attribute.
|
|
36
36
|
|
|
37
37
|
## Collapsing
|
|
38
|
+
|
|
38
39
|
In the case that absence of space the following elements is collapsed:
|
|
39
40
|
|
|
40
|
-
-
|
|
41
|
-
-
|
|
41
|
+
- kbq-navbar-item is collapsed to [kbq-icon] if exists (if not then the item is not collapsed). The title attribute is added for [kbq-icon] from kbq-navbar-item text;
|
|
42
|
+
- kbq-navbar-item is collapsed to [kbq-icon] if exists (if not then the item is not collapsed).
|
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/common/list';
|
|
5
5
|
|
|
6
|
-
@use '../core/styles/tokens'
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
10
|
-
|
|
6
|
+
@use '../core/styles/common/tokens' as *;
|
|
11
7
|
|
|
12
8
|
.kbq-navbar-item.kbq-horizontal {
|
|
13
9
|
position: relative;
|
|
@@ -19,41 +15,44 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
19
15
|
outline: none;
|
|
20
16
|
-webkit-tap-highlight-color: transparent;
|
|
21
17
|
|
|
22
|
-
min-height:
|
|
23
|
-
min-width:
|
|
18
|
+
min-height: kbq-css-variable(size-5xl);
|
|
19
|
+
min-width: kbq-css-variable(size-5xl);
|
|
24
20
|
|
|
25
|
-
padding:
|
|
21
|
+
padding: kbq-css-variable(size-s);
|
|
26
22
|
|
|
27
23
|
justify-content: center;
|
|
28
24
|
|
|
29
25
|
&:after {
|
|
30
|
-
top:
|
|
31
|
-
right:
|
|
32
|
-
bottom:
|
|
33
|
-
left:
|
|
26
|
+
top: kbq-css-variable(size-s);
|
|
27
|
+
right: kbq-css-variable(size-s);
|
|
28
|
+
bottom: kbq-css-variable(size-s);
|
|
29
|
+
left: kbq-css-variable(size-s);
|
|
34
30
|
}
|
|
35
31
|
|
|
36
32
|
& .kbq-navbar-item__title {
|
|
37
|
-
padding-left:
|
|
38
|
-
padding-right:
|
|
33
|
+
padding-left: kbq-css-variable(size-xxs);
|
|
34
|
+
padding-right: kbq-css-variable(size-xxs);
|
|
39
35
|
}
|
|
40
36
|
|
|
41
37
|
& .kbq-navbar-item__arrow-icon {
|
|
42
|
-
padding-left:
|
|
38
|
+
padding-left: kbq-css-variable(size-xxs);
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
&.kbq-navbar-item_with-title:not(.kbq-navbar-item_collapsed) {
|
|
46
|
-
padding:
|
|
47
|
-
|
|
42
|
+
padding-right: kbq-css-variable(size-m);
|
|
43
|
+
padding-left: kbq-css-variable(size-m);
|
|
44
|
+
// (total height 48 - grey hover 32) / 2
|
|
48
45
|
&:after {
|
|
49
|
-
top:
|
|
46
|
+
top: kbq-css-variable(size-s);
|
|
50
47
|
right: 0;
|
|
51
|
-
bottom:
|
|
48
|
+
bottom: kbq-css-variable(size-s);
|
|
52
49
|
left: 0;
|
|
53
50
|
}
|
|
54
51
|
|
|
55
52
|
& > .kbq-icon {
|
|
56
|
-
|
|
53
|
+
align-self: center;
|
|
54
|
+
|
|
55
|
+
padding-right: kbq-css-variable(size-xxs);
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
58
|
|
|
@@ -62,20 +61,20 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
62
61
|
|
|
63
62
|
justify-content: center;
|
|
64
63
|
|
|
65
|
-
padding-right:
|
|
64
|
+
padding-right: kbq-css-variable(size-xxs);
|
|
66
65
|
|
|
67
66
|
&:after {
|
|
68
|
-
top:
|
|
69
|
-
right:
|
|
70
|
-
bottom:
|
|
71
|
-
left:
|
|
67
|
+
top: kbq-css-variable(size-s);
|
|
68
|
+
right: kbq-css-variable(size-xxs);
|
|
69
|
+
bottom: kbq-css-variable(size-s);
|
|
70
|
+
left: kbq-css-variable(size-s);
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
&.kbq-navbar-item_collapsed {
|
|
76
75
|
justify-content: center;
|
|
77
76
|
|
|
78
|
-
padding:
|
|
77
|
+
padding: kbq-css-variable(size-s);
|
|
79
78
|
|
|
80
79
|
& .kbq-navbar-item__container {
|
|
81
80
|
display: none;
|
|
@@ -87,11 +86,11 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
87
86
|
|
|
88
87
|
z-index: 1;
|
|
89
88
|
|
|
90
|
-
top:
|
|
91
|
-
right:
|
|
89
|
+
top: kbq-css-variable(size-xs);
|
|
90
|
+
right: kbq-css-variable(size-xs);
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
&.kbq-navbar-item_has-nested {
|
|
95
|
-
padding: 0
|
|
94
|
+
padding: 0 kbq-css-variable(size-m);
|
|
96
95
|
}
|
|
97
96
|
}
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/tokens';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
-
|
|
5
|
+
@use '../core/styles/common/tokens' as *;
|
|
9
6
|
|
|
10
7
|
.kbq-navbar-item.kbq-vertical {
|
|
11
8
|
align-items: flex-start;
|
|
12
9
|
|
|
13
10
|
& .kbq-navbar-item__container {
|
|
14
|
-
gap:
|
|
11
|
+
gap: kbq-css-variable(size-m);
|
|
15
12
|
}
|
|
16
13
|
|
|
17
14
|
&.kbq-expanded {
|
|
18
|
-
height:
|
|
15
|
+
height: kbq-css-variable(size-5xl);
|
|
16
|
+
|
|
17
|
+
align-items: center;
|
|
19
18
|
|
|
20
|
-
padding:
|
|
19
|
+
padding-right: kbq-css-variable(size-xl);
|
|
20
|
+
padding-left: kbq-css-variable(size-xl);
|
|
21
21
|
|
|
22
|
-
gap:
|
|
22
|
+
gap: kbq-css-variable(size-m);
|
|
23
23
|
|
|
24
24
|
&:after {
|
|
25
|
-
top:
|
|
26
|
-
right:
|
|
27
|
-
bottom:
|
|
28
|
-
left:
|
|
25
|
+
top: kbq-css-variable(size-xxs);
|
|
26
|
+
right: kbq-css-variable(size-s);
|
|
27
|
+
bottom: kbq-css-variable(size-xxs);
|
|
28
|
+
left: kbq-css-variable(size-s);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.kbq-navbar-bento {
|
|
@@ -36,44 +36,44 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
38
|
|
|
39
|
-
top:
|
|
40
|
-
right:
|
|
39
|
+
top: kbq-css-variable(size-xxs);
|
|
40
|
+
right: kbq-css-variable(size-xxs);
|
|
41
41
|
|
|
42
42
|
z-index: 1;
|
|
43
43
|
|
|
44
|
-
padding:
|
|
44
|
+
padding: kbq-css-variable(size-s);
|
|
45
45
|
|
|
46
|
-
height:
|
|
47
|
-
width:
|
|
46
|
+
height: kbq-css-variable(size-5xl);
|
|
47
|
+
width: kbq-css-variable(size-5xl);
|
|
48
48
|
|
|
49
49
|
&:after {
|
|
50
|
-
top:
|
|
51
|
-
right:
|
|
52
|
-
bottom:
|
|
53
|
-
left:
|
|
50
|
+
top: kbq-css-variable(size-s);
|
|
51
|
+
right: kbq-css-variable(size-s);
|
|
52
|
+
bottom: kbq-css-variable(size-s);
|
|
53
|
+
left: kbq-css-variable(size-s);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&.kbq-navbar-item_has-nested {
|
|
58
58
|
align-items: center;
|
|
59
59
|
|
|
60
|
-
padding: 0
|
|
60
|
+
padding: 0 kbq-css-variable(size-m);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&.kbq-collapsed {
|
|
65
|
-
height:
|
|
66
|
-
width:
|
|
65
|
+
height: kbq-css-variable(size-5xl);
|
|
66
|
+
width: kbq-css-variable(size-5xl);
|
|
67
67
|
|
|
68
|
-
padding:
|
|
68
|
+
padding: kbq-css-variable(size-l);
|
|
69
69
|
|
|
70
70
|
justify-content: center;
|
|
71
71
|
|
|
72
72
|
&:after {
|
|
73
|
-
top:
|
|
74
|
-
right:
|
|
75
|
-
bottom:
|
|
76
|
-
left:
|
|
73
|
+
top: kbq-css-variable(size-s);
|
|
74
|
+
right: kbq-css-variable(size-s);
|
|
75
|
+
bottom: kbq-css-variable(size-s);
|
|
76
|
+
left: kbq-css-variable(size-s);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
& .kbq-badge {
|
|
@@ -81,8 +81,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
81
81
|
|
|
82
82
|
z-index: 1;
|
|
83
83
|
|
|
84
|
-
top:
|
|
85
|
-
right:
|
|
84
|
+
top: kbq-css-variable(size-xs);
|
|
85
|
+
right: kbq-css-variable(size-xs);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
& .kbq-navbar-item__container {
|
|
@@ -2,45 +2,42 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
|
+
@use '../core/styles/common/tokens' as *;
|
|
5
6
|
|
|
7
|
+
@mixin kbq-navbar-item($component, $state-name) {
|
|
8
|
+
$state: map.get($component, $state-name);
|
|
6
9
|
|
|
7
|
-
@mixin kbq-navbar-item($state) {
|
|
8
10
|
&:not(.kbq-navbar-item_has-nested) {
|
|
9
11
|
&:after {
|
|
10
12
|
display: block;
|
|
11
|
-
background: map.get($state, background);
|
|
13
|
+
background: kbq-css-variable(navbar-item-#{$state-name}-background, map.get($state, background));
|
|
12
14
|
}
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
.kbq-navbar-title {
|
|
16
|
-
color: map.get($state, text);
|
|
18
|
+
color: kbq-css-variable(navbar-item-#{$state-name}-text, map.get($state, text));
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
& > .kbq-icon {
|
|
20
|
-
color: map.get($state, icon-left) !important;
|
|
22
|
+
color: kbq-css-variable(navbar-item-#{$state-name}-icon-left, map.get($state, icon-left)) !important;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
.kbq-navbar-item__arrow-icon {
|
|
24
|
-
color: map.get($state, icon-right) !important;
|
|
26
|
+
color: kbq-css-variable(navbar-item-#{$state-name}-icon-right, map.get($state, icon-right)) !important;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
|
|
28
|
-
|
|
29
30
|
@mixin kbq-navbar-theme($theme) {
|
|
30
|
-
$
|
|
31
|
-
$states-line: map.get(map.get($theme, states), line);
|
|
32
|
-
|
|
33
|
-
$navbar: map.get(map.get($theme, components), navbar);
|
|
31
|
+
$navbar: map.get($theme, components, navbar);
|
|
34
32
|
$item: map.get($navbar, item);
|
|
35
33
|
|
|
36
|
-
|
|
37
34
|
.kbq-navbar,
|
|
38
35
|
.kbq-vertical-navbar .kbq-vertical-navbar__container {
|
|
39
|
-
background-color: map.get($navbar, background);
|
|
36
|
+
background-color: kbq-css-variable(navbar-background, map.get($navbar, background));
|
|
40
37
|
}
|
|
41
38
|
|
|
42
39
|
.kbq-vertical-navbar .kbq-vertical-navbar__container {
|
|
43
|
-
border-right: 1px solid map.get($navbar, border);
|
|
40
|
+
border-right: 1px solid kbq-css-variable(navbar-border, map.get($navbar, border));
|
|
44
41
|
}
|
|
45
42
|
|
|
46
43
|
.kbq-navbar-item,
|
|
@@ -48,10 +45,10 @@
|
|
|
48
45
|
.kbq-navbar-toggle {
|
|
49
46
|
cursor: pointer;
|
|
50
47
|
|
|
51
|
-
@include kbq-navbar-item(
|
|
48
|
+
@include kbq-navbar-item($item, default);
|
|
52
49
|
|
|
53
50
|
&:hover:not(.kbq-disabled, .kbq-vertical.kbq-navbar-brand) {
|
|
54
|
-
@include kbq-navbar-item(
|
|
51
|
+
@include kbq-navbar-item($item, hover);
|
|
55
52
|
}
|
|
56
53
|
|
|
57
54
|
&.cdk-focused.cdk-keyboard-focused {
|
|
@@ -59,13 +56,14 @@
|
|
|
59
56
|
|
|
60
57
|
&:after {
|
|
61
58
|
display: block;
|
|
62
|
-
box-shadow: inset 0 0 0 2px
|
|
63
|
-
|
|
59
|
+
box-shadow: inset 0 0 0 2px
|
|
60
|
+
kbq-css-variable(states-line-focus-theme, map.get($theme, states, line, focus-theme));
|
|
61
|
+
}
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
&:active:not(.kbq-disabled, .kbq-vertical.kbq-navbar-brand),
|
|
67
65
|
&.kbq-active:not(.kbq-disabled, .kbq-vertical.kbq-navbar-brand) {
|
|
68
|
-
@include kbq-navbar-item(
|
|
66
|
+
@include kbq-navbar-item($item, selected);
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
&.kbq-navbar-focusable-item {
|
|
@@ -73,7 +71,7 @@
|
|
|
73
71
|
}
|
|
74
72
|
|
|
75
73
|
&.kbq-disabled {
|
|
76
|
-
@include kbq-navbar-item(
|
|
74
|
+
@include kbq-navbar-item($item, disabled);
|
|
77
75
|
|
|
78
76
|
pointer-events: none;
|
|
79
77
|
cursor: default;
|
|
@@ -93,7 +91,7 @@
|
|
|
93
91
|
}
|
|
94
92
|
|
|
95
93
|
.kbq-navbar-divider {
|
|
96
|
-
background: map.get($line, contrast-fade);
|
|
94
|
+
background: kbq-css-variable(line-contrast-fade, map.get($theme, line, contrast-fade));
|
|
97
95
|
}
|
|
98
96
|
}
|
|
99
97
|
|
|
@@ -107,15 +105,13 @@ button {
|
|
|
107
105
|
}
|
|
108
106
|
|
|
109
107
|
@mixin kbq-navbar-typography($config) {
|
|
110
|
-
$tokens: map.get($config, tokens);
|
|
111
|
-
|
|
112
108
|
.kbq-navbar-title {
|
|
113
|
-
@include kbq-typography-level-to-styles($config,
|
|
109
|
+
@include kbq-typography-level-to-styles($config, text-normal-strong);
|
|
114
110
|
}
|
|
115
111
|
|
|
116
112
|
.kbq-navbar-brand {
|
|
117
113
|
.kbq-navbar-title {
|
|
118
|
-
@include kbq-typography-
|
|
114
|
+
@include kbq-typography-css-variables(navbar, title);
|
|
119
115
|
}
|
|
120
116
|
}
|
|
121
117
|
}
|
package/navbar/navbar-brand.scss
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/tokens';
|
|
5
|
-
|
|
5
|
+
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
15
15
|
|
|
16
16
|
display: flex;
|
|
17
17
|
|
|
18
|
-
border-radius:
|
|
18
|
+
border-radius: kbq-css-variable(size-s);
|
|
19
19
|
|
|
20
20
|
&:after {
|
|
21
21
|
position: absolute;
|
|
@@ -23,10 +23,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
23
23
|
|
|
24
24
|
display: none;
|
|
25
25
|
|
|
26
|
-
border-radius:
|
|
27
|
-
--kbq-navbar-item-size-content-border-radius,
|
|
28
|
-
map.get($tokens, navbar-item-size-content-border-radius)
|
|
29
|
-
);
|
|
26
|
+
border-radius: kbq-css-variable(navbar-item-size-content-border-radius);
|
|
30
27
|
}
|
|
31
28
|
|
|
32
29
|
& .kbq-navbar-title {
|
|
@@ -39,21 +36,21 @@ a.kbq-navbar-brand {
|
|
|
39
36
|
}
|
|
40
37
|
|
|
41
38
|
.kbq-navbar-brand.kbq-horizontal {
|
|
42
|
-
padding:
|
|
39
|
+
padding: kbq-css-variable(size-s) kbq-css-variable(size-xs) kbq-css-variable(size-s) kbq-css-variable(size-xxs);
|
|
43
40
|
|
|
44
41
|
align-items: center;
|
|
45
42
|
|
|
46
|
-
gap:
|
|
43
|
+
gap: kbq-css-variable(size-s);
|
|
47
44
|
|
|
48
45
|
&:after {
|
|
49
|
-
top:
|
|
50
|
-
right:
|
|
51
|
-
bottom:
|
|
46
|
+
top: kbq-css-variable(size-xxs);
|
|
47
|
+
right: kbq-css-variable(size-xxs);
|
|
48
|
+
bottom: kbq-css-variable(size-xxs);
|
|
52
49
|
left: 0;
|
|
53
50
|
}
|
|
54
51
|
|
|
55
52
|
& .kbq-navbar-title {
|
|
56
|
-
padding-right:
|
|
53
|
+
padding-right: kbq-css-variable(size-m);
|
|
57
54
|
}
|
|
58
55
|
}
|
|
59
56
|
|
|
@@ -66,10 +63,10 @@ a.kbq-navbar-brand {
|
|
|
66
63
|
display: block;
|
|
67
64
|
align-items: center;
|
|
68
65
|
|
|
69
|
-
padding-top:
|
|
70
|
-
padding-bottom:
|
|
66
|
+
padding-top: kbq-css-variable(size-xxs);
|
|
67
|
+
padding-bottom: kbq-css-variable(size-xxs);
|
|
71
68
|
|
|
72
|
-
height:
|
|
69
|
+
height: kbq-css-variable(size-3xl);
|
|
73
70
|
|
|
74
71
|
padding-left: 0;
|
|
75
72
|
|
|
@@ -81,10 +78,10 @@ a.kbq-navbar-brand {
|
|
|
81
78
|
&.kbq-expanded {
|
|
82
79
|
position: relative;
|
|
83
80
|
|
|
84
|
-
height:
|
|
85
|
-
width:
|
|
81
|
+
height: kbq-css-variable(size-4xl);
|
|
82
|
+
width: kbq-css-variable(size-4xl);
|
|
86
83
|
|
|
87
|
-
margin:
|
|
84
|
+
margin: kbq-css-variable(size-l) kbq-css-variable(size-l) kbq-css-variable(size-4xl);
|
|
88
85
|
|
|
89
86
|
flex-direction: column;
|
|
90
87
|
|
|
@@ -96,7 +93,7 @@ a.kbq-navbar-brand {
|
|
|
96
93
|
}
|
|
97
94
|
|
|
98
95
|
& .kbq-navbar-logo {
|
|
99
|
-
min-height:
|
|
96
|
+
min-height: kbq-css-variable(size-4xl);
|
|
100
97
|
|
|
101
98
|
justify-content: center;
|
|
102
99
|
}
|
|
@@ -104,21 +101,21 @@ a.kbq-navbar-brand {
|
|
|
104
101
|
& .kbq-navbar-title {
|
|
105
102
|
position: absolute;
|
|
106
103
|
|
|
107
|
-
left:
|
|
108
|
-
|
|
104
|
+
left: kbq-css-variable(size-xxs);
|
|
105
|
+
top: kbq-css-variable(size-4xl);
|
|
109
106
|
max-width: 200px;
|
|
110
107
|
}
|
|
111
108
|
}
|
|
112
109
|
|
|
113
110
|
&.kbq-collapsed {
|
|
114
|
-
height:
|
|
115
|
-
width:
|
|
111
|
+
height: kbq-css-variable(size-5xl);
|
|
112
|
+
width: kbq-css-variable(size-5xl);
|
|
116
113
|
|
|
117
114
|
&:after {
|
|
118
|
-
top:
|
|
119
|
-
right:
|
|
120
|
-
bottom:
|
|
121
|
-
left:
|
|
115
|
+
top: kbq-css-variable(size-xxs);
|
|
116
|
+
right: kbq-css-variable(size-xxs);
|
|
117
|
+
bottom: kbq-css-variable(size-xxs);
|
|
118
|
+
left: kbq-css-variable(size-xxs);
|
|
122
119
|
}
|
|
123
120
|
|
|
124
121
|
& .kbq-navbar-title {
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/tokens'
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
-
|
|
4
|
+
@use '../core/styles/common/tokens' as *;
|
|
9
5
|
|
|
10
6
|
.kbq-navbar-divider {
|
|
11
7
|
display: block;
|
|
@@ -14,7 +10,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
14
10
|
.kbq-navbar-divider.kbq-vertical {
|
|
15
11
|
height: 1px;
|
|
16
12
|
|
|
17
|
-
margin:
|
|
13
|
+
margin: kbq-css-variable(size-s) kbq-css-variable(size-l);
|
|
18
14
|
}
|
|
19
15
|
|
|
20
16
|
.kbq-navbar-divider.kbq-horizontal {
|
|
@@ -22,6 +18,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
22
18
|
|
|
23
19
|
height: 12px;
|
|
24
20
|
|
|
25
|
-
margin-left:
|
|
26
|
-
margin-right:
|
|
21
|
+
margin-left: kbq-css-variable(size-m);
|
|
22
|
+
margin-right: kbq-css-variable(size-m);
|
|
27
23
|
}
|