jaci-ui 0.3.0 → 0.5.0

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 (188) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +85 -0
  3. package/dist/components/calendar/calendar.cjs +377 -0
  4. package/dist/components/calendar/calendar.cjs.map +1 -0
  5. package/dist/components/calendar/calendar.d.cts +56 -0
  6. package/dist/components/calendar/calendar.d.ts +56 -0
  7. package/dist/components/calendar/calendar.js +368 -0
  8. package/dist/components/calendar/calendar.js.map +1 -0
  9. package/dist/components/calendar/index.d.cts +2 -0
  10. package/dist/components/calendar/index.d.ts +2 -0
  11. package/dist/components/combobox/combobox.cjs +13 -1
  12. package/dist/components/combobox/combobox.cjs.map +1 -1
  13. package/dist/components/combobox/combobox.d.cts +7 -2
  14. package/dist/components/combobox/combobox.d.ts +7 -2
  15. package/dist/components/combobox/combobox.js +13 -2
  16. package/dist/components/combobox/combobox.js.map +1 -1
  17. package/dist/components/combobox/index.d.cts +2 -2
  18. package/dist/components/combobox/index.d.ts +2 -2
  19. package/dist/components/command/command.cjs +55 -34
  20. package/dist/components/command/command.cjs.map +1 -1
  21. package/dist/components/command/command.d.cts +1 -0
  22. package/dist/components/command/command.d.ts +1 -0
  23. package/dist/components/command/command.js +55 -34
  24. package/dist/components/command/command.js.map +1 -1
  25. package/dist/components/controls/input.cjs +26 -5
  26. package/dist/components/controls/input.cjs.map +1 -1
  27. package/dist/components/controls/input.d.cts +5 -2
  28. package/dist/components/controls/input.d.ts +5 -2
  29. package/dist/components/controls/input.js +28 -7
  30. package/dist/components/controls/input.js.map +1 -1
  31. package/dist/components/controls/textarea.cjs +26 -5
  32. package/dist/components/controls/textarea.cjs.map +1 -1
  33. package/dist/components/controls/textarea.d.cts +5 -2
  34. package/dist/components/controls/textarea.d.ts +5 -2
  35. package/dist/components/controls/textarea.js +28 -7
  36. package/dist/components/controls/textarea.js.map +1 -1
  37. package/dist/components/data-toolbar/data-toolbar.cjs +141 -0
  38. package/dist/components/data-toolbar/data-toolbar.cjs.map +1 -0
  39. package/dist/components/data-toolbar/data-toolbar.d.cts +50 -0
  40. package/dist/components/data-toolbar/data-toolbar.d.ts +50 -0
  41. package/dist/components/data-toolbar/data-toolbar.js +132 -0
  42. package/dist/components/data-toolbar/data-toolbar.js.map +1 -0
  43. package/dist/components/data-toolbar/index.d.cts +2 -0
  44. package/dist/components/data-toolbar/index.d.ts +2 -0
  45. package/dist/components/data-view/data-view.cjs +33 -1
  46. package/dist/components/data-view/data-view.cjs.map +1 -1
  47. package/dist/components/data-view/data-view.d.cts +12 -1
  48. package/dist/components/data-view/data-view.d.ts +12 -1
  49. package/dist/components/data-view/data-view.js +31 -2
  50. package/dist/components/data-view/data-view.js.map +1 -1
  51. package/dist/components/data-view/index.d.cts +2 -2
  52. package/dist/components/data-view/index.d.ts +2 -2
  53. package/dist/components/date-picker/date-picker.cjs +9 -9
  54. package/dist/components/date-picker/date-picker.cjs.map +1 -1
  55. package/dist/components/date-picker/date-picker.d.cts +3 -1
  56. package/dist/components/date-picker/date-picker.d.ts +3 -1
  57. package/dist/components/date-picker/date-picker.js +9 -9
  58. package/dist/components/date-picker/date-picker.js.map +1 -1
  59. package/dist/components/date-range-picker/date-range-picker.cjs +589 -0
  60. package/dist/components/date-range-picker/date-range-picker.cjs.map +1 -0
  61. package/dist/components/date-range-picker/date-range-picker.d.cts +134 -0
  62. package/dist/components/date-range-picker/date-range-picker.d.ts +134 -0
  63. package/dist/components/date-range-picker/date-range-picker.js +568 -0
  64. package/dist/components/date-range-picker/date-range-picker.js.map +1 -0
  65. package/dist/components/date-range-picker/index.d.cts +2 -0
  66. package/dist/components/date-range-picker/index.d.ts +2 -0
  67. package/dist/components/field/field.cjs +106 -11
  68. package/dist/components/field/field.cjs.map +1 -1
  69. package/dist/components/field/field.d.cts +22 -4
  70. package/dist/components/field/field.d.ts +22 -4
  71. package/dist/components/field/field.js +107 -13
  72. package/dist/components/field/field.js.map +1 -1
  73. package/dist/components/field/index.d.cts +2 -2
  74. package/dist/components/field/index.d.ts +2 -2
  75. package/dist/components/list/list.cjs +3 -1
  76. package/dist/components/list/list.cjs.map +1 -1
  77. package/dist/components/list/list.d.cts +3 -1
  78. package/dist/components/list/list.d.ts +3 -1
  79. package/dist/components/list/list.js +3 -1
  80. package/dist/components/list/list.js.map +1 -1
  81. package/dist/components/pagination/index.d.cts +2 -2
  82. package/dist/components/pagination/index.d.ts +2 -2
  83. package/dist/components/pagination/pagination.cjs +122 -21
  84. package/dist/components/pagination/pagination.cjs.map +1 -1
  85. package/dist/components/pagination/pagination.d.cts +25 -13
  86. package/dist/components/pagination/pagination.d.ts +25 -13
  87. package/dist/components/pagination/pagination.js +122 -23
  88. package/dist/components/pagination/pagination.js.map +1 -1
  89. package/dist/components/pin-input/index.d.cts +2 -0
  90. package/dist/components/pin-input/index.d.ts +2 -0
  91. package/dist/components/pin-input/pin-input.cjs +266 -0
  92. package/dist/components/pin-input/pin-input.cjs.map +1 -0
  93. package/dist/components/pin-input/pin-input.d.cts +46 -0
  94. package/dist/components/pin-input/pin-input.d.ts +46 -0
  95. package/dist/components/pin-input/pin-input.js +258 -0
  96. package/dist/components/pin-input/pin-input.js.map +1 -0
  97. package/dist/components/select/index.d.cts +2 -2
  98. package/dist/components/select/index.d.ts +2 -2
  99. package/dist/components/select/select.cjs +80 -3
  100. package/dist/components/select/select.cjs.map +1 -1
  101. package/dist/components/select/select.d.cts +18 -3
  102. package/dist/components/select/select.d.ts +18 -3
  103. package/dist/components/select/select.js +78 -5
  104. package/dist/components/select/select.js.map +1 -1
  105. package/dist/components/table/index.d.cts +2 -2
  106. package/dist/components/table/index.d.ts +2 -2
  107. package/dist/components/table/table.cjs +265 -46
  108. package/dist/components/table/table.cjs.map +1 -1
  109. package/dist/components/table/table.d.cts +41 -8
  110. package/dist/components/table/table.d.ts +41 -8
  111. package/dist/components/table/table.js +264 -48
  112. package/dist/components/table/table.js.map +1 -1
  113. package/dist/components/tags-input/tags-input.cjs +83 -5
  114. package/dist/components/tags-input/tags-input.cjs.map +1 -1
  115. package/dist/components/tags-input/tags-input.d.cts +3 -0
  116. package/dist/components/tags-input/tags-input.d.ts +3 -0
  117. package/dist/components/tags-input/tags-input.js +83 -5
  118. package/dist/components/tags-input/tags-input.js.map +1 -1
  119. package/dist/components/tree-view/index.d.cts +2 -2
  120. package/dist/components/tree-view/index.d.ts +2 -2
  121. package/dist/components/tree-view/tree-view.cjs +60 -3
  122. package/dist/components/tree-view/tree-view.cjs.map +1 -1
  123. package/dist/components/tree-view/tree-view.d.cts +12 -1
  124. package/dist/components/tree-view/tree-view.d.ts +12 -1
  125. package/dist/components/tree-view/tree-view.js +58 -4
  126. package/dist/components/tree-view/tree-view.js.map +1 -1
  127. package/dist/components/upload/index.d.cts +2 -2
  128. package/dist/components/upload/index.d.ts +2 -2
  129. package/dist/components/upload/upload.cjs +90 -10
  130. package/dist/components/upload/upload.cjs.map +1 -1
  131. package/dist/components/upload/upload.d.cts +25 -2
  132. package/dist/components/upload/upload.d.ts +25 -2
  133. package/dist/components/upload/upload.js +89 -11
  134. package/dist/components/upload/upload.js.map +1 -1
  135. package/dist/index.cjs +74 -1
  136. package/dist/index.d.cts +17 -9
  137. package/dist/index.d.ts +17 -9
  138. package/dist/index.js +14 -10
  139. package/dist/styled-system/recipes/calendar.cjs +43 -0
  140. package/dist/styled-system/recipes/calendar.cjs.map +1 -0
  141. package/dist/styled-system/recipes/calendar.js +43 -0
  142. package/dist/styled-system/recipes/calendar.js.map +1 -0
  143. package/dist/styled-system/recipes/combobox.cjs +1 -0
  144. package/dist/styled-system/recipes/combobox.cjs.map +1 -1
  145. package/dist/styled-system/recipes/combobox.js +1 -0
  146. package/dist/styled-system/recipes/combobox.js.map +1 -1
  147. package/dist/styled-system/recipes/data-toolbar.cjs +40 -0
  148. package/dist/styled-system/recipes/data-toolbar.cjs.map +1 -0
  149. package/dist/styled-system/recipes/data-toolbar.js +40 -0
  150. package/dist/styled-system/recipes/data-toolbar.js.map +1 -0
  151. package/dist/styled-system/recipes/data-view.cjs +3 -0
  152. package/dist/styled-system/recipes/data-view.cjs.map +1 -1
  153. package/dist/styled-system/recipes/data-view.js +3 -0
  154. package/dist/styled-system/recipes/data-view.js.map +1 -1
  155. package/dist/styled-system/recipes/date-range-picker.cjs +52 -0
  156. package/dist/styled-system/recipes/date-range-picker.cjs.map +1 -0
  157. package/dist/styled-system/recipes/date-range-picker.js +52 -0
  158. package/dist/styled-system/recipes/date-range-picker.js.map +1 -0
  159. package/dist/styled-system/recipes/list.cjs +7 -1
  160. package/dist/styled-system/recipes/list.cjs.map +1 -1
  161. package/dist/styled-system/recipes/list.js +7 -1
  162. package/dist/styled-system/recipes/list.js.map +1 -1
  163. package/dist/styled-system/recipes/pagination.cjs +9 -1
  164. package/dist/styled-system/recipes/pagination.cjs.map +1 -1
  165. package/dist/styled-system/recipes/pagination.js +9 -1
  166. package/dist/styled-system/recipes/pagination.js.map +1 -1
  167. package/dist/styled-system/recipes/pin-input.cjs +39 -0
  168. package/dist/styled-system/recipes/pin-input.cjs.map +1 -0
  169. package/dist/styled-system/recipes/pin-input.js +39 -0
  170. package/dist/styled-system/recipes/pin-input.js.map +1 -0
  171. package/dist/styled-system/recipes/select.cjs +5 -1
  172. package/dist/styled-system/recipes/select.cjs.map +1 -1
  173. package/dist/styled-system/recipes/select.js +5 -1
  174. package/dist/styled-system/recipes/select.js.map +1 -1
  175. package/dist/styled-system/recipes/table.cjs +15 -2
  176. package/dist/styled-system/recipes/table.cjs.map +1 -1
  177. package/dist/styled-system/recipes/table.js +15 -2
  178. package/dist/styled-system/recipes/table.js.map +1 -1
  179. package/dist/styled-system/recipes/tree-view.cjs +4 -1
  180. package/dist/styled-system/recipes/tree-view.cjs.map +1 -1
  181. package/dist/styled-system/recipes/tree-view.js +4 -1
  182. package/dist/styled-system/recipes/tree-view.js.map +1 -1
  183. package/dist/styled-system/recipes/upload.cjs +2 -0
  184. package/dist/styled-system/recipes/upload.cjs.map +1 -1
  185. package/dist/styled-system/recipes/upload.js +2 -0
  186. package/dist/styled-system/recipes/upload.js.map +1 -1
  187. package/dist/styles.css +995 -95
  188. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"upload.js","names":[],"sources":["../../../src/components/upload/upload.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useId,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport type { ChangeEvent, ComponentPropsWithoutRef, ReactNode, RefObject } from \"react\";\n\nimport { cx } from \"../../styled-system/css\";\nimport { upload } from \"../../styled-system/recipes\";\n\nexport type UploadRejectionReason = \"type\" | \"size\" | \"count\" | \"duplicate\";\n\nexport interface UploadRejection {\n file: File;\n message: string;\n reason: UploadRejectionReason;\n}\n\ninterface UploadContextValue {\n accept: string | undefined;\n addFiles: (files: FileList | File[]) => void;\n disabled: boolean;\n dropActive: boolean;\n files: File[];\n inputId: string;\n inputRef: RefObject<HTMLInputElement | null>;\n maxFiles: number | undefined;\n maxSize: number | undefined;\n multiple: boolean;\n removeFile: (file: File) => void;\n rejections: UploadRejection[];\n setDropActive: (active: boolean) => void;\n styles: ReturnType<typeof upload>;\n}\n\nconst UploadContext = createContext<UploadContextValue | null>(null);\n\nfunction useUploadContext() {\n const context = useContext(UploadContext);\n if (!context) {\n throw new Error(\"Upload parts must be rendered inside Upload.Root.\");\n }\n\n return context;\n}\n\nfunction fileKey(file: File) {\n return `${file.name}-${file.size}-${file.lastModified}`;\n}\n\nfunction formatBytes(bytes: number) {\n if (bytes < 1024) return `${bytes} B`;\n if (bytes < 1024 * 1024) return `${Math.round(bytes / 1024)} KB`;\n return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;\n}\n\nfunction acceptsFile(file: File, accept: string | undefined) {\n if (!accept) {\n return true;\n }\n\n const fileName = file.name.toLowerCase();\n const fileType = file.type.toLowerCase();\n\n return accept.split(\",\").some((entry) => {\n const pattern = entry.trim().toLowerCase();\n if (!pattern) return true;\n if (pattern.startsWith(\".\")) return fileName.endsWith(pattern);\n if (pattern.endsWith(\"/*\")) return fileType.startsWith(pattern.slice(0, -1));\n return pattern === fileType;\n });\n}\n\nexport interface UploadRootProps extends Omit<ComponentPropsWithoutRef<\"div\">, \"onChange\"> {\n /** Accepted MIME types or file extensions, using the native input syntax. */\n accept?: string;\n /** Controlled files. Use with `onFilesChange`. */\n files?: File[];\n /** Initial files for an uncontrolled upload. */\n defaultFiles?: File[];\n /** Called whenever accepted files are added or removed. */\n onFilesChange?: (files: File[]) => void;\n /** Called with files rejected by `accept`, `maxSize`, `maxFiles` or duplicates. */\n onReject?: (rejections: UploadRejection[]) => void;\n /** Maximum number of accepted files. Defaults to one when `multiple` is false. */\n maxFiles?: number;\n /** Maximum size per file, in bytes. */\n maxSize?: number;\n /** Allows selecting more than one file. */\n multiple?: boolean;\n /** Disables file selection and drag-and-drop. */\n disabled?: boolean;\n children?: ReactNode;\n}\n\nexport const UploadRoot = forwardRef<HTMLDivElement, UploadRootProps>(function UploadRoot(\n {\n accept,\n children,\n className,\n defaultFiles = [],\n disabled = false,\n files: controlledFiles,\n maxFiles,\n maxSize,\n multiple = false,\n onFilesChange,\n onReject,\n ...props\n },\n ref,\n) {\n const [uncontrolledFiles, setUncontrolledFiles] = useState<File[]>(defaultFiles);\n const [dropActive, setDropActive] = useState(false);\n const [rejections, setRejections] = useState<UploadRejection[]>([]);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputId = useId();\n const styles = upload({ disabled, dropActive });\n const currentFiles = controlledFiles ?? uncontrolledFiles;\n const fileLimit = maxFiles ?? (multiple ? undefined : 1);\n\n const updateFiles = useCallback(\n (nextFiles: File[]) => {\n setUncontrolledFiles(nextFiles);\n onFilesChange?.(nextFiles);\n },\n [onFilesChange],\n );\n\n const addFiles = useCallback(\n (fileList: FileList | File[]) => {\n if (disabled) return;\n\n const candidates = Array.from(fileList);\n const acceptedFiles: File[] = [];\n const nextRejections: UploadRejection[] = [];\n const existingKeys = new Set(currentFiles.map(fileKey));\n\n for (const file of candidates) {\n const key = fileKey(file);\n if (existingKeys.has(key) || acceptedFiles.some((accepted) => fileKey(accepted) === key)) {\n nextRejections.push({\n file,\n reason: \"duplicate\",\n message: `${file.name} was already added.`,\n });\n continue;\n }\n if (!acceptsFile(file, accept)) {\n nextRejections.push({\n file,\n reason: \"type\",\n message: `${file.name} is not an accepted file type.`,\n });\n continue;\n }\n if (maxSize !== undefined && file.size > maxSize) {\n nextRejections.push({\n file,\n reason: \"size\",\n message: `${file.name} is larger than the allowed limit.`,\n });\n continue;\n }\n if (\n fileLimit !== undefined &&\n (multiple ? currentFiles.length + acceptedFiles.length : acceptedFiles.length) >=\n fileLimit\n ) {\n nextRejections.push({\n file,\n reason: \"count\",\n message: `Only ${fileLimit} file${fileLimit === 1 ? \"\" : \"s\"} can be selected.`,\n });\n continue;\n }\n acceptedFiles.push(file);\n }\n\n const nextFiles = multiple ? [...currentFiles, ...acceptedFiles] : acceptedFiles.slice(0, 1);\n if (acceptedFiles.length > 0) {\n updateFiles(nextFiles);\n }\n if (nextRejections.length > 0) {\n setRejections(nextRejections);\n onReject?.(nextRejections);\n } else {\n setRejections([]);\n }\n },\n [accept, currentFiles, disabled, fileLimit, maxSize, multiple, onReject, updateFiles],\n );\n\n const removeFile = useCallback(\n (file: File) => {\n updateFiles(currentFiles.filter((current) => fileKey(current) !== fileKey(file)));\n },\n [currentFiles, updateFiles],\n );\n\n const context = useMemo<UploadContextValue>(\n () => ({\n accept,\n addFiles,\n disabled,\n dropActive,\n files: currentFiles,\n inputId,\n inputRef,\n maxFiles: fileLimit,\n maxSize,\n multiple,\n removeFile,\n rejections,\n setDropActive,\n styles,\n }),\n [\n accept,\n addFiles,\n currentFiles,\n disabled,\n dropActive,\n fileLimit,\n inputId,\n maxSize,\n multiple,\n rejections,\n removeFile,\n styles,\n ],\n );\n\n return (\n <UploadContext.Provider value={context}>\n <div\n {...props}\n ref={ref}\n className={cx(styles.root, className)}\n data-disabled={disabled || undefined}\n data-jaci-component=\"upload\"\n data-slot=\"upload\"\n >\n {children}\n </div>\n </UploadContext.Provider>\n );\n});\n\nexport interface UploadDropzoneProps extends ComponentPropsWithoutRef<\"label\"> {\n children?: ReactNode;\n}\n\nexport const UploadDropzone = forwardRef<HTMLLabelElement, UploadDropzoneProps>(\n function UploadDropzone(\n { children, className, htmlFor, onDragEnter, onDragLeave, onDragOver, onDrop, ...props },\n ref,\n ) {\n const { addFiles, disabled, dropActive, inputId, setDropActive, styles } = useUploadContext();\n\n return (\n <label\n {...props}\n ref={ref}\n aria-disabled={disabled || undefined}\n className={cx(styles.dropzone, className)}\n data-drag-active={dropActive || undefined}\n data-slot=\"upload-dropzone\"\n htmlFor={htmlFor ?? inputId}\n onDragEnter={(event) => {\n event.preventDefault();\n if (!disabled) {\n setDropActive(true);\n event.currentTarget.dataset.dragActive = \"true\";\n }\n onDragEnter?.(event);\n }}\n onDragLeave={(event) => {\n event.preventDefault();\n if (event.currentTarget === event.target) {\n setDropActive(false);\n event.currentTarget.dataset.dragActive = \"false\";\n }\n onDragLeave?.(event);\n }}\n onDragOver={(event) => {\n event.preventDefault();\n if (!disabled) setDropActive(true);\n onDragOver?.(event);\n }}\n onDrop={(event) => {\n event.preventDefault();\n setDropActive(false);\n event.currentTarget.dataset.dragActive = \"false\";\n if (!disabled) addFiles(event.dataTransfer.files);\n onDrop?.(event);\n }}\n >\n {children}\n </label>\n );\n },\n);\n\nexport type UploadInputProps = ComponentPropsWithoutRef<\"input\">;\n\nexport const UploadInput = forwardRef<HTMLInputElement, UploadInputProps>(function UploadInput(\n { accept, className, id, multiple, onChange, ...props },\n ref,\n) {\n const {\n addFiles,\n accept: rootAccept,\n disabled,\n inputId,\n inputRef,\n multiple: rootMultiple,\n styles,\n } = useUploadContext();\n\n const handleChange = (event: ChangeEvent<HTMLInputElement>) => {\n if (event.currentTarget.files) addFiles(event.currentTarget.files);\n event.currentTarget.value = \"\";\n onChange?.(event);\n };\n\n return (\n <input\n {...props}\n accept={accept ?? rootAccept}\n aria-label={props[\"aria-label\"] ?? \"Select files\"}\n className={cx(styles.input, className)}\n disabled={disabled}\n id={id ?? inputId}\n multiple={multiple ?? rootMultiple}\n onChange={handleChange}\n ref={(node) => {\n inputRef.current = node;\n if (typeof ref === \"function\") ref(node);\n else if (ref) ref.current = node;\n }}\n tabIndex={-1}\n type=\"file\"\n />\n );\n});\n\nexport type UploadTriggerProps = ComponentPropsWithoutRef<\"button\">;\n\nexport const UploadTrigger = forwardRef<HTMLButtonElement, UploadTriggerProps>(\n function UploadTrigger(\n { children = \"Choose files\", className, disabled, onClick, ...props },\n ref,\n ) {\n const { disabled: rootDisabled, inputRef, styles } = useUploadContext();\n\n return (\n <button\n {...props}\n className={cx(styles.trigger, className)}\n data-slot=\"upload-trigger\"\n disabled={disabled ?? rootDisabled}\n onClick={(event) => {\n inputRef.current?.click();\n onClick?.(event);\n }}\n ref={ref}\n type=\"button\"\n >\n {children}\n </button>\n );\n },\n);\n\nexport type UploadIconProps = ComponentPropsWithoutRef<\"span\">;\n\nexport const UploadIcon = forwardRef<HTMLSpanElement, UploadIconProps>(function UploadIcon(\n { children = \"↥\", className, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n return (\n <span\n {...props}\n ref={ref}\n aria-hidden=\"true\"\n className={cx(styles.icon, className)}\n data-slot=\"upload-icon\"\n >\n {children}\n </span>\n );\n});\n\nexport type UploadTextProps = ComponentPropsWithoutRef<\"span\">;\n\nexport const UploadText = forwardRef<HTMLSpanElement, UploadTextProps>(function UploadText(\n { className, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n return (\n <span {...props} ref={ref} className={cx(styles.text, className)} data-slot=\"upload-text\" />\n );\n});\n\nexport type UploadHintProps = ComponentPropsWithoutRef<\"span\">;\n\nexport const UploadHint = forwardRef<HTMLSpanElement, UploadHintProps>(function UploadHint(\n { className, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n return (\n <span {...props} ref={ref} className={cx(styles.hint, className)} data-slot=\"upload-hint\" />\n );\n});\n\nexport interface UploadPreviewProps extends ComponentPropsWithoutRef<\"span\"> {\n /** File whose preview should be rendered. Image files use a temporary object URL. */\n file: File;\n /** Alternative text for image previews. Defaults to the file name. */\n alt?: string;\n /** Content rendered while the preview is unavailable or the file is not an image. */\n fallback?: ReactNode;\n}\n\nexport const UploadPreview = forwardRef<HTMLSpanElement, UploadPreviewProps>(function UploadPreview(\n { alt, className, fallback = \"Preview unavailable\", file, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n const [src, setSrc] = useState<string | null>(null);\n\n useEffect(() => {\n if (\n !file.type.startsWith(\"image/\") ||\n typeof URL === \"undefined\" ||\n typeof URL.createObjectURL !== \"function\"\n ) {\n setSrc(null);\n return;\n }\n\n const objectUrl = URL.createObjectURL(file);\n setSrc(objectUrl);\n return () => URL.revokeObjectURL(objectUrl);\n }, [file]);\n\n return (\n <span\n {...props}\n ref={ref}\n aria-hidden={props[\"aria-label\"] ? undefined : true}\n className={cx(styles.preview, className)}\n data-slot=\"upload-preview\"\n role={props[\"aria-label\"] ? \"img\" : undefined}\n >\n {src ? <img alt={alt ?? file.name} src={src} /> : fallback}\n </span>\n );\n});\n\nexport interface UploadProgressProps extends Omit<ComponentPropsWithoutRef<\"div\">, \"children\"> {\n /** Progress from 0 to 100. Omit it for an indeterminate upload. */\n value?: number;\n /** Accessible label and optional visible status text. */\n label?: ReactNode;\n}\n\nexport const UploadProgress = forwardRef<HTMLDivElement, UploadProgressProps>(\n function UploadProgress({ className, label = \"Uploading\", value, ...props }, ref) {\n const { styles } = useUploadContext();\n const normalizedValue = value === undefined ? undefined : Math.min(100, Math.max(0, value));\n\n return (\n <div\n {...props}\n ref={ref}\n aria-label={typeof label === \"string\" ? label : \"Upload progress\"}\n aria-valuemax={100}\n aria-valuemin={0}\n aria-valuenow={normalizedValue}\n className={cx(styles.progress, className)}\n data-indeterminate={normalizedValue === undefined || undefined}\n data-slot=\"upload-progress\"\n role=\"progressbar\"\n >\n <span className={styles.progressTrack} data-slot=\"upload-progress-track\">\n <span\n className={styles.progressIndicator}\n data-indeterminate={normalizedValue === undefined || undefined}\n data-slot=\"upload-progress-indicator\"\n style={{ width: normalizedValue === undefined ? undefined : `${normalizedValue}%` }}\n />\n </span>\n <span className={styles.progressLabel} data-slot=\"upload-progress-label\">\n {label}\n </span>\n </div>\n );\n },\n);\n\nexport type UploadListProps = ComponentPropsWithoutRef<\"ul\">;\n\nexport const UploadList = forwardRef<HTMLUListElement, UploadListProps>(function UploadList(\n { children, className, ...props },\n ref,\n) {\n const { files, styles } = useUploadContext();\n return (\n <ul {...props} ref={ref} className={cx(styles.list, className)} data-slot=\"upload-list\">\n {children ?? files.map((file) => <UploadItem file={file} key={fileKey(file)} />)}\n </ul>\n );\n});\n\nexport interface UploadItemProps extends Omit<ComponentPropsWithoutRef<\"li\">, \"children\"> {\n file: File;\n children?: ReactNode;\n}\n\nexport const UploadItem = forwardRef<HTMLLIElement, UploadItemProps>(function UploadItem(\n { children, className, file, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n return (\n <li {...props} ref={ref} className={cx(styles.item, className)} data-slot=\"upload-item\">\n {children ?? (\n <>\n <span className={styles.itemName} data-slot=\"upload-item-name\" title={file.name}>\n {file.name}\n </span>\n <span className={styles.itemMeta} data-slot=\"upload-item-meta\">\n {formatBytes(file.size)}\n </span>\n <UploadRemove file={file} />\n </>\n )}\n </li>\n );\n});\n\nexport interface UploadRemoveProps extends ComponentPropsWithoutRef<\"button\"> {\n file: File;\n}\n\nexport const UploadRemove = forwardRef<HTMLButtonElement, UploadRemoveProps>(function UploadRemove(\n { children = \"×\", className, file, onClick, ...props },\n ref,\n) {\n const { disabled, removeFile, styles } = useUploadContext();\n return (\n <button\n {...props}\n aria-label={props[\"aria-label\"] ?? `Remove ${file.name}`}\n className={cx(styles.remove, className)}\n data-slot=\"upload-remove\"\n disabled={disabled}\n onClick={(event) => {\n removeFile(file);\n onClick?.(event);\n }}\n ref={ref}\n type=\"button\"\n >\n {children}\n </button>\n );\n});\n\nexport type UploadErrorProps = ComponentPropsWithoutRef<\"p\">;\n\nexport const UploadError = forwardRef<HTMLParagraphElement, UploadErrorProps>(function UploadError(\n { children, className, ...props },\n ref,\n) {\n const { rejections, styles } = useUploadContext();\n if (children === undefined && rejections.length === 0) return null;\n\n return (\n <p\n {...props}\n ref={ref}\n className={cx(styles.error, className)}\n data-slot=\"upload-error\"\n role=\"alert\"\n >\n {children ?? rejections.map((rejection) => rejection.message).join(\" \")}\n </p>\n );\n});\n\nexport const Upload = {\n Root: UploadRoot,\n Dropzone: UploadDropzone,\n Input: UploadInput,\n Trigger: UploadTrigger,\n Icon: UploadIcon,\n Text: UploadText,\n Hint: UploadHint,\n Preview: UploadPreview,\n Progress: UploadProgress,\n List: UploadList,\n Item: UploadItem,\n Remove: UploadRemove,\n Error: UploadError,\n};\n"],"mappings":";;;;;;AA2CA,MAAM,gBAAgB,cAAyC,IAAI;AAEnE,SAAS,mBAAmB;CAC1B,MAAM,UAAU,WAAW,aAAa;CACxC,IAAI,CAAC,SACH,MAAM,IAAI,MAAM,mDAAmD;CAGrE,OAAO;AACT;AAEA,SAAS,QAAQ,MAAY;CAC3B,OAAO,GAAG,KAAK,KAAK,GAAG,KAAK,KAAK,GAAG,KAAK;AAC3C;AAEA,SAAS,YAAY,OAAe;CAClC,IAAI,QAAQ,MAAM,OAAO,GAAG,MAAM;CAClC,IAAI,QAAQ,OAAO,MAAM,OAAO,GAAG,KAAK,MAAM,QAAQ,IAAI,EAAE;CAC5D,OAAO,IAAI,SAAS,OAAO,MAAA,CAAO,QAAQ,CAAC,EAAE;AAC/C;AAEA,SAAS,YAAY,MAAY,QAA4B;CAC3D,IAAI,CAAC,QACH,OAAO;CAGT,MAAM,WAAW,KAAK,KAAK,YAAY;CACvC,MAAM,WAAW,KAAK,KAAK,YAAY;CAEvC,OAAO,OAAO,MAAM,GAAG,CAAC,CAAC,MAAM,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e,WAAiD,SAAS,aACpF,EAAE,WAAW,KAAK,WAAW,MAAM,SAAS,GAAG,SAC/C,KACA;CACA,MAAM,EAAE,UAAU,YAAY,WAAW,iBAAiB;CAC1D,OACE,oBAAC,UAAD;EACE,GAAI;EACJ,cAAY,MAAM,iBAAiB,UAAU,KAAK;EAClD,WAAW,GAAG,OAAO,QAAQ,SAAS;EACtC,aAAU;EACA;EACV,UAAU,UAAU;GAClB,WAAW,IAAI;GACf,UAAU,KAAK;EACjB;EACK;EACL,MAAK;EAEJ;CACK,CAAA;AAEZ,CAAC;AAID,MAAa,cAAc,WAAmD,SAAS,YACrF,EAAE,UAAU,WAAW,GAAG,SAC1B,KACA;CACA,MAAM,EAAE,YAAY,WAAW,iBAAiB;CAChD,IAAI,aAAa,KAAA,KAAa,WAAW,WAAW,GAAG,OAAO;CAE9D,OACE,oBAAC,KAAD;EACE,GAAI;EACC;EACL,WAAW,GAAG,OAAO,OAAO,SAAS;EACrC,aAAU;EACV,MAAK;YAEJ,YAAY,WAAW,KAAK,cAAc,UAAU,OAAO,CAAC,CAAC,KAAK,GAAG;CACrE,CAAA;AAEP,CAAC;AAED,MAAa,SAAS;CACpB,MAAM;CACN,UAAU;CACV,OAAO;CACP,SAAS;CACT,MAAM;CACN,MAAM;CACN,MAAM;CACN,SAAS;CACT,UAAU;CACV,MAAM;CACN,MAAM;CACN,QAAQ;CACR,OAAO;AACT"}
