@cyclone-ui/state 0.0.28 → 0.0.30

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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  # Changelog for Cyclone UI - State
4
4
 
5
+ ## [0.0.29](https://github.com/storm-software/cyclone-ui/releases/tag/state%400.0.29) (10/23/2026)
6
+
7
+ ### Features
8
+
9
+ - **monorepo:** Added the `cyclone-ui-setup` skill to the workspace ([a5e5cdda](https://github.com/storm-software/cyclone-ui/commit/a5e5cdda))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **helpers** to **v0.3.28**
14
+
5
15
  ## [0.0.28](https://github.com/storm-software/cyclone-ui/releases/tag/state%400.0.28) (10/23/2026)
6
16
 
7
17
  ### Documentation
@@ -1,7 +1,7 @@
1
+ import { SetStateAction } from "react";
1
2
  import { PrimitiveAtom, WritableAtom } from "jotai";
2
3
  import { atomWithStorage } from "jotai/utils";
3
4
  import { AsyncStorage, SyncStorage } from "jotai/vanilla/utils/atomWithStorage";
4
- import { SetStateAction as SetStateAction$1 } from "react";
5
5
  declare const getWebStorage: <TValue>() => AsyncStorage<TValue> | SyncStorage<TValue>;
6
6
  /**
7
7
  * Creates an atom that persists its state in external storage and sends a broadcast message to other tabs/windows when the state changes.
@@ -11,8 +11,8 @@ declare const getWebStorage: <TValue>() => AsyncStorage<TValue> | SyncStorage<TV
11
11
  * @param webStorage - The storage to use
12
12
  * @returns An atom that persists its state in external storage and sends a broadcast message to other tabs/windows when the state changes.
13
13
  */
14
- declare function atomWithWebStorage<TValue>(key: string, initialValueOrAtom: PrimitiveAtom<TValue> | TValue | WritableAtom<TValue, [SetStateAction$1<TValue>], void>, webStorage?: AsyncStorage<TValue> | SyncStorage<TValue>, options?: {
14
+ declare function atomWithWebStorage<TValue>(key: string, initialValueOrAtom: PrimitiveAtom<TValue> | TValue | WritableAtom<TValue, [SetStateAction<TValue>], void>, webStorage?: AsyncStorage<TValue> | SyncStorage<TValue>, options?: {
15
15
  debounceMs?: number;
16
- } & Parameters<typeof atomWithStorage>[3]): WritableAtom<TValue, [SetStateAction$1<TValue>], void>;
16
+ } & Parameters<typeof atomWithStorage>[3]): WritableAtom<TValue, [SetStateAction<TValue>], void>;
17
17
  export { atomWithWebStorage, getWebStorage };
18
18
  //# sourceMappingURL=atom-with-web-storage.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"atom-with-web-storage.d.cts","names":["SetStateAction"],"sources":["../../../src/base/atoms/atom-with-web-storage.ts"],"mappings":";;;;cAiCa,gBAAiB,aAC5B,aAAa,UAAU,YAAY;;;;;;;;;iBAWrB,mBAAmB,QACjC,aACA,oBACI,cAAc,UACd,SACA,aAAa,SAASA,iBAAe,iBACzC,aACE,aAAa,UAAU,YAAY,SACrC;EAAY;IAAwB,kBAAkB,sBACrD,aAAa,SAASA,iBAAe"}
1
+ {"version":3,"file":"atom-with-web-storage.d.cts","names":[],"sources":["../../../src/base/atoms/atom-with-web-storage.ts"],"mappings":";;;;cAiCa,gBAAiB,aAC5B,aAAa,UAAU,YAAY;;;;;;;;;iBAWrB,mBAAmB,QACjC,aACA,oBACI,cAAc,UACd,SACA,aAAa,SAAS,eAAe,iBACzC,aACE,aAAa,UAAU,YAAY,SACrC;EAAY;IAAwB,kBAAkB,sBACrD,aAAa,SAAS,eAAe"}
@@ -1,7 +1,7 @@
1
1
  import { AtomRecord, AtomRecordConstraint, ExtractAtomRecordValues, IsResetAtom } from "../../types.cjs";
2
+ import { Atom, WritableAtom } from "jotai";
2
3
  import { MoleculeScope } from "bunshi";
3
4
  import { MoleculeScopeOptions, ProviderProps } from "bunshi/react";
4
- import { Atom, WritableAtom } from "jotai";
5
5
  type Molecule<TValue> = {
6
6
  displayName?: string;
7
7
  } & Record<symbol, unknown>;
@@ -1,7 +1,5 @@
1
1
  import { AtomRecordConstraint, SetStateActionWithReset, SplitAtomAction } from "../types.cjs";
2
2
  import { MoleculeState } from "../base/utilities/create-molecule.cjs";
3
- import { Atom, Getter, PrimitiveAtom, SetStateAction, Setter, WritableAtom } from "jotai";
4
- import { RESET } from "jotai/utils";
5
3
  import { Ref } from "react";
6
4
  import { FormControlSize } from "@cyclone-ui/helpers";
7
5
  import { MaskitoOptions } from "@maskito/core";
@@ -9,6 +7,8 @@ import { MaybePromise } from "@stryke/types/base";
9
7
  import { SelectOption, SelectOptionValue } from "@stryke/types/form";
10
8
  import { IsPlainObject } from "@stryke/types/object";
11
9
  import { ValidationDetail } from "@stryke/types/validations";
10
+ import { Atom, Getter, PrimitiveAtom, SetStateAction as SetStateAction$1, Setter, WritableAtom } from "jotai";
11
+ import { RESET } from "jotai/utils";
12
12
  /**
13
13
  * "server" is only intended for SSR/SSG validation and should not execute anything
14
14
  */
@@ -93,10 +93,10 @@ type FormOptionsState<TFormValues extends Record<string, any> = Record<string, a
93
93
  interface FormAtoms<TFormValues extends Record<string, any> = Record<string, any>> {
94
94
  options: WritableAtom<FormOptionsState<TFormValues>, [SetStateActionWithReset<FormOptions<TFormValues>>], void>;
95
95
  name: Atom<string>;
96
- initialValues: WritableAtom<FormValuesState<TFormValues>, [typeof RESET | SetStateAction<FormValuesState<TFormValues>>], void>;
96
+ initialValues: WritableAtom<FormValuesState<TFormValues>, [typeof RESET | SetStateAction$1<FormValuesState<TFormValues>>], void>;
97
97
  previousValues: Atom<FormValuesState<TFormValues>>;
98
- values: WritableAtom<FormValuesState<TFormValues>, [typeof RESET | SetStateAction<FormValuesState<TFormValues>>], void>;
99
- disabled: WritableAtom<boolean, [typeof RESET | SetStateAction<boolean>], void>;
98
+ values: WritableAtom<FormValuesState<TFormValues>, [typeof RESET | SetStateAction$1<FormValuesState<TFormValues>>], void>;
99
+ disabled: WritableAtom<boolean, [typeof RESET | SetStateAction$1<boolean>], void>;
100
100
  formValidating: WritableAtom<boolean, [SetStateActionWithReset<boolean>], void>;
101
101
  validationResults: WritableAtom<ValidationResults, [SetStateActionWithReset<ValidationResults>], void>;
102
102
  submitting: WritableAtom<boolean, [SetStateActionWithReset<boolean>], void>;
@@ -251,25 +251,25 @@ interface FieldAtoms<TFieldValue> {
251
251
  form: Atom<string>;
252
252
  name: Atom<string>;
253
253
  path: Atom<string[]>;
254
- focused: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction<InferFieldState<TFieldValue, boolean>>], void>;
255
- required: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction<InferFieldState<TFieldValue, boolean>>], void>;
256
- disabled: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction<InferFieldState<TFieldValue, boolean>>], void>;
254
+ focused: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction$1<InferFieldState<TFieldValue, boolean>>], void>;
255
+ required: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction$1<InferFieldState<TFieldValue, boolean>>], void>;
256
+ disabled: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction$1<InferFieldState<TFieldValue, boolean>>], void>;
257
257
  clearable: Atom<boolean>;
