@koobiq/components 17.0.0-rc.1 → 17.0.0-rc.11
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/README.md +1 -2
- package/alert/_alert-theme.scss +48 -24
- package/alert/alert.component.d.ts +23 -3
- package/alert/alert.component.scss +91 -59
- package/alert/public-api.d.ts +1 -1
- package/autocomplete/_autocomplete-theme.scss +3 -3
- package/autocomplete/autocomplete.scss +8 -18
- package/autocomplete/public-api.d.ts +2 -2
- package/badge/_badge-theme.scss +30 -45
- package/badge/badge.component.scss +18 -39
- package/badge/public-api.d.ts +1 -1
- package/button/_button-base.scss +7 -14
- package/button/_button-theme.scss +30 -86
- package/button/button.component.d.ts +4 -3
- package/button/button.scss +7 -17
- package/button/public-api.d.ts +1 -1
- package/button-toggle/_button-toggle-theme.scss +19 -20
- package/button-toggle/button-toggle.scss +17 -44
- package/button-toggle/public-api.d.ts +1 -1
- package/card/_card-theme.scss +18 -17
- package/card/card.component.d.ts +1 -1
- package/card/card.component.scss +3 -6
- package/card/public-api.d.ts +1 -1
- package/checkbox/_checkbox-theme.scss +50 -50
- package/checkbox/checkbox.scss +31 -35
- package/code-block/README.md +18 -14
- package/code-block/_code-block-theme.scss +53 -23
- package/code-block/actionbar.component.scss +11 -25
- package/code-block/code-block.component.d.ts +12 -4
- package/code-block/code-block.scss +62 -77
- package/code-block/public-api.d.ts +1 -1
- package/core/animation/index.d.ts +1 -1
- package/core/common-behaviors/index.d.ts +3 -3
- package/core/datetime/index.d.ts +1 -1
- package/core/form-field/form-field-ref.d.ts +2 -0
- package/core/formatters/index.d.ts +1 -1
- package/core/forms/_forms-theme.scss +4 -8
- package/core/forms/_forms.scss +13 -43
- package/core/forms/index.d.ts +1 -1
- package/core/locales/formatters.d.ts +96 -0
- package/core/locales/index.d.ts +1 -1
- package/core/locales/locale-service.d.ts +97 -0
- package/core/option/_optgroup-theme.scss +4 -6
- package/core/option/_option-action-theme.scss +8 -11
- package/core/option/_option-theme.scss +15 -20
- package/core/option/index.d.ts +2 -2
- package/core/option/optgroup.scss +2 -3
- package/core/option/option.scss +0 -1
- package/core/pop-up/_pop-up.scss +0 -1
- package/core/pop-up/pop-up-trigger.d.ts +4 -2
- package/core/public-api.d.ts +3 -3
- package/core/select/common.d.ts +35 -0
- package/core/select/constants.d.ts +1 -1
- package/core/select/index.d.ts +3 -2
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +15 -19
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +9 -9
- package/core/services/theme.service.d.ts +3 -2
- package/core/styles/_core.scss +0 -1
- package/core/styles/_koobiq-theme.scss +5 -3
- package/core/styles/common/_animation.scss +9 -8
- package/core/styles/common/_button.scss +0 -2
- package/core/styles/common/_clearfix.scss +1 -1
- package/core/styles/common/_groups.scss +3 -9
- package/core/styles/common/_list.scss +24 -66
- package/core/styles/common/_overlay.scss +4 -3
- package/core/styles/common/_popup.scss +5 -5
- package/core/styles/common/_rtl.scss +4 -4
- package/core/styles/common/_select.scss +48 -42
- package/core/styles/common/_tokens.scss +47 -0
- package/core/styles/functions/_number.scss +14 -19
- package/core/styles/functions/_string.scss +18 -19
- package/core/styles/functions/_timing.scss +24 -24
- package/core/styles/theming/_components-theming.scss +1322 -1326
- package/core/styles/theming/_scrollbar-theme.scss +8 -5
- package/core/styles/theming/_theming.scss +26 -29
- package/core/styles/typography/_typography-utils.scss +1 -2
- package/core/styles/typography/_typography.scss +138 -85
- package/core/styles/visual/_body.scss +0 -2
- package/core/styles/visual/_layout.scss +44 -38
- package/core/utils/data-size/config.d.ts +20 -2
- package/core/utils/data-size/data-size.pipe.d.ts +10 -9
- package/core/utils/data-size/index.d.ts +1 -1
- package/core/utils/data-size/size.d.ts +3 -4
- package/core/utils/public-api.d.ts +1 -1
- package/datepicker/_datepicker-theme.scss +38 -40
- package/datepicker/calendar-body.scss +3 -11
- package/datepicker/calendar-header.scss +4 -10
- package/datepicker/calendar.scss +5 -17
- package/datepicker/datepicker-content.scss +5 -15
- package/datepicker/datepicker-input.directive.d.ts +1 -0
- package/datepicker/datepicker-input.scss +0 -5
- package/datepicker/datepicker-toggle.scss +3 -3
- package/datepicker/public-api.d.ts +4 -4
- package/divider/_divider-theme.scss +2 -1
- package/divider/divider.scss +9 -26
- package/dl/_dl-theme.scss +5 -8
- package/dl/dl.scss +5 -20
- package/dl/public-api.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +30 -22
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +12 -16
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +6 -15
- package/dropdown/public-api.d.ts +5 -5
- package/ellipsis-center/ellipsis-center.directive.d.ts +4 -3
- package/empty-state/README.md +0 -0
- package/empty-state/_empty-state-theme.scss +56 -0
- package/empty-state/empty-state.component.d.ts +31 -0
- package/empty-state/empty-state.module.d.ts +10 -0
- package/empty-state/empty-state.scss +81 -0
- package/empty-state/index.d.ts +1 -0
- package/empty-state/public-api.d.ts +2 -0
- package/esm2022/alert/alert.component.mjs +52 -5
- package/esm2022/alert/alert.module.mjs +1 -1
- package/esm2022/alert/public-api.mjs +2 -2
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +1 -1
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +23 -31
- package/esm2022/autocomplete/autocomplete.component.mjs +14 -9
- package/esm2022/autocomplete/autocomplete.module.mjs +3 -3
- package/esm2022/autocomplete/public-api.mjs +3 -3
- package/esm2022/badge/badge.component.mjs +8 -6
- package/esm2022/badge/badge.module.mjs +1 -1
- package/esm2022/badge/public-api.mjs +2 -2
- package/esm2022/button/button.component.mjs +20 -10
- package/esm2022/button/button.module.mjs +1 -1
- package/esm2022/button/public-api.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +24 -16
- package/esm2022/button-toggle/button-toggle.module.mjs +1 -1
- package/esm2022/button-toggle/public-api.mjs +2 -2
- package/esm2022/card/card.component.mjs +2 -2
- package/esm2022/card/card.module.mjs +1 -1
- package/esm2022/card/public-api.mjs +2 -2
- package/esm2022/checkbox/checkbox-config.mjs +1 -1
- package/esm2022/checkbox/checkbox-module.mjs +1 -1
- package/esm2022/checkbox/checkbox-required-validator.mjs +1 -1
- package/esm2022/checkbox/checkbox.mjs +6 -6
- package/esm2022/checkbox/public-api.mjs +1 -1
- package/esm2022/code-block/actionbar.component.mjs +4 -6
- package/esm2022/code-block/code-block.component.mjs +64 -17
- package/esm2022/code-block/code-block.module.mjs +9 -5
- package/esm2022/code-block/public-api.mjs +2 -2
- package/esm2022/core/animation/fade-animations.mjs +1 -1
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +5 -5
- package/esm2022/core/common-behaviors/color.mjs +4 -2
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/common-behaviors/constructor.mjs +1 -1
- package/esm2022/core/common-behaviors/disabled.mjs +1 -1
- package/esm2022/core/common-behaviors/error-state.mjs +1 -1
- package/esm2022/core/common-behaviors/index.mjs +4 -4
- package/esm2022/core/common-behaviors/tabindex.mjs +1 -1
- package/esm2022/core/datetime/date-adapter.mjs +1 -1
- package/esm2022/core/datetime/date-formats.mjs +1 -1
- package/esm2022/core/datetime/index.mjs +2 -2
- package/esm2022/core/error/error-options.mjs +1 -1
- package/esm2022/core/form-field/form-field-ref.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.pipe.mjs +1 -1
- package/esm2022/core/formatters/index.mjs +2 -2
- package/esm2022/core/formatters/number/formatter.mjs +19 -20
- package/esm2022/core/forms/forms-module.mjs +1 -1
- package/esm2022/core/forms/forms.directive.mjs +1 -1
- package/esm2022/core/forms/index.mjs +2 -2
- package/esm2022/core/highlight/highlight.pipe.mjs +1 -1
- package/esm2022/core/highlight/index.mjs +1 -1
- package/esm2022/core/label/label-options.mjs +1 -1
- package/esm2022/core/line/line.mjs +2 -2
- package/esm2022/core/locales/en-US.mjs +1 -1
- package/esm2022/core/locales/es-LA.mjs +1 -1
- package/esm2022/core/locales/fa-IR.mjs +1 -1
- package/esm2022/core/locales/formatters.mjs +97 -1
- package/esm2022/core/locales/index.mjs +2 -2
- package/esm2022/core/locales/locale-service.mjs +10 -4
- package/esm2022/core/locales/locale-service.module.mjs +1 -1
- package/esm2022/core/locales/pt-BR.mjs +1 -1
- package/esm2022/core/locales/ru-RU.mjs +3 -3
- package/esm2022/core/locales/zh-CN.mjs +1 -1
- package/esm2022/core/option/action.mjs +20 -12
- package/esm2022/core/option/index.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option-module.mjs +1 -1
- package/esm2022/core/option/option.mjs +13 -7
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +29 -30
- package/esm2022/core/pop-up/pop-up.mjs +1 -1
- package/esm2022/core/public-api.mjs +4 -4
- package/esm2022/core/select/common.mjs +120 -0
- package/esm2022/core/select/constants.mjs +1 -1
- package/esm2022/core/select/index.mjs +4 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +1 -1
- package/esm2022/core/services/measure-scrollbar.service.mjs +1 -1
- package/esm2022/core/services/theme.service.mjs +5 -4
- package/esm2022/core/title/title-text-ref.mjs +1 -1
- package/esm2022/core/utils/data-size/config.mjs +5 -17
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +35 -22
- package/esm2022/core/utils/data-size/index.mjs +2 -2
- package/esm2022/core/utils/data-size/size.mjs +7 -14
- package/esm2022/core/utils/public-api.mjs +2 -2
- package/esm2022/core/utils/utils.mjs +4 -2
- package/esm2022/core/validation/validation.mjs +4 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +8 -7
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +2 -2
- package/esm2022/datepicker/datepicker-errors.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +42 -34
- package/esm2022/datepicker/datepicker-intl.mjs +1 -1
- package/esm2022/datepicker/datepicker-module.mjs +2 -2
- package/esm2022/datepicker/datepicker-toggle.component.mjs +11 -10
- package/esm2022/datepicker/datepicker.component.mjs +15 -15
- package/esm2022/datepicker/month-view.component.mjs +14 -13
- package/esm2022/datepicker/public-api.mjs +5 -5
- package/esm2022/divider/divider.component.mjs +1 -1
- package/esm2022/divider/divider.module.mjs +1 -1
- package/esm2022/dl/dl.component.mjs +1 -1
- package/esm2022/dl/dl.module.mjs +2 -2
- package/esm2022/dl/public-api.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +5 -5
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +25 -31
- package/esm2022/dropdown/dropdown.component.mjs +10 -18
- package/esm2022/dropdown/dropdown.module.mjs +1 -1
- package/esm2022/dropdown/dropdown.types.mjs +1 -1
- package/esm2022/dropdown/public-api.mjs +6 -6
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +9 -7
- package/esm2022/empty-state/empty-state.component.mjs +104 -0
- package/esm2022/empty-state/empty-state.module.mjs +50 -0
- package/esm2022/empty-state/index.mjs +2 -0
- package/esm2022/empty-state/koobiq-components-empty-state.mjs +5 -0
- package/esm2022/empty-state/public-api.mjs +3 -0
- package/esm2022/file-upload/file-drop.mjs +2 -2
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +12 -6
- package/esm2022/file-upload/index.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +96 -29
- package/esm2022/file-upload/public-api.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +100 -25
- package/esm2022/form-field/cleaner.mjs +13 -3
- package/esm2022/form-field/form-field-control.mjs +1 -1
- package/esm2022/form-field/form-field-errors.mjs +1 -1
- package/esm2022/form-field/form-field.mjs +8 -13
- package/esm2022/form-field/form-field.module.mjs +1 -1
- package/esm2022/form-field/hint.mjs +4 -4
- package/esm2022/form-field/password-hint.mjs +15 -15
- package/esm2022/form-field/password-toggle.mjs +14 -15
- package/esm2022/form-field/prefix.mjs +1 -1
- package/esm2022/form-field/public-api.mjs +4 -4
- package/esm2022/form-field/stepper.mjs +33 -29
- package/esm2022/form-field/suffix.mjs +1 -1
- package/esm2022/form-field/validate.directive.mjs +6 -5
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/icon/icon-item.component.mjs +16 -6
- package/esm2022/icon/icon.component.mjs +3 -4
- package/esm2022/icon/icon.module.mjs +1 -1
- package/esm2022/icon/public-api.mjs +3 -3
- package/esm2022/input/input-number-validators.mjs +1 -1
- package/esm2022/input/input-number.mjs +35 -36
- package/esm2022/input/input-password.mjs +13 -7
- package/esm2022/input/input-value-accessor.mjs +1 -1
- package/esm2022/input/input.mjs +13 -7
- package/esm2022/input/input.module.mjs +1 -1
- package/esm2022/input/public-api.mjs +3 -3
- package/esm2022/link/link.component.mjs +2 -2
- package/esm2022/link/link.module.mjs +1 -1
- package/esm2022/link/public-api.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +34 -36
- package/esm2022/list/list.component.mjs +3 -3
- package/esm2022/list/list.module.mjs +2 -2
- package/esm2022/list/public-api.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.module.mjs +1 -1
- package/esm2022/loader-overlay/public-api.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +22 -8
- package/esm2022/markdown/markdown.module.mjs +1 -1
- package/esm2022/markdown/markdown.service.mjs +1 -1
- package/esm2022/modal/css-unit.pipe.mjs +1 -1
- package/esm2022/modal/modal-control.service.mjs +3 -2
- package/esm2022/modal/modal-ref.class.mjs +1 -1
- package/esm2022/modal/modal-util.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +54 -32
- package/esm2022/modal/modal.directive.mjs +27 -11
- package/esm2022/modal/modal.module.mjs +2 -2
- package/esm2022/modal/modal.service.mjs +3 -2
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/modal/public-api.mjs +3 -3
- package/esm2022/navbar/index.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +47 -38
- package/esm2022/navbar/navbar.component.mjs +19 -28
- package/esm2022/navbar/navbar.module.mjs +2 -2
- package/esm2022/navbar/public-api.mjs +3 -3
- package/esm2022/navbar/vertical-navbar.component.mjs +17 -18
- package/esm2022/popover/popover-animations.mjs +1 -1
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +5 -5
- package/esm2022/popover/popover.module.mjs +1 -1
- package/esm2022/popover/public-api.mjs +3 -3
- package/esm2022/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.module.mjs +2 -2
- package/esm2022/progress-bar/public-api.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.component.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.module.mjs +1 -1
- package/esm2022/progress-spinner/public-api.mjs +2 -2
- package/esm2022/radio/public-api.mjs +2 -2
- package/esm2022/radio/radio.component.mjs +9 -10
- package/esm2022/radio/radio.module.mjs +1 -1
- package/esm2022/risk-level/public-api.mjs +2 -2
- package/esm2022/risk-level/risk-level.component.mjs +1 -1
- package/esm2022/risk-level/risk-level.module.mjs +1 -1
- package/esm2022/scrollbar/public-api.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +15 -13
- package/esm2022/scrollbar/scrollbar.directive.mjs +3 -3
- package/esm2022/scrollbar/scrollbar.module.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.types.mjs +3 -2
- package/esm2022/select/public-api.mjs +3 -3
- package/esm2022/select/select-option.directive.mjs +14 -9
- package/esm2022/select/select.component.mjs +92 -172
- package/esm2022/select/select.module.mjs +28 -28
- package/esm2022/sidebar/public-api.mjs +2 -2
- package/esm2022/sidebar/sidebar-animations.mjs +1 -1
- package/esm2022/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/sidebar/sidebar.module.mjs +1 -1
- package/esm2022/sidepanel/public-api.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-animations.mjs +7 -3
- package/esm2022/sidepanel/sidepanel-config.mjs +1 -1
- package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-directives.mjs +30 -16
- package/esm2022/sidepanel/sidepanel-ref.mjs +10 -4
- package/esm2022/sidepanel/sidepanel.module.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.service.mjs +11 -14
- package/esm2022/splitter/public-api.mjs +2 -2
- package/esm2022/splitter/splitter.component.mjs +45 -35
- package/esm2022/splitter/splitter.module.mjs +1 -1
- package/esm2022/table/public-api.mjs +2 -2
- package/esm2022/table/table.component.mjs +29 -6
- package/esm2022/table/table.module.mjs +14 -6
- package/esm2022/tabs/paginated-tab-header.mjs +8 -11
- package/esm2022/tabs/public-api.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +9 -9
- package/esm2022/tabs/tab-content.directive.mjs +1 -1
- package/esm2022/tabs/tab-group.component.mjs +61 -21
- package/esm2022/tabs/tab-header.component.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +1 -1
- package/esm2022/tabs/tab-label.directive.mjs +1 -1
- package/esm2022/tabs/tab-nav-bar/index.mjs +1 -1
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +4 -4
- package/esm2022/tabs/tab.component.mjs +4 -6
- package/esm2022/tabs/tabs-animations.mjs +1 -1
- package/esm2022/tabs/tabs.module.mjs +2 -2
- package/esm2022/tags/public-api.mjs +5 -5
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +26 -14
- package/esm2022/tags/tag-list.component.mjs +14 -20
- package/esm2022/tags/tag-text-control.mjs +1 -1
- package/esm2022/tags/tag.component.mjs +6 -8
- package/esm2022/tags/tag.module.mjs +9 -5
- package/esm2022/textarea/index.mjs +1 -1
- package/esm2022/textarea/textarea.component.mjs +15 -15
- package/esm2022/textarea/textarea.module.mjs +1 -1
- package/esm2022/timepicker/public-api.mjs +2 -2
- package/esm2022/timepicker/timepicker.constants.mjs +6 -1
- package/esm2022/timepicker/timepicker.directive.mjs +72 -28
- package/esm2022/timepicker/timepicker.module.mjs +1 -1
- package/esm2022/timezone/cities-by-filter.pipe.mjs +1 -1
- package/esm2022/timezone/timezone-option.component.mjs +12 -11
- package/esm2022/timezone/timezone-option.directive.mjs +9 -7
- package/esm2022/timezone/timezone-select.component.mjs +7 -7
- package/esm2022/timezone/timezone.module.mjs +1 -1
- package/esm2022/timezone/timezone.utils.mjs +5 -9
- package/esm2022/timezone/utc-offset.pipe.mjs +1 -1
- package/esm2022/title/public-api.mjs +2 -2
- package/esm2022/title/title.directive.mjs +11 -8
- package/esm2022/title/title.module.mjs +1 -1
- package/esm2022/toast/public-api.mjs +4 -4
- package/esm2022/toast/toast-animations.mjs +2 -2
- package/esm2022/toast/toast-container.component.mjs +5 -6
- package/esm2022/toast/toast.component.mjs +6 -6
- package/esm2022/toast/toast.module.mjs +1 -1
- package/esm2022/toast/toast.service.mjs +26 -37
- package/esm2022/toast/toast.type.mjs +3 -1
- package/esm2022/toggle/public-api.mjs +2 -2
- package/esm2022/toggle/toggle.component.mjs +17 -9
- package/esm2022/toggle/toggle.module.mjs +1 -1
- package/esm2022/tooltip/public-api.mjs +2 -2
- package/esm2022/tooltip/tooltip.animations.mjs +1 -1
- package/esm2022/tooltip/tooltip.component.mjs +32 -16
- package/esm2022/tooltip/tooltip.module.mjs +2 -2
- package/esm2022/tree/control/base-tree-control.mjs +1 -1
- package/esm2022/tree/control/flat-tree-control.filters.mjs +4 -7
- package/esm2022/tree/control/flat-tree-control.mjs +4 -7
- 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 +3 -8
- package/esm2022/tree/data-source/nested-data-source.mjs +2 -3
- package/esm2022/tree/node.mjs +1 -1
- package/esm2022/tree/outlet.mjs +1 -1
- package/esm2022/tree/padding.directive.mjs +5 -6
- package/esm2022/tree/public-api.mjs +11 -11
- package/esm2022/tree/toggle.mjs +8 -5
- package/esm2022/tree/tree-base.mjs +4 -4
- package/esm2022/tree/tree-errors.mjs +1 -1
- package/esm2022/tree/tree-option.component.mjs +9 -13
- package/esm2022/tree/tree-selection.component.mjs +19 -33
- package/esm2022/tree/tree.mjs +7 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/public-api.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +73 -98
- package/esm2022/tree-select/tree-select.module.mjs +31 -11
- package/fesm2022/koobiq-components-alert.mjs +55 -8
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +58 -61
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +10 -8
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +28 -20
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +22 -12
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +2 -2
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -3
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +75 -27
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +623 -397
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +101 -90
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +3 -3
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +127 -141
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +5 -4
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +157 -0
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -0
- package/fesm2022/koobiq-components-file-upload.mjs +207 -62
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +88 -81
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +17 -8
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +62 -51
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +1 -1
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +39 -41
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +7 -7
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +20 -6
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +88 -49
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +84 -85
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +12 -12
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +5 -5
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +5 -5
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +11 -12
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +2 -2
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +17 -14
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +136 -212
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +3 -3
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +108 -87
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +46 -36
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +42 -11
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +87 -52
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +53 -46
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +13 -13
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +79 -30
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +23 -25
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +13 -10
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +86 -95
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +17 -9
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +33 -18
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +110 -114
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +509 -533
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +124 -73
- package/file-upload/file-upload.module.d.ts +11 -10
- package/file-upload/file-upload.scss +0 -6
- package/file-upload/multiple-file-upload.component.d.ts +37 -7
- package/file-upload/multiple-file-upload.component.scss +50 -120
- package/file-upload/public-api.d.ts +1 -1
- package/file-upload/single-file-upload.component.d.ts +37 -7
- package/file-upload/single-file-upload.component.scss +12 -33
- package/form-field/_form-field-theme.scss +46 -36
- package/form-field/_hint-theme.scss +15 -20
- package/form-field/cleaner.scss +3 -9
- package/form-field/form-field.scss +23 -26
- package/form-field/hint.scss +5 -8
- package/form-field/password-toggle.d.ts +3 -2
- package/form-field/password-toggle.scss +3 -10
- package/form-field/public-api.d.ts +3 -3
- package/form-field/stepper.scss +4 -11
- package/icon/_icon-button-theme.scss +47 -36
- package/icon/_icon-item-theme.scss +47 -26
- package/icon/_icon-theme.scss +12 -14
- package/icon/icon-button.scss +5 -20
- package/icon/icon-item.component.d.ts +3 -1
- package/icon/icon-item.scss +10 -8
- package/icon/icon.scss +0 -6
- package/icon/public-api.d.ts +2 -2
- package/input/_input-theme.scss +6 -4
- package/input/input.scss +11 -10
- package/input/public-api.d.ts +2 -2
- package/link/_link-theme.scss +32 -49
- package/link/link.component.d.ts +1 -1
- package/link/public-api.d.ts +1 -1
- package/list/_list-theme.scss +21 -19
- package/list/list-selection.component.d.ts +2 -2
- package/list/list.scss +2 -6
- package/list/public-api.d.ts +2 -2
- package/loader-overlay/_loader-overlay-theme.scss +17 -18
- package/loader-overlay/loader-overlay.scss +9 -33
- package/loader-overlay/public-api.d.ts +1 -1
- package/markdown/_markdown-theme.scss +47 -47
- package/markdown/markdown.scss +41 -91
- package/modal/README.md +4 -3
- package/modal/_modal-animation.scss +0 -1
- package/modal/_modal-confirm.scss +2 -7
- package/modal/_modal-theme.scss +11 -13
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.directive.d.ts +3 -3
- package/modal/modal.scss +15 -31
- package/modal/modal.type.d.ts +2 -2
- package/modal/public-api.d.ts +2 -2
- package/navbar/README.md +21 -20
- package/navbar/_navbar-item_horizontal.scss +40 -33
- package/navbar/_navbar-item_vertical.scss +31 -33
- package/navbar/_navbar-theme.scss +20 -24
- package/navbar/navbar-brand.scss +24 -27
- package/navbar/navbar-divider.scss +4 -8
- package/navbar/navbar-item.component.d.ts +4 -4
- package/navbar/navbar-item.scss +20 -15
- package/navbar/navbar.scss +2 -6
- package/navbar/public-api.d.ts +2 -2
- package/navbar/vertical-navbar.scss +4 -6
- package/package.json +17 -10
- package/popover/README.md +18 -14
- package/popover/_popover-theme.scss +9 -17
- package/popover/popover.component.d.ts +1 -1
- package/popover/popover.scss +15 -29
- package/popover/public-api.d.ts +2 -2
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +7 -11
- package/progress-bar/progress-bar.scss +6 -19
- package/progress-bar/public-api.d.ts +1 -1
- package/progress-spinner/_progress-spinner-theme.scss +6 -8
- package/progress-spinner/progress-spinner.scss +8 -18
- package/progress-spinner/public-api.d.ts +1 -1
- package/radio/_radio-theme.scss +37 -37
- package/radio/public-api.d.ts +1 -1
- package/radio/radio.scss +35 -40
- package/risk-level/_risk-level-theme.scss +25 -31
- package/risk-level/public-api.d.ts +1 -1
- package/risk-level/risk-level.component.scss +4 -10
- package/schematics/collection.json +11 -0
- package/schematics/ng-add/index.js +70 -0
- package/schematics/ng-add/schema.json +15 -0
- package/scrollbar/_scrollbar-component-theme.scss +15 -19
- package/scrollbar/public-api.d.ts +1 -1
- package/scrollbar/scrollbar.component.scss +68 -63
- package/scrollbar/scrollbar.directive.d.ts +1 -1
- package/scrollbar/scrollbar.types.d.ts +1 -1
- package/select/_select-theme.scss +14 -16
- package/select/public-api.d.ts +2 -2
- package/select/select-option.directive.d.ts +3 -2
- package/select/select.component.d.ts +12 -33
- package/select/select.module.d.ts +1 -1
- package/select/select.scss +3 -11
- package/sidebar/public-api.d.ts +1 -1
- package/sidepanel/_sidepanel-theme.scss +8 -10
- package/sidepanel/public-api.d.ts +3 -3
- package/sidepanel/sidepanel.scss +20 -37
- package/splitter/_splitter-theme.scss +5 -6
- package/splitter/public-api.d.ts +1 -1
- package/splitter/splitter.component.d.ts +10 -5
- package/splitter/splitter.scss +0 -1
- package/table/_table-theme.scss +16 -15
- package/table/public-api.d.ts +1 -1
- package/table/table.component.d.ts +8 -1
- package/table/table.module.d.ts +1 -1
- package/table/table.scss +41 -42
- package/tabs/_tabs-common.scss +13 -15
- package/tabs/_tabs-theme.scss +76 -44
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/public-api.d.ts +5 -5
- package/tabs/tab-body.component.d.ts +4 -4
- package/tabs/tab-group.component.d.ts +10 -4
- package/tabs/tab-group.scss +2 -8
- package/tabs/tab-header.scss +0 -10
- package/tabs/tab-nav-bar/tab-nav-bar.scss +2 -9
- package/tags/_tag-theme.scss +22 -27
- package/tags/public-api.d.ts +4 -4
- package/tags/tag-default-options.d.ts +1 -0
- package/tags/tag-input.d.ts +8 -2
- package/tags/tag-list.scss +15 -12
- package/tags/tag.component.d.ts +1 -1
- package/tags/tag.scss +5 -11
- package/textarea/_textarea-theme.scss +2 -5
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea/textarea.scss +5 -10
- package/timepicker/public-api.d.ts +1 -1
- package/timepicker/timepicker.constants.d.ts +2 -0
- package/timepicker/timepicker.directive.d.ts +11 -4
- package/timepicker/timepicker.scss +2 -8
- package/timezone/_timezone-option-theme.scss +8 -10
- package/timezone/timezone-option.component.scss +5 -8
- package/timezone/timezone-option.directive.d.ts +4 -3
- package/timezone/timezone-select.component.d.ts +2 -1
- package/timezone/timezone-select.component.scss +2 -4
- package/timezone/timezone.utils.d.ts +1 -1
- package/title/public-api.d.ts +1 -1
- package/title/title.directive.d.ts +0 -1
- package/toast/_toast-theme.scss +20 -16
- package/toast/public-api.d.ts +3 -3
- package/toast/toast-container.component.scss +5 -6
- package/toast/toast.component.scss +28 -29
- package/toast/toast.service.d.ts +9 -5
- package/toast/toast.type.d.ts +3 -1
- package/toggle/_toggle-theme.scss +49 -42
- package/toggle/public-api.d.ts +1 -1
- package/toggle/toggle.scss +9 -22
- package/tooltip/_tooltip-theme.scss +12 -16
- package/tooltip/public-api.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +14 -10
- package/tooltip/tooltip.scss +7 -13
- package/tree/_tree-theme.scss +20 -23
- package/tree/public-api.d.ts +10 -10
- package/tree/toggle.scss +3 -6
- package/tree/tree-base.d.ts +2 -2
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +17 -14
- package/tree/tree-selection.component.d.ts +2 -1
- package/tree-select/_tree-select-theme.scss +12 -15
- package/tree-select/public-api.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +13 -20
- package/tree-select/tree-select.module.d.ts +1 -2
- package/tree-select/tree-select.scss +1 -6
- package/core/styles/_variables.scss +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../tokens';
|
|
5
|
-
|
|
5
|
+
@use '../common/tokens' as *;
|
|
6
6
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
@@ -77,12 +77,11 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
77
77
|
display: flex;
|
|
78
78
|
flex-direction: column;
|
|
79
79
|
|
|
80
|
-
/* stylelint-disable no-descending-specificity */
|
|
81
80
|
> .kbq-group-item {
|
|
82
81
|
&:first-child:not(:last-child) {
|
|
83
82
|
@include border-bottom-radius(0);
|
|
84
83
|
|
|
85
|
-
border-top-right-radius:
|
|
84
|
+
border-top-right-radius: kbq-css-variable(button-size-border-radius);
|
|
86
85
|
|
|
87
86
|
> .kbq-form-field__container {
|
|
88
87
|
@include border-bottom-radius(0);
|
|
@@ -92,10 +91,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
92
91
|
&:last-child:not(:first-child) {
|
|
93
92
|
@include border-top-radius(0);
|
|
94
93
|
|
|
95
|
-
border-bottom-left-radius:
|
|
96
|
-
--kbq-button-size-border-radius,
|
|
97
|
-
map.get($tokens, button-size-border-radius)
|
|
98
|
-
);
|
|
94
|
+
border-bottom-left-radius: kbq-css-variable(button-size-border-radius);
|
|
99
95
|
|
|
100
96
|
> .kbq-form-field__container {
|
|
101
97
|
@include border-top-radius(0);
|
|
@@ -114,6 +110,4 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
114
110
|
.kbq-group-item + .kbq-group-item {
|
|
115
111
|
margin-top: calc(-1 * var(--kbq-button-size-border-width, #{map.get($tokens, button-size-border-width)}));
|
|
116
112
|
}
|
|
117
|
-
/* stylelint-enable no-descending-specificity */
|
|
118
113
|
}
|
|
119
|
-
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../tokens';
|
|
5
|
-
|
|
5
|
+
@use './tokens' as *;
|
|
6
6
|
|
|
7
7
|
// This mixin will ensure that lines that overflow the container will hide the overflow and
|
|
8
8
|
// truncate neatly with an ellipsis.
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
width: 100%;
|
|
32
|
-
box-sizing:
|
|
32
|
+
box-sizing: content-box;
|
|
33
33
|
overflow: hidden;
|
|
34
34
|
|
|
35
35
|
// Must remove wrapper when lines are empty or it takes up horizontal
|
|
@@ -48,94 +48,54 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
@mixin kbq-list-text() {
|
|
51
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
52
|
-
|
|
53
51
|
@include kbq-line-wrapper-base();
|
|
54
52
|
display: inline-block;
|
|
55
53
|
|
|
56
54
|
@include kbq-truncate-line();
|
|
57
|
-
|
|
58
|
-
padding-top: var(--kbq-list-size-text-padding-vertical, map.get($tokens, list-size-text-padding-vertical));
|
|
59
|
-
padding-bottom: var(--kbq-list-size-text-padding-vertical, map.get($tokens, list-size-text-padding-vertical));
|
|
60
55
|
}
|
|
61
56
|
|
|
62
57
|
// This mixin provides all list-item styles, changing font size and height based on whether the list is in dense mode.
|
|
63
58
|
@mixin kbq-list-item-base() {
|
|
64
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
65
|
-
|
|
66
|
-
$outline-width: map.get($tokens, list-size-container-focus-outline-width);
|
|
67
|
-
|
|
68
|
-
$padding-vertical: map.get($tokens, list-size-container-padding-vertical);
|
|
69
|
-
$padding-left: map.get($tokens, list-size-container-padding-left);
|
|
70
|
-
$padding-right: map.get($tokens, list-size-container-padding-right);
|
|
71
|
-
|
|
72
59
|
position: relative;
|
|
73
|
-
|
|
74
60
|
display: flex;
|
|
75
61
|
flex-direction: row;
|
|
76
62
|
align-items: center;
|
|
77
|
-
|
|
78
63
|
box-sizing: border-box;
|
|
79
|
-
|
|
80
64
|
outline: none;
|
|
81
65
|
-webkit-tap-highlight-color: transparent;
|
|
82
|
-
|
|
83
66
|
min-height: 32px;
|
|
67
|
+
gap: kbq-css-variable(size-s);
|
|
68
|
+
|
|
69
|
+
border: kbq-css-variable(size-3xs) solid transparent;
|
|
84
70
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
);
|
|
88
|
-
|
|
89
|
-
border-width: var(--kbq-list-size-container-focus-outline-width, $outline-width);
|
|
90
|
-
border-style: solid;
|
|
91
|
-
border-color: transparent;
|
|
92
|
-
|
|
93
|
-
padding:
|
|
94
|
-
calc(
|
|
95
|
-
var(--kbq-list-size-container-padding-vertical, $padding-vertical) -
|
|
96
|
-
var(--kbq-list-size-container-focus-outline-width, $outline-width)
|
|
97
|
-
)
|
|
98
|
-
calc(
|
|
99
|
-
var(--kbq-list-size-container-padding-right, $padding-right) -
|
|
100
|
-
var(--kbq-list-size-container-focus-outline-width, $outline-width)
|
|
101
|
-
)
|
|
102
|
-
calc(
|
|
103
|
-
var(--kbq-list-size-container-padding-vertical, $padding-vertical) -
|
|
104
|
-
var(--kbq-list-size-container-focus-outline-width, $outline-width)
|
|
105
|
-
)
|
|
106
|
-
calc(
|
|
107
|
-
var(--kbq-list-size-container-padding-left, $padding-left) -
|
|
108
|
-
var(--kbq-list-size-container-focus-outline-width, $outline-width)
|
|
109
|
-
);
|
|
71
|
+
padding-top: kbq-css-variable(size-xxs);
|
|
72
|
+
padding-left: kbq-css-variable(size-m);
|
|
73
|
+
padding-right: kbq-css-variable(size-m);
|
|
74
|
+
padding-bottom: kbq-css-variable(size-xxs);
|
|
110
75
|
|
|
111
76
|
.kbq-list-text {
|
|
112
77
|
@include kbq-list-text();
|
|
113
78
|
}
|
|
114
79
|
|
|
115
80
|
.kbq-list-option-caption {
|
|
116
|
-
padding-top:
|
|
117
|
-
--kbq-list-size-container-content-gap-vertical,
|
|
118
|
-
map.get($tokens, list-size-container-content-gap-vertical)
|
|
119
|
-
);
|
|
81
|
+
padding-top: kbq-css-variable(size-3xs);
|
|
120
82
|
}
|
|
121
83
|
}
|
|
122
84
|
|
|
123
85
|
@mixin kbq-list-header-base() {
|
|
124
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
125
|
-
|
|
126
86
|
display: flex;
|
|
127
87
|
flex-direction: row;
|
|
128
88
|
align-items: center;
|
|
129
|
-
|
|
130
89
|
box-sizing: border-box;
|
|
131
|
-
|
|
132
90
|
min-height: 32px;
|
|
133
91
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
92
|
+
border-left: kbq-css-variable(size-3xs) solid transparent;
|
|
93
|
+
border-right: kbq-css-variable(size-3xs) solid transparent;
|
|
94
|
+
|
|
95
|
+
padding-top: kbq-css-variable(size-xs);
|
|
96
|
+
padding-left: kbq-css-variable(size-m);
|
|
97
|
+
padding-right: kbq-css-variable(size-m);
|
|
98
|
+
padding-bottom: kbq-css-variable(size-3xs);
|
|
139
99
|
|
|
140
100
|
.kbq-list-text {
|
|
141
101
|
@include kbq-list-text();
|
|
@@ -143,21 +103,19 @@
|
|
|
143
103
|
}
|
|
144
104
|
|
|
145
105
|
@mixin kbq-list-subheading-base() {
|
|
146
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
147
|
-
|
|
148
106
|
display: flex;
|
|
149
107
|
flex-direction: row;
|
|
150
108
|
align-items: center;
|
|
151
|
-
|
|
152
109
|
box-sizing: border-box;
|
|
153
|
-
|
|
154
110
|
min-height: 32px;
|
|
155
111
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
112
|
+
border-left: kbq-css-variable(size-3xs) solid transparent;
|
|
113
|
+
border-right: kbq-css-variable(size-3xs) solid transparent;
|
|
114
|
+
|
|
115
|
+
padding-top: kbq-css-variable(size-m);
|
|
116
|
+
padding-left: kbq-css-variable(size-m);
|
|
117
|
+
padding-right: kbq-css-variable(size-m);
|
|
118
|
+
padding-bottom: kbq-css-variable(size-xxs);
|
|
161
119
|
|
|
162
120
|
.kbq-list-text {
|
|
163
121
|
@include kbq-list-text();
|
|
@@ -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.5) !default;
|
|
10
10
|
|
|
11
11
|
// Default backdrop animation is based on the Material Design swift-ease-out.
|
|
12
12
|
$backdrop-animation-duration: 400ms !default;
|
|
@@ -116,7 +116,9 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
116
116
|
|
|
117
117
|
.cdk-overlay-transparent-backdrop {
|
|
118
118
|
// Define a transition on the visibility so that the `transitionend` event can fire immediately.
|
|
119
|
-
transition:
|
|
119
|
+
transition:
|
|
120
|
+
visibility 1ms linear,
|
|
121
|
+
opacity 1ms linear;
|
|
120
122
|
visibility: hidden;
|
|
121
123
|
opacity: 1;
|
|
122
124
|
|
|
@@ -174,4 +176,3 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
174
176
|
overflow-y: scroll;
|
|
175
177
|
}
|
|
176
178
|
}
|
|
177
|
-
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
|
|
2
|
+
@use './tokens' as *;
|
|
3
3
|
|
|
4
4
|
@mixin popup-params($theme) {
|
|
5
|
-
$popup: map.get(
|
|
5
|
+
$popup: map.get($theme, components, popup);
|
|
6
6
|
|
|
7
|
-
box-shadow: map.get($popup, shadow);
|
|
8
|
-
border-color: map.get($popup, border);
|
|
7
|
+
box-shadow: kbq-css-variable(popup-shadow, map.get($popup, shadow));
|
|
8
|
+
border-color: kbq-css-variable(popup-border, map.get($popup, border));
|
|
9
9
|
|
|
10
|
-
background-color: map.get($popup, background);
|
|
10
|
+
background-color: kbq-css-variable(popup-background, map.get($popup, background));
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@mixin rtl($prop, $ltr-value, $rtl-value) {
|
|
6
6
|
#{$prop}: $ltr-value;
|
|
7
7
|
|
|
8
|
-
[dir=rtl] & {
|
|
8
|
+
[dir='rtl'] & {
|
|
9
9
|
#{$prop}: $rtl-value;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
@mixin rtl-prop($ltr-prop, $rtl-prop, $value, $reset-value) {
|
|
14
14
|
#{$ltr-prop}: $value;
|
|
15
15
|
|
|
16
|
-
[dir=rtl] & {
|
|
16
|
+
[dir='rtl'] & {
|
|
17
17
|
#{$ltr-prop}: $reset-value;
|
|
18
18
|
#{$rtl-prop}: $value;
|
|
19
19
|
}
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
// To reverse padding (top left bottom right) -> (top right bottom left)
|
|
23
23
|
@function rtl-value($list) {
|
|
24
24
|
@if list.length($list) == 4 {
|
|
25
|
-
@return list.nth($list, 1) list.nth($list, 4) list.nth($list, 3) list.nth($list, 2)
|
|
25
|
+
@return list.nth($list, 1) list.nth($list, 4) list.nth($list, 3) list.nth($list, 2);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@if list.length($list) == 5 {
|
|
29
|
-
@return list.nth($list, 1) list.nth($list, 4) list.nth($list, 3) list.nth($list, 2) list.nth($list, 5)
|
|
29
|
+
@return list.nth($list, 1) list.nth($list, 4) list.nth($list, 3) list.nth($list, 2) list.nth($list, 5);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
@return $list;
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
@use '../common/vendor-prefixes';
|
|
5
5
|
@use '../tokens';
|
|
6
|
-
|
|
6
|
+
@use './tokens' as *;
|
|
7
7
|
|
|
8
8
|
$tokens: meta.module-variables(tokens) !default;
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
%kbq-select-base {
|
|
12
11
|
box-sizing: border-box;
|
|
13
12
|
|
|
@@ -45,8 +44,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
45
44
|
cursor: pointer;
|
|
46
45
|
|
|
47
46
|
height: calc(
|
|
48
|
-
var(--kbq-form-field-size-height, $height) -
|
|
49
|
-
(var(--kbq-form-field-size-border-width, $border-width) * 2)
|
|
47
|
+
var(--kbq-form-field-size-height, $height) - (var(--kbq-form-field-size-border-width, $border-width) * 2)
|
|
50
48
|
);
|
|
51
49
|
}
|
|
52
50
|
|
|
@@ -55,22 +53,29 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
55
53
|
& .kbq-select__matcher {
|
|
56
54
|
$padding-vertical: map.get($tokens, select-size-single-padding-vertical);
|
|
57
55
|
|
|
58
|
-
padding:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
padding: calc(
|
|
57
|
+
var(--kbq-select-size-single-padding-vertical, $padding-vertical) - var(
|
|
58
|
+
--kbq-form-field-size-border-width,
|
|
59
|
+
$border-width
|
|
60
|
+
)
|
|
62
61
|
)
|
|
63
62
|
calc(
|
|
64
|
-
var(--kbq-select-size-single-padding-right, map.get($tokens, select-size-single-padding-right)) -
|
|
65
|
-
|
|
63
|
+
var(--kbq-select-size-single-padding-right, map.get($tokens, select-size-single-padding-right)) - var(
|
|
64
|
+
--kbq-form-field-size-border-width,
|
|
65
|
+
$border-width
|
|
66
|
+
)
|
|
66
67
|
)
|
|
67
68
|
calc(
|
|
68
|
-
var(--kbq-select-size-single-padding-vertical, $padding-vertical) -
|
|
69
|
-
|
|
69
|
+
var(--kbq-select-size-single-padding-vertical, $padding-vertical) - var(
|
|
70
|
+
--kbq-form-field-size-border-width,
|
|
71
|
+
$border-width
|
|
72
|
+
)
|
|
70
73
|
)
|
|
71
74
|
calc(
|
|
72
|
-
var(--kbq-select-size-single-padding-left, map.get($tokens, select-size-single-padding-left)) -
|
|
73
|
-
|
|
75
|
+
var(--kbq-select-size-single-padding-left, map.get($tokens, select-size-single-padding-left)) - var(
|
|
76
|
+
--kbq-form-field-size-border-width,
|
|
77
|
+
$border-width
|
|
78
|
+
)
|
|
74
79
|
);
|
|
75
80
|
}
|
|
76
81
|
}
|
|
@@ -79,22 +84,29 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
79
84
|
& .kbq-select__matcher {
|
|
80
85
|
$padding-vertical: map.get($tokens, select-size-multiple-padding-vertical);
|
|
81
86
|
|
|
82
|
-
padding:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
87
|
+
padding: calc(
|
|
88
|
+
var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) - var(
|
|
89
|
+
--kbq-form-field-size-border-width,
|
|
90
|
+
$border-width
|
|
91
|
+
)
|
|
86
92
|
)
|
|
87
93
|
calc(
|
|
88
|
-
var(--kbq-select-size-multiple-padding-right, map.get($tokens,select-size-multiple-padding-right)) -
|
|
89
|
-
|
|
94
|
+
var(--kbq-select-size-multiple-padding-right, map.get($tokens, select-size-multiple-padding-right)) - var(
|
|
95
|
+
--kbq-form-field-size-border-width,
|
|
96
|
+
$border-width
|
|
97
|
+
)
|
|
90
98
|
)
|
|
91
99
|
calc(
|
|
92
|
-
var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) -
|
|
93
|
-
|
|
100
|
+
var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) - var(
|
|
101
|
+
--kbq-form-field-size-border-width,
|
|
102
|
+
$border-width
|
|
103
|
+
)
|
|
94
104
|
)
|
|
95
105
|
calc(
|
|
96
|
-
var(--kbq-select-size-multiple-padding-left, map.get($tokens, select-size-multiple-padding-left)) -
|
|
97
|
-
|
|
106
|
+
var(--kbq-select-size-multiple-padding-left, map.get($tokens, select-size-multiple-padding-left)) - var(
|
|
107
|
+
--kbq-form-field-size-border-width,
|
|
108
|
+
$border-width
|
|
109
|
+
)
|
|
98
110
|
);
|
|
99
111
|
|
|
100
112
|
.kbq-select__match-container {
|
|
@@ -108,19 +120,17 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
108
120
|
|
|
109
121
|
height: calc(
|
|
110
122
|
var(--kbq-form-field-size-height, $height) -
|
|
111
|
-
|
|
123
|
+
(var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) * 2)
|
|
112
124
|
);
|
|
113
125
|
|
|
114
126
|
max-height: calc(
|
|
115
127
|
var(--kbq-form-field-size-height, $height) -
|
|
116
|
-
|
|
128
|
+
(var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) * 2)
|
|
117
129
|
);
|
|
118
130
|
|
|
119
|
-
gap:
|
|
131
|
+
gap: kbq-css-variable(select-size-multiple-content-gap);
|
|
120
132
|
|
|
121
|
-
margin-right:
|
|
122
|
-
--kbq-select-size-multiple-content-gap, map.get($tokens, select-size-multiple-content-gap)
|
|
123
|
-
);
|
|
133
|
+
margin-right: kbq-css-variable(select-size-multiple-content-gap);
|
|
124
134
|
}
|
|
125
135
|
}
|
|
126
136
|
}
|
|
@@ -135,9 +145,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
135
145
|
flex: 0 0 70px;
|
|
136
146
|
align-self: center;
|
|
137
147
|
padding-left: 4px;
|
|
138
|
-
padding-right:
|
|
139
|
-
--kbq-select-size-multiple-content-gap, map.get($tokens, select-size-multiple-content-gap)
|
|
140
|
-
);
|
|
148
|
+
padding-right: kbq-css-variable(select-size-multiple-content-gap);
|
|
141
149
|
|
|
142
150
|
text-align: right;
|
|
143
151
|
}
|
|
@@ -175,9 +183,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
175
183
|
|
|
176
184
|
overflow: hidden;
|
|
177
185
|
|
|
178
|
-
border-radius:
|
|
179
|
-
--kbq-select-panel-size-border-radius, map.get($tokens, select-panel-size-border-radius)
|
|
180
|
-
);
|
|
186
|
+
border-radius: kbq-css-variable(select-panel-size-border-radius);
|
|
181
187
|
|
|
182
188
|
// Override optgroup and option to scale based on font-size of the trigger.
|
|
183
189
|
.kbq-optgroup-label,
|
|
@@ -194,15 +200,15 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
194
200
|
position: relative;
|
|
195
201
|
|
|
196
202
|
max-width: 100%;
|
|
197
|
-
height:
|
|
203
|
+
height: kbq-css-variable(option-size-height);
|
|
198
204
|
|
|
199
205
|
cursor: default;
|
|
200
206
|
outline: none;
|
|
201
207
|
|
|
202
|
-
padding-left:
|
|
203
|
-
padding-right:
|
|
208
|
+
padding-left: kbq-css-variable(option-size-horizontal-padding);
|
|
209
|
+
padding-right: kbq-css-variable(option-size-horizontal-padding);
|
|
204
210
|
|
|
205
|
-
border:
|
|
211
|
+
border: kbq-css-variable(option-size-border-width) solid transparent;
|
|
206
212
|
}
|
|
207
213
|
|
|
208
214
|
.kbq-select__search-container {
|
|
@@ -214,7 +220,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
214
220
|
}
|
|
215
221
|
|
|
216
222
|
%kbq-select-content {
|
|
217
|
-
max-height:
|
|
223
|
+
max-height: kbq-css-variable(select-panel-size-max-height);
|
|
218
224
|
padding: 4px 0;
|
|
219
225
|
overflow: hidden auto;
|
|
220
226
|
}
|
|
@@ -229,5 +235,5 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
229
235
|
border-top-width: 1px;
|
|
230
236
|
border-top-style: solid;
|
|
231
237
|
|
|
232
|
-
padding:
|
|
238
|
+
padding: kbq-css-variable(size-xxs) kbq-css-variable(size-m);
|
|
233
239
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:meta';
|
|
3
|
+
@use 'sass:string';
|
|
4
|
+
@use 'sass:list';
|
|
5
|
+
|
|
6
|
+
@use '../tokens';
|
|
7
|
+
|
|
8
|
+
$tokens: meta.module-variables(tokens) !default;
|
|
9
|
+
|
|
10
|
+
@function kbq-css-variable($name, $value: null) {
|
|
11
|
+
@if $value {
|
|
12
|
+
@return var(--kbq-#{$name}, $value);
|
|
13
|
+
} @else {
|
|
14
|
+
@return var(--kbq-#{$name}, map.get($tokens, $name));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@function getToken($name) {
|
|
19
|
+
@return map.get($tokens, $name);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin kbq-css-font-variable($component, $component-property, $font-property, $font) {
|
|
23
|
+
#{$font-property}: var(
|
|
24
|
+
--kbq-#{$component}-#{$font}#{$component-property}-#{$font-property},
|
|
25
|
+
map.get($tokens, #{$component}-#{$font}#{$component-property}-#{$font-property})
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin kbq-typography-css-variables($component, $property) {
|
|
30
|
+
@include kbq-css-font-variable($component, $property, font-size, font-);
|
|
31
|
+
@include kbq-css-font-variable($component, $property, font-weight, font-);
|
|
32
|
+
@include kbq-css-font-variable($component, $property, line-height, font-);
|
|
33
|
+
@include kbq-css-font-variable($component, $property, font-family, font-);
|
|
34
|
+
@include kbq-css-font-variable($component, $property, text-transform, font-);
|
|
35
|
+
@include kbq-css-font-variable($component, $property, font-feature-settings, font-);
|
|
36
|
+
@include kbq-css-font-variable($component, $property, letter-spacing, font-);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin kbq-typography-level-to-styles_css-variables($component, $property) {
|
|
40
|
+
@include kbq-css-font-variable($component, $property, font-size, '');
|
|
41
|
+
@include kbq-css-font-variable($component, $property, font-weight, '');
|
|
42
|
+
@include kbq-css-font-variable($component, $property, line-height, '');
|
|
43
|
+
@include kbq-css-font-variable($component, $property, font-family, '');
|
|
44
|
+
@include kbq-css-font-variable($component, $property, text-transform, '');
|
|
45
|
+
@include kbq-css-font-variable($component, $property, font-feature-settings, '');
|
|
46
|
+
@include kbq-css-font-variable($component, $property, letter-spacing, '');
|
|
47
|
+
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
|
-
|
|
2
|
+
@use 'sass:list';
|
|
3
|
+
@use 'sass:string';
|
|
3
4
|
|
|
4
5
|
@function unit-length($number, $unit) {
|
|
5
6
|
$strings: 'px' 'cm' 'mm' '%' 'ch' 'in' 'em' 'rem' 'pt' 'pc' 'ex' 'vw' 'vh' 'vmin' 'vmax';
|
|
6
|
-
$units:
|
|
7
|
-
$index: index($strings, $unit);
|
|
7
|
+
$units: 1px 1cm 1mm 1% 1ch 1in 1em 1rem 1pt 1pc 1ex 1vw 1vh 1vmin 1vmax;
|
|
8
|
+
$index: list.index($strings, $unit);
|
|
8
9
|
|
|
9
10
|
@if not $index {
|
|
10
11
|
@warn "Invalid unit `#{$unit}`.";
|
|
11
12
|
@return false;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
@return $number * nth($units, $index);
|
|
15
|
+
@return $number * list.nth($units, $index);
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
// @author Hugo Giraudel
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
@function number($string) {
|
|
20
21
|
// Matrices
|
|
21
22
|
$strings: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
|
|
22
|
-
$numbers:
|
|
23
|
+
$numbers: 0 1 2 3 4 5 6 7 8 9;
|
|
23
24
|
|
|
24
25
|
// Result
|
|
25
26
|
$result: 0;
|
|
@@ -27,31 +28,25 @@
|
|
|
27
28
|
$minus: false;
|
|
28
29
|
|
|
29
30
|
// Looping through all characters
|
|
30
|
-
@for $i from 1 through
|
|
31
|
-
$character:
|
|
32
|
-
$index: index($strings, $character);
|
|
31
|
+
@for $i from 1 through string.length($string) {
|
|
32
|
+
$character: string.slice($string, $i, $i);
|
|
33
|
+
$index: list.index($strings, $character);
|
|
33
34
|
|
|
34
35
|
@if $character == '-' {
|
|
35
36
|
$minus: true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@else if $character == '.' {
|
|
37
|
+
} @else if $character == '.' {
|
|
39
38
|
$divider: 1;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@else {
|
|
39
|
+
} @else {
|
|
43
40
|
@if not $index {
|
|
44
41
|
$result: if($minus, $result * -1, $result);
|
|
45
|
-
@return unit-length($result,
|
|
42
|
+
@return unit-length($result, string.slice($string, $i));
|
|
46
43
|
}
|
|
47
44
|
|
|
48
|
-
$number: nth($numbers, $index);
|
|
45
|
+
$number: list.nth($numbers, $index);
|
|
49
46
|
|
|
50
47
|
@if $divider == 0 {
|
|
51
48
|
$result: $result * 10;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@else {
|
|
49
|
+
} @else {
|
|
55
50
|
// Move the decimal dot to the left
|
|
56
51
|
$divider: $divider * 10;
|
|
57
52
|
$number: math.div($number, $divider);
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
@use 'sass:string';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
///
|
|
5
|
-
/// @
|
|
6
|
-
/// @param {String} $
|
|
7
|
-
/// @param {String} $
|
|
8
|
-
/// @
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
1
|
+
@use 'sass:string';
|
|
2
|
+
|
|
3
|
+
/// Replace `$search` with `$replace` in `$string`
|
|
4
|
+
/// @author Kitty Giraudel
|
|
5
|
+
/// @param {String} $string - Initial string
|
|
6
|
+
/// @param {String} $search - Substring to replace
|
|
7
|
+
/// @param {String} $replace ('') - New value
|
|
8
|
+
/// @return {String} - Updated string
|
|
9
|
+
@function str-replace($string, $search, $replace: '') {
|
|
10
|
+
$index: string.index($string, $search);
|
|
11
|
+
|
|
12
|
+
@if $index {
|
|
13
|
+
@return string.slice($string, 1, $index - 1) + $replace +
|
|
14
|
+
str-replace(string.slice($string, $index + string.length($search)), $search, $replace);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@return $string;
|
|
18
|
+
}
|