1
+ {"version":3,"file":"upload.js","names":[],"sources":["../../../src/components/upload/upload.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useId,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport type { ChangeEvent, ComponentPropsWithoutRef, ReactNode, RefObject } from \"react\";\n\nimport { cx } from \"../../styled-system/css\";\nimport { upload } from \"../../styled-system/recipes\";\n\nexport type UploadRejectionReason = \"type\" | \"size\" | \"count\" | \"duplicate\" | \"validation\";\n\nexport type UploadFileStatus = \"queued\" | \"uploading\" | \"success\" | \"error\" | \"canceled\";\n\nexport interface UploadFileState {\n status: UploadFileStatus;\n progress?: number;\n error?: ReactNode;\n}\n\nexport interface UploadRejection {\n file: File;\n message: string;\n reason: UploadRejectionReason;\n}\n\ninterface UploadContextValue {\n accept: string | undefined;\n addFiles: (files: FileList | File[]) => void;\n disabled: boolean;\n dropActive: boolean;\n files: File[];\n inputId: string;\n inputRef: RefObject<HTMLInputElement | null>;\n fileState: ((file: File) => UploadFileState | undefined) | undefined;\n maxFiles: number | undefined;\n maxSize: number | undefined;\n multiple: boolean;\n removeFile: (file: File) => void;\n cancelFile: (file: File) => void;\n rejections: UploadRejection[];\n setDropActive: (active: boolean) => void;\n styles: ReturnType<typeof upload>;\n}\n\nconst UploadContext = createContext<UploadContextValue | null>(null);\n\nfunction useUploadContext() {\n const context = useContext(UploadContext);\n if (!context) {\n throw new Error(\"Upload parts must be rendered inside Upload.Root.\");\n }\n\n return context;\n}\n\nfunction fileKey(file: File) {\n return `${file.name}-${file.size}-${file.lastModified}`;\n}\n\nfunction formatBytes(bytes: number) {\n if (bytes < 1024) return `${bytes} B`;\n if (bytes < 1024 * 1024) return `${Math.round(bytes / 1024)} KB`;\n return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;\n}\n\nfunction acceptsFile(file: File, accept: string | undefined) {\n if (!accept) {\n return true;\n }\n\n const fileName = file.name.toLowerCase();\n const fileType = file.type.toLowerCase();\n\n return accept.split(\",\").some((entry) => {\n const pattern = entry.trim().toLowerCase();\n if (!pattern) return true;\n if (pattern.startsWith(\".\")) return fileName.endsWith(pattern);\n if (pattern.endsWith(\"/*\")) return fileType.startsWith(pattern.slice(0, -1));\n return pattern === fileType;\n });\n}\n\nexport interface UploadRootProps extends Omit<ComponentPropsWithoutRef<\"div\">, \"onChange\"> {\n /** Accepted MIME types or file extensions, using the native input syntax. */\n accept?: string;\n /** Controlled files. Use with `onFilesChange`. */\n files?: File[];\n /** Initial files for an uncontrolled upload. */\n defaultFiles?: File[];\n /** Called whenever accepted files are added or removed. */\n onFilesChange?: (files: File[]) => void;\n /** Called with files rejected by `accept`, `maxSize`, `maxFiles` or duplicates. */\n onReject?: (rejections: UploadRejection[]) => void;\n /** Maximum number of accepted files. Defaults to one when `multiple` is false. */\n maxFiles?: number;\n /** Maximum size per file, in bytes. */\n maxSize?: number;\n /** Allows selecting more than one file. */\n multiple?: boolean;\n /** Disables file selection and drag-and-drop. */\n disabled?: boolean;\n /** Optional asynchronous validation. Return an error message to reject a file. */\n validateFile?: (file: File) => string | null | Promise<string | null>;\n /** Controlled status used by the status, progress and cancel slots. */\n fileState?: (file: File) => UploadFileState | undefined;\n /** Called when a consumer cancels an upload. */\n onCancel?: (file: File) => void;\n children?: ReactNode;\n}\n\nexport const UploadRoot = forwardRef<HTMLDivElement, UploadRootProps>(function UploadRoot(\n {\n accept,\n fileState,\n children,\n className,\n defaultFiles = [],\n disabled = false,\n files: controlledFiles,\n maxFiles,\n maxSize,\n multiple = false,\n onFilesChange,\n onCancel,\n onReject,\n validateFile,\n ...props\n },\n ref,\n) {\n const [uncontrolledFiles, setUncontrolledFiles] = useState<File[]>(defaultFiles);\n const [dropActive, setDropActive] = useState(false);\n const [rejections, setRejections] = useState<UploadRejection[]>([]);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputId = useId();\n const styles = upload({ disabled, dropActive });\n const currentFiles = controlledFiles ?? uncontrolledFiles;\n const fileLimit = maxFiles ?? (multiple ? undefined : 1);\n\n const updateFiles = useCallback(\n (nextFiles: File[]) => {\n if (controlledFiles === undefined) setUncontrolledFiles(nextFiles);\n onFilesChange?.(nextFiles);\n },\n [controlledFiles, onFilesChange],\n );\n\n const removeFile = useCallback(\n (file: File) => {\n updateFiles(currentFiles.filter((current) => fileKey(current) !== fileKey(file)));\n },\n [currentFiles, updateFiles],\n );\n\n const addFiles = useCallback(\n (fileList: FileList | File[]) => {\n if (disabled) return;\n\n const candidates = Array.from(fileList);\n const acceptedFiles: File[] = [];\n const nextRejections: UploadRejection[] = [];\n const pendingValidations = new Map<File, Promise<string | null>>();\n const existingKeys = new Set(currentFiles.map(fileKey));\n\n for (const file of candidates) {\n const key = fileKey(file);\n if (existingKeys.has(key) || acceptedFiles.some((accepted) => fileKey(accepted) === key)) {\n nextRejections.push({\n file,\n reason: \"duplicate\",\n message: `${file.name} was already added.`,\n });\n continue;\n }\n if (!acceptsFile(file, accept)) {\n nextRejections.push({\n file,\n reason: \"type\",\n message: `${file.name} is not an accepted file type.`,\n });\n continue;\n }\n if (maxSize !== undefined && file.size > maxSize) {\n nextRejections.push({\n file,\n reason: \"size\",\n message: `${file.name} is larger than the allowed limit.`,\n });\n continue;\n }\n if (\n fileLimit !== undefined &&\n (multiple ? currentFiles.length + acceptedFiles.length : acceptedFiles.length) >=\n fileLimit\n ) {\n nextRejections.push({\n file,\n reason: \"count\",\n message: `Only ${fileLimit} file${fileLimit === 1 ? \"\" : \"s\"} can be selected.`,\n });\n continue;\n }\n if (validateFile) {\n const validation = validateFile(file);\n if (validation && typeof validation !== \"object\") {\n nextRejections.push({ file, reason: \"validation\", message: validation });\n continue;\n }\n if (validation && typeof validation === \"object\" && \"then\" in validation) {\n pendingValidations.set(file, Promise.resolve(validation));\n }\n }\n acceptedFiles.push(file);\n }\n\n const nextFiles = multiple ? [...currentFiles, ...acceptedFiles] : acceptedFiles.slice(0, 1);\n if (acceptedFiles.length > 0) {\n updateFiles(nextFiles);\n }\n if (validateFile) {\n for (const file of acceptedFiles) {\n const validation = pendingValidations.get(file);\n if (validation) {\n void validation\n .then((message) => {\n if (!message) return;\n const rejection = { file, reason: \"validation\" as const, message };\n updateFiles(nextFiles.filter((current) => fileKey(current) !== fileKey(file)));\n setRejections((current) => [...current, rejection]);\n onReject?.([rejection]);\n })\n .catch((error: unknown) => {\n const message = error instanceof Error ? error.message : \"File validation failed.\";\n const rejection = { file, reason: \"validation\" as const, message };\n updateFiles(nextFiles.filter((current) => fileKey(current) !== fileKey(file)));\n setRejections((current) => [...current, rejection]);\n onReject?.([rejection]);\n });\n }\n }\n }\n if (nextRejections.length > 0) {\n setRejections(nextRejections);\n onReject?.(nextRejections);\n } else {\n setRejections([]);\n }\n },\n [\n accept,\n currentFiles,\n disabled,\n fileLimit,\n maxSize,\n multiple,\n onReject,\n updateFiles,\n validateFile,\n ],\n );\n\n const cancelFile = useCallback((file: File) => onCancel?.(file), [onCancel]);\n\n const context = useMemo<UploadContextValue>(\n () => ({\n accept,\n addFiles,\n cancelFile,\n disabled,\n dropActive,\n files: currentFiles,\n inputId,\n inputRef,\n fileState,\n maxFiles: fileLimit,\n maxSize,\n multiple,\n removeFile,\n rejections,\n setDropActive,\n styles,\n }),\n [\n accept,\n addFiles,\n cancelFile,\n currentFiles,\n disabled,\n dropActive,\n fileLimit,\n fileState,\n inputId,\n maxSize,\n multiple,\n rejections,\n removeFile,\n styles,\n ],\n );\n\n return (\n <UploadContext.Provider value={context}>\n <div\n {...props}\n ref={ref}\n className={cx(styles.root, className)}\n data-disabled={disabled || undefined}\n data-jaci-component=\"upload\"\n data-slot=\"upload\"\n >\n {children}\n </div>\n </UploadContext.Provider>\n );\n});\n\nexport interface UploadDropzoneProps extends ComponentPropsWithoutRef<\"label\"> {\n children?: ReactNode;\n}\n\nexport const UploadDropzone = forwardRef<HTMLLabelElement, UploadDropzoneProps>(\n function UploadDropzone(\n { children, className, htmlFor, onDragEnter, onDragLeave, onDragOver, onDrop, ...props },\n ref,\n ) {\n const { addFiles, disabled, dropActive, inputId, setDropActive, styles } = useUploadContext();\n\n return (\n <label\n {...props}\n ref={ref}\n aria-disabled={disabled || undefined}\n className={cx(styles.dropzone, className)}\n data-drag-active={dropActive || undefined}\n data-slot=\"upload-dropzone\"\n htmlFor={htmlFor ?? inputId}\n onDragEnter={(event) => {\n event.preventDefault();\n if (!disabled) {\n setDropActive(true);\n event.currentTarget.dataset.dragActive = \"true\";\n }\n onDragEnter?.(event);\n }}\n onDragLeave={(event) => {\n event.preventDefault();\n if (event.currentTarget === event.target) {\n setDropActive(false);\n event.currentTarget.dataset.dragActive = \"false\";\n }\n onDragLeave?.(event);\n }}\n onDragOver={(event) => {\n event.preventDefault();\n if (!disabled) setDropActive(true);\n onDragOver?.(event);\n }}\n onDrop={(event) => {\n event.preventDefault();\n setDropActive(false);\n event.currentTarget.dataset.dragActive = \"false\";\n if (!disabled) addFiles(event.dataTransfer.files);\n onDrop?.(event);\n }}\n >\n {children}\n </label>\n );\n },\n);\n\nexport type UploadInputProps = ComponentPropsWithoutRef<\"input\">;\n\nexport const UploadInput = forwardRef<HTMLInputElement, UploadInputProps>(function UploadInput(\n { accept, className, id, multiple, onChange, ...props },\n ref,\n) {\n const {\n addFiles,\n accept: rootAccept,\n disabled,\n inputId,\n inputRef,\n multiple: rootMultiple,\n styles,\n } = useUploadContext();\n\n const handleChange = (event: ChangeEvent<HTMLInputElement>) => {\n if (event.currentTarget.files) addFiles(event.currentTarget.files);\n event.currentTarget.value = \"\";\n onChange?.(event);\n };\n\n return (\n <input\n {...props}\n accept={accept ?? rootAccept}\n aria-label={props[\"aria-label\"] ?? \"Select files\"}\n className={cx(styles.input, className)}\n disabled={disabled}\n id={id ?? inputId}\n multiple={multiple ?? rootMultiple}\n onChange={handleChange}\n ref={(node) => {\n inputRef.current = node;\n if (typeof ref === \"function\") ref(node);\n else if (ref) ref.current = node;\n }}\n tabIndex={-1}\n type=\"file\"\n />\n );\n});\n\nexport type UploadTriggerProps = ComponentPropsWithoutRef<\"button\">;\n\nexport const UploadTrigger = forwardRef<HTMLButtonElement, UploadTriggerProps>(\n function UploadTrigger(\n { children = \"Choose files\", className, disabled, onClick, ...props },\n ref,\n ) {\n const { disabled: rootDisabled, inputRef, styles } = useUploadContext();\n\n return (\n <button\n {...props}\n className={cx(styles.trigger, className)}\n data-slot=\"upload-trigger\"\n disabled={disabled ?? rootDisabled}\n onClick={(event) => {\n inputRef.current?.click();\n onClick?.(event);\n }}\n ref={ref}\n type=\"button\"\n >\n {children}\n </button>\n );\n },\n);\n\nexport type UploadIconProps = ComponentPropsWithoutRef<\"span\">;\n\nexport const UploadIcon = forwardRef<HTMLSpanElement, UploadIconProps>(function UploadIcon(\n { children = \"↥\", className, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n return (\n <span\n {...props}\n ref={ref}\n aria-hidden=\"true\"\n className={cx(styles.icon, className)}\n data-slot=\"upload-icon\"\n >\n {children}\n </span>\n );\n});\n\nexport type UploadTextProps = ComponentPropsWithoutRef<\"span\">;\n\nexport const UploadText = forwardRef<HTMLSpanElement, UploadTextProps>(function UploadText(\n { className, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n return (\n <span {...props} ref={ref} className={cx(styles.text, className)} data-slot=\"upload-text\" />\n );\n});\n\nexport type UploadHintProps = ComponentPropsWithoutRef<\"span\">;\n\nexport const UploadHint = forwardRef<HTMLSpanElement, UploadHintProps>(function UploadHint(\n { className, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n return (\n <span {...props} ref={ref} className={cx(styles.hint, className)} data-slot=\"upload-hint\" />\n );\n});\n\nexport interface UploadPreviewProps extends ComponentPropsWithoutRef<\"span\"> {\n /** File whose preview should be rendered. Image files use a temporary object URL. */\n file: File;\n /** Alternative text for image previews. Defaults to the file name. */\n alt?: string;\n /** Content rendered while the preview is unavailable or the file is not an image. */\n fallback?: ReactNode;\n}\n\nexport const UploadPreview = forwardRef<HTMLSpanElement, UploadPreviewProps>(function UploadPreview(\n { alt, className, fallback = \"Preview unavailable\", file, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n const [src, setSrc] = useState<string | null>(null);\n\n useEffect(() => {\n if (\n !file.type.startsWith(\"image/\") ||\n typeof URL === \"undefined\" ||\n typeof URL.createObjectURL !== \"function\"\n ) {\n setSrc(null);\n return;\n }\n\n const objectUrl = URL.createObjectURL(file);\n setSrc(objectUrl);\n return () => URL.revokeObjectURL(objectUrl);\n }, [file]);\n\n return (\n <span\n {...props}\n ref={ref}\n aria-hidden={props[\"aria-label\"] ? undefined : true}\n className={cx(styles.preview, className)}\n data-slot=\"upload-preview\"\n role={props[\"aria-label\"] ? \"img\" : undefined}\n >\n {src ? <img alt={alt ?? file.name} src={src} /> : fallback}\n </span>\n );\n});\n\nexport interface UploadProgressProps extends Omit<ComponentPropsWithoutRef<\"div\">, \"children\"> {\n /** Progress from 0 to 100. Omit it for an indeterminate upload. */\n value?: number;\n /** Accessible label and optional visible status text. */\n label?: ReactNode;\n file?: File;\n}\n\nexport const UploadProgress = forwardRef<HTMLDivElement, UploadProgressProps>(\n function UploadProgress({ className, file, label = \"Uploading\", value, ...props }, ref) {\n const { fileState, styles } = useUploadContext();\n const state = file ? fileState?.(file) : undefined;\n const normalizedValue =\n value === undefined\n ? state?.progress === undefined\n ? undefined\n : Math.min(100, Math.max(0, state.progress))\n : Math.min(100, Math.max(0, value));\n\n return (\n <div\n {...props}\n ref={ref}\n aria-label={typeof label === \"string\" ? label : \"Upload progress\"}\n aria-valuemax={100}\n aria-valuemin={0}\n aria-valuenow={normalizedValue}\n className={cx(styles.progress, className)}\n data-indeterminate={normalizedValue === undefined || undefined}\n data-slot=\"upload-progress\"\n role=\"progressbar\"\n >\n <span className={styles.progressTrack} data-slot=\"upload-progress-track\">\n <span\n className={styles.progressIndicator}\n data-indeterminate={normalizedValue === undefined || undefined}\n data-slot=\"upload-progress-indicator\"\n style={{ width: normalizedValue === undefined ? undefined : `${normalizedValue}%` }}\n />\n </span>\n <span className={styles.progressLabel} data-slot=\"upload-progress-label\">\n {label}\n </span>\n </div>\n );\n },\n);\n\nexport type UploadListProps = ComponentPropsWithoutRef<\"ul\">;\n\nexport const UploadList = forwardRef<HTMLUListElement, UploadListProps>(function UploadList(\n { children, className, ...props },\n ref,\n) {\n const { files, styles } = useUploadContext();\n return (\n <ul {...props} ref={ref} className={cx(styles.list, className)} data-slot=\"upload-list\">\n {children ?? files.map((file) => <UploadItem file={file} key={fileKey(file)} />)}\n </ul>\n );\n});\n\nexport interface UploadItemProps extends Omit<ComponentPropsWithoutRef<\"li\">, \"children\"> {\n file: File;\n children?: ReactNode;\n}\n\nexport const UploadItem = forwardRef<HTMLLIElement, UploadItemProps>(function UploadItem(\n { children, className, file, ...props },\n ref,\n) {\n const { styles } = useUploadContext();\n return (\n <li {...props} ref={ref} className={cx(styles.item, className)} data-slot=\"upload-item\">\n {children ?? (\n <>\n <span className={styles.itemName} data-slot=\"upload-item-name\" title={file.name}>\n {file.name}\n </span>\n <span className={styles.itemMeta} data-slot=\"upload-item-meta\">\n {formatBytes(file.size)}\n </span>\n <UploadRemove file={file} />\n </>\n )}\n </li>\n );\n});\n\nexport interface UploadRemoveProps extends ComponentPropsWithoutRef<\"button\"> {\n file: File;\n}\n\nexport const UploadRemove = forwardRef<HTMLButtonElement, UploadRemoveProps>(function UploadRemove(\n { children = \"×\", className, file, onClick, ...props },\n ref,\n) {\n const { disabled, removeFile, styles } = useUploadContext();\n return (\n <button\n {...props}\n aria-label={props[\"aria-label\"] ?? `Remove ${file.name}`}\n className={cx(styles.remove, className)}\n data-slot=\"upload-remove\"\n disabled={disabled}\n onClick={(event) => {\n removeFile(file);\n onClick?.(event);\n }}\n ref={ref}\n type=\"button\"\n >\n {children}\n </button>\n );\n});\n\nexport interface UploadStatusProps extends ComponentPropsWithoutRef<\"span\"> {\n file: File;\n}\n\nexport const UploadStatus = forwardRef<HTMLSpanElement, UploadStatusProps>(function UploadStatus(\n { children, className, file, ...props },\n ref,\n) {\n const { fileState, styles } = useUploadContext();\n const state = fileState?.(file);\n const content = children ?? state?.error ?? state?.status ?? \"queued\";\n return (\n <span\n {...props}\n aria-live=\"polite\"\n className={cx(styles.status, className)}\n data-status={state?.status}\n data-slot=\"upload-status\"\n ref={ref}\n >\n {content}\n </span>\n );\n});\n\nexport interface UploadCancelProps extends ComponentPropsWithoutRef<\"button\"> {\n file: File;\n}\n\nexport const UploadCancel = forwardRef<HTMLButtonElement, UploadCancelProps>(function UploadCancel(\n { children = \"Cancel\", className, file, onClick, ...props },\n ref,\n) {\n const { cancelFile, disabled, fileState, styles } = useUploadContext();\n const state = fileState?.(file);\n return (\n <button\n {...props}\n aria-label={props[\"aria-label\"] ?? `Cancel ${file.name}`}\n className={cx(styles.cancel, className)}\n data-slot=\"upload-cancel\"\n disabled={disabled || state?.status === \"canceled\" || state?.status === \"success\"}\n onClick={(event) => {\n cancelFile(file);\n onClick?.(event);\n }}\n ref={ref}\n type=\"button\"\n >\n {children}\n </button>\n );\n});\n\nexport type UploadErrorProps = ComponentPropsWithoutRef<\"p\">;\n\nexport const UploadError = forwardRef<HTMLParagraphElement, UploadErrorProps>(function UploadError(\n { children, className, ...props },\n ref,\n) {\n const { rejections, styles } = useUploadContext();\n if (children === undefined && rejections.length === 0) return null;\n\n return (\n <p\n {...props}\n ref={ref}\n className={cx(styles.error, className)}\n data-slot=\"upload-error\"\n role=\"alert\"\n >\n {children ?? rejections.map((rejection) => rejection.message).join(\" \")}\n </p>\n );\n});\n\nexport const Upload = {\n Root: UploadRoot,\n Dropzone: UploadDropzone,\n Input: UploadInput,\n Trigger: UploadTrigger,\n Icon: UploadIcon,\n Text: UploadText,\n Hint: UploadHint,\n Preview: UploadPreview,\n Progress: UploadProgress,\n List: UploadList,\n Item: UploadItem,\n Remove: UploadRemove,\n Status: UploadStatus,\n Cancel: UploadCancel,\n Error: UploadError,\n};\n"],"mappings":";;;;;;AAqDA,MAAM,gBAAgB,cAAyC,IAAI;AAEnE,SAAS,mBAAmB;CAC1B,MAAM,UAAU,WAAW,aAAa;CACxC,IAAI,CAAC,SACH,MAAM,IAAI,MAAM,mDAAmD;CAGrE,OAAO;AACT;AAEA,SAAS,QAAQ,MAAY;CAC3B,OAAO,GAAG,KAAK,KAAK,GAAG,KAAK,KAAK,GAAG,KAAK;AAC3C;AAEA,SAAS,YAAY,OAAe;CAClC,IAAI,QAAQ,MAAM,OAAO,GAAG,MAAM;CAClC,IAAI,QAAQ,OAAO,MAAM,OAAO,GAAG,KAAK,MAAM,QAAQ,IAAI,EAAE;CAC5D,OAAO,IAAI,S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O,WAAW,cAAc,OAAO,WAAW;EACxE,UAAU,UAAU;GAClB,WAAW,IAAI;GACf,UAAU,KAAK;EACjB;EACK;EACL,MAAK;EAEJ;CACK,CAAA;AAEZ,CAAC;AAID,MAAa,cAAc,WAAmD,SAAS,YACrF,EAAE,UAAU,WAAW,GAAG,SAC1B,KACA;CACA,MAAM,EAAE,YAAY,WAAW,iBAAiB;CAChD,IAAI,aAAa,KAAA,KAAa,WAAW,WAAW,GAAG,OAAO;CAE9D,OACE,oBAAC,KAAD;EACE,GAAI;EACC;EACL,WAAW,GAAG,OAAO,OAAO,SAAS;EACrC,aAAU;EACV,MAAK;YAEJ,YAAY,WAAW,KAAK,cAAc,UAAU,OAAO,CAAC,CAAC,KAAK,GAAG;CACrE,CAAA;AAEP,CAAC;AAED,MAAa,SAAS;CACpB,MAAM;CACN,UAAU;CACV,OAAO;CACP,SAAS;CACT,MAAM;CACN,MAAM;CACN,MAAM;CACN,SAAS;CACT,UAAU;CACV,MAAM;CACN,MAAM;CACN,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,OAAO;AACT"}
package/dist/index.cjs CHANGED
@@ -7,6 +7,7 @@ const require_breadcrumbs = require("./components/breadcrumbs/breadcrumbs.cjs");
7
7
  const require_index = require("./components/layout/index.cjs");
