@vygruppen/spor-react 13.6.0 → 13.7.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/dist/index.d.cts CHANGED
@@ -1769,7 +1769,7 @@ type Props = {
1769
1769
  openOnFocus?: boolean;
1770
1770
  ref?: React__default.Ref<HTMLInputElement | null>;
1771
1771
  } & Omit<ComboboxRootProps, "collection"> & FieldProps;
1772
- declare function Autocomplete({ variant, children, css, label, leftIcon, onInputValueChange, invalid, helperText, errorText, required, filteredExternally, loading, disabled, emptyLabel, onFocus, openOnClick, openOnFocus, ref, ...rest }: Props): react_jsx_runtime.JSX.Element;
1772
+ declare function Autocomplete({ variant, children, css, label, leftIcon, onInputValueChange, invalid, helperText, errorText, required, filteredExternally, loading, disabled, emptyLabel, onFocus, openOnClick, openOnFocus, ref, size, ...rest }: Props): react_jsx_runtime.JSX.Element;
1773
1773
  declare const AutocompleteItemGroup: React__default.ForwardRefExoticComponent<Combobox$1.ItemGroupProps & React__default.RefAttributes<HTMLDivElement>>;
1774
1774
  declare const AutocompleteItemGroupLabel: React__default.ForwardRefExoticComponent<_chakra_ui_react.ComboboxItemGroupLabelProps & React__default.RefAttributes<HTMLDivElement>>;
1775
1775
  declare const AutocompleteItem: ({ children, ...props }: ComboboxItemProps) => react_jsx_runtime.JSX.Element;
@@ -2368,6 +2368,10 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
2368
2368
  outline: "2px solid";
2369
2369
  outlineColor: "outline.focus";
2370
2370
  } | undefined;
2371
+ "&:-webkit-autofill, &:-webkit-autofill:focus"?: {
2372
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset";
2373
+ WebkitTextFillColor: "var(--spor-colors-text)";
2374
+ } | undefined;
2371
2375
  };
2372
2376
  };
2373
2377
  floating: {
@@ -2389,6 +2393,10 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
2389
2393
  outline: string;
2390
2394
  outlineColor: string;
2391
2395
  } | undefined;
2396
+ "&:-webkit-autofill, &:-webkit-autofill:focus"?: {
2397
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset";
2398
+ WebkitTextFillColor: "var(--spor-colors-text)";
2399
+ } | undefined;
2392
2400
  };
2393
2401
  };
2394
2402
  };
@@ -2792,6 +2800,10 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
2792
2800
  outline: "2px solid";
2793
2801
  outlineColor: "outline.focus";
2794
2802
  } | undefined;
2803
+ "&:-webkit-autofill, &:-webkit-autofill:focus"?: {
2804
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset";
2805
+ WebkitTextFillColor: "var(--spor-colors-text)";
2806
+ } | undefined;
2795
2807
  };
2796
2808
  floating: {
2797
2809
  boxShadow?: "sm" | undefined;
@@ -2811,6 +2823,10 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
2811
2823
  outline: string;
2812
2824
  outlineColor: string;
2813
2825
  } | undefined;
2826
+ "&:-webkit-autofill, &:-webkit-autofill:focus"?: {
2827
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset";
2828
+ WebkitTextFillColor: "var(--spor-colors-text)";
2829
+ } | undefined;
2814
2830
  };
2815
2831
  };
2816
2832
  }>;
@@ -4297,8 +4313,9 @@ type ToastProps = {
4297
4313
  id?: string;
4298
4314
  action?: ToastAction;
4299
4315
  closable?: boolean;
4316
+ inverted?: boolean;
4300
4317
  } & Pick<BoxProps, "width">;
4301
- declare const createToast: ({ text, variant, id, duration, width, action, closable, }: ToastProps) => string;
4318
+ declare const createToast: ({ text, variant, id, duration, width, action, closable, inverted, }: ToastProps) => string;
4302
4319
 
4303
4320
  declare const Tooltip: React$1.FC<Tooltip$1.RootProps>;
