@koobiq/components 16.0.0-beta.6 → 16.0.0-beta.8
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-trigger.directive.d.ts +5 -15
- package/button-toggle/_button-toggle-theme.scss +26 -45
- package/button-toggle/button-toggle.component.d.ts +2 -2
- package/button-toggle/button-toggle.scss +40 -87
- package/card/_card-theme.scss +1 -1
- package/checkbox/_checkbox-theme.scss +10 -2
- package/checkbox/checkbox.d.ts +1 -1
- package/code-block/README.md +14 -14
- package/code-block/_code-block-theme.scss +8 -0
- package/code-block/code-block.component.d.ts +1 -1
- package/core/animation/index.d.ts +1 -1
- package/core/animation/select-animations.d.ts +1 -1
- package/core/formatters/index.d.ts +1 -1
- package/core/formatters/number/formatter.d.ts +56 -1
- package/core/forms/forms.directive.d.ts +2 -2
- package/core/locales/en-US.d.ts +19 -1
- package/core/locales/es-LA.d.ts +27 -0
- package/core/locales/fa-IR.d.ts +28 -0
- package/core/locales/locale-service.d.ts +148 -3
- package/core/locales/pt-BR.d.ts +27 -0
- package/core/locales/ru-RU.d.ts +20 -1
- package/core/locales/zh-CN.d.ts +26 -0
- package/core/option/_optgroup-theme.scss +1 -1
- package/core/option/_option-theme.scss +2 -2
- package/core/option/action.d.ts +1 -1
- package/core/option/optgroup.d.ts +1 -1
- package/core/option/option.d.ts +37 -8
- package/core/option/option.scss +4 -4
- package/core/overlay/overlay-position-map.d.ts +7 -1
- package/core/pop-up/constants.d.ts +2 -1
- package/core/public-api.d.ts +1 -0
- package/core/select/constants.d.ts +2 -2
- package/core/services/theme.service.d.ts +23 -0
- package/core/styles/_koobiq-theme.scss +6 -0
- package/core/styles/_variables.scss +1 -0
- package/core/styles/common/_animation.scss +10 -6
- package/core/styles/common/_overlay.scss +1 -1
- package/core/styles/common/_select.scss +79 -65
- package/core/styles/theming/_components-theming.scss +205 -23
- package/core/styles/theming/_theming.scss +2 -2
- package/datepicker/_datepicker-theme.scss +43 -57
- package/datepicker/calendar-body.component.d.ts +1 -1
- package/datepicker/calendar-body.scss +11 -26
- package/datepicker/calendar-header.component.d.ts +9 -3
- package/datepicker/calendar-header.scss +7 -31
- package/datepicker/calendar.component.d.ts +4 -5
- package/datepicker/calendar.scss +20 -25
- package/datepicker/datepicker-animations.d.ts +1 -1
- package/datepicker/datepicker-content.scss +17 -10
- package/datepicker/datepicker-input.directive.d.ts +4 -4
- package/datepicker/datepicker-input.scss +1 -1
- package/datepicker/datepicker-toggle.component.d.ts +3 -3
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/month-view.component.d.ts +5 -6
- package/dl/_dl-theme.scss +2 -56
- package/dl/dl.component.d.ts +1 -2
- package/dl/dl.scss +10 -47
- package/dropdown/_dropdown-theme.scss +2 -2
- package/dropdown/dropdown-animations.d.ts +1 -1
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +1 -1
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.types.d.ts +1 -1
- package/esm2022/alert/alert.component.mjs +2 -2
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +27 -24
- package/esm2022/button/button.component.mjs +3 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +15 -15
- package/esm2022/checkbox/checkbox.mjs +3 -3
- package/esm2022/code-block/actionbar.component.mjs +1 -1
- package/esm2022/code-block/code-block.component.mjs +3 -3
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +4 -4
- package/esm2022/core/formatters/index.mjs +10 -2
- package/esm2022/core/formatters/number/formatter.mjs +224 -3
- package/esm2022/core/forms/forms.directive.mjs +5 -5
- package/esm2022/core/locales/en-US.mjs +22 -4
- package/esm2022/core/locales/es-LA.mjs +31 -2
- package/esm2022/core/locales/fa-IR.mjs +30 -2
- package/esm2022/core/locales/locale-service.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +29 -2
- package/esm2022/core/locales/ru-RU.mjs +23 -2
- package/esm2022/core/locales/zh-CN.mjs +28 -2
- package/esm2022/core/option/action.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +47 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +7 -1
- package/esm2022/core/pop-up/constants.mjs +2 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -3
- package/esm2022/core/public-api.mjs +2 -1
- package/esm2022/core/select/constants.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +60 -0
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +7 -5
- package/esm2022/datepicker/calendar-header.component.mjs +9 -8
- package/esm2022/datepicker/calendar.component.mjs +8 -17
- package/esm2022/datepicker/datepicker-animations.mjs +2 -2
- package/esm2022/datepicker/datepicker-input.directive.mjs +29 -20
- package/esm2022/datepicker/datepicker-toggle.component.mjs +6 -6
- package/esm2022/datepicker/datepicker.component.mjs +12 -12
- package/esm2022/datepicker/month-view.component.mjs +9 -18
- package/esm2022/dl/dl.component.mjs +3 -7
- package/esm2022/dropdown/dropdown-animations.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-errors.mjs +6 -6
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +10 -9
- package/esm2022/dropdown/dropdown.component.mjs +8 -8
- package/esm2022/dropdown/dropdown.types.mjs +1 -1
- package/esm2022/file-upload/file-drop.mjs +4 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +13 -9
- package/esm2022/file-upload/single-file-upload.component.mjs +16 -13
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +7 -7
- package/esm2022/form-field/hint.mjs +4 -4
- package/esm2022/form-field/password-hint.mjs +11 -11
- package/esm2022/form-field/password-toggle.mjs +21 -8
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +4 -4
- package/esm2022/input/input-number.mjs +259 -43
- package/esm2022/link/link.component.mjs +3 -3
- package/esm2022/list/list-selection.component.mjs +8 -8
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
- package/esm2022/modal/modal-control.service.mjs +5 -5
- package/esm2022/modal/modal-ref.class.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +124 -111
- package/esm2022/modal/modal.service.mjs +23 -23
- package/esm2022/modal/modal.type.mjs +1 -3
- package/esm2022/navbar/navbar-item.component.mjs +6 -6
- package/esm2022/navbar/navbar.component.mjs +18 -9
- package/esm2022/navbar/vertical-navbar.component.mjs +9 -6
- package/esm2022/popover/popover-animations.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +9 -9
- package/esm2022/popover/popover.component.mjs +24 -24
- package/esm2022/radio/radio.component.mjs +10 -8
- package/esm2022/select/select-option.directive.mjs +15 -3
- package/esm2022/select/select.component.mjs +37 -21
- package/esm2022/sidebar/sidebar-animations.mjs +2 -2
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +2 -2
- package/esm2022/splitter/splitter.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/tabs/tab-body.component.mjs +7 -7
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +6 -6
- package/esm2022/tabs/tab.component.mjs +14 -5
- package/esm2022/tabs/tabs-animations.mjs +2 -2
- package/esm2022/tags/tag-input.mjs +3 -3
- package/esm2022/tags/tag-list.component.mjs +5 -5
- package/esm2022/tags/tag.component.mjs +10 -10
- package/esm2022/timepicker/timepicker.directive.mjs +10 -10
- package/esm2022/timezone/timezone-option.component.mjs +4 -4
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/title/title.directive.mjs +5 -5
- package/esm2022/toast/toast.module.mjs +10 -4
- package/esm2022/toggle/toggle.component.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +18 -17
- package/esm2022/tree/control/base-tree-control.mjs +1 -1
- package/esm2022/tree/control/flat-tree-control.mjs +4 -4
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/node.mjs +5 -5
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +7 -7
- package/esm2022/tree/toggle.mjs +9 -11
- package/esm2022/tree/tree-base.mjs +3 -3
- package/esm2022/tree/tree-option.component.mjs +8 -5
- package/esm2022/tree/tree-selection.component.mjs +8 -6
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree-select/tree-select.component.mjs +14 -15
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +27 -24
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +14 -14
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +2 -1
- 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 +3 -3
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +526 -39
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +72 -78
- 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 +30 -29
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +26 -19
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +46 -34
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +257 -43
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +2 -2
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +9 -9
- 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-modal.mjs +149 -140
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +28 -20
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +31 -31
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +9 -7
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +50 -22
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +8 -8
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +3 -3
- 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 +29 -20
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +15 -15
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +9 -9
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +7 -7
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +4 -4
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +8 -2
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +3 -3
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +17 -16
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +13 -14
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +42 -38
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +54 -40
- package/file-upload/file-drop.d.ts +1 -1
- package/file-upload/file-upload.scss +2 -9
- package/file-upload/multiple-file-upload.component.d.ts +4 -3
- package/file-upload/multiple-file-upload.component.scss +170 -59
- package/file-upload/single-file-upload.component.d.ts +4 -3
- package/file-upload/single-file-upload.component.scss +42 -22
- package/form-field/_hint-theme.scss +1 -1
- package/form-field/cleaner.d.ts +1 -1
- package/form-field/form-field.d.ts +2 -2
- package/form-field/form-field.scss +2 -2
- package/form-field/hint.d.ts +1 -1
- package/form-field/password-hint.d.ts +2 -1
- package/form-field/password-toggle.d.ts +11 -6
- package/form-field/suffix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +1 -1
- package/icon/_icon-theme.scss +12 -22
- package/input/input-number.d.ts +61 -10
- package/link/_link-theme.scss +6 -2
- package/link/link.component.d.ts +1 -1
- package/list/_list-theme.scss +2 -2
- package/list/list-selection.component.d.ts +1 -1
- package/list/list.scss +1 -5
- package/loader-overlay/loader-overlay.scss +3 -0
- package/markdown/_markdown-theme.scss +2 -2
- package/modal/README.md +5 -5
- package/modal/_modal-theme.scss +10 -18
- package/modal/modal-ref.class.d.ts +2 -2
- package/modal/modal.component.d.ts +51 -47
- package/modal/modal.scss +0 -1
- package/modal/modal.type.d.ts +35 -36
- package/navbar/_navbar-theme.scss +1 -1
- package/navbar/navbar-item.component.d.ts +2 -2
- package/navbar/navbar.component.d.ts +5 -2
- package/navbar/vertical-navbar.component.d.ts +4 -2
- package/package.json +28 -30
- package/popover/README.md +14 -14
- package/popover/_popover-theme.scss +15 -78
- package/popover/popover-animations.d.ts +1 -1
- package/popover/popover-confirm.component.d.ts +1 -1
- package/popover/popover.component.d.ts +3 -3
- package/popover/popover.scss +60 -50
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/radio/_radio-theme.scss +17 -4
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.scss +13 -0
- package/select/_select-theme.scss +1 -1
- package/select/select-option.directive.d.ts +2 -0
- package/select/select.component.d.ts +14 -11
- package/sidebar/sidebar-animations.d.ts +1 -1
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidepanel/_sidepanel-theme.scss +5 -0
- package/splitter/splitter.component.d.ts +1 -1
- package/table/_table-theme.scss +1 -1
- package/table/table.component.d.ts +1 -1
- package/tabs/tab-body.component.d.ts +1 -1
- package/tabs/tab-content.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
- package/tabs/tab.component.d.ts +1 -1
- package/tabs/tabs-animations.d.ts +1 -1
- package/tags/_tag-theme.scss +1 -1
- package/tags/tag-input.d.ts +2 -2
- package/tags/tag-list.component.d.ts +2 -2
- package/tags/tag-list.scss +2 -0
- package/tags/tag.component.d.ts +3 -3
- package/timepicker/timepicker.directive.d.ts +2 -2
- package/timezone/timezone-option.component.d.ts +1 -1
- package/timezone/timezone-select.component.d.ts +1 -1
- package/title/title.directive.d.ts +1 -1
- package/toggle/_toggle-theme.scss +9 -1
- package/toggle/toggle.component.d.ts +1 -1
- package/toggle/toggle.scss +5 -2
- package/tooltip/tooltip.component.d.ts +3 -3
- package/tree/_tree-theme.scss +2 -2
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/tree-control.d.ts +1 -1
- package/tree/node.d.ts +1 -1
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +3 -3
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +2 -0
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree/tree.d.ts +1 -1
- package/tree-select/_tree-select-theme.scss +1 -1
- package/tree-select/tree-select.component.d.ts +1 -1
|
@@ -21,15 +21,19 @@
|
|
|
21
21
|
bottom: 0;
|
|
22
22
|
left: 0;
|
|
23
23
|
|
|
24
|
-
$lighter:
|
|
25
|
-
$darker: rgba(0, 0, 0, 0.
|
|
24
|
+
$lighter: rgba(255, 255, 255, 0.04);
|
|
25
|
+
$darker: rgba(0, 0, 0, 0.04);
|
|
26
|
+
|
|
26
27
|
background: linear-gradient(
|
|
27
28
|
135deg,
|
|
28
|
-
$darker 10px,
|
|
29
|
-
$lighter
|
|
30
|
-
$
|
|
29
|
+
$darker 10px,
|
|
30
|
+
$lighter 10px,
|
|
31
|
+
$lighter 20px,
|
|
32
|
+
$darker 20px,
|
|
33
|
+
$darker 30px,
|
|
34
|
+
$lighter 31px
|
|
31
35
|
) repeat;
|
|
32
|
-
background-size:
|
|
36
|
+
background-size: 32px 32px;
|
|
33
37
|
animation: kbq-progress 1s linear infinite;
|
|
34
38
|
}
|
|
35
39
|
}
|
|
@@ -6,7 +6,7 @@ $overlay-z-index: 1000 !default;
|
|
|
6
6
|
$overlay-backdrop-z-index: 1000 !default;
|
|
7
7
|
|
|
8
8
|
// Background color for all of the backdrops
|
|
9
|
-
$overlay-backdrop-color: rgba(0, 0, 0, 0.
|
|
9
|
+
$overlay-backdrop-color: rgba(0, 0, 0, 0.50) !default;
|
|
10
10
|
|
|
11
11
|
// Default backdrop animation is based on the Material Design swift-ease-out.
|
|
12
12
|
$backdrop-animation-duration: 400ms !default;
|
|
@@ -35,6 +35,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
$border-width: map.get($tokens, form-field-size-border-width);
|
|
38
|
+
$height: map.get($tokens, form-field-size-height);
|
|
38
39
|
|
|
39
40
|
.kbq-select__trigger {
|
|
40
41
|
display: flex;
|
|
@@ -44,43 +45,82 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
44
45
|
cursor: pointer;
|
|
45
46
|
|
|
46
47
|
height: calc(
|
|
47
|
-
var(--kbq-form-field-size-height,
|
|
48
|
-
(var(--kbq-form-field-size-border-width,
|
|
48
|
+
var(--kbq-form-field-size-height, $height) -
|
|
49
|
+
(var(--kbq-form-field-size-border-width, $border-width) * 2)
|
|
49
50
|
);
|
|
51
|
+
}
|
|
50
52
|
|
|
53
|
+
.kbq-select__trigger.kbq-select__trigger_single {
|
|
51
54
|
& .kbq-select__matcher {
|
|
52
55
|
$padding-vertical: map.get($tokens, select-size-single-padding-vertical);
|
|
53
56
|
|
|
54
57
|
padding:
|
|
55
58
|
calc(
|
|
56
|
-
var(--kbq-select-size-single-padding-vertical,
|
|
57
|
-
var(--kbq-form-field-size-border-width,
|
|
59
|
+
var(--kbq-select-size-single-padding-vertical, $padding-vertical) -
|
|
60
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
58
61
|
)
|
|
59
62
|
calc(
|
|
60
|
-
var(--kbq-select-size-single-padding-right,
|
|
61
|
-
var(--kbq-form-field-size-border-width,
|
|
63
|
+
var(--kbq-select-size-single-padding-right, map.get($tokens, select-size-single-padding-right)) -
|
|
64
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
62
65
|
)
|
|
63
66
|
calc(
|
|
64
|
-
var(--kbq-select-size-single-padding-vertical,
|
|
65
|
-
var(--kbq-form-field-size-border-width,
|
|
67
|
+
var(--kbq-select-size-single-padding-vertical, $padding-vertical) -
|
|
68
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
66
69
|
)
|
|
67
70
|
calc(
|
|
68
|
-
var(--kbq-select-size-single-padding-left,
|
|
69
|
-
var(--kbq-form-field-size-border-width,
|
|
71
|
+
var(--kbq-select-size-single-padding-left, map.get($tokens, select-size-single-padding-left)) -
|
|
72
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
70
73
|
);
|
|
71
74
|
}
|
|
72
75
|
}
|
|
73
76
|
|
|
74
77
|
.kbq-select__trigger.kbq-select__trigger_multiple:not(.kbq-select__trigger_empty) {
|
|
75
78
|
& .kbq-select__matcher {
|
|
76
|
-
padding-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
79
|
+
$padding-vertical: map.get($tokens, select-size-multiple-padding-vertical);
|
|
80
|
+
|
|
81
|
+
padding:
|
|
82
|
+
calc(
|
|
83
|
+
var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) -
|
|
84
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
85
|
+
)
|
|
86
|
+
calc(
|
|
87
|
+
var(--kbq-select-size-multiple-padding-right, map.get($tokens,select-size-multiple-padding-right)) -
|
|
88
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
89
|
+
)
|
|
90
|
+
calc(
|
|
91
|
+
var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) -
|
|
92
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
93
|
+
)
|
|
94
|
+
calc(
|
|
95
|
+
var(--kbq-select-size-multiple-padding-left, map.get($tokens, select-size-multiple-padding-left)) -
|
|
96
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
97
|
+
);
|
|
80
98
|
|
|
81
99
|
.kbq-select__match-container {
|
|
82
100
|
display: flex;
|
|
83
101
|
}
|
|
102
|
+
|
|
103
|
+
.kbq-select__match-list {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
|
|
108
|
+
height: calc(
|
|
109
|
+
var(--kbq-form-field-size-height, $height) -
|
|
110
|
+
(var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) * 2)
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
max-height: calc(
|
|
114
|
+
var(--kbq-form-field-size-height, $height) -
|
|
115
|
+
(var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) * 2)
|
|
116
|
+
);
|
|
117
|
+
|
|
118
|
+
gap: var(--kbq-select-size-multiple-content-gap, map.get($tokens, select-size-multiple-content-gap));
|
|
119
|
+
|
|
120
|
+
margin-right: var(
|
|
121
|
+
--kbq-select-size-multiple-content-gap, map.get($tokens, select-size-multiple-content-gap)
|
|
122
|
+
);
|
|
123
|
+
}
|
|
84
124
|
}
|
|
85
125
|
}
|
|
86
126
|
|
|
@@ -95,39 +135,13 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
95
135
|
align-self: center;
|
|
96
136
|
padding-left: 4px;
|
|
97
137
|
padding-right: var(
|
|
98
|
-
--kbq-select-size-multiple-content-gap,
|
|
138
|
+
--kbq-select-size-multiple-content-gap, map.get($tokens, select-size-multiple-content-gap)
|
|
99
139
|
);
|
|
100
140
|
|
|
101
141
|
text-align: right;
|
|
102
142
|
}
|
|
103
143
|
}
|
|
104
144
|
|
|
105
|
-
.kbq-select__match-list {
|
|
106
|
-
display: flex;
|
|
107
|
-
flex-wrap: wrap;
|
|
108
|
-
overflow: hidden;
|
|
109
|
-
|
|
110
|
-
$padding-vertical: map.get($tokens, select-size-multiple-padding-vertical);
|
|
111
|
-
|
|
112
|
-
max-height: calc(
|
|
113
|
-
var(--kbq-form-field-size-height, map.get($tokens, form-field-size-height)) -
|
|
114
|
-
(var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) * 2)
|
|
115
|
-
);
|
|
116
|
-
|
|
117
|
-
height: calc(
|
|
118
|
-
var(--kbq-form-field-size-height, map.get($tokens, form-field-size-height)) -
|
|
119
|
-
(var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) * 2)
|
|
120
|
-
);
|
|
121
|
-
|
|
122
|
-
gap: var(
|
|
123
|
-
--kbq-select-size-multiple-content-gap, #{map.get($tokens, select-size-multiple-content-gap)}
|
|
124
|
-
);
|
|
125
|
-
|
|
126
|
-
margin-right: var(
|
|
127
|
-
--kbq-select-size-multiple-content-gap, #{map.get($tokens, select-size-multiple-content-gap)}
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
145
|
.kbq-select__arrow-wrapper {
|
|
132
146
|
display: flex;
|
|
133
147
|
align-self: center;
|
|
@@ -146,6 +160,30 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
146
160
|
}
|
|
147
161
|
}
|
|
148
162
|
|
|
163
|
+
&.kbq-disabled {
|
|
164
|
+
& .kbq-select__trigger {
|
|
165
|
+
@include vendor-prefixes.user-select(none);
|
|
166
|
+
|
|
167
|
+
cursor: default;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
%kbq-select-panel {
|
|
173
|
+
min-width: 100%; // prevents some animation twitching and test inconsistencies in IE11
|
|
174
|
+
|
|
175
|
+
overflow: hidden;
|
|
176
|
+
|
|
177
|
+
border-radius: var(
|
|
178
|
+
--kbq-select-panel-size-border-radius, map.get($tokens, select-panel-size-border-radius)
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
// Override optgroup and option to scale based on font-size of the trigger.
|
|
182
|
+
.kbq-optgroup-label,
|
|
183
|
+
.kbq-option {
|
|
184
|
+
font-size: inherit;
|
|
185
|
+
}
|
|
186
|
+
|
|
149
187
|
.kbq-select__no-options-message {
|
|
150
188
|
display: flex;
|
|
151
189
|
flex-direction: row;
|
|
@@ -172,30 +210,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
172
210
|
style: solid;
|
|
173
211
|
}
|
|
174
212
|
}
|
|
175
|
-
|
|
176
|
-
&.kbq-disabled {
|
|
177
|
-
& .kbq-select__trigger {
|
|
178
|
-
@include vendor-prefixes.user-select(none);
|
|
179
|
-
|
|
180
|
-
cursor: default;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
%kbq-select-panel {
|
|
186
|
-
min-width: 100%; // prevents some animation twitching and test inconsistencies in IE11
|
|
187
|
-
|
|
188
|
-
overflow: hidden;
|
|
189
|
-
|
|
190
|
-
border-radius: var(
|
|
191
|
-
--kbq-select-panel-size-border-radius, map.get($tokens, select-panel-size-border-radius)
|
|
192
|
-
);
|
|
193
|
-
|
|
194
|
-
// Override optgroup and option to scale based on font-size of the trigger.
|
|
195
|
-
.kbq-optgroup-label,
|
|
196
|
-
.kbq-option {
|
|
197
|
-
font-size: inherit;
|
|
198
|
-
}
|
|
199
213
|
}
|
|
200
214
|
|
|
201
215
|
%kbq-select-content {
|
|
@@ -267,6 +267,50 @@
|
|
|
267
267
|
)
|
|
268
268
|
);
|
|
269
269
|
|
|
270
|
+
$button-toggle: (
|
|
271
|
+
container: (
|
|
272
|
+
background: map-get($tokens, 'button-toggle-#{$scheme}-container-background')
|
|
273
|
+
),
|
|
274
|
+
item: (
|
|
275
|
+
default: (
|
|
276
|
+
background: map-get($tokens, 'button-toggle-#{$scheme}-item-default-background'),
|
|
277
|
+
text: map-get($tokens, 'button-toggle-#{$scheme}-item-default-text'),
|
|
278
|
+
icon: map-get($tokens, 'button-toggle-#{$scheme}-item-default-icon')
|
|
279
|
+
),
|
|
280
|
+
hover: (
|
|
281
|
+
background: map-get($tokens, 'button-toggle-#{$scheme}-item-states-hover-background'),
|
|
282
|
+
text: map-get($tokens, 'button-toggle-#{$scheme}-item-states-hover-text'),
|
|
283
|
+
icon: map-get($tokens, 'button-toggle-#{$scheme}-item-states-hover-icon')
|
|
284
|
+
),
|
|
285
|
+
active: (
|
|
286
|
+
background: map-get($tokens, 'button-toggle-#{$scheme}-item-states-active-background'),
|
|
287
|
+
text: map-get($tokens, 'button-toggle-#{$scheme}-item-states-active-text'),
|
|
288
|
+
icon: map-get($tokens, 'button-toggle-#{$scheme}-item-states-active-icon')
|
|
289
|
+
),
|
|
290
|
+
selected: (
|
|
291
|
+
background: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-background'),
|
|
292
|
+
text: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-text'),
|
|
293
|
+
icon: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-icon')
|
|
294
|
+
),
|
|
295
|
+
selected-hover: (
|
|
296
|
+
background: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-hover-background'),
|
|
297
|
+
text: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-hover-text'),
|
|
298
|
+
icon: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-hover-icon')
|
|
299
|
+
),
|
|
300
|
+
selected-active: (
|
|
301
|
+
background: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-active-background'),
|
|
302
|
+
text: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-active-text'),
|
|
303
|
+
icon: map-get($tokens, 'button-toggle-#{$scheme}-item-states-selected-active-icon')
|
|
304
|
+
),
|
|
305
|
+
disabled: (
|
|
306
|
+
background: map-get($tokens, 'button-toggle-#{$scheme}-item-states-disabled-background'),
|
|
307
|
+
text: map-get($tokens, 'button-toggle-#{$scheme}-item-states-disabled-text'),
|
|
308
|
+
icon: map-get($tokens, 'button-toggle-#{$scheme}-item-states-disabled-icon')
|
|
309
|
+
),
|
|
310
|
+
focused: map-get($tokens, 'button-toggle-#{$scheme}-item-states-focused-outline')
|
|
311
|
+
)
|
|
312
|
+
);
|
|
313
|
+
|
|
270
314
|
$card: (
|
|
271
315
|
error: (
|
|
272
316
|
vertical-line: map-get($tokens, 'card-#{$scheme}-error-vertical-line'),
|
|
@@ -295,7 +339,8 @@
|
|
|
295
339
|
default: (
|
|
296
340
|
border: map-get($tokens, 'checkbox-#{$scheme}-theme-default-border'),
|
|
297
341
|
color: map-get($tokens, 'checkbox-#{$scheme}-theme-default-color'),
|
|
298
|
-
background: map-get($tokens, 'checkbox-#{$scheme}-theme-default-background')
|
|
342
|
+
background: map-get($tokens, 'checkbox-#{$scheme}-theme-default-background'),
|
|
343
|
+
caption: map-get($tokens, 'checkbox-#{$scheme}-theme-default-caption')
|
|
299
344
|
),
|
|
300
345
|
hover: (
|
|
301
346
|
border: map-get($tokens, 'checkbox-#{$scheme}-theme-states-hover-border'),
|
|
@@ -322,7 +367,8 @@
|
|
|
322
367
|
disabled: (
|
|
323
368
|
border: map-get($tokens, 'checkbox-#{$scheme}-theme-states-disabled-border'),
|
|
324
369
|
color: map-get($tokens, 'checkbox-#{$scheme}-theme-states-disabled-color'),
|
|
325
|
-
background: map-get($tokens, 'checkbox-#{$scheme}-theme-states-disabled-background')
|
|
370
|
+
background: map-get($tokens, 'checkbox-#{$scheme}-theme-states-disabled-background'),
|
|
371
|
+
caption: map-get($tokens, 'checkbox-#{$scheme}-theme-states-disabled-caption')
|
|
326
372
|
)
|
|
327
373
|
),
|
|
328
374
|
error: (
|
|
@@ -486,10 +532,41 @@
|
|
|
486
532
|
);
|
|
487
533
|
|
|
488
534
|
$datepicker: (
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
535
|
+
container: (
|
|
536
|
+
background: map-get($tokens, 'datepicker-#{$scheme}-container-background'),
|
|
537
|
+
box-shadow: map-get($tokens, 'datepicker-#{$scheme}-container-box-shadow')
|
|
538
|
+
),
|
|
539
|
+
header: (
|
|
540
|
+
text: map-get($tokens, 'datepicker-#{$scheme}-header-text'),
|
|
541
|
+
divider: map-get($tokens, 'datepicker-#{$scheme}-header-divider')
|
|
542
|
+
),
|
|
543
|
+
|
|
544
|
+
cell: (
|
|
545
|
+
default: (
|
|
546
|
+
background: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-default-background'),
|
|
547
|
+
text: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-default-text')
|
|
548
|
+
),
|
|
549
|
+
today: (
|
|
550
|
+
background: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-today-background'),
|
|
551
|
+
text: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-today-text')
|
|
552
|
+
),
|
|
553
|
+
hover: (
|
|
554
|
+
background: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-states-hover-background')
|
|
555
|
+
),
|
|
556
|
+
active: (
|
|
557
|
+
background: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-states-active-background')
|
|
558
|
+
),
|
|
559
|
+
selected: (
|
|
560
|
+
background: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-states-selected-background'),
|
|
561
|
+
text: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-states-selected-text')
|
|
562
|
+
),
|
|
563
|
+
selected-hover: (
|
|
564
|
+
background: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-states-selected-hover-background')
|
|
565
|
+
),
|
|
566
|
+
disabled: (
|
|
567
|
+
background: map-get($tokens, 'datepicker-#{$scheme}-grid-cell-states-disabled-background')
|
|
568
|
+
)
|
|
569
|
+
)
|
|
493
570
|
);
|
|
494
571
|
|
|
495
572
|
$divider: (
|
|
@@ -497,8 +574,8 @@
|
|
|
497
574
|
);
|
|
498
575
|
|
|
499
576
|
$dl: (
|
|
500
|
-
dt: map-get($tokens, 'description-list-#{$scheme}-
|
|
501
|
-
dd: map-get($tokens, 'description-list-#{$scheme}-
|
|
577
|
+
dt: map-get($tokens, 'description-list-#{$scheme}-term-color'),
|
|
578
|
+
dd: map-get($tokens, 'description-list-#{$scheme}-description-color')
|
|
502
579
|
);
|
|
503
580
|
|
|
504
581
|
$form-field: (
|
|
@@ -590,6 +667,82 @@
|
|
|
590
667
|
)
|
|
591
668
|
);
|
|
592
669
|
|
|
670
|
+
$file-upload: (
|
|
671
|
+
single: (
|
|
672
|
+
default: (
|
|
673
|
+
border: map-get($tokens, 'file-upload-#{$scheme}-single-default-container-border'),
|
|
674
|
+
background: map-get($tokens, 'file-upload-#{$scheme}-single-default-container-background'),
|
|
675
|
+
upload-icon: map-get($tokens, 'file-upload-#{$scheme}-single-default-upload-icon-color'),
|
|
676
|
+
left-icon: map-get($tokens, 'file-upload-#{$scheme}-single-default-left-icon-color'),
|
|
677
|
+
text-block: map-get($tokens, 'file-upload-#{$scheme}-single-default-text-block-color'),
|
|
678
|
+
icon-button: map-get($tokens, 'file-upload-#{$scheme}-single-default-icon-button-color')
|
|
679
|
+
),
|
|
680
|
+
states: (
|
|
681
|
+
on-drag: (
|
|
682
|
+
border: map-get($tokens, 'file-upload-#{$scheme}-single-states-on-drag-container-border'),
|
|
683
|
+
background: map-get($tokens, 'file-upload-#{$scheme}-single-states-on-drag-container-background'),
|
|
684
|
+
upload-icon: map-get($tokens, 'file-upload-#{$scheme}-single-states-on-drag-upload-icon-color'),
|
|
685
|
+
left-icon: map-get($tokens, 'file-upload-#{$scheme}-single-states-on-drag-left-icon-color'),
|
|
686
|
+
text-block: map-get($tokens, 'file-upload-#{$scheme}-single-states-on-drag-text-block-color')
|
|
687
|
+
),
|
|
688
|
+
error: (
|
|
689
|
+
border: map-get($tokens, 'file-upload-#{$scheme}-single-states-error-container-border'),
|
|
690
|
+
background: map-get($tokens, 'file-upload-#{$scheme}-single-states-error-container-background'),
|
|
691
|
+
left-icon: map-get($tokens, 'file-upload-#{$scheme}-single-states-error-left-icon-color'),
|
|
692
|
+
text-block: map-get($tokens, 'file-upload-#{$scheme}-single-states-error-text-block-color')
|
|
693
|
+
),
|
|
694
|
+
disabled: (
|
|
695
|
+
border: map-get($tokens, 'file-upload-#{$scheme}-single-states-disabled-container-border'),
|
|
696
|
+
background: map-get($tokens, 'file-upload-#{$scheme}-single-states-disabled-container-background'),
|
|
697
|
+
upload-icon: map-get($tokens, 'file-upload-#{$scheme}-single-states-disabled-upload-icon-color'),
|
|
698
|
+
left-icon: map-get($tokens, 'file-upload-#{$scheme}-single-states-disabled-left-icon-color'),
|
|
699
|
+
text-block: map-get($tokens, 'file-upload-#{$scheme}-single-states-disabled-text-block-color')
|
|
700
|
+
),
|
|
701
|
+
focused: map-get($tokens, 'file-upload-#{$scheme}-single-states-focused-focus-outline-color')
|
|
702
|
+
)
|
|
703
|
+
),
|
|
704
|
+
multiple: (
|
|
705
|
+
default: (
|
|
706
|
+
border: map-get($tokens, 'file-upload-#{$scheme}-multiple-default-container-border'),
|
|
707
|
+
background: map-get($tokens, 'file-upload-#{$scheme}-multiple-default-container-background'),
|
|
708
|
+
upload-icon: map-get($tokens, 'file-upload-#{$scheme}-multiple-default-upload-icon-color'),
|
|
709
|
+
left-icon: map-get($tokens, 'file-upload-#{$scheme}-multiple-default-left-icon-color'),
|
|
710
|
+
text-block: map-get($tokens, 'file-upload-#{$scheme}-multiple-default-text-block-color'),
|
|
711
|
+
icon-button: map-get($tokens, 'file-upload-#{$scheme}-multiple-default-icon-button-color'),
|
|
712
|
+
grid-divider: map-get($tokens, 'file-upload-#{$scheme}-multiple-default-grid-divider-color')
|
|
713
|
+
),
|
|
714
|
+
states: (
|
|
715
|
+
on-drag: (
|
|
716
|
+
border: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-on-drag-container-border'),
|
|
717
|
+
background: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-on-drag-container-background'),
|
|
718
|
+
upload-icon: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-on-drag-upload-icon-color'),
|
|
719
|
+
left-icon: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-on-drag-left-icon-color'),
|
|
720
|
+
text-block: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-on-drag-text-block-color'),
|
|
721
|
+
icon-button: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-on-drag-icon-button-color'),
|
|
722
|
+
grid-divider: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-on-drag-grid-divider-color')
|
|
723
|
+
),
|
|
724
|
+
error: (
|
|
725
|
+
grid-cell-background: map-get(
|
|
726
|
+
$tokens, 'file-upload-#{$scheme}-multiple-states-error-grid-cell-background'
|
|
727
|
+
),
|
|
728
|
+
left-icon: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-error-left-icon-color'),
|
|
729
|
+
text-block: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-error-text-block-color'),
|
|
730
|
+
icon-button: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-error-icon-button-color')
|
|
731
|
+
),
|
|
732
|
+
disabled: (
|
|
733
|
+
border: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-disabled-container-border'),
|
|
734
|
+
background: map-get(
|
|
735
|
+
$tokens, 'file-upload-#{$scheme}-multiple-states-disabled-container-background'
|
|
736
|
+
),
|
|
737
|
+
upload-icon: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-disabled-upload-icon-color'),
|
|
738
|
+
left-icon: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-disabled-left-icon-color'),
|
|
739
|
+
text-block: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-disabled-text-block-color'),
|
|
740
|
+
grid-divider: map-get($tokens, 'file-upload-#{$scheme}-multiple-states-disabled-grid-divider-color')
|
|
741
|
+
)
|
|
742
|
+
)
|
|
743
|
+
)
|
|
744
|
+
);
|
|
745
|
+
|
|
593
746
|
$forms: (
|
|
594
747
|
label: map-get($tokens, 'forms-#{$scheme}-label'),
|
|
595
748
|
legend: map-get($tokens, 'forms-#{$scheme}-legend'),
|
|
@@ -744,7 +897,9 @@
|
|
|
744
897
|
|
|
745
898
|
close-button: map-get($tokens, 'modal-#{$scheme}-close-button-color'),
|
|
746
899
|
header: map-get($tokens, 'modal-#{$scheme}-header-text-color'),
|
|
747
|
-
content: map-get($tokens, 'modal-#{$scheme}-content-text-color')
|
|
900
|
+
content: map-get($tokens, 'modal-#{$scheme}-content-text-color'),
|
|
901
|
+
|
|
902
|
+
overlay: map-get($tokens, 'modal-#{$scheme}-overlay-background')
|
|
748
903
|
);
|
|
749
904
|
|
|
750
905
|
$markdown: (
|
|
@@ -808,20 +963,19 @@
|
|
|
808
963
|
);
|
|
809
964
|
|
|
810
965
|
$popover: (
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
border: map-get($tokens, 'popover-#{$scheme}-border'),
|
|
815
|
-
|
|
816
|
-
footer: (
|
|
817
|
-
background: map-get($tokens, 'popover-footer-#{$scheme}-background'),
|
|
818
|
-
border: map-get($tokens, 'popover-footer-#{$scheme}-border'),
|
|
966
|
+
container: (
|
|
967
|
+
background: map-get($tokens, 'popover-#{$scheme}-container-background'),
|
|
968
|
+
box-shadow: map-get($tokens, 'popover-#{$scheme}-container-box-shadow')
|
|
819
969
|
),
|
|
820
|
-
|
|
821
970
|
header: (
|
|
822
|
-
text: map-get($tokens, 'popover
|
|
823
|
-
|
|
824
|
-
|
|
971
|
+
text: map-get($tokens, 'popover-#{$scheme}-header-text-color'),
|
|
972
|
+
scroll-shadow: map-get($tokens, 'popover-#{$scheme}-header-scroll-shadow')
|
|
973
|
+
),
|
|
974
|
+
content: (
|
|
975
|
+
text: map-get($tokens, 'popover-#{$scheme}-content-text-color')
|
|
976
|
+
),
|
|
977
|
+
footer: (
|
|
978
|
+
scroll-shadow: map-get($tokens, 'popover-#{$scheme}-footer-scroll-shadow')
|
|
825
979
|
)
|
|
826
980
|
);
|
|
827
981
|
|
|
@@ -846,6 +1000,7 @@
|
|
|
846
1000
|
outer-circle-border: map-get($tokens, 'radio-#{$scheme}-theme-default-outer-circle-border'),
|
|
847
1001
|
outer-circle-background: map-get($tokens, 'radio-#{$scheme}-theme-default-outer-circle-background'),
|
|
848
1002
|
inner-circle-background: map-get($tokens, 'radio-#{$scheme}-theme-default-inner-circle-background'),
|
|
1003
|
+
caption: map-get($tokens, 'radio-#{$scheme}-theme-default-caption')
|
|
849
1004
|
),
|
|
850
1005
|
|
|
851
1006
|
hover: (
|
|
@@ -877,6 +1032,17 @@
|
|
|
877
1032
|
$tokens, 'radio-#{$scheme}-theme-states-checked-hover-inner-circle-background'
|
|
878
1033
|
)
|
|
879
1034
|
),
|
|
1035
|
+
checked-disabled: (
|
|
1036
|
+
outer-circle-border: map-get(
|
|
1037
|
+
$tokens, 'radio-#{$scheme}-theme-states-checked-disabled-outer-circle-border'
|
|
1038
|
+
),
|
|
1039
|
+
outer-circle-background: map-get(
|
|
1040
|
+
$tokens, 'radio-#{$scheme}-theme-states-checked-disabled-outer-circle-background'
|
|
1041
|
+
),
|
|
1042
|
+
inner-circle-background: map-get(
|
|
1043
|
+
$tokens, 'radio-#{$scheme}-theme-states-checked-disabled-inner-circle-background'
|
|
1044
|
+
)
|
|
1045
|
+
),
|
|
880
1046
|
focused: (
|
|
881
1047
|
outer-circle-border: map-get($tokens, 'radio-#{$scheme}-theme-states-focused-outer-circle-border'),
|
|
882
1048
|
outer-circle-background: map-get(
|
|
@@ -910,7 +1076,8 @@
|
|
|
910
1076
|
),
|
|
911
1077
|
inner-circle-background: map-get(
|
|
912
1078
|
$tokens, 'radio-#{$scheme}-theme-states-disabled-inner-circle-background'
|
|
913
|
-
)
|
|
1079
|
+
),
|
|
1080
|
+
caption: map-get($tokens, 'radio-#{$scheme}-theme-states-disabled-caption'),
|
|
914
1081
|
)
|
|
915
1082
|
),
|
|
916
1083
|
error: (
|
|
@@ -949,6 +1116,17 @@
|
|
|
949
1116
|
$tokens, 'radio-#{$scheme}-error-states-checked-hover-inner-circle-background'
|
|
950
1117
|
)
|
|
951
1118
|
),
|
|
1119
|
+
checked-disabled: (
|
|
1120
|
+
outer-circle-border: map-get(
|
|
1121
|
+
$tokens, 'radio-#{$scheme}-error-states-checked-disabled-outer-circle-border'
|
|
1122
|
+
),
|
|
1123
|
+
outer-circle-background: map-get(
|
|
1124
|
+
$tokens, 'radio-#{$scheme}-error-states-checked-disabled-outer-circle-background'
|
|
1125
|
+
),
|
|
1126
|
+
inner-circle-background: map-get(
|
|
1127
|
+
$tokens, 'radio-#{$scheme}-error-states-checked-disabled-inner-circle-background'
|
|
1128
|
+
)
|
|
1129
|
+
),
|
|
952
1130
|
focused: (
|
|
953
1131
|
outer-circle-border: map-get($tokens, 'radio-#{$scheme}-error-states-focused-outer-circle-border'),
|
|
954
1132
|
outer-circle-background: map-get(
|
|
@@ -1052,7 +1230,9 @@
|
|
|
1052
1230
|
box-shadow: map-get($tokens, 'sidepanel-#{$scheme}-container-box-shadow'),
|
|
1053
1231
|
background: map-get($tokens, 'sidepanel-#{$scheme}-container-background'),
|
|
1054
1232
|
header-text: map-get($tokens, 'sidepanel-#{$scheme}-header-text-color'),
|
|
1055
|
-
content-text: map-get($tokens, 'sidepanel-#{$scheme}-content-text-color')
|
|
1233
|
+
content-text: map-get($tokens, 'sidepanel-#{$scheme}-content-text-color'),
|
|
1234
|
+
|
|
1235
|
+
overlay: map-get($tokens, 'sidepanel-#{$scheme}-overlay-background')
|
|
1056
1236
|
);
|
|
1057
1237
|
|
|
1058
1238
|
$tab-item: (
|
|
@@ -1545,12 +1725,14 @@
|
|
|
1545
1725
|
dropdown: $dropdown,
|
|
1546
1726
|
badge: $badge,
|
|
1547
1727
|
button: $button,
|
|
1728
|
+
button-toggle: $button-toggle,
|
|
1548
1729
|
card: $card,
|
|
1549
1730
|
checkbox: $checkbox,
|
|
1550
1731
|
code-block: $code-block,
|
|
1551
1732
|
datepicker: $datepicker,
|
|
1552
1733
|
divider: $divider,
|
|
1553
1734
|
dl: $dl,
|
|
1735
|
+
file-upload: $file-upload,
|
|
1554
1736
|
form-field: $form-field,
|
|
1555
1737
|
form-field-hint: $form-field-hint,
|
|
1556
1738
|
form-field-password-hint: $form-field-password-hint,
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
$background: map.get($theme, background);
|
|
38
38
|
$foreground: map.get($theme, foreground);
|
|
39
39
|
|
|
40
|
-
background-color: kbq-color($background,
|
|
41
|
-
color: kbq-color($foreground,
|
|
40
|
+
background-color: kbq-color($background, bg);
|
|
41
|
+
color: kbq-color($foreground, contrast);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.kbq-theme-loaded-marker {
|