@koobiq/components 16.0.0-beta.1 → 16.0.0-beta.10
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/LICENSE +1 -1
- package/README.md +2 -2
- package/autocomplete/_autocomplete-theme.scss +3 -10
- package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +6 -16
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.scss +0 -8
- package/badge/README.md +0 -0
- package/{core/styles/theming/_badges-theme.scss → badge/_badge-theme.scss} +14 -13
- package/badge/badge.component.d.ts +44 -0
- package/badge/badge.component.scss +83 -0
- package/badge/badge.module.d.ts +10 -0
- package/badge/index.d.ts +1 -0
- package/badge/public-api.d.ts +2 -0
- package/button/_button-base.scss +1 -1
- package/button/_button-theme.scss +35 -27
- package/button/button.scss +5 -2
- package/button-toggle/_button-toggle-theme.scss +26 -45
- package/button-toggle/button-toggle.component.d.ts +2 -2
- package/button-toggle/button-toggle.scss +40 -87
- package/card/_card-theme.scss +1 -1
- package/checkbox/README.md +1 -1
- package/checkbox/_checkbox-theme.scss +10 -2
- package/checkbox/checkbox.d.ts +2 -2
- package/code-block/README.md +14 -14
- package/code-block/_code-block-theme.scss +8 -0
- package/code-block/code-block.component.d.ts +1 -1
- package/core/animation/index.d.ts +1 -1
- package/core/animation/select-animations.d.ts +1 -1
- package/core/common-behaviors/color.d.ts +1 -1
- package/core/common-behaviors/common-module.d.ts +1 -1
- package/core/formatters/index.d.ts +1 -1
- package/core/formatters/number/formatter.d.ts +56 -1
- package/core/forms/_forms-theme.scss +4 -4
- package/core/forms/_forms.scss +1 -3
- package/core/forms/forms.directive.d.ts +2 -2
- package/core/locales/en-US.d.ts +19 -1
- package/core/locales/es-LA.d.ts +27 -0
- package/core/locales/fa-IR.d.ts +28 -0
- package/core/locales/locale-service.d.ts +148 -3
- package/core/locales/pt-BR.d.ts +27 -0
- package/core/locales/ru-RU.d.ts +20 -1
- package/core/locales/zh-CN.d.ts +26 -0
- package/core/option/_optgroup-theme.scss +1 -1
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +37 -14
- package/core/option/action.d.ts +1 -1
- package/core/option/action.scss +4 -5
- package/core/option/optgroup.d.ts +1 -1
- package/core/option/option.d.ts +37 -8
- package/core/option/option.scss +5 -50
- package/core/overlay/overlay-position-map.d.ts +7 -1
- package/core/pop-up/constants.d.ts +2 -1
- package/core/public-api.d.ts +1 -0
- package/core/select/constants.d.ts +2 -2
- package/core/services/theme.service.d.ts +23 -0
- package/core/styles/_koobiq-theme.scss +12 -1
- package/core/styles/_tokens.kbq.import.scss +4 -4
- package/core/styles/_tokens.scss +4 -4
- package/core/styles/_variables.scss +1 -0
- package/core/styles/common/_animation.scss +10 -6
- package/core/styles/common/_list.scss +123 -0
- package/core/styles/common/_overlay.scss +1 -1
- package/core/styles/common/_select.scss +232 -0
- package/core/styles/theming/_components-theming.scss +685 -92
- package/core/styles/theming/_theming.scss +201 -30
- package/core/styles/typography/_typography.scss +175 -5
- package/datepicker/_datepicker-theme.scss +43 -57
- package/datepicker/calendar-body.component.d.ts +1 -1
- package/datepicker/calendar-body.scss +11 -26
- package/datepicker/calendar-header.component.d.ts +9 -3
- package/datepicker/calendar-header.scss +7 -31
- package/datepicker/calendar.component.d.ts +4 -5
- package/datepicker/calendar.scss +20 -25
- package/datepicker/datepicker-animations.d.ts +2 -2
- package/datepicker/datepicker-content.scss +17 -10
- package/datepicker/datepicker-input.directive.d.ts +4 -4
- package/datepicker/datepicker-input.scss +1 -1
- package/datepicker/datepicker-toggle.component.d.ts +3 -3
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/month-view.component.d.ts +5 -6
- package/dl/_dl-theme.scss +2 -56
- package/dl/dl.component.d.ts +1 -2
- package/dl/dl.scss +10 -47
- package/dropdown/_dropdown-theme.scss +29 -37
- package/dropdown/dropdown-animations.d.ts +1 -1
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +18 -40
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +16 -39
- package/dropdown/dropdown.types.d.ts +1 -1
- package/esm2022/alert/alert.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +34 -31
- package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +122 -0
- package/esm2022/badge/badge.module.mjs +40 -0
- package/esm2022/badge/index.mjs +2 -0
- package/esm2022/badge/koobiq-components-badge.mjs +5 -0
- package/esm2022/badge/public-api.mjs +3 -0
- package/esm2022/button/button.component.mjs +4 -3
- package/esm2022/button-toggle/button-toggle.component.mjs +15 -15
- package/esm2022/checkbox/checkbox.mjs +4 -4
- package/esm2022/code-block/actionbar.component.mjs +3 -3
- package/esm2022/code-block/code-block.component.mjs +4 -4
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +4 -4
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/formatters/index.mjs +10 -2
- package/esm2022/core/formatters/number/formatter.mjs +224 -3
- package/esm2022/core/forms/forms.directive.mjs +5 -5
- package/esm2022/core/locales/en-US.mjs +22 -4
- package/esm2022/core/locales/es-LA.mjs +31 -2
- package/esm2022/core/locales/fa-IR.mjs +30 -2
- package/esm2022/core/locales/locale-service.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +29 -2
- package/esm2022/core/locales/ru-RU.mjs +23 -2
- package/esm2022/core/locales/zh-CN.mjs +28 -2
- package/esm2022/core/option/action.mjs +8 -7
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +47 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +8 -1
- package/esm2022/core/pop-up/constants.mjs +2 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -3
- package/esm2022/core/public-api.mjs +2 -1
- package/esm2022/core/select/constants.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +60 -0
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +7 -5
- package/esm2022/datepicker/calendar-header.component.mjs +9 -8
- package/esm2022/datepicker/calendar.component.mjs +8 -17
- package/esm2022/datepicker/datepicker-animations.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.directive.mjs +29 -20
- package/esm2022/datepicker/datepicker-toggle.component.mjs +6 -6
- package/esm2022/datepicker/datepicker.component.mjs +12 -12
- package/esm2022/datepicker/month-view.component.mjs +9 -18
- package/esm2022/dl/dl.component.mjs +3 -7
- package/esm2022/dropdown/dropdown-animations.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-errors.mjs +6 -6
- package/esm2022/dropdown/dropdown-item.component.mjs +7 -6
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +10 -9
- package/esm2022/dropdown/dropdown.component.mjs +9 -9
- package/esm2022/dropdown/dropdown.types.mjs +1 -1
- package/esm2022/file-upload/file-drop.mjs +43 -6
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +13 -9
- package/esm2022/file-upload/single-file-upload.component.mjs +16 -13
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +12 -15
- package/esm2022/form-field/hint.mjs +16 -6
- package/esm2022/form-field/password-hint.mjs +25 -16
- package/esm2022/form-field/password-toggle.mjs +29 -12
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +15 -9
- package/esm2022/icon/icon-button.component.mjs +68 -0
- package/esm2022/icon/icon-item.component.mjs +27 -0
- package/esm2022/icon/icon.component.mjs +5 -90
- package/esm2022/icon/icon.module.mjs +4 -2
- package/esm2022/icon/public-api.mjs +3 -1
- package/esm2022/input/input-errors.mjs +2 -2
- package/esm2022/input/input-number.mjs +260 -44
- package/esm2022/input/input-password.mjs +5 -5
- package/esm2022/input/input.mjs +7 -7
- package/esm2022/link/link.component.mjs +14 -13
- package/esm2022/list/list-selection.component.mjs +23 -10
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/list/list.module.mjs +8 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +20 -19
- package/esm2022/modal/modal-control.service.mjs +5 -5
- package/esm2022/modal/modal-ref.class.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +129 -134
- package/esm2022/modal/modal.module.mjs +13 -7
- package/esm2022/modal/modal.service.mjs +23 -23
- package/esm2022/modal/modal.type.mjs +1 -3
- package/esm2022/navbar/navbar-item.component.mjs +19 -18
- package/esm2022/navbar/navbar.component.mjs +18 -9
- package/esm2022/navbar/vertical-navbar.animation.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +9 -6
- package/esm2022/popover/popover-animations.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +9 -11
- package/esm2022/popover/popover.component.mjs +24 -24
- package/esm2022/progress-spinner/progress-spinner.component.mjs +1 -1
- package/esm2022/radio/radio.component.mjs +11 -8
- package/esm2022/risk-level/index.mjs +2 -0
- package/esm2022/risk-level/koobiq-components-risk-level.mjs +5 -0
- package/esm2022/risk-level/public-api.mjs +3 -0
- package/esm2022/risk-level/risk-level.component.mjs +40 -0
- package/esm2022/risk-level/risk-level.module.mjs +28 -0
- package/esm2022/select/select-option.directive.mjs +15 -3
- package/esm2022/select/select.component.mjs +47 -29
- package/esm2022/sidebar/sidebar-animations.mjs +2 -2
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +8 -10
- package/esm2022/sidepanel/sidepanel.module.mjs +10 -4
- package/esm2022/splitter/splitter.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/tabs/paginated-tab-header.mjs +11 -2
- package/esm2022/tabs/tab-body.component.mjs +7 -7
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +16 -21
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -3
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +21 -10
- package/esm2022/tabs/tab.component.mjs +14 -5
- package/esm2022/tabs/tabs-animations.mjs +2 -2
- package/esm2022/tabs/tabs.module.mjs +2 -6
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +17 -15
- package/esm2022/tags/tag-list.component.mjs +15 -10
- package/esm2022/tags/tag.component.mjs +16 -16
- package/esm2022/textarea/textarea.component.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +10 -10
- package/esm2022/timezone/timezone-option.component.mjs +4 -4
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/title/title.directive.mjs +6 -6
- package/esm2022/toast/toast-animations.mjs +2 -1
- package/esm2022/toast/toast-container.component.mjs +22 -8
- package/esm2022/toast/toast.component.mjs +30 -13
- package/esm2022/toast/toast.module.mjs +23 -8
- package/esm2022/toast/toast.service.mjs +2 -1
- package/esm2022/toast/toast.type.mjs +6 -1
- package/esm2022/toggle/toggle.component.mjs +4 -4
- package/esm2022/tooltip/tooltip.animations.mjs +2 -2
- package/esm2022/tooltip/tooltip.component.mjs +29 -28
- package/esm2022/tree/control/base-tree-control.mjs +1 -1
- package/esm2022/tree/control/flat-tree-control.mjs +4 -4
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/node.mjs +5 -5
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +9 -9
- package/esm2022/tree/toggle.mjs +11 -12
- package/esm2022/tree/tree-base.mjs +3 -3
- package/esm2022/tree/tree-option.component.mjs +12 -10
- package/esm2022/tree/tree-selection.component.mjs +8 -6
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +13 -4
- package/esm2022/tree-select/tree-select.component.mjs +28 -23
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +40 -37
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +166 -0
- package/fesm2022/koobiq-components-badge.mjs.map +1 -0
- package/fesm2022/koobiq-components-button-toggle.mjs +14 -14
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +3 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -3
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +5 -5
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +535 -46
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +73 -79
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -6
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +33 -31
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +65 -21
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +96 -59
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +10 -8
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +269 -55
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +13 -12
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +31 -14
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +19 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +164 -167
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +42 -33
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +32 -33
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +10 -7
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +72 -0
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +60 -30
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +8 -8
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +19 -14
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +2 -2
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -2
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +74 -53
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +45 -38
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -3
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +9 -9
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +7 -7
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +5 -5
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +71 -22
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +3 -3
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +29 -28
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +27 -22
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +67 -54
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +54 -40
- package/file-upload/file-drop.d.ts +3 -2
- package/file-upload/file-upload.d.ts +4 -1
- package/file-upload/file-upload.scss +2 -9
- package/file-upload/multiple-file-upload.component.d.ts +6 -5
- package/file-upload/multiple-file-upload.component.scss +170 -59
- package/file-upload/single-file-upload.component.d.ts +6 -5
- package/file-upload/single-file-upload.component.scss +42 -22
- package/form-field/_form-field-theme.scss +3 -6
- package/form-field/_hint-theme.scss +6 -2
- package/form-field/cleaner.d.ts +1 -1
- package/form-field/form-field.d.ts +3 -4
- package/form-field/form-field.scss +2 -2
- package/form-field/hint.d.ts +4 -1
- package/form-field/hint.scss +9 -1
- package/form-field/password-hint.d.ts +7 -3
- package/form-field/password-hint.scss +6 -0
- package/form-field/password-toggle.d.ts +13 -7
- package/form-field/prefix.d.ts +1 -1
- package/form-field/suffix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +1 -1
- package/icon/_icon-button-theme.scss +129 -0
- package/icon/_icon-item-theme.scss +41 -0
- package/icon/_icon-theme.scss +1 -232
- package/icon/icon-button.component.d.ts +22 -0
- package/icon/icon-button.scss +33 -0
- package/icon/icon-item.component.d.ts +10 -0
- package/icon/icon-item.scss +18 -0
- package/icon/icon.component.d.ts +1 -25
- package/icon/icon.module.d.ts +6 -4
- package/icon/icon.scss +0 -41
- package/icon/public-api.d.ts +2 -0
- package/input/_input-theme.scss +2 -1
- package/input/input-number.d.ts +61 -10
- package/input/input-password.d.ts +1 -1
- package/input/input.d.ts +2 -2
- package/input/input.scss +3 -1
- package/link/_link-theme.scss +101 -92
- package/link/link.component.d.ts +4 -4
- package/list/_list-theme.scss +36 -17
- package/list/list-selection.component.d.ts +6 -2
- package/list/list.module.d.ts +1 -1
- package/list/list.scss +6 -19
- package/loader-overlay/_loader-overlay-theme.scss +43 -11
- package/loader-overlay/loader-overlay.component.d.ts +6 -5
- package/loader-overlay/loader-overlay.scss +56 -22
- package/markdown/_markdown-theme.scss +2 -2
- package/modal/README.md +5 -5
- package/modal/_modal-confirm.scss +5 -37
- package/modal/_modal-theme.scss +14 -52
- package/modal/modal-ref.class.d.ts +2 -2
- package/modal/modal.component.d.ts +53 -52
- package/modal/modal.module.d.ts +2 -1
- package/modal/modal.scss +50 -31
- package/modal/modal.type.d.ts +35 -36
- package/navbar/_navbar-theme.scss +2 -2
- package/navbar/navbar-item.component.d.ts +4 -3
- package/navbar/navbar.component.d.ts +5 -2
- package/navbar/vertical-navbar.component.d.ts +4 -2
- package/package.json +48 -38
- package/popover/README.md +14 -14
- package/popover/_popover-theme.scss +15 -78
- package/popover/popover-animations.d.ts +1 -1
- package/popover/popover-confirm.component.d.ts +1 -3
- package/popover/popover.component.d.ts +3 -3
- package/popover/popover.scss +60 -50
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.component.d.ts +2 -2
- package/radio/_radio-theme.scss +17 -4
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.scss +13 -0
- package/risk-level/README.md +0 -0
- package/risk-level/_risk-level-theme.scss +88 -0
- package/risk-level/index.d.ts +1 -0
- package/risk-level/public-api.d.ts +2 -0
- package/risk-level/risk-level.component.d.ts +18 -0
- package/risk-level/risk-level.component.scss +26 -0
- package/risk-level/risk-level.module.d.ts +10 -0
- package/select/_select-theme.scss +12 -4
- package/select/select-option.directive.d.ts +2 -0
- package/select/select.component.d.ts +15 -12
- package/select/select.scss +6 -190
- package/sidebar/sidebar-animations.d.ts +1 -1
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidepanel/_sidepanel-theme.scss +11 -41
- package/sidepanel/sidepanel-directives.d.ts +0 -2
- package/sidepanel/sidepanel.scss +33 -35
- package/splitter/_splitter-theme.scss +1 -0
- package/splitter/splitter.component.d.ts +1 -1
- package/table/_table-theme.scss +1 -1
- package/table/table.component.d.ts +1 -1
- package/tabs/_tabs-common.scss +28 -147
- package/tabs/_tabs-theme.scss +81 -175
- package/tabs/paginated-tab-header.d.ts +1 -0
- package/tabs/tab-body.component.d.ts +1 -1
- package/tabs/tab-content.directive.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +5 -8
- package/tabs/tab-group.scss +10 -10
- package/tabs/tab-header.scss +2 -24
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -2
- package/tabs/tab-nav-bar/tab-nav-bar.scss +9 -16
- package/tabs/tab.component.d.ts +1 -1
- package/tabs/tabs-animations.d.ts +1 -1
- package/tabs/tabs.module.d.ts +1 -1
- package/tags/_tag-theme.scss +1 -25
- package/tags/tag-default-options.d.ts +4 -0
- package/tags/tag-input.d.ts +2 -2
- package/tags/tag-list.component.d.ts +3 -2
- package/tags/tag-list.scss +26 -16
- package/tags/tag.component.d.ts +6 -6
- package/textarea/textarea.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +2 -2
- package/timezone/timezone-option.component.d.ts +1 -1
- package/timezone/timezone-select.component.d.ts +1 -1
- package/title/title.directive.d.ts +1 -1
- package/toast/_toast-theme.scss +21 -33
- package/toast/toast-animations.d.ts +1 -0
- package/toast/toast-container.component.d.ts +7 -3
- package/toast/toast-container.component.scss +2 -1
- package/toast/toast.component.d.ts +6 -1
- package/toast/toast.component.scss +41 -34
- package/toast/toast.module.d.ts +1 -1
- package/toast/toast.service.d.ts +2 -0
- package/toast/toast.type.d.ts +8 -5
- package/toggle/_toggle-theme.scss +9 -1
- package/toggle/toggle.component.d.ts +1 -1
- package/toggle/toggle.scss +5 -2
- package/tooltip/tooltip.animations.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +5 -5
- package/tree/_tree-theme.scss +46 -34
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/tree-control.d.ts +1 -1
- package/tree/node.d.ts +1 -1
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +3 -3
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -2
- package/tree/tree-option.scss +40 -27
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree/tree.d.ts +1 -1
- package/tree/tree.module.d.ts +2 -1
- package/tree-select/_tree-select-theme.scss +13 -3
- package/tree-select/tree-select.component.d.ts +6 -4
- package/tree-select/tree-select.scss +5 -194
- package/core/styles/theming/_badges.scss +0 -57
- package/core/styles/theming/prebuilt/light-theme.scss +0 -20
- package/list/_list-base.scss +0 -54
|
@@ -6,13 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
9
|
-
$kbq-calendar-body-cell-content-size: 100% - map.get($tokens, datepicker-body-size-cell-margin) * 2;
|
|
10
|
-
|
|
11
|
-
.kbq-calendar__body {
|
|
12
|
-
min-width: calc(
|
|
13
|
-
7 * var(--kbq-datepicker-body-size-cell-min-size, map.get($tokens, datepicker-body-size-cell-min-size))
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
9
|
|
|
17
10
|
.kbq-calendar__body-cell {
|
|
18
11
|
position: relative;
|
|
@@ -21,41 +14,33 @@ $kbq-calendar-body-cell-content-size: 100% - map.get($tokens, datepicker-body-si
|
|
|
21
14
|
text-align: center;
|
|
22
15
|
outline: none;
|
|
23
16
|
cursor: pointer;
|
|
17
|
+
|
|
18
|
+
padding: 0;
|
|
24
19
|
}
|
|
25
20
|
|
|
26
|
-
.kbq-
|
|
21
|
+
.kbq-disabled {
|
|
27
22
|
cursor: default;
|
|
28
23
|
}
|
|
29
24
|
|
|
30
25
|
.kbq-calendar__body-cell-content {
|
|
31
|
-
position: absolute;
|
|
32
|
-
top: var(--kbq-datepicker-body-size-cell-margin, map.get($tokens, datepicker-body-size-cell-margin));
|
|
33
|
-
left: var(--kbq-datepicker-body-size-cell-margin, map.get($tokens, datepicker-body-size-cell-margin));
|
|
34
|
-
|
|
35
|
-
padding: var(--kbq-datepicker-body-size-cell-padding, map.get($tokens, datepicker-body-size-cell-padding));
|
|
36
|
-
|
|
37
26
|
display: flex;
|
|
38
27
|
align-items: center;
|
|
39
28
|
justify-content: center;
|
|
40
29
|
|
|
41
30
|
box-sizing: border-box;
|
|
42
|
-
|
|
43
|
-
height: $kbq-calendar-body-cell-content-size;
|
|
31
|
+
height: 32px;
|
|
44
32
|
|
|
45
33
|
// Prevents text being off-center on Android.
|
|
46
34
|
line-height: 1;
|
|
47
35
|
|
|
48
|
-
border-width: var(
|
|
49
|
-
--kbq-datepicker-body-size-cell-border-width, map.get($tokens, datepicker-body-size-cell-border-width)
|
|
50
|
-
);
|
|
51
36
|
border-radius: var(
|
|
52
|
-
--kbq-datepicker-
|
|
37
|
+
--kbq-datepicker-size-grid-cell-border-radius,
|
|
38
|
+
map.get($tokens, datepicker-size-grid-cell-border-radius)
|
|
53
39
|
);
|
|
54
|
-
border-style: solid;
|
|
55
|
-
}
|
|
56
40
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
41
|
+
margin-bottom: var(
|
|
42
|
+
--kbq-datepicker-size-grid-content-gap-vertical,
|
|
43
|
+
map.get($tokens, datepicker-size-grid-content-gap-vertical)
|
|
44
|
+
);
|
|
61
45
|
}
|
|
46
|
+
|
|
@@ -9,8 +9,14 @@ export declare class KbqCalendarHeader<D> implements AfterContentInit {
|
|
|
9
9
|
value: number;
|
|
10
10
|
}[];
|
|
11
11
|
selectedMonth: number;
|
|
12
|
-
years:
|
|
13
|
-
|
|
12
|
+
years: {
|
|
13
|
+
name: number;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
16
|
+
selectedYear: {
|
|
17
|
+
name: number;
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
14
20
|
get activeDate(): D;
|
|
15
21
|
set activeDate(value: D);
|
|
16
22
|
private _activeDate;
|
|
@@ -41,5 +47,5 @@ export declare class KbqCalendarHeader<D> implements AfterContentInit {
|
|
|
41
47
|
private updateSelectedValues;
|
|
42
48
|
private updateYearsArray;
|
|
43
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqCalendarHeader<any>, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCalendarHeader<any>, "kbq-calendar-header", ["
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCalendarHeader<any>, "kbq-calendar-header", ["kbqCalendarHeader"], { "activeDate": { "alias": "activeDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; }, { "activeDateChange": "activeDateChange"; "monthSelected": "monthSelected"; "yearSelected": "yearSelected"; }, never, never, false, never>;
|
|
45
51
|
}
|
|
@@ -11,40 +11,16 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
justify-content: space-between;
|
|
13
13
|
|
|
14
|
-
padding:
|
|
15
|
-
|
|
16
|
-
var(
|
|
17
|
-
--kbq-datepicker-calendar-size-padding-horizontal,
|
|
18
|
-
map.get($tokens, datepicker-calendar-size-padding-horizontal)
|
|
19
|
-
)
|
|
20
|
-
var(--kbq-datepicker-calendar-size-padding-blocks, map.get($tokens, datepicker-calendar-size-padding-blocks))
|
|
21
|
-
var(
|
|
22
|
-
--kbq-datepicker-calendar-size-padding-horizontal,
|
|
23
|
-
map.get($tokens, datepicker-calendar-size-padding-horizontal)
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.kbq-calendar-header__previous-button::after {
|
|
28
|
-
border-left-width: var(
|
|
29
|
-
--kbq-datepicker-calendar-size-icon-border-width,
|
|
30
|
-
map.get($tokens, datepicker-calendar-size-icon-border-width)
|
|
14
|
+
padding-right: var(
|
|
15
|
+
--kbq-datepicker-size-header-padding-horizontal, map.get($tokens, datepicker-size-header-padding-horizontal)
|
|
31
16
|
);
|
|
32
17
|
|
|
33
|
-
|
|
34
|
-
--kbq-datepicker-
|
|
35
|
-
map.get($tokens, datepicker-calendar-size-icon-prev-icon-transform)
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.kbq-calendar-header__next-button::after {
|
|
40
|
-
border-right-width: var(
|
|
41
|
-
--kbq-datepicker-calendar-size-icon-border-width,
|
|
42
|
-
map.get($tokens, datepicker-calendar-size-icon-border-width)
|
|
18
|
+
padding-left: var(
|
|
19
|
+
--kbq-datepicker-size-header-padding-horizontal, map.get($tokens, datepicker-size-header-padding-horizontal)
|
|
43
20
|
);
|
|
44
21
|
|
|
45
|
-
|
|
46
|
-
--kbq-datepicker-
|
|
47
|
-
map.get($tokens, datepicker-calendar-size-icon-nex-icon-transform)
|
|
22
|
+
margin-bottom: var(
|
|
23
|
+
--kbq-datepicker-size-header-margin-bottom, map.get($tokens, datepicker-size-header-margin-bottom)
|
|
48
24
|
);
|
|
49
25
|
}
|
|
50
26
|
|
|
@@ -66,7 +42,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
66
42
|
& .kbq-select__content {
|
|
67
43
|
max-height: 12 * 32px;
|
|
68
44
|
overflow-x: hidden;
|
|
69
|
-
scrollbar-gutter:
|
|
45
|
+
scrollbar-gutter: auto;
|
|
70
46
|
|
|
71
47
|
.kbq-option {
|
|
72
48
|
min-width: 65px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { DateAdapter
|
|
2
|
+
import { DateAdapter } from '@koobiq/components/core';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { KbqCalendarCellCssClasses } from './calendar-body.component';
|
|
5
5
|
import { KbqDatepickerIntl } from './datepicker-intl';
|
|
@@ -11,7 +11,6 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class KbqCalendar<D> implements AfterContentInit, OnDestroy, OnChanges {
|
|
13
13
|
private readonly adapter;
|
|
14
|
-
private readonly dateFormats;
|
|
15
14
|
private changeDetectorRef;
|
|
16
15
|
/** A date representing the period (month or year) to start the calendar in. */
|
|
17
16
|
get startAt(): D | null;
|
|
@@ -61,7 +60,7 @@ export declare class KbqCalendar<D> implements AfterContentInit, OnDestroy, OnCh
|
|
|
61
60
|
*/
|
|
62
61
|
stateChanges: Subject<void>;
|
|
63
62
|
private readonly intlChanges;
|
|
64
|
-
constructor(intl: KbqDatepickerIntl, adapter: DateAdapter<D>,
|
|
63
|
+
constructor(intl: KbqDatepickerIntl, adapter: DateAdapter<D>, changeDetectorRef: ChangeDetectorRef);
|
|
65
64
|
ngAfterContentInit(): void;
|
|
66
65
|
ngOnDestroy(): void;
|
|
67
66
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -76,6 +75,6 @@ export declare class KbqCalendar<D> implements AfterContentInit, OnDestroy, OnCh
|
|
|
76
75
|
*/
|
|
77
76
|
private getValidDateOrNull;
|
|
78
77
|
private getActiveDateDefault;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqCalendar<any>, [null, { optional: true; },
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCalendar<any>, "kbq-calendar", ["
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqCalendar<any>, [null, { optional: true; }, null]>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCalendar<any>, "kbq-calendar", ["kbqCalendar"], { "startAt": { "alias": "startAt"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "dateClass": { "alias": "dateClass"; "required": false; }; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "userSelection": "userSelection"; }, never, never, false, never>;
|
|
81
80
|
}
|
package/datepicker/calendar.scss
CHANGED
|
@@ -11,20 +11,16 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.kbq-calendar__content {
|
|
14
|
-
padding:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var(
|
|
25
|
-
--kbq-datepicker-calendar-size-padding-horizontal,
|
|
26
|
-
map.get($tokens, datepicker-calendar-size-padding-horizontal)
|
|
27
|
-
);
|
|
14
|
+
padding-right: var(
|
|
15
|
+
--kbq-datepicker-size-grid-padding-horizontal,
|
|
16
|
+
map.get($tokens, datepicker-size-grid-padding-horizontal)
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
padding-left: var(
|
|
20
|
+
--kbq-datepicker-size-grid-padding-horizontal,
|
|
21
|
+
map.get($tokens, datepicker-size-grid-padding-horizontal)
|
|
22
|
+
);
|
|
23
|
+
|
|
28
24
|
outline: none;
|
|
29
25
|
}
|
|
30
26
|
|
|
@@ -40,15 +36,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
40
36
|
|
|
41
37
|
&.kbq-calendar__table-header-divider {
|
|
42
38
|
position: relative;
|
|
43
|
-
height: calc(
|
|
44
|
-
var(
|
|
45
|
-
--kbq-datepicker-calendar-size-padding-blocks,
|
|
46
|
-
#{map.get($tokens, datepicker-calendar-size-padding-blocks)}
|
|
47
|
-
) - 2px
|
|
48
|
-
);
|
|
49
39
|
|
|
50
|
-
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
height: var(
|
|
42
|
+
--kbq-datepicker-size-grid-content-gap-vertical,
|
|
43
|
+
map.get($tokens, datepicker-size-grid-content-gap-vertical)
|
|
44
|
+
);;
|
|
51
45
|
|
|
46
|
+
$horizontal-padding: map.get($tokens, datepicker-size-grid-padding-horizontal);
|
|
52
47
|
// We use an absolutely positioned pseudo-element as the divider line for the table header so we
|
|
53
48
|
// can extend it all the way to the edge of the calendar.
|
|
54
49
|
&::after {
|
|
@@ -56,12 +51,12 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
56
51
|
|
|
57
52
|
position: absolute;
|
|
58
53
|
top: 0;
|
|
59
|
-
left: calc(-1 * var(--kbq-datepicker-
|
|
60
|
-
right: calc(-1 * var(--kbq-datepicker-
|
|
54
|
+
left: calc(-1 * var(--kbq-datepicker-size-grid-padding-horizontal, #{$horizontal-padding}));
|
|
55
|
+
right: calc(-1 * var(--kbq-datepicker-size-grid-padding-horizontal, #{$horizontal-padding}));
|
|
61
56
|
|
|
62
57
|
height: var(
|
|
63
|
-
--kbq-datepicker-
|
|
64
|
-
map.get($tokens, datepicker-
|
|
58
|
+
--kbq-datepicker-size-grid-divider-height,
|
|
59
|
+
map.get($tokens, datepicker-size-grid-divider-height)
|
|
65
60
|
);
|
|
66
61
|
}
|
|
67
62
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
2
2
|
/**
|
|
3
|
-
* Animations used by the
|
|
3
|
+
* Animations used by the Koobiq datepicker.
|
|
4
4
|
* @docs-private
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const kbqDatepickerAnimations: {
|
|
7
7
|
readonly transformPanel: AnimationTriggerMetadata;
|
|
8
8
|
readonly fadeInCalendar: AnimationTriggerMetadata;
|
|
9
9
|
};
|
|
@@ -7,27 +7,34 @@
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
9
9
|
$kbq-datepicker-non-touch-calendar-cell-size: 40px;
|
|
10
|
+
|
|
10
11
|
$kbq-datepicker-non-touch-calendar-width:
|
|
11
12
|
$kbq-datepicker-non-touch-calendar-cell-size * 7 +
|
|
12
|
-
map.get($tokens, datepicker-
|
|
13
|
+
map.get($tokens, datepicker-size-grid-padding-horizontal) * 2;
|
|
13
14
|
// Based on the natural height of the calendar in a month with 6 rows of dates
|
|
14
15
|
// (largest the calendar will get).
|
|
15
|
-
$kbq-datepicker-non-touch-calendar-height:
|
|
16
|
+
$kbq-datepicker-non-touch-calendar-height: 270px;
|
|
16
17
|
|
|
17
18
|
.kbq-datepicker__content {
|
|
18
19
|
display: block;
|
|
19
20
|
|
|
20
|
-
border:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
--kbq-datepicker-calendar-size-border-radius,
|
|
25
|
-
map.get($tokens, datepicker-calendar-size-border-radius)
|
|
26
|
-
);
|
|
27
|
-
}
|
|
21
|
+
border-radius: var(
|
|
22
|
+
--kbq-datepicker-size-container-border-radius,
|
|
23
|
+
map.get($tokens, datepicker-size-container-border-radius)
|
|
24
|
+
);
|
|
28
25
|
|
|
29
26
|
.kbq-calendar {
|
|
30
27
|
width: $kbq-datepicker-non-touch-calendar-width;
|
|
31
28
|
height: $kbq-datepicker-non-touch-calendar-height;
|
|
29
|
+
|
|
30
|
+
padding-top: var(
|
|
31
|
+
--kbq-datepicker-size-container-padding-vertical,
|
|
32
|
+
map.get($tokens, datepicker-size-container-padding-vertical)
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
padding-bottom: var(
|
|
36
|
+
--kbq-datepicker-size-container-padding-vertical,
|
|
37
|
+
map.get($tokens, datepicker-size-container-padding-vertical)
|
|
38
|
+
);
|
|
32
39
|
}
|
|
33
40
|
}
|
|
@@ -53,9 +53,9 @@ export declare class KbqDatepickerInput<D> implements KbqFormFieldControl<D>, Co
|
|
|
53
53
|
set required(value: boolean);
|
|
54
54
|
private _required;
|
|
55
55
|
/** The datepicker that this input is associated with. */
|
|
56
|
-
set
|
|
56
|
+
set kbqDatepicker(value: KbqDatepicker<D>);
|
|
57
57
|
/** Function that can be used to filter out dates within the datepicker. */
|
|
58
|
-
set
|
|
58
|
+
set kbqDatepickerFilter(value: (date: D | null) => boolean);
|
|
59
59
|
/** The value of the input. */
|
|
60
60
|
get value(): D | null;
|
|
61
61
|
set value(value: D | null);
|
|
@@ -75,7 +75,7 @@ export declare class KbqDatepickerInput<D> implements KbqFormFieldControl<D>, Co
|
|
|
75
75
|
get id(): string;
|
|
76
76
|
set id(value: string);
|
|
77
77
|
private _id;
|
|
78
|
-
set
|
|
78
|
+
set kbqValidationTooltip(tooltip: KbqWarningTooltipTrigger);
|
|
79
79
|
incorrectInput: EventEmitter<void>;
|
|
80
80
|
/** Emits when a `change` event is fired on this `<input>`. */
|
|
81
81
|
readonly dateChange: EventEmitter<KbqDatepickerInputEvent<D>>;
|
|
@@ -176,5 +176,5 @@ export declare class KbqDatepickerInput<D> implements KbqFormFieldControl<D>, Co
|
|
|
176
176
|
private createDateTime;
|
|
177
177
|
private correctCursorPosition;
|
|
178
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDatepickerInput<any>, [null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
179
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqDatepickerInput<any>, "input[
|
|
179
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqDatepickerInput<any>, "input[kbqDatepicker]", ["kbqDatepickerInput"], { "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "kbqDatepicker": { "alias": "kbqDatepicker"; "required": false; }; "kbqDatepickerFilter": { "alias": "kbqDatepickerFilter"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "kbqValidationTooltip": { "alias": "kbqValidationTooltip"; "required": false; }; }, { "incorrectInput": "incorrectInput"; "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false, never>;
|
|
180
180
|
}
|
|
@@ -3,10 +3,10 @@ import { KbqButton } from '@koobiq/components/button';
|
|
|
3
3
|
import { KbqDatepickerIntl } from './datepicker-intl';
|
|
4
4
|
import { KbqDatepicker } from './datepicker.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
/** Can be used to override the icon of a `
|
|
6
|
+
/** Can be used to override the icon of a `kbqDatepickerToggle`. */
|
|
7
7
|
export declare class KbqDatepickerToggleIcon {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDatepickerToggleIcon, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqDatepickerToggleIcon, "[
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqDatepickerToggleIcon, "[kbqDatepickerToggleIcon]", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
11
11
|
export declare class KbqDatepickerToggle<D> implements AfterContentInit, OnChanges, OnDestroy {
|
|
12
12
|
intl: KbqDatepickerIntl;
|
|
@@ -31,5 +31,5 @@ export declare class KbqDatepickerToggle<D> implements AfterContentInit, OnChang
|
|
|
31
31
|
open(event: Event): void;
|
|
32
32
|
private watchStateChanges;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDatepickerToggle<any>, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDatepickerToggle<any>, "kbq-datepicker-toggle", ["
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDatepickerToggle<any>, "kbq-datepicker-toggle", ["kbqDatepickerToggle"], { "disabled": { "alias": "disabled"; "required": false; }; "datepicker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, ["customIcon"], ["[kbqDatepickerToggleIcon]"], false, never>;
|
|
35
35
|
}
|
|
@@ -40,7 +40,7 @@ export declare class KbqDatepickerContent<D> implements OnDestroy {
|
|
|
40
40
|
ngOnDestroy(): void;
|
|
41
41
|
startExitAnimation(): void;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDatepickerContent<any>, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDatepickerContent<any>, "kbq-datepicker__content", ["
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDatepickerContent<any>, "kbq-datepicker__content", ["kbqDatepickerContent"], {}, {}, never, never, false, never>;
|
|
44
44
|
}
|
|
45
45
|
/** Component responsible for managing the datepicker popup/dialog. */
|
|
46
46
|
export declare class KbqDatepicker<D> implements OnDestroy {
|
|
@@ -144,5 +144,5 @@ export declare class KbqDatepicker<D> implements OnDestroy {
|
|
|
144
144
|
/** Create the popup PositionStrategy. */
|
|
145
145
|
private createPopupPositionStrategy;
|
|
146
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDatepicker<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDatepicker<any>, "kbq-datepicker", ["
|
|
147
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDatepicker<any>, "kbq-datepicker", ["kbqDatepicker"], { "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "dateClass": { "alias": "dateClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "openedStream": "opened"; "closedStream": "closed"; }, never, never, false, never>;
|
|
148
148
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { DateAdapter
|
|
2
|
+
import { DateAdapter } from '@koobiq/components/core';
|
|
3
3
|
import { KbqCalendarBody, KbqCalendarCell, KbqCalendarCellCssClasses } from './calendar-body.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -8,7 +8,6 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class KbqMonthView<D> implements AfterContentInit {
|
|
10
10
|
private changeDetectorRef;
|
|
11
|
-
private readonly dateFormats;
|
|
12
11
|
adapter: DateAdapter<D>;
|
|
13
12
|
/**
|
|
14
13
|
* The date to display in this month view (everything other than the month and year is ignored).
|
|
@@ -35,7 +34,7 @@ export declare class KbqMonthView<D> implements AfterContentInit {
|
|
|
35
34
|
/** Emits when any date is activated. */
|
|
36
35
|
readonly activeDateChange: EventEmitter<D>;
|
|
37
36
|
/** The body of calendar table */
|
|
38
|
-
|
|
37
|
+
kbqCalendarBody: KbqCalendarBody;
|
|
39
38
|
/** Grid of calendar cells representing the dates of the month. */
|
|
40
39
|
weeks: KbqCalendarCell[][];
|
|
41
40
|
/** The number of blank cells in the first row before the 1st of the month. */
|
|
@@ -52,7 +51,7 @@ export declare class KbqMonthView<D> implements AfterContentInit {
|
|
|
52
51
|
long: string;
|
|
53
52
|
narrow: string;
|
|
54
53
|
}[];
|
|
55
|
-
constructor(changeDetectorRef: ChangeDetectorRef,
|
|
54
|
+
constructor(changeDetectorRef: ChangeDetectorRef, adapter: DateAdapter<D>);
|
|
56
55
|
ngAfterContentInit(): void;
|
|
57
56
|
/** Handles when a new date is selected. */
|
|
58
57
|
dateSelected(date: number): void;
|
|
@@ -69,6 +68,6 @@ export declare class KbqMonthView<D> implements AfterContentInit {
|
|
|
69
68
|
private getDateInCurrentMonth;
|
|
70
69
|
/** Checks whether the 2 dates are non-null and fall within the same month of the same year. */
|
|
71
70
|
private hasSameMonthAndYear;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqMonthView<any>, [null, { optional: true; }
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqMonthView<any>, "kbq-month-view", ["
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqMonthView<any>, [null, { optional: true; }]>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqMonthView<any>, "kbq-month-view", ["kbqMonthView"], { "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "dateClass": { "alias": "dateClass"; "required": false; }; }, { "selectedChange": "selectedChange"; "userSelection": "userSelection"; "activeDateChange": "activeDateChange"; }, never, never, false, never>;
|
|
74
73
|
}
|
package/dl/_dl-theme.scss
CHANGED
|
@@ -21,65 +21,11 @@
|
|
|
21
21
|
|
|
22
22
|
.kbq-dl {
|
|
23
23
|
& .kbq-dt {
|
|
24
|
-
@include kbq-typography-level-to-styles(
|
|
25
|
-
$config,
|
|
26
|
-
map.get($tokens, description-list-font-default-horizontal-dt)
|
|
27
|
-
);
|
|
24
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, description-list-font-term));
|
|
28
25
|
}
|
|
29
26
|
|
|
30
27
|
& .kbq-dd {
|
|
31
|
-
@include kbq-typography-level-to-styles(
|
|
32
|
-
$config,
|
|
33
|
-
map.get($tokens, description-list-font-default-horizontal-dd)
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.kbq-dl_small {
|
|
38
|
-
& .kbq-dt {
|
|
39
|
-
@include kbq-typography-level-to-styles(
|
|
40
|
-
$config,
|
|
41
|
-
map.get($tokens, description-list-font-small-horizontal-dt)
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
& .kbq-dd {
|
|
46
|
-
@include kbq-typography-level-to-styles(
|
|
47
|
-
$config,
|
|
48
|
-
map.get($tokens, description-list-font-small-horizontal-dd)
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.kbq-dl.kbq-dl_vertical {
|
|
55
|
-
& .kbq-dt {
|
|
56
|
-
@include kbq-typography-level-to-styles(
|
|
57
|
-
$config,
|
|
58
|
-
map.get($tokens, description-list-font-default-vertical-dt)
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
& .kbq-dd {
|
|
63
|
-
@include kbq-typography-level-to-styles(
|
|
64
|
-
$config,
|
|
65
|
-
map.get($tokens, description-list-font-default-vertical-dd)
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.kbq-dl_small {
|
|
70
|
-
& .kbq-dt {
|
|
71
|
-
@include kbq-typography-level-to-styles(
|
|
72
|
-
$config,
|
|
73
|
-
map.get($tokens, description-list-font-small-vertical-dt)
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
& .kbq-dd {
|
|
78
|
-
@include kbq-typography-level-to-styles(
|
|
79
|
-
$config,
|
|
80
|
-
map.get($tokens, description-list-font-small-vertical-dd)
|
|
81
|
-
);
|
|
82
|
-
}
|
|
28
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, description-list-font-description));
|
|
83
29
|
}
|
|
84
30
|
}
|
|
85
31
|
}
|
package/dl/dl.component.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare class KbqDlComponent implements AfterContentInit, OnDestroy {
|
|
|
5
5
|
protected elementRef: ElementRef;
|
|
6
6
|
minWidth: number;
|
|
7
7
|
wide: boolean;
|
|
8
|
-
small: boolean;
|
|
9
8
|
vertical: boolean | null;
|
|
10
9
|
readonly resizeStream: Subject<Event>;
|
|
11
10
|
private readonly resizeDebounceInterval;
|
|
@@ -15,7 +14,7 @@ export declare class KbqDlComponent implements AfterContentInit, OnDestroy {
|
|
|
15
14
|
ngOnDestroy(): void;
|
|
16
15
|
updateState: () => void;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDlComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDlComponent, "kbq-dl", never, { "minWidth": { "alias": "minWidth"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqDlComponent, "kbq-dl", never, { "minWidth": { "alias": "minWidth"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
19
18
|
}
|
|
20
19
|
export declare class KbqDtComponent {
|
|
21
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDtComponent, never>;
|
package/dl/dl.scss
CHANGED
|
@@ -9,37 +9,22 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
9
9
|
.kbq-dl {
|
|
10
10
|
display: grid;
|
|
11
11
|
column-gap: var(
|
|
12
|
-
--kbq-description-list-size-
|
|
13
|
-
map.get($tokens, description-list-size-
|
|
12
|
+
--kbq-description-list-size-horizontal-content-gap-horizontal,
|
|
13
|
+
map.get($tokens, description-list-size-horizontal-content-gap-horizontal)
|
|
14
14
|
);
|
|
15
15
|
row-gap: var(
|
|
16
|
-
--kbq-description-list-size-
|
|
17
|
-
map.get($tokens, description-list-size-
|
|
16
|
+
--kbq-description-list-size-horizontal-gap-vertical,
|
|
17
|
+
map.get($tokens, description-list-size-horizontal-gap-vertical)
|
|
18
18
|
);
|
|
19
19
|
|
|
20
20
|
grid-template-columns: repeat(4, 1fr);
|
|
21
21
|
|
|
22
22
|
.kbq-dt {
|
|
23
|
-
grid-column:
|
|
24
|
-
--kbq-description-list-size-dt-grid-column, map.get($tokens, description-list-size-dt-grid-column)
|
|
25
|
-
);
|
|
23
|
+
grid-column: 1;
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
.kbq-dd {
|
|
29
|
-
grid-column:
|
|
30
|
-
--kbq-description-list-size-dd-grid-column, map.get($tokens, description-list-size-dd-grid-column)
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.kbq-dl_small {
|
|
35
|
-
column-gap: var(
|
|
36
|
-
--kbq-description-list-size-small-horizontal-column-gap,
|
|
37
|
-
map.get($tokens, description-list-size-small-horizontal-column-gap)
|
|
38
|
-
);
|
|
39
|
-
row-gap: var(
|
|
40
|
-
--kbq-description-list-size-small-horizontal-row-gap,
|
|
41
|
-
map.get($tokens, description-list-size-small-horizontal-row-gap)
|
|
42
|
-
);
|
|
27
|
+
grid-column: 2 / span 3;
|
|
43
28
|
}
|
|
44
29
|
|
|
45
30
|
&.kbq-dl_wide {
|
|
@@ -57,13 +42,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
57
42
|
&.kbq-dl_vertical {
|
|
58
43
|
grid-template-columns: repeat(1, 1fr);
|
|
59
44
|
|
|
60
|
-
column-gap: var(
|
|
61
|
-
--kbq-description-list-size-default-vertical-column-gap,
|
|
62
|
-
map.get($tokens, description-list-size-default-vertical-column-gap)
|
|
63
|
-
);
|
|
64
45
|
row-gap: var(
|
|
65
|
-
--kbq-description-list-size-
|
|
66
|
-
map.get($tokens, description-list-size-
|
|
46
|
+
--kbq-description-list-size-vertical-content-gap-vertical,
|
|
47
|
+
map.get($tokens, description-list-size-vertical-content-gap-vertical)
|
|
67
48
|
);
|
|
68
49
|
|
|
69
50
|
.kbq-dt,
|
|
@@ -73,27 +54,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
73
54
|
|
|
74
55
|
.kbq-dd {
|
|
75
56
|
margin-bottom: var(
|
|
76
|
-
--kbq-description-list-size-
|
|
77
|
-
map.get($tokens, description-list-size-
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&.kbq-dl_small {
|
|
82
|
-
column-gap: var(
|
|
83
|
-
--kbq-description-list-size-small-vertical-column-gap,
|
|
84
|
-
map.get($tokens, description-list-size-small-vertical-column-gap)
|
|
85
|
-
);
|
|
86
|
-
row-gap: var(
|
|
87
|
-
--kbq-description-list-size-small-vertical-row-gap,
|
|
88
|
-
map.get($tokens, description-list-size-small-vertical-row-gap)
|
|
57
|
+
--kbq-description-list-size-vertical-gap-vertical,
|
|
58
|
+
map.get($tokens, description-list-size-vertical-gap-vertical)
|
|
89
59
|
);
|
|
90
|
-
|
|
91
|
-
.kbq-dd {
|
|
92
|
-
margin-bottom: var(
|
|
93
|
-
--kbq-description-list-size-small-vertical-dd-margin-bottom,
|
|
94
|
-
map.get($tokens, description-list-size-small-vertical-dd-margin-bottom)
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
60
|
}
|
|
98
61
|
}
|
|
99
62
|
}
|