@koobiq/components 17.6.0 → 17.7.0
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/alert/alert.module.d.ts +3 -4
- package/autocomplete/autocomplete.module.d.ts +1 -1
- package/badge/badge-tokens.scss +1 -1
- package/badge/badge.module.d.ts +3 -4
- package/button/button-tokens.scss +2 -3
- package/button/button.module.d.ts +4 -5
- package/code-block/code-block.module.d.ts +6 -7
- package/core/forms/_forms-theme.scss +7 -15
- package/core/forms/_forms.scss +3 -9
- package/core/forms/forms-tokens.scss +39 -0
- package/core/option/_optgroup-theme.scss +4 -10
- package/core/option/_option-action-theme.scss +7 -15
- package/core/option/_option-theme.scss +13 -24
- package/core/option/action.scss +4 -0
- package/core/option/optgroup-tokens.scss +26 -0
- package/core/option/optgroup.scss +4 -5
- package/core/option/option-action-tokens.scss +21 -0
- package/core/option/option-module.d.ts +2 -3
- package/core/option/option-tokens.scss +115 -0
- package/core/option/option.scss +5 -3
- package/core/styles/_koobiq-theme.scss +7 -37
- package/core/styles/theming/_scrollbar-theme.scss +10 -11
- package/core/styles/theming/scrollbar-tokens.scss +34 -0
- package/datepicker/datepicker-module.d.ts +8 -8
- package/dl/dl.module.d.ts +3 -4
- package/dropdown/dropdown-tokens.scss +0 -1
- package/dropdown/dropdown.module.d.ts +4 -4
- package/empty-state/empty-state.module.d.ts +3 -4
- package/esm2022/alert/alert.component.mjs +3 -4
- package/esm2022/alert/alert.module.mjs +3 -7
- package/esm2022/autocomplete/autocomplete.module.mjs +15 -5
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/badge/badge.module.mjs +3 -7
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/button/button.module.mjs +3 -7
- package/esm2022/code-block/actionbar.component.mjs +6 -7
- package/esm2022/code-block/code-block.component.mjs +8 -9
- package/esm2022/code-block/code-block.module.mjs +4 -8
- package/esm2022/core/option/action.mjs +14 -25
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option-module.mjs +4 -5
- package/esm2022/core/option/option.mjs +5 -6
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +8 -8
- package/esm2022/datepicker/datepicker-module.mjs +10 -9
- package/esm2022/datepicker/datepicker-toggle.component.mjs +5 -6
- package/esm2022/datepicker/month-view.component.mjs +4 -5
- package/esm2022/dl/dl.module.mjs +3 -7
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -6
- package/esm2022/dropdown/dropdown.module.mjs +8 -9
- package/esm2022/empty-state/empty-state.module.mjs +3 -7
- package/esm2022/file-upload/file-upload.module.mjs +12 -9
- package/esm2022/file-upload/multiple-file-upload.component.mjs +10 -10
- package/esm2022/file-upload/single-file-upload.component.mjs +10 -10
- package/esm2022/form-field/form-field.mjs +7 -8
- package/esm2022/form-field/form-field.module.mjs +9 -5
- package/esm2022/form-field/password-hint.mjs +3 -3
- package/esm2022/form-field/password-toggle.mjs +3 -3
- package/esm2022/icon/icon.module.mjs +3 -7
- package/esm2022/input/input.module.mjs +3 -7
- package/esm2022/link/link.module.mjs +3 -7
- package/esm2022/list/list-selection.component.mjs +4 -5
- package/esm2022/list/list.module.mjs +3 -7
- package/esm2022/loader-overlay/loader-overlay.component.mjs +4 -5
- package/esm2022/loader-overlay/loader-overlay.module.mjs +3 -7
- package/esm2022/markdown/markdown.module.mjs +4 -5
- package/esm2022/modal/modal.component.mjs +7 -7
- package/esm2022/modal/modal.module.mjs +12 -9
- package/esm2022/navbar/navbar-item.component.mjs +30 -31
- package/esm2022/navbar/navbar.module.mjs +3 -7
- package/esm2022/popover/popover-confirm.component.mjs +4 -4
- package/esm2022/popover/popover.component.mjs +8 -8
- package/esm2022/popover/popover.module.mjs +40 -7
- package/esm2022/progress-bar/progress-bar.component.mjs +3 -4
- package/esm2022/progress-bar/progress-bar.module.mjs +3 -7
- package/esm2022/progress-spinner/progress-spinner.component.mjs +3 -3
- package/esm2022/progress-spinner/progress-spinner.module.mjs +7 -8
- package/esm2022/radio/radio.component.mjs +3 -3
- package/esm2022/radio/radio.module.mjs +4 -5
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +3 -7
- package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/select/select.component.mjs +8 -8
- package/esm2022/select/select.module.mjs +11 -13
- package/esm2022/sidebar/sidebar.component.mjs +3 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -6
- package/esm2022/sidepanel/sidepanel-directives.mjs +30 -29
- package/esm2022/sidepanel/sidepanel.module.mjs +3 -7
- package/esm2022/splitter/splitter.component.mjs +3 -4
- package/esm2022/splitter/splitter.module.mjs +3 -7
- package/esm2022/table/table.module.mjs +3 -7
- package/esm2022/tabs/tab-group.component.mjs +9 -10
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +3 -7
- package/esm2022/tags/tag-list.component.mjs +3 -4
- package/esm2022/tags/tag.module.mjs +4 -5
- package/esm2022/textarea/textarea.module.mjs +4 -5
- package/esm2022/timepicker/timepicker.module.mjs +3 -7
- package/esm2022/timezone/timezone-option.component.mjs +6 -6
- package/esm2022/timezone/timezone-select.component.mjs +7 -7
- package/esm2022/timezone/timezone.module.mjs +10 -9
- package/esm2022/toast/toast.component.mjs +6 -6
- package/esm2022/toast/toast.module.mjs +10 -9
- package/esm2022/toggle/toggle.component.mjs +2 -2
- package/esm2022/toggle/toggle.module.mjs +4 -5
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.module.mjs +11 -5
- package/esm2022/tree/toggle.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +5 -6
- package/esm2022/tree/tree-selection.component.mjs +2 -2
- package/esm2022/tree/tree.mjs +2 -2
- package/esm2022/tree/tree.module.mjs +3 -7
- package/esm2022/tree-select/tree-select.component.mjs +7 -7
- package/esm2022/tree-select/tree-select.module.mjs +11 -12
- package/fesm2022/koobiq-components-alert.mjs +4 -9
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +14 -4
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +4 -8
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +4 -8
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +15 -20
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +22 -33
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +21 -20
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -6
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +16 -17
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +2 -6
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +22 -19
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +17 -13
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +2 -6
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +2 -6
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +2 -6
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +5 -10
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +5 -10
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +3 -4
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +18 -15
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +32 -36
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +47 -14
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +4 -9
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +8 -9
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +5 -6
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +4 -8
- 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 -19
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +2 -3
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +35 -38
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +4 -9
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -6
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +8 -13
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +5 -7
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -4
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +2 -6
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +19 -18
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +14 -13
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +5 -6
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +12 -6
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +16 -17
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +16 -21
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/file-upload-tokens.scss +5 -5
- package/file-upload/file-upload.module.d.ts +12 -12
- package/file-upload/single-file-upload.component.d.ts +1 -1
- package/form-field/form-field-tokens.scss +13 -1
- package/form-field/form-field.module.d.ts +3 -3
- package/icon/icon-button-tokens.scss +0 -1
- package/icon/icon.module.d.ts +3 -4
- package/input/input.module.d.ts +5 -6
- package/link/link-tokens.scss +1 -1
- package/link/link.module.d.ts +2 -3
- package/list/list.module.d.ts +3 -4
- package/loader-overlay/loader-overlay.module.d.ts +4 -5
- package/markdown/markdown.module.d.ts +4 -5
- package/modal/modal.module.d.ts +7 -7
- package/navbar/navbar.module.d.ts +5 -6
- package/package.json +6 -6
- package/popover/popover.module.d.ts +7 -7
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +6 -12
- package/progress-bar/progress-bar-tokens.scss +36 -0
- package/progress-bar/progress-bar.module.d.ts +2 -3
- package/progress-bar/progress-bar.scss +4 -4
- package/progress-spinner/_progress-spinner-theme.scss +5 -11
- package/progress-spinner/progress-spinner-tokens.scss +38 -0
- package/progress-spinner/progress-spinner.module.d.ts +3 -3
- package/progress-spinner/progress-spinner.scss +4 -4
- package/radio/_radio-theme.scss +21 -36
- package/radio/radio-tokens.scss +166 -0
- package/radio/radio.module.d.ts +3 -4
- package/radio/radio.scss +4 -5
- package/risk-level/_risk-level-theme.scss +20 -24
- package/risk-level/risk-level-tokens.scss +72 -0
- package/risk-level/risk-level.component.scss +5 -3
- package/risk-level/risk-level.module.d.ts +3 -4
- package/schematics/ng-add/index.js +4 -4
- package/scrollbar/_scrollbar-component-theme.scss +13 -31
- package/scrollbar/scrollbar-tokens.scss +34 -0
- package/scrollbar/scrollbar.component.scss +4 -3
- package/select/_select-theme.scss +11 -22
- package/select/select-tokens.scss +59 -0
- package/select/select.component.d.ts +1 -1
- package/select/select.module.d.ts +7 -7
- package/select/select.scss +5 -3
- package/sidepanel/_sidepanel-theme.scss +6 -12
- package/sidepanel/sidepanel-tokens.scss +48 -0
- package/sidepanel/sidepanel.module.d.ts +8 -9
- package/sidepanel/sidepanel.scss +4 -4
- package/splitter/_splitter-theme.scss +2 -6
- package/splitter/splitter-tokens.scss +7 -0
- package/splitter/splitter.module.d.ts +2 -3
- package/splitter/splitter.scss +4 -0
- package/table/table.module.d.ts +3 -4
- package/tabs/_tabs-common.scss +0 -6
- package/tabs/_tabs-theme.scss +30 -65
- package/tabs/tab-group.scss +0 -3
- package/tabs/tab-header.scss +0 -3
- package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -2
- package/tabs/tabs-tokens.scss +136 -0
- package/tabs/tabs.module.d.ts +7 -8
- package/tags/_tag-theme.scss +17 -26
- package/tags/tag-input-tokens.scss +14 -0
- package/tags/tag-list.scss +0 -6
- package/tags/tag-tokens.scss +151 -0
- package/tags/tag.module.d.ts +2 -3
- package/tags/tag.scss +0 -3
- package/textarea/textarea.module.d.ts +4 -5
- package/timepicker/timepicker.module.d.ts +4 -5
- package/timezone/timezone.module.d.ts +9 -9
- package/toast/toast.module.d.ts +7 -7
- package/toggle/toggle-tokens.scss +4 -4
- package/toggle/toggle.module.d.ts +3 -4
- package/tooltip/tooltip.module.d.ts +3 -3
- package/tree/tree-tokens.scss +4 -4
- package/tree/tree.module.d.ts +3 -4
- package/tree-select/tree-select.component.d.ts +1 -1
- package/tree-select/tree-select.module.d.ts +7 -7
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.kbq-risk-level {
|
|
2
|
+
--kbq-risk-level-size-padding-vertical: 2px;
|
|
3
|
+
--kbq-risk-level-size-padding-horizontal: 8px;
|
|
4
|
+
--kbq-risk-level-size-border-width: 1px;
|
|
5
|
+
--kbq-risk-level-size-border-radius: 4px;
|
|
6
|
+
--kbq-risk-level-font-text-font-size: 18px;
|
|
7
|
+
--kbq-risk-level-font-text-line-height: 26px;
|
|
8
|
+
--kbq-risk-level-font-text-letter-spacing: normal;
|
|
9
|
+
--kbq-risk-level-font-text-font-weight: 600;
|
|
10
|
+
--kbq-risk-level-font-text-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
11
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
12
|
+
--kbq-risk-level-font-text-text-transform: null;
|
|
13
|
+
--kbq-risk-level-font-text-font-feature-settings: 'calt', 'kern', 'liga';
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
17
|
+
--kbq-risk-level-filled-fade-off-success-background: hsla(104, 64%, 45%, 100%);
|
|
18
|
+
--kbq-risk-level-filled-fade-off-success-text: hsla(0, 0%, 100%, 100%);
|
|
19
|
+
--kbq-risk-level-filled-fade-off-warning-background: hsla(38, 100%, 50%, 100%);
|
|
20
|
+
--kbq-risk-level-filled-fade-off-warning-text: hsla(0, 0%, 100%, 100%);
|
|
21
|
+
--kbq-risk-level-filled-fade-off-error-background: hsla(7, 97%, 60%, 100%);
|
|
22
|
+
--kbq-risk-level-filled-fade-off-error-text: hsla(0, 0%, 100%, 100%);
|
|
23
|
+
--kbq-risk-level-filled-fade-on-contrast-background: hsla(229, 15%, 92%, 100%);
|
|
24
|
+
--kbq-risk-level-filled-fade-on-contrast-text: hsla(229, 15%, 15%, 100%);
|
|
25
|
+
--kbq-risk-level-filled-fade-on-success-background: hsla(104, 64%, 80%, 100%);
|
|
26
|
+
--kbq-risk-level-filled-fade-on-success-text: hsla(104, 64%, 30%, 100%);
|
|
27
|
+
--kbq-risk-level-filled-fade-on-warning-background: hsla(38, 100%, 85%, 100%);
|
|
28
|
+
--kbq-risk-level-filled-fade-on-warning-text: hsla(38, 100%, 33%, 100%);
|
|
29
|
+
--kbq-risk-level-filled-fade-on-error-background: hsla(7, 97%, 90%, 100%);
|
|
30
|
+
--kbq-risk-level-filled-fade-on-error-text: hsla(7, 97%, 40%, 100%);
|
|
31
|
+
--kbq-risk-level-outline-fade-on-contrast-background: transparent;
|
|
32
|
+
--kbq-risk-level-outline-fade-on-contrast-text: hsla(229, 15%, 15%, 100%);
|
|
33
|
+
--kbq-risk-level-outline-fade-on-contrast-border: hsla(229, 15%, 80%, 100%);
|
|
34
|
+
--kbq-risk-level-outline-fade-on-success-background: transparent;
|
|
35
|
+
--kbq-risk-level-outline-fade-on-success-text: hsla(104, 64%, 30%, 100%);
|
|
36
|
+
--kbq-risk-level-outline-fade-on-success-border: hsla(104, 64%, 45%, 100%);
|
|
37
|
+
--kbq-risk-level-outline-fade-on-warning-background: transparent;
|
|
38
|
+
--kbq-risk-level-outline-fade-on-warning-text: hsla(38, 100%, 33%, 100%);
|
|
39
|
+
--kbq-risk-level-outline-fade-on-warning-border: hsla(38, 100%, 55%, 100%);
|
|
40
|
+
--kbq-risk-level-outline-fade-on-error-background: transparent;
|
|
41
|
+
--kbq-risk-level-outline-fade-on-error-text: hsla(7, 97%, 40%, 100%);
|
|
42
|
+
--kbq-risk-level-outline-fade-on-error-border: hsla(7, 97%, 65%, 100%);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
46
|
+
--kbq-risk-level-filled-fade-off-success-background: hsla(104, 64%, 40%, 100%);
|
|
47
|
+
--kbq-risk-level-filled-fade-off-success-text: hsla(0, 0%, 100%, 100%);
|
|
48
|
+
--kbq-risk-level-filled-fade-off-warning-background: hsla(38, 100%, 39%, 100%);
|
|
49
|
+
--kbq-risk-level-filled-fade-off-warning-text: hsla(0, 0%, 100%, 100%);
|
|
50
|
+
--kbq-risk-level-filled-fade-off-error-background: hsla(7, 97%, 41%, 100%);
|
|
51
|
+
--kbq-risk-level-filled-fade-off-error-text: hsla(0, 0%, 100%, 100%);
|
|
52
|
+
--kbq-risk-level-filled-fade-on-contrast-background: hsla(229, 15%, 25%, 100%);
|
|
53
|
+
--kbq-risk-level-filled-fade-on-contrast-text: hsla(229, 15%, 80%, 100%);
|
|
54
|
+
--kbq-risk-level-filled-fade-on-success-background: hsla(104, 64%, 12%, 100%);
|
|
55
|
+
--kbq-risk-level-filled-fade-on-success-text: hsla(104, 64%, 45%, 100%);
|
|
56
|
+
--kbq-risk-level-filled-fade-on-warning-background: hsla(38, 100%, 14%, 100%);
|
|
57
|
+
--kbq-risk-level-filled-fade-on-warning-text: hsla(38, 100%, 60%, 100%);
|
|
58
|
+
--kbq-risk-level-filled-fade-on-error-background: hsla(7, 97%, 15%, 100%);
|
|
59
|
+
--kbq-risk-level-filled-fade-on-error-text: hsla(7, 97%, 60%, 100%);
|
|
60
|
+
--kbq-risk-level-outline-fade-on-contrast-background: transparent;
|
|
61
|
+
--kbq-risk-level-outline-fade-on-contrast-text: hsla(229, 15%, 80%, 100%);
|
|
62
|
+
--kbq-risk-level-outline-fade-on-contrast-border: hsla(229, 15%, 30%, 100%);
|
|
63
|
+
--kbq-risk-level-outline-fade-on-success-background: transparent;
|
|
64
|
+
--kbq-risk-level-outline-fade-on-success-text: hsla(104, 64%, 45%, 100%);
|
|
65
|
+
--kbq-risk-level-outline-fade-on-success-border: hsla(104, 64%, 20%, 100%);
|
|
66
|
+
--kbq-risk-level-outline-fade-on-warning-background: transparent;
|
|
67
|
+
--kbq-risk-level-outline-fade-on-warning-text: hsla(38, 100%, 60%, 100%);
|
|
68
|
+
--kbq-risk-level-outline-fade-on-warning-border: hsla(38, 100%, 20%, 100%);
|
|
69
|
+
--kbq-risk-level-outline-fade-on-error-background: transparent;
|
|
70
|
+
--kbq-risk-level-outline-fade-on-error-text: hsla(7, 97%, 60%, 100%);
|
|
71
|
+
--kbq-risk-level-outline-fade-on-error-border: hsla(7, 97%, 35%, 100%);
|
|
72
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common/tokens' as *;
|
|
5
2
|
|
|
3
|
+
@use './risk-level-theme' as *;
|
|
4
|
+
|
|
6
5
|
.kbq-risk-level {
|
|
7
6
|
box-sizing: border-box;
|
|
8
7
|
|
|
@@ -18,3 +17,6 @@
|
|
|
18
17
|
radius: kbq-css-variable(risk-level-size-border-radius);
|
|
19
18
|
}
|
|
20
19
|
}
|
|
20
|
+
|
|
21
|
+
@include kbq-risk-level-theme();
|
|
22
|
+
@include kbq-risk-level-typography();
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./risk-level.component";
|
|
3
|
-
import * as i2 from "@angular/
|
|
4
|
-
import * as i3 from "@angular/cdk/
|
|
5
|
-
import * as i4 from "@angular/cdk/platform";
|
|
3
|
+
import * as i2 from "@angular/cdk/a11y";
|
|
4
|
+
import * as i3 from "@angular/cdk/platform";
|
|
6
5
|
export declare class KbqRiskLevelModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRiskLevelModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqRiskLevelModule, [typeof i1.KbqRiskLevel], [typeof i2.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqRiskLevelModule, [typeof i1.KbqRiskLevel], [typeof i2.A11yModule, typeof i3.PlatformModule], [typeof i1.KbqRiskLevel]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqRiskLevelModule>;
|
|
10
9
|
}
|
|
@@ -52,13 +52,13 @@ function ngAdd(options) {
|
|
|
52
52
|
}
|
|
53
53
|
// Installing dependencies
|
|
54
54
|
addPackageToPackageJson(tree, '@angular/cdk', "^17.2.0");
|
|
55
|
-
addPackageToPackageJson(tree, '@koobiq/cdk', "^17.
|
|
56
|
-
addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^17.
|
|
55
|
+
addPackageToPackageJson(tree, '@koobiq/cdk', "^17.7.0");
|
|
56
|
+
addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^17.7.0");
|
|
57
57
|
addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.1.2");
|
|
58
58
|
addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.1.2");
|
|
59
59
|
addPackageToPackageJson(tree, '@koobiq/icons', "^7.1.1");
|
|
60
|
-
addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.5.
|
|
61
|
-
addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.5.
|
|
60
|
+
addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.5.1");
|
|
61
|
+
addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.5.1");
|
|
62
62
|
addPackageToPackageJson(tree, '@messageformat/core', "^3.0.1");
|
|
63
63
|
addPackageToPackageJson(tree, 'luxon', "^3.4.4");
|
|
64
64
|
addPackageToPackageJson(tree, 'marked', "^9.0.0");
|
|
@@ -1,37 +1,25 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
1
|
@use '../core/styles/common/tokens' as *;
|
|
3
2
|
|
|
4
|
-
@mixin kbq-scrollbar-component-theme(
|
|
5
|
-
$scrollbar: map.get(map.get($theme, components), scrollbar);
|
|
6
|
-
|
|
3
|
+
@mixin kbq-scrollbar-component-theme() {
|
|
7
4
|
.kbq-scrollbar-component {
|
|
8
5
|
.os-scrollbar {
|
|
9
6
|
.os-scrollbar-handle {
|
|
10
7
|
&::before {
|
|
11
|
-
border-color: kbq-css-variable(scrollbar-thumb-default-background
|
|
12
|
-
background-color: kbq-css-variable(
|
|
13
|
-
scrollbar-thumb-default-background,
|
|
14
|
-
map.get($scrollbar, default)
|
|
15
|
-
);
|
|
8
|
+
border-color: kbq-css-variable(scrollbar-thumb-default-background);
|
|
9
|
+
background-color: kbq-css-variable(scrollbar-thumb-default-background);
|
|
16
10
|
}
|
|
17
11
|
|
|
18
12
|
&:hover {
|
|
19
13
|
&::before {
|
|
20
|
-
border-color: kbq-css-variable(scrollbar-thumb-hover-background
|
|
21
|
-
background-color: kbq-css-variable(
|
|
22
|
-
scrollbar-thumb-hover-background,
|
|
23
|
-
map.get($scrollbar, hover)
|
|
24
|
-
);
|
|
14
|
+
border-color: kbq-css-variable(scrollbar-thumb-hover-background);
|
|
15
|
+
background-color: kbq-css-variable(scrollbar-thumb-hover-background);
|
|
25
16
|
}
|
|
26
17
|
}
|
|
27
18
|
|
|
28
19
|
&:active {
|
|
29
20
|
&::before {
|
|
30
|
-
border-color: kbq-css-variable(scrollbar-thumb-active-background
|
|
31
|
-
background-color: kbq-css-variable(
|
|
32
|
-
scrollbar-thumb-active-background,
|
|
33
|
-
map.get($scrollbar, active)
|
|
34
|
-
);
|
|
21
|
+
border-color: kbq-css-variable(scrollbar-thumb-active-background);
|
|
22
|
+
background-color: kbq-css-variable(scrollbar-thumb-active-background);
|
|
35
23
|
}
|
|
36
24
|
}
|
|
37
25
|
}
|
|
@@ -39,23 +27,17 @@
|
|
|
39
27
|
.os-scrollbar-track,
|
|
40
28
|
.os-scrollbar-handle {
|
|
41
29
|
border-style: solid;
|
|
42
|
-
border-color: kbq-css-variable(
|
|
43
|
-
|
|
44
|
-
map.get($scrollbar, track, default)
|
|
45
|
-
) !important;
|
|
46
|
-
background-color: kbq-css-variable(
|
|
47
|
-
scrollbar-track-default-background,
|
|
48
|
-
map.get($scrollbar, track, default)
|
|
49
|
-
);
|
|
30
|
+
border-color: kbq-css-variable(scrollbar-track-default-border) !important;
|
|
31
|
+
background-color: kbq-css-variable(scrollbar-track-default-background);
|
|
50
32
|
|
|
51
33
|
&:hover {
|
|
52
|
-
border-color: kbq-css-variable(scrollbar-track-hover-border
|
|
53
|
-
background: kbq-css-variable(scrollbar-track-hover-background
|
|
34
|
+
border-color: kbq-css-variable(scrollbar-track-hover-border);
|
|
35
|
+
background: kbq-css-variable(scrollbar-track-hover-background);
|
|
54
36
|
}
|
|
55
37
|
|
|
56
38
|
&:active {
|
|
57
|
-
border-color: kbq-css-variable(scrollbar-track-active-border
|
|
58
|
-
background: kbq-css-variable(scrollbar-track-active-background
|
|
39
|
+
border-color: kbq-css-variable(scrollbar-track-active-border);
|
|
40
|
+
background: kbq-css-variable(scrollbar-track-active-background);
|
|
59
41
|
}
|
|
60
42
|
}
|
|
61
43
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.kbq-scrollbar-component {
|
|
2
|
+
--kbq-scrollbar-size-track-dimension: 16px;
|
|
3
|
+
--kbq-scrollbar-size-track-padding-vertical: 2px;
|
|
4
|
+
--kbq-scrollbar-size-track-padding-horizontal: 2px;
|
|
5
|
+
--kbq-scrollbar-size-thumb-width: 8px;
|
|
6
|
+
--kbq-scrollbar-size-thumb-min-size: 20px;
|
|
7
|
+
--kbq-scrollbar-size-thumb-border-radius: 8px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
11
|
+
--kbq-scrollbar-thumb-default-background: hsla(229, 15%, 60%, 100%);
|
|
12
|
+
--kbq-scrollbar-thumb-hover-background: hsla(229, 15%, 50%, 100%);
|
|
13
|
+
--kbq-scrollbar-thumb-active-background: hsla(229, 15%, 40%, 100%);
|
|
14
|
+
--kbq-scrollbar-thumb-disabled-background: hsla(229, 15%, 15%, 32%);
|
|
15
|
+
--kbq-scrollbar-track-default-border: transparent;
|
|
16
|
+
--kbq-scrollbar-track-default-background: transparent;
|
|
17
|
+
--kbq-scrollbar-track-hover-border: transparent;
|
|
18
|
+
--kbq-scrollbar-track-hover-background: transparent;
|
|
19
|
+
--kbq-scrollbar-track-active-border: transparent;
|
|
20
|
+
--kbq-scrollbar-track-active-background: transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
24
|
+
--kbq-scrollbar-thumb-default-background: hsla(229, 15%, 45%, 100%);
|
|
25
|
+
--kbq-scrollbar-thumb-hover-background: hsla(229, 15%, 50%, 100%);
|
|
26
|
+
--kbq-scrollbar-thumb-active-background: hsla(229, 15%, 40%, 100%);
|
|
27
|
+
--kbq-scrollbar-thumb-disabled-background: hsla(229, 15%, 30%, 100%);
|
|
28
|
+
--kbq-scrollbar-track-default-border: transparent;
|
|
29
|
+
--kbq-scrollbar-track-default-background: transparent;
|
|
30
|
+
--kbq-scrollbar-track-hover-border: transparent;
|
|
31
|
+
--kbq-scrollbar-track-hover-background: transparent;
|
|
32
|
+
--kbq-scrollbar-track-active-border: transparent;
|
|
33
|
+
--kbq-scrollbar-track-active-background: transparent;
|
|
34
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common/tokens' as *;
|
|
5
2
|
|
|
3
|
+
@use './scrollbar-component-theme' as *;
|
|
4
|
+
|
|
6
5
|
.kbq-scrollbar-component {
|
|
7
6
|
$scrollbar-size-thumb-width: kbq-css-variable(scrollbar-size-thumb-width);
|
|
8
7
|
$padding-vertical: kbq-css-variable(scrollbar-size-track-padding-vertical);
|
|
@@ -79,6 +78,8 @@
|
|
|
79
78
|
}
|
|
80
79
|
}
|
|
81
80
|
|
|
81
|
+
@include kbq-scrollbar-component-theme();
|
|
82
|
+
|
|
82
83
|
// core
|
|
83
84
|
.os-size-observer,
|
|
84
85
|
.os-size-observer-listener {
|
|
@@ -1,56 +1,45 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common/popup' as *;
|
|
5
2
|
@use '../core/styles/theming/theming' as *;
|
|
6
|
-
@use '../core/styles/typography/typography-utils' as *;
|
|
7
3
|
@use '../core/styles/common/tokens' as *;
|
|
8
4
|
|
|
9
|
-
@mixin kbq-select-theme(
|
|
10
|
-
$foreground: map.get($theme, foreground);
|
|
11
|
-
|
|
12
|
-
$error: map.get($theme, error);
|
|
13
|
-
|
|
14
|
-
$select-panel: map.get($theme, components, select-panel);
|
|
15
|
-
$divider: map.get($theme, components, divider);
|
|
16
|
-
|
|
5
|
+
@mixin kbq-select-theme() {
|
|
17
6
|
.kbq-select {
|
|
18
|
-
color: kbq-css-variable(foreground-contrast
|
|
7
|
+
color: kbq-css-variable(foreground-contrast);
|
|
19
8
|
|
|
20
9
|
&.ng-invalid {
|
|
21
|
-
color: kbq-css-variable(error-default
|
|
10
|
+
color: kbq-css-variable(error-default);
|
|
22
11
|
}
|
|
23
12
|
|
|
24
13
|
&.kbq-disabled {
|
|
25
|
-
color: kbq-css-variable(foreground-text-disabled
|
|
14
|
+
color: kbq-css-variable(foreground-text-disabled);
|
|
26
15
|
}
|
|
27
16
|
}
|
|
28
17
|
|
|
29
18
|
.kbq-select__placeholder {
|
|
30
19
|
text-overflow: ellipsis;
|
|
31
20
|
|
|
32
|
-
color: kbq-css-variable(foreground-text-disabled
|
|
21
|
+
color: kbq-css-variable(foreground-text-disabled);
|
|
33
22
|
}
|
|
34
23
|
|
|
35
24
|
.kbq-select__panel {
|
|
36
|
-
box-shadow: kbq-css-variable(select-panel-dropdown-shadow
|
|
37
|
-
background: kbq-css-variable(select-panel-dropdown-background
|
|
25
|
+
box-shadow: kbq-css-variable(select-panel-dropdown-shadow);
|
|
26
|
+
background: kbq-css-variable(select-panel-dropdown-background);
|
|
38
27
|
|
|
39
28
|
& .kbq-select__footer {
|
|
40
|
-
border-color: kbq-css-variable(divider-color
|
|
29
|
+
border-color: kbq-css-variable(divider-color);
|
|
41
30
|
}
|
|
42
31
|
}
|
|
43
32
|
|
|
44
33
|
.kbq-select__search-container {
|
|
45
|
-
border-bottom-color: kbq-css-variable(divider-color
|
|
34
|
+
border-bottom-color: kbq-css-variable(divider-color);
|
|
46
35
|
}
|
|
47
36
|
|
|
48
37
|
.kbq-select__no-options-message {
|
|
49
|
-
color: kbq-css-variable(foreground-text-less-contrast
|
|
38
|
+
color: kbq-css-variable(foreground-text-less-contrast);
|
|
50
39
|
}
|
|
51
40
|
}
|
|
52
41
|
|
|
53
|
-
@mixin kbq-select-typography(
|
|
42
|
+
@mixin kbq-select-typography() {
|
|
54
43
|
.kbq-select {
|
|
55
44
|
@include kbq-typography-css-variables(select, default);
|
|
56
45
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.kbq-select,
|
|
2
|
+
.kbq-select__panel {
|
|
3
|
+
--kbq-size-xxs: 4px;
|
|
4
|
+
--kbq-size-m: 12px;
|
|
5
|
+
--kbq-option-size-horizontal-padding: 12px;
|
|
6
|
+
--kbq-option-size-height: 32px;
|
|
7
|
+
--kbq-option-size-border-width: 2px;
|
|
8
|
+
--kbq-select-size-single-padding-left: 12px;
|
|
9
|
+
--kbq-select-size-single-padding-right: 4px;
|
|
10
|
+
--kbq-select-size-single-padding-vertical: 6px;
|
|
11
|
+
--kbq-select-size-single-content-gap: 4px;
|
|
12
|
+
--kbq-select-size-multiple-padding-left: 4px;
|
|
13
|
+
--kbq-select-size-multiple-padding-right: 4px;
|
|
14
|
+
--kbq-select-size-multiple-padding-vertical: 4px;
|
|
15
|
+
--kbq-select-size-multiple-content-gap: 4px;
|
|
16
|
+
--kbq-select-font-default-font-size: 14px;
|
|
17
|
+
--kbq-select-font-default-line-height: 20px;
|
|
18
|
+
--kbq-select-font-default-letter-spacing: -0.006em;
|
|
19
|
+
--kbq-select-font-default-font-weight: normal;
|
|
20
|
+
--kbq-select-font-default-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
21
|
+
sans-serif;
|
|
22
|
+
--kbq-select-font-default-text-transform: null;
|
|
23
|
+
--kbq-select-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
24
|
+
--kbq-select-panel-size-border-radius: 8px;
|
|
25
|
+
--kbq-select-panel-size-max-height: 256px;
|
|
26
|
+
--kbq-select-panel-font-default-font-size: 14px;
|
|
27
|
+
--kbq-select-panel-font-default-line-height: 20px;
|
|
28
|
+
--kbq-select-panel-font-default-letter-spacing: -0.006em;
|
|
29
|
+
--kbq-select-panel-font-default-font-weight: normal;
|
|
30
|
+
--kbq-select-panel-font-default-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
|
|
31
|
+
Arial, sans-serif;
|
|
32
|
+
--kbq-select-panel-font-default-text-transform: null;
|
|
33
|
+
--kbq-select-panel-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
37
|
+
--kbq-error-default: hsla(7, 97%, 50%, 100%);
|
|
38
|
+
--kbq-foreground-contrast: hsla(229, 15%, 15%, 100%);
|
|
39
|
+
--kbq-foreground-contrast-secondary: hsla(229, 15%, 50%, 100%);
|
|
40
|
+
--kbq-foreground-contrast-tertiary: hsla(229, 15%, 60%, 100%);
|
|
41
|
+
--kbq-foreground-text-less-contrast: hsla(229, 15%, 50%, 100%);
|
|
42
|
+
--kbq-foreground-text-disabled: hsla(229, 15%, 70%, 100%);
|
|
43
|
+
--kbq-divider-color: hsla(229, 15%, 6%, 12%);
|
|
44
|
+
--kbq-select-panel-dropdown-background: hsla(229, 15%, 100%, 100%);
|
|
45
|
+
--kbq-select-panel-dropdown-shadow: 0 0 0 1px hsla(229, 15%, 6%, 3%), 0 2px 8px hsla(229, 15%, 6%, 6%),
|
|
46
|
+
0 3px 8px hsla(229, 15%, 6%, 12%);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
50
|
+
--kbq-error-default: hsla(7, 97%, 50%, 100%);
|
|
51
|
+
--kbq-foreground-contrast: hsla(229, 15%, 80%, 100%);
|
|
52
|
+
--kbq-foreground-contrast-secondary: hsla(229, 15%, 60%, 100%);
|
|
53
|
+
--kbq-foreground-contrast-tertiary: hsla(229, 15%, 45%, 100%);
|
|
54
|
+
--kbq-foreground-text-less-contrast: hsla(229, 15%, 50%, 100%);
|
|
55
|
+
--kbq-foreground-text-disabled: hsla(229, 15%, 70%, 100%);
|
|
56
|
+
--kbq-divider-color: hsla(229, 15%, 22%, 100%);
|
|
57
|
+
--kbq-select-panel-dropdown-background: hsla(229, 15%, 15%, 100%);
|
|
58
|
+
--kbq-select-panel-dropdown-shadow: 0 0 0 1px hsla(229, 100%, 85%, 15%);
|
|
59
|
+
}
|
|
@@ -308,6 +308,6 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
308
308
|
private getTotalVisibleItems;
|
|
309
309
|
private buildTriggerClone;
|
|
310
310
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelect, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, null, { optional: true; }]>;
|
|
311
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["kbqSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["footer", "cdkVirtualForOf", "customTrigger", "customMatcher", "customTagTemplateRef", "cleaner", "search", "options", "optionGroups"], ["kbq-select-
|
|
311
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["kbqSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["footer", "cdkVirtualForOf", "customTrigger", "customMatcher", "customTagTemplateRef", "cleaner", "search", "options", "optionGroups"], ["kbq-select-matcher, [kbq-select-matcher]", "kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*", "kbq-select-footer,[kbq-select-footer]"], false, never>;
|
|
312
312
|
}
|
|
313
313
|
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./select.component";
|
|
3
3
|
import * as i2 from "./select-option.directive";
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "@
|
|
6
|
-
import * as i5 from "@koobiq/components/
|
|
7
|
-
import * as i6 from "@koobiq/components/
|
|
8
|
-
import * as i7 from "@koobiq/components/
|
|
9
|
-
import * as i8 from "@
|
|
4
|
+
import * as i3 from "@angular/cdk/overlay";
|
|
5
|
+
import * as i4 from "@koobiq/components/core";
|
|
6
|
+
import * as i5 from "@koobiq/components/icon";
|
|
7
|
+
import * as i6 from "@koobiq/components/tags";
|
|
8
|
+
import * as i7 from "@koobiq/components/tooltip";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
10
|
import * as i9 from "@koobiq/components/form-field";
|
|
11
11
|
export declare class KbqSelectModule {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSelectModule, [typeof i1.KbqSelect, typeof i2.KbqOptionTooltip], [typeof i3.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSelectModule, [typeof i1.KbqSelect, typeof i2.KbqOptionTooltip], [typeof i3.OverlayModule, typeof i4.KbqOptionModule, typeof i5.KbqIconModule, typeof i6.KbqTagsModule, typeof i7.KbqToolTipModule, typeof i4.KbqSelectSearch, typeof i4.KbqSelectFooter, typeof i4.KbqSelectMatcher, typeof i4.KbqSelectTrigger, typeof i4.KbqSelectSearchEmptyResult, typeof i8.NgClass, typeof i8.NgTemplateOutlet], [typeof i9.KbqFormFieldModule, typeof i1.KbqSelect, typeof i2.KbqOptionTooltip, typeof i4.KbqOptionModule, typeof i4.KbqSelectSearch, typeof i4.KbqSelectFooter, typeof i4.KbqSelectMatcher, typeof i4.KbqSelectTrigger, typeof i4.KbqSelectSearchEmptyResult]>;
|
|
14
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqSelectModule>;
|
|
15
15
|
}
|
package/select/select.scss
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common/select' as *;
|
|
5
2
|
|
|
6
3
|
@use '../core/styles/common/tokens' as *;
|
|
7
4
|
|
|
5
|
+
@use './select-theme' as *;
|
|
6
|
+
|
|
8
7
|
.kbq-select {
|
|
9
8
|
@extend %kbq-select-base;
|
|
10
9
|
}
|
|
@@ -35,3 +34,6 @@
|
|
|
35
34
|
cursor: pointer;
|
|
36
35
|
}
|
|
37
36
|
}
|
|
37
|
+
|
|
38
|
+
@include kbq-select-theme();
|
|
39
|
+
@include kbq-select-typography();
|
|
@@ -1,29 +1,23 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../core/styles/typography/typography-utils' as *;
|
|
5
1
|
@use '../core/styles/common/tokens' as *;
|
|
6
2
|
|
|
7
|
-
@mixin kbq-sidepanel-theme(
|
|
8
|
-
$sidepanel: map.get($theme, components, sidepanel);
|
|
9
|
-
|
|
3
|
+
@mixin kbq-sidepanel-theme() {
|
|
10
4
|
.kbq-sidepanel-title {
|
|
11
|
-
color: kbq-css-variable(sidepanel-header-text-color
|
|
5
|
+
color: kbq-css-variable(sidepanel-header-text-color);
|
|
12
6
|
}
|
|
13
7
|
|
|
14
8
|
.kbq-sidepanel-content {
|
|
15
|
-
background-color: kbq-css-variable(sidepanel-container-background
|
|
16
|
-
color: kbq-css-variable(sidepanel-content-text-color
|
|
9
|
+
background-color: kbq-css-variable(sidepanel-container-background);
|
|
10
|
+
color: kbq-css-variable(sidepanel-content-text-color);
|
|
17
11
|
}
|
|
18
12
|
|
|
19
13
|
.kbq-sidepanel-container_shadowed {
|
|
20
14
|
.kbq-sidepanel-content {
|
|
21
|
-
box-shadow: kbq-css-variable(sidepanel-container-box-shadow
|
|
15
|
+
box-shadow: kbq-css-variable(sidepanel-container-box-shadow);
|
|
22
16
|
}
|
|
23
17
|
}
|
|
24
18
|
}
|
|
25
19
|
|
|
26
|
-
@mixin kbq-sidepanel-typography(
|
|
20
|
+
@mixin kbq-sidepanel-typography() {
|
|
27
21
|
.kbq-sidepanel-title {
|
|
28
22
|
@include kbq-typography-css-variables(sidepanel, header);
|
|
29
23
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.kbq-sidepanel-container {
|
|
2
|
+
--kbq-sidepanel-size-small-width: 400px;
|
|
3
|
+
--kbq-sidepanel-size-medium-width: 640px;
|
|
4
|
+
--kbq-sidepanel-size-large-width: 960px;
|
|
5
|
+
--kbq-sidepanel-size-header-padding-vertical: 16px;
|
|
6
|
+
--kbq-sidepanel-size-header-padding-left: 32px;
|
|
7
|
+
--kbq-sidepanel-size-header-padding-right: 12px;
|
|
8
|
+
--kbq-sidepanel-size-close-button-margin-left: 8px;
|
|
9
|
+
--kbq-sidepanel-size-content-padding-horizontal: 32px;
|
|
10
|
+
--kbq-sidepanel-size-content-padding-bottom: 24px;
|
|
11
|
+
--kbq-sidepanel-size-footer-padding-top: 8px;
|
|
12
|
+
--kbq-sidepanel-size-footer-padding-bottom: 32px;
|
|
13
|
+
--kbq-sidepanel-size-footer-padding-horizontal: 32px;
|
|
14
|
+
--kbq-sidepanel-size-footer-content-gap-horizontal: 16px;
|
|
15
|
+
--kbq-sidepanel-font-header-font-size: 20px;
|
|
16
|
+
--kbq-sidepanel-font-header-line-height: 28px;
|
|
17
|
+
--kbq-sidepanel-font-header-letter-spacing: normal;
|
|
18
|
+
--kbq-sidepanel-font-header-font-weight: 700;
|
|
19
|
+
--kbq-sidepanel-font-header-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
20
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
21
|
+
--kbq-sidepanel-font-header-text-transform: null;
|
|
22
|
+
--kbq-sidepanel-font-header-font-feature-settings: 'calt', 'kern', 'liga';
|
|
23
|
+
--kbq-sidepanel-font-content-font-size: 14px;
|
|
24
|
+
--kbq-sidepanel-font-content-line-height: 20px;
|
|
25
|
+
--kbq-sidepanel-font-content-letter-spacing: -0.006em;
|
|
26
|
+
--kbq-sidepanel-font-content-font-weight: normal;
|
|
27
|
+
--kbq-sidepanel-font-content-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
|
|
28
|
+
Arial, sans-serif;
|
|
29
|
+
--kbq-sidepanel-font-content-text-transform: null;
|
|
30
|
+
--kbq-sidepanel-font-content-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
34
|
+
--kbq-sidepanel-overlay-background: hsla(229, 15%, 20%, 32%);
|
|
35
|
+
--kbq-sidepanel-container-background: hsla(229, 15%, 100%, 100%);
|
|
36
|
+
--kbq-sidepanel-container-box-shadow: 0 0 0 1px hsla(229, 15%, 6%, 3%), 0 3px 16px hsla(229, 15%, 6%, 6%),
|
|
37
|
+
0 4px 32px hsla(229, 15%, 6%, 12%);
|
|
38
|
+
--kbq-sidepanel-header-text-color: hsla(229, 15%, 15%, 100%);
|
|
39
|
+
--kbq-sidepanel-content-text-color: hsla(229, 15%, 15%, 100%);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
43
|
+
--kbq-sidepanel-overlay-background: hsla(229, 15%, 6%, 64%);
|
|
44
|
+
--kbq-sidepanel-container-background: hsla(229, 15%, 15%, 100%);
|
|
45
|
+
--kbq-sidepanel-container-box-shadow: 0 0 0 1px hsla(229, 100%, 85%, 15%);
|
|
46
|
+
--kbq-sidepanel-header-text-color: hsla(229, 15%, 80%, 100%);
|
|
47
|
+
--kbq-sidepanel-content-text-color: hsla(229, 15%, 80%, 100%);
|
|
48
|
+
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./sidepanel-container.component";
|
|
3
3
|
import * as i2 from "./sidepanel-directives";
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "@angular/cdk/
|
|
6
|
-
import * as i5 from "@
|
|
7
|
-
import * as i6 from "@koobiq/components/
|
|
8
|
-
import * as i7 from "@koobiq/components/
|
|
9
|
-
import * as i8 from "@koobiq/components/
|
|
10
|
-
import * as i9 from "@
|
|
11
|
-
import * as i10 from "@angular/cdk/a11y";
|
|
4
|
+
import * as i3 from "@angular/cdk/overlay";
|
|
5
|
+
import * as i4 from "@angular/cdk/portal";
|
|
6
|
+
import * as i5 from "@koobiq/components/core";
|
|
7
|
+
import * as i6 from "@koobiq/components/button";
|
|
8
|
+
import * as i7 from "@koobiq/components/icon";
|
|
9
|
+
import * as i8 from "@koobiq/components/title";
|
|
10
|
+
import * as i9 from "@angular/cdk/a11y";
|
|
12
11
|
export declare class KbqSidepanelModule {
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidepanelModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSidepanelModule, [typeof i1.KbqSidepanelContainerComponent, typeof i2.KbqSidepanelClose, typeof i2.KbqSidepanelHeader, typeof i2.KbqSidepanelBody, typeof i2.KbqSidepanelFooter, typeof i2.KbqSidepanelActions], [typeof i3.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSidepanelModule, [typeof i1.KbqSidepanelContainerComponent, typeof i2.KbqSidepanelClose, typeof i2.KbqSidepanelHeader, typeof i2.KbqSidepanelBody, typeof i2.KbqSidepanelFooter, typeof i2.KbqSidepanelActions], [typeof i3.OverlayModule, typeof i4.PortalModule, typeof i5.KbqCommonModule, typeof i6.KbqButtonModule, typeof i7.KbqIconModule, typeof i8.KbqTitleModule, typeof i9.A11yModule], [typeof i1.KbqSidepanelContainerComponent, typeof i2.KbqSidepanelClose, typeof i2.KbqSidepanelHeader, typeof i2.KbqSidepanelBody, typeof i2.KbqSidepanelFooter, typeof i2.KbqSidepanelActions]>;
|
|
15
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqSidepanelModule>;
|
|
16
15
|
}
|
package/sidepanel/sidepanel.scss
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common';
|
|
5
2
|
|
|
6
3
|
@use '../core/styles/common/tokens' as *;
|
|
7
4
|
|
|
8
|
-
|
|
5
|
+
@use './sidepanel-theme' as *;
|
|
9
6
|
|
|
10
7
|
.kbq-sidepanel-container_top,
|
|
11
8
|
.kbq-sidepanel-container_bottom {
|
|
@@ -182,3 +179,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
182
179
|
gap: kbq-css-variable(sidepanel-size-footer-content-gap-horizontal);
|
|
183
180
|
}
|
|
184
181
|
}
|
|
182
|
+
|
|
183
|
+
@include kbq-sidepanel-theme();
|
|
184
|
+
@include kbq-sidepanel-typography();
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
1
|
@use '../core/styles/common/tokens' as *;
|
|
4
2
|
|
|
5
|
-
@mixin kbq-splitter-theme(
|
|
6
|
-
$background: map.get($theme, states, background);
|
|
7
|
-
|
|
3
|
+
@mixin kbq-splitter-theme() {
|
|
8
4
|
.kbq-gutter {
|
|
9
5
|
cursor: col-resize;
|
|
10
6
|
|
|
@@ -18,7 +14,7 @@
|
|
|
18
14
|
}
|
|
19
15
|
|
|
20
16
|
&[disabled] {
|
|
21
|
-
background-color: kbq-css-variable(background-background-disabled
|
|
17
|
+
background-color: kbq-css-variable(background-background-disabled);
|
|
22
18
|
|
|
23
19
|
cursor: default;
|
|
24
20
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./splitter.component";
|
|
3
|
-
import * as i2 from "@
|
|
4
|
-
import * as i3 from "@koobiq/components/icon";
|
|
3
|
+
import * as i2 from "@koobiq/components/icon";
|
|
5
4
|
export declare class KbqSplitterModule {
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSplitterModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSplitterModule, [typeof i1.KbqGutterDirective, typeof i1.KbqGutterGhostDirective, typeof i1.KbqSplitterAreaDirective, typeof i1.KbqSplitterComponent], [typeof i2.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSplitterModule, [typeof i1.KbqGutterDirective, typeof i1.KbqGutterGhostDirective, typeof i1.KbqSplitterAreaDirective, typeof i1.KbqSplitterComponent], [typeof i2.KbqIconModule], [typeof i1.KbqGutterDirective, typeof i1.KbqSplitterAreaDirective, typeof i1.KbqSplitterComponent]>;
|
|
8
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqSplitterModule>;
|
|
9
8
|
}
|