@koobiq/components 18.0.0 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alert/alert-tokens.scss +2 -2
- package/core/pop-up/pop-up-trigger.d.ts +5 -1
- package/core/styles/typography/_typography.scss +15 -0
- package/esm2022/alert/alert.component.mjs +13 -13
- package/esm2022/alert/alert.module.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +3 -3
- package/esm2022/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +9 -9
- package/esm2022/badge/badge.module.mjs +4 -4
- package/esm2022/button/button.component.mjs +6 -6
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.component.mjs +6 -6
- package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
- package/esm2022/checkbox/checkbox-module.mjs +4 -4
- package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2022/checkbox/checkbox.mjs +3 -3
- package/esm2022/code-block/actionbar.component.mjs +3 -3
- package/esm2022/code-block/code-block.component.mjs +3 -3
- package/esm2022/code-block/code-block.module.mjs +4 -4
- package/esm2022/core/common-behaviors/common-module.mjs +4 -4
- package/esm2022/core/error/error-options.mjs +6 -6
- package/esm2022/core/formatters/date/formatter.mjs +3 -3
- package/esm2022/core/formatters/date/formatter.pipe.mjs +39 -39
- package/esm2022/core/formatters/index.mjs +4 -4
- package/esm2022/core/formatters/number/formatter.mjs +12 -12
- package/esm2022/core/forms/forms-module.mjs +4 -4
- package/esm2022/core/forms/forms.directive.mjs +6 -6
- package/esm2022/core/highlight/highlight.pipe.mjs +3 -3
- package/esm2022/core/highlight/index.mjs +4 -4
- package/esm2022/core/line/line.mjs +7 -7
- package/esm2022/core/locales/locale-service.mjs +3 -3
- package/esm2022/core/locales/locale-service.module.mjs +4 -4
- package/esm2022/core/option/action.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option-module.mjs +4 -4
- package/esm2022/core/option/option.mjs +3 -3
- package/esm2022/core/pop-up/pop-up-trigger.mjs +17 -8
- package/esm2022/core/pop-up/pop-up.mjs +3 -3
- package/esm2022/core/select/common.mjs +15 -15
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2022/core/services/measure-scrollbar.service.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +3 -3
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +3 -3
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +3 -3
- package/esm2022/datepicker/calendar.component.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.directive.mjs +3 -3
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +4 -4
- package/esm2022/datepicker/datepicker-toggle.component.mjs +6 -6
- package/esm2022/datepicker/datepicker.component.mjs +6 -6
- package/esm2022/datepicker/month-view.component.mjs +3 -3
- package/esm2022/divider/divider.component.mjs +3 -3
- package/esm2022/divider/divider.module.mjs +4 -4
- package/esm2022/dl/dl.component.mjs +9 -9
- package/esm2022/dl/dl.module.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +3 -3
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -7
- package/esm2022/empty-state/empty-state.component.mjs +15 -15
- package/esm2022/empty-state/empty-state.module.mjs +4 -4
- package/esm2022/file-upload/file-drop.mjs +3 -3
- package/esm2022/file-upload/file-upload.module.mjs +4 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +4 -4
- package/esm2022/file-upload/single-file-upload.component.mjs +4 -4
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +9 -9
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/hint.mjs +3 -3
- package/esm2022/form-field/password-hint.mjs +6 -6
- package/esm2022/form-field/password-toggle.mjs +3 -3
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +3 -3
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +3 -3
- package/esm2022/icon/icon-button.component.mjs +5 -5
- package/esm2022/icon/icon-item.component.mjs +5 -5
- package/esm2022/icon/icon.component.mjs +5 -5
- package/esm2022/icon/icon.module.mjs +13 -24
- package/esm2022/input/input-number-validators.mjs +6 -6
- package/esm2022/input/input-number.mjs +5 -5
- package/esm2022/input/input-password.mjs +3 -3
- package/esm2022/input/input.mjs +8 -8
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/link/link.component.mjs +3 -3
- package/esm2022/link/link.module.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +9 -9
- package/esm2022/list/list.component.mjs +6 -6
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +12 -12
- package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
- package/esm2022/markdown/markdown.component.mjs +5 -5
- package/esm2022/markdown/markdown.module.mjs +4 -4
- package/esm2022/markdown/markdown.service.mjs +3 -3
- package/esm2022/modal/css-unit.pipe.mjs +3 -3
- package/esm2022/modal/modal-control.service.mjs +3 -3
- package/esm2022/modal/modal.component.mjs +3 -3
- package/esm2022/modal/modal.directive.mjs +53 -17
- package/esm2022/modal/modal.module.mjs +4 -4
- package/esm2022/modal/modal.service.mjs +3 -3
- package/esm2022/navbar/navbar-item.component.mjs +27 -27
- package/esm2022/navbar/navbar.component.mjs +9 -9
- package/esm2022/navbar/navbar.module.mjs +4 -4
- package/esm2022/navbar/vertical-navbar.component.mjs +3 -3
- package/esm2022/popover/popover-confirm.component.mjs +6 -6
- package/esm2022/popover/popover.component.mjs +6 -6
- package/esm2022/popover/popover.module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.component.mjs +9 -9
- package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.component.mjs +9 -9
- package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +6 -6
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +4 -4
- package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/scrollbar/scrollbar.directive.mjs +3 -3
- package/esm2022/scrollbar/scrollbar.module.mjs +4 -4
- package/esm2022/select/select-option.directive.mjs +3 -3
- package/esm2022/select/select.component.mjs +3 -3
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +15 -15
- package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel.service.mjs +3 -3
- package/esm2022/splitter/splitter.component.mjs +12 -12
- package/esm2022/splitter/splitter.module.mjs +4 -4
- package/esm2022/table/table.component.mjs +6 -6
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +3 -3
- package/esm2022/tabs/tab-body.component.mjs +6 -6
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +33 -18
- package/esm2022/tabs/tab-header.component.mjs +16 -5
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +8 -4
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
- package/esm2022/tabs/tab.component.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +15 -8
- package/esm2022/tags/tag-input.mjs +3 -3
- package/esm2022/tags/tag-list.component.mjs +3 -3
- package/esm2022/tags/tag.component.mjs +12 -12
- package/esm2022/tags/tag.module.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +3 -3
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +3 -3
- package/esm2022/timepicker/timepicker.module.mjs +4 -4
- package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +5 -5
- package/esm2022/timezone/timezone-option.directive.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +8 -8
- package/esm2022/timezone/timezone.module.mjs +4 -4
- package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2022/title/title.directive.mjs +3 -3
- package/esm2022/title/title.module.mjs +4 -4
- package/esm2022/toast/toast-container.component.mjs +3 -3
- package/esm2022/toast/toast.component.mjs +6 -6
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +3 -3
- package/esm2022/toggle/toggle.component.mjs +3 -3
- package/esm2022/toggle/toggle.module.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +52 -15
- package/esm2022/tooltip/tooltip.module.mjs +15 -28
- package/esm2022/tree/node.mjs +3 -3
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +3 -3
- package/esm2022/tree/toggle.mjs +9 -9
- package/esm2022/tree/tree-base.mjs +6 -6
- package/esm2022/tree/tree-option.component.mjs +6 -5
- package/esm2022/tree/tree-selection.component.mjs +3 -3
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +13 -6
- package/esm2022/tree-select/tree-select.module.mjs +4 -4
- package/fesm2022/koobiq-components-alert.mjs +17 -17
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +13 -13
- package/fesm2022/koobiq-components-badge.mjs +13 -13
- package/fesm2022/koobiq-components-button-toggle.mjs +10 -10
- package/fesm2022/koobiq-components-button.mjs +10 -10
- package/fesm2022/koobiq-components-checkbox.mjs +10 -10
- package/fesm2022/koobiq-components-code-block.mjs +10 -10
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +163 -154
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +34 -34
- package/fesm2022/koobiq-components-divider.mjs +7 -7
- package/fesm2022/koobiq-components-dl.mjs +13 -13
- package/fesm2022/koobiq-components-dropdown.mjs +16 -16
- package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -7
- package/fesm2022/koobiq-components-empty-state.mjs +19 -19
- package/fesm2022/koobiq-components-file-upload.mjs +15 -15
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +39 -39
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +24 -35
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +24 -24
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +7 -7
- package/fesm2022/koobiq-components-list.mjs +19 -19
- package/fesm2022/koobiq-components-loader-overlay.mjs +16 -16
- package/fesm2022/koobiq-components-markdown.mjs +12 -12
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +63 -31
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +43 -43
- package/fesm2022/koobiq-components-popover.mjs +16 -16
- package/fesm2022/koobiq-components-progress-bar.mjs +13 -13
- package/fesm2022/koobiq-components-progress-spinner.mjs +13 -13
- package/fesm2022/koobiq-components-radio.mjs +10 -10
- package/fesm2022/koobiq-components-risk-level.mjs +7 -7
- package/fesm2022/koobiq-components-scrollbar.mjs +10 -10
- package/fesm2022/koobiq-components-select.mjs +10 -10
- package/fesm2022/koobiq-components-sidebar.mjs +13 -13
- package/fesm2022/koobiq-components-sidepanel.mjs +25 -25
- package/fesm2022/koobiq-components-splitter.mjs +16 -16
- package/fesm2022/koobiq-components-table.mjs +10 -10
- package/fesm2022/koobiq-components-tabs.mjs +93 -56
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +22 -22
- package/fesm2022/koobiq-components-textarea.mjs +7 -7
- package/fesm2022/koobiq-components-timepicker.mjs +7 -7
- package/fesm2022/koobiq-components-timezone.mjs +26 -26
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +7 -7
- package/fesm2022/koobiq-components-toast.mjs +16 -16
- package/fesm2022/koobiq-components-toggle.mjs +7 -7
- package/fesm2022/koobiq-components-tooltip.mjs +67 -42
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +16 -9
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +39 -38
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/file-upload-tokens.scss +1 -1
- package/icon/icon-button.component.d.ts +1 -1
- package/icon/icon-item.component.d.ts +1 -1
- package/icon/icon.component.d.ts +1 -1
- package/icon/icon.module.d.ts +1 -3
- package/input/input-number.d.ts +1 -1
- package/input/input.d.ts +1 -1
- package/link/link-tokens.scss +2 -2
- package/markdown/markdown-tokens.scss +2 -2
- package/modal/modal.directive.d.ts +3 -0
- package/package.json +4 -4
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/schematics/ng-add/index.js +3 -3
- package/tabs/_tabs-common.scss +29 -0
- package/tabs/_tabs-theme.scss +12 -0
- package/tabs/tab-group.component.d.ts +7 -2
- package/tabs/tab-header.component.d.ts +4 -1
- package/tabs/tab-header.scss +28 -0
- package/tabs/tabs.module.d.ts +2 -1
- package/timezone/timezone-option-tokens.scss +24 -0
- package/tooltip/tooltip.component.d.ts +11 -4
- package/tooltip/tooltip.module.d.ts +1 -3
- package/tree/tree-option.component.d.ts +1 -0
- package/tree-select/tree-select.component.d.ts +2 -0
|
@@ -25,9 +25,9 @@ function ngAdd(options) {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
// Installing dependencies
|
|
28
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.
|
|
29
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.
|
|
30
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.
|
|
28
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.6");
|
|
29
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.1.0");
|
|
30
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.1.0");
|
|
31
31
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.1.2");
|
|
32
32
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.1.2");
|
|
33
33
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^9.1.0");
|
package/tabs/_tabs-common.scss
CHANGED
|
@@ -32,6 +32,25 @@
|
|
|
32
32
|
|
|
33
33
|
outline: none;
|
|
34
34
|
|
|
35
|
+
&.kbq-tab-label_underlined:not(.kbq-tab-label_vertical) {
|
|
36
|
+
padding-left: 14px;
|
|
37
|
+
padding-right: 14px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.kbq-tab-label_underlined:not(.kbq-tab-label_vertical).kbq-tab-label_with-icon-left {
|
|
41
|
+
padding-left: kbq-difference-series-css-variables(
|
|
42
|
+
[tabs-size-tab-item-padding-horizontal,
|
|
43
|
+
tabs-size-tab-item-focus-outline-width]
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.kbq-tab-label_underlined:not(.kbq-tab-label_vertical).kbq-tab-label_with-icon-right {
|
|
48
|
+
padding-right: kbq-difference-series-css-variables(
|
|
49
|
+
[tabs-size-tab-item-padding-horizontal,
|
|
50
|
+
tabs-size-tab-item-focus-outline-width]
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
35
54
|
&.kbq-selected {
|
|
36
55
|
cursor: default;
|
|
37
56
|
}
|
|
@@ -51,10 +70,20 @@
|
|
|
51
70
|
gap: kbq-css-variable(tabs-size-tab-item-content-gap-horizontal);
|
|
52
71
|
}
|
|
53
72
|
|
|
73
|
+
&.kbq-tab-label_underlined:not(.kbq-tab-label_vertical):before {
|
|
74
|
+
content: '';
|
|
75
|
+
position: absolute;
|
|
76
|
+
left: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
top: -10px;
|
|
79
|
+
bottom: -10px;
|
|
80
|
+
}
|
|
81
|
+
|
|
54
82
|
&.kbq-tab-label_vertical {
|
|
55
83
|
justify-content: flex-start;
|
|
56
84
|
|
|
57
85
|
& .kbq-tab-label__content {
|
|
86
|
+
display: block;
|
|
58
87
|
overflow: hidden;
|
|
59
88
|
text-overflow: ellipsis;
|
|
60
89
|
white-space: nowrap;
|
package/tabs/_tabs-theme.scss
CHANGED
|
@@ -19,11 +19,23 @@
|
|
|
19
19
|
@include kbq-tab-item-state($type, $sub-type, states-hover);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
&.kbq-tab-label_empty {
|
|
23
|
+
color: kbq-css-variable(foreground-contrast-secondary);
|
|
24
|
+
}
|
|
25
|
+
|
|
22
26
|
&.kbq-selected {
|
|
23
27
|
@include kbq-tab-item-state($type, $sub-type, states-selected);
|
|
24
28
|
|
|
29
|
+
&.kbq-tab-label_underlined:not(.kbq-tab-label_vertical) {
|
|
30
|
+
background: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
&:hover {
|
|
26
34
|
@include kbq-tab-item-state($type, $sub-type, states-selected-hover);
|
|
35
|
+
|
|
36
|
+
&.kbq-tab-label_underlined:not(.kbq-tab-label_vertical) {
|
|
37
|
+
background: none;
|
|
38
|
+
}
|
|
27
39
|
}
|
|
28
40
|
}
|
|
29
41
|
|
|
@@ -20,6 +20,10 @@ export declare class KbqVerticalTabsCssStyler {
|
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqVerticalTabsCssStyler, never>;
|
|
21
21
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqVerticalTabsCssStyler, "kbq-tab-group[vertical], [kbq-tab-nav-bar][vertical]", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
23
|
+
export declare class KbqUnderlinedTabsCssStyler {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqUnderlinedTabsCssStyler, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqUnderlinedTabsCssStyler, "kbq-tab-group[underlined], [kbq-tab-nav-bar][underlined]", never, {}, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
23
27
|
/** A simple change event emitted on focus or selection changes. */
|
|
24
28
|
export declare class KbqTabChangeEvent {
|
|
25
29
|
/** Index of the currently-selected tab. */
|
|
@@ -52,6 +56,7 @@ export declare class KbqTabGroup extends KbqTabGroupMixinBase implements AfterCo
|
|
|
52
56
|
private readonly changeDetectorRef;
|
|
53
57
|
readonly resizeStream: Subject<Event>;
|
|
54
58
|
vertical: boolean;
|
|
59
|
+
underlined: boolean;
|
|
55
60
|
tabs: QueryList<KbqTab>;
|
|
56
61
|
tabBodyWrapper: ElementRef;
|
|
57
62
|
tabHeader: KbqTabHeader;
|
|
@@ -91,7 +96,7 @@ export declare class KbqTabGroup extends KbqTabGroupMixinBase implements AfterCo
|
|
|
91
96
|
private resizeSubscription;
|
|
92
97
|
private readonly groupId;
|
|
93
98
|
private readonly resizeDebounceInterval;
|
|
94
|
-
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, vertical: string, defaultConfig?: IKbqTabsConfig);
|
|
99
|
+
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, vertical: string, underlined: string, defaultConfig?: IKbqTabsConfig);
|
|
95
100
|
/**
|
|
96
101
|
* After the content is checked, this component knows what tabs have been defined
|
|
97
102
|
* and what the selected index should be. This is where we can know exactly what position
|
|
@@ -132,6 +137,6 @@ export declare class KbqTabGroup extends KbqTabGroupMixinBase implements AfterCo
|
|
|
132
137
|
/** Clamps the given index to the bounds of 0 and the tabs length. */
|
|
133
138
|
private clampTabIndex;
|
|
134
139
|
private getTabIndexToSelect;
|
|
135
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabGroup, [null, null, { attribute: "vertical"; }, { optional: true; }]>;
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabGroup, [null, null, { attribute: "vertical"; }, { attribute: "underlined"; }, { optional: true; }]>;
|
|
136
141
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabGroup, "kbq-tab-group", ["kbqTabGroup"], { "disabled": { "alias": "disabled"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "onSurface": { "alias": "onSurface"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "activeTabChange": "activeTabChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, ["tabs"], never, false, never>;
|
|
137
142
|
}
|
|
@@ -23,13 +23,16 @@ export declare class KbqTabHeader extends KbqPaginatedTabHeader {
|
|
|
23
23
|
readonly changeDetectorRef: ChangeDetectorRef;
|
|
24
24
|
/** The index of the active tab. */
|
|
25
25
|
vertical: boolean;
|
|
26
|
+
underlined: boolean;
|
|
26
27
|
items: QueryList<KbqTabLabelWrapper>;
|
|
27
28
|
tabListContainer: ElementRef;
|
|
28
29
|
tabList: ElementRef;
|
|
29
30
|
nextPaginator: ElementRef<HTMLElement>;
|
|
30
31
|
previousPaginator: ElementRef<HTMLElement>;
|
|
32
|
+
get activeTabOffsetWidth(): string;
|
|
33
|
+
get activeTabOffsetLeft(): string;
|
|
31
34
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, ngZone: NgZone, platform: Platform, dir: Directionality, animationMode?: string);
|
|
32
35
|
itemSelected(event: KeyboardEvent): void;
|
|
33
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabHeader, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabHeader, "kbq-tab-header", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["items"], ["*"], false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabHeader, "kbq-tab-header", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "underlined": { "alias": "underlined"; "required": false; }; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["items"], ["*"], false, never>;
|
|
35
38
|
}
|
package/tabs/tab-header.scss
CHANGED
|
@@ -24,6 +24,34 @@
|
|
|
24
24
|
flex-direction: column;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.kbq-tab-header_underlined:not(.kbq-tab-header_vertical) .kbq-tab-list__content {
|
|
28
|
+
padding: 8px 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.kbq-tab-header_underlined:not(.kbq-tab-header_vertical):after {
|
|
32
|
+
content: '';
|
|
33
|
+
position: absolute;
|
|
34
|
+
left: 0;
|
|
35
|
+
bottom: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
height: 1px;
|
|
38
|
+
background: rgba(13, 14, 18, 0.12);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.kbq-tab-list__active-tab-underline {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.kbq-tab-header_underlined:not(.kbq-tab-header_vertical) .kbq-tab-list__active-tab-underline {
|
|
46
|
+
display: block;
|
|
47
|
+
position: absolute;
|
|
48
|
+
bottom: 0;
|
|
49
|
+
height: 3px;
|
|
50
|
+
border-radius: 2px 2px 0 0;
|
|
51
|
+
background: rgba(33, 34, 44, 1);
|
|
52
|
+
transition: all 0.2s ease-in-out;
|
|
53
|
+
}
|
|
54
|
+
|
|
27
55
|
.kbq-tab-header__pagination {
|
|
28
56
|
@include vendor-prefixes.user-select(none);
|
|
29
57
|
|
package/tabs/tabs.module.d.ts
CHANGED
|
@@ -13,8 +13,9 @@ import * as i11 from "@angular/cdk/scrolling";
|
|
|
13
13
|
import * as i12 from "@koobiq/components/core";
|
|
14
14
|
import * as i13 from "@koobiq/components/icon";
|
|
15
15
|
import * as i14 from "@koobiq/components/tooltip";
|
|
16
|
+
import * as i15 from "@angular/common";
|
|
16
17
|
export declare class KbqTabsModule {
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabsModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i6.KbqTabBody, typeof i6.KbqTabBodyPortal, typeof i7.KbqTabHeader, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i9.PortalModule, typeof i10.A11yModule, typeof i11.CdkScrollableModule, typeof i12.KbqCommonModule, typeof i13.KbqIconModule, typeof i14.KbqToolTipModule], [typeof i12.KbqCommonModule, typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler]>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i6.KbqTabBody, typeof i6.KbqTabBodyPortal, typeof i7.KbqTabHeader, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqUnderlinedTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i9.PortalModule, typeof i10.A11yModule, typeof i11.CdkScrollableModule, typeof i12.KbqCommonModule, typeof i13.KbqIconModule, typeof i14.KbqToolTipModule, typeof i15.NgStyle], [typeof i12.KbqCommonModule, typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqUnderlinedTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTabsModule>;
|
|
20
21
|
}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
/* stylelint-disable no-unknown-custom-properties */
|
|
2
2
|
|
|
3
3
|
.kbq-timezone-select__panel {
|
|
4
|
+
--kbq-option-size-horizontal-padding: var(--kbq-size-m);
|
|
5
|
+
--kbq-option-size-height: var(--kbq-size-3xl);
|
|
6
|
+
--kbq-option-size-border-width: 2px;
|
|
7
|
+
--kbq-select-size-single-padding-left: var(--kbq-size-m);
|
|
8
|
+
--kbq-select-size-single-padding-right: var(--kbq-size-xxs);
|
|
9
|
+
--kbq-select-size-single-padding-vertical: var(--kbq-size-xs);
|
|
10
|
+
--kbq-select-size-single-content-gap: var(--kbq-size-xxs);
|
|
11
|
+
--kbq-select-size-multiple-padding-left: var(--kbq-size-xxs);
|
|
12
|
+
--kbq-select-size-multiple-padding-right: var(--kbq-size-xxs);
|
|
13
|
+
--kbq-select-size-multiple-padding-vertical: var(--kbq-size-xxs);
|
|
14
|
+
--kbq-select-size-multiple-content-gap: var(--kbq-size-xxs);
|
|
15
|
+
--kbq-select-panel-size-border-radius: var(--kbq-size-s);
|
|
16
|
+
--kbq-select-panel-size-max-height: 256px;
|
|
17
|
+
--kbq-select-panel-font-default-font-size: var(--kbq-typography-text-normal-font-size);
|
|
18
|
+
--kbq-select-panel-font-default-line-height: var(--kbq-typography-text-normal-line-height);
|
|
19
|
+
--kbq-select-panel-font-default-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
|
|
20
|
+
--kbq-select-panel-font-default-font-weight: var(--kbq-typography-text-normal-font-weight);
|
|
21
|
+
--kbq-select-panel-font-default-font-family: var(--kbq-typography-text-normal-font-family);
|
|
22
|
+
--kbq-select-panel-font-default-text-transform: var(--kbq-typography-text-normal-text-transform);
|
|
23
|
+
--kbq-select-panel-font-default-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
|
|
4
24
|
--kbq-timezone-option-size-padding: 6px 10px;
|
|
5
25
|
--kbq-timezone-option-size-column-gap: 16px;
|
|
6
26
|
--kbq-timezone-option-size-height: auto;
|
|
@@ -41,12 +61,16 @@
|
|
|
41
61
|
}
|
|
42
62
|
|
|
43
63
|
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
64
|
+
--kbq-select-panel-dropdown-background: var(--kbq-background-card);
|
|
65
|
+
--kbq-select-panel-dropdown-shadow: var(--kbq-shadow-popup);
|
|
44
66
|
--kbq-timezone-option-text: var(--kbq-foreground-contrast);
|
|
45
67
|
--kbq-timezone-option-caption: var(--kbq-foreground-contrast-secondary);
|
|
46
68
|
--kbq-timezone-option-optgroup-label: var(--kbq-foreground-contrast-secondary);
|
|
47
69
|
}
|
|
48
70
|
|
|
49
71
|
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
72
|
+
--kbq-select-panel-dropdown-background: var(--kbq-background-card);
|
|
73
|
+
--kbq-select-panel-dropdown-shadow: var(--kbq-shadow-popup);
|
|
50
74
|
--kbq-timezone-option-text: var(--kbq-foreground-contrast);
|
|
51
75
|
--kbq-timezone-option-caption: var(--kbq-foreground-contrast-secondary);
|
|
52
76
|
--kbq-timezone-option-optgroup-label: var(--kbq-foreground-contrast-secondary);
|
|
@@ -27,7 +27,7 @@ export declare class KbqTooltipComponent extends KbqPopUp {
|
|
|
27
27
|
modifier: any;
|
|
28
28
|
}): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTooltipComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTooltipComponent, "kbq-tooltip-component", never, {}, {}, never, never,
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTooltipComponent, "kbq-tooltip-component", never, {}, {}, never, never, true, never>;
|
|
31
31
|
}
|
|
32
32
|
export declare const KBQ_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
33
33
|
/** @docs-private */
|
|
@@ -44,6 +44,11 @@ export declare class KbqTooltipTrigger extends KbqPopUpTrigger<KbqTooltipCompone
|
|
|
44
44
|
get tooltipVisible(): boolean;
|
|
45
45
|
set tooltipVisible(value: boolean);
|
|
46
46
|
get tooltipPlacement(): PopUpPlacements;
|
|
47
|
+
/**
|
|
48
|
+
* Positions the tooltip relative to the mouse cursor. Only available for top and bottom kbqPlacement.
|
|
49
|
+
* Does not work with kbqPlacementPriority.
|
|
50
|
+
*/
|
|
51
|
+
relativeToPointer: boolean;
|
|
47
52
|
set tooltipPlacement(value: PopUpPlacements);
|
|
48
53
|
get tooltipPlacementPriority(): string | string[] | null;
|
|
49
54
|
set tooltipPlacementPriority(value: string | string[] | null);
|
|
@@ -79,8 +84,10 @@ export declare class KbqTooltipTrigger extends KbqPopUpTrigger<KbqTooltipCompone
|
|
|
79
84
|
closingActions(): import("rxjs").Observable<void | MouseEvent>;
|
|
80
85
|
getOverlayHandleComponentType(): Type<KbqTooltipComponent>;
|
|
81
86
|
updateClassMap(newPlacement?: string): void;
|
|
87
|
+
protected applyRelativeToPointer(): void;
|
|
82
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTooltipTrigger, never>;
|
|
83
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTooltipTrigger, "[kbqTooltip]", ["kbqTooltip"], { "tooltipVisible": { "alias": "kbqVisible"; "required": false; }; "tooltipPlacement": { "alias": "kbqPlacement"; "required": false; }; "tooltipPlacementPriority": { "alias": "kbqPlacementPriority"; "required": false; }; "content": { "alias": "kbqTooltip"; "required": false; }; "disabled": { "alias": "kbqTooltipDisabled"; "required": false; }; "enterDelay": { "alias": "kbqEnterDelay"; "required": false; }; "leaveDelay": { "alias": "kbqLeaveDelay"; "required": false; }; "trigger": { "alias": "kbqTrigger"; "required": false; }; "customClass": { "alias": "kbqTooltipClass"; "required": false; }; "context": { "alias": "kbqTooltipContext"; "required": false; }; "color": { "alias": "kbqTooltipColor"; "required": false; }; "arrow": { "alias": "kbqTooltipArrow"; "required": false; }; "offset": { "alias": "kbqTooltipOffset"; "required": false; }; }, { "placementChange": "kbqPlacementChange"; "visibleChange": "kbqVisibleChange"; }, never, never,
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTooltipTrigger, "[kbqTooltip]", ["kbqTooltip"], { "tooltipVisible": { "alias": "kbqVisible"; "required": false; }; "tooltipPlacement": { "alias": "kbqPlacement"; "required": false; }; "relativeToPointer": { "alias": "kbqRelativeToPointer"; "required": false; }; "tooltipPlacementPriority": { "alias": "kbqPlacementPriority"; "required": false; }; "content": { "alias": "kbqTooltip"; "required": false; }; "disabled": { "alias": "kbqTooltipDisabled"; "required": false; }; "enterDelay": { "alias": "kbqEnterDelay"; "required": false; }; "leaveDelay": { "alias": "kbqLeaveDelay"; "required": false; }; "trigger": { "alias": "kbqTrigger"; "required": false; }; "customClass": { "alias": "kbqTooltipClass"; "required": false; }; "context": { "alias": "kbqTooltipContext"; "required": false; }; "color": { "alias": "kbqTooltipColor"; "required": false; }; "arrow": { "alias": "kbqTooltipArrow"; "required": false; }; "offset": { "alias": "kbqTooltipOffset"; "required": false; }; }, { "placementChange": "kbqPlacementChange"; "visibleChange": "kbqVisibleChange"; }, never, never, true, never>;
|
|
90
|
+
static ngAcceptInputType_relativeToPointer: unknown;
|
|
84
91
|
static ngAcceptInputType_arrow: unknown;
|
|
85
92
|
static ngAcceptInputType_offset: unknown;
|
|
86
93
|
}
|
|
@@ -89,7 +96,7 @@ export declare class KbqWarningTooltipTrigger extends KbqTooltipTrigger {
|
|
|
89
96
|
set content(content: string | TemplateRef<any>);
|
|
90
97
|
protected modifier: TooltipModifier;
|
|
91
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqWarningTooltipTrigger, never>;
|
|
92
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqWarningTooltipTrigger, "[kbqWarningTooltip]", ["kbqWarningTooltip"], { "content": { "alias": "kbqWarningTooltip"; "required": false; }; }, {}, never, never,
|
|
99
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqWarningTooltipTrigger, "[kbqWarningTooltip]", ["kbqWarningTooltip"], { "content": { "alias": "kbqWarningTooltip"; "required": false; }; }, {}, never, never, true, never>;
|
|
93
100
|
}
|
|
94
101
|
export declare class KbqExtendedTooltipTrigger extends KbqTooltipTrigger {
|
|
95
102
|
get content(): string | TemplateRef<any>;
|
|
@@ -100,5 +107,5 @@ export declare class KbqExtendedTooltipTrigger extends KbqTooltipTrigger {
|
|
|
100
107
|
protected modifier: TooltipModifier;
|
|
101
108
|
updateData(): void;
|
|
102
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqExtendedTooltipTrigger, never>;
|
|
103
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqExtendedTooltipTrigger, "[kbqExtendedTooltip]", ["kbqExtendedTooltip"], { "content": { "alias": "kbqExtendedTooltip"; "required": false; }; "header": { "alias": "kbqTooltipHeader"; "required": false; }; }, {}, never, never,
|
|
110
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqExtendedTooltipTrigger, "[kbqExtendedTooltip]", ["kbqExtendedTooltip"], { "content": { "alias": "kbqExtendedTooltip"; "required": false; }; "header": { "alias": "kbqTooltipHeader"; "required": false; }; }, {}, never, never, true, never>;
|
|
104
111
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./tooltip.component";
|
|
3
|
-
import * as i2 from "@angular/cdk/overlay";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
3
|
export declare class KbqToolTipModule {
|
|
6
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToolTipModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqToolTipModule, [typeof i1.KbqTooltipComponent, typeof i1.KbqTooltipTrigger, typeof i1.KbqExtendedTooltipTrigger, typeof i1.KbqWarningTooltipTrigger], [typeof
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqToolTipModule, never, [typeof i1.KbqTooltipComponent, typeof i1.KbqTooltipTrigger, typeof i1.KbqExtendedTooltipTrigger, typeof i1.KbqWarningTooltipTrigger], [typeof i1.KbqTooltipComponent, typeof i1.KbqTooltipTrigger, typeof i1.KbqExtendedTooltipTrigger, typeof i1.KbqWarningTooltipTrigger]>;
|
|
8
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqToolTipModule>;
|
|
9
7
|
}
|
|
@@ -45,6 +45,7 @@ export declare class KbqTreeOption extends KbqTreeNode<KbqTreeOption> implements
|
|
|
45
45
|
set showCheckbox(value: any);
|
|
46
46
|
private _showCheckbox;
|
|
47
47
|
readonly onSelectionChange: EventEmitter<KbqTreeOptionChange>;
|
|
48
|
+
readonly userInteraction: EventEmitter<void>;
|
|
48
49
|
get selected(): boolean;
|
|
49
50
|
set selected(value: boolean);
|
|
50
51
|
private _selected;
|
|
@@ -119,6 +119,8 @@ export declare class KbqTreeSelect extends KbqTreeSelectMixinBase implements Aft
|
|
|
119
119
|
sortComparator: (a: KbqTreeOption, b: KbqTreeOption, options: KbqTreeOption[]) => number;
|
|
120
120
|
/** Combined stream of all of the child options' change events. */
|
|
121
121
|
readonly optionSelectionChanges: Observable<KbqTreeSelectChange>;
|
|
122
|
+
/** Combined stream of all of the child options userInteraction events. */
|
|
123
|
+
readonly userInteractionChanges: Observable<void>;
|
|
122
124
|
get placeholder(): string;
|
|
123
125
|
set placeholder(value: string);
|
|
124
126
|
private _placeholder;
|