@timeax/form-palette 0.1.26 → 0.1.27

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.
@@ -1976,15 +1976,27 @@ interface KV {
1976
1976
  interface ShadcnKeyValueVariantProps extends Pick<VariantBaseProps<KeyValueMap | undefined>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> {
1977
1977
  min?: number;
1978
1978
  max?: number;
1979
+ /**
1980
+ * Legacy props (kept for compatibility; no longer drive visibility).
1981
+ */
1979
1982
  minVisible?: number;
1980
1983
  maxVisible?: number;
1981
- showAddButton?: boolean;
1982
- showMenuButton?: boolean;
1984
+ /**
1985
+ * If false/undefined, inline chips show keys only.
1986
+ * If true, inline chips show "key : value".
1987
+ *
1988
+ * In the dropdown: key-only + an info button reveals the value.
1989
+ */
1990
+ showValue?: boolean;
1983
1991
  placeholder?: React.ReactNode;
1984
1992
  dialogTitle?: React.ReactNode;
1985
1993
  keyLabel?: React.ReactNode;
1986
1994
  valueLabel?: React.ReactNode;
1987
1995
  submitLabel?: React.ReactNode;
1996
+ /**
1997
+ * Overflow indicator label (e.g. "2+").
1998
+ * This is now purely informational; dropdown control is always available.
1999
+ */
1988
2000
  moreLabel?: (count: number) => React.ReactNode;
1989
2001
  emptyLabel?: React.ReactNode;
1990
2002
  className?: string;
@@ -2539,20 +2551,16 @@ interface SelectBaseProps extends Pick<VariantBaseProps<SelectPrimitive | undefi
2539
2551
  */
2540
2552
  extendBoxToControls?: boolean;
2541
2553
  /**
2542
- * Enable incremental rendering for large option lists.
2543
- *
2544
- * When true, only a page of options is rendered initially,
2545
- * and more are revealed as the user scrolls down.
2554
+ * Enable virtualized rendering for large option lists.
2555
+ * Default: true.
2546
2556
  */
2547
2557
  virtualScroll?: boolean;
2548
2558
  /**
2549
- * Number of options to render per "page" when virtualScroll is enabled.
2550
- * Default: 50.
2559
+ * @deprecated No longer used with react-virtuoso.
2551
2560
  */
2552
2561
  virtualScrollPageSize?: number;
2553
2562
  /**
2554
- * Distance from the bottom (in px) at which the next page loads.
2555
- * Default: 48px.
2563
+ * @deprecated No longer used with react-virtuoso.
2556
2564
  */
2557
2565
  virtualScrollThreshold?: number;
2558
2566
  }
@@ -1976,15 +1976,27 @@ interface KV {
1976
1976
  interface ShadcnKeyValueVariantProps extends Pick<VariantBaseProps<KeyValueMap | undefined>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> {
1977
1977
  min?: number;
1978
1978
  max?: number;
1979
+ /**
1980
+ * Legacy props (kept for compatibility; no longer drive visibility).
1981
+ */
1979
1982
  minVisible?: number;
1980
1983
  maxVisible?: number;
1981
- showAddButton?: boolean;
1982
- showMenuButton?: boolean;
1984
+ /**
1985
+ * If false/undefined, inline chips show keys only.
1986
+ * If true, inline chips show "key : value".
1987
+ *
1988
+ * In the dropdown: key-only + an info button reveals the value.
1989
+ */
1990
+ showValue?: boolean;
1983
1991
  placeholder?: React.ReactNode;
1984
1992
  dialogTitle?: React.ReactNode;
1985
1993
  keyLabel?: React.ReactNode;
1986
1994
  valueLabel?: React.ReactNode;
1987
1995
  submitLabel?: React.ReactNode;
1996
+ /**
1997
+ * Overflow indicator label (e.g. "2+").
1998
+ * This is now purely informational; dropdown control is always available.
1999
+ */
1988
2000
  moreLabel?: (count: number) => React.ReactNode;
1989
2001
  emptyLabel?: React.ReactNode;
1990
2002
  className?: string;
@@ -2539,20 +2551,16 @@ interface SelectBaseProps extends Pick<VariantBaseProps<SelectPrimitive | undefi
2539
2551
  */
2540
2552
  extendBoxToControls?: boolean;
2541
2553
  /**
2542
- * Enable incremental rendering for large option lists.
2543
- *
2544
- * When true, only a page of options is rendered initially,
2545
- * and more are revealed as the user scrolls down.
2554
+ * Enable virtualized rendering for large option lists.
2555
+ * Default: true.
2546
2556
  */
2547
2557
  virtualScroll?: boolean;
2548
2558
  /**
2549
- * Number of options to render per "page" when virtualScroll is enabled.
2550
- * Default: 50.
2559
+ * @deprecated No longer used with react-virtuoso.
2551
2560
  */
2552
2561
  virtualScrollPageSize?: number;
2553
2562
  /**
2554
- * Distance from the bottom (in px) at which the next page loads.
2555
- * Default: 48px.
2563
+ * @deprecated No longer used with react-virtuoso.
2556
2564
  */
2557
2565
  virtualScrollThreshold?: number;
2558
2566
  }
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 { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-LqBlzmUb.mjs';
4
- export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-LqBlzmUb.mjs';
3
+ import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-BxK4PLut.mjs';
4
+ export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-BxK4PLut.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 { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-DFOt5Ha-.js';
4
- export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-DFOt5Ha-.js';
3
+ import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-DDFFngF0.js';
4
+ export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-DDFFngF0.js';
5
5
  import 'zod';
6
6
  import './adapter-CvjXO9Gi.js';
7
7
  import '@inertiajs/core';