258
- touched: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction<InferFieldState<TFieldValue, boolean>>], void>;
259
- blurred: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction<InferFieldState<TFieldValue, boolean>>], void>;
260
- validating: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction<InferFieldState<TFieldValue, boolean>>], void>;
261
- validationResults: WritableAtom<InferFieldState<TFieldValue, ValidationResults>, [SetStateAction<InferFieldState<TFieldValue, ValidationResults>>], void>;
262
- tabIndex: WritableAtom<InferFieldState<TFieldValue, number>, [SetStateAction<InferFieldState<TFieldValue, number>>], void>;
263
- ref: WritableAtom<InferFieldState<TFieldValue, Ref<HTMLInputElement>>, [SetStateAction<InferFieldState<TFieldValue, Ref<HTMLInputElement>>>], void>;
258
+ touched: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction$1<InferFieldState<TFieldValue, boolean>>], void>;
259
+ blurred: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction$1<InferFieldState<TFieldValue, boolean>>], void>;
260
+ validating: WritableAtom<InferFieldState<TFieldValue, boolean>, [SetStateAction$1<InferFieldState<TFieldValue, boolean>>], void>;
261
+ validationResults: WritableAtom<InferFieldState<TFieldValue, ValidationResults>, [SetStateAction$1<InferFieldState<TFieldValue, ValidationResults>>], void>;
262
+ tabIndex: WritableAtom<InferFieldState<TFieldValue, number>, [SetStateAction$1<InferFieldState<TFieldValue, number>>], void>;
263
+ ref: WritableAtom<InferFieldState<TFieldValue, Ref<HTMLInputElement>>, [SetStateAction$1<InferFieldState<TFieldValue, Ref<HTMLInputElement>>>], void>;
264
264
  pristine: Atom<boolean>;
