@4sh/ui-kit 0.11.0 → 0.12.1

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.
Files changed (85) hide show
  1. package/README.md +5 -0
  2. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +3 -3
  3. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +3 -3
  4. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +3 -3
  5. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +3 -3
  6. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +6 -6
  7. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +6 -6
  8. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +3 -3
  9. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +3 -3
  10. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +3 -3
  11. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +118 -15
  12. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +3 -3
  14. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +24 -11
  15. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  16. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +3 -3
  17. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +6 -6
  18. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +3 -3
  19. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +3 -3
  20. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +3 -3
  21. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +3 -3
  22. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +3 -3
  23. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +3 -3
  24. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +3 -3
  25. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +3 -3
  26. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +3 -3
  27. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +3 -3
  28. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +3 -3
  29. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +3 -3
  30. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +3 -3
  31. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +3 -3
  32. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +3 -3
  33. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +3 -3
  34. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +3 -3
  35. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +3 -3
  36. package/fesm2022/4sh-ui-kit-forms.mjs +6 -6
  37. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +12 -12
  38. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +3 -3
  39. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +3 -3
  40. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +3 -3
  41. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +3 -3
  42. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +3 -3
  43. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +9 -9
  44. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +3 -3
  45. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +4 -4
  46. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  47. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +3 -3
  48. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +3 -3
  49. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +3 -3
  50. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +3 -3
  51. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +3 -3
  52. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +17 -17
  53. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  54. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +6 -6
  55. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +12 -12
  56. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +15 -15
  57. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +3 -3
  58. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +3 -3
  59. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +3 -3
  60. package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
  61. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +9 -9
  62. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +3 -3
  63. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +3 -3
  64. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +5 -5
  65. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  66. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +9 -9
  67. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +18 -18
  68. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +15 -15
  69. package/fesm2022/4sh-ui-kit-ripple.mjs +9 -9
  70. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +3 -3
  71. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +33 -33
  72. package/fesm2022/4sh-ui-kit-theming.mjs +6 -6
  73. package/mcp/data/text-search-docs.json +6 -6
  74. package/mcp/data/ui-config.json +6 -6
  75. package/mcp/package.json +1 -1
  76. package/package.json +1 -1
  77. package/styles/component-vars.scss +2 -2
  78. package/styles/generated/_tokens-responsive.scss +27 -3
  79. package/styles.css +1 -1
  80. package/types/4sh-ui-kit-forms-ui-editor.d.ts +5 -1
  81. package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +2 -1
  82. package/types/4sh-ui-kit-informative-ui-toast.d.ts +1 -1
  83. package/types/4sh-ui-kit-navigation-ui-menu.d.ts +1 -1
  84. package/types/4sh-ui-kit-ripple.d.ts +1 -1
  85. package/types/4sh-ui-kit-theming.d.ts +2 -2
@@ -16,19 +16,19 @@ import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
16
16
  */
17
17
  /** Visual region (illustration, image, custom SVG…). Overrides the `icon` shortcut. */
18
18
  class UiEmptyStateMedia {
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiEmptyStateMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: UiEmptyStateMedia, isStandalone: true, selector: "[uiEmptyStateMedia], ui-empty-state-media", ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiEmptyStateMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: UiEmptyStateMedia, isStandalone: true, selector: "[uiEmptyStateMedia], ui-empty-state-media", ngImport: i0 }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiEmptyStateMedia, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiEmptyStateMedia, decorators: [{
23
23
  type: Directive,
24
24
  args: [{ selector: '[uiEmptyStateMedia], ui-empty-state-media' }]
25
25
  }] });
26
26
  /** Actions region (buttons, links…), rendered below the text. */
27
27
  class UiEmptyStateActions {
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiEmptyStateActions, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: UiEmptyStateActions, isStandalone: true, selector: "[uiEmptyStateActions], ui-empty-state-actions", ngImport: i0 }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiEmptyStateActions, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: UiEmptyStateActions, isStandalone: true, selector: "[uiEmptyStateActions], ui-empty-state-actions", ngImport: i0 }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiEmptyStateActions, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiEmptyStateActions, decorators: [{
32
32
  type: Directive,
33
33
  args: [{ selector: '[uiEmptyStateActions], ui-empty-state-actions' }]
34
34
  }] });
@@ -128,10 +128,10 @@ class UiEmptyState {
128
128
  this.hasProjectedBody.set(has);
129
129
  });
130
130
  }
131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiEmptyState, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
132
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiEmptyState, isStandalone: true, selector: "ui-empty-state", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconType: { classPropertyName: "iconType", publicName: "iconType", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showMedia: { classPropertyName: "showMedia", publicName: "showMedia", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "mediaSlot", first: true, predicate: UiEmptyStateMedia, descendants: true, isSignal: true }, { propertyName: "actionsSlot", first: true, predicate: UiEmptyStateActions, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "bodyWrap", first: true, predicate: ["bodyWrap"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n [class]=\"classes()\"\n [attr.role]=\"role()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n>\n @if (showVisual()) {\n <div class=\"ui-empty-state-media\">\n @if (hasMedia()) {\n <ng-content select=\"[uiEmptyStateMedia], ui-empty-state-media\" />\n } @else {\n <ui-icon [name]=\"icon()!\" [type]=\"iconType()\" size=\"xl\" />\n }\n </div>\n }\n\n <!-- Always mounted so the default slot can be detected; hidden when the whole\n text region is empty (no title, no description, no projected body). -->\n <div class=\"ui-empty-state-text\" [class._empty]=\"!hasText()\">\n @if (hasTitle()) {\n <p class=\"ui-empty-state-title\">{{ title() }}</p>\n }\n @if (hasDescription()) {\n <p class=\"ui-empty-state-description\">{{ description() }}</p>\n }\n <div class=\"ui-empty-state-body\" #bodyWrap [class._empty]=\"!hasBody()\">\n <ng-content />\n </div>\n </div>\n\n @if (hasActions()) {\n <div class=\"ui-empty-state-actions\">\n <ng-content select=\"[uiEmptyStateActions], ui-empty-state-actions\" />\n </div>\n }\n</div>\n", styles: [":host{display:block}.ui-empty-state{--_media-color: var(--ui-empty-state-media-color, var(--global-text-muted));display:flex;flex-direction:column;align-items:center;text-align:center;font-family:var(--ui-empty-state-font-family, var(--fontfamily-base));--_media-size: var(--ui-empty-state-media-size, var(--units-4xl));gap:var(--ui-empty-state-gap, var(--units-lg))}.ui-empty-state .ui-empty-state-title{font-size:var(--ui-empty-state-title-font-size, var(--size-typography-title-default))}.ui-empty-state .ui-empty-state-description{font-size:var(--ui-empty-state-desc-font-size, var(--size-typography-text-default))}.ui-empty-state-media{display:flex;align-items:center;justify-content:center;max-width:100%;color:var(--_media-color);--ui-icon-size: var(--_media-size)}.ui-empty-state-text{display:flex;flex-direction:column;gap:var(--ui-empty-state-text-gap, var(--units-xs));max-width:var(--ui-empty-state-max-width, 40ch)}.ui-empty-state-text._empty{display:none}.ui-empty-state-title{margin:0;font-family:var(--ui-empty-state-title-font-family, var(--fontfamily-title));font-weight:var(--ui-empty-state-title-weight, var(--weight-bold));line-height:1.2;color:var(--ui-empty-state-title-color, var(--global-text-default))}.ui-empty-state-description{margin:0;font-weight:var(--ui-empty-state-description-weight, var(--weight-regular));line-height:1.5;color:var(--ui-empty-state-description-color, var(--global-text-muted))}.ui-empty-state-body._empty{display:none}.ui-empty-state-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--ui-empty-state-actions-gap, var(--units-sm))}.ui-empty-state._small{--_media-size: var(--ui-empty-state-media-size-small, var(--units-2xl));gap:var(--ui-empty-state-gap-small, var(--units-default))}.ui-empty-state._small .ui-empty-state-title{font-size:var(--ui-empty-state-title-font-size-small, var(--size-typography-title-md))}.ui-empty-state._small .ui-empty-state-description{font-size:var(--ui-empty-state-desc-font-size-small, var(--size-typography-text-md))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiEmptyState, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
132
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiEmptyState, isStandalone: true, selector: "ui-empty-state", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconType: { classPropertyName: "iconType", publicName: "iconType", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showMedia: { classPropertyName: "showMedia", publicName: "showMedia", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "mediaSlot", first: true, predicate: UiEmptyStateMedia, descendants: true, isSignal: true }, { propertyName: "actionsSlot", first: true, predicate: UiEmptyStateActions, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "bodyWrap", first: true, predicate: ["bodyWrap"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n [class]=\"classes()\"\n [attr.role]=\"role()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n>\n @if (showVisual()) {\n <div class=\"ui-empty-state-media\">\n @if (hasMedia()) {\n <ng-content select=\"[uiEmptyStateMedia], ui-empty-state-media\" />\n } @else {\n <ui-icon [name]=\"icon()!\" [type]=\"iconType()\" size=\"xl\" />\n }\n </div>\n }\n\n <!-- Always mounted so the default slot can be detected; hidden when the whole\n text region is empty (no title, no description, no projected body). -->\n <div class=\"ui-empty-state-text\" [class._empty]=\"!hasText()\">\n @if (hasTitle()) {\n <p class=\"ui-empty-state-title\">{{ title() }}</p>\n }\n @if (hasDescription()) {\n <p class=\"ui-empty-state-description\">{{ description() }}</p>\n }\n <div class=\"ui-empty-state-body\" #bodyWrap [class._empty]=\"!hasBody()\">\n <ng-content />\n </div>\n </div>\n\n @if (hasActions()) {\n <div class=\"ui-empty-state-actions\">\n <ng-content select=\"[uiEmptyStateActions], ui-empty-state-actions\" />\n </div>\n }\n</div>\n", styles: [":host{display:block}.ui-empty-state{--_media-color: var(--ui-empty-state-media-color, var(--global-text-muted));display:flex;flex-direction:column;align-items:center;text-align:center;font-family:var(--ui-empty-state-font-family, var(--fontfamily-base));--_media-size: var(--ui-empty-state-media-size, var(--units-4xl));gap:var(--ui-empty-state-gap, var(--units-lg))}.ui-empty-state .ui-empty-state-title{font-size:var(--ui-empty-state-title-font-size, var(--size-typography-title-default))}.ui-empty-state .ui-empty-state-description{font-size:var(--ui-empty-state-desc-font-size, var(--size-typography-text-default))}.ui-empty-state-media{display:flex;align-items:center;justify-content:center;max-width:100%;color:var(--_media-color);--ui-icon-size: var(--_media-size)}.ui-empty-state-text{display:flex;flex-direction:column;gap:var(--ui-empty-state-text-gap, var(--units-xs));max-width:var(--ui-empty-state-max-width, 40ch)}.ui-empty-state-text._empty{display:none}.ui-empty-state-title{margin:0;font-family:var(--ui-empty-state-title-font-family, var(--fontfamily-title));font-weight:var(--ui-empty-state-title-weight, var(--weight-bold));line-height:1.2;color:var(--ui-empty-state-title-color, var(--global-text-default))}.ui-empty-state-description{margin:0;font-weight:var(--ui-empty-state-description-weight, var(--weight-regular));line-height:1.5;color:var(--ui-empty-state-description-color, var(--global-text-muted))}.ui-empty-state-body._empty{display:none}.ui-empty-state-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--ui-empty-state-actions-gap, var(--units-sm))}.ui-empty-state._small{--_media-size: var(--ui-empty-state-media-size-small, var(--units-2xl));gap:var(--ui-empty-state-gap-small, var(--units-default))}.ui-empty-state._small .ui-empty-state-title{font-size:var(--ui-empty-state-title-font-size-small, var(--size-typography-title-md))}.ui-empty-state._small .ui-empty-state-description{font-size:var(--ui-empty-state-desc-font-size-small, var(--size-typography-text-md))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
133
133
  }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiEmptyState, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiEmptyState, decorators: [{
135
135
  type: Component,
136
136
  args: [{ selector: 'ui-empty-state', imports: [UiIcon], template: "<div\n [class]=\"classes()\"\n [attr.role]=\"role()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n>\n @if (showVisual()) {\n <div class=\"ui-empty-state-media\">\n @if (hasMedia()) {\n <ng-content select=\"[uiEmptyStateMedia], ui-empty-state-media\" />\n } @else {\n <ui-icon [name]=\"icon()!\" [type]=\"iconType()\" size=\"xl\" />\n }\n </div>\n }\n\n <!-- Always mounted so the default slot can be detected; hidden when the whole\n text region is empty (no title, no description, no projected body). -->\n <div class=\"ui-empty-state-text\" [class._empty]=\"!hasText()\">\n @if (hasTitle()) {\n <p class=\"ui-empty-state-title\">{{ title() }}</p>\n }\n @if (hasDescription()) {\n <p class=\"ui-empty-state-description\">{{ description() }}</p>\n }\n <div class=\"ui-empty-state-body\" #bodyWrap [class._empty]=\"!hasBody()\">\n <ng-content />\n </div>\n </div>\n\n @if (hasActions()) {\n <div class=\"ui-empty-state-actions\">\n <ng-content select=\"[uiEmptyStateActions], ui-empty-state-actions\" />\n </div>\n }\n</div>\n", styles: [":host{display:block}.ui-empty-state{--_media-color: var(--ui-empty-state-media-color, var(--global-text-muted));display:flex;flex-direction:column;align-items:center;text-align:center;font-family:var(--ui-empty-state-font-family, var(--fontfamily-base));--_media-size: var(--ui-empty-state-media-size, var(--units-4xl));gap:var(--ui-empty-state-gap, var(--units-lg))}.ui-empty-state .ui-empty-state-title{font-size:var(--ui-empty-state-title-font-size, var(--size-typography-title-default))}.ui-empty-state .ui-empty-state-description{font-size:var(--ui-empty-state-desc-font-size, var(--size-typography-text-default))}.ui-empty-state-media{display:flex;align-items:center;justify-content:center;max-width:100%;color:var(--_media-color);--ui-icon-size: var(--_media-size)}.ui-empty-state-text{display:flex;flex-direction:column;gap:var(--ui-empty-state-text-gap, var(--units-xs));max-width:var(--ui-empty-state-max-width, 40ch)}.ui-empty-state-text._empty{display:none}.ui-empty-state-title{margin:0;font-family:var(--ui-empty-state-title-font-family, var(--fontfamily-title));font-weight:var(--ui-empty-state-title-weight, var(--weight-bold));line-height:1.2;color:var(--ui-empty-state-title-color, var(--global-text-default))}.ui-empty-state-description{margin:0;font-weight:var(--ui-empty-state-description-weight, var(--weight-regular));line-height:1.5;color:var(--ui-empty-state-description-color, var(--global-text-muted))}.ui-empty-state-body._empty{display:none}.ui-empty-state-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--ui-empty-state-actions-gap, var(--units-sm))}.ui-empty-state._small{--_media-size: var(--ui-empty-state-media-size-small, var(--units-2xl));gap:var(--ui-empty-state-gap-small, var(--units-default))}.ui-empty-state._small .ui-empty-state-title{font-size:var(--ui-empty-state-title-font-size-small, var(--size-typography-title-md))}.ui-empty-state._small .ui-empty-state-description{font-size:var(--ui-empty-state-desc-font-size-small, var(--size-typography-text-md))}\n"] }]
137
137
  }], ctorParameters: () => [], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconType: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconType", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], showMedia: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMedia", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], mediaSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiEmptyStateMedia), { isSignal: true }] }], actionsSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiEmptyStateActions), { isSignal: true }] }], bodyWrap: [{ type: i0.ViewChild, args: ['bodyWrap', { isSignal: true }] }] } });
