@timeax/form-palette 0.1.35 → 0.2.1

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.
@@ -2729,7 +2729,7 @@ interface ShadcnToggleVariantProps extends Pick<VariantBaseProps<string | string
2729
2729
  */
2730
2730
  options: ToggleOptionInput[];
2731
2731
  multiple?: boolean;
2732
- variant?: "default" | "outline";
2732
+ design?: "default" | "outline";
2733
2733
  layout?: "horizontal" | "vertical" | "grid";
2734
2734
  gridCols?: number;
2735
2735
  fillWidth?: boolean;
@@ -2816,6 +2816,8 @@ interface ShadcnToggleVariantProps extends Pick<VariantBaseProps<string | string
2816
2816
  type ToastToolbarItem = "heading" | "bold" | "italic" | "strike" | "hr" | "quote" | "ul" | "ol" | "task" | "indent" | "outdent" | "table" | "image" | "link" | "code" | "codeblock";
2817
2817
  type EditorFormat = "html" | "markdown";
2818
2818
  type EditorToolbar = "default" | "none" | ToastToolbarItem[][];
2819
+ type EditorTheme = "auto" | "light" | "dark";
2820
+ type EditorThemeTarget = "nearest" | "document";
2819
2821
  interface ShadcnEditorVariantProps extends Pick<VariantBaseProps<string | undefined>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "required" | "size" | "density"> {
2820
2822
  placeholder?: string;
2821
2823
  height?: string;
@@ -2833,6 +2835,14 @@ interface ShadcnEditorVariantProps extends Pick<VariantBaseProps<string | undefi
2833
2835
  toolbar?: EditorToolbar;
2834
2836
  /** If true, paste is intercepted and inserted as plain text only */
2835
2837
  pastePlainText?: boolean;
2838
+ /** Theme mode for Toast UI */
2839
+ theme?: EditorTheme;
2840
+ /**
2841
+ * In auto mode:
2842
+ * - "nearest": resolve from nearest themed ancestor (default)
2843
+ * - "document": resolve from document root only
2844
+ */
2845
+ themeTarget?: EditorThemeTarget;
2836
2846
  className?: string;
2837
2847
  }
2838
2848
 
@@ -2729,7 +2729,7 @@ interface ShadcnToggleVariantProps extends Pick<VariantBaseProps<string | string
2729
2729
  */
2730
2730
  options: ToggleOptionInput[];
2731
2731
  multiple?: boolean;
2732
- variant?: "default" | "outline";
2732
+ design?: "default" | "outline";
2733
2733
  layout?: "horizontal" | "vertical" | "grid";
2734
2734
  gridCols?: number;
2735
2735
  fillWidth?: boolean;
@@ -2816,6 +2816,8 @@ interface ShadcnToggleVariantProps extends Pick<VariantBaseProps<string | string
2816
2816
  type ToastToolbarItem = "heading" | "bold" | "italic" | "strike" | "hr" | "quote" | "ul" | "ol" | "task" | "indent" | "outdent" | "table" | "image" | "link" | "code" | "codeblock";
2817
2817
  type EditorFormat = "html" | "markdown";
2818
2818
  type EditorToolbar = "default" | "none" | ToastToolbarItem[][];
2819
+ type EditorTheme = "auto" | "light" | "dark";
2820
+ type EditorThemeTarget = "nearest" | "document";
2819
2821
  interface ShadcnEditorVariantProps extends Pick<VariantBaseProps<string | undefined>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "required" | "size" | "density"> {
2820
2822
  placeholder?: string;
2821
2823
  height?: string;
@@ -2833,6 +2835,14 @@ interface ShadcnEditorVariantProps extends Pick<VariantBaseProps<string | undefi
2833
2835
  toolbar?: EditorToolbar;
2834
2836
  /** If true, paste is intercepted and inserted as plain text only */
2835
2837
  pastePlainText?: boolean;
2838
+ /** Theme mode for Toast UI */
2839
+ theme?: EditorTheme;
2840
+ /**
2841
+ * In auto mode:
2842
+ * - "nearest": resolve from nearest themed ancestor (default)
2843
+ * - "document": resolve from document root only
2844
+ */
2845
+ themeTarget?: EditorThemeTarget;
2836
2846
  className?: string;
2837
2847
  }
2838
2848
 
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-Bb5eVTa4.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-Bb5eVTa4.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-DQr56obQ.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-DQr56obQ.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-B34a6gqM.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-B34a6gqM.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-Cg8uXa6v.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-Cg8uXa6v.js';
5
5
  import 'zod';
6
6
  import './adapter-CvjXO9Gi.js';
7
7
  import '@inertiajs/core';