@vritti/quantum-ui 0.3.6 → 0.3.8

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 (110) hide show
  1. package/dist/Avatar.js +5 -5
  2. package/dist/Checkbox2.js +2 -2
  3. package/dist/ConfirmHost.js +109 -0
  4. package/dist/ConfirmHost.js.map +1 -0
  5. package/dist/Dialog.js +82 -64
  6. package/dist/Dialog.js.map +1 -1
  7. package/dist/DropdownMenu.js +2 -2
  8. package/dist/DropdownMenu.js.map +1 -1
  9. package/dist/Form.js +50 -26
  10. package/dist/Form.js.map +1 -1
  11. package/dist/Progress.js +2 -2
  12. package/dist/RadioGroup.js +2 -2
  13. package/dist/Sidebar.js +1 -1
  14. package/dist/Switch.js +2 -2
  15. package/dist/TabsSkeleton.js +1 -1
  16. package/dist/Toggle.js +1 -1
  17. package/dist/ViewTabs.js +1 -2
  18. package/dist/ViewTabs.js.map +1 -1
  19. package/dist/assets/quantum-ui.css +43 -5
  20. package/dist/cells.js +96 -64
  21. package/dist/cells.js.map +1 -1
  22. package/dist/components/ConfirmHost.js +2 -0
  23. package/dist/components/ConfirmHost.js.map +1 -0
  24. package/dist/components/Dialog.js +1 -1
  25. package/dist/components/RichTextEditor.js +1 -1
  26. package/dist/context/index.js +0 -1
  27. package/dist/context/index.js.map +1 -1
  28. package/dist/dropdown-menu.js +4 -3
  29. package/dist/dropdown-menu.js.map +1 -1
  30. package/dist/image-component.js +1 -1
  31. package/dist/index.js +3 -3
  32. package/dist/index12.js +3 -2
  33. package/dist/index12.js.map +1 -1
  34. package/dist/index13.js +3 -2
  35. package/dist/index13.js.map +1 -1
  36. package/dist/index14.js +7 -6
  37. package/dist/index14.js.map +1 -1
  38. package/dist/index15.js +1 -1
  39. package/dist/index16.js +1 -1
  40. package/dist/index18.js +1 -1
  41. package/dist/index20.js +1 -1
  42. package/dist/index21.js +1 -1
  43. package/dist/index23.js +1 -1
  44. package/dist/index25.js +3 -2534
  45. package/dist/index25.js.map +1 -1
  46. package/dist/index26.js +2526 -22
  47. package/dist/index26.js.map +1 -1
  48. package/dist/index27.js +32 -4
  49. package/dist/index27.js.map +1 -1
  50. package/dist/index28.js +4 -37
  51. package/dist/index28.js.map +1 -1
  52. package/dist/index29.js +1101 -287
  53. package/dist/index29.js.map +1 -1
  54. package/dist/index30.js +36 -8
  55. package/dist/index30.js.map +1 -1
  56. package/dist/index31.js +305 -25
  57. package/dist/index31.js.map +1 -1
  58. package/dist/index32.js +8 -60
  59. package/dist/index32.js.map +1 -1
  60. package/dist/index33.js +30 -11
  61. package/dist/index33.js.map +1 -1
  62. package/dist/index34.js +59 -35
  63. package/dist/index34.js.map +1 -1
  64. package/dist/index35.js +10 -36818
  65. package/dist/index35.js.map +1 -1
  66. package/dist/index36.js +36 -79
  67. package/dist/index36.js.map +1 -1
  68. package/dist/index37.js +36808 -184
  69. package/dist/index37.js.map +1 -1
  70. package/dist/index38.js +84 -0
  71. package/dist/index38.js.map +1 -0
  72. package/dist/index39.js +199 -0
  73. package/dist/index39.js.map +1 -0
  74. package/dist/index4.js +1 -1
  75. package/dist/lib/components/ConfirmHost/ConfirmHost.d.ts +39 -0
  76. package/dist/lib/components/ConfirmHost/ConfirmHost.d.ts.map +1 -0
  77. package/dist/lib/components/ConfirmHost/index.d.ts +2 -0
  78. package/dist/lib/components/ConfirmHost/index.d.ts.map +1 -0
  79. package/dist/lib/components/DataTable/components/DataTableImportDialog.d.ts.map +1 -1
  80. package/dist/lib/components/DataTable/components/DataTableViewTabs.d.ts.map +1 -1
  81. package/dist/lib/components/DataTable/components/DataTableViewsMenu.d.ts.map +1 -1
  82. package/dist/lib/components/DataTable/components/RowActions.d.ts.map +1 -1
  83. package/dist/lib/components/Dialog/Dialog.d.ts +15 -17
  84. package/dist/lib/components/Dialog/Dialog.d.ts.map +1 -1
  85. package/dist/lib/components/Dialog/index.d.ts +2 -2
  86. package/dist/lib/components/Dialog/index.d.ts.map +1 -1
  87. package/dist/lib/components/DropdownMenu/types.d.ts +2 -2
  88. package/dist/lib/components/DropdownMenu/types.d.ts.map +1 -1
  89. package/dist/lib/components/Form/Form.d.ts.map +1 -1
  90. package/dist/lib/components/index.d.ts +1 -0
  91. package/dist/lib/components/index.d.ts.map +1 -1
  92. package/dist/lib/context/index.d.ts +0 -1
  93. package/dist/lib/context/index.d.ts.map +1 -1
  94. package/dist/lib/hooks/useConfirm.d.ts +3 -3
  95. package/dist/lib/hooks/useConfirm.d.ts.map +1 -1
  96. package/dist/trash-2.js +17 -3
  97. package/dist/trash-2.js.map +1 -1
  98. package/dist/useConfirm.js +3 -7
  99. package/dist/useConfirm.js.map +1 -1
  100. package/dist/utils/motion.js +2 -2
  101. package/dist/value.js +1 -1
  102. package/package.json +5 -1
  103. package/dist/Combination.js +0 -1129
  104. package/dist/Combination.js.map +0 -1
  105. package/dist/ConfirmContext.js +0 -77
  106. package/dist/ConfirmContext.js.map +0 -1
  107. package/dist/lib/context/ConfirmContext.d.ts +0 -26
  108. package/dist/lib/context/ConfirmContext.d.ts.map +0 -1
  109. package/dist/plus.js +0 -18
  110. package/dist/plus.js.map +0 -1
