@timeax/form-palette 0.0.34 → 0.0.36
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/dist/extra.d.mts +3 -3
- package/dist/extra.d.ts +3 -3
- package/dist/extra.js +50 -28
- package/dist/extra.js.map +1 -1
- package/dist/extra.mjs +50 -28
- package/dist/extra.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{variant-DK7UrSwZ.d.mts → variant-BYqslKTy.d.mts} +10 -1
- package/dist/{variant-Dk9A4ceE.d.ts → variant-DLlGPgPJ.d.ts} +10 -1
- package/package.json +1 -1
|
@@ -1962,7 +1962,8 @@ interface ShadcnRadioUiProps<TItem, TValue> {
|
|
|
1962
1962
|
* or optionValue/optionLabel keys.
|
|
1963
1963
|
* - primitive arrays such as `string[]` or `number[]` (fallback).
|
|
1964
1964
|
*/
|
|
1965
|
-
|
|
1965
|
+
options?: readonly TItem[];
|
|
1966
|
+
items?: readonly TItem[];
|
|
1966
1967
|
/**
|
|
1967
1968
|
* Mapping functions for TItem → value/label/etc.
|
|
1968
1969
|
*
|
|
@@ -2137,6 +2138,14 @@ interface ShadcnCheckboxUiProps<TItem, TValue> {
|
|
|
2137
2138
|
* Single mode:
|
|
2138
2139
|
* - Optional; if provided, `items[0]` can supply label/description.
|
|
2139
2140
|
*/
|
|
2141
|
+
options?: readonly TItem[];
|
|
2142
|
+
/**
|
|
2143
|
+
* Group mode:
|
|
2144
|
+
* - Optional; if provided, `items` can supply label/description.
|
|
2145
|
+
*
|
|
2146
|
+
* Single mode:
|
|
2147
|
+
* - Required when `single` is true.
|
|
2148
|
+
*/
|
|
2140
2149
|
items?: readonly TItem[];
|
|
2141
2150
|
/**
|
|
2142
2151
|
* Mapping functions for arbitrary item shapes.
|
|
@@ -1962,7 +1962,8 @@ interface ShadcnRadioUiProps<TItem, TValue> {
|
|
|
1962
1962
|
* or optionValue/optionLabel keys.
|
|
1963
1963
|
* - primitive arrays such as `string[]` or `number[]` (fallback).
|
|
1964
1964
|
*/
|
|
1965
|
-
|
|
1965
|
+
options?: readonly TItem[];
|
|
1966
|
+
items?: readonly TItem[];
|
|
1966
1967
|
/**
|
|
1967
1968
|
* Mapping functions for TItem → value/label/etc.
|
|
1968
1969
|
*
|
|
@@ -2137,6 +2138,14 @@ interface ShadcnCheckboxUiProps<TItem, TValue> {
|
|
|
2137
2138
|
* Single mode:
|
|
2138
2139
|
* - Optional; if provided, `items[0]` can supply label/description.
|
|
2139
2140
|
*/
|
|
2141
|
+
options?: readonly TItem[];
|
|
2142
|
+
/**
|
|
2143
|
+
* Group mode:
|
|
2144
|
+
* - Optional; if provided, `items` can supply label/description.
|
|
2145
|
+
*
|
|
2146
|
+
* Single mode:
|
|
2147
|
+
* - Required when `single` is true.
|
|
2148
|
+
*/
|
|
2140
2149
|
items?: readonly TItem[];
|
|
2141
2150
|
/**
|
|
2142
2151
|
* Mapping functions for arbitrary item shapes.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timeax/form-palette",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.36",
|
|
5
5
|
"description": "This package extracts and standardizes the **form + input + variant system** from an existing Laravel/Inertia/React project into a **reusable, framework-friendly** library",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Form",
|