@egose/shadcn-theme-ng-tw 0.6.4 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/select/README.md CHANGED
@@ -173,6 +173,7 @@ Own inputs (it renders an inner `<button brnSelectTrigger brnFieldControlDescrib
173
173
  | Input | Type | Default | Description |
174
174
  | --------------------- | ------------------- | ----------------------------- | -------------------------------------------- |
175
175
  | `buttonId` | `string` | auto (`hlm-select-trigger-N`) | `id` of the inner button |
176
+ | `aria-labelledby` | `string \| null` | `null` | IDs of elements that label the inner button |
176
177
  | `ariaDescribedby` | `string \| null` | `null` | `aria-describedby` for the inner button |
177
178
  | `wrapperDisabled` | `boolean` | `false` | Renders `disabled` attr on the inner button |
178
179
  | `size` | `'default' \| 'sm'` | `'default'` | Height variant (`data-size`; `h-9` vs `h-8`) |
@@ -295,6 +295,7 @@ class HlmSelectTrigger {
295
295
  ...(ngDevMode ? [{ debugName: "_computedClass" }] : /* istanbul ignore next */ []));
296
296
  buttonId = input(`hlm-select-trigger-${HlmSelectTrigger._id++}`, /* @ts-ignore */
297
297
  ...(ngDevMode ? [{ debugName: "buttonId" }] : /* istanbul ignore next */ []));
298
+ ariaLabelledBy = input(null, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
298
299
  ariaDescribedby = input(null, /* @ts-ignore */
299
300
  ...(ngDevMode ? [{ debugName: "ariaDescribedby" }] : /* istanbul ignore next */ []));
300
301
  wrapperDisabled = input(false, /* @ts-ignore */
@@ -304,12 +305,13 @@ class HlmSelectTrigger {
304
305
  /** Whether to force the trigger into an invalid state. */
305
306
  forceInvalid = input(false, { ...(ngDevMode ? { debugName: "forceInvalid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
306
307
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmSelectTrigger, deps: [], target: i0.ɵɵFactoryTarget.Component });
307
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", type: HlmSelectTrigger, isStandalone: true, selector: "hlm-select-trigger", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, buttonId: { classPropertyName: "buttonId", publicName: "buttonId", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "ariaDescribedby", isSignal: true, isRequired: false, transformFunction: null }, wrapperDisabled: { classPropertyName: "wrapperDisabled", publicName: "wrapperDisabled", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, forceInvalid: { classPropertyName: "forceInvalid", publicName: "forceInvalid", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({ lucideChevronDown })], ngImport: i0, template: `
308
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", type: HlmSelectTrigger, isStandalone: true, selector: "hlm-select-trigger", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, buttonId: { classPropertyName: "buttonId", publicName: "buttonId", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "ariaDescribedby", isSignal: true, isRequired: false, transformFunction: null }, wrapperDisabled: { classPropertyName: "wrapperDisabled", publicName: "wrapperDisabled", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, forceInvalid: { classPropertyName: "forceInvalid", publicName: "forceInvalid", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({ lucideChevronDown })], ngImport: i0, template: `
308
309
  <button
309
310
  brnSelectTrigger
310
311
  brnFieldControlDescribedBy
311
312
  [forceInvalid]="forceInvalid()"
312
313
  [id]="buttonId()"
314
+ [attr.aria-labelledby]="ariaLabelledBy()"
313
315
  [aria-describedby]="ariaDescribedby()"
314
316
  [attr.disabled]="wrapperDisabled() ? '' : null"
315
317
  [class]="_computedClass()"
@@ -334,6 +336,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
334
336
  brnFieldControlDescribedBy
335
337
  [forceInvalid]="forceInvalid()"
336
338
  [id]="buttonId()"
339
+ [attr.aria-labelledby]="ariaLabelledBy()"
337
340
  [aria-describedby]="ariaDescribedby()"
338
341
  [attr.disabled]="wrapperDisabled() ? '' : null"
339
342
  [class]="_computedClass()"
@@ -345,7 +348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
345
348
  </button>
346
349
  `,
347
350
  }]
348
- }], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], buttonId: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonId", required: false }] }], ariaDescribedby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedby", required: false }] }], wrapperDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrapperDisabled", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], forceInvalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceInvalid", required: false }] }] } });
351
+ }], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], buttonId: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonId", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], ariaDescribedby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedby", required: false }] }], wrapperDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrapperDisabled", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], forceInvalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceInvalid", required: false }] }] } });
349
352
 
350
353
  class HlmSelectValue {
351
354
  _brnSelectValue = inject(BrnSelectValue);
@@ -78,13 +78,14 @@ declare class HlmSelectTrigger {
78
78
  readonly userClass: i0.InputSignal<ClassValue>;
79
79
  protected readonly _computedClass: i0.Signal<string>;
80
80
  readonly buttonId: i0.InputSignal<string>;
81
+ readonly ariaLabelledBy: i0.InputSignal<string | null>;
81
82
  readonly ariaDescribedby: i0.InputSignal<string | null>;
82
83
  readonly wrapperDisabled: i0.InputSignal<boolean>;
83
84
  readonly size: i0.InputSignal<"default" | "sm">;
84
85
  /** Whether to force the trigger into an invalid state. */
85
86
  readonly forceInvalid: i0.InputSignalWithTransform<boolean, BooleanInput>;
86
87
  static ɵfac: i0.ɵɵFactoryDeclaration<HlmSelectTrigger, never>;
87
- static ɵcmp: i0.ɵɵComponentDeclaration<HlmSelectTrigger, "hlm-select-trigger", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "buttonId": { "alias": "buttonId"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "wrapperDisabled": { "alias": "wrapperDisabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "forceInvalid": { "alias": "forceInvalid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
88
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmSelectTrigger, "hlm-select-trigger", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "buttonId": { "alias": "buttonId"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "wrapperDisabled": { "alias": "wrapperDisabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "forceInvalid": { "alias": "forceInvalid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
88
89
  }
89
90
 
90
91
  declare class HlmSelectValue {
package/table/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Table (`@egose/shadcn-theme-ng/table`)
2
2
 
3
- A data table, equivalent to [shadcn/ui Table](https://ui.shadcn.com/docs/components/table). This subpath ships nine **thin styling directives** — no behavior, no spartan-ng primitive, no inputs/outputs. Apply them to native `<div>`/`<table>`/`<thead>`/`<tbody>`/`<tfoot>`/`<tr>`/`<th>`/`<td>`/`<caption>` elements to get shadcn table styling (hover rows, muted header/footer, compact cells) while keeping fully semantic markup you control.
3
+ A data table, equivalent to [shadcn/ui Table](https://ui.shadcn.com/docs/components/table). This subpath ships nine **thin styling directives**. Apply them to native `<div>`/`<table>`/`<thead>`/`<tbody>`/`<tfoot>`/`<tr>`/`<th>`/`<td>`/`<caption>` elements to get shadcn table styling (hover rows, muted header/footer, compact cells) while keeping fully semantic markup you control.
4
4
 
5
5
  > **Ships as:** `@egose/shadcn-theme-ng/table` and `@egose/shadcn-theme-ng-tw/table` (the `tw:`-prefixed Tailwind variant). See the [package README](../../README.md) for install steps, peer dependencies, Tailwind setup, and testing/release guidance. Do not publish this project directory independently.
6
6
 
@@ -114,7 +114,7 @@ Each element also accepts the long alias (`hlmTableHeader`, `hlmTableBody`, `hlm
114
114
 
115
115
  ## API reference
116
116
 
117
- There are **no inputs, outputs, or methods** on any table directive. Each directive only merges a fixed class list via `classes()` and sets a `data-slot` host attribute:
117
+ These directives apply classes and expose `data-slot` attributes without taking over the native table's behavior:
118
118
 
119
119
  | Directive | `data-slot` | Fixed classes (abridged) |
120
120
  | ---------------------------------------------- | ----------------- | ----------------------------------------------------------------------------------- |
@@ -130,7 +130,7 @@ There are **no inputs, outputs, or methods** on any table directive. Each direct
130
130
 
131
131
  User `class` attributes on the same element are preserved and merged (the `classes()` helper keeps base classes).
132
132
 
133
- `HlmTh`/`HlmTd` take a `size` input (`HlmTableSize`: `sm` / `default` / `lg`) scaling density one step down/up: header height `h-8` / `h-10` / `h-12`, cell padding `p-1` / `p-2` / `p-3`.
133
+ `HlmTh`/`HlmTd` take a `size` input (`HlmTableSize`: `sm` / `default` / `lg`) scaling density one step down/up: header height `h-8` / `h-10` / `h-12`, cell padding `p-1` / `p-2` / `p-3`. `HlmTr`, `HlmTh`, and `HlmTd` accept `ClassValue` through their `class` input to merge strings, arrays, or conditional class objects with the default styles. `hlmTableCell` can also style a native `<th scope="row">` with the same padding as a body cell.
134
134
 
135
135
  ## Examples
136
136
 
@@ -92,11 +92,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
92
92
  * within an HlmTable context.
93
93
  */
94
94
  class HlmTr {
95
+ userClass = input('', { ...(ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {}), alias: 'class' });
95
96
  constructor() {
96
- classes(() => 'tw:hover:bg-muted/50 tw:data-[state=selected]:bg-muted tw:border-b tw:transition-colors tw:has-aria-expanded:bg-muted/50');
97
+ classes(() => hlm('tw:hover:bg-muted/50 tw:data-[state=selected]:bg-muted tw:border-b tw:border-border tw:transition-colors tw:has-aria-expanded:bg-muted/50', this.userClass()));
97
98
  }
98
99
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmTr, deps: [], target: i0.ɵɵFactoryTarget.Directive });
99
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmTr, isStandalone: true, selector: "tr[hlmTr],tr[hlmTableRow]", host: { attributes: { "data-slot": "table-row" } }, ngImport: i0 });
100
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: HlmTr, isStandalone: true, selector: "tr[hlmTr],tr[hlmTableRow]", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "table-row" } }, ngImport: i0 });
100
101
  }
