@vritti/quantum-ui 0.5.3 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/IconSelect.js +2 -2
- package/dist/UploadFile.js +24 -10
- package/dist/UploadFile.js.map +1 -1
- package/dist/assets/quantum-ui.css +4 -0
- package/dist/field.js +1 -1
- package/dist/field.js.map +1 -1
- package/dist/index.esm.js +1429 -810
- package/dist/index.esm.js.map +1 -1
- package/dist/index37.js +2 -2
- package/dist/lib/components/DataTable/hooks/useDataTable.d.ts +2 -2
- package/dist/lib/components/DataTable/hooks/useDataTable.d.ts.map +1 -1
- package/dist/lib/components/Select/types.d.ts +2 -1
- package/dist/lib/components/Select/types.d.ts.map +1 -1
- package/dist/lib/components/UploadFile/UploadFile.d.ts +1 -1
- package/dist/lib/components/UploadFile/UploadFile.d.ts.map +1 -1
- package/dist/schemas.js +2897 -1035
- package/dist/schemas.js.map +1 -1
- package/dist/shadcn/shadcnForm/form.d.ts +2 -2
- package/dist/shadcn/shadcnForm/form.d.ts.map +1 -1
- package/dist/upload.js +16 -1
- package/dist/upload.js.map +1 -1
- package/dist/useDataTable.js +1 -1
- package/dist/useDataTable.js.map +1 -1
- package/dist/utils/zod.js +4480 -731
- package/dist/utils/zod.js.map +1 -1
- package/dist/youtube.js +23 -38
- package/dist/youtube.js.map +1 -1
- package/package.json +9 -8
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
3
3
|
import { FieldLabel } from '../shadcnField';
|
|
4
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(
|
|
4
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getErrors, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
5
5
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare const useFormField: () => {
|
|
7
7
|
invalid: boolean;
|
|
8
8
|
isDirty: boolean;
|
|
9
9
|
isTouched: boolean;
|
|
10
10
|
isValidating: boolean;
|
|
11
|
-
error?: import('react-hook-form').FieldError;
|
|
11
|
+
error?: import('react-hook-form').FieldError | undefined;
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
14
|
formItemId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../shadcn/shadcnForm/form.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EAGjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAuC,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjF,QAAA,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../shadcn/shadcnForm/form.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EAGjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAuC,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjF,QAAA,MAAM,IAAI,yaAAe,CAAC;AAW1B,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAC;AAQF,QAAA,MAAM,QAAQ,6GAQZ,CAAC;AAGH,UAAU,cAAe,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,UAAU,CAAC;CAAG;AAErF,QAAA,MAAM,SAAS,yFAab,CAAC;AAGH,QAAA,MAAM,WAAW,8JAchB,CAAC;AAGF,QAAA,MAAM,eAAe,qLAMpB,CAAC;AAGF,QAAA,MAAM,WAAW,mKAehB,CAAC;AAGF,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC"}
|
package/dist/upload.js
CHANGED
|
@@ -8,6 +8,21 @@ import { c as createLucideIcon } from './createLucideIcon.js';
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
const __iconNode$1 = [
|
|
12
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
13
|
+
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
14
|
+
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
15
|
+
];
|
|
16
|
+
const Image = createLucideIcon("image", __iconNode$1);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @license lucide-react v0.562.0 - ISC
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the ISC license.
|
|
22
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
|
|
11
26
|
const __iconNode = [
|
|
12
27
|
["path", { d: "M12 3v12", key: "1x0j5s" }],
|
|
13
28
|
["path", { d: "m17 8-5-5-5 5", key: "7q97r8" }],
|
|
@@ -15,5 +30,5 @@ const __iconNode = [
|
|
|
15
30
|
];
|
|
16
31
|
const Upload = createLucideIcon("upload", __iconNode);
|
|
17
32
|
|
|
18
|
-
export { Upload as U };
|
|
33
|
+
export { Image as I, Upload as U };
|
|
19
34
|
//# sourceMappingURL=upload.js.map
|
package/dist/upload.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.js","sources":["../node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/upload.js"],"sourcesContent":["/**\n * @license lucide-react v0.562.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"M12 3v12\", key: \"1x0j5s\" }],\n [\"path\", { d: \"m17 8-5-5-5 5\", key: \"7q97r8\" }],\n [\"path\", { d: \"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\", key: \"ih7n3h\" }]\n];\nconst Upload = createLucideIcon(\"upload\", __iconNode);\n\nexport { __iconNode, Upload as default };\n//# sourceMappingURL=upload.js.map\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;;;AAIA,MAAM,UAAU,GAAG;AACnB,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AAC5C,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,eAAe,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AACjD,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,2CAA2C,EAAE,GAAG,EAAE,QAAQ,EAAE;AAC5E,CAAC;AACI,MAAC,MAAM,GAAG,gBAAgB,CAAC,QAAQ,EAAE,UAAU;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"upload.js","sources":["../node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/image.js","../node_modules/.pnpm/lucide-react@0.562.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/upload.js"],"sourcesContent":["/**\n * @license lucide-react v0.562.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"rect\", { width: \"18\", height: \"18\", x: \"3\", y: \"3\", rx: \"2\", ry: \"2\", key: \"1m3agn\" }],\n [\"circle\", { cx: \"9\", cy: \"9\", r: \"2\", key: \"af1f0g\" }],\n [\"path\", { d: \"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\", key: \"1xmnt7\" }]\n];\nconst Image = createLucideIcon(\"image\", __iconNode);\n\nexport { __iconNode, Image as default };\n//# sourceMappingURL=image.js.map\n","/**\n * @license lucide-react v0.562.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"M12 3v12\", key: \"1x0j5s\" }],\n [\"path\", { d: \"m17 8-5-5-5 5\", key: \"7q97r8\" }],\n [\"path\", { d: \"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\", key: \"ih7n3h\" }]\n];\nconst Upload = createLucideIcon(\"upload\", __iconNode);\n\nexport { __iconNode, Upload as default };\n//# sourceMappingURL=upload.js.map\n"],"names":["__iconNode"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;;;AAIA,MAAMA,YAAU,GAAG;AACnB,EAAE,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AAC1F,EAAE,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AACzD,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,2CAA2C,EAAE,GAAG,EAAE,QAAQ,EAAE;AAC5E,CAAC;AACI,MAAC,KAAK,GAAG,gBAAgB,CAAC,OAAO,EAAEA,YAAU;;ACdlD;AACA;AACA;AACA;AACA;AACA;;;AAIA,MAAM,UAAU,GAAG;AACnB,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AAC5C,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,eAAe,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AACjD,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,2CAA2C,EAAE,GAAG,EAAE,QAAQ,EAAE;AAC5E,CAAC;AACI,MAAC,MAAM,GAAG,gBAAgB,CAAC,QAAQ,EAAE,UAAU;;;;","x_google_ignoreList":[0,1]}
|
package/dist/useDataTable.js
CHANGED
|
@@ -24754,7 +24754,7 @@ function useDataTable({
|
|
|
24754
24754
|
const initializedSlug = useRef(null);
|
|
24755
24755
|
useLayoutEffect(() => {
|
|
24756
24756
|
if (initializedSlug.current !== slug) {
|
|
24757
|
-
useDataTableStore.getState().initTable(slug, { pinSelectColumn: enableRowSelection });
|
|
24757
|
+
useDataTableStore.getState().initTable(slug, { pinSelectColumn: enableRowSelection !== false });
|
|
24758
24758
|
initializedSlug.current = slug;
|
|
24759
24759
|
}
|
|
24760
24760
|
}, [slug, enableRowSelection]);
|