yukit-web 0.10.6 → 0.10.8

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 (193) 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 +24592 -9669
  126. package/fesm2022/yukit-web.mjs.map +1 -1
  127. package/package.json +9 -9
  128. package/src/lib/theme/components/button.css +14 -0
  129. package/src/lib/theme/spartan-overwrites/sonner.css +2 -2
  130. package/src/lib/theme/tokens/component-colors.css +6 -2
  131. package/types/yukit-web-chart.d.ts +184 -125
  132. package/types/yukit-web-helm-accordion.d.ts +49 -28
  133. package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
  134. package/types/yukit-web-helm-alert.d.ts +30 -32
  135. package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
  136. package/types/yukit-web-helm-attachment.d.ts +97 -69
  137. package/types/yukit-web-helm-autocomplete.d.ts +205 -79
  138. package/types/yukit-web-helm-avatar.d.ts +44 -39
  139. package/types/yukit-web-helm-badge.d.ts +18 -17
  140. package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
  141. package/types/yukit-web-helm-bubble.d.ts +54 -40
  142. package/types/yukit-web-helm-button-group.d.ts +29 -22
  143. package/types/yukit-web-helm-button.d.ts +41 -31
  144. package/types/yukit-web-helm-calendar.d.ts +157 -85
  145. package/types/yukit-web-helm-card.d.ts +38 -42
  146. package/types/yukit-web-helm-carousel.d.ts +105 -73
  147. package/types/yukit-web-helm-checkbox.d.ts +117 -58
  148. package/types/yukit-web-helm-collapsible.d.ts +34 -19
  149. package/types/yukit-web-helm-combobox.d.ts +355 -150
  150. package/types/yukit-web-helm-command.d.ts +140 -73
  151. package/types/yukit-web-helm-context-menu.d.ts +48 -27
  152. package/types/yukit-web-helm-date-picker.d.ts +852 -556
  153. package/types/yukit-web-helm-dialog.d.ts +106 -78
  154. package/types/yukit-web-helm-drawer.d.ts +90 -61
  155. package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
  156. package/types/yukit-web-helm-empty.d.ts +38 -42
  157. package/types/yukit-web-helm-field.d.ts +122 -91
  158. package/types/yukit-web-helm-hover-card.d.ts +39 -27
  159. package/types/yukit-web-helm-input-group.d.ts +63 -41
  160. package/types/yukit-web-helm-input-otp.d.ts +38 -35
  161. package/types/yukit-web-helm-input.d.ts +19 -12
  162. package/types/yukit-web-helm-item.d.ts +90 -82
  163. package/types/yukit-web-helm-kbd.d.ts +10 -15
  164. package/types/yukit-web-helm-label.d.ts +14 -11
  165. package/types/yukit-web-helm-marker.d.ts +26 -27
  166. package/types/yukit-web-helm-menubar.d.ts +61 -32
  167. package/types/yukit-web-helm-message.d.ts +34 -38
  168. package/types/yukit-web-helm-native-select.d.ts +102 -61
  169. package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
  170. package/types/yukit-web-helm-pagination.d.ts +344 -166
  171. package/types/yukit-web-helm-popover.d.ts +62 -42
  172. package/types/yukit-web-helm-progress.d.ts +27 -20
  173. package/types/yukit-web-helm-radio-group.d.ts +121 -63
  174. package/types/yukit-web-helm-resizable.d.ts +46 -24
  175. package/types/yukit-web-helm-scroll-area.d.ts +6 -10
  176. package/types/yukit-web-helm-select.d.ts +231 -114
  177. package/types/yukit-web-helm-separator.d.ts +15 -12
  178. package/types/yukit-web-helm-sheet.d.ts +94 -65
  179. package/types/yukit-web-helm-sidebar.d.ts +322 -232
  180. package/types/yukit-web-helm-skeleton.d.ts +6 -10
  181. package/types/yukit-web-helm-slider.d.ts +33 -13
  182. package/types/yukit-web-helm-sonner.d.ts +112 -51
  183. package/types/yukit-web-helm-spinner.d.ts +24 -17
  184. package/types/yukit-web-helm-switch.d.ts +89 -51
  185. package/types/yukit-web-helm-table.d.ts +38 -42
  186. package/types/yukit-web-helm-tabs.d.ts +116 -60
  187. package/types/yukit-web-helm-textarea.d.ts +19 -12
  188. package/types/yukit-web-helm-toggle-group.d.ts +81 -32
  189. package/types/yukit-web-helm-toggle.d.ts +39 -21
  190. package/types/yukit-web-helm-tooltip.d.ts +21 -16
  191. package/types/yukit-web-helm-typography.d.ts +62 -77
  192. package/types/yukit-web-helm-utils.d.ts +8 -11
  193. package/types/yukit-web.d.ts +5125 -2357