265
265
  dirty: Atom<boolean>;
266
266
  previousValue: Atom<TFieldValue | null>;
267
- initialValue: WritableAtom<TFieldValue, [SetStateAction<TFieldValue>], void>;
268
- value: WritableAtom<TFieldValue, [SetStateAction<TFieldValue>], void>;
267
+ initialValue: WritableAtom<TFieldValue, [SetStateAction$1<TFieldValue>], void>;
268
+ value: WritableAtom<TFieldValue, [SetStateAction$1<TFieldValue>], void>;
269
269
  formattedValue: Atom<string>;
270
- items: WritableAtom<SelectOption<SelectOptionValue, string>[], [SetStateAction<SelectOption<SelectOptionValue, string>[]>], void>;
270
+ items: WritableAtom<SelectOption<SelectOptionValue, string>[], [SetStateAction$1<SelectOption<SelectOptionValue, string>[]>], void>;
271
271
  itemsAtoms: WritableAtom<PrimitiveAtom<SelectOption<SelectOptionValue, string>>[], [SplitAtomAction<SelectOption<SelectOptionValue, string>>], void>;
272
- size: WritableAtom<FormControlSize, [SetStateAction<FormControlSize>], void>;
272
+ size: WritableAtom<FormControlSize, [SetStateAction$1<FormControlSize>], void>;
273
273
  errors: Atom<ValidationDetail<"danger">[]>;
274
274
  warnings: Atom<ValidationDetail<"warning">[]>;
275
275
  info: Atom<ValidationDetail<"info">[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","names":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AAe,gBAAgB;EAGlC,UAAU,aACR,gBAAgB,wBACfA,iBAAe,gBAAgB;EAGlC,UAAU,aACR,gBAAgB,wBACfA,iBAAe,gBAAgB;EAGlC,WAAW;EACX,SAAS,aACP,gBAAgB,wBACfA,iBAAe,gBAAgB;EAGlC,SAAS,aACP,gBAAgB,wBACfA,iBAAe,gBAAgB;EAGlC,YAAY,aACV,gBAAgB,wBACfA,iBAAe,gBAAgB;EAGlC,mBAAmB,aACjB,gBAAgB,aAAa,qBAC5BA,iBAAe,gBAAgB,aAAa;EAG/C,UAAU,aACR,gBAAgB,uBACfA,iBAAe,gBAAgB;EAGlC,KAAK,aACH,gBAAgB,aAAa,IAAI,qBAChCA,iBAAe,gBAAgB,aAAa,IAAI;EAInD,UAAU;EACV,OAAO;EAEP,eAAe,KAAK;EACpB,cAAc,aAAa,cAAcA,iBAAe;EACxD,OAAO,aAAa,cAAcA,iBAAe;EACjD,gBAAgB;EAEhB,OAAO,aACL,aAAa,+BACZA,iBAAe,aAAa;EAG/B,YAAY,aACV,cAAc,aAAa,gCAC1B,gBAAgB,aAAa;EAIhC,MAAM,aAAa,kBAAkBA,iBAAe;EAEpD,QAAQ,KAAKD;EACb,UAAU,KAAKA;EACf,MAAM,KAAKA;EACX,WAAW,KAAKA;EAChB,SAAS,KAAKA;EACd,UAAU,KAAKA;EACf,UAAU,KAAKA;EAEf,gBAAgB,KAAKA;EACrB,iBAAiB,KAAKA;EACtB,cAAc,KAAKA;EACnB,mBAAmB,KAAKA;EACxB,iBAAiB,KAAKA;EACtB,kBAAkB,KAAKA;EACvB,kBAAkB,KAAKA;EAEvB,OAAO;EACP,UAAU,KAAKA;EAEf,SAAS;EACT,OAAO"}
package/dist/index.cjs CHANGED
@@ -19,28 +19,8 @@ const require_use_sync_molecule = require("./base/hooks/use-sync-molecule.cjs");
19
19
  const require_create_molecule = require("./base/utilities/create-molecule.cjs");
