@timeax/form-palette 0.0.35 → 0.0.37

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { M as ListerDefinition, N as ListerRuntimeState, O as ListerProviderHost, P as PresetMap, Q as ListerStoreState, U as ListerSessionId, W as ListerId, X as ListerSearchMode, Y as ListerSearchTarget, Z as ListerSearchPayload, _ as ListerFilterCtx, $ as ListerFilterOption, a0 as ListerMode, a1 as ListerApi, a2 as ShadcnJsonEditorProps, a3 as JsonEditorIndexHandle } from './variant-DK7UrSwZ.mjs';
4
- export { a8 as ListerChangeEvent, as as ListerDetails, ai as ListerFilterApply, ah as ListerFilterApplyMode, aj as ListerFilterBindKey, al as ListerFilterGroupOption, ak as ListerFilterInput, an as ListerFilterInputOption, ao as ListerFilterSpec, am as ListerFilterValueOption, aa as ListerLogCode, ab as ListerLogEntry, a9 as ListerLogLevel, ae as ListerMapping, at as ListerOpenOptions, a4 as ListerOpenReason, au as ListerOpenResult, ad as ListerOption, ar as ListerOptionsForMode, ac as ListerPermissionCtx, aq as ListerRawForMode, ag as ListerSearchSpec, az as ListerSessionState, af as ListerSource, ap as ListerValueForMode, a7 as OpenAnchor, ax as PresetFilters, ay as PresetMeta, av as PresetRaw, aw as PresetValue, a6 as Resolver, a5 as Selector } from './variant-DK7UrSwZ.mjs';
3
+ import { M as ListerDefinition, N as ListerRuntimeState, O as ListerProviderHost, P as PresetMap, Q as ListerStoreState, U as ListerSessionId, W as ListerId, X as ListerSearchMode, Y as ListerSearchTarget, Z as ListerSearchPayload, _ as ListerFilterCtx, $ as ListerFilterOption, a0 as ListerMode, a1 as ListerApi, a2 as ShadcnJsonEditorProps, a3 as JsonEditorIndexHandle } from './variant-BYqslKTy.mjs';
4
+ export { a8 as ListerChangeEvent, as as ListerDetails, ai as ListerFilterApply, ah as ListerFilterApplyMode, aj as ListerFilterBindKey, al as ListerFilterGroupOption, ak as ListerFilterInput, an as ListerFilterInputOption, ao as ListerFilterSpec, am as ListerFilterValueOption, aa as ListerLogCode, ab as ListerLogEntry, a9 as ListerLogLevel, ae as ListerMapping, at as ListerOpenOptions, a4 as ListerOpenReason, au as ListerOpenResult, ad as ListerOption, ar as ListerOptionsForMode, ac as ListerPermissionCtx, aq as ListerRawForMode, ag as ListerSearchSpec, az as ListerSessionState, af as ListerSource, ap as ListerValueForMode, a7 as OpenAnchor, ax as PresetFilters, ay as PresetMeta, av as PresetRaw, aw as PresetValue, a6 as Resolver, a5 as Selector } from './variant-BYqslKTy.mjs';
5
5
  import 'zod';
6
6
  import './adapter-CvjXO9Gi.mjs';
7
7
  import '@inertiajs/core';