101
102
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmTr, decorators: [{
102
103
  type: Directive,
@@ -104,7 +105,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
104
105
  selector: 'tr[hlmTr],tr[hlmTableRow]',
105
106
  host: { 'data-slot': 'table-row' },
106
107
  }]
107
- }], ctorParameters: () => [] });
108
+ }], ctorParameters: () => [], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
108
109
  /**
109
110
  * Directive to apply Shadcn-like styling to a <th> element
110
111
  * within an HlmTable context.
@@ -112,11 +113,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
112
113
  class HlmTh {
113
114
  size = input('default', /* @ts-ignore */
114
115
  ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
116
+ userClass = input('', { ...(ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {}), alias: 'class' });
115
117
  constructor() {
116
- classes(() => hlm('tw:text-foreground tw:h-10 tw:px-2 tw:text-start tw:align-middle tw:font-medium tw:whitespace-nowrap tw:[&:has([role=checkbox])]:pe-0', this.size() === 'sm' ? 'tw:h-8' : this.size() === 'lg' ? 'tw:h-12' : ''));
118
+ classes(() => hlm('tw:text-foreground tw:h-10 tw:px-2 tw:text-start tw:align-middle tw:font-medium tw:whitespace-nowrap tw:[&:has([role=checkbox])]:pe-0', this.size() === 'sm' ? 'tw:h-8' : this.size() === 'lg' ? 'tw:h-12' : '', this.userClass()));
117
119
  }
