@koobiq/components 16.0.0-beta.8 → 17.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/_autocomplete-theme.scss +3 -10
- package/autocomplete/autocomplete.scss +0 -5
- package/badge/_badge-theme.scss +17 -8
- package/badge/badge.component.d.ts +20 -1
- package/badge/badge.component.scss +28 -0
- package/badge/badge.module.d.ts +1 -1
- package/button/_button-base.scss +1 -1
- package/button/_button-theme.scss +23 -38
- package/checkbox/_checkbox-theme.scss +9 -6
- package/checkbox/checkbox.scss +6 -8
- package/code-block/_code-block-theme.scss +43 -12
- package/code-block/actionbar.component.scss +34 -6
- package/code-block/code-block.component.d.ts +2 -2
- package/code-block/code-block.scss +101 -27
- package/core/common-behaviors/index.d.ts +2 -0
- package/core/locales/index.d.ts +0 -2
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +5 -5
- package/core/option/action.scss +1 -1
- package/core/pop-up/pop-up.d.ts +7 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +4 -15
- package/core/styles/_koobiq-theme.scss +2 -0
- package/core/styles/_variables.scss +1 -1
- package/core/styles/common/_select.scss +2 -1
- package/core/styles/theming/_components-theming.scss +116 -49
- package/core/styles/theming/_scrollbars-theme.scss +7 -2
- package/core/styles/theming/_theming.scss +200 -28
- package/core/styles/typography/_typography.scss +180 -5
- package/dropdown/_dropdown-theme.scss +1 -2
- package/esm2022/alert/alert.component.mjs +12 -12
- package/esm2022/alert/alert.module.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +6 -6
- package/esm2022/autocomplete/autocomplete.component.mjs +8 -8
- package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +71 -10
- package/esm2022/badge/badge.module.mjs +14 -10
- package/esm2022/button/button.component.mjs +16 -13
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.component.mjs +12 -12
- package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
- package/esm2022/card/card.component.mjs +5 -5
- package/esm2022/card/card.module.mjs +4 -4
- package/esm2022/checkbox/checkbox-module.mjs +4 -4
- package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2022/checkbox/checkbox.mjs +7 -7
- package/esm2022/code-block/actionbar.component.mjs +5 -5
- package/esm2022/code-block/code-block.component.mjs +14 -12
- package/esm2022/code-block/code-block.module.mjs +8 -8
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/common-module.mjs +7 -7
- package/esm2022/core/common-behaviors/error-state.mjs +1 -1
- package/esm2022/core/common-behaviors/index.mjs +3 -1
- package/esm2022/core/error/error-options.mjs +6 -6
- package/esm2022/core/formatters/date/formatter.mjs +5 -5
- package/esm2022/core/formatters/date/formatter.pipe.mjs +52 -52
- package/esm2022/core/formatters/index.mjs +7 -6
- package/esm2022/core/formatters/number/formatter.mjs +19 -19
- package/esm2022/core/forms/forms-module.mjs +4 -4
- package/esm2022/core/forms/forms.directive.mjs +8 -8
- package/esm2022/core/highlight/highlight.pipe.mjs +5 -5
- package/esm2022/core/highlight/index.mjs +4 -4
- package/esm2022/core/line/line.mjs +8 -8
- package/esm2022/core/locales/index.mjs +1 -3
- package/esm2022/core/locales/locale-service.mjs +5 -5
- package/esm2022/core/locales/locale-service.module.mjs +4 -4
- package/esm2022/core/option/action.mjs +9 -8
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option-module.mjs +4 -4
- package/esm2022/core/option/option.mjs +8 -8
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +6 -6
- package/esm2022/core/pop-up/pop-up.mjs +12 -5
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +6 -6
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2022/core/services/measure-scrollbar.service.mjs +6 -6
- package/esm2022/core/services/theme.service.mjs +5 -5
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +7 -7
- package/esm2022/core/utils/data-size/size.mjs +1 -1
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +4 -4
- package/esm2022/datepicker/calendar-header.component.mjs +5 -5
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +6 -6
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +4 -4
- package/esm2022/datepicker/datepicker-toggle.component.mjs +8 -8
- package/esm2022/datepicker/datepicker.component.mjs +10 -10
- package/esm2022/datepicker/month-view.component.mjs +6 -6
- package/esm2022/divider/divider.component.mjs +3 -3
- package/esm2022/divider/divider.module.mjs +4 -4
- package/esm2022/dl/dl.component.mjs +11 -11
- package/esm2022/dl/dl.module.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +6 -6
- package/esm2022/dropdown/dropdown-item.component.mjs +9 -8
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +6 -6
- package/esm2022/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +10 -10
- package/esm2022/file-upload/file-drop.mjs +43 -6
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +4 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +7 -7
- package/esm2022/file-upload/single-file-upload.component.mjs +7 -7
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +21 -15
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/hint.mjs +32 -10
- package/esm2022/form-field/password-hint.mjs +24 -21
- package/esm2022/form-field/password-toggle.mjs +6 -6
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +4 -4
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +17 -12
- package/esm2022/icon/icon-button.component.mjs +69 -0
- package/esm2022/icon/icon-item.component.mjs +28 -0
- package/esm2022/icon/icon.component.mjs +20 -93
- package/esm2022/icon/icon.module.mjs +8 -6
- package/esm2022/icon/public-api.mjs +3 -1
- package/esm2022/input/input-number-validators.mjs +7 -7
- package/esm2022/input/input-number.mjs +12 -9
- package/esm2022/input/input-password.mjs +6 -6
- package/esm2022/input/input.mjs +9 -9
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/link/link.component.mjs +16 -5
- package/esm2022/link/link.module.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +16 -16
- package/esm2022/list/list.component.mjs +9 -9
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +15 -15
- package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
- package/esm2022/markdown/markdown.component.mjs +5 -5
- package/esm2022/markdown/markdown.module.mjs +4 -4
- package/esm2022/markdown/markdown.service.mjs +3 -3
- package/esm2022/modal/css-unit.pipe.mjs +3 -3
- package/esm2022/modal/modal-control.service.mjs +6 -6
- package/esm2022/modal/modal.component.mjs +22 -13
- package/esm2022/modal/modal.directive.mjs +12 -12
- package/esm2022/modal/modal.module.mjs +4 -4
- package/esm2022/modal/modal.service.mjs +5 -5
- package/esm2022/navbar/navbar-item.component.mjs +61 -52
- package/esm2022/navbar/navbar.component.mjs +28 -17
- package/esm2022/navbar/navbar.module.mjs +4 -4
- package/esm2022/navbar/vertical-navbar.component.mjs +9 -8
- package/esm2022/popover/popover-confirm.component.mjs +11 -13
- package/esm2022/popover/popover.component.mjs +16 -11
- package/esm2022/popover/popover.module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.component.mjs +11 -11
- package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.component.mjs +12 -12
- package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +10 -10
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +4 -4
- package/esm2022/select/select-option.directive.mjs +6 -6
- package/esm2022/select/select.component.mjs +30 -26
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/sidebar/sidebar.component.mjs +11 -11
- package/esm2022/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +7 -7
- package/esm2022/sidepanel/sidepanel-directives.mjs +18 -18
- package/esm2022/sidepanel/sidepanel-ref.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel.service.mjs +6 -6
- package/esm2022/splitter/splitter.component.mjs +17 -17
- package/esm2022/splitter/splitter.module.mjs +4 -4
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +11 -11
- package/esm2022/tabs/tab-content.directive.mjs +4 -4
- package/esm2022/tabs/tab-group.component.mjs +21 -21
- package/esm2022/tabs/tab-header.component.mjs +7 -7
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +6 -5
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +12 -11
- package/esm2022/tabs/tab.component.mjs +5 -5
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tags/tag-input.mjs +6 -6
- package/esm2022/tags/tag-list.component.mjs +9 -8
- package/esm2022/tags/tag.component.mjs +16 -16
- package/esm2022/tags/tag.module.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +36 -25
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +6 -6
- package/esm2022/timepicker/timepicker.module.mjs +4 -4
- package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +5 -5
- package/esm2022/timezone/timezone-option.directive.mjs +5 -5
- package/esm2022/timezone/timezone-select.component.mjs +9 -9
- package/esm2022/timezone/timezone.module.mjs +4 -4
- package/esm2022/timezone/timezone.utils.mjs +1 -1
- package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2022/title/title.directive.mjs +6 -6
- package/esm2022/title/title.module.mjs +4 -4
- package/esm2022/toast/toast-animations.mjs +2 -1
- package/esm2022/toast/toast-container.component.mjs +22 -8
- package/esm2022/toast/toast.component.mjs +16 -10
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +7 -6
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/toggle.component.mjs +5 -5
- package/esm2022/toggle/toggle.module.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +23 -23
- package/esm2022/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/tree/control/base-tree-control.mjs +4 -4
- package/esm2022/tree/control/flat-tree-control.filters.mjs +47 -0
- package/esm2022/tree/control/flat-tree-control.mjs +27 -45
- package/esm2022/tree/control/nested-tree-control.mjs +1 -1
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/data-source/flat-data-source.mjs +1 -1
- package/esm2022/tree/node.mjs +5 -5
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.directive.mjs +6 -6
- package/esm2022/tree/public-api.mjs +2 -1
- package/esm2022/tree/toggle.mjs +12 -12
- package/esm2022/tree/tree-base.mjs +10 -10
- package/esm2022/tree/tree-option.component.mjs +12 -8
- package/esm2022/tree/tree-selection.component.mjs +6 -6
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +26 -18
- package/esm2022/tree-select/tree-select.module.mjs +9 -9
- package/fesm2022/koobiq-components-alert.mjs +16 -16
- package/fesm2022/koobiq-components-autocomplete.mjs +20 -20
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +83 -18
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +15 -15
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +19 -16
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +8 -8
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +13 -13
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +22 -21
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +199 -191
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +45 -45
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +7 -7
- package/fesm2022/koobiq-components-dl.mjs +14 -14
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +27 -26
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +9 -9
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +58 -21
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +109 -74
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +39 -23
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +34 -31
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +19 -8
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +27 -27
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +18 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +11 -11
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +49 -40
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +99 -78
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +30 -26
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +14 -14
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +15 -15
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +13 -13
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +7 -7
- package/fesm2022/koobiq-components-select.mjs +39 -35
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +14 -14
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +32 -32
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +20 -20
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +7 -7
- package/fesm2022/koobiq-components-tabs.mjs +71 -69
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +32 -31
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +39 -28
- package/fesm2022/koobiq-components-textarea.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 +28 -28
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +9 -9
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +44 -26
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +8 -8
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +26 -26
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +33 -25
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +132 -100
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +10 -1
- package/file-upload/file-drop.d.ts +2 -1
- package/file-upload/file-upload.d.ts +4 -1
- package/file-upload/multiple-file-upload.component.d.ts +2 -2
- package/file-upload/single-file-upload.component.d.ts +2 -2
- package/form-field/_form-field-theme.scss +8 -14
- package/form-field/_hint-theme.scss +5 -1
- package/form-field/form-field.d.ts +2 -0
- package/form-field/form-field.scss +12 -1
- package/form-field/hint.d.ts +4 -1
- package/form-field/hint.scss +10 -2
- package/form-field/password-hint.d.ts +7 -5
- package/icon/_icon-button-theme.scss +129 -0
- package/icon/_icon-item-theme.scss +41 -0
- package/icon/_icon-theme.scss +1 -222
- package/icon/icon-button.component.d.ts +23 -0
- package/icon/icon-button.scss +33 -0
- package/icon/icon-item.component.d.ts +11 -0
- package/icon/icon-item.scss +18 -0
- package/icon/icon.component.d.ts +4 -25
- package/icon/icon.module.d.ts +6 -4
- package/icon/icon.scss +0 -41
- package/icon/public-api.d.ts +2 -0
- package/input/input-number.d.ts +3 -2
- package/link/_link-theme.scss +97 -89
- package/link/link.component.d.ts +4 -1
- package/list/_list-theme.scss +1 -2
- package/list/list.scss +3 -3
- package/modal/_modal-confirm.scss +0 -24
- package/modal/modal.component.d.ts +3 -0
- package/modal/modal.scss +32 -15
- package/navbar/_navbar-theme.scss +8 -7
- package/navbar/navbar-item.component.d.ts +5 -2
- package/navbar/navbar-item.scss +7 -2
- package/navbar/navbar.component.d.ts +3 -0
- package/package.json +30 -30
- package/popover/popover-confirm.component.d.ts +0 -2
- package/popover/popover.component.d.ts +6 -1
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.scss +10 -5
- package/select/_select-theme.scss +6 -6
- package/select/select.component.d.ts +1 -1
- package/select/select.scss +7 -0
- package/splitter/_splitter-theme.scss +5 -4
- package/tabs/_tabs-common.scss +1 -1
- package/tabs/_tabs-theme.scss +2 -2
- package/tags/tag-list.scss +4 -0
- package/textarea/textarea.component.d.ts +4 -3
- package/toast/toast-animations.d.ts +1 -0
- package/toast/toast-container.component.d.ts +7 -3
- package/toast/toast.component.d.ts +2 -0
- package/toast/toast.service.d.ts +2 -0
- package/toast/toast.type.d.ts +1 -0
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tree/_tree-theme.scss +5 -5
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/flat-tree-control.d.ts +5 -3
- package/tree/control/flat-tree-control.filters.d.ts +26 -0
- package/tree/control/tree-control.d.ts +1 -1
- package/tree/public-api.d.ts +1 -0
- package/tree/tree-option.scss +4 -4
- package/tree-select/_tree-select-theme.scss +6 -4
- package/tree-select/tree-select.component.d.ts +9 -5
- package/tree-select/tree-select.module.d.ts +1 -1
- package/form-field/password-hint.scss +0 -11
|
@@ -135,7 +135,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
135
135
|
.kbq-single-file-upload,
|
|
136
136
|
.kbq-multiple-file-upload {
|
|
137
137
|
.kbq-file-upload__hint:not(.kbq-error) {
|
|
138
|
-
|
|
138
|
+
$form-field-hint: map.get(map.get($theme, components), form-field-hint);
|
|
139
|
+
|
|
140
|
+
color: map.get($form-field-hint, text);
|
|
139
141
|
}
|
|
140
142
|
}
|
|
141
143
|
}
|
|
@@ -184,5 +186,12 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
184
186
|
}
|
|
185
187
|
}
|
|
186
188
|
}
|
|
189
|
+
|
|
190
|
+
.kbq-single-file-upload,
|
|
191
|
+
.kbq-multiple-file-upload {
|
|
192
|
+
.kbq-file-upload__hint.kbq-hint .kbq-hint__text {
|
|
193
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-text));
|
|
194
|
+
}
|
|
195
|
+
}
|
|
187
196
|
}
|
|
188
197
|
/* stylelint-enable no-descending-specificity */
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { KbqFile } from './file-upload';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class KbqFileDropDirective {
|
|
4
5
|
dragover: boolean;
|
|
5
|
-
filesDropped: EventEmitter<FileList>;
|
|
6
|
+
filesDropped: EventEmitter<FileList | KbqFile[]>;
|
|
6
7
|
onDragOver(event: DragEvent): void;
|
|
7
8
|
onDragLeave(event: DragEvent): void;
|
|
8
9
|
onDrop(event: DragEvent): void;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
export interface KbqFile extends File {
|
|
4
|
+
fullPath: string;
|
|
5
|
+
}
|
|
3
6
|
export interface KbqFileItem {
|
|
4
7
|
file: File;
|
|
5
8
|
hasError?: boolean;
|
|
@@ -11,7 +14,7 @@ export interface KbqInputFile {
|
|
|
11
14
|
files: KbqFileItem[] | KbqFileItem | null;
|
|
12
15
|
accept?: string[];
|
|
13
16
|
onFileSelectedViaClick(event: Event): void;
|
|
14
|
-
onFileDropped(files: FileList): void;
|
|
17
|
+
onFileDropped(files: FileList | KbqFile[]): void;
|
|
15
18
|
}
|
|
16
19
|
export interface KbqInputFileLabel {
|
|
17
20
|
captionText: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
|
|
3
3
|
import { CanDisable } from '@koobiq/components/core';
|
|
4
|
-
import { KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
4
|
+
import { KbqFile, KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export interface KbqInputFileMultipleLabel extends KbqInputFileLabel {
|
|
7
7
|
captionTextWhenSelected: string;
|
|
@@ -40,7 +40,7 @@ export declare class KbqMultipleFileUploadComponent implements AfterViewInit, On
|
|
|
40
40
|
ngAfterViewInit(): void;
|
|
41
41
|
ngOnDestroy(): void;
|
|
42
42
|
onFileSelectedViaClick({ target }: Event): void;
|
|
43
|
-
onFileDropped(files: FileList): void;
|
|
43
|
+
onFileDropped(files: FileList | KbqFile[]): void;
|
|
44
44
|
deleteFile(index: number, event?: MouseEvent): void;
|
|
45
45
|
onFileListChange(): void;
|
|
46
46
|
onFocus(focusState: boolean): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
3
|
import { CanDisable } from '@koobiq/components/core';
|
|
4
|
-
import { KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
4
|
+
import { KbqFile, KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const KBQ_SINGLE_FILE_UPLOAD_DEFAULT_CONFIGURATION: KbqInputFileLabel;
|
|
7
7
|
export declare class KbqSingleFileUploadComponent implements AfterViewInit, OnDestroy, KbqInputFile, CanDisable {
|
|
@@ -25,7 +25,7 @@ export declare class KbqSingleFileUploadComponent implements AfterViewInit, OnDe
|
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
onFileSelectedViaClick({ target }: Event): void;
|
|
27
27
|
deleteItem(event?: MouseEvent): void;
|
|
28
|
-
onFileDropped(files: FileList): void;
|
|
28
|
+
onFileDropped(files: FileList | KbqFile[]): void;
|
|
29
29
|
onFocus(focusState: boolean): void;
|
|
30
30
|
private mapToFileItem;
|
|
31
31
|
private validateFile;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.kbq-input,
|
|
15
|
+
.kbq-tag-input,
|
|
15
16
|
.kbq-textarea {
|
|
16
17
|
color: map.get($state, text);
|
|
17
18
|
|
|
@@ -75,27 +76,20 @@
|
|
|
75
76
|
&.kbq-disabled {
|
|
76
77
|
@include kbq-form-field-state($disabled);
|
|
77
78
|
|
|
78
|
-
.kbq-icon
|
|
79
|
-
.kbq-input,
|
|
80
|
-
.kbq-textarea {
|
|
79
|
+
.kbq-icon {
|
|
81
80
|
color: map.get($disabled, text);
|
|
82
|
-
background: map.get($disabled, background);
|
|
83
81
|
-webkit-text-fill-color: map.get($disabled, text);
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
84
|
/* stylelint-enable no-descending-specificity */
|
|
87
85
|
}
|
|
88
86
|
|
|
89
|
-
.kbq-form-field__hint
|
|
90
|
-
|
|
87
|
+
.kbq-form-field__hint {
|
|
88
|
+
& > .kbq-hint:not(.kbq-password-hint, .kbq-contrast-fade, .kbq-success, .kbq-warning, .kbq-error) {
|
|
89
|
+
$form-field-hint: map.get(map.get($theme, components), form-field-hint);
|
|
91
90
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
.kbq-password-hint {
|
|
96
|
-
$password-hint: map.get(map.get($theme, components), form-field-password-hint);
|
|
97
|
-
|
|
98
|
-
color: map.get($password-hint, text-color);
|
|
91
|
+
color: map.get($form-field-hint, text);
|
|
92
|
+
}
|
|
99
93
|
}
|
|
100
94
|
}
|
|
101
95
|
|
|
@@ -106,7 +100,7 @@
|
|
|
106
100
|
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-font-text));
|
|
107
101
|
}
|
|
108
102
|
|
|
109
|
-
.kbq-form-field__hint > .kbq-hint .kbq-hint__text {
|
|
103
|
+
.kbq-form-field__hint > .kbq-hint:not(.kbq-password-hint) .kbq-hint__text {
|
|
110
104
|
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-text));
|
|
111
105
|
}
|
|
112
106
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
color: map.get($hint, text);
|
|
10
10
|
|
|
11
11
|
& .kbq-icon {
|
|
12
|
-
color: map.get($hint, icon);
|
|
12
|
+
color: map.get($hint, icon) !important;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -64,4 +64,8 @@
|
|
|
64
64
|
.kbq-hint .kbq-hint__text {
|
|
65
65
|
@include kbq-typography-level-to-styles($config, map.get($tokens, hint-font-normal-text));
|
|
66
66
|
}
|
|
67
|
+
|
|
68
|
+
.kbq-hint.kbq-hint_compact .kbq-hint__text {
|
|
69
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, hint-font-compact-text));
|
|
70
|
+
}
|
|
67
71
|
}
|
|
@@ -35,6 +35,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
35
35
|
hovered: boolean;
|
|
36
36
|
canCleanerClearByEsc: boolean;
|
|
37
37
|
private $unsubscribe;
|
|
38
|
+
get hasFocus(): boolean;
|
|
38
39
|
get hasHint(): boolean;
|
|
39
40
|
get hasSuffix(): boolean;
|
|
40
41
|
get hasPrefix(): boolean;
|
|
@@ -48,6 +49,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
48
49
|
ngAfterContentInit(): void;
|
|
49
50
|
ngAfterContentChecked(): void;
|
|
50
51
|
ngAfterViewInit(): void;
|
|
52
|
+
focusViaKeyboard(): void;
|
|
51
53
|
clearValue($event: any): void;
|
|
52
54
|
onContainerClick($event: any): void;
|
|
53
55
|
onKeyDown(event: KeyboardEvent): void;
|
|
@@ -70,6 +70,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
+
|
|
74
|
+
& + .kbq-password-hint {
|
|
75
|
+
margin-top: var(--kbq-size-m, map.get($tokens, size-m));
|
|
76
|
+
}
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
.kbq-form-field__container {
|
|
@@ -137,7 +141,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
137
141
|
flex-direction: column;
|
|
138
142
|
margin-top: var(--kbq-form-field-hint-size-margin-top, map.get($tokens, form-field-hint-size-margin-top));
|
|
139
143
|
|
|
140
|
-
|
|
144
|
+
& .kbq-password-hint:first-child {
|
|
145
|
+
margin-top: var(--kbq-size-s, map.get($tokens, size-s));
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.kbq-password-hint {
|
|
150
|
+
margin-top: var(--kbq-form-field-hint-size-gap, map.get($tokens, form-field-hint-size-gap));
|
|
141
151
|
}
|
|
142
152
|
|
|
153
|
+
|
|
143
154
|
/* stylelint-enable no-descending-specificity */
|
package/form-field/hint.d.ts
CHANGED
|
@@ -11,7 +11,10 @@ export declare const KbqHintMixinBase: CanColorCtor & typeof KbqHintBase;
|
|
|
11
11
|
export declare class KbqHint extends KbqHintMixinBase {
|
|
12
12
|
id: string;
|
|
13
13
|
fillTextOff: boolean;
|
|
14
|
+
get compact(): any;
|
|
15
|
+
set compact(value: any);
|
|
16
|
+
private _compact;
|
|
14
17
|
constructor(elementRef: ElementRef);
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqHint, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqHint, "kbq-hint", ["kbqHint"], { "color": { "alias": "color"; "required": false; }; "id": { "alias": "id"; "required": false; }; "fillTextOff": { "alias": "fillTextOff"; "required": false; }; }, {}, never, ["[kbq-icon]", "*"], false, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqHint, "kbq-hint", ["kbqHint"], { "color": { "alias": "color"; "required": false; }; "id": { "alias": "id"; "required": false; }; "fillTextOff": { "alias": "fillTextOff"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, {}, never, ["[kbq-icon]", "*"], false, never>;
|
|
17
20
|
}
|
package/form-field/hint.scss
CHANGED
|
@@ -7,9 +7,17 @@
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
9
9
|
.kbq-hint {
|
|
10
|
-
display:
|
|
10
|
+
display: flex;
|
|
11
11
|
|
|
12
12
|
& .kbq-icon {
|
|
13
|
-
margin-right: var(--kbq-hint-size-content-padding, map-get($tokens, hint-size-content-padding));
|
|
13
|
+
margin-right: var(--kbq-hint-size-normal-content-padding, map-get($tokens, hint-size-normal-content-padding));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.kbq-hint_compact {
|
|
17
|
+
& .kbq-icon {
|
|
18
|
+
margin-right: var(
|
|
19
|
+
--kbq-hint-size-compact-content-padding, map-get($tokens, hint-size-compact-content-padding)
|
|
20
|
+
);
|
|
21
|
+
}
|
|
14
22
|
}
|
|
15
23
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { KbqFormField } from './form-field';
|
|
3
|
+
import { KbqHint } from './hint';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare enum PasswordRules {
|
|
5
6
|
Length = 0,
|
|
@@ -16,7 +17,7 @@ export declare const regExpPasswordValidator: {
|
|
|
16
17
|
4: RegExp;
|
|
17
18
|
};
|
|
18
19
|
export declare const hasPasswordStrengthError: (passwordHints: QueryList<KbqPasswordHint>) => boolean;
|
|
19
|
-
export declare class KbqPasswordHint implements AfterContentInit {
|
|
20
|
+
export declare class KbqPasswordHint extends KbqHint implements AfterContentInit {
|
|
20
21
|
private changeDetectorRef;
|
|
21
22
|
private formField;
|
|
22
23
|
id: string;
|
|
@@ -26,19 +27,20 @@ export declare class KbqPasswordHint implements AfterContentInit {
|
|
|
26
27
|
regex: RegExp | null;
|
|
27
28
|
customCheckRule: (value: string) => boolean;
|
|
28
29
|
viewFormField?: KbqFormField;
|
|
30
|
+
fillTextOff: boolean;
|
|
29
31
|
hasError: boolean;
|
|
30
32
|
checked: boolean;
|
|
31
33
|
get icon(): string;
|
|
32
34
|
private checkRule;
|
|
33
35
|
private get control();
|
|
34
36
|
private lastControlValue;
|
|
35
|
-
constructor(changeDetectorRef: ChangeDetectorRef, formField: any);
|
|
37
|
+
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, formField: any);
|
|
36
38
|
ngAfterContentInit(): void;
|
|
37
39
|
private checkValue;
|
|
38
40
|
private checkLengthRule;
|
|
39
41
|
private checkRegexRule;
|
|
40
42
|
private checkSpecialSymbolsRegexRule;
|
|
41
43
|
private isValueChanged;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordHint, [null, { optional: true; }]>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordHint, "kbq-password-hint", never, { "id": { "alias": "id"; "required": false; }; "rule": { "alias": "rule"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "regex": { "alias": "regex"; "required": false; }; "customCheckRule": { "alias": "checkRule"; "required": false; }; "viewFormField": { "alias": "viewFormField"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordHint, [null, null, { optional: true; }]>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordHint, "kbq-password-hint", never, { "id": { "alias": "id"; "required": false; }; "rule": { "alias": "rule"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "regex": { "alias": "regex"; "required": false; }; "customCheckRule": { "alias": "checkRule"; "required": false; }; "viewFormField": { "alias": "viewFormField"; "required": false; }; "fillTextOff": { "alias": "fillTextOff"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
44
46
|
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use '../core/styles/theming/theming' as *;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@mixin kbq-icon-button-theme($themeObj) {
|
|
7
|
+
$icon-button: map.get(map.get($themeObj, components), icon-button);
|
|
8
|
+
|
|
9
|
+
$theme: map.get($icon-button, theme);
|
|
10
|
+
$contrast: map.get($icon-button, contrast);
|
|
11
|
+
$fade-contrast: map.get($icon-button, fade-contrast);
|
|
12
|
+
$error: map.get($icon-button, error);
|
|
13
|
+
$success: map.get($icon-button, success);
|
|
14
|
+
$warning: map.get($icon-button, warning);
|
|
15
|
+
|
|
16
|
+
.kbq-icon-button {
|
|
17
|
+
&:focus {
|
|
18
|
+
outline: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.kbq-theme {
|
|
22
|
+
color: map.get($theme, default);
|
|
23
|
+
|
|
24
|
+
&:active,
|
|
25
|
+
&.kbq-active {
|
|
26
|
+
color: map.get($theme, state-active);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:not(.kbq-disabled):hover {
|
|
30
|
+
color: map.get($theme, state-hover);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.kbq-disabled {
|
|
34
|
+
color: map.get($theme, state-disabled);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.kbq-contrast {
|
|
39
|
+
color: map.get($contrast, default);
|
|
40
|
+
|
|
41
|
+
&:active,
|
|
42
|
+
&.kbq-active {
|
|
43
|
+
color: map.get($contrast, state-active);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:not(.kbq-disabled):hover {
|
|
47
|
+
color: map.get($contrast, state-hover);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.kbq-disabled {
|
|
51
|
+
color: map.get($contrast, state-disabled);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.kbq-contrast-fade {
|
|
56
|
+
color: map.get($fade-contrast, default);
|
|
57
|
+
|
|
58
|
+
&:active,
|
|
59
|
+
&.kbq-active {
|
|
60
|
+
color: map.get($fade-contrast, state-active);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:not(.kbq-disabled):hover {
|
|
64
|
+
color: map.get($fade-contrast, state-hover);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.kbq-disabled {
|
|
68
|
+
color: map.get($fade-contrast, state-disabled);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.kbq-error {
|
|
73
|
+
color: map.get($error, default);
|
|
74
|
+
|
|
75
|
+
&:active,
|
|
76
|
+
&.kbq-active {
|
|
77
|
+
color: map.get($error, state-active);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:not(.kbq-disabled):hover {
|
|
81
|
+
color: map.get($error, state-hover);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.kbq-disabled {
|
|
85
|
+
color: map.get($error, state-disabled);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.kbq-success {
|
|
90
|
+
color: map.get($success, default);
|
|
91
|
+
|
|
92
|
+
&:active,
|
|
93
|
+
&.kbq-active {
|
|
94
|
+
color: map.get($success, state-active);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&:not(.kbq-disabled):hover {
|
|
98
|
+
color: map.get($success, state-hover);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.kbq-disabled {
|
|
102
|
+
color: map.get($success, state-disabled);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.kbq-warning {
|
|
107
|
+
color: map.get($warning, default);
|
|
108
|
+
|
|
109
|
+
&:active,
|
|
110
|
+
&.kbq-active {
|
|
111
|
+
color: map.get($warning, state-active);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:not(.kbq-disabled):hover {
|
|
115
|
+
color: map.get($warning, state-hover);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.kbq-disabled {
|
|
119
|
+
color: map.get($warning, state-disabled);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.cdk-keyboard-focused {
|
|
124
|
+
box-shadow:
|
|
125
|
+
inset 0 0 0 1px map.get(map.get($themeObj, states), focused-color),
|
|
126
|
+
0 0 0 1px map.get(map.get($themeObj, states), focused-color);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
@use '../core/styles/theming/theming' as *;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@mixin kbq-icon-item-theme($themeObj) {
|
|
7
|
+
$icon-item: map.get(map.get($themeObj, components), icon-item);
|
|
8
|
+
|
|
9
|
+
$theme: map.get($icon-item, theme);
|
|
10
|
+
$contrast: map.get($icon-item, contrast);
|
|
11
|
+
$fade-contrast: map.get($icon-item, fade-contrast);
|
|
12
|
+
$error: map.get($icon-item, error);
|
|
13
|
+
$success: map.get($icon-item, success);
|
|
14
|
+
|
|
15
|
+
.kbq-icon-item {
|
|
16
|
+
&.kbq-theme {
|
|
17
|
+
color: map.get($theme, color);
|
|
18
|
+
background: map.get($theme, background);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.kbq-contrast {
|
|
22
|
+
color: map.get($contrast, color);
|
|
23
|
+
background: map.get($contrast, background);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.kbq-contrast-fade {
|
|
27
|
+
color: map.get($fade-contrast, color);
|
|
28
|
+
background: map.get($fade-contrast, background);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.kbq-error {
|
|
32
|
+
color: map.get($error, color);
|
|
33
|
+
background: map.get($error, background);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.kbq-success {
|
|
37
|
+
color: map.get($success, color);
|
|
38
|
+
background: map.get($success, background);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
package/icon/_icon-theme.scss
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
$error: map.get($icon, error);
|
|
13
13
|
$success: map.get($icon, success);
|
|
14
14
|
|
|
15
|
-
.kbq-icon {
|
|
15
|
+
.kbq-icon:not(.kbq-icon-button, .kbq-icon-item) {
|
|
16
16
|
&.kbq-theme {
|
|
17
17
|
color: map.get($theme, color);
|
|
18
18
|
}
|
|
@@ -32,226 +32,5 @@
|
|
|
32
32
|
&.kbq-success {
|
|
33
33
|
color: map.get($success, color);
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
&.kbq-disabled {
|
|
37
|
-
cursor: default;
|
|
38
|
-
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@mixin kbq-icon-item-theme($themeObj) {
|
|
45
|
-
$icon-item: map.get(map.get($themeObj, components), icon-item);
|
|
46
|
-
|
|
47
|
-
$theme: map.get($icon-item, theme);
|
|
48
|
-
$contrast: map.get($icon-item, contrast);
|
|
49
|
-
$fade-contrast: map.get($icon-item, fade-contrast);
|
|
50
|
-
$error: map.get($icon-item, error);
|
|
51
|
-
$success: map.get($icon-item, success);
|
|
52
|
-
|
|
53
|
-
.kbq-icon-item {
|
|
54
|
-
&.kbq-theme {
|
|
55
|
-
color: map.get($theme, color);
|
|
56
|
-
background: map.get($theme, background);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&.kbq-contrast {
|
|
60
|
-
color: map.get($contrast, color);
|
|
61
|
-
background: map.get($contrast, background);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.kbq-contrast-fade {
|
|
65
|
-
color: map.get($fade-contrast, color);
|
|
66
|
-
background: map.get($fade-contrast, background);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.kbq-error {
|
|
70
|
-
color: map.get($error, color);
|
|
71
|
-
background: map.get($error, background);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&.kbq-success {
|
|
75
|
-
color: map.get($success, color);
|
|
76
|
-
background: map.get($success, background);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.kbq-disabled {
|
|
80
|
-
cursor: default;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@mixin kbq-icon-button-theme($themeObj) {
|
|
86
|
-
$icon-button: map.get(map.get($themeObj, components), icon-button);
|
|
87
|
-
|
|
88
|
-
$theme: map.get($icon-button, theme);
|
|
89
|
-
$contrast: map.get($icon-button, contrast);
|
|
90
|
-
$fade-contrast: map.get($icon-button, fade-contrast);
|
|
91
|
-
$error: map.get($icon-button, error);
|
|
92
|
-
$success: map.get($icon-button, success);
|
|
93
|
-
|
|
94
|
-
.kbq-icon_button {
|
|
95
|
-
&.kbq-theme {
|
|
96
|
-
&:active,
|
|
97
|
-
&.kbq-active {
|
|
98
|
-
color: map.get($theme, state-active);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&:not(.kbq-disabled):hover {
|
|
102
|
-
color: map.get($theme, state-hover);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&.kbq-disabled {
|
|
106
|
-
color: map.get($theme, state-disabled);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&.kbq-contrast {
|
|
111
|
-
&:active,
|
|
112
|
-
&.kbq-active {
|
|
113
|
-
color: map.get($contrast, state-active);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&:not(.kbq-disabled):hover {
|
|
117
|
-
color: map.get($contrast, state-hover);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&.kbq-disabled {
|
|
121
|
-
color: map.get($contrast, state-disabled);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&.kbq-contrast-fade {
|
|
126
|
-
&:active,
|
|
127
|
-
&.kbq-active {
|
|
128
|
-
color: map.get($fade-contrast, state-active);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&:not(.kbq-disabled):hover {
|
|
132
|
-
color: map.get($fade-contrast, state-hover);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&.kbq-disabled {
|
|
136
|
-
color: map.get($fade-contrast, state-disabled);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&.kbq-error {
|
|
141
|
-
&:active,
|
|
142
|
-
&.kbq-active {
|
|
143
|
-
color: map.get($error, state-active);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&:not(.kbq-disabled):hover {
|
|
147
|
-
color: map.get($error, state-hover);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&.kbq-disabled {
|
|
151
|
-
color: map.get($error, state-disabled);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&.kbq-success {
|
|
156
|
-
&:active,
|
|
157
|
-
&.kbq-active {
|
|
158
|
-
color: map.get($success, state-active);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&:not(.kbq-disabled):hover {
|
|
162
|
-
color: map.get($success, state-hover);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&.kbq-disabled {
|
|
166
|
-
color: map.get($success, state-disabled);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.kbq-icon.kbq-icon_button {
|
|
172
|
-
&.kbq-theme {
|
|
173
|
-
&:active,
|
|
174
|
-
&.kbq-active {
|
|
175
|
-
color: map.get($theme, state-active);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&:not(.kbq-disabled):hover {
|
|
179
|
-
color: map.get($theme, state-hover);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&.kbq-disabled {
|
|
183
|
-
color: map.get($theme, state-disabled);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&.kbq-contrast {
|
|
188
|
-
&:active,
|
|
189
|
-
&.kbq-active {
|
|
190
|
-
color: map.get($contrast, state-active);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&:not(.kbq-disabled):hover {
|
|
194
|
-
color: map.get($contrast, state-hover);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&.kbq-disabled {
|
|
198
|
-
color: map.get($contrast, state-disabled);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&.kbq-contrast-fade {
|
|
203
|
-
&:active,
|
|
204
|
-
&.kbq-active {
|
|
205
|
-
color: map.get($fade-contrast, state-active);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
&:not(.kbq-disabled):hover {
|
|
209
|
-
color: map.get($fade-contrast, state-hover);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
&.kbq-disabled {
|
|
213
|
-
color: map.get($fade-contrast, state-disabled);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
&.kbq-error {
|
|
218
|
-
&:active,
|
|
219
|
-
&.kbq-active {
|
|
220
|
-
color: map.get($error, state-active);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
&:not(.kbq-disabled):hover {
|
|
224
|
-
color: map.get($error, state-hover);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
&.kbq-disabled {
|
|
228
|
-
color: map.get($error, state-disabled);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
&.kbq-success {
|
|
233
|
-
&:active,
|
|
234
|
-
&.kbq-active {
|
|
235
|
-
color: map.get($success, state-active);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
&:not(.kbq-disabled):hover {
|
|
239
|
-
color: map.get($success, state-hover);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
&.kbq-disabled {
|
|
243
|
-
color: map.get($success, state-disabled);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
&:focus {
|
|
248
|
-
outline: none;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
&.cdk-keyboard-focused {
|
|
252
|
-
box-shadow:
|
|
253
|
-
inset 0 0 0 1px map.get(map.get($themeObj, states), focused-color),
|
|
254
|
-
0 0 0 1px map.get(map.get($themeObj, states), focused-color);
|
|
255
|
-
}
|
|
256
35
|
}
|
|
257
36
|
}
|