@ai-matrx/design-system 0.14.2 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/README.md +26 -0
- package/dist/data-table/copy-helpers.cjs +149 -0
- package/dist/data-table/copy-helpers.cjs.map +1 -0
- package/dist/data-table/copy-helpers.d.cts +31 -0
- package/dist/data-table/copy-helpers.d.ts +31 -0
- package/dist/data-table/copy-helpers.js +127 -0
- package/dist/data-table/copy-helpers.js.map +1 -0
- package/dist/data-table/copy-types.cjs +19 -0
- package/dist/data-table/copy-types.cjs.map +1 -0
- package/dist/data-table/copy-types.d.cts +137 -0
- package/dist/data-table/copy-types.d.ts +137 -0
- package/dist/data-table/copy-types.js +1 -0
- package/dist/data-table/copy-types.js.map +1 -0
- package/dist/data-table/data-row-inspector.cjs +1016 -0
- package/dist/data-table/data-row-inspector.cjs.map +1 -0
- package/dist/data-table/data-row-inspector.d.cts +34 -0
- package/dist/data-table/data-row-inspector.d.ts +34 -0
- package/dist/data-table/data-row-inspector.js +988 -0
- package/dist/data-table/data-row-inspector.js.map +1 -0
- package/dist/data-table/data-row-window.cjs +1136 -0
- package/dist/data-table/data-row-window.cjs.map +1 -0
- package/dist/data-table/data-row-window.d.cts +29 -0
- package/dist/data-table/data-row-window.d.ts +29 -0
- package/dist/data-table/data-row-window.js +1110 -0
- package/dist/data-table/data-row-window.js.map +1 -0
- package/dist/data-table/filter-engine.cjs +314 -0
- package/dist/data-table/filter-engine.cjs.map +1 -0
- package/dist/data-table/filter-engine.d.cts +35 -0
- package/dist/data-table/filter-engine.d.ts +35 -0
- package/dist/data-table/filter-engine.js +292 -0
- package/dist/data-table/filter-engine.js.map +1 -0
- package/dist/data-table/host.cjs +40 -0
- package/dist/data-table/host.cjs.map +1 -0
- package/dist/data-table/host.d.cts +73 -0
- package/dist/data-table/host.d.ts +73 -0
- package/dist/data-table/host.js +20 -0
- package/dist/data-table/host.js.map +1 -0
- package/dist/data-table/index.cjs +6865 -0
- package/dist/data-table/index.cjs.map +1 -0
- package/dist/data-table/index.d.cts +27 -0
- package/dist/data-table/index.d.ts +27 -0
- package/dist/data-table/index.js +6869 -0
- package/dist/data-table/index.js.map +1 -0
- package/dist/data-table/infer-filter.cjs +114 -0
- package/dist/data-table/infer-filter.cjs.map +1 -0
- package/dist/data-table/infer-filter.d.cts +17 -0
- package/dist/data-table/infer-filter.d.ts +17 -0
- package/dist/data-table/infer-filter.js +92 -0
- package/dist/data-table/infer-filter.js.map +1 -0
- package/dist/data-table/layered-filters.cjs +249 -0
- package/dist/data-table/layered-filters.cjs.map +1 -0
- package/dist/data-table/layered-filters.d.cts +3 -0
- package/dist/data-table/layered-filters.d.ts +3 -0
- package/dist/data-table/layered-filters.js +229 -0
- package/dist/data-table/layered-filters.js.map +1 -0
- package/dist/data-table/pagination.cjs +595 -0
- package/dist/data-table/pagination.cjs.map +1 -0
- package/dist/data-table/pagination.d.cts +34 -0
- package/dist/data-table/pagination.d.ts +34 -0
- package/dist/data-table/pagination.js +563 -0
- package/dist/data-table/pagination.js.map +1 -0
- package/dist/data-table/query-control.cjs +129 -0
- package/dist/data-table/query-control.cjs.map +1 -0
- package/dist/data-table/query-control.d.cts +32 -0
- package/dist/data-table/query-control.d.ts +32 -0
- package/dist/data-table/query-control.js +107 -0
- package/dist/data-table/query-control.js.map +1 -0
- package/dist/data-table/scroll-pagination.cjs +222 -0
- package/dist/data-table/scroll-pagination.cjs.map +1 -0
- package/dist/data-table/scroll-pagination.d.cts +37 -0
- package/dist/data-table/scroll-pagination.d.ts +37 -0
- package/dist/data-table/scroll-pagination.js +202 -0
- package/dist/data-table/scroll-pagination.js.map +1 -0
- package/dist/data-table/types.cjs +19 -0
- package/dist/data-table/types.cjs.map +1 -0
- package/dist/data-table/types.d.cts +3 -0
- package/dist/data-table/types.d.ts +3 -0
- package/dist/data-table/types.js +1 -0
- package/dist/data-table/types.js.map +1 -0
- package/dist/data-table/url-state.cjs +201 -0
- package/dist/data-table/url-state.cjs.map +1 -0
- package/dist/data-table/url-state.d.cts +33 -0
- package/dist/data-table/url-state.d.ts +33 -0
- package/dist/data-table/url-state.js +184 -0
- package/dist/data-table/url-state.js.map +1 -0
- package/dist/data-table/uuid-cell.cjs +371 -0
- package/dist/data-table/uuid-cell.cjs.map +1 -0
- package/dist/data-table/uuid-cell.d.cts +31 -0
- package/dist/data-table/uuid-cell.d.ts +31 -0
- package/dist/data-table/uuid-cell.js +345 -0
- package/dist/data-table/uuid-cell.js.map +1 -0
- package/dist/data-table/xlsx.cjs +100 -0
- package/dist/data-table/xlsx.cjs.map +1 -0
- package/dist/data-table/xlsx.d.cts +16 -0
- package/dist/data-table/xlsx.d.ts +16 -0
- package/dist/data-table/xlsx.js +70 -0
- package/dist/data-table/xlsx.js.map +1 -0
- package/dist/index.cjs +10 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +22 -0
- package/dist/types-ClaxTaXq.d.ts +798 -0
- package/dist/types-XXbVB1sh.d.cts +798 -0
- package/package.json +164 -1
package/dist/index.d.cts
CHANGED
|
@@ -552,10 +552,9 @@ interface ConfirmDialogProps {
|
|
|
552
552
|
*/
|
|
553
553
|
description?: React.ReactNode | undefined;
|
|
554
554
|
/**
|
|
555
|
-
* Rich body rendered between the header and the footer
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
* `description`.
|
|
555
|
+
* Rich body rendered between the header and the footer. Use it for
|
|
556
|
+
* supplementary or interactive content that is not part of the dialog's
|
|
557
|
+
* accessible consequence description.
|
|
559
558
|
*/
|
|
560
559
|
content?: React.ReactNode | undefined;
|
|
561
560
|
/** Extra classes for the dialog content (e.g. a wider max-w for diffs). */
|
package/dist/index.d.ts
CHANGED
|
@@ -552,10 +552,9 @@ interface ConfirmDialogProps {
|
|
|
552
552
|
*/
|
|
553
553
|
description?: React.ReactNode | undefined;
|
|
554
554
|
/**
|
|
555
|
-
* Rich body rendered between the header and the footer
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
* `description`.
|
|
555
|
+
* Rich body rendered between the header and the footer. Use it for
|
|
556
|
+
* supplementary or interactive content that is not part of the dialog's
|
|
557
|
+
* accessible consequence description.
|
|
559
558
|
*/
|
|
560
559
|
content?: React.ReactNode | undefined;
|
|
561
560
|
/** Extra classes for the dialog content (e.g. a wider max-w for diffs). */
|
package/dist/index.js
CHANGED
|
@@ -319,7 +319,9 @@ import { Drawer as DrawerPrimitive } from "vaul";
|
|
|
319
319
|
// src/radix-dialog-modal-context.tsx
|
|
320
320
|
import * as React2 from "react";
|
|
321
321
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
322
|
-
var
|
|
322
|
+
var CONTEXT_SLOT = /* @__PURE__ */ Symbol.for("ai-matrx.design-system.dialog-modal-context");
|
|
323
|
+
var contextRegistry = globalThis;
|
|
324
|
+
var RadixDialogModalContext = contextRegistry[CONTEXT_SLOT] ??= React2.createContext(true);
|
|
323
325
|
function RadixDialogModalProvider({
|
|
324
326
|
children,
|
|
325
327
|
modal
|
|
@@ -766,9 +768,9 @@ var FORBIDDEN_HOST_MOTION_UTILITIES = [
|
|
|
766
768
|
// src/portal-container.tsx
|
|
767
769
|
import * as React6 from "react";
|
|
768
770
|
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
769
|
-
var
|
|
770
|
-
|
|
771
|
-
);
|
|
771
|
+
var CONTEXT_SLOT2 = /* @__PURE__ */ Symbol.for("ai-matrx.design-system.portal-container-context");
|
|
772
|
+
var contextRegistry2 = globalThis;
|
|
773
|
+
var PortalContainerContext = contextRegistry2[CONTEXT_SLOT2] ??= React6.createContext(void 0);
|
|
772
774
|
function PortalContainerProvider({
|
|
773
775
|
container,
|
|
774
776
|
children
|
|
@@ -1361,7 +1363,7 @@ function ConfirmDialog({
|
|
|
1361
1363
|
children: [
|
|
1362
1364
|
/* @__PURE__ */ jsxs7(AlertDialogHeader, { children: [
|
|
1363
1365
|
/* @__PURE__ */ jsx16(AlertDialogTitle, { children: title }),
|
|
1364
|
-
description ? /* @__PURE__ */ jsx16(AlertDialogDescription, { children: description }) : null
|
|
1366
|
+
description ? /* @__PURE__ */ jsx16(AlertDialogDescription, { asChild: true, children: /* @__PURE__ */ jsx16("div", { children: description }) }) : null
|
|
1365
1367
|
] }),
|
|
1366
1368
|
content ?? null,
|
|
1367
1369
|
/* @__PURE__ */ jsxs7(AlertDialogFooter, { children: [
|
|
@@ -1890,7 +1892,9 @@ var DialogPortal = ({
|
|
|
1890
1892
|
return /* @__PURE__ */ jsx21(DialogPrimitive2.Portal, { container: resolved ?? null, ...props });
|
|
1891
1893
|
};
|
|
1892
1894
|
DialogPortal.displayName = "DialogPortal";
|
|
1893
|
-
var
|
|
1895
|
+
var CONTEXT_SLOT3 = /* @__PURE__ */ Symbol.for("ai-matrx.design-system.dialog-container-context");
|
|
1896
|
+
var contextRegistry3 = globalThis;
|
|
1897
|
+
var DialogContainerContext = contextRegistry3[CONTEXT_SLOT3] ??= React17.createContext(null);
|
|
1894
1898
|
var useDialogContainer = () => React17.useContext(DialogContainerContext);
|
|
1895
1899
|
var DialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
1896
1900
|
DialogPrimitive2.Overlay,
|