20
20
  const require_debounce = require("./base/utilities/debounce.cjs");
21
21
  require("./base/index.cjs");
22
- const require_is_validation_results = require("./form/utilities/is-validation-results.cjs");
23
- const require_validators = require("./form/utilities/validators.cjs");
24
- const require_form_molecule = require("./form/molecules/form-molecule.cjs");
25
- const require_field_molecule = require("./form/molecules/field-molecule.cjs");
26
- const require_types = require("./form/types.cjs");
27
- const require_use_field_actions = require("./form/hooks/use-field-actions.cjs");
28
- const require_use_field_ref = require("./form/hooks/use-field-ref.cjs");
29
- const require_use_form_actions = require("./form/hooks/use-form-actions.cjs");
30
- const require_abort_error = require("./form/utilities/abort-error.cjs");
31
- const require_FieldProvider = require("./form/providers/FieldProvider.cjs");
32
- const require_FormProvider = require("./form/providers/FormProvider.cjs");
33
- require("./form/index.cjs");
34
22
 
35
- exports.AbortError = require_abort_error.AbortError;
36
- exports.DEFAULT_FIELD_OPTIONS = require_field_molecule.DEFAULT_FIELD_OPTIONS;
37
- exports.DEFAULT_FORM_OPTIONS = require_form_molecule.DEFAULT_FORM_OPTIONS;
38
23
  exports.DEFAULT_SCOPE = require_create_molecule.DEFAULT_SCOPE;
39
- exports.FieldApi = require_field_molecule.FieldApi;
40
- exports.FieldProvider = require_FieldProvider.FieldProvider;
41
- exports.FormApi = require_form_molecule.FormApi;
42
- exports.FormProvider = require_FormProvider.FormProvider;
43
- exports.ValidationCause = require_types.ValidationCause;
44
24
  exports.atomWithBroadcast = require_atom_with_broadcast.atomWithBroadcast;
45
25
  exports.atomWithCompare = require_atom_with_compare.atomWithCompare;
46
26
  exports.atomWithDebounce = require_atom_with_debounce.atomWithDebounce;
@@ -57,15 +37,10 @@ exports.createScope = require_create_molecule.createScope;
57
37
  exports.createWebStorage = require_create_web_storage.createWebStorage;
58
38
  exports.debounce = require_debounce.debounce;
59
39
  exports.getWebStorage = require_atom_with_web_storage.getWebStorage;
60
- exports.isValidationResults = require_is_validation_results.isValidationResults;
61
- exports.requiredValidator = require_validators.requiredValidator;
62
40
  exports.setAtomDebugLabel = require_set_atom_debug.setAtomDebugLabel;
63
41
  exports.setAtomDebugPrivate = require_set_atom_debug.setAtomDebugPrivate;
64
42
  exports.use = require_create_molecule.use;
65
43
  exports.useAtomEffect = require_use_atom_effect.useAtomEffect;
66
- exports.useFieldActions = require_use_field_actions.useFieldActions;
67
- exports.useFieldRef = require_use_field_ref.useFieldRef;
68
- exports.useFormActions = require_use_form_actions.useFormActions;
69
44
  exports.useHydrateMolecule = require_use_hydrate_molecule.useHydrateMolecule;
70
45
  exports.usePrepareAtoms = require_use_prepare_atoms.usePrepareAtoms;
71
46
  exports.useSyncMolecule = require_use_sync_molecule.useSyncMolecule;
package/dist/index.d.cts CHANGED
@@ -19,16 +19,4 @@ import { createWebStorage } from "./base/utilities/create-web-storage.cjs";
19
19
  import { DebounceOptions, debounce } from "./base/utilities/debounce.cjs";
20
20
  import { setAtomDebugLabel, setAtomDebugPrivate } from "./base/utilities/set-atom-debug.cjs";
21
21
  import "./base/index.cjs";
