@optiaxiom/react 0.1.0-next.13 → 0.1.0-next.14

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.
Files changed (78) hide show
  1. package/dist/{PopoverContent-_Tn-IzNJ.d.ts → PopoverContent-DIhLXmjU.d.ts} +8 -20
  2. package/dist/accordion-trigger/AccordionTrigger-css.js +1 -1
  3. package/dist/alert/Alert-css.js +1 -1
  4. package/dist/alert-dialog/AlertDialog-css.js +2 -5
  5. package/dist/alert-dialog/AlertDialog.js +6 -37
  6. package/dist/alert-dialog-action/AlertDialogAction.js +16 -0
  7. package/dist/alert-dialog-cancel/AlertDialogCancel.js +14 -0
  8. package/dist/alert-dialog-context/AlertDialogContext.js +5 -0
  9. package/dist/alert-dialog-description/AlertDialogDescription-css.js +7 -0
  10. package/dist/alert-dialog-description/AlertDialogDescription.js +12 -0
  11. package/dist/alert-dialog-footer/AlertDialogFooter-css.js +8 -0
  12. package/dist/alert-dialog-footer/AlertDialogFooter.js +11 -0
  13. package/dist/alert-dialog-title/AlertDialogTitle.js +24 -0
  14. package/dist/assets/src/alert-dialog/{AlertDialog.css.ts.vanilla-WdIe6m3g.css → AlertDialog.css.ts.vanilla-CpKGfNgS.css} +0 -6
  15. package/dist/assets/src/alert-dialog-description/AlertDialogDescription.css.ts.vanilla-B7BawTGq.css +6 -0
  16. package/dist/assets/src/alert-dialog-footer/AlertDialogFooter.css.ts.vanilla-3HiYmspb.css +6 -0
  17. package/dist/assets/src/box/{Box.css.ts.vanilla-D1mbecuN.css → Box.css.ts.vanilla-DLsoitAb.css} +5 -0
  18. package/dist/assets/src/button/{Button.css.ts.vanilla-BVWox07Y.css → Button.css.ts.vanilla-DeHH8Xkd.css} +43 -34
  19. package/dist/assets/src/sprinkles/{sprinkles.css.ts.vanilla-I48qUKRQ.css → sprinkles.css.ts.vanilla-o1FSIYj0.css} +2276 -2251
  20. package/dist/assets/src/styles/{theme.css.ts.vanilla-EbjT5N3_.css → theme.css.ts.vanilla-D9K5B5ZA.css} +6 -4
  21. package/dist/assets/src/table/Table.css.ts.vanilla-C9ntYW9X.css +9 -0
  22. package/dist/assets/src/table-body/TableBody.css.ts.vanilla-WI2VmycQ.css +6 -0
  23. package/dist/assets/src/table-cell/TableCell.css.ts.vanilla-Bn9ccAMh.css +10 -0
  24. package/dist/assets/src/table-header-cell/TableHeaderCell.css.ts.vanilla-DEMkJMmk.css +6 -0
  25. package/dist/assets/src/toast/{Toast.css.ts.vanilla-N6bXbnrT.css → Toast.css.ts.vanilla-D1qN8JIH.css} +6 -7
  26. package/dist/avatar/Avatar-css.js +2 -2
  27. package/dist/avatar-group/AvatarGroup-css.js +1 -1
  28. package/dist/badge/Badge-css.js +1 -1
  29. package/dist/box/Box-css.js +2 -2
  30. package/dist/button/Button-css.js +9 -7
  31. package/dist/button/Button.js +19 -10
  32. package/dist/button-group/ButtonGroup-css.js +1 -1
  33. package/dist/checkbox/Checkbox-css.js +1 -1
  34. package/dist/checkbox/Checkbox.js +7 -10
  35. package/dist/command-item/CommandItem-css.js +1 -1
  36. package/dist/control-base/ControlBase-css.js +1 -1
  37. package/dist/control-base/ControlBase.js +3 -3
  38. package/dist/grid/Grid.js +1 -1
  39. package/dist/heading/Heading.js +2 -2
  40. package/dist/index.d.ts +122 -35
  41. package/dist/index.js +7 -0
  42. package/dist/input/Input-css.js +1 -1
  43. package/dist/input/Input.js +2 -2
  44. package/dist/input-base/InputBase-css.js +1 -1
  45. package/dist/link/Link-css.js +1 -1
  46. package/dist/menu-item/MenuItem-css.js +1 -1
  47. package/dist/pagination/Pagination-css.js +1 -1
  48. package/dist/pill/Pill-css.js +1 -1
  49. package/dist/radio-group-item/RadioGroupItem-css.js +1 -1
  50. package/dist/radio-group-item/RadioGroupItem.js +4 -7
  51. package/dist/spinner/Spinner.js +56 -0
  52. package/dist/sprinkles/sprinkles-css.js +3 -3
  53. package/dist/styles/theme-css.js +2 -2
  54. package/dist/switch/Switch-css.js +1 -1
  55. package/dist/switch/Switch.js +4 -7
  56. package/dist/table/Table-css.js +8 -0
  57. package/dist/table/Table.js +11 -0
  58. package/dist/table-body/TableBody-css.js +7 -0
  59. package/dist/table-body/TableBody.js +11 -0
  60. package/dist/table-cell/TableCell-css.js +9 -0
  61. package/dist/table-cell/TableCell.js +13 -0
  62. package/dist/table-head/TableHead.js +10 -0
  63. package/dist/table-header-cell/TableHeaderCell-css.js +7 -0
  64. package/dist/table-header-cell/TableHeaderCell.js +11 -0
  65. package/dist/table-row/TableRow-css.js +7 -0
  66. package/dist/table-row/TableRow.js +11 -0
  67. package/dist/tabs-list/TabsList-css.js +1 -1
  68. package/dist/tabs-trigger/TabsTrigger-css.js +1 -1
  69. package/dist/toast/Toast-css.js +3 -2
  70. package/dist/toast/Toast.js +2 -2
  71. package/dist/toast-action/ToastAction.js +1 -1
  72. package/dist/toast-provider/ToastProvider-css.js +1 -1
  73. package/dist/toggle/Toggle.js +13 -0
  74. package/dist/tokens/colors.js +4 -3
  75. package/dist/unstable.d.ts +52 -22
  76. package/dist/unstable.js +6 -0
  77. package/package.json +1 -1
  78. /package/dist/assets/src/{avatar-group/AvatarGroup.css.ts.vanilla-4BGjgIuZ.css → table-row/TableRow.css.ts.vanilla-4BGjgIuZ.css} +0 -0
@@ -5,16 +5,16 @@ import { ElementType, ComponentPropsWithoutRef } from 'react';
5
5
  import * as _vanilla_extract_sprinkles from '@vanilla-extract/sprinkles';
6
6
 