4304
4321
  declare const TooltipTrigger: ({ ref, children, ...props }: Tooltip$1.TriggerProps & {
package/dist/index.d.ts CHANGED
@@ -1769,7 +1769,7 @@ type Props = {
1769
1769
  openOnFocus?: boolean;
1770
1770
  ref?: React__default.Ref<HTMLInputElement | null>;
1771
1771
  } & Omit<ComboboxRootProps, "collection"> & FieldProps;
1772
- declare function Autocomplete({ variant, children, css, label, leftIcon, onInputValueChange, invalid, helperText, errorText, required, filteredExternally, loading, disabled, emptyLabel, onFocus, openOnClick, openOnFocus, ref, ...rest }: Props): react_jsx_runtime.JSX.Element;
1772
+ declare function Autocomplete({ variant, children, css, label, leftIcon, onInputValueChange, invalid, helperText, errorText, required, filteredExternally, loading, disabled, emptyLabel, onFocus, openOnClick, openOnFocus, ref, size, ...rest }: Props): react_jsx_runtime.JSX.Element;
1773
1773
  declare const AutocompleteItemGroup: React__default.ForwardRefExoticComponent<Combobox$1.ItemGroupProps & React__default.RefAttributes<HTMLDivElement>>;
1774
1774
  declare const AutocompleteItemGroupLabel: React__default.ForwardRefExoticComponent<_chakra_ui_react.ComboboxItemGroupLabelProps & React__default.RefAttributes<HTMLDivElement>>;
1775
1775
  declare const AutocompleteItem: ({ children, ...props }: ComboboxItemProps) => react_jsx_runtime.JSX.Element;
@@ -2368,6 +2368,10 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
2368
2368
  outline: "2px solid";
2369
2369
  outlineColor: "outline.focus";
2370
2370
  } | undefined;
2371
+ "&:-webkit-autofill, &:-webkit-autofill:focus"?: {
2372
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset";
2373
+ WebkitTextFillColor: "var(--spor-colors-text)";
2374
+ } | undefined;
2371
2375
  };
2372
2376
  };
2373
2377
  floating: {
@@ -2389,6 +2393,10 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
2389
2393
  outline: string;
2390
2394
  outlineColor: string;
2391
2395
  } | undefined;
2396
+ "&:-webkit-autofill, &:-webkit-autofill:focus"?: {
2397
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset";
2398
+ WebkitTextFillColor: "var(--spor-colors-text)";
2399
+ } | undefined;
2392
2400
  };
2393
2401
  };
2394
2402
  };
@@ -2792,6 +2800,10 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
2792
2800
  outline: "2px solid";
2793
2801
  outlineColor: "outline.focus";
2794
2802
  } | undefined;
2803
+ "&:-webkit-autofill, &:-webkit-autofill:focus"?: {
2804
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset";
2805
+ WebkitTextFillColor: "var(--spor-colors-text)";
2806
+ } | undefined;
2795
2807
  };
2796
2808
  floating: {
2797
2809
  boxShadow?: "sm" | undefined;
@@ -2811,6 +2823,10 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
2811
2823
  outline: string;
2812
2824
  outlineColor: string;
2813
2825
  } | undefined;
2826
+ "&:-webkit-autofill, &:-webkit-autofill:focus"?: {
2827
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset";
2828
+ WebkitTextFillColor: "var(--spor-colors-text)";
2829
+ } | undefined;
2814
2830
  };
2815
2831
  };
2816
2832
  }>;
@@ -4297,8 +4313,9 @@ type ToastProps = {
4297
4313
  id?: string;
4298
4314
  action?: ToastAction;
4299
4315
  closable?: boolean;
4316
+ inverted?: boolean;
4300
4317
  } & Pick<BoxProps, "width">;
4301
- declare const createToast: ({ text, variant, id, duration, width, action, closable, }: ToastProps) => string;
4318
+ declare const createToast: ({ text, variant, id, duration, width, action, closable, inverted, }: ToastProps) => string;
4302
4319
 
4303
4320
  declare const Tooltip: React$1.FC<Tooltip$1.RootProps>;
