@vritti/quantum-ui 0.2.7 → 0.2.9

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.
Files changed (207) hide show
  1. package/README.md +7 -7
  2. package/dist/Alert.js +110 -0
  3. package/dist/Alert.js.map +1 -0
  4. package/dist/Avatar.js +219 -0
  5. package/dist/Avatar.js.map +1 -0
  6. package/dist/Badge.js +32 -0
  7. package/dist/Badge.js.map +1 -0
  8. package/dist/Button2.js +2 -2
  9. package/dist/Chart.js +19003 -0
  10. package/dist/Chart.js.map +1 -0
  11. package/dist/Checkbox.js +6 -26
  12. package/dist/Checkbox.js.map +1 -1
  13. package/dist/Combination.js +3856 -0
  14. package/dist/Combination.js.map +1 -0
  15. package/dist/DatePicker.js +15 -3886
  16. package/dist/DatePicker.js.map +1 -1
  17. package/dist/DropdownMenu.js +1522 -0
  18. package/dist/DropdownMenu.js.map +1 -0
  19. package/dist/Form.js +34 -23
  20. package/dist/Form.js.map +1 -1
  21. package/dist/Label.js +1 -1
  22. package/dist/OTPField.js +16 -5
  23. package/dist/OTPField.js.map +1 -1
  24. package/dist/PhoneField.js +14 -6
  25. package/dist/PhoneField.js.map +1 -1
  26. package/dist/Progress.js +116 -0
  27. package/dist/Progress.js.map +1 -0
  28. package/dist/SelectField.js +1351 -0
  29. package/dist/SelectField.js.map +1 -0
  30. package/dist/Separator.js +6 -0
  31. package/dist/Separator.js.map +1 -0
  32. package/dist/Sonner.js +3 -38
  33. package/dist/Sonner.js.map +1 -1
  34. package/dist/Spinner.js +1 -9
  35. package/dist/Spinner.js.map +1 -1
  36. package/dist/Switch.js +210 -0
  37. package/dist/Switch.js.map +1 -0
  38. package/dist/ThemeContext.js +57 -0
  39. package/dist/ThemeContext.js.map +1 -0
  40. package/dist/ThemeToggle.js +4 -15
  41. package/dist/ThemeToggle.js.map +1 -1
  42. package/dist/Toggle.js +69 -0
  43. package/dist/Toggle.js.map +1 -0
  44. package/dist/_commonjsHelpers.js +6 -0
  45. package/dist/_commonjsHelpers.js.map +1 -0
  46. package/dist/assets/quantum-ui.css +18 -0
  47. package/dist/axios.js.map +1 -1
  48. package/dist/check.js +15 -0
  49. package/dist/check.js.map +1 -0
  50. package/dist/chevron-down.js +15 -0
  51. package/dist/chevron-down.js.map +1 -0
  52. package/dist/chevron-right.js +15 -0
  53. package/dist/chevron-right.js.map +1 -0
  54. package/dist/components/Alert.js +2 -0
  55. package/dist/components/Alert.js.map +1 -0
  56. package/dist/components/Avatar.js +2 -0
  57. package/dist/components/Avatar.js.map +1 -0
  58. package/dist/components/Badge.js +2 -0
  59. package/dist/components/Badge.js.map +1 -0
  60. package/dist/components/Chart.js +2 -0
  61. package/dist/components/Chart.js.map +1 -0
  62. package/dist/components/DropdownMenu.js +2 -0
  63. package/dist/components/DropdownMenu.js.map +1 -0
  64. package/dist/components/Progress.js +1 -174
  65. package/dist/components/Progress.js.map +1 -1
  66. package/dist/components/SelectField.js +2 -0
  67. package/dist/components/SelectField.js.map +1 -0
  68. package/dist/components/Separator.js +2 -0
  69. package/dist/components/Separator.js.map +1 -0
  70. package/dist/components/Switch.js +2 -0
  71. package/dist/components/Switch.js.map +1 -0
  72. package/dist/components/Toggle.js +2 -0
  73. package/dist/components/Toggle.js.map +1 -0
  74. package/dist/context/index.js +2 -0
  75. package/dist/context/index.js.map +1 -0
  76. package/dist/field.js +2 -49
  77. package/dist/field.js.map +1 -1
  78. package/dist/hooks/index.js +2 -0
  79. package/dist/hooks/index.js.map +1 -0
  80. package/dist/index.js +12 -0
  81. package/dist/index.js.map +1 -1
  82. package/dist/index10.js +105 -0
  83. package/dist/index10.js.map +1 -0
  84. package/dist/index11.js +79 -0
  85. package/dist/index11.js.map +1 -0
  86. package/dist/index12.js +101 -0
  87. package/dist/index12.js.map +1 -0
  88. package/dist/index13.js +205 -0
  89. package/dist/index13.js.map +1 -0
  90. package/dist/index14.js +199 -0
  91. package/dist/index14.js.map +1 -0
  92. package/dist/index2.js +55 -130
  93. package/dist/index2.js.map +1 -1
  94. package/dist/index3.js +10 -42
  95. package/dist/index3.js.map +1 -1
  96. package/dist/index4.js +125 -35
  97. package/dist/index4.js.map +1 -1
  98. package/dist/index5.js +26 -414
  99. package/dist/index5.js.map +1 -1
  100. package/dist/index6.js +8 -0
  101. package/dist/index6.js.map +1 -0
  102. package/dist/index7.js +16 -0
  103. package/dist/index7.js.map +1 -0
  104. package/dist/index8.js +45 -0
  105. package/dist/index8.js.map +1 -0
  106. package/dist/index9.js +41 -0
  107. package/dist/index9.js.map +1 -0
  108. package/dist/lib/components/Alert/Alert.d.ts +10 -0
  109. package/dist/lib/components/Alert/Alert.d.ts.map +1 -0
  110. package/dist/lib/components/Alert/index.d.ts +2 -0
  111. package/dist/lib/components/Alert/index.d.ts.map +1 -0
  112. package/dist/lib/components/Avatar/Avatar.d.ts +8 -0
  113. package/dist/lib/components/Avatar/Avatar.d.ts.map +1 -0
  114. package/dist/lib/components/Avatar/index.d.ts +2 -0
  115. package/dist/lib/components/Avatar/index.d.ts.map +1 -0
  116. package/dist/lib/components/Badge/Badge.d.ts +5 -0
  117. package/dist/lib/components/Badge/Badge.d.ts.map +1 -0
  118. package/dist/lib/components/Badge/index.d.ts +3 -0
  119. package/dist/lib/components/Badge/index.d.ts.map +1 -0
  120. package/dist/lib/components/Button/index.d.ts +1 -1
  121. package/dist/lib/components/Button/index.d.ts.map +1 -1
  122. package/dist/lib/components/Chart/Chart.d.ts +13 -0
  123. package/dist/lib/components/Chart/Chart.d.ts.map +1 -0
  124. package/dist/lib/components/Chart/index.d.ts +3 -0
  125. package/dist/lib/components/Chart/index.d.ts.map +1 -0
  126. package/dist/lib/components/DropdownMenu/DropdownMenu.d.ts +28 -0
  127. package/dist/lib/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  128. package/dist/lib/components/DropdownMenu/index.d.ts +3 -0
  129. package/dist/lib/components/DropdownMenu/index.d.ts.map +1 -0
  130. package/dist/lib/components/DropdownMenu/types.d.ts +72 -0
  131. package/dist/lib/components/DropdownMenu/types.d.ts.map +1 -0
  132. package/dist/lib/components/Form/Form.d.ts +1 -1
  133. package/dist/lib/components/Form/Form.d.ts.map +1 -1
  134. package/dist/lib/components/OTPField/OTPField.d.ts.map +1 -1
  135. package/dist/lib/components/PhoneField/PhoneField.d.ts.map +1 -1
  136. package/dist/lib/components/SelectField/SelectField.d.ts +24 -0
  137. package/dist/lib/components/SelectField/SelectField.d.ts.map +1 -0
  138. package/dist/lib/components/SelectField/index.d.ts +3 -0
  139. package/dist/lib/components/SelectField/index.d.ts.map +1 -0
  140. package/dist/lib/components/Separator/Separator.d.ts +3 -0
  141. package/dist/lib/components/Separator/Separator.d.ts.map +1 -0
  142. package/dist/lib/components/Separator/index.d.ts +2 -0
  143. package/dist/lib/components/Separator/index.d.ts.map +1 -0
  144. package/dist/lib/components/Switch/Switch.d.ts +9 -0
  145. package/dist/lib/components/Switch/Switch.d.ts.map +1 -0
  146. package/dist/lib/components/Switch/index.d.ts +3 -0
  147. package/dist/lib/components/Switch/index.d.ts.map +1 -0
  148. package/dist/lib/components/ThemeToggle/ThemeToggle.d.ts.map +1 -1
  149. package/dist/lib/components/Toggle/Toggle.d.ts +7 -0
  150. package/dist/lib/components/Toggle/Toggle.d.ts.map +1 -0
  151. package/dist/lib/components/Toggle/index.d.ts +2 -0
  152. package/dist/lib/components/Toggle/index.d.ts.map +1 -0
  153. package/dist/lib/components/index.d.ts +10 -0
  154. package/dist/lib/components/index.d.ts.map +1 -1
  155. package/dist/lib/context/ThemeContext.d.ts +18 -0
  156. package/dist/lib/context/ThemeContext.d.ts.map +1 -0
  157. package/dist/lib/context/index.d.ts +2 -0
  158. package/dist/lib/context/index.d.ts.map +1 -0
  159. package/dist/lib/hooks/index.d.ts +2 -0
  160. package/dist/lib/hooks/index.d.ts.map +1 -0
  161. package/dist/lib/hooks/useTheme.d.ts +8 -0
  162. package/dist/lib/hooks/useTheme.d.ts.map +1 -0
  163. package/dist/lib/index.d.ts +2 -0
  164. package/dist/lib/index.d.ts.map +1 -1
  165. package/dist/lib/theme/index.d.ts +13 -0
  166. package/dist/lib/theme/index.d.ts.map +1 -0
  167. package/dist/lib/utils/axios.d.ts +1 -0
  168. package/dist/lib/utils/axios.d.ts.map +1 -1
  169. package/dist/lib/utils/formHelpers.d.ts +7 -3
  170. package/dist/lib/utils/formHelpers.d.ts.map +1 -1
  171. package/dist/separator2.js +53 -0
  172. package/dist/separator2.js.map +1 -0
  173. package/dist/shadcn/index.d.ts +1 -1
  174. package/dist/shadcn/index.d.ts.map +1 -1
  175. package/dist/shadcn/shadcnAlert/alert.d.ts +11 -0
  176. package/dist/shadcn/shadcnAlert/alert.d.ts.map +1 -0
  177. package/dist/shadcn/shadcnAlert/index.d.ts +2 -0
  178. package/dist/shadcn/shadcnAlert/index.d.ts.map +1 -0
  179. package/dist/shadcn/shadcnAvatar/Avatar.d.ts +12 -0
  180. package/dist/shadcn/shadcnAvatar/Avatar.d.ts.map +1 -0
  181. package/dist/shadcn/shadcnAvatar/index.d.ts +2 -0
  182. package/dist/shadcn/shadcnAvatar/index.d.ts.map +1 -0
  183. package/dist/shadcn/shadcnBadge/Badge.d.ts +11 -0
  184. package/dist/shadcn/shadcnBadge/Badge.d.ts.map +1 -0
  185. package/dist/shadcn/shadcnBadge/index.d.ts +3 -0
  186. package/dist/shadcn/shadcnBadge/index.d.ts.map +1 -0
  187. package/dist/shadcn/shadcnButton/Button.d.ts +2 -2
  188. package/dist/shadcn/shadcnChart/Chart.d.ts +58 -0
  189. package/dist/shadcn/shadcnChart/Chart.d.ts.map +1 -0
  190. package/dist/shadcn/shadcnChart/index.d.ts +3 -0
  191. package/dist/shadcn/shadcnChart/index.d.ts.map +1 -0
  192. package/dist/shadcn/shadcnSpinner/Spinner.d.ts.map +1 -1
  193. package/dist/shadcn/shadcnSwitch/Switch.d.ts +7 -0
  194. package/dist/shadcn/shadcnSwitch/Switch.d.ts.map +1 -0
  195. package/dist/shadcn/shadcnSwitch/index.d.ts +2 -0
  196. package/dist/shadcn/shadcnSwitch/index.d.ts.map +1 -0
  197. package/dist/shadcn/shadcnToggle/Toggle.d.ts +10 -0
  198. package/dist/shadcn/shadcnToggle/Toggle.d.ts.map +1 -0
  199. package/dist/shadcn/shadcnToggle/index.d.ts +2 -0
  200. package/dist/shadcn/shadcnToggle/index.d.ts.map +1 -0
  201. package/dist/theme/index.js +11 -0
  202. package/dist/theme/index.js.map +1 -0
  203. package/dist/triangle-alert.js +40 -0
  204. package/dist/triangle-alert.js.map +1 -0
  205. package/dist/useTheme.js +15 -0
  206. package/dist/useTheme.js.map +1 -0
  207. package/package.json +59 -6
