@egose/shadcn-theme-ng-tw 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +1 -1
  2. package/accordion/README.md +405 -2
  3. package/alert/README.md +372 -2
  4. package/alert-dialog/README.md +471 -5
  5. package/aspect-ratio/README.md +272 -5
  6. package/autocomplete/README.md +502 -2
  7. package/avatar/README.md +357 -5
  8. package/badge/README.md +318 -2
  9. package/basic-alert/README.md +353 -2
  10. package/breadcrumb/README.md +406 -5
  11. package/button/README.md +482 -2
  12. package/button/fesm2022/button.mjs +85 -107
  13. package/button/types/button.d.ts +5 -8
  14. package/button-group/README.md +318 -5
  15. package/button-group/fesm2022/button-group.mjs +1 -1
  16. package/calendar/README.md +357 -2
  17. package/card/README.md +331 -5
  18. package/carousel/README.md +333 -5
  19. package/carousel/fesm2022/carousel.mjs +4 -1
  20. package/checkbox/README.md +320 -2
  21. package/collapsible/README.md +332 -5
  22. package/combobox/README.md +507 -5
  23. package/combobox/fesm2022/combobox.mjs +4 -1
  24. package/command/README.md +435 -5
  25. package/confirmation-dialog/README.md +301 -2
  26. package/context-menu/README.md +366 -5
  27. package/date-picker/README.md +465 -2
  28. package/date-picker/fesm2022/date-picker.mjs +2 -2
  29. package/dialog/README.md +448 -2
  30. package/drawer/README.md +395 -5
  31. package/dropdown-menu/README.md +417 -5
  32. package/empty/README.md +329 -5
  33. package/field/README.md +385 -5
  34. package/form-checkbox/README.md +312 -2
  35. package/form-date-picker/README.md +322 -2
  36. package/form-field/README.md +356 -2
  37. package/form-field-simple/README.md +340 -2
  38. package/form-searchable-multiselect/README.md +361 -2
  39. package/form-select/README.md +350 -2
  40. package/form-text-input/README.md +371 -2
  41. package/form-textarea/README.md +347 -2
  42. package/hover-card/README.md +256 -5
  43. package/icon/README.md +239 -2
  44. package/input/README.md +269 -2
  45. package/input-group/README.md +335 -5
  46. package/input-group/fesm2022/input-group.mjs +3 -3
  47. package/input-otp/README.md +375 -5
  48. package/item/README.md +385 -5
  49. package/item/fesm2022/item.mjs +3 -3
  50. package/kbd/README.md +291 -5
  51. package/label/README.md +272 -2
  52. package/layout-simple/README.md +193 -2
  53. package/layout-simple/fesm2022/layout-simple.mjs +877 -409
  54. package/layout-simple/types/layout-simple.d.ts +174 -137
  55. package/menu/README.md +417 -2
  56. package/menubar/README.md +343 -5
  57. package/native-select/README.md +323 -5
  58. package/navigation-menu/README.md +369 -5
  59. package/package.json +1 -1
  60. package/pagination/README.md +388 -5
  61. package/popover/README.md +331 -2
  62. package/progress/README.md +311 -5
  63. package/radio-group/README.md +364 -2
  64. package/radio-group/fesm2022/radio-group.mjs +5 -1
  65. package/resizable/README.md +269 -5
  66. package/scroll-area/README.md +233 -5
  67. package/searchable-multiselect/README.md +323 -2
  68. package/select/README.md +437 -2
  69. package/separator/README.md +222 -2
  70. package/sheet/README.md +311 -2
  71. package/sidebar/README.md +457 -5
  72. package/skeleton/README.md +217 -5
  73. package/slider/README.md +273 -5
  74. package/slider/fesm2022/slider.mjs +17 -13
  75. package/sonner/README.md +346 -2
  76. package/spinner/README.md +284 -2
  77. package/switch/README.md +310 -2
  78. package/table/README.md +423 -5
  79. package/tabs/README.md +411 -2
  80. package/tabs/fesm2022/tabs.mjs +12 -2
  81. package/textarea/README.md +282 -5
  82. package/toggle/README.md +270 -5
  83. package/toggle-group/README.md +340 -5
  84. package/tooltip/README.md +269 -2
  85. package/typography/README.md +271 -5
  86. package/utils/README.md +303 -2