package/dist/extra.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { M as ListerDefinition, N as ListerRuntimeState, O as ListerProviderHost, P as PresetMap, Q as ListerStoreState, U as ListerSessionId, W as ListerId, X as ListerSearchMode, Y as ListerSearchTarget, Z as ListerSearchPayload, _ as ListerFilterCtx, $ as ListerFilterOption, a0 as ListerMode, a1 as ListerApi, a2 as ShadcnJsonEditorProps, a3 as JsonEditorIndexHandle } from './variant-Dk9A4ceE.js';
4
- export { a8 as ListerChangeEvent, as as ListerDetails, ai as ListerFilterApply, ah as ListerFilterApplyMode, aj as ListerFilterBindKey, al as ListerFilterGroupOption, ak as ListerFilterInput, an as ListerFilterInputOption, ao as ListerFilterSpec, am as ListerFilterValueOption, aa as ListerLogCode, ab as ListerLogEntry, a9 as ListerLogLevel, ae as ListerMapping, at as ListerOpenOptions, a4 as ListerOpenReason, au as ListerOpenResult, ad as ListerOption, ar as ListerOptionsForMode, ac as ListerPermissionCtx, aq as ListerRawForMode, ag as ListerSearchSpec, az as ListerSessionState, af as ListerSource, ap as ListerValueForMode, a7 as OpenAnchor, ax as PresetFilters, ay as PresetMeta, av as PresetRaw, aw as PresetValue, a6 as Resolver, a5 as Selector } from './variant-Dk9A4ceE.js';
3
+ import { M as ListerDefinition, N as ListerRuntimeState, O as ListerProviderHost, P as PresetMap, Q as ListerStoreState, U as ListerSessionId, W as ListerId, X as ListerSearchMode, Y as ListerSearchTarget, Z as ListerSearchPayload, _ as ListerFilterCtx, $ as ListerFilterOption, a0 as ListerMode, a1 as ListerApi, a2 as ShadcnJsonEditorProps, a3 as JsonEditorIndexHandle } from './variant-DLlGPgPJ.js';
4
+ export { a8 as ListerChangeEvent, as as ListerDetails, ai as ListerFilterApply, ah as ListerFilterApplyMode, aj as ListerFilterBindKey, al as ListerFilterGroupOption, ak as ListerFilterInput, an as ListerFilterInputOption, ao as ListerFilterSpec, am as ListerFilterValueOption, aa as ListerLogCode, ab as ListerLogEntry, a9 as ListerLogLevel, ae as ListerMapping, at as ListerOpenOptions, a4 as ListerOpenReason, au as ListerOpenResult, ad as ListerOption, ar as ListerOptionsForMode, ac as ListerPermissionCtx, aq as ListerRawForMode, ag as ListerSearchSpec, az as ListerSessionState, af as ListerSource, ap as ListerValueForMode, a7 as OpenAnchor, ax as PresetFilters, ay as PresetMeta, av as PresetRaw, aw as PresetValue, a6 as Resolver, a5 as Selector } from './variant-DLlGPgPJ.js';
5
5
  import 'zod';
6
6
  import './adapter-CvjXO9Gi.js';
7
7
  import '@inertiajs/core';
package/dist/extra.js CHANGED
@@ -15443,6 +15443,7 @@ var InnerShadcnRadioVariant = (props, ref) => {
15443
15443
  required,
15444
15444
  // radio UI
15445
15445
  items,
15446
+ options,
15446
15447
  mappers,
15447
15448
  optionValue,
15448
15449
  optionLabel,
@@ -15470,13 +15471,13 @@ var InnerShadcnRadioVariant = (props, ref) => {
15470
15471
  const hasError = !!error;
15471
15472
  const normalized = React__namespace.useMemo(
15472
15473
  () => normalizeItems(
15473
- items,
15474
+ items != null ? items : options,
15474
15475
  mappers,
15475
15476
  //@ts-ignore
15476
15477
  optionValue,
15477
15478
  optionLabel
15478
15479
  ),
15479
- [items, mappers, optionValue, optionLabel]
15480
+ [items, options, mappers, optionValue, optionLabel]
15480
15481
  );
15481
15482
  const selectedString = React__namespace.useMemo(() => {
15482
15483
  if (value === void 0) return void 0;
@@ -15805,6 +15806,7 @@ var InnerShadcnCheckboxVariant = (props, ref) => {
15805
15806
  required,
15806
15807
  // UI / behaviour
15807
15808
  items,
15809
+ options,
15808
15810
  mappers,
15809
15811
  optionValue,
15810
15812
  optionLabel,
@@ -15910,12 +15912,12 @@ var InnerShadcnCheckboxVariant = (props, ref) => {
15910
15912
  const groupValue = asGroupValue(value);
15911
15913
  const normalized = React__namespace.useMemo(
15912
15914
  () => normalizeItems2(
15913
- items,
15915
+ items != null ? items : options,
15914
15916
  mappers,
15915
15917
  optionValue,
15916
15918
  optionLabel
15917
15919
  ),
15918
- [items, mappers, optionValue, optionLabel]
15920
+ [items, options, mappers, optionValue, optionLabel]
15919
15921
  );
15920
15922
  const {
15921
15923
  groupStyle,
@@ -25176,6 +25178,7 @@ function InputField(props) {
25176
25178
  description,
25177
25179
  helpText,
25178
25180
  errorText,
25181
+ autoOff,
25179
25182
  // Container + tags
25180
25183
  contain,
25181
25184
  tags,
@@ -25425,6 +25428,7 @@ function InputField(props) {
25425
25428
  Variant,
25426
25429
  {
25427
25430
  ...rest,
25431
+ name: autoOff ? void 0 : name,
25428
25432
  id: key,
25429
25433
  ref,
25430
25434
  value,
@@ -25612,6 +25616,7 @@ function InputField(props) {
25612
25616
  Variant,
25613
25617
  {
25614
25618
  ...rest,
25619
+ name: autoOff ? void 0 : name,
25615
25620
  id: key,
25616
25621
  ref,
25617
25622
  value,