@aivex/ui 1.2.0-dev.43 → 1.2.0-dev.44

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "./styles.css";
3
- import { $r as e, Ai as t, Dt as n, Nr as r, Q as i, Wr as a, ar as o, la as s, nt as c, pi as l, pr as u, rr as d, t as f } from "./Button-BrPqDGyO.js";
4
- import { a as p, c as m, i as h, n as g, r as _, s as v, t as y } from "./keyboard-BMCakKCv.js";
3
+ import { Dt as e, Fr as t, Kr as n, Mi as r, Q as i, ar as a, da as o, hi as s, hr as c, nt as l, sr as u, t as d, ti as f } from "./Button-CH_7RCR4.js";
4
+ import { a as p, c as m, i as h, n as g, r as _, s as v, t as y } from "./keyboard-CnteNNEc.js";
5
5
  import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
6
6
  import { memo as C, useCallback as w, useEffect as T, useId as E, useImperativeHandle as D, useLayoutEffect as O, useMemo as k, useReducer as A, useRef as j, useState as M } from "react";
7
7
  import N from "konva";
@@ -982,43 +982,43 @@ var ct = [
982
982
  "simplifyStrength",
983
983
  "zoomSensitivity"
984
984
  ]);
985
- function lt({ value: t, defaults: n, onChange: r, labels: i = K.viewSettings, items: a = ct, openDown: o = !1, alignEnd: s = !1 }) {
985
+ function lt({ value: e, defaults: t, onChange: n, labels: r = K.viewSettings, items: i = ct, openDown: a = !1, alignEnd: o = !1 }) {
986
986
  return /* @__PURE__ */ S(v.Content, {
987
- "aria-label": i.title,
988
- side: o ? "bottom" : "top",
989
- align: s ? "end" : "start",
987
+ "aria-label": r.title,
988
+ side: a ? "bottom" : "top",
989
+ align: o ? "end" : "start",
990
990
  sideOffset: 8,
991
991
  className: "aivex:max-h-none aivex:overflow-visible aivex:shadow-[var(--aivex-elevation-md)]",
992
992
  children: [
993
993
  /* @__PURE__ */ x("div", {
994
994
  className: "aivex:px-xs aivex:text-body-md",
995
- children: i.title
995
+ children: r.title
996
996
  }),
997
997
  /* @__PURE__ */ S("div", {
998
998
  className: "aivex:flex aivex:flex-col aivex:gap-md",
999
999
  children: [
1000
- a.filter((e) => Y.has(e)).map((e) => {
1001
- let n = dt[e];
1000
+ i.filter((e) => Y.has(e)).map((t) => {
1001
+ let i = dt[t];
1002
1002
  return /* @__PURE__ */ x(pt, {
1003
- icon: n.icon,
1004
- label: i[e],
1005
- value: n.format(t[e]),
1003
+ icon: i.icon,
1004
+ label: r[t],
1005
+ value: i.format(e[t]),
1006
1006
  children: /* @__PURE__ */ x(h, {
1007
- ...He[e],
1008
- value: [t[e]],
1009
- onValueChange: ([t]) => r({ [e]: t })
1007
+ ...He[t],
1008
+ value: [e[t]],
1009
+ onValueChange: ([e]) => n({ [t]: e })
1010
1010
  })
1011
- }, e);
1011
+ }, t);
1012
1012
  }),
1013
1013
  /* @__PURE__ */ x("div", {
1014
1014
  className: "aivex:flex aivex:flex-col aivex:gap-xs",
1015
- children: a.filter((e) => !Y.has(e)).map((e) => {
1016
- let n = ft[e];
1015
+ children: i.filter((e) => !Y.has(e)).map((t) => {
1016
+ let i = ft[t];
1017
1017
  return /* @__PURE__ */ x(mt, {
1018
- checked: n.checked(t),
1019
- label: i[e],
1020
- onChange: (e) => r(n.patch(e))
1021
- }, e);
1018
+ checked: i.checked(e),
1019
+ label: r[t],
1020
+ onChange: (e) => n(i.patch(e))
1021
+ }, t);
1022
1022
  })
1023
1023
  }),
1024
1024
  /* @__PURE__ */ x(p, {})
@@ -1026,12 +1026,12 @@ function lt({ value: t, defaults: n, onChange: r, labels: i = K.viewSettings, it
1026
1026
  }),
1027
1027
  /* @__PURE__ */ x("div", {
1028
1028
  className: "aivex:flex aivex:justify-end",
1029
- children: /* @__PURE__ */ S(f, {
1029
+ children: /* @__PURE__ */ S(d, {
1030
1030
  variant: "solid",
1031
1031
  color: "secondary",
1032
1032
  size: "md",
1033
- onClick: () => r({ ...n }),
1034
- children: [/* @__PURE__ */ x(e, { size: 20 }), i.reset]
1033
+ onClick: () => n({ ...t }),
1034
+ children: [/* @__PURE__ */ x(f, { size: 20 }), r.reset]
1035
1035
  })
1036
1036
  })
1037
1037
  ]
@@ -1046,19 +1046,19 @@ var dt = {
1046
1046
  format: ut
1047
1047
  },
1048
1048
  contrast: {
1049
- icon: /* @__PURE__ */ x(n, { size: 16 }),
1049
+ icon: /* @__PURE__ */ x(e, { size: 16 }),
1050
1050
  format: ut
1051
1051
  },
1052
1052
  strokeSize: {
1053
- icon: /* @__PURE__ */ x(t, { size: 16 }),
1053
+ icon: /* @__PURE__ */ x(r, { size: 16 }),
1054
1054
  format: String
1055
1055
  },
1056
1056
  simplifyStrength: {
1057
- icon: /* @__PURE__ */ x(r, { size: 16 }),
1057
+ icon: /* @__PURE__ */ x(t, { size: 16 }),
1058
1058
  format: String
1059
1059
  },
1060
1060
  zoomSensitivity: {
1061
- icon: /* @__PURE__ */ x(s, { size: 16 }),
1061
+ icon: /* @__PURE__ */ x(o, { size: 16 }),
1062
1062
  format: (e) => e.toFixed(1)
1063
1063
  }
1064
1064
  }, ft = {
@@ -1128,7 +1128,7 @@ var X = {
1128
1128
  "bottom-right": "aivex:bottom-2 aivex:right-2",
1129
1129
  "top-left": "aivex:top-2 aivex:left-2",
1130
1130
  "top-right": "aivex:top-2 aivex:right-2"
1131
- }, ht = C(function({ image: e, imageUrl: t, imageVisible: n = !0, loading: r = !1, region: i, roiMaskId: s, shapes: d, view: p, viewDefaults: m, onChangeView: h, nav: g, registerShape: _, rectRef: y, zoomLabelRef: b, onZoom100: C, open: w, onToggleOpen: T, position: E = "bottom-left", showSettings: D = !0, settingsOpen: O, onToggleSettings: k, onCloseSettings: A, labels: j = K.minimap, settingsLabels: M, settingsItems: N }) {
1131
+ }, ht = C(function({ image: e, imageUrl: t, imageVisible: r = !0, loading: i = !1, region: a, roiMaskId: o, shapes: f, view: p, viewDefaults: m, onChangeView: h, nav: g, registerShape: _, rectRef: y, zoomLabelRef: b, onZoom100: C, open: w, onToggleOpen: T, position: E = "bottom-left", showSettings: D = !0, settingsOpen: O, onToggleSettings: k, onCloseSettings: A, labels: j = K.minimap, settingsLabels: M, settingsItems: N }) {
1132
1132
  let { offX: P, offY: F, dispW: I, dispH: L, zoomCentered: ee } = g, te = E.startsWith("top"), ne = {
1133
1133
  position: "absolute",
1134
1134
  left: P,
@@ -1143,19 +1143,19 @@ var X = {
1143
1143
  width: 204,
1144
1144
  height: 204
1145
1145
  },
1146
- className: `aivex:relative aivex:touch-none aivex:overflow-hidden aivex:rounded-sm aivex:bg-static-gray ${r ? "aivex:cursor-default" : "aivex:cursor-grab aivex:active:cursor-grabbing"}`,
1147
- onPointerDown: r ? void 0 : g.handleMinimapPointerDown,
1148
- onPointerMove: r ? void 0 : g.handleMinimapPointerMove,
1149
- onPointerUp: r ? void 0 : g.endMinimapDrag,
1150
- onPointerCancel: r ? void 0 : g.endMinimapDrag,
1151
- onWheel: r ? void 0 : g.handleMinimapWheel,
1152
- "aria-busy": r,
1146
+ className: `aivex:relative aivex:touch-none aivex:overflow-hidden aivex:rounded-sm aivex:bg-static-gray ${i ? "aivex:cursor-default" : "aivex:cursor-grab aivex:active:cursor-grabbing"}`,
1147
+ onPointerDown: i ? void 0 : g.handleMinimapPointerDown,
1148
+ onPointerMove: i ? void 0 : g.handleMinimapPointerMove,
1149
+ onPointerUp: i ? void 0 : g.endMinimapDrag,
1150
+ onPointerCancel: i ? void 0 : g.endMinimapDrag,
1151
+ onWheel: i ? void 0 : g.handleMinimapWheel,
1152
+ "aria-busy": i,
1153
1153
  children: /* @__PURE__ */ S("div", {
1154
1154
  style: {
1155
1155
  position: "absolute",
1156
1156
  inset: 0,
1157
- opacity: +!!n,
1158
- transition: n ? "opacity 0.3s ease" : "none"
1157
+ opacity: +!!r,
1158
+ transition: r ? "opacity 0.3s ease" : "none"
1159
1159
  },
1160
1160
  children: [
1161
1161
  t && /* @__PURE__ */ x("img", {
@@ -1165,10 +1165,10 @@ var X = {
1165
1165
  draggable: !1,
1166
1166
  style: ne
1167
1167
  }),
1168
- p.showRegionMask && i && i.rects.length > 0 && /* @__PURE__ */ x(st, {
1168
+ p.showRegionMask && a && a.rects.length > 0 && /* @__PURE__ */ x(st, {
1169
1169
  image: e,
1170
- region: i,
1171
- maskId: s,
1170
+ region: a,
1171
+ maskId: o,
1172
1172
  width: I,
1173
1173
  height: L,
1174
1174
  strokeWidth: 1,
@@ -1191,7 +1191,7 @@ var X = {
1191
1191
  pointerEvents: "none"
1192
1192
  },
1193
1193
  "aria-hidden": !0,
1194
- children: se(d).filter(z).map((e) => /* @__PURE__ */ x(J, {
1194
+ children: se(f).filter(z).map((e) => /* @__PURE__ */ x(J, {
1195
1195
  shape: e,
1196
1196
  strokeSize: p.strokeSize,
1197
1197
  register: _
@@ -1213,45 +1213,45 @@ var X = {
1213
1213
  }), R = /* @__PURE__ */ S("div", {
1214
1214
  className: "aivex:relative aivex:flex aivex:items-center aivex:gap-xs",
1215
1215
  children: [
1216
- /* @__PURE__ */ x(f, {
1216
+ /* @__PURE__ */ x(d, {
1217
1217
  variant: "ghost",
1218
1218
  size: "icon-md",
1219
1219
  "aria-label": j.zoomOut,
1220
1220
  onClick: () => ee(1 / 1.2),
1221
- disabled: r,
1222
- children: /* @__PURE__ */ x(u, { size: 20 })
1221
+ disabled: i,
1222
+ children: /* @__PURE__ */ x(c, { size: 20 })
1223
1223
  }),
1224
- /* @__PURE__ */ x(f, {
1224
+ /* @__PURE__ */ x(d, {
1225
1225
  variant: "ghost",
1226
1226
  size: "md",
1227
1227
  "aria-label": j.zoom100,
1228
1228
  onClick: C,
1229
- disabled: r,
1229
+ disabled: i,
1230
1230
  className: "aivex:w-[60px] aivex:tabular-nums",
1231
1231
  children: /* @__PURE__ */ x("span", {
1232
1232
  ref: b,
1233
1233
  children: "100%"
1234
1234
  })
1235
1235
  }),
1236
- /* @__PURE__ */ x(f, {
1236
+ /* @__PURE__ */ x(d, {
1237
1237
  variant: "ghost",
1238
1238
  size: "icon-md",
1239
1239
  "aria-label": j.zoomIn,
1240
1240
  onClick: () => ee(1.2),
1241
- disabled: r,
1242
- children: /* @__PURE__ */ x(a, { size: 20 })
1241
+ disabled: i,
1242
+ children: /* @__PURE__ */ x(n, { size: 20 })
1243
1243
  }),
1244
1244
  D && /* @__PURE__ */ S(v, {
1245
1245
  open: O,
1246
1246
  onOpenChange: (e) => e ? k() : A(),
1247
1247
  children: [/* @__PURE__ */ x(v.Trigger, {
1248
1248
  asChild: !0,
1249
- children: /* @__PURE__ */ x(f, {
1249
+ children: /* @__PURE__ */ x(d, {
1250
1250
  variant: "ghost",
1251
1251
  size: "icon-md",
1252
1252
  "aria-label": j.viewSettings,
1253
1253
  className: O ? "aivex:text-text-brand" : void 0,
1254
- children: /* @__PURE__ */ x(l, { size: 20 })
1254
+ children: /* @__PURE__ */ x(s, { size: 20 })
1255
1255
  })
1256
1256
  }), /* @__PURE__ */ x(lt, {
1257
1257
  value: p,
@@ -1263,16 +1263,16 @@ var X = {
1263
1263
  alignEnd: E.endsWith("right")
1264
1264
  })]
1265
1265
  }),
1266
- /* @__PURE__ */ x(f, {
1266
+ /* @__PURE__ */ x(d, {
1267
1267
  variant: "ghost",
1268
1268
  size: "icon-md",
1269
1269
  "aria-label": j.toggleMinimap,
1270
1270
  title: "(M)",
1271
1271
  onClick: T,
1272
- children: w ? /* @__PURE__ */ x(c, {
1272
+ children: w ? /* @__PURE__ */ x(l, {
1273
1273
  size: 20,
1274
1274
  className: te ? "aivex:rotate-180" : void 0
1275
- }) : /* @__PURE__ */ x(o, { size: 20 })
1275
+ }) : /* @__PURE__ */ x(u, { size: 20 })
1276
1276
  })
1277
1277
  ]
1278
1278
  });
@@ -5636,7 +5636,7 @@ var si = "__draft_preview__", ci = new Set([
5636
5636
  function li(e, t) {
5637
5637
  return e.length === t.length && e.every((e, n) => e === t[n]);
5638
5638
  }
5639
- function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !1, selectedIds: i, activeTool: a, draftStyle: o, draftMeta: s, readOnly: c, disableMarquee: l, locked: u, onLockedInteraction: f, onDrawAttemptWithoutDraft: p, onIdleEscape: m, overrideShapeInteraction: h, defaultViewSettings: g, viewSettings: _, onViewSettingsChange: v, showMinimap: y = !0, minimapPosition: b = "bottom-left", showViewSettings: C = !0, getContextMenuItems: A, strings: N, viewSettingItems: P, canMergeSelection: F, brushSize: I = 20, zoomBound: L, zoomAnimationDuration: ee = 300, decorationShapes: te, regionMask: ne, overlayMarkers: re, renderOverlayMarker: ie, onOverlayMarkerClick: oe, renderImageOverlay: se, getSelectionLabel: V, hideSelectionLabelDot: H, formatSelectionInfo: U, externalTools: le, assistant: ue, keymap: de, handleRef: fe, backend: pe = "pixi", onActiveToolChange: me, onSelectionChange: he, onEditingChange: ge, onShapesCreated: _e, onShapesUpdated: ve, onShapesDeleted: ye, onDrawSessionChange: be, onDraftShapeChange: xe, onViewportChange: Se, onShapesTransformPreview: Ce }) {
5639
+ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !1, selectedIds: i, activeTool: o, draftStyle: s, draftMeta: c, readOnly: l, disableMarquee: u, locked: d, onLockedInteraction: f, onDrawAttemptWithoutDraft: p, onIdleEscape: m, overrideShapeInteraction: h, defaultViewSettings: g, viewSettings: _, onViewSettingsChange: v, showMinimap: y = !0, minimapPosition: b = "bottom-left", showViewSettings: C = !0, getContextMenuItems: A, strings: N, viewSettingItems: P, canMergeSelection: F, brushSize: I = 20, zoomBound: L, zoomAnimationDuration: ee = 300, decorationShapes: te, regionMask: ne, overlayMarkers: re, renderOverlayMarker: ie, onOverlayMarkerClick: oe, renderImageOverlay: se, getSelectionLabel: V, hideSelectionLabelDot: H, formatSelectionInfo: U, externalTools: le, assistant: ue, keymap: de, handleRef: fe, backend: pe = "pixi", onActiveToolChange: me, onSelectionChange: he, onEditingChange: ge, onShapesCreated: _e, onShapesUpdated: ve, onShapesDeleted: ye, onDrawSessionChange: be, onDraftShapeChange: xe, onViewportChange: Se, onShapesTransformPreview: Ce }) {
5640
5640
  let we = j(null), W = j(null), Te = j(null), Ee = j(null), De = j(null), Oe = `${E()}-minimap`, [G, ke] = M(null), [Ae, je] = M(!1), [Me, Ne] = M(!1), [Pe, Fe] = M(null), [Ie, Le] = M({
5641
5641
  active: !1,
5642
5642
  kind: "none",
@@ -5701,26 +5701,26 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
5701
5701
  O(() => {
5702
5702
  Q.current = Y;
5703
5703
  }, [Y]);
5704
- let jt = j(a);
5705
- jt.current = a;
5706
- let Mt = j(o);
5707
- Mt.current = o;
5708
- let Nt = j(s);
5709
- Nt.current = s;
5704
+ let jt = j(o);
5705
+ jt.current = o;
5706
+ let Mt = j(s);
5707
+ Mt.current = s;
5708
+ let Nt = j(c);
5709
+ Nt.current = c;
5710
5710
  let Pt = j(I);
5711
5711
  Pt.current = I;
5712
5712
  let It = j(X.simplifyStrength);
5713
5713
  It.current = X.simplifyStrength;
5714
- let $ = !!c || !!u, Lt = j($);
5714
+ let $ = !!l || !!d, Lt = j($);
5715
5715
  Lt.current = $;
5716
- let Rt = j(l);
5717
- Rt.current = l;
5718
- let zt = j(u);
5719
- zt.current = u;
5716
+ let Rt = j(u);
5717
+ Rt.current = u;
5718
+ let zt = j(d);
5719
+ zt.current = d;
5720
5720
  let Bt = j(f);
5721
5721
  Bt.current = f;
5722
- let Vt = j(c);
5723
- Vt.current = c;
5722
+ let Vt = j(l);
5723
+ Vt.current = l;
5724
5724
  let Ht = w((e = !0) => Vt.current || !zt.current || !e ? !1 : (Bt.current?.(), !0), []), Ut = j(p);
5725
5725
  Ut.current = p;
5726
5726
  let Wt = j(h);
@@ -5850,9 +5850,9 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
5850
5850
  type: e,
5851
5851
  points: t,
5852
5852
  style: n,
5853
- meta: s
5853
+ meta: c
5854
5854
  }), tn.current([r]);
5855
- }, [s]), En = j(Tn);
5855
+ }, [c]), En = j(Tn);
5856
5856
  En.current = Tn;
5857
5857
  let Dn = Wn({
5858
5858
  toolRef: jt,
@@ -5862,7 +5862,7 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
5862
5862
  draftRef: Mt,
5863
5863
  brushSizeRef: Pt,
5864
5864
  simplifyEpsilonRef: It,
5865
- draftMeta: s,
5865
+ draftMeta: c,
5866
5866
  engineRef: W,
5867
5867
  onDrawSessionChange: w((e) => {
5868
5868
  Le(e), be?.(e);
@@ -5877,7 +5877,7 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
5877
5877
  let Yn = bn({
5878
5878
  docRef: Gt,
5879
5879
  draftRef: Mt,
5880
- draftMeta: s,
5880
+ draftMeta: c,
5881
5881
  changeSelection: en,
5882
5882
  assistantRef: Jn
5883
5883
  }), Xn = j(Yn);
@@ -6084,7 +6084,7 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
6084
6084
  yr.current?.(nn);
6085
6085
  }, [nn]), T(() => {
6086
6086
  rn(null);
6087
- }, [a]), T(() => {
6087
+ }, [o]), T(() => {
6088
6088
  nn && (Y.length !== 1 || Y[0] !== nn) && rn(null);
6089
6089
  }, [Y, nn]), T(() => {
6090
6090
  let e = W.current;
@@ -6111,36 +6111,36 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
6111
6111
  ne,
6112
6112
  pn
6113
6113
  ]), T(() => {
6114
- Me && W.current?.setTransformEnabled(!$ && a !== q.BRUSH);
6114
+ Me && W.current?.setTransformEnabled(!$ && o !== q.BRUSH);
6115
6115
  }, [
6116
6116
  $,
6117
6117
  Me,
6118
- a
6118
+ o
6119
6119
  ]), T(() => {
6120
- u && rn(null);
6121
- }, [u]), T(() => {
6122
- Gn(a, dt.current.has(a));
6123
- }, [a, Gn]);
6120
+ d && rn(null);
6121
+ }, [d]), T(() => {
6122
+ Gn(o, dt.current.has(o));
6123
+ }, [o, Gn]);
6124
6124
  let br = Yn.finalize;
6125
6125
  T(() => {
6126
6126
  br();
6127
- }, [a, br]), T(() => {
6127
+ }, [o, br]), T(() => {
6128
6128
  qt.current = "idle", Jt.current = null, Xt();
6129
6129
  }, [
6130
- a,
6130
+ o,
6131
6131
  pe,
6132
6132
  Xt
6133
6133
  ]), T(() => {
6134
6134
  Kn(Y, $);
6135
6135
  }, [
6136
6136
  Y,
6137
- a,
6137
+ o,
6138
6138
  $,
6139
6139
  Kn
6140
6140
  ]), T(() => {
6141
6141
  Me && Xt();
6142
6142
  }, [
6143
- a,
6143
+ o,
6144
6144
  Ie,
6145
6145
  ut,
6146
6146
  Me,
@@ -6326,7 +6326,7 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
6326
6326
  ...Nr ? [{
6327
6327
  id: "assistExpand",
6328
6328
  label: Z.contextMenu.assistExpand,
6329
- icon: /* @__PURE__ */ x(d, { size: 14 }),
6329
+ icon: /* @__PURE__ */ x(a, { size: 14 }),
6330
6330
  disabled: !Pr,
6331
6331
  onClick: () => {
6332
6332
  Pe && Pr && Yn.refineShape(Pr, Pe.img, !0);
@@ -6334,7 +6334,7 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
6334
6334
  }, {
6335
6335
  id: "assistExclude",
6336
6336
  label: Z.contextMenu.assistExclude,
6337
- icon: /* @__PURE__ */ x(d, { size: 14 }),
6337
+ icon: /* @__PURE__ */ x(a, { size: 14 }),
6338
6338
  disabled: !Pr,
6339
6339
  onClick: () => {
6340
6340
  Pe && Pr && Yn.refineShape(Pr, Pe.img, !1);
@@ -6390,7 +6390,7 @@ function ui({ document: e, clipboardScope: t, renderImageState: n, dimmed: r = !
6390
6390
  disabled: !Or,
6391
6391
  onClick: pr
6392
6392
  }
6393
- ], Ir = c ? Fr.filter((e) => "separator" in e || !!e.id && ci.has(e.id)) : Fr, Lr = A ? A(Ir, {
6393
+ ], Ir = l ? Fr.filter((e) => "separator" in e || !!e.id && ci.has(e.id)) : Fr, Lr = A ? A(Ir, {
6394
6394
  selectedIds: Y,
6395
6395
  readOnly: $
6396
6396
  }) : Ir, Rr = ti({
package/dist/utils.cjs CHANGED
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./Button-EEErevS-.cjs`);let e=require(`clsx`);var t=(0,require(`tailwind-merge`).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:[`display-lg`,`display-md`,`heading-xl`,`heading-lg`,`heading-md`,`heading-sm`,`heading-xs`,`body-lg-regular`,`body-lg-medium`,`body-md-regular`,`body-md-medium`,`body-sm-regular`,`body-sm-medium`,`label-xl`,`label-lg`,`label-md`,`label-sm`,`caption-md`]}],"text-color":[{text:[`text-primary`,`text-secondary`,`text-tertiary`,`text-disabled`,`text-on-color`,`text-brand`,`text-danger`,`text-info`,`text-success`,`text-warning`,`category-blue-text`,`category-gray-text`,`category-red-text`,`category-green-text`,`category-yellow-text`,`category-orange-text`,`category-lime-text`,`category-split-training`,`category-split-validation`,`category-split-unassigned`,`category-teal-text`,`category-cyan-text`,`category-indigo-text`,`category-violet-text`,`category-pink-text`]}]}}});function n(...n){return t((0,e.clsx)(n))}exports.cn=n;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./Button-D6MqxX_7.cjs`);let e=require(`clsx`);var t=(0,require(`tailwind-merge`).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:[`display-lg`,`display-md`,`heading-xl`,`heading-lg`,`heading-md`,`heading-sm`,`heading-xs`,`body-lg-regular`,`body-lg-medium`,`body-md-regular`,`body-md-medium`,`body-sm-regular`,`body-sm-medium`,`label-xl`,`label-lg`,`label-md`,`label-sm`,`caption-md`]}],"text-color":[{text:[`text-primary`,`text-secondary`,`text-tertiary`,`text-disabled`,`text-on-color`,`text-brand`,`text-danger`,`text-info`,`text-success`,`text-warning`,`category-blue-text`,`category-gray-text`,`category-red-text`,`category-green-text`,`category-yellow-text`,`category-orange-text`,`category-lime-text`,`category-split-training`,`category-split-validation`,`category-split-unassigned`,`category-teal-text`,`category-cyan-text`,`category-indigo-text`,`category-violet-text`,`category-pink-text`]}]}}});function n(...n){return t((0,e.clsx)(n))}exports.cn=n;
2
2
  //# sourceMappingURL=utils.cjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aivex/ui",
3
- "version": "1.2.0-dev.43",
3
+ "version": "1.2.0-dev.44",
4
4
  "description": "Aivex Design System UI Components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",