@@ -0,0 +1,84 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { createContext, useRef, useState, useCallback, useContext, useMemo } from 'react';
3
+ import { u as useIsomorphicLayoutEffect, f as frame, L as LayoutGroupContext } from './proxy.js';
4
+
5
+ const notify = (node) => !node.isLayoutDirty && node.willUpdate(false);
6
+ function nodeGroup() {
7
+ const nodes = new Set();
8
+ const subscriptions = new WeakMap();
9
+ const dirtyAll = () => nodes.forEach(notify);
10
+ return {
11
+ add: (node) => {
12
+ nodes.add(node);
13
+ subscriptions.set(node, node.addEventListener("willUpdate", dirtyAll));
14
+ },
15
+ remove: (node) => {
16
+ nodes.delete(node);
17
+ const unsubscribe = subscriptions.get(node);
18
+ if (unsubscribe) {
19
+ unsubscribe();
20
+ subscriptions.delete(node);
21
+ }
22
+ dirtyAll();
23
+ },
24
+ dirty: dirtyAll,
25
+ };
26
+ }
27
+
28
+ /**
29
+ * Note: Still used by components generated by old versions of Framer
30
+ *
31
+ * @deprecated
32
+ */
33
+ const DeprecatedLayoutGroupContext = createContext(null);
34
+
35
+ function useIsMounted() {
36
+ const isMounted = useRef(false);
37
+ useIsomorphicLayoutEffect(() => {
38
+ isMounted.current = true;
39
+ return () => {
40
+ isMounted.current = false;
41
+ };
42
+ }, []);
43
+ return isMounted;
44
+ }
45
+
46
+ function useForceUpdate() {
47
+ const isMounted = useIsMounted();
48
+ const [forcedRenderCount, setForcedRenderCount] = useState(0);
49
+ const forceRender = useCallback(() => {
50
+ isMounted.current && setForcedRenderCount(forcedRenderCount + 1);
51
+ }, [forcedRenderCount]);
52
+ /**
53
+ * Defer this to the end of the next animation frame in case there are multiple
54
+ * synchronous calls.
55
+ */
56
+ const deferredForceRender = useCallback(() => frame.postRender(forceRender), [forceRender]);
57
+ return [deferredForceRender, forcedRenderCount];
58
+ }
59
+
60
+ const shouldInheritGroup = (inherit) => inherit === true;
61
+ const shouldInheritId = (inherit) => shouldInheritGroup(inherit === true) || inherit === "id";
62
+ const LayoutGroup = ({ children, id, inherit = true }) => {
63
+ const layoutGroupContext = useContext(LayoutGroupContext);
64
+ const deprecatedLayoutGroupContext = useContext(DeprecatedLayoutGroupContext);
65
+ const [forceRender, key] = useForceUpdate();
66
+ const context = useRef(null);
67
+ const upstreamId = layoutGroupContext.id || deprecatedLayoutGroupContext;
68
+ if (context.current === null) {
69
+ if (shouldInheritId(inherit) && upstreamId) {
70
+ id = id ? upstreamId + "-" + id : upstreamId;
71
+ }
72
+ context.current = {
73
+ id,
74
+ group: shouldInheritGroup(inherit)
75
+ ? layoutGroupContext.group || nodeGroup()
76
+ : nodeGroup(),
77
+ };
78
+ }
79
+ const memoizedContext = useMemo(() => ({ ...context.current, forceRender }), [key]);
80
+ return (jsx(LayoutGroupContext.Provider, { value: memoizedContext, children: children }));
81
+ };
82
+
83
+ export { DeprecatedLayoutGroupContext as D, LayoutGroup as L, nodeGroup as n, useForceUpdate as u };
84
+ //# sourceMappingURL=index38.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index38.js","sources":["../node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/group.mjs","../node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs","../node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs","../node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/utils/use-force-update.mjs","../node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs"],"sourcesContent":["const notify = (node) => !node.isLayoutDirty && node.willUpdate(false);\nfunction nodeGroup() {\n const nodes = new Set();\n const subscriptions = new WeakMap();\n const dirtyAll = () => nodes.forEach(notify);\n return {\n add: (node) => {\n nodes.add(node);\n subscriptions.set(node, node.addEventListener(\"willUpdate\", dirtyAll));\n },\n remove: (node) => {\n nodes.delete(node);\n const unsubscribe = subscriptions.get(node);\n if (unsubscribe) {\n unsubscribe();\n subscriptions.delete(node);\n }\n dirtyAll();\n },\n dirty: dirtyAll,\n };\n}\n\nexport { nodeGroup };\n//# sourceMappingURL=group.mjs.map\n","\"use client\";\nimport { createContext } from 'react';\n\n/**\n * Note: Still used by components generated by old versions of Framer\n *\n * @deprecated\n */\nconst DeprecatedLayoutGroupContext = createContext(null);\n\nexport { DeprecatedLayoutGroupContext };\n//# sourceMappingURL=DeprecatedLayoutGroupContext.mjs.map\n","\"use client\";\nimport { useRef } from 'react';\nimport { useIsomorphicLayoutEffect } from './use-isomorphic-effect.mjs';\n\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useIsomorphicLayoutEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return isMounted;\n}\n\nexport { useIsMounted };\n//# sourceMappingURL=use-is-mounted.mjs.map\n","\"use client\";\nimport { frame } from 'motion-dom';\nimport { useState, useCallback } from 'react';\nimport { useIsMounted } from './use-is-mounted.mjs';\n\nfunction useForceUpdate() {\n const isMounted = useIsMounted();\n const [forcedRenderCount, setForcedRenderCount] = useState(0);\n const forceRender = useCallback(() => {\n isMounted.current && setForcedRenderCount(forcedRenderCount + 1);\n }, [forcedRenderCount]);\n /**\n * Defer this to the end of the next animation frame in case there are multiple\n * synchronous calls.\n */\n const deferredForceRender = useCallback(() => frame.postRender(forceRender), [forceRender]);\n return [deferredForceRender, forcedRenderCount];\n}\n\nexport { useForceUpdate };\n//# sourceMappingURL=use-force-update.mjs.map\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { useContext, useRef, useMemo } from 'react';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { DeprecatedLayoutGroupContext } from '../../context/DeprecatedLayoutGroupContext.mjs';\nimport { useForceUpdate } from '../../utils/use-force-update.mjs';\nimport { nodeGroup } from 'motion-dom';\n\nconst shouldInheritGroup = (inherit) => inherit === true;\nconst shouldInheritId = (inherit) => shouldInheritGroup(inherit === true) || inherit === \"id\";\nconst LayoutGroup = ({ children, id, inherit = true }) => {\n const layoutGroupContext = useContext(LayoutGroupContext);\n const deprecatedLayoutGroupContext = useContext(DeprecatedLayoutGroupContext);\n const [forceRender, key] = useForceUpdate();\n const context = useRef(null);\n const upstreamId = layoutGroupContext.id || deprecatedLayoutGroupContext;\n if (context.current === null) {\n if (shouldInheritId(inherit) && upstreamId) {\n id = id ? upstreamId + \"-\" + id : upstreamId;\n }\n context.current = {\n id,\n group: shouldInheritGroup(inherit)\n ? layoutGroupContext.group || nodeGroup()\n : nodeGroup(),\n };\n }\n const memoizedContext = useMemo(() => ({ ...context.current, forceRender }), [key]);\n return (jsx(LayoutGroupContext.Provider, { value: memoizedContext, children: children }));\n};\n\nexport { LayoutGroup };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;AAAA,MAAM,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;AACtE,SAAS,SAAS,GAAG;AACrB,IAAI,MAAM,KAAK,GAAG,IAAI,GAAG,EAAE;AAC3B,IAAI,MAAM,aAAa,GAAG,IAAI,OAAO,EAAE;AACvC,IAAI,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;AAChD,IAAI,OAAO;AACX,QAAQ,GAAG,EAAE,CAAC,IAAI,KAAK;AACvB,YAAY,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;AAC3B,YAAY,aAAa,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;AAClF,QAAQ,CAAC;AACT,QAAQ,MAAM,EAAE,CAAC,IAAI,KAAK;AAC1B,YAAY,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;AAC9B,YAAY,MAAM,WAAW,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC;AACvD,YAAY,IAAI,WAAW,EAAE;AAC7B,gBAAgB,WAAW,EAAE;AAC7B,gBAAgB,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAC1C,YAAY;AACZ,YAAY,QAAQ,EAAE;AACtB,QAAQ,CAAC;AACT,QAAQ,KAAK,EAAE,QAAQ;AACvB,KAAK;AACL;;AClBA;AACA;AACA;AACA;AACA;AACK,MAAC,4BAA4B,GAAG,aAAa,CAAC,IAAI;;ACJvD,SAAS,YAAY,GAAG;AACxB,IAAI,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC;AACnC,IAAI,yBAAyB,CAAC,MAAM;AACpC,QAAQ,SAAS,CAAC,OAAO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CAAC,EAAE,IAAI,4BAA4B;AAC5E,IAAI,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,EAAE;AAClC,QAAQ,IAAI,eAAe,CAAC,OAAO,CAAC,IAAI,UAAU,EAAE;AACpD,YAAY,EAAE,GAAG,EAAE,GAAG,UAAU,GAAG,GAAG,GAAG,EAAE,GAAG,UAAU;AACxD,QAAQ;AACR,QAAQ,OAAO,CAAC,OAAO,GAAG;AAC1B,YAAY,EAAE;AACd,YAAY,KAAK,EAAE,kBAAkB,CAAC,OAAO;AAC7C,kBAAkB,kBAAkB,CAAC,KAAK,IAAI,SAAS;AACvD,kBAAkB,SAAS,EAAE;AAC7B,SAAS;AACT,IAAI;AACJ,IAAI,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AACvF,IAAI,QAAQ,GAAG,CAAC,kBAAkB,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;AAC5F;;;;","x_google_ignoreList":[0,1,2,3,4]}
@@ -0,0 +1,199 @@
1
+ import React__default from 'react';
2
+
3
+ var shim = {exports: {}};
4
+
5
+ var useSyncExternalStoreShim_production = {};
6
+
7
+ /**
8
+ * @license React
9
+ * use-sync-external-store-shim.production.js
10
+ *
11
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */
16
+
17
+ var hasRequiredUseSyncExternalStoreShim_production;
18
+
19
+ function requireUseSyncExternalStoreShim_production () {
20
+ if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
21
+ hasRequiredUseSyncExternalStoreShim_production = 1;
22
+ var React = React__default;
23
+ function is(x, y) {
24
+ return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
25
+ }
26
+ var objectIs = "function" === typeof Object.is ? Object.is : is,
27
+ useState = React.useState,
28
+ useEffect = React.useEffect,
29
+ useLayoutEffect = React.useLayoutEffect,
30
+ useDebugValue = React.useDebugValue;
31
+ function useSyncExternalStore$2(subscribe, getSnapshot) {
32
+ var value = getSnapshot(),
33
+ _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),
34
+ inst = _useState[0].inst,
35
+ forceUpdate = _useState[1];
36
+ useLayoutEffect(
37
+ function () {
38
+ inst.value = value;
39
+ inst.getSnapshot = getSnapshot;
40
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
41
+ },
42
+ [subscribe, value, getSnapshot]
43
+ );
44
+ useEffect(
45
+ function () {
46
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
47
+ return subscribe(function () {
48
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
49
+ });
50
+ },
51
+ [subscribe]
52
+ );
53
+ useDebugValue(value);
54
+ return value;
55
+ }
56
+ function checkIfSnapshotChanged(inst) {
57
+ var latestGetSnapshot = inst.getSnapshot;
58
+ inst = inst.value;
59
+ try {
60
+ var nextValue = latestGetSnapshot();
61
+ return !objectIs(inst, nextValue);
62
+ } catch (error) {
63
+ return true;
64
+ }
65
+ }
66
+ function useSyncExternalStore$1(subscribe, getSnapshot) {
67
+ return getSnapshot();
68
+ }
69
+ var shim =
70
+ "undefined" === typeof window ||
71
+ "undefined" === typeof window.document ||
72
+ "undefined" === typeof window.document.createElement
73
+ ? useSyncExternalStore$1
74
+ : useSyncExternalStore$2;
75
+ useSyncExternalStoreShim_production.useSyncExternalStore =
76
+ void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
77
+ return useSyncExternalStoreShim_production;
78
+ }
79
+
80
+ var useSyncExternalStoreShim_development = {};
81
+
82
+ /**
83
+ * @license React
84
+ * use-sync-external-store-shim.development.js
85
+ *
86
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
87
+ *
88
+ * This source code is licensed under the MIT license found in the
89
+ * LICENSE file in the root directory of this source tree.
90
+ */
91
+
92
+ var hasRequiredUseSyncExternalStoreShim_development;
93
+
94
+ function requireUseSyncExternalStoreShim_development () {
95
+ if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
96
+ hasRequiredUseSyncExternalStoreShim_development = 1;
97
+ "production" !== process.env.NODE_ENV &&
98
+ (function () {
99
+ function is(x, y) {
100
+ return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
101
+ }
102
+ function useSyncExternalStore$2(subscribe, getSnapshot) {
103
+ didWarnOld18Alpha ||
104
+ void 0 === React.startTransition ||
105
+ ((didWarnOld18Alpha = true),
106
+ console.error(
107
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
108
+ ));
109
+ var value = getSnapshot();
110
+ if (!didWarnUncachedGetSnapshot) {
111
+ var cachedValue = getSnapshot();
112
+ objectIs(value, cachedValue) ||
113
+ (console.error(
114
+ "The result of getSnapshot should be cached to avoid an infinite loop"
115
+ ),
116
+ (didWarnUncachedGetSnapshot = true));
117
+ }
118
+ cachedValue = useState({
119
+ inst: { value: value, getSnapshot: getSnapshot }
120
+ });
121
+ var inst = cachedValue[0].inst,
122
+ forceUpdate = cachedValue[1];
123
+ useLayoutEffect(
124
+ function () {
125
+ inst.value = value;
126
+ inst.getSnapshot = getSnapshot;
127
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
128
+ },
129
+ [subscribe, value, getSnapshot]
130
+ );
131
+ useEffect(
132
+ function () {
133
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
134
+ return subscribe(function () {
135
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
136
+ });
137
+ },
138
+ [subscribe]
139
+ );
140
+ useDebugValue(value);
141
+ return value;
142
+ }
143
+ function checkIfSnapshotChanged(inst) {
144
+ var latestGetSnapshot = inst.getSnapshot;
145
+ inst = inst.value;
146
+ try {
147
+ var nextValue = latestGetSnapshot();
148
+ return !objectIs(inst, nextValue);
149
+ } catch (error) {
150
+ return true;
151
+ }
152
+ }
153
+ function useSyncExternalStore$1(subscribe, getSnapshot) {
154
+ return getSnapshot();
155
+ }
156
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
157
+ "function" ===
158
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
159
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
160
+ var React = React__default,
161
+ objectIs = "function" === typeof Object.is ? Object.is : is,
162
+ useState = React.useState,
163
+ useEffect = React.useEffect,
164
+ useLayoutEffect = React.useLayoutEffect,
165
+ useDebugValue = React.useDebugValue,
166
+ didWarnOld18Alpha = false,
167
+ didWarnUncachedGetSnapshot = false,
168
+ shim =
169
+ "undefined" === typeof window ||
170
+ "undefined" === typeof window.document ||
171
+ "undefined" === typeof window.document.createElement
172
+ ? useSyncExternalStore$1
173
+ : useSyncExternalStore$2;
174
+ useSyncExternalStoreShim_development.useSyncExternalStore =
175
+ void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
176
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
177
+ "function" ===
178
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
179
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
180
+ })();
181
+ return useSyncExternalStoreShim_development;
182
+ }
183
+
184
+ var hasRequiredShim;
185
+
186
+ function requireShim () {
187
+ if (hasRequiredShim) return shim.exports;
188
+ hasRequiredShim = 1;
189
+
190
+ if (process.env.NODE_ENV === 'production') {
191
+ shim.exports = requireUseSyncExternalStoreShim_production();
192
+ } else {
193
+ shim.exports = requireUseSyncExternalStoreShim_development();
194
+ }
195
+ return shim.exports;
196
+ }
197
+
198
+ export { requireShim as r };
199
+ //# sourceMappingURL=index39.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index39.js","sources":["../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js","../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n","/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["require$$0","shimModule","require$$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;CAWA,IAAI,KAAK,GAAGA,cAAgB;AAC5B,CAAA,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;GAChB,OAAO,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC1E,CAAA;AACA,CAAA,IAAI,QAAQ,GAAG,UAAU,KAAK,OA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AC,0BAA0B;AACxE,OAAM,8BAA8B,CAAC,0BAA0B,CAAC,KAAK,EAAE,CAAC;AACxE,GAAA,CAAG,GAAG;;;;;;;;;;AC5FN,CAAA,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;GACzCC,IAAA,CAAA,OAAc,GAAGD,0CAAA,EAA4D;AAC/E,CAAA,CAAC,MAAM;GACLC,IAAA,CAAA,OAAc,GAAGC,2CAAA,EAA6D;AAChF,CAAA;;;;;;","x_google_ignoreList":[0,1,2]}
package/dist/index4.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { u as useControllableState, P as Primitive, c as composeEventHandlers } from './index18.js';
3
3
  import { c as createContextScope } from './index19.js';
