@smartsoft001/claude-plugins 2.195.0 → 2.196.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/claude-plugins",
3
- "version": "2.195.0",
3
+ "version": "2.196.0",
4
4
  "description": "Installs the smartsoft Claude Code plugins into a project: smart-core (hooks and framework-neutral skills) plus smart-angular or smart-react (the component and CRUD skills and agents of one framework).",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -133,23 +133,23 @@ function useDateEdit({
133
133
  }: SmartDateEditVariantProps);
134
134
  ```
135
135
 
136
- | Returns | Type | Description |
137
- | -------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
138
- | `value` | `string \| null` | The current `YYYY-MM-DD` value (controlled or internal), `null` when empty. |
139
- | `setValue` | `(next: string) => void` | Sets the value and calls `onValueChange` (no call when unchanged). |
140
- | `validDate` | `boolean` | Whether the current value is a valid date. |
141
- | `setValidDate` | `Dispatch<SetStateAction<boolean>>` | Sets the validity flag (also reported through `onValidChange`). |
142
- | `setValueAt` | `(val: string \| number \| null, index: number) => void` | Writes one digit at a position of the DD-MM-RRRR mask. |
143
- | `moveTo` | `(event: KeyboardEvent<HTMLInputElement>, el: HTMLInputElement \| null) => void` | Keyup handler of a digit input: a digit moves the focus to the next input. |
144
- | `select` | `(el: HTMLInputElement \| null) => void` | Trims an input to one character and selects it, so the next key replaces the digit. |
145
- | `d1` | `string \| null` | First day digit. |
146
- | `d2` | `string \| null` | Second day digit. |
147
- | `m1` | `string \| null` | First month digit. |
148
- | `m2` | `string \| null` | Second month digit. |
149
- | `y1` | `string \| null` | First year digit. |
150
- | `y2` | `string \| null` | Second year digit. |
151
- | `y3` | `string \| null` | Third year digit. |
152
- | `y4` | `string \| null` | Fourth year digit. |
136
+ | Returns | Type | Description |
137
+ | -------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
138
+ | `value` | `string \| null` | The current `YYYY-MM-DD` value (controlled or internal), `null` when empty. |
139
+ | `setValue` | `(next: string) => void` | Sets the value and calls `onValueChange` (no call when unchanged). |
140
+ | `validDate` | `boolean` | Whether the current value is a valid date. |
141
+ | `setValidDate` | `Dispatch<SetStateAction<boolean>>` | Sets the validity flag only; `setValueAt` is what reports to `onValidChange`, so a custom editor that calls this reports it itself. |
142
+ | `setValueAt` | `(val: string \| number \| null, index: number) => void` | Writes one digit at a position of the DD-MM-RRRR mask. |
143
+ | `moveTo` | `(event: KeyboardEvent<HTMLInputElement>, el: HTMLInputElement \| null) => void` | Keyup handler of a digit input: a digit moves the focus to the next input. |
144
+ | `select` | `(el: HTMLInputElement \| null) => void` | Trims an input to one character and selects it, so the next key replaces the digit. |
145
+ | `d1` | `string \| null` | First day digit. |
146
+ | `d2` | `string \| null` | Second day digit. |
147
+ | `m1` | `string \| null` | First month digit. |
148
+ | `m2` | `string \| null` | Second month digit. |
149
+ | `y1` | `string \| null` | First year digit. |
150
+ | `y2` | `string \| null` | Second year digit. |
151
+ | `y3` | `string \| null` | Third year digit. |
152
+ | `y4` | `string \| null` | Fourth year digit. |
153
153
 
154
154
  ```tsx
155
155
  import { SmartDateEditVariantProps, useDateEdit } from '@smartsoft001/react';
@@ -32,11 +32,11 @@ The preset's class helpers (`getIconSizeClasses`, `getIconContainerClasses`) are
32
32
 
33
33
  ### `SmartIconProps`
34
34
 
35
- | Prop | Type | Default | Description |
36
- | ------------ | ----------- | ----------- | ---------------------------------------------------------------------- |
37
- | `name?` | `IconName` | `'spinner'` | The glyph; renders nothing when neither `name` nor `template` matches. |
38
- | `className?` | `string` | — | Classes on the SVG of the glyph. |
39
- | `template?` | `ReactNode` | — | Rendered instead of the named glyph. |
35
+ | Prop | Type | Default | Description |
36
+ | ------------ | ----------- | ------- | ---------------------------------------------------------------------------------- |
37
+ | `name?` | `IconName` | — | The glyph; renders nothing without a `name` or `template`, or for an unknown name. |
38
+ | `className?` | `string` | — | Classes on the SVG of the glyph. |
39
+ | `template?` | `ReactNode` | — | Rendered instead of the named glyph. |
40
40
 
41
41
  ### `SmartIconGlyphProps`
42
42