@@ -1,11 +1,341 @@
1
- # InputGroup
1
+ # Input Group (`@egose/shadcn-theme-ng/input-group`)
2
2
 
3
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli).
3
+ The input group joins an input (or textarea) with prefixes, suffixes, and inline action buttons into a single bordered control — the shadcn/ui _InputGroup_ equivalent (currency prefix + amount + Apply, URL slug builder, message composer with block add-ons). The outer directive owns the border/focus ring; the inner pieces are borderless so the group reads as one field.
4
4
 
5
- ## Building
5
+ > **Ships as:** `@egose/shadcn-theme-ng/input-group` (plain Tailwind) and `@egose/shadcn-theme-ng-tw/input-group` (`tw:`-prefixed variant). See the [package README](../../README.md) for installation, peer dependencies, and the Tailwind-variant contract. Do not publish this project directory independently.
6
6
 
7
- To build the library, run:
7
+ ## Installation
8
8
 
9
9
  ```bash
10
- ng build input-group
10
+ # Plain Tailwind (no prefix)
11
+ npm install @egose/shadcn-theme-ng
12
+
13
+ # Or the tw:-prefixed variant
14
+ npm install @egose/shadcn-theme-ng-tw
15
+ ```
16
+
17
+ Peer dependencies (Angular, CDK, `@spartan-ng/brain`, `rxjs`) are documented in the [package README](../../README.md#peer-dependencies).
18
+
19
+ ```ts
20
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/input-group';
21
+ // tw variant:
22
+ // import { HlmInputGroupImports } from '@egose/shadcn-theme-ng-tw/input-group';
23
+ ```
24
+
25
+ ## Imports
26
+
27
+ ```ts
28
+ // Standalone component — spread the imports array:
29
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/input-group';
30
+
31
+ @Component({
32
+ standalone: true,
33
+ imports: [HlmInputGroupImports],
34
+ template: `
35
+ <div hlmInputGroup>
36
+ <span hlmInputGroupText>$</span>
37
+ <input hlmInputGroupInput placeholder="0.00" aria-label="Amount in dollars" />
38
+ </div>
39
+ `,
40
+ })
41
+ export class MyComp {}
42
+ ```
43
+
44
+ ```ts
45
+ // NgModule-based — import the module:
46
+ import { HlmInputGroupModule } from '@egose/shadcn-theme-ng/input-group';
47
+
48
+ @NgModule({ imports: [HlmInputGroupModule] })
49
+ export class MyModule {}
50
+ ```
51
+
52
+ Exported from `src/public-api.ts`: `HlmInputGroup`, `HlmInputGroupAddon`, `HlmInputGroupButton`, `HlmInputGroupInput`, `HlmInputGroupText`, `HlmInputGroupTextarea`, plus `HlmInputGroupImports` and `HlmInputGroupModule`.
53
+
54
+ ## Anatomy / Structure
55
+
56
+ ```html
57
+ <div hlmInputGroup>
58
+ <!-- inline prefix -->
59
+ <span hlmInputGroupText>$</span>
60
+
61
+ <!-- the actual control (borderless, flex-1) -->
62
+ <input hlmInputGroupInput placeholder="Monthly budget" aria-label="Monthly budget" />
63
+
64
+ <!-- inline action -->
65
+ <button hlmInputGroupButton type="button">Apply</button>
66
+ </div>
67
+
68
+ <!-- block layout for composers -->
69
+ <div hlmInputGroup>
70
+ <div hlmInputGroupAddon align="block-start">Message to #general</div>
71
+ <textarea hlmInputGroupTextarea rows="3" aria-label="Message"></textarea>
72
+ <div hlmInputGroupAddon align="block-end">…</div>
73
+ </div>
11
74
  ```
75
+
76
+ Real selectors: `[hlmInputGroup]` / `hlm-input-group` (container, `role="group"`); `input[hlmInputGroupInput]` (input, `hostDirectives: [HlmInput]`, `data-slot="input-group-control"`); `textarea[hlmInputGroupTextarea]` (`hostDirectives: [HlmTextarea]`, same control slot); `[hlmInputGroupAddon]` / `hlm-input-group-addon` (alignable addon, `align` = `inline-start` | `inline-end` | `block-start` | `block-end`, default `inline-start`); `[hlmInputGroupText]` / `hlm-input-group-text` (plain inline text); `button[hlmInputGroupButton]` (action button, ghost variant preset, `hostDirectives: [HlmBtn]`).
77
+
78
+ ## API reference
79
+
80
+ ### `[hlmInputGroup]` — `HlmInputGroup`
81
+
82
+ Container. No inputs/outputs. `role="group"`, `data-slot="input-group"`. Carries the border, `h-9` height, shadow, and the `:focus-visible` / invalid ring logic that reacts to the inner `[data-slot=input-group-control]` and disabled state (`group-data-[disabled=true]/input-group` dims addons).
83
+
84
+ ### `input[hlmInputGroupInput]` — `HlmInputGroupInput`
85
+
86
+ Borderless input (`hostDirectives: [HlmInput]`). No inputs of its own — all native input attributes and `HlmInput` inputs (`ariaDescribedby`, `id`, `forceInvalid`) apply directly on the element.
87
+
88
+ ### `textarea[hlmInputGroupTextarea]` — `HlmInputGroupTextarea`
89
+
90
+ Borderless textarea (`hostDirectives: [HlmTextarea]`, `resize-none`). No inputs of its own; native textarea attributes apply directly.
91
+
92
+ ### `[hlmInputGroupAddon]` — `HlmInputGroupAddon`
93
+
94
+ | Input | Type | Default | Description |
95
+ | ------- | ---------------------------------------------------------------- | ---------------- | ----------------------------------------------------------------------------------------- |
96
+ | `align` | `'inline-start' \| 'inline-end' \| 'block-start' \| 'block-end'` | `'inline-start'` | Placement: inline prefixes/suffixes vs full-width block rows (reflected as `data-align`). |
97
+
98
+ Inline addons order themselves first/last automatically; block addons stack the group vertically (`flex-col`).
99
+
100
+ ### `[hlmInputGroupText]` — `HlmInputGroupText`
101
+
102
+ Static inline text (currency symbols, units, URL fragments). No inputs/outputs.
103
+
104
+ ### `button[hlmInputGroupButton]` — `HlmInputGroupButton`
105
+
106
+ | Input | Type | Default | Description |
107
+ | --------- | ---------------------------------------- | ---------- | ----------------------------------------------------------------------------------------------- |
108
+ | `size` | `'xs' \| 'sm' \| 'icon-xs' \| 'icon-sm'` | `'xs'` | Button density; `icon-*` variants are square for glyph-only buttons (reflected as `data-size`). |
109
+ | `variant` | (via `HlmBtn`) | `'ghost'` | Forwarded to `HlmBtn`; the group presets the brain button config to `ghost`. |
110
+ | `type` | `'button' \| 'submit' \| 'reset'` | `'button'` | Native button type (bound as `[type]`). |
111
+
112
+ ## Examples
113
+
114
+ ### 1. Currency prefix + action button
115
+
116
+ ```ts
117
+ import { Component, signal } from '@angular/core';
118
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/input-group';
119
+
120
+ @Component({
121
+ standalone: true,
122
+ imports: [HlmInputGroupImports],
123
+ template: `
124
+ <div hlmInputGroup>
125
+ <span hlmInputGroupText>$</span>
126
+ <input hlmInputGroupInput type="number" placeholder="Monthly budget" aria-label="Monthly budget" />
127
+ <button hlmInputGroupButton type="button" (click)="apply()">Apply</button>
128
+ </div>
129
+ @if (message()) {
130
+ <p role="status" class="tw:mt-2 tw:text-sm">{{ message() }}</p>
131
+ }
132
+ `,
133
+ })
134
+ export class CurrencyExample {
135
+ readonly message = signal<string | null>(null);
136
+
137
+ apply() {
138
+ this.message.set('Budget applied.');
139
+ }
140
+ }
141
+ ```
142
+
143
+ ### 2. URL slug builder (prefix + input + suffix)
144
+
145
+ ```ts
146
+ import { Component } from '@angular/core';
147
+ import { FormsModule } from '@angular/forms';
148
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/input-group';
149
+
150
+ @Component({
151
+ standalone: true,
152
+ imports: [FormsModule, HlmInputGroupImports],
153
+ template: `
154
+ <div hlmInputGroup>
155
+ <span hlmInputGroupText>https://egose.dev/</span>
156
+ <input
157
+ hlmInputGroupInput
158
+ [(ngModel)]="slug"
159
+ name="slug"
160
+ placeholder="campaign-spring"
161
+ aria-label="Campaign slug"
162
+ />
163
+ <span hlmInputGroupText>.html</span>
164
+ </div>
165
+ <p class="tw:mt-2 tw:text-sm tw:text-slate-500">Preview: https://egose.dev/{{ slug || '…' }}.html</p>
166
+ `,
167
+ })
168
+ export class SlugExample {
169
+ slug = 'angular-standard';
170
+ }
171
+ ```
172
+
173
+ ### 3. Search with icon addon + keyboard shortcut hint
174
+
175
+ ```ts
176
+ import { Component } from '@angular/core';
177
+ import { NgIcon, provideIcons } from '@ng-icons/core';
178
+ import { lucideSearch } from '@ng-icons/lucide';
179
+ import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
180
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/input-group';
181
+ import { HlmKbd } from '@egose/shadcn-theme-ng/kbd';
182
+
183
+ @Component({
184
+ standalone: true,
185
+ imports: [NgIcon, HlmIcon, HlmInputGroupImports, HlmKbd],
186
+ providers: [provideIcons({ lucideSearch })],
187
+ template: `
188
+ <div hlmInputGroup>
189
+ <span hlmInputGroupText><ng-icon hlm name="lucideSearch" size="sm" /></span>
190
+ <input hlmInputGroupInput placeholder="Search docs…" aria-label="Search docs" />
191
+ <div hlmInputGroupAddon align="inline-end"><kbd hlmKbd>⌘K</kbd></div>
192
+ </div>
193
+ `,
194
+ })
195
+ export class SearchExample {}
196
+ ```
197
+
198
+ ### 4. Icon-only buttons (`icon-xs` / `icon-sm`)
199
+
200
+ ```ts
201
+ import { Component, signal } from '@angular/core';
202
+ import { NgIcon, provideIcons } from '@ng-icons/core';
203
+ import { lucideCopy, lucideCheck } from '@ng-icons/lucide';
204
+ import { HlmIcon } from '@egose/shadcn-theme-ng/icon';
205
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/input-group';
206
+
207
+ @Component({
208
+ standalone: true,
209
+ imports: [NgIcon, HlmIcon, HlmInputGroupImports],
210
+ providers: [provideIcons({ lucideCopy, lucideCheck })],
211
+ template: `
212
+ <div hlmInputGroup>
213
+ <input hlmInputGroupInput [value]="token()" readonly aria-label="API token" />
214
+ <button
215
+ hlmInputGroupButton
216
+ size="icon-xs"
217
+ type="button"
218
+ (click)="copy()"
219
+ [attr.aria-label]="copied() ? 'Copied' : 'Copy token'"
220
+ >
221
+ <ng-icon hlm [name]="copied() ? 'lucideCheck' : 'lucideCopy'" size="sm" />
222
+ </button>
223
+ </div>
224
+ `,
225
+ })
226
+ export class CopyExample {
227
+ readonly token = signal('sk-live-abc123');
228
+ readonly copied = signal(false);
229
+
230
+ async copy() {
231
+ await navigator.clipboard.writeText(this.token());
232
+ this.copied.set(true);
233
+ setTimeout(() => this.copied.set(false), 1500);
234
+ }
235
+ }
236
+ ```
237
+
238
+ ### 5. Block composer (textarea + block addons)
239
+
240
+ ```ts
241
+ import { Component, signal } from '@angular/core';
242
+ import { FormsModule } from '@angular/forms';
243
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/input-group';
244
+
245
+ @Component({
246
+ standalone: true,
247
+ imports: [FormsModule, HlmInputGroupImports],
248
+ template: `
249
+ <div hlmInputGroup>
250
+ <div hlmInputGroupAddon align="block-start">Message to #design-review</div>
251
+ <textarea
252
+ hlmInputGroupTextarea
253
+ rows="4"
254
+ [(ngModel)]="draft"
255
+ name="draft"
256
+ aria-label="Message to the design-review channel"
257
+ placeholder="Describe the behavior you want to change…"
258
+ ></textarea>
259
+ <div hlmInputGroupAddon align="block-end" class="tw:flex tw:items-center tw:justify-between">
260
+ <span role="status">{{ status() }}</span>
261
+ <button hlmInputGroupButton type="button" (click)="send()">Send</button>
262
+ </div>
263
+ </div>
264
+ `,
265
+ })
266
+ export class ComposerExample {
267
+ draft = '';
268
+ readonly status = signal('Draft autosaved just now');
269
+
270
+ send() {
271
+ this.status.set('Message sent just now.');
272
+ this.draft = '';
273
+ }
274
+ }
275
+ ```
276
+
277
+ ### 6. Reactive form + validation (forceInvalid + error text)
278
+
279
+ ```ts
280
+ import { Component } from '@angular/core';
281
+ import { FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';
282
+ import { HlmInputGroupImports } from '@egose/shadcn-theme-ng/input-group';
283
+ import { HlmError } from '@egose/shadcn-theme-ng/form-field';
284
+
285
+ @Component({
286
+ standalone: true,
287
+ imports: [ReactiveFormsModule, HlmInputGroupImports, HlmError],
288
+ template: `
289
+ <form [formGroup]="form" (ngSubmit)="submit()">
290
+ <div hlmInputGroup>
291
+ <span hlmInputGroupText>€</span>
292
+ <input
293
+ hlmInputGroupInput
294
+ type="number"
295
+ formControlName="price"
296
+ placeholder="0.00"
297
+ aria-label="Price in euros"
298
+ aria-describedby="price-error"
299
+ [forceInvalid]="showError()"
300
+ />
301
+ </div>
302
+ @if (showError()) {
303
+ <hlm-error id="price-error">Enter a price greater than 0.</hlm-error>
304
+ }
305
+ <button type="submit">Save</button>
306
+ </form>
307
+ `,
308
+ })
309
+ export class ValidationExample {
310
+ readonly form = new FormGroup({
311
+ price: new FormControl<number | null>(null, { validators: [Validators.required, Validators.min(0.01)] }),
312
+ });
313
+
314
+ showError(): boolean {
315
+ const c = this.form.controls.price;
316
+ return c.invalid && (c.dirty || c.touched);
317
+ }
318
+
319
+ submit() {
320
+ if (this.form.invalid) this.form.markAllAsTouched();
321
+ }
322
+ }
323
+ ```
324
+
325
+ ## Accessibility notes
326
+
327
+ - The container has `role="group"` — give the inner control an `aria-label` (or visible `<label>`) since add-on text is not automatically associated.
328
+ - Add-on text (`$`, `https://…`) is visual context; repeat the essential unit in the input's accessible name (`aria-label="Monthly budget in dollars"`), not just the placeholder.
329
+ - Icon-only `hlmInputGroupButton`s need an `aria-label` (`Copy token`, `Send`).
330
+ - Validation messages live outside the group — link them with `aria-describedby` + `forceInvalid` as in example 6 so the error ring and announcement stay in sync.
331
+
332
+ ## Theming / CSS variables
333
+
334
+ No component-specific CSS variables; borders, rings, and muted text come from the shared tokens (`--input`, `--ring`, `--muted-foreground`, `--destructive`, `--radius`). Width/height adapt to content — constrain with `tw:max-w-*` on the group.
335
+
336
+ ## Related subpaths
337
+
338
+ - `@egose/shadcn-theme-ng/input` — standalone `HlmInput` (what the group input extends).
339
+ - `@egose/shadcn-theme-ng/textarea` — `HlmTextarea` (what the group textarea extends).
340
+ - `@egose/shadcn-theme-ng/button` — `HlmBtn` variants behind the group button.
341
+ - `@egose/shadcn-theme-ng/kbd` — shortcut hints inside addons.
@@ -11,7 +11,7 @@ import { HlmTextarea } from '@egose/shadcn-theme-ng-tw/textarea';
11
11
 
12
12
  class HlmInputGroup {
13
13
  constructor() {
14
- classes(() => 'tw:border-input tw:dark:bg-input/30 tw:has-[[data-slot=input-group-control]:focus-visible]:border-ring tw:has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 tw:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 tw:has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive tw:dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 tw:h-9 tw:rounded-md tw:border tw:shadow-xs tw:transition-[color,box-shadow] tw:in-data-[slot=combobox-content]:focus-within:border-inherit tw:in-data-[slot=combobox-content]:focus-within:ring-0 tw:has-[[data-slot=input-group-control]:focus-visible]:ring-3 tw:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 tw:has-[>[data-align=block-end]]:h-auto tw:has-[>[data-align=block-end]]:flex-col tw:has-[>[data-align=block-start]]:h-auto tw:has-[>[data-align=block-start]]:flex-col tw:has-[>[data-align=block-end]]:[&>input]:pt-3 tw:has-[>[data-align=block-start]]:[&>input]:pb-3 tw:has-[>[data-align=inline-end]]:[&>input]:pe-1.5 tw:has-[>[data-align=inline-start]]:[&>input]:ps-1.5 tw:group/input-group tw:relative tw:flex tw:w-full tw:min-w-0 tw:items-center tw:outline-none tw:has-[>textarea]:h-auto');
14
+ classes(() => 'tw:border-input tw:dark:bg-input/30 tw:has-[[data-slot=input-group-control]:focus-visible]:border-ring tw:has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 tw:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/20 tw:has-[[data-slot][data-matches-spartan-invalid=true]]:border-destructive tw:dark:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-destructive/40 tw:h-9 tw:rounded-md tw:border tw:shadow-xs tw:transition-[color,box-shadow] tw:in-data-[slot=combobox-content]:focus-within:border-inherit tw:in-data-[slot=combobox-content]:focus-within:ring-0 tw:has-[[data-slot=input-group-control]:focus-visible]:ring-3 tw:has-[[data-slot][data-matches-spartan-invalid=true]]:ring-3 tw:has-[>[data-align=block-end]]:h-auto tw:has-[>[data-align=block-end]]:flex-col tw:has-[>[data-align=block-start]]:h-auto tw:has-[>[data-align=block-start]]:flex-col tw:has-[>[data-align=block-end]]:[&>input]:pt-3 tw:has-[>[data-align=block-start]]:[&>input]:pb-3 tw:has-[>[data-align=inline-end]]:[&>input]:pe-1.5 tw:has-[>[data-align=inline-start]]:[&>input]:ps-1.5 tw:group/input-group tw:relative tw:flex tw:w-full tw:min-w-0 tw:max-w-full tw:items-center tw:outline-none tw:has-[>textarea]:h-auto');
15
15
  }
16
16
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmInputGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
17
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmInputGroup, isStandalone: true, selector: "[hlmInputGroup],hlm-input-group", host: { attributes: { "data-slot": "input-group", "role": "group" } }, ngImport: i0 });
@@ -27,11 +27,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
27
27
  }]