@@ -1,171 +1,363 @@
1
- import * as i0 from '@angular/core';
2
- import { Directive, input } from '@angular/core';
3
- import { classes } from 'yukit-web/helm/utils';
4
- import { cva } from 'class-variance-authority';
5
- import * as i1 from 'yukit-web/helm/button';
6
- import { provideBrnButtonConfig, HlmButton } from 'yukit-web/helm/button';
7
- import * as i1$1 from 'yukit-web/helm/input';
8
- import { HlmInput } from 'yukit-web/helm/input';
9
- import * as i1$2 from 'yukit-web/helm/textarea';
10
- import { HlmTextarea } from 'yukit-web/helm/textarea';
11
-
12
- class HlmInputGroup {
13
- constructor() {
14
- classes(() => 'border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-[[data-slot=input-group-control]:disabled]:bg-input/50 dark:has-[[data-slot=input-group-control]:disabled]:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto');
15
- }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
17
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmInputGroup, isStandalone: true, selector: "[hlmInputGroup],hlm-input-group", host: { attributes: { "data-slot": "input-group", "role": "group" } }, ngImport: i0 }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroup, decorators: [{
20
- type: Directive,
21
- args: [{
22
- selector: '[hlmInputGroup],hlm-input-group',
23
- host: {
24
- 'data-slot': 'input-group',
25
- role: 'group',
26
- },
27
- }]
28
- }], ctorParameters: () => [] });
29
-
1
+ import * as i0 from "@angular/core";
2
+ import { Directive, input } from "@angular/core";
3
+ import { classes } from "yukit-web/helm/utils";
4
+ import { cva } from "class-variance-authority";
5
+ import * as i1$2 from "yukit-web/helm/button";
6
+ import { HlmButton, provideBrnButtonConfig } from "yukit-web/helm/button";
7
+ import * as i1$1 from "yukit-web/helm/input";
8
+ import { HlmInput } from "yukit-web/helm/input";
9
+ import * as i1 from "yukit-web/helm/textarea";
10
+ import { HlmTextarea } from "yukit-web/helm/textarea";
11
+ var HlmInputGroup = class HlmInputGroup {
12
+ constructor() {
13
+ classes(() => "border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-[[data-slot=input-group-control]:disabled]:bg-input/50 dark:has-[[data-slot=input-group-control]:disabled]:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto");
14
+ }
15
+ static {
16
+ this.ɵfac = i0.ɵɵngDeclareFactory({
17
+ minVersion: "12.0.0",
18
+ version: "22.2.4",
19
+ ngImport: i0,
20
+ type: HlmInputGroup,
21
+ deps: [],
22
+ target: i0.ɵɵFactoryTarget.Directive
23
+ });
24
+ }
25
+ static {
26
+ this.ɵdir = i0.ɵɵngDeclareDirective({
27
+ minVersion: "14.0.0",
28
+ version: "22.2.4",
29
+ type: HlmInputGroup,
30
+ isStandalone: true,
31
+ selector: "[hlmInputGroup],hlm-input-group",
32
+ host: { attributes: {
33
+ "data-slot": "input-group",
34
+ "role": "group"
35
+ } },
36
+ ngImport: i0
37
+ });
38
+ }
39
+ };
40
+ i0.ɵɵngDeclareClassMetadata({
41
+ minVersion: "12.0.0",
42
+ version: "22.2.4",
43
+ ngImport: i0,
44
+ type: HlmInputGroup,
45
+ decorators: [{
46
+ type: Directive,
47
+ args: [{
48
+ selector: "[hlmInputGroup],hlm-input-group",
49
+ host: {
50
+ "data-slot": "input-group",
51
+ role: "group"
52
+ }
53
+ }]
54
+ }],
55
+ ctorParameters: () => []
56
+ });
30
57
  const inputGroupAddonVariants$1 = cva("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex cursor-text items-center justify-center select-none", {
31
- variants: {
32
- align: {
33
- 'inline-start': 'ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first',
34
- 'inline-end': 'pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last',
35
- 'block-start': 'px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start',
36
- 'block-end': 'px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start',
37
- },
38
- },
39
- defaultVariants: {
40
- align: 'inline-start',
41
- },
58
+ variants: { align: {
59
+ "inline-start": "ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first",
60
+ "inline-end": "pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last",
61
+ "block-start": "px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start",
62
+ "block-end": "px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"
63
+ } },
64
+ defaultVariants: { align: "inline-start" }
42
65
  });
