@versini/sassysaint 1.0.11 → 1.0.13

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,9 +1,9 @@
1
1
  import { jsx as i, jsxs as E, Fragment as D } from "react/jsx-runtime";
2
- import y from "clsx";
2
+ import A 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 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.eFSALEqy.js";
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.CJJY2C9o.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 = y(n, {
108
+ const v = A(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 = k({
128
+ const [t, l] = c.useState(e), [r, a] = c.useState(), [s, f] = c.useState(), u = n ?? t, d = o ?? l, m = P({
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), A = U([h, v, N]);
136
+ }), N = B(p), y = U([h, v, N]);
137
137
  return c.useMemo(
138
138
  () => ({
139
139
  open: u,
140
140
  setOpen: d,
141
- ...A,
141
+ ...y,
142
142
  ...m,
143
143
  labelId: r,
144
144
  descriptionId: s,
145
145
  setLabelId: a,
146
146
  setDescriptionId: f
147
147
  }),
148
- [u, d, A, m, r, s]
148
+ [u, d, y, 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 = y("grid place-items-center", {
171
+ const { overlayBackground: r, ...a } = e, s = A("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(P, { context: o, children: /* @__PURE__ */ i(
175
+ return /* @__PURE__ */ i(F, { children: /* @__PURE__ */ i(O, { className: s, lockScroll: !0, children: /* @__PURE__ */ i(k, { 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 = y(
210
+ const d = j(a), m = A(
211
211
  d,
212
212
  t || r
213
213
  );
@@ -230,13 +230,13 @@ const ee = c.forwardRef(function(e, n) {
230
230
  ] });
231
231
  };
232
232
  /*!
233
- @versini/ui-private v1.4.6
233
+ @versini/ui-private v1.4.7
234
234
  © 2024 gizmette.com
235
235
  */
236
236
  try {
237
237
  window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
238
- version: "1.4.6",
239
- buildTime: "07/19/2024 08:17 PM EDT",
238
+ version: "1.4.7",
239
+ buildTime: "08/07/2024 09:49 AM EDT",
240
240
  homepage: "https://github.com/aversini/ui-components",
241
241
  license: "MIT"
242
242
  });
@@ -1,7 +1,7 @@
1
1
  import { jsxs as _, Fragment as M, jsx as l } from "react/jsx-runtime";
2
2
  import m from "clsx";
3
- import w, { useContext as k, useSyncExternalStore as W, useCallback as S, useEffect as P } from "react";
4
- import { A as U, i as F, f as q, S as j, MODEL_GPT4 as J } from "./index.eFSALEqy.js";
3
+ import w, { useContext as k, useSyncExternalStore as W, useCallback as S, useEffect as U } from "react";
4
+ import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.CJJY2C9o.js";
5
5
  const Q = (e) => {
6
6
  let a = "";
7
7
  if (typeof e == "number" || typeof e == "string")
@@ -46,13 +46,13 @@ const Q = (e) => {
46
46
  ] });
47
47
  };
48
48
  /*!
49
- @versini/ui-private v1.4.6
49
+ @versini/ui-private v1.4.7
50
50
  © 2024 gizmette.com
51
51
  */
52
52
  try {
53
53
  window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
54
- version: "1.4.6",
55
- buildTime: "07/19/2024 08:17 PM EDT",
54
+ version: "1.4.7",
55
+ buildTime: "08/07/2024 09:49 AM EDT",
56
56
  homepage: "https://github.com/aversini/ui-components",
57
57
  license: "MIT"
58
58
  });
@@ -65,7 +65,7 @@ try {
65
65
  try {
66
66
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
67
67
  version: "1.11.0",
68
- buildTime: "07/19/2024 08:17 PM EDT",
68
+ buildTime: "08/07/2024 09:49 AM EDT",
69
69
  homepage: "https://github.com/aversini/ui-components",
70
70
  license: "MIT"
71
71
  });
@@ -177,7 +177,7 @@ const Y = ({
177
177
  active: V = !1,
178
178
  ...O
179
179
  }, G) => {
180
- const $ = U({
180
+ const $ = F({
181
181
  type: q,
182
182
  mode: t,
183
183
  focusMode: s,
@@ -215,7 +215,7 @@ const Y = ({
215
215
  }
216
216
  ) : "";
217
217
  return /* @__PURE__ */ l("div", { className: D, children: /* @__PURE__ */ _(
218
- F,
218
+ P,
219
219
  {
220
220
  ref: G,
221
221
  className: $,
@@ -459,11 +459,10 @@ const y = w.createContext({
459
459
  ), g = {
460
460
  GET_LOCATION: `query GetLocation($latitude: Float!, $longitude: Float!) {
461
461
  location(latitude: $latitude, longitude: $longitude) {
462
- city
463
- region
464
- regionShort
465
- country
466
- countryShort
462
+ country
463
+ state
464
+ city
465
+ displayName
467
466
  }
468
467
  }`,
469
468
  GET_CHATS: `query GetChats($userId: String!) {
@@ -655,7 +654,7 @@ function xe({
655
654
  }, [a, s]), o = S(() => {
656
655
  s(null);
657
656
  }, [s]);
658
- return P(() => {
657
+ return U(() => {
659
658
  try {
660
659
  E(e) === null && typeof a < "u" && T(e, a);
661
660
  } catch (d) {
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.eFSALEqy.js";
2
+ import { SassySaint as a } from "../../chunks/index.CJJY2C9o.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.eFSALEqy.js";
1
+ import { SassySaint as r } from "./chunks/index.CJJY2C9o.js";
2
2
  /*!
3
- @sassysaint/client v3.4.5
3
+ @sassysaint/client v3.4.8
4
4
  © 2024 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "3.4.5",
9
- buildTime: "08/01/2024 07:46 PM EDT",
8
+ version: "3.4.8",
9
+ buildTime: "08/12/2024 04:41 PM EDT",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,16 +30,16 @@
30
30
  "react-dom": "18.3.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "3.4.5",
34
- "@versini/ui-styles": "1.9.3"
33
+ "@sassysaint/client": "3.4.8",
34
+ "@versini/ui-styles": "1.9.4"
35
35
  },
36
36
  "dependencies": {
37
- "@versini/ui-hooks": "4.0.1",
37
+ "@versini/ui-hooks": "4.1.0",
38
38
  "clsx": "2.1.1",
39
- "tailwindcss": "3.4.7"
39
+ "tailwindcss": "3.4.8"
40
40
  },
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "ef2e3518d5179f83112b0a4a5b6fe47850db5c1f"
44
+ "gitHead": "0d544b1b611bd574099bac4b61422bc58f13f075"
45
45
  }