@timeax/form-palette 0.0.35 → 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 +2 -2
- package/dist/extra.d.ts +2 -2
- package/dist/extra.js +6 -4
- package/dist/extra.js.map +1 -1
- package/dist/extra.mjs +6 -4
- 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
package/dist/extra.mjs
CHANGED
|
@@ -15406,6 +15406,7 @@ var InnerShadcnRadioVariant = (props, ref) => {
|
|
|
15406
15406
|
required,
|
|
15407
15407
|
// radio UI
|
|
15408
15408
|
items,
|
|
15409
|
+
options,
|
|
15409
15410
|
mappers,
|
|
15410
15411
|
optionValue,
|
|
15411
15412
|
optionLabel,
|
|
@@ -15433,13 +15434,13 @@ var InnerShadcnRadioVariant = (props, ref) => {
|
|
|
15433
15434
|
const hasError = !!error;
|
|
15434
15435
|
const normalized = React.useMemo(
|
|
15435
15436
|
() => normalizeItems(
|
|
15436
|
-
items,
|
|
15437
|
+
items != null ? items : options,
|
|
15437
15438
|
mappers,
|
|
15438
15439
|
//@ts-ignore
|
|
15439
15440
|
optionValue,
|
|
15440
15441
|
optionLabel
|
|
15441
15442
|
),
|
|
15442
|
-
[items, mappers, optionValue, optionLabel]
|
|
15443
|
+
[items, options, mappers, optionValue, optionLabel]
|
|
15443
15444
|
);
|
|
15444
15445
|
const selectedString = React.useMemo(() => {
|
|
15445
15446
|
if (value === void 0) return void 0;
|
|
@@ -15768,6 +15769,7 @@ var InnerShadcnCheckboxVariant = (props, ref) => {
|
|
|
15768
15769
|
required,
|
|
15769
15770
|
// UI / behaviour
|
|
15770
15771
|
items,
|
|
15772
|
+
options,
|
|
15771
15773
|
mappers,
|
|
15772
15774
|
optionValue,
|
|
15773
15775
|
optionLabel,
|
|
@@ -15873,12 +15875,12 @@ var InnerShadcnCheckboxVariant = (props, ref) => {
|
|
|
15873
15875
|
const groupValue = asGroupValue(value);
|
|
15874
15876
|
const normalized = React.useMemo(
|
|
15875
15877
|
() => normalizeItems2(
|
|
15876
|
-
items,
|
|
15878
|
+
items != null ? items : options,
|
|
15877
15879
|
mappers,
|
|
15878
15880
|
optionValue,
|
|
15879
15881
|
optionLabel
|
|
15880
15882
|
),
|
|
15881
|
-
[items, mappers, optionValue, optionLabel]
|
|
15883
|
+
[items, options, mappers, optionValue, optionLabel]
|
|
15882
15884
|
);
|
|
15883
15885
|
const {
|
|
15884
15886
|
groupStyle,
|