yukit-web 0.10.5 → 0.10.7

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 (190) hide show
  1. package/fesm2022/yukit-web-chart.mjs +807 -552
  2. package/fesm2022/yukit-web-chart.mjs.map +1 -1
  3. package/fesm2022/yukit-web-helm-accordion.mjs +271 -100
  4. package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
  5. package/fesm2022/yukit-web-helm-alert-dialog.mjs +675 -243
  6. package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
  7. package/fesm2022/yukit-web-helm-alert.mjs +199 -91
  8. package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
  9. package/fesm2022/yukit-web-helm-aspect-ratio.mjs +77 -43
  10. package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
  11. package/fesm2022/yukit-web-helm-attachment.mjs +552 -205
  12. package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
  13. package/fesm2022/yukit-web-helm-autocomplete.mjs +913 -288
  14. package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
  15. package/fesm2022/yukit-web-helm-avatar.mjs +298 -137
  16. package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
  17. package/fesm2022/yukit-web-helm-badge.mjs +78 -44
  18. package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
  19. package/fesm2022/yukit-web-helm-breadcrumb.mjs +466 -183
  20. package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
  21. package/fesm2022/yukit-web-helm-bubble.mjs +297 -118
  22. package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
  23. package/fesm2022/yukit-web-helm-button-group.mjs +179 -83
  24. package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
  25. package/fesm2022/yukit-web-helm-button.mjs +137 -67
  26. package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
  27. package/fesm2022/yukit-web-helm-calendar.mjs +957 -230
  28. package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
  29. package/fesm2022/yukit-web-helm-card.mjs +318 -136
  30. package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
  31. package/fesm2022/yukit-web-helm-carousel.mjs +563 -233
  32. package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
  33. package/fesm2022/yukit-web-helm-checkbox.mjs +367 -101
  34. package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
  35. package/fesm2022/yukit-web-helm-collapsible.mjs +155 -61
  36. package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
  37. package/fesm2022/yukit-web-helm-combobox.mjs +1572 -481
  38. package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
  39. package/fesm2022/yukit-web-helm-command.mjs +752 -260
  40. package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
  41. package/fesm2022/yukit-web-helm-context-menu.mjs +161 -63
  42. package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
  43. package/fesm2022/yukit-web-helm-date-picker.mjs +2322 -932
  44. package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
  45. package/fesm2022/yukit-web-helm-dialog.mjs +625 -240
  46. package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
  47. package/fesm2022/yukit-web-helm-drawer.mjs +539 -222
  48. package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
  49. package/fesm2022/yukit-web-helm-dropdown-menu.mjs +1295 -493
  50. package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
  51. package/fesm2022/yukit-web-helm-empty.mjs +280 -121
  52. package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
  53. package/fesm2022/yukit-web-helm-field.mjs +670 -301
  54. package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
  55. package/fesm2022/yukit-web-helm-hover-card.mjs +198 -99
  56. package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
  57. package/fesm2022/yukit-web-helm-input-group.mjs +357 -165
  58. package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
  59. package/fesm2022/yukit-web-helm-input-otp.mjs +306 -114
  60. package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
  61. package/fesm2022/yukit-web-helm-input.mjs +62 -30
  62. package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
  63. package/fesm2022/yukit-web-helm-item.mjs +545 -227
  64. package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
  65. package/fesm2022/yukit-web-helm-kbd.mjs +85 -44
  66. package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
  67. package/fesm2022/yukit-web-helm-label.mjs +60 -28
  68. package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
  69. package/fesm2022/yukit-web-helm-marker.mjs +165 -74
  70. package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
  71. package/fesm2022/yukit-web-helm-menubar.mjs +207 -82
  72. package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
  73. package/fesm2022/yukit-web-helm-message.mjs +277 -112
  74. package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
  75. package/fesm2022/yukit-web-helm-native-select.mjs +363 -129
  76. package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
  77. package/fesm2022/yukit-web-helm-navigation-menu.mjs +398 -166
  78. package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
  79. package/fesm2022/yukit-web-helm-pagination.mjs +1444 -460
  80. package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
  81. package/fesm2022/yukit-web-helm-popover.mjs +358 -133
  82. package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
  83. package/fesm2022/yukit-web-helm-progress.mjs +126 -58
  84. package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
  85. package/fesm2022/yukit-web-helm-radio-group.mjs +420 -144
  86. package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
  87. package/fesm2022/yukit-web-helm-resizable.mjs +210 -91
  88. package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
  89. package/fesm2022/yukit-web-helm-scroll-area.mjs +64 -34
  90. package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
  91. package/fesm2022/yukit-web-helm-select.mjs +1059 -351
  92. package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
  93. package/fesm2022/yukit-web-helm-separator.mjs +61 -31
  94. package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
  95. package/fesm2022/yukit-web-helm-sheet.mjs +590 -231
  96. package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
  97. package/fesm2022/yukit-web-helm-sidebar.mjs +1781 -757
  98. package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
  99. package/fesm2022/yukit-web-helm-skeleton.mjs +45 -27
  100. package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
  101. package/fesm2022/yukit-web-helm-slider.mjs +139 -59
  102. package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
  103. package/fesm2022/yukit-web-helm-sonner.mjs +350 -62
  104. package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
  105. package/fesm2022/yukit-web-helm-spinner.mjs +118 -44
  106. package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
  107. package/fesm2022/yukit-web-helm-switch.mjs +326 -94
  108. package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
  109. package/fesm2022/yukit-web-helm-table.mjs +374 -177
  110. package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
  111. package/fesm2022/yukit-web-helm-tabs.mjs +549 -173
  112. package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
  113. package/fesm2022/yukit-web-helm-textarea.mjs +62 -30
  114. package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
  115. package/fesm2022/yukit-web-helm-toggle-group.mjs +291 -89
  116. package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
  117. package/fesm2022/yukit-web-helm-toggle.mjs +132 -57
  118. package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
  119. package/fesm2022/yukit-web-helm-tooltip.mjs +84 -54
  120. package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
  121. package/fesm2022/yukit-web-helm-typography.mjs +461 -202
  122. package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
  123. package/fesm2022/yukit-web-helm-utils.mjs +131 -253
  124. package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
  125. package/fesm2022/yukit-web.mjs +24457 -9655
  126. package/fesm2022/yukit-web.mjs.map +1 -1
  127. package/package.json +9 -9
  128. package/types/yukit-web-chart.d.ts +184 -125
  129. package/types/yukit-web-helm-accordion.d.ts +49 -28
  130. package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
  131. package/types/yukit-web-helm-alert.d.ts +30 -32
  132. package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
  133. package/types/yukit-web-helm-attachment.d.ts +97 -69
  134. package/types/yukit-web-helm-autocomplete.d.ts +205 -79
  135. package/types/yukit-web-helm-avatar.d.ts +44 -39
  136. package/types/yukit-web-helm-badge.d.ts +18 -17
  137. package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
  138. package/types/yukit-web-helm-bubble.d.ts +54 -40
  139. package/types/yukit-web-helm-button-group.d.ts +29 -22
  140. package/types/yukit-web-helm-button.d.ts +41 -31
  141. package/types/yukit-web-helm-calendar.d.ts +157 -85
  142. package/types/yukit-web-helm-card.d.ts +38 -42
  143. package/types/yukit-web-helm-carousel.d.ts +105 -73
  144. package/types/yukit-web-helm-checkbox.d.ts +117 -58
  145. package/types/yukit-web-helm-collapsible.d.ts +34 -19
  146. package/types/yukit-web-helm-combobox.d.ts +355 -150
  147. package/types/yukit-web-helm-command.d.ts +140 -73
  148. package/types/yukit-web-helm-context-menu.d.ts +48 -27
  149. package/types/yukit-web-helm-date-picker.d.ts +852 -556
  150. package/types/yukit-web-helm-dialog.d.ts +106 -78
  151. package/types/yukit-web-helm-drawer.d.ts +90 -61
  152. package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
  153. package/types/yukit-web-helm-empty.d.ts +38 -42
  154. package/types/yukit-web-helm-field.d.ts +122 -91
  155. package/types/yukit-web-helm-hover-card.d.ts +39 -27
  156. package/types/yukit-web-helm-input-group.d.ts +63 -41
  157. package/types/yukit-web-helm-input-otp.d.ts +38 -35
  158. package/types/yukit-web-helm-input.d.ts +19 -12
  159. package/types/yukit-web-helm-item.d.ts +90 -82
  160. package/types/yukit-web-helm-kbd.d.ts +10 -15
  161. package/types/yukit-web-helm-label.d.ts +14 -11
  162. package/types/yukit-web-helm-marker.d.ts +26 -27
  163. package/types/yukit-web-helm-menubar.d.ts +61 -32
  164. package/types/yukit-web-helm-message.d.ts +34 -38
  165. package/types/yukit-web-helm-native-select.d.ts +102 -61
  166. package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
  167. package/types/yukit-web-helm-pagination.d.ts +344 -166
  168. package/types/yukit-web-helm-popover.d.ts +62 -42
  169. package/types/yukit-web-helm-progress.d.ts +27 -20
  170. package/types/yukit-web-helm-radio-group.d.ts +121 -63
  171. package/types/yukit-web-helm-resizable.d.ts +46 -24
  172. package/types/yukit-web-helm-scroll-area.d.ts +6 -10
  173. package/types/yukit-web-helm-select.d.ts +231 -114
  174. package/types/yukit-web-helm-separator.d.ts +15 -12
  175. package/types/yukit-web-helm-sheet.d.ts +94 -65
  176. package/types/yukit-web-helm-sidebar.d.ts +322 -232
  177. package/types/yukit-web-helm-skeleton.d.ts +6 -10
  178. package/types/yukit-web-helm-slider.d.ts +33 -13
  179. package/types/yukit-web-helm-sonner.d.ts +112 -51
  180. package/types/yukit-web-helm-spinner.d.ts +24 -17
  181. package/types/yukit-web-helm-switch.d.ts +89 -51
  182. package/types/yukit-web-helm-table.d.ts +38 -42
  183. package/types/yukit-web-helm-tabs.d.ts +116 -60
  184. package/types/yukit-web-helm-textarea.d.ts +19 -12
  185. package/types/yukit-web-helm-toggle-group.d.ts +81 -32
  186. package/types/yukit-web-helm-toggle.d.ts +39 -21
  187. package/types/yukit-web-helm-tooltip.d.ts +21 -16
  188. package/types/yukit-web-helm-typography.d.ts +62 -77
  189. package/types/yukit-web-helm-utils.d.ts +8 -11
  190. package/types/yukit-web.d.ts +5092 -2351
