@koobiq/components 18.28.0 → 18.30.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/accordion/accordion-trigger.component.scss +2 -0
- package/actions-panel/actions-panel-container.scss +4 -1
- package/actions-panel/actions-panel-tokens.scss +2 -1
- package/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/checkbox/checkbox.scss +2 -0
- package/code-block/_code-block-theme.scss +4 -12
- package/code-block/code-block-tokens.scss +3 -2
- package/code-block/code-block.scss +41 -10
- package/core/common-behaviors/clipboard.d.ts +12 -0
- package/core/common-behaviors/index.d.ts +1 -0
- package/core/formatters/filesize/config.d.ts +66 -0
- package/core/formatters/filesize/formatter.d.ts +17 -0
- package/core/{utils/data-size → formatters/filesize}/index.d.ts +1 -1
- package/core/formatters/filesize/size.d.ts +52 -0
- package/core/formatters/index.d.ts +3 -1
- package/core/formatters/number/formatter.d.ts +13 -4
- package/core/forms/validators.d.ts +13 -0
- package/core/locales/formatters.d.ts +9 -1
- package/core/locales/locale-service.d.ts +9 -1
- package/core/locales/types.d.ts +14 -0
- package/core/pop-up/pop-up-trigger.d.ts +3 -4
- package/core/pop-up/pop-up.d.ts +2 -1
- package/core/select/common.d.ts +3 -3
- package/core/utils/public-api.d.ts +0 -1
- package/datepicker/calendar.scss +2 -0
- package/datepicker/datepicker-tokens.scss +1 -1
- package/dropdown/dropdown-item.component.d.ts +3 -1
- package/ellipsis-center/ellipsis-center.directive.d.ts +8 -2
- package/esm2022/accordion/accordion-content.mjs +4 -4
- package/esm2022/accordion/accordion-header.mjs +4 -4
- package/esm2022/accordion/accordion-item.mjs +4 -4
- package/esm2022/accordion/accordion-trigger.component.mjs +6 -6
- package/esm2022/accordion/accordion.component.mjs +4 -4
- package/esm2022/accordion/accordion.module.mjs +5 -5
- package/esm2022/actions-panel/actions-panel-container.mjs +6 -6
- package/esm2022/actions-panel/actions-panel.mjs +13 -13
- package/esm2022/actions-panel/module.mjs +5 -5
- package/esm2022/alert/alert.component.mjs +13 -13
- package/esm2022/alert/alert.module.mjs +5 -5
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/autocomplete/autocomplete.module.mjs +5 -5
- package/esm2022/badge/badge.component.mjs +10 -10
- package/esm2022/badge/badge.module.mjs +5 -5
- package/esm2022/breadcrumbs/breadcrumbs.mjs +17 -17
- package/esm2022/breadcrumbs/breadcrumbs.module.mjs +5 -5
- package/esm2022/button/button.component.mjs +7 -7
- package/esm2022/button/button.dropdown-trigger.directive.mjs +4 -4
- package/esm2022/button/button.module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle.component.mjs +7 -7
- package/esm2022/button-toggle/button-toggle.module.mjs +5 -5
- package/esm2022/checkbox/checkbox-module.mjs +5 -5
- package/esm2022/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2022/checkbox/checkbox.mjs +5 -5
- package/esm2022/code-block/code-block-highlight.mjs +4 -4
- package/esm2022/code-block/code-block.mjs +8 -5
- package/esm2022/code-block/code-block.module.mjs +5 -5
- package/esm2022/core/common-behaviors/clipboard.mjs +31 -0
- package/esm2022/core/common-behaviors/color.mjs +4 -4
- package/esm2022/core/common-behaviors/common-module.mjs +5 -5
- package/esm2022/core/common-behaviors/index.mjs +2 -1
- package/esm2022/core/error/error-state-matcher.mjs +10 -10
- package/esm2022/core/formatters/date/formatter.mjs +4 -4
- package/esm2022/core/formatters/date/formatter.pipe.mjs +79 -79
- package/esm2022/core/formatters/filesize/config.mjs +32 -0
- package/esm2022/core/formatters/filesize/formatter.mjs +43 -0
- package/esm2022/core/formatters/filesize/index.mjs +4 -0
- package/esm2022/core/formatters/filesize/size.mjs +65 -0
- package/esm2022/core/formatters/index.mjs +15 -9
- package/esm2022/core/formatters/number/formatter.mjs +38 -36
- package/esm2022/core/forms/forms-module.mjs +5 -5
- package/esm2022/core/forms/forms.directive.mjs +7 -7
- package/esm2022/core/forms/validators.mjs +22 -1
- package/esm2022/core/highlight/highlight.pipe.mjs +4 -4
- package/esm2022/core/highlight/index.mjs +5 -5
- package/esm2022/core/line/line.mjs +8 -8
- package/esm2022/core/locales/formatters.mjs +21 -13
- package/esm2022/core/locales/locale-service.mjs +4 -4
- package/esm2022/core/locales/locale-service.module.mjs +5 -5
- package/esm2022/core/locales/types.mjs +1 -1
- package/esm2022/core/option/action.mjs +4 -4
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option-module.mjs +5 -5
- package/esm2022/core/option/option.mjs +4 -4
- package/esm2022/core/pop-up/pop-up-trigger.mjs +22 -13
- package/esm2022/core/pop-up/pop-up.mjs +9 -5
- package/esm2022/core/select/common.mjs +21 -19
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
- package/esm2022/core/services/measure-scrollbar.service.mjs +4 -4
- package/esm2022/core/services/theme.service.mjs +4 -4
- package/esm2022/core/utils/public-api.mjs +1 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +4 -4
- package/esm2022/datepicker/calendar-header.component.mjs +4 -4
- package/esm2022/datepicker/calendar.component.mjs +5 -5
- package/esm2022/datepicker/datepicker-input.directive.mjs +4 -4
- package/esm2022/datepicker/datepicker-intl.mjs +4 -4
- package/esm2022/datepicker/datepicker-module.mjs +5 -5
- package/esm2022/datepicker/datepicker-toggle.component.mjs +7 -7
- package/esm2022/datepicker/datepicker.component.mjs +8 -8
- package/esm2022/datepicker/month-view.component.mjs +4 -4
- package/esm2022/divider/divider.component.mjs +4 -4
- package/esm2022/divider/divider.module.mjs +5 -5
- package/esm2022/dl/dl.component.mjs +10 -10
- package/esm2022/dl/dl.module.mjs +5 -5
- package/esm2022/dropdown/dropdown-content.directive.mjs +4 -4
- package/esm2022/dropdown/dropdown-item.component.mjs +9 -7
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -4
- package/esm2022/dropdown/dropdown.component.mjs +4 -4
- package/esm2022/dropdown/dropdown.module.mjs +5 -5
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +20 -10
- package/esm2022/empty-state/empty-state.component.mjs +16 -16
- package/esm2022/empty-state/empty-state.module.mjs +5 -5
- package/esm2022/file-upload/file-drop.mjs +4 -4
- package/esm2022/file-upload/file-upload.mjs +2 -1
- package/esm2022/file-upload/file-upload.module.mjs +5 -5
- package/esm2022/file-upload/multiple-file-upload.component.mjs +23 -9
- package/esm2022/file-upload/single-file-upload.component.mjs +18 -9
- package/esm2022/filter-bar/filter-bar-button.mjs +4 -4
- package/esm2022/filter-bar/filter-bar.mjs +4 -4
- package/esm2022/filter-bar/filter-bar.module.mjs +5 -5
- package/esm2022/filter-bar/filter-bar.types.mjs +32 -1
- package/esm2022/filter-bar/filter-refresher.mjs +4 -4
- package/esm2022/filter-bar/filter-reset.mjs +4 -4
- package/esm2022/filter-bar/filter-search.mjs +5 -5
- package/esm2022/filter-bar/filters.mjs +27 -20
- package/esm2022/filter-bar/pipe-add.mjs +5 -5
- package/esm2022/filter-bar/pipe.directive.mjs +4 -4
- package/esm2022/filter-bar/pipes/base-pipe.mjs +7 -7
- package/esm2022/filter-bar/pipes/pipe-button.mjs +5 -5
- package/esm2022/filter-bar/pipes/pipe-date.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +29 -11
- package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +234 -0
- package/esm2022/filter-bar/pipes/pipe-readonly.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-select.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-state.mjs +4 -4
- package/esm2022/filter-bar/pipes/pipe-text.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-title.mjs +4 -4
- package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +136 -0
- package/esm2022/filter-bar/public-api.mjs +2 -1
- package/esm2022/form-field/cleaner.mjs +4 -4
- package/esm2022/form-field/form-field.mjs +16 -16
- package/esm2022/form-field/form-field.module.mjs +5 -5
- package/esm2022/form-field/hint.mjs +4 -4
- package/esm2022/form-field/password-hint.mjs +9 -7
- package/esm2022/form-field/password-toggle.mjs +4 -4
- package/esm2022/form-field/prefix.mjs +4 -4
- package/esm2022/form-field/stepper.mjs +23 -7
- package/esm2022/form-field/suffix.mjs +4 -4
- package/esm2022/form-field/validate.directive.mjs +4 -4
- package/esm2022/icon/icon-button.component.mjs +4 -4
- package/esm2022/icon/icon-item.component.mjs +4 -4
- package/esm2022/icon/icon.component.mjs +4 -4
- package/esm2022/icon/icon.module.mjs +5 -5
- package/esm2022/input/input-number-validators.mjs +7 -7
- package/esm2022/input/input-number.mjs +13 -12
- package/esm2022/input/input-password.mjs +4 -4
- package/esm2022/input/input.mjs +7 -7
- package/esm2022/input/input.module.mjs +5 -5
- package/esm2022/link/link.component.mjs +4 -4
- package/esm2022/link/link.module.mjs +5 -5
- package/esm2022/list/list-selection.component.mjs +10 -10
- package/esm2022/list/list.component.mjs +7 -7
- package/esm2022/list/list.module.mjs +5 -5
- package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
- package/esm2022/loader-overlay/loader-overlay.module.mjs +5 -5
- package/esm2022/markdown/markdown.component.mjs +4 -4
- package/esm2022/markdown/markdown.module.mjs +5 -5
- package/esm2022/markdown/markdown.service.mjs +4 -4
- package/esm2022/modal/css-unit.pipe.mjs +4 -4
- package/esm2022/modal/modal-control.service.mjs +4 -4
- package/esm2022/modal/modal.component.mjs +4 -4
- package/esm2022/modal/modal.directive.mjs +13 -13
- package/esm2022/modal/modal.module.mjs +5 -5
- package/esm2022/modal/modal.service.mjs +4 -4
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +28 -28
- package/esm2022/navbar/navbar.component.mjs +10 -10
- package/esm2022/navbar/navbar.module.mjs +5 -5
- package/esm2022/navbar/vertical-navbar.component.mjs +4 -4
- package/esm2022/overflow-items/module.mjs +5 -5
- package/esm2022/overflow-items/overflow-items.mjs +56 -83
- package/esm2022/popover/popover-confirm.component.mjs +7 -7
- package/esm2022/popover/popover.component.mjs +15 -9
- package/esm2022/popover/popover.module.mjs +5 -5
- package/esm2022/progress-bar/progress-bar.component.mjs +10 -10
- package/esm2022/progress-bar/progress-bar.module.mjs +5 -5
- package/esm2022/progress-spinner/progress-spinner.component.mjs +10 -10
- package/esm2022/progress-spinner/progress-spinner.module.mjs +5 -5
- package/esm2022/radio/radio.component.mjs +7 -7
- package/esm2022/radio/radio.module.mjs +5 -5
- package/esm2022/risk-level/risk-level.component.mjs +4 -4
- package/esm2022/risk-level/risk-level.module.mjs +5 -5
- package/esm2022/scrollbar/scrollbar.component.mjs +4 -4
- package/esm2022/scrollbar/scrollbar.directive.mjs +4 -4
- package/esm2022/scrollbar/scrollbar.module.mjs +5 -5
- package/esm2022/select/select-option.directive.mjs +4 -4
- package/esm2022/select/select.component.mjs +10 -11
- package/esm2022/select/select.module.mjs +5 -5
- package/esm2022/sidebar/sidebar.component.mjs +18 -12
- package/esm2022/sidebar/sidebar.module.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-directives.mjs +16 -16
- package/esm2022/sidepanel/sidepanel.module.mjs +5 -5
- package/esm2022/sidepanel/sidepanel.service.mjs +4 -4
- package/esm2022/splitter/splitter.component.mjs +13 -13
- package/esm2022/splitter/splitter.module.mjs +5 -5
- package/esm2022/table/table.component.mjs +7 -7
- package/esm2022/table/table.module.mjs +5 -5
- package/esm2022/tabs/paginated-tab-header.mjs +4 -4
- package/esm2022/tabs/tab-body.component.mjs +7 -7
- package/esm2022/tabs/tab-content.directive.mjs +4 -4
- package/esm2022/tabs/tab-group.component.mjs +16 -16
- package/esm2022/tabs/tab-header.component.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -4
- package/esm2022/tabs/tab-label.directive.mjs +4 -4
- package/esm2022/tabs/tab-nav-bar.mjs +10 -10
- package/esm2022/tabs/tab.component.mjs +4 -4
- package/esm2022/tabs/tabs.module.mjs +5 -5
- package/esm2022/tags/tag-input.mjs +4 -4
- package/esm2022/tags/tag-list.component.mjs +5 -5
- package/esm2022/tags/tag.component.mjs +13 -13
- package/esm2022/tags/tag.module.mjs +5 -5
- package/esm2022/textarea/textarea.component.mjs +4 -4
- package/esm2022/textarea/textarea.module.mjs +5 -5
- package/esm2022/timepicker/timepicker.directive.mjs +4 -4
- package/esm2022/timepicker/timepicker.module.mjs +5 -5
- package/esm2022/timezone/cities-by-filter.pipe.mjs +4 -4
- package/esm2022/timezone/timezone-option.component.mjs +4 -4
- package/esm2022/timezone/timezone-option.directive.mjs +4 -4
- package/esm2022/timezone/timezone-select.component.mjs +9 -9
- package/esm2022/timezone/timezone.module.mjs +5 -5
- package/esm2022/timezone/utc-offset.pipe.mjs +4 -4
- package/esm2022/title/title.directive.mjs +4 -4
- package/esm2022/title/title.module.mjs +5 -5
- package/esm2022/toast/toast-container.component.mjs +4 -4
- package/esm2022/toast/toast.component.mjs +7 -7
- package/esm2022/toast/toast.module.mjs +5 -5
- package/esm2022/toast/toast.service.mjs +4 -4
- package/esm2022/toggle/toggle.component.mjs +4 -4
- package/esm2022/toggle/toggle.module.mjs +5 -5
- package/esm2022/tooltip/tooltip.component.mjs +23 -14
- package/esm2022/tooltip/tooltip.module.mjs +5 -5
- package/esm2022/top-bar/module.mjs +5 -5
- package/esm2022/top-bar/top-bar.mjs +12 -12
- package/esm2022/tree/control/flat-tree-control.filters.mjs +10 -2
- package/esm2022/tree/node.mjs +4 -4
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.directive.mjs +4 -4
- package/esm2022/tree/toggle.mjs +10 -10
- package/esm2022/tree/tree-base.mjs +7 -7
- package/esm2022/tree/tree-option.component.mjs +11 -7
- package/esm2022/tree/tree-selection.component.mjs +6 -4
- package/esm2022/tree/tree.mjs +4 -4
- package/esm2022/tree/tree.module.mjs +5 -5
- package/esm2022/tree-select/tree-select.component.mjs +5 -5
- package/esm2022/tree-select/tree-select.module.mjs +5 -5
- package/fesm2022/koobiq-components-accordion.mjs +21 -21
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +21 -21
- package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-alert.mjs +16 -16
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +13 -13
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +13 -13
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +20 -20
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +10 -10
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +13 -13
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +11 -11
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +14 -11
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +452 -333
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +36 -36
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +7 -7
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +13 -13
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +21 -19
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +19 -9
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +19 -19
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +43 -21
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +481 -108
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +66 -49
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +13 -13
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +32 -31
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +7 -7
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +19 -19
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +16 -16
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +10 -10
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +28 -28
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +43 -43
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-overflow-items.mjs +59 -86
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +24 -18
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +13 -13
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +13 -13
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +10 -10
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +7 -7
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +10 -10
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +16 -17
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +21 -15
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +25 -25
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +16 -16
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +10 -10
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +52 -52
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +23 -23
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +7 -7
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +7 -7
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +24 -24
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +7 -7
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +16 -16
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +7 -7
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +26 -17
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +15 -15
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +8 -8
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +54 -40
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +125 -32
- package/file-upload/file-upload-tokens.scss +42 -14
- package/file-upload/file-upload.d.ts +1 -0
- package/file-upload/multiple-file-upload.component.d.ts +12 -5
- package/file-upload/multiple-file-upload.component.scss +66 -69
- package/file-upload/single-file-upload.component.d.ts +7 -1
- package/file-upload/single-file-upload.component.scss +9 -0
- package/filter-bar/filter-bar.types.d.ts +28 -1
- package/filter-bar/filters.d.ts +3 -2
- package/filter-bar/filters.scss +4 -0
- package/filter-bar/pipes/base-pipe.scss +1 -0
- package/filter-bar/pipes/pipe-multi-select.d.ts +6 -1
- package/filter-bar/pipes/pipe-multi-tree-select.d.ts +57 -0
- package/filter-bar/pipes/pipe-multi-tree-select.scss +19 -0
- package/filter-bar/pipes/pipe-tree-select.d.ts +41 -0
- package/filter-bar/pipes/pipe-tree-select.scss +9 -0
- package/filter-bar/public-api.d.ts +1 -0
- package/form-field/_form-field-theme.scss +12 -12
- package/form-field/form-field.d.ts +3 -1
- package/form-field/form-field.scss +58 -61
- package/form-field/stepper.d.ts +15 -1
- package/input/_input-theme.scss +6 -0
- package/input/input-number.d.ts +1 -0
- package/modal/modal.type.d.ts +1 -1
- package/overflow-items/overflow-items.d.ts +17 -26
- package/package.json +5 -5
- package/popover/popover.component.d.ts +4 -2
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/schematics/ng-add/index.js +5 -5
- package/select/_select-theme.scss +1 -1
- package/select/select.scss +2 -0
- package/tags/_tag-theme.scss +5 -0
- package/tags/tag-tokens.scss +17 -0
- package/tooltip/tooltip.component.d.ts +8 -1
- package/top-bar/top-bar.scss +1 -0
- package/tree/control/flat-tree-control.filters.d.ts +1 -0
- package/tree/tree-option.component.d.ts +3 -1
- package/core/utils/data-size/config.d.ts +0 -38
- package/core/utils/data-size/data-size.pipe.d.ts +0 -14
- package/core/utils/data-size/size.d.ts +0 -15
- package/esm2022/core/utils/data-size/config.mjs +0 -10
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +0 -45
- package/esm2022/core/utils/data-size/index.mjs +0 -4
- package/esm2022/core/utils/data-size/size.mjs +0 -43
|
@@ -3,19 +3,35 @@
|
|
|
3
3
|
@use '../core/styles/common/tokens';
|
|
4
4
|
|
|
5
5
|
@mixin kbq-file-upload-theme() {
|
|
6
|
-
.kbq-file-upload {
|
|
7
|
-
.kbq-focused,
|
|
8
|
-
.kbq-link.kbq-focused {
|
|
9
|
-
border: 2px solid var(--kbq-file-upload-single-states-focused-focus-outline-color);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
6
|
.kbq-single-file-upload {
|
|
14
7
|
.kbq-file-upload {
|
|
15
8
|
// FIXME: move to mixin kbq-file-upload-state
|
|
16
9
|
background-color: var(--kbq-file-upload-single-default-container-background);
|
|
17
10
|
border-color: var(--kbq-file-upload-single-default-container-border) !important;
|
|
18
11
|
|
|
12
|
+
.kbq-focused,
|
|
13
|
+
.kbq-link.kbq-focused {
|
|
14
|
+
border: 2px solid var(--kbq-file-upload-single-states-focused-focus-outline-color);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:not(.kbq-disabled, .kbq-error) {
|
|
18
|
+
.kbq-file-upload__action {
|
|
19
|
+
color: var(--kbq-file-upload-single-default-icon-button-color);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.kbq-dropzone__icon {
|
|
23
|
+
color: var(--kbq-file-upload-single-default-upload-icon-color);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.file-item__text-wrapper .kbq-icon.kbq-empty {
|
|
27
|
+
color: var(--kbq-file-upload-single-default-left-icon-color);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.kbq-file-item__size {
|
|
31
|
+
color: var(--kbq-file-upload-single-default-file-size-text-color);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
19
35
|
&.dragover {
|
|
20
36
|
background-color: var(--kbq-file-upload-single-states-on-drag-container-background);
|
|
21
37
|
border-color: var(--kbq-file-upload-single-states-on-drag-container-border) !important;
|
|
@@ -27,20 +43,51 @@
|
|
|
27
43
|
border-color: var(--kbq-file-upload-single-states-error-container-border) !important;
|
|
28
44
|
}
|
|
29
45
|
|
|
30
|
-
|
|
31
|
-
|
|
46
|
+
.kbq-dropzone__icon {
|
|
47
|
+
color: var(--kbq-file-upload-single-states-error-upload-icon-color);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.file-item__text-wrapper .kbq-icon.kbq-empty {
|
|
51
|
+
color: var(--kbq-file-upload-single-states-error-left-icon-color);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.file-item__text,
|
|
55
|
+
.dropzone__text:not(.kbq-link) {
|
|
32
56
|
color: var(--kbq-file-upload-single-states-error-text-block-color);
|
|
33
57
|
}
|
|
58
|
+
|
|
59
|
+
.kbq-file-item__size {
|
|
60
|
+
color: var(--kbq-file-upload-single-states-error-file-size-text-color);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.kbq-file-upload__action {
|
|
64
|
+
color: var(--kbq-file-upload-single-states-error-icon-button-color);
|
|
65
|
+
}
|
|
34
66
|
}
|
|
35
67
|
|
|
36
68
|
&.kbq-disabled {
|
|
37
69
|
background-color: var(--kbq-file-upload-single-states-disabled-container-background);
|
|
38
70
|
border-color: var(--kbq-file-upload-single-states-disabled-container-border) !important;
|
|
39
71
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
72
|
+
.kbq-dropzone__icon {
|
|
73
|
+
color: var(--kbq-file-upload-single-states-disabled-upload-icon-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.file-item__text-wrapper .kbq-icon.kbq-empty {
|
|
77
|
+
color: var(--kbq-file-upload-single-states-disabled-left-icon-color);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.dropzone__text,
|
|
81
|
+
.file-item__text {
|
|
82
|
+
color: var(--kbq-file-upload-single-states-disabled-text-block-color);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.kbq-file-item__size {
|
|
86
|
+
color: var(--kbq-file-upload-single-states-disabled-file-size-text-color);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.kbq-file-upload__action {
|
|
90
|
+
color: var(--kbq-file-upload-single-states-disabled-icon-button-color);
|
|
44
91
|
}
|
|
45
92
|
}
|
|
46
93
|
}
|
|
@@ -51,26 +98,40 @@
|
|
|
51
98
|
background-color: var(--kbq-file-upload-multiple-default-container-background);
|
|
52
99
|
border-color: var(--kbq-file-upload-multiple-default-container-border) !important;
|
|
53
100
|
|
|
101
|
+
.kbq-focused,
|
|
102
|
+
.kbq-link.kbq-focused {
|
|
103
|
+
border: 2px solid var(--kbq-file-upload-multiple-states-focused-focus-outline-color);
|
|
104
|
+
}
|
|
105
|
+
|
|
54
106
|
.btn-upload {
|
|
55
107
|
border-top-color: var(--kbq-file-upload-multiple-default-container-border);
|
|
56
108
|
}
|
|
57
109
|
|
|
58
110
|
.kbq-file-multiple-uploaded__header {
|
|
111
|
+
color: var(--kbq-foreground-contrast-secondary);
|
|
59
112
|
border-bottom-color: var(--kbq-file-upload-multiple-default-grid-divider-color);
|
|
60
113
|
}
|
|
61
114
|
|
|
115
|
+
&:not(.kbq-disabled, .kbq-error) {
|
|
116
|
+
.kbq-dropzone__icon {
|
|
117
|
+
color: var(--kbq-file-upload-multiple-default-upload-icon-color);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
62
121
|
&.dragover {
|
|
63
122
|
background-color: var(--kbq-file-upload-multiple-states-on-drag-container-background);
|
|
64
123
|
border-color: var(--kbq-file-upload-multiple-states-on-drag-container-border) !important;
|
|
65
124
|
|
|
125
|
+
.btn-upload {
|
|
126
|
+
border-top-color: var(--kbq-file-upload-multiple-states-on-drag-container-border);
|
|
127
|
+
}
|
|
128
|
+
|
|
66
129
|
.kbq-file-multiple-uploaded__header {
|
|
67
|
-
border-bottom-color: var(--kbq-file-upload-multiple-states-on-drag-
|
|
130
|
+
border-bottom-color: var(--kbq-file-upload-multiple-states-on-drag-grid-divider-color) !important;
|
|
68
131
|
}
|
|
69
132
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
border-top-color: var(--kbq-file-upload-multiple-states-on-drag-container-border);
|
|
73
|
-
}
|
|
133
|
+
.kbq-dropzone__icon {
|
|
134
|
+
color: var(--kbq-file-upload-multiple-states-on-drag-upload-icon-color);
|
|
74
135
|
}
|
|
75
136
|
}
|
|
76
137
|
|
|
@@ -78,15 +139,31 @@
|
|
|
78
139
|
background-color: var(--kbq-file-upload-multiple-states-disabled-container-background);
|
|
79
140
|
border-color: var(--kbq-file-upload-multiple-states-disabled-container-border) !important;
|
|
80
141
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
142
|
+
.kbq-dropzone__icon {
|
|
143
|
+
color: var(--kbq-file-upload-multiple-states-disabled-upload-icon-color);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.dropzone__text,
|
|
147
|
+
.kbq-file-multiple-uploaded__header {
|
|
148
|
+
color: var(--kbq-file-upload-multiple-states-disabled-text-block-color);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.kbq-file-multiple-uploaded__header {
|
|
152
|
+
border-bottom-color: var(--kbq-file-upload-multiple-states-disabled-grid-divider-color) !important;
|
|
85
153
|
}
|
|
86
154
|
|
|
87
|
-
|
|
88
|
-
.
|
|
89
|
-
|
|
155
|
+
.multiple__uploaded-item {
|
|
156
|
+
.kbq-file-upload__file .kbq-icon.kbq-empty {
|
|
157
|
+
color: var(--kbq-file-upload-multiple-states-disabled-left-icon-color);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.file-item__text,
|
|
161
|
+
.kbq-file-upload__size {
|
|
162
|
+
color: var(--kbq-file-upload-multiple-states-disabled-text-block-color);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.kbq-file-upload__action .kbq-icon.kbq-empty {
|
|
166
|
+
color: var(--kbq-file-upload-multiple-states-disabled-icon-button-color);
|
|
90
167
|
}
|
|
91
168
|
}
|
|
92
169
|
}
|
|
@@ -96,9 +173,13 @@
|
|
|
96
173
|
background-color: var(--kbq-background-error-less);
|
|
97
174
|
border-color: var(--kbq-line-error) !important;
|
|
98
175
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
176
|
+
.kbq-dropzone__icon {
|
|
177
|
+
color: var(--kbq-file-upload-multiple-states-error-upload-icon-color);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.dropzone__text:not(.kbq-link),
|
|
181
|
+
.kbq-file-multiple-uploaded__header {
|
|
182
|
+
color: var(--kbq-file-upload-multiple-states-error-text-block-color);
|
|
102
183
|
}
|
|
103
184
|
}
|
|
104
185
|
|
|
@@ -106,20 +187,32 @@
|
|
|
106
187
|
&:has(.kbq-file-upload__row.error) {
|
|
107
188
|
background-color: var(--kbq-background-error-less);
|
|
108
189
|
|
|
109
|
-
|
|
110
|
-
.kbq-
|
|
190
|
+
.file-item__text,
|
|
191
|
+
.kbq-file-upload__size {
|
|
111
192
|
color: var(--kbq-foreground-error);
|
|
112
193
|
}
|
|
194
|
+
|
|
195
|
+
.kbq-file-upload__file .kbq-icon.kbq-empty {
|
|
196
|
+
color: var(--kbq-file-upload-multiple-states-error-left-icon-color);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.kbq-file-upload__action .kbq-icon.kbq-empty {
|
|
200
|
+
color: var(--kbq-file-upload-multiple-states-error-icon-button-color);
|
|
201
|
+
}
|
|
113
202
|
}
|
|
114
203
|
}
|
|
115
204
|
}
|
|
116
205
|
|
|
117
206
|
.multiple__uploaded-item {
|
|
118
|
-
|
|
207
|
+
.kbq-file-upload__file .kbq-icon.kbq-empty {
|
|
119
208
|
color: var(--kbq-file-upload-multiple-default-left-icon-color);
|
|
120
209
|
}
|
|
121
210
|
|
|
122
|
-
|
|
211
|
+
.kbq-file-upload__size {
|
|
212
|
+
color: var(--kbq-file-upload-multiple-default-file-size-text-color);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.kbq-file-upload__action .kbq-icon.kbq-empty {
|
|
123
216
|
color: var(--kbq-file-upload-multiple-default-icon-button-color);
|
|
124
217
|
}
|
|
125
218
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
.kbq-file-upload {
|
|
1
|
+
:where(.kbq-file-upload) {
|
|
2
|
+
--kbq-form-field-hint-text: var(--kbq-foreground-contrast-secondary);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:where(.kbq-single-file-upload) {
|
|
2
6
|
--kbq-file-upload-size-single-container-border-radius: var(--kbq-size-s);
|
|
3
7
|
--kbq-file-upload-size-single-container-border-width: 1px;
|
|
4
8
|
--kbq-file-upload-size-single-container-content-gap-horizontal: var(--kbq-size-s);
|
|
@@ -6,18 +10,7 @@
|
|
|
6
10
|
--kbq-file-upload-size-single-container-padding-horizontal: var(--kbq-size-m);
|
|
7
11
|
--kbq-file-upload-size-single-text-block-padding-vertical: var(--kbq-size-3xs);
|
|
8
12
|
--kbq-file-upload-size-single-text-block-content-gap-horizontal: var(--kbq-size-xxs);
|
|
9
|
-
--kbq-file-upload-
|
|
10
|
-
--kbq-file-upload-size-multiple-big-container-min-width: 320px;
|
|
11
|
-
--kbq-file-upload-size-multiple-big-container-border-radius: var(--kbq-size-s);
|
|
12
|
-
--kbq-file-upload-size-multiple-big-container-border-width: 1px;
|
|
13
|
-
--kbq-file-upload-size-multiple-big-container-content-gap-horizontal: var(--kbq-size-m);
|
|
14
|
-
--kbq-file-upload-size-multiple-big-container-padding-vertical: var(--kbq-size-xxl);
|
|
15
|
-
--kbq-file-upload-size-multiple-big-container-padding-horizontal: var(--kbq-size-xxl);
|
|
16
|
-
--kbq-file-upload-size-multiple-big-text-block-content-gap-vertical: 0px;
|
|
17
|
-
--kbq-file-upload-size-multiple-big-text-block-content-gap-horizontal: var(--kbq-size-xxs);
|
|
18
|
-
--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal: var(--kbq-size-s);
|
|
19
|
-
--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical: var(--kbq-size-s);
|
|
20
|
-
--kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal: var(--kbq-size-xxs);
|
|
13
|
+
--kbq-file-upload-single-min-height: var(--kbq-size-5xl);
|
|
21
14
|
/* THEME TOKENS */
|
|
22
15
|
--kbq-file-upload-single-default-container-border: var(--kbq-line-contrast-fade);
|
|
23
16
|
--kbq-file-upload-single-default-container-background: var(--kbq-background-bg);
|
|
@@ -25,6 +18,7 @@
|
|
|
25
18
|
--kbq-file-upload-single-default-left-icon-color: var(--kbq-icon-contrast-fade);
|
|
26
19
|
--kbq-file-upload-single-default-text-block-color: var(--kbq-foreground-contrast);
|
|
27
20
|
--kbq-file-upload-single-default-icon-button-color: var(--kbq-icon-contrast);
|
|
21
|
+
--kbq-file-upload-single-default-file-size-text-color: var(--kbq-foreground-contrast-secondary);
|
|
28
22
|
--kbq-file-upload-single-states-on-drag-container-border: var(--kbq-line-theme-fade);
|
|
29
23
|
--kbq-file-upload-single-states-on-drag-container-background: var(--kbq-background-theme-fade);
|
|
30
24
|
--kbq-file-upload-single-states-on-drag-upload-icon-color: var(--kbq-icon-contrast-fade);
|
|
@@ -32,14 +26,37 @@
|
|
|
32
26
|
--kbq-file-upload-single-states-on-drag-text-block-color: var(--kbq-foreground-contrast);
|
|
33
27
|
--kbq-file-upload-single-states-error-container-border: var(--kbq-line-error);
|
|
34
28
|
--kbq-file-upload-single-states-error-container-background: var(--kbq-background-error-less);
|
|
29
|
+
--kbq-file-upload-single-states-error-upload-icon-color: var(--kbq-icon-error);
|
|
35
30
|
--kbq-file-upload-single-states-error-left-icon-color: var(--kbq-icon-error);
|
|
36
31
|
--kbq-file-upload-single-states-error-text-block-color: var(--kbq-foreground-error);
|
|
32
|
+
--kbq-file-upload-single-states-error-icon-button-color: var(--kbq-icon-error);
|
|
33
|
+
--kbq-file-upload-single-states-error-file-size-text-color: var(--kbq-foreground-error);
|
|
37
34
|
--kbq-file-upload-single-states-disabled-container-border: var(--kbq-states-line-disabled);
|
|
38
35
|
--kbq-file-upload-single-states-disabled-container-background: var(--kbq-states-background-disabled);
|
|
39
36
|
--kbq-file-upload-single-states-disabled-upload-icon-color: var(--kbq-states-icon-disabled);
|
|
40
37
|
--kbq-file-upload-single-states-disabled-left-icon-color: var(--kbq-states-icon-disabled);
|
|
38
|
+
--kbq-file-upload-single-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
|
|
41
39
|
--kbq-file-upload-single-states-disabled-text-block-color: var(--kbq-states-foreground-disabled);
|
|
40
|
+
--kbq-file-upload-single-states-disabled-file-size-text-color: var(--kbq-states-foreground-disabled);
|
|
42
41
|
--kbq-file-upload-single-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:where(.kbq-multiple-file-upload) {
|
|
45
|
+
--kbq-file-upload-size-multiple-big-container-min-height: 192px;
|
|
46
|
+
--kbq-file-upload-size-multiple-big-container-min-width: 320px;
|
|
47
|
+
--kbq-file-upload-size-multiple-big-container-border-radius: var(--kbq-size-s);
|
|
48
|
+
--kbq-file-upload-size-multiple-big-container-border-width: 1px;
|
|
49
|
+
--kbq-file-upload-size-multiple-big-container-content-gap-horizontal: var(--kbq-size-m);
|
|
50
|
+
--kbq-file-upload-size-multiple-big-container-padding-vertical: var(--kbq-size-xxl);
|
|
51
|
+
--kbq-file-upload-size-multiple-big-container-padding-horizontal: var(--kbq-size-xxl);
|
|
52
|
+
--kbq-file-upload-size-multiple-big-dropzone-content-gap-horizontal: var(--kbq-size-s);
|
|
53
|
+
--kbq-file-upload-size-multiple-big-text-block-content-gap-vertical: 0px;
|
|
54
|
+
--kbq-file-upload-size-multiple-big-text-block-content-gap-horizontal: var(--kbq-size-xxs);
|
|
55
|
+
--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal: var(--kbq-size-s);
|
|
56
|
+
--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical: var(--kbq-size-s);
|
|
57
|
+
--kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal: var(--kbq-size-xxs);
|
|
58
|
+
--kbq-file-upload-size-multiple-big-grid-cell-file-size-width: var(--kbq-size-7xl);
|
|
59
|
+
/* THEME TOKENS */
|
|
43
60
|
--kbq-file-upload-multiple-default-container-border: var(--kbq-line-contrast-fade);
|
|
44
61
|
--kbq-file-upload-multiple-default-container-background: var(--kbq-background-bg);
|
|
45
62
|
--kbq-file-upload-multiple-default-upload-icon-color: var(--kbq-icon-contrast-fade);
|
|
@@ -47,6 +64,7 @@
|
|
|
47
64
|
--kbq-file-upload-multiple-default-text-block-color: var(--kbq-foreground-contrast);
|
|
48
65
|
--kbq-file-upload-multiple-default-icon-button-color: var(--kbq-icon-contrast);
|
|
49
66
|
--kbq-file-upload-multiple-default-grid-divider-color: var(--kbq-line-contrast-less);
|
|
67
|
+
--kbq-file-upload-multiple-default-file-size-text-color: var(--kbq-foreground-contrast-secondary);
|
|
50
68
|
--kbq-file-upload-multiple-states-on-drag-container-border: var(--kbq-line-theme-fade);
|
|
51
69
|
--kbq-file-upload-multiple-states-on-drag-container-background: var(--kbq-background-theme-fade);
|
|
52
70
|
--kbq-file-upload-multiple-states-on-drag-upload-icon-color: var(--kbq-icon-contrast-fade);
|
|
@@ -55,6 +73,7 @@
|
|
|
55
73
|
--kbq-file-upload-multiple-states-on-drag-text-block-color: var(--kbq-foreground-contrast);
|
|
56
74
|
--kbq-file-upload-multiple-states-on-drag-grid-divider-color: var(--kbq-line-contrast-less);
|
|
57
75
|
--kbq-file-upload-multiple-states-error-grid-cell-background: var(--kbq-background-error-less);
|
|
76
|
+
--kbq-file-upload-multiple-states-error-upload-icon-color: var(--kbq-icon-error);
|
|
58
77
|
--kbq-file-upload-multiple-states-error-left-icon-color: var(--kbq-icon-error);
|
|
59
78
|
--kbq-file-upload-multiple-states-error-text-block-color: var(--kbq-foreground-error);
|
|
60
79
|
--kbq-file-upload-multiple-states-error-icon-button-color: var(--kbq-icon-error);
|
|
@@ -62,7 +81,16 @@
|
|
|
62
81
|
--kbq-file-upload-multiple-states-disabled-container-background: var(--kbq-states-background-disabled);
|
|
63
82
|
--kbq-file-upload-multiple-states-disabled-upload-icon-color: var(--kbq-states-icon-disabled);
|
|
64
83
|
--kbq-file-upload-multiple-states-disabled-left-icon-color: var(--kbq-states-icon-disabled);
|
|
84
|
+
--kbq-file-upload-multiple-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
|
|
65
85
|
--kbq-file-upload-multiple-states-disabled-text-block-color: var(--kbq-states-foreground-disabled);
|
|
66
86
|
--kbq-file-upload-multiple-states-disabled-grid-divider-color: var(--kbq-states-line-disabled);
|
|
67
|
-
--kbq-
|
|
87
|
+
--kbq-file-upload-multiple-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* stylelint-disable-next-line selector-class-pattern */
|
|
91
|
+
:where(.kbq-file-upload.compact) {
|
|
92
|
+
--kbq-file-upload-multiple-compact-container-content-gap-horizontal: var(--kbq-size-s);
|
|
93
|
+
--kbq-file-upload-multiple-compact-text-block-padding-vertical: var(--kbq-size-3xs);
|
|
94
|
+
--kbq-file-upload-multiple-compact-container-padding-vertical: 11px;
|
|
95
|
+
--kbq-file-upload-multiple-compact-container-padding-horizontal: 11px;
|
|
68
96
|
}
|
|
@@ -27,6 +27,7 @@ export interface KbqInputFileLabel {
|
|
|
27
27
|
*/
|
|
28
28
|
export type KbqFileValidatorFn = (file: File) => string | null;
|
|
29
29
|
export declare const KBQ_FILE_UPLOAD_CONFIGURATION: InjectionToken<KbqInputFileLabel>;
|
|
30
|
+
/** @deprecated use `FileValidators.isCorrectExtension` instead. Will be removed in next major release. */
|
|
30
31
|
export declare const isCorrectExtension: (file: File, accept?: string[]) => boolean;
|
|
31
32
|
/** @docs-private */
|
|
32
33
|
export declare abstract class KbqFileUploadBase implements CanUpdateErrorState {
|
|
@@ -42,21 +42,23 @@ export declare class KbqMultipleFileUploadComponent extends KbqFileUploadBase im
|
|
|
42
42
|
set files(currentFileList: KbqFileItem[]);
|
|
43
43
|
/** Emits an event containing updated file list.
|
|
44
44
|
* public output will be renamed to filesChange in next major release (#DS-3700) */
|
|
45
|
-
filesChange: EventEmitter<KbqFileItem[]>;
|
|
45
|
+
readonly filesChange: EventEmitter<KbqFileItem[]>;
|
|
46
46
|
/**
|
|
47
47
|
* Emits an event containing a chunk of files added to the file list.
|
|
48
48
|
* Useful when handling added files, skipping filtering file list.
|
|
49
49
|
*/
|
|
50
|
-
filesAdded: EventEmitter<KbqFileItem[]>;
|
|
50
|
+
readonly filesAdded: EventEmitter<KbqFileItem[]>;
|
|
51
51
|
/**
|
|
52
52
|
* Emits an event containing a tuple of file and file's index when removed from the file list.
|
|
53
53
|
* Useful when handle removed files, skipping filtering file list.
|
|
54
54
|
*/
|
|
55
|
-
fileRemoved: EventEmitter<[KbqFileItem, number]>;
|
|
55
|
+
readonly fileRemoved: EventEmitter<[KbqFileItem, number]>;
|
|
56
56
|
/** File Icon Template */
|
|
57
|
-
customFileIcon: TemplateRef<HTMLElement>;
|
|
57
|
+
protected readonly customFileIcon: TemplateRef<HTMLElement>;
|
|
58
58
|
/** @docs-private */
|
|
59
|
-
input: ElementRef<HTMLInputElement>;
|
|
59
|
+
readonly input: ElementRef<HTMLInputElement>;
|
|
60
|
+
private readonly listSelection;
|
|
61
|
+
private readonly fileSizeHeaderCell;
|
|
60
62
|
/** @docs-private */
|
|
61
63
|
protected readonly hint: QueryList<TemplateRef<any>>;
|
|
62
64
|
/** @docs-private */
|
|
@@ -95,6 +97,11 @@ export declare class KbqMultipleFileUploadComponent extends KbqFileUploadBase im
|
|
|
95
97
|
* @docs-private
|
|
96
98
|
*/
|
|
97
99
|
get invalid(): boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Set maxWidth for filesize cell to enable proper ellipsis center,
|
|
102
|
+
* @docs-private
|
|
103
|
+
*/
|
|
104
|
+
protected get fileSizeCellMaxWidth(): number;
|
|
98
105
|
/** @docs-private */
|
|
99
106
|
readonly configuration: KbqInputFileMultipleLabel | null;
|
|
100
107
|
constructor();
|
|
@@ -18,58 +18,35 @@
|
|
|
18
18
|
|
|
19
19
|
min-width: var(--kbq-file-upload-size-multiple-big-container-min-width);
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
.dropzone {
|
|
22
22
|
gap: var(--kbq-file-upload-size-multiple-big-container-content-gap-horizontal);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
display: block;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
& .multiple__caption {
|
|
31
|
-
display: block;
|
|
25
|
+
.dropzone__text {
|
|
26
|
+
.multiple__caption {
|
|
32
27
|
padding-top: var(--kbq-file-upload-size-multiple-big-text-block-content-gap-vertical);
|
|
33
|
-
// гап не применяется тк не флекс. в целом гап не нужен, тк по логике дизайна ссылка от текста отделяется пробелом
|
|
34
|
-
gap: var(--kbq-file-upload-size-multiple-big-text-block-content-gap-horizontal);
|
|
35
28
|
}
|
|
36
29
|
}
|
|
37
30
|
}
|
|
38
31
|
|
|
39
32
|
&.compact:not(.selected) {
|
|
40
|
-
padding: var(--kbq-file-upload-
|
|
41
|
-
var(--kbq-file-upload-
|
|
42
|
-
|
|
43
|
-
& .dropzone {
|
|
44
|
-
gap: var(--kbq-file-upload-size-single-container-content-gap-horizontal);
|
|
33
|
+
padding: var(--kbq-file-upload-multiple-compact-container-padding-vertical)
|
|
34
|
+
var(--kbq-file-upload-multiple-compact-container-padding-horizontal);
|
|
45
35
|
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
.dropzone {
|
|
37
|
+
gap: var(--kbq-file-upload-multiple-compact-container-content-gap-horizontal);
|
|
48
38
|
|
|
49
|
-
|
|
39
|
+
.dropzone__text.multiple__caption {
|
|
40
|
+
padding-top: var(--kbq-file-upload-multiple-compact-text-block-padding-vertical);
|
|
50
41
|
|
|
51
|
-
|
|
42
|
+
padding-bottom: var(--kbq-file-upload-multiple-compact-text-block-padding-vertical);
|
|
52
43
|
}
|
|
53
44
|
}
|
|
54
45
|
}
|
|
55
46
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
& .kbq-list-text {
|
|
60
|
-
padding: calc(
|
|
61
|
-
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical) - var(
|
|
62
|
-
--kbq-list-size-container-focus-outline-width,
|
|
63
|
-
var(--kbq-size-3xs)
|
|
64
|
-
)
|
|
65
|
-
)
|
|
66
|
-
calc(
|
|
67
|
-
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal) - var(
|
|
68
|
-
--kbq-list-size-container-focus-outline-width,
|
|
69
|
-
var(--kbq-size-3xs)
|
|
70
|
-
)
|
|
71
|
-
);
|
|
72
|
-
}
|
|
47
|
+
.kbq-list-option.multiple__uploaded-item {
|
|
48
|
+
border-radius: 0;
|
|
49
|
+
padding: 0 calc(var(--kbq-size-3xs) - var(--kbq-file-upload-size-multiple-big-container-border-width));
|
|
73
50
|
|
|
74
51
|
.kbq-icon {
|
|
75
52
|
margin-right: 0;
|
|
@@ -86,67 +63,87 @@
|
|
|
86
63
|
align-items: center;
|
|
87
64
|
|
|
88
65
|
.kbq-file-upload__file {
|
|
89
|
-
|
|
90
|
-
max-width: 65%;
|
|
91
|
-
|
|
92
|
-
gap: var(--kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal);
|
|
66
|
+
flex-grow: 1;
|
|
93
67
|
}
|
|
94
68
|
|
|
95
69
|
.kbq-file-upload__size {
|
|
96
|
-
width: var(--kbq-size-
|
|
97
|
-
min-width: var(--kbq-size-
|
|
98
|
-
|
|
70
|
+
width: var(--kbq-file-upload-size-multiple-big-grid-cell-file-size-width);
|
|
71
|
+
min-width: var(--kbq-file-upload-size-multiple-big-grid-cell-file-size-width);
|
|
72
|
+
max-width: var(--kbq-file-upload-size-multiple-big-grid-cell-file-size-width);
|
|
99
73
|
flex-grow: 1;
|
|
74
|
+
flex-shrink: 1;
|
|
75
|
+
text-align: left;
|
|
100
76
|
}
|
|
101
77
|
}
|
|
102
78
|
|
|
103
79
|
.kbq-file-upload__row {
|
|
80
|
+
.kbq-file-upload__grid-cell {
|
|
81
|
+
padding: 0 var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal);
|
|
82
|
+
}
|
|
83
|
+
|
|
104
84
|
.kbq-file-upload__file {
|
|
105
85
|
display: flex;
|
|
106
86
|
align-items: center;
|
|
87
|
+
gap: var(--kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal);
|
|
107
88
|
|
|
108
89
|
.file-item__text {
|
|
109
|
-
margin-left: 0;
|
|
110
90
|
width: 90%;
|
|
111
91
|
}
|
|
112
92
|
}
|
|
93
|
+
|
|
94
|
+
.kbq-file-upload__action {
|
|
95
|
+
$list-option-border-width: var(--kbq-size-3xs);
|
|
96
|
+
display: flex;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
align-items: center;
|
|
99
|
+
padding-top: calc(
|
|
100
|
+
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical) - $list-option-border-width
|
|
101
|
+
);
|
|
102
|
+
padding-bottom: calc(
|
|
103
|
+
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal) - $list-option-border-width
|
|
104
|
+
);
|
|
105
|
+
min-height: var(--kbq-size-xxl);
|
|
106
|
+
min-width: var(--kbq-size-xxl);
|
|
107
|
+
}
|
|
113
108
|
}
|
|
114
109
|
|
|
115
110
|
.kbq-file-multiple-uploaded__header {
|
|
116
|
-
|
|
111
|
+
margin: -1px;
|
|
112
|
+
border-bottom-width: var(--kbq-file-upload-size-multiple-big-container-border-width);
|
|
117
113
|
border-bottom-style: solid;
|
|
118
114
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
115
|
+
padding: 0 var(--kbq-size-xxs);
|
|
116
|
+
|
|
117
|
+
.kbq-file-upload__grid-cell {
|
|
118
|
+
$header-cell-vertical-padding: 10px;
|
|
119
|
+
padding: $header-cell-vertical-padding var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal)
|
|
120
|
+
calc($header-cell-vertical-padding - var(--kbq-file-upload-size-multiple-big-container-border-width))
|
|
121
|
+
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.kbq-file-upload__action {
|
|
125
|
+
min-height: var(--kbq-size-xxl);
|
|
126
|
+
min-width: var(--kbq-size-xxl);
|
|
127
|
+
padding: var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal)
|
|
128
|
+
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal)
|
|
129
|
+
calc(
|
|
130
|
+
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical) - var(
|
|
131
|
+
--kbq-file-upload-size-multiple-big-container-border-width
|
|
132
|
+
)
|
|
133
|
+
);
|
|
122
134
|
}
|
|
123
135
|
}
|
|
124
136
|
|
|
125
137
|
.btn-upload {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
)
|
|
130
|
-
kbq-difference-series-css-variables(
|
|
131
|
-
[ file-upload-size-single-container-padding-horizontal,
|
|
132
|
-
file-upload-size-single-container-border-width]
|
|
133
|
-
);
|
|
134
|
-
border-top-left-radius: var(--kbq-file-upload-size-single-container-border-radius);
|
|
138
|
+
margin: -1px;
|
|
139
|
+
padding: calc(var(--kbq-size-m) - var(--kbq-file-upload-size-multiple-big-container-border-width))
|
|
140
|
+
var(--kbq-size-m) var(--kbq-size-m) var(--kbq-size-m);
|
|
135
141
|
|
|
136
|
-
border-top-
|
|
137
|
-
border-top-width: var(--kbq-file-upload-size-single-container-border-width);
|
|
142
|
+
border-top-width: var(--kbq-file-upload-size-multiple-big-container-border-width);
|
|
138
143
|
border-top-style: dashed;
|
|
139
144
|
|
|
140
|
-
|
|
141
|
-
gap: var(--kbq-file-upload-size-
|
|
142
|
-
|
|
143
|
-
& .dropzone__text.multiple__caption {
|
|
144
|
-
padding-top: var(--kbq-file-upload-size-single-text-block-padding-vertical);
|
|
145
|
-
|
|
146
|
-
padding-bottom: var(--kbq-file-upload-size-single-text-block-padding-vertical);
|
|
147
|
-
|
|
148
|
-
gap: var(--kbq-file-upload-size-single-text-block-content-gap-horizontal);
|
|
149
|
-
}
|
|
145
|
+
.dropzone {
|
|
146
|
+
gap: var(--kbq-file-upload-size-multiple-big-dropzone-content-gap-horizontal);
|
|
150
147
|
}
|
|
151
148
|
}
|
|
152
149
|
|
|
@@ -27,6 +27,11 @@ export declare class KbqSingleFileUploadComponent extends KbqFileUploadBase impl
|
|
|
27
27
|
private _file;
|
|
28
28
|
get file(): KbqFileItem | null;
|
|
29
29
|
set file(currentFile: KbqFileItem | null);
|
|
30
|
+
/**
|
|
31
|
+
* Controls whether to display the file size information.
|
|
32
|
+
* @default true
|
|
33
|
+
*/
|
|
34
|
+
showFileSize: boolean;
|
|
30
35
|
/** Emits an event containing updated file.
|
|
31
36
|
* public output will be renamed to fileChange in next major release (#DS-3700) */
|
|
32
37
|
fileChange: EventEmitter<KbqFileItem | null>;
|
|
@@ -88,5 +93,6 @@ export declare class KbqSingleFileUploadComponent extends KbqFileUploadBase impl
|
|
|
88
93
|
private initDefaultParams;
|
|
89
94
|
private getCaptionText;
|
|
90
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSingleFileUploadComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSingleFileUploadComponent, "kbq-single-file-upload,kbq-file-upload:not([multiple])", never, { "progressMode": { "alias": "progressMode"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "customValidation": { "alias": "customValidation"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "file": { "alias": "file"; "required": false; }; }, { "fileChange": "fileQueueChange"; }, ["hint"], ["[kbq-icon]", "kbq-hint"], false, never>;
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSingleFileUploadComponent, "kbq-single-file-upload,kbq-file-upload:not([multiple])", never, { "progressMode": { "alias": "progressMode"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "customValidation": { "alias": "customValidation"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "file": { "alias": "file"; "required": false; }; "showFileSize": { "alias": "showFileSize"; "required": false; }; }, { "fileChange": "fileQueueChange"; }, ["hint"], ["[kbq-icon]", "kbq-hint"], false, never>;
|
|
97
|
+
static ngAcceptInputType_showFileSize: unknown;
|
|
92
98
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
[ file-upload-size-single-container-padding-horizontal,
|
|
12
12
|
file-upload-size-single-container-border-width]
|
|
13
13
|
);
|
|
14
|
+
min-height: var(--kbq-file-upload-single-min-height);
|
|
14
15
|
|
|
15
16
|
border-radius: var(--kbq-file-upload-size-single-container-border-radius);
|
|
16
17
|
border-width: var(--kbq-file-upload-size-single-container-border-width);
|
|
@@ -43,5 +44,13 @@
|
|
|
43
44
|
flex-grow: 1;
|
|
44
45
|
}
|
|
45
46
|
}
|
|
47
|
+
|
|
48
|
+
.kbq-file-item__size {
|
|
49
|
+
padding: 0 var(--kbq-size-s);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.kbq-file-upload__action {
|
|
53
|
+
padding: var(--kbq-size-xxs);
|
|
54
|
+
}
|
|
46
55
|
}
|
|
47
56
|
}
|