4304
4321
  declare const TooltipTrigger: ({ ref, children, ...props }: Tooltip$1.TriggerProps & {
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Accordion as Accordion$1, defineRecipe, chakra, Code as Code$1, Clipboard as Clipboard$1, RadioCard as RadioCard$1, defineStyle, Field, Dialog, createContext as createContext$1, Drawer as Drawer$1, List as List$1, Combobox, Fieldset as Fieldset$1, createListCollection, Select as Select$1, Popover as Popover$1, createToaster, Tabs as Tabs$1, defineSemanticTokens, defineSlotRecipe, defineTokens, defineAnimationStyles, defineGlobalStyles, defineTextStyles, createSystem, defaultBaseConfig, Tooltip as Tooltip$1, IconButton as IconButton$1, defineConfig, Center, Box, ClientOnly, VisuallyHidden, useSlotRecipe, Stack, HStack, Progress, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group, Badge as Badge$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, Separator as Separator$1, useFieldContext, PopoverAnchor, Portal, useDialogContext, Link, InputElement, Input as Input$1, useFilter, useListCollection, useCombobox, useComboboxContext, usePopoverContext, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCard, Tag, ListItem as ListItem$1, Menu as Menu$1, useMenuContext as useMenuContext$1, NativeSelect as NativeSelect$1, useControllableState, RadioGroup as RadioGroup$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, PopoverCloseTrigger, Pagination as Pagination$1, usePaginationContext, ChakraProvider, Table as Table$1, Toaster as Toaster$1, Toast } from '@chakra-ui/react';
2
2
  export { AspectRatio, Box, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, ClientOnly, Collapsible, Container, Em, Flex, For, FormatByte, FormatNumber, Grid, GridItem, HStack, Icon, Image, Kbd, LocaleProvider, Portal, Show, SimpleGrid, Spacer, Span, Stack, TableCaption, TableCell, TableColumn, TableColumnGroup, TableFooter, TableHeader, TableRoot, TableRow, VStack, VisuallyHidden, Wrap, createIcon, createListCollection, createSystem, defineConfig, defineRecipe, defineSlotRecipe, defineStyle, mergeConfigs, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useRecipe, useSlotRecipe, useToken } from '@chakra-ui/react';
3
3
  import * as spor_icon_react_star from '@vygruppen/spor-icon-react';
4
- import { DropdownDownFill24Icon, CloseFill18Icon, CloseFill30Icon, CloseFill24Icon, DropdownDownFill18Icon, ServiceFill24Icon, WarningFill24Icon, DropdownRightFill18Icon, CalendarOutline24Icon, DropdownLeftFill18Icon, ArrowLeftFill24Icon, ErrorFill24Icon, ChangeDirectionOutline24Icon, CheckmarkFill18Icon, CloseOutline24Icon, CloseOutline18Icon, SearchOutline24Icon, SearchOutline18Icon, Forward15MediaControllerFill30Icon, Backward15MediaControllerFill30Icon, PauseMediaControllerFill24Icon, PlayMediaControllerFill24Icon, NextMediaControllerFill30Icon, PreviousMediaControllerFill30Icon, ArrowRightFill18Icon, DropdownLeftOutline18Icon, DropdownRightOutline18Icon, ArrowUpFill18Icon, ArrowDownFill18Icon, ChangeDirectionFill18Icon, CopyOutline18Icon, LinkOutOutline24Icon, LinkOutOutline18Icon, WalkFill30Icon, WalkFill24Icon, WalkFill18Icon, AltTransportFill30Icon, AltTransportFill24Icon, AltTransportFill18Icon, TramFill30Icon, TramFill24Icon, TramFill18Icon, SubwayFill30Icon, SubwayFill24Icon, SubwayFill18Icon, FerryFill30Icon, FerryFill24Icon, FerryFill18Icon, BusFill30Icon, BusFill24Icon, BusFill18Icon, ExpressBusFill30Icon, ExpressBusFill24Icon, ExpressBusFill18Icon, TrainFill30Icon, TrainFill24Icon, TrainFill18Icon, InformationFill24Icon, InformationFill18Icon, WarningFill18Icon, ErrorFill18Icon, QuestionFill24Icon, ErrorOutline24Icon, SuccessFill24Icon, ArrowLeftOutline24Icon, ArrowRightOutline24Icon } from '@vygruppen/spor-icon-react';
4
+ import { DropdownDownFill24Icon, CloseFill18Icon, CloseFill30Icon, CloseFill24Icon, DropdownDownFill18Icon, ServiceFill24Icon, WarningFill24Icon, DropdownRightFill18Icon, CalendarOutline24Icon, DropdownLeftFill18Icon, ArrowLeftFill24Icon, ErrorFill24Icon, ChangeDirectionOutline24Icon, CheckmarkFill18Icon, CloseOutline24Icon, CloseOutline18Icon, SearchOutline24Icon, SearchOutline18Icon, Forward15MediaControllerFill30Icon, Backward15MediaControllerFill30Icon, PauseMediaControllerFill24Icon, PlayMediaControllerFill24Icon, NextMediaControllerFill30Icon, PreviousMediaControllerFill30Icon, ArrowRightFill18Icon, DropdownLeftOutline18Icon, DropdownRightOutline18Icon, ArrowUpFill18Icon, ArrowDownFill18Icon, ChangeDirectionFill18Icon, CopyOutline18Icon, WalkFill30Icon, WalkFill24Icon, WalkFill18Icon, AltTransportFill30Icon, AltTransportFill24Icon, AltTransportFill18Icon, TramFill30Icon, TramFill24Icon, TramFill18Icon, SubwayFill30Icon, SubwayFill24Icon, SubwayFill18Icon, FerryFill30Icon, FerryFill24Icon, FerryFill18Icon, BusFill30Icon, BusFill24Icon, BusFill18Icon, ExpressBusFill30Icon, ExpressBusFill24Icon, ExpressBusFill18Icon, TrainFill30Icon, TrainFill24Icon, TrainFill18Icon, InformationFill24Icon, InformationFill18Icon, WarningFill18Icon, ErrorFill18Icon, QuestionFill24Icon, ErrorOutline24Icon, SuccessFill24Icon, ArrowLeftOutline24Icon, ArrowRightOutline24Icon, LinkOutOutline24Icon, LinkOutOutline18Icon, LinkOutOutline30Icon } from '@vygruppen/spor-icon-react';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import * as React14 from 'react';
7
7
  import React14__default, { createContext, useContext, useId, cloneElement, isValidElement, useRef, useEffect, useImperativeHandle, useState, useLayoutEffect, useMemo } from 'react';
@@ -3285,10 +3285,29 @@ var texts14 = createTexts({
3285
3285
  var ExternalIcon = ({
3286
3286
  label,
3287
3287
  size
3288
- }) => /* @__PURE__ */ jsxs(Fragment, { children: [
3289
- size === "lg" || size === "md" ? /* @__PURE__ */ jsx(LinkOutOutline24Icon, { "aria-hidden": true, display: "inline" }) : /* @__PURE__ */ jsx(LinkOutOutline18Icon, { "aria-hidden": true, display: "inline" }),
3290
- /* @__PURE__ */ jsx(VisuallyHidden, { children: label })
3291
- ] });
3288
+ }) => {
3289
+ const getIcon = () => {
3290
+ switch (size) {
3291
+ case "lg": {
3292
+ return /* @__PURE__ */ jsx(LinkOutOutline30Icon, { "aria-hidden": true, display: "inline" });
3293
+ }
3294
+ case "md": {
3295
+ return /* @__PURE__ */ jsx(LinkOutOutline24Icon, { "aria-hidden": true, display: "inline" });
3296
+ }
3297
+ case "sm": {
3298
+ return /* @__PURE__ */ jsx(LinkOutOutline18Icon, { "aria-hidden": true, display: "inline" });
3299
+ }
3300
+ default: {
3301
+ return /* @__PURE__ */ jsx(LinkOutOutline24Icon, { "aria-hidden": true, display: "inline" });
3302
+ }
3303
+ }
3304
+ };
3305
+ return /* @__PURE__ */ jsxs("span", { style: { whiteSpace: "nowrap" }, children: [
3306
+ "\u2060",
3307
+ getIcon(),
3308
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: label })
3309
+ ] });
3310
+ };
3292
3311
  var TextLink = ({
3293
3312
  ref,
3294
3313
  children,
@@ -3649,6 +3668,7 @@ function Autocomplete({
3649
3668
  openOnClick = true,
3650
3669
  openOnFocus = true,
3651
3670
  ref,
3671
+ size = "md",
3652
3672
  ...rest
3653
3673
  }) {
3654
3674
  const { contains } = useFilter({ sensitivity: "base" });
@@ -3707,7 +3727,8 @@ function Autocomplete({
3707
3727
  onFocus == null ? void 0 : onFocus(event);
3708
3728
  if (openOnFocus && filteredChildren.length > 0)
3709
3729
  combobox.setOpen(true);
3710
- }
3730
+ },
3731
+ size
3711
3732
  }
3712
3733
  ) }),