28
28
  }], ctorParameters: () => [] });
29
29
 
30
- const inputGroupAddonVariants$1 = cva("tw:text-muted-foreground tw:h-auto tw:gap-2 tw:py-1.5 tw:text-sm tw:font-medium tw:group-data-[disabled=true]/input-group:opacity-50 tw:[&>kbd]:rounded-[calc(var(--radius)-5px)] tw:[&>ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] tw:flex tw:cursor-text tw:items-center tw:justify-center tw:select-none", {
30
+ const inputGroupAddonVariants$1 = cva("tw:text-muted-foreground tw:h-auto tw:gap-2 tw:py-1.5 tw:text-sm tw:font-medium tw:group-data-[disabled=true]/input-group:opacity-50 tw:[&>kbd]:rounded-[calc(var(--radius)-5px)] tw:[&>ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] tw:flex tw:shrink-0 tw:cursor-text tw:items-center tw:justify-center tw:select-none", {
31
31
  variants: {
32
32
  align: {
33
33
  'inline-start': 'tw:ps-2 tw:has-[>button]:-ms-1 tw:has-[>kbd]:ms-[-0.15rem] tw:order-first',
34
- 'inline-end': 'tw:pe-2 tw:has-[>button]:-me-1 tw:has-[>kbd]:me-[-0.15rem] tw:order-last',
34
+ 'inline-end': 'tw:pe-2 tw:has-[>button]:pe-1 tw:has-[>kbd]:me-[-0.15rem] tw:order-last',
35
35
  'block-start': 'tw:px-2.5 tw:pt-2 tw:group-has-[>input]/input-group:pt-2 tw:[.border-b]:pb-2 tw:order-first tw:w-full tw:justify-start',
36
36
  'block-end': 'tw:px-2.5 tw:pb-2 tw:group-has-[>input]/input-group:pb-2 tw:[.border-t]:pt-2 tw:order-last tw:w-full tw:justify-start',
37
37
  },