22
- import { CallbackContext, FieldAtoms, FieldChangeEventHandler, FieldOptions, FieldOptionsState, FieldStatus, FormAtoms, FormOptions, FormOptionsState, FormValuesState, InferFieldState, InferFormState, ValidationCause, ValidationResults, Validator } from "./form/types.cjs";
23
- import { useFieldActions } from "./form/hooks/use-field-actions.cjs";
24
- import { useFieldRef } from "./form/hooks/use-field-ref.cjs";
25
- import { useFormActions } from "./form/hooks/use-form-actions.cjs";
26
- import { DEFAULT_FIELD_OPTIONS, FieldApi } from "./form/molecules/field-molecule.cjs";
27
- import { DEFAULT_FORM_OPTIONS, FormApi } from "./form/molecules/form-molecule.cjs";
28
- import { FieldProvider, FieldProviderOptions } from "./form/providers/FieldProvider.cjs";
29
- import { FormProvider, FormProviderOptions } from "./form/providers/FormProvider.cjs";
30
- import { AbortError } from "./form/utilities/abort-error.cjs";
31
- import { isValidationResults } from "./form/utilities/is-validation-results.cjs";
32
- import { requiredValidator } from "./form/utilities/validators.cjs";
33
- import "./form/index.cjs";
34
- export { AbortError, type AtomRecord, type AtomRecordConstraint, type BaseAtom, BaseMoleculeState, Callback, CallbackContext, CleanupCallback, type ClientFileResult, DEFAULT_FIELD_OPTIONS, DEFAULT_FORM_OPTIONS, DEFAULT_SCOPE, DebounceOptions, EffectCallback, type ExtractAtomRecordValues, FieldApi, FieldAtoms, FieldChangeEventHandler, FieldOptions, FieldOptionsState, FieldProvider, FieldProviderOptions, FieldStatus, FormApi, FormAtoms, FormOptions, FormOptionsState, FormProvider, FormProviderOptions, FormValuesState, GetMoleculeState, InferFieldState, InferFormState, type IsAtom, type IsResetAtom, type IsWritableAtom, type IsWriteOnlyAtom, type JotaiStore, Molecule, MoleculeApi, MoleculeOptions, MoleculeProviderProps, MoleculeScopeOptions, MoleculeState, MountCallback, type SetStateActionWithReset, type SplitAtomAction, UseHydrateAtoms, UseSyncAtoms, ValidationCause, ValidationResults, Validator, type WithInitialValue, type WritableAtomRecord, atomWithBroadcast, atomWithCompare, atomWithDebounce, atomWithEffect, atomWithListeners, atomWithPending, atomWithRefresh, atomWithRefreshAndDefault, atomWithToggle, atomWithWebStorage, atomWithWrapper, createMoleculeApi, createScope, createWebStorage, debounce, getWebStorage, isValidationResults, requiredValidator, setAtomDebugLabel, setAtomDebugPrivate, use, useAtomEffect, useFieldActions, useFieldRef, useFormActions, useHydrateMolecule, usePrepareAtoms, useSyncMolecule };
22
+ export { type AtomRecord, type AtomRecordConstraint, type BaseAtom, BaseMoleculeState, Callback, CleanupCallback, type ClientFileResult, DEFAULT_SCOPE, DebounceOptions, EffectCallback, type ExtractAtomRecordValues, GetMoleculeState, type IsAtom, type IsResetAtom, type IsWritableAtom, type IsWriteOnlyAtom, type JotaiStore, Molecule, MoleculeApi, MoleculeOptions, MoleculeProviderProps, MoleculeScopeOptions, MoleculeState, MountCallback, type SetStateActionWithReset, type SplitAtomAction, UseHydrateAtoms, UseSyncAtoms, type WithInitialValue, type WritableAtomRecord, atomWithBroadcast, atomWithCompare, atomWithDebounce, atomWithEffect, atomWithListeners, atomWithPending, atomWithRefresh, atomWithRefreshAndDefault, atomWithToggle, atomWithWebStorage, atomWithWrapper, createMoleculeApi, createScope, createWebStorage, debounce, getWebStorage, setAtomDebugLabel, setAtomDebugPrivate, use, useAtomEffect, useHydrateMolecule, usePrepareAtoms, useSyncMolecule };
package/dist/index.d.mts CHANGED
@@ -19,16 +19,4 @@ import { createWebStorage } from "./base/utilities/create-web-storage.mjs";
19
19
  import { DebounceOptions, debounce } from "./base/utilities/debounce.mjs";
20
20
  import { setAtomDebugLabel, setAtomDebugPrivate } from "./base/utilities/set-atom-debug.mjs";
21
21
  import "./base/index.mjs";
