@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
package/icon/_icon-theme.scss
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
$error: map.get($icon, error);
|
|
13
13
|
$success: map.get($icon, success);
|
|
14
14
|
|
|
15
|
-
.kbq-icon {
|
|
15
|
+
.kbq-icon:not(.kbq-icon-button, .kbq-icon-item) {
|
|
16
16
|
&.kbq-theme {
|
|
17
17
|
color: map.get($theme, color);
|
|
18
18
|
}
|
|
@@ -32,236 +32,5 @@
|
|
|
32
32
|
&.kbq-success {
|
|
33
33
|
color: map.get($success, color);
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
&[disabled],
|
|
37
|
-
&.kbq-disabled {
|
|
38
|
-
cursor: default;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@mixin kbq-icon-item-theme($themeObj) {
|
|
44
|
-
$icon-item: map.get(map.get($themeObj, components), icon-item);
|
|
45
|
-
|
|
46
|
-
$theme: map.get($icon-item, theme);
|
|
47
|
-
$contrast: map.get($icon-item, contrast);
|
|
48
|
-
$fade-contrast: map.get($icon-item, fade-contrast);
|
|
49
|
-
$error: map.get($icon-item, error);
|
|
50
|
-
$success: map.get($icon-item, success);
|
|
51
|
-
|
|
52
|
-
.kbq-icon-item {
|
|
53
|
-
&.kbq-theme {
|
|
54
|
-
color: map.get($theme, color);
|
|
55
|
-
background: map.get($theme, background);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.kbq-contrast {
|
|
59
|
-
color: map.get($contrast, color);
|
|
60
|
-
background: map.get($contrast, background);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&.kbq-contrast-fade {
|
|
64
|
-
color: map.get($fade-contrast, color);
|
|
65
|
-
background: map.get($fade-contrast, background);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.kbq-error {
|
|
69
|
-
color: map.get($error, color);
|
|
70
|
-
background: map.get($error, background);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.kbq-success {
|
|
74
|
-
color: map.get($success, color);
|
|
75
|
-
background: map.get($success, background);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&[disabled],
|
|
79
|
-
&.kbq-disabled {
|
|
80
|
-
cursor: default;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@mixin kbq-icon-button-theme($themeObj) {
|
|
86
|
-
$icon-button: map.get(map.get($themeObj, components), icon-button);
|
|
87
|
-
|
|
88
|
-
$theme: map.get($icon-button, theme);
|
|
89
|
-
$contrast: map.get($icon-button, contrast);
|
|
90
|
-
$fade-contrast: map.get($icon-button, fade-contrast);
|
|
91
|
-
$error: map.get($icon-button, error);
|
|
92
|
-
$success: map.get($icon-button, success);
|
|
93
|
-
|
|
94
|
-
.kbq-icon_button {
|
|
95
|
-
&.kbq-theme {
|
|
96
|
-
&:active,
|
|
97
|
-
&.kbq-active {
|
|
98
|
-
color: map.get($theme, state-active);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
102
|
-
color: map.get($theme, state-hover);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&[disabled],
|
|
106
|
-
&.kbq-disabled {
|
|
107
|
-
color: map.get($theme, state-disabled);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.kbq-contrast {
|
|
112
|
-
&:active,
|
|
113
|
-
&.kbq-active {
|
|
114
|
-
color: map.get($contrast, state-active);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
118
|
-
color: map.get($contrast, state-hover);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&[disabled],
|
|
122
|
-
&.kbq-disabled {
|
|
123
|
-
color: map.get($contrast, state-disabled);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.kbq-contrast-fade {
|
|
128
|
-
&:active,
|
|
129
|
-
&.kbq-active {
|
|
130
|
-
color: map.get($fade-contrast, state-active);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
134
|
-
color: map.get($fade-contrast, state-hover);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&[disabled],
|
|
138
|
-
&.kbq-disabled {
|
|
139
|
-
color: map.get($fade-contrast, state-disabled);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&.kbq-error {
|
|
144
|
-
&:active,
|
|
145
|
-
&.kbq-active {
|
|
146
|
-
color: map.get($error, state-active);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
150
|
-
color: map.get($error, state-hover);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&[disabled],
|
|
154
|
-
&.kbq-disabled {
|
|
155
|
-
color: map.get($error, state-disabled);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&.kbq-success {
|
|
160
|
-
&:active,
|
|
161
|
-
&.kbq-active {
|
|
162
|
-
color: map.get($success, state-active);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
166
|
-
color: map.get($success, state-hover);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&[disabled],
|
|
170
|
-
&.kbq-disabled {
|
|
171
|
-
color: map.get($success, state-disabled);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.kbq-icon.kbq-icon_button {
|
|
177
|
-
&.kbq-theme {
|
|
178
|
-
&:active,
|
|
179
|
-
&.kbq-active {
|
|
180
|
-
color: map.get($theme, state-active);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
184
|
-
color: map.get($theme, state-hover);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&[disabled],
|
|
188
|
-
&.kbq-disabled {
|
|
189
|
-
color: map.get($theme, state-disabled);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&.kbq-contrast {
|
|
194
|
-
&:active,
|
|
195
|
-
&.kbq-active {
|
|
196
|
-
color: map.get($contrast, state-active);
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
200
|
-
color: map.get($contrast, state-hover);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
&[disabled],
|
|
204
|
-
&.kbq-disabled {
|
|
205
|
-
color: map.get($contrast, state-disabled);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
&.kbq-contrast-fade {
|
|
210
|
-
&:active,
|
|
211
|
-
&.kbq-active {
|
|
212
|
-
color: map.get($fade-contrast, state-active);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
216
|
-
color: map.get($fade-contrast, state-hover);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
&[disabled],
|
|
220
|
-
&.kbq-disabled {
|
|
221
|
-
color: map.get($fade-contrast, state-disabled);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
&.kbq-error {
|
|
226
|
-
&:active,
|
|
227
|
-
&.kbq-active {
|
|
228
|
-
color: map.get($error, state-active);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
&:not([disabled], .kbq-disabled):hover {
|
|
232
|
-
color: map.get($error, state-hover);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
&[disabled],
|
|
236
|
-
&.kbq-disabled {
|
|
237
|
-
color: map.get($error, state-disabled);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&.kbq-success {
|
|
242
|
-
&:active,
|
|
243
|
-
&.kbq-active {
|
|
244
|
-
color: map.get($success, state-active);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
&:not([disabled],.kbq-disabled):hover {
|
|
248
|
-
color: map.get($success, state-hover);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
&[disabled],
|
|
252
|
-
&.kbq-disabled {
|
|
253
|
-
color: map.get($success, state-disabled);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
&:focus {
|
|
258
|
-
outline: none;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&.cdk-keyboard-focused {
|
|
262
|
-
box-shadow:
|
|
263
|
-
inset 0 0 0 1px map.get(map.get($themeObj, states), focused-color),
|
|
264
|
-
0 0 0 1px map.get(map.get($themeObj, states), focused-color);
|
|
265
|
-
}
|
|
266
35
|
}
|
|
267
36
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
3
|
+
import { CanColor, KbqFormFieldRef } from '@koobiq/components/core';
|
|
4
|
+
import { KbqIcon } from './icon.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class KbqIconButton extends KbqIcon implements OnDestroy, CanColor {
|
|
7
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
8
|
+
private focusMonitor;
|
|
9
|
+
small: boolean;
|
|
10
|
+
get tabindex(): any;
|
|
11
|
+
set tabindex(value: any);
|
|
12
|
+
private _tabindex;
|
|
13
|
+
get disabled(): boolean;
|
|
14
|
+
set disabled(value: boolean);
|
|
15
|
+
private _disabled;
|
|
16
|
+
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
private runFocusMonitor;
|
|
19
|
+
private stopFocusMonitor;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconButton, [null, { attribute: "kbq-icon-button"; }, { optional: true; }, null, null]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconButton, "[kbq-icon-button]", never, { "color": { "alias": "color"; "required": false; }; "small": { "alias": "small"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@use '../core/styles/tokens';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.kbq-icon-button {
|
|
11
|
+
&:not(.kbq-disabled) {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
padding:
|
|
16
|
+
var(--kbq-icon-button-size-small-vertical-padding, map-get($tokens, icon-button-size-small-vertical-padding))
|
|
17
|
+
var(
|
|
18
|
+
--kbq-icon-button-size-small-horizontal-padding,
|
|
19
|
+
map-get($tokens, icon-button-size-small-horizontal-padding)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
&.kbq-icon-button_small {
|
|
23
|
+
padding:
|
|
24
|
+
var(
|
|
25
|
+
--kbq-icon-button-size-normal-vertical-padding,
|
|
26
|
+
map-get($tokens, icon-button-size-normal-vertical-padding)
|
|
27
|
+
)
|
|
28
|
+
var(
|
|
29
|
+
--kbq-icon-button-size-normal-horizontal-padding,
|
|
30
|
+
map-get($tokens, icon-button-size-normal-horizontal-padding)
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { CanColor, KbqFormFieldRef } from '@koobiq/components/core';
|
|
3
|
+
import { KbqIcon } from './icon.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class KbqIconItem extends KbqIcon implements CanColor {
|
|
6
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
7
|
+
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconItem, [null, { attribute: "kbq-icon-item"; }, { optional: true; }, null]>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconItem, "[kbq-icon-item]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@use '../core/styles/tokens';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.kbq-icon-item {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
|
|
13
|
+
border-radius: 50%;
|
|
14
|
+
|
|
15
|
+
padding:
|
|
16
|
+
var(--kbq-icon-item-size-vertical-padding, map-get($tokens, icon-item-size-vertical-padding))
|
|
17
|
+
var(--kbq-icon-item-size-horizontal-padding, map-get($tokens, icon-item-size-horizontal-padding));
|
|
18
|
+
}
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AfterContentInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
3
2
|
import { CanColor, CanColorCtor, KbqFormFieldRef } from '@koobiq/components/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/** @docs-private */
|
|
@@ -22,26 +21,3 @@ export declare class KbqIcon extends KbqIconMixinBase implements CanColor, After
|
|
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIcon, [null, { attribute: "kbq-icon"; }, { optional: true; }, null]>;
|
|
23
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIcon, "[kbq-icon]", never, { "color": { "alias": "color"; "required": false; }; "small": { "alias": "small"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
24
23
|
}
|
|
25
|
-
export declare class KbqIconButton extends KbqIcon implements OnDestroy, CanColor {
|
|
26
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
27
|
-
private focusMonitor;
|
|
28
|
-
small: boolean;
|
|
29
|
-
get tabindex(): any;
|
|
30
|
-
set tabindex(value: any);
|
|
31
|
-
private _tabindex;
|
|
32
|
-
get disabled(): boolean;
|
|
33
|
-
set disabled(value: boolean);
|
|
34
|
-
private _disabled;
|
|
35
|
-
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
private runFocusMonitor;
|
|
38
|
-
private stopFocusMonitor;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconButton, [null, { attribute: "kbq-icon-button"; }, { optional: true; }, null, null]>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconButton, "[kbq-icon-button]", never, { "color": { "alias": "color"; "required": false; }; "small": { "alias": "small"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
41
|
-
}
|
|
42
|
-
export declare class KbqIconItem extends KbqIcon implements CanColor {
|
|
43
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
44
|
-
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconItem, [null, { attribute: "kbq-icon-item"; }, { optional: true; }, null]>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconItem, "[kbq-icon-item]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
47
|
-
}
|
package/icon/icon.module.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./icon.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/
|
|
3
|
+
import * as i2 from "./icon-button.component";
|
|
4
|
+
import * as i3 from "./icon-item.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/cdk/a11y";
|
|
7
|
+
import * as i6 from "@angular/cdk/platform";
|
|
6
8
|
export declare class KbqIconModule {
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqIconModule, [typeof i1.KbqIcon, typeof
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqIconModule, [typeof i1.KbqIcon, typeof i2.KbqIconButton, typeof i3.KbqIconItem], [typeof i4.CommonModule, typeof i5.A11yModule, typeof i6.PlatformModule], [typeof i1.KbqIcon, typeof i2.KbqIconButton, typeof i3.KbqIconItem]>;
|
|
9
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqIconModule>;
|
|
10
12
|
}
|
package/icon/icon.scss
CHANGED
|
@@ -7,47 +7,6 @@
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
@mixin kbq-icon-size($padding, $line-height, $font-size) {
|
|
11
|
-
padding: $padding;
|
|
12
|
-
line-height: $line-height;
|
|
13
|
-
font-size: $font-size;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.kbq-icon_button {
|
|
17
|
-
&:not(.kbq-disabled) {
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
padding:
|
|
22
|
-
var(--kbq-icon-button-size-small-vertical-padding, map-get($tokens, icon-button-size-small-vertical-padding))
|
|
23
|
-
var(
|
|
24
|
-
--kbq-icon-button-size-small-horizontal-padding,
|
|
25
|
-
map-get($tokens, icon-button-size-small-horizontal-padding)
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
&.kbq-icon-button_small {
|
|
29
|
-
padding:
|
|
30
|
-
var(
|
|
31
|
-
--kbq-icon-button-size-normal-vertical-padding,
|
|
32
|
-
map-get($tokens, icon-button-size-normal-vertical-padding)
|
|
33
|
-
)
|
|
34
|
-
var(
|
|
35
|
-
--kbq-icon-button-size-normal-horizontal-padding,
|
|
36
|
-
map-get($tokens, icon-button-size-normal-horizontal-padding)
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.kbq-icon-item {
|
|
42
|
-
box-sizing: border-box;
|
|
43
|
-
|
|
44
|
-
border-radius: 50%;
|
|
45
|
-
|
|
46
|
-
padding:
|
|
47
|
-
var(--kbq-icon-item-size-vertical-padding, map-get($tokens, icon-item-size-vertical-padding))
|
|
48
|
-
var(--kbq-icon-item-size-horizontal-padding, map-get($tokens, icon-item-size-horizontal-padding));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
10
|
.kbq-icon-rotate_90 {
|
|
52
11
|
transform: rotate(90deg);
|
|
53
12
|
}
|
package/icon/public-api.d.ts
CHANGED
package/input/_input-theme.scss
CHANGED
package/input/input-number.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { KbqLocaleService } from '@koobiq/components/core';
|
|
4
|
+
import { KbqFormFieldControl } from '@koobiq/components/form-field';
|
|
3
5
|
import { Subject } from 'rxjs';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare const BIG_STEP = 10;
|
|
@@ -10,24 +12,73 @@ export declare function isInt(value: string): boolean;
|
|
|
10
12
|
export declare function isDigit(value: string): boolean;
|
|
11
13
|
export declare function getPrecision(value: number): number;
|
|
12
14
|
export declare function add(value1: number, value2: number): number;
|
|
13
|
-
export declare
|
|
15
|
+
export declare const KBQ_NUMBER_INPUT_VALUE_ACCESSOR: any;
|
|
16
|
+
export declare class KbqNumberInput implements KbqFormFieldControl<any>, ControlValueAccessor, OnDestroy {
|
|
14
17
|
private elementRef;
|
|
15
|
-
private
|
|
18
|
+
private readonly renderer;
|
|
19
|
+
private localeService;
|
|
20
|
+
/** Emits when the value changes (either due to user input or programmatic change). */
|
|
21
|
+
valueChange: EventEmitter<number | null>;
|
|
22
|
+
/** Emits when the disabled state has changed */
|
|
23
|
+
disabledChange: EventEmitter<boolean>;
|
|
24
|
+
readonly stateChanges: Subject<void>;
|
|
25
|
+
id: string;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
empty: boolean;
|
|
28
|
+
required: boolean;
|
|
29
|
+
errorState: boolean;
|
|
30
|
+
controlType?: string | undefined;
|
|
16
31
|
bigStep: number;
|
|
17
32
|
step: number;
|
|
18
33
|
min: number;
|
|
19
34
|
max: number;
|
|
20
|
-
|
|
35
|
+
withThousandSeparator: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Include thousand separator from custom index. For example, it will be useful in tables.
|
|
38
|
+
*/
|
|
39
|
+
startFormattingFrom?: number;
|
|
40
|
+
get value(): number | null;
|
|
41
|
+
set value(value: number | null);
|
|
42
|
+
private _value;
|
|
43
|
+
get disabled(): boolean;
|
|
44
|
+
set disabled(value: boolean);
|
|
45
|
+
private _disabled;
|
|
21
46
|
focused: boolean;
|
|
22
|
-
readonly stateChanges: Subject<void>;
|
|
23
47
|
get nativeElement(): HTMLInputElement;
|
|
24
|
-
|
|
48
|
+
get viewValue(): string;
|
|
49
|
+
get ngControl(): any;
|
|
50
|
+
private control;
|
|
51
|
+
private readonly allNumberLocaleConfigs;
|
|
52
|
+
private numberLocaleConfig;
|
|
53
|
+
private valueFromPaste;
|
|
54
|
+
private localeSubscription;
|
|
55
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, step: string, bigStep: string, min: string, max: string, localeService: KbqLocaleService);
|
|
56
|
+
ngOnDestroy(): void;
|
|
57
|
+
onContainerClick(): void;
|
|
58
|
+
focus(): void;
|
|
59
|
+
writeValue(value: number | null): void;
|
|
60
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
61
|
+
registerOnTouched(fn: () => void): void;
|
|
62
|
+
setDisabledState(isDisabled: boolean): void;
|
|
25
63
|
focusChanged(isFocused: boolean): void;
|
|
64
|
+
onTouched: () => void;
|
|
26
65
|
onKeyDown(event: KeyboardEvent): void;
|
|
27
|
-
|
|
66
|
+
onInput(event: InputEvent): void;
|
|
67
|
+
onPaste(event: ClipboardEvent): void;
|
|
28
68
|
stepUp(step: number): void;
|
|
29
69
|
stepDown(step: number): void;
|
|
70
|
+
private cvaOnChange;
|
|
71
|
+
private setViewValue;
|
|
30
72
|
private viewToModelUpdate;
|
|
31
|
-
|
|
32
|
-
|
|
73
|
+
private formatViewValue;
|
|
74
|
+
private formatNumber;
|
|
75
|
+
private createLocalizedNumberFromParts;
|
|
76
|
+
/**
|
|
77
|
+
* Method that returns a string representation of a number without localized separators
|
|
78
|
+
*/
|
|
79
|
+
private normalizeNumber;
|
|
80
|
+
private updateLocaleParams;
|
|
81
|
+
private checkAndNormalizeLocalizedNumber;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNumberInput, [null, null, { attribute: "step"; }, { attribute: "big-step"; }, { attribute: "min"; }, { attribute: "max"; }, { optional: true; }]>;
|
|
83
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNumberInput, "input[kbqInput][type=\"number\"]", ["kbqNumericalInput"], { "bigStep": { "alias": "bigStep"; "required": false; }; "step": { "alias": "step"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "withThousandSeparator": { "alias": "withThousandSeparator"; "required": false; }; "startFormattingFrom": { "alias": "startFormattingFrom"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
84
|
}
|
|
@@ -88,5 +88,5 @@ export declare class KbqInputPassword extends KbqInputMixinBase implements KbqFo
|
|
|
88
88
|
/** Checks whether the input is invalid based on the native validation. */
|
|
89
89
|
protected isBadInput(): boolean;
|
|
90
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInputPassword, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
|
91
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInputPassword, "input[
|
|
91
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInputPassword, "input[kbqInputPassword]", ["kbqInputPassword"], { "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
92
92
|
}
|
package/input/input.d.ts
CHANGED
|
@@ -109,9 +109,9 @@ export declare class KbqInput extends KbqInputMixinBase implements KbqFormFieldC
|
|
|
109
109
|
/** Checks whether the input is invalid based on the native validation. */
|
|
110
110
|
protected isBadInput(): boolean;
|
|
111
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInput, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
|
112
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInput, "input[
|
|
112
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInput, "input[kbqInput]", ["kbqInput"], { "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
113
113
|
}
|
|
114
114
|
export declare class KbqInputMono {
|
|
115
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInputMono, never>;
|
|
116
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInputMono, "input[
|
|
116
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInputMono, "input[kbqInputMonospace]", ["KbqInputMonospace"], {}, {}, never, never, false, never>;
|
|
117
117
|
}
|
package/input/input.scss
CHANGED
|
@@ -14,6 +14,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
14
14
|
display: inline-block;
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
|
|
17
|
+
text-overflow: ellipsis;
|
|
18
|
+
|
|
17
19
|
width: 100%;
|
|
18
20
|
min-height: calc(
|
|
19
21
|
var(--kbq-form-field-size-height, map.get($tokens, form-field-size-height)) -
|
|
@@ -25,7 +27,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
25
27
|
var(--kbq-input-size-padding-vertical, map.get($tokens, input-size-padding-vertical)) -
|
|
26
28
|
var(--kbq-form-field-size-border-width, map.get($tokens, form-field-size-border-width))
|
|
27
29
|
)
|
|
28
|
-
var(--kbq-input-size-padding-horizontal, map.get($tokens, input-size-padding-horizontal))
|
|
30
|
+
var(--kbq-input-size-padding-horizontal, map.get($tokens, input-size-padding-horizontal));
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
input.kbq-input[type="number"] {
|