@moduix/react 2.5.1 → 2.6.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.
Files changed (200) hide show
  1. package/README.md +24 -3
  2. package/THIRD_PARTY_NOTICES.md +49 -0
  3. package/dist/components/accordion/Accordion.js +7 -8
  4. package/dist/components/alert/Alert.js +6 -7
  5. package/dist/components/alert/Alert_module.css +3 -16
  6. package/dist/components/angle-slider/AngleSlider.d.ts +5 -11
  7. package/dist/components/angle-slider/AngleSlider.js +17 -59
  8. package/dist/components/aspect-ratio/AspectRatio.js +1 -2
  9. package/dist/components/aspect-ratio/AspectRatio_module.css +0 -13
  10. package/dist/components/avatar/Avatar.d.ts +3 -6
  11. package/dist/components/avatar/Avatar.js +7 -50
  12. package/dist/components/avatar/Avatar.module.js +1 -2
  13. package/dist/components/avatar/Avatar_module.css +0 -6
  14. package/dist/components/badge/Badge.d.ts +2 -2
  15. package/dist/components/badge/Badge.js +5 -10
  16. package/dist/components/badge/Badge_module.css +7 -14
  17. package/dist/components/bleed/Bleed.js +1 -2
  18. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
  19. package/dist/components/breadcrumbs/Breadcrumbs.js +16 -32
  20. package/dist/components/breadcrumbs/Breadcrumbs_module.css +12 -14
  21. package/dist/components/button/Button.d.ts +4 -4
  22. package/dist/components/button/Button.js +1 -2
  23. package/dist/components/button/Button_module.css +2 -7
  24. package/dist/components/card/Card.d.ts +15 -15
  25. package/dist/components/card/Card.js +10 -11
  26. package/dist/components/card/Card_module.css +1 -17
  27. package/dist/components/carousel/Carousel.js +12 -13
  28. package/dist/components/carousel/Carousel_module.css +7 -0
  29. package/dist/components/chart/Chart.d.ts +9 -8
  30. package/dist/components/chart/Chart.js +7 -8
  31. package/dist/components/chart/Chart_module.css +0 -2
  32. package/dist/components/checkbox/Checkbox.d.ts +3 -2
  33. package/dist/components/checkbox/Checkbox.js +12 -35
  34. package/dist/components/clipboard/Clipboard.js +8 -9
  35. package/dist/components/close-button/CloseButton.js +1 -2
  36. package/dist/components/close-button/CloseButton_module.css +1 -10
  37. package/dist/components/collapsible/Collapsible.js +6 -9
  38. package/dist/components/collapsible/Collapsible_module.css +2 -4
  39. package/dist/components/color-picker/ColorPicker.d.ts +4 -3
  40. package/dist/components/color-picker/ColorPicker.js +32 -45
  41. package/dist/components/color-picker/ColorPicker_module.css +0 -1
  42. package/dist/components/combobox/Combobox.d.ts +5 -5
  43. package/dist/components/combobox/Combobox.js +20 -29
  44. package/dist/components/combobox/Combobox_module.css +0 -1
  45. package/dist/components/command-palette/CommandPalette.d.ts +7 -18
  46. package/dist/components/command-palette/CommandPalette.js +51 -78
  47. package/dist/components/command-palette/CommandPalette_module.css +11 -18
  48. package/dist/components/container/Container.js +1 -2
  49. package/dist/components/date-input/DateInput.d.ts +7 -9
  50. package/dist/components/date-input/DateInput.js +14 -44
  51. package/dist/components/date-input/DateInput_module.css +0 -1
  52. package/dist/components/date-picker/DatePicker.d.ts +1 -1
  53. package/dist/components/date-picker/DatePicker.js +34 -43
  54. package/dist/components/date-picker/DatePicker.module.js +1 -1
  55. package/dist/components/date-picker/DatePicker_module.css +5 -2
  56. package/dist/components/dialog/Dialog.d.ts +1 -1
  57. package/dist/components/dialog/Dialog.js +11 -12
  58. package/dist/components/drawer/Drawer.d.ts +6 -3
  59. package/dist/components/drawer/Drawer.js +33 -24
  60. package/dist/components/editable/Editable.d.ts +1 -1
  61. package/dist/components/editable/Editable.js +10 -11
  62. package/dist/components/empty/Empty.js +6 -7
  63. package/dist/components/field/Field.js +10 -11
  64. package/dist/components/fieldset/Fieldset.js +5 -6
  65. package/dist/components/file-upload/FileUpload.d.ts +3 -2
  66. package/dist/components/file-upload/FileUpload.js +28 -55
  67. package/dist/components/file-upload/FileUpload_module.css +4 -13
  68. package/dist/components/floating-panel/FloatingPanel.d.ts +2 -2
  69. package/dist/components/floating-panel/FloatingPanel.js +14 -15
  70. package/dist/components/floating-panel/FloatingPanel_module.css +4 -17
  71. package/dist/components/heading/Heading.js +1 -2
  72. package/dist/components/highlight/Highlight.js +1 -2
  73. package/dist/components/hover-card/HoverCard.d.ts +2 -1
  74. package/dist/components/hover-card/HoverCard.js +15 -6
  75. package/dist/components/hover-card/HoverCard.module.js +1 -0
  76. package/dist/components/hover-card/HoverCard_module.css +18 -3
  77. package/dist/components/image/Image.js +1 -2
  78. package/dist/components/image-cropper/ImageCropper.d.ts +1 -1
  79. package/dist/components/image-cropper/ImageCropper.js +7 -8
  80. package/dist/components/input/Input.d.ts +4 -4
  81. package/dist/components/input/Input.js +1 -2
  82. package/dist/components/input-group/InputGroup.d.ts +5 -5
  83. package/dist/components/input-group/InputGroup.js +5 -6
  84. package/dist/components/json-tree-view/JsonTreeView.js +3 -4
  85. package/dist/components/json-tree-view/JsonTreeView_module.css +26 -10
  86. package/dist/components/kbd/Kbd.js +2 -3
  87. package/dist/components/lightbox/Lightbox.d.ts +1 -1
  88. package/dist/components/lightbox/Lightbox.js +13 -14
  89. package/dist/components/lightbox/Lightbox_module.css +0 -2
  90. package/dist/components/list/List.js +2 -3
  91. package/dist/components/listbox/Listbox.d.ts +5 -5
  92. package/dist/components/listbox/Listbox.js +19 -25
  93. package/dist/components/listbox/Listbox.module.js +2 -2
  94. package/dist/components/listbox/Listbox_module.css +3 -13
  95. package/dist/components/marquee/Marquee.js +6 -7
  96. package/dist/components/menu/Menu.d.ts +2 -1
  97. package/dist/components/menu/Menu.js +34 -41
  98. package/dist/components/menu/Menu.module.js +1 -1
  99. package/dist/components/menu/Menu_module.css +8 -8
  100. package/dist/components/native-select/NativeSelect.js +2 -3
  101. package/dist/components/native-select/NativeSelect_module.css +0 -1
  102. package/dist/components/navigation-menu/NavigationMenu.js +17 -36
  103. package/dist/components/navigation-menu/NavigationMenu.module.js +2 -3
  104. package/dist/components/navigation-menu/NavigationMenu_module.css +15 -32
  105. package/dist/components/number-input/NumberInput.js +9 -10
  106. package/dist/components/pagination/Pagination.js +17 -20
  107. package/dist/components/pagination/Pagination_module.css +1 -5
  108. package/dist/components/password-input/PasswordInput.js +7 -8
  109. package/dist/components/pin-input/PinInput.d.ts +3 -2
  110. package/dist/components/pin-input/PinInput.js +13 -54
  111. package/dist/components/popover/Popover.d.ts +5 -3
  112. package/dist/components/popover/Popover.js +16 -17
  113. package/dist/components/progress-circular/ProgressCircular.js +8 -9
  114. package/dist/components/progress-circular/ProgressCircular.module.js +1 -3
  115. package/dist/components/progress-circular/ProgressCircular_module.css +0 -10
  116. package/dist/components/progress-linear/ProgressLinear.js +7 -8
  117. package/dist/components/progress-linear/ProgressLinear.module.js +1 -5
  118. package/dist/components/progress-linear/ProgressLinear_module.css +0 -20
  119. package/dist/components/qr-code/QrCode.js +6 -7
  120. package/dist/components/radio-group/RadioGroup.d.ts +1 -0
  121. package/dist/components/radio-group/RadioGroup.js +13 -27
  122. package/dist/components/radio-group/RadioGroup_module.css +0 -1
  123. package/dist/components/rating-group/RatingGroup.d.ts +1 -0
  124. package/dist/components/rating-group/RatingGroup.js +12 -29
  125. package/dist/components/rating-group/RatingGroup_module.css +1 -1
  126. package/dist/components/scroll-area/ScrollArea.js +7 -8
  127. package/dist/components/segment-group/SegmentGroup.d.ts +1 -0
  128. package/dist/components/segment-group/SegmentGroup.js +16 -30
  129. package/dist/components/segment-group/SegmentGroup_module.css +4 -0
  130. package/dist/components/select/Select.d.ts +4 -7
  131. package/dist/components/select/Select.js +36 -86
  132. package/dist/components/select/Select.module.js +1 -1
  133. package/dist/components/select/Select_module.css +4 -31
  134. package/dist/components/separator/Separator.d.ts +6 -6
  135. package/dist/components/separator/Separator.js +1 -2
  136. package/dist/components/sidebar/Sidebar.d.ts +16 -16
  137. package/dist/components/sidebar/Sidebar.js +35 -48
  138. package/dist/components/sidebar/Sidebar.module.js +2 -3
  139. package/dist/components/sidebar/Sidebar_module.css +62 -158
  140. package/dist/components/signature-pad/SignaturePad.d.ts +5 -8
  141. package/dist/components/signature-pad/SignaturePad.js +17 -46
  142. package/dist/components/signature-pad/SignaturePad_module.css +0 -1
  143. package/dist/components/simple-grid/SimpleGrid.js +13 -8
  144. package/dist/components/skeleton/Skeleton.d.ts +2 -2
  145. package/dist/components/skeleton/Skeleton.js +1 -2
  146. package/dist/components/slider/Slider.d.ts +2 -2
  147. package/dist/components/slider/Slider.js +18 -32
  148. package/dist/components/spinner/Spinner.d.ts +2 -2
  149. package/dist/components/spinner/Spinner.js +1 -2
  150. package/dist/components/split-button/SplitButton.d.ts +4 -4
  151. package/dist/components/split-button/SplitButton.js +11 -8
  152. package/dist/components/splitter/Splitter.js +5 -6
  153. package/dist/components/splitter/Splitter_module.css +2 -10
  154. package/dist/components/stack/Stack.d.ts +6 -6
  155. package/dist/components/stack/Stack.js +4 -5
  156. package/dist/components/stack/Stack_module.css +1 -1
  157. package/dist/components/steps/Steps.js +12 -13
  158. package/dist/components/steps/Steps_module.css +2 -3
  159. package/dist/components/swap/Swap.js +3 -4
  160. package/dist/components/switch/Switch.d.ts +3 -2
  161. package/dist/components/switch/Switch.js +12 -35
  162. package/dist/components/switch/Switch_module.css +0 -1
  163. package/dist/components/table/Table.d.ts +5 -5
  164. package/dist/components/table/Table.js +12 -13
  165. package/dist/components/tabs/Tabs.js +6 -7
  166. package/dist/components/tabs/Tabs_module.css +5 -10
  167. package/dist/components/tag/Tag.js +5 -6
  168. package/dist/components/tag/Tag_module.css +2 -4
  169. package/dist/components/tags-input/TagsInput.d.ts +3 -3
  170. package/dist/components/tags-input/TagsInput.js +21 -75
  171. package/dist/components/tags-input/TagsInput_module.css +0 -1
  172. package/dist/components/text/Text.js +1 -2
  173. package/dist/components/textarea/Textarea.js +1 -2
  174. package/dist/components/timer/Timer.js +7 -8
  175. package/dist/components/toast/Toast.d.ts +1 -1
  176. package/dist/components/toast/Toast.js +7 -8
  177. package/dist/components/toast/Toast_module.css +1 -2
  178. package/dist/components/toc/Toc.js +10 -11
  179. package/dist/components/toc/Toc_module.css +2 -2
  180. package/dist/components/toggle/Toggle.js +2 -3
  181. package/dist/components/toggle-group/ToggleGroup.d.ts +1 -1
  182. package/dist/components/toggle-group/ToggleGroup.js +3 -4
  183. package/dist/components/tooltip/Tooltip.d.ts +1 -1
  184. package/dist/components/tooltip/Tooltip.js +6 -7
  185. package/dist/components/tooltip/Tooltip_module.css +1 -1
  186. package/dist/components/tour/Tour.d.ts +1 -1
  187. package/dist/components/tour/Tour.js +14 -15
  188. package/dist/components/tree-view/TreeView.d.ts +4 -4
  189. package/dist/components/tree-view/TreeView.js +17 -18
  190. package/dist/components/tree-view/TreeView_module.css +39 -12
  191. package/dist/components/typeset/Typeset.js +2 -3
  192. package/dist/components/typeset/Typeset_module.css +300 -159
  193. package/dist/internal/icons/ui/Icons.d.ts +9 -30
  194. package/dist/internal/icons/ui/Icons.js +67 -807
  195. package/dist/internal/icons/ui/index.d.ts +1 -1
  196. package/dist/styles/animations.css +310 -0
  197. package/dist/styles/style.css +168 -2
  198. package/package.json +23 -23
  199. package/dist/internal/normalizeClassName.d.ts +0 -1
  200. package/dist/internal/normalizeClassName.js +0 -2