43
- class HlmInputGroupAddon {
44
- constructor() {
45
- this.align = input('inline-start', ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
46
- classes(() => inputGroupAddonVariants$1({ align: this.align() }));
47
- }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupAddon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
49
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmInputGroupAddon, isStandalone: true, selector: "[hlmInputGroupAddon],hlm-input-group-addon", inputs: { align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group", "data-slot": "input-group-addon" }, properties: { "attr.data-align": "align()" } }, ngImport: i0 }); }
50
- }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupAddon, decorators: [{
52
- type: Directive,
53
- args: [{
54
- selector: '[hlmInputGroupAddon],hlm-input-group-addon',
55
- host: {
56
- role: 'group',
57
- 'data-slot': 'input-group-addon',
58
- '[attr.data-align]': 'align()',
59
- },
60
- }]
61
- }], ctorParameters: () => [], propDecorators: { align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }] } });
62
-
63
- const inputGroupAddonVariants = cva('gap-2 text-sm flex items-center shadow-none', {
64
- variants: {
65
- size: {
66
- xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]",
67
- sm: '',
68
- 'icon-xs': 'size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>ng-icon]:p-0',
69
- 'icon-sm': 'size-8 p-0 has-[>ng-icon]:p-0',
70
- },
71
- },
72
- defaultVariants: {
73
- size: 'xs',
74
- },
66
+ var HlmInputGroupAddon = class HlmInputGroupAddon {
67
+ constructor() {
68
+ this.align = input("inline-start", ...ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []);
69
+ classes(() => inputGroupAddonVariants$1({ align: this.align() }));
70
+ }
71
+ static {
72
+ this.ɵfac = i0.ɵɵngDeclareFactory({
73
+ minVersion: "12.0.0",
74
+ version: "22.2.4",
75
+ ngImport: i0,
76
+ type: HlmInputGroupAddon,
77
+ deps: [],
78
+ target: i0.ɵɵFactoryTarget.Directive
79
+ });
80
+ }
81
+ static {
82
+ this.ɵdir = i0.ɵɵngDeclareDirective({
83
+ minVersion: "17.1.0",
84
+ version: "22.2.4",
85
+ type: HlmInputGroupAddon,
86
+ isStandalone: true,
87
+ selector: "[hlmInputGroupAddon],hlm-input-group-addon",
88
+ inputs: { align: {
89
+ classPropertyName: "align",
90
+ publicName: "align",
91
+ isSignal: true,
92
+ isRequired: false,
93
+ transformFunction: null
94
+ } },
95
+ host: {
96
+ attributes: {
97
+ "role": "group",
98
+ "data-slot": "input-group-addon"
99
+ },
100
+ properties: { "attr.data-align": "align()" }
101
+ },
102
+ ngImport: i0
103
+ });
104
+ }
105
+ };
106
+ i0.ɵɵngDeclareClassMetadata({
107
+ minVersion: "12.0.0",
108
+ version: "22.2.4",
109
+ ngImport: i0,
110
+ type: HlmInputGroupAddon,
111
+ decorators: [{
112
+ type: Directive,
113
+ args: [{
114
+ selector: "[hlmInputGroupAddon],hlm-input-group-addon",
115
+ host: {
116
+ role: "group",
117
+ "data-slot": "input-group-addon",
118
+ "[attr.data-align]": "align()"
119
+ }
120
+ }]
121
+ }],
122
+ ctorParameters: () => [],
123
+ propDecorators: { align: [{
124
+ type: i0.Input,
125
+ args: [{
126
+ isSignal: true,
127
+ alias: "align",
128
+ required: false
129
+ }]
130
+ }] }
131
+ });
132
+ const inputGroupAddonVariants = cva("gap-2 text-sm flex items-center shadow-none", {
133
+ variants: { size: {
134
+ xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]",
135
+ sm: "",
136
+ "icon-xs": "size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>ng-icon]:p-0",
137
+ "icon-sm": "size-8 p-0 has-[>ng-icon]:p-0"
138
+ } },
139
+ defaultVariants: { size: "xs" }
140
+ });
141
+ var HlmInputGroupButton = class HlmInputGroupButton {
142
+ constructor() {
143
+ this.size = input("xs", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
144
+ this.type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
145
+ classes(() => inputGroupAddonVariants({ size: this.size() }));
146
+ }
147
+ static {
148
+ this.ɵfac = i0.ɵɵngDeclareFactory({
149
+ minVersion: "12.0.0",
150
+ version: "22.2.4",
151
+ ngImport: i0,
152
+ type: HlmInputGroupButton,
153
+ deps: [],
154
+ target: i0.ɵɵFactoryTarget.Directive
155
+ });
156
+ }
157
+ static {
158
+ this.ɵdir = i0.ɵɵngDeclareDirective({
159
+ minVersion: "17.1.0",
160
+ version: "22.2.4",
161
+ type: HlmInputGroupButton,
162
+ isStandalone: true,
163
+ selector: "button[hlmInputGroupButton]",
164
+ inputs: {
165
+ size: {
166
+ classPropertyName: "size",
167
+ publicName: "size",
168
+ isSignal: true,
169
+ isRequired: false,
170
+ transformFunction: null
171
+ },
172
+ type: {
173
+ classPropertyName: "type",
174
+ publicName: "type",
175
+ isSignal: true,
176
+ isRequired: false,
177
+ transformFunction: null
178
+ }
179
+ },
180
+ host: { properties: {
181
+ "attr.data-size": "size()",
182
+ "type": "type()"
183
+ } },
184
+ providers: [provideBrnButtonConfig({ variant: "ghost" })],
185
+ hostDirectives: [{
186
+ directive: i1$2.HlmButton,
187
+ inputs: ["variant", "variant"]
188
+ }],
189
+ ngImport: i0
190
+ });
191
+ }
192
+ };
193
+ i0.ɵɵngDeclareClassMetadata({
194
+ minVersion: "12.0.0",
195
+ version: "22.2.4",
196
+ ngImport: i0,
197
+ type: HlmInputGroupButton,
198
+ decorators: [{
199
+ type: Directive,
200
+ args: [{
201
+ selector: "button[hlmInputGroupButton]",
202
+ providers: [provideBrnButtonConfig({ variant: "ghost" })],
203
+ hostDirectives: [{
204
+ directive: HlmButton,
205
+ inputs: ["variant"]
206
+ }],
207
+ host: {
208
+ "[attr.data-size]": "size()",
209
+ "[type]": "type()"
210
+ }
211
+ }]
212
+ }],
213
+ ctorParameters: () => [],
214
+ propDecorators: {
215
+ size: [{
216
+ type: i0.Input,
217
+ args: [{
218
+ isSignal: true,
219
+ alias: "size",
220
+ required: false
221
+ }]
222
+ }],
223
+ type: [{
224
+ type: i0.Input,
225
+ args: [{
226
+ isSignal: true,
227
+ alias: "type",
228
+ required: false
229
+ }]
230
+ }]
231
+ }
232
+ });
233
+ var HlmInputGroupInput = class HlmInputGroupInput {
234
+ constructor() {
235
+ classes(() => `rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1`);
236
+ }
237
+ static {
238
+ this.ɵfac = i0.ɵɵngDeclareFactory({
239
+ minVersion: "12.0.0",
240
+ version: "22.2.4",
241
+ ngImport: i0,
242
+ type: HlmInputGroupInput,
243
+ deps: [],
244
+ target: i0.ɵɵFactoryTarget.Directive
245
+ });
246
+ }
247
+ static {
248
+ this.ɵdir = i0.ɵɵngDeclareDirective({
249
+ minVersion: "14.0.0",
250
+ version: "22.2.4",
251
+ type: HlmInputGroupInput,
252
+ isStandalone: true,
253
+ selector: "input[hlmInputGroupInput]",
254
+ host: { attributes: { "data-slot": "input-group-control" } },
255
+ hostDirectives: [{ directive: i1$1.HlmInput }],
256
+ ngImport: i0
257
+ });
258
+ }
259
+ };
260
+ i0.ɵɵngDeclareClassMetadata({
261
+ minVersion: "12.0.0",
262
+ version: "22.2.4",
263
+ ngImport: i0,
264
+ type: HlmInputGroupInput,
265
+ decorators: [{
266
+ type: Directive,
267
+ args: [{
268
+ selector: "input[hlmInputGroupInput]",
269
+ hostDirectives: [HlmInput],
270
+ host: { "data-slot": "input-group-control" }
271
+ }]
272
+ }],
273
+ ctorParameters: () => []
274
+ });
275
+ var HlmInputGroupText = class HlmInputGroupText {
276
+ constructor() {
277
+ classes(() => "text-muted-foreground gap-2 text-sm [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center [&_ng-icon]:pointer-events-none");
278
+ }
279
+ static {
280
+ this.ɵfac = i0.ɵɵngDeclareFactory({
281
+ minVersion: "12.0.0",
282
+ version: "22.2.4",
283
+ ngImport: i0,
284
+ type: HlmInputGroupText,
285
+ deps: [],
286
+ target: i0.ɵɵFactoryTarget.Directive
287
+ });
288
+ }
289
+ static {
290
+ this.ɵdir = i0.ɵɵngDeclareDirective({
291
+ minVersion: "14.0.0",
292
+ version: "22.2.4",
293
+ type: HlmInputGroupText,
294
+ isStandalone: true,
295
+ selector: "[hlmInputGroupText],hlm-input-group-text",
296
+ ngImport: i0
297
+ });
298
+ }
299
+ };
300
+ i0.ɵɵngDeclareClassMetadata({
301
+ minVersion: "12.0.0",
302
+ version: "22.2.4",
303
+ ngImport: i0,
304
+ type: HlmInputGroupText,
305
+ decorators: [{
306
+ type: Directive,
307
+ args: [{ selector: "[hlmInputGroupText],hlm-input-group-text" }]
308
+ }],
309
+ ctorParameters: () => []
310
+ });
311
+ var HlmInputGroupTextarea = class HlmInputGroupTextarea {
312
+ constructor() {
313
+ classes(() => "rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none");
314
+ }
315
+ static {
316
+ this.ɵfac = i0.ɵɵngDeclareFactory({
317
+ minVersion: "12.0.0",
318
+ version: "22.2.4",
319
+ ngImport: i0,
320
+ type: HlmInputGroupTextarea,
321
+ deps: [],
322
+ target: i0.ɵɵFactoryTarget.Directive
323
+ });
324
+ }
325
+ static {
326
+ this.ɵdir = i0.ɵɵngDeclareDirective({
327
+ minVersion: "14.0.0",
328
+ version: "22.2.4",
329
+ type: HlmInputGroupTextarea,
330
+ isStandalone: true,
331
+ selector: "textarea[hlmInputGroupTextarea]",
332
+ host: { attributes: { "data-slot": "input-group-control" } },
333
+ hostDirectives: [{ directive: i1.HlmTextarea }],
334
+ ngImport: i0
335
+ });
336
+ }
337
+ };
338
+ i0.ɵɵngDeclareClassMetadata({
339
+ minVersion: "12.0.0",
340
+ version: "22.2.4",
341
+ ngImport: i0,
342
+ type: HlmInputGroupTextarea,
343
+ decorators: [{
344
+ type: Directive,
345
+ args: [{
346
+ selector: "textarea[hlmInputGroupTextarea]",
347
+ hostDirectives: [HlmTextarea],
348
+ host: { "data-slot": "input-group-control" }
349
+ }]
350
+ }],
351
+ ctorParameters: () => []
75
352
  });
76
- class HlmInputGroupButton {
77
- constructor() {
78
- this.size = input('xs', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
79
- this.type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
80
- classes(() => inputGroupAddonVariants({ size: this.size() }));
81
- }
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupButton, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
83
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmInputGroupButton, isStandalone: true, selector: "button[hlmInputGroupButton]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-size": "size()", "type": "type()" } }, providers: [
84
- provideBrnButtonConfig({
85
- variant: 'ghost',
86
- }),
87
- ], hostDirectives: [{ directive: i1.HlmButton, inputs: ["variant", "variant"] }], ngImport: i0 }); }
88
- }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupButton, decorators: [{
90
- type: Directive,
91
- args: [{
92
- selector: 'button[hlmInputGroupButton]',
93
- providers: [
94
- provideBrnButtonConfig({
95
- variant: 'ghost',
96
- }),
97
- ],
98
- hostDirectives: [
99
- {
100
- directive: HlmButton,
101
- inputs: ['variant'],
102
- },
103
- ],
104
- host: {
105
- '[attr.data-size]': 'size()',
106
- '[type]': 'type()',
107
- },
108
- }]
109
- }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
110
-
111
- class HlmInputGroupInput {
112
- constructor() {
113
- classes(() => `rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1`);
114
- }
115
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
116
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmInputGroupInput, isStandalone: true, selector: "input[hlmInputGroupInput]", host: { attributes: { "data-slot": "input-group-control" } }, hostDirectives: [{ directive: i1$1.HlmInput }], ngImport: i0 }); }
117
- }
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupInput, decorators: [{
119
- type: Directive,
120
- args: [{
121
- selector: 'input[hlmInputGroupInput]',
122
- hostDirectives: [HlmInput],
123
- host: { 'data-slot': 'input-group-control' },
124
- }]
125
- }], ctorParameters: () => [] });
126
-
127
- class HlmInputGroupText {
128
- constructor() {
129
- classes(() => "text-muted-foreground gap-2 text-sm [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center [&_ng-icon]:pointer-events-none");
130
- }
131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupText, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
132
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmInputGroupText, isStandalone: true, selector: "[hlmInputGroupText],hlm-input-group-text", ngImport: i0 }); }
133
- }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupText, decorators: [{
135
- type: Directive,
136
- args: [{
137
- selector: '[hlmInputGroupText],hlm-input-group-text',
138
- }]
139
- }], ctorParameters: () => [] });
140
-
141
- class HlmInputGroupTextarea {
142
- constructor() {
143
- classes(() => 'rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none');
144
- }
145
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupTextarea, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
146
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmInputGroupTextarea, isStandalone: true, selector: "textarea[hlmInputGroupTextarea]", host: { attributes: { "data-slot": "input-group-control" } }, hostDirectives: [{ directive: i1$2.HlmTextarea }], ngImport: i0 }); }
147
- }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmInputGroupTextarea, decorators: [{
149
- type: Directive,
150
- args: [{
151
- selector: 'textarea[hlmInputGroupTextarea]',
152
- hostDirectives: [HlmTextarea],
153
- host: { 'data-slot': 'input-group-control' },
154
- }]
155
- }], ctorParameters: () => [] });
156
-
157
353
  const HlmInputGroupImports = [
158
- HlmInputGroup,
159
- HlmInputGroupAddon,
160
- HlmInputGroupButton,
161
- HlmInputGroupInput,
162
- HlmInputGroupText,
163
- HlmInputGroupTextarea,
354
+ HlmInputGroup,
355
+ HlmInputGroupAddon,
356
+ HlmInputGroupButton,
357
+ HlmInputGroupInput,
358
+ HlmInputGroupText,
359
+ HlmInputGroupTextarea
164
360
  ];