118
120
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmTh, deps: [], target: i0.ɵɵFactoryTarget.Directive });
119
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: HlmTh, isStandalone: true, selector: "th[hlmTh],th[hlmTableHead]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "table-head" } }, ngImport: i0 });
121
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: HlmTh, isStandalone: true, selector: "th[hlmTh],th[hlmTableHead]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "table-head" } }, ngImport: i0 });
120
122
  }
121
123
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmTh, decorators: [{
122
124
  type: Directive,
@@ -124,7 +126,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
124
126
  selector: 'th[hlmTh],th[hlmTableHead]',
125
127
  host: { 'data-slot': 'table-head' },
126
128
  }]
127
- }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
129
+ }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
128
130
  /**
129
131
  * Directive to apply Shadcn-like styling to a <td> element
130
132
  * within an HlmTable context.
@@ -132,19 +134,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
132
134
  class HlmTd {
133
135
  size = input('default', /* @ts-ignore */
134
136
  ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
137
+ userClass = input('', { ...(ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {}), alias: 'class' });
135
138
  constructor() {
136
- classes(() => hlm('tw:p-2 tw:align-middle tw:whitespace-nowrap tw:[&:has([role=checkbox])]:pe-0', this.size() === 'sm' ? 'tw:p-1' : this.size() === 'lg' ? 'tw:p-3' : ''));
139
+ classes(() => hlm('tw:p-2 tw:align-middle tw:whitespace-nowrap tw:[&:has([role=checkbox])]:pe-0', this.size() === 'sm' ? 'tw:p-1' : this.size() === 'lg' ? 'tw:p-3' : '', this.userClass()));
137
140
  }
