@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
|
@@ -13,116 +13,82 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
13
13
|
display: inline-flex;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
align-items: center;
|
|
16
|
-
gap: map.get($tokens, size-3xs);
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
--kbq-button-toggle-
|
|
20
|
-
map.get($tokens, button-toggle-
|
|
17
|
+
gap: var(
|
|
18
|
+
--kbq-button-toggle-size-container-content-gap-horizontal,
|
|
19
|
+
map.get($tokens, button-toggle-size-container-content-gap-horizontal)
|
|
21
20
|
);
|
|
21
|
+
|
|
22
22
|
border-radius: var(
|
|
23
|
-
--kbq-button-toggle-
|
|
24
|
-
map.get($tokens, button-toggle-
|
|
25
|
-
);
|
|
26
|
-
border-style: solid;
|
|
27
|
-
padding: var(
|
|
28
|
-
--kbq-button-toggle-group-size-padding,
|
|
29
|
-
map.get($tokens, button-toggle-group-size-padding)
|
|
23
|
+
--kbq-button-toggle-size-container-border-radius,
|
|
24
|
+
map.get($tokens, button-toggle-size-container-border-radius)
|
|
30
25
|
);
|
|
31
26
|
|
|
27
|
+
padding:
|
|
28
|
+
var(
|
|
29
|
+
--kbq-button-toggle-size-container-padding-vertical,
|
|
30
|
+
map.get($tokens, button-toggle-size-container-padding-vertical)
|
|
31
|
+
)
|
|
32
|
+
var(
|
|
33
|
+
--kbq-button-toggle-size-container-padding-horizontal,
|
|
34
|
+
map.get($tokens, button-toggle-size-container-padding-horizontal)
|
|
35
|
+
);
|
|
36
|
+
|
|
32
37
|
.kbq-button-toggle {
|
|
33
38
|
display: flex;
|
|
34
39
|
overflow: hidden;
|
|
35
40
|
justify-content: flex-start;
|
|
36
41
|
|
|
42
|
+
$padding-vertical: map.get($tokens, button-toggle-size-item-padding-vertical);
|
|
43
|
+
$padding-horizontal: map.get($tokens, button-toggle-size-item-padding-horizontal);
|
|
44
|
+
$outline-width: map.get($tokens, button-toggle-size-item-focus-outline-width);
|
|
45
|
+
|
|
37
46
|
border-radius: var(
|
|
38
|
-
--kbq-button-toggle-size-border-radius,
|
|
39
|
-
map.get($tokens, button-toggle-size-border-radius)
|
|
47
|
+
--kbq-button-toggle-size-item-border-radius,
|
|
48
|
+
map.get($tokens, button-toggle-size-item-border-radius)
|
|
40
49
|
);
|
|
41
50
|
|
|
42
51
|
> .kbq-button,
|
|
43
52
|
> .kbq-button-icon {
|
|
44
|
-
border: none;
|
|
45
|
-
border-width: var(
|
|
46
|
-
--kbq-button-toggle-size-border-width,
|
|
47
|
-
map.get($tokens, button-toggle-size-border-width)
|
|
48
|
-
);
|
|
49
53
|
border-radius: var(
|
|
50
|
-
--kbq-button-toggle-size-border-radius,
|
|
51
|
-
map.get($tokens, button-toggle-size-border-radius)
|
|
52
|
-
);
|
|
53
|
-
min-width: var(
|
|
54
|
-
--kbq-button-toggle-size-min-width,
|
|
55
|
-
map.get($tokens, button-toggle-size-min-width)
|
|
56
|
-
);
|
|
57
|
-
padding-left: var(
|
|
58
|
-
--kbq-button-toggle-size-horizontal-padding,
|
|
59
|
-
map.get($tokens, button-toggle-size-horizontal-padding)
|
|
60
|
-
);
|
|
61
|
-
padding-right: var(
|
|
62
|
-
--kbq-button-toggle-size-horizontal-padding,
|
|
63
|
-
map.get($tokens, button-toggle-size-horizontal-padding)
|
|
54
|
+
--kbq-button-toggle-size-item-border-radius,
|
|
55
|
+
map.get($tokens, button-toggle-size-item-border-radius)
|
|
64
56
|
);
|
|
65
57
|
|
|
58
|
+
padding:
|
|
59
|
+
calc(var(--kbq-button-toggle-size-item-padding-vertical, $padding-vertical) - $outline-width)
|
|
60
|
+
calc(var(--kbq-button-toggle-size-item-padding-horizontal, $padding-horizontal) - $outline-width);
|
|
61
|
+
|
|
66
62
|
& .kbq-button-wrapper {
|
|
67
63
|
width: 100%;
|
|
64
|
+
|
|
68
65
|
}
|
|
69
66
|
|
|
70
67
|
.kbq-button-toggle-wrapper {
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
|
|
71
70
|
text-overflow: ellipsis;
|
|
72
71
|
overflow: hidden;
|
|
73
72
|
white-space: nowrap;
|
|
74
|
-
display: inline-block;
|
|
75
|
-
width: 100%;
|
|
76
73
|
|
|
77
|
-
|
|
78
|
-
line-height: 20px;
|
|
79
|
-
vertical-align: baseline;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
74
|
+
width: 100%;
|
|
83
75
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
padding-left: var(
|
|
88
|
-
--kbq-button-toggle-size-left-icon-padding,
|
|
89
|
-
map.get($tokens, button-toggle-size-left-icon-padding)
|
|
76
|
+
gap: var(
|
|
77
|
+
--kbq-button-toggle-size-item-content-gap-horizontal,
|
|
78
|
+
map.get($tokens, button-toggle-size-item-content-gap-horizontal)
|
|
90
79
|
);
|
|
91
|
-
|
|
92
|
-
& .kbq-icon {
|
|
93
|
-
margin-right: map.get($tokens, size-xxs);
|
|
94
|
-
}
|
|
95
80
|
}
|
|
96
81
|
}
|
|
97
|
-
|
|
98
|
-
&[disabled] {
|
|
99
|
-
outline: 0;
|
|
100
|
-
}
|
|
101
82
|
}
|
|
102
83
|
|
|
103
84
|
&:not(.kbq-button-toggle_vertical) {
|
|
104
|
-
height: 32px;
|
|
105
|
-
|
|
106
85
|
.kbq-button-toggle {
|
|
107
86
|
> .kbq-button,
|
|
108
87
|
> .kbq-button-icon {
|
|
109
|
-
|
|
110
|
-
min-height: 28px;
|
|
111
|
-
}
|
|
88
|
+
max-width: 100%;
|
|
112
89
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
--kbq-button-icon-toggle-size-width,
|
|
116
|
-
map.get($tokens, icon-button-toggle-size-width)
|
|
117
|
-
);
|
|
118
|
-
|
|
119
|
-
> .kbq-button,
|
|
120
|
-
> .kbq-button-icon {
|
|
121
|
-
width: var(
|
|
122
|
-
--kbq-button-icon-toggle-size-width,
|
|
123
|
-
map.get($tokens, icon-button-toggle-size-width)
|
|
124
|
-
);
|
|
125
|
-
}
|
|
90
|
+
height: unset;
|
|
91
|
+
min-height: unset;
|
|
126
92
|
}
|
|
127
93
|
}
|
|
128
94
|
}
|
|
@@ -132,32 +98,19 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
132
98
|
.kbq-button-toggle_vertical {
|
|
133
99
|
flex-direction: column;
|
|
134
100
|
|
|
135
|
-
.kbq-button-toggle + .kbq-button-toggle {
|
|
136
|
-
border-left: none;
|
|
137
|
-
border-right: none;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
101
|
.kbq-button-toggle {
|
|
141
102
|
width: 100%;
|
|
142
103
|
|
|
143
104
|
> .kbq-button,
|
|
144
105
|
> .kbq-button-icon {
|
|
145
106
|
width: 100%;
|
|
146
|
-
border-width: var(
|
|
147
|
-
--kbq-button-toggle-size-border-width,
|
|
148
|
-
map.get($tokens, button-toggle-size-border-width)
|
|
149
|
-
);
|
|
150
107
|
|
|
151
108
|
border-radius: var(
|
|
152
|
-
--kbq-button-toggle-size-border-radius,
|
|
153
|
-
map.get($tokens, button-toggle-size-border-radius)
|
|
109
|
+
--kbq-button-toggle-size-item-border-radius,
|
|
110
|
+
map.get($tokens, button-toggle-size-item-border-radius)
|
|
154
111
|
);
|
|
155
112
|
}
|
|
156
113
|
}
|
|
157
114
|
}
|
|
158
115
|
|
|
159
116
|
/* stylelint-enable no-descending-specificity */
|
|
160
|
-
|
|
161
|
-
.kbq-button-toggle-standalone {
|
|
162
|
-
box-shadow: none;
|
|
163
|
-
}
|
package/card/_card-theme.scss
CHANGED
package/checkbox/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Please see the official documentation at
|
|
1
|
+
Please see the official documentation at #
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
& .kbq-hint .kbq-hint__text {
|
|
28
|
+
color: map.get($default, caption);
|
|
29
|
+
}
|
|
30
|
+
|
|
27
31
|
&:hover,
|
|
28
32
|
&.kbq-hover {
|
|
29
33
|
@include kbq-checkbox-state(map.get($checkbox, hover));
|
|
@@ -74,6 +78,10 @@
|
|
|
74
78
|
color: map.get($disabled, color);
|
|
75
79
|
}
|
|
76
80
|
}
|
|
81
|
+
|
|
82
|
+
& .kbq-hint .kbq-hint__text {
|
|
83
|
+
color: map.get($disabled, caption);
|
|
84
|
+
}
|
|
77
85
|
}
|
|
78
86
|
}
|
|
79
87
|
/* stylelint-enable no-descending-specificity */
|
|
@@ -105,7 +113,7 @@
|
|
|
105
113
|
.kbq-checkbox {
|
|
106
114
|
@include kbq-typography-level-to-styles($config, map.get($tokens, checkbox-font-normal-label));
|
|
107
115
|
|
|
108
|
-
& .kbq-hint {
|
|
116
|
+
& .kbq-hint .kbq-hint__text {
|
|
109
117
|
@include kbq-typography-level-to-styles($config, map.get($tokens, checkbox-font-normal-caption));
|
|
110
118
|
}
|
|
111
119
|
}
|
|
@@ -113,7 +121,7 @@
|
|
|
113
121
|
.kbq-checkbox.kbq-checkbox_big {
|
|
114
122
|
@include kbq-typography-level-to-styles($config, map.get($tokens, checkbox-font-big-label));
|
|
115
123
|
|
|
116
|
-
& .kbq-hint {
|
|
124
|
+
& .kbq-hint .kbq-hint__text {
|
|
117
125
|
@include kbq-typography-level-to-styles($config, map.get($tokens, checkbox-font-big-caption));
|
|
118
126
|
}
|
|
119
127
|
}
|
package/checkbox/checkbox.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare class KbqCheckboxBase {
|
|
|
39
39
|
/** @docs-private */
|
|
40
40
|
export declare const KbqCheckboxMixinBase: HasTabIndexCtor & CanColorCtor & CanDisableCtor & typeof KbqCheckboxBase;
|
|
41
41
|
/**
|
|
42
|
-
* A
|
|
42
|
+
* A Koobiq checkbox component. Supports all of the functionality of an HTML5 checkbox,
|
|
43
43
|
* and exposes a similar API. A KbqCheckbox can be either checked, unchecked, indeterminate, or
|
|
44
44
|
* disabled. Note that all additional accessibility attributes are taken care of by the component,
|
|
45
45
|
* so there is no need to provide them yourself. However, if you want to omit a label and still
|
|
@@ -129,5 +129,5 @@ export declare class KbqCheckbox extends KbqCheckboxMixinBase implements Control
|
|
|
129
129
|
/** Function is called whenever the focus changes for the input element. */
|
|
130
130
|
private onInputFocusChange;
|
|
131
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqCheckbox, [null, null, null, { optional: true; }]>;
|
|
132
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCheckbox, "kbq-checkbox", ["
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCheckbox, "kbq-checkbox", ["kbqCheckbox"], { "color": { "alias": "color"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "big": { "alias": "big"; "required": false; }; "id": { "alias": "id"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*", "kbq-hint"], false, never>;
|
|
133
133
|
}
|
package/code-block/README.md
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
| Property | Description | Type | Default |
|
|
6
6
|
|------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|---------|
|
|
7
|
-
|
|
|
8
|
-
|
|
|
9
|
-
|
|
|
10
|
-
|
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
7
|
+
| kbqPlacement | Место для показа относительно элемента, к которому он привязан. Возможные значения: top, bottom, left, right | string | bottom |
|
|
8
|
+
| kbqTrigger | Триггер для показа Возможные значения: hover, manual, click, focus | string | hover |
|
|
9
|
+
| kbqVisible | Ручное управление показом, используется только при kbqTrigger="manual" | boolean | false |
|
|
10
|
+
| kbqPopoverHeader | Содержимое шапки Обрати внимание: если используешь строку, то используй аккуратно, желательно предварительно сделать escape строки, чтобы избежать потенциальной XSS уязвимости. | string | ng-template | – |
|
|
11
|
+
| kbqPopoverContent | Содержимое компонента Обрати внимание: если используешь строку, то используй аккуратно, желательно предварительно сделать escape строки, чтобы избежать потенциальной XSS уязвимости. | string | ng-template | – |
|
|
12
|
+
| kbqPopoverFooter | Содержимое подвала Обрати внимание: если используешь строку, то используй аккуратно, желательно предварительно сделать escape строки, чтобы избежать потенциальной XSS уязвимости. | string | ng-template | – |
|
|
13
|
+
| kbqPopoverDisabled | Флаг для запрета показа | boolean | false |
|
|
14
|
+
| kbqPopoverClass | Добавление своих классов | string | string[] | – |
|
|
15
|
+
| kbqVisibleChange | Callback на изменение видимости компонента | EventEmitter<boolean> | – |
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
</ng-template>
|
|
23
23
|
|
|
24
24
|
<button
|
|
25
|
-
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
25
|
+
kbqPopover
|
|
26
|
+
[kbqTrigger]="'hover'"
|
|
27
|
+
[kbqPlacement]="'top'"
|
|
28
|
+
[kbqPopoverHeader]="'Это header'"
|
|
29
|
+
[kbqPopoverContent]="customContent">
|
|
30
30
|
Найти Эйяфьядлайёкюдль
|
|
31
31
|
</button>
|
|
32
32
|
```
|
|
@@ -319,6 +319,14 @@
|
|
|
319
319
|
.kbq-code-block {
|
|
320
320
|
@include kbq-typography-level-to-styles($config, map.get($tokens, code-block-font-default));
|
|
321
321
|
|
|
322
|
+
& .kbq-code-block__code {
|
|
323
|
+
font: inherit;
|
|
324
|
+
|
|
325
|
+
> code {
|
|
326
|
+
font: inherit;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
322
330
|
.hljs-ln-numbers {
|
|
323
331
|
@include kbq-typography-level-to-styles($config, caption-mono);
|
|
324
332
|
}
|
|
@@ -70,5 +70,5 @@ export declare class KbqCodeBlockComponent implements OnDestroy {
|
|
|
70
70
|
private updateMultiline;
|
|
71
71
|
private getFullFileName;
|
|
72
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqCodeBlockComponent, [null, null, null, null, { optional: true; }]>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCodeBlockComponent, "kbq-code-block", ["
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCodeBlockComponent, "kbq-code-block", ["kbqCodeBlock"], { "lineNumbers": { "alias": "lineNumbers"; "required": false; }; "codeFiles": { "alias": "codeFiles"; "required": false; }; "lessContrast": { "alias": "lessContrast"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "softWrap": { "alias": "softWrap"; "required": false; }; }, {}, never, never, false, never>;
|
|
74
74
|
}
|
|
@@ -4,7 +4,7 @@ import { AnimationTriggerMetadata } from '@angular/animations';
|
|
|
4
4
|
* const containing the metadata for one animation.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const kbqSelectAnimations: {
|
|
8
8
|
readonly transformPanel: AnimationTriggerMetadata;
|
|
9
9
|
readonly fadeInContent: AnimationTriggerMetadata;
|
|
10
10
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { AbstractConstructor, Constructor } from './constructor';
|
|
3
3
|
export interface CanColor {
|
|
4
|
-
color: KbqComponentColors | ThemePalette;
|
|
4
|
+
color: KbqComponentColors | ThemePalette | string;
|
|
5
5
|
}
|
|
6
6
|
/** @docs-private */
|
|
7
7
|
export type CanColorCtor = Constructor<CanColor> & AbstractConstructor<CanColor>;
|
|
@@ -4,7 +4,7 @@ import * as i1 from "@angular/cdk/bidi";
|
|
|
4
4
|
export declare const KBQ_SANITY_CHECKS: InjectionToken<boolean>;
|
|
5
5
|
export declare function mcSanityChecksFactory(): boolean;
|
|
6
6
|
/**
|
|
7
|
-
* Module that captures anything that should be loaded and/or run for *all*
|
|
7
|
+
* Module that captures anything that should be loaded and/or run for *all* Koobiq
|
|
8
8
|
* components. This includes Bidi, etc.
|
|
9
9
|
*
|
|
10
10
|
* This module should be imported to each top-level component module (e.g., KbqTabsModule).
|
|
@@ -3,7 +3,7 @@ import * as i1 from "./number/formatter";
|
|
|
3
3
|
import * as i2 from "./date/formatter.pipe";
|
|
4
4
|
export declare class KbqFormattersModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormattersModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormattersModule, [typeof i1.KbqDecimalPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe], never, [typeof i1.KbqDecimalPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe]>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormattersModule, [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe], never, [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqFormattersModule>;
|
|
8
8
|
}
|
|
9
9
|
export * from './number/formatter';
|
|
@@ -4,6 +4,17 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare const KBQ_NUMBER_FORMATTER_OPTIONS: InjectionToken<string>;
|
|
5
5
|
export declare const KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS: ParsedDigitsInfo;
|
|
6
6
|
export declare const NUMBER_FORMAT_REGEXP: RegExp;
|
|
7
|
+
interface RoundDecimalOptions {
|
|
8
|
+
separator: string;
|
|
9
|
+
groupSeparator: string;
|
|
10
|
+
thousands?: string;
|
|
11
|
+
tenThousand?: string;
|
|
12
|
+
million?: string;
|
|
13
|
+
oneHundredMillions?: string;
|
|
14
|
+
billion?: string;
|
|
15
|
+
trillion: string;
|
|
16
|
+
rtl?: boolean;
|
|
17
|
+
}
|
|
7
18
|
declare class ParsedDigitsInfo {
|
|
8
19
|
useGrouping: boolean;
|
|
9
20
|
minimumIntegerDigits: number;
|
|
@@ -30,8 +41,52 @@ export declare class KbqDecimalPipe implements PipeTransform {
|
|
|
30
41
|
* When not supplied, uses the value of `KBQ_LOCALE_ID`, which is `ru` by default.
|
|
31
42
|
*/
|
|
32
43
|
transform(value: any, digitsInfo?: string, locale?: string): string | null;
|
|
44
|
+
isSpecialFormatForRULocale(locale: string, value: number, grouping?: boolean): boolean;
|
|
33
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqDecimalPipe, [{ optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
34
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<KbqDecimalPipe, "
|
|
46
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqDecimalPipe, "kbqNumber", false>;
|
|
35
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<KbqDecimalPipe>;
|
|
36
48
|
}
|
|
49
|
+
export declare class KbqTableNumberPipe implements PipeTransform {
|
|
50
|
+
private id;
|
|
51
|
+
private localeService;
|
|
52
|
+
private readonly options;
|
|
53
|
+
constructor(id: string, localeService: KbqLocaleService, options: ParsedDigitsInfo);
|
|
54
|
+
/**
|
|
55
|
+
* @param value The number to be formatted.
|
|
56
|
+
* @param digitsInfo Decimal representation options, specified by a string
|
|
57
|
+
* in the following format:<br>
|
|
58
|
+
* <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
|
|
59
|
+
* - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
|
|
60
|
+
* Default is `1`.
|
|
61
|
+
* - `minFractionDigits`: The minimum number of digits after the decimal point.
|
|
62
|
+
* Default is `0`.
|
|
63
|
+
* - `maxFractionDigits`: The maximum number of digits after the decimal point.
|
|
64
|
+
* Default is `3`.
|
|
65
|
+
* @param locale A locale code for the locale format rules to use.
|
|
66
|
+
* When not supplied, uses the value of `KBQ_LOCALE_ID`, which is `ru` by default.
|
|
67
|
+
*/
|
|
68
|
+
transform(value: any, digitsInfo?: string, locale?: string): string | null;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTableNumberPipe, [{ optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
70
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqTableNumberPipe, "kbqTableNumber", false>;
|
|
71
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KbqTableNumberPipe>;
|
|
72
|
+
}
|
|
73
|
+
export declare function isWithin(startRange: number, endRange: number, valueToCheck: number): boolean;
|
|
74
|
+
export declare class KbqRoundDecimalPipe implements PipeTransform {
|
|
75
|
+
private id;
|
|
76
|
+
private localeService;
|
|
77
|
+
roundingOptions: RoundDecimalOptions;
|
|
78
|
+
constructor(id: string, localeService: KbqLocaleService);
|
|
79
|
+
transform(value: any, locale?: string): any;
|
|
80
|
+
private calculateDecimal;
|
|
81
|
+
/**
|
|
82
|
+
* 2 * 1000 is a number in the interval of [1500...2500)
|
|
83
|
+
*
|
|
84
|
+
* 2,0 * 1000 is a number in the interval of [1950...2050)
|
|
85
|
+
*/
|
|
86
|
+
private calculatePartsForThousands;
|
|
87
|
+
private calculateUnit;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRoundDecimalPipe, [{ optional: true; }, { optional: true; }]>;
|
|
89
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KbqRoundDecimalPipe, "kbqRoundNumber", false>;
|
|
90
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KbqRoundDecimalPipe>;
|
|
91
|
+
}
|
|
37
92
|
export {};
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
$tokens: map.get($config, tokens);
|
|
26
26
|
|
|
27
27
|
.kbq-form__label {
|
|
28
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-
|
|
28
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-label));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
31
|
+
//.kbq-form__legend {
|
|
32
|
+
// @include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-default-legend));
|
|
33
|
+
//}
|
|
34
34
|
}
|
package/core/forms/_forms.scss
CHANGED
|
@@ -20,10 +20,8 @@
|
|
|
20
20
|
.kbq-form-horizontal {
|
|
21
21
|
$config: kbq-typography-config($tokens);
|
|
22
22
|
|
|
23
|
-
$line-height: kbq-line-height($config,
|
|
24
|
-
|
|
23
|
+
$line-height: kbq-line-height($config, map.get($tokens, forms-font-label));
|
|
25
24
|
$form-field-size-height: map.get($tokens, form-field-size-height);
|
|
26
|
-
|
|
27
25
|
$label-padding-top: calc(($form-field-size-height - $line-height) / 2);
|
|
28
26
|
|
|
29
27
|
& .kbq-form-row_margin {
|
|
@@ -11,12 +11,12 @@ export declare class KbqFormElement implements AfterContentInit {
|
|
|
11
11
|
constructor(element: ElementRef<HTMLElement>);
|
|
12
12
|
ngAfterContentInit(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormElement, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqFormElement, ".kbq-form__row, .kbq-form__fieldset, .kbq-form__legend", ["
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqFormElement, ".kbq-form__row, .kbq-form__fieldset, .kbq-form__legend", ["kbqFormElement"], {}, {}, ["elements"], never, false, never>;
|
|
15
15
|
}
|
|
16
16
|
export declare class KbqForm implements AfterContentInit {
|
|
17
17
|
elements: QueryList<KbqFormElement>;
|
|
18
18
|
ngAfterContentInit(): void;
|
|
19
19
|
handleElements(elements: QueryList<KbqFormElement>): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqForm, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqForm, ".kbq-form-vertical, .kbq-form-horizontal", ["
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqForm, ".kbq-form-vertical, .kbq-form-horizontal", ["kbqForm"], {}, {}, ["elements"], never, false, never>;
|
|
22
22
|
}
|
package/core/locales/en-US.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const enUSLocaleData: {
|
|
2
|
-
en: {
|
|
2
|
+
'en-US': {
|
|
3
3
|
select: {
|
|
4
4
|
hiddenItemsText: string;
|
|
5
5
|
};
|
|
@@ -7,5 +7,23 @@ export declare const enUSLocaleData: {
|
|
|
7
7
|
placeholder: string;
|
|
8
8
|
dateInput: string;
|
|
9
9
|
};
|
|
10
|
+
formatters: {
|
|
11
|
+
number: {
|
|
12
|
+
rounding: {
|
|
13
|
+
separator: string;
|
|
14
|
+
groupSeparator: string;
|
|
15
|
+
thousand: string;
|
|
16
|
+
million: string;
|
|
17
|
+
billion: string;
|
|
18
|
+
trillion: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
input: {
|
|
23
|
+
number: {
|
|
24
|
+
groupSeparator: string[];
|
|
25
|
+
fractionSeparator: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
10
28
|
};
|
|
11
29
|
};
|
package/core/locales/es-LA.d.ts
CHANGED
|
@@ -3,5 +3,32 @@ export declare const esLALocaleData: {
|
|
|
3
3
|
select: {
|
|
4
4
|
hiddenItemsText: string;
|
|
5
5
|
};
|
|
6
|
+
datepicker: {
|
|
7
|
+
placeholder: string;
|
|
8
|
+
};
|
|
9
|
+
timepicker: {
|
|
10
|
+
placeholder: {
|
|
11
|
+
full: string;
|
|
12
|
+
short: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
formatters: {
|
|
16
|
+
number: {
|
|
17
|
+
rounding: {
|
|
18
|
+
separator: string;
|
|
19
|
+
groupSeparator: string;
|
|
20
|
+
thousand: string;
|
|
21
|
+
million: string;
|
|
22
|
+
billion: string;
|
|
23
|
+
trillion: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
input: {
|
|
28
|
+
number: {
|
|
29
|
+
groupSeparator: string[];
|
|
30
|
+
fractionSeparator: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
6
33
|
};
|
|
7
34
|
};
|
package/core/locales/fa-IR.d.ts
CHANGED
|
@@ -3,5 +3,33 @@ export declare const faIRLocaleData: {
|
|
|
3
3
|
select: {
|
|
4
4
|
hiddenItemsText: string;
|
|
5
5
|
};
|
|
6
|
+
datepicker: {
|
|
7
|
+
placeholder: string;
|
|
8
|
+
};
|
|
9
|
+
timepicker: {
|
|
10
|
+
placeholder: {
|
|
11
|
+
full: string;
|
|
12
|
+
short: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
formatters: {
|
|
16
|
+
number: {
|
|
17
|
+
rounding: {
|
|
18
|
+
separator: string;
|
|
19
|
+
groupSeparator: string;
|
|
20
|
+
thousand: string;
|
|
21
|
+
million: string;
|
|
22
|
+
billion: string;
|
|
23
|
+
trillion: string;
|
|
24
|
+
rtl: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
input: {
|
|
29
|
+
number: {
|
|
30
|
+
groupSeparator: string[];
|
|
31
|
+
fractionSeparator: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
6
34
|
};
|
|
7
35
|
};
|