7
7
  declare const sprinkles: ((props: {
8
- animation?: "ping" | "pulse" | undefined;
9
- backgroundColor?: "transparent" | "brand.50" | "brand.500" | "brand.600" | "neutral.1200/18" | "purple.50" | "red.50" | "red.500" | "red.600" | "blue.50" | "blue.600" | "neutral.1200/5" | "neutral.75" | "neutral.800" | "neutral.900" | "neutral.200" | "neutral.300" | "green.50" | "green.500" | "green.600" | "yellow.50" | "yellow.500" | "yellow.600" | "neutral.500" | "neutral.600" | "neutral.150" | "neutral.100" | "blue.500" | "magenta.600" | "purple.600" | "brand.700" | "white" | "neutral.1200/32" | "red.700" | "purple.500" | "neutral.700" | "green.700" | "yellow.700" | "brand.300" | "neutral.1000" | "purple.900" | "blue.900" | "slate.800" | "green.900" | "gray.800" | "blue.200" | "magenta.200" | "purple.200" | "red.200" | "gray.100" | "slate.400" | "green.200" | "neutral.50/32" | "gray.900" | "bg.brand" | "bg.brand.solid" | "bg.brand.solid.hover" | "bg.disabled" | "bg.discovery" | "bg.error" | "bg.error.solid" | "bg.error.solid.hover" | "bg.information" | "bg.information.solid" | "bg.input.disabled" | "bg.neutral" | "bg.neutral.inverse" | "bg.neutral.inverse.hover" | "bg.neutral.solid" | "bg.neutral.solid.hover" | "bg.success" | "bg.success.solid" | "bg.success.solid.hover" | "bg.warning" | "bg.warning.solid" | "bg.warning.solid.hover" | "border.active" | "border.active.hover" | "border.brand" | "border.default" | "border.disabled" | "border.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "fg.accent.blue" | "fg.accent.magenta" | "fg.accent.purple" | "fg.accent.red" | "fg.brand" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.information" | "fg.link" | "fg.link.hover" | "fg.link.visited" | "fg.secondary" | "fg.success" | "fg.tertiary" | "fg.warning" | "outline.brand" | "overlay" | "surface" | "current" | "black" | "aqua.50" | "aqua.200" | "aqua.500" | "aqua.600" | "brand.100" | "brand.200" | "brand.400" | "brand.800" | "brand.900" | "dark.50" | "dark.200" | "dark.500" | "dark.600" | "gray.50" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "green.100" | "green.300" | "green.400" | "green.800" | "magenta.50" | "magenta.500" | "neutral.50" | "neutral.1100" | "neutral.1200" | "neutral.1200/12" | "neutral.1200/22" | "orange.50" | "orange.200" | "orange.500" | "orange.600" | "red.100" | "red.300" | "red.400" | "red.800" | "red.900" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.500" | "slate.600" | "slate.700" | "slate.900" | "slate.950" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.800" | "yellow.900" | undefined;
8
+ animation?: "ping" | "pulse" | "spin" | undefined;
9
+ backgroundColor?: "transparent" | "brand.50" | "brand.500" | "brand.600" | "neutral.1200/18" | "purple.50" | "red.50" | "red.500" | "red.600" | "blue.50" | "blue.600" | "neutral.1200/4" | "neutral.75" | "neutral.800" | "neutral.900" | "neutral.200" | "neutral.300" | "green.50" | "green.500" | "green.600" | "yellow.50" | "yellow.500" | "yellow.600" | "neutral.500" | "neutral.600" | "neutral.150" | "neutral.100" | "blue.500" | "magenta.600" | "purple.600" | "brand.700" | "white" | "neutral.1200/32" | "red.700" | "purple.500" | "neutral.700" | "green.700" | "yellow.700" | "brand.300" | "neutral.1000" | "purple.900" | "blue.900" | "slate.800" | "green.900" | "gray.800" | "blue.200" | "magenta.200" | "purple.200" | "red.200" | "gray.100" | "slate.400" | "green.200" | "neutral.50/32" | "gray.900" | "bg.brand" | "bg.brand.solid" | "bg.brand.solid.hover" | "bg.disabled" | "bg.discovery" | "bg.error" | "bg.error.solid" | "bg.error.solid.hover" | "bg.information" | "bg.information.solid" | "bg.input.disabled" | "bg.neutral" | "bg.neutral.inverse" | "bg.neutral.inverse.hover" | "bg.neutral.solid" | "bg.neutral.solid.hover" | "bg.success" | "bg.success.solid" | "bg.success.solid.hover" | "bg.warning" | "bg.warning.solid" | "bg.warning.solid.hover" | "border.active" | "border.active.hover" | "border.brand" | "border.default" | "border.disabled" | "border.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "fg.accent.blue" | "fg.accent.magenta" | "fg.accent.purple" | "fg.accent.red" | "fg.brand" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.information" | "fg.link" | "fg.link.hover" | "fg.link.visited" | "fg.secondary" | "fg.success" | "fg.tertiary" | "fg.warning" | "outline.brand" | "overlay" | "surface" | "current" | "black" | "aqua.50" | "aqua.200" | "aqua.500" | "aqua.600" | "brand.100" | "brand.200" | "brand.400" | "brand.800" | "brand.900" | "dark.50" | "dark.200" | "dark.500" | "dark.600" | "gray.50" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "green.100" | "green.300" | "green.400" | "green.800" | "magenta.50" | "magenta.500" | "neutral.50" | "neutral.1100" | "neutral.1200" | "neutral.50/6" | "neutral.1200/12" | "neutral.1200/22" | "orange.50" | "orange.200" | "orange.500" | "orange.600" | "red.100" | "red.300" | "red.400" | "red.800" | "red.900" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.500" | "slate.600" | "slate.700" | "slate.900" | "slate.950" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.800" | "yellow.900" | undefined;
10
10
  borderBottomWidth?: "2" | "4" | "0" | "1" | undefined;
11
- borderColor?: "transparent" | "brand.50" | "brand.500" | "brand.600" | "neutral.1200/18" | "purple.50" | "red.50" | "red.500" | "red.600" | "blue.50" | "blue.600" | "neutral.1200/5" | "neutral.75" | "neutral.800" | "neutral.900" | "neutral.200" | "neutral.300" | "green.50" | "green.500" | "green.600" | "yellow.50" | "yellow.500" | "yellow.600" | "neutral.500" | "neutral.600" | "neutral.150" | "neutral.100" | "blue.500" | "magenta.600" | "purple.600" | "brand.700" | "white" | "neutral.1200/32" | "red.700" | "purple.500" | "neutral.700" | "green.700" | "yellow.700" | "brand.300" | "neutral.1000" | "purple.900" | "blue.900" | "slate.800" | "green.900" | "gray.800" | "blue.200" | "magenta.200" | "purple.200" | "red.200" | "gray.100" | "slate.400" | "green.200" | "neutral.50/32" | "gray.900" | "bg.brand" | "bg.brand.solid" | "bg.brand.solid.hover" | "bg.disabled" | "bg.discovery" | "bg.error" | "bg.error.solid" | "bg.error.solid.hover" | "bg.information" | "bg.information.solid" | "bg.input.disabled" | "bg.neutral" | "bg.neutral.inverse" | "bg.neutral.inverse.hover" | "bg.neutral.solid" | "bg.neutral.solid.hover" | "bg.success" | "bg.success.solid" | "bg.success.solid.hover" | "bg.warning" | "bg.warning.solid" | "bg.warning.solid.hover" | "border.active" | "border.active.hover" | "border.brand" | "border.default" | "border.disabled" | "border.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "fg.accent.blue" | "fg.accent.magenta" | "fg.accent.purple" | "fg.accent.red" | "fg.brand" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.information" | "fg.link" | "fg.link.hover" | "fg.link.visited" | "fg.secondary" | "fg.success" | "fg.tertiary" | "fg.warning" | "outline.brand" | "overlay" | "surface" | "current" | "black" | "aqua.50" | "aqua.200" | "aqua.500" | "aqua.600" | "brand.100" | "brand.200" | "brand.400" | "brand.800" | "brand.900" | "dark.50" | "dark.200" | "dark.500" | "dark.600" | "gray.50" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "green.100" | "green.300" | "green.400" | "green.800" | "magenta.50" | "magenta.500" | "neutral.50" | "neutral.1100" | "neutral.1200" | "neutral.1200/12" | "neutral.1200/22" | "orange.50" | "orange.200" | "orange.500" | "orange.600" | "red.100" | "red.300" | "red.400" | "red.800" | "red.900" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.500" | "slate.600" | "slate.700" | "slate.900" | "slate.950" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.800" | "yellow.900" | undefined;
11
+ borderColor?: "transparent" | "brand.50" | "brand.500" | "brand.600" | "neutral.1200/18" | "purple.50" | "red.50" | "red.500" | "red.600" | "blue.50" | "blue.600" | "neutral.1200/4" | "neutral.75" | "neutral.800" | "neutral.900" | "neutral.200" | "neutral.300" | "green.50" | "green.500" | "green.600" | "yellow.50" | "yellow.500" | "yellow.600" | "neutral.500" | "neutral.600" | "neutral.150" | "neutral.100" | "blue.500" | "magenta.600" | "purple.600" | "brand.700" | "white" | "neutral.1200/32" | "red.700" | "purple.500" | "neutral.700" | "green.700" | "yellow.700" | "brand.300" | "neutral.1000" | "purple.900" | "blue.900" | "slate.800" | "green.900" | "gray.800" | "blue.200" | "magenta.200" | "purple.200" | "red.200" | "gray.100" | "slate.400" | "green.200" | "neutral.50/32" | "gray.900" | "bg.brand" | "bg.brand.solid" | "bg.brand.solid.hover" | "bg.disabled" | "bg.discovery" | "bg.error" | "bg.error.solid" | "bg.error.solid.hover" | "bg.information" | "bg.information.solid" | "bg.input.disabled" | "bg.neutral" | "bg.neutral.inverse" | "bg.neutral.inverse.hover" | "bg.neutral.solid" | "bg.neutral.solid.hover" | "bg.success" | "bg.success.solid" | "bg.success.solid.hover" | "bg.warning" | "bg.warning.solid" | "bg.warning.solid.hover" | "border.active" | "border.active.hover" | "border.brand" | "border.default" | "border.disabled" | "border.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "fg.accent.blue" | "fg.accent.magenta" | "fg.accent.purple" | "fg.accent.red" | "fg.brand" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.information" | "fg.link" | "fg.link.hover" | "fg.link.visited" | "fg.secondary" | "fg.success" | "fg.tertiary" | "fg.warning" | "outline.brand" | "overlay" | "surface" | "current" | "black" | "aqua.50" | "aqua.200" | "aqua.500" | "aqua.600" | "brand.100" | "brand.200" | "brand.400" | "brand.800" | "brand.900" | "dark.50" | "dark.200" | "dark.500" | "dark.600" | "gray.50" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "green.100" | "green.300" | "green.400" | "green.800" | "magenta.50" | "magenta.500" | "neutral.50" | "neutral.1100" | "neutral.1200" | "neutral.50/6" | "neutral.1200/12" | "neutral.1200/22" | "orange.50" | "orange.200" | "orange.500" | "orange.600" | "red.100" | "red.300" | "red.400" | "red.800" | "red.900" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.500" | "slate.600" | "slate.700" | "slate.900" | "slate.950" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.800" | "yellow.900" | undefined;
12
12
  borderLeftWidth?: "2" | "4" | "0" | "1" | undefined;
13
13
  borderRadius?: "sm" | "md" | "lg" | "xs" | "xl" | "full" | "none" | "inherit" | undefined;
14
14
  borderRightWidth?: "2" | "4" | "0" | "1" | undefined;
15
15
  borderTopWidth?: "2" | "4" | "0" | "1" | undefined;
16
16
  boxShadow?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "inner" | undefined;
17
- color?: "transparent" | "brand.50" | "brand.500" | "brand.600" | "neutral.1200/18" | "purple.50" | "red.50" | "red.500" | "red.600" | "blue.50" | "blue.600" | "neutral.1200/5" | "neutral.75" | "neutral.800" | "neutral.900" | "neutral.200" | "neutral.300" | "green.50" | "green.500" | "green.600" | "yellow.50" | "yellow.500" | "yellow.600" | "neutral.500" | "neutral.600" | "neutral.150" | "neutral.100" | "blue.500" | "magenta.600" | "purple.600" | "brand.700" | "white" | "neutral.1200/32" | "red.700" | "purple.500" | "neutral.700" | "green.700" | "yellow.700" | "brand.300" | "neutral.1000" | "purple.900" | "blue.900" | "slate.800" | "green.900" | "gray.800" | "blue.200" | "magenta.200" | "purple.200" | "red.200" | "gray.100" | "slate.400" | "green.200" | "neutral.50/32" | "gray.900" | "bg.brand" | "bg.brand.solid" | "bg.brand.solid.hover" | "bg.disabled" | "bg.discovery" | "bg.error" | "bg.error.solid" | "bg.error.solid.hover" | "bg.information" | "bg.information.solid" | "bg.input.disabled" | "bg.neutral" | "bg.neutral.inverse" | "bg.neutral.inverse.hover" | "bg.neutral.solid" | "bg.neutral.solid.hover" | "bg.success" | "bg.success.solid" | "bg.success.solid.hover" | "bg.warning" | "bg.warning.solid" | "bg.warning.solid.hover" | "border.active" | "border.active.hover" | "border.brand" | "border.default" | "border.disabled" | "border.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "fg.accent.blue" | "fg.accent.magenta" | "fg.accent.purple" | "fg.accent.red" | "fg.brand" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.information" | "fg.link" | "fg.link.hover" | "fg.link.visited" | "fg.secondary" | "fg.success" | "fg.tertiary" | "fg.warning" | "outline.brand" | "overlay" | "surface" | "current" | "black" | "aqua.50" | "aqua.200" | "aqua.500" | "aqua.600" | "brand.100" | "brand.200" | "brand.400" | "brand.800" | "brand.900" | "dark.50" | "dark.200" | "dark.500" | "dark.600" | "gray.50" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "green.100" | "green.300" | "green.400" | "green.800" | "magenta.50" | "magenta.500" | "neutral.50" | "neutral.1100" | "neutral.1200" | "neutral.1200/12" | "neutral.1200/22" | "orange.50" | "orange.200" | "orange.500" | "orange.600" | "red.100" | "red.300" | "red.400" | "red.800" | "red.900" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.500" | "slate.600" | "slate.700" | "slate.900" | "slate.950" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.800" | "yellow.900" | undefined;
17
+ color?: "transparent" | "brand.50" | "brand.500" | "brand.600" | "neutral.1200/18" | "purple.50" | "red.50" | "red.500" | "red.600" | "blue.50" | "blue.600" | "neutral.1200/4" | "neutral.75" | "neutral.800" | "neutral.900" | "neutral.200" | "neutral.300" | "green.50" | "green.500" | "green.600" | "yellow.50" | "yellow.500" | "yellow.600" | "neutral.500" | "neutral.600" | "neutral.150" | "neutral.100" | "blue.500" | "magenta.600" | "purple.600" | "brand.700" | "white" | "neutral.1200/32" | "red.700" | "purple.500" | "neutral.700" | "green.700" | "yellow.700" | "brand.300" | "neutral.1000" | "purple.900" | "blue.900" | "slate.800" | "green.900" | "gray.800" | "blue.200" | "magenta.200" | "purple.200" | "red.200" | "gray.100" | "slate.400" | "green.200" | "neutral.50/32" | "gray.900" | "bg.brand" | "bg.brand.solid" | "bg.brand.solid.hover" | "bg.disabled" | "bg.discovery" | "bg.error" | "bg.error.solid" | "bg.error.solid.hover" | "bg.information" | "bg.information.solid" | "bg.input.disabled" | "bg.neutral" | "bg.neutral.inverse" | "bg.neutral.inverse.hover" | "bg.neutral.solid" | "bg.neutral.solid.hover" | "bg.success" | "bg.success.solid" | "bg.success.solid.hover" | "bg.warning" | "bg.warning.solid" | "bg.warning.solid.hover" | "border.active" | "border.active.hover" | "border.brand" | "border.default" | "border.disabled" | "border.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "fg.accent.blue" | "fg.accent.magenta" | "fg.accent.purple" | "fg.accent.red" | "fg.brand" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.information" | "fg.link" | "fg.link.hover" | "fg.link.visited" | "fg.secondary" | "fg.success" | "fg.tertiary" | "fg.warning" | "outline.brand" | "overlay" | "surface" | "current" | "black" | "aqua.50" | "aqua.200" | "aqua.500" | "aqua.600" | "brand.100" | "brand.200" | "brand.400" | "brand.800" | "brand.900" | "dark.50" | "dark.200" | "dark.500" | "dark.600" | "gray.50" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "green.100" | "green.300" | "green.400" | "green.800" | "magenta.50" | "magenta.500" | "neutral.50" | "neutral.1100" | "neutral.1200" | "neutral.50/6" | "neutral.1200/12" | "neutral.1200/22" | "orange.50" | "orange.200" | "orange.500" | "orange.600" | "red.100" | "red.300" | "red.400" | "red.800" | "red.900" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.500" | "slate.600" | "slate.700" | "slate.900" | "slate.950" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.800" | "yellow.900" | undefined;
18
18
  cursor?: "pointer" | "default" | "text" | undefined;
19
19
  empty?: "hidden" | undefined;
20
20
  fontFamily?: "mono" | "sans" | undefined;
@@ -25,10 +25,10 @@ declare const sprinkles: ((props: {
25
25
  overflowY?: "auto" | "hidden" | "visible" | undefined;
26
26
  textAlign?: "end" | "start" | "center" | "justify" | undefined;
27
27
  textTransform?: "none" | "capitalize" | "uppercase" | undefined;
28
- transition?: "colors" | "all" | "transform" | undefined;
28
+ transition?: "colors" | "opacity" | "transform" | "all" | undefined;
29
29
  whiteSpace?: "nowrap" | undefined;
30
30
  zIndex?: "0" | "10" | "20" | "30" | "40" | "auto" | "50" | "popover" | "toast" | undefined;
31
- bg?: "transparent" | "brand.50" | "brand.500" | "brand.600" | "neutral.1200/18" | "purple.50" | "red.50" | "red.500" | "red.600" | "blue.50" | "blue.600" | "neutral.1200/5" | "neutral.75" | "neutral.800" | "neutral.900" | "neutral.200" | "neutral.300" | "green.50" | "green.500" | "green.600" | "yellow.50" | "yellow.500" | "yellow.600" | "neutral.500" | "neutral.600" | "neutral.150" | "neutral.100" | "blue.500" | "magenta.600" | "purple.600" | "brand.700" | "white" | "neutral.1200/32" | "red.700" | "purple.500" | "neutral.700" | "green.700" | "yellow.700" | "brand.300" | "neutral.1000" | "purple.900" | "blue.900" | "slate.800" | "green.900" | "gray.800" | "blue.200" | "magenta.200" | "purple.200" | "red.200" | "gray.100" | "slate.400" | "green.200" | "neutral.50/32" | "gray.900" | "bg.brand" | "bg.brand.solid" | "bg.brand.solid.hover" | "bg.disabled" | "bg.discovery" | "bg.error" | "bg.error.solid" | "bg.error.solid.hover" | "bg.information" | "bg.information.solid" | "bg.input.disabled" | "bg.neutral" | "bg.neutral.inverse" | "bg.neutral.inverse.hover" | "bg.neutral.solid" | "bg.neutral.solid.hover" | "bg.success" | "bg.success.solid" | "bg.success.solid.hover" | "bg.warning" | "bg.warning.solid" | "bg.warning.solid.hover" | "border.active" | "border.active.hover" | "border.brand" | "border.default" | "border.disabled" | "border.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "fg.accent.blue" | "fg.accent.magenta" | "fg.accent.purple" | "fg.accent.red" | "fg.brand" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.information" | "fg.link" | "fg.link.hover" | "fg.link.visited" | "fg.secondary" | "fg.success" | "fg.tertiary" | "fg.warning" | "outline.brand" | "overlay" | "surface" | "current" | "black" | "aqua.50" | "aqua.200" | "aqua.500" | "aqua.600" | "brand.100" | "brand.200" | "brand.400" | "brand.800" | "brand.900" | "dark.50" | "dark.200" | "dark.500" | "dark.600" | "gray.50" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "green.100" | "green.300" | "green.400" | "green.800" | "magenta.50" | "magenta.500" | "neutral.50" | "neutral.1100" | "neutral.1200" | "neutral.1200/12" | "neutral.1200/22" | "orange.50" | "orange.200" | "orange.500" | "orange.600" | "red.100" | "red.300" | "red.400" | "red.800" | "red.900" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.500" | "slate.600" | "slate.700" | "slate.900" | "slate.950" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.800" | "yellow.900" | undefined;
31
+ bg?: "transparent" | "brand.50" | "brand.500" | "brand.600" | "neutral.1200/18" | "purple.50" | "red.50" | "red.500" | "red.600" | "blue.50" | "blue.600" | "neutral.1200/4" | "neutral.75" | "neutral.800" | "neutral.900" | "neutral.200" | "neutral.300" | "green.50" | "green.500" | "green.600" | "yellow.50" | "yellow.500" | "yellow.600" | "neutral.500" | "neutral.600" | "neutral.150" | "neutral.100" | "blue.500" | "magenta.600" | "purple.600" | "brand.700" | "white" | "neutral.1200/32" | "red.700" | "purple.500" | "neutral.700" | "green.700" | "yellow.700" | "brand.300" | "neutral.1000" | "purple.900" | "blue.900" | "slate.800" | "green.900" | "gray.800" | "blue.200" | "magenta.200" | "purple.200" | "red.200" | "gray.100" | "slate.400" | "green.200" | "neutral.50/32" | "gray.900" | "bg.brand" | "bg.brand.solid" | "bg.brand.solid.hover" | "bg.disabled" | "bg.discovery" | "bg.error" | "bg.error.solid" | "bg.error.solid.hover" | "bg.information" | "bg.information.solid" | "bg.input.disabled" | "bg.neutral" | "bg.neutral.inverse" | "bg.neutral.inverse.hover" | "bg.neutral.solid" | "bg.neutral.solid.hover" | "bg.success" | "bg.success.solid" | "bg.success.solid.hover" | "bg.warning" | "bg.warning.solid" | "bg.warning.solid.hover" | "border.active" | "border.active.hover" | "border.brand" | "border.default" | "border.disabled" | "border.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "fg.accent.blue" | "fg.accent.magenta" | "fg.accent.purple" | "fg.accent.red" | "fg.brand" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.information" | "fg.link" | "fg.link.hover" | "fg.link.visited" | "fg.secondary" | "fg.success" | "fg.tertiary" | "fg.warning" | "outline.brand" | "overlay" | "surface" | "current" | "black" | "aqua.50" | "aqua.200" | "aqua.500" | "aqua.600" | "brand.100" | "brand.200" | "brand.400" | "brand.800" | "brand.900" | "dark.50" | "dark.200" | "dark.500" | "dark.600" | "gray.50" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "green.100" | "green.300" | "green.400" | "green.800" | "magenta.50" | "magenta.500" | "neutral.50" | "neutral.1100" | "neutral.1200" | "neutral.50/6" | "neutral.1200/12" | "neutral.1200/22" | "orange.50" | "orange.200" | "orange.500" | "orange.600" | "red.100" | "red.300" | "red.400" | "red.800" | "red.900" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.500" | "slate.600" | "slate.700" | "slate.900" | "slate.950" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.800" | "yellow.900" | undefined;
32
32
  border?: "2" | "4" | "0" | "1" | undefined;
33
33
  borderB?: "2" | "4" | "0" | "1" | undefined;
34
34
  borderL?: "2" | "4" | "0" | "1" | undefined;
@@ -196,18 +196,6 @@ declare const sprinkles: ((props: {
196
196
  readonly md?: "2" | "4" | "6" | "8" | "12" | "0" | "16" | "20" | "24" | "32" | "40" | "48" | "1" | "64" | "80" | "320" | "384" | "56" | "96" | "112" | "128" | "144" | "160" | "176" | "192" | "208" | "224" | "240" | "256" | "288" | "auto" | "sm" | "md" | "lg" | "xs" | "xl" | "full" | "5xl" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
197
197
  readonly lg?: "2" | "4" | "6" | "8" | "12" | "0" | "16" | "20" | "24" | "32" | "40" | "48" | "1" | "64" | "80" | "320" | "384" | "56" | "96" | "112" | "128" | "144" | "160" | "176" | "192" | "208" | "224" | "240" | "256" | "288" | "auto" | "sm" | "md" | "lg" | "xs" | "xl" | "full" | "5xl" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
198
198
  } | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1, "2" | "4" | "6" | "8" | "12" | "0" | "16" | "20" | "24" | "32" | "40" | "48" | "1" | "64" | "80" | "320" | "384" | "56" | "96" | "112" | "128" | "144" | "160" | "176" | "192" | "208" | "224" | "240" | "256" | "288" | "auto" | "sm" | "md" | "lg" | "xs" | "xl" | "full" | "5xl" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | null>;
199
- colSpan?: ("2" | "4" | "1" | "3" | {
200
- readonly base?: "2" | "4" | "1" | "3" | undefined;
201
- readonly sm?: "2" | "4" | "1" | "3" | undefined;
202
- readonly md?: "2" | "4" | "1" | "3" | undefined;
203
- readonly lg?: "2" | "4" | "1" | "3" | undefined;
204
- } | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1, "2" | "4" | "1" | "3" | null>;
205
- cols?: ("2" | "4" | "1" | "3" | {
206
- readonly base?: "2" | "4" | "1" | "3" | undefined;
207
- readonly sm?: "2" | "4" | "1" | "3" | undefined;
208
- readonly md?: "2" | "4" | "1" | "3" | undefined;
209
- readonly lg?: "2" | "4" | "1" | "3" | undefined;
210
- } | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1, "2" | "4" | "1" | "3" | null>;
211
199
  h?: ("2" | "4" | "6" | "8" | "12" | "0" | "16" | "20" | "24" | "32" | "40" | "48" | "1" | "64" | "80" | "320" | "384" | "56" | "96" | "112" | "128" | "144" | "160" | "176" | "192" | "208" | "224" | "240" | "256" | "288" | "auto" | "sm" | "md" | "lg" | "xs" | "xl" | "full" | "5xl" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | {
212
200
  readonly base?: "2" | "4" | "6" | "8" | "12" | "0" | "16" | "20" | "24" | "32" | "40" | "48" | "1" | "64" | "80" | "320" | "384" | "56" | "96" | "112" | "128" | "144" | "160" | "176" | "192" | "208" | "224" | "240" | "256" | "288" | "auto" | "sm" | "md" | "lg" | "xs" | "xl" | "full" | "5xl" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
213
201
  readonly sm?: "2" | "4" | "6" | "8" | "12" | "0" | "16" | "20" | "24" | "32" | "40" | "48" | "1" | "64" | "80" | "320" | "384" | "56" | "96" | "112" | "128" | "144" | "160" | "176" | "192" | "208" | "224" | "240" | "256" | "288" | "auto" | "sm" | "md" | "lg" | "xs" | "xl" | "full" | "5xl" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
@@ -329,7 +317,7 @@ declare const sprinkles: ((props: {
329
317
  readonly lg?: "2" | "4" | "6" | "8" | "12" | "0" | "16" | "20" | "24" | "32" | "40" | "48" | "1" | "64" | "80" | "320" | "384" | "56" | "96" | "112" | "128" | "144" | "160" | "176" | "192" | "208" | "224" | "240" | "256" | "288" | "auto" | "sm" | "md" | "lg" | "xs" | "xl" | "full" | "5xl" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | undefined;
330
318
  } | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1, "2" | "4" | "6" | "8" | "12" | "0" | "16" | "20" | "24" | "32" | "40" | "48" | "1" | "64" | "80" | "320" | "384" | "56" | "96" | "112" | "128" | "144" | "160" | "176" | "192" | "208" | "224" | "240" | "256" | "288" | "auto" | "sm" | "md" | "lg" | "xs" | "xl" | "full" | "5xl" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "fit" | "max" | "min" | null>;
331
319
  }) => string) & {
332
- properties: Set<"borderRadius" | "boxShadow" | "fontFamily" | "fontSize" | "letterSpacing" | "lineHeight" | "size" | "zIndex" | "backgroundColor" | "borderBottomWidth" | "borderColor" | "borderLeftWidth" | "borderRightWidth" | "borderTopWidth" | "color" | "animation" | "cursor" | "empty" | "fontWeight" | "objectFit" | "overflowX" | "overflowY" | "textAlign" | "textTransform" | "transition" | "whiteSpace" | "bg" | "border" | "borderB" | "borderL" | "borderR" | "borderT" | "overflow" | "rounded" | "shadow" | "tracking" | "z" | "gap" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "width" | "alignItems" | "alignSelf" | "display" | "flex" | "flexDirection" | "flexWrap" | "gridColumn" | "gridTemplateColumns" | "justifyContent" | "justifyItems" | "placeItems" | "colSpan" | "cols" | "h" | "leading" | "m" | "maxH" | "maxW" | "mb" | "ml" | "mr" | "mt" | "mx" | "my" | "p" | "pb" | "pl" | "pr" | "pt" | "px" | "py" | "w">;
320
+ properties: Set<"borderRadius" | "boxShadow" | "fontFamily" | "fontSize" | "letterSpacing" | "lineHeight" | "size" | "zIndex" | "backgroundColor" | "borderBottomWidth" | "borderColor" | "borderLeftWidth" | "borderRightWidth" | "borderTopWidth" | "color" | "animation" | "cursor" | "empty" | "fontWeight" | "objectFit" | "overflowX" | "overflowY" | "textAlign" | "textTransform" | "transition" | "whiteSpace" | "bg" | "border" | "borderB" | "borderL" | "borderR" | "borderT" | "overflow" | "rounded" | "shadow" | "tracking" | "z" | "gap" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "width" | "alignItems" | "alignSelf" | "display" | "flex" | "flexDirection" | "flexWrap" | "gridColumn" | "gridTemplateColumns" | "justifyContent" | "justifyItems" | "placeItems" | "h" | "leading" | "m" | "maxH" | "maxW" | "mb" | "ml" | "mr" | "mt" | "mx" | "my" | "p" | "pb" | "pl" | "pr" | "pt" | "px" | "py" | "w">;
333
321
  };
334
322
  declare const mapResponsiveValue: <OutputValue extends string | number | boolean | null | undefined, Value extends _vanilla_extract_sprinkles.ConditionalValue<{
335
323
  conditions: {
@@ -341,7 +329,7 @@ declare const mapResponsiveValue: <OutputValue extends string | number | boolean
341
329
  };
342
330
  styles: {};
343
331
  }, string | number | boolean>>(value: Value, fn: (inputValue: Value extends _vanilla_extract_sprinkles.ResponsiveArray<1, string | number | boolean | null> | _vanilla_extract_sprinkles.ResponsiveArray<2 | 1, string | number | boolean | null> | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1, string | number | boolean | null> | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1 | 4, string | number | boolean | null> | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1 | 5 | 4, string | number | boolean | null> | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1 | 5 | 4 | 6, string | number | boolean | null> | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1 | 5 | 4 | 6 | 7, string | number | boolean | null> | _vanilla_extract_sprinkles.ResponsiveArray<2 | 3 | 1 | 5 | 4 | 8 | 6 | 7, string | number | boolean | null> ? NonNullable<Value[number]> : Value extends Partial<Record<string, string | number | boolean>> ? NonNullable<Value[keyof Value]> : Value, key: "sm" | "md" | "lg" | "base") => OutputValue) => Value extends string | number | boolean ? OutputValue : Partial<Record<"sm" | "md" | "lg" | "base", OutputValue>>;
344
- type LonghandProps = keyof Pick<Parameters<typeof sprinkles>[0], "backgroundColor" | "borderBottomWidth" | "borderLeftWidth" | "borderRadius" | "borderRightWidth" | "borderTopWidth" | "boxShadow" | "gridColumn" | "gridTemplateColumns" | "height" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "width" | "zIndex">;
332
+ type LonghandProps = keyof Pick<Parameters<typeof sprinkles>[0], "backgroundColor" | "borderBottomWidth" | "borderLeftWidth" | "borderRadius" | "borderRightWidth" | "borderTopWidth" | "boxShadow" | "height" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "width" | "zIndex">;
345
333
  type Sprinkles = Omit<Parameters<typeof sprinkles>[0], LonghandProps>;
346
334
 
347
335
  type ExtendProps<T1, T2> = Omit<T1, keyof T1 & keyof T2> & T2;
@@ -1,5 +1,5 @@
1
1
  import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
2
- import './../assets/src/styles/theme.css.ts.vanilla-EbjT5N3_.css';
2
+ import './../assets/src/styles/theme.css.ts.vanilla-D9K5B5ZA.css';
3
3
  import './../assets/src/accordion-trigger/AccordionTrigger.css.ts.vanilla-DWIMlWE2.css';
4
4
  import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
2
- import './../assets/src/styles/theme.css.ts.vanilla-EbjT5N3_.css';
2
+ import './../assets/src/styles/theme.css.ts.vanilla-D9K5B5ZA.css';
3
3
  import './../assets/src/alert/Alert.css.ts.vanilla-SoeL3DzR.css';
4
4
  import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
5
5
 
@@ -1,11 +1,8 @@
1
1
  import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
2
- import './../assets/src/styles/theme.css.ts.vanilla-EbjT5N3_.css';
3
- import './../assets/src/alert-dialog/AlertDialog.css.ts.vanilla-WdIe6m3g.css';
2
+ import './../assets/src/alert-dialog/AlertDialog.css.ts.vanilla-CpKGfNgS.css';
4
3
  import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
5
4
 
6
5
  var content = recipeRuntime({base:[{bg:'surface',rounded:'lg',shadow:'md',z:'popover'},'ot5vc20'],variants:{size:{sm:'ot5vc21',md:'ot5vc22',lg:'ot5vc23'}}});
7
- var description = recipeRuntime({base:[{fontSize:'md',overflow:'auto',px:'24',py:'16'},'ot5vc26']});
8
- var footer = recipeRuntime({base:[{flexDirection:'row',gap:'md',justifyContent:'end',px:'24',py:'20'},'ot5vc25']});
9
6
  var overlay = recipeRuntime({base:[{bg:'overlay',z:'popover'},'ot5vc24']});
10
7
 
11
- export { content, description, footer, overlay };
8
+ export { content, overlay };
@@ -1,50 +1,19 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
3
3
  import { forwardRef } from 'react';
4
+ import { AlertDialogContextProvider } from '../alert-dialog-context/AlertDialogContext.js';
4
5
  import { AnimatePresence } from '../animate-presence/AnimatePresence.js';
5
6
  import '../animate-presence/PresenceContext.js';
6
7
  import { Box } from '../box/Box.js';
7
- import { Button } from '../button/Button.js';
8
- import { Flex } from '../flex/Flex.js';
9
- import { Heading } from '../heading/Heading.js';
10
8
  import { Transition } from '../transition/Transition.js';
11
- import { overlay, content, description, footer } from './AlertDialog-css.js';
9
+ import { overlay, content } from './AlertDialog-css.js';
12
10
 
13
11
  const AlertDialog = forwardRef(
14
- ({
15
- action,
16
- appearance = "primary",
17
- cancel = "Cancel",
18
- children,
19
- onAction,
20
- onCancel,
21
- open,
22
- size = "sm",
23
- title,
24
- ...props
25
- }, ref) => {
26
- return /* @__PURE__ */ jsx(RadixAlertDialog.Root, { open, children: /* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsxs(RadixAlertDialog.Portal, { forceMount: true, children: [
12
+ ({ appearance = "primary", children, open, size = "sm", ...props }, ref) => {
13
+ return /* @__PURE__ */ jsx(RadixAlertDialog.Root, { open, children: /* @__PURE__ */ jsx(AlertDialogContextProvider, { appearance, children: /* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsxs(RadixAlertDialog.Portal, { forceMount: true, children: [
27
14
  /* @__PURE__ */ jsx(Transition, { children: /* @__PURE__ */ jsx(Box, { asChild: true, ...overlay(), children: /* @__PURE__ */ jsx(RadixAlertDialog.Overlay, {}) }) }),
28
- /* @__PURE__ */ jsx(Transition, { "data-side": "bottom", type: "fade", children: /* @__PURE__ */ jsx(Box, { asChild: true, ...content({ size }), children: /* @__PURE__ */ jsxs(RadixAlertDialog.Content, { ref, ...props, children: [
29
- /* @__PURE__ */ jsx(
30
- Heading,
31
- {
32
- asChild: true,
33
- fontWeight: "500",
34
- level: "3",
35
- pb: "16",
36
- pt: "24",
37
- px: "24",
38
- children: /* @__PURE__ */ jsx(RadixAlertDialog.Title, { children: title })
39
- }
40
- ),
41
- /* @__PURE__ */ jsx(Box, { asChild: true, ...description(), children: /* @__PURE__ */ jsx(RadixAlertDialog.Description, { children }) }),
42
- /* @__PURE__ */ jsxs(Flex, { ...footer(), children: [
43
- /* @__PURE__ */ jsx(RadixAlertDialog.Cancel, { asChild: true, children: /* @__PURE__ */ jsx(Button, { appearance: "secondary", onClick: onCancel, children: cancel }) }),
44
- /* @__PURE__ */ jsx(RadixAlertDialog.Action, { asChild: true, children: /* @__PURE__ */ jsx(Button, { appearance, onClick: onAction, children: action }) })
45
- ] })
46
- ] }) }) })
47
- ] }) }) });
15
+ /* @__PURE__ */ jsx(Transition, { "data-side": "bottom", type: "fade", children: /* @__PURE__ */ jsx(Box, { asChild: true, ...content({ size }), children: /* @__PURE__ */ jsx(RadixAlertDialog.Content, { ref, ...props, children }) }) })
16
+ ] }) }) }) });
48
17
  }
49
18
  );
50
19
  AlertDialog.displayName = "@optiaxiom/react/AlertDialog";
@@ -0,0 +1,16 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
3
+ import { forwardRef } from 'react';
4
+ import { useAlertDialogContext } from '../alert-dialog-context/AlertDialogContext.js';
5
+ import { Button } from '../button/Button.js';
6
+ import { extractSprinkles } from '../sprinkles/extractSprinkles.js';
7
+ import '../sprinkles/sprinkles-css.js';
8
+
9
+ const AlertDialogAction = forwardRef(({ asChild, children, ...props }, ref) => {
10
+ const { restProps, sprinkleProps } = extractSprinkles(props);
11
+ const { appearance } = useAlertDialogContext("AlertDialogAction");
12
+ return /* @__PURE__ */ jsx(RadixAlertDialog.Action, { asChild: true, ref, ...sprinkleProps, children: asChild ? children : /* @__PURE__ */ jsx(Button, { appearance, ...restProps, children }) });
13
+ });
14
+ AlertDialogAction.displayName = "@optiaxiom/react/AlertDialogAction";
15
+
16
+ export { AlertDialogAction };
@@ -0,0 +1,14 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
3
+ import { forwardRef } from 'react';
4
+ import { Button } from '../button/Button.js';
5
+ import { extractSprinkles } from '../sprinkles/extractSprinkles.js';
6
+ import '../sprinkles/sprinkles-css.js';
7
+
8
+ const AlertDialogCancel = forwardRef(({ asChild, children = "Cancel", ...props }, ref) => {
9
+ const { restProps, sprinkleProps } = extractSprinkles(props);
10
+ return /* @__PURE__ */ jsx(RadixAlertDialog.Cancel, { asChild: true, ref, ...sprinkleProps, children: asChild ? children : /* @__PURE__ */ jsx(Button, { appearance: "secondary", ...restProps, children }) });
11
+ });
12
+ AlertDialogCancel.displayName = "@optiaxiom/react/AlertDialogCancel";
13
+
14
+ export { AlertDialogCancel };
@@ -0,0 +1,5 @@
1
+ import { createContext } from '@radix-ui/react-context';
2
+
3
+ const [AlertDialogContextProvider, useAlertDialogContext] = createContext("AlertDialog");
4
+
5
+ export { AlertDialogContextProvider, useAlertDialogContext };
@@ -0,0 +1,7 @@
1
+ import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
2
+ import './../assets/src/alert-dialog-description/AlertDialogDescription.css.ts.vanilla-B7BawTGq.css';
3
+ import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
4
+
5
+ var body = recipeRuntime({base:[{fontSize:'md',overflow:'auto',px:'24',py:'16'},'_7i0wck0']});
6
+
7
+ export { body };
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
3
+ import { forwardRef } from 'react';
4
+ import { Box } from '../box/Box.js';
5
+ import { body } from './AlertDialogDescription-css.js';
6
+
7
+ const AlertDialogDescription = forwardRef(({ children, className, ...props }, ref) => {
8
+ return /* @__PURE__ */ jsx(Box, { asChild: true, ...body({}, className), ref, ...props, children: /* @__PURE__ */ jsx(RadixAlertDialog.Description, { children }) });
9
+ });
10
+ AlertDialogDescription.displayName = "@optiaxiom/react/AlertDialogDescription";
11
+
12
+ export { AlertDialogDescription };
@@ -0,0 +1,8 @@
1
+ import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
2
+ import './../assets/src/styles/theme.css.ts.vanilla-D9K5B5ZA.css';
3
+ import './../assets/src/alert-dialog-footer/AlertDialogFooter.css.ts.vanilla-3HiYmspb.css';
4
+ import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
5
+
6
+ var footer = recipeRuntime({base:[{flexDirection:['column-reverse','row'],gap:'md',justifyContent:'end',px:'24',py:'20'},'i5jye80']});
7
+
8
+ export { footer };
@@ -0,0 +1,11 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { forwardRef } from 'react';
3
+ import { Flex } from '../flex/Flex.js';
4
+ import { footer } from './AlertDialogFooter-css.js';
5
+
6
+ const AlertDialogFooter = forwardRef(({ children, className, ...props }, ref) => {
7
+ return /* @__PURE__ */ jsx(Flex, { ...footer({}, className), ref, ...props, children });
8
+ });
9
+ AlertDialogFooter.displayName = "@optiaxiom/react/AlertDialogFooter";
10
+
11
+ export { AlertDialogFooter };
@@ -0,0 +1,24 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
3
+ import { forwardRef } from 'react';
4
+ import { Heading } from '../heading/Heading.js';
5
+
6
+ const AlertDialogTitle = forwardRef(({ children, ...props }, ref) => {
7
+ return /* @__PURE__ */ jsx(
8
+ Heading,
9
+ {
10
+ asChild: true,
11
+ fontWeight: "500",
12
+ level: "3",
13
+ pb: "16",
14
+ pt: "24",
15
+ px: "24",
16
+ ref,
17
+ ...props,
18
+ children: /* @__PURE__ */ jsx(RadixAlertDialog.Title, { children })
19
+ }
20
+ );
21
+ });
22
+ AlertDialogTitle.displayName = "@optiaxiom/react/AlertDialogTitle";
23
+
24
+ export { AlertDialogTitle };
@@ -20,10 +20,4 @@
20
20
  inset: 0;
21
21
  position: fixed;
22
22
  }
