@alexandregme/zljs 3.16.0 → 3.18.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 CHANGED
@@ -8,6 +8,18 @@ A change that needs action in an app has a **Migration** note. When updating, re
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [3.18.0] - 2026-11-19
12
+
13
+ ### Added
14
+
15
+ - `Toaster`: `toast.error` and `toast.warning` (and the `useToastStore` toasts of those types) show a `Copy` button when the message is text. It copies the message and its text `description`, then reads `Copied` and keeps the toast open. An `action` passed by the app replaces it
16
+
17
+ ## [3.17.0] - 2026-11-19
18
+
19
+ ### Added
20
+
21
+ - `Icon` has the `Settings` (gear) and `SiGithub` icons
22
+
11
23
  ## [3.16.0] - 2026-11-19
12
24
 
13
25
  ### Added
@@ -565,7 +577,9 @@ Replace the shade with the class of the `color` being tested, for example `/(^|\
565
577
 
566
578
  The message of `Error` is `text-zl-danger`. `none` and `ghost` didn't change.
567
579
 
568
- [Unreleased]: https://github.com/alexandregme/zljs/compare/v3.16.0...HEAD
580
+ [Unreleased]: https://github.com/alexandregme/zljs/compare/v3.18.0...HEAD
581
+ [3.18.0]: https://github.com/alexandregme/zljs/compare/v3.17.0...v3.18.0
582
+ [3.17.0]: https://github.com/alexandregme/zljs/compare/v3.16.0...v3.17.0
569
583
  [3.16.0]: https://github.com/alexandregme/zljs/compare/v3.15.0...v3.16.0
570
584
  [3.15.0]: https://github.com/alexandregme/zljs/compare/v3.14.0...v3.15.0
571
585
  [3.14.0]: https://github.com/alexandregme/zljs/compare/v3.13.1...v3.14.0
@@ -4,12 +4,19 @@
4
4
  import * as LucideIcons from "lucide-react";
5
5
 
6
6
  // core/icon/icon.const.ts
7
- import { SiWhatsapp, SiFacebook, SiInstagram, SiShopify } from "react-icons/si";
7
+ import {
8
+ SiWhatsapp,
9
+ SiFacebook,
10
+ SiInstagram,
11
+ SiShopify,
12
+ SiGithub
13
+ } from "react-icons/si";
8
14
  var iconBrands = {
9
15
  SiWhatsapp,
10
16
  SiFacebook,
11
17
  SiInstagram,
12
- SiShopify
18
+ SiShopify,
19
+ SiGithub
13
20
  };
14
21
  var iconSizes = {
15
22
  sm: 12,
@@ -1130,9 +1137,15 @@ var TopNav = ({
1130
1137
  ] });
1131
1138
  };
1132
1139
 
1133
- // features/toaster/components/toaster/toaster.tsx
1134
- import { useEffect as useEffect3 } from "react";
1135
- import { Toaster as SonnerToaster, toast } from "sonner";
1140
+ // features/toaster/components/toaster/toast.tsx
1141
+ import { toast as sonnerToast } from "sonner";
1142
+
1143
+ // features/toaster/components/toaster/toaster-copy-button.tsx
1144
+ import { useState as useState4 } from "react";
1145
+
1146
+ // features/toaster/components/toaster/toaster.const.ts
1147
+ var toasterCopyLabel = "Copy";
1148
+ var toasterCopiedLabel = "Copied";
1136
1149
 
1137
1150
  // features/toaster/components/toaster/toaster.styles.ts
1138
1151
  import { tv as tv10 } from "tailwind-variants";
@@ -1140,7 +1153,9 @@ var focusOutline = "focus-visible:outline-2! focus-visible:outline-offset-2! foc
1140
1153
  var toaster = tv10({
1141
1154
  slots: {
1142
1155
  toast: focusOutline,
1143
- closeButton: focusOutline
1156
+ closeButton: focusOutline,
1157
+ // Sonner pushes its own action button to the end; this does the same for ours.
1158
+ copyButton: "ms-auto shrink-0"
1144
1159
  }
1145
1160
  });
1146
1161
  var toasterColors = {
@@ -1158,8 +1173,52 @@ var toasterColors = {
1158
1173
  "--error-border": "color-mix(in oklab, var(--color-zl-danger) 30%, white)"
1159
1174
  };
1160
1175
 
1161
- // features/toaster/components/toaster/toaster.tsx
1176
+ // features/toaster/components/toaster/toaster-copy-button.tsx
1162
1177
  import { jsx as jsx13 } from "react/jsx-runtime";
1178
+ var ToasterCopyButton = ({ text: text2 }) => {
1179
+ const [copied, setCopied] = useState4(false);
1180
+ const { copyButton } = toaster();
1181
+ const copy = () => navigator.clipboard.writeText(text2).then(
1182
+ () => setCopied(true),
1183
+ // Without permission the browser refuses, and the button stays on Copy.
1184
+ () => void 0
1185
+ );
1186
+ return /* @__PURE__ */ jsx13("span", { className: copyButton(), children: /* @__PURE__ */ jsx13(
1187
+ Button,
1188
+ {
1189
+ color: "ghost",
1190
+ size: "sm",
1191
+ icon: copied ? "Check" : void 0,
1192
+ onClick: copy,
1193
+ children: copied ? toasterCopiedLabel : toasterCopyLabel
1194
+ }
1195
+ ) });
1196
+ };
1197
+
1198
+ // features/toaster/components/toaster/toast.tsx
1199
+ import { jsx as jsx14 } from "react/jsx-runtime";
1200
+ var copyText = (message, description2) => typeof description2 === "string" ? `${message}
1201
+ ${description2}` : message;
1202
+ var withCopy = (show) => (message, data) => show(
1203
+ message,
1204
+ typeof message === "string" ? {
1205
+ action: /* @__PURE__ */ jsx14(ToasterCopyButton, { text: copyText(message, data?.description) }),
1206
+ ...data
1207
+ } : data
1208
+ );
1209
+ var toast = Object.assign(
1210
+ (...args) => sonnerToast(...args),
1211
+ sonnerToast,
1212
+ {
1213
+ error: withCopy(sonnerToast.error),
1214
+ warning: withCopy(sonnerToast.warning)
1215
+ }
1216
+ );
1217
+
1218
+ // features/toaster/components/toaster/toaster.tsx
1219
+ import { useEffect as useEffect3 } from "react";
1220
+ import { Toaster as SonnerToaster } from "sonner";
1221
+ import { jsx as jsx15 } from "react/jsx-runtime";
1163
1222
  var Toaster = () => {
1164
1223
  const toasts = useToastStore((s) => s.toasts);
1165
1224
  const removeToast = useToastStore((s) => s.removeToast);
@@ -1170,7 +1229,7 @@ var Toaster = () => {
1170
1229
  removeToast(t.id);
1171
1230
  });
1172
1231
  }, [toasts, removeToast]);
1173
- return /* @__PURE__ */ jsx13(
1232
+ return /* @__PURE__ */ jsx15(
1174
1233
  SonnerToaster,
1175
1234
  {
1176
1235
  position: "bottom-right",
@@ -1187,9 +1246,6 @@ var Toaster = () => {
1187
1246
  );
1188
1247
  };
1189
1248
 
1190
- // features/toaster/components/toaster/index.ts
1191
- import { toast as toast2 } from "sonner";
1192
-
1193
1249
  // core/spinner/spinner.const.ts
1194
1250
  var spinnerIcons = {
1195
1251
  circle: "LoaderCircle",
@@ -1204,19 +1260,19 @@ var spinner = tv11({
1204
1260
  });
1205
1261
 
1206
1262
  // core/spinner/spinner.tsx
1207
- import { jsx as jsx14 } from "react/jsx-runtime";
1263
+ import { jsx as jsx16 } from "react/jsx-runtime";
1208
1264
  var Spinner = ({
1209
1265
  variant = "circle",
1210
1266
  size = "md",
1211
1267
  label = "Loading"
1212
- }) => /* @__PURE__ */ jsx14(
1268
+ }) => /* @__PURE__ */ jsx16(
1213
1269
  "span",
1214
1270
  {
1215
1271
  "data-testid": "spinner",
1216
1272
  role: "status",
1217
1273
  "aria-label": label,
1218
1274
  className: spinner(),
1219
- children: /* @__PURE__ */ jsx14(Icon, { name: spinnerIcons[variant], size })
1275
+ children: /* @__PURE__ */ jsx16(Icon, { name: spinnerIcons[variant], size })
1220
1276
  }
1221
1277
  );
1222
1278
 
@@ -1227,15 +1283,15 @@ var loader = tv12({
1227
1283
  });
1228
1284
 
1229
1285
  // features/app/components/loader/loader.tsx
1230
- import { jsx as jsx15 } from "react/jsx-runtime";
1286
+ import { jsx as jsx17 } from "react/jsx-runtime";
1231
1287
  var Loader = ({ label = "Loading" }) => {
1232
1288
  const fetching = useAppStore((s) => s.fetching);
1233
1289
  if (!fetching) return null;
1234
- return /* @__PURE__ */ jsx15("div", { className: loader(), children: /* @__PURE__ */ jsx15(Spinner, { size: "lg", label }) });
1290
+ return /* @__PURE__ */ jsx17("div", { className: loader(), children: /* @__PURE__ */ jsx17(Spinner, { size: "lg", label }) });
1235
1291
  };
1236
1292
 
1237
1293
  // features/app/components/navigation/navigation.tsx
1238
- import { jsx as jsx16 } from "react/jsx-runtime";
1294
+ import { jsx as jsx18 } from "react/jsx-runtime";
1239
1295
  var Navigation = ({
1240
1296
  mode = "auto",
1241
1297
  sections,
@@ -1259,7 +1315,7 @@ var Navigation = ({
1259
1315
  return null;
1260
1316
  }
1261
1317
  if (desktop) {
1262
- return /* @__PURE__ */ jsx16(
1318
+ return /* @__PURE__ */ jsx18(
1263
1319
  Sidebar,
1264
1320
  {
1265
1321
  sections,
@@ -1276,7 +1332,7 @@ var Navigation = ({
1276
1332
  }
1277
1333
  );
1278
1334
  }
1279
- return /* @__PURE__ */ jsx16(
1335
+ return /* @__PURE__ */ jsx18(
1280
1336
  TopNav,
1281
1337
  {
1282
1338
  sections,
@@ -1295,7 +1351,7 @@ var Navigation = ({
1295
1351
  };
1296
1352
 
1297
1353
  // core/state/redux/redux-provider/redux-provider.tsx
1298
- import { useState as useState4 } from "react";
1354
+ import { useState as useState5 } from "react";
1299
1355
  import { Provider } from "react-redux";
1300
1356
 
1301
1357
  // core/state/redux/store/store.ts
@@ -1328,7 +1384,7 @@ var createReduxStore = ({
1328
1384
  };
1329
1385
 
1330
1386
  // core/state/redux/redux-provider/redux-provider.tsx
1331
- import { jsx as jsx17 } from "react/jsx-runtime";
1387
+ import { jsx as jsx19 } from "react/jsx-runtime";
1332
1388
  var ReduxProvider = ({
1333
1389
  children,
1334
1390
  reducers = {},
@@ -1336,7 +1392,7 @@ var ReduxProvider = ({
1336
1392
  preloadedState = {},
1337
1393
  coreReducers = {}
1338
1394
  }) => {
1339
- const [store] = useState4(
1395
+ const [store] = useState5(
1340
1396
  () => createReduxStore({
1341
1397
  reducers,
1342
1398
  middlewares,
@@ -1344,7 +1400,7 @@ var ReduxProvider = ({
1344
1400
  coreReducers
1345
1401
  })
1346
1402
  );
1347
- return /* @__PURE__ */ jsx17(Provider, { store, children });
1403
+ return /* @__PURE__ */ jsx19(Provider, { store, children });
1348
1404
  };
1349
1405
 
1350
1406
  // core/state/zustand/router/router.utils.ts
@@ -1436,7 +1492,7 @@ var card = tv13({
1436
1492
  });
1437
1493
 
1438
1494
  // core/card/card.tsx
1439
- import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
1495
+ import { jsx as jsx20, jsxs as jsxs8 } from "react/jsx-runtime";
1440
1496
  var Card = ({
1441
1497
  children,
1442
1498
  title: title2,
@@ -1448,8 +1504,8 @@ var Card = ({
1448
1504
  const messageColor = color === "none" ? "muted" : "none";
1449
1505
  return /* @__PURE__ */ jsxs8("div", { "data-testid": "card", className: base(), children: [
1450
1506
  (title2 || message) && /* @__PURE__ */ jsxs8("div", { className: header3(), children: [
1451
- title2 && /* @__PURE__ */ jsx18(Heading, { level: titleLevel, children: title2 }),
1452
- message && /* @__PURE__ */ jsx18(Text, { color: messageColor, children: message })
1507
+ title2 && /* @__PURE__ */ jsx20(Heading, { level: titleLevel, children: title2 }),
1508
+ message && /* @__PURE__ */ jsx20(Text, { color: messageColor, children: message })
1453
1509
  ] }),
1454
1510
  children
1455
1511
  ] });
@@ -1464,7 +1520,7 @@ var accessPending = tv14({
1464
1520
  });
1465
1521
 
1466
1522
  // features/auth/components/access-pending/access-pending.tsx
1467
- import { jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
1523
+ import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
1468
1524
  var AccessPending = ({
1469
1525
  title: title2 = "Waiting for approval",
1470
1526
  message = "Your access to this app has not been approved yet.",
@@ -1479,9 +1535,9 @@ var AccessPending = ({
1479
1535
  if (!user) {
1480
1536
  return null;
1481
1537
  }
1482
- return /* @__PURE__ */ jsx19(Card, { title: title2, titleLevel: 1, message, children: /* @__PURE__ */ jsxs9("div", { className: account(), children: [
1483
- /* @__PURE__ */ jsx19(Text, { variant: "caption", color: "muted", children: user.email }),
1484
- /* @__PURE__ */ jsx19(
1538
+ return /* @__PURE__ */ jsx21(Card, { title: title2, titleLevel: 1, message, children: /* @__PURE__ */ jsxs9("div", { className: account(), children: [
1539
+ /* @__PURE__ */ jsx21(Text, { variant: "caption", color: "muted", children: user.email }),
1540
+ /* @__PURE__ */ jsx21(
1485
1541
  SignOutButton,
1486
1542
  {
1487
1543
  label: signOutLabel,
@@ -1496,7 +1552,7 @@ var AccessPending = ({
1496
1552
 
1497
1553
  // features/auth/components/auth-provider/auth-provider.tsx
1498
1554
  import { useEffect as useEffect4 } from "react";
1499
- import { Fragment as Fragment6, jsx as jsx20 } from "react/jsx-runtime";
1555
+ import { Fragment as Fragment6, jsx as jsx22 } from "react/jsx-runtime";
1500
1556
  var AuthProvider = ({
1501
1557
  adapter,
1502
1558
  appId,
@@ -1513,7 +1569,7 @@ var AuthProvider = ({
1513
1569
  reset();
1514
1570
  };
1515
1571
  }, [adapter, appId, configure, setSession, reset]);
1516
- return /* @__PURE__ */ jsx20(Fragment6, { children });
1572
+ return /* @__PURE__ */ jsx22(Fragment6, { children });
1517
1573
  };
1518
1574
 
1519
1575
  // features/auth/components/login/login.const.ts
@@ -1535,7 +1591,7 @@ var login = tv15({
1535
1591
  });
1536
1592
 
1537
1593
  // features/auth/components/login/login.tsx
1538
- import { jsx as jsx21 } from "react/jsx-runtime";
1594
+ import { jsx as jsx23 } from "react/jsx-runtime";
1539
1595
  var LoginProviderButton = ({
1540
1596
  id,
1541
1597
  label,
@@ -1544,7 +1600,7 @@ var LoginProviderButton = ({
1544
1600
  const signIn = () => {
1545
1601
  onSignIn(id);
1546
1602
  };
1547
- return /* @__PURE__ */ jsx21(Button, { size: "lg", fullWidth: true, onClick: signIn, children: label });
1603
+ return /* @__PURE__ */ jsx23(Button, { size: "lg", fullWidth: true, onClick: signIn, children: label });
1548
1604
  };
1549
1605
  var Login = ({
1550
1606
  vendor,
@@ -1562,9 +1618,9 @@ var Login = ({
1562
1618
  useToastStore.getState().error(errorMessage);
1563
1619
  });
1564
1620
  };
1565
- return /* @__PURE__ */ jsx21(Card, { title: title2, titleLevel: 1, message, children: /* @__PURE__ */ jsx21("div", { className: options(), children: providers.map((provider) => {
1621
+ return /* @__PURE__ */ jsx23(Card, { title: title2, titleLevel: 1, message, children: /* @__PURE__ */ jsx23("div", { className: options(), children: providers.map((provider) => {
1566
1622
  const id = String(provider);
1567
- return /* @__PURE__ */ jsx21(
1623
+ return /* @__PURE__ */ jsx23(
1568
1624
  LoginProviderButton,
1569
1625
  {
1570
1626
  id,
@@ -1577,7 +1633,7 @@ var Login = ({
1577
1633
  };
1578
1634
 
1579
1635
  // features/auth/components/authorized/authorized.tsx
1580
- import { Fragment as Fragment7, jsx as jsx22 } from "react/jsx-runtime";
1636
+ import { Fragment as Fragment7, jsx as jsx24 } from "react/jsx-runtime";
1581
1637
  var Authorized = ({
1582
1638
  children,
1583
1639
  roles,
@@ -1586,18 +1642,18 @@ var Authorized = ({
1586
1642
  }) => {
1587
1643
  const { status, user, role } = useAuth();
1588
1644
  if (status === "loading") return null;
1589
- if (!user) return /* @__PURE__ */ jsx22(Login, { ...login2 });
1645
+ if (!user) return /* @__PURE__ */ jsx24(Login, { ...login2 });
1590
1646
  const hasRole = !roles || role !== null && roles.includes(role);
1591
- if (!user.hasAccess || !hasRole) return /* @__PURE__ */ jsx22(AccessPending, { ...accessPending2 });
1592
- return /* @__PURE__ */ jsx22(Fragment7, { children });
1647
+ if (!user.hasAccess || !hasRole) return /* @__PURE__ */ jsx24(AccessPending, { ...accessPending2 });
1648
+ return /* @__PURE__ */ jsx24(Fragment7, { children });
1593
1649
  };
1594
1650
 
1595
1651
  // features/providers/components/zustand-providers/zustand-providers.tsx
1596
- import { Fragment as Fragment8, jsx as jsx23, jsxs as jsxs10 } from "react/jsx-runtime";
1652
+ import { Fragment as Fragment8, jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
1597
1653
  var ZustandProviders = ({ children, auth }) => /* @__PURE__ */ jsxs10(Fragment8, { children: [
1598
- /* @__PURE__ */ jsx23(Loader, {}),
1599
- /* @__PURE__ */ jsx23(Toaster, {}),
1600
- auth ? /* @__PURE__ */ jsx23(AuthProvider, { adapter: auth.adapter, appId: auth.appId, children }) : children
1654
+ /* @__PURE__ */ jsx25(Loader, {}),
1655
+ /* @__PURE__ */ jsx25(Toaster, {}),
1656
+ auth ? /* @__PURE__ */ jsx25(AuthProvider, { adapter: auth.adapter, appId: auth.appId, children }) : children
1601
1657
  ] });
1602
1658
 
1603
1659
  export {
@@ -1619,8 +1675,8 @@ export {
1619
1675
  useInstallApp,
1620
1676
  useIsDesktop,
1621
1677
  TopNav,
1678
+ toast,
1622
1679
  Toaster,
1623
- toast2 as toast,
1624
1680
  Spinner,
1625
1681
  Loader,
1626
1682
  Navigation,
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as react from 'react';
2
2
  import { ReactNode, ChangeEvent, FormEvent, HTMLInputAutoCompleteAttribute, FocusEvent, KeyboardEvent, Ref } from 'react';
3
3
  import { S as SemanticColor, D as DataColor, A as AuxiliaryColor, R as ReduxProviderProps, a as AuthSession, b as AuthConfig, c as AuthAdapter, d as AuthStatus, e as AuthUser, Z as ZustandProvidersProps } from './zustand-providers.interface-CeC8U2hM.js';
4
4
  export { FormInput, FormInputProps, FormProvider, FormProviderProps } from './rhf/index.js';
5
- export { toast } from 'sonner';
5
+ import { toast as toast$1 } from 'sonner';
6
6
  import * as zustand from 'zustand';
7
7
  import { Store, Reducer } from '@reduxjs/toolkit';
8
8
  import 'react-hook-form';
@@ -12,7 +12,7 @@ import 'react-hook-form';
12
12
  */
13
13
  type Size = "sm" | "md" | "lg";
14
14
 
15
- declare const iconNames: readonly ["Check", "X", "Plus", "Minus", "Search", "Menu", "ChevronDown", "ChevronUp", "ChevronLeft", "ChevronRight", "ChevronsUp", "ArrowUp", "Pencil", "Trash2", "Save", "RefreshCw", "Home", "MessageSquare", "Users", "Store", "ShoppingCart", "BarChart3", "Brain", "Send", "LogOut", "Download", "User", "Key", "Contact", "Package", "Warehouse", "HandCoins", "Stethoscope", "LogIn", "Megaphone", "LayoutDashboard", "Smile", "Frown", "Cat", "ArrowRight", "Loader", "LoaderCircle", "CheckCircle", "XCircle", "AlertTriangle", "Info", "Route", "Navigation", "ListChecks", "Map", "MapPinOff", "SiWhatsapp", "SiFacebook", "SiInstagram", "SiShopify"];
15
+ declare const iconNames: readonly ["Check", "X", "Plus", "Minus", "Search", "Menu", "ChevronDown", "ChevronUp", "ChevronLeft", "ChevronRight", "ChevronsUp", "ArrowUp", "Pencil", "Trash2", "Save", "RefreshCw", "Home", "MessageSquare", "Users", "Store", "ShoppingCart", "BarChart3", "Brain", "Send", "LogOut", "Download", "User", "Key", "Contact", "Package", "Warehouse", "HandCoins", "Stethoscope", "LogIn", "Megaphone", "LayoutDashboard", "Smile", "Frown", "Cat", "ArrowRight", "Loader", "LoaderCircle", "CheckCircle", "XCircle", "AlertTriangle", "Info", "Route", "Navigation", "ListChecks", "Map", "MapPinOff", "Settings", "SiWhatsapp", "SiFacebook", "SiInstagram", "SiShopify", "SiGithub"];
16
16
 
17
17
  type IconName = (typeof iconNames)[number];
18
18
  interface IconProps {
@@ -433,6 +433,8 @@ declare const Tag: ({ children, color, size, onRemove, removeLabel, }: TagProps)
433
433
 
434
434
  declare const Toaster: () => react.JSX.Element;
435
435
 
436
+ declare const toast: typeof toast$1;
437
+
436
438
  type ToastType = "success" | "error" | "info" | "warning";
437
439
  interface Toast {
438
440
  id: number;
@@ -727,5 +729,5 @@ declare const useAuth: () => UseAuthResult;
727
729
 
728
730
  declare const ZustandProviders: ({ children, auth }: ZustandProvidersProps) => react.JSX.Element;
729
731
 
730
- export { AccessPending, AuthAdapter, AuthProvider, AuthSession, Authorized, AuxiliaryColor, Button, Card, Checkbox, ConnectedModal, DataColor, DataGrid, Error, Form, HTTPClient, Heading, Icon, Input, InstallAppButton, Loader, Login, Modal, Navigation, Radio, ReduxProvider, ReduxProviderProps, Select, SemanticColor, Sidebar, SignOutButton, Spinner, StatsCard, Tabs, Tag, Text, TextArea, Toaster, TopNav, WhatsAppButton, ZustandProviders, ZustandProvidersProps, appInitialState, getAuthSession, splitURLasPath, useAppStore, useAuth, useInstallApp, useIsDesktop, usePageStore, useRouterStore, useToastStore };
732
+ export { AccessPending, AuthAdapter, AuthProvider, AuthSession, Authorized, AuxiliaryColor, Button, Card, Checkbox, ConnectedModal, DataColor, DataGrid, Error, Form, HTTPClient, Heading, Icon, Input, InstallAppButton, Loader, Login, Modal, Navigation, Radio, ReduxProvider, ReduxProviderProps, Select, SemanticColor, Sidebar, SignOutButton, Spinner, StatsCard, Tabs, Tag, Text, TextArea, Toaster, TopNav, WhatsAppButton, ZustandProviders, ZustandProvidersProps, appInitialState, getAuthSession, splitURLasPath, toast, useAppStore, useAuth, useInstallApp, useIsDesktop, usePageStore, useRouterStore, useToastStore };
731
733
  export type { AppState, AuthorizedProps, ButtonColor, ButtonProps, ButtonVariant, CardProps, CheckboxProps, CheckboxVariant, ConnectedModalProps, DataGridColumn, DataGridProps, ErrorProps, FormProps, HeadingProps, HttpClientConfig, HttpRequestConfig, IconName, IconProps, InputProps, InstallApp, InstallAppButtonProps, InstallAppWay, LoaderProps, LoginProvider, LoginVendor, ModalProps, NavigationMode, NavigationProps, PageState, RadioProps, ReduxStore, RouterState, SelectOption, SelectProps, SidebarItem, SidebarProps, SidebarSection, SidebarUser, Size, SpinnerProps, SpinnerVariant, StatsCardProps, TabsItem, TabsProps, TagColor, TagProps, TextAreaProps, TextProps, TextVariant, Toast, ToastState, ToastType, TopNavProps, WhatsAppButtonProps };
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
  usePageStore,
33
33
  useRouterStore,
34
34
  useToastStore
35
- } from "./chunk-KAYLAL75.js";
35
+ } from "./chunk-MC6RA4BA.js";
36
36
  import {
37
37
  Error,
38
38
  FormInput,
@@ -7,7 +7,7 @@ import {
7
7
  ZustandProviders,
8
8
  usePageStore,
9
9
  useRouterStore
10
- } from "../chunk-KAYLAL75.js";
10
+ } from "../chunk-MC6RA4BA.js";
11
11
 
12
12
  // core/next/root-layout/root-layout.tsx
13
13
  import { Analytics } from "@vercel/analytics/next";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexandregme/zljs",
3
- "version": "3.16.0",
3
+ "version": "3.18.0",
4
4
  "description": "Opinionated, accessible React component library for enterprise apps (Next.js, Tailwind CSS v4).",
5
5
  "keywords": [
6
6
  "react",