4
- import { u as useLayoutEffect2 } from './index27.js';
4
+ import { u as useLayoutEffect2 } from './index28.js';
5
5
  import { u as useComposedRefs } from './index11.js';
6
6
  import { P as Presence } from './index21.js';
7
7
  import { u as useId } from './index23.js';
@@ -0,0 +1,39 @@
1
+ export interface ConfirmAlert {
2
+ type: 'default' | 'destructive' | 'warning' | 'success' | 'info';
3
+ text: string;
4
+ }
5
+ export interface ConfirmOptions {
6
+ title?: string;
7
+ description?: string;
8
+ confirmLabel?: string;
9
+ cancelLabel?: string;
10
+ variant?: 'default' | 'destructive';
11
+ alert?: ConfirmAlert;
12
+ }
13
+ interface ResolvedConfirmOptions {
14
+ title: string;
15
+ description: string;
16
+ confirmLabel: string;
17
+ cancelLabel: string;
18
+ variant: 'default' | 'destructive';
19
+ alert?: ConfirmAlert;
20
+ }
21
+ export type ConfirmFn = (options?: ConfirmOptions) => Promise<boolean>;
22
+ interface ConfirmState {
23
+ open: boolean;
24
+ options: ResolvedConfirmOptions;
25
+ }
26
+ interface ConfirmStore {
27
+ getSnapshot: () => ConfirmState;
28
+ subscribe: (listener: () => void) => () => void;
29
+ confirm: ConfirmFn;
30
+ cancel: () => void;
31
+ accept: () => void;
32
+ }
33
+ export declare function getConfirmStore(): ConfirmStore;
34
+ export declare const ConfirmHost: {
35
+ (): import("react/jsx-runtime").JSX.Element;
36
+ displayName: string;
37
+ };
38
+ export {};
39
+ //# sourceMappingURL=ConfirmHost.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmHost.d.ts","sourceRoot":"","sources":["../../../../lib/components/ConfirmHost/ConfirmHost.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IACjE,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;AAED,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,SAAS,GAAG,aAAa,CAAC;IACnC,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;AAUD,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAEvE,UAAU,YAAY;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,UAAU,YAAY;IACpB,WAAW,EAAE,MAAM,YAAY,CAAC;IAChC,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;IAChD,OAAO,EAAE,SAAS,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAuCD,wBAAgB,eAAe,IAAI,YAAY,CAI9C;AAED,eAAO,MAAM,WAAW;;;CAoCvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { type ConfirmAlert, type ConfirmFn, ConfirmHost, type ConfirmOptions } from './ConfirmHost';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ConfirmHost/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableImportDialog.d.ts","sourceRoot":"","sources":["../../../../../lib/components/DataTable/components/DataTableImportDialog.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQ7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAqBnD,UAAU,0BAA0B;IAClC,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AA0ND,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,OAAO,EACP,UAAU,EACV,cAAc,EACd,QAAQ,EACR,SAAS,GACV,EAAE,0BAA0B,2CAoE5B;yBA3Ee,qBAAqB"}
1
+ {"version":3,"file":"DataTableImportDialog.d.ts","sourceRoot":"","sources":["../../../../../lib/components/DataTable/components/DataTableImportDialog.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQ7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAqBnD,UAAU,0BAA0B;IAClC,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AA0ND,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,OAAO,EACP,UAAU,EACV,cAAc,EACd,QAAQ,EACR,SAAS,GACV,EAAE,0BAA0B,2CAqE5B;yBA5Ee,qBAAqB"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableViewTabs.d.ts","sourceRoot":"","sources":["../../../../../lib/components/DataTable/components/DataTableViewTabs.tsx"],"names":[],"mappings":"AAaA,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,kDAyI3D;yBAzIe,iBAAiB"}
1
+ {"version":3,"file":"DataTableViewTabs.d.ts","sourceRoot":"","sources":["../../../../../lib/components/DataTable/components/DataTableViewTabs.tsx"],"names":[],"mappings":"AAcA,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,kDA0I3D;yBA1Ie,iBAAiB"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableViewsMenu.d.ts","sourceRoot":"","sources":["../../../../../lib/components/DataTable/components/DataTableViewsMenu.tsx"],"names":[],"mappings":"AAkCA,UAAU,oBAAoB;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAKD,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,oBAAoB,2CA8ClF;AAuJD,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,2CA4HvE;yBA5He,kBAAkB"}
1
+ {"version":3,"file":"DataTableViewsMenu.d.ts","sourceRoot":"","sources":["../../../../../lib/components/DataTable/components/DataTableViewsMenu.tsx"],"names":[],"mappings":"AAmCA,UAAU,oBAAoB;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAKD,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,oBAAoB,2CA0DlF;AAoKD,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,2CA4HvE;yBA5He,kBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"RowActions.d.ts","sourceRoot":"","sources":["../../../../../lib/components/DataTable/components/RowActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC5B,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,IAAI,KAAK,KAAK,CAAC,SAAS,CAAC;KACjD,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA0ED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmChD,CAAC"}
1
+ {"version":3,"file":"RowActions.d.ts","sourceRoot":"","sources":["../../../../../lib/components/DataTable/components/RowActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC5B,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,IAAI,KAAK,KAAK,CAAC,SAAS,CAAC;KACjD,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA4ED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmChD,CAAC"}
@@ -1,30 +1,28 @@
1
- import { UseMutationResult } from '@tanstack/react-query';
1
+ import { LucideIcon } from 'lucide-react';
2
2
  import { default as React } from 'react';
3
- import { FieldValues, UseFormReturn } from 'react-hook-form';
4
3
  import { DialogHandle } from '../../hooks/useDialog';
5
- import { FieldMapping } from '../../utils/formHelpers';
6
- import { FormProps } from '../Form';
7
- export interface DialogProps<TFieldValues extends FieldValues = FieldValues, TContext = unknown, TTransformedValues extends FieldValues | undefined = TFieldValues, TMutationData = unknown, TMutationError = Error, TMutationVariables = unknown> {
4
+ export interface DialogActionsProps {
5
+ children: React.ReactNode;
6
+ className?: string;
7
+ }
8
+ export declare function DialogActions({ children, className }: DialogActionsProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare namespace DialogActions {
10
+ var displayName: string;
11
+ }
12
+ export interface DialogProps {
8
13
  handle: DialogHandle;
9
14
  anchor?: (open: () => void) => React.ReactNode;
10
15
  content?: (close: () => void) => React.ReactNode;
11
16
  trigger?: React.ReactNode;
12
- title?: React.ReactNode;
13
- description?: React.ReactNode;
17
+ icon: LucideIcon;
18
+ iconVariant?: 'default' | 'destructive' | 'warning';
19
+ title: React.ReactNode;
20
+ description: React.ReactNode;
14
21
  badgeSlot?: React.ReactNode;
15
22
  children?: React.ReactNode;
16
- footer?: React.ReactNode;
17
23
  className?: string;
18
- mode?: 'default' | 'form';
19
- form?: UseFormReturn<TFieldValues, TContext, TTransformedValues>;
20
- mutation?: UseMutationResult<TMutationData, TMutationError, TMutationVariables, unknown>;
21
- onFormSubmit?: FormProps<TFieldValues, TContext, TTransformedValues>['onSubmit'];
22
- transformSubmit?: FormProps<TFieldValues, TContext, TTransformedValues, TMutationData, TMutationError, TMutationVariables>['transformSubmit'];
23
- submitLabel?: string;
24
- cancelLabel?: string;
25
- fieldMapping?: FieldMapping;
26
24
  }
27
- export declare function Dialog<TFieldValues extends FieldValues = FieldValues, TContext = unknown, TTransformedValues extends FieldValues | undefined = TFieldValues, TMutationData = unknown, TMutationError = Error, TMutationVariables = unknown>({ handle, anchor, content, trigger, title, description, badgeSlot, children, footer, className, mode, form, mutation, onFormSubmit, transformSubmit, submitLabel, cancelLabel, fieldMapping, }: DialogProps<TFieldValues, TContext, TTransformedValues, TMutationData, TMutationError, TMutationVariables>): import("react/jsx-runtime").JSX.Element;
25
+ export declare function Dialog({ handle, anchor, content, trigger, icon: Icon, iconVariant, title, description, badgeSlot, children, className, }: DialogProps): import("react/jsx-runtime").JSX.Element;
28
26
  export declare namespace Dialog {
29
27
  var displayName: string;
30
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../lib/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAUlE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,WAAW,WAAW,CAC1B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,QAAQ,GAAG,OAAO,EAClB,kBAAkB,SAAS,WAAW,GAAG,SAAS,GAAG,YAAY,EACjE,aAAa,GAAG,OAAO,EACvB,cAAc,GAAG,KAAK,EACtB,kBAAkB,GAAG,OAAO;IAG5B,MAAM,EAAE,YAAY,CAAC;IAErB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,IAAI,KAAK,KAAK,CAAC,SAAS,CAAC;IAE/C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,IAAI,KAAK,KAAK,CAAC,SAAS,CAAC;IAEjD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CA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ACP,IAAI,EAAE,IAAI,EACV,WAAuB,EACvB,KAAK,EACL,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,GACV,EAAE,WAAW,2CA6Cb;yBAzDe,MAAM"}
@@ -1,3 +1,3 @@
1
- export type { DialogProps } from './Dialog';
2
- export { Dialog } from './Dialog';
1
+ export type { DialogActionsProps, DialogProps } from './Dialog';
2
+ export { Dialog, DialogActions } from './Dialog';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Dialog/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Dialog/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC"}
@@ -56,12 +56,12 @@ export interface CustomMenuItem {
56
56
  }
57
57
  export interface DialogMenuItem extends MenuItemBase {
58
58
  type: 'dialog';
59
+ icon: LucideIcon;
59
60
  dialog: {
60
61
  title: string;
61
- description?: string;
62
+ description: string;
62
63
  badgeSlot?: ReactNode;
63
64
  content?: (close: () => void) => ReactNode;
64
- footer?: ReactNode;
65
65
  };
66
66
  }
67
67
  export type MenuItem = StandardMenuItem | CheckboxMenuItem | RadioGroupMenuItem | SubMenuItem | SeparatorItem | LabelItem | GroupItem | CustomMenuItem | DialogMenuItem;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../lib/components/DropdownMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MA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AiB,CAAC,aAAa,EAAE,cAAc,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IAMzF,eAAe,CAAC,EAAE,CAChB,IAAI,EAAE,kBAAkB,SAAS,SAAS,GAAG,YAAY,GAAG,kBAAkB,KAC3E,kBAAkB,CAAC;IAOxB,cAAc,CAAC,EAAE,OAAO,CAAC;IAMzB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAgCD,wBAAgB,IAAI,CAClB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,QAAQ,GAAG,GAAG,EACd,kBAAkB,SAAS,WAAW,GAAG,SAAS,GAAG,YAAY,EACjE,aAAa,GAAG,OAAO,EACvB,cAAc,GAAG,KAAK,EACtB,kBAAkB,GAAG,GAAG,EACxB,EACA,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,iBAA4B,EAC5B,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,cAAc,EACd,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,kBAAkB,CAAC,2CAqG1G;yBA1He,IAAI"}
@@ -9,6 +9,7 @@ export * from './Card';
9
9
  export * from './Checkbox';
10
10
  export * from './CheckboxGroup';
11
11
  export * from './Collapsible';
12
+ export * from './ConfirmHost';
12
13
  export * from './CurrencyField';
13
14
  export * from './DangerZone';
14
15
  export * from './DataTable';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,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AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC"}
@@ -1,4 +1,3 @@
1
- export { ConfirmContext, type ConfirmContextValue, type ConfirmOptions, ConfirmProvider, type ConfirmProviderProps, } from './ConfirmContext';
2
1
  export { type LayoutMode, LayoutModeProvider, useLayoutMode } from './LayoutModeContext';
3
2
  export { ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, } from './ThemeContext';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,UAAU,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ConfirmContextValue } from '../context/ConfirmContext';
2
- export type { ConfirmOptions } from '../context/ConfirmContext';
3
- export declare function useConfirm(): ConfirmContextValue['confirm'];
1
+ import { ConfirmFn } from '../components/ConfirmHost/ConfirmHost';
2
+ export type { ConfirmOptions } from '../components/ConfirmHost/ConfirmHost';
3
+ export declare function useConfirm(): ConfirmFn;
4
4
  //# sourceMappingURL=useConfirm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useConfirm.d.ts","sourceRoot":"","sources":["../../../lib/hooks/useConfirm.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAErF,YAAY,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGhE,wBAAgB,UAAU,IAAI,mBAAmB,CAAC,SAAS,CAAC,CAO3D"}
1
+ {"version":3,"file":"useConfirm.d.ts","sourceRoot":"","sources":["../../../lib/hooks/useConfirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,uCAAuC,CAAC;AAExF,YAAY,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAE5E,wBAAgB,UAAU,IAAI,SAAS,CAEtC"}
package/dist/trash-2.js CHANGED
@@ -8,7 +8,7 @@ import { c as createLucideIcon } from './createLucideIcon.js';
8
8
  */
9
9
 
10
10
 
11
- const __iconNode$1 = [
11
+ const __iconNode$2 = [
12
12
  [
13
13
  "path",
14
14
  {
@@ -18,7 +18,21 @@ const __iconNode$1 = [
18
18
  ],
19
19
  ["path", { d: "m15 5 4 4", key: "1mk7zo" }]
20
20
  ];
21
- const Pencil = createLucideIcon("pencil", __iconNode$1);
21
+ const Pencil = createLucideIcon("pencil", __iconNode$2);
22
+
23
+ /**
24
+ * @license lucide-react v0.562.0 - ISC
25
+ *
26
+ * This source code is licensed under the ISC license.
27
+ * See the LICENSE file in the root directory of this source tree.
28
+ */
29
+
30
+
31
+ const __iconNode$1 = [
32
+ ["path", { d: "M5 12h14", key: "1ays0h" }],
33
+ ["path", { d: "M12 5v14", key: "s699le" }]
34
+ ];
35
+ const Plus = createLucideIcon("plus", __iconNode$1);
22
36
 
23
37
  /**
24
38
  * @license lucide-react v0.562.0 - ISC
@@ -37,5 +51,5 @@ const __iconNode = [
37
51
  ];
38
52
  const Trash2 = createLucideIcon("trash-2", __iconNode);
39
53
 
40
- export { Pencil as P, Trash2 as T };
54
+ export { Pencil as P, Trash2 as T, Plus as a };
41
55
  //# sourceMappingURL=trash-2.js.map