22
- import { CallbackContext, FieldAtoms, FieldChangeEventHandler, FieldOptions, FieldOptionsState, FieldStatus, FormAtoms, FormOptions, FormOptionsState, FormValuesState, InferFieldState, InferFormState, ValidationCause, ValidationResults, Validator } from "./form/types.mjs";
23
- import { useFieldActions } from "./form/hooks/use-field-actions.mjs";
24
- import { useFieldRef } from "./form/hooks/use-field-ref.mjs";
25
- import { useFormActions } from "./form/hooks/use-form-actions.mjs";
26
- import { DEFAULT_FIELD_OPTIONS, FieldApi } from "./form/molecules/field-molecule.mjs";
27
- import { DEFAULT_FORM_OPTIONS, FormApi } from "./form/molecules/form-molecule.mjs";
28
- import { FieldProvider, FieldProviderOptions } from "./form/providers/FieldProvider.mjs";
29
- import { FormProvider, FormProviderOptions } from "./form/providers/FormProvider.mjs";
30
- import { AbortError } from "./form/utilities/abort-error.mjs";
31
- import { isValidationResults } from "./form/utilities/is-validation-results.mjs";
32
- import { requiredValidator } from "./form/utilities/validators.mjs";
33
- import "./form/index.mjs";
34
- export { AbortError, type AtomRecord, type AtomRecordConstraint, type BaseAtom, BaseMoleculeState, Callback, CallbackContext, CleanupCallback, type ClientFileResult, DEFAULT_FIELD_OPTIONS, DEFAULT_FORM_OPTIONS, DEFAULT_SCOPE, DebounceOptions, EffectCallback, type ExtractAtomRecordValues, FieldApi, FieldAtoms, FieldChangeEventHandler, FieldOptions, FieldOptionsState, FieldProvider, FieldProviderOptions, FieldStatus, FormApi, FormAtoms, FormOptions, FormOptionsState, FormProvider, FormProviderOptions, FormValuesState, GetMoleculeState, InferFieldState, InferFormState, type IsAtom, type IsResetAtom, type IsWritableAtom, type IsWriteOnlyAtom, type JotaiStore, Molecule, MoleculeApi, MoleculeOptions, MoleculeProviderProps, MoleculeScopeOptions, MoleculeState, MountCallback, type SetStateActionWithReset, type SplitAtomAction, UseHydrateAtoms, UseSyncAtoms, ValidationCause, ValidationResults, Validator, type WithInitialValue, type WritableAtomRecord, atomWithBroadcast, atomWithCompare, atomWithDebounce, atomWithEffect, atomWithListeners, atomWithPending, atomWithRefresh, atomWithRefreshAndDefault, atomWithToggle, atomWithWebStorage, atomWithWrapper, createMoleculeApi, createScope, createWebStorage, debounce, getWebStorage, isValidationResults, requiredValidator, setAtomDebugLabel, setAtomDebugPrivate, use, useAtomEffect, useFieldActions, useFieldRef, useFormActions, useHydrateMolecule, usePrepareAtoms, useSyncMolecule };
22
+ export { type AtomRecord, type AtomRecordConstraint, type BaseAtom, BaseMoleculeState, Callback, CleanupCallback, type ClientFileResult, DEFAULT_SCOPE, DebounceOptions, EffectCallback, type ExtractAtomRecordValues, GetMoleculeState, type IsAtom, type IsResetAtom, type IsWritableAtom, type IsWriteOnlyAtom, type JotaiStore, Molecule, MoleculeApi, MoleculeOptions, MoleculeProviderProps, MoleculeScopeOptions, MoleculeState, MountCallback, type SetStateActionWithReset, type SplitAtomAction, UseHydrateAtoms, UseSyncAtoms, type WithInitialValue, type WritableAtomRecord, atomWithBroadcast, atomWithCompare, atomWithDebounce, atomWithEffect, atomWithListeners, atomWithPending, atomWithRefresh, atomWithRefreshAndDefault, atomWithToggle, atomWithWebStorage, atomWithWrapper, createMoleculeApi, createScope, createWebStorage, debounce, getWebStorage, setAtomDebugLabel, setAtomDebugPrivate, use, useAtomEffect, useHydrateMolecule, usePrepareAtoms, useSyncMolecule };
package/dist/index.mjs CHANGED
@@ -18,17 +18,5 @@ import { useSyncMolecule } from "./base/hooks/use-sync-molecule.mjs";
18
18
  import { DEFAULT_SCOPE, createMoleculeApi, createScope, use } from "./base/utilities/create-molecule.mjs";
19
19
  import { debounce } from "./base/utilities/debounce.mjs";
20
20
  import "./base/index.mjs";
21
- import { isValidationResults } from "./form/utilities/is-validation-results.mjs";
22
- import { requiredValidator } from "./form/utilities/validators.mjs";
23
- import { DEFAULT_FORM_OPTIONS, FormApi } from "./form/molecules/form-molecule.mjs";
24
- import { DEFAULT_FIELD_OPTIONS, FieldApi } from "./form/molecules/field-molecule.mjs";
25
- import { ValidationCause } from "./form/types.mjs";
26
- import { useFieldActions } from "./form/hooks/use-field-actions.mjs";
27
- import { useFieldRef } from "./form/hooks/use-field-ref.mjs";
28
- import { useFormActions } from "./form/hooks/use-form-actions.mjs";
29
- import { AbortError } from "./form/utilities/abort-error.mjs";
30
- import { FieldProvider } from "./form/providers/FieldProvider.mjs";
31
- import { FormProvider } from "./form/providers/FormProvider.mjs";
32
- import "./form/index.mjs";
33
21
 