@@ -1 +1 @@
1
- {"version":3,"file":"index5.js","sources":["../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.9_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.mjs","../node_modules/.pnpm/@radix-ui+primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.9_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.2.9_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.2.9_react@19.2.3/node_modules/@radix-ui/react-use-size/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.9__@types+reac_e89ee5370fa5954404ef113347ae9cd5/node_modules/@radix-ui/react-presence/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.9_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.9__@types+rea_57eb89d0235dc4221ced9969d75eafcb/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n","// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n","// src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useInsertionEffect = React[\" useInsertionEffect \".trim().toString()] || useLayoutEffect;\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n },\n caller\n}) {\n const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n defaultProp,\n onChange\n });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n if (true) {\n const isControlledRef = React.useRef(prop !== void 0);\n React.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;\n if (value2 !== prop) {\n onChangeRef.current?.(value2);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, onChangeRef]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const [value, setValue] = React.useState(defaultProp);\n const prevValueRef = React.useRef(value);\n const onChangeRef = React.useRef(onChange);\n useInsertionEffect(() => {\n onChangeRef.current = onChange;\n }, [onChange]);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n onChangeRef.current?.(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef]);\n return [value, setValue, onChangeRef];\n}\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\n// src/use-controllable-state-reducer.tsx\nimport * as React2 from \"react\";\nimport { useEffectEvent } from \"@radix-ui/react-use-effect-event\";\nvar SYNC_STATE = Symbol(\"RADIX:SYNC_STATE\");\nfunction useControllableStateReducer(reducer, userArgs, initialArg, init) {\n const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n const isControlled = controlledState !== void 0;\n const onChange = useEffectEvent(onChangeProp);\n if (true) {\n const isControlledRef = React2.useRef(controlledState !== void 0);\n React2.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const args = [{ ...initialArg, state: defaultProp }];\n if (init) {\n args.push(init);\n }\n const [internalState, dispatch] = React2.useReducer(\n (state2, action) => {\n if (action.type === SYNC_STATE) {\n return { ...state2, state: action.state };\n }\n const next = reducer(state2, action);\n if (isControlled && !Object.is(next.state, state2.state)) {\n onChange(next.state);\n }\n return next;\n },\n ...args\n );\n const uncontrolledState = internalState.state;\n const prevValueRef = React2.useRef(uncontrolledState);\n React2.useEffect(() => {\n if (prevValueRef.current !== uncontrolledState) {\n prevValueRef.current = uncontrolledState;\n if (!isControlled) {\n onChange(uncontrolledState);\n }\n }\n }, [onChange, uncontrolledState, prevValueRef, isControlled]);\n const state = React2.useMemo(() => {\n const isControlled2 = controlledState !== void 0;\n if (isControlled2) {\n return { ...internalState, state: controlledState };\n }\n return internalState;\n }, [internalState, controlledState]);\n React2.useEffect(() => {\n if (isControlled && !Object.is(controlledState, internalState.state)) {\n dispatch({ type: SYNC_STATE, state: controlledState });\n }\n }, [controlledState, internalState.state, isControlled]);\n return [state, dispatch];\n}\nexport {\n useControllableState,\n useControllableStateReducer\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/use-size/src/use-size.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n","// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect","React2","getElementRef"],"mappings":";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EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AACxC,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAC,IAAI,GAAG,IAAI,EAAE;AACvC,CAAC,EAAE,EAAE;AACL,SAAS,2BAA2B,CAAC,MAAM,EAAE,KAAK,EAAE;AACpD,EAAE,IAAI,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC,MAAM,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AACnE;;;;","x_google_ignoreList":[0,1,2,3,4,5,6,7]}
1
+ {"version":3,"file":"index5.js","sources":["../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.2.9_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA,SAAS,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE;AAC5B,EAAE,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;AACjC,IAAI,OAAO,GAAG,CAAC,KAAK,CAAC;AACrB,EAAE,CAAC,MAAM,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,MAAM,EAAE;AAC7C,IAAI,GAAG,CAAC,OAAO,GAAG,KAAK;AACvB,EAAE;AACF;AACA,SAAS,WAAW,CAAC,GAAG,IAAI,EAAE;AAC9B,EAAE,OAAO,CAAC,IAAI,KAAK;AACnB,IAAI,IAAI,UAAU,GAAG,KAAK;AAC1B,IAAI,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK;AACvC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC;AACvC,MAAM,IAAI,CAAC,UAAU,IAAI,OAAO,OAAO,IAAI,UAAU,EAAE;AACvD,QAAQ,UAAU,GAAG,IAAI;AACzB,MAAM;AACN,MAAM,OAAO,OAAO;AACpB,IAAI,CAAC,CAAC;AACN,IAAI,IAAI,UAAU,EAAE;AACpB,MAAM,OAAO,MAAM;AACnB,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAClD,UAAU,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC;AACrC,UAAU,IAAI,OAAO,OAAO,IAAI,UAAU,EAAE;AAC5C,YAAY,OAAO,EAAE;AACrB,UAAU,CAAC,MAAM;AACjB,YAAY,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC;AACjC,UAAU;AACV,QAAQ;AACR,MAAM,CAAC;AACP,IAAI;AACJ,EAAE,CAAC;AACH;AACA,SAAS,eAAe,CAAC,GAAG,IAAI,EAAE;AAClC,EAAE,OAAO,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,EAAE,IAAI,CAAC;AACtD;;;;","x_google_ignoreList":[0]}
package/dist/index6.js ADDED
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+
3
+ // packages/react/use-layout-effect/src/use-layout-effect.tsx
4
+ var useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {
5
+ };
6
+
7
+ export { useLayoutEffect2 as u };
8
+ //# sourceMappingURL=index6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index6.js","sources":["../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.9_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEG,IAAC,gBAAgB,GAAG,UAAU,EAAE,QAAQ,GAAG,KAAK,CAAC,eAAe,GAAG,MAAM;AAC5E;;;;","x_google_ignoreList":[0]}
package/dist/index7.js ADDED
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+
3
+ // packages/react/use-previous/src/use-previous.tsx
4
+ function usePrevious(value) {
5
+ const ref = React.useRef({ value, previous: value });
6
+ return React.useMemo(() => {
7
+ if (ref.current.value !== value) {
8
+ ref.current.previous = ref.current.value;
9
+ ref.current.value = value;
10
+ }
11
+ return ref.current.previous;
12
+ }, [value]);
13
+ }
14
+
15
+ export { usePrevious as u };
16
+ //# sourceMappingURL=index7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index7.js","sources":["../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.2.9_react@19.2.3/node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA,SAAS,WAAW,CAAC,KAAK,EAAE;AAC5B,EAAE,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;AACtD,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM;AAC7B,IAAI,IAAI,GAAG,CAAC,OAAO,CAAC,KAAK,KAAK,KAAK,EAAE;AACrC,MAAM,GAAG,CAAC,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC,KAAK;AAC9C,MAAM,GAAG,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK;AAC/B,IAAI;AACJ,IAAI,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ;AAC/B,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;AACb;;;;","x_google_ignoreList":[0]}
package/dist/index8.js ADDED
@@ -0,0 +1,45 @@
1
+ import { a as clsx } from './utils.js';
2
+
3
+ const falsyToString = (value)=>typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
4
+ const cx = clsx;
5
+ const cva = (base, config)=>(props)=>{
6
+ var _config_compoundVariants;
7
+ if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
8
+ const { variants, defaultVariants } = config;
9
+ const getVariantClassNames = Object.keys(variants).map((variant)=>{
10
+ const variantProp = props === null || props === void 0 ? void 0 : props[variant];
11
+ const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
12
+ if (variantProp === null) return null;
13
+ const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
14
+ return variants[variant][variantKey];
15
+ });
16
+ const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{
17
+ let [key, value] = param;
18
+ if (value === undefined) {
19
+ return acc;
20
+ }
21
+ acc[key] = value;
22
+ return acc;
23
+ }, {});
24
+ const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{
25
+ let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
26
+ return Object.entries(compoundVariantOptions).every((param)=>{
27
+ let [key, value] = param;
28
+ return Array.isArray(value) ? value.includes({
29
+ ...defaultVariants,
30
+ ...propsWithoutUndefined
31
+ }[key]) : ({
32
+ ...defaultVariants,
33
+ ...propsWithoutUndefined
34
+ })[key] === value;
35
+ }) ? [
36
+ ...acc,
37
+ cvClass,
38
+ cvClassName
39
+ ] : acc;
40
+ }, []);
41
+ return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
42
+ };
43
+
44
+ export { cva as c };
45
+ //# sourceMappingURL=index8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index8.js","sources":["../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n"],"names":[],"mappings":";;AAeA,MAAM,aAAa,GAAG,CAAC,KAAK,GAAG,OAAO,KAAK,KAAK,SAAS,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,KAAK;AAC3F,MAAM,EAAE,GAAG,IAAI;AACV,MAAC,GAAG,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,KAAK,GAAG;AAC5C,QAAQ,IAAI,wBAAwB;AACpC,QAAQ,IAAI,CAAC,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,QAAQ,KAAK,IAAI,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,IA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lot } from './index10.js';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
6
+ // src/primitive.tsx
7
+ var NODES = [
8
+ "a",
9
+ "button",
10
+ "div",
11
+ "form",
12
+ "h2",
13
+ "h3",
14
+ "img",
15
+ "input",
16
+ "label",
17
+ "li",
18
+ "nav",
19
+ "ol",
20
+ "p",
21
+ "select",
22
+ "span",
23
+ "svg",
24
+ "ul"
25
+ ];
26
+ var Primitive = NODES.reduce((primitive, node) => {
27
+ const Slot = createSlot(`Primitive.${node}`);
28
+ const Node = React.forwardRef((props, forwardedRef) => {
29
+ const { asChild, ...primitiveProps } = props;
30
+ const Comp = asChild ? Slot : node;
31
+ if (typeof window !== "undefined") {
32
+ window[Symbol.for("radix-ui")] = true;
33
+ }
34
+ return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });
35
+ });
36
+ Node.displayName = `Primitive.${node}`;
37
+ return { ...primitive, [node]: Node };
38
+ }, {});
39
+
40
+ export { Primitive as P };
41
+ //# sourceMappingURL=index9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index9.js","sources":["../node_modules/.pnpm/@radix-ui+react-primitive@2.1.4_@types+react-dom@19.2.3_@types+react@19.2.9__@types+rea_80b0e86615c8e72f2e6ad5b837a6e15c/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;AAAA;AAKA,IAAI,KAAK,GAAG;AACZ,EAAE,GAAG;AACL,EAAE,QAAQ;AACV,EAAE,KAAK;AACP,EAAE,MAAM;AACR,EAAE,IAAI;AACN,EAAE,IAAI;AACN,EAAE,KAAK;AACP,EAAE,OAAO;AACT,EAAE,OAAO;AACT,EAAE,IAAI;AACN,EAAE,KAAK;AACP,EAAE,IAAI;AACN,EAAE,GAAG;AACL,EAAE,QAAQ;AACV,EAAE,MAAM;AACR,EAAE,KAAK;AACP,EAAE;AACF,CAAC;AACE,IAAC,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,IAAI,KAAK;AAClD,EAAE,MAAM,IAAI,GAAG,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AAC9C,EAAE,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AACzD,IAAI,MAAM,EAAE,OAAO,EAAE,GAAG,cAAc,EAAE,GAAG,KAAK;AAChD,IAAI,MAAM,IAAI,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI;AACtC,IAAI,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AACvC,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI;AAC3C,IAAI;AACJ,IAAI,uBAAuB,GAAG,CAAC,IAAI,EAAE,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC;AAC9E,EAAE,CAAC,CAAC;AACJ,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AACxC,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAC,IAAI,GAAG,IAAI,EAAE;AACvC,CAAC,EAAE,EAAE;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,10 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { alertVariants } from '../../../shadcn/shadcnAlert';
3
+ export interface AlertProps extends Omit<React.ComponentProps<'div'>, 'title'>, VariantProps<typeof alertVariants> {
4
+ title?: React.ReactNode;
5
+ description?: React.ReactNode;
6
+ icon?: React.ReactNode;
7
+ hideIcon?: boolean;
8
+ }
9
+ export declare function Alert({ variant, title, description, icon, hideIcon, children, className, ...props }: AlertProps): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=Alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../lib/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EACL,KAAK,aAAa,EAInB,MAAM,6BAA6B,CAAC;AAGrC,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;IAEhH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAUD,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,KAAK,EACL,WAAW,EACX,IAAI,EACJ,QAAgB,EAChB,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,UAAU,2CAWZ"}
@@ -0,0 +1,2 @@
1
+ export { Alert, type AlertProps } from './Alert';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Avatar as ShadcnAvatar, AvatarBadge as ShadcnAvatarBadge, AvatarFallback as ShadcnAvatarFallback, AvatarGroup as ShadcnAvatarGroup, AvatarGroupCount as ShadcnAvatarGroupCount, AvatarImage as ShadcnAvatarImage } from '../../../shadcn/shadcnAvatar';
2
+ export declare const Avatar: typeof ShadcnAvatar;
3
+ export declare const AvatarImage: typeof ShadcnAvatarImage;
4
+ export declare const AvatarFallback: typeof ShadcnAvatarFallback;
5
+ export declare const AvatarBadge: typeof ShadcnAvatarBadge;
6
+ export declare const AvatarGroup: typeof ShadcnAvatarGroup;
7
+ export declare const AvatarGroupCount: typeof ShadcnAvatarGroupCount;
8
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../lib/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,YAAY,EACtB,WAAW,IAAI,iBAAiB,EAChC,cAAc,IAAI,oBAAoB,EACtC,WAAW,IAAI,iBAAiB,EAChC,gBAAgB,IAAI,sBAAsB,EAC1C,WAAW,IAAI,iBAAiB,EACjC,MAAM,8BAA8B,CAAC;AAatC,eAAO,MAAM,MAAM,qBAAe,CAAC;AAKnC,eAAO,MAAM,WAAW,0BAAoB,CAAC;AAK7C,eAAO,MAAM,cAAc,6BAAuB,CAAC;AAKnD,eAAO,MAAM,WAAW,0BAAoB,CAAC;AAc7C,eAAO,MAAM,WAAW,0BAAoB,CAAC;AAK7C,eAAO,MAAM,gBAAgB,+BAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, } from './Avatar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,WAAW,EACX,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,WAAW,GACZ,MAAM,UAAU,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { badgeVariants, Badge as ShadcnBadge } from '../../../shadcn/shadcnBadge';
2
+ export declare const Badge: typeof ShadcnBadge;
3
+ export type { BadgeProps } from '../../../shadcn/shadcnBadge';
4
+ export { badgeVariants };
5
+ //# sourceMappingURL=Badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../lib/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAElF,eAAO,MAAM,KAAK,oBAAc,CAAC;AACjC,YAAY,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { BadgeProps } from './Badge';
2
+ export { Badge, badgeVariants } from './Badge';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Badge/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Button, buttonVariants } from './Button';
2
1
  export type { ButtonProps } from './Button';