@@ -1,8 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { ark } from "@ark-ui/react/factory";
3
3
  import { clsx } from "clsx";
4
- import { Children, forwardRef } from "react";
5
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
4
+ import { forwardRef } from "react";
6
5
  import Badge_module from "./Badge.module.js";
7
6
  const Badge_BadgeLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
8
7
  return /*#__PURE__*/ jsx(ark.span, {
@@ -11,10 +10,10 @@ const Badge_BadgeLabel = /*#__PURE__*/ forwardRef(function({ className, ...props
11
10
  "data-scope": "badge",
12
11
  "data-part": "label",
13
12
  "data-slot": "badge-label",
14
- className: clsx(Badge_module.label, normalizeClassName(className))
13
+ className: clsx(Badge_module.label, className)
15
14
  });
16
15
  });
17
- const Badge_BadgeRoot = /*#__PURE__*/ forwardRef(function({ asChild, children, className, variant = 'default', ...props }, ref) {
16
+ const Badge_BadgeRoot = /*#__PURE__*/ forwardRef(function({ className, variant = 'default', ...props }, ref) {
18
17
  return /*#__PURE__*/ jsx(ark.span, {
19
18
  ref: ref,
20
19
  ...props,
@@ -22,11 +21,7 @@ const Badge_BadgeRoot = /*#__PURE__*/ forwardRef(function({ asChild, children, c
22
21
  "data-part": "root",
23
22
  "data-slot": "badge-root",
24
23
  "data-variant": variant,
25
- className: clsx(Badge_module.root, normalizeClassName(className)),
26
- asChild: asChild,
27
- children: asChild ? children : Children.map(children, (child)=>'string' == typeof child || 'number' == typeof child ? /*#__PURE__*/ jsx(Badge_BadgeLabel, {
28
- children: child
29
- }) : child)
24
+ className: clsx(Badge_module.root, className)
30
25
  });
31
26
  });
32
27
  const Badge_BadgeDot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
@@ -37,7 +32,7 @@ const Badge_BadgeDot = /*#__PURE__*/ forwardRef(function({ className, ...props }
37
32
  "data-part": "dot",
38
33
  "data-slot": "badge-dot",
39
34
  "aria-hidden": "true",
40
- className: clsx(Badge_module.dot, normalizeClassName(className))
35
+ className: clsx(Badge_module.dot, className)
41
36
  });
42
37
  });
43
38
  const Badge = Object.assign(Badge_BadgeRoot, {
@@ -7,7 +7,6 @@
7
7
  border: var(--moduix-badge-border-width, var(--moduix-border-width-sm)) solid
8
8
  var(--moduix-badge-border-color, var(--moduix-badge-default-border-color, transparent));
9
9
  border-radius: var(--moduix-badge-radius, var(--moduix-radius-full));
10
- width: -moz-fit-content;
11
10
  width: fit-content;
12
11
  min-width: 0;
13
12
  max-width: 100%;
@@ -23,7 +22,6 @@
23
22
  -webkit-user-select: none;
24
23
  user-select: none;
25
24
  white-space: nowrap;
26
- text-overflow: ellipsis;
27
25
  vertical-align: middle;
28
26
  transition: color var(--moduix-badge-transition, var(--moduix-transition-default)),
29
27
  background-color var(--moduix-badge-transition, var(--moduix-transition-default)),
@@ -34,39 +32,34 @@
34
32
  overflow: hidden;
35
33
  }
36
34
 
37
- .root-qRQEjV:is(a, button, [role="button"]):focus-visible {
35
+ .root-qRQEjV:focus-visible {
38
36
  outline: var(--moduix-badge-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
39
- solid var(--moduix-badge-focus-ring-color, var(--moduix-color-ring));
37
+ solid var(--moduix-badge-focus-ring-color, var(--moduix-color-ring));
40
38
  outline-offset: var(--moduix-badge-focus-ring-offset, var(--moduix-focus-ring-offset));
41
39
  }
42
40
 
43
- .root-qRQEjV:is(a, button, [role="button"]):not(:disabled, [aria-disabled="true"]) {
41
+ .root-qRQEjV:is(a) {
44
42
  cursor: pointer;
45
43
  }
46
44
 
47
- :is(.root-qRQEjV:is(a, button, [role="button"]):not(:disabled, [aria-disabled="true"])[data-variant="default"], .root-qRQEjV:is(a, button, [role="button"]):not(:disabled, [aria-disabled="true"])[data-variant="secondary"], .root-qRQEjV:is(a, button, [role="button"]):not(:disabled, [aria-disabled="true"])[data-variant="destructive"]):hover {
45
+ .root-qRQEjV:is(a):is([data-variant="default"], [data-variant="secondary"], [data-variant="destructive"]):hover {
48
46
  opacity: var(--moduix-badge-opacity-hover, var(--moduix-opacity-hover));
49
47
  }
50
48
 
51
- .root-qRQEjV:is(a, button, [role="button"]):not(:disabled, [aria-disabled="true"])[data-variant="outline"]:hover {
49
+ .root-qRQEjV:is(a)[data-variant="outline"]:hover {
52
50
  border-color: var(--moduix-badge-border-color, var(--moduix-badge-outline-border-color-hover, var(--moduix-color-primary)));
53
51
  color: var(--moduix-badge-color, var(--moduix-badge-outline-color-hover, var(--moduix-color-primary)));
54
52
  }
55
53
 
56
- .root-qRQEjV:is(a, button, [role="button"]):not(:disabled, [aria-disabled="true"])[data-variant="ghost"]:hover {
54
+ .root-qRQEjV:is(a)[data-variant="ghost"]:hover {
57
55
  border-color: var(--moduix-badge-border-color, var(--moduix-badge-ghost-border-color-hover, var(--moduix-color-primary)));
58
56
  color: var(--moduix-badge-color, var(--moduix-badge-ghost-color-hover, var(--moduix-color-primary)));
59
57
  }
60
58
 
61
- .root-qRQEjV:is(a, button, [role="button"]):not(:disabled, [aria-disabled="true"])[data-variant="link"]:hover {
59
+ .root-qRQEjV:is(a)[data-variant="link"]:hover {
62
60
  text-decoration-color: currentColor;
63
61
  }
64
62
 
65
- .root-qRQEjV:is(a, button, [role="button"]):is(:disabled, [aria-disabled="true"]) {
66
- cursor: not-allowed;
67
- opacity: var(--moduix-badge-opacity-disabled, var(--moduix-opacity-disabled));
68
- }
69
-
70
63
  .root-qRQEjV > svg {
71
64
  width: var(--moduix-badge-icon-size, var(--moduix-spacing-3));
72
65
  height: var(--moduix-badge-icon-size, var(--moduix-spacing-3));
@@ -2,7 +2,6 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { ark } from "@ark-ui/react/factory";
3
3
  import { clsx } from "clsx";
4
4
  import { forwardRef } from "react";
5
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
6
5
  import Bleed_module from "./Bleed.module.js";
7
6
  const Bleed_BleedRoot = /*#__PURE__*/ forwardRef(function({ inline = 'full', block = 'none', className, ...props }, ref) {
8
7
  return /*#__PURE__*/ jsx(ark.div, {
@@ -13,7 +12,7 @@ const Bleed_BleedRoot = /*#__PURE__*/ forwardRef(function({ inline = 'full', blo
13
12
  "data-slot": "bleed-root",
14
13
  "data-inline": inline,
15
14
  "data-block": block,
16
- className: clsx(Bleed_module.root, normalizeClassName(className))
15
+ className: clsx(Bleed_module.root, className)
17
16
  });
18
17
  });
19
18
  const Bleed = Object.assign(Bleed_BleedRoot, {
@@ -10,7 +10,7 @@ declare const Breadcrumbs: import("react").ForwardRefExoticComponent<Omit<import
10
10
  List: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLOListElement>>;
11
11
  Item: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLLIElement>>;
12
12
  Link: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLAnchorElement>>;
13
- Path: import("react").ForwardRefExoticComponent<Omit<HTMLArkProps<"ol">, "children" | "asChild"> & {
13
+ Path: import("react").ForwardRefExoticComponent<Omit<HTMLArkProps<"ol">, "asChild" | "children"> & {
14
14
  items: readonly BreadcrumbsPathItem[];
15
15
  separator?: ReactNode;
16
16
  } & import("react").RefAttributes<HTMLOListElement>>;
@@ -3,58 +3,47 @@ import { ark } from "@ark-ui/react/factory";
3
3
  import { clsx } from "clsx";
4
4
  import { Fragment, forwardRef } from "react";
5
5
  import { ChevronRightIcon } from "../../internal/icons/ui/index.js";
6
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
7
6
  import Breadcrumbs_module from "./Breadcrumbs.module.js";
8
7
  const Breadcrumbs_BreadcrumbsRoot = /*#__PURE__*/ forwardRef(function({ className, 'aria-label': ariaLabel = 'Breadcrumb', ...props }, ref) {
9
8
  return /*#__PURE__*/ jsx(ark.nav, {
10
9
  ref: ref,
11
- "data-scope": "breadcrumbs",
12
- "data-part": "root",
13
- "data-slot": "breadcrumbs-root",
14
10
  "aria-label": ariaLabel,
15
- className: clsx(Breadcrumbs_module.root, normalizeClassName(className)),
16
- ...props
11
+ ...props,
12
+ "data-slot": "breadcrumbs-root",
13
+ className: clsx(Breadcrumbs_module.root, className)
17
14
  });
18
15
  });
19
16
  const Breadcrumbs_BreadcrumbsList = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
20
17
  return /*#__PURE__*/ jsx(ark.ol, {
21
18
  ref: ref,
22
- "data-scope": "breadcrumbs",
23
- "data-part": "list",
19
+ ...props,
24
20
  "data-slot": "breadcrumbs-list",
25
- className: clsx(Breadcrumbs_module.list, normalizeClassName(className)),
26
- ...props
21
+ className: clsx(Breadcrumbs_module.list, className)
27
22
  });
28
23
  });
29
24
  const Breadcrumbs_BreadcrumbsItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
30
25
  return /*#__PURE__*/ jsx(ark.li, {
31
26
  ref: ref,
32
- "data-scope": "breadcrumbs",
33
- "data-part": "item",
27
+ ...props,
34
28
  "data-slot": "breadcrumbs-item",
35
- className: clsx(Breadcrumbs_module.item, normalizeClassName(className)),
36
- ...props
29
+ className: clsx(Breadcrumbs_module.item, className)
37
30
  });
38
31
  });
39
32
  const Breadcrumbs_BreadcrumbsLink = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
40
33
  return /*#__PURE__*/ jsx(ark.a, {
41
34
  ref: ref,
42
- "data-scope": "breadcrumbs",
43
- "data-part": "link",
35
+ ...props,
44
36
  "data-slot": "breadcrumbs-link",
45
- className: clsx(Breadcrumbs_module.link, normalizeClassName(className)),
46
- ...props
37
+ className: clsx(Breadcrumbs_module.link, className)
47
38
  });
48
39
  });
49
40
  const Breadcrumbs_BreadcrumbsPage = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
50
41
  return /*#__PURE__*/ jsx(ark.span, {
51
42
  ref: ref,
52
- "data-scope": "breadcrumbs",
53
- "data-part": "page",
43
+ ...props,
54
44
  "data-slot": "breadcrumbs-page",
55
45
  "aria-current": "page",
56
- className: clsx(Breadcrumbs_module.page, normalizeClassName(className)),
57
- ...props
46
+ className: clsx(Breadcrumbs_module.page, className)
58
47
  });
59
48
  });
60
49
  const Breadcrumbs_BreadcrumbsPath = /*#__PURE__*/ forwardRef(function({ items, separator, ...props }, ref) {
@@ -81,16 +70,13 @@ const Breadcrumbs_BreadcrumbsPath = /*#__PURE__*/ forwardRef(function({ items, s
81
70
  })
82
71
  });
83
72
  });
84
- const Breadcrumbs_BreadcrumbsSeparator = /*#__PURE__*/ forwardRef(function({ className, children, role = 'presentation', ...props }, ref) {
73
+ const Breadcrumbs_BreadcrumbsSeparator = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
85
74
  return /*#__PURE__*/ jsx(ark.li, {
86
75
  ref: ref,
87
- "data-scope": "breadcrumbs",
88
- "data-part": "separator",
76
+ ...props,
89
77
  "data-slot": "breadcrumbs-separator",
90
78
  "aria-hidden": "true",
91
- role: role,
92
- className: clsx(Breadcrumbs_module.separator, normalizeClassName(className)),
93
- ...props,
79
+ className: clsx(Breadcrumbs_module.separator, className),
94
80
  children: children ?? /*#__PURE__*/ jsx(ChevronRightIcon, {
95
81
  className: Breadcrumbs_module.separatorIcon
96
82
  })
@@ -99,12 +85,10 @@ const Breadcrumbs_BreadcrumbsSeparator = /*#__PURE__*/ forwardRef(function({ cla
99
85
  const Breadcrumbs_BreadcrumbsEllipsis = /*#__PURE__*/ forwardRef(function({ className, children = '...', ...props }, ref) {
100
86
  return /*#__PURE__*/ jsx(ark.span, {
101
87
  ref: ref,
102
- "data-scope": "breadcrumbs",
103
- "data-part": "ellipsis",
88
+ ...props,
104
89
  "data-slot": "breadcrumbs-ellipsis",
105
90
  "aria-hidden": "true",
106
- className: clsx(Breadcrumbs_module.ellipsis, normalizeClassName(className)),
107
- ...props,
91
+ className: clsx(Breadcrumbs_module.ellipsis, className),
108
92
  children: children
109
93
  });
110
94
  });
@@ -1,12 +1,12 @@
1
1
  @layer moduix.components {
2
- .root-B6shiI[data-scope="breadcrumbs"][data-part="root"] {
2
+ .root-B6shiI {
3
3
  max-width: var(--moduix-breadcrumbs-max-width, 100%);
4
4
  color: var(--moduix-breadcrumbs-color, var(--moduix-color-muted-foreground));
5
5
  font-size: var(--moduix-breadcrumbs-font-size, var(--moduix-text-sm));
6
6
  line-height: var(--moduix-breadcrumbs-line-height, var(--moduix-line-height-text-sm));
7
7
  }
8
8
 
9
- .list-FZ1rud[data-scope="breadcrumbs"][data-part="list"] {
9
+ .list-FZ1rud {
10
10
  align-items: center;
11
11
  gap: var(--moduix-breadcrumbs-gap, var(--moduix-spacing-1));
12
12
  white-space: nowrap;
@@ -17,19 +17,18 @@
17
17
  display: flex;
18
18
  }
19
19
 
20
- .list-FZ1rud[data-scope="breadcrumbs"][data-part="list"] > .item-RCrA_4:last-child {
20
+ .list-FZ1rud > .item-RCrA_4:last-child {
21
21
  max-width: var(--moduix-breadcrumbs-item-max-width, 16rem);
22
22
  flex: auto;
23
23
  }
24
24
 
25
- .item-RCrA_4[data-scope="breadcrumbs"][data-part="item"] {
26
- flex: 0 auto;
25
+ .item-RCrA_4 {
27
26
  align-items: center;
28
27
  min-width: 0;
29
28
  display: inline-flex;
30
29
  }
31
30
 
32
- .link-xaIY1W[data-scope="breadcrumbs"][data-part="link"], .page-IrZ65J[data-scope="breadcrumbs"][data-part="page"] {
31
+ .link-xaIY1W, .page-IrZ65J {
33
32
  min-width: 0;
34
33
  max-width: 100%;
35
34
  padding-inline: var(--moduix-breadcrumbs-item-padding-x, var(--moduix-spacing-1));
@@ -37,12 +36,12 @@
37
36
  display: block;
38
37
  }
39
38
 
40
- .link-xaIY1W[data-scope="breadcrumbs"][data-part="link"], .page-IrZ65J[data-scope="breadcrumbs"][data-part="page"], .ellipsis-BQEu94[data-scope="breadcrumbs"][data-part="ellipsis"] {
39
+ .link-xaIY1W, .page-IrZ65J, .ellipsis-BQEu94 {
41
40
  text-overflow: ellipsis;
42
41
  overflow: hidden;
43
42
  }
44
43
 
45
- .link-xaIY1W[data-scope="breadcrumbs"][data-part="link"] {
44
+ .link-xaIY1W {
46
45
  color: var(--moduix-breadcrumbs-link-color, var(--moduix-color-muted-foreground));
47
46
  -webkit-text-decoration: var(--moduix-breadcrumbs-link-text-decoration, none);
48
47
  text-decoration: var(--moduix-breadcrumbs-link-text-decoration, none);
@@ -53,25 +52,25 @@
53
52
  }
54
53
 
55
54
  @media (hover: hover) {
56
- .link-xaIY1W[data-scope="breadcrumbs"][data-part="link"]:hover {
55
+ .link-xaIY1W:hover {
57
56
  color: var(--moduix-breadcrumbs-link-color-hover, var(--moduix-color-foreground));
58
57
  -webkit-text-decoration: var(--moduix-breadcrumbs-link-text-decoration-hover, none);
59
58
  text-decoration: var(--moduix-breadcrumbs-link-text-decoration-hover, none);
60
59
  }
61
60
  }
62
61
 
63
- .link-xaIY1W[data-scope="breadcrumbs"][data-part="link"]:focus-visible {
62
+ .link-xaIY1W:focus-visible {
64
63
  box-shadow: 0 0 0
65
64
  var(--moduix-breadcrumbs-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
66
65
  var(--moduix-breadcrumbs-focus-ring-color, var(--moduix-color-ring));
67
66
  }
68
67
 
69
- .page-IrZ65J[data-scope="breadcrumbs"][data-part="page"] {
68
+ .page-IrZ65J {
70
69
  color: var(--moduix-breadcrumbs-page-color, var(--moduix-color-foreground));
71
70
  font-weight: var(--moduix-breadcrumbs-page-font-weight, var(--moduix-weight-medium));
72
71
  }
73
72
 
74
- .separator-VULbp1[data-scope="breadcrumbs"][data-part="separator"] {
73
+ .separator-VULbp1 {
75
74
  color: var(--moduix-breadcrumbs-separator-color, var(--moduix-color-muted-foreground));
76
75
  font-size: var(--moduix-breadcrumbs-separator-font-size, .875em);
77
76
  -webkit-user-select: none;
@@ -91,12 +90,11 @@
91
90
  transform: rotate(180deg);
92
91
  }
93
92
 
94
- .ellipsis-BQEu94[data-scope="breadcrumbs"][data-part="ellipsis"] {
93
+ .ellipsis-BQEu94 {
95
94
  min-width: var(--moduix-breadcrumbs-ellipsis-size, var(--moduix-spacing-4));
96
95
  min-height: var(--moduix-breadcrumbs-ellipsis-size, var(--moduix-spacing-4));
97
96
  padding-inline: var(--moduix-breadcrumbs-item-padding-x, var(--moduix-spacing-1));
98
97
  color: var(--moduix-breadcrumbs-ellipsis-color, var(--moduix-color-muted-foreground));
99
- border-radius: var(--moduix-breadcrumbs-ellipsis-radius, var(--moduix-radius-sm));
100
98
  justify-content: center;
101
99
  align-items: center;
102
100
  display: inline-flex;
@@ -1,15 +1,15 @@
1
1
  declare const Button: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
2
2
  loading?: boolean;
3
- variant?: "default" | "outline" | "secondary" | "destructive" | "destructive-outline" | "ghost" | "link";
4
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg";
3
+ variant?: 'default' | 'outline' | 'secondary' | 'destructive' | 'destructive-outline' | 'ghost' | 'link';
4
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'icon-sm' | 'icon-md' | 'icon-lg';
5
5
  'data-scope'?: string;
6
6
  'data-part'?: string;
7
7
  'data-slot'?: string;
8
8
  } & import("react").RefAttributes<HTMLButtonElement>> & {
9
9
  Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
10
10
  loading?: boolean;
11
- variant?: "default" | "outline" | "secondary" | "destructive" | "destructive-outline" | "ghost" | "link";
12
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg";
11
+ variant?: 'default' | 'outline' | 'secondary' | 'destructive' | 'destructive-outline' | 'ghost' | 'link';
12
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'icon-sm' | 'icon-md' | 'icon-lg';
13
13
  'data-scope'?: string;
14
14
  'data-part'?: string;
15
15
  'data-slot'?: string;
@@ -2,7 +2,6 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { ark } from "@ark-ui/react/factory";
3
3
  import { clsx } from "clsx";
4
4
  import { forwardRef } from "react";
5
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
6
5
  import Button_module from "./Button.module.js";
7
6
  const Button_ButtonRoot = /*#__PURE__*/ forwardRef(function({ asChild, className, disabled, loading = false, onClick, onClickCapture, size = 'md', type, 'data-scope': dataScope = 'button', 'data-part': dataPart = 'root', 'data-slot': dataSlot, variant = 'default', 'aria-busy': ariaBusy, 'aria-disabled': ariaDisabled, ...props }, ref) {
8
7
  const isDisabled = disabled || loading || true === ariaDisabled || 'true' === ariaDisabled;
@@ -40,7 +39,7 @@ const Button_ButtonRoot = /*#__PURE__*/ forwardRef(function({ asChild, className
40
39
  "data-size": size,
41
40
  "data-disabled": isDisabled ? '' : void 0,
42
41
  "data-loading": loading ? '' : void 0,
43
- className: clsx(Button_module.root, normalizeClassName(className))
42
+ className: clsx(Button_module.root, className)
44
43
  });
45
44
  });
46
45
  const Button = Object.assign(Button_ButtonRoot, {
@@ -20,7 +20,6 @@
20
20
  border-color var(--moduix-button-transition, var(--moduix-transition-default)),
21
21
  color var(--moduix-button-transition, var(--moduix-transition-default)),
22
22
  opacity var(--moduix-button-transition, var(--moduix-transition-default)),
23
- box-shadow var(--moduix-button-transition, var(--moduix-transition-default)),
24
23
  transform var(--moduix-button-transition, var(--moduix-transition-default));
25
24
  background-color: #0000;
26
25
  margin: 0;
@@ -35,13 +34,9 @@
35
34
  -1);
36
35
  }
37
36
 
38
- .root-RR_712:active:not([data-disabled]) {
39
- opacity: .94;
40
- }
41
-
42
37
  @media (prefers-reduced-motion: no-preference) {
43
- .root-RR_712:active:not([data-disabled]):not([data-variant="link"]) {
44
- transform: translateY(1px) scale(.985);
38
+ .root-RR_712:active:not([data-variant="link"]) {
39
+ transform: translateY(1px);
45
40
  }
46
41
  }
47
42
 
@@ -1,19 +1,19 @@
1
1
  declare const Card: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
2
- size?: "sm" | "md" | "lg";
3
- variant?: "elevated" | "outline" | "subtle";
4
- } & import("react").RefAttributes<HTMLElement>> & {
2
+ size?: 'sm' | 'md' | 'lg';
3
+ variant?: 'elevated' | 'outline' | 'subtle';
4
+ } & import("react").RefAttributes<HTMLDivElement>> & {
5
5
  Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
6
- size?: "sm" | "md" | "lg";
7
- variant?: "elevated" | "outline" | "subtle";
8
- } & import("react").RefAttributes<HTMLElement>>;
9
- Header: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
10
- Body: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
11
- Media: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
12
- Background: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
13
- Footer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
14
- Title: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
15
- Description: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
16
- Action: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
17
- Link: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
6
+ size?: 'sm' | 'md' | 'lg';
7
+ variant?: 'elevated' | 'outline' | 'subtle';
8
+ } & import("react").RefAttributes<HTMLDivElement>>;
9
+ Header: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ Body: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
11
+ Media: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ Background: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ Footer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
14
+ Title: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLHeadingElement>>;
15
+ Description: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLParagraphElement>>;
16
+ Action: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
17
+ Link: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLAnchorElement>>;
18
18
  };
19
19
  export { Card };
@@ -2,7 +2,6 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { ark } from "@ark-ui/react/factory";
3
3
  import { clsx } from "clsx";
4
4
  import { forwardRef } from "react";
5
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
6
5
  import Card_module from "./Card.module.js";
7
6
  const Card_CardRoot = /*#__PURE__*/ forwardRef(function({ className, size = 'md', variant = 'outline', ...props }, ref) {
8
7
  return /*#__PURE__*/ jsx(ark.div, {
@@ -12,7 +11,7 @@ const Card_CardRoot = /*#__PURE__*/ forwardRef(function({ className, size = 'md'
12
11
  "data-slot": "card-root",
13
12
  "data-size": size,
14
13
  "data-variant": variant,
15
- className: clsx(Card_module.root, normalizeClassName(className)),
14
+ className: clsx(Card_module.root, className),
16
15
  ...props
17
16
  });
18
17
  });
@@ -22,7 +21,7 @@ const Card_CardHeader = /*#__PURE__*/ forwardRef(function({ className, ...props
22
21
  "data-scope": "card",
23
22
  "data-part": "header",
24
23
  "data-slot": "card-header",
25
- className: clsx(Card_module.header, normalizeClassName(className)),
24
+ className: clsx(Card_module.header, className),
26
25
  ...props
27
26
  });
28
27
  });
@@ -32,7 +31,7 @@ const Card_CardBody = /*#__PURE__*/ forwardRef(function({ className, ...props },
32
31
  "data-scope": "card",
33
32
  "data-part": "body",
34
33
  "data-slot": "card-body",
35
- className: clsx(Card_module.body, normalizeClassName(className)),
34
+ className: clsx(Card_module.body, className),
36
35
  ...props
37
36
  });
38
37
  });
@@ -42,7 +41,7 @@ const Card_CardMedia = /*#__PURE__*/ forwardRef(function({ className, ...props }
42
41
  "data-scope": "card",
43
42
  "data-part": "media",
44
43
  "data-slot": "card-media",
45
- className: clsx(Card_module.media, normalizeClassName(className)),
44
+ className: clsx(Card_module.media, className),
46
45
  ...props
47
46
  });
48
47
  });
@@ -52,7 +51,7 @@ const Card_CardBackground = /*#__PURE__*/ forwardRef(function({ className, ...pr
52
51
  "data-scope": "card",
53
52
  "data-part": "background",
54
53
  "data-slot": "card-background",
55
- className: clsx(Card_module.background, normalizeClassName(className)),
54
+ className: clsx(Card_module.background, className),
56
55
  ...props
57
56
  });
58
57
  });
@@ -62,7 +61,7 @@ const Card_CardFooter = /*#__PURE__*/ forwardRef(function({ className, ...props
62
61
  "data-scope": "card",
63
62
  "data-part": "footer",
64
63
  "data-slot": "card-footer",
65
- className: clsx(Card_module.footer, normalizeClassName(className)),
64
+ className: clsx(Card_module.footer, className),
66
65
  ...props
67
66
  });
68
67
  });
@@ -72,7 +71,7 @@ const Card_CardTitle = /*#__PURE__*/ forwardRef(function({ className, ...props }
72
71
  "data-scope": "card",
73
72
  "data-part": "title",
74
73
  "data-slot": "card-title",
75
- className: clsx(Card_module.title, normalizeClassName(className)),
74
+ className: clsx(Card_module.title, className),
76
75
  ...props
77
76
  });
78
77
  });
@@ -82,7 +81,7 @@ const Card_CardDescription = /*#__PURE__*/ forwardRef(function({ className, ...p
82
81
  "data-scope": "card",
83
82
  "data-part": "description",
84
83
  "data-slot": "card-description",
85
- className: clsx(Card_module.description, normalizeClassName(className)),
84
+ className: clsx(Card_module.description, className),
86
85
  ...props
87
86
  });
88
87
  });
@@ -92,7 +91,7 @@ const Card_CardAction = /*#__PURE__*/ forwardRef(function({ className, ...props
92
91
  "data-scope": "card",
93
92
  "data-part": "action",
94
93
  "data-slot": "card-action",
95
- className: clsx(Card_module.action, normalizeClassName(className)),
94
+ className: clsx(Card_module.action, className),
96
95
  ...props
97
96
  });
98
97
  });
@@ -102,7 +101,7 @@ const Card_CardLink = /*#__PURE__*/ forwardRef(function({ className, ...props },
102
101
  "data-scope": "card",
103
102
  "data-part": "link",
104
103
  "data-slot": "card-link",
105
- className: clsx(Card_module.link, normalizeClassName(className)),
104
+ className: clsx(Card_module.link, className),
106
105
  ...props
107
106
  });
108
107
  });
@@ -4,7 +4,6 @@
4
4
  --_card-section-spacing-default: var(--moduix-card-spacing, var(--moduix-card-body-padding-top, var(--moduix-spacing-4)));
5
5
  --_card-title-font-size-default: var(--moduix-card-title-font-size, var(--moduix-text-lg));
6
6
  --_card-title-line-height-default: var(--moduix-card-title-line-height, var(--moduix-line-height-text-lg));
7
- box-sizing: border-box;
8
7
  border: var(--moduix-card-border-width, var(--_card-border-width-default, var(--moduix-border-width-sm)))
9
8
  solid
10
9
  var(--moduix-card-border-color, var(--_card-border-color-default, var(--moduix-color-border)));
@@ -81,7 +80,6 @@
81
80
  }
82
81
 
83
82
  .header-F5Ms8N, .body-eUwDjL, .footer-QbUloO {
84
- box-sizing: border-box;
85
83
  min-width: 0;
86
84
  padding-inline: var(--_card-padding-default);
87
85
  }
@@ -101,16 +99,12 @@
101
99
  overflow: hidden;
102
100
  }
103
101
 
104
- .media-ARRUMe > :where(img, picture, video, canvas, svg, iframe) {
102
+ .media-ARRUMe > :where(img, picture, video, canvas, svg, iframe), .media-ARRUMe > picture > img {
105
103
  width: 100%;
106
104
  max-width: 100%;
107
105
  display: block;
108
106
  }
109
107
 
110
- .media-ARRUMe > picture > img {
111
- display: block;
112
- }
113
-
114
108
  .background-AxFCfZ {
115
109
  z-index: 0;
116
110
  border-radius: inherit;
@@ -144,14 +138,6 @@
144
138
  padding-block-start: var(--_card-padding-default);
145
139
  }
146
140
 
147
- .body-eUwDjL > :first-child {
148
- margin-block-start: 0;
149
- }
150
-
151
- .body-eUwDjL > :last-child {
152
- margin-bottom: 0;
153
- }
154
-
155
141
  .footer-QbUloO {
156
142
  align-items: center;
157
143
  gap: var(--moduix-card-footer-gap, var(--moduix-spacing-2));
@@ -168,7 +154,6 @@
168
154
  line-height: var(--_card-title-line-height-default);
169
155
  overflow-wrap: anywhere;
170
156
  grid-column: 1;
171
- margin: 0;
172
157
  }
173
158
 
174
159
  .description-sVGJRZ {
@@ -178,7 +163,6 @@
178
163
  line-height: var(--moduix-card-description-line-height, var(--moduix-line-height-text-sm));
179
164
  overflow-wrap: anywhere;
180
165
  grid-column: 1;
181
- margin: 0;
182
166
  }
183
167
 
184
168
  .action-LB386d {