23
- .ot5vc25 {
24
- border-top: 1px solid var(--ax-colors-border-secondary);
25
- }
26
- .ot5vc26 {
27
- max-height: 50dvh;
28
- }
29
23
  }
@@ -0,0 +1,6 @@
1
+ @layer optiaxiom._1kfj4ga1;
2
+ @layer optiaxiom._1kfj4ga1 {
3
+ ._7i0wck0 {
4
+ max-height: 50dvh;
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ @layer optiaxiom._1kfj4ga1;
2
+ @layer optiaxiom._1kfj4ga1 {
3
+ .i5jye80 {
4
+ border-top: 1px solid var(--ax-colors-border-secondary);
5
+ }
6
+ }
@@ -29,6 +29,11 @@
29
29
  font-feature-settings: normal;
30
30
  font-size: 1em;
31
31
  }
32
+ ._1jn0ep0:is(table) {
33
+ border-collapse: collapse;
34
+ border-color: inherit;
35
+ text-indent: 0;
36
+ }
32
37
  ._1jn0ep0:is(button, input, optgroup, select, textarea) {
33
38
  color: inherit;
34
39
  font-size: 100%;
@@ -1,6 +1,6 @@
1
1
  @layer optiaxiom._1kfj4ga1;
2
2
  @layer optiaxiom._1kfj4ga1 {
3
- ._1gqmi2d6 {
3
+ ._1gqmi2d7 {
4
4
  border-radius: var(--ax-borderRadius-md);
5
5
  cursor: pointer;
6
6
  padding-inline: var(--_1gqmi2d5);
@@ -8,125 +8,134 @@
8
8
  text-decoration: none;
9
9
  user-select: none;
10
10
  }
11
- ._1gqmi2d6:active:not([data-disabled]) {
11
+ ._1gqmi2d7:active:not([data-disabled], [data-loading]) {
12
12
  box-shadow: var(--ax-boxShadow-inner);
13
13
  }
14
- ._1gqmi2d6:is(:focus-visible, :has(:focus-visible)):not([data-disabled]) {
14
+ ._1gqmi2d7:is(:focus-visible, :has(:focus-visible)):not([data-disabled], [data-loading]) {
15
15
  outline: 2px solid var(--ax-colors-outline-brand);
16
16
  outline-offset: 1px;
17
17
  }
18
- ._1gqmi2d6[data-disabled] {
18
+ ._1gqmi2d7:is([data-disabled], [data-loading]) {
19
19
  cursor: not-allowed;
20
20
  }
21
- ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d6:not(:first-child):not(:last-child) {
21
+ ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d7:not(:first-child):not(:last-child) {
22
22
  border-inline-width: 0.5px;
23
23
  }
24
- ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d6:not(:only-child):first-child {
24
+ ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d7:not(:only-child):first-child {
25
25
  border-bottom-right-radius: 0;
26
26
  border-right-width: 0.5px;
27
27
  border-top-right-radius: 0;
28
28
  }
29
- ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d6:not(:only-child):last-child {
29
+ ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d7:not(:only-child):last-child {
30
30
  border-bottom-left-radius: 0;
31
31
  border-left-width: 0.5px;
32
32
  border-top-left-radius: 0;
33
33
  }
34
- ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d6:not(:first-child):not(:last-child) {
34
+ ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d7:not(:first-child):not(:last-child) {
35
35
  border-block-width: 0.5px;
36
36
  }
37
- ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d6:not(:only-child):first-child {
37
+ ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d7:not(:only-child):first-child {
38
38
  border-bottom-left-radius: 0;
39
39
  border-bottom-right-radius: 0;
40
40
  border-bottom-width: 0.5px;
41
41
  }
42
- ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d6:not(:only-child):last-child {
42
+ ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d7:not(:only-child):last-child {
43
43
  border-top-left-radius: 0;
44
44
  border-top-right-radius: 0;
45
45
  border-top-width: 0.5px;
46
46
  }
47
- ._1sewcgl0[data-orientation] ._1gqmi2d6:not(:first-child):not(:last-child) {
47
+ ._1sewcgl0[data-orientation] ._1gqmi2d7:not(:first-child):not(:last-child) {
48
48
  border-radius: 0;
49
49
  }
50
- ._1gqmi2d7 {
50
+ ._1gqmi2d8 {
51
51
  --_1gqmi2d0: var(--ax-colors-bg-error-solid);
52
52
  --_1gqmi2d1: var(--ax-colors-bg-error-solid-hover);
53
53
  --_1gqmi2d3: var(--ax-colors-bg-error);
54
54
  }
55
- ._1gqmi2d8 {
55
+ ._1gqmi2d9 {
56
56
  --_1gqmi2d0: var(--ax-colors-bg-neutral-inverse);
57
57
  --_1gqmi2d1: var(--ax-colors-bg-neutral-inverse-hover);
58
58
  --_1gqmi2d2: var(--ax-colors-fg-default-inverse);
59
59
  --_1gqmi2d3: var(--ax-colors-bg-input-disabled);
60
60
  --_1gqmi2d4: var(--ax-colors-fg-default);
61
61
  }
62
- ._1gqmi2d9 {
62
+ ._1gqmi2da {
63
63
  --_1gqmi2d0: var(--ax-colors-bg-brand-solid);
64
64
  --_1gqmi2d1: var(--ax-colors-bg-brand-solid-hover);
65
65
  --_1gqmi2d3: var(--ax-colors-bg-brand);
66
66
  }
67
- ._1gqmi2da {
67
+ ._1gqmi2db {
68
68
  min-width: fit-content;
69
69
  }
70
- ._1gqmi2db {
70
+ ._1gqmi2dc {
71
71
  background-color: transparent;
72
72
  border: 1px solid var(--_1gqmi2d0);
73
73
  color: var(--_1gqmi2d4, var(--_1gqmi2d0));
74
74
  padding-inline: calc(var(--_1gqmi2d5) - 1px);
75
75
  }
76
- ._1gqmi2db:hover:not([data-disabled]) {
76
+ ._1gqmi2dc:hover:not([data-disabled], [data-loading]) {
77
77
  background-color: var(--_1gqmi2d3);
78
78
  }
79
- ._1gqmi2db[data-disabled] {
79
+ ._1gqmi2dc[data-disabled] {
80
80
  border-color: var(--ax-colors-border-disabled);
81
81
  color: var(--ax-colors-fg-disabled);
82
82
  }
83
- ._1gqmi2dc {
83
+ ._1gqmi2dd {
84
84
  background-color: var(--_1gqmi2d0);
85
85
  color: var(--_1gqmi2d2, var(--ax-colors-fg-default-inverse));
86
86
  }
87
- ._1gqmi2dc:hover:not([data-disabled]) {
87
+ ._1gqmi2dd:hover:not([data-disabled], [data-loading]) {
88
88
  background-color: var(--_1gqmi2d1);
89
89
  }
90
- ._1gqmi2dc[data-disabled] {
90
+ ._1gqmi2dd[data-disabled] {
91
91
  background-color: var(--ax-colors-bg-input-disabled);
92
92
  border: 1px solid var(--ax-colors-border-disabled);
93
93
  color: var(--ax-colors-fg-disabled);
94
94
  padding-inline: calc(var(--_1gqmi2d5) - 1px);
95
95
  }
96
- ._1gqmi2dd {
96
+ ._1gqmi2de {
97
97
  background-color: transparent;
98
98
  border-color: var(--_1gqmi2d0);
99
99
  color: var(--_1gqmi2d4, var(--_1gqmi2d0));
100
100
  }
101
- ._1gqmi2dd:hover:not(:is([data-disabled], [data-state="active"])) {
101
+ ._1gqmi2de:hover:not([data-disabled], [data-loading], [data-state="active"], [data-state="on"]) {
102
102
  background-color: var(--_1gqmi2d3);
103
103
  }
104
- ._1gqmi2dd[data-disabled] {
105
- color: var(--ax-colors-fg-disabled);
106
- }
107
- ._1gqmi2dd[data-state="active"] {
104
+ ._1gqmi2de:is([data-state="active"], [data-state="on"]) {
108
105
  background-color: var(--ax-colors-bg-brand);
109
106
  color: var(--ax-colors-fg-link);
110
107
  }
111
- ._1gqmi2de {
112
- border-color: var(--ax-colors-border-default);
108
+ ._1gqmi2de[data-disabled] {
109
+ color: var(--ax-colors-fg-disabled);
113
110
  }
114
111
  ._1gqmi2df {
115
- --_1gqmi2d5: 2px;
112
+ border-color: var(--ax-colors-border-default);
116
113
  }
117
114
  ._1gqmi2dg {
118
- --_1gqmi2d5: 4px;
115
+ --_1gqmi2d5: 2px;
119
116
  }
120
117
  ._1gqmi2dh {
121
- --_1gqmi2d5: 6px;
118
+ --_1gqmi2d5: 4px;
122
119
  }
123
120
  ._1gqmi2di {
124
- --_1gqmi2d5: 8px;
121
+ --_1gqmi2d5: 6px;
125
122
  }
126
123
  ._1gqmi2dj {
127
- --_1gqmi2d5: 10px;
124
+ --_1gqmi2d5: 8px;
128
125
  }
129
126
  ._1gqmi2dk {
127
+ --_1gqmi2d5: 10px;
128
+ }
129
+ ._1gqmi2dl {
130
130
  --_1gqmi2d5: 12px;
131
131
  }
132
+ ._1gqmi2dm {
133
+ opacity: 1;
134
+ }
135
+ ._1gqmi2d6[data-loading] ._1gqmi2dm {
136
+ opacity: 0;
137
+ }
138
+ ._1gqmi2dn {
139
+ position: absolute;
140
+ }
132
141
  }