2
+ export { Button, buttonVariants } from './Button';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Button/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { ChartContainer as ShadcnChartContainer, ChartLegendContent as ShadcnChartLegendContent, ChartTooltipContent as ShadcnChartTooltipContent, useChart as shadcnUseChart } from '../../../shadcn/shadcnChart';
2
+ export type { ChartConfig } from '../../../shadcn/shadcnChart';
3
+ export declare const ChartContainer: typeof ShadcnChartContainer;
4
+ export declare const ChartTooltip: typeof import('recharts').Tooltip;
5
+ export declare const ChartTooltipContent: typeof ShadcnChartTooltipContent;
6
+ export declare const ChartLegend: typeof import('recharts').Legend;
7
+ export declare const ChartLegendContent: typeof ShadcnChartLegendContent;
8
+ export declare const ChartStyle: ({ id, config }: {
9
+ id: string;
10
+ config: import('./Chart').ChartConfig;
11
+ }) => import("react/jsx-runtime").JSX.Element | null;
12
+ export declare const useChart: typeof shadcnUseChart;
13
+ //# sourceMappingURL=Chart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chart.d.ts","sourceRoot":"","sources":["../../../../lib/components/Chart/Chart.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,oBAAoB,EAEtC,kBAAkB,IAAI,wBAAwB,EAG9C,mBAAmB,IAAI,yBAAyB,EAChD,QAAQ,IAAI,cAAc,EAC3B,MAAM,6BAA6B,CAAC;AAErC,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAwB/D,eAAO,MAAM,cAAc,6BAAuB,CAAC;AAKnD,eAAO,MAAM,YAAY,mCAAqB,CAAC;AAK/C,eAAO,MAAM,mBAAmB,kCAA4B,CAAC;AAK7D,eAAO,MAAM,WAAW,kCAAoB,CAAC;AAK7C,eAAO,MAAM,kBAAkB,iCAA2B,CAAC;AAK3D,eAAO,MAAM,UAAU;;;oDAAmB,CAAC;AAK3C,eAAO,MAAM,QAAQ,uBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { ChartConfig } from './Chart';
2
+ export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, useChart, } from './Chart';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Chart/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,QAAQ,GACT,MAAM,SAAS,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { DropdownMenuProps } from './types';
2
+ import * as React from 'react';
3
+ export declare const DropdownMenuRoot: React.FC<import('@radix-ui/react-dropdown-menu').DropdownMenuProps>;
4
+ export declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dropdown-menu').DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ export declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dropdown-menu').DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ export declare const DropdownMenuGroup: React.ForwardRefExoticComponent<import('@radix-ui/react-dropdown-menu').DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
7
+ export declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dropdown-menu').DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
8
+ inset?: boolean;
9
+ } & React.RefAttributes<HTMLDivElement>>;
10
+ export declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dropdown-menu').DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
11
+ inset?: boolean;
12
+ } & React.RefAttributes<HTMLDivElement>>;
13
+ export declare const DropdownMenuPortal: React.FC<import('@radix-ui/react-dropdown-menu').DropdownMenuPortalProps>;
14
+ export declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<import('@radix-ui/react-dropdown-menu').DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
15
+ export declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dropdown-menu').DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
+ export declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dropdown-menu').DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
+ export declare const DropdownMenuShortcut: {
18
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
19
+ displayName: string;
20
+ };
21
+ export declare const DropdownMenuSub: React.FC<import('@radix-ui/react-dropdown-menu').DropdownMenuSubProps>;
22
+ export declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dropdown-menu').DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ export declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dropdown-menu').DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
24
+ inset?: boolean;
25
+ } & React.RefAttributes<HTMLDivElement>>;
26
+ export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<import('@radix-ui/react-dropdown-menu').DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
27
+ export declare const DropdownMenu: React.FC<DropdownMenuProps>;
28
+ //# sourceMappingURL=DropdownMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../lib/components/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,OAAO,KAAK,EAAE,iBAAiB,EAAY,MAAM,SAAS,CAAC;AAG3D,eAAO,MAAM,gBAAgB,qEAAyB,CAAC;AACvD,eAAO,MAAM,wBAAwB,iMAAiC,CAAC;AACvE,eAAO,MAAM,mBAAmB,4LAA4B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,uIAA0B,CAAC;AACzD,eAAO,MAAM,gBAAgB;;wCAAyB,CAAC;AACvD,eAAO,MAAM,iBAAiB;;wCAA0B,CAAC;AACzD,eAAO,MAAM,kBAAkB,2EAA2B,CAAC;AAC3D,eAAO,MAAM,sBAAsB,4IAA+B,CAAC;AACnE,eAAO,MAAM,qBAAqB,8LAA8B,CAAC;AACjE,eAAO,MAAM,qBAAqB,8LAA8B,CAAC;AACjE,eAAO,MAAM,oBAAoB;;;CAA6B,CAAC;AAC/D,eAAO,MAAM,eAAe,wEAAwB,CAAC;AACrD,eAAO,MAAM,sBAAsB,+LAA+B,CAAC;AACnE,eAAO,MAAM,sBAAsB;;wCAA+B,CAAC;AACnE,eAAO,MAAM,mBAAmB,4IAA4B,CAAC;AAmJ7D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwBpD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './DropdownMenu';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/DropdownMenu/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,72 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ import { ReactNode } from 'react';
3
+ export interface MenuItemBase {
4
+ id: string;
5
+ label: string;
6
+ icon?: LucideIcon;
7
+ disabled?: boolean;
8
+ }
9
+ export interface StandardMenuItem extends MenuItemBase {
10
+ type: 'item';
11
+ shortcut?: string;
12
+ onClick?: () => void;
13
+ variant?: 'default' | 'destructive';
14
+ }
15
+ export interface CheckboxMenuItem extends MenuItemBase {
16
+ type: 'checkbox';
17
+ checked: boolean;
18
+ onCheckedChange: (checked: boolean) => void;
19
+ }
20
+ export interface RadioMenuItem extends Omit<MenuItemBase, 'id'> {
21
+ value: string;
22
+ }
23
+ export interface RadioGroupMenuItem {
24
+ type: 'radio-group';
25
+ id: string;
26
+ value: string;
27
+ onValueChange: (value: string) => void;
28
+ items: RadioMenuItem[];
29
+ }
30
+ export interface SubMenuItem extends MenuItemBase {
31
+ type: 'sub';
32
+ items: MenuItem[];
33
+ }
34
+ export interface SeparatorItem {
35
+ type: 'separator';
36
+ id?: string;
37
+ }
38
+ export interface LabelItem {
39
+ type: 'label';
40
+ id: string;
41
+ label: string;
42
+ }
43
+ export interface GroupItem {
44
+ type: 'group';
45
+ id: string;
46
+ label?: string;
47
+ items: MenuItem[];
48
+ }
49
+ export interface CustomMenuItem {
50
+ type: 'custom';
51
+ id: string;
52
+ render: ReactNode | (() => ReactNode);
53
+ asMenuItem?: boolean;
54
+ onClick?: () => void;
55
+ disabled?: boolean;
56
+ }
57
+ export type MenuItem = StandardMenuItem | CheckboxMenuItem | RadioGroupMenuItem | SubMenuItem | SeparatorItem | LabelItem | GroupItem | CustomMenuItem;
58
+ export interface MenuTriggerProps {
59
+ label?: string;
60
+ children?: ReactNode;
61
+ variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
62
+ icon?: LucideIcon;
63
+ className?: string;
64
+ }
65
+ export interface DropdownMenuProps {
66
+ trigger: MenuTriggerProps;
67
+ items: MenuItem[];
68
+ contentClassName?: string;
69
+ align?: 'start' | 'center' | 'end';
70
+ side?: 'top' | 'right' | 'bottom' | 'left';
71
+ }
72
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../lib/components/DropdownMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,YAAY;IAE3B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAiBD,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;CACrC;AAgBD,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,IAAI,EAAE,UAAU,CAAC;IAEjB,OAAO,EAAE,OAAO,CAAC;IAEjB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C;AAKD,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC;IAE7D,KAAK,EAAE,MAAM,CAAC;CACf;AAo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C,EAAE,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;IAEjF,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkBD,MAAM,WAAW,iBAAiB;IAEhC,OAAO,EAAE,gBAAgB,CAAC;IAE1B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAElB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAEnC,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC5C"}
@@ -11,7 +11,7 @@ export interface FormProps<TFieldValues extends FieldValues = FieldValues, TCont
11
11
  rootErrorPosition?: 'top' | 'bottom';