8
8
  const require_button = require("./components/button/button.cjs");
9
9
  const require_button_group = require("./components/button-group/button-group.cjs");
10
+ const require_calendar = require("./components/calendar/calendar.cjs");
10
11
  const require_card = require("./components/card/card.cjs");
11
12
  const require_form = require("./components/form/form.cjs");
12
13
  const require_field = require("./components/field/field.cjs");
@@ -14,12 +15,14 @@ const require_checkbox_group = require("./components/checkbox-group/checkbox-gro
14
15
  const require_collapsible = require("./components/collapsible/collapsible.cjs");
15
16
  const require_combobox = require("./components/combobox/combobox.cjs");
16
17
  const require_checkbox = require("./components/controls/checkbox.cjs");
18
+ const require_input_group = require("./components/input-group/input-group.cjs");
17
19
  const require_input = require("./components/controls/input.cjs");
18
20
  const require_radio = require("./components/controls/radio.cjs");
19
21
  const require_switch = require("./components/controls/switch.cjs");
20
22
  const require_textarea = require("./components/controls/textarea.cjs");
21
23
  const require_dialog = require("./components/dialog/dialog.cjs");
22
24
  const require_date_picker = require("./components/date-picker/date-picker.cjs");
25
+ const require_date_range_picker = require("./components/date-range-picker/date-range-picker.cjs");
23
26
  const require_drawer = require("./components/drawer/drawer.cjs");
24
27
  const require_badge = require("./components/feedback/badge.cjs");
25
28
  const require_fieldset = require("./components/fieldset/fieldset.cjs");
@@ -30,9 +33,9 @@ const require_color_picker = require("./components/color-picker/color-picker.cjs
30
33
  const require_command = require("./components/command/command.cjs");
31
34
  const require_copyable = require("./components/copyable/copyable.cjs");
32
35
  const require_data_view = require("./components/data-view/data-view.cjs");
36
+ const require_data_toolbar = require("./components/data-toolbar/data-toolbar.cjs");
33
37
  const require_empty_state = require("./components/empty-state/empty-state.cjs");
34
38
  const require_icon_button = require("./components/icon-button/icon-button.cjs");
35
- const require_input_group = require("./components/input-group/input-group.cjs");
36
39
  const require_list = require("./components/list/list.cjs");
37
40
  const require_menubar = require("./components/menubar/menubar.cjs");
38
41
  const require_meter = require("./components/meter/meter.cjs");
@@ -41,6 +44,7 @@ const require_navigation = require("./components/navigation/navigation.cjs");
41
44
  const require_navigation_menu = require("./components/navigation-menu/navigation-menu.cjs");
42
45
  const require_option_selector = require("./components/option-selector/option-selector.cjs");
43
46
  const require_pagination = require("./components/pagination/pagination.cjs");
47
+ const require_pin_input = require("./components/pin-input/pin-input.cjs");
44
48
  const require_popover = require("./components/popover/popover.cjs");
45
49
  const require_progress = require("./components/progress/progress.cjs");
46
50
  const require_radio_group = require("./components/radio-group/radio-group.cjs");
@@ -111,6 +115,16 @@ exports.BreadcrumbsSeparator = require_breadcrumbs.BreadcrumbsSeparator;
111
115
  exports.Button = require_button.Button;
112
116
  exports.ButtonGroup = require_button_group.ButtonGroup;
113
117
  exports.ButtonGroupRoot = require_button_group.ButtonGroupRoot;
118
+ exports.Calendar = require_calendar.Calendar;
119
+ exports.CalendarCaption = require_calendar.CalendarCaption;
120
+ exports.CalendarDay = require_calendar.CalendarDay;
121
+ exports.CalendarGrid = require_calendar.CalendarGrid;
122
+ exports.CalendarHeader = require_calendar.CalendarHeader;
123
+ exports.CalendarMonthSelect = require_calendar.CalendarMonthSelect;
124
+ exports.CalendarNext = require_calendar.CalendarNext;
125
+ exports.CalendarPrevious = require_calendar.CalendarPrevious;
126
+ exports.CalendarRoot = require_calendar.CalendarRoot;
127
+ exports.CalendarYearSelect = require_calendar.CalendarYearSelect;
114
128
  exports.Card = require_card.Card;
115
129
  exports.CardContent = require_card.CardContent;
116
130
  exports.CardFooter = require_card.CardFooter;
@@ -159,6 +173,7 @@ exports.ComboboxItem = require_combobox.ComboboxItem;
159
173
  exports.ComboboxItemIndicator = require_combobox.ComboboxItemIndicator;
160
174
  exports.ComboboxLabel = require_combobox.ComboboxLabel;
161
175
  exports.ComboboxList = require_combobox.ComboboxList;
176
+ exports.ComboboxLoading = require_combobox.ComboboxLoading;
162
177
  exports.ComboboxPopup = require_combobox.ComboboxPopup;
163
178
  exports.ComboboxPortal = require_combobox.ComboboxPortal;
164
179
  exports.ComboboxPositioner = require_combobox.ComboboxPositioner;
@@ -200,11 +215,24 @@ exports.Copyable = require_copyable.Copyable;
200
215
  exports.CopyableContent = require_copyable.CopyableContent;
201
216
  exports.CopyableIndicator = require_copyable.CopyableIndicator;
202
217
  exports.CopyableRoot = require_copyable.CopyableRoot;
218
+ exports.DataToolbar = require_data_toolbar.DataToolbar;
219
+ exports.DataToolbarActions = require_data_toolbar.DataToolbarActions;
220
+ exports.DataToolbarClear = require_data_toolbar.DataToolbarClear;
221
+ exports.DataToolbarClearSelection = require_data_toolbar.DataToolbarClearSelection;
222
+ exports.DataToolbarFilters = require_data_toolbar.DataToolbarFilters;
223
+ exports.DataToolbarRoot = require_data_toolbar.DataToolbarRoot;
224
+ exports.DataToolbarSearch = require_data_toolbar.DataToolbarSearch;
225
+ exports.DataToolbarSelection = require_data_toolbar.DataToolbarSelection;
226
+ exports.DataToolbarSeparator = require_data_toolbar.DataToolbarSeparator;
227
+ exports.DataToolbarSort = require_data_toolbar.DataToolbarSort;
203
228
  exports.DataView = require_data_view.DataView;
204
229
  exports.DataViewContent = require_data_view.DataViewContent;
205
230
  exports.DataViewEmpty = require_data_view.DataViewEmpty;
206
231
  exports.DataViewError = require_data_view.DataViewError;
232
+ exports.DataViewFilters = require_data_view.DataViewFilters;
233
+ exports.DataViewFooter = require_data_view.DataViewFooter;
207
234
  exports.DataViewLoading = require_data_view.DataViewLoading;
235
+ exports.DataViewPagination = require_data_view.DataViewPagination;
208
236
  exports.DataViewRoot = require_data_view.DataViewRoot;
209
237
  exports.DataViewToolbar = require_data_view.DataViewToolbar;
210
238
  exports.DatePicker = require_date_picker.DatePicker;
@@ -227,6 +255,27 @@ exports.DatePickerTimeField = require_date_picker.DatePickerTimeField;
227
255
  exports.DatePickerTrigger = require_date_picker.DatePickerTrigger;
228
256
  exports.DatePickerValue = require_date_picker.DatePickerValue;
229
257
  exports.DatePickerYearSelect = require_date_picker.DatePickerYearSelect;
258
+ exports.DateRangePicker = require_date_range_picker.DateRangePicker;
259
+ exports.DateRangePickerCalendar = require_date_range_picker.DateRangePickerCalendar;
260
+ exports.DateRangePickerClear = require_date_range_picker.DateRangePickerClear;
261
+ exports.DateRangePickerClose = require_date_range_picker.DateRangePickerClose;
262
+ exports.DateRangePickerControl = require_date_range_picker.DateRangePickerControl;
263
+ exports.DateRangePickerDay = require_date_range_picker.DateRangePickerDay;
264
+ exports.DateRangePickerEndInput = require_date_range_picker.DateRangePickerEndInput;
265
+ exports.DateRangePickerHeader = require_date_range_picker.DateRangePickerHeader;
266
+ exports.DateRangePickerLabel = require_date_range_picker.DateRangePickerLabel;
267
+ exports.DateRangePickerMonthSelect = require_date_range_picker.DateRangePickerMonthSelect;
268
+ exports.DateRangePickerNext = require_date_range_picker.DateRangePickerNext;
269
+ exports.DateRangePickerPopup = require_date_range_picker.DateRangePickerPopup;
270
+ exports.DateRangePickerPortal = require_date_range_picker.DateRangePickerPortal;
271
+ exports.DateRangePickerPositioner = require_date_range_picker.DateRangePickerPositioner;
272
+ exports.DateRangePickerPreview = require_date_range_picker.DateRangePickerPreview;
273
+ exports.DateRangePickerPrevious = require_date_range_picker.DateRangePickerPrevious;
274
+ exports.DateRangePickerRoot = require_date_range_picker.DateRangePickerRoot;
275
+ exports.DateRangePickerStartInput = require_date_range_picker.DateRangePickerStartInput;
276
+ exports.DateRangePickerTrigger = require_date_range_picker.DateRangePickerTrigger;
277
+ exports.DateRangePickerValue = require_date_range_picker.DateRangePickerValue;
278
+ exports.DateRangePickerYearSelect = require_date_range_picker.DateRangePickerYearSelect;
230
279
  exports.Dialog = require_dialog.Dialog;
231
280
  exports.DialogBackdrop = require_dialog.DialogBackdrop;
232
281
  exports.DialogBody = require_dialog.DialogBody;
@@ -260,6 +309,7 @@ exports.EmptyStateIcon = require_empty_state.EmptyStateIcon;
260
309
  exports.EmptyStateRoot = require_empty_state.EmptyStateRoot;
261
310
  exports.EmptyStateTitle = require_empty_state.EmptyStateTitle;
262
311
  exports.Field = require_field.Field;
312
+ exports.FieldControl = require_field.FieldControl;
263
313
  exports.FieldDescription = require_field.FieldDescription;
264
314
  exports.FieldError = require_field.FieldError;
265
315
  exports.FieldLabel = require_field.FieldLabel;
@@ -358,13 +408,24 @@ exports.NumberFieldScrubAreaCursor = require_number_field.NumberFieldScrubAreaCu
358
408
  exports.OptionSelector = require_option_selector.OptionSelector;
359
409
  exports.Pagination = require_pagination.Pagination;
360
410
  exports.PaginationEllipsis = require_pagination.PaginationEllipsis;
411
+ exports.PaginationFirst = require_pagination.PaginationFirst;
361
412
  exports.PaginationItem = require_pagination.PaginationItem;
413
+ exports.PaginationLast = require_pagination.PaginationLast;
362
414
  exports.PaginationLink = require_pagination.PaginationLink;
363
415
  exports.PaginationList = require_pagination.PaginationList;
364
416
  exports.PaginationNext = require_pagination.PaginationNext;
365
417
  exports.PaginationPrevious = require_pagination.PaginationPrevious;
366
418
  exports.PaginationRoot = require_pagination.PaginationRoot;
367
419
  exports.Paragraph = require_paragraph.Paragraph;
420
+ exports.PinInput = require_pin_input.PinInput;
421
+ exports.PinInputControl = require_pin_input.PinInputControl;
422
+ exports.PinInputDescription = require_pin_input.PinInputDescription;
423
+ exports.PinInputError = require_pin_input.PinInputError;
424
+ exports.PinInputHiddenInput = require_pin_input.PinInputHiddenInput;
425
+ exports.PinInputInput = require_pin_input.PinInputInput;
426
+ exports.PinInputInputs = require_pin_input.PinInputInputs;
427
+ exports.PinInputLabel = require_pin_input.PinInputLabel;
428
+ exports.PinInputRoot = require_pin_input.PinInputRoot;
368
429
  exports.Popover = require_popover.Popover;
369
430
  exports.PopoverArrow = require_popover.PopoverArrow;
370
431
  exports.PopoverClose = require_popover.PopoverClose;
@@ -400,6 +461,8 @@ exports.ScrollAreaScrollbar = require_scroll_area.ScrollAreaScrollbar;
400
461
  exports.ScrollAreaThumb = require_scroll_area.ScrollAreaThumb;
401
462
  exports.ScrollAreaViewport = require_scroll_area.ScrollAreaViewport;
402
463
  exports.Select = require_select.Select;
464
+ exports.SelectClear = require_select.SelectClear;
465
+ exports.SelectEmpty = require_select.SelectEmpty;
403
466
  exports.SelectGroup = require_select.SelectGroup;
404
467
  exports.SelectGroupLabel = require_select.SelectGroupLabel;
405
468
  exports.SelectIcon = require_select.SelectIcon;
@@ -408,11 +471,13 @@ exports.SelectItemIndicator = require_select.SelectItemIndicator;
408
471
  exports.SelectItemText = require_select.SelectItemText;
409
472
  exports.SelectLabel = require_select.SelectLabel;
410
473
  exports.SelectList = require_select.SelectList;
474
+ exports.SelectLoading = require_select.SelectLoading;
411
475
  exports.SelectPopup = require_select.SelectPopup;
412
476
  exports.SelectPortal = require_select.SelectPortal;
413
477
  exports.SelectPositioner = require_select.SelectPositioner;
414
478
  exports.SelectRoot = require_select.SelectRoot;
415
479
  exports.SelectSeparator = require_select.SelectSeparator;
480
+ exports.SelectStatus = require_select.SelectStatus;
416
481
  exports.SelectTrigger = require_select.SelectTrigger;
417
482
  exports.SelectValue = require_select.SelectValue;
418
483
  exports.Separator = require_index.Separator;
@@ -441,10 +506,13 @@ exports.TableBody = require_table.TableBody;
441
506
  exports.TableCaption = require_table.TableCaption;
442
507
  exports.TableCell = require_table.TableCell;
443
508
  exports.TableContainer = require_table.TableContainer;
509
+ exports.TableDescription = require_table.TableDescription;
444
510
  exports.TableEmpty = require_table.TableEmpty;
511
+ exports.TableError = require_table.TableError;
445
512
  exports.TableFooter = require_table.TableFooter;
446
513
  exports.TableHead = require_table.TableHead;
447
514
  exports.TableHeader = require_table.TableHeader;
515
+ exports.TableLoading = require_table.TableLoading;
448
516
  exports.TableRoot = require_table.TableRoot;
449
517
  exports.TableRow = require_table.TableRow;
450
518
  exports.TableSelectionCell = require_table.TableSelectionCell;
@@ -488,12 +556,16 @@ exports.TooltipPositioner = require_tooltip.TooltipPositioner;
488
556
  exports.TooltipRoot = require_tooltip.TooltipRoot;
489
557
  exports.TooltipTrigger = require_tooltip.TooltipTrigger;
490
558
  exports.TreeView = require_tree_view.TreeView;
559
+ exports.TreeViewEmpty = require_tree_view.TreeViewEmpty;
560
+ exports.TreeViewError = require_tree_view.TreeViewError;
491
561
  exports.TreeViewGroup = require_tree_view.TreeViewGroup;
492
562
  exports.TreeViewItem = require_tree_view.TreeViewItem;
493
563
  exports.TreeViewLabel = require_tree_view.TreeViewLabel;
564
+ exports.TreeViewLoading = require_tree_view.TreeViewLoading;
494
565
  exports.TreeViewRoot = require_tree_view.TreeViewRoot;
495
566
  exports.TreeViewToggle = require_tree_view.TreeViewToggle;
496
567
  exports.Upload = require_upload.Upload;
568
+ exports.UploadCancel = require_upload.UploadCancel;
497
569
  exports.UploadDropzone = require_upload.UploadDropzone;
498
570
  exports.UploadError = require_upload.UploadError;
499
571
  exports.UploadHint = require_upload.UploadHint;
@@ -505,6 +577,7 @@ exports.UploadPreview = require_upload.UploadPreview;
505
577
  exports.UploadProgress = require_upload.UploadProgress;
506
578
  exports.UploadRemove = require_upload.UploadRemove;
507
579
  exports.UploadRoot = require_upload.UploadRoot;
580
+ exports.UploadStatus = require_upload.UploadStatus;
508
581
  exports.UploadText = require_upload.UploadText;
509
582
  exports.UploadTrigger = require_upload.UploadTrigger;
510
583
  exports.VisuallyHidden = require_visually_hidden.VisuallyHidden;
package/dist/index.d.cts CHANGED
@@ -14,13 +14,15 @@ import { Button, ButtonProps } from "./components/button/button.cjs";
14
14
  import "./components/button/index.cjs";
15
15
  import { ButtonGroup, ButtonGroupProps, ButtonGroupRoot } from "./components/button-group/button-group.cjs";
16
16
  import "./components/button-group/index.cjs";
17
+ import { Calendar, CalendarCaption, CalendarCaptionProps, CalendarDay, CalendarDayProps, CalendarGrid, CalendarGridProps, CalendarHeader, CalendarHeaderProps, CalendarMonthSelect, CalendarMonthSelectProps, CalendarNavigationProps, CalendarNext, CalendarPrevious, CalendarRoot, CalendarRootProps, CalendarYearRange, CalendarYearSelect, CalendarYearSelectProps } from "./components/calendar/calendar.cjs";
18
+ import "./components/calendar/index.cjs";
17
19
  import { Card, CardContent, CardFooter, CardHeader, CardProps, CardTitle } from "./components/card/card.cjs";
18
20
  import "./components/card/index.cjs";
19
21
  import { CheckboxGroup, CheckboxGroupIndicator, CheckboxGroupIndicatorProps, CheckboxGroupItem, CheckboxGroupItemProps, CheckboxGroupLabel, CheckboxGroupLabelProps, CheckboxGroupOption, CheckboxGroupOptionProps, CheckboxGroupOptions, CheckboxGroupOptionsProps, CheckboxGroupRoot, CheckboxGroupRootProps } from "./components/checkbox-group/checkbox-group.cjs";
20
22
  import "./components/checkbox-group/index.cjs";
21
23
  import { Collapsible, CollapsibleIndicator, CollapsibleIndicatorProps, CollapsiblePanel, CollapsiblePanelProps, CollapsibleRoot, CollapsibleRootProps, CollapsibleTrigger, CollapsibleTriggerProps } from "./components/collapsible/collapsible.cjs";
22
24
  import "./components/collapsible/index.cjs";
23
- import { Combobox, ComboboxArrow, ComboboxArrowProps, ComboboxClear, ComboboxClearProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, ComboboxGroupLabelProps, ComboboxGroupProps, ComboboxIcon, ComboboxIconProps, ComboboxInput, ComboboxInputGroup, ComboboxInputGroupProps, ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxPopup, ComboboxPopupProps, ComboboxPortal, ComboboxPositioner, ComboboxPositionerProps, ComboboxRoot, ComboboxRootProps, ComboboxSize, ComboboxStatus, ComboboxStatusProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps } from "./components/combobox/combobox.cjs";
25
+ import { Combobox, ComboboxArrow, ComboboxArrowProps, ComboboxClear, ComboboxClearProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, ComboboxGroupLabelProps, ComboboxGroupProps, ComboboxIcon, ComboboxIconProps, ComboboxInput, ComboboxInputGroup, ComboboxInputGroupProps, ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxLoading, ComboboxLoadingProps, ComboboxPopup, ComboboxPopupProps, ComboboxPortal, ComboboxPositioner, ComboboxPositionerProps, ComboboxRoot, ComboboxRootProps, ComboboxSize, ComboboxStatus, ComboboxStatusProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps } from "./components/combobox/combobox.cjs";
24
26
  import "./components/combobox/index.cjs";
25
27
  import { Checkbox, CheckboxProps } from "./components/controls/checkbox.cjs";
26
28
  import { Input, InputProps } from "./components/controls/input.cjs";
@@ -31,11 +33,13 @@ import "./components/controls/index.cjs";
31
33
  import { DatePickerGranularity } from "./components/date-picker/date-utils.cjs";
32
34
  import { DatePicker, DatePickerCalendar, DatePickerCalendarProps, DatePickerCaption, DatePickerCaptionProps, DatePickerClear, DatePickerClearProps, DatePickerClose, DatePickerCloseProps, DatePickerControl, DatePickerControlProps, DatePickerDay, DatePickerDayProps, DatePickerHeader, DatePickerHeaderProps, DatePickerLabel, DatePickerLabelProps, DatePickerMonthSelect, DatePickerMonthSelectProps, DatePickerNavigationProps, DatePickerNext, DatePickerPopup, DatePickerPopupProps, DatePickerPortal, DatePickerPortalProps, DatePickerPositioner, DatePickerPositionerProps, DatePickerPrevious, DatePickerRoot, DatePickerRootProps, DatePickerSize, DatePickerTimeField, DatePickerTimeFieldProps, DatePickerTrigger, DatePickerTriggerProps, DatePickerValue, DatePickerValueProps, DatePickerYearRange, DatePickerYearSelect, DatePickerYearSelectProps } from "./components/date-picker/date-picker.cjs";
33
35
  import "./components/date-picker/index.cjs";
36
+ import { DateRange, DateRangePicker, DateRangePickerCalendar, DateRangePickerCalendarProps, DateRangePickerClear, DateRangePickerClearProps, DateRangePickerClose, DateRangePickerCloseProps, DateRangePickerControl, DateRangePickerControlProps, DateRangePickerDay, DateRangePickerDayProps, DateRangePickerEndInput, DateRangePickerHeader, DateRangePickerHeaderProps, DateRangePickerInputProps, DateRangePickerLabel, DateRangePickerLabelProps, DateRangePickerMonthSelect, DateRangePickerMonthSelectProps, DateRangePickerNavigationProps, DateRangePickerNext, DateRangePickerPopup, DateRangePickerPopupProps, DateRangePickerPortal, DateRangePickerPortalProps, DateRangePickerPositioner, DateRangePickerPositionerProps, DateRangePickerPreview, DateRangePickerPreviewProps, DateRangePickerPrevious, DateRangePickerRoot, DateRangePickerRootProps, DateRangePickerStartInput, DateRangePickerTrigger, DateRangePickerTriggerProps, DateRangePickerValue, DateRangePickerValueProps, DateRangePickerYearRange, DateRangePickerYearSelect, DateRangePickerYearSelectProps } from "./components/date-range-picker/date-range-picker.cjs";
37
+ import "./components/date-range-picker/index.cjs";
34
38
  import { Drawer, DrawerBackdrop, DrawerBackdropProps, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerPopup, DrawerPopupProps, DrawerPortal, DrawerPortalProps, DrawerRoot, DrawerRootProps, DrawerSide, DrawerSize, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps, DrawerViewport, DrawerViewportProps } from "./components/drawer/drawer.cjs";
35
39
  import "./components/drawer/index.cjs";
36
40
  import { Badge, BadgeProps } from "./components/feedback/badge.cjs";
37
41
  import "./components/feedback/index.cjs";
38
- import { Field, FieldDescription, FieldError, FieldErrorProps, FieldLabel, FieldLabelProps, FieldProps, FieldValidationMode, useFieldState } from "./components/field/field.cjs";
42
+ import { Field, FieldControl, FieldControlProps, FieldDescription, FieldError, FieldErrorProps, FieldLabel, FieldLabelProps, FieldProps, FieldValidationMode, useFieldState } from "./components/field/field.cjs";
39
43
  import "./components/field/index.cjs";
40
44
  import { Fieldset, FieldsetDescription, FieldsetLegend, FieldsetLegendProps, FieldsetRoot, FieldsetRootProps } from "./components/fieldset/fieldset.cjs";
41
45
  import "./components/fieldset/index.cjs";
@@ -53,8 +57,10 @@ import { Command, CommandEmpty, CommandEmptyProps, CommandFilter, CommandGroup,
53
57
  import "./components/command/index.cjs";
54
58
  import { Copyable, CopyableContent, CopyableContentProps, CopyableIndicator, CopyableIndicatorProps, CopyableRoot, CopyableRootProps } from "./components/copyable/copyable.cjs";
55
59
  import "./components/copyable/index.cjs";
56
- import { DataView, DataViewColumns, DataViewContent, DataViewContentProps, DataViewEmpty, DataViewError, DataViewLayout, DataViewLoading, DataViewRoot, DataViewRootProps, DataViewStateProps, DataViewToolbar, DataViewToolbarProps } from "./components/data-view/data-view.cjs";
60
+ import { DataView, DataViewColumns, DataViewContent, DataViewContentProps, DataViewEmpty, DataViewError, DataViewFilters, DataViewFiltersProps, DataViewFooter, DataViewFooterProps, DataViewLayout, DataViewLoading, DataViewPagination, DataViewPaginationProps, DataViewRoot, DataViewRootProps, DataViewStateProps, DataViewStatus, DataViewToolbar, DataViewToolbarProps } from "./components/data-view/data-view.cjs";
57
61
  import "./components/data-view/index.cjs";
62
+ import { DataToolbar, DataToolbarActions, DataToolbarActionsProps, DataToolbarClear, DataToolbarClearProps, DataToolbarClearSelection, DataToolbarClearSelectionProps, DataToolbarFilters, DataToolbarFiltersProps, DataToolbarRoot, DataToolbarRootProps, DataToolbarSearch, DataToolbarSearchProps, DataToolbarSelection, DataToolbarSelectionProps, DataToolbarSeparator, DataToolbarSeparatorProps, DataToolbarSort, DataToolbarSortProps } from "./components/data-toolbar/data-toolbar.cjs";
63
+ import "./components/data-toolbar/index.cjs";
58
64
  import { EmptyState, EmptyStateAction, EmptyStateDescription, EmptyStateIcon, EmptyStateRoot, EmptyStateRootProps, EmptyStateTitle } from "./components/empty-state/empty-state.cjs";
59
65
  import "./components/empty-state/index.cjs";
60
66
  import { IconButton, IconButtonProps } from "./components/icon-button/icon-button.cjs";
@@ -75,8 +81,10 @@ import { NavigationMenu, NavigationMenuArrow, NavigationMenuArrowProps, Navigati
75
81
  import "./components/navigation-menu/index.cjs";
76
82
  import { OptionSelector, OptionSelectorOption, OptionSelectorProps, OptionSelectorValue } from "./components/option-selector/option-selector.cjs";
77
83
  import "./components/option-selector/index.cjs";
78
- import { Pagination, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationList, PaginationListProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationRoot, PaginationRootProps } from "./components/pagination/pagination.cjs";
84
+ import { Pagination, PaginationDensity, PaginationEllipsis, PaginationEllipsisProps, PaginationFirst, PaginationFirstProps, PaginationItem, PaginationItemProps, PaginationLast, PaginationLastProps, PaginationLink, PaginationLinkProps, PaginationList, PaginationListProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationRoot, PaginationRootProps } from "./components/pagination/pagination.cjs";
79
85
  import "./components/pagination/index.cjs";
86
+ import { PinInput, PinInputControl, PinInputControlProps, PinInputDescription, PinInputDescriptionProps, PinInputError, PinInputErrorProps, PinInputHiddenInput, PinInputHiddenInputProps, PinInputInput, PinInputInputProps, PinInputInputs, PinInputInputsProps, PinInputLabel, PinInputLabelProps, PinInputRoot, PinInputRootProps } from "./components/pin-input/pin-input.cjs";
87
+ import "./components/pin-input/index.cjs";
80
88
  import { Popover, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverDescription, PopoverDescriptionProps, PopoverPopup, PopoverPopupProps, PopoverPortal, PopoverPositioner, PopoverPositionerProps, PopoverRoot, PopoverRootProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps } from "./components/popover/popover.cjs";
81
89
  import "./components/popover/index.cjs";
82
90
  import { Progress, ProgressProps } from "./components/progress/progress.cjs";
@@ -85,7 +93,7 @@ import { RadioGroup, RadioGroupIndicator, RadioGroupIndicatorProps, RadioGroupIt
85
93
  import "./components/radio-group/index.cjs";
86
94
  import { RangeSlider, RangeSliderControl, RangeSliderControlProps, RangeSliderIndicator, RangeSliderIndicatorProps, RangeSliderLabel, RangeSliderLabelProps, RangeSliderRoot, RangeSliderRootProps, RangeSliderSize, RangeSliderThumb, RangeSliderThumbProps, RangeSliderTrack, RangeSliderTrackProps, RangeSliderValue, RangeSliderValueProps } from "./components/range-slider/range-slider.cjs";
87
95
  import "./components/range-slider/index.cjs";
88
- import { Select, SelectGroup, SelectGroupLabel, SelectGroupLabelProps, SelectGroupProps, SelectIcon, SelectIconProps, SelectItem, SelectItemIndicator, SelectItemIndicatorProps, SelectItemProps, SelectItemText, SelectItemTextProps, SelectLabel, SelectLabelProps, SelectList, SelectListProps, SelectPopup, SelectPopupProps, SelectPortal, SelectPositioner, SelectPositionerProps, SelectRoot, SelectRootProps, SelectSeparator, SelectSeparatorProps, SelectSize, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps } from "./components/select/select.cjs";
96
+ import { Select, SelectClear, SelectClearProps, SelectEmpty, SelectEmptyProps, SelectGroup, SelectGroupLabel, SelectGroupLabelProps, SelectGroupProps, SelectIcon, SelectIconProps, SelectItem, SelectItemIndicator, SelectItemIndicatorProps, SelectItemProps, SelectItemText, SelectItemTextProps, SelectLabel, SelectLabelProps, SelectList, SelectListProps, SelectLoading, SelectLoadingProps, SelectPopup, SelectPopupProps, SelectPortal, SelectPositioner, SelectPositionerProps, SelectRoot, SelectRootProps, SelectSeparator, SelectSeparatorProps, SelectSize, SelectStatus, SelectStatusProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps } from "./components/select/select.cjs";
89
97
  import "./components/select/index.cjs";
90
98
  import { Slider, SliderControl, SliderControlProps, SliderIndicator, SliderIndicatorProps, SliderLabel, SliderLabelProps, SliderRoot, SliderRootProps, SliderSize, SliderThumb, SliderThumbProps, SliderTrack, SliderTrackProps, SliderValue, SliderValueProps } from "./components/slider/slider.cjs";
91
99
  import "./components/slider/index.cjs";
@@ -97,7 +105,7 @@ import { Skeleton, SkeletonProps, SkeletonVariant } from "./components/skeleton/
97
105
  import "./components/skeleton/index.cjs";
98
106
  import { Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsRoot, TabsRootProps, TabsTab, TabsTabProps, TabsVariant } from "./components/tabs/tabs.cjs";
99
107
  import "./components/tabs/index.cjs";
100
- import { Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableContainer, TableContainerProps, TableDensity, TableEmpty, TableEmptyProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, TableSelectionCell, TableSelectionCellProps, TableSelectionHeader, TableSelectionHeaderProps, TableSortDirection } from "./components/table/table.cjs";
108
+ import { Table, TableAlignment, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableContainer, TableContainerProps, TableDensity, TableDescription, TableDescriptionProps, TableEmpty, TableEmptyProps, TableError, TableErrorProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableHideBelow, TableLoading, TableLoadingProps, TableRoot, TableRootProps, TableRow, TableRowProps, TableSelectionCell, TableSelectionCellProps, TableSelectionHeader, TableSelectionHeaderProps, TableSelectionMode, TableSortDirection, TableSortState, TableStatus } from "./components/table/table.cjs";
101
109
  import "./components/table/index.cjs";
102
110
  import { TagsInput, TagsInputProps } from "./components/tags-input/tags-input.cjs";
103
111
  import "./components/tags-input/index.cjs";
@@ -111,9 +119,9 @@ import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupRoot, To
111
119
  import "./components/toggle-group/index.cjs";
112
120
  import { Toolbar, ToolbarButton, ToolbarButtonProps, ToolbarGroup, ToolbarGroupProps, ToolbarInput, ToolbarInputProps, ToolbarLink, ToolbarLinkProps, ToolbarOrientation, ToolbarRoot, ToolbarRootProps, ToolbarSeparator, ToolbarSeparatorProps } from "./components/toolbar/toolbar.cjs";
113
121
  import "./components/toolbar/index.cjs";
114
- import { TreeView, TreeViewGroup, TreeViewGroupProps, TreeViewItem, TreeViewItemProps, TreeViewLabel, TreeViewLabelProps, TreeViewRoot, TreeViewRootProps, TreeViewSelection, TreeViewSelectionMode, TreeViewToggle, TreeViewToggleProps } from "./components/tree-view/tree-view.cjs";
122
+ import { TreeView, TreeViewEmpty, TreeViewError, TreeViewGroup, TreeViewGroupProps, TreeViewItem, TreeViewItemProps, TreeViewLabel, TreeViewLabelProps, TreeViewLoading, TreeViewRoot, TreeViewRootProps, TreeViewSelection, TreeViewSelectionMode, TreeViewStateProps, TreeViewToggle, TreeViewToggleProps } from "./components/tree-view/tree-view.cjs";
115
123
  import "./components/tree-view/index.cjs";
116
- import { Upload, UploadDropzone, UploadDropzoneProps, UploadError, UploadErrorProps, UploadHint, UploadHintProps, UploadIcon, UploadIconProps, UploadInput, UploadInputProps, UploadItem, UploadItemProps, UploadList, UploadListProps, UploadPreview, UploadPreviewProps, UploadProgress, UploadProgressProps, UploadRejection, UploadRejectionReason, UploadRemove, UploadRemoveProps, UploadRoot, UploadRootProps, UploadText, UploadTextProps, UploadTrigger, UploadTriggerProps } from "./components/upload/upload.cjs";
124
+ import { Upload, UploadCancel, UploadCancelProps, UploadDropzone, UploadDropzoneProps, UploadError, UploadErrorProps, UploadFileState, UploadFileStatus, UploadHint, UploadHintProps, UploadIcon, UploadIconProps, UploadInput, UploadInputProps, UploadItem, UploadItemProps, UploadList, UploadListProps, UploadPreview, UploadPreviewProps, UploadProgress, UploadProgressProps, UploadRejection, UploadRejectionReason, UploadRemove, UploadRemoveProps, UploadRoot, UploadRootProps, UploadStatus, UploadStatusProps, UploadText, UploadTextProps, UploadTrigger, UploadTriggerProps } from "./components/upload/upload.cjs";
117
125
  import "./components/upload/index.cjs";
118
126
  import { Heading, HeadingElement, HeadingProps, HeadingSize } from "./components/typography/heading.cjs";
119
127
  import { Link, LinkProps } from "./components/typography/link.cjs";
@@ -124,4 +132,4 @@ import { VisuallyHidden, VisuallyHiddenProps } from "./components/visually-hidde
124
132
  import "./components/visually-hidden/index.cjs";
125
133
  import { JaciThemeColorTokens, JaciThemeTokenGroup, JaciThemeTokenValue, JaciThemeTokens, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, useTheme } from "./theme/theme-provider.cjs";
126
134
  import "./theme/index.cjs";
127
- export { Accordion, AccordionHeader, type AccordionHeaderProps, AccordionIndicator, type AccordionIndicatorProps, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, AccordionRoot, type AccordionRootProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogBackdrop, type AlertDialogBackdropProps, AlertDialogBody, type AlertDialogBodyProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogClose, type AlertDialogCloseProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogPopup, type AlertDialogPopupProps, AlertDialogPortal, type AlertDialogPortalProps, AlertDialogRoot, type AlertDialogRootProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AlertDialogViewport, type AlertDialogViewportProps, AlertIcon, type AlertIconProps, AlertRoot, type AlertRootProps, AlertTitle, type AlertTitleProps, type AlertTone, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, AvatarRoot, type AvatarRootProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, BottomNavigation, BottomNavigationItem, type BottomNavigationItemProps, type BottomNavigationProps, BottomNavigationRoot, Breadcrumbs, BreadcrumbsCurrent, type BreadcrumbsCurrentProps, BreadcrumbsItem, type BreadcrumbsItemProps, BreadcrumbsLink, type BreadcrumbsLinkProps, BreadcrumbsList, type BreadcrumbsListProps, BreadcrumbsRoot, type BreadcrumbsRootProps, BreadcrumbsSeparator, type BreadcrumbsSeparatorProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupRoot, type ButtonProps, Card, CardContent, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupIndicator, type CheckboxGroupIndicatorProps, CheckboxGroupItem, type CheckboxGroupItemProps, CheckboxGroupLabel, type CheckboxGroupLabelProps, CheckboxGroupOption, type CheckboxGroupOptionProps, CheckboxGroupOptions, type CheckboxGroupOptionsProps, CheckboxGroupRoot, type CheckboxGroupRootProps, type CheckboxProps, Collapsible, CollapsibleIndicator, type CollapsibleIndicatorProps, CollapsiblePanel, type CollapsiblePanelProps, CollapsibleRoot, type CollapsibleRootProps, CollapsibleTrigger, type CollapsibleTriggerProps, type ColorFormat, type ColorModel, ColorPicker, ColorPickerAlpha, type ColorPickerAlphaProps, ColorPickerControl, type ColorPickerControlProps, ColorPickerHue, type ColorPickerHueProps, ColorPickerInput, type ColorPickerInputProps, ColorPickerLabel, type ColorPickerLabelProps, ColorPickerNativeInput, type ColorPickerNativeInputProps, ColorPickerPalette, type ColorPickerPaletteProps, ColorPickerPopup, type ColorPickerPopupProps, ColorPickerPortal, ColorPickerPositioner, type ColorPickerPositionerProps, ColorPickerPreview, type ColorPickerPreviewProps, ColorPickerRoot, type ColorPickerRootProps, ColorPickerSwatch, type ColorPickerSwatchProps, ColorPickerSwatches, type ColorPickerSwatchesProps, ColorPickerTrigger, type ColorPickerTriggerProps, ColorPickerValue, type ColorPickerValueProps, Combobox, ComboboxArrow, type ComboboxArrowProps, ComboboxClear, type ComboboxClearProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, type ComboboxGroupLabelProps, type ComboboxGroupProps, ComboboxIcon, type ComboboxIconProps, ComboboxInput, ComboboxInputGroup, type ComboboxInputGroupProps, type ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, type ComboboxItemIndicatorProps, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, ComboboxPopup, type ComboboxPopupProps, ComboboxPortal, ComboboxPositioner, type ComboboxPositionerProps, ComboboxRoot, type ComboboxRootProps, type ComboboxSize, ComboboxStatus, type ComboboxStatusProps, ComboboxTrigger, type ComboboxTriggerProps, ComboboxValue, type ComboboxValueProps, Command, CommandEmpty, type CommandEmptyProps, type CommandFilter, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, CommandItemIndicator, type CommandItemProps, CommandList, type CommandListProps, CommandLoading, type CommandLoadingProps, CommandRoot, type CommandRootProps, CommandSeparator, type CommandSeparatorProps, ContextMenu, ContextMenuArrow, type ContextMenuArrowProps, ContextMenuBackdrop, type ContextMenuBackdropProps, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, type ContextMenuCheckboxItemIndicatorProps, type ContextMenuCheckboxItemProps, ContextMenuGroup, ContextMenuGroupLabel, type ContextMenuGroupLabelProps, type ContextMenuGroupProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLinkItem, type ContextMenuLinkItemProps, ContextMenuPopup, type ContextMenuPopupProps, ContextMenuPortal, type ContextMenuPortalProps, ContextMenuPositioner, type ContextMenuPositionerProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, ContextMenuRadioItemIndicator, type ContextMenuRadioItemIndicatorProps, type ContextMenuRadioItemProps, ContextMenuRoot, type ContextMenuRootProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuSubmenuRoot, type ContextMenuSubmenuRootProps, ContextMenuSubmenuTrigger, type ContextMenuSubmenuTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, Copyable, CopyableContent, CopyableContentProps, CopyableIndicator, CopyableIndicatorProps, CopyableRoot, CopyableRootProps, DataView, type DataViewColumns, DataViewContent, type DataViewContentProps, DataViewEmpty, DataViewError, type DataViewLayout, DataViewLoading, DataViewRoot, type DataViewRootProps, type DataViewStateProps, DataViewToolbar, type DataViewToolbarProps, DatePicker, DatePickerCalendar, type DatePickerCalendarProps, DatePickerCaption, type DatePickerCaptionProps, DatePickerClear, type DatePickerClearProps, DatePickerClose, type DatePickerCloseProps, DatePickerControl, type DatePickerControlProps, DatePickerDay, type DatePickerDayProps, type DatePickerGranularity, DatePickerHeader, type DatePickerHeaderProps, DatePickerLabel, type DatePickerLabelProps, DatePickerMonthSelect, type DatePickerMonthSelectProps, type DatePickerNavigationProps, DatePickerNext, DatePickerPopup, type DatePickerPopupProps, DatePickerPortal, type DatePickerPortalProps, DatePickerPositioner, type DatePickerPositionerProps, DatePickerPrevious, DatePickerRoot, type DatePickerRootProps, type DatePickerSize, DatePickerTimeField, type DatePickerTimeFieldProps, DatePickerTrigger, type DatePickerTriggerProps, DatePickerValue, type DatePickerValueProps, type DatePickerYearRange, DatePickerYearSelect, type DatePickerYearSelectProps, Dialog, DialogBackdrop, type DialogBackdropProps, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogPopup, type DialogPopupProps, DialogPortal, type DialogPortalProps, DialogRoot, type DialogRootProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DialogViewport, type DialogViewportProps, Drawer, DrawerBackdrop, type DrawerBackdropProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerPopup, type DrawerPopupProps, DrawerPortal, type DrawerPortalProps, DrawerRoot, type DrawerRootProps, type DrawerSide, type DrawerSize, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DrawerViewport, type DrawerViewportProps, EmptyState, EmptyStateAction, EmptyStateDescription, EmptyStateIcon, EmptyStateRoot, type EmptyStateRootProps, EmptyStateTitle, Field, FieldDescription, FieldError, type FieldErrorProps, FieldLabel, type FieldLabelProps, type FieldProps, type FieldValidationMode, Fieldset, FieldsetDescription, FieldsetLegend, type FieldsetLegendProps, FieldsetRoot, type FieldsetRootProps, Flex, FlexProps, Form, type FormErrors, type FormProps, Grid, GridProps, Heading, type HeadingElement, type HeadingProps, type HeadingSize, IconButton, type IconButtonProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupRoot, type InputGroupRootProps, type InputProps, JaciFormContext, type JaciThemeColorTokens, type JaciThemeTokenGroup, type JaciThemeTokenValue, type JaciThemeTokens, LayoutAlign, LayoutGap, LayoutJustify, LayoutWrap, Link, type LinkProps, List, type ListGap, ListItem, ListItemAction, type ListItemActionProps, ListItemContent, type ListItemContentProps, ListItemDescription, type ListItemDescriptionProps, type ListItemProps, ListItemTitle, type ListItemTitleProps, ListRoot, type ListRootProps, type ListVariant, Menu, MenuGroup, MenuGroupLabel, type MenuGroupLabelProps, type MenuGroupProps, MenuItem, type MenuItemProps, MenuLinkItem, type MenuLinkItemProps, MenuPopup, type MenuPopupProps, MenuPortal, MenuPositioner, type MenuPositionerProps, MenuRoot, type MenuRootProps, MenuSeparator, type MenuSeparatorProps, MenuTrigger, type MenuTriggerProps, Menubar, MenubarArrow, type MenubarArrowProps, MenubarCheckboxItem, MenubarCheckboxItemIndicator, type MenubarCheckboxItemIndicatorProps, type MenubarCheckboxItemProps, MenubarGroup, MenubarGroupLabel, type MenubarGroupLabelProps, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLinkItem, type MenubarLinkItemProps, MenubarMenu, type MenubarMenuProps, type MenubarOrientation, MenubarPopup, type MenubarPopupProps, MenubarPortal, type MenubarPortalProps, MenubarPositioner, type MenubarPositionerProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, MenubarRadioItemIndicator, type MenubarRadioItemIndicatorProps, type MenubarRadioItemProps, MenubarRoot, type MenubarRootProps, MenubarSeparator, type MenubarSeparatorProps, MenubarSubmenuRoot, type MenubarSubmenuRootProps, MenubarSubmenuTrigger, type MenubarSubmenuTriggerProps, MenubarTrigger, type MenubarTriggerProps, Meter, MeterIndicator, type MeterIndicatorProps, MeterLabel, type MeterLabelProps, MeterRoot, type MeterRootProps, type MeterSize, type MeterTone, MeterTrack, type MeterTrackProps, MeterValue, type MeterValueProps, Navbar, NavbarBar, type NavbarBarProps, NavbarCenter, type NavbarCenterProps, NavbarClose, type NavbarCloseProps, NavbarDrawer, type NavbarDrawerPortalProps, type NavbarDrawerProps, NavbarEnd, type NavbarEndProps, NavbarItem, type NavbarItemProps, NavbarRoot, type NavbarRootProps, NavbarStart, type NavbarStartProps, NavbarToggle, type NavbarToggleProps, NavigationMenu, NavigationMenuArrow, type NavigationMenuArrowProps, NavigationMenuBackdrop, type NavigationMenuBackdropProps, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIcon, type NavigationMenuIconProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuOrientation, NavigationMenuPopup, type NavigationMenuPopupProps, NavigationMenuPortal, NavigationMenuPositioner, type NavigationMenuPositionerProps, NavigationMenuRoot, type NavigationMenuRootProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, NumberField, NumberFieldDecrement, type NumberFieldDecrementProps, NumberFieldGroup, type NumberFieldGroupProps, NumberFieldIncrement, type NumberFieldIncrementProps, NumberFieldInput, type NumberFieldInputProps, NumberFieldLabel, type NumberFieldLabelProps, NumberFieldRoot, type NumberFieldRootProps, NumberFieldScrubArea, NumberFieldScrubAreaCursor, type NumberFieldScrubAreaCursorProps, type NumberFieldScrubAreaProps, type NumberFieldSize, OptionSelector, OptionSelectorOption, OptionSelectorProps, OptionSelectorValue, Pagination, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationList, type PaginationListProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, PaginationRoot, type PaginationRootProps, Paragraph, type ParagraphProps, Popover, PopoverArrow, type PopoverArrowProps, PopoverClose, type PopoverCloseProps, PopoverDescription, type PopoverDescriptionProps, PopoverPopup, type PopoverPopupProps, PopoverPortal, PopoverPositioner, type PopoverPositionerProps, PopoverRoot, type PopoverRootProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, Radio, RadioGroup, RadioGroupIndicator, type RadioGroupIndicatorProps, RadioGroupItem, type RadioGroupItemProps, RadioGroupLabel, type RadioGroupLabelProps, RadioGroupOption, type RadioGroupOptionProps, RadioGroupOptions, type RadioGroupOptionsProps, RadioGroupRoot, type RadioGroupRootProps, type RadioProps, RangeSlider, RangeSliderControl, type RangeSliderControlProps, RangeSliderIndicator, type RangeSliderIndicatorProps, RangeSliderLabel, type RangeSliderLabelProps, RangeSliderRoot, type RangeSliderRootProps, type RangeSliderSize, RangeSliderThumb, type RangeSliderThumbProps, RangeSliderTrack, type RangeSliderTrackProps, RangeSliderValue, type RangeSliderValueProps, ScrollArea, ScrollAreaContent, ScrollAreaContentProps, ScrollAreaCorner, ScrollAreaCornerProps, ScrollAreaRoot, ScrollAreaRootProps, ScrollAreaScrollbar, ScrollAreaScrollbarProps, ScrollAreaThumb, ScrollAreaThumbProps, ScrollAreaViewport, ScrollAreaViewportProps, Select, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectList, type SelectListProps, SelectPopup, type SelectPopupProps, SelectPortal, SelectPositioner, type SelectPositionerProps, SelectRoot, type SelectRootProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, SeparatorProps, Sidebar, SidebarContent, type SidebarContentProps, type SidebarContextValue, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, SidebarLabel, type SidebarLabelProps, SidebarRoot, type SidebarRootProps, SidebarToggle, type SidebarToggleProps, Skeleton, type SkeletonProps, type SkeletonVariant, Slider, SliderControl, type SliderControlProps, SliderIndicator, type SliderIndicatorProps, SliderLabel, type SliderLabelProps, SliderRoot, type SliderRootProps, type SliderSize, SliderThumb, type SliderThumbProps, SliderTrack, type SliderTrackProps, SliderValue, type SliderValueProps, Spinner, SpinnerProps, Stack, StackProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableContainer, type TableContainerProps, type TableDensity, TableEmpty, type TableEmptyProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TableRoot, type TableRootProps, TableRow, type TableRowProps, TableSelectionCell, type TableSelectionCellProps, TableSelectionHeader, type TableSelectionHeaderProps, type TableSortDirection, Tabs, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, TabsRoot, type TabsRootProps, TabsTab, type TabsTabProps, type TabsVariant, TagsInput, TagsInputProps, Text, type TextElement, type TextProps, type TextSize, type TextTone, Textarea, type TextareaProps, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, Toast, ToastAction, ToastActionProps, ToastClose, ToastCloseProps, ToastComponent, ToastContent, ToastContentProps, ToastDescription, ToastDescriptionProps, ToastPortal, ToastProvider, ToastProviderProps, ToastRoot, ToastRootProps, ToastText, ToastTextProps, ToastTitle, ToastTitleProps, ToastTone, ToastViewport, ToastViewportProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupRoot, ToggleGroupRootProps, ToggleProps, ToggleSize, ToggleVariant, Toolbar, ToolbarButton, ToolbarButtonProps, ToolbarGroup, ToolbarGroupProps, ToolbarInput, ToolbarInputProps, ToolbarLink, ToolbarLinkProps, ToolbarOrientation, ToolbarRoot, ToolbarRootProps, ToolbarSeparator, ToolbarSeparatorProps, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipPopup, type TooltipPopupProps, TooltipPortal, TooltipPositioner, type TooltipPositionerProps, TooltipRoot, type TooltipRootProps, TooltipTrigger, type TooltipTriggerProps, TreeView, TreeViewGroup, type TreeViewGroupProps, TreeViewItem, type TreeViewItemProps, TreeViewLabel, type TreeViewLabelProps, TreeViewRoot, type TreeViewRootProps, type TreeViewSelection, type TreeViewSelectionMode, TreeViewToggle, type TreeViewToggleProps, Upload, UploadDropzone, type UploadDropzoneProps, UploadError, type UploadErrorProps, UploadHint, type UploadHintProps, UploadIcon, type UploadIconProps, UploadInput, type UploadInputProps, UploadItem, type UploadItemProps, UploadList, type UploadListProps, UploadPreview, type UploadPreviewProps, UploadProgress, type UploadProgressProps, type UploadRejection, type UploadRejectionReason, UploadRemove, type UploadRemoveProps, UploadRoot, type UploadRootProps, UploadText, type UploadTextProps, UploadTrigger, type UploadTriggerProps, VisuallyHidden, type VisuallyHiddenProps, defaultColor, formatColor, parseColor, useFieldState, useSidebar, useTheme };
135
+ export { Accordion, AccordionHeader, type AccordionHeaderProps, AccordionIndicator, type AccordionIndicatorProps, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, AccordionRoot, type AccordionRootProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogBackdrop, type AlertDialogBackdropProps, AlertDialogBody, type AlertDialogBodyProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogClose, type AlertDialogCloseProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogPopup, type AlertDialogPopupProps, AlertDialogPortal, type AlertDialogPortalProps, AlertDialogRoot, type AlertDialogRootProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AlertDialogViewport, type AlertDialogViewportProps, AlertIcon, type AlertIconProps, AlertRoot, type AlertRootProps, AlertTitle, type AlertTitleProps, type AlertTone, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, AvatarRoot, type AvatarRootProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, BottomNavigation, BottomNavigationItem, type BottomNavigationItemProps, type BottomNavigationProps, BottomNavigationRoot, Breadcrumbs, BreadcrumbsCurrent, type BreadcrumbsCurrentProps, BreadcrumbsItem, type BreadcrumbsItemProps, BreadcrumbsLink, type BreadcrumbsLinkProps, BreadcrumbsList, type BreadcrumbsListProps, BreadcrumbsRoot, type BreadcrumbsRootProps, BreadcrumbsSeparator, type BreadcrumbsSeparatorProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupRoot, type ButtonProps, Calendar, CalendarCaption, type CalendarCaptionProps, CalendarDay, type CalendarDayProps, CalendarGrid, type CalendarGridProps, CalendarHeader, type CalendarHeaderProps, CalendarMonthSelect, type CalendarMonthSelectProps, type CalendarNavigationProps, CalendarNext, CalendarPrevious, CalendarRoot, type CalendarRootProps, type CalendarYearRange, CalendarYearSelect, type CalendarYearSelectProps, Card, CardContent, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupIndicator, type CheckboxGroupIndicatorProps, CheckboxGroupItem, type CheckboxGroupItemProps, CheckboxGroupLabel, type CheckboxGroupLabelProps, CheckboxGroupOption, type CheckboxGroupOptionProps, CheckboxGroupOptions, type CheckboxGroupOptionsProps, CheckboxGroupRoot, type CheckboxGroupRootProps, type CheckboxProps, Collapsible, CollapsibleIndicator, type CollapsibleIndicatorProps, CollapsiblePanel, type CollapsiblePanelProps, CollapsibleRoot, type CollapsibleRootProps, CollapsibleTrigger, type CollapsibleTriggerProps, type ColorFormat, type ColorModel, ColorPicker, ColorPickerAlpha, type ColorPickerAlphaProps, ColorPickerControl, type ColorPickerControlProps, ColorPickerHue, type ColorPickerHueProps, ColorPickerInput, type ColorPickerInputProps, ColorPickerLabel, type ColorPickerLabelProps, ColorPickerNativeInput, type ColorPickerNativeInputProps, ColorPickerPalette, type ColorPickerPaletteProps, ColorPickerPopup, type ColorPickerPopupProps, ColorPickerPortal, ColorPickerPositioner, type ColorPickerPositionerProps, ColorPickerPreview, type ColorPickerPreviewProps, ColorPickerRoot, type ColorPickerRootProps, ColorPickerSwatch, type ColorPickerSwatchProps, ColorPickerSwatches, type ColorPickerSwatchesProps, ColorPickerTrigger, type ColorPickerTriggerProps, ColorPickerValue, type ColorPickerValueProps, Combobox, ComboboxArrow, type ComboboxArrowProps, ComboboxClear, type ComboboxClearProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, type ComboboxGroupLabelProps, type ComboboxGroupProps, ComboboxIcon, type ComboboxIconProps, ComboboxInput, ComboboxInputGroup, type ComboboxInputGroupProps, type ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, type ComboboxItemIndicatorProps, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, ComboboxLoading, type ComboboxLoadingProps, ComboboxPopup, type ComboboxPopupProps, ComboboxPortal, ComboboxPositioner, type ComboboxPositionerProps, ComboboxRoot, type ComboboxRootProps, type ComboboxSize, ComboboxStatus, type ComboboxStatusProps, ComboboxTrigger, type ComboboxTriggerProps, ComboboxValue, type ComboboxValueProps, Command, CommandEmpty, type CommandEmptyProps, type CommandFilter, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, CommandItemIndicator, type CommandItemProps, CommandList, type CommandListProps, CommandLoading, type CommandLoadingProps, CommandRoot, type CommandRootProps, CommandSeparator, type CommandSeparatorProps, ContextMenu, ContextMenuArrow, type ContextMenuArrowProps, ContextMenuBackdrop, type ContextMenuBackdropProps, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, type ContextMenuCheckboxItemIndicatorProps, type ContextMenuCheckboxItemProps, ContextMenuGroup, ContextMenuGroupLabel, type ContextMenuGroupLabelProps, type ContextMenuGroupProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLinkItem, type ContextMenuLinkItemProps, ContextMenuPopup, type ContextMenuPopupProps, ContextMenuPortal, type ContextMenuPortalProps, ContextMenuPositioner, type ContextMenuPositionerProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, ContextMenuRadioItemIndicator, type ContextMenuRadioItemIndicatorProps, type ContextMenuRadioItemProps, ContextMenuRoot, type ContextMenuRootProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuSubmenuRoot, type ContextMenuSubmenuRootProps, ContextMenuSubmenuTrigger, type ContextMenuSubmenuTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, Copyable, CopyableContent, CopyableContentProps, CopyableIndicator, CopyableIndicatorProps, CopyableRoot, CopyableRootProps, DataToolbar, DataToolbarActions, type DataToolbarActionsProps, DataToolbarClear, type DataToolbarClearProps, DataToolbarClearSelection, type DataToolbarClearSelectionProps, DataToolbarFilters, type DataToolbarFiltersProps, DataToolbarRoot, type DataToolbarRootProps, DataToolbarSearch, type DataToolbarSearchProps, DataToolbarSelection, type DataToolbarSelectionProps, DataToolbarSeparator, type DataToolbarSeparatorProps, DataToolbarSort, type DataToolbarSortProps, DataView, type DataViewColumns, DataViewContent, type DataViewContentProps, DataViewEmpty, DataViewError, DataViewFilters, type DataViewFiltersProps, DataViewFooter, type DataViewFooterProps, type DataViewLayout, DataViewLoading, DataViewPagination, type DataViewPaginationProps, DataViewRoot, type DataViewRootProps, type DataViewStateProps, type DataViewStatus, DataViewToolbar, type DataViewToolbarProps, DatePicker, DatePickerCalendar, type DatePickerCalendarProps, DatePickerCaption, type DatePickerCaptionProps, DatePickerClear, type DatePickerClearProps, DatePickerClose, type DatePickerCloseProps, DatePickerControl, type DatePickerControlProps, DatePickerDay, type DatePickerDayProps, type DatePickerGranularity, DatePickerHeader, type DatePickerHeaderProps, DatePickerLabel, type DatePickerLabelProps, DatePickerMonthSelect, type DatePickerMonthSelectProps, type DatePickerNavigationProps, DatePickerNext, DatePickerPopup, type DatePickerPopupProps, DatePickerPortal, type DatePickerPortalProps, DatePickerPositioner, type DatePickerPositionerProps, DatePickerPrevious, DatePickerRoot, type DatePickerRootProps, type DatePickerSize, DatePickerTimeField, type DatePickerTimeFieldProps, DatePickerTrigger, type DatePickerTriggerProps, DatePickerValue, type DatePickerValueProps, type DatePickerYearRange, DatePickerYearSelect, type DatePickerYearSelectProps, type DateRange, DateRangePicker, DateRangePickerCalendar, type DateRangePickerCalendarProps, DateRangePickerClear, type DateRangePickerClearProps, DateRangePickerClose, type DateRangePickerCloseProps, DateRangePickerControl, type DateRangePickerControlProps, DateRangePickerDay, type DateRangePickerDayProps, DateRangePickerEndInput, DateRangePickerHeader, type DateRangePickerHeaderProps, type DateRangePickerInputProps, DateRangePickerLabel, type DateRangePickerLabelProps, DateRangePickerMonthSelect, type DateRangePickerMonthSelectProps, type DateRangePickerNavigationProps, DateRangePickerNext, DateRangePickerPopup, type DateRangePickerPopupProps, DateRangePickerPortal, type DateRangePickerPortalProps, DateRangePickerPositioner, type DateRangePickerPositionerProps, DateRangePickerPreview, type DateRangePickerPreviewProps, DateRangePickerPrevious, DateRangePickerRoot, type DateRangePickerRootProps, DateRangePickerStartInput, DateRangePickerTrigger, type DateRangePickerTriggerProps, DateRangePickerValue, type DateRangePickerValueProps, type DateRangePickerYearRange, DateRangePickerYearSelect, type DateRangePickerYearSelectProps, Dialog, DialogBackdrop, type DialogBackdropProps, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogPopup, type DialogPopupProps, DialogPortal, type DialogPortalProps, DialogRoot, type DialogRootProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DialogViewport, type DialogViewportProps, Drawer, DrawerBackdrop, type DrawerBackdropProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerPopup, type DrawerPopupProps, DrawerPortal, type DrawerPortalProps, DrawerRoot, type DrawerRootProps, type DrawerSide, type DrawerSize, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DrawerViewport, type DrawerViewportProps, EmptyState, EmptyStateAction, EmptyStateDescription, EmptyStateIcon, EmptyStateRoot, type EmptyStateRootProps, EmptyStateTitle, Field, FieldControl, type FieldControlProps, FieldDescription, FieldError, type FieldErrorProps, FieldLabel, type FieldLabelProps, type FieldProps, type FieldValidationMode, Fieldset, FieldsetDescription, FieldsetLegend, type FieldsetLegendProps, FieldsetRoot, type FieldsetRootProps, Flex, FlexProps, Form, type FormErrors, type FormProps, Grid, GridProps, Heading, type HeadingElement, type HeadingProps, type HeadingSize, IconButton, type IconButtonProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupRoot, type InputGroupRootProps, type InputProps, JaciFormContext, type JaciThemeColorTokens, type JaciThemeTokenGroup, type JaciThemeTokenValue, type JaciThemeTokens, LayoutAlign, LayoutGap, LayoutJustify, LayoutWrap, Link, type LinkProps, List, type ListGap, ListItem, ListItemAction, type ListItemActionProps, ListItemContent, type ListItemContentProps, ListItemDescription, type ListItemDescriptionProps, type ListItemProps, ListItemTitle, type ListItemTitleProps, ListRoot, type ListRootProps, type ListVariant, Menu, MenuGroup, MenuGroupLabel, type MenuGroupLabelProps, type MenuGroupProps, MenuItem, type MenuItemProps, MenuLinkItem, type MenuLinkItemProps, MenuPopup, type MenuPopupProps, MenuPortal, MenuPositioner, type MenuPositionerProps, MenuRoot, type MenuRootProps, MenuSeparator, type MenuSeparatorProps, MenuTrigger, type MenuTriggerProps, Menubar, MenubarArrow, type MenubarArrowProps, MenubarCheckboxItem, MenubarCheckboxItemIndicator, type MenubarCheckboxItemIndicatorProps, type MenubarCheckboxItemProps, MenubarGroup, MenubarGroupLabel, type MenubarGroupLabelProps, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLinkItem, type MenubarLinkItemProps, MenubarMenu, type MenubarMenuProps, type MenubarOrientation, MenubarPopup, type MenubarPopupProps, MenubarPortal, type MenubarPortalProps, MenubarPositioner, type MenubarPositionerProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, MenubarRadioItemIndicator, type MenubarRadioItemIndicatorProps, type MenubarRadioItemProps, MenubarRoot, type MenubarRootProps, MenubarSeparator, type MenubarSeparatorProps, MenubarSubmenuRoot, type MenubarSubmenuRootProps, MenubarSubmenuTrigger, type MenubarSubmenuTriggerProps, MenubarTrigger, type MenubarTriggerProps, Meter, MeterIndicator, type MeterIndicatorProps, MeterLabel, type MeterLabelProps, MeterRoot, type MeterRootProps, type MeterSize, type MeterTone, MeterTrack, type MeterTrackProps, MeterValue, type MeterValueProps, Navbar, NavbarBar, type NavbarBarProps, NavbarCenter, type NavbarCenterProps, NavbarClose, type NavbarCloseProps, NavbarDrawer, type NavbarDrawerPortalProps, type NavbarDrawerProps, NavbarEnd, type NavbarEndProps, NavbarItem, type NavbarItemProps, NavbarRoot, type NavbarRootProps, NavbarStart, type NavbarStartProps, NavbarToggle, type NavbarToggleProps, NavigationMenu, NavigationMenuArrow, type NavigationMenuArrowProps, NavigationMenuBackdrop, type NavigationMenuBackdropProps, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIcon, type NavigationMenuIconProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuOrientation, NavigationMenuPopup, type NavigationMenuPopupProps, NavigationMenuPortal, NavigationMenuPositioner, type NavigationMenuPositionerProps, NavigationMenuRoot, type NavigationMenuRootProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, NumberField, NumberFieldDecrement, type NumberFieldDecrementProps, NumberFieldGroup, type NumberFieldGroupProps, NumberFieldIncrement, type NumberFieldIncrementProps, NumberFieldInput, type NumberFieldInputProps, NumberFieldLabel, type NumberFieldLabelProps, NumberFieldRoot, type NumberFieldRootProps, NumberFieldScrubArea, NumberFieldScrubAreaCursor, type NumberFieldScrubAreaCursorProps, type NumberFieldScrubAreaProps, type NumberFieldSize, OptionSelector, OptionSelectorOption, OptionSelectorProps, OptionSelectorValue, Pagination, type PaginationDensity, PaginationEllipsis, type PaginationEllipsisProps, PaginationFirst, type PaginationFirstProps, PaginationItem, type PaginationItemProps, PaginationLast, type PaginationLastProps, PaginationLink, type PaginationLinkProps, PaginationList, type PaginationListProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, PaginationRoot, type PaginationRootProps, Paragraph, type ParagraphProps, PinInput, PinInputControl, type PinInputControlProps, PinInputDescription, type PinInputDescriptionProps, PinInputError, type PinInputErrorProps, PinInputHiddenInput, type PinInputHiddenInputProps, PinInputInput, type PinInputInputProps, PinInputInputs, type PinInputInputsProps, PinInputLabel, type PinInputLabelProps, PinInputRoot, type PinInputRootProps, Popover, PopoverArrow, type PopoverArrowProps, PopoverClose, type PopoverCloseProps, PopoverDescription, type PopoverDescriptionProps, PopoverPopup, type PopoverPopupProps, PopoverPortal, PopoverPositioner, type PopoverPositionerProps, PopoverRoot, type PopoverRootProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, Radio, RadioGroup, RadioGroupIndicator, type RadioGroupIndicatorProps, RadioGroupItem, type RadioGroupItemProps, RadioGroupLabel, type RadioGroupLabelProps, RadioGroupOption, type RadioGroupOptionProps, RadioGroupOptions, type RadioGroupOptionsProps, RadioGroupRoot, type RadioGroupRootProps, type RadioProps, RangeSlider, RangeSliderControl, type RangeSliderControlProps, RangeSliderIndicator, type RangeSliderIndicatorProps, RangeSliderLabel, type RangeSliderLabelProps, RangeSliderRoot, type RangeSliderRootProps, type RangeSliderSize, RangeSliderThumb, type RangeSliderThumbProps, RangeSliderTrack, type RangeSliderTrackProps, RangeSliderValue, type RangeSliderValueProps, ScrollArea, ScrollAreaContent, ScrollAreaContentProps, ScrollAreaCorner, ScrollAreaCornerProps, ScrollAreaRoot, ScrollAreaRootProps, ScrollAreaScrollbar, ScrollAreaScrollbarProps, ScrollAreaThumb, ScrollAreaThumbProps, ScrollAreaViewport, ScrollAreaViewportProps, Select, SelectClear, type SelectClearProps, SelectEmpty, type SelectEmptyProps, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectList, type SelectListProps, SelectLoading, type SelectLoadingProps, SelectPopup, type SelectPopupProps, SelectPortal, SelectPositioner, type SelectPositionerProps, SelectRoot, type SelectRootProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectStatus, type SelectStatusProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, SeparatorProps, Sidebar, SidebarContent, type SidebarContentProps, type SidebarContextValue, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, SidebarLabel, type SidebarLabelProps, SidebarRoot, type SidebarRootProps, SidebarToggle, type SidebarToggleProps, Skeleton, type SkeletonProps, type SkeletonVariant, Slider, SliderControl, type SliderControlProps, SliderIndicator, type SliderIndicatorProps, SliderLabel, type SliderLabelProps, SliderRoot, type SliderRootProps, type SliderSize, SliderThumb, type SliderThumbProps, SliderTrack, type SliderTrackProps, SliderValue, type SliderValueProps, Spinner, SpinnerProps, Stack, StackProps, Switch, type SwitchProps, Table, type TableAlignment, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableContainer, type TableContainerProps, type TableDensity, TableDescription, type TableDescriptionProps, TableEmpty, type TableEmptyProps, TableError, type TableErrorProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableHideBelow, TableLoading, type TableLoadingProps, TableRoot, type TableRootProps, TableRow, type TableRowProps, TableSelectionCell, type TableSelectionCellProps, TableSelectionHeader, type TableSelectionHeaderProps, type TableSelectionMode, type TableSortDirection, type TableSortState, type TableStatus, Tabs, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, TabsRoot, type TabsRootProps, TabsTab, type TabsTabProps, type TabsVariant, TagsInput, TagsInputProps, Text, type TextElement, type TextProps, type TextSize, type TextTone, Textarea, type TextareaProps, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, Toast, ToastAction, ToastActionProps, ToastClose, ToastCloseProps, ToastComponent, ToastContent, ToastContentProps, ToastDescription, ToastDescriptionProps, ToastPortal, ToastProvider, ToastProviderProps, ToastRoot, ToastRootProps, ToastText, ToastTextProps, ToastTitle, ToastTitleProps, ToastTone, ToastViewport, ToastViewportProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupRoot, ToggleGroupRootProps, ToggleProps, ToggleSize, ToggleVariant, Toolbar, ToolbarButton, ToolbarButtonProps, ToolbarGroup, ToolbarGroupProps, ToolbarInput, ToolbarInputProps, ToolbarLink, ToolbarLinkProps, ToolbarOrientation, ToolbarRoot, ToolbarRootProps, ToolbarSeparator, ToolbarSeparatorProps, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipPopup, type TooltipPopupProps, TooltipPortal, TooltipPositioner, type TooltipPositionerProps, TooltipRoot, type TooltipRootProps, TooltipTrigger, type TooltipTriggerProps, TreeView, TreeViewEmpty, TreeViewError, TreeViewGroup, type TreeViewGroupProps, TreeViewItem, type TreeViewItemProps, TreeViewLabel, type TreeViewLabelProps, TreeViewLoading, TreeViewRoot, type TreeViewRootProps, type TreeViewSelection, type TreeViewSelectionMode, type TreeViewStateProps, TreeViewToggle, type TreeViewToggleProps, Upload, UploadCancel, type UploadCancelProps, UploadDropzone, type UploadDropzoneProps, UploadError, type UploadErrorProps, type UploadFileState, type UploadFileStatus, UploadHint, type UploadHintProps, UploadIcon, type UploadIconProps, UploadInput, type UploadInputProps, UploadItem, type UploadItemProps, UploadList, type UploadListProps, UploadPreview, type UploadPreviewProps, UploadProgress, type UploadProgressProps, type UploadRejection, type UploadRejectionReason, UploadRemove, type UploadRemoveProps, UploadRoot, type UploadRootProps, UploadStatus, type UploadStatusProps, UploadText, type UploadTextProps, UploadTrigger, type UploadTriggerProps, VisuallyHidden, type VisuallyHiddenProps, defaultColor, formatColor, parseColor, useFieldState, useSidebar, useTheme };