@alexandregme/zljs 3.19.0 → 3.20.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,13 @@ A change that needs action in an app has a **Migration** note. When updating, re
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [3.20.0] - 2026-11-21
12
+
13
+ ### Added
14
+
15
+ - `size="xl"` on `Icon`: 32px, for an icon that stands alone, such as a shortcut. The type `IconSize` is the sizes `Icon` takes: `Size` and `xl`
16
+ - `Icon` has the `SiVercel` icon
17
+
11
18
  ## [3.19.0] - 2026-11-20
12
19
 
13
20
  ### Added
@@ -604,7 +611,8 @@ Replace the shade with the class of the `color` being tested, for example `/(^|\
604
611
 
605
612
  The message of `Error` is `text-zl-danger`. `none` and `ghost` didn't change.
606
613
 
607
- [Unreleased]: https://github.com/alexandregme/zljs/compare/v3.19.0...HEAD
614
+ [Unreleased]: https://github.com/alexandregme/zljs/compare/v3.20.0...HEAD
615
+ [3.20.0]: https://github.com/alexandregme/zljs/compare/v3.19.0...v3.20.0
608
616
  [3.19.0]: https://github.com/alexandregme/zljs/compare/v3.18.0...v3.19.0
609
617
  [3.18.0]: https://github.com/alexandregme/zljs/compare/v3.17.0...v3.18.0
610
618
  [3.17.0]: https://github.com/alexandregme/zljs/compare/v3.16.0...v3.17.0
@@ -9,19 +9,22 @@ import {
9
9
  SiFacebook,
10
10
  SiInstagram,
11
11
  SiShopify,
12
- SiGithub
12
+ SiGithub,
13
+ SiVercel
13
14
  } from "react-icons/si";
14
15
  var iconBrands = {
15
16
  SiWhatsapp,
16
17
  SiFacebook,
17
18
  SiInstagram,
18
19
  SiShopify,
19
- SiGithub
20
+ SiGithub,
21
+ SiVercel
20
22
  };
21
23
  var iconSizes = {
22
24
  sm: 12,
23
25
  md: 16,
24
- lg: 24
26
+ lg: 24,
27
+ xl: 32
25
28
  };
26
29
 
27
30
  // core/icon/icon.styles.ts
package/dist/index.d.ts CHANGED
@@ -12,12 +12,14 @@ 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", "Share2", "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"];
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", "Share2", "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", "SiVercel"];
16
16
 
17
17
  type IconName = (typeof iconNames)[number];
18
+ /** The sizes every component has, and `xl` for an icon that stands alone. */
19
+ type IconSize = Size | "xl";
18
20
  interface IconProps {
19
21
  name: IconName;
20
- size?: Size;
22
+ size?: IconSize;
21
23
  color?: SemanticColor;
22
24
  "aria-label"?: string;
23
25
  }
@@ -774,4 +776,4 @@ declare const useAuth: () => UseAuthResult;
774
776
  declare const ZustandProviders: ({ children, auth }: ZustandProvidersProps) => react.JSX.Element;
775
777
 
776
778
  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, ShareAppButton, Sidebar, SignOutButton, Spinner, StatsCard, Tabs, Tag, Text, TextArea, Toaster, TopNav, WhatsAppButton, ZustandProviders, ZustandProvidersProps, appInitialState, getAuthSession, splitURLasPath, toast, useAppStore, useAuth, useInstallApp, useIsDesktop, usePageStore, useRouterStore, useToastStore };
777
- 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, ShareAppButtonProps, SidebarItem, SidebarProps, SidebarSection, SidebarUser, Size, SpinnerProps, SpinnerVariant, StatsCardProps, TabsItem, TabsProps, TagColor, TagProps, TextAreaProps, TextProps, TextVariant, Toast, ToastState, ToastType, TopNavProps, WhatsAppButtonProps };
779
+ export type { AppState, AuthorizedProps, ButtonColor, ButtonProps, ButtonVariant, CardProps, CheckboxProps, CheckboxVariant, ConnectedModalProps, DataGridColumn, DataGridProps, ErrorProps, FormProps, HeadingProps, HttpClientConfig, HttpRequestConfig, IconName, IconProps, IconSize, InputProps, InstallApp, InstallAppButtonProps, InstallAppWay, LoaderProps, LoginProvider, LoginVendor, ModalProps, NavigationMode, NavigationProps, PageState, RadioProps, ReduxStore, RouterState, SelectOption, SelectProps, ShareAppButtonProps, 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
@@ -33,7 +33,7 @@ import {
33
33
  usePageStore,
34
34
  useRouterStore,
35
35
  useToastStore
36
- } from "./chunk-4JXA6DG6.js";
36
+ } from "./chunk-DM4EKQGH.js";
37
37
  import {
38
38
  Error,
39
39
  FormInput,
@@ -7,7 +7,7 @@ import {
7
7
  ZustandProviders,
8
8
  usePageStore,
9
9
  useRouterStore
10
- } from "../chunk-4JXA6DG6.js";
10
+ } from "../chunk-DM4EKQGH.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.19.0",
3
+ "version": "3.20.0",
4
4
  "description": "Opinionated, accessible React component library for enterprise apps (Next.js, Tailwind CSS v4).",
5
5
  "keywords": [
6
6
  "react",