@koobiq/components 17.0.0-rc.9 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/alert/_alert-theme.scss +0 -1
- package/alert/alert.component.d.ts +3 -1
- package/alert/alert.component.scss +14 -14
- package/alert/public-api.d.ts +1 -1
- package/autocomplete/_autocomplete-theme.scss +0 -1
- package/autocomplete/autocomplete.scss +3 -6
- package/autocomplete/public-api.d.ts +2 -2
- package/badge/_badge-theme.scss +1 -2
- package/badge/badge.component.scss +0 -1
- package/badge/public-api.d.ts +1 -1
- package/button/_button-base.scss +0 -1
- package/button/_button-theme.scss +5 -3
- package/button/button.component.d.ts +2 -2
- package/button/button.scss +0 -1
- package/button/public-api.d.ts +1 -1
- package/button-toggle/_button-toggle-theme.scss +2 -3
- package/button-toggle/button-toggle.scss +2 -9
- package/button-toggle/public-api.d.ts +1 -1
- package/card/_card-theme.scss +0 -1
- package/card/card.component.d.ts +1 -1
- package/card/card.component.scss +1 -2
- package/card/public-api.d.ts +1 -1
- package/checkbox/_checkbox-theme.scss +10 -11
- package/checkbox/checkbox.scss +13 -19
- package/code-block/README.md +17 -14
- package/code-block/_code-block-theme.scss +23 -16
- package/code-block/actionbar.component.scss +4 -7
- package/code-block/code-block.component.d.ts +2 -2
- package/code-block/code-block.scss +8 -14
- 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/formatters/index.d.ts +1 -1
- package/core/forms/_forms-theme.scss +0 -1
- package/core/forms/_forms.scss +0 -1
- package/core/forms/index.d.ts +1 -1
- package/core/locales/index.d.ts +1 -1
- package/core/option/_optgroup-theme.scss +0 -1
- package/core/option/_option-action-theme.scss +0 -1
- package/core/option/_option-theme.scss +0 -1
- package/core/option/action.scss +4 -2
- 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 +3 -3
- package/core/public-api.d.ts +3 -3
- package/core/select/constants.d.ts +1 -1
- package/core/select/index.d.ts +3 -3
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +0 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +0 -1
- 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 +11 -10
- package/core/styles/common/_button.scss +0 -2
- package/core/styles/common/_clearfix.scss +1 -1
- package/core/styles/common/_groups.scss +0 -4
- package/core/styles/common/_list.scss +23 -61
- package/core/styles/common/_overlay.scss +4 -3
- package/core/styles/common/_popup.scss +0 -1
- package/core/styles/common/_rtl.scss +4 -4
- package/core/styles/common/_select.scss +37 -26
- package/core/styles/common/_tokens.scss +0 -2
- 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 +1120 -1208
- package/core/styles/theming/_scrollbar-theme.scss +8 -5
- package/core/styles/theming/_theming.scss +22 -20
- package/core/styles/typography/_typography-utils.scss +9 -3
- package/core/styles/typography/_typography.scss +114 -94
- package/core/styles/visual/_body.scss +0 -2
- package/core/styles/visual/_layout.scss +30 -22
- package/core/utils/data-size/index.d.ts +1 -1
- package/core/utils/public-api.d.ts +1 -1
- package/datepicker/_datepicker-theme.scss +21 -8
- package/datepicker/calendar-body.scss +0 -3
- package/datepicker/calendar-header.scss +0 -1
- package/datepicker/calendar.scss +1 -2
- package/datepicker/datepicker-content.scss +1 -3
- package/datepicker/datepicker-input.directive.d.ts +1 -0
- package/datepicker/datepicker-input.scss +0 -1
- package/datepicker/datepicker-toggle.scss +0 -1
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/public-api.d.ts +4 -4
- package/divider/_divider-theme.scss +0 -1
- package/divider/divider.scss +0 -1
- package/dl/_dl-theme.scss +0 -2
- package/dl/dl.scss +0 -1
- package/dl/public-api.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +4 -2
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +9 -7
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +0 -1
- package/dropdown/public-api.d.ts +5 -5
- package/ellipsis-center/ellipsis-center.directive.d.ts +1 -1
- 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 +7 -3
- 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 +25 -42
- 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 +12 -9
- package/esm2022/button/button.module.mjs +1 -1
- package/esm2022/button/public-api.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +26 -20
- 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 +4 -5
- 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 -8
- 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 +17 -19
- 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 +2 -2
- package/esm2022/core/common-behaviors/color.mjs +4 -2
- package/esm2022/core/common-behaviors/common-module.mjs +2 -5
- package/esm2022/core/common-behaviors/constructor.mjs +1 -1
- package/esm2022/core/common-behaviors/disabled.mjs +2 -2
- 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 -2
- 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 -24
- 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 +1 -3
- package/esm2022/core/locales/index.mjs +2 -2
- package/esm2022/core/locales/locale-service.mjs +8 -5
- 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 +22 -14
- package/esm2022/core/option/index.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +4 -5
- package/esm2022/core/option/option-module.mjs +1 -1
- package/esm2022/core/option/option.mjs +13 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +14 -24
- package/esm2022/core/pop-up/pop-up.mjs +1 -2
- package/esm2022/core/public-api.mjs +4 -4
- package/esm2022/core/select/common.mjs +2 -5
- package/esm2022/core/select/constants.mjs +1 -2
- package/esm2022/core/select/index.mjs +4 -4
- 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 -2
- 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 +1 -1
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +2 -3
- package/esm2022/core/utils/data-size/index.mjs +2 -2
- package/esm2022/core/utils/data-size/size.mjs +3 -6
- 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 -5
- package/esm2022/datepicker/calendar-header.component.mjs +8 -8
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +1 -1
- package/esm2022/datepicker/datepicker-errors.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +47 -49
- 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 -18
- package/esm2022/datepicker/month-view.component.mjs +14 -14
- 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 +7 -7
- package/esm2022/dl/dl.module.mjs +2 -2
- package/esm2022/dl/public-api.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +2 -2
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -8
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +24 -33
- package/esm2022/dropdown/dropdown.component.mjs +10 -19
- package/esm2022/dropdown/dropdown.module.mjs +1 -1
- package/esm2022/dropdown/dropdown.types.mjs +1 -2
- package/esm2022/dropdown/public-api.mjs +6 -6
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +6 -5
- 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 +3 -2
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +2 -2
- package/esm2022/file-upload/index.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +16 -14
- package/esm2022/file-upload/public-api.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +14 -12
- package/esm2022/form-field/cleaner.mjs +13 -3
- package/esm2022/form-field/form-field-control.mjs +1 -2
- package/esm2022/form-field/form-field-errors.mjs +1 -1
- package/esm2022/form-field/form-field.mjs +8 -15
- package/esm2022/form-field/form-field.module.mjs +1 -1
- package/esm2022/form-field/hint.mjs +6 -6
- package/esm2022/form-field/password-hint.mjs +15 -15
- package/esm2022/form-field/password-toggle.mjs +4 -7
- 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 -7
- package/esm2022/icon/icon-button.component.mjs +4 -4
- package/esm2022/icon/icon-item.component.mjs +3 -3
- package/esm2022/icon/icon.component.mjs +5 -6
- 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 +29 -41
- package/esm2022/input/input-password.mjs +13 -8
- package/esm2022/input/input-value-accessor.mjs +1 -1
- package/esm2022/input/input.mjs +13 -10
- 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 +36 -41
- package/esm2022/list/list.component.mjs +5 -6
- package/esm2022/list/list.module.mjs +2 -2
- package/esm2022/list/public-api.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +3 -3
- 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 +20 -6
- 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 +6 -2
- package/esm2022/modal/modal-ref.class.mjs +1 -2
- package/esm2022/modal/modal-util.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +60 -33
- package/esm2022/modal/modal.directive.mjs +27 -11
- package/esm2022/modal/modal.module.mjs +2 -2
- package/esm2022/modal/modal.service.mjs +3 -6
- 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 +41 -33
- package/esm2022/navbar/navbar.component.mjs +19 -29
- package/esm2022/navbar/navbar.module.mjs +2 -2
- package/esm2022/navbar/public-api.mjs +3 -3
- package/esm2022/navbar/vertical-navbar.component.mjs +21 -23
- 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 -14
- 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 +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +1 -1
- package/esm2022/scrollbar/public-api.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +19 -21
- package/esm2022/scrollbar/scrollbar.directive.mjs +4 -5
- 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 +8 -5
- package/esm2022/select/select.component.mjs +45 -71
- package/esm2022/select/select.module.mjs +1 -1
- package/esm2022/sidebar/public-api.mjs +2 -2
- package/esm2022/sidebar/sidebar-animations.mjs +1 -1
- package/esm2022/sidebar/sidebar.component.mjs +5 -7
- package/esm2022/sidebar/sidebar.module.mjs +1 -1
- package/esm2022/sidepanel/public-api.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-animations.mjs +7 -4
- package/esm2022/sidepanel/sidepanel-config.mjs +1 -1
- package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-directives.mjs +33 -20
- package/esm2022/sidepanel/sidepanel-ref.mjs +10 -5
- package/esm2022/sidepanel/sidepanel.module.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.service.mjs +11 -15
- package/esm2022/splitter/public-api.mjs +2 -2
- package/esm2022/splitter/splitter.component.mjs +13 -24
- package/esm2022/splitter/splitter.module.mjs +1 -1
- package/esm2022/table/public-api.mjs +2 -2
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.module.mjs +1 -1
- package/esm2022/tabs/paginated-tab-header.mjs +9 -14
- package/esm2022/tabs/public-api.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +10 -11
- package/esm2022/tabs/tab-content.directive.mjs +1 -1
- package/esm2022/tabs/tab-group.component.mjs +11 -13
- 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 +46 -49
- package/esm2022/tabs/tab.component.mjs +7 -10
- 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 +12 -16
- package/esm2022/tags/tag-list.component.mjs +15 -27
- package/esm2022/tags/tag-text-control.mjs +1 -1
- package/esm2022/tags/tag.component.mjs +5 -8
- package/esm2022/tags/tag.module.mjs +9 -7
- package/esm2022/textarea/index.mjs +1 -1
- package/esm2022/textarea/textarea.component.mjs +4 -7
- package/esm2022/textarea/textarea.module.mjs +1 -1
- package/esm2022/timepicker/public-api.mjs +2 -2
- package/esm2022/timepicker/timepicker.constants.mjs +6 -2
- package/esm2022/timepicker/timepicker.directive.mjs +62 -31
- 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 +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/timezone/timezone.models.mjs +1 -2
- 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 +9 -5
- 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 +18 -30
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/public-api.mjs +2 -2
- package/esm2022/toggle/toggle.component.mjs +17 -11
- 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 +7 -7
- package/esm2022/tooltip/tooltip.module.mjs +2 -2
- package/esm2022/tree/control/base-tree-control.mjs +1 -2
- 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 -2
- 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 -4
- package/esm2022/tree/node.mjs +1 -1
- package/esm2022/tree/outlet.mjs +1 -1
- package/esm2022/tree/padding.directive.mjs +4 -5
- package/esm2022/tree/public-api.mjs +11 -11
- package/esm2022/tree/toggle.mjs +8 -5
- package/esm2022/tree/tree-base.mjs +3 -7
- package/esm2022/tree/tree-errors.mjs +1 -1
- package/esm2022/tree/tree-option.component.mjs +9 -13
- package/esm2022/tree/tree-selection.component.mjs +20 -36
- package/esm2022/tree/tree.mjs +7 -3
- package/esm2022/tree/tree.module.mjs +2 -3
- package/esm2022/tree-select/public-api.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +59 -72
- package/esm2022/tree-select/tree-select.module.mjs +1 -1
- package/fesm2022/koobiq-components-alert.mjs +10 -6
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +60 -72
- 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 +30 -24
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +14 -11
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +4 -5
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -5
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +34 -34
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +325 -336
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +105 -111
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +9 -9
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +125 -147
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +3 -2
- 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 +46 -41
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +75 -73
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +9 -10
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +56 -60
- 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 +43 -49
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +6 -6
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +18 -4
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +96 -54
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +82 -86
- 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 -16
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +4 -4
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +22 -24
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +55 -78
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +5 -7
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +110 -93
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +15 -26
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +5 -5
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +85 -98
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +39 -56
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +2 -5
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +69 -34
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +16 -21
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +11 -7
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +74 -87
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +17 -11
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +10 -10
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +67 -80
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +509 -541
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +28 -18
- package/file-upload/file-upload.scss +0 -1
- package/file-upload/multiple-file-upload.component.d.ts +2 -2
- package/file-upload/multiple-file-upload.component.scss +17 -27
- package/file-upload/public-api.d.ts +1 -1
- package/file-upload/single-file-upload.component.d.ts +2 -2
- package/file-upload/single-file-upload.component.scss +1 -7
- package/form-field/_form-field-theme.scss +24 -12
- package/form-field/_hint-theme.scss +0 -2
- package/form-field/cleaner.scss +0 -1
- package/form-field/form-field.scss +12 -14
- package/form-field/hint.scss +0 -1
- package/form-field/password-toggle.scss +0 -1
- package/form-field/public-api.d.ts +3 -3
- package/form-field/stepper.scss +0 -1
- package/icon/_icon-button-theme.scss +18 -7
- package/icon/_icon-theme.scss +0 -1
- package/icon/icon-button.scss +2 -5
- package/icon/icon-item.scss +2 -5
- package/icon/icon.scss +0 -1
- package/icon/public-api.d.ts +2 -2
- package/input/_input-theme.scss +0 -1
- package/input/input.scss +9 -9
- package/input/public-api.d.ts +2 -2
- package/link/_link-theme.scss +12 -18
- package/link/link.component.d.ts +1 -1
- package/link/public-api.d.ts +1 -1
- package/list/_list-theme.scss +0 -1
- package/list/list-selection.component.d.ts +3 -3
- package/list/list.scss +1 -3
- package/list/public-api.d.ts +2 -2
- package/loader-overlay/_loader-overlay-theme.scss +6 -4
- package/loader-overlay/loader-overlay.scss +0 -1
- package/loader-overlay/public-api.d.ts +1 -1
- package/markdown/_markdown-theme.scss +11 -8
- package/markdown/markdown.scss +3 -3
- package/modal/README.md +4 -3
- package/modal/_modal-animation.scss +0 -1
- package/modal/_modal-confirm.scss +0 -1
- package/modal/_modal-theme.scss +8 -9
- package/modal/modal.directive.d.ts +3 -3
- package/modal/modal.scss +9 -15
- 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 +31 -24
- package/navbar/_navbar-item_vertical.scss +0 -3
- package/navbar/_navbar-theme.scss +3 -6
- package/navbar/navbar-brand.scss +0 -1
- package/navbar/navbar-divider.scss +0 -1
- package/navbar/navbar-item.component.d.ts +1 -1
- package/navbar/navbar-item.scss +9 -2
- package/navbar/navbar.scss +0 -1
- package/navbar/public-api.d.ts +2 -2
- package/navbar/vertical-navbar.scss +0 -1
- package/package.json +12 -6
- package/popover/README.md +17 -14
- package/popover/_popover-theme.scss +0 -1
- package/popover/popover.component.d.ts +1 -1
- package/popover/popover.scss +5 -13
- 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 +0 -1
- package/progress-bar/progress-bar.scss +0 -1
- package/progress-bar/public-api.d.ts +1 -1
- package/progress-spinner/_progress-spinner-theme.scss +0 -1
- package/progress-spinner/progress-spinner.scss +0 -1
- package/progress-spinner/public-api.d.ts +1 -1
- package/radio/_radio-theme.scss +13 -5
- package/radio/public-api.d.ts +1 -1
- package/radio/radio.scss +20 -6
- package/risk-level/_risk-level-theme.scss +0 -1
- package/risk-level/public-api.d.ts +1 -1
- package/risk-level/risk-level.component.scss +1 -4
- package/schematics/ng-add/index.js +4 -4
- package/scrollbar/_scrollbar-component-theme.scss +2 -3
- package/scrollbar/public-api.d.ts +1 -1
- package/scrollbar/scrollbar.component.scss +56 -44
- package/scrollbar/scrollbar.directive.d.ts +1 -1
- package/scrollbar/scrollbar.types.d.ts +1 -1
- package/select/_select-theme.scss +0 -1
- package/select/public-api.d.ts +2 -2
- package/select/select.component.d.ts +4 -1
- package/select/select.scss +0 -1
- package/sidebar/public-api.d.ts +1 -1
- package/sidepanel/_sidepanel-theme.scss +0 -1
- package/sidepanel/public-api.d.ts +3 -3
- package/sidepanel/sidepanel.scss +6 -12
- package/splitter/_splitter-theme.scss +0 -1
- package/splitter/public-api.d.ts +1 -1
- package/splitter/splitter.component.d.ts +2 -2
- package/splitter/splitter.scss +0 -1
- package/table/_table-theme.scss +7 -7
- package/table/public-api.d.ts +1 -1
- package/table/table.scss +2 -2
- package/tabs/_tabs-common.scss +10 -8
- package/tabs/_tabs-theme.scss +0 -1
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/public-api.d.ts +5 -5
- package/tabs/tab-body.component.d.ts +3 -3
- package/tabs/tab-group.component.d.ts +1 -1
- package/tabs/tab-group.scss +0 -1
- package/tabs/tab-header.scss +0 -6
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +17 -17
- package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -1
- package/tags/_tag-theme.scss +0 -2
- package/tags/public-api.d.ts +4 -4
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.scss +9 -7
- package/tags/tag.component.d.ts +2 -2
- package/tags/tag.scss +1 -4
- package/textarea/_textarea-theme.scss +0 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea/textarea.scss +1 -4
- package/timepicker/public-api.d.ts +1 -1
- package/timepicker/timepicker.constants.d.ts +2 -0
- package/timepicker/timepicker.directive.d.ts +10 -3
- package/timepicker/timepicker.scss +0 -1
- package/timezone/_timezone-option-theme.scss +0 -1
- package/timezone/timezone-option.component.scss +0 -1
- package/timezone/timezone-option.directive.d.ts +1 -1
- package/timezone/timezone-select.component.scss +0 -1
- package/timezone/timezone.utils.d.ts +1 -1
- package/title/public-api.d.ts +1 -1
- package/title/title.directive.d.ts +2 -2
- package/toast/_toast-theme.scss +0 -2
- package/toast/public-api.d.ts +3 -3
- package/toast/toast-container.component.scss +0 -1
- package/toast/toast.component.scss +4 -2
- package/toast/toast.service.d.ts +2 -2
- package/toast/toast.type.d.ts +1 -1
- package/toggle/_toggle-theme.scss +10 -9
- package/toggle/public-api.d.ts +1 -1
- package/toggle/toggle.component.d.ts +2 -2
- package/toggle/toggle.scss +0 -1
- package/tooltip/_tooltip-theme.scss +0 -1
- package/tooltip/public-api.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +2 -2
- package/tooltip/tooltip.scss +1 -5
- package/tree/_tree-theme.scss +2 -3
- package/tree/public-api.d.ts +10 -10
- package/tree/toggle.scss +0 -1
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +12 -8
- package/tree/tree-selection.component.d.ts +3 -2
- package/tree-select/_tree-select-theme.scss +0 -1
- package/tree-select/public-api.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +9 -4
- package/tree-select/tree-select.scss +0 -1
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
@use '../tokens';
|
|
5
5
|
@use './tokens' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
// This mixin will ensure that lines that overflow the container will hide the overflow and
|
|
9
8
|
// truncate neatly with an ellipsis.
|
|
10
9
|
@mixin kbq-truncate-line() {
|
|
@@ -30,7 +29,7 @@
|
|
|
30
29
|
display: flex;
|
|
31
30
|
flex-direction: column;
|
|
32
31
|
width: 100%;
|
|
33
|
-
box-sizing:
|
|
32
|
+
box-sizing: content-box;
|
|
34
33
|
overflow: hidden;
|
|
35
34
|
|
|
36
35
|
// Must remove wrapper when lines are empty or it takes up horizontal
|
|
@@ -49,89 +48,54 @@
|
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
@mixin kbq-list-text() {
|
|
52
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
53
|
-
|
|
54
51
|
@include kbq-line-wrapper-base();
|
|
55
52
|
display: inline-block;
|
|
56
53
|
|
|
57
54
|
@include kbq-truncate-line();
|
|
58
|
-
|
|
59
|
-
padding-top: kbq-css-variable(list-size-text-padding-vertical);
|
|
60
|
-
padding-bottom: kbq-css-variable(list-size-text-padding-vertical);
|
|
61
55
|
}
|
|
62
56
|
|
|
63
57
|
// This mixin provides all list-item styles, changing font size and height based on whether the list is in dense mode.
|
|
64
58
|
@mixin kbq-list-item-base() {
|
|
65
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
66
|
-
|
|
67
|
-
$outline-width: map.get($tokens, list-size-container-focus-outline-width);
|
|
68
|
-
|
|
69
|
-
$padding-vertical: map.get($tokens, list-size-container-padding-vertical);
|
|
70
|
-
$padding-left: map.get($tokens, list-size-container-padding-left);
|
|
71
|
-
$padding-right: map.get($tokens, list-size-container-padding-right);
|
|
72
|
-
|
|
73
59
|
position: relative;
|
|
74
|
-
|
|
75
60
|
display: flex;
|
|
76
61
|
flex-direction: row;
|
|
77
62
|
align-items: center;
|
|
78
|
-
|
|
79
63
|
box-sizing: border-box;
|
|
80
|
-
|
|
81
64
|
outline: none;
|
|
82
65
|
-webkit-tap-highlight-color: transparent;
|
|
83
|
-
|
|
84
66
|
min-height: 32px;
|
|
67
|
+
gap: kbq-css-variable(size-s);
|
|
68
|
+
|
|
69
|
+
border: kbq-css-variable(size-3xs) solid transparent;
|
|
85
70
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
border-color: transparent;
|
|
91
|
-
|
|
92
|
-
padding:
|
|
93
|
-
calc(
|
|
94
|
-
var(--kbq-list-size-container-padding-vertical, $padding-vertical) -
|
|
95
|
-
var(--kbq-list-size-container-focus-outline-width, $outline-width)
|
|
96
|
-
)
|
|
97
|
-
calc(
|
|
98
|
-
var(--kbq-list-size-container-padding-right, $padding-right) -
|
|
99
|
-
var(--kbq-list-size-container-focus-outline-width, $outline-width)
|
|
100
|
-
)
|
|
101
|
-
calc(
|
|
102
|
-
var(--kbq-list-size-container-padding-vertical, $padding-vertical) -
|
|
103
|
-
var(--kbq-list-size-container-focus-outline-width, $outline-width)
|
|
104
|
-
)
|
|
105
|
-
calc(
|
|
106
|
-
var(--kbq-list-size-container-padding-left, $padding-left) -
|
|
107
|
-
var(--kbq-list-size-container-focus-outline-width, $outline-width)
|
|
108
|
-
);
|
|
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);
|
|
109
75
|
|
|
110
76
|
.kbq-list-text {
|
|
111
77
|
@include kbq-list-text();
|
|
112
78
|
}
|
|
113
79
|
|
|
114
80
|
.kbq-list-option-caption {
|
|
115
|
-
padding-top: kbq-css-variable(
|
|
81
|
+
padding-top: kbq-css-variable(size-3xs);
|
|
116
82
|
}
|
|
117
83
|
}
|
|
118
84
|
|
|
119
85
|
@mixin kbq-list-header-base() {
|
|
120
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
121
|
-
|
|
122
86
|
display: flex;
|
|
123
87
|
flex-direction: row;
|
|
124
88
|
align-items: center;
|
|
125
|
-
|
|
126
89
|
box-sizing: border-box;
|
|
127
|
-
|
|
128
90
|
min-height: 32px;
|
|
129
91
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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);
|
|
135
99
|
|
|
136
100
|
.kbq-list-text {
|
|
137
101
|
@include kbq-list-text();
|
|
@@ -139,21 +103,19 @@
|
|
|
139
103
|
}
|
|
140
104
|
|
|
141
105
|
@mixin kbq-list-subheading-base() {
|
|
142
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
143
|
-
|
|
144
106
|
display: flex;
|
|
145
107
|
flex-direction: row;
|
|
146
108
|
align-items: center;
|
|
147
|
-
|
|
148
109
|
box-sizing: border-box;
|
|
149
|
-
|
|
150
110
|
min-height: 32px;
|
|
151
111
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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);
|
|
157
119
|
|
|
158
120
|
.kbq-list-text {
|
|
159
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
|
-
|
|
@@ -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;
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
@use '../tokens';
|
|
6
6
|
@use './tokens' as *;
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
$tokens: meta.module-variables(tokens) !default;
|
|
10
9
|
|
|
11
|
-
|
|
12
10
|
%kbq-select-base {
|
|
13
11
|
box-sizing: border-box;
|
|
14
12
|
|
|
@@ -46,8 +44,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
46
44
|
cursor: pointer;
|
|
47
45
|
|
|
48
46
|
height: calc(
|
|
49
|
-
var(--kbq-form-field-size-height, $height) -
|
|
50
|
-
(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)
|
|
51
48
|
);
|
|
52
49
|
}
|
|
53
50
|
|
|
@@ -56,22 +53,29 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
56
53
|
& .kbq-select__matcher {
|
|
57
54
|
$padding-vertical: map.get($tokens, select-size-single-padding-vertical);
|
|
58
55
|
|
|
59
|
-
padding:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
+
)
|
|
63
61
|
)
|
|
64
62
|
calc(
|
|
65
|
-
var(--kbq-select-size-single-padding-right, map.get($tokens, select-size-single-padding-right)) -
|
|
66
|
-
|
|
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
|
+
)
|
|
67
67
|
)
|
|
68
68
|
calc(
|
|
69
|
-
var(--kbq-select-size-single-padding-vertical, $padding-vertical) -
|
|
70
|
-
|
|
69
|
+
var(--kbq-select-size-single-padding-vertical, $padding-vertical) - var(
|
|
70
|
+
--kbq-form-field-size-border-width,
|
|
71
|
+
$border-width
|
|
72
|
+
)
|
|
71
73
|
)
|
|
72
74
|
calc(
|
|
73
|
-
var(--kbq-select-size-single-padding-left, map.get($tokens, select-size-single-padding-left)) -
|
|
74
|
-
|
|
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
|
+
)
|
|
75
79
|
);
|
|
76
80
|
}
|
|
77
81
|
}
|
|
@@ -80,22 +84,29 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
80
84
|
& .kbq-select__matcher {
|
|
81
85
|
$padding-vertical: map.get($tokens, select-size-multiple-padding-vertical);
|
|
82
86
|
|
|
83
|
-
padding:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
+
)
|
|
87
92
|
)
|
|
88
93
|
calc(
|
|
89
|
-
var(--kbq-select-size-multiple-padding-right, map.get($tokens,select-size-multiple-padding-right)) -
|
|
90
|
-
|
|
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
|
+
)
|
|
91
98
|
)
|
|
92
99
|
calc(
|
|
93
|
-
var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) -
|
|
94
|
-
|
|
100
|
+
var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) - var(
|
|
101
|
+
--kbq-form-field-size-border-width,
|
|
102
|
+
$border-width
|
|
103
|
+
)
|
|
95
104
|
)
|
|
96
105
|
calc(
|
|
97
|
-
var(--kbq-select-size-multiple-padding-left, map.get($tokens, select-size-multiple-padding-left)) -
|
|
98
|
-
|
|
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
|
+
)
|
|
99
110
|
);
|
|
100
111
|
|
|
101
112
|
.kbq-select__match-container {
|
|
@@ -109,12 +120,12 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
109
120
|
|
|
110
121
|
height: calc(
|
|
111
122
|
var(--kbq-form-field-size-height, $height) -
|
|
112
|
-
|
|
123
|
+
(var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) * 2)
|
|
113
124
|
);
|
|
114
125
|
|
|
115
126
|
max-height: calc(
|
|
116
127
|
var(--kbq-form-field-size-height, $height) -
|
|
117
|
-
|
|
128
|
+
(var(--kbq-select-size-multiple-padding-vertical, $padding-vertical) * 2)
|
|
118
129
|
);
|
|
119
130
|
|
|
120
131
|
gap: kbq-css-variable(select-size-multiple-content-gap);
|
|
@@ -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
|
+
}
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
* CSS cubic-bezier timing functions
|
|
3
3
|
* http://bourbon.io/docs/#timing-functions
|
|
4
4
|
*/
|
|
5
|
-
$ease-in-quad:
|
|
6
|
-
$ease-in-cubic:
|
|
7
|
-
$ease-in-quart:
|
|
8
|
-
$ease-in-quint:
|
|
9
|
-
$ease-in-sine:
|
|
10
|
-
$ease-in-expo:
|
|
11
|
-
$ease-in-circ:
|
|
12
|
-
$ease-in-back:
|
|
5
|
+
$ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
|
|
6
|
+
$ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
7
|
+
$ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22);
|
|
8
|
+
$ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
9
|
+
$ease-in-sine: cubic-bezier(0.47, 0, 0.745, 0.715);
|
|
10
|
+
$ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
|
|
11
|
+
$ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335);
|
|
12
|
+
$ease-in-back: cubic-bezier(0.6, -0.28, 0.735, 0.045);
|
|
13
13
|
|
|
14
|
-
$ease-out-quad:
|
|
15
|
-
$ease-out-cubic:
|
|
16
|
-
$ease-out-quart:
|
|
17
|
-
$ease-out-quint:
|
|
18
|
-
$ease-out-sine:
|
|
19
|
-
$ease-out-expo:
|
|
20
|
-
$ease-out-circ:
|
|
21
|
-
$ease-out-back:
|
|
14
|
+
$ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
15
|
+
$ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
16
|
+
$ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
17
|
+
$ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
|
|
18
|
+
$ease-out-sine: cubic-bezier(0.39, 0.575, 0.565, 1);
|
|
19
|
+
$ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
|
|
20
|
+
$ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
21
|
+
$ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
22
22
|
|
|
23
|
-
$ease-in-out-quad:
|
|
24
|
-
$ease-in-out-cubic: cubic-bezier(0.645,
|
|
25
|
-
$ease-in-out-quart: cubic-bezier(0.
|
|
26
|
-
$ease-in-out-quint: cubic-bezier(0.
|
|
27
|
-
$ease-in-out-sine:
|
|
28
|
-
$ease-in-out-expo:
|
|
29
|
-
$ease-in-out-circ:
|
|
30
|
-
$ease-in-out-back:
|
|
23
|
+
$ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
|
|
24
|
+
$ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
25
|
+
$ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
|
|
26
|
+
$ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
|
|
27
|
+
$ease-in-out-sine: cubic-bezier(0.445, 0.05, 0.55, 0.95);
|
|
28
|
+
$ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
|
|
29
|
+
$ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
|
|
30
|
+
$ease-in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
|