34
- export { AbortError, DEFAULT_FIELD_OPTIONS, DEFAULT_FORM_OPTIONS, DEFAULT_SCOPE, FieldApi, FieldProvider, FormApi, FormProvider, ValidationCause, atomWithBroadcast, atomWithCompare, atomWithDebounce, atomWithEffect, atomWithListeners, atomWithPending, atomWithRefresh, atomWithRefreshAndDefault, atomWithToggle, atomWithWebStorage, atomWithWrapper, createMoleculeApi, createScope, createWebStorage, debounce, getWebStorage, isValidationResults, requiredValidator, setAtomDebugLabel, setAtomDebugPrivate, use, useAtomEffect, useFieldActions, useFieldRef, useFormActions, useHydrateMolecule, usePrepareAtoms, useSyncMolecule };
22
+ export { DEFAULT_SCOPE, atomWithBroadcast, atomWithCompare, atomWithDebounce, atomWithEffect, atomWithListeners, atomWithPending, atomWithRefresh, atomWithRefreshAndDefault, atomWithToggle, atomWithWebStorage, atomWithWrapper, createMoleculeApi, createScope, createWebStorage, debounce, getWebStorage, setAtomDebugLabel, setAtomDebugPrivate, use, useAtomEffect, useHydrateMolecule, usePrepareAtoms, useSyncMolecule };
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.cts","names":[],"sources":["../../../src/theme/providers/ThemeProvider.tsx"],"mappings":";;;KA+BK,yBAAyB,kBAC5B,KAAK;EACH;EACA,QAAQ,mBAAmB;;KAInB,qBAAqB,kBAC/B,QAAQ,gBAAgB;cAuBb,kBAAiB,UAAA,aAAA,UAAA,SAK3B,uCAAkB,IAAA"}
1
+ {"version":3,"file":"ThemeProvider.d.cts","names":[],"sources":["../../../src/theme/providers/ThemeProvider.tsx"],"mappings":";;;KA6BK,yBAAyB,kBAC5B,KAAK;EACH;EACA,QAAQ,mBAAmB;;KAInB,qBAAqB,kBAC/B,QAAQ,gBAAgB;cAuBb,kBAAiB,UAAA,aAAA,UAAA,SAK3B,uCAAkB,IAAA"}
package/dist/types.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Atom, ExtractAtomArgs, ExtractAtomValue, PrimitiveAtom, SetStateAction, WritableAtom, createStore } from "jotai";
2
- import { FileResult } from "@stryke/types/file";
3
2
  import { RESET } from "jotai/utils";
3
+ import { FileResult } from "@stryke/types/file";
4
4
  type JotaiStore = ReturnType<typeof createStore>;
5
5
  type SetStateActionWithReset<Value> = Value | typeof RESET | ((prev: Value) => Value | typeof RESET);
6
6
  interface WithInitialValue<Value> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyclone-ui/state",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "type": "module",
5
5
  "description": "A state management package used to handle state in Storm Software applications.",
6
6
  "repository": {
@@ -25,20 +25,6 @@
25
25
  "default": "./dist/index.mjs"
26
26
  }
27
27
  },
28
- "./client": {
29
- "require": {
30
- "types": "./dist/client/index.d.cts",
31
- "default": "./dist/client/index.cjs"
32
- },
33
- "import": {
34
- "types": "./dist/client/index.d.mts",
35
- "default": "./dist/client/index.mjs"
36
- },
37
- "default": {
38
- "types": "./dist/client/index.d.mts",
39
- "default": "./dist/client/index.mjs"
40
- }
41
- },
42
28
  "./form": {
43
29
  "require": {
44
30
  "types": "./dist/form/index.d.cts",
@@ -132,10 +118,10 @@
132
118
  "optics-ts": "^2.4.1",
133
119
  "react-native-safe-area-context": "^4.14.1",
134
120
  "valibot": "^0.42.1",
135
- "@cyclone-ui/helpers": "^0.3.27"
121
+ "@cyclone-ui/helpers": "0.3.29"
136
122
  },
137
123
  "devDependencies": {
138
- "@powerlines/plugin-tsdown": "^0.1.615",
124
+ "@powerlines/plugin-tsdown": "^0.1.618",
139
125
  "jotai": "^2.20.3",
140
126
  "react": "^19.3.1",
141
127
  "react-dom": "^19.3.1",
@@ -143,5 +129,5 @@
143
129
  },
144
130
  "publishConfig": { "access": "public" },
145
131
  "module": "./dist/index.mjs",
146
- "gitHead": "21d5be9e8232a27e8735270d0109d301f7942a54"
132
+ "gitHead": "cd91310c08f832a2d93d7e8f509152c8fd519d2a"
147
133
  }