@@ -65,10 +65,10 @@ class UiHelper {
65
65
  }, /* @ts-ignore */
66
66
  ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
67
67
  }
68
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiHelper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiHelper, isStandalone: true, selector: "ui-helper", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: true, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, ariaLive: { classPropertyName: "ariaLive", publicName: "ariaLive", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"classes()\" [attr.aria-live]=\"liveRegion()\">\n @if (hasIcon()) {\n <ui-icon class=\"ui-helper-icon\" [name]=\"resolvedIcon()!\" [size]=\"iconSize()\" />\n }\n <span class=\"ui-helper-message\">{{ message() }}</span>\n</div>\n", styles: [".ui-helper{display:inline-flex;align-items:center;gap:var(--ui-helper-gap, var(--units-xs));font-family:var(--ui-helper-font-family, var(--fontfamily-base));font-weight:var(--ui-helper-weight, var(--weight-regular));line-height:1.3;font-size:var(--ui-helper-font-size, var(--size-typography-text-default))}.ui-helper-icon{line-height:0}.ui-helper-message{display:inline-block}.ui-helper._small{font-size:var(--ui-helper-font-size-small, var(--size-typography-text-md))}.ui-helper._default{color:var(--ui-helper-color, var(--form-low-content-default))}.ui-helper._highlight{color:var(--ui-helper-color, var(--informative-highlightlow-content-default))}.ui-helper._success{color:var(--ui-helper-color, var(--informative-successlow-content-default))}.ui-helper._warning{color:var(--ui-helper-color, var(--informative-warninglow-content-default))}.ui-helper._error{color:var(--ui-helper-color, var(--informative-errorlow-content-default))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiHelper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiHelper, isStandalone: true, selector: "ui-helper", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: true, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, ariaLive: { classPropertyName: "ariaLive", publicName: "ariaLive", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"classes()\" [attr.aria-live]=\"liveRegion()\">\n @if (hasIcon()) {\n <ui-icon class=\"ui-helper-icon\" [name]=\"resolvedIcon()!\" [size]=\"iconSize()\" />\n }\n <span class=\"ui-helper-message\">{{ message() }}</span>\n</div>\n", styles: [".ui-helper{display:inline-flex;align-items:center;gap:var(--ui-helper-gap, var(--units-xs));font-family:var(--ui-helper-font-family, var(--fontfamily-base));font-weight:var(--ui-helper-weight, var(--weight-regular));line-height:1.3;font-size:var(--ui-helper-font-size, var(--size-typography-text-default))}.ui-helper-icon{line-height:0}.ui-helper-message{display:inline-block}.ui-helper._small{font-size:var(--ui-helper-font-size-small, var(--size-typography-text-md))}.ui-helper._default{color:var(--ui-helper-color, var(--form-low-content-default))}.ui-helper._highlight{color:var(--ui-helper-color, var(--informative-highlightlow-content-default))}.ui-helper._success{color:var(--ui-helper-color, var(--informative-successlow-content-default))}.ui-helper._warning{color:var(--ui-helper-color, var(--informative-warninglow-content-default))}.ui-helper._error{color:var(--ui-helper-color, var(--informative-errorlow-content-default))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
70
70
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiHelper, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiHelper, decorators: [{
72
72
  type: Component,
73
73
  args: [{ selector: 'ui-helper', imports: [UiIcon], template: "<div [class]=\"classes()\" [attr.aria-live]=\"liveRegion()\">\n @if (hasIcon()) {\n <ui-icon class=\"ui-helper-icon\" [name]=\"resolvedIcon()!\" [size]=\"iconSize()\" />\n }\n <span class=\"ui-helper-message\">{{ message() }}</span>\n</div>\n", styles: [".ui-helper{display:inline-flex;align-items:center;gap:var(--ui-helper-gap, var(--units-xs));font-family:var(--ui-helper-font-family, var(--fontfamily-base));font-weight:var(--ui-helper-weight, var(--weight-regular));line-height:1.3;font-size:var(--ui-helper-font-size, var(--size-typography-text-default))}.ui-helper-icon{line-height:0}.ui-helper-message{display:inline-block}.ui-helper._small{font-size:var(--ui-helper-font-size-small, var(--size-typography-text-md))}.ui-helper._default{color:var(--ui-helper-color, var(--form-low-content-default))}.ui-helper._highlight{color:var(--ui-helper-color, var(--informative-highlightlow-content-default))}.ui-helper._success{color:var(--ui-helper-color, var(--informative-successlow-content-default))}.ui-helper._warning{color:var(--ui-helper-color, var(--informative-warninglow-content-default))}.ui-helper._error{color:var(--ui-helper-color, var(--informative-errorlow-content-default))}\n"] }]
74
74
  }], propDecorators: { message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: true }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], ariaLive: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLive", required: false }] }] } });
@@ -104,12 +104,12 @@ class UiProgressBar {
104
104
  }, /* @ts-ignore */
105
105
  ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
106
106
  }
107
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiProgressBar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
108
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiProgressBar, isStandalone: true, selector: "ui-progress-bar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, showValue: { classPropertyName: "showValue", publicName: "showValue", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, valuePosition: { classPropertyName: "valuePosition", publicName: "valuePosition", isSignal: true, isRequired: false, transformFunction: null }, steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, valueTemplate: { classPropertyName: "valueTemplate", publicName: "valueTemplate", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"classes()\" [style.--ui-progress-bar-color]=\"color() ?? null\">\n <div\n class=\"ui-progress-bar-track\"\n role=\"progressbar\"\n [attr.aria-valuemin]=\"0\"\n [attr.aria-valuemax]=\"100\"\n [attr.aria-valuenow]=\"ariaValueNow()\"\n [attr.aria-valuetext]=\"ariaValueText()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n >\n @if (isSteps()) {\n @for (active of segments(); track $index) {\n <span class=\"ui-progress-bar-segment\" [class._active]=\"active\"></span>\n }\n } @else if (isIndeterminate()) {\n <div class=\"ui-progress-bar-value _indeterminate\"></div>\n } @else {\n <div class=\"ui-progress-bar-value\" [style.width.%]=\"clampedValue()\">\n @if (labelInside()) {\n <span class=\"ui-progress-bar-value-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </span>\n }\n </div>\n }\n </div>\n\n @if (showLabel() && !labelInside()) {\n <div class=\"ui-progress-bar-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </div>\n }\n</div>\n\n<ng-template #labelTpl>\n @if (valueTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: clampedValue() }\"\n />\n } @else {\n {{ clampedValue() }}{{ unit() }}\n }\n</ng-template>\n", styles: [":host{display:block;width:100%}.ui-progress-bar{display:flex;align-items:center;gap:var(--units-md);width:100%}.ui-progress-bar-track{position:relative;display:flex;flex:1 1 auto;overflow:hidden;height:var(--ui-progress-bar-track-height, .5rem);border-radius:var(--ui-progress-bar-track-radius, var(--radius-xs));background-color:var(--ui-progress-bar-track-surface, var(--global-border-default))}.ui-progress-bar-value{height:100%;border-radius:inherit;background-color:var(--ui-progress-bar-color, var(--informative-highlighthigh-surface-default));transition:width var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-progress-bar-segment{flex:1 1 0;height:100%;border-radius:var(--radius-2xs);background-color:var(--ui-progress-bar-track-surface, var(--global-border-default))}.ui-progress-bar-segment._active{background-color:var(--ui-progress-bar-color, var(--informative-highlighthigh-surface-default))}.ui-progress-bar-label{flex:0 0 auto;color:var(--ui-progress-bar-label-color, var(--global-text-default));font-family:var(--ui-progress-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-progress-bar-label-weight, var(--weight-regular));font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap}.ui-progress-bar._bottom{flex-direction:column;align-items:flex-end;gap:var(--units-sm)}.ui-progress-bar._inside .ui-progress-bar-track{height:var(--size-components-xs);border-radius:var(--radius-sm)}.ui-progress-bar._inside .ui-progress-bar-value{display:flex;align-items:center;justify-content:center;overflow:hidden}.ui-progress-bar-value-label{padding-inline:var(--units-sm);color:var(--ui-progress-bar-value-label-color, var(--informative-highlighthigh-content-default));font-family:var(--ui-progress-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-progress-bar-value-label-weight, var(--weight-bold));font-size:var(--size-typography-text-md);line-height:1.2;white-space:nowrap}.ui-progress-bar._steps .ui-progress-bar-track{gap:var(--units-2xs);overflow:visible;border-radius:0;background-color:transparent}.ui-progress-bar._small .ui-progress-bar-track{height:var(--ui-progress-bar-track-height-small, .25rem);border-radius:var(--ui-progress-bar-track-radius-small, var(--radius-2xs))}.ui-progress-bar._indeterminate .ui-progress-bar-value{position:absolute;inset-block:0;inset-inline-start:0;width:40%;animation:ui-progress-bar-indeterminate var(--ui-progress-bar-indeterminate-duration, 1.6s) var(--transition-easeinout) infinite}@keyframes ui-progress-bar-indeterminate{0%{inset-inline-start:-40%;width:40%}50%{inset-inline-start:30%;width:60%}to{inset-inline-start:100%;width:40%}}@media(prefers-reduced-motion:reduce){.ui-progress-bar-value{transition:none;animation:none}.ui-progress-bar._indeterminate .ui-progress-bar-value{inset-inline-start:0;width:100%;opacity:.6}}:host-context([data-motion=off]) .ui-progress-bar-value{transition:none;animation:none}:host-context([data-motion=off]) .ui-progress-bar._indeterminate .ui-progress-bar-value{inset-inline-start:0;width:100%;opacity:.6}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
107
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiProgressBar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
108
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiProgressBar, isStandalone: true, selector: "ui-progress-bar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, showValue: { classPropertyName: "showValue", publicName: "showValue", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, valuePosition: { classPropertyName: "valuePosition", publicName: "valuePosition", isSignal: true, isRequired: false, transformFunction: null }, steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, valueTemplate: { classPropertyName: "valueTemplate", publicName: "valueTemplate", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"classes()\" [style.--ui-progress-bar-color]=\"color() ?? null\">\n <div\n class=\"ui-progress-bar-track\"\n role=\"progressbar\"\n [attr.aria-valuemin]=\"0\"\n [attr.aria-valuemax]=\"100\"\n [attr.aria-valuenow]=\"ariaValueNow()\"\n [attr.aria-valuetext]=\"ariaValueText()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n >\n @if (isSteps()) {\n @for (active of segments(); track $index) {\n <span class=\"ui-progress-bar-segment\" [class._active]=\"active\"></span>\n }\n } @else if (isIndeterminate()) {\n <div class=\"ui-progress-bar-value _indeterminate\"></div>\n } @else {\n <div class=\"ui-progress-bar-value\" [style.width.%]=\"clampedValue()\">\n @if (labelInside()) {\n <span class=\"ui-progress-bar-value-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </span>\n }\n </div>\n }\n </div>\n\n @if (showLabel() && !labelInside()) {\n <div class=\"ui-progress-bar-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </div>\n }\n</div>\n\n<ng-template #labelTpl>\n @if (valueTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: clampedValue() }\"\n />\n } @else {\n {{ clampedValue() }}{{ unit() }}\n }\n</ng-template>\n", styles: [":host{display:block;width:100%}.ui-progress-bar{display:flex;align-items:center;gap:var(--units-md);width:100%}.ui-progress-bar-track{position:relative;display:flex;flex:1 1 auto;overflow:hidden;height:var(--ui-progress-bar-track-height, .5rem);border-radius:var(--ui-progress-bar-track-radius, var(--radius-xs));background-color:var(--ui-progress-bar-track-surface, var(--global-border-default))}.ui-progress-bar-value{height:100%;border-radius:inherit;background-color:var(--ui-progress-bar-color, var(--informative-highlighthigh-surface-default));transition:width var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-progress-bar-segment{flex:1 1 0;height:100%;border-radius:var(--radius-2xs);background-color:var(--ui-progress-bar-track-surface, var(--global-border-default))}.ui-progress-bar-segment._active{background-color:var(--ui-progress-bar-color, var(--informative-highlighthigh-surface-default))}.ui-progress-bar-label{flex:0 0 auto;color:var(--ui-progress-bar-label-color, var(--global-text-default));font-family:var(--ui-progress-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-progress-bar-label-weight, var(--weight-regular));font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap}.ui-progress-bar._bottom{flex-direction:column;align-items:stretch;gap:var(--units-sm)}.ui-progress-bar._bottom .ui-progress-bar-label{align-self:flex-end}.ui-progress-bar._inside .ui-progress-bar-track{height:var(--size-components-xs);border-radius:var(--radius-sm)}.ui-progress-bar._inside .ui-progress-bar-value{display:flex;align-items:center;justify-content:center;overflow:hidden}.ui-progress-bar-value-label{padding-inline:var(--units-sm);color:var(--ui-progress-bar-value-label-color, var(--informative-highlighthigh-content-default));font-family:var(--ui-progress-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-progress-bar-value-label-weight, var(--weight-bold));font-size:var(--size-typography-text-md);line-height:1.2;white-space:nowrap}.ui-progress-bar._steps .ui-progress-bar-track{gap:var(--units-2xs);overflow:visible;border-radius:0;background-color:transparent}.ui-progress-bar._small .ui-progress-bar-track{height:var(--ui-progress-bar-track-height-small, .25rem);border-radius:var(--ui-progress-bar-track-radius-small, var(--radius-2xs))}.ui-progress-bar._indeterminate .ui-progress-bar-value{position:absolute;inset-block:0;inset-inline-start:0;width:40%;animation:ui-progress-bar-indeterminate var(--ui-progress-bar-indeterminate-duration, 1.6s) var(--transition-easeinout) infinite}@keyframes ui-progress-bar-indeterminate{0%{inset-inline-start:-40%;width:40%}50%{inset-inline-start:30%;width:60%}to{inset-inline-start:100%;width:40%}}@media(prefers-reduced-motion:reduce){.ui-progress-bar-value{transition:none;animation:none}.ui-progress-bar._indeterminate .ui-progress-bar-value{inset-inline-start:0;width:100%;opacity:.6}}:host-context([data-motion=off]) .ui-progress-bar-value{transition:none;animation:none}:host-context([data-motion=off]) .ui-progress-bar._indeterminate .ui-progress-bar-value{inset-inline-start:0;width:100%;opacity:.6}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
109
109
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiProgressBar, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiProgressBar, decorators: [{
111
111
  type: Component,
112
- args: [{ selector: 'ui-progress-bar', imports: [NgTemplateOutlet], template: "<div [class]=\"classes()\" [style.--ui-progress-bar-color]=\"color() ?? null\">\n <div\n class=\"ui-progress-bar-track\"\n role=\"progressbar\"\n [attr.aria-valuemin]=\"0\"\n [attr.aria-valuemax]=\"100\"\n [attr.aria-valuenow]=\"ariaValueNow()\"\n [attr.aria-valuetext]=\"ariaValueText()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n >\n @if (isSteps()) {\n @for (active of segments(); track $index) {\n <span class=\"ui-progress-bar-segment\" [class._active]=\"active\"></span>\n }\n } @else if (isIndeterminate()) {\n <div class=\"ui-progress-bar-value _indeterminate\"></div>\n } @else {\n <div class=\"ui-progress-bar-value\" [style.width.%]=\"clampedValue()\">\n @if (labelInside()) {\n <span class=\"ui-progress-bar-value-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </span>\n }\n </div>\n }\n </div>\n\n @if (showLabel() && !labelInside()) {\n <div class=\"ui-progress-bar-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </div>\n }\n</div>\n\n<ng-template #labelTpl>\n @if (valueTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: clampedValue() }\"\n />\n } @else {\n {{ clampedValue() }}{{ unit() }}\n }\n</ng-template>\n", styles: [":host{display:block;width:100%}.ui-progress-bar{display:flex;align-items:center;gap:var(--units-md);width:100%}.ui-progress-bar-track{position:relative;display:flex;flex:1 1 auto;overflow:hidden;height:var(--ui-progress-bar-track-height, .5rem);border-radius:var(--ui-progress-bar-track-radius, var(--radius-xs));background-color:var(--ui-progress-bar-track-surface, var(--global-border-default))}.ui-progress-bar-value{height:100%;border-radius:inherit;background-color:var(--ui-progress-bar-color, var(--informative-highlighthigh-surface-default));transition:width var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-progress-bar-segment{flex:1 1 0;height:100%;border-radius:var(--radius-2xs);background-color:var(--ui-progress-bar-track-surface, var(--global-border-default))}.ui-progress-bar-segment._active{background-color:var(--ui-progress-bar-color, var(--informative-highlighthigh-surface-default))}.ui-progress-bar-label{flex:0 0 auto;color:var(--ui-progress-bar-label-color, var(--global-text-default));font-family:var(--ui-progress-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-progress-bar-label-weight, var(--weight-regular));font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap}.ui-progress-bar._bottom{flex-direction:column;align-items:flex-end;gap:var(--units-sm)}.ui-progress-bar._inside .ui-progress-bar-track{height:var(--size-components-xs);border-radius:var(--radius-sm)}.ui-progress-bar._inside .ui-progress-bar-value{display:flex;align-items:center;justify-content:center;overflow:hidden}.ui-progress-bar-value-label{padding-inline:var(--units-sm);color:var(--ui-progress-bar-value-label-color, var(--informative-highlighthigh-content-default));font-family:var(--ui-progress-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-progress-bar-value-label-weight, var(--weight-bold));font-size:var(--size-typography-text-md);line-height:1.2;white-space:nowrap}.ui-progress-bar._steps .ui-progress-bar-track{gap:var(--units-2xs);overflow:visible;border-radius:0;background-color:transparent}.ui-progress-bar._small .ui-progress-bar-track{height:var(--ui-progress-bar-track-height-small, .25rem);border-radius:var(--ui-progress-bar-track-radius-small, var(--radius-2xs))}.ui-progress-bar._indeterminate .ui-progress-bar-value{position:absolute;inset-block:0;inset-inline-start:0;width:40%;animation:ui-progress-bar-indeterminate var(--ui-progress-bar-indeterminate-duration, 1.6s) var(--transition-easeinout) infinite}@keyframes ui-progress-bar-indeterminate{0%{inset-inline-start:-40%;width:40%}50%{inset-inline-start:30%;width:60%}to{inset-inline-start:100%;width:40%}}@media(prefers-reduced-motion:reduce){.ui-progress-bar-value{transition:none;animation:none}.ui-progress-bar._indeterminate .ui-progress-bar-value{inset-inline-start:0;width:100%;opacity:.6}}:host-context([data-motion=off]) .ui-progress-bar-value{transition:none;animation:none}:host-context([data-motion=off]) .ui-progress-bar._indeterminate .ui-progress-bar-value{inset-inline-start:0;width:100%;opacity:.6}\n"] }]
112
+ args: [{ selector: 'ui-progress-bar', imports: [NgTemplateOutlet], template: "<div [class]=\"classes()\" [style.--ui-progress-bar-color]=\"color() ?? null\">\n <div\n class=\"ui-progress-bar-track\"\n role=\"progressbar\"\n [attr.aria-valuemin]=\"0\"\n [attr.aria-valuemax]=\"100\"\n [attr.aria-valuenow]=\"ariaValueNow()\"\n [attr.aria-valuetext]=\"ariaValueText()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n >\n @if (isSteps()) {\n @for (active of segments(); track $index) {\n <span class=\"ui-progress-bar-segment\" [class._active]=\"active\"></span>\n }\n } @else if (isIndeterminate()) {\n <div class=\"ui-progress-bar-value _indeterminate\"></div>\n } @else {\n <div class=\"ui-progress-bar-value\" [style.width.%]=\"clampedValue()\">\n @if (labelInside()) {\n <span class=\"ui-progress-bar-value-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </span>\n }\n </div>\n }\n </div>\n\n @if (showLabel() && !labelInside()) {\n <div class=\"ui-progress-bar-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </div>\n }\n</div>\n\n<ng-template #labelTpl>\n @if (valueTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: clampedValue() }\"\n />\n } @else {\n {{ clampedValue() }}{{ unit() }}\n }\n</ng-template>\n", styles: [":host{display:block;width:100%}.ui-progress-bar{display:flex;align-items:center;gap:var(--units-md);width:100%}.ui-progress-bar-track{position:relative;display:flex;flex:1 1 auto;overflow:hidden;height:var(--ui-progress-bar-track-height, .5rem);border-radius:var(--ui-progress-bar-track-radius, var(--radius-xs));background-color:var(--ui-progress-bar-track-surface, var(--global-border-default))}.ui-progress-bar-value{height:100%;border-radius:inherit;background-color:var(--ui-progress-bar-color, var(--informative-highlighthigh-surface-default));transition:width var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-progress-bar-segment{flex:1 1 0;height:100%;border-radius:var(--radius-2xs);background-color:var(--ui-progress-bar-track-surface, var(--global-border-default))}.ui-progress-bar-segment._active{background-color:var(--ui-progress-bar-color, var(--informative-highlighthigh-surface-default))}.ui-progress-bar-label{flex:0 0 auto;color:var(--ui-progress-bar-label-color, var(--global-text-default));font-family:var(--ui-progress-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-progress-bar-label-weight, var(--weight-regular));font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap}.ui-progress-bar._bottom{flex-direction:column;align-items:stretch;gap:var(--units-sm)}.ui-progress-bar._bottom .ui-progress-bar-label{align-self:flex-end}.ui-progress-bar._inside .ui-progress-bar-track{height:var(--size-components-xs);border-radius:var(--radius-sm)}.ui-progress-bar._inside .ui-progress-bar-value{display:flex;align-items:center;justify-content:center;overflow:hidden}.ui-progress-bar-value-label{padding-inline:var(--units-sm);color:var(--ui-progress-bar-value-label-color, var(--informative-highlighthigh-content-default));font-family:var(--ui-progress-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-progress-bar-value-label-weight, var(--weight-bold));font-size:var(--size-typography-text-md);line-height:1.2;white-space:nowrap}.ui-progress-bar._steps .ui-progress-bar-track{gap:var(--units-2xs);overflow:visible;border-radius:0;background-color:transparent}.ui-progress-bar._small .ui-progress-bar-track{height:var(--ui-progress-bar-track-height-small, .25rem);border-radius:var(--ui-progress-bar-track-radius-small, var(--radius-2xs))}.ui-progress-bar._indeterminate .ui-progress-bar-value{position:absolute;inset-block:0;inset-inline-start:0;width:40%;animation:ui-progress-bar-indeterminate var(--ui-progress-bar-indeterminate-duration, 1.6s) var(--transition-easeinout) infinite}@keyframes ui-progress-bar-indeterminate{0%{inset-inline-start:-40%;width:40%}50%{inset-inline-start:30%;width:60%}to{inset-inline-start:100%;width:40%}}@media(prefers-reduced-motion:reduce){.ui-progress-bar-value{transition:none;animation:none}.ui-progress-bar._indeterminate .ui-progress-bar-value{inset-inline-start:0;width:100%;opacity:.6}}:host-context([data-motion=off]) .ui-progress-bar-value{transition:none;animation:none}:host-context([data-motion=off]) .ui-progress-bar._indeterminate .ui-progress-bar-value{inset-inline-start:0;width:100%;opacity:.6}\n"] }]
113
113
  }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], showValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValue", required: false }] }], unit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unit", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], valuePosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "valuePosition", required: false }] }], steps: [{ type: i0.Input, args: [{ isSignal: true, alias: "steps", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], valueTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueTemplate", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }] } });
114
114
 
115
115
  /*
@@ -1 +1 @@
1
- {"version":3,"file":"4sh-ui-kit-informative-ui-progress-bar.mjs","sources":["../../../projects/ui-kit/informative/ui-progress-bar/src/lib/ui-progress-bar.ts","../../../projects/ui-kit/informative/ui-progress-bar/src/lib/ui-progress-bar.html","../../../projects/ui-kit/informative/ui-progress-bar/src/public-api.ts","../../../projects/ui-kit/informative/ui-progress-bar/src/4sh-ui-kit-informative-ui-progress-bar.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n input,\n numberAttribute,\n TemplateRef,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\nexport type UiProgressBarSize = 'default' | 'small';\nexport type UiProgressBarMode = 'determinate' | 'indeterminate';\nexport type UiProgressBarValuePosition = 'right' | 'bottom' | 'inside';\n\n/** Context passed to a custom value template. */\nexport interface UiProgressBarValueContext {\n $implicit: number;\n}\n\n/**\n * ui-progress-bar — process status indicator (headless).\n *\n * Renders a token-coloured track filled to `value`% (`determinate`), a looping\n * animation with no tracked value (`indeterminate`), or a set of discrete\n * segments when `steps` is provided. The completion value can be shown next to\n * (`right`) or below (`bottom`) the bar, formatted freely through a custom\n * `valueTemplate`. The fill colour is overridable per instance via `color`\n * (or the `--ui-progress-bar-color` CSS hook).\n *\n * Accessible: the track carries `role=\"progressbar\"` with `aria-valuemin`,\n * `aria-valuemax` and (when determinate) `aria-valuenow`; name it with\n * `ariaLabel` / `ariaLabelledBy`. Motion honours the OS reduced-motion\n * preference and the kit-wide `data-motion=\"off\"` switch.\n */\n@Component({\n selector: 'ui-progress-bar',\n imports: [NgTemplateOutlet],\n templateUrl: './ui-progress-bar.html',\n styleUrl: './ui-progress-bar.scss',\n})\nexport class UiProgressBar {\n /** Current progress, 0–100 (clamped). Ignored when `mode=\"indeterminate\"`. */\n value = input(0, { transform: numberAttribute });\n /** `determinate` tracks a value; `indeterminate` loops with no value. */\n mode = input<UiProgressBarMode>('determinate');\n /** Show the completion value beside/below the bar (determinate, non-steps). */\n showValue = input(true, { transform: booleanAttribute });\n /** Unit appended to the numeric value (e.g. \"%\"). */\n unit = input('%');\n /** Size preset. */\n size = input<UiProgressBarSize>('default');\n /**\n * Where the value label sits: beside (`right`), below (`bottom`), or centered\n * within the filled portion of the bar itself (`inside`).\n */\n valuePosition = input<UiProgressBarValuePosition>('right');\n /**\n * When > 0, render the bar as this many discrete segments; the number of\n * filled segments is derived from `value`. Hides the numeric label.\n */\n steps = input(0, { transform: numberAttribute });\n /** Fill colour override (any CSS colour). Sets `--ui-progress-bar-color`. */\n color = input<string>();\n /** Custom label content; context `{ $implicit: value }`. */\n valueTemplate = input<TemplateRef<UiProgressBarValueContext>>();\n /** Accessible name of the progress bar. */\n ariaLabel = input<string>();\n /** Id of the element labelling the progress bar. */\n ariaLabelledBy = input<string>();\n\n /** @ignore Value clamped to the 0–100 range. */\n protected readonly clampedValue = computed(() => {\n const v = this.value() ?? 0;\n return Math.min(100, Math.max(0, v));\n });\n\n /** @ignore */\n protected readonly isIndeterminate = computed(() => this.mode() === 'indeterminate');\n\n /** @ignore Whole number of segments requested (0 = continuous bar). */\n protected readonly stepCount = computed(() => Math.max(0, Math.floor(this.steps() ?? 0)));\n\n /** @ignore Steps mode is active. */\n protected readonly isSteps = computed(() => this.stepCount() > 0);\n\n /** @ignore Number of filled segments, derived from the value. */\n protected readonly filledSteps = computed(() =>\n Math.round((this.clampedValue() / 100) * this.stepCount()),\n );\n\n /** @ignore One boolean (active?) per segment. */\n protected readonly segments = computed(() => {\n const filled = this.filledSteps();\n return Array.from({ length: this.stepCount() }, (_, i) => i < filled);\n });\n\n /** @ignore The numeric label is rendered (not indeterminate, not steps). */\n protected readonly showLabel = computed(\n () => this.showValue() && !this.isIndeterminate() && !this.isSteps(),\n );\n\n /** @ignore Label sits inside the filled portion of the bar. */\n protected readonly labelInside = computed(\n () => this.showLabel() && this.valuePosition() === 'inside',\n );\n\n /** @ignore `aria-valuenow`: the value when tracked, otherwise omitted. */\n protected readonly ariaValueNow = computed(() =>\n this.isIndeterminate() ? null : this.clampedValue(),\n );\n\n /** @ignore Human-readable value for steps (\"3 / 5\"); omitted otherwise. */\n protected readonly ariaValueText = computed(() =>\n this.isSteps() ? `${this.filledSteps()} / ${this.stepCount()}` : null,\n );\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-progress-bar', `_${this.valuePosition()}`];\n if (this.size() !== 'default') c.push(`_${this.size()}`);\n if (this.isIndeterminate()) c.push('_indeterminate');\n if (this.isSteps()) c.push('_steps');\n return c.join(' ');\n });\n}\n","<div [class]=\"classes()\" [style.--ui-progress-bar-color]=\"color() ?? null\">\n <div\n class=\"ui-progress-bar-track\"\n role=\"progressbar\"\n [attr.aria-valuemin]=\"0\"\n [attr.aria-valuemax]=\"100\"\n [attr.aria-valuenow]=\"ariaValueNow()\"\n [attr.aria-valuetext]=\"ariaValueText()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n >\n @if (isSteps()) {\n @for (active of segments(); track $index) {\n <span class=\"ui-progress-bar-segment\" [class._active]=\"active\"></span>\n }\n } @else if (isIndeterminate()) {\n <div class=\"ui-progress-bar-value _indeterminate\"></div>\n } @else {\n <div class=\"ui-progress-bar-value\" [style.width.%]=\"clampedValue()\">\n @if (labelInside()) {\n <span class=\"ui-progress-bar-value-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </span>\n }\n </div>\n }\n </div>\n\n @if (showLabel() && !labelInside()) {\n <div class=\"ui-progress-bar-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </div>\n }\n</div>\n\n<ng-template #labelTpl>\n @if (valueTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: clampedValue() }\"\n />\n } @else {\n {{ clampedValue() }}{{ unit() }}\n }\n</ng-template>\n","/*\n * Public API Surface of ui-kit/ui-progress-bar\n */\n\nexport * from './lib/ui-progress-bar';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAmBA;;;;;;;;;;;;;;AAcG;MAOU,aAAa,CAAA;AAN1B,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC,6EAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEhD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAoB,aAAa;iFAAC;;QAE9C,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,IAAI,iFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QAExD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,GAAG;iFAAC;;QAEjB,IAAA,CAAA,IAAI,GAAG,KAAK,CAAoB,SAAS;iFAAC;AAC1C;;;AAGG;QACH,IAAA,CAAA,aAAa,GAAG,KAAK,CAA6B,OAAO;0FAAC;AAC1D;;;AAGG;QACH,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC,6EAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;AAEhD,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK;6FAAU;;AAEvB,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK;qGAA0C;;AAE/D,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK;iGAAU;;AAE3B,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK;sGAAU;;AAGb,QAAA,IAAA,CAAA,YAAY,GAAG,QAAQ,CAAC,MAAK;YAC9C,MAAM,CAAC,GAA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A,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECxC1B,k5CA6CA,EAAA,MAAA,EAAA,CAAA,skGAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDTY,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIf,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,SAAS;+BACE,iBAAiB,EAAA,OAAA,EAClB,CAAC,gBAAgB,CAAC,EAAA,QAAA,EAAA,k5CAAA,EAAA,MAAA,EAAA,CAAA,skGAAA,CAAA,EAAA;;;AEpC7B;;AAEG;;ACFH;;AAEG;;"}
1
+ {"version":3,"file":"4sh-ui-kit-informative-ui-progress-bar.mjs","sources":["../../../projects/ui-kit/informative/ui-progress-bar/src/lib/ui-progress-bar.ts","../../../projects/ui-kit/informative/ui-progress-bar/src/lib/ui-progress-bar.html","../../../projects/ui-kit/informative/ui-progress-bar/src/public-api.ts","../../../projects/ui-kit/informative/ui-progress-bar/src/4sh-ui-kit-informative-ui-progress-bar.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n input,\n numberAttribute,\n TemplateRef,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\nexport type UiProgressBarSize = 'default' | 'small';\nexport type UiProgressBarMode = 'determinate' | 'indeterminate';\nexport type UiProgressBarValuePosition = 'right' | 'bottom' | 'inside';\n\n/** Context passed to a custom value template. */\nexport interface UiProgressBarValueContext {\n $implicit: number;\n}\n\n/**\n * ui-progress-bar — process status indicator (headless).\n *\n * Renders a token-coloured track filled to `value`% (`determinate`), a looping\n * animation with no tracked value (`indeterminate`), or a set of discrete\n * segments when `steps` is provided. The completion value can be shown next to\n * (`right`) or below (`bottom`) the bar, formatted freely through a custom\n * `valueTemplate`. The fill colour is overridable per instance via `color`\n * (or the `--ui-progress-bar-color` CSS hook).\n *\n * Accessible: the track carries `role=\"progressbar\"` with `aria-valuemin`,\n * `aria-valuemax` and (when determinate) `aria-valuenow`; name it with\n * `ariaLabel` / `ariaLabelledBy`. Motion honours the OS reduced-motion\n * preference and the kit-wide `data-motion=\"off\"` switch.\n */\n@Component({\n selector: 'ui-progress-bar',\n imports: [NgTemplateOutlet],\n templateUrl: './ui-progress-bar.html',\n styleUrl: './ui-progress-bar.scss',\n})\nexport class UiProgressBar {\n /** Current progress, 0–100 (clamped). Ignored when `mode=\"indeterminate\"`. */\n value = input(0, { transform: numberAttribute });\n /** `determinate` tracks a value; `indeterminate` loops with no value. */\n mode = input<UiProgressBarMode>('determinate');\n /** Show the completion value beside/below the bar (determinate, non-steps). */\n showValue = input(true, { transform: booleanAttribute });\n /** Unit appended to the numeric value (e.g. \"%\"). */\n unit = input('%');\n /** Size preset. */\n size = input<UiProgressBarSize>('default');\n /**\n * Where the value label sits: beside (`right`), below (`bottom`), or centered\n * within the filled portion of the bar itself (`inside`).\n */\n valuePosition = input<UiProgressBarValuePosition>('right');\n /**\n * When > 0, render the bar as this many discrete segments; the number of\n * filled segments is derived from `value`. Hides the numeric label.\n */\n steps = input(0, { transform: numberAttribute });\n /** Fill colour override (any CSS colour). Sets `--ui-progress-bar-color`. */\n color = input<string>();\n /** Custom label content; context `{ $implicit: value }`. */\n valueTemplate = input<TemplateRef<UiProgressBarValueContext>>();\n /** Accessible name of the progress bar. */\n ariaLabel = input<string>();\n /** Id of the element labelling the progress bar. */\n ariaLabelledBy = input<string>();\n\n /** @ignore Value clamped to the 0–100 range. */\n protected readonly clampedValue = computed(() => {\n const v = this.value() ?? 0;\n return Math.min(100, Math.max(0, v));\n });\n\n /** @ignore */\n protected readonly isIndeterminate = computed(() => this.mode() === 'indeterminate');\n\n /** @ignore Whole number of segments requested (0 = continuous bar). */\n protected readonly stepCount = computed(() => Math.max(0, Math.floor(this.steps() ?? 0)));\n\n /** @ignore Steps mode is active. */\n protected readonly isSteps = computed(() => this.stepCount() > 0);\n\n /** @ignore Number of filled segments, derived from the value. */\n protected readonly filledSteps = computed(() =>\n Math.round((this.clampedValue() / 100) * this.stepCount()),\n );\n\n /** @ignore One boolean (active?) per segment. */\n protected readonly segments = computed(() => {\n const filled = this.filledSteps();\n return Array.from({ length: this.stepCount() }, (_, i) => i < filled);\n });\n\n /** @ignore The numeric label is rendered (not indeterminate, not steps). */\n protected readonly showLabel = computed(\n () => this.showValue() && !this.isIndeterminate() && !this.isSteps(),\n );\n\n /** @ignore Label sits inside the filled portion of the bar. */\n protected readonly labelInside = computed(\n () => this.showLabel() && this.valuePosition() === 'inside',\n );\n\n /** @ignore `aria-valuenow`: the value when tracked, otherwise omitted. */\n protected readonly ariaValueNow = computed(() =>\n this.isIndeterminate() ? null : this.clampedValue(),\n );\n\n /** @ignore Human-readable value for steps (\"3 / 5\"); omitted otherwise. */\n protected readonly ariaValueText = computed(() =>\n this.isSteps() ? `${this.filledSteps()} / ${this.stepCount()}` : null,\n );\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-progress-bar', `_${this.valuePosition()}`];\n if (this.size() !== 'default') c.push(`_${this.size()}`);\n if (this.isIndeterminate()) c.push('_indeterminate');\n if (this.isSteps()) c.push('_steps');\n return c.join(' ');\n });\n}\n","<div [class]=\"classes()\" [style.--ui-progress-bar-color]=\"color() ?? null\">\n <div\n class=\"ui-progress-bar-track\"\n role=\"progressbar\"\n [attr.aria-valuemin]=\"0\"\n [attr.aria-valuemax]=\"100\"\n [attr.aria-valuenow]=\"ariaValueNow()\"\n [attr.aria-valuetext]=\"ariaValueText()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n >\n @if (isSteps()) {\n @for (active of segments(); track $index) {\n <span class=\"ui-progress-bar-segment\" [class._active]=\"active\"></span>\n }\n } @else if (isIndeterminate()) {\n <div class=\"ui-progress-bar-value _indeterminate\"></div>\n } @else {\n <div class=\"ui-progress-bar-value\" [style.width.%]=\"clampedValue()\">\n @if (labelInside()) {\n <span class=\"ui-progress-bar-value-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </span>\n }\n </div>\n }\n </div>\n\n @if (showLabel() && !labelInside()) {\n <div class=\"ui-progress-bar-label\">\n <ng-container [ngTemplateOutlet]=\"labelTpl\" />\n </div>\n }\n</div>\n\n<ng-template #labelTpl>\n @if (valueTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: clampedValue() }\"\n />\n } @else {\n {{ clampedValue() }}{{ unit() }}\n }\n</ng-template>\n","/*\n * Public API Surface of ui-kit/ui-progress-bar\n */\n\nexport * from './lib/ui-progress-bar';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAmBA;;;;;;;;;;;;;;AAcG;MAOU,aAAa,CAAA;AAN1B,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC,6EAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEhD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAoB,aAAa;iFAAC;;QAE9C,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,IAAI,iFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QAExD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,GAAG;iFAAC;;QAEjB,IAAA,CAAA,IAAI,GAAG,KAAK,CAAoB,SAAS;iFAAC;AAC1C;;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ly {
125
125
  this.hasProjectedContent.set(has);
126
126
  });
127
127
  }
128
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiReadOnly, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
129
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiReadOnly, isStandalone: true, selector: "ui-read-only", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, labelTemplate: { classPropertyName: "labelTemplate", publicName: "labelTemplate", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, fallback: { classPropertyName: "fallback", publicName: "fallback", isSignal: true, isRequired: false, transformFunction: null }, emptyLabel: { classPropertyName: "emptyLabel", publicName: "emptyLabel", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, multiline: { classPropertyName: "multiline", publicName: "multiline", isSignal: true, isRequired: false, transformFunction: null }, inline: { classPropertyName: "inline", publicName: "inline", isSignal: true, isRequired: false, transformFunction: null }, matchField: { classPropertyName: "matchField", publicName: "matchField", isSignal: true, isRequired: false, transformFunction: null }, rowClass: { classPropertyName: "rowClass", publicName: "rowClass", isSignal: true, isRequired: false, transformFunction: null }, labelClass: { classPropertyName: "labelClass", publicName: "labelClass", isSignal: true, isRequired: false, transformFunction: null }, valueClass: { classPropertyName: "valueClass", publicName: "valueClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.display": "inline() ? 'inline-block' : 'block'" } }, viewQueries: [{ propertyName: "projectedWrap", first: true, predicate: ["projectedWrap"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (hasLabel()) {\n <dl [class]=\"rootClasses()\" [style.--ui-read-only-label-width]=\"labelWidth()\">\n <dt [class]=\"labelClasses()\">\n @if (labelTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-label [label]=\"label()!\" [size]=\"size()\" [required]=\"required()\" />\n }\n </dt>\n <dd [class]=\"valueCellClasses()\">\n <ng-container [ngTemplateOutlet]=\"valueBlock\" />\n </dd>\n </dl>\n} @else {\n <!-- No label \u2192 no <dl> (a <dd> without a <dt> would be invalid markup). -->\n <div [class]=\"rootClasses()\">\n <div [class]=\"valueCellClasses()\">\n <ng-container [ngTemplateOutlet]=\"valueBlock\" />\n </div>\n </div>\n}\n\n<ng-template #valueBlock>\n <!-- Projected rich value (badge, link\u2026). Wrapper is measured after render. -->\n <span #projectedWrap class=\"ui-read-only-projected\"><ng-content /></span>\n\n @if (!hasProjectedContent()) {\n @if (isFallback() && emptyLabel()) {\n <!-- Empty: show the fallback symbol visually, announce meaningful text. -->\n <span class=\"ui-read-only-value _fallback\" [class._multiline]=\"multiline()\">\n <span aria-hidden=\"true\">{{ displayValue() }}</span>\n <span class=\"ui-read-only-sr\">{{ emptyLabel() }}</span>\n </span>\n } @else {\n <span\n class=\"ui-read-only-value\"\n [class._fallback]=\"isFallback()\"\n [class._multiline]=\"multiline()\"\n >{{ displayValue() }}</span\n >\n }\n }\n</ng-template>\n", styles: [".ui-read-only{margin:0;font-family:var(--ui-read-only-font-family, var(--fontfamily-base))}.ui-read-only:not(._grid){display:flex}.ui-read-only:not(._grid):not(._horizontal){flex-direction:column;gap:var(--units-2xs)}.ui-read-only._horizontal{flex-direction:row;align-items:baseline;gap:var(--units-default)}.ui-read-only._horizontal .ui-read-only-label{flex:0 0 var(--ui-read-only-label-width, auto)}.ui-read-only._horizontal .ui-read-only-value-cell{flex:1 1 auto}.ui-read-only-label{margin:0}.ui-read-only-value-cell{margin:0;min-width:0;color:var(--ui-read-only-value-color, var(--global-text-default))}.ui-read-only-value{font-size:var(--ui-read-only-font-size, var(--size-typography-text-default));font-weight:var(--ui-read-only-weight, var(--weight-regular));line-height:1.3}.ui-read-only-value._fallback{color:var(--ui-read-only-value-color-fallback, var(--global-text-muted))}.ui-read-only-value._multiline{white-space:pre-line}.ui-read-only-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ui-read-only._small .ui-read-only-value{font-size:var(--ui-read-only-font-size-small, var(--size-typography-text-md))}.ui-read-only._label-right .ui-read-only-label{text-align:right}.ui-read-only._match-field:not(._grid):not(._horizontal){gap:var(--ui-read-only-label-gap, var(--ui-form-field-gap, var(--units-sm)))}.ui-read-only._small._match-field:not(._grid):not(._horizontal){gap:var(--units-xs)}.ui-read-only._match-field .ui-read-only-value-cell{display:flex;align-items:center;min-height:var(--ui-read-only-field-height, var(--ui-form-field-height, var(--size-components-default)))}.ui-read-only._small._match-field .ui-read-only-value-cell{min-height:var(--ui-read-only-field-height-small, var(--ui-form-field-height-small, var(--size-components-sm)))}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: UiLabel, selector: "ui-label", inputs: ["label", "required", "size", "for", "disabled"] }] }); }
128
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiReadOnly, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
129
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiReadOnly, isStandalone: true, selector: "ui-read-only", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, labelTemplate: { classPropertyName: "labelTemplate", publicName: "labelTemplate", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, fallback: { classPropertyName: "fallback", publicName: "fallback", isSignal: true, isRequired: false, transformFunction: null }, emptyLabel: { classPropertyName: "emptyLabel", publicName: "emptyLabel", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, multiline: { classPropertyName: "multiline", publicName: "multiline", isSignal: true, isRequired: false, transformFunction: null }, inline: { classPropertyName: "inline", publicName: "inline", isSignal: true, isRequired: false, transformFunction: null }, matchField: { classPropertyName: "matchField", publicName: "matchField", isSignal: true, isRequired: false, transformFunction: null }, rowClass: { classPropertyName: "rowClass", publicName: "rowClass", isSignal: true, isRequired: false, transformFunction: null }, labelClass: { classPropertyName: "labelClass", publicName: "labelClass", isSignal: true, isRequired: false, transformFunction: null }, valueClass: { classPropertyName: "valueClass", publicName: "valueClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.display": "inline() ? 'inline-block' : 'block'" } }, viewQueries: [{ propertyName: "projectedWrap", first: true, predicate: ["projectedWrap"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (hasLabel()) {\n <dl [class]=\"rootClasses()\" [style.--ui-read-only-label-width]=\"labelWidth()\">\n <dt [class]=\"labelClasses()\">\n @if (labelTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-label [label]=\"label()!\" [size]=\"size()\" [required]=\"required()\" />\n }\n </dt>\n <dd [class]=\"valueCellClasses()\">\n <ng-container [ngTemplateOutlet]=\"valueBlock\" />\n </dd>\n </dl>\n} @else {\n <!-- No label \u2192 no <dl> (a <dd> without a <dt> would be invalid markup). -->\n <div [class]=\"rootClasses()\">\n <div [class]=\"valueCellClasses()\">\n <ng-container [ngTemplateOutlet]=\"valueBlock\" />\n </div>\n </div>\n}\n\n<ng-template #valueBlock>\n <!-- Projected rich value (badge, link\u2026). Wrapper is measured after render. -->\n <span #projectedWrap class=\"ui-read-only-projected\"><ng-content /></span>\n\n @if (!hasProjectedContent()) {\n @if (isFallback() && emptyLabel()) {\n <!-- Empty: show the fallback symbol visually, announce meaningful text. -->\n <span class=\"ui-read-only-value _fallback\" [class._multiline]=\"multiline()\">\n <span aria-hidden=\"true\">{{ displayValue() }}</span>\n <span class=\"ui-read-only-sr\">{{ emptyLabel() }}</span>\n </span>\n } @else {\n <span\n class=\"ui-read-only-value\"\n [class._fallback]=\"isFallback()\"\n [class._multiline]=\"multiline()\"\n >{{ displayValue() }}</span\n >\n }\n }\n</ng-template>\n", styles: [".ui-read-only{margin:0;font-family:var(--ui-read-only-font-family, var(--fontfamily-base))}.ui-read-only:not(._grid){display:flex}.ui-read-only:not(._grid):not(._horizontal){flex-direction:column;gap:var(--units-2xs)}.ui-read-only._horizontal{flex-direction:row;align-items:baseline;gap:var(--units-default)}.ui-read-only._horizontal .ui-read-only-label{flex:0 0 var(--ui-read-only-label-width, auto)}.ui-read-only._horizontal .ui-read-only-value-cell{flex:1 1 auto}.ui-read-only-label{margin:0}.ui-read-only-value-cell{margin:0;min-width:0;color:var(--ui-read-only-value-color, var(--global-text-default))}.ui-read-only-value{font-size:var(--ui-read-only-font-size, var(--size-typography-text-default));font-weight:var(--ui-read-only-weight, var(--weight-regular));line-height:1.3}.ui-read-only-value._fallback{color:var(--ui-read-only-value-color-fallback, var(--global-text-muted))}.ui-read-only-value._multiline{white-space:pre-line}.ui-read-only-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ui-read-only._small .ui-read-only-value{font-size:var(--ui-read-only-font-size-small, var(--size-typography-text-md))}.ui-read-only._label-right .ui-read-only-label{text-align:right}.ui-read-only._match-field:not(._grid):not(._horizontal){gap:var(--ui-read-only-label-gap, var(--ui-form-field-gap, var(--units-sm)))}.ui-read-only._small._match-field:not(._grid):not(._horizontal){gap:var(--units-xs)}.ui-read-only._match-field .ui-read-only-value-cell{display:flex;align-items:center;min-height:var(--ui-read-only-field-height, var(--ui-form-field-height, var(--size-components-default)))}.ui-read-only._small._match-field .ui-read-only-value-cell{min-height:var(--ui-read-only-field-height-small, var(--ui-form-field-height-small, var(--size-components-sm)))}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: UiLabel, selector: "ui-label", inputs: ["label", "required", "size", "for", "disabled"] }] }); }
130
130
  }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiReadOnly, decorators: [{
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiReadOnly, decorators: [{
132
132
  type: Component,
133
133
  args: [{ selector: 'ui-read-only', imports: [NgTemplateOutlet, UiLabel], host: {
134
134
  '[style.display]': "inline() ? 'inline-block' : 'block'",
@@ -57,10 +57,10 @@ class UiSeparator {
57
57
  }, /* @ts-ignore */
58
58
  ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
59
59
  }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiSeparator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiSeparator, isStandalone: true, selector: "ui-separator", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div\n [class]=\"classes()\"\n role=\"separator\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.aria-label]=\"accessibleName()\"\n>\n @if (hasLabel()) {\n @if (lineBeforeLabel()) {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n <span class=\"ui-separator-label\">{{ label() }}</span>\n @if (lineAfterLabel()) {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n } @else {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n</div>\n", styles: [".ui-separator{--_thickness: var(--ui-separator-stroke-width, var(--stroke-default));--_style: solid;display:flex;align-items:center;gap:var(--ui-separator-gap, var(--units-sm));box-sizing:border-box}.ui-separator._dashed{--_style: dashed}.ui-separator._small{--_thickness: var(--ui-separator-stroke-width-small, var(--stroke-sm))}.ui-separator-line{flex:1 1 auto;border:0 var(--_style) var(--ui-separator-line-stroke, var(--global-border-default))}.ui-separator-label{flex:0 0 auto;color:var(--ui-separator-label-color, var(--global-text-default));font-family:var(--ui-separator-font-family, var(--fontfamily-base));font-size:var(--ui-separator-font-size, var(--size-typography-text-default));line-height:1;white-space:nowrap}.ui-separator._small .ui-separator-label{font-size:var(--ui-separator-font-size-small, var(--size-typography-text-md))}.ui-separator._horizontal{width:100%}.ui-separator._horizontal .ui-separator-line{border-top-width:var(--_thickness)}.ui-separator._vertical{flex-direction:column;align-self:stretch;height:100%}.ui-separator._vertical .ui-separator-line{border-left-width:var(--_thickness)}\n"] }); }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiSeparator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiSeparator, isStandalone: true, selector: "ui-separator", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div\n [class]=\"classes()\"\n role=\"separator\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.aria-label]=\"accessibleName()\"\n>\n @if (hasLabel()) {\n @if (lineBeforeLabel()) {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n <span class=\"ui-separator-label\">{{ label() }}</span>\n @if (lineAfterLabel()) {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n } @else {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n</div>\n", styles: [".ui-separator{--_thickness: var(--ui-separator-stroke-width, var(--stroke-default));--_style: solid;display:flex;align-items:center;gap:var(--ui-separator-gap, var(--units-sm));box-sizing:border-box}.ui-separator._dashed{--_style: dashed}.ui-separator._small{--_thickness: var(--ui-separator-stroke-width-small, var(--stroke-sm))}.ui-separator-line{flex:1 1 auto;border:0 var(--_style) var(--ui-separator-line-stroke, var(--global-border-default))}.ui-separator-label{flex:0 0 auto;color:var(--ui-separator-label-color, var(--global-text-default));font-family:var(--ui-separator-font-family, var(--fontfamily-base));font-size:var(--ui-separator-font-size, var(--size-typography-text-default));line-height:1;white-space:nowrap}.ui-separator._small .ui-separator-label{font-size:var(--ui-separator-font-size-small, var(--size-typography-text-md))}.ui-separator._horizontal{width:100%}.ui-separator._horizontal .ui-separator-line{border-top-width:var(--_thickness)}.ui-separator._vertical{flex-direction:column;align-self:stretch;height:100%}.ui-separator._vertical .ui-separator-line{border-left-width:var(--_thickness)}\n"] }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiSeparator, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiSeparator, decorators: [{
64
64
  type: Component,
65
65
  args: [{ selector: 'ui-separator', template: "<div\n [class]=\"classes()\"\n role=\"separator\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.aria-label]=\"accessibleName()\"\n>\n @if (hasLabel()) {\n @if (lineBeforeLabel()) {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n <span class=\"ui-separator-label\">{{ label() }}</span>\n @if (lineAfterLabel()) {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n } @else {\n <span class=\"ui-separator-line\" aria-hidden=\"true\"></span>\n }\n</div>\n", styles: [".ui-separator{--_thickness: var(--ui-separator-stroke-width, var(--stroke-default));--_style: solid;display:flex;align-items:center;gap:var(--ui-separator-gap, var(--units-sm));box-sizing:border-box}.ui-separator._dashed{--_style: dashed}.ui-separator._small{--_thickness: var(--ui-separator-stroke-width-small, var(--stroke-sm))}.ui-separator-line{flex:1 1 auto;border:0 var(--_style) var(--ui-separator-line-stroke, var(--global-border-default))}.ui-separator-label{flex:0 0 auto;color:var(--ui-separator-label-color, var(--global-text-default));font-family:var(--ui-separator-font-family, var(--fontfamily-base));font-size:var(--ui-separator-font-size, var(--size-typography-text-default));line-height:1;white-space:nowrap}.ui-separator._small .ui-separator-label{font-size:var(--ui-separator-font-size-small, var(--size-typography-text-md))}.ui-separator._horizontal{width:100%}.ui-separator._horizontal .ui-separator-line{border-top-width:var(--_thickness)}.ui-separator._vertical{flex-direction:column;align-self:stretch;height:100%}.ui-separator._vertical .ui-separator-line{border-left-width:var(--_thickness)}\n"] }]
66
66
  }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], labelAlign: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelAlign", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
@@ -59,10 +59,10 @@ class UiSkeleton {
59
59
  }, /* @ts-ignore */
60
60
  ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
61
61
  }
62
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiSkeleton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
63
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.5", type: UiSkeleton, isStandalone: true, selector: "ui-skeleton", inputs: { shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, borderRadius: { classPropertyName: "borderRadius", publicName: "borderRadius", isSignal: true, isRequired: false, transformFunction: null }, animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-hidden": "true" } }, ngImport: i0, template: "<div [class]=\"classes()\" [style]=\"boxStyle()\"></div>\n", styles: [":host{display:contents}.ui-skeleton{display:block;flex:none;position:relative;overflow:hidden;background-color:var(--ui-skeleton-background, var(--global-background-muted))}.ui-skeleton:after{content:\"\";position:absolute;inset:0;transform:translate(-100%);background:linear-gradient(90deg,transparent 0%,var(--ui-skeleton-shine, var(--_shine, rgba(255, 255, 255, .6))) 50%,transparent 100%);will-change:transform;animation:ui-skeleton-wave 1.6s ease-in-out infinite}.ui-skeleton._text{width:var(--ui-skeleton-text-width, 14rem);height:var(--ui-skeleton-text-height, 1.25rem);border-radius:var(--ui-skeleton-text-radius, var(--radius-xl))}.ui-skeleton._circle{width:var(--ui-skeleton-circle-width, 6.25rem);height:var(--ui-skeleton-circle-height, 6.25rem);border-radius:var(--ui-skeleton-circle-radius, var(--radius-full))}.ui-skeleton._rectangle{width:var(--ui-skeleton-rectangle-width, 6.25rem);height:var(--ui-skeleton-rectangle-height, 6.25rem);border-radius:var(--ui-skeleton-rectangle-radius, var(--radius-default))}.ui-skeleton._circle{aspect-ratio:1/1}.ui-skeleton._text._small{height:var(--ui-skeleton-text-height-small, .75rem)}.ui-skeleton._circle._small{width:var(--ui-skeleton-circle-width-small, 4rem);height:var(--ui-skeleton-circle-height-small, 4rem)}.ui-skeleton._rectangle._small{width:var(--ui-skeleton-rectangle-width-small, 4rem);height:var(--ui-skeleton-rectangle-height-small, 4rem)}.ui-skeleton._pulse{animation:ui-skeleton-pulse 1.5s ease-in-out infinite}.ui-skeleton._pulse:after{content:none}.ui-skeleton._static:after{content:none}:host-context([data-theme=dark]),:host-context(.dark){--_shine: rgba(255, 255, 255, .09)}@keyframes ui-skeleton-pulse{50%{opacity:.45}}@keyframes ui-skeleton-wave{to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.ui-skeleton{animation:none}.ui-skeleton:after{animation:none;opacity:0}}:host-context([data-motion=off]) .ui-skeleton{animation:none}:host-context([data-motion=off]) .ui-skeleton:after{animation:none;opacity:0}\n"] }); }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiSkeleton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
63
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: UiSkeleton, isStandalone: true, selector: "ui-skeleton", inputs: { shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, borderRadius: { classPropertyName: "borderRadius", publicName: "borderRadius", isSignal: true, isRequired: false, transformFunction: null }, animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-hidden": "true" } }, ngImport: i0, template: "<div [class]=\"classes()\" [style]=\"boxStyle()\"></div>\n", styles: [":host{display:contents}.ui-skeleton{display:block;flex:none;position:relative;overflow:hidden;background-color:var(--ui-skeleton-background, var(--global-background-muted))}.ui-skeleton:after{content:\"\";position:absolute;inset:0;transform:translate(-100%);background:linear-gradient(90deg,transparent 0%,var(--ui-skeleton-shine, var(--_shine, rgba(255, 255, 255, .6))) 50%,transparent 100%);will-change:transform;animation:ui-skeleton-wave 1.6s ease-in-out infinite}.ui-skeleton._text{width:var(--ui-skeleton-text-width, 14rem);height:var(--ui-skeleton-text-height, 1.25rem);border-radius:var(--ui-skeleton-text-radius, var(--radius-xl))}.ui-skeleton._circle{width:var(--ui-skeleton-circle-width, 6.25rem);height:var(--ui-skeleton-circle-height, 6.25rem);border-radius:var(--ui-skeleton-circle-radius, var(--radius-full))}.ui-skeleton._rectangle{width:var(--ui-skeleton-rectangle-width, 6.25rem);height:var(--ui-skeleton-rectangle-height, 6.25rem);border-radius:var(--ui-skeleton-rectangle-radius, var(--radius-default))}.ui-skeleton._circle{aspect-ratio:1/1}.ui-skeleton._text._small{height:var(--ui-skeleton-text-height-small, .75rem)}.ui-skeleton._circle._small{width:var(--ui-skeleton-circle-width-small, 4rem);height:var(--ui-skeleton-circle-height-small, 4rem)}.ui-skeleton._rectangle._small{width:var(--ui-skeleton-rectangle-width-small, 4rem);height:var(--ui-skeleton-rectangle-height-small, 4rem)}.ui-skeleton._pulse{animation:ui-skeleton-pulse 1.5s ease-in-out infinite}.ui-skeleton._pulse:after{content:none}.ui-skeleton._static:after{content:none}:host-context([data-theme=dark]),:host-context(.dark){--_shine: rgba(255, 255, 255, .09)}@keyframes ui-skeleton-pulse{50%{opacity:.45}}@keyframes ui-skeleton-wave{to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.ui-skeleton{animation:none}.ui-skeleton:after{animation:none;opacity:0}}:host-context([data-motion=off]) .ui-skeleton{animation:none}:host-context([data-motion=off]) .ui-skeleton:after{animation:none;opacity:0}\n"] }); }
64
64
  }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiSkeleton, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiSkeleton, decorators: [{
66
66
  type: Component,
67
67
  args: [{ selector: 'ui-skeleton', host: {
68
68
  '[attr.aria-hidden]': 'true',
@@ -110,10 +110,10 @@ class UiSpinner {
110
110
  }
111
111
  });
112
112
  }
113
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiSpinner, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
114
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiSpinner, isStandalone: true, selector: "ui-spinner", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, spinnerTemplate: { classPropertyName: "spinnerTemplate", publicName: "spinnerTemplate", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, imageAlt: { classPropertyName: "imageAlt", publicName: "imageAlt", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, strokeWidth: { classPropertyName: "strokeWidth", publicName: "strokeWidth", isSignal: true, isRequired: false, transformFunction: null }, fill: { classPropertyName: "fill", publicName: "fill", isSignal: true, isRequired: false, transformFunction: null }, animationDuration: { classPropertyName: "animationDuration", publicName: "animationDuration", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--ui-spinner-duration": "animationDuration()" } }, ngImport: i0, template: "@if (visible()) {\n <div\n [class]=\"classes()\"\n role=\"status\"\n aria-live=\"polite\"\n [attr.aria-busy]=\"true\"\n [attr.aria-label]=\"rootAriaLabel()\"\n >\n <span class=\"ui-spinner-mark\" aria-hidden=\"true\">\n @switch (markKind()) {\n @case ('template') {\n <ng-container [ngTemplateOutlet]=\"spinnerTemplate()!\" />\n }\n @case ('image') {\n <img class=\"ui-spinner-image\" [src]=\"image()!\" [alt]=\"imageAlt()\" />\n }\n @case ('icon') {\n <span class=\"ui-spinner-spin\">\n <ui-icon [name]=\"icon()!\" [size]=\"iconSize()\" />\n </span>\n }\n @default {\n <svg class=\"ui-spinner-svg\" viewBox=\"0 0 50 50\">\n <circle\n class=\"ui-spinner-circle\"\n cx=\"25\"\n cy=\"25\"\n r=\"20\"\n [attr.fill]=\"fill()\"\n [attr.stroke-width]=\"strokeWidth()\"\n />\n </svg>\n }\n }\n </span>\n\n @if (label(); as text) {\n <span class=\"ui-spinner-label\">{{ text }}</span>\n }\n </div>\n}\n", styles: [".ui-spinner{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--units-sm);color:var(--ui-spinner-color, var(--informative-highlightlow-content-default))}.ui-spinner._horizontal{flex-direction:row}.ui-spinner-mark{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-spinner-size, 2rem);height:var(--ui-spinner-size, 2rem);line-height:0}.ui-spinner._small .ui-spinner-mark{width:var(--ui-spinner-size-small, 1.25rem);height:var(--ui-spinner-size-small, 1.25rem)}.ui-spinner._small .ui-spinner-label{font-size:var(--ui-spinner-font-size-small, var(--size-typography-text-sm))}.ui-spinner-svg{width:100%;height:100%;transform-origin:center;animation:ui-spinner-rotate var(--ui-spinner-duration, 1.2s) linear infinite}.ui-spinner-circle{stroke:currentColor;stroke-linecap:round;transform-origin:center;animation:ui-spinner-dash calc(var(--ui-spinner-duration, 1.2s) * 1.25) ease-in-out infinite}.ui-spinner-spin{display:inline-flex;transform-origin:center;animation:ui-spinner-rotate var(--ui-spinner-duration, 1.2s) linear infinite}.ui-spinner-image{width:100%;height:100%;object-fit:contain}.ui-spinner-label{color:var(--ui-spinner-label-color, var(--global-text-default));font-family:var(--ui-spinner-font-family, var(--fontfamily-base));font-weight:var(--ui-spinner-weight, var(--weight-bold));font-size:var(--ui-spinner-font-size, var(--size-typography-text-md));line-height:1.2;white-space:nowrap}@keyframes ui-spinner-rotate{to{transform:rotate(360deg)}}@keyframes ui-spinner-dash{0%{stroke-dasharray:1,125;stroke-dashoffset:0}50%{stroke-dasharray:90,125;stroke-dashoffset:-30}to{stroke-dasharray:90,125;stroke-dashoffset:-124}}@media(prefers-reduced-motion:reduce){.ui-spinner .ui-spinner-svg,.ui-spinner .ui-spinner-spin{animation:none}.ui-spinner .ui-spinner-circle{animation:none;stroke-dasharray:none;opacity:.65}}:root[data-motion=off] .ui-spinner .ui-spinner-svg,:root[data-motion=off] .ui-spinner .ui-spinner-spin{animation:none}:root[data-motion=off] .ui-spinner .ui-spinner-circle{animation:none;stroke-dasharray:none;opacity:.65}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
113
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiSpinner, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
114
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiSpinner, isStandalone: true, selector: "ui-spinner", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, spinnerTemplate: { classPropertyName: "spinnerTemplate", publicName: "spinnerTemplate", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, imageAlt: { classPropertyName: "imageAlt", publicName: "imageAlt", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, strokeWidth: { classPropertyName: "strokeWidth", publicName: "strokeWidth", isSignal: true, isRequired: false, transformFunction: null }, fill: { classPropertyName: "fill", publicName: "fill", isSignal: true, isRequired: false, transformFunction: null }, animationDuration: { classPropertyName: "animationDuration", publicName: "animationDuration", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--ui-spinner-duration": "animationDuration()" } }, ngImport: i0, template: "@if (visible()) {\n <div\n [class]=\"classes()\"\n role=\"status\"\n aria-live=\"polite\"\n [attr.aria-busy]=\"true\"\n [attr.aria-label]=\"rootAriaLabel()\"\n >\n <span class=\"ui-spinner-mark\" aria-hidden=\"true\">\n @switch (markKind()) {\n @case ('template') {\n <ng-container [ngTemplateOutlet]=\"spinnerTemplate()!\" />\n }\n @case ('image') {\n <img class=\"ui-spinner-image\" [src]=\"image()!\" [alt]=\"imageAlt()\" />\n }\n @case ('icon') {\n <span class=\"ui-spinner-spin\">\n <ui-icon [name]=\"icon()!\" [size]=\"iconSize()\" />\n </span>\n }\n @default {\n <svg class=\"ui-spinner-svg\" viewBox=\"0 0 50 50\">\n <circle\n class=\"ui-spinner-circle\"\n cx=\"25\"\n cy=\"25\"\n r=\"20\"\n [attr.fill]=\"fill()\"\n [attr.stroke-width]=\"strokeWidth()\"\n />\n </svg>\n }\n }\n </span>\n\n @if (label(); as text) {\n <span class=\"ui-spinner-label\">{{ text }}</span>\n }\n </div>\n}\n", styles: [".ui-spinner{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--units-sm);color:var(--ui-spinner-color, var(--informative-highlightlow-content-default))}.ui-spinner._horizontal{flex-direction:row}.ui-spinner-mark{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-spinner-size, 2rem);height:var(--ui-spinner-size, 2rem);line-height:0}.ui-spinner._small .ui-spinner-mark{width:var(--ui-spinner-size-small, 1.25rem);height:var(--ui-spinner-size-small, 1.25rem)}.ui-spinner._small .ui-spinner-label{font-size:var(--ui-spinner-font-size-small, var(--size-typography-text-sm))}.ui-spinner-svg{width:100%;height:100%;transform-origin:center;animation:ui-spinner-rotate var(--ui-spinner-duration, 1.2s) linear infinite}.ui-spinner-circle{stroke:currentColor;stroke-linecap:round;transform-origin:center;animation:ui-spinner-dash calc(var(--ui-spinner-duration, 1.2s) * 1.25) ease-in-out infinite}.ui-spinner-spin{display:inline-flex;transform-origin:center;animation:ui-spinner-rotate var(--ui-spinner-duration, 1.2s) linear infinite}.ui-spinner-image{width:100%;height:100%;object-fit:contain}.ui-spinner-label{color:var(--ui-spinner-label-color, var(--global-text-default));font-family:var(--ui-spinner-font-family, var(--fontfamily-base));font-weight:var(--ui-spinner-weight, var(--weight-bold));font-size:var(--ui-spinner-font-size, var(--size-typography-text-md));line-height:1.2;white-space:nowrap}@keyframes ui-spinner-rotate{to{transform:rotate(360deg)}}@keyframes ui-spinner-dash{0%{stroke-dasharray:1,125;stroke-dashoffset:0}50%{stroke-dasharray:90,125;stroke-dashoffset:-30}to{stroke-dasharray:90,125;stroke-dashoffset:-124}}@media(prefers-reduced-motion:reduce){.ui-spinner .ui-spinner-svg,.ui-spinner .ui-spinner-spin{animation:none}.ui-spinner .ui-spinner-circle{animation:none;stroke-dasharray:none;opacity:.65}}:root[data-motion=off] .ui-spinner .ui-spinner-svg,:root[data-motion=off] .ui-spinner .ui-spinner-spin{animation:none}:root[data-motion=off] .ui-spinner .ui-spinner-circle{animation:none;stroke-dasharray:none;opacity:.65}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
115
115
  }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiSpinner, decorators: [{
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiSpinner, decorators: [{
117
117
  type: Component,
118
118
  args: [{ selector: 'ui-spinner', imports: [UiIcon, NgTemplateOutlet], host: {
119
119
  '[style.--ui-spinner-duration]': 'animationDuration()',
@@ -64,10 +64,10 @@ class UiTag {
64
64
  });
65
65
  }
66
66
  }
67
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiTag, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
68
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiTag, isStandalone: true, selector: "ui-tag", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, subLevel: { classPropertyName: "subLevel", publicName: "subLevel", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, iconLeft: { classPropertyName: "iconLeft", publicName: "iconLeft", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span [class]=\"classes()\" [attr.role]=\"ariaLabel() ? 'img' : null\" [attr.aria-label]=\"ariaLabel() ?? null\">\n @if (iconLeft(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n @if (hasLabel()) {\n <span class=\"ui-tag-label\">{{ label() }}</span>\n }\n @if (iconRight(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n</span>\n", styles: [".ui-tag{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--ui-tag-padding-x, var(--units-sm));border:var(--ui-tag-stroke-width, var(--stroke-sm)) solid transparent;border-radius:var(--ui-tag-radius, var(--radius-full));font-family:var(--ui-tag-font-family, var(--fontfamily-base));font-weight:var(--ui-tag-weight, var(--weight-regular));line-height:1;white-space:nowrap;height:var(--ui-tag-height, var(--size-components-2xs));min-width:var(--ui-tag-height, var(--size-components-2xs));gap:var(--ui-tag-gap, var(--units-sm));font-size:var(--ui-tag-font-size, var(--size-typography-text-default))}.ui-tag-icon{line-height:0;flex:none}.ui-tag-label{display:inline-block}.ui-tag._square{border-radius:var(--ui-tag-radius-square, var(--radius-sm))}.ui-tag._small{height:var(--ui-tag-height-small, 22px);min-width:var(--ui-tag-height-small, 22px);gap:var(--ui-tag-gap-small, var(--units-xs));font-size:var(--ui-tag-font-size-small, var(--size-typography-text-md))}.ui-tag._default._high{background-color:var(--ui-tag-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-tag-color, var(--informative-defaulthigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-defaulthigh-stroke-default))}.ui-tag._default._low{background-color:var(--ui-tag-surface, var(--informative-defaultlow-surface-default));color:var(--ui-tag-color, var(--informative-defaultlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-defaultlow-stroke-default))}.ui-tag._highlight._high{background-color:var(--ui-tag-surface, var(--informative-highlighthigh-surface-default));color:var(--ui-tag-color, var(--informative-highlighthigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-highlighthigh-stroke-default))}.ui-tag._highlight._low{background-color:var(--ui-tag-surface, var(--informative-highlightlow-surface-default));color:var(--ui-tag-color, var(--informative-highlightlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-highlightlow-stroke-default))}.ui-tag._success._high{background-color:var(--ui-tag-surface, var(--informative-successhigh-surface-default));color:var(--ui-tag-color, var(--informative-successhigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-successhigh-stroke-default))}.ui-tag._success._low{background-color:var(--ui-tag-surface, var(--informative-successlow-surface-default));color:var(--ui-tag-color, var(--informative-successlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-successlow-stroke-default))}.ui-tag._warning._high{background-color:var(--ui-tag-surface, var(--informative-warninghigh-surface-default));color:var(--ui-tag-color, var(--informative-warninghigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-warninghigh-stroke-default))}.ui-tag._warning._low{background-color:var(--ui-tag-surface, var(--informative-warninglow-surface-default));color:var(--ui-tag-color, var(--informative-warninglow-content-default));border-color:var(--ui-tag-stroke, var(--informative-warninglow-stroke-default))}.ui-tag._error._high{background-color:var(--ui-tag-surface, var(--informative-errorhigh-surface-default));color:var(--ui-tag-color, var(--informative-errorhigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-errorhigh-stroke-default))}.ui-tag._error._low{background-color:var(--ui-tag-surface, var(--informative-errorlow-surface-default));color:var(--ui-tag-color, var(--informative-errorlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-errorlow-stroke-default))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTag, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
68
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiTag, isStandalone: true, selector: "ui-tag", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, subLevel: { classPropertyName: "subLevel", publicName: "subLevel", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, iconLeft: { classPropertyName: "iconLeft", publicName: "iconLeft", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span [class]=\"classes()\" [attr.role]=\"ariaLabel() ? 'img' : null\" [attr.aria-label]=\"ariaLabel() ?? null\">\n @if (iconLeft(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n @if (hasLabel()) {\n <span class=\"ui-tag-label\">{{ label() }}</span>\n }\n @if (iconRight(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n</span>\n", styles: [".ui-tag{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--ui-tag-padding-x, var(--units-sm));border:var(--ui-tag-stroke-width, var(--stroke-sm)) solid transparent;border-radius:var(--ui-tag-radius, var(--radius-full));font-family:var(--ui-tag-font-family, var(--fontfamily-base));font-weight:var(--ui-tag-weight, var(--weight-regular));line-height:1;white-space:nowrap;height:var(--ui-tag-height, var(--size-components-2xs));min-width:var(--ui-tag-height, var(--size-components-2xs));gap:var(--ui-tag-gap, var(--units-sm));font-size:var(--ui-tag-font-size, var(--size-typography-text-default))}.ui-tag-icon{line-height:0;flex:none}.ui-tag-label{display:inline-block}.ui-tag._square{border-radius:var(--ui-tag-radius-square, var(--radius-sm))}.ui-tag._small{height:var(--ui-tag-height-small, 22px);min-width:var(--ui-tag-height-small, 22px);gap:var(--ui-tag-gap-small, var(--units-xs));font-size:var(--ui-tag-font-size-small, var(--size-typography-text-md))}.ui-tag._default._high{background-color:var(--ui-tag-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-tag-color, var(--informative-defaulthigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-defaulthigh-stroke-default))}.ui-tag._default._low{background-color:var(--ui-tag-surface, var(--informative-defaultlow-surface-default));color:var(--ui-tag-color, var(--informative-defaultlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-defaultlow-stroke-default))}.ui-tag._highlight._high{background-color:var(--ui-tag-surface, var(--informative-highlighthigh-surface-default));color:var(--ui-tag-color, var(--informative-highlighthigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-highlighthigh-stroke-default))}.ui-tag._highlight._low{background-color:var(--ui-tag-surface, var(--informative-highlightlow-surface-default));color:var(--ui-tag-color, var(--informative-highlightlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-highlightlow-stroke-default))}.ui-tag._success._high{background-color:var(--ui-tag-surface, var(--informative-successhigh-surface-default));color:var(--ui-tag-color, var(--informative-successhigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-successhigh-stroke-default))}.ui-tag._success._low{background-color:var(--ui-tag-surface, var(--informative-successlow-surface-default));color:var(--ui-tag-color, var(--informative-successlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-successlow-stroke-default))}.ui-tag._warning._high{background-color:var(--ui-tag-surface, var(--informative-warninghigh-surface-default));color:var(--ui-tag-color, var(--informative-warninghigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-warninghigh-stroke-default))}.ui-tag._warning._low{background-color:var(--ui-tag-surface, var(--informative-warninglow-surface-default));color:var(--ui-tag-color, var(--informative-warninglow-content-default));border-color:var(--ui-tag-stroke, var(--informative-warninglow-stroke-default))}.ui-tag._error._high{background-color:var(--ui-tag-surface, var(--informative-errorhigh-surface-default));color:var(--ui-tag-color, var(--informative-errorhigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-errorhigh-stroke-default))}.ui-tag._error._low{background-color:var(--ui-tag-surface, var(--informative-errorlow-surface-default));color:var(--ui-tag-color, var(--informative-errorlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-errorlow-stroke-default))}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiTag, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTag, decorators: [{
71
71
  type: Component,
72
72
  args: [{ selector: 'ui-tag', imports: [UiIcon], template: "<span [class]=\"classes()\" [attr.role]=\"ariaLabel() ? 'img' : null\" [attr.aria-label]=\"ariaLabel() ?? null\">\n @if (iconLeft(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n @if (hasLabel()) {\n <span class=\"ui-tag-label\">{{ label() }}</span>\n }\n @if (iconRight(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n</span>\n", styles: [".ui-tag{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--ui-tag-padding-x, var(--units-sm));border:var(--ui-tag-stroke-width, var(--stroke-sm)) solid transparent;border-radius:var(--ui-tag-radius, var(--radius-full));font-family:var(--ui-tag-font-family, var(--fontfamily-base));font-weight:var(--ui-tag-weight, var(--weight-regular));line-height:1;white-space:nowrap;height:var(--ui-tag-height, var(--size-components-2xs));min-width:var(--ui-tag-height, var(--size-components-2xs));gap:var(--ui-tag-gap, var(--units-sm));font-size:var(--ui-tag-font-size, var(--size-typography-text-default))}.ui-tag-icon{line-height:0;flex:none}.ui-tag-label{display:inline-block}.ui-tag._square{border-radius:var(--ui-tag-radius-square, var(--radius-sm))}.ui-tag._small{height:var(--ui-tag-height-small, 22px);min-width:var(--ui-tag-height-small, 22px);gap:var(--ui-tag-gap-small, var(--units-xs));font-size:var(--ui-tag-font-size-small, var(--size-typography-text-md))}.ui-tag._default._high{background-color:var(--ui-tag-surface, var(--informative-defaulthigh-surface-default));color:var(--ui-tag-color, var(--informative-defaulthigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-defaulthigh-stroke-default))}.ui-tag._default._low{background-color:var(--ui-tag-surface, var(--informative-defaultlow-surface-default));color:var(--ui-tag-color, var(--informative-defaultlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-defaultlow-stroke-default))}.ui-tag._highlight._high{background-color:var(--ui-tag-surface, var(--informative-highlighthigh-surface-default));color:var(--ui-tag-color, var(--informative-highlighthigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-highlighthigh-stroke-default))}.ui-tag._highlight._low{background-color:var(--ui-tag-surface, var(--informative-highlightlow-surface-default));color:var(--ui-tag-color, var(--informative-highlightlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-highlightlow-stroke-default))}.ui-tag._success._high{background-color:var(--ui-tag-surface, var(--informative-successhigh-surface-default));color:var(--ui-tag-color, var(--informative-successhigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-successhigh-stroke-default))}.ui-tag._success._low{background-color:var(--ui-tag-surface, var(--informative-successlow-surface-default));color:var(--ui-tag-color, var(--informative-successlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-successlow-stroke-default))}.ui-tag._warning._high{background-color:var(--ui-tag-surface, var(--informative-warninghigh-surface-default));color:var(--ui-tag-color, var(--informative-warninghigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-warninghigh-stroke-default))}.ui-tag._warning._low{background-color:var(--ui-tag-surface, var(--informative-warninglow-surface-default));color:var(--ui-tag-color, var(--informative-warninglow-content-default));border-color:var(--ui-tag-stroke, var(--informative-warninglow-stroke-default))}.ui-tag._error._high{background-color:var(--ui-tag-surface, var(--informative-errorhigh-surface-default));color:var(--ui-tag-color, var(--informative-errorhigh-content-default));border-color:var(--ui-tag-stroke, var(--informative-errorhigh-stroke-default))}.ui-tag._error._low{background-color:var(--ui-tag-surface, var(--informative-errorlow-surface-default));color:var(--ui-tag-color, var(--informative-errorlow-content-default));border-color:var(--ui-tag-stroke, var(--informative-errorlow-stroke-default))}\n"] }]
73
73
  }], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], subLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "subLevel", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], iconLeft: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconLeft", required: false }] }], iconRight: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconRight", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });