@nxgt/material 3.10.2 → 3.12.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.
- package/CHANGELOG.md +96 -0
- package/README.md +10 -11
- package/dist/{async-slice-DDjaJY_F.js → async-slice-4qbER86I.js} +1 -1
- package/dist/button-BNjw-pnE.js +327 -0
- package/dist/button-group-context-CaP0X5p_.js +5 -0
- package/dist/{button-tones-BgZJ1tkD.js → button-tones-BwuVvAmd.js} +9 -1
- package/dist/{callout-view-DdJPdFrP.js → callout-view-C6voDS00.js} +1 -1
- package/dist/charts.js +5 -5
- package/dist/{chip-DpySRqCy.js → chip-DLgQTJBZ.js} +4 -4
- package/dist/{code-editor-BiA14xua.js → code-editor-BZbaYLvo.js} +8 -8
- package/dist/code-editor.js +7 -7
- package/dist/{code-language-items-C_dJ6GVs.js → code-language-items-BT5BO5w6.js} +2 -2
- package/dist/components/base.css +21 -6
- package/dist/components/components.css +6 -2
- package/dist/components/type-scale.css +194 -0
- package/dist/components/ui/actions/button/button.css +156 -0
- package/dist/components/ui/actions/button-group/button-group-standard.css +131 -0
- package/dist/components/ui/actions/button-group/button-group.css +4 -1
- package/dist/components/ui/actions/icon-button/icon-button.css +115 -0
- package/dist/components/ui/actions/morph-fill.css +62 -0
- package/dist/components/ui/feedback/toast/toast-expressive.css +17 -0
- package/dist/components/ui/layout/app-shell/activity-backdrop-shapes.css +49 -0
- package/dist/components/ui/layout/app-shell/activity-backdrop.css +0 -17
- package/dist/components/ui/layout/sidebar/sidebar-tokens.css +7 -2
- package/dist/{components-BkF9N-Yx.js → components-yx1t_5_P.js} +13740 -13422
- package/dist/components.js +24 -24
- package/dist/{dialog-CkIYpJXk.js → dialog-BQp5IdFl.js} +147 -147
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-BC5Tbhb9.js → dropdown-menu-BsH9W_3C.js} +3 -3
- package/dist/editor-viewer.js +1 -1
- package/dist/editor.js +13 -13
- package/dist/{empty-state-SeAg2TOX.js → empty-state-WaU4-T2c.js} +5 -5
- package/dist/escape-owner-C4W_sOAU.js +116 -0
- package/dist/{field-blur-DPLsMufs.js → field-blur-CJHzVSh9.js} +1 -1
- package/dist/{field-blur-context-1ZwJgsHE.js → field-blur-context-Cft9s7Hg.js} +2 -2
- package/dist/{hover-card-Cox-tPDz.js → hover-card-C0fw2kLK.js} +72 -71
- package/dist/i18n.js +12 -12
- package/dist/{icon-badge-q3Ve8gra.js → icon-badge-DUAq9f7H.js} +4 -4
- package/dist/icon-button-ifTpXt0A.js +355 -0
- package/dist/{illustration-BfHRpVzM.js → illustration-BmQmvW_4.js} +1 -1
- package/dist/illustrations.js +2 -2
- package/dist/lib/components/ui/actions/button/button-tones.d.ts +16 -0
- package/dist/lib/components/ui/actions/button/button.d.ts +13 -0
- package/dist/lib/components/ui/actions/button/button.variants.d.ts +4 -3
- package/dist/lib/components/ui/actions/button-group/button-group-context.d.ts +16 -0
- package/dist/lib/components/ui/actions/button-group/button-group-reset.d.ts +13 -0
- package/dist/lib/components/ui/actions/button-group/button-group.d.ts +19 -2
- package/dist/lib/components/ui/actions/icon-button/icon-button-shape.d.ts +3 -2
- package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +18 -4
- package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +34 -4
- package/dist/lib/components/ui/display/badge/badge.d.ts +7 -2
- package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +9 -1
- package/dist/lib/components/ui/display/entity-header/entity-stats.d.ts +16 -0
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-actions.d.ts +6 -0
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-body.d.ts +14 -0
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-icon.d.ts +6 -0
- package/dist/lib/components/ui/display/entity-header/partials/shown.d.ts +2 -0
- package/dist/lib/components/ui/display/list-tile/list-tile.d.ts +8 -1
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-body.d.ts +2 -1
- package/dist/lib/components/ui/display/stat-card/index.d.ts +1 -1
- package/dist/lib/components/ui/display/stat-card/partials/stat-card-compact.d.ts +12 -0
- package/dist/lib/components/ui/display/stat-card/stat-card-classes.d.ts +3 -2
- package/dist/lib/components/ui/display/stat-card/stat-card.d.ts +2 -2
- package/dist/lib/components/ui/display/stat-card/types.d.ts +9 -0
- package/dist/lib/components/ui/feedback/alert/alert-variants.d.ts +18 -0
- package/dist/lib/components/ui/feedback/alert/alert.d.ts +2 -6
- package/dist/lib/components/ui/feedback/typing-indicator/typing-indicator.d.ts +1 -1
- package/dist/lib/components/ui/fields/slider/split-slider-props.d.ts +1 -1
- package/dist/lib/components/ui/fields/slider/use-slider-control.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/activity-column.d.ts +17 -0
- package/dist/lib/components/ui/layout/app-shell/activity-layout.d.ts +3 -106
- package/dist/lib/components/ui/layout/app-shell/activity-layout.types.d.ts +113 -0
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +2 -1
- package/dist/lib/components/ui/layout/app-shell/app-sidebar-icon-item.d.ts +13 -0
- package/dist/lib/components/ui/layout/app-shell/app-sidebar-label-item.d.ts +11 -0
- package/dist/lib/components/ui/layout/app-shell/keep-shapes-inside.d.ts +6 -0
- package/dist/lib/components/ui/layout/app-shell/observe-layout.d.ts +11 -0
- package/dist/lib/components/ui/layout/app-shell/shape-units.d.ts +16 -0
- package/dist/lib/components/ui/layout/app-shell/shapes-clear-content.d.ts +13 -0
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +10 -0
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +19 -0
- package/dist/lib/components/ui/overlays/dialog/dialog-variants.d.ts +1 -1
- package/dist/lib/components/ui/primitives/toggle/toggle.d.ts +1 -1
- package/dist/lib/components/ui/primitives/typography/typography.d.ts +17 -7
- package/dist/lib/components/ui/primitives/typography/typography.variants.d.ts +55 -0
- package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +2 -2
- package/dist/lib/components/ui/tones.d.ts +1 -1
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +2 -2
- package/dist/{line-path-BQeLQZ-P.js → line-path-C5pZGC49.js} +1 -1
- package/dist/main.js +29 -29
- package/dist/map.js +9 -9
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +1 -1
- package/dist/{public-CtpsxV4I.js → public-B0Nq_yYV.js} +524 -524
- package/dist/{render-json-DyFYFIkZ.js → render-json-BOhvPnSv.js} +1 -1
- package/dist/{rich-code-block-C2Fp_FDU.js → rich-code-block-v7WmeZp9.js} +5 -5
- package/dist/{rich-text-viewer-LO1IZCWs.js → rich-text-viewer-W15XIwah.js} +2 -2
- package/dist/{skeleton-Bmp4gWAH.js → skeleton-DSdtr2qc.js} +1 -1
- package/dist/{sortable-provider-pVaEZzty.js → sortable-provider-CgDTolQR.js} +3 -3
- package/dist/{spinner-CsHcmcpF.js → spinner-BtSIYVrC.js} +3 -3
- package/dist/{state-scenes-SGNyZjTz.js → state-scenes-BX03WmSu.js} +1 -1
- package/dist/styles.css +2 -0
- package/dist/theme-picker.js +3 -3
- package/dist/{theme-toggle-oU-fh6WE.js → theme-toggle-B2Pehdhn.js} +2 -2
- package/dist/{toggle-group-j8zaxEg1.js → toggle-group-BMJNcFAC.js} +1 -1
- package/dist/{toolbar-items-CqHvlTU8.js → toolbar-items-rUHdVqAq.js} +399 -398
- package/dist/{tooltip-rhbqNmr3.js → tooltip-CkttDIab.js} +1 -1
- package/dist/{translate-material-CGZljjp1.js → translate-material-Bd_KgfB8.js} +1 -1
- package/dist/{translator-DCYO4Ij3.js → translator-Dje8HrNz.js} +5 -5
- package/dist/{use-chat-composer-nWWfVyrK.js → use-chat-composer-B0_STpQN.js} +4173 -4173
- package/dist/{use-material-translation-DkxcLbLM.js → use-material-translation-B3V_bz-5.js} +1 -1
- package/dist/{utils-Bcd2Z3ea.js → utils-BLfntITJ.js} +14 -1
- package/docs/components/buttons-and-actions.md +64 -15
- package/docs/components/data-display.md +40 -9
- package/docs/components/feedback-and-status.md +12 -1
- package/docs/components/navigation-and-layout.md +4 -3
- package/docs/components/primitives.md +52 -10
- package/docs/guides/app-shell.md +52 -8
- package/docs/guides/backgrounds.md +2 -0
- package/docs/guides/theming.md +55 -3
- package/docs/previews/buttons-actions-button.webp +0 -0
- package/docs/previews/buttons-actions-iconbutton.webp +0 -0
- package/docs/previews/data-display-badge.webp +0 -0
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/previews/data-display-listtile.webp +0 -0
- package/docs/previews/data-display-statcard.webp +0 -0
- package/docs/previews/feedback-status-banner.webp +0 -0
- package/docs/previews/navigation-layout-appshell-footer-icon.webp +0 -0
- package/docs/previews/navigation-layout-appshell-menu-badge.webp +0 -0
- package/docs/previews/navigation-layout-appshell.webp +0 -0
- package/docs/previews/navigation-layout-sidebar.webp +0 -0
- package/docs/previews/primitives-typography.webp +0 -0
- package/docs/roadmap.md +53 -4
- package/docs/troubleshooting.md +75 -4
- package/lib/components/base.css +21 -6
- package/lib/components/components.css +6 -2
- package/lib/components/type-scale.css +194 -0
- package/lib/components/ui/actions/button/button.css +156 -0
- package/lib/components/ui/actions/button-group/button-group-standard.css +131 -0
- package/lib/components/ui/actions/button-group/button-group.css +4 -1
- package/lib/components/ui/actions/icon-button/icon-button.css +115 -0
- package/lib/components/ui/actions/morph-fill.css +62 -0
- package/lib/components/ui/feedback/toast/toast-expressive.css +17 -0
- package/lib/components/ui/layout/app-shell/activity-backdrop-shapes.css +49 -0
- package/lib/components/ui/layout/app-shell/activity-backdrop.css +0 -17
- package/lib/components/ui/layout/sidebar/sidebar-tokens.css +7 -2
- package/lib/styles.css +2 -0
- package/package.json +2 -1
- package/dist/button-DbfdITBB.js +0 -322
- package/dist/components/ui/actions/icon-button/icon-button-morph-media.css +0 -65
- package/dist/components/ui/actions/icon-button/icon-button-morph.css +0 -152
- package/dist/escape-owner-CripBce_.js +0 -57
- package/dist/icon-button-DJcWpIhu.js +0 -319
- package/lib/components/ui/actions/icon-button/icon-button-morph-media.css +0 -65
- package/lib/components/ui/actions/icon-button/icon-button-morph.css +0 -152
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { t as e } from "./utils-
|
|
1
|
+
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t, r as n } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { a as r, c as i, i as a, l as o, o as s, r as c, s as l } from "./dist-lmHmz_bu.js";
|
|
4
|
-
import { S as u, b as d, o as f, x as p } from "./tooltip-
|
|
4
|
+
import { S as u, b as d, o as f, x as p } from "./tooltip-CkttDIab.js";
|
|
5
5
|
import { c as m, i as h, l as g, o as ee, r as _, s as te, t as ne } from "./in-dialog-Vwkyp-M5.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as
|
|
8
|
-
import { r as
|
|
9
|
-
import { X as
|
|
10
|
-
import * as
|
|
11
|
-
import { useCallback as
|
|
12
|
-
import { Fragment as
|
|
13
|
-
import { forwardEscape as
|
|
6
|
+
import { t as re } from "./use-material-translation-B3V_bz-5.js";
|
|
7
|
+
import { n as ie } from "./icon-button-ifTpXt0A.js";
|
|
8
|
+
import { o as ae, r as oe } from "./escape-owner-C4W_sOAU.js";
|
|
9
|
+
import { X as se } from "lucide-react";
|
|
10
|
+
import * as v from "react";
|
|
11
|
+
import { useCallback as ce, useContext as le, useRef as y } from "react";
|
|
12
|
+
import { Fragment as ue, jsx as b, jsxs as de } from "react/jsx-runtime";
|
|
13
|
+
import { forwardEscape as fe, keepListEscape as pe } from "@nxgt/material-core/escape-forward";
|
|
14
14
|
//#region ../../node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
15
|
-
var
|
|
15
|
+
var me = Object.defineProperty, x = (e, t) => me(e, "name", {
|
|
16
16
|
value: t,
|
|
17
17
|
configurable: !0
|
|
18
|
-
}),
|
|
19
|
-
let { __scopeDialog: t, children: n, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, l =
|
|
18
|
+
}), S = "Dialog", [C, he] = i(S), [ge, w] = C(S), T = /* @__PURE__ */ x((e) => {
|
|
19
|
+
let { __scopeDialog: t, children: n, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, l = v.useRef(null), u = v.useRef(null), [d, f] = r({
|
|
20
20
|
prop: i,
|
|
21
21
|
defaultProp: a ?? !1,
|
|
22
22
|
onChange: o,
|
|
23
|
-
caller:
|
|
24
|
-
}), [p, m] =
|
|
25
|
-
return /* @__PURE__ */
|
|
23
|
+
caller: S
|
|
24
|
+
}), [p, m] = v.useState(0), [h, g] = v.useState(0);
|
|
25
|
+
return /* @__PURE__ */ b(ge, {
|
|
26
26
|
scope: t,
|
|
27
27
|
triggerRef: l,
|
|
28
28
|
contentRef: u,
|
|
@@ -35,53 +35,53 @@ var fe = Object.defineProperty, S = (e, t) => fe(e, "name", {
|
|
|
35
35
|
setDescriptionCount: g,
|
|
36
36
|
open: d,
|
|
37
37
|
onOpenChange: f,
|
|
38
|
-
onOpenToggle:
|
|
38
|
+
onOpenToggle: v.useCallback(() => f((e) => !e), [f]),
|
|
39
39
|
modal: s,
|
|
40
40
|
children: n
|
|
41
41
|
});
|
|
42
|
-
}, "Dialog"),
|
|
43
|
-
let { __scopeDialog: r, ...i } = e, a =
|
|
44
|
-
return /* @__PURE__ */
|
|
42
|
+
}, "Dialog"), _e = "DialogTrigger", E = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, n) {
|
|
43
|
+
let { __scopeDialog: r, ...i } = e, a = w(_e, r), s = t(n, a.triggerRef);
|
|
44
|
+
return /* @__PURE__ */ b(o.button, {
|
|
45
45
|
type: "button",
|
|
46
46
|
"aria-haspopup": "dialog",
|
|
47
47
|
"aria-expanded": a.open,
|
|
48
48
|
"aria-controls": a.open ? a.contentId : void 0,
|
|
49
|
-
"data-state":
|
|
49
|
+
"data-state": R(a.open),
|
|
50
50
|
...i,
|
|
51
51
|
ref: s,
|
|
52
52
|
onClick: l(e.onClick, a.onOpenToggle)
|
|
53
53
|
});
|
|
54
|
-
}, "DialogTrigger")),
|
|
55
|
-
let { __scopeDialog: t, forceMount: n, children: r, container: i } = e, o =
|
|
56
|
-
return /* @__PURE__ */
|
|
54
|
+
}, "DialogTrigger")), D = "DialogPortal", [ve, O] = C(D, { forceMount: void 0 }), k = /* @__PURE__ */ x((e) => {
|
|
55
|
+
let { __scopeDialog: t, forceMount: n, children: r, container: i } = e, o = w(D, t);
|
|
56
|
+
return /* @__PURE__ */ b(ve, {
|
|
57
57
|
scope: t,
|
|
58
58
|
forceMount: n,
|
|
59
|
-
children:
|
|
59
|
+
children: v.Children.map(r, (e) => /* @__PURE__ */ b(a, {
|
|
60
60
|
present: n || o.open,
|
|
61
|
-
children: /* @__PURE__ */
|
|
61
|
+
children: /* @__PURE__ */ b(d, {
|
|
62
62
|
asChild: !0,
|
|
63
63
|
container: i,
|
|
64
64
|
children: e
|
|
65
65
|
})
|
|
66
66
|
}))
|
|
67
67
|
});
|
|
68
|
-
}, "DialogPortal"),
|
|
69
|
-
let n =
|
|
70
|
-
return o.modal ? /* @__PURE__ */
|
|
68
|
+
}, "DialogPortal"), A = "DialogOverlay", j = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
69
|
+
let n = O(A, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, o = w(A, e.__scopeDialog);
|
|
70
|
+
return o.modal ? /* @__PURE__ */ b(a, {
|
|
71
71
|
present: r || o.open,
|
|
72
|
-
children: /* @__PURE__ */
|
|
72
|
+
children: /* @__PURE__ */ b(be, {
|
|
73
73
|
...i,
|
|
74
74
|
ref: t
|
|
75
75
|
})
|
|
76
76
|
}) : null;
|
|
77
|
-
}, "DialogOverlay")),
|
|
78
|
-
let { __scopeDialog: r, ...i } = e, a =
|
|
79
|
-
return /* @__PURE__ */
|
|
80
|
-
as:
|
|
77
|
+
}, "DialogOverlay")), ye = n("DialogOverlay.RemoveScroll"), be = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, n) {
|
|
78
|
+
let { __scopeDialog: r, ...i } = e, a = w(A, r), s = t(n, u());
|
|
79
|
+
return /* @__PURE__ */ b(te, {
|
|
80
|
+
as: ye,
|
|
81
81
|
allowPinchZoom: !0,
|
|
82
82
|
shards: [a.contentRef],
|
|
83
|
-
children: /* @__PURE__ */
|
|
84
|
-
"data-state":
|
|
83
|
+
children: /* @__PURE__ */ b(o.div, {
|
|
84
|
+
"data-state": R(a.open),
|
|
85
85
|
...i,
|
|
86
86
|
ref: s,
|
|
87
87
|
style: {
|
|
@@ -90,24 +90,24 @@ var fe = Object.defineProperty, S = (e, t) => fe(e, "name", {
|
|
|
90
90
|
}
|
|
91
91
|
})
|
|
92
92
|
});
|
|
93
|
-
}, "DialogOverlayImpl")),
|
|
94
|
-
let n =
|
|
95
|
-
return /* @__PURE__ */
|
|
93
|
+
}, "DialogOverlayImpl")), M = "DialogContent", N = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
94
|
+
let n = O(M, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, o = w(M, e.__scopeDialog);
|
|
95
|
+
return /* @__PURE__ */ b(a, {
|
|
96
96
|
present: r || o.open,
|
|
97
|
-
children: o.modal ? /* @__PURE__ */
|
|
97
|
+
children: o.modal ? /* @__PURE__ */ b(xe, {
|
|
98
98
|
...i,
|
|
99
99
|
ref: t
|
|
100
|
-
}) : /* @__PURE__ */
|
|
100
|
+
}) : /* @__PURE__ */ b(Se, {
|
|
101
101
|
...i,
|
|
102
102
|
ref: t
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
|
-
}, "DialogContent")),
|
|
106
|
-
let r =
|
|
107
|
-
return
|
|
105
|
+
}, "DialogContent")), xe = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, n) {
|
|
106
|
+
let r = w(M, e.__scopeDialog), i = v.useRef(null), a = t(n, r.contentRef, i);
|
|
107
|
+
return v.useEffect(() => {
|
|
108
108
|
let e = i.current;
|
|
109
109
|
if (e) return ee(e);
|
|
110
|
-
}, []), /* @__PURE__ */
|
|
110
|
+
}, []), /* @__PURE__ */ b(P, {
|
|
111
111
|
...e,
|
|
112
112
|
ref: a,
|
|
113
113
|
trapFocus: r.open,
|
|
@@ -121,9 +121,9 @@ var fe = Object.defineProperty, S = (e, t) => fe(e, "name", {
|
|
|
121
121
|
}),
|
|
122
122
|
onFocusOutside: l(e.onFocusOutside, (e) => e.preventDefault())
|
|
123
123
|
});
|
|
124
|
-
}, "DialogContentModal")),
|
|
125
|
-
let n =
|
|
126
|
-
return /* @__PURE__ */
|
|
124
|
+
}, "DialogContentModal")), Se = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
125
|
+
let n = w(M, e.__scopeDialog), r = v.useRef(!1), i = v.useRef(!1);
|
|
126
|
+
return /* @__PURE__ */ b(P, {
|
|
127
127
|
...e,
|
|
128
128
|
ref: t,
|
|
129
129
|
trapFocus: !1,
|
|
@@ -137,69 +137,69 @@ var fe = Object.defineProperty, S = (e, t) => fe(e, "name", {
|
|
|
137
137
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
|
-
}, "DialogContentNonModal")),
|
|
141
|
-
let { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...o } = e, s =
|
|
142
|
-
return m(), /* @__PURE__ */
|
|
140
|
+
}, "DialogContentNonModal")), P = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
141
|
+
let { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...o } = e, s = w(M, n);
|
|
142
|
+
return m(), /* @__PURE__ */ b(ue, { children: /* @__PURE__ */ b(g, {
|
|
143
143
|
asChild: !0,
|
|
144
144
|
loop: !0,
|
|
145
145
|
trapped: r,
|
|
146
146
|
onMountAutoFocus: i,
|
|
147
147
|
onUnmountAutoFocus: a,
|
|
148
|
-
children: /* @__PURE__ */
|
|
148
|
+
children: /* @__PURE__ */ b(p, {
|
|
149
149
|
role: "dialog",
|
|
150
150
|
id: s.contentId,
|
|
151
151
|
"aria-describedby": s.descriptionPresent ? s.descriptionId : void 0,
|
|
152
152
|
"aria-labelledby": s.titlePresent ? s.titleId : void 0,
|
|
153
|
-
"data-state":
|
|
153
|
+
"data-state": R(s.open),
|
|
154
154
|
...o,
|
|
155
155
|
ref: t,
|
|
156
156
|
deferPointerDownOutside: !0,
|
|
157
157
|
onDismiss: () => s.onOpenChange(!1)
|
|
158
158
|
})
|
|
159
159
|
}) });
|
|
160
|
-
}, "DialogContentImpl")),
|
|
161
|
-
let { __scopeDialog: n, ...r } = e, i =
|
|
162
|
-
return s(() => (a((e) => e + 1), () => a((e) => e - 1)), [a]), /* @__PURE__ */
|
|
160
|
+
}, "DialogContentImpl")), Ce = "DialogTitle", F = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
161
|
+
let { __scopeDialog: n, ...r } = e, i = w(Ce, n), { setTitleCount: a } = i;
|
|
162
|
+
return s(() => (a((e) => e + 1), () => a((e) => e - 1)), [a]), /* @__PURE__ */ b(o.h2, {
|
|
163
163
|
id: i.titleId,
|
|
164
164
|
...r,
|
|
165
165
|
ref: t
|
|
166
166
|
});
|
|
167
|
-
}, "DialogTitle")),
|
|
168
|
-
let { __scopeDialog: n, ...r } = e, i =
|
|
169
|
-
return s(() => (a((e) => e + 1), () => a((e) => e - 1)), [a]), /* @__PURE__ */
|
|
167
|
+
}, "DialogTitle")), we = "DialogDescription", I = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
168
|
+
let { __scopeDialog: n, ...r } = e, i = w(we, n), { setDescriptionCount: a } = i;
|
|
169
|
+
return s(() => (a((e) => e + 1), () => a((e) => e - 1)), [a]), /* @__PURE__ */ b(o.p, {
|
|
170
170
|
id: i.descriptionId,
|
|
171
171
|
...r,
|
|
172
172
|
ref: t
|
|
173
173
|
});
|
|
174
|
-
}, "DialogDescription")),
|
|
175
|
-
let { __scopeDialog: n, ...r } = e, i =
|
|
176
|
-
return /* @__PURE__ */
|
|
174
|
+
}, "DialogDescription")), Te = "DialogClose", L = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
175
|
+
let { __scopeDialog: n, ...r } = e, i = w(Te, n);
|
|
176
|
+
return /* @__PURE__ */ b(o.button, {
|
|
177
177
|
type: "button",
|
|
178
178
|
...r,
|
|
179
179
|
ref: t,
|
|
180
180
|
onClick: l(e.onClick, () => i.onOpenChange(!1))
|
|
181
181
|
});
|
|
182
182
|
}, "DialogClose"));
|
|
183
|
-
function
|
|
183
|
+
function R(e) {
|
|
184
184
|
return e ? "open" : "closed";
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
x(R, "getState");
|
|
187
187
|
//#endregion
|
|
188
188
|
//#region lib/components/ui/primitives/field-box/field-box.ts
|
|
189
|
-
var
|
|
190
|
-
function
|
|
189
|
+
var z = "nxgt-field-box", Ee = "nxgt-field-list", B = (e) => e ? "" : void 0;
|
|
190
|
+
function De(e) {
|
|
191
191
|
return {
|
|
192
192
|
"data-size": e.size,
|
|
193
|
-
"data-filled":
|
|
194
|
-
"data-open":
|
|
193
|
+
"data-filled": B(e.filled),
|
|
194
|
+
"data-open": B(e.list?.open),
|
|
195
195
|
"data-list-side": e.list?.open ? e.list.side : void 0,
|
|
196
|
-
"data-focused":
|
|
197
|
-
"data-invalid":
|
|
198
|
-
"data-disabled":
|
|
199
|
-
"data-readonly":
|
|
196
|
+
"data-focused": B(e.focused),
|
|
197
|
+
"data-invalid": B(e.invalid),
|
|
198
|
+
"data-disabled": B(e.disabled),
|
|
199
|
+
"data-readonly": B(e.readOnly)
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
var
|
|
202
|
+
var Oe = /* @__PURE__ */ new Set([
|
|
203
203
|
"checkbox",
|
|
204
204
|
"radio",
|
|
205
205
|
"file",
|
|
@@ -211,26 +211,26 @@ var Ee = /* @__PURE__ */ new Set([
|
|
|
211
211
|
"reset",
|
|
212
212
|
"image"
|
|
213
213
|
]);
|
|
214
|
-
function
|
|
215
|
-
return e || (
|
|
214
|
+
function V(e, t = "text") {
|
|
215
|
+
return e || (Oe.has(t) ? void 0 : " ");
|
|
216
216
|
}
|
|
217
217
|
//#endregion
|
|
218
218
|
//#region lib/components/ui/overlays/dialog/use-escape-forward.ts
|
|
219
|
-
function
|
|
220
|
-
let r =
|
|
219
|
+
function ke(e, n) {
|
|
220
|
+
let r = y(null);
|
|
221
221
|
return {
|
|
222
222
|
ref: t(r, n),
|
|
223
223
|
onEscapeKeyDown(t) {
|
|
224
|
-
|
|
224
|
+
pe(t), oe(t, r.current), e?.(t), fe(r.current, t);
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
//#endregion
|
|
229
229
|
//#region lib/components/ui/overlays/dialog/use-overlay-order.ts
|
|
230
|
-
function
|
|
231
|
-
let n =
|
|
230
|
+
function Ae(e) {
|
|
231
|
+
let n = y(null);
|
|
232
232
|
return {
|
|
233
|
-
overlayRef:
|
|
233
|
+
overlayRef: ce((e) => {
|
|
234
234
|
let t = n.current;
|
|
235
235
|
!e || !t?.isConnected || t.parentNode === e.parentNode && t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_FOLLOWING && t.before(e);
|
|
236
236
|
}, []),
|
|
@@ -239,20 +239,20 @@ function Oe(e) {
|
|
|
239
239
|
}
|
|
240
240
|
//#endregion
|
|
241
241
|
//#region lib/components/ui/overlays/dialog/use-modal-content.ts
|
|
242
|
-
function
|
|
243
|
-
let i =
|
|
242
|
+
function H({ ref: e, onEscapeKeyDown: t, ...n }, r) {
|
|
243
|
+
let i = le(_) ?? !0, a = ke(t, h(r ?? i, e)), o = Ae(a.ref);
|
|
244
244
|
return {
|
|
245
245
|
ref: o.contentRef,
|
|
246
246
|
overlayRef: o.overlayRef,
|
|
247
247
|
onEscapeKeyDown: a.onEscapeKeyDown,
|
|
248
248
|
outside: {
|
|
249
|
-
onPointerDownOutside:
|
|
250
|
-
onFocusOutside:
|
|
251
|
-
onInteractOutside:
|
|
249
|
+
onPointerDownOutside: U(n.onPointerDownOutside),
|
|
250
|
+
onFocusOutside: U(n.onFocusOutside),
|
|
251
|
+
onInteractOutside: U(n.onInteractOutside)
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function U(e) {
|
|
256
256
|
return (t) => {
|
|
257
257
|
e?.(t);
|
|
258
258
|
let n = t.target;
|
|
@@ -261,33 +261,33 @@ function W(e) {
|
|
|
261
261
|
}
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region lib/components/ui/overlays/dialog/menu-trigger.ts
|
|
264
|
-
var
|
|
265
|
-
function
|
|
266
|
-
let t = null, n = e?.closest(
|
|
267
|
-
for (let e = 0; n && e <
|
|
264
|
+
var W = "[role=\"menu\"]", je = 8;
|
|
265
|
+
function Me(e) {
|
|
266
|
+
let t = null, n = e?.closest(W) ?? null;
|
|
267
|
+
for (let e = 0; n && e < je; e++) {
|
|
268
268
|
let e = n.getAttribute("data-return-focus"), r = e ? n.ownerDocument.getElementById(e) : null;
|
|
269
269
|
if (r) return r;
|
|
270
270
|
let [i] = (n.getAttribute("aria-labelledby") ?? "").split(/\s+/), a = i ? n.ownerDocument.getElementById(i) : null;
|
|
271
271
|
if (!a) break;
|
|
272
|
-
t = a, n = a.closest(
|
|
272
|
+
t = a, n = a.closest(W);
|
|
273
273
|
}
|
|
274
274
|
return t;
|
|
275
275
|
}
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region lib/components/ui/overlays/dialog/use-return-focus.ts
|
|
278
|
-
var
|
|
279
|
-
function
|
|
280
|
-
([...e.querySelectorAll(
|
|
278
|
+
var Ne = "button:not([disabled]), input:not([disabled]):not([type=\"hidden\"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"]";
|
|
279
|
+
function Pe(e) {
|
|
280
|
+
([...e.querySelectorAll(Ne)].find((e) => e.tabIndex >= 0 && e.getClientRects().length > 0) ?? e).focus({ preventScroll: !0 });
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
let n =
|
|
282
|
+
function G(e, { focusFallback: t = !1 } = {}) {
|
|
283
|
+
let n = y(null), r = y(null);
|
|
284
284
|
return {
|
|
285
285
|
onOpenAutoFocus(i) {
|
|
286
286
|
let a = document.activeElement;
|
|
287
|
-
n.current = a instanceof HTMLElement && a !== document.body ? a : null, r.current =
|
|
287
|
+
n.current = a instanceof HTMLElement && a !== document.body ? a : null, r.current = Me(n.current), e.onOpenAutoFocus?.(i);
|
|
288
288
|
let o = i.target;
|
|
289
289
|
!t || i.defaultPrevented || !(o instanceof HTMLElement) || queueMicrotask(() => {
|
|
290
|
-
o.isConnected && !o.contains(document.activeElement) &&
|
|
290
|
+
o.isConnected && !o.contains(document.activeElement) && Pe(o);
|
|
291
291
|
});
|
|
292
292
|
},
|
|
293
293
|
onCloseAutoFocus(t) {
|
|
@@ -301,49 +301,49 @@ function K(e, { focusFallback: t = !1 } = {}) {
|
|
|
301
301
|
}
|
|
302
302
|
//#endregion
|
|
303
303
|
//#region lib/components/ui/primitives/input/input-box.ts
|
|
304
|
-
var
|
|
304
|
+
var Fe = "selection:bg-primary selection:text-primary-foreground", K = [
|
|
305
305
|
"inline-flex gap-2 items-center h-11 max-h-full w-full min-w-0",
|
|
306
306
|
"px-2 py-1 text-base md:text-sm outline-none",
|
|
307
307
|
"placeholder:text-muted-foreground",
|
|
308
308
|
"file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-muted-foreground",
|
|
309
309
|
"disabled:pointer-events-none"
|
|
310
|
-
],
|
|
311
|
-
...
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
],
|
|
315
|
-
function
|
|
316
|
-
return /* @__PURE__ */
|
|
310
|
+
], q = [
|
|
311
|
+
...K,
|
|
312
|
+
Fe,
|
|
313
|
+
z
|
|
314
|
+
], Ie = [...K, z], J = q;
|
|
315
|
+
function Le({ className: t, type: n = "text", ...r }) {
|
|
316
|
+
return /* @__PURE__ */ b("input", {
|
|
317
317
|
type: n,
|
|
318
318
|
"data-slot": "input",
|
|
319
|
-
className: e(
|
|
319
|
+
className: e(J, t),
|
|
320
320
|
"data-pw": r.name ?? "input",
|
|
321
321
|
...r,
|
|
322
|
-
placeholder:
|
|
322
|
+
placeholder: V(r.placeholder, n)
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
325
|
//#endregion
|
|
326
326
|
//#region lib/components/ui/overlays/dialog/dialog-outside.ts
|
|
327
|
-
function
|
|
327
|
+
function Re(e) {
|
|
328
328
|
let t = e.target;
|
|
329
329
|
t instanceof Element && t.closest("[data-slot=\"combobox-content\"]") && e.preventDefault();
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Y(e) {
|
|
332
332
|
return (t) => {
|
|
333
|
-
|
|
333
|
+
Re(t), e?.(t);
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function X(e) {
|
|
337
337
|
return {
|
|
338
338
|
...e,
|
|
339
|
-
onPointerDownOutside:
|
|
340
|
-
onFocusOutside:
|
|
341
|
-
onInteractOutside:
|
|
339
|
+
onPointerDownOutside: Y(e.onPointerDownOutside),
|
|
340
|
+
onFocusOutside: Y(e.onFocusOutside),
|
|
341
|
+
onInteractOutside: Y(e.onInteractOutside)
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
344
|
//#endregion
|
|
345
345
|
//#region lib/components/ui/overlays/dialog/dialog-variants.ts
|
|
346
|
-
var
|
|
346
|
+
var ze = f("nxgt-dialog fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 p-6 max-h-[calc(100dvh-2rem)] supports-[not(height:100dvh)]:max-h-[calc(100vh-2rem)] overflow-y-auto", {
|
|
347
347
|
variants: {
|
|
348
348
|
size: {
|
|
349
349
|
sm: "sm:max-w-sm",
|
|
@@ -365,29 +365,29 @@ var Le = f("nxgt-dialog fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(
|
|
|
365
365
|
});
|
|
366
366
|
//#endregion
|
|
367
367
|
//#region lib/components/ui/overlays/dialog/dialog-parts.tsx
|
|
368
|
-
function
|
|
369
|
-
return /* @__PURE__ */
|
|
368
|
+
function Z({ className: t, ...n }) {
|
|
369
|
+
return /* @__PURE__ */ b("div", {
|
|
370
370
|
"data-slot": "dialog-header",
|
|
371
371
|
className: e("flex flex-col gap-2 text-center sm:text-left", t),
|
|
372
372
|
...n
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
return /* @__PURE__ */
|
|
375
|
+
function Be({ className: t, ...n }) {
|
|
376
|
+
return /* @__PURE__ */ b("div", {
|
|
377
377
|
"data-slot": "dialog-footer",
|
|
378
378
|
className: e("flex flex-col-reverse gap-2 pt-2 max-sm:*:w-full sm:flex-row sm:justify-end", t),
|
|
379
379
|
...n
|
|
380
380
|
});
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
return /* @__PURE__ */
|
|
382
|
+
function Ve({ className: t, ...n }) {
|
|
383
|
+
return /* @__PURE__ */ b(F, {
|
|
384
384
|
"data-slot": "dialog-title",
|
|
385
385
|
className: e("text-2xl/8 font-medium tracking-tight text-foreground", t),
|
|
386
386
|
...n
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
|
-
function
|
|
390
|
-
return /* @__PURE__ */
|
|
389
|
+
function He({ className: t, ...n }) {
|
|
390
|
+
return /* @__PURE__ */ b(I, {
|
|
391
391
|
"data-slot": "dialog-description",
|
|
392
392
|
className: e("text-muted-foreground text-sm/6", t),
|
|
393
393
|
...n
|
|
@@ -395,75 +395,75 @@ function Ve({ className: t, ...n }) {
|
|
|
395
395
|
}
|
|
396
396
|
//#endregion
|
|
397
397
|
//#region lib/components/ui/overlays/dialog/dialog.tsx
|
|
398
|
-
function
|
|
399
|
-
return /* @__PURE__ */
|
|
398
|
+
function Ue({ ...e }) {
|
|
399
|
+
return /* @__PURE__ */ b(_, {
|
|
400
400
|
value: e.modal ?? !0,
|
|
401
|
-
children: /* @__PURE__ */
|
|
401
|
+
children: /* @__PURE__ */ b(T, {
|
|
402
402
|
"data-slot": "dialog",
|
|
403
403
|
...e
|
|
404
404
|
})
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
return /* @__PURE__ */
|
|
407
|
+
function We({ asChild: e = !0, ...t }) {
|
|
408
|
+
return /* @__PURE__ */ b(E, {
|
|
409
409
|
"data-slot": "dialog-trigger",
|
|
410
410
|
...t,
|
|
411
411
|
asChild: e
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
function Q({ ...e }) {
|
|
415
|
-
return /* @__PURE__ */
|
|
415
|
+
return /* @__PURE__ */ b(k, {
|
|
416
416
|
"data-slot": "dialog-portal",
|
|
417
417
|
...e
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
|
-
function
|
|
421
|
-
let { t: s } =
|
|
422
|
-
return /* @__PURE__ */
|
|
420
|
+
function Ge({ className: t, color: n, children: r, type: i = "button", variant: a = "ghost", ...o }) {
|
|
421
|
+
let { t: s } = re();
|
|
422
|
+
return /* @__PURE__ */ b(L, {
|
|
423
423
|
"aria-label": r ? void 0 : s("material.buttons.close", "Close"),
|
|
424
424
|
...o,
|
|
425
425
|
type: i,
|
|
426
|
-
className: e("absolute top-4 right-4",
|
|
426
|
+
className: e("absolute top-4 right-4", ie({
|
|
427
427
|
variant: a,
|
|
428
428
|
color: n,
|
|
429
429
|
className: t
|
|
430
430
|
})),
|
|
431
431
|
"data-slot": "dialog-close",
|
|
432
|
-
children: r || /* @__PURE__ */
|
|
432
|
+
children: r || /* @__PURE__ */ b(se, { className: "size-4" })
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
435
|
function $({ className: t, scrim: n = "dim", ...r }) {
|
|
436
|
-
return /* @__PURE__ */
|
|
436
|
+
return /* @__PURE__ */ b(j, {
|
|
437
437
|
"data-slot": "dialog-overlay",
|
|
438
438
|
"data-scrim": n,
|
|
439
439
|
className: e("nxgt-scrim fixed inset-0 z-50", t),
|
|
440
440
|
...r
|
|
441
441
|
});
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
let h =
|
|
443
|
+
function Ke({ className: t, children: n, onInteractOutside: r, onPointerDownOutside: i, onFocusOutside: a, onOpenAutoFocus: o, onCloseAutoFocus: s, onEscapeKeyDown: c, size: l, mobilePresentation: u, scrim: d, container: f, ref: p, ...m }) {
|
|
444
|
+
let h = G({
|
|
445
445
|
onOpenAutoFocus: o,
|
|
446
446
|
onCloseAutoFocus: s
|
|
447
|
-
}), g =
|
|
447
|
+
}), g = H(X({
|
|
448
448
|
ref: p,
|
|
449
449
|
onEscapeKeyDown: c,
|
|
450
450
|
onInteractOutside: r,
|
|
451
451
|
onPointerDownOutside: i,
|
|
452
452
|
onFocusOutside: a
|
|
453
453
|
}));
|
|
454
|
-
return /* @__PURE__ */
|
|
454
|
+
return /* @__PURE__ */ b(ae, { children: /* @__PURE__ */ b(ne, {
|
|
455
455
|
value: !0,
|
|
456
|
-
children: /* @__PURE__ */
|
|
456
|
+
children: /* @__PURE__ */ de(Q, {
|
|
457
457
|
"data-slot": "dialog-portal",
|
|
458
458
|
container: f,
|
|
459
|
-
children: [/* @__PURE__ */
|
|
459
|
+
children: [/* @__PURE__ */ b($, {
|
|
460
460
|
ref: g.overlayRef,
|
|
461
461
|
scrim: d
|
|
462
|
-
}), /* @__PURE__ */
|
|
462
|
+
}), /* @__PURE__ */ b(N, {
|
|
463
463
|
ref: g.ref,
|
|
464
464
|
"data-slot": "dialog-content",
|
|
465
465
|
"data-presentation": u ?? void 0,
|
|
466
|
-
className: e(
|
|
466
|
+
className: e(ze({
|
|
467
467
|
size: l,
|
|
468
468
|
mobilePresentation: u
|
|
469
469
|
}), t),
|
|
@@ -475,7 +475,7 @@ function Ge({ className: t, children: n, onInteractOutside: r, onPointerDownOuts
|
|
|
475
475
|
children: n
|
|
476
476
|
})]
|
|
477
477
|
})
|
|
478
|
-
});
|
|
478
|
+
}) });
|
|
479
479
|
}
|
|
480
480
|
//#endregion
|
|
481
|
-
export {
|
|
481
|
+
export { he as A, L as C, k as D, j as E, F as O, T as S, I as T, H as _, Q as a, Ee as b, Be as c, X as d, Le as f, G as g, Ie as h, $ as i, E as k, Z as l, q as m, Ge as n, We as o, J as p, Ke as r, He as s, Ue as t, Ve as u, V as v, N as w, De as x, z as y };
|
package/dist/dnd.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as e } from "./compose-refs-DZ0iIVF-.js";
|
|
2
|
-
import { _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v } from "./sortable-provider-
|
|
2
|
+
import { _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v } from "./sortable-provider-CgDTolQR.js";
|
|
3
3
|
export { r as CSS, u as DndOverlay, i as DndProvider, g as DragHandle, p as Draggable, n as DraggableDroppable, l as Droppable, f as Sortable, _ as SortableProvider, o as arrayMove, c as closestCenter, e as composeRefs, m as horizontalListSortingStrategy, h as insertIds, s as pointerWithin, t as rectIntersection, v as useDndActiveId, a as useDndItem, d as verticalListSortingStrategy };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./utils-
|
|
1
|
+
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { n as t, o as n, r } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { a as i, c as a, i as o, l as s, n as c, r as l, s as u, u as d } from "./dist-lmHmz_bu.js";
|
|
4
|
-
import { b as f, c as p, d as m, f as h, u as ee, x as te } from "./tooltip-
|
|
4
|
+
import { b as f, c as p, d as m, f as h, u as ee, x as te } from "./tooltip-CkttDIab.js";
|
|
5
5
|
import { a as g, i as _, n as ne, r as v, t as y } from "./dist-C4wtXCjf.js";
|
|
6
6
|
import { a as re, c as ie, l as ae, o as oe, r as b, s as se, t as ce } from "./in-dialog-Vwkyp-M5.js";
|
|
7
|
-
import { t as x } from "./spinner-
|
|
7
|
+
import { t as x } from "./spinner-BtSIYVrC.js";
|
|
8
8
|
import * as S from "react";
|
|
9
9
|
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
10
10
|
//#region ../../node_modules/@radix-ui/react-menu/dist/index.mjs
|
package/dist/editor-viewer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./rich-text-viewer-
|
|
1
|
+
import { t as e } from "./rich-text-viewer-W15XIwah.js";
|
|
2
2
|
export { e as RichTextViewer };
|