@@ -1,16 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_theme_molecule = require("../theme/molecules/theme-molecule.cjs");
3
- const require_use_theme_actions = require("../theme/hooks/use-theme-actions.cjs");
4
- const require_theme_helpers = require("../theme/utilities/theme-helpers.cjs");
5
- const require_use_theme_store = require("../theme/hooks/use-theme-store.cjs");
6
- const require_ThemeProvider = require("../theme/providers/ThemeProvider.cjs");
7
- require("../theme/index.cjs");
8
-
9
- exports.ThemeApi = require_theme_molecule.ThemeApi;
10
- exports.ThemeProvider = require_ThemeProvider.ThemeProvider;
11
- exports.getThemeColorThemeName = require_theme_helpers.getThemeColorThemeName;
12
- exports.themeColorThemeNameExists = require_theme_helpers.themeColorThemeNameExists;
13
- exports.useColorThemeName = require_use_theme_store.useColorThemeName;
14
- exports.useColorThemeNameExists = require_use_theme_store.useColorThemeNameExists;
15
- exports.useThemeActions = require_use_theme_actions.useThemeActions;
16
- exports.useThemeMode = require_use_theme_store.useThemeMode;
@@ -1,8 +0,0 @@
1
- import { ColorThemeMode, ColorThemeName, ThemeBaseState, ThemeOptions } from "../theme/types.cjs";
2
- import { useThemeActions } from "../theme/hooks/use-theme-actions.cjs";
3
- import { useColorThemeName, useColorThemeNameExists, useThemeMode } from "../theme/hooks/use-theme-store.cjs";
4
- import { ThemeApi } from "../theme/molecules/theme-molecule.cjs";
5
- import { ThemeProvider, ThemeProviderProps } from "../theme/providers/ThemeProvider.cjs";
6
- import { getThemeColorThemeName, themeColorThemeNameExists } from "../theme/utilities/theme-helpers.cjs";
7
- import "../theme/index.cjs";
8
- export { ColorThemeMode, ColorThemeName, ThemeApi, ThemeBaseState, ThemeOptions, ThemeProvider, ThemeProviderProps, getThemeColorThemeName, themeColorThemeNameExists, useColorThemeName, useColorThemeNameExists, useThemeActions, useThemeMode };
@@ -1,8 +0,0 @@
1
- import { ColorThemeMode, ColorThemeName, ThemeBaseState, ThemeOptions } from "../theme/types.mjs";
2
- import { useThemeActions } from "../theme/hooks/use-theme-actions.mjs";
3
- import { useColorThemeName, useColorThemeNameExists, useThemeMode } from "../theme/hooks/use-theme-store.mjs";
4
- import { ThemeApi } from "../theme/molecules/theme-molecule.mjs";
5
- import { ThemeProvider, ThemeProviderProps } from "../theme/providers/ThemeProvider.mjs";
6
- import { getThemeColorThemeName, themeColorThemeNameExists } from "../theme/utilities/theme-helpers.mjs";
7
- import "../theme/index.mjs";
8
- export { ColorThemeMode, ColorThemeName, ThemeApi, ThemeBaseState, ThemeOptions, ThemeProvider, ThemeProviderProps, getThemeColorThemeName, themeColorThemeNameExists, useColorThemeName, useColorThemeNameExists, useThemeActions, useThemeMode };
@@ -1,8 +0,0 @@
1
- import { ThemeApi } from "../theme/molecules/theme-molecule.mjs";
2
- import { useThemeActions } from "../theme/hooks/use-theme-actions.mjs";
3
- import { getThemeColorThemeName, themeColorThemeNameExists } from "../theme/utilities/theme-helpers.mjs";
4
- import { useColorThemeName, useColorThemeNameExists, useThemeMode } from "../theme/hooks/use-theme-store.mjs";
5
- import { ThemeProvider } from "../theme/providers/ThemeProvider.mjs";
6
- import "../theme/index.mjs";
7
-
8
- export { ThemeApi, ThemeProvider, getThemeColorThemeName, themeColorThemeNameExists, useColorThemeName, useColorThemeNameExists, useThemeActions, useThemeMode };