12
12
  rootErrorClassName?: string;
13
13
  fieldMapping?: FieldMapping;
14
- mutation?: UseMutationResult<TMutationData, TMutationError, TMutationVariables, unknown>;
14
+ mutation: UseMutationResult<TMutationData, TMutationError, TMutationVariables, unknown>;
15
15
  transformSubmit?: (data: TTransformedValues extends undefined ? TFieldValues : TTransformedValues) => TMutationVariables;
16
16
  }
17
17
  export declare function Form<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = TFieldValues, TMutationData = unknown, TMutationError = Error, TMutationVariables = any>({ form, onSubmit, children, showRootError, rootErrorPosition, rootErrorClassName, fieldMapping, mutation, transformSubmit, ...props }: FormProps<TFieldValues, TContext, TTransformedValues, TMutationData, TMutationError, TMutationVariables>): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../lib/components/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,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,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,QAAQ,wFAqDpB,CAAC"}
1
+ {"version":3,"file":"OTPField.d.ts","sourceRoot":"","sources":["../../../../lib/components/OTPField/OTPField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,aAAa;IAI5B,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAMnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,QAAQ,wFAmEpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../../lib/components/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAuB,EAAE,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,oCAAoC,CAAC;AAI5C,MAAM,WAAW,eAAe;IAI9B,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,KAAK,CAAC,EAAE,KAAK,CAAC;IAKd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAK9C,cAAc,CAAC,EAAE,OAAO,CAAC;IAKzB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,eAAO,MAAM,UAAU,0FAkDtB,CAAC"}
1
+ {"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../../lib/components/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAuB,EAAE,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,oCAAoC,CAAC;AAI5C,MAAM,WAAW,eAAe;IAI9B,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,KAAK,CAAC,EAAE,KAAK,CAAC;IAKd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAK9C,cAAc,CAAC,EAAE,OAAO,CAAC;IAKzB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,eAAO,MAAM,UAAU,0FAgEtB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ export interface SelectOption {
3
+ value: string;
4
+ label: string;
5
+ disabled?: boolean;
6
+ }
7
+ export interface SelectFieldProps {
8
+ label?: string;
9
+ description?: React.ReactNode;
10
+ error?: string;
11
+ placeholder?: string;
12
+ options: SelectOption[];
13
+ value?: string;
14
+ onChange?: (value: string) => void;
15
+ onBlur?: () => void;
16
+ name?: string;
17
+ disabled?: boolean;
18
+ required?: boolean;
19
+ className?: string;
20
+ id?: string;
21
+ defaultValue?: string;
22
+ }
23
+ export declare const SelectField: React.ForwardRefExoticComponent<SelectFieldProps & React.RefAttributes<HTMLButtonElement>>;
24
+ //# sourceMappingURL=SelectField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../lib/components/SelectField/SelectField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,WAAW,YAAY;IAI3B,KAAK,EAAE,MAAM,CAAC;IAKd,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD,MAAM,WAAW,gBAAgB;IAI/B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,OAAO,EAAE,YAAY,EAAE,CAAC;IAKxB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAKnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAKpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAwBD,eAAO,MAAM,WAAW,4FAwDvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { SelectField } from './SelectField';
2
+ export type { SelectFieldProps, SelectOption } from './SelectField';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/SelectField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Separator as ShadcnSeparator } from '../../../shadcn/shadcnSeparator';
2
+ export declare const Separator: typeof ShadcnSeparator;
3
+ //# sourceMappingURL=Separator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../lib/components/Separator/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAW/E,eAAO,MAAM,SAAS,wBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Separator } from './Separator';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Separator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { Switch as ShadcnSwitch } from '../../../shadcn/shadcnSwitch';
3
+ export interface SwitchProps extends React.ComponentPropsWithoutRef<typeof ShadcnSwitch> {
4
+ label?: React.ReactNode;
5
+ description?: React.ReactNode;
6
+ error?: string;
7
+ }
8
+ export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
9
+ //# sourceMappingURL=Switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../lib/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEtE,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC;IAItF,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAKxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAgCD,eAAO,MAAM,MAAM,uFAkClB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { SwitchProps } from './Switch';
2
+ export { Switch } from './Switch';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Switch/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}