@koobiq/components 16.0.0-beta.2 → 16.0.0-beta.6
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/autocomplete/autocomplete.scss +0 -3
- package/button/_button-theme.scss +20 -9
- package/button/button.scss +5 -2
- package/core/common-behaviors/color.d.ts +1 -1
- package/core/forms/_forms-theme.scss +4 -4
- package/core/forms/_forms.scss +1 -3
- package/core/option/_option-theme.scss +39 -16
- package/core/option/action.scss +3 -4
- package/core/option/option.scss +6 -51
- package/core/styles/_koobiq-theme.scss +3 -0
- package/core/styles/common/_list.scss +123 -0
- package/core/styles/common/_select.scss +218 -0
- package/core/styles/theming/_components-theming.scss +414 -47
- package/dropdown/_dropdown-theme.scss +30 -37
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +18 -40
- package/dropdown/dropdown.scss +16 -39
- package/esm2022/alert/alert.component.mjs +1 -1
- package/esm2022/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/badge/badge.component.mjs +1 -1
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +3 -3
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/option/action.mjs +5 -5
- package/esm2022/core/option/option.mjs +3 -3
- package/esm2022/core/overlay/overlay-position-map.mjs +2 -1
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/dropdown/dropdown-item.component.mjs +3 -3
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- 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/form-field.mjs +6 -9
- package/esm2022/form-field/password-hint.mjs +13 -4
- package/esm2022/form-field/password-toggle.mjs +7 -3
- package/esm2022/icon/icon.component.mjs +3 -3
- package/esm2022/list/list-selection.component.mjs +20 -7
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/list/list.module.mjs +8 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +20 -19
- package/esm2022/modal/modal.component.mjs +8 -21
- package/esm2022/modal/modal.module.mjs +13 -7
- package/esm2022/navbar/navbar-item.component.mjs +13 -13
- package/esm2022/progress-spinner/progress-spinner.component.mjs +1 -1
- package/esm2022/radio/radio.component.mjs +3 -2
- package/esm2022/risk-level/index.mjs +2 -0
- package/esm2022/risk-level/koobiq-components-risk-level.mjs +5 -0
- package/esm2022/risk-level/public-api.mjs +3 -0
- package/esm2022/risk-level/risk-level.component.mjs +40 -0
- package/esm2022/risk-level/risk-level.module.mjs +28 -0
- package/esm2022/select/select.component.mjs +7 -8
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +7 -9
- package/esm2022/sidepanel/sidepanel.module.mjs +10 -4
- package/esm2022/tabs/paginated-tab-header.mjs +11 -2
- package/esm2022/tabs/tab-group.component.mjs +16 -21
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +3 -3
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +17 -7
- package/esm2022/tabs/tabs.module.mjs +2 -6
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +10 -8
- package/esm2022/tags/tag-list.component.mjs +10 -6
- package/esm2022/tags/tag.component.mjs +5 -5
- package/esm2022/timezone/timezone-option.component.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +2 -2
- package/esm2022/title/title.directive.mjs +2 -2
- package/esm2022/toast/toast-container.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +25 -13
- package/esm2022/toast/toast.module.mjs +14 -5
- package/esm2022/toast/toast.type.mjs +6 -1
- package/esm2022/tree/padding.directive.mjs +4 -4
- package/esm2022/tree/toggle.mjs +5 -4
- package/esm2022/tree/tree-option.component.mjs +5 -7
- package/esm2022/tree/tree.module.mjs +13 -4
- package/esm2022/tree-select/tree-select.component.mjs +16 -10
- 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.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +2 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +2 -2
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +8 -7
- package/fesm2022/koobiq-components-core.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-file-upload.mjs +4 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +22 -13
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +2 -2
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +28 -11
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +19 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +18 -25
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +12 -12
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +2 -1
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +72 -0
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +6 -7
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +18 -13
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +48 -38
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +22 -16
- 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-title.mjs +1 -1
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +41 -15
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +15 -9
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +28 -20
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +2 -2
- package/form-field/form-field.d.ts +0 -1
- package/form-field/password-hint.d.ts +6 -3
- package/form-field/password-toggle.d.ts +1 -0
- package/input/_input-theme.scss +2 -1
- package/input/input.scss +3 -1
- package/link/_link-theme.scss +1 -3
- package/list/_list-theme.scss +35 -15
- package/list/list-selection.component.d.ts +5 -1
- package/list/list.module.d.ts +1 -1
- package/list/list.scss +3 -12
- package/loader-overlay/_loader-overlay-theme.scss +43 -11
- package/loader-overlay/loader-overlay.component.d.ts +6 -5
- package/loader-overlay/loader-overlay.scss +53 -22
- package/modal/_modal-confirm.scss +20 -28
- package/modal/_modal-theme.scss +5 -35
- package/modal/modal.component.d.ts +3 -6
- package/modal/modal.module.d.ts +2 -1
- package/modal/modal.scss +38 -35
- package/navbar/navbar-item.component.d.ts +3 -2
- package/package.json +9 -3
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.component.d.ts +2 -2
- package/risk-level/README.md +0 -0
- package/risk-level/_risk-level-theme.scss +88 -0
- package/risk-level/index.d.ts +1 -0
- package/risk-level/public-api.d.ts +2 -0
- package/risk-level/risk-level.component.d.ts +18 -0
- package/risk-level/risk-level.component.scss +26 -0
- package/risk-level/risk-level.module.d.ts +10 -0
- package/select/_select-theme.scss +8 -0
- package/select/select.scss +6 -190
- package/sidepanel/_sidepanel-theme.scss +6 -41
- package/sidepanel/sidepanel-directives.d.ts +0 -2
- package/sidepanel/sidepanel.scss +33 -35
- package/tabs/_tabs-common.scss +27 -146
- package/tabs/_tabs-theme.scss +81 -175
- package/tabs/paginated-tab-header.d.ts +1 -0
- package/tabs/tab-group.component.d.ts +5 -8
- package/tabs/tab-group.scss +10 -10
- package/tabs/tab-header.scss +2 -24
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +3 -1
- package/tabs/tab-nav-bar/tab-nav-bar.scss +9 -16
- package/tabs/tabs.module.d.ts +1 -1
- package/tags/_tag-theme.scss +0 -24
- package/tags/tag-default-options.d.ts +4 -0
- package/tags/tag-list.component.d.ts +1 -0
- package/tags/tag-list.scss +20 -16
- package/tags/tag.component.d.ts +1 -1
- package/toast/_toast-theme.scss +21 -33
- package/toast/toast-container.component.scss +2 -1
- package/toast/toast.component.d.ts +4 -1
- package/toast/toast.component.scss +41 -34
- package/toast/toast.module.d.ts +1 -1
- package/toast/toast.type.d.ts +8 -5
- package/tree/_tree-theme.scss +46 -34
- package/tree/tree-option.component.d.ts +0 -1
- package/tree/tree-option.scss +34 -23
- package/tree/tree.module.d.ts +2 -1
- package/tree-select/_tree-select-theme.scss +9 -1
- package/tree-select/tree-select.component.d.ts +5 -3
- package/tree-select/tree-select.scss +5 -194
- package/list/_list-base.scss +0 -54
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
footer-background: map-get($tokens, 'popup-#{$scheme}-footer-background')
|
|
21
21
|
);
|
|
22
22
|
|
|
23
|
+
$dropdown: (
|
|
24
|
+
box-shadow: map-get($tokens, 'dropdown-#{$scheme}-container-box-shadow'),
|
|
25
|
+
background: map-get($tokens, 'dropdown-#{$scheme}-container-background'),
|
|
26
|
+
);
|
|
27
|
+
|
|
23
28
|
$badge: (
|
|
24
29
|
filled: (
|
|
25
30
|
fade-off: (
|
|
@@ -501,8 +506,7 @@
|
|
|
501
506
|
border: map-get($tokens, 'form-field-#{$scheme}-default-border-color'),
|
|
502
507
|
background: map-get($tokens, 'form-field-#{$scheme}-default-background'),
|
|
503
508
|
placeholder: map-get($tokens, 'form-field-#{$scheme}-default-placeholder'),
|
|
504
|
-
text: map-get($tokens, 'form-field-#{$scheme}-default-text')
|
|
505
|
-
label: map-get($tokens, 'form-field-#{$scheme}-default-label')
|
|
509
|
+
text: map-get($tokens, 'form-field-#{$scheme}-default-text')
|
|
506
510
|
),
|
|
507
511
|
focused: (
|
|
508
512
|
border: map-get($tokens, 'form-field-#{$scheme}-states-focused-border-color'),
|
|
@@ -681,20 +685,66 @@
|
|
|
681
685
|
state-focused-outline: map-get($tokens, 'link-#{$scheme}-state-focused-outline')
|
|
682
686
|
);
|
|
683
687
|
|
|
688
|
+
$list-item: (
|
|
689
|
+
default: (
|
|
690
|
+
container-background: map-get($tokens, 'list-#{$scheme}-default-container-background'),
|
|
691
|
+
text: map-get($tokens, 'list-#{$scheme}-default-text-color'),
|
|
692
|
+
icon: map-get($tokens, 'list-#{$scheme}-default-icon-color'),
|
|
693
|
+
icon-button: map-get($tokens, 'list-#{$scheme}-default-icon-button-color'),
|
|
694
|
+
caption: map-get($tokens, 'list-#{$scheme}-default-caption-color')
|
|
695
|
+
),
|
|
696
|
+
hover: (
|
|
697
|
+
container-background: map-get($tokens, 'list-#{$scheme}-states-hover-container-background'),
|
|
698
|
+
text: map-get($tokens, 'list-#{$scheme}-states-hover-text-color'),
|
|
699
|
+
icon: map-get($tokens, 'list-#{$scheme}-states-hover-icon-color'),
|
|
700
|
+
icon-button: map-get($tokens, 'list-#{$scheme}-states-hover-icon-button-color')
|
|
701
|
+
),
|
|
702
|
+
selected: (
|
|
703
|
+
container-background: map-get($tokens, 'list-#{$scheme}-states-selected-container-background'),
|
|
704
|
+
text: map-get($tokens, 'list-#{$scheme}-states-selected-text-color'),
|
|
705
|
+
icon: map-get($tokens, 'list-#{$scheme}-states-selected-icon-color'),
|
|
706
|
+
icon-button: map-get($tokens, 'list-#{$scheme}-states-selected-icon-button-color')
|
|
707
|
+
),
|
|
708
|
+
selected-hover: (
|
|
709
|
+
container-background: map-get($tokens, 'list-#{$scheme}-states-selected-hover-container-background'),
|
|
710
|
+
text: map-get($tokens, 'list-#{$scheme}-states-selected-hover-text-color'),
|
|
711
|
+
icon: map-get($tokens, 'list-#{$scheme}-states-selected-hover-icon-color'),
|
|
712
|
+
icon-button: map-get($tokens, 'list-#{$scheme}-states-selected-hover-icon-button-color')
|
|
713
|
+
),
|
|
714
|
+
focused: (
|
|
715
|
+
focus-outline: map-get($tokens, 'list-#{$scheme}-states-focused-focus-outline-color')
|
|
716
|
+
),
|
|
717
|
+
disabled: (
|
|
718
|
+
container-background: map-get($tokens, 'list-#{$scheme}-states-disabled-container-background'),
|
|
719
|
+
text: map-get($tokens, 'list-#{$scheme}-states-disabled-text-color'),
|
|
720
|
+
icon: map-get($tokens, 'list-#{$scheme}-states-disabled-icon-color'),
|
|
721
|
+
icon-button: map-get($tokens, 'list-#{$scheme}-states-disabled-icon-button-color'),
|
|
722
|
+
caption: map-get($tokens, 'list-#{$scheme}-states-disabled-caption-color')
|
|
723
|
+
)
|
|
724
|
+
);
|
|
725
|
+
|
|
684
726
|
$loader-overlay: (
|
|
685
|
-
|
|
727
|
+
filled:(
|
|
728
|
+
background: map-get($tokens, 'loader-overlay-#{$scheme}-filled-overlay-background'),
|
|
729
|
+
|
|
730
|
+
text: map-get($tokens, 'loader-overlay-#{$scheme}-filled-text-color'),
|
|
731
|
+
caption: map-get($tokens, 'loader-overlay-#{$scheme}-filled-caption-color'),
|
|
732
|
+
),
|
|
733
|
+
transparent:(
|
|
734
|
+
background: map-get($tokens, 'loader-overlay-#{$scheme}-transparent-overlay-background'),
|
|
686
735
|
|
|
687
|
-
|
|
688
|
-
|
|
736
|
+
text: map-get($tokens, 'loader-overlay-#{$scheme}-transparent-text-color'),
|
|
737
|
+
caption: map-get($tokens, 'loader-overlay-#{$scheme}-transparent-caption-color'),
|
|
738
|
+
)
|
|
689
739
|
);
|
|
690
740
|
|
|
691
741
|
$modal: (
|
|
692
|
-
background
|
|
693
|
-
shadow: map-get($tokens, 'modal-#{$scheme}-shadow'),
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
742
|
+
container-background: map-get($tokens, 'modal-#{$scheme}-container-background'),
|
|
743
|
+
container-box-shadow: map-get($tokens, 'modal-#{$scheme}-container-box-shadow'),
|
|
744
|
+
|
|
745
|
+
close-button: map-get($tokens, 'modal-#{$scheme}-close-button-color'),
|
|
746
|
+
header: map-get($tokens, 'modal-#{$scheme}-header-text-color'),
|
|
747
|
+
content: map-get($tokens, 'modal-#{$scheme}-content-text-color')
|
|
698
748
|
);
|
|
699
749
|
|
|
700
750
|
$markdown: (
|
|
@@ -937,35 +987,300 @@
|
|
|
937
987
|
)
|
|
938
988
|
);
|
|
939
989
|
|
|
940
|
-
$
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
990
|
+
$risk-level: (
|
|
991
|
+
filled: (
|
|
992
|
+
fade-off: (
|
|
993
|
+
success: (
|
|
994
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-off-success-text'),
|
|
995
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-off-success-background')
|
|
996
|
+
),
|
|
997
|
+
warning: (
|
|
998
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-off-warning-text'),
|
|
999
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-off-warning-background')
|
|
1000
|
+
),
|
|
1001
|
+
error: (
|
|
1002
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-off-error-text'),
|
|
1003
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-off-error-background')
|
|
1004
|
+
)
|
|
1005
|
+
),
|
|
1006
|
+
fade-on: (
|
|
1007
|
+
success: (
|
|
1008
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-on-success-text'),
|
|
1009
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-on-success-background')
|
|
1010
|
+
),
|
|
1011
|
+
warning: (
|
|
1012
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-on-warning-text'),
|
|
1013
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-on-warning-background')
|
|
1014
|
+
),
|
|
1015
|
+
error: (
|
|
1016
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-on-error-text'),
|
|
1017
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-on-error-background')
|
|
1018
|
+
),
|
|
1019
|
+
contrast: (
|
|
1020
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-on-contrast-text'),
|
|
1021
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-filled-fade-on-contrast-background')
|
|
1022
|
+
)
|
|
1023
|
+
)
|
|
1024
|
+
),
|
|
1025
|
+
outline: (
|
|
1026
|
+
fade-on: (
|
|
1027
|
+
success: (
|
|
1028
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-success-text'),
|
|
1029
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-success-background'),
|
|
1030
|
+
border: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-success-border')
|
|
1031
|
+
),
|
|
1032
|
+
warning: (
|
|
1033
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-warning-text'),
|
|
1034
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-warning-background'),
|
|
1035
|
+
border: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-warning-border')
|
|
1036
|
+
),
|
|
1037
|
+
error: (
|
|
1038
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-error-text'),
|
|
1039
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-error-background'),
|
|
1040
|
+
border: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-error-border')
|
|
1041
|
+
),
|
|
1042
|
+
contrast: (
|
|
1043
|
+
color: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-contrast-text'),
|
|
1044
|
+
background: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-contrast-background'),
|
|
1045
|
+
border: map-get($tokens, 'risk-level-#{$scheme}-outline-fade-on-contrast-border')
|
|
1046
|
+
)
|
|
1047
|
+
)
|
|
1048
|
+
)
|
|
944
1049
|
);
|
|
945
1050
|
|
|
946
|
-
$
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
state-hover-text: map-get($tokens, 'tabs-#{$scheme}-state-hover-text'),
|
|
953
|
-
|
|
954
|
-
state-active-marker: map-get($tokens, 'tabs-#{$scheme}-state-active-marker-color'),
|
|
955
|
-
|
|
956
|
-
state-empty-icon: map-get($tokens, 'tabs-#{$scheme}-state-empty-icon'),
|
|
957
|
-
state-empty-text: map-get($tokens, 'tabs-#{$scheme}-state-empty-text'),
|
|
1051
|
+
$sidepanel: (
|
|
1052
|
+
box-shadow: map-get($tokens, 'sidepanel-#{$scheme}-container-box-shadow'),
|
|
1053
|
+
background: map-get($tokens, 'sidepanel-#{$scheme}-container-background'),
|
|
1054
|
+
header-text: map-get($tokens, 'sidepanel-#{$scheme}-header-text-color'),
|
|
1055
|
+
content-text: map-get($tokens, 'sidepanel-#{$scheme}-content-text-color')
|
|
1056
|
+
);
|
|
958
1057
|
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1058
|
+
$tab-item: (
|
|
1059
|
+
filled: (
|
|
1060
|
+
on-background: (
|
|
1061
|
+
default: (
|
|
1062
|
+
background: map-get($tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-default-background'),
|
|
1063
|
+
text: map-get($tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-default-text-color'),
|
|
1064
|
+
icon: map-get($tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-default-icon-color')
|
|
1065
|
+
),
|
|
1066
|
+
hover: (
|
|
1067
|
+
background: map-get(
|
|
1068
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-hover-background'
|
|
1069
|
+
)
|
|
1070
|
+
),
|
|
1071
|
+
focused: (
|
|
1072
|
+
border-color: map-get(
|
|
1073
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-focused-focus-outline-color'
|
|
1074
|
+
)
|
|
1075
|
+
),
|
|
1076
|
+
selected: (
|
|
1077
|
+
background: map-get(
|
|
1078
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-selected-background'
|
|
1079
|
+
)
|
|
1080
|
+
),
|
|
1081
|
+
selected-hover: (
|
|
1082
|
+
background: map-get(
|
|
1083
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-selected-hover-background'
|
|
1084
|
+
)
|
|
1085
|
+
),
|
|
1086
|
+
selected-disabled: (
|
|
1087
|
+
background: map-get(
|
|
1088
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-selected-disabled-background'
|
|
1089
|
+
),
|
|
1090
|
+
text: map-get(
|
|
1091
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-selected-disabled-text-color'
|
|
1092
|
+
),
|
|
1093
|
+
icon: map-get(
|
|
1094
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-selected-disabled-icon-color'
|
|
1095
|
+
)
|
|
1096
|
+
),
|
|
1097
|
+
disabled: (
|
|
1098
|
+
background: map-get(
|
|
1099
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-disabled-background'
|
|
1100
|
+
),
|
|
1101
|
+
text: map-get(
|
|
1102
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-disabled-text-color'
|
|
1103
|
+
),
|
|
1104
|
+
icon: map-get(
|
|
1105
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-background-states-disabled-icon-color'
|
|
1106
|
+
)
|
|
1107
|
+
)
|
|
1108
|
+
),
|
|
1109
|
+
on-surface: (
|
|
1110
|
+
default: (
|
|
1111
|
+
background: map-get($tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-default-background'),
|
|
1112
|
+
text: map-get($tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-default-text-color'),
|
|
1113
|
+
icon: map-get($tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-default-icon-color')
|
|
1114
|
+
),
|
|
1115
|
+
hover: (
|
|
1116
|
+
background: map-get(
|
|
1117
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-hover-background'
|
|
1118
|
+
),
|
|
1119
|
+
),
|
|
1120
|
+
focused: (
|
|
1121
|
+
border-color: map-get(
|
|
1122
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-focused-focus-outline-color'
|
|
1123
|
+
)
|
|
1124
|
+
),
|
|
1125
|
+
selected: (
|
|
1126
|
+
background: map-get(
|
|
1127
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-selected-background'
|
|
1128
|
+
),
|
|
1129
|
+
),
|
|
1130
|
+
selected-hover: (
|
|
1131
|
+
background: map-get(
|
|
1132
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-selected-hover-background'
|
|
1133
|
+
)
|
|
1134
|
+
),
|
|
1135
|
+
selected-disabled: (
|
|
1136
|
+
background: map-get(
|
|
1137
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-selected-disabled-background'
|
|
1138
|
+
),
|
|
1139
|
+
text: map-get(
|
|
1140
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-selected-disabled-text-color'
|
|
1141
|
+
),
|
|
1142
|
+
icon: map-get(
|
|
1143
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-selected-disabled-icon-color'
|
|
1144
|
+
)
|
|
1145
|
+
),
|
|
1146
|
+
disabled: (
|
|
1147
|
+
background: map-get(
|
|
1148
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-disabled-background'
|
|
1149
|
+
),
|
|
1150
|
+
text: map-get(
|
|
1151
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-disabled-text-color'
|
|
1152
|
+
),
|
|
1153
|
+
icon: map-get(
|
|
1154
|
+
$tokens, 'tabs-#{$scheme}-tab-item-filled-on-surface-states-disabled-icon-color'
|
|
1155
|
+
)
|
|
1156
|
+
)
|
|
1157
|
+
)
|
|
1158
|
+
),
|
|
1159
|
+
transparent: (
|
|
1160
|
+
on-background: (
|
|
1161
|
+
default: (
|
|
1162
|
+
background: map-get(
|
|
1163
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-default-background'
|
|
1164
|
+
),
|
|
1165
|
+
text: map-get($tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-default-text-color'),
|
|
1166
|
+
icon: map-get($tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-default-icon-color')
|
|
1167
|
+
),
|
|
1168
|
+
hover: (
|
|
1169
|
+
background: map-get(
|
|
1170
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-states-hover-background'
|
|
1171
|
+
)
|
|
1172
|
+
),
|
|
1173
|
+
focused: (
|
|
1174
|
+
border-color: map-get(
|
|
1175
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-states-focused-focus-outline-color'
|
|
1176
|
+
)
|
|
1177
|
+
),
|
|
1178
|
+
selected: (
|
|
1179
|
+
background: map-get(
|
|
1180
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-states-selected-background'
|
|
1181
|
+
)
|
|
1182
|
+
),
|
|
1183
|
+
selected-hover: (
|
|
1184
|
+
background: map-get(
|
|
1185
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-states-selected-hover-background'
|
|
1186
|
+
)
|
|
1187
|
+
),
|
|
1188
|
+
selected-disabled: (
|
|
1189
|
+
background: map-get(
|
|
1190
|
+
$tokens,
|
|
1191
|
+
'tabs-#{$scheme}-tab-item-transparent-on-background-states-selected-disabled-background'
|
|
1192
|
+
),
|
|
1193
|
+
text: map-get(
|
|
1194
|
+
$tokens,
|
|
1195
|
+
'tabs-#{$scheme}-tab-item-transparent-on-background-states-selected-disabled-text-color'
|
|
1196
|
+
),
|
|
1197
|
+
icon: map-get(
|
|
1198
|
+
$tokens,
|
|
1199
|
+
'tabs-#{$scheme}-tab-item-transparent-on-background-states-selected-disabled-icon-color'
|
|
1200
|
+
)
|
|
1201
|
+
),
|
|
1202
|
+
disabled: (
|
|
1203
|
+
background: map-get(
|
|
1204
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-states-disabled-background'
|
|
1205
|
+
),
|
|
1206
|
+
text: map-get(
|
|
1207
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-states-disabled-text-color'
|
|
1208
|
+
),
|
|
1209
|
+
icon: map-get(
|
|
1210
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-background-states-disabled-icon-color'
|
|
1211
|
+
)
|
|
1212
|
+
)
|
|
1213
|
+
),
|
|
1214
|
+
on-surface: (
|
|
1215
|
+
default: (
|
|
1216
|
+
background: map-get($tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-default-background'),
|
|
1217
|
+
text: map-get($tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-default-text-color'),
|
|
1218
|
+
icon: map-get($tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-default-icon-color')
|
|
1219
|
+
),
|
|
1220
|
+
hover: (
|
|
1221
|
+
background: map-get(
|
|
1222
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-hover-background'
|
|
1223
|
+
),
|
|
1224
|
+
),
|
|
1225
|
+
focused: (
|
|
1226
|
+
border-color: map-get(
|
|
1227
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-focused-focus-outline-color'
|
|
1228
|
+
)
|
|
1229
|
+
),
|
|
1230
|
+
selected: (
|
|
1231
|
+
background: map-get(
|
|
1232
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-selected-background'
|
|
1233
|
+
),
|
|
1234
|
+
),
|
|
1235
|
+
selected-hover: (
|
|
1236
|
+
background: map-get(
|
|
1237
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-selected-hover-background'
|
|
1238
|
+
)
|
|
1239
|
+
),
|
|
1240
|
+
selected-disabled: (
|
|
1241
|
+
background: map-get(
|
|
1242
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-selected-disabled-background'
|
|
1243
|
+
),
|
|
1244
|
+
text: map-get(
|
|
1245
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-selected-disabled-text-color'
|
|
1246
|
+
),
|
|
1247
|
+
icon: map-get(
|
|
1248
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-selected-disabled-icon-color'
|
|
1249
|
+
)
|
|
1250
|
+
),
|
|
1251
|
+
disabled: (
|
|
1252
|
+
background: map-get(
|
|
1253
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-disabled-background'
|
|
1254
|
+
),
|
|
1255
|
+
text: map-get(
|
|
1256
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-disabled-text-color'
|
|
1257
|
+
),
|
|
1258
|
+
icon: map-get(
|
|
1259
|
+
$tokens, 'tabs-#{$scheme}-tab-item-transparent-on-surface-states-disabled-icon-color'
|
|
1260
|
+
)
|
|
1261
|
+
)
|
|
1262
|
+
)
|
|
1263
|
+
)
|
|
962
1264
|
);
|
|
963
1265
|
|
|
964
|
-
$
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
1266
|
+
$tab-stack: (
|
|
1267
|
+
filled: (
|
|
1268
|
+
on-background: (
|
|
1269
|
+
background: map-get($tokens, 'tabs-#{$scheme}-tab-stack-filled-on-background-background')
|
|
1270
|
+
),
|
|
1271
|
+
on-surface: (
|
|
1272
|
+
background: map-get($tokens, 'tabs-#{$scheme}-tab-stack-filled-on-surface-background')
|
|
1273
|
+
)
|
|
1274
|
+
),
|
|
1275
|
+
|
|
1276
|
+
transparent: (
|
|
1277
|
+
on-background: (
|
|
1278
|
+
background: map-get($tokens, 'tabs-#{$scheme}-tab-stack-transparent-on-background-background')
|
|
1279
|
+
),
|
|
1280
|
+
on-surface: (
|
|
1281
|
+
background: map-get($tokens, 'tabs-#{$scheme}-tab-stack-transparent-on-surface-background')
|
|
1282
|
+
)
|
|
1283
|
+
)
|
|
969
1284
|
);
|
|
970
1285
|
|
|
971
1286
|
$tag: (
|
|
@@ -1139,16 +1454,18 @@
|
|
|
1139
1454
|
);
|
|
1140
1455
|
|
|
1141
1456
|
$toast: (
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1457
|
+
contrast: (
|
|
1458
|
+
background: map-get($tokens, 'toast-#{$scheme}-contrast-container-background'),
|
|
1459
|
+
title: map-get($tokens, 'toast-#{$scheme}-contrast-container-title'),
|
|
1460
|
+
text: map-get($tokens, 'toast-#{$scheme}-contrast-container-text'),
|
|
1461
|
+
box-shadow: map-get($tokens, 'toast-#{$scheme}-contrast-container-box-shadow')
|
|
1462
|
+
),
|
|
1463
|
+
error: (
|
|
1464
|
+
background: map-get($tokens, 'toast-#{$scheme}-error-container-background'),
|
|
1465
|
+
title: map-get($tokens, 'toast-#{$scheme}-error-container-title'),
|
|
1466
|
+
text: map-get($tokens, 'toast-#{$scheme}-error-container-text'),
|
|
1467
|
+
box-shadow: map-get($tokens, 'toast-#{$scheme}-error-container-box-shadow')
|
|
1468
|
+
)
|
|
1152
1469
|
);
|
|
1153
1470
|
|
|
1154
1471
|
$tooltip: (
|
|
@@ -1169,6 +1486,52 @@
|
|
|
1169
1486
|
)
|
|
1170
1487
|
);
|
|
1171
1488
|
|
|
1489
|
+
$tree-item: (
|
|
1490
|
+
default: (
|
|
1491
|
+
container-background: map-get($tokens, 'tree-#{$scheme}-default-container-background'),
|
|
1492
|
+
text: map-get($tokens, 'tree-#{$scheme}-default-text-color'),
|
|
1493
|
+
icon: map-get($tokens, 'tree-#{$scheme}-default-icon-color'),
|
|
1494
|
+
tree-toggle: map-get($tokens, 'tree-#{$scheme}-default-tree-toggle-color'),
|
|
1495
|
+
action-button: map-get($tokens, 'tree-#{$scheme}-default-action-button-color'),
|
|
1496
|
+
caption: map-get($tokens, 'tree-#{$scheme}-default-caption-color')
|
|
1497
|
+
),
|
|
1498
|
+
hover: (
|
|
1499
|
+
container-background: map-get($tokens, 'tree-#{$scheme}-states-hover-container-background'),
|
|
1500
|
+
text: map-get($tokens, 'tree-#{$scheme}-states-hover-text-color'),
|
|
1501
|
+
icon: map-get($tokens, 'tree-#{$scheme}-states-hover-icon-color'),
|
|
1502
|
+
tree-toggle: map-get($tokens, 'tree-#{$scheme}-states-hover-tree-toggle-color'),
|
|
1503
|
+
action-button: map-get($tokens, 'tree-#{$scheme}-states-hover-action-button-color'),
|
|
1504
|
+
caption: map-get($tokens, 'tree-#{$scheme}-states-hover-caption-color')
|
|
1505
|
+
),
|
|
1506
|
+
selected: (
|
|
1507
|
+
container-background: map-get($tokens, 'tree-#{$scheme}-states-selected-container-background'),
|
|
1508
|
+
text: map-get($tokens, 'tree-#{$scheme}-states-selected-text-color'),
|
|
1509
|
+
icon: map-get($tokens, 'tree-#{$scheme}-states-selected-icon-color'),
|
|
1510
|
+
tree-toggle: map-get($tokens, 'tree-#{$scheme}-states-selected-tree-toggle-color'),
|
|
1511
|
+
action-button: map-get($tokens, 'tree-#{$scheme}-states-selected-action-button-color'),
|
|
1512
|
+
caption: map-get($tokens, 'tree-#{$scheme}-states-selected-caption-color')
|
|
1513
|
+
),
|
|
1514
|
+
selected-hover: (
|
|
1515
|
+
container-background: map-get($tokens, 'tree-#{$scheme}-states-selected-hover-container-background'),
|
|
1516
|
+
text: map-get($tokens, 'tree-#{$scheme}-states-selected-hover-text-color'),
|
|
1517
|
+
icon: map-get($tokens, 'tree-#{$scheme}-states-selected-hover-icon-color'),
|
|
1518
|
+
tree-toggle: map-get($tokens, 'tree-#{$scheme}-states-selected-hover-tree-toggle-color'),
|
|
1519
|
+
action-button: map-get($tokens, 'tree-#{$scheme}-states-selected-hover-action-button-color'),
|
|
1520
|
+
caption: map-get($tokens, 'tree-#{$scheme}-states-selected-hover-caption-color')
|
|
1521
|
+
),
|
|
1522
|
+
focused: (
|
|
1523
|
+
focus-outline: map-get($tokens, 'tree-#{$scheme}-states-focused-focus-outline-color')
|
|
1524
|
+
),
|
|
1525
|
+
disabled: (
|
|
1526
|
+
container-background: map-get($tokens, 'tree-#{$scheme}-states-disabled-container-background'),
|
|
1527
|
+
text: map-get($tokens, 'tree-#{$scheme}-states-disabled-text-color'),
|
|
1528
|
+
icon: map-get($tokens, 'tree-#{$scheme}-states-disabled-icon-color'),
|
|
1529
|
+
tree-toggle: map-get($tokens, 'tree-#{$scheme}-states-disabled-tree-toggle-color'),
|
|
1530
|
+
action-button: map-get($tokens, 'tree-#{$scheme}-states-disabled-action-button-color'),
|
|
1531
|
+
caption: map-get($tokens, 'tree-#{$scheme}-states-disabled-caption-color')
|
|
1532
|
+
)
|
|
1533
|
+
);
|
|
1534
|
+
|
|
1172
1535
|
$scrollbar: (
|
|
1173
1536
|
default: map-get($tokens, 'scrollbar-#{$scheme}-thumb-default-background'),
|
|
1174
1537
|
hover: map-get($tokens, 'scrollbar-#{$scheme}-thumb-hover-background'),
|
|
@@ -1179,6 +1542,7 @@
|
|
|
1179
1542
|
@return (
|
|
1180
1543
|
alert: $alert,
|
|
1181
1544
|
popup: $popup,
|
|
1545
|
+
dropdown: $dropdown,
|
|
1182
1546
|
badge: $badge,
|
|
1183
1547
|
button: $button,
|
|
1184
1548
|
card: $card,
|
|
@@ -1196,6 +1560,7 @@
|
|
|
1196
1560
|
icon-item: $icon-item,
|
|
1197
1561
|
icon-button: $icon-button,
|
|
1198
1562
|
link: $link,
|
|
1563
|
+
list-item: $list-item,
|
|
1199
1564
|
loader-overlay: $loader-overlay,
|
|
1200
1565
|
modal: $modal,
|
|
1201
1566
|
markdown: $markdown,
|
|
@@ -1205,14 +1570,16 @@
|
|
|
1205
1570
|
progress-bar: $progress-bar,
|
|
1206
1571
|
progress-spinner: $progress-spinner,
|
|
1207
1572
|
radio: $radio,
|
|
1573
|
+
risk-level: $risk-level,
|
|
1208
1574
|
sidepanel: $sidepanel,
|
|
1209
|
-
|
|
1210
|
-
|
|
1575
|
+
tab-item: $tab-item,
|
|
1576
|
+
tab-stack: $tab-stack,
|
|
1211
1577
|
tag: $tag,
|
|
1212
1578
|
timezone: $timezone,
|
|
1213
1579
|
toast: $toast,
|
|
1214
1580
|
toggle: $toggle,
|
|
1215
1581
|
tooltip: $tooltip,
|
|
1582
|
+
tree-item: $tree-item,
|
|
1216
1583
|
scrollbar: $scrollbar
|
|
1217
1584
|
);
|
|
1218
1585
|
}
|
|
@@ -1,66 +1,59 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/common/popup' as *;
|
|
5
4
|
@use '../core/styles/theming/theming' as *;
|
|
6
5
|
@use '../core/styles/typography/typography-utils' as *;
|
|
7
6
|
|
|
8
7
|
|
|
8
|
+
@mixin kbq-dropdown-item-state($state) {
|
|
9
|
+
background: map.get($state, container-background);
|
|
10
|
+
color: map.get($state, text);
|
|
11
|
+
|
|
12
|
+
.kbq-dropdown-item__caption {
|
|
13
|
+
color: map.get($state, caption);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
9
17
|
@mixin kbq-dropdown-theme($theme) {
|
|
10
|
-
$
|
|
11
|
-
$
|
|
12
|
-
$secondary: map.get($theme, secondary);
|
|
18
|
+
$dropdown: map.get(map.get($theme, components), dropdown);
|
|
19
|
+
$divider: map.get(map.get($theme, components), divider);
|
|
13
20
|
|
|
14
21
|
.kbq-dropdown__panel {
|
|
15
|
-
|
|
22
|
+
box-shadow: map.get($dropdown, box-shadow);
|
|
23
|
+
background: map.get($dropdown, background);
|
|
16
24
|
}
|
|
17
25
|
|
|
18
26
|
.kbq-dropdown-item {
|
|
19
|
-
|
|
27
|
+
$dropdown-item: map.get(map.get($theme, components), list-item);
|
|
20
28
|
|
|
21
|
-
|
|
29
|
+
@include kbq-dropdown-item-state(map.get($dropdown-item, default));
|
|
22
30
|
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
&.kbq-dropdown-item_highlighted,
|
|
32
|
+
&:hover:not(.kbq-disabled):not([disabled]) {
|
|
33
|
+
@include kbq-dropdown-item-state(map.get($dropdown-item, hover));
|
|
25
34
|
}
|
|
26
35
|
|
|
27
36
|
&.cdk-keyboard-focused {
|
|
28
|
-
|
|
29
|
-
outline-offset: -2px !important;
|
|
37
|
+
border-color: map.get(map.get($dropdown-item, focused), focus-outline);
|
|
30
38
|
}
|
|
31
39
|
|
|
32
40
|
&.kbq-selected {
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&[disabled] {
|
|
37
|
-
color: map.get($foreground, text-disabled);
|
|
41
|
+
@include kbq-dropdown-item-state(map.get($dropdown-item, selected));
|
|
38
42
|
|
|
39
|
-
|
|
43
|
+
&:hover:not(.kbq-disabled):not([disabled]) {
|
|
44
|
+
@include kbq-dropdown-item-state(map.get($dropdown-item, selected-hover));
|
|
45
|
+
}
|
|
40
46
|
}
|
|
41
47
|
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
&.kbq-disabled,
|
|
49
|
+
&[disabled] {
|
|
50
|
+
@include kbq-dropdown-item-state(map.get($dropdown-item, disabled));
|
|
44
51
|
}
|
|
45
52
|
}
|
|
46
53
|
|
|
47
|
-
.kbq-dropdown-item_highlighted {
|
|
48
|
-
background: map.get($background, overlay-hover);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
54
|
.kbq-dropdown-item-overlay {
|
|
52
55
|
background: transparent;
|
|
53
56
|
}
|
|
54
|
-
|
|
55
|
-
.kbq-dropdown__divider {
|
|
56
|
-
background-color: map.get($foreground, divider);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.kbq-dropdown-trigger.kbq-pressed {
|
|
60
|
-
& .kbq-button-overlay {
|
|
61
|
-
background: kbq-color($secondary, A8);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
57
|
}
|
|
65
58
|
|
|
66
59
|
@mixin kbq-dropdown-typography($config) {
|
|
@@ -68,18 +61,18 @@
|
|
|
68
61
|
|
|
69
62
|
.kbq-dropdown-item,
|
|
70
63
|
.kbq-dropdown__content {
|
|
71
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens,
|
|
64
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-text));
|
|
72
65
|
}
|
|
73
66
|
|
|
74
67
|
.kbq-dropdown-item__caption {
|
|
75
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens,
|
|
68
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-caption));
|
|
76
69
|
}
|
|
77
70
|
|
|
78
71
|
.kbq-dropdown__group-header {
|
|
79
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens,
|
|
72
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-header));
|
|
80
73
|
|
|
81
74
|
&.kbq-dropdown__group-header_small {
|
|
82
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens,
|
|
75
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-subheading));
|
|
83
76
|
}
|
|
84
77
|
}
|
|
85
78
|
}
|
|
@@ -47,6 +47,6 @@ export declare class KbqDropdownItem extends KbqDropdownItemMixinBase implements
|
|
|
47
47
|
getLabel(): string;
|
|
48
48
|
haltDisabledEvents(event: Event): void;
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDropdownItem, [null, null, { optional: true; }]>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDropdownItem, "kbq-dropdown-item, [kbq-dropdown-item]", ["mcDropdownItem"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["icon"], ["*"], false, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDropdownItem, "kbq-dropdown-item, [kbq-dropdown-item]", ["mcDropdownItem"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["icon"], ["[kbq-icon]", "*"], false, never>;
|
|
51
51
|
}
|
|
52
52
|
export {};
|