nave-ui-library 1.0.0-beta.69 → 1.0.0-beta.70

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,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
- import { ReactNode, ComponentProps, HTMLAttributes, CSSProperties } from 'react';
3
+ import { ReactNode, CSSProperties, ComponentProps, HTMLAttributes } from 'react';
4
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
5
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
6
6
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
@@ -1195,14 +1195,153 @@ declare function PopoverContent({ className, align, sideOffset, tokens, style, .
1195
1195
  }): react_jsx_runtime.JSX.Element;
1196
1196
  declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
1197
1197
 
1198
- declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
1199
- declare function Tooltip({ tokens, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root> & {
1198
+ declare function cn(...inputs: ClassValue[]): string;
1199
+
1200
+ declare enum COMPONENT_NAMES {
1201
+ ACCORDION = "accordion",
1202
+ BADGE = "badge",
1203
+ FEEDBACK = "feedback",
1204
+ EXPANSION_PANEL = "expansionPanel",
1205
+ TILE = "tile",
1206
+ BUTTON = "button",
1207
+ CHECKBOX = "checkbox",
1208
+ DRAWER = "drawer",
1209
+ EMPTY_STATE = "emptyState",
1210
+ INPUT = "input",
1211
+ LABEL = "label",
1212
+ MODAL_DIALOG = "alertDialog",
1213
+ NAVBAR = "navbar",
1214
+ POPOVER = "popover",
1215
+ RADIO = "radio",
1216
+ SEPARATOR = "separator",
1217
+ SIDEBAR = "sidebar",
1218
+ SWITCH = "switch",
1219
+ TABS = "tabs",
1220
+ TOUR = "tour",
1221
+ TABLE = "table",
1222
+ AVATAR = "avatar",
1223
+ CARD = "card",
1224
+ BANNER = "banner",
1225
+ PROMO_BANNER = "promoBanner",
1226
+ PROGRESS = "progress",
1227
+ LOADER = "loader",
1228
+ FILE_UPLOAD = "fileUpload",
1229
+ DROPDOWN = "dropdown",
1230
+ TOOLTIP = "tooltip",
1231
+ CAROUSEL = "carousel",
1232
+ MODULE_BOX = "moduleBox",
1233
+ CHARTS = "charts",
1234
+ PAGINATION = "pagination",
1235
+ HEADER = "header",
1236
+ BREADCRUMB = "breadcrumb",
1237
+ ICON = "icon",
1238
+ SELECT = "select",
1239
+ ALERT = "alert",
1240
+ CALENDAR = "calendar",
1241
+ LIST_ITEM = "listItem"
1242
+ }
1243
+
1244
+ /**
1245
+ * `CSSProperties` extended with arbitrary CSS custom properties (`--*`).
1246
+ * Use this instead of `as React.CSSProperties` when passing objects that
1247
+ * include `--my-var` keys.
1248
+ */
1249
+ type CSSPropertiesWithVars = CSSProperties & Record<`--${string}`, string | number>;
1250
+ /**
1251
+ * A single CSS variable mapping entry.
1252
+ *
1253
+ * - `tokenPath` — dot-separated path into the resolved tokens object
1254
+ * (e.g. `'hover.background'`, `'title.fontSize'`)
1255
+ * - `fallback` — hardcoded default used when the token is not found
1256
+ */
1257
+ type TokenVarEntry = {
1258
+ tokenPath: string;
1259
+ fallback?: string | number;
1260
+ };
1261
+ /**
1262
+ * Declarative mapping from CSS custom-property names to token paths.
1263
+ *
1264
+ * Example:
1265
+ * ```ts
1266
+ * const map = {
1267
+ * '--card-bg': { tokenPath: 'backgroundColor', fallback: '#ffffff' },
1268
+ * '--card-radius': { tokenPath: 'borderRadius', fallback: '16px' },
1269
+ * };
1270
+ * ```
1271
+ */
1272
+ type TokenStyleMap = Record<string, TokenVarEntry>;
1273
+ /**
1274
+ * Map an **already-resolved** token object to CSS custom properties.
1275
+ *
1276
+ * ### Usage
1277
+ * ```tsx
1278
+ * const theme = useTheme();
1279
+ * const mergedTokens = resolveTokens<CardTokens>({ componentName: 'card', variant, tokens }, theme);
1280
+ * const styles = mapTokenStyles(mergedTokens, CARD_TOKEN_MAP);
1281
+ * ```
1282
+ *
1283
+ * @param resolvedTokens — the raw result of `resolveTokens(…)`
1284
+ * @param map — declarative CSS-var → token-path mapping
1285
+ * @param extra — optional extra styles (supports CSS custom properties)
1286
+ */
1287
+ declare function mapTokenStyles(resolvedTokens: Record<string, unknown>, map: TokenStyleMap, extra?: CSSPropertiesWithVars | CSSProperties): CSSPropertiesWithVars;
1288
+
1289
+ /**
1290
+ * Shared token map for all input-family components
1291
+ * (Input, SearchBar, Select, Textarea, PasswordInput, DatePicker, Combobox).
1292
+ *
1293
+ * Eliminates ~40 lines of boilerplate per component.
1294
+ */
1295
+ declare const INPUT_TOKEN_MAP: TokenStyleMap;
1296
+ /**
1297
+ * Build extra size-specific styles from the resolved size tokens.
1298
+ * Used with `mapTokenStyles(..., extra)`.
1299
+ */
1300
+ declare function inputSizeExtras(sizeTokens: Record<string, any>): Record<string, unknown>;
1301
+
1302
+ /**
1303
+ * Hook para resolver tokens y mapear estilos en un solo paso.
1304
+ * Elimina el boilerplate repetido de useTheme + resolveTokens + mapTokenStyles.
1305
+ *
1306
+ * @param componentName Nombre del componente (ej: 'button')
1307
+ * @param tokenMap Mapeo declarativo de CSS vars
1308
+ * @param options Opciones: variant, size, tone, tokens, extra
1309
+ */
1310
+ declare function useTokenStyles<T extends ResolvedTokenMap = ResolvedTokenMap>(componentName: string, tokenMap: TokenStyleMap, options?: {
1311
+ variant?: string;
1312
+ size?: string;
1313
+ tone?: string;
1200
1314
  tokens?: Partial<ThemeTokensBase>;
1201
- }): react_jsx_runtime.JSX.Element;
1202
- declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1203
- declare function TooltipContent({ className, sideOffset, tokens, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content> & {
1315
+ shape?: string;
1316
+ extra?: CSSPropertiesWithVars | React.CSSProperties;
1317
+ }): {
1318
+ styles: CSSPropertiesWithVars;
1319
+ tokens: T;
1320
+ };
1321
+
1322
+ declare const TOOLTIP_TOKEN_MAP: TokenStyleMap;
1323
+
1324
+ type TooltipProps = {
1204
1325
  tokens?: Partial<ThemeTokensBase>;
1205
- }): react_jsx_runtime.JSX.Element;
1326
+ } & ComponentProps<typeof TooltipPrimitive.Root>;
1327
+ type TooltipContentProps = {
1328
+ sideOffset?: number;
1329
+ tokens?: Partial<ThemeTokensBase>;
1330
+ } & ComponentProps<typeof TooltipPrimitive.Content>;
1331
+ type TooltipProviderProps = React.ComponentProps<typeof TooltipPrimitive.Provider>;
1332
+ type TooltipTriggerProps = React.ComponentProps<typeof TooltipPrimitive.Trigger>;
1333
+
1334
+ declare const TooltipStateContext: React$1.Context<{
1335
+ open: boolean;
1336
+ setOpen: (open: boolean) => void;
1337
+ } | null>;
1338
+ declare const Tooltip: ({ tokens, ...props }: TooltipProps) => react_jsx_runtime.JSX.Element;
1339
+
1340
+ declare const TooltipContent: ({ className, sideOffset, tokens, children, ...props }: TooltipContentProps) => react_jsx_runtime.JSX.Element;
1341
+
1342
+ declare const TooltipProvider: ({ delayDuration, ...props }: TooltipProviderProps) => react_jsx_runtime.JSX.Element;
1343
+
1344
+ declare const TooltipTrigger: ({ onTouchStart, onPointerEnter, onPointerLeave, onPointerDown, ...props }: TooltipTriggerProps) => react_jsx_runtime.JSX.Element;
1206
1345
 
1207
1346
  declare const alertVariants: (props?: ({
1208
1347
  size?: "inline" | "full-width" | "stacked" | null | undefined;
@@ -1900,130 +2039,6 @@ type TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>;
1900
2039
  declare const TABS_STYLE = "tabs-ui";
1901
2040
  declare const Tabs: ({ className, size, tokens, style, ...props }: TabsProps) => react_jsx_runtime.JSX.Element;
1902
2041
 
1903
- declare function cn(...inputs: ClassValue[]): string;
1904
-
1905
- declare enum COMPONENT_NAMES {
1906
- ACCORDION = "accordion",
1907
- BADGE = "badge",
1908
- FEEDBACK = "feedback",
1909
- EXPANSION_PANEL = "expansionPanel",
1910
- TILE = "tile",
1911
- BUTTON = "button",
1912
- CHECKBOX = "checkbox",
1913
- DRAWER = "drawer",
1914
- EMPTY_STATE = "emptyState",
1915
- INPUT = "input",
1916
- LABEL = "label",
1917
- MODAL_DIALOG = "alertDialog",
1918
- NAVBAR = "navbar",
1919
- POPOVER = "popover",
1920
- RADIO = "radio",
1921
- SEPARATOR = "separator",
1922
- SIDEBAR = "sidebar",
1923
- SWITCH = "switch",
1924
- TABS = "tabs",
1925
- TOUR = "tour",
1926
- TABLE = "table",
1927
- AVATAR = "avatar",
1928
- CARD = "card",
1929
- BANNER = "banner",
1930
- PROMO_BANNER = "promoBanner",
1931
- PROGRESS = "progress",
1932
- LOADER = "loader",
1933
- FILE_UPLOAD = "fileUpload",
1934
- DROPDOWN = "dropdown",
1935
- TOOLTIP = "tooltip",
1936
- CAROUSEL = "carousel",
1937
- MODULE_BOX = "moduleBox",
1938
- CHARTS = "charts",
1939
- PAGINATION = "pagination",
1940
- HEADER = "header",
1941
- BREADCRUMB = "breadcrumb",
1942
- ICON = "icon",
1943
- SELECT = "select",
1944
- ALERT = "alert",
1945
- CALENDAR = "calendar",
1946
- LIST_ITEM = "listItem"
1947
- }
1948
-
1949
- /**
1950
- * `CSSProperties` extended with arbitrary CSS custom properties (`--*`).
1951
- * Use this instead of `as React.CSSProperties` when passing objects that
1952
- * include `--my-var` keys.
1953
- */
1954
- type CSSPropertiesWithVars = CSSProperties & Record<`--${string}`, string | number>;
1955
- /**
1956
- * A single CSS variable mapping entry.
1957
- *
1958
- * - `tokenPath` — dot-separated path into the resolved tokens object
1959
- * (e.g. `'hover.background'`, `'title.fontSize'`)
1960
- * - `fallback` — hardcoded default used when the token is not found
1961
- */
1962
- type TokenVarEntry = {
1963
- tokenPath: string;
1964
- fallback?: string | number;
1965
- };
1966
- /**
1967
- * Declarative mapping from CSS custom-property names to token paths.
1968
- *
1969
- * Example:
1970
- * ```ts
1971
- * const map = {
1972
- * '--card-bg': { tokenPath: 'backgroundColor', fallback: '#ffffff' },
1973
- * '--card-radius': { tokenPath: 'borderRadius', fallback: '16px' },
1974
- * };
1975
- * ```
1976
- */
1977
- type TokenStyleMap = Record<string, TokenVarEntry>;
1978
- /**
1979
- * Map an **already-resolved** token object to CSS custom properties.
1980
- *
1981
- * ### Usage
1982
- * ```tsx
1983
- * const theme = useTheme();
1984
- * const mergedTokens = resolveTokens<CardTokens>({ componentName: 'card', variant, tokens }, theme);
1985
- * const styles = mapTokenStyles(mergedTokens, CARD_TOKEN_MAP);
1986
- * ```
1987
- *
1988
- * @param resolvedTokens — the raw result of `resolveTokens(…)`
1989
- * @param map — declarative CSS-var → token-path mapping
1990
- * @param extra — optional extra styles (supports CSS custom properties)
1991
- */
1992
- declare function mapTokenStyles(resolvedTokens: Record<string, unknown>, map: TokenStyleMap, extra?: CSSPropertiesWithVars | CSSProperties): CSSPropertiesWithVars;
1993
-
1994
- /**
1995
- * Shared token map for all input-family components
1996
- * (Input, SearchBar, Select, Textarea, PasswordInput, DatePicker, Combobox).
1997
- *
1998
- * Eliminates ~40 lines of boilerplate per component.
1999
- */
2000
- declare const INPUT_TOKEN_MAP: TokenStyleMap;
2001
- /**
2002
- * Build extra size-specific styles from the resolved size tokens.
2003
- * Used with `mapTokenStyles(..., extra)`.
2004
- */
2005
- declare function inputSizeExtras(sizeTokens: Record<string, any>): Record<string, unknown>;
2006
-
2007
- /**
2008
- * Hook para resolver tokens y mapear estilos en un solo paso.
2009
- * Elimina el boilerplate repetido de useTheme + resolveTokens + mapTokenStyles.
2010
- *
2011
- * @param componentName Nombre del componente (ej: 'button')
2012
- * @param tokenMap Mapeo declarativo de CSS vars
2013
- * @param options Opciones: variant, size, tone, tokens, extra
2014
- */
2015
- declare function useTokenStyles<T extends ResolvedTokenMap = ResolvedTokenMap>(componentName: string, tokenMap: TokenStyleMap, options?: {
2016
- variant?: string;
2017
- size?: string;
2018
- tone?: string;
2019
- tokens?: Partial<ThemeTokensBase>;
2020
- shape?: string;
2021
- extra?: CSSPropertiesWithVars | React.CSSProperties;
2022
- }): {
2023
- styles: CSSPropertiesWithVars;
2024
- tokens: T;
2025
- };
2026
-
2027
2042
  declare const TABS_TOKEN_MAP: TokenStyleMap;
2028
2043
 
2029
2044
  declare const TabsContent: ({ className, ...props }: TabsContentProps) => react_jsx_runtime.JSX.Element;
@@ -2084,4 +2099,4 @@ declare function ThemeProvider({ channelId, theme, children, }: {
2084
2099
  children: React.ReactNode;
2085
2100
  }): react_jsx_runtime.JSX.Element;
2086
2101
 
2087
- export { AIProvider, type AIProviderProps, type AIRequest, type AIRequestFn, type AIResponse, type AITask, Accordion, type AccordionTokens, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, type AlertTokens, Avatar, AvatarFallback, AvatarImage, type AvatarSize, type AvatarTokens, BADGE_TOKEN_MAP, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeTokens, type BadgeTone, Banner, type BannerProps, type BannerTokens, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbSize, type BreadcrumbTokens, Button, type ButtonProps, type ButtonTokens, COMPONENT_NAMES, type CSSPropertiesWithVars, Calendar, type CalendarTokens, Card, type CardTokens, Carousel, type ChartDatum, type ChartType, Charts, type ChartsProps, type ChartsTokens, Checkbox, type CheckboxTokens, type ColorBundle, type ColorBundleWithShadow, ColorExample, Combobox, DatePickerInput, type DragSliderTokens, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerSlotTokens, DrawerTitle, type DrawerTokens, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownTokens, EmptyState, type EmptyStateProps, type EmptyStateTokens, ExpansionPanel, type ExpansionPanelProps, type ExpansionPanelSize, type ExpansionPanelStatus, Feedback, type FeedbackProps, type FeedbackSize, FileUpload, type FileUploadProps, type FileUploadState, type FileUploadTokens, type FontSizeTokens, Header, type HeaderProps, type HeaderSize, type HeaderTokens, INPUT_TOKEN_MAP, Icon, IconLabel, type IconLabelProps, type IconProps, type IconSize, type IconTokens, type IconVariant, Input, type InputSizeDimensions, type InputTokens, IntegrationCard, type IntegrationCardProps, type IntegrationCardTokens, Label, type LabelTokens, type LabeledFontTokens, ListItem, Loader, LoaderInit, type LoaderProps, type LoaderSize, type LoaderTokens, type LoaderVariant, type Merchant, type ModalDialogTokens, ModuleBox, type ModuleBoxTokens, Navbar, NavbarLogo, NavbarMerchant, type NavbarTokens, type NavbarUser, NavbarUserMenu, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationTokens, PasswordInput, Popover, PopoverAnchor, PopoverContent, type PopoverTokens, PopoverTrigger, Progress, type ProgressTokens, type PromoBannerTokens, RadioGroup, RadioItem, type RadioTokens, type ResolvedTokenMap, SearchBar, Select, type SelectTokens, Separator, type SeparatorTokens, Sidebar, type SidebarItem, type SidebarProps, type SidebarSection, type SidebarTokens, Switch, type SwitchTokens, TABS_STYLE, TABS_TOKEN_MAP, Table, TableBody, TableCaption, TableCell, TableCellDescription, TableFooter, TableHead, TableHeader, TableRow, type TableTokens, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, type TabsSize, type TabsTokens, TabsTrigger, type TabsTriggerProps, Textarea, ThemeProvider, type ThemeTokensBase, Tile, type TileProps, type TileSize, type TokenStyleMap, Tooltip, TooltipContent, TooltipProvider, type TooltipTokens, TooltipTrigger, Tour, type TourProps, type TourTokens, type TypographyTokens, bannerVariants, buttonBaseClasses, cn, inputSizeExtras, mapTokenStyles, resolveTokens, tokenAt, useAI, useTheme, useTokenStyles };
2102
+ export { AIProvider, type AIProviderProps, type AIRequest, type AIRequestFn, type AIResponse, type AITask, Accordion, type AccordionTokens, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, type AlertTokens, Avatar, AvatarFallback, AvatarImage, type AvatarSize, type AvatarTokens, BADGE_TOKEN_MAP, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeTokens, type BadgeTone, Banner, type BannerProps, type BannerTokens, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbSize, type BreadcrumbTokens, Button, type ButtonProps, type ButtonTokens, COMPONENT_NAMES, type CSSPropertiesWithVars, Calendar, type CalendarTokens, Card, type CardTokens, Carousel, type ChartDatum, type ChartType, Charts, type ChartsProps, type ChartsTokens, Checkbox, type CheckboxTokens, type ColorBundle, type ColorBundleWithShadow, ColorExample, Combobox, DatePickerInput, type DragSliderTokens, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerSlotTokens, DrawerTitle, type DrawerTokens, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownTokens, EmptyState, type EmptyStateProps, type EmptyStateTokens, ExpansionPanel, type ExpansionPanelProps, type ExpansionPanelSize, type ExpansionPanelStatus, Feedback, type FeedbackProps, type FeedbackSize, FileUpload, type FileUploadProps, type FileUploadState, type FileUploadTokens, type FontSizeTokens, Header, type HeaderProps, type HeaderSize, type HeaderTokens, INPUT_TOKEN_MAP, Icon, IconLabel, type IconLabelProps, type IconProps, type IconSize, type IconTokens, type IconVariant, Input, type InputSizeDimensions, type InputTokens, IntegrationCard, type IntegrationCardProps, type IntegrationCardTokens, Label, type LabelTokens, type LabeledFontTokens, ListItem, Loader, LoaderInit, type LoaderProps, type LoaderSize, type LoaderTokens, type LoaderVariant, type Merchant, type ModalDialogTokens, ModuleBox, type ModuleBoxTokens, Navbar, NavbarLogo, NavbarMerchant, type NavbarTokens, type NavbarUser, NavbarUserMenu, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationTokens, PasswordInput, Popover, PopoverAnchor, PopoverContent, type PopoverTokens, PopoverTrigger, Progress, type ProgressTokens, type PromoBannerTokens, RadioGroup, RadioItem, type RadioTokens, type ResolvedTokenMap, SearchBar, Select, type SelectTokens, Separator, type SeparatorTokens, Sidebar, type SidebarItem, type SidebarProps, type SidebarSection, type SidebarTokens, Switch, type SwitchTokens, TABS_STYLE, TABS_TOKEN_MAP, TOOLTIP_TOKEN_MAP, Table, TableBody, TableCaption, TableCell, TableCellDescription, TableFooter, TableHead, TableHeader, TableRow, type TableTokens, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, type TabsSize, type TabsTokens, TabsTrigger, type TabsTriggerProps, Textarea, ThemeProvider, type ThemeTokensBase, Tile, type TileProps, type TileSize, type TokenStyleMap, Tooltip, TooltipContent, TooltipProvider, TooltipStateContext, type TooltipTokens, TooltipTrigger, Tour, type TourProps, type TourTokens, type TypographyTokens, bannerVariants, buttonBaseClasses, cn, inputSizeExtras, mapTokenStyles, resolveTokens, tokenAt, useAI, useTheme, useTokenStyles };