@versini/sassysaint 1.0.8 → 1.0.10

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,5 +1,5 @@
1
1
  import { jsx as _i } from "react/jsx-runtime";
2
- import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.BP4_wS5W.js";
2
+ import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.D3A035f8.js";
3
3
  const U0 = (
4
4
  // Note: overloads like this are needed to support optional generics.
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
2
- import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.DcXJ8skl.js";
3
- import { AppContext as Ei, E as Ai } from "./useLocalStorage.Cx1iecci.js";
2
+ import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.Ctkx8F84.js";
3
+ import { AppContext as Ei, E as Ai } from "./useLocalStorage.D_0bF6Yy.js";
4
4
  import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
5
- import { T as ut } from "./App.D3duFcJD.js";
5
+ import { T as ut } from "./App.D3bDw_9b.js";
6
6
  import cn from "clsx";
7
7
  const Li = ({
8
8
  spinnerRef: e,
@@ -8618,7 +8618,7 @@ function sf(e) {
8618
8618
  i.push(af(n)), o.push(Tc()), l.push(Pc(n));
8619
8619
  }
8620
8620
  const cf = Ii(
8621
- () => import("./LazyMarkdownWithExtra.C659-_hy.js")
8621
+ () => import("./LazyMarkdownWithExtra.B2OqwN1y.js")
8622
8622
  ), In = {
8623
8623
  MODEL: "Model",
8624
8624
  PLUGIN: "Plugin",
@@ -1,9 +1,9 @@
1
1
  import { jsx as i, jsxs as E, Fragment as D } from "react/jsx-runtime";
2
- import A from "clsx";
2
+ import y from "clsx";
3
3
  import * as c from "react";
4
4
  import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
5
- import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as k, useFloating as P, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
6
- import { S as j } from "./index.DcXJ8skl.js";
5
+ import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as P, useFloating as k, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
6
+ import { S as j } from "./index.Ctkx8F84.js";
7
7
  const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
8
8
  alert: null,
9
9
  alertdialog: null,
@@ -105,7 +105,7 @@ function W({
105
105
  r,
106
106
  a
107
107
  ]);
108
- const v = A(n, {
108
+ const v = y(n, {
109
109
  "sr-only": !s
110
110
  });
111
111
  return /* @__PURE__ */ i(
@@ -125,7 +125,7 @@ function Y({
125
125
  open: n,
126
126
  onOpenChange: o
127
127
  } = {}) {
128
- const [t, l] = c.useState(e), [r, a] = c.useState(), [s, f] = c.useState(), u = n ?? t, d = o ?? l, m = P({
128
+ const [t, l] = c.useState(e), [r, a] = c.useState(), [s, f] = c.useState(), u = n ?? t, d = o ?? l, m = k({
129
129
  open: u,
130
130
  onOpenChange: d
131
131
  }), p = m.context, h = L(p, {
@@ -133,19 +133,19 @@ function Y({
133
133
  }), v = V(p, {
134
134
  outsidePress: !1,
135
135
  outsidePressEvent: "mousedown"
136
- }), N = B(p), y = U([h, v, N]);
136
+ }), N = B(p), A = U([h, v, N]);
137
137
  return c.useMemo(
138
138
  () => ({
139
139
  open: u,
140
140
  setOpen: d,
141
- ...y,
141
+ ...A,
142
142
  ...m,
143
143
  labelId: r,
144
144
  descriptionId: s,
145
145
  setLabelId: a,
146
146
  setDescriptionId: f
147
147
  }),
148
- [u, d, y, m, r, s]
148
+ [u, d, A, m, r, s]
149
149
  );
150
150
  }
151
151
  const g = () => {
@@ -168,11 +168,11 @@ const ee = c.forwardRef(function(e, n) {
168
168
  const { context: o, ...t } = g(), l = S([t.refs.setFloating, n]);
169
169
  if (!o.open)
170
170
  return null;
171
- const { overlayBackground: r, ...a } = e, s = A("grid place-items-center", {
171
+ const { overlayBackground: r, ...a } = e, s = y("grid place-items-center", {
172
172
  [`${r}`]: r,
173
173
  "bg-black sm:bg-black/[.8]": !r
174
174
  });
175
- return /* @__PURE__ */ i(F, { children: /* @__PURE__ */ i(O, { className: s, lockScroll: !0, children: /* @__PURE__ */ i(k, { context: o, children: /* @__PURE__ */ i(
175
+ return /* @__PURE__ */ i(F, { children: /* @__PURE__ */ i(O, { className: s, lockScroll: !0, children: /* @__PURE__ */ i(P, { context: o, children: /* @__PURE__ */ i(
176
176
  "div",
177
177
  {
178
178
  ref: l,
@@ -207,7 +207,7 @@ const ee = c.forwardRef(function(e, n) {
207
207
  semantic: f = !1,
208
208
  ...u
209
209
  }) => {
210
- const d = j(a), m = A(
210
+ const d = j(a), m = y(
211
211
  d,
212
212
  t || r
213
213
  );
@@ -236,7 +236,7 @@ const ee = c.forwardRef(function(e, n) {
236
236
  try {
237
237
  window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
238
238
  version: "1.4.6",
239
- buildTime: "07/06/2024 10:24 AM EDT",
239
+ buildTime: "07/19/2024 08:17 PM EDT",
240
240
  homepage: "https://github.com/aversini/ui-components",
241
241
  license: "MIT"
242
242
  });