@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
|
@@ -7,23 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
$tokens: meta.module-variables(tokens) !default;
|
|
9
9
|
|
|
10
|
-
@function kbq-css-variable($name, $value: null) {
|
|
11
|
-
@if $value {
|
|
12
|
-
@return var(--kbq-#{$name}, $value);
|
|
13
|
-
} @else {
|
|
14
|
-
@return var(--kbq-#{$name}, map.get($tokens, $name));
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
10
|
@function getToken($name) {
|
|
19
11
|
@return map.get($tokens, $name);
|
|
20
12
|
}
|
|
21
13
|
|
|
22
14
|
@mixin kbq-css-font-variable($component, $component-property, $font-property, $font) {
|
|
23
|
-
#{$font-property}: var(
|
|
24
|
-
--kbq-#{$component}-#{$font}#{$component-property}-#{$font-property},
|
|
25
|
-
map.get($tokens, #{$component}-#{$font}#{$component-property}-#{$font-property})
|
|
26
|
-
);
|
|
15
|
+
#{$font-property}: var(--kbq-#{$component}-#{$font}#{$component-property}-#{$font-property});
|
|
27
16
|
}
|
|
28
17
|
|
|
29
18
|
@mixin kbq-typography-css-variables($component, $property) {
|
|
@@ -53,13 +42,13 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
53
42
|
@if (meta.type-of($variable) == number or meta.type-of($variable) == calculation) {
|
|
54
43
|
$sum: $variable;
|
|
55
44
|
} @else {
|
|
56
|
-
$sum: kbq
|
|
45
|
+
$sum: var(--kbq-#{$variable});
|
|
57
46
|
}
|
|
58
47
|
} @else {
|
|
59
48
|
@if (meta.type-of($variable) == number or meta.type-of($variable) == calculation) {
|
|
60
49
|
$sum: calc($sum + $variable);
|
|
61
50
|
} @else {
|
|
62
|
-
$sum: calc($sum + kbq
|
|
51
|
+
$sum: calc($sum + var(--kbq-#{$variable}));
|
|
63
52
|
}
|
|
64
53
|
}
|
|
65
54
|
}
|
|
@@ -73,13 +62,13 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
73
62
|
@if (meta.type-of($variable) == number or meta.type-of($variable) == calculation) {
|
|
74
63
|
$difference: $variable;
|
|
75
64
|
} @else {
|
|
76
|
-
$difference: kbq
|
|
65
|
+
$difference: var(--kbq-#{$variable});
|
|
77
66
|
}
|
|
78
67
|
} @else {
|
|
79
68
|
@if (meta.type-of($variable) == number or meta.type-of($variable) == calculation) {
|
|
80
69
|
$difference: calc($difference - $variable);
|
|
81
70
|
} @else {
|
|
82
|
-
$difference: calc($difference - kbq
|
|
71
|
+
$difference: calc($difference - var(--kbq-#{$variable}));
|
|
83
72
|
}
|
|
84
73
|
}
|
|
85
74
|
}
|
|
@@ -89,11 +78,11 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
89
78
|
@function kbq-css-half-difference($outer, $inner, $border: null) {
|
|
90
79
|
@if $border {
|
|
91
80
|
@if (meta.type-of($border) == number or meta.type-of($border) == calculation) {
|
|
92
|
-
@return calc((kbq
|
|
81
|
+
@return calc((var(--kbq-#{$outer}) - var(--kbq-#{$inner}) - $border * 2) / 2);
|
|
93
82
|
} @else {
|
|
94
|
-
@return calc((kbq
|
|
83
|
+
@return calc((var(--kbq-#{$outer}) - var(--kbq-#{$inner}) - var(--kbq-#{$border} * 2)) / 2);
|
|
95
84
|
}
|
|
96
85
|
} @else {
|
|
97
|
-
@return calc((kbq
|
|
86
|
+
@return calc((var(--kbq-#{$outer}) - var(--kbq-#{$inner})) / 2);
|
|
98
87
|
}
|
|
99
88
|
}
|
|
@@ -20,29 +20,29 @@
|
|
|
20
20
|
cursor: default;
|
|
21
21
|
|
|
22
22
|
&:vertical {
|
|
23
|
-
width: kbq-
|
|
23
|
+
width: var(--kbq-scrollbar-size-track-dimension);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&:horizontal {
|
|
27
|
-
height: kbq-
|
|
27
|
+
height: var(--kbq-scrollbar-size-track-dimension);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&::-webkit-scrollbar-thumb,
|
|
32
32
|
::-webkit-scrollbar-thumb {
|
|
33
|
-
width: kbq-
|
|
33
|
+
width: var(--kbq-scrollbar-size-thumb-width);
|
|
34
34
|
border-style: solid;
|
|
35
35
|
border-width: kbq-css-half-difference(scrollbar-size-track-dimension, scrollbar-size-thumb-width);
|
|
36
36
|
|
|
37
|
-
border-radius: kbq-
|
|
37
|
+
border-radius: var(--kbq-scrollbar-size-thumb-border-radius);
|
|
38
38
|
|
|
39
39
|
// these props are used to set the user-friendly thumb for long content.
|
|
40
40
|
&:vertical {
|
|
41
|
-
min-height: kbq-
|
|
41
|
+
min-height: var(--kbq-scrollbar-size-thumb-min-size);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&:horizontal {
|
|
45
|
-
min-width: kbq-
|
|
45
|
+
min-width: var(--kbq-scrollbar-size-thumb-min-size);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
// firefox
|
|
60
60
|
@supports not selector(::-webkit-scrollbar) {
|
|
61
|
-
scrollbar-color: kbq-
|
|
61
|
+
scrollbar-color: var(--kbq-scrollbar-thumb-default-background) transparent;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
// webkit
|
|
@@ -72,18 +72,18 @@
|
|
|
72
72
|
border-color: transparent;
|
|
73
73
|
|
|
74
74
|
background-clip: content-box;
|
|
75
|
-
background-color: kbq-
|
|
75
|
+
background-color: var(--kbq-scrollbar-thumb-default-background);
|
|
76
76
|
|
|
77
77
|
&:hover {
|
|
78
|
-
background-color: kbq-
|
|
78
|
+
background-color: var(--kbq-scrollbar-thumb-hover-background);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&:disabled {
|
|
82
|
-
background-color: kbq-
|
|
82
|
+
background-color: var(--kbq-scrollbar-thumb-disabled-background);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&:active {
|
|
86
|
-
background-color: kbq-
|
|
86
|
+
background-color: var(--kbq-scrollbar-thumb-active-background);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -463,19 +463,19 @@
|
|
|
463
463
|
|
|
464
464
|
@mixin layout-indents() {
|
|
465
465
|
$sizes: (
|
|
466
|
-
'3xs': kbq-
|
|
467
|
-
'xxs': kbq-
|
|
468
|
-
'xs': kbq-
|
|
469
|
-
's': kbq-
|
|
470
|
-
'm': kbq-
|
|
471
|
-
'l': kbq-
|
|
472
|
-
'xl': kbq-
|
|
473
|
-
'xxl': kbq-
|
|
474
|
-
'3xl': kbq-
|
|
475
|
-
'4xl': kbq-
|
|
476
|
-
'5xl': kbq-
|
|
477
|
-
'6xl': kbq-
|
|
478
|
-
'7xl': kbq-
|
|
466
|
+
'3xs': var(--kbq-size-3xs),
|
|
467
|
+
'xxs': var(--kbq-size-xxs),
|
|
468
|
+
'xs': var(--kbq-size-xs),
|
|
469
|
+
's': var(--kbq-size-s),
|
|
470
|
+
'm': var(--kbq-size-m),
|
|
471
|
+
'l': var(--kbq-size-l),
|
|
472
|
+
'xl': var(--kbq-size-xl),
|
|
473
|
+
'xxl': var(--kbq-size-xxl),
|
|
474
|
+
'3xl': var(--kbq-size-3xl),
|
|
475
|
+
'4xl': var(--kbq-size-4xl),
|
|
476
|
+
'5xl': var(--kbq-size-5xl),
|
|
477
|
+
'6xl': var(--kbq-size-6xl),
|
|
478
|
+
'7xl': var(--kbq-size-7xl)
|
|
479
479
|
);
|
|
480
480
|
|
|
481
481
|
$indents: 'padding', 'margin';
|
|
@@ -7,47 +7,47 @@
|
|
|
7
7
|
|
|
8
8
|
@mixin kbq-datepicker-theme() {
|
|
9
9
|
.kbq-datepicker__content {
|
|
10
|
-
background: kbq-
|
|
11
|
-
box-shadow: kbq-
|
|
10
|
+
background: var(--kbq-datepicker-container-background);
|
|
11
|
+
box-shadow: var(--kbq-datepicker-container-box-shadow);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.kbq-calendar__table-header {
|
|
15
|
-
color: kbq-
|
|
15
|
+
color: var(--kbq-datepicker-header-text);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.kbq-calendar__table-header-divider::after {
|
|
19
|
-
background: kbq-
|
|
19
|
+
background: var(--kbq-datepicker-header-divider);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.kbq-calendar__body-cell-content {
|
|
23
|
-
background: kbq-
|
|
24
|
-
color: kbq-
|
|
23
|
+
background: var(--kbq-datepicker-grid-cell-default-background);
|
|
24
|
+
color: var(--kbq-datepicker-grid-cell-default-text);
|
|
25
25
|
|
|
26
26
|
&.kbq-calendar__body-today {
|
|
27
|
-
background: kbq-
|
|
28
|
-
color: kbq-
|
|
27
|
+
background: var(--kbq-datepicker-grid-cell-today-background);
|
|
28
|
+
color: var(--kbq-datepicker-grid-cell-today-text);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&:hover:not(.kbq-disabled) {
|
|
32
|
-
background: kbq-
|
|
32
|
+
background: var(--kbq-datepicker-grid-cell-states-hover-background);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&:active:not(.kbq-disabled) {
|
|
36
|
-
background: kbq-
|
|
36
|
+
background: var(--kbq-datepicker-grid-cell-states-active-background);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&.kbq-selected:not(.kbq-disabled) {
|
|
40
|
-
background: kbq-
|
|
41
|
-
color: kbq-
|
|
40
|
+
background: var(--kbq-datepicker-grid-cell-states-selected-background);
|
|
41
|
+
color: var(--kbq-datepicker-grid-cell-states-selected-text);
|
|
42
42
|
|
|
43
43
|
&:hover {
|
|
44
|
-
background: kbq-
|
|
44
|
+
background: var(--kbq-datepicker-grid-cell-states-selected-hover-background);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&.kbq-disabled {
|
|
49
|
-
color: kbq-
|
|
50
|
-
background: kbq-
|
|
49
|
+
color: var(--kbq-states-foreground-disabled);
|
|
50
|
+
background: var(--kbq-datepicker-grid-cell-states-disabled-background);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -32,7 +32,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
32
32
|
// Prevents text being off-center on Android.
|
|
33
33
|
line-height: 1;
|
|
34
34
|
|
|
35
|
-
border-radius: kbq-
|
|
35
|
+
border-radius: var(--kbq-datepicker-size-grid-cell-border-radius);
|
|
36
36
|
|
|
37
|
-
margin-bottom: kbq-
|
|
37
|
+
margin-bottom: var(--kbq-datepicker-size-grid-content-gap-vertical);
|
|
38
38
|
}
|
|
@@ -11,11 +11,11 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
justify-content: space-between;
|
|
13
13
|
|
|
14
|
-
padding-right: kbq-
|
|
14
|
+
padding-right: var(--kbq-datepicker-size-header-padding-horizontal);
|
|
15
15
|
|
|
16
|
-
padding-left: kbq-
|
|
16
|
+
padding-left: var(--kbq-datepicker-size-header-padding-horizontal);
|
|
17
17
|
|
|
18
|
-
margin-bottom: kbq-
|
|
18
|
+
margin-bottom: var(--kbq-datepicker-size-header-margin-bottom);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.kbq-calendar-header__select {
|
package/datepicker/calendar.scss
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.kbq-calendar__content {
|
|
11
|
-
padding-right: kbq-
|
|
11
|
+
padding-right: var(--kbq-datepicker-size-grid-padding-horizontal);
|
|
12
12
|
|
|
13
|
-
padding-left: kbq-
|
|
13
|
+
padding-left: var(--kbq-datepicker-size-grid-padding-horizontal);
|
|
14
14
|
|
|
15
15
|
outline: none;
|
|
16
16
|
}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
position: relative;
|
|
30
30
|
|
|
31
31
|
box-sizing: border-box;
|
|
32
|
-
height: kbq-
|
|
32
|
+
height: var(--kbq-datepicker-size-grid-content-gap-vertical);
|
|
33
33
|
|
|
34
34
|
// We use an absolutely positioned pseudo-element as the divider line for the table header so we
|
|
35
35
|
// can extend it all the way to the edge of the calendar.
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
|
|
39
39
|
position: absolute;
|
|
40
40
|
top: 0;
|
|
41
|
-
left: calc(-1 * #{kbq-
|
|
42
|
-
right: calc(-1 * #{kbq-
|
|
41
|
+
left: calc(-1 * #{var(--kbq-datepicker-size-grid-padding-horizontal)});
|
|
42
|
+
right: calc(-1 * #{var(--kbq-datepicker-size-grid-padding-horizontal)});
|
|
43
43
|
|
|
44
|
-
height: kbq-
|
|
44
|
+
height: var(--kbq-datepicker-size-grid-divider-height);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@use './datepicker-theme' as *;
|
|
7
7
|
|
|
8
8
|
$kbq-datepicker-non-touch-calendar-cell-size: 40px;
|
|
9
|
-
$kbq-datepicker-size-grid-padding-horizontal: kbq-
|
|
9
|
+
$kbq-datepicker-size-grid-padding-horizontal: var(--kbq-datepicker-size-grid-padding-horizontal);
|
|
10
10
|
|
|
11
11
|
$kbq-datepicker-non-touch-calendar-width: calc(
|
|
12
12
|
$kbq-datepicker-non-touch-calendar-cell-size * 7 + $kbq-datepicker-size-grid-padding-horizontal * 2
|
|
@@ -18,15 +18,15 @@ $kbq-datepicker-non-touch-calendar-height: 270px;
|
|
|
18
18
|
.kbq-datepicker__content {
|
|
19
19
|
display: block;
|
|
20
20
|
|
|
21
|
-
border-radius: kbq-
|
|
21
|
+
border-radius: var(--kbq-datepicker-size-container-border-radius);
|
|
22
22
|
|
|
23
23
|
.kbq-calendar {
|
|
24
24
|
width: $kbq-datepicker-non-touch-calendar-width;
|
|
25
25
|
height: $kbq-datepicker-non-touch-calendar-height;
|
|
26
26
|
|
|
27
|
-
padding-top: kbq-
|
|
27
|
+
padding-top: var(--kbq-datepicker-size-container-padding-vertical);
|
|
28
28
|
|
|
29
|
-
padding-bottom: kbq-
|
|
29
|
+
padding-bottom: var(--kbq-datepicker-size-container-padding-vertical);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -12,8 +12,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
12
12
|
|
|
13
13
|
.kbq-datepicker-toggle__button.kbq-button-icon {
|
|
14
14
|
// FIXME: no such tokens in design-tokens, component needs to be reviewed
|
|
15
|
-
width: kbq-
|
|
16
|
-
height: kbq-
|
|
15
|
+
width: var(--kbq-datepicker-toggle-size-width);
|
|
16
|
+
height: var(--kbq-datepicker-toggle-size-height);
|
|
17
17
|
margin-left: 2px;
|
|
18
18
|
}
|
|
19
19
|
|
package/divider/divider.scss
CHANGED
|
@@ -10,23 +10,23 @@
|
|
|
10
10
|
margin: 0;
|
|
11
11
|
|
|
12
12
|
&.kbq-divider_horizontal {
|
|
13
|
-
height: kbq-
|
|
13
|
+
height: var(--kbq-divider-size-horizontal-width);
|
|
14
14
|
|
|
15
15
|
&.kbq-divider_paddings {
|
|
16
|
-
margin-top: kbq-
|
|
16
|
+
margin-top: var(--kbq-divider-size-horizontal-margin-vertical);
|
|
17
17
|
|
|
18
|
-
margin-bottom: kbq-
|
|
18
|
+
margin-bottom: var(--kbq-divider-size-horizontal-margin-vertical);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&.kbq-divider_vertical {
|
|
23
|
-
width: kbq-
|
|
23
|
+
width: var(--kbq-divider-size-vertical-width);
|
|
24
24
|
height: 100%;
|
|
25
25
|
|
|
26
26
|
&.kbq-divider_paddings {
|
|
27
|
-
margin-left: kbq-
|
|
27
|
+
margin-left: var(--kbq-divider-size-vertical-margin-horizontal);
|
|
28
28
|
|
|
29
|
-
margin-right: kbq-
|
|
29
|
+
margin-right: var(--kbq-divider-size-vertical-margin-horizontal);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
package/dl/_dl-theme.scss
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
@mixin kbq-dl-theme() {
|
|
8
8
|
.kbq-dt {
|
|
9
|
-
color: kbq-
|
|
9
|
+
color: var(--kbq-description-list-term-color);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.kbq-dd {
|
|
13
|
-
color: kbq-
|
|
13
|
+
color: var(--kbq-description-list-description-color);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
package/dl/dl.scss
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
.kbq-dl {
|
|
9
9
|
display: grid;
|
|
10
|
-
column-gap: kbq-
|
|
11
|
-
row-gap: kbq-
|
|
10
|
+
column-gap: var(--kbq-description-list-size-horizontal-content-gap-horizontal);
|
|
11
|
+
row-gap: var(--kbq-description-list-size-horizontal-gap-vertical);
|
|
12
12
|
|
|
13
13
|
grid-template-columns: repeat(4, 1fr);
|
|
14
14
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
&.kbq-dl_vertical {
|
|
36
36
|
grid-template-columns: repeat(1, 1fr);
|
|
37
37
|
|
|
38
|
-
row-gap: kbq-
|
|
38
|
+
row-gap: var(--kbq-description-list-size-vertical-content-gap-vertical);
|
|
39
39
|
|
|
40
40
|
.kbq-dt,
|
|
41
41
|
.kbq-dd {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.kbq-dd {
|
|
46
|
-
margin-bottom: kbq-
|
|
46
|
+
margin-bottom: var(--kbq-description-list-size-vertical-gap-vertical);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
@use '../core/styles/common/tokens' as *;
|
|
7
7
|
|
|
8
8
|
@mixin kbq-dropdown-item-state($style-name) {
|
|
9
|
-
background: kbq-
|
|
10
|
-
color: kbq-
|
|
9
|
+
background: var(--kbq-list-#{$style-name}-container-background);
|
|
10
|
+
color: var(--kbq-list-#{$style-name}-text-color);
|
|
11
11
|
|
|
12
12
|
.kbq-dropdown-item__caption {
|
|
13
|
-
color: kbq-
|
|
13
|
+
color: var(--kbq-list-#{$style-name}-caption-color);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
@mixin kbq-dropdown-theme() {
|
|
18
18
|
.kbq-dropdown__panel {
|
|
19
|
-
box-shadow: kbq-
|
|
20
|
-
background: kbq-
|
|
19
|
+
box-shadow: var(--kbq-dropdown-container-box-shadow);
|
|
20
|
+
background: var(--kbq-dropdown-container-background);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.kbq-dropdown-item {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.cdk-keyboard-focused {
|
|
32
|
-
border-color: kbq-
|
|
32
|
+
border-color: var(--kbq-list-states-focused-focus-outline-color);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&.kbq-selected {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
.kbq-dropdown__group-header {
|
|
49
49
|
&.kbq-dropdown__group-header_small {
|
|
50
|
-
color: kbq-
|
|
50
|
+
color: var(--kbq-foreground-contrast-secondary);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
& > .kbq-icon:first-child:before {
|
|
22
22
|
align-self: center;
|
|
23
23
|
display: flex;
|
|
24
|
-
height: kbq-
|
|
24
|
+
height: var(--kbq-size-xl);
|
|
25
25
|
width: 16px;
|
|
26
26
|
align-items: center;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
& .kbq-dropdown-item__caption {
|
|
30
|
-
padding-top: kbq-
|
|
30
|
+
padding-top: var(--kbq-size-3xs);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
package/dropdown/dropdown.scss
CHANGED
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
.kbq-dropdown__panel {
|
|
23
23
|
margin-top: 2px;
|
|
24
24
|
|
|
25
|
-
min-width: kbq-
|
|
26
|
-
max-width: kbq-
|
|
25
|
+
min-width: var(--kbq-dropdown-size-container-width-min);
|
|
26
|
+
max-width: var(--kbq-dropdown-size-container-width-max);
|
|
27
27
|
|
|
28
|
-
border-radius: kbq-
|
|
28
|
+
border-radius: var(--kbq-dropdown-size-container-border-radius);
|
|
29
29
|
|
|
30
|
-
padding-top: kbq-
|
|
30
|
+
padding-top: var(--kbq-dropdown-size-container-padding-vertical);
|
|
31
31
|
|
|
32
|
-
padding-bottom: kbq-
|
|
32
|
+
padding-bottom: var(--kbq-dropdown-size-container-padding-vertical);
|
|
33
33
|
|
|
34
34
|
// Prevent users from interacting with the panel while it's animating. Note that
|
|
35
35
|
// people won't be able to click through it, because the overlay pane will catch the click.
|
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
@mixin kbq-empty-state-theme() {
|
|
7
7
|
.kbq-empty-state_normal-color {
|
|
8
8
|
.kbq-empty-state-title {
|
|
9
|
-
color: kbq-
|
|
9
|
+
color: var(--kbq-empty-state-title);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.kbq-empty-state-text {
|
|
13
|
-
color: kbq-
|
|
13
|
+
color: var(--kbq-empty-state-title);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.kbq-empty-state_error-color {
|
|
18
18
|
.kbq-empty-state-title {
|
|
19
|
-
color: kbq-
|
|
19
|
+
color: var(--kbq-foreground-error);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.kbq-empty-state-text {
|
|
23
|
-
color: kbq-
|
|
23
|
+
color: var(--kbq-foreground-error);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -14,62 +14,60 @@
|
|
|
14
14
|
flex: 1;
|
|
15
15
|
|
|
16
16
|
&.kbq-empty-state_normal {
|
|
17
|
-
padding: kbq-
|
|
18
|
-
kbq-
|
|
19
|
-
kbq-css-variable(empty-state-size-normal-padding-bottom);
|
|
17
|
+
padding: var(--kbq-empty-state-size-normal-padding-top) var(--kbq-empty-state-size-normal-padding-horizontal)
|
|
18
|
+
var(--kbq-empty-state-size-normal-padding-bottom);
|
|
20
19
|
|
|
21
20
|
& .kbq-empty-state-icon {
|
|
22
|
-
margin-bottom: kbq-
|
|
21
|
+
margin-bottom: var(--kbq-empty-state-size-normal-image-margin-bottom);
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
& .kbq-empty-state-text {
|
|
26
|
-
max-width: kbq-
|
|
25
|
+
max-width: var(--kbq-empty-state-size-normal-max-width);
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
& .kbq-empty-state-title {
|
|
30
|
-
max-width: kbq-
|
|
29
|
+
max-width: var(--kbq-empty-state-size-normal-max-width);
|
|
31
30
|
|
|
32
|
-
margin-bottom: kbq-
|
|
31
|
+
margin-bottom: var(--kbq-empty-state-size-normal-title-margin-bottom);
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
& .kbq-empty-state-actions {
|
|
36
|
-
max-width: kbq-
|
|
35
|
+
max-width: var(--kbq-empty-state-size-normal-max-width);
|
|
37
36
|
|
|
38
|
-
margin-top: kbq-
|
|
37
|
+
margin-top: var(--kbq-empty-state-size-normal-actions-margin-top);
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
&.kbq-empty-state_align-center.kbq-empty-state_has-icon {
|
|
42
|
-
margin-bottom: kbq-
|
|
41
|
+
margin-bottom: var(--kbq-empty-state-size-normal-image-addon-height);
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
&.kbq-empty-state_big {
|
|
47
|
-
padding: kbq-
|
|
48
|
-
kbq-
|
|
49
|
-
kbq-css-variable(empty-state-size-big-padding-bottom);
|
|
46
|
+
padding: var(--kbq-empty-state-size-big-padding-top) var(--kbq-empty-state-size-big-padding-horizontal)
|
|
47
|
+
var(--kbq-empty-state-size-big-padding-bottom);
|
|
50
48
|
|
|
51
49
|
& .kbq-empty-state-icon {
|
|
52
|
-
margin-bottom: kbq-
|
|
50
|
+
margin-bottom: var(--kbq-empty-state-size-big-image-margin-bottom);
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
& .kbq-empty-state-text {
|
|
56
|
-
max-width: kbq-
|
|
54
|
+
max-width: var(--kbq-empty-state-size-big-max-width);
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
& .kbq-empty-state-title {
|
|
60
|
-
max-width: kbq-
|
|
58
|
+
max-width: var(--kbq-empty-state-size-big-max-width);
|
|
61
59
|
|
|
62
|
-
margin-bottom: kbq-
|
|
60
|
+
margin-bottom: var(--kbq-empty-state-size-big-title-margin-bottom);
|
|
63
61
|
}
|
|
64
62
|
|
|
65
63
|
& .kbq-empty-state-actions {
|
|
66
|
-
max-width: kbq-
|
|
64
|
+
max-width: var(--kbq-empty-state-size-big-max-width);
|
|
67
65
|
|
|
68
|
-
margin-top: kbq-
|
|
66
|
+
margin-top: var(--kbq-empty-state-size-big-actions-margin-top);
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
&.kbq-empty-state_align-center.kbq-empty-state_has-icon {
|
|
72
|
-
margin-bottom: kbq-
|
|
70
|
+
margin-bottom: var(--kbq-empty-state-size-big-image-addon-height);
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
73
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { RdxAccordionContentDirective } from '@radix-ng/primitives/accordion';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@radix-ng/primitives/accordion";
|
|
5
|
+
export class KbqAccordionContent {
|
|
6
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KbqAccordionContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: KbqAccordionContent, selector: "kbq-accordion-content, [kbq-accordion-content]", host: { classAttribute: "kbq-accordion-content" }, hostDirectives: [{ directive: i1.RdxAccordionContentDirective }], ngImport: i0 }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KbqAccordionContent, decorators: [{
|
|
10
|
+
type: Directive,
|
|
11
|
+
args: [{
|
|
12
|
+
selector: 'kbq-accordion-content, [kbq-accordion-content]',
|
|
13
|
+
hostDirectives: [RdxAccordionContentDirective],
|
|
14
|
+
host: {
|
|
15
|
+
class: 'kbq-accordion-content'
|
|
16
|
+
}
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWNvbnRlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21wb25lbnRzL2FjY29yZGlvbi9hY2NvcmRpb24tY29udGVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGdDQUFnQyxDQUFDOzs7QUFTOUUsTUFBTSxPQUFPLG1CQUFtQjtpSUFBbkIsbUJBQW1CO3FIQUFuQixtQkFBbUI7OzJGQUFuQixtQkFBbUI7a0JBUC9CLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLGdEQUFnRDtvQkFDMUQsY0FBYyxFQUFFLENBQUMsNEJBQTRCLENBQUM7b0JBQzlDLElBQUksRUFBRTt3QkFDRixLQUFLLEVBQUUsdUJBQXVCO3FCQUNqQztpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgUmR4QWNjb3JkaW9uQ29udGVudERpcmVjdGl2ZSB9IGZyb20gJ0ByYWRpeC1uZy9wcmltaXRpdmVzL2FjY29yZGlvbic7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAna2JxLWFjY29yZGlvbi1jb250ZW50LCBba2JxLWFjY29yZGlvbi1jb250ZW50XScsXG4gICAgaG9zdERpcmVjdGl2ZXM6IFtSZHhBY2NvcmRpb25Db250ZW50RGlyZWN0aXZlXSxcbiAgICBob3N0OiB7XG4gICAgICAgIGNsYXNzOiAna2JxLWFjY29yZGlvbi1jb250ZW50J1xuICAgIH1cbn0pXG5leHBvcnQgY2xhc3MgS2JxQWNjb3JkaW9uQ29udGVudCB7fVxuIl19
|