138
141
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmTd, deps: [], target: i0.ɵɵFactoryTarget.Directive });
139
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: HlmTd, isStandalone: true, selector: "td[hlmTd],td[hlmTableCell]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "table-cell" } }, ngImport: i0 });
142
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: HlmTd, isStandalone: true, selector: "td[hlmTd],td[hlmTableCell],th[hlmTd],th[hlmTableCell]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "table-cell" } }, ngImport: i0 });
140
143
  }
141
144
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmTd, decorators: [{
142
145
  type: Directive,
143
146
  args: [{
144
- selector: 'td[hlmTd],td[hlmTableCell]',
147
+ selector: 'td[hlmTd],td[hlmTableCell],th[hlmTd],th[hlmTableCell]',
145
148
  host: { 'data-slot': 'table-cell' },
146
149
  }]
147
- }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
150
+ }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
148
151
  /**
149
152
  * Directive to apply Shadcn-like styling to a <caption> element
150
153
  * within an HlmTable context.
@@ -1,4 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
+ import { ClassValue } from 'clsx';
2
3
 
3
4
  /** Density scale shared by table parts and higher-level components (e.g. data-table). */
4
5
  type HlmTableSize = 'sm' | 'default' | 'lg';
@@ -47,9 +48,10 @@ declare class HlmTFoot {
47
48
  * within an HlmTable context.
48
49
  */
49
50
  declare class HlmTr {
51
+ readonly userClass: i0.InputSignal<ClassValue>;
50
52
  constructor();
51
53
  static ɵfac: i0.ɵɵFactoryDeclaration<HlmTr, never>;
52
- static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTr, "tr[hlmTr],tr[hlmTableRow]", never, {}, {}, never, never, true, never>;
54
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTr, "tr[hlmTr],tr[hlmTableRow]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
53
55
  }
54
56
  /**
55
57
  * Directive to apply Shadcn-like styling to a <th> element
@@ -57,9 +59,10 @@ declare class HlmTr {
57
59
  */
58
60
  declare class HlmTh {
59
61
  readonly size: i0.InputSignal<HlmTableSize>;
62
+ readonly userClass: i0.InputSignal<ClassValue>;
60
63
  constructor();
61
64
  static ɵfac: i0.ɵɵFactoryDeclaration<HlmTh, never>;
62
- static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTh, "th[hlmTh],th[hlmTableHead]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
65
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTh, "th[hlmTh],th[hlmTableHead]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
63
66
  }
64
67
  /**
65
68
  * Directive to apply Shadcn-like styling to a <td> element
@@ -67,9 +70,10 @@ declare class HlmTh {
67
70
  */
68
71
  declare class HlmTd {
69
72
  readonly size: i0.InputSignal<HlmTableSize>;
73
+ readonly userClass: i0.InputSignal<ClassValue>;
70
74
  constructor();
71
75
  static ɵfac: i0.ɵɵFactoryDeclaration<HlmTd, never>;
72
- static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTd, "td[hlmTd],td[hlmTableCell]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
76
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmTd, "td[hlmTd],td[hlmTableCell],th[hlmTd],th[hlmTableCell]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
73
77
  }
74
78
  /**
75
79
  * Directive to apply Shadcn-like styling to a <caption> element