3713
3734
  /* @__PURE__ */ jsx(Combobox.IndicatorGroup, { children: /* @__PURE__ */ jsx(Combobox.ClearTrigger, { asChild: true, "aria-label": t(texts16.clearValue), children: /* @__PURE__ */ jsx(CloseButton, { size: "xs", tabIndex: 0 }) }) })
@@ -6680,31 +6701,38 @@ var createToast = ({
6680
6701
  duration = 6e3,
6681
6702
  width = "sm",
6682
6703
  action,
6683
- closable = false
6704
+ closable = false,
6705
+ inverted = false
6684
6706
  }) => toaster.create({
6685
6707
  description: text,
6686
6708
  type: variant,
6687
6709
  id: id ?? crypto.randomUUID(),
6688
6710
  duration,
6689
6711
  action,
6690
- meta: { width },
6712
+ meta: { width, inverted },
6691
6713
  closable
6692
6714
  });
6693
6715
  var Toaster = () => {
6694
6716
  return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(Toaster$1, { toaster, insetInline: { mdDown: "4" }, children: (toast) => {
6695
- var _a6;
6717
+ var _a6, _b5;
6696
6718
  return /* @__PURE__ */ jsxs(
6697
6719
  Toast.Root,
6698
6720
  {
6699
6721
  width: { md: (_a6 = toast.meta) == null ? void 0 : _a6.width },
6700
- border: "sm",
6701
- borderColor: `outline.${toast.type}`,
6702
- boxShadow: "sm",
6722
+ "data-inverted": ((_b5 = toast.meta) == null ? void 0 : _b5.inverted) ? "" : void 0,
6703
6723
  role: "alert",
6704
6724
  children: [
6705
6725
  /* @__PURE__ */ jsx(AlertIcon, { variant: toast.type }),
6706
6726
  /* @__PURE__ */ jsx(Stack, { gap: "1", flex: "1", maxWidth: "100%", children: /* @__PURE__ */ jsx(Toast.Description, { children: toast.description }) }),
6707
- toast.action && /* @__PURE__ */ jsx(Toast.ActionTrigger, { onClick: toast.action.onClick, children: /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "xs", children: toast.action.label }) }),
6727
+ toast.action && /* @__PURE__ */ jsx(Toast.ActionTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
6728
+ Button,
6729
+ {
6730
+ variant: "ghost",
6731
+ size: "xs",
6732
+ onClick: toast.action.onClick,
6733
+ children: toast.action.label
6734
+ }
6735
+ ) }),
6708
6736
  toast.closable && /* @__PURE__ */ jsx(Toast.CloseTrigger, { children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) })
6709
6737
  ]
6710
6738
  }