@@ -1,116 +1,252 @@
1
- import * as i0 from '@angular/core';
2
- import { input, computed, effect, untracked, Directive, forwardRef, ChangeDetectionStrategy, Component, signal, inject, Renderer2, ElementRef, booleanAttribute } from '@angular/core';
3
- import { BrnDialog, provideBrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';
4
- import * as i1 from '@spartan-ng/brain/sheet';
5
- import { BrnSheetOverlay, BrnSheet, BrnSheetClose, BrnSheetDescription, BrnSheetContent, BrnSheetTitle, BrnSheetTrigger } from '@spartan-ng/brain/sheet';
6
- import { injectCustomClassSettable, injectExposesStateProvider, injectExposedSideProvider } from '@spartan-ng/brain/core';
7
- import { hlm, classes } from 'yukit-web/helm/utils';
8
- import { NgIcon, provideIcons } from '@ng-icons/core';
9
- import { lucideX } from '@ng-icons/lucide';
10
- import { HlmButton } from 'yukit-web/helm/button';
11
-
12
- class HlmSheetOverlay {
13
- constructor() {
14
- this._classSettable = injectCustomClassSettable({ optional: true, host: true });
15
- this.userClass = input('', { ...(ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {}), alias: 'class' });
16
- this._computedClass = computed(() => hlm('data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 isolate bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs', this.userClass()), ...(ngDevMode ? [{ debugName: "_computedClass" }] : /* istanbul ignore next */ []));
17
- effect(() => {
18
- const classValue = this._computedClass();
19
- untracked(() => this._classSettable?.setClassToCustomElement(classValue));
20
- });
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetOverlay, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
23
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmSheetOverlay, isStandalone: true, selector: "[hlmSheetOverlay],hlm-sheet-overlay", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: i1.BrnSheetOverlay }], ngImport: i0 }); }
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetOverlay, decorators: [{
26
- type: Directive,
27
- args: [{
28
- selector: '[hlmSheetOverlay],hlm-sheet-overlay',
29
- hostDirectives: [BrnSheetOverlay],
30
- }]
31
- }], ctorParameters: () => [], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
32
-
33
- class HlmSheet extends BrnSheet {
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheet, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
35
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HlmSheet, isStandalone: true, selector: "hlm-sheet", providers: [
36
- {
37
- provide: BrnDialog,
38
- useExisting: forwardRef(() => BrnSheet),
39
- },
40
- {
41
- provide: BrnSheet,
42
- useExisting: forwardRef(() => HlmSheet),
43
- },
44
- provideBrnDialogDefaultOptions({
45
- // add custom options here
46
- }),
47
- ], exportAs: ["hlmSheet"], usesInheritance: true, ngImport: i0, template: `
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, ElementRef, Renderer2, booleanAttribute, computed, effect, forwardRef, inject, input, signal, untracked } from "@angular/core";
3
+ import { BrnDialog, provideBrnDialogDefaultOptions } from "@spartan-ng/brain/dialog";
4
+ import * as i1 from "@spartan-ng/brain/sheet";
5
+ import { BrnSheet, BrnSheetClose, BrnSheetContent, BrnSheetDescription, BrnSheetOverlay, BrnSheetTitle, BrnSheetTrigger } from "@spartan-ng/brain/sheet";
6
+ import { injectCustomClassSettable, injectExposedSideProvider, injectExposesStateProvider } from "@spartan-ng/brain/core";
7
+ import { classes, hlm } from "yukit-web/helm/utils";
8
+ import { NgIcon, provideIcons } from "@ng-icons/core";
9
+ import { lucideX } from "@ng-icons/lucide";
10
+ import { HlmButton } from "yukit-web/helm/button";
11
+ var HlmSheetOverlay = class HlmSheetOverlay {
12
+ constructor() {
13
+ this._classSettable = injectCustomClassSettable({
14
+ optional: true,
15
+ host: true
16
+ });
17
+ this.userClass = input("", {
18
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
19
+ alias: "class"
20
+ });
21
+ this._computedClass = computed(() => hlm("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 isolate bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs", this.userClass()), ...ngDevMode ? [{ debugName: "_computedClass" }] : /* istanbul ignore next */ []);
22
+ effect(() => {
23
+ const classValue = this._computedClass();
24
+ untracked(() => this._classSettable?.setClassToCustomElement(classValue));
25
+ });
26
+ }
27
+ static {
28
+ this.ɵfac = i0.ɵɵngDeclareFactory({
29
+ minVersion: "12.0.0",
30
+ version: "22.2.4",
31
+ ngImport: i0,
32
+ type: HlmSheetOverlay,
33
+ deps: [],
34
+ target: i0.ɵɵFactoryTarget.Directive
35
+ });
36
+ }
37
+ static {
38
+ this.ɵdir = i0.ɵɵngDeclareDirective({
39
+ minVersion: "17.1.0",
40
+ version: "22.2.4",
41
+ type: HlmSheetOverlay,
42
+ isStandalone: true,
43
+ selector: "[hlmSheetOverlay],hlm-sheet-overlay",
44
+ inputs: { userClass: {
45
+ classPropertyName: "userClass",
46
+ publicName: "class",
47
+ isSignal: true,
48
+ isRequired: false,
49
+ transformFunction: null
50
+ } },
51
+ hostDirectives: [{ directive: i1.BrnSheetOverlay }],
52
+ ngImport: i0
53
+ });
54
+ }
55
+ };
56
+ i0.ɵɵngDeclareClassMetadata({
57
+ minVersion: "12.0.0",
58
+ version: "22.2.4",
59
+ ngImport: i0,
60
+ type: HlmSheetOverlay,
61
+ decorators: [{
62
+ type: Directive,
63
+ args: [{
64
+ selector: "[hlmSheetOverlay],hlm-sheet-overlay",
65
+ hostDirectives: [BrnSheetOverlay]
66
+ }]
67
+ }],
68
+ ctorParameters: () => [],
69
+ propDecorators: { userClass: [{
70
+ type: i0.Input,
71
+ args: [{
72
+ isSignal: true,
73
+ alias: "class",
74
+ required: false
75
+ }]
76
+ }] }
77
+ });
78
+ var HlmSheet = class HlmSheet extends BrnSheet {
79
+ static {
80
+ this.ɵfac = i0.ɵɵngDeclareFactory({
81
+ minVersion: "12.0.0",
82
+ version: "22.2.4",
83
+ ngImport: i0,
84
+ type: HlmSheet,
85
+ deps: null,
86
+ target: i0.ɵɵFactoryTarget.Component
87
+ });
88
+ }
89
+ static {
90
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
91
+ minVersion: "14.0.0",
92
+ version: "22.2.4",
93
+ type: HlmSheet,
94
+ isStandalone: true,
95
+ selector: "hlm-sheet",
96
+ providers: [
97
+ {
98
+ provide: BrnDialog,
99
+ useExisting: forwardRef(() => BrnSheet)
100
+ },
101
+ {
102
+ provide: BrnSheet,
103
+ useExisting: forwardRef(() => HlmSheet)
104
+ },
105
+ provideBrnDialogDefaultOptions({})
106
+ ],
107
+ exportAs: ["hlmSheet"],
108
+ usesInheritance: true,
109
+ ngImport: i0,
110
+ template: `
48
111
  <hlm-sheet-overlay />
49
112
  <ng-content />
50
- `, isInline: true, dependencies: [{ kind: "directive", type: HlmSheetOverlay, selector: "[hlmSheetOverlay],hlm-sheet-overlay", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
- }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheet, decorators: [{
53
- type: Component,
54
- args: [{
55
- selector: 'hlm-sheet',
56
- exportAs: 'hlmSheet',
57
- imports: [HlmSheetOverlay],
58
- providers: [
59
- {
60
- provide: BrnDialog,
61
- useExisting: forwardRef(() => BrnSheet),
62
- },
63
- {
64
- provide: BrnSheet,
65
- useExisting: forwardRef(() => HlmSheet),
66
- },
67
- provideBrnDialogDefaultOptions({
68
- // add custom options here
69
- }),
70
- ],
71
- changeDetection: ChangeDetectionStrategy.OnPush,
72
- template: `
113
+ `,
114
+ isInline: true,
115
+ dependencies: [{
116
+ kind: "directive",
117
+ type: HlmSheetOverlay,
118
+ selector: "[hlmSheetOverlay],hlm-sheet-overlay",
119
+ inputs: ["class"]
120
+ }],
121
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
122
+ });
123
+ }
124
+ };
125
+ i0.ɵɵngDeclareClassMetadata({
126
+ minVersion: "12.0.0",
127
+ version: "22.2.4",
128
+ ngImport: i0,
129
+ type: HlmSheet,
130
+ decorators: [{
131
+ type: Component,
132
+ args: [{
133
+ selector: "hlm-sheet",
134
+ exportAs: "hlmSheet",
135
+ imports: [HlmSheetOverlay],
136
+ providers: [
137
+ {
138
+ provide: BrnDialog,
139
+ useExisting: forwardRef(() => BrnSheet)
140
+ },
141
+ {
142
+ provide: BrnSheet,
143
+ useExisting: forwardRef(() => HlmSheet)
144
+ },
145
+ provideBrnDialogDefaultOptions({})
146
+ ],
147
+ changeDetection: ChangeDetectionStrategy.OnPush,
148
+ template: `
73
149
  <hlm-sheet-overlay />
74
150
  <ng-content />
75
- `,
76
- }]
77
- }] });
78
-
79
- class HlmSheetClose {
80
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetClose, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
81
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmSheetClose, isStandalone: true, selector: "button[hlmSheetClose]", host: { attributes: { "data-slot": "sheet-close" } }, hostDirectives: [{ directive: i1.BrnSheetClose }], ngImport: i0 }); }
82
- }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetClose, decorators: [{
84
- type: Directive,
85
- args: [{
86
- selector: 'button[hlmSheetClose]',
87
- hostDirectives: [BrnSheetClose],
88
- host: { 'data-slot': 'sheet-close' },
89
- }]
90
- }] });
91
-
92
- class HlmSheetContent {
93
- constructor() {
94
- this._stateProvider = injectExposesStateProvider({ host: true });
95
- this._sideProvider = injectExposedSideProvider({ host: true });
96
- this.state = this._stateProvider.state ?? signal('closed');
97
- this._renderer = inject(Renderer2);
98
- this._element = inject(ElementRef);
99
- this.showCloseButton = input(true, { ...(ngDevMode ? { debugName: "showCloseButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
100
- classes(() => [
101
- 'bg-popover text-popover-foreground fixed flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm',
102
- 'data-open:animate-in data-closed:animate-out',
103
- 'data-[side=top]:data-closed:slide-out-to-top data-[side=top]:data-open:slide-in-from-top',
104
- 'data-[side=bottom]:data-closed:slide-out-to-bottom data-[side=bottom]:data-open:slide-in-from-bottom',
105
- 'data-[side=left]:data-closed:slide-out-to-left data-[side=left]:data-open:slide-in-from-left',
106
- 'data-[side=right]:data-closed:slide-out-to-right data-[side=right]:data-open:slide-in-from-right',
107
- ]);
108
- effect(() => {
109
- this._renderer.setAttribute(this._element.nativeElement, 'data-state', this.state());
110
- });
111
- }
112
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
113
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HlmSheetContent, isStandalone: true, selector: "hlm-sheet-content", inputs: { showCloseButton: { classPropertyName: "showCloseButton", publicName: "showCloseButton", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sheet-content" }, properties: { "attr.data-side": "_sideProvider.side()", "attr.data-state": "state()" } }, providers: [provideIcons({ lucideX })], ngImport: i0, template: `
151
+ `
152
+ }]
153
+ }]
154
+ });
155
+ var HlmSheetClose = class HlmSheetClose {
156
+ static {
157
+ this.ɵfac = i0.ɵɵngDeclareFactory({
158
+ minVersion: "12.0.0",
159
+ version: "22.2.4",
160
+ ngImport: i0,
161
+ type: HlmSheetClose,
162
+ deps: [],
163
+ target: i0.ɵɵFactoryTarget.Directive
164
+ });
165
+ }
166
+ static {
167
+ this.ɵdir = i0.ɵɵngDeclareDirective({
168
+ minVersion: "14.0.0",
169
+ version: "22.2.4",
170
+ type: HlmSheetClose,
171
+ isStandalone: true,
172
+ selector: "button[hlmSheetClose]",
173
+ host: { attributes: { "data-slot": "sheet-close" } },
174
+ hostDirectives: [{ directive: i1.BrnSheetClose }],
175
+ ngImport: i0
176
+ });
177
+ }
178
+ };
179
+ i0.ɵɵngDeclareClassMetadata({
180
+ minVersion: "12.0.0",
181
+ version: "22.2.4",
182
+ ngImport: i0,
183
+ type: HlmSheetClose,
184
+ decorators: [{
185
+ type: Directive,
186
+ args: [{
187
+ selector: "button[hlmSheetClose]",
188
+ hostDirectives: [BrnSheetClose],
189
+ host: { "data-slot": "sheet-close" }
190
+ }]
191
+ }]
192
+ });
193
+ var HlmSheetContent = class HlmSheetContent {
194
+ constructor() {
195
+ this._stateProvider = injectExposesStateProvider({ host: true });
196
+ this._sideProvider = injectExposedSideProvider({ host: true });
197
+ this.state = this._stateProvider.state ?? signal("closed");
198
+ this._renderer = inject(Renderer2);
199
+ this._element = inject(ElementRef);
200
+ this.showCloseButton = input(true, {
201
+ ...ngDevMode ? { debugName: "showCloseButton" } : /* istanbul ignore next */ {},
202
+ transform: booleanAttribute
203
+ });
204
+ classes(() => [
205
+ "bg-popover text-popover-foreground fixed flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",
206
+ "data-open:animate-in data-closed:animate-out",
207
+ "data-[side=top]:data-closed:slide-out-to-top data-[side=top]:data-open:slide-in-from-top",
208
+ "data-[side=bottom]:data-closed:slide-out-to-bottom data-[side=bottom]:data-open:slide-in-from-bottom",
209
+ "data-[side=left]:data-closed:slide-out-to-left data-[side=left]:data-open:slide-in-from-left",
210
+ "data-[side=right]:data-closed:slide-out-to-right data-[side=right]:data-open:slide-in-from-right"
211
+ ]);
212
+ effect(() => {
213
+ this._renderer.setAttribute(this._element.nativeElement, "data-state", this.state());
214
+ });
215
+ }
216
+ static {
217
+ this.ɵfac = i0.ɵɵngDeclareFactory({
218
+ minVersion: "12.0.0",
219
+ version: "22.2.4",
220
+ ngImport: i0,
221
+ type: HlmSheetContent,
222
+ deps: [],
223
+ target: i0.ɵɵFactoryTarget.Component
224
+ });
225
+ }
226
+ static {
227
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
228
+ minVersion: "17.0.0",
229
+ version: "22.2.4",
230
+ type: HlmSheetContent,
231
+ isStandalone: true,
232
+ selector: "hlm-sheet-content",
233
+ inputs: { showCloseButton: {
234
+ classPropertyName: "showCloseButton",
235
+ publicName: "showCloseButton",
236
+ isSignal: true,
237
+ isRequired: false,
238
+ transformFunction: null
239
+ } },
240
+ host: {
241
+ attributes: { "data-slot": "sheet-content" },
242
+ properties: {
243
+ "attr.data-side": "_sideProvider.side()",
244
+ "attr.data-state": "state()"
245
+ }
246
+ },
247
+ providers: [provideIcons({ lucideX })],
248
+ ngImport: i0,
249
+ template: `
114
250
  <ng-content />
115
251
 
116
252
  @if (showCloseButton()) {
@@ -119,21 +255,60 @@ class HlmSheetContent {
119
255
  <ng-icon name="lucideX" />
120
256
  </button>
121
257
  }
122
- `, isInline: true, dependencies: [{ kind: "directive", type: HlmButton, selector: "button[hlmBtn], a[hlmBtn]", inputs: ["variant", "size"], exportAs: ["hlmBtn"] }, { kind: "directive", type: HlmSheetClose, selector: "button[hlmSheetClose]" }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
123
- }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetContent, decorators: [{
125
- type: Component,
126
- args: [{
127
- selector: 'hlm-sheet-content',
128
- imports: [HlmButton, HlmSheetClose, NgIcon],
129
- providers: [provideIcons({ lucideX })],
130
- changeDetection: ChangeDetectionStrategy.OnPush,
131
- host: {
132
- 'data-slot': 'sheet-content',
133
- '[attr.data-side]': '_sideProvider.side()',
134
- '[attr.data-state]': 'state()',
135
- },
136
- template: `
258
+ `,
259
+ isInline: true,
260
+ dependencies: [
261
+ {
262
+ kind: "directive",
263
+ type: HlmButton,
264
+ selector: "button[hlmBtn], a[hlmBtn]",
265
+ inputs: ["variant", "size"],
266
+ exportAs: ["hlmBtn"]
267
+ },
268
+ {
269
+ kind: "directive",
270
+ type: HlmSheetClose,
271
+ selector: "button[hlmSheetClose]"
272
+ },
273
+ {
274
+ kind: "component",
275
+ type: NgIcon,
276
+ selector: "ng-icon",
277
+ inputs: [
278
+ "name",
279
+ "svg",
280
+ "size",
281
+ "strokeWidth",
282
+ "color"
283
+ ]
284
+ }
285
+ ],
286
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
287
+ });
288
+ }
289
+ };
290
+ i0.ɵɵngDeclareClassMetadata({
291
+ minVersion: "12.0.0",
292
+ version: "22.2.4",
293
+ ngImport: i0,
294
+ type: HlmSheetContent,
295
+ decorators: [{
296
+ type: Component,
297
+ args: [{
298
+ selector: "hlm-sheet-content",
299
+ imports: [
300
+ HlmButton,
301
+ HlmSheetClose,
302
+ NgIcon
303
+ ],
304
+ providers: [provideIcons({ lucideX })],
305
+ changeDetection: ChangeDetectionStrategy.OnPush,
306
+ host: {
307
+ "data-slot": "sheet-content",
308
+ "[attr.data-side]": "_sideProvider.side()",
309
+ "[attr.data-state]": "state()"
310
+ },
311
+ template: `
137
312
  <ng-content />
138
313
 
139
314
  @if (showCloseButton()) {
@@ -142,113 +317,297 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
142
317
  <ng-icon name="lucideX" />
143
318
  </button>
144
319
  }
145
- `,
146
- }]
147
- }], ctorParameters: () => [], propDecorators: { showCloseButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCloseButton", required: false }] }] } });
148
-
149
- class HlmSheetDescription {
150
- constructor() {
151
- classes(() => 'text-muted-foreground text-sm');
152
- }
153
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
154
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmSheetDescription, isStandalone: true, selector: "[hlmSheetDescription]", host: { attributes: { "data-slot": "sheet-description" } }, hostDirectives: [{ directive: i1.BrnSheetDescription }], ngImport: i0 }); }
155
- }
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetDescription, decorators: [{
157
- type: Directive,
158
- args: [{
159
- selector: '[hlmSheetDescription]',
160
- hostDirectives: [BrnSheetDescription],
161
- host: { 'data-slot': 'sheet-description' },
162
- }]
163
- }], ctorParameters: () => [] });
164
-
165
- class HlmSheetFooter {
166
- constructor() {
167
- classes(() => 'gap-2 p-4 mt-auto flex flex-col');
168
- }
169
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
170
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmSheetFooter, isStandalone: true, selector: "[hlmSheetFooter],hlm-sheet-footer", host: { attributes: { "data-slot": "sheet-footer" } }, ngImport: i0 }); }
171
- }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetFooter, decorators: [{
173
- type: Directive,
174
- args: [{
175
- selector: '[hlmSheetFooter],hlm-sheet-footer',
176
- host: { 'data-slot': 'sheet-footer' },
177
- }]
178
- }], ctorParameters: () => [] });
179
-
180
- class HlmSheetHeader {
181
- constructor() {
182
- classes(() => 'gap-0.5 p-4 flex flex-col');
183
- }
184
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
185
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmSheetHeader, isStandalone: true, selector: "[hlmSheetHeader],hlm-sheet-header", host: { attributes: { "data-slot": "sheet-header" } }, ngImport: i0 }); }
186
- }
187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetHeader, decorators: [{
188
- type: Directive,
189
- args: [{
190
- selector: '[hlmSheetHeader],hlm-sheet-header',
191
- host: { 'data-slot': 'sheet-header' },
192
- }]
193
- }], ctorParameters: () => [] });
194
-
195
- class HlmSheetPortal {
196
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
197
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmSheetPortal, isStandalone: true, selector: "[hlmSheetPortal]", hostDirectives: [{ directive: i1.BrnSheetContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
198
- }
199
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetPortal, decorators: [{
200
- type: Directive,
201
- args: [{
202
- selector: '[hlmSheetPortal]',
203
- hostDirectives: [{ directive: BrnSheetContent, inputs: ['context', 'class'] }],
204
- }]
205
- }] });
206
-
207
- class HlmSheetTitle {
208
- constructor() {
209
- classes(() => 'text-foreground text-base font-medium');
210
- }
211
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
212
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmSheetTitle, isStandalone: true, selector: "[hlmSheetTitle]", host: { attributes: { "data-slot": "sheet-title" } }, hostDirectives: [{ directive: i1.BrnSheetTitle }], ngImport: i0 }); }
213
- }
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetTitle, decorators: [{
215
- type: Directive,
216
- args: [{
217
- selector: '[hlmSheetTitle]',
218
- hostDirectives: [BrnSheetTitle],
219
- host: { 'data-slot': 'sheet-title' },
220
- }]
221
- }], ctorParameters: () => [] });
222
-
223
- class HlmSheetTrigger {
224
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
225
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmSheetTrigger, isStandalone: true, selector: "button[hlmSheetTrigger]", host: { attributes: { "data-slot": "sheet-trigger" } }, hostDirectives: [{ directive: i1.BrnSheetTrigger, inputs: ["id", "id", "side", "side", "type", "type"] }], ngImport: i0 }); }
226
- }
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmSheetTrigger, decorators: [{
228
- type: Directive,
229
- args: [{
230
- selector: 'button[hlmSheetTrigger]',
231
- hostDirectives: [{ directive: BrnSheetTrigger, inputs: ['id', 'side', 'type'] }],
232
- host: { 'data-slot': 'sheet-trigger' },
233
- }]
234
- }] });
235
-
320
+ `
321
+ }]
322
+ }],
323
+ ctorParameters: () => [],
324
+ propDecorators: { showCloseButton: [{
325
+ type: i0.Input,
326
+ args: [{
327
+ isSignal: true,
328
+ alias: "showCloseButton",
329
+ required: false
330
+ }]
331
+ }] }
332
+ });
333
+ var HlmSheetDescription = class HlmSheetDescription {
334
+ constructor() {
335
+ classes(() => "text-muted-foreground text-sm");
336
+ }
337
+ static {
338
+ this.ɵfac = i0.ɵɵngDeclareFactory({
339
+ minVersion: "12.0.0",
340
+ version: "22.2.4",
341
+ ngImport: i0,
342
+ type: HlmSheetDescription,
343
+ deps: [],
344
+ target: i0.ɵɵFactoryTarget.Directive
345
+ });
346
+ }
347
+ static {
348
+ this.ɵdir = i0.ɵɵngDeclareDirective({
349
+ minVersion: "14.0.0",
350
+ version: "22.2.4",
351
+ type: HlmSheetDescription,
352
+ isStandalone: true,
353
+ selector: "[hlmSheetDescription]",
354
+ host: { attributes: { "data-slot": "sheet-description" } },
355
+ hostDirectives: [{ directive: i1.BrnSheetDescription }],
356
+ ngImport: i0
357
+ });
358
+ }
359
+ };
360
+ i0.ɵɵngDeclareClassMetadata({
361
+ minVersion: "12.0.0",
362
+ version: "22.2.4",
363
+ ngImport: i0,
364
+ type: HlmSheetDescription,
365
+ decorators: [{
366
+ type: Directive,
367
+ args: [{
368
+ selector: "[hlmSheetDescription]",
369
+ hostDirectives: [BrnSheetDescription],
370
+ host: { "data-slot": "sheet-description" }
371
+ }]
372
+ }],
373
+ ctorParameters: () => []
374
+ });
375
+ var HlmSheetFooter = class HlmSheetFooter {
376
+ constructor() {
377
+ classes(() => "gap-2 p-4 mt-auto flex flex-col");
378
+ }
379
+ static {
380
+ this.ɵfac = i0.ɵɵngDeclareFactory({
381
+ minVersion: "12.0.0",
382
+ version: "22.2.4",
383
+ ngImport: i0,
384
+ type: HlmSheetFooter,
385
+ deps: [],
386
+ target: i0.ɵɵFactoryTarget.Directive
387
+ });
388
+ }
389
+ static {
390
+ this.ɵdir = i0.ɵɵngDeclareDirective({
391
+ minVersion: "14.0.0",
392
+ version: "22.2.4",
393
+ type: HlmSheetFooter,
394
+ isStandalone: true,
395
+ selector: "[hlmSheetFooter],hlm-sheet-footer",
396
+ host: { attributes: { "data-slot": "sheet-footer" } },
397
+ ngImport: i0
398
+ });
399
+ }
400
+ };
401
+ i0.ɵɵngDeclareClassMetadata({
402
+ minVersion: "12.0.0",
403
+ version: "22.2.4",
404
+ ngImport: i0,
405
+ type: HlmSheetFooter,
406
+ decorators: [{
407
+ type: Directive,
408
+ args: [{
409
+ selector: "[hlmSheetFooter],hlm-sheet-footer",
410
+ host: { "data-slot": "sheet-footer" }
411
+ }]
412
+ }],
413
+ ctorParameters: () => []
414
+ });
415
+ var HlmSheetHeader = class HlmSheetHeader {
416
+ constructor() {
417
+ classes(() => "gap-0.5 p-4 flex flex-col");
418
+ }
419
+ static {
420
+ this.ɵfac = i0.ɵɵngDeclareFactory({
421
+ minVersion: "12.0.0",
422
+ version: "22.2.4",
423
+ ngImport: i0,
424
+ type: HlmSheetHeader,
425
+ deps: [],
426
+ target: i0.ɵɵFactoryTarget.Directive
427
+ });
428
+ }
429
+ static {
430
+ this.ɵdir = i0.ɵɵngDeclareDirective({
431
+ minVersion: "14.0.0",
432
+ version: "22.2.4",
433
+ type: HlmSheetHeader,
434
+ isStandalone: true,
435
+ selector: "[hlmSheetHeader],hlm-sheet-header",
436
+ host: { attributes: { "data-slot": "sheet-header" } },
437
+ ngImport: i0
438
+ });
439
+ }
440
+ };
441
+ i0.ɵɵngDeclareClassMetadata({
442
+ minVersion: "12.0.0",
443
+ version: "22.2.4",
444
+ ngImport: i0,
445
+ type: HlmSheetHeader,
446
+ decorators: [{
447
+ type: Directive,
448
+ args: [{
449
+ selector: "[hlmSheetHeader],hlm-sheet-header",
450
+ host: { "data-slot": "sheet-header" }
451
+ }]
452
+ }],
453
+ ctorParameters: () => []
454
+ });
455
+ var HlmSheetPortal = class HlmSheetPortal {
456
+ static {
457
+ this.ɵfac = i0.ɵɵngDeclareFactory({
458
+ minVersion: "12.0.0",
459
+ version: "22.2.4",
460
+ ngImport: i0,
461
+ type: HlmSheetPortal,
462
+ deps: [],
463
+ target: i0.ɵɵFactoryTarget.Directive
464
+ });
465
+ }
466
+ static {
467
+ this.ɵdir = i0.ɵɵngDeclareDirective({
468
+ minVersion: "14.0.0",
469
+ version: "22.2.4",
470
+ type: HlmSheetPortal,
471
+ isStandalone: true,
472
+ selector: "[hlmSheetPortal]",
473
+ hostDirectives: [{
474
+ directive: i1.BrnSheetContent,
475
+ inputs: [
476
+ "context",
477
+ "context",
478
+ "class",
479
+ "class"
480
+ ]
481
+ }],
482
+ ngImport: i0
483
+ });
484
+ }
485
+ };
486
+ i0.ɵɵngDeclareClassMetadata({
487
+ minVersion: "12.0.0",
488
+ version: "22.2.4",
489
+ ngImport: i0,
490
+ type: HlmSheetPortal,
491
+ decorators: [{
492
+ type: Directive,
493
+ args: [{
494
+ selector: "[hlmSheetPortal]",
495
+ hostDirectives: [{
496
+ directive: BrnSheetContent,
497
+ inputs: ["context", "class"]
498
+ }]
499
+ }]
500
+ }]
501
+ });
502
+ var HlmSheetTitle = class HlmSheetTitle {
503
+ constructor() {
504
+ classes(() => "text-foreground text-base font-medium");
505
+ }
506
+ static {
507
+ this.ɵfac = i0.ɵɵngDeclareFactory({
508
+ minVersion: "12.0.0",
509
+ version: "22.2.4",
510
+ ngImport: i0,
511
+ type: HlmSheetTitle,
512
+ deps: [],
513
+ target: i0.ɵɵFactoryTarget.Directive
514
+ });
515
+ }
516
+ static {
517
+ this.ɵdir = i0.ɵɵngDeclareDirective({
518
+ minVersion: "14.0.0",
519
+ version: "22.2.4",
520
+ type: HlmSheetTitle,
521
+ isStandalone: true,
522
+ selector: "[hlmSheetTitle]",
523
+ host: { attributes: { "data-slot": "sheet-title" } },
524
+ hostDirectives: [{ directive: i1.BrnSheetTitle }],
525
+ ngImport: i0
526
+ });
527
+ }
528
+ };
529
+ i0.ɵɵngDeclareClassMetadata({
530
+ minVersion: "12.0.0",
531
+ version: "22.2.4",
532
+ ngImport: i0,
533
+ type: HlmSheetTitle,
534
+ decorators: [{
535
+ type: Directive,
536
+ args: [{
537
+ selector: "[hlmSheetTitle]",
538
+ hostDirectives: [BrnSheetTitle],
539
+ host: { "data-slot": "sheet-title" }
540
+ }]
541
+ }],
542
+ ctorParameters: () => []
543
+ });
544
+ var HlmSheetTrigger = class HlmSheetTrigger {
545
+ static {
546
+ this.ɵfac = i0.ɵɵngDeclareFactory({
547
+ minVersion: "12.0.0",
548
+ version: "22.2.4",
549
+ ngImport: i0,
550
+ type: HlmSheetTrigger,
551
+ deps: [],
552
+ target: i0.ɵɵFactoryTarget.Directive
553
+ });
554
+ }
555
+ static {
556
+ this.ɵdir = i0.ɵɵngDeclareDirective({
557
+ minVersion: "14.0.0",
558
+ version: "22.2.4",
559
+ type: HlmSheetTrigger,
560
+ isStandalone: true,
561
+ selector: "button[hlmSheetTrigger]",
562
+ host: { attributes: { "data-slot": "sheet-trigger" } },
563
+ hostDirectives: [{
564
+ directive: i1.BrnSheetTrigger,
565
+ inputs: [
566
+ "id",
567
+ "id",
568
+ "side",
569
+ "side",
570
+ "type",
571
+ "type"
572
+ ]
573
+ }],
574
+ ngImport: i0
575
+ });
576
+ }
577
+ };
578
+ i0.ɵɵngDeclareClassMetadata({
579
+ minVersion: "12.0.0",
580
+ version: "22.2.4",
581
+ ngImport: i0,
582
+ type: HlmSheetTrigger,
583
+ decorators: [{
584
+ type: Directive,
585
+ args: [{
586
+ selector: "button[hlmSheetTrigger]",
587
+ hostDirectives: [{
588
+ directive: BrnSheetTrigger,
589
+ inputs: [
590
+ "id",
591
+ "side",
592
+ "type"
593
+ ]
594
+ }],
595
+ host: { "data-slot": "sheet-trigger" }
596
+ }]
597
+ }]
598
+ });
236
599
  const HlmSheetImports = [
237
- HlmSheet,
238
- HlmSheetClose,
239
- HlmSheetContent,
240
- HlmSheetDescription,
241
- HlmSheetFooter,
242
- HlmSheetHeader,
243
- HlmSheetOverlay,
244
- HlmSheetPortal,
245
- HlmSheetTitle,
246
- HlmSheetTrigger,
600
+ HlmSheet,
601
+ HlmSheetClose,
602
+ HlmSheetContent,
603
+ HlmSheetDescription,
604
+ HlmSheetFooter,
605
+ HlmSheetHeader,
606
+ HlmSheetOverlay,
607
+ HlmSheetPortal,
608
+ HlmSheetTitle,
609
+ HlmSheetTrigger
247
610
  ];
248
-
249
- /**
250
- * Generated bundle index. Do not edit.
251
- */
252
-
253
611
  export { HlmSheet, HlmSheetClose, HlmSheetContent, HlmSheetDescription, HlmSheetFooter, HlmSheetHeader, HlmSheetImports, HlmSheetOverlay, HlmSheetPortal, HlmSheetTitle, HlmSheetTrigger };
254
- //# sourceMappingURL=yukit-web-helm-sheet.mjs.map
612
+
613
+ //# sourceMappingURL=yukit-web-helm-sheet.mjs.map