165
-
166
- /**
167
- * Generated bundle index. Do not edit.
168
- */
169
-
170
361
  export { HlmInputGroup, HlmInputGroupAddon, HlmInputGroupButton, HlmInputGroupImports, HlmInputGroupInput, HlmInputGroupText, HlmInputGroupTextarea };
171
- //# sourceMappingURL=yukit-web-helm-input-group.mjs.map
362
+
363
+ //# sourceMappingURL=yukit-web-helm-input-group.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"yukit-web-helm-input-group.mjs","sources":["../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-addon.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-button.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-input.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-text.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-textarea.ts","../../../projects/yukit-web/helm/input-group/src/index.ts","../../../projects/yukit-web/helm/input-group/src/yukit-web-helm-input-group.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmInputGroup],hlm-input-group',\n\thost: {\n\t\t'data-slot': 'input-group',\n\t\trole: 'group',\n\t},\n})\nexport class HlmInputGroup {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-[[data-slot=input-group-control]:disabled]:bg-input/50 dark:has-[[data-slot=input-group-control]:disabled]:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto',\n\t\t);\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst inputGroupAddonVariants = cva(\n\t\"text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex cursor-text items-center justify-center select-none\",\n\t{\n\t\tvariants: {\n\t\t\talign: {\n\t\t\t\t'inline-start': 'ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first',\n\t\t\t\t'inline-end': 'pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last',\n\t\t\t\t'block-start': 'px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start',\n\t\t\t\t'block-end': 'px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\talign: 'inline-start',\n\t\t},\n\t},\n);\n\ntype InputGroupAddonVariants = VariantProps<typeof inputGroupAddonVariants>;\n\n@Directive({\n\tselector: '[hlmInputGroupAddon],hlm-input-group-addon',\n\thost: {\n\t\trole: 'group',\n\t\t'data-slot': 'input-group-addon',\n\t\t'[attr.data-align]': 'align()',\n\t},\n})\nexport class HlmInputGroupAddon {\n\tpublic readonly align = input<InputGroupAddonVariants['align']>('inline-start');\n\n\tconstructor() {\n\t\tclasses(() => inputGroupAddonVariants({ align: this.align() }));\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { HlmButton, provideBrnButtonConfig } from 'yukit-web/helm/button';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst inputGroupAddonVariants = cva('gap-2 text-sm flex items-center shadow-none', {\n\tvariants: {\n\t\tsize: {\n\t\t\txs: \"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]\",\n\t\t\tsm: '',\n\t\t\t'icon-xs': 'size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>ng-icon]:p-0',\n\t\t\t'icon-sm': 'size-8 p-0 has-[>ng-icon]:p-0',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: 'xs',\n\t},\n});\n\ntype InputGroupAddonVariants = VariantProps<typeof inputGroupAddonVariants>;\n\n@Directive({\n\tselector: 'button[hlmInputGroupButton]',\n\tproviders: [\n\t\tprovideBrnButtonConfig({\n\t\t\tvariant: 'ghost',\n\t\t}),\n\t],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: HlmButton,\n\t\t\tinputs: ['variant'],\n\t\t},\n\t],\n\thost: {\n\t\t'[attr.data-size]': 'size()',\n\t\t'[type]': 'type()',\n\t},\n})\nexport class HlmInputGroupButton {\n\tpublic readonly size = input<InputGroupAddonVariants['size']>('xs');\n\tpublic readonly type = input<'button' | 'submit' | 'reset'>('button');\n\n\tconstructor() {\n\t\tclasses(() => inputGroupAddonVariants({ size: this.size() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmInput } from 'yukit-web/helm/input';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'input[hlmInputGroupInput]',\n\thostDirectives: [HlmInput],\n\thost: { 'data-slot': 'input-group-control' },\n})\nexport class HlmInputGroupInput {\n\tconstructor() {\n\t\tclasses(() => `rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1`);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmInputGroupText],hlm-input-group-text',\n})\nexport class HlmInputGroupText {\n\tconstructor() {\n\t\tclasses(() => \"text-muted-foreground gap-2 text-sm [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center [&_ng-icon]:pointer-events-none\");\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmTextarea } from 'yukit-web/helm/textarea';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'textarea[hlmInputGroupTextarea]',\n\thostDirectives: [HlmTextarea],\n\thost: { 'data-slot': 'input-group-control' },\n})\nexport class HlmInputGroupTextarea {\n\tconstructor() {\n\t\tclasses(() => 'rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none');\n\t}\n}\n","import { HlmInputGroup } from './lib/hlm-input-group';\nimport { HlmInputGroupAddon } from './lib/hlm-input-group-addon';\nimport { HlmInputGroupButton } from './lib/hlm-input-group-button';\nimport { HlmInputGroupInput } from './lib/hlm-input-group-input';\nimport { HlmInputGroupText } from './lib/hlm-input-group-text';\nimport { HlmInputGroupTextarea } from './lib/hlm-input-group-textarea';\n\nexport * from './lib/hlm-input-group';\nexport * from './lib/hlm-input-group-addon';\nexport * from './lib/hlm-input-group-button';\nexport * from './lib/hlm-input-group-input';\nexport * from './lib/hlm-input-group-text';\nexport * from './lib/hlm-input-group-textarea';\n\nexport const HlmInputGroupImports = [\n\tHlmInputGroup,\n\tHlmInputGroupAddon,\n\tHlmInputGroupButton,\n\tHlmInputGroupInput,\n\tHlmInputGroupText,\n\tHlmInputGroupTextarea,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["inputGroupAddonVariants","i1"],"mappings":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A,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,0CAA0C;AACpD,iBAAA;;;MCIY,qBAAqB,CAAA;AACjC,IAAA,WAAA,GAAA;AACC,QAAA,OAAO,CAAC,MAAM,0NAA0N,CAAC;IAC1O;+GAHY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iCAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAA,IAAA,CAAA,WAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,iCAAiC;oBAC3C,cAAc,EAAE,CAAC,WAAW,CAAC;AAC7B,oBAAA,IAAI,EAAE,EAAE,WAAW,EAAE,qBAAqB,EAAE;AAC5C,iBAAA;;;ACMM,MAAM,oBAAoB,GAAG;IACnC,aAAa;IACb,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,iBAAiB;IACjB,qBAAqB;;;ACpBtB;;AAEG;;"}
1
+ {"version":3,"file":"yukit-web-helm-input-group.mjs","names":["inputGroupAddonVariants","i1","i1"],"sources":["../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-addon.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-button.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-input.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-text.ts","../../../projects/yukit-web/helm/input-group/src/lib/hlm-input-group-textarea.ts","../../../projects/yukit-web/helm/input-group/src/index.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmInputGroup],hlm-input-group',\n\thost: {\n\t\t'data-slot': 'input-group',\n\t\trole: 'group',\n\t},\n})\nexport class HlmInputGroup {\n\tconstructor() {\n\t\tclasses(\n\t\t\t() =>\n\t\t\t\t'border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 has-[[data-slot=input-group-control]:disabled]:bg-input/50 dark:has-[[data-slot=input-group-control]:disabled]:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto',\n\t\t);\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst inputGroupAddonVariants = cva(\n\t\"text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex cursor-text items-center justify-center select-none\",\n\t{\n\t\tvariants: {\n\t\t\talign: {\n\t\t\t\t'inline-start': 'ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first',\n\t\t\t\t'inline-end': 'pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last',\n\t\t\t\t'block-start': 'px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start',\n\t\t\t\t'block-end': 'px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\talign: 'inline-start',\n\t\t},\n\t},\n);\n\ntype InputGroupAddonVariants = VariantProps<typeof inputGroupAddonVariants>;\n\n@Directive({\n\tselector: '[hlmInputGroupAddon],hlm-input-group-addon',\n\thost: {\n\t\trole: 'group',\n\t\t'data-slot': 'input-group-addon',\n\t\t'[attr.data-align]': 'align()',\n\t},\n})\nexport class HlmInputGroupAddon {\n\tpublic readonly align = input<InputGroupAddonVariants['align']>('inline-start');\n\n\tconstructor() {\n\t\tclasses(() => inputGroupAddonVariants({ align: this.align() }));\n\t}\n}\n","import { Directive, input } from '@angular/core';\nimport { HlmButton, provideBrnButtonConfig } from 'yukit-web/helm/button';\nimport { classes } from 'yukit-web/helm/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst inputGroupAddonVariants = cva('gap-2 text-sm flex items-center shadow-none', {\n\tvariants: {\n\t\tsize: {\n\t\t\txs: \"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>ng-icon:not([class*='text-'])]:text-[length:--spacing(3.5)]\",\n\t\t\tsm: '',\n\t\t\t'icon-xs': 'size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>ng-icon]:p-0',\n\t\t\t'icon-sm': 'size-8 p-0 has-[>ng-icon]:p-0',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: 'xs',\n\t},\n});\n\ntype InputGroupAddonVariants = VariantProps<typeof inputGroupAddonVariants>;\n\n@Directive({\n\tselector: 'button[hlmInputGroupButton]',\n\tproviders: [\n\t\tprovideBrnButtonConfig({\n\t\t\tvariant: 'ghost',\n\t\t}),\n\t],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: HlmButton,\n\t\t\tinputs: ['variant'],\n\t\t},\n\t],\n\thost: {\n\t\t'[attr.data-size]': 'size()',\n\t\t'[type]': 'type()',\n\t},\n})\nexport class HlmInputGroupButton {\n\tpublic readonly size = input<InputGroupAddonVariants['size']>('xs');\n\tpublic readonly type = input<'button' | 'submit' | 'reset'>('button');\n\n\tconstructor() {\n\t\tclasses(() => inputGroupAddonVariants({ size: this.size() }));\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmInput } from 'yukit-web/helm/input';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'input[hlmInputGroupInput]',\n\thostDirectives: [HlmInput],\n\thost: { 'data-slot': 'input-group-control' },\n})\nexport class HlmInputGroupInput {\n\tconstructor() {\n\t\tclasses(() => `rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1`);\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmInputGroupText],hlm-input-group-text',\n})\nexport class HlmInputGroupText {\n\tconstructor() {\n\t\tclasses(() => \"text-muted-foreground gap-2 text-sm [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center [&_ng-icon]:pointer-events-none\");\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { HlmTextarea } from 'yukit-web/helm/textarea';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'textarea[hlmInputGroupTextarea]',\n\thostDirectives: [HlmTextarea],\n\thost: { 'data-slot': 'input-group-control' },\n})\nexport class HlmInputGroupTextarea {\n\tconstructor() {\n\t\tclasses(() => 'rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent data-[matches-spartan-invalid=true]:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none');\n\t}\n}\n","import { HlmInputGroup } from './lib/hlm-input-group';\nimport { HlmInputGroupAddon } from './lib/hlm-input-group-addon';\nimport { HlmInputGroupButton } from './lib/hlm-input-group-button';\nimport { HlmInputGroupInput } from './lib/hlm-input-group-input';\nimport { HlmInputGroupText } from './lib/hlm-input-group-text';\nimport { HlmInputGroupTextarea } from './lib/hlm-input-group-textarea';\n\nexport * from './lib/hlm-input-group';\nexport * from './lib/hlm-input-group-addon';\nexport * from './lib/hlm-input-group-button';\nexport * from './lib/hlm-input-group-input';\nexport * from './lib/hlm-input-group-text';\nexport * from './lib/hlm-input-group-textarea';\n\nexport const HlmInputGroupImports = [\n\tHlmInputGroup,\n\tHlmInputGroupAddon,\n\tHlmInputGroupButton,\n\tHlmInputGroupInput,\n\tHlmInputGroupText,\n\tHlmInputGroupTextarea,\n] as const;\n"],"mappings":";;;;;;;;;;AAUA,IAAa,gBAAb,MAAa,cAAa;CACzB,cAAA;EACC,cAEE,6vCAA6vC;CAEhwC;CANY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAa,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAb;EAAA,KAAA,OAAA,GAAA,qBAAA;GA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