@@ -7376,6 +7404,10 @@ var inputRecipe = defineRecipe({
7376
7404
  _focus: {
7377
7405
  outline: "2px solid",
7378
7406
  outlineColor: "outline.focus"
7407
+ },
7408
+ "&:-webkit-autofill, &:-webkit-autofill:focus": {
7409
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset",
7410
+ WebkitTextFillColor: "var(--spor-colors-text)"
7379
7411
  }
7380
7412
  },
7381
7413
  floating: {
@@ -7395,6 +7427,10 @@ var inputRecipe = defineRecipe({
7395
7427
  focus: {
7396
7428
  outline: "1px solid",
7397
7429
  outlineColor: "outline.focus"
7430
+ },
7431
+ "&:-webkit-autofill, &:-webkit-autofill:focus": {
7432
+ boxShadow: "0 0 0 1000px var(--spor-colors-surface-info-hover) inset",
7433
+ WebkitTextFillColor: "var(--spor-colors-text)"
7398
7434
  }
7399
7435
  }
7400
7436
  },
@@ -7568,13 +7604,14 @@ var separatorRecipe = defineRecipe({
7568
7604
  borderStyle: "solid"
7569
7605
  },
7570
7606
  dashed: {
7607
+ "--dash-color": "var(--spor-colors-outline)",
7571
7608
  borderImageSlice: 1,
7572
7609
  borderImageSource: `repeating-linear-gradient(
7573
7610
  var(--gradient-direction),
7574
- var(--spor-colors-outline-disabled) 0,
7575
- var(--spor-colors-outline-disabled) var(--dash-size),
7611
+ var(--dash-color) 0,
7612
+ var(--dash-color) var(--dash-size),
7576
7613
  transparent var(--dash-size),
7577
- transparent calc(var(--dash-size) + var(--dash-gap))
7614
+ transparent calc(var(--dash-size) + var(--dash-gap))
7578
7615
  )`
7579
7616
  }
7580
7617
  },
@@ -10348,7 +10385,7 @@ var inputChipSlotRecipe = defineSlotRecipe({
10348
10385
  root: {
10349
10386
  fontSize: "desktop.xs",
10350
10387
  paddingX: "1.5",
10351
- paddingY: "0",
10388
+ height: 5,
10352
10389
  fontWeight: "normal",
10353
10390
  borderRadius: "xs"
10354
10391
  }
@@ -10357,17 +10394,16 @@ var inputChipSlotRecipe = defineSlotRecipe({
10357
10394
  root: {
10358
10395
  fontSize: "desktop.sm",
10359
10396
  paddingX: "2",
10360
- paddingY: "0.5",
10397
+ height: 6,
10361
10398
  fontWeight: "bold",
10362
10399
  borderRadius: "9px"
10363
10400
  }
10364
10401
  },
10365
10402
  md: {
10366
10403
  root: {
10367
- padding: 5,
10368
10404
  fontSize: "desktop.md",
10369
10405
  paddingX: "2",
10370
- paddingY: "1",
10406
+ height: 7,
10371
10407
  fontWeight: "bold",
10372
10408
  borderRadius: "sm"
10373
10409
  }
@@ -10376,7 +10412,7 @@ var inputChipSlotRecipe = defineSlotRecipe({
10376
10412
  root: {
10377
10413
  fontSize: "desktop.md",
10378
10414
  paddingX: "2",
10379
- paddingY: "3",
10415
+ height: "8",
10380
10416
  fontWeight: "bold",
10381
10417
  borderRadius: "md"
10382
10418
  }
@@ -12273,6 +12309,7 @@ var toastSlotRecipe = defineSlotRecipe({
12273
12309
  translate: "var(--x) var(--y)",
12274
12310
  opacity: "var(--opacity)",
12275
12311
  willChange: "translate, opacity, scale",
12312
+ outline: "1px solid",
12276
12313
  borderRadius: "sm",
12277
12314
  transition: "translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",
12278
12315
  transitionTimingFunction: "cubic-bezier(0.21, 1.02, 0.73, 1)",
@@ -12280,16 +12317,52 @@ var toastSlotRecipe = defineSlotRecipe({
12280
12317
  transition: "translate 400ms, scale 400ms, opacity 200ms",
12281
12318
  transitionTimingFunction: "cubic-bezier(0.06, 0.71, 0.55, 1)"
12282
12319
  },
12283
- boxShadow: "xl",
12320
+ boxShadow: "sm",
12284
12321
  color: "text",
12285
12322
  "&[data-type=success]": {
12286
- backgroundColor: "surface.success"
12323
+ backgroundColor: "surface.success",
12324
+ outlineColor: "outline.success"
12287
12325
  },
12288
12326
  "&[data-type=error]": {
12289
- backgroundColor: "surface.critical"
12327
+ backgroundColor: "surface.critical",
12328
+ outlineColor: "outline.critical"
12290
12329
  },
12291
12330
  "&[data-type=info]": {
12292
- backgroundColor: "surface.info"
12331
+ backgroundColor: "surface.info",
12332
+ outlineColor: "outline.info"
12333
+ },
12334
+ "&[data-inverted][data-type=success]": {
12335
+ backgroundColor: { _light: "darkTeal", _dark: "seaMist" },
12336
+ color: { _light: "mint", _dark: "jungle" },
12337
+ outlineColor: { _light: "greenHaze", _dark: "coralGreen" },
12338
+ "& path:first-of-type": {
12339
+ fill: { _light: "mint", _dark: "jungle" }
12340
+ },
12341
+ "& path:not(:first-of-type)": {
12342
+ fill: { _light: "darkTeal", _dark: "seaMist" }
12343
+ }
12344
+ },
12345
+ "&[data-inverted][data-type=error]": {
12346
+ backgroundColor: { _light: "burgundy", _dark: "lightRed" },
12347
+ color: { _light: "pink", _dark: "maroon" },
12348
+ outlineColor: { _light: "crimson", _dark: "salmon" },
12349
+ "& path:first-of-type": {
12350
+ fill: { _light: "pink", _dark: "maroon" }
12351
+ },
12352
+ "& path:not(:first-of-type)": {
12353
+ fill: { _light: "burgundy", _dark: "lightRed" }
12354
+ }
12355
+ },
12356
+ "&[data-inverted][data-type=info]": {
12357
+ backgroundColor: { _light: "darkBlue", _dark: "lightBlue" },
12358
+ color: { _light: "icyBlue", _dark: "royal" },
12359
+ outlineColor: { _light: "ocean", _dark: "cloudy" },
12360
+ "& path:first-of-type": {
12361
+ fill: { _light: "icyBlue", _dark: "navy" }
12362
+ },
12363
+ "& path:not(:first-of-type)": {
12364
+ fill: { _light: "darkBlue", _dark: "lightBlue" }
12365
+ }
12293
12366
  }
12294
12367
  },
12295
12368
  title: {