@moduix/react 2.5.0 → 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 +65 -86
  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 +10 -3
  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 +14 -4
  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 -3
  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 +24 -22
  137. package/dist/components/sidebar/Sidebar.js +88 -75
  138. package/dist/components/sidebar/Sidebar.module.js +2 -3
  139. package/dist/components/sidebar/Sidebar_module.css +112 -178
  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 +25 -25
  199. package/dist/internal/normalizeClassName.d.ts +0 -1
  200. package/dist/internal/normalizeClassName.js +0 -2
@@ -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 AspectRatio_module from "./AspectRatio.module.js";
7
6
  const AspectRatio_AspectRatioRoot = /*#__PURE__*/ forwardRef(function({ ratio, className, style, ...props }, ref) {
8
7
  if (!Number.isFinite(ratio) || ratio <= 0) throw new RangeError('AspectRatio `ratio` must be a finite number greater than zero.');
@@ -12,7 +11,7 @@ const AspectRatio_AspectRatioRoot = /*#__PURE__*/ forwardRef(function({ ratio, c
12
11
  "data-scope": "aspect-ratio",
13
12
  "data-part": "root",
14
13
  "data-slot": "aspect-ratio-root",
15
- className: clsx(AspectRatio_module.root, normalizeClassName(className)),
14
+ className: clsx(AspectRatio_module.root, className),
16
15
  style: {
17
16
  ...style,
18
17
  '--_aspect-ratio-value': ratio
@@ -4,21 +4,8 @@
4
4
  box-sizing: border-box;
5
5
  width: 100%;
6
6
  aspect-ratio: var(--_aspect-ratio-value);
7
- border-radius: var(--moduix-aspect-ratio-radius, var(--moduix-radius-md));
8
7
  display: block;
9
8
  position: relative;
10
- overflow: hidden;
11
- }
12
-
13
- .root-_8OMdK > :where(img, video, iframe, canvas, svg) {
14
- box-sizing: border-box;
15
- width: 100%;
16
- height: 100%;
17
- display: block;
18
- }
19
-
20
- .root-_8OMdK > iframe {
21
- border: 0;
22
9
  }
23
10
  }
24
11
 
@@ -1,5 +1,5 @@
1
1
  import { Avatar as AvatarPrimitive, useAvatar, useAvatarContext } from '@ark-ui/react/avatar';
2
- import { type ComponentProps, type ReactNode } from 'react';
2
+ import { type ComponentProps } from 'react';
3
3
  type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
4
  type AvatarRootProps = ComponentProps<typeof AvatarPrimitive.Root> & {
5
5
  size?: AvatarSize;
@@ -7,14 +7,11 @@ type AvatarRootProps = ComponentProps<typeof AvatarPrimitive.Root> & {
7
7
  type AvatarRootProviderProps = ComponentProps<typeof AvatarPrimitive.RootProvider> & {
8
8
  size?: AvatarSize;
9
9
  };
10
- type AvatarFallbackProps = ComponentProps<typeof AvatarPrimitive.Fallback> & {
11
- name?: string;
12
- };
13
10
  declare const Avatar: import("react").ForwardRefExoticComponent<Omit<AvatarRootProps, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
14
11
  Root: import("react").ForwardRefExoticComponent<Omit<AvatarRootProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
15
12
  RootProvider: import("react").ForwardRefExoticComponent<Omit<AvatarRootProviderProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
16
- Context: (props: AvatarPrimitive.ContextProps) => ReactNode;
13
+ Context: (props: AvatarPrimitive.ContextProps) => import("react").ReactNode;
17
14
  Image: import("react").ForwardRefExoticComponent<Omit<AvatarPrimitive.ImageProps & import("react").RefAttributes<HTMLImageElement>, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
18
- Fallback: import("react").ForwardRefExoticComponent<Omit<AvatarFallbackProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
15
+ Fallback: import("react").ForwardRefExoticComponent<Omit<AvatarPrimitive.FallbackProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
19
16
  };
20
17
  export { Avatar, useAvatar, useAvatarContext };
@@ -1,57 +1,14 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsx } from "react/jsx-runtime";
2
2
  import { Avatar, useAvatar, useAvatarContext } from "@ark-ui/react/avatar";
3
3
  import { clsx } from "clsx";
4
4
  import { forwardRef } from "react";
5
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
6
5
  import Avatar_module from "./Avatar.module.js";
7
- const graphemeSegmenter = new Intl.Segmenter(void 0, {
8
- granularity: 'grapheme'
9
- });
10
- const getFirstGrapheme = (value)=>{
11
- const [firstGrapheme] = graphemeSegmenter.segment(value);
12
- return firstGrapheme?.segment ?? '';
13
- };
14
- const getInitials = (name)=>{
15
- const parts = name.trim().split(/\s+/).filter(Boolean);
16
- const firstName = parts[0] ?? '';
17
- const lastName = parts.length > 1 ? parts[parts.length - 1] : '';
18
- return firstName && lastName ? `${getFirstGrapheme(firstName)}${getFirstGrapheme(lastName)}` : getFirstGrapheme(firstName);
19
- };
20
- function AvatarFallbackIcon() {
21
- return /*#__PURE__*/ jsxs("svg", {
22
- "aria-hidden": "true",
23
- focusable: "false",
24
- "data-slot": "avatar-fallback-icon",
25
- className: Avatar_module.fallbackIcon,
26
- viewBox: "0 0 24 24",
27
- fill: "none",
28
- stroke: "currentColor",
29
- strokeWidth: "2",
30
- strokeLinecap: "round",
31
- strokeLinejoin: "round",
32
- children: [
33
- /*#__PURE__*/ jsx("circle", {
34
- cx: "12",
35
- cy: "8",
36
- r: "5"
37
- }),
38
- /*#__PURE__*/ jsx("path", {
39
- d: "M20 21a8 8 0 0 0-16 0"
40
- })
41
- ]
42
- });
43
- }
44
- const getFallbackContent = (children, name)=>{
45
- if (null != children) return children;
46
- const initials = name ? getInitials(name) : '';
47
- return initials || /*#__PURE__*/ jsx(AvatarFallbackIcon, {});
48
- };
49
6
  const Avatar_AvatarRoot = /*#__PURE__*/ forwardRef(function({ className, size, ...props }, ref) {
50
7
  return /*#__PURE__*/ jsx(Avatar.Root, {
51
8
  ref: ref,
52
9
  "data-slot": "avatar-root",
53
10
  "data-size": size,
54
- className: clsx(Avatar_module.root, normalizeClassName(className)),
11
+ className: clsx(Avatar_module.root, className),
55
12
  ...props
56
13
  });
57
14
  });
@@ -60,7 +17,7 @@ const Avatar_AvatarRootProvider = /*#__PURE__*/ forwardRef(function({ className,
60
17
  ref: ref,
61
18
  "data-slot": "avatar-root-provider",
62
19
  "data-size": size,
63
- className: clsx(Avatar_module.root, normalizeClassName(className)),
20
+ className: clsx(Avatar_module.root, className),
64
21
  ...props
65
22
  });
66
23
  });
@@ -68,17 +25,17 @@ const Avatar_AvatarImage = /*#__PURE__*/ forwardRef(function({ className, ...pro
68
25
  return /*#__PURE__*/ jsx(Avatar.Image, {
69
26
  ref: ref,
70
27
  "data-slot": "avatar-image",
71
- className: clsx(Avatar_module.image, normalizeClassName(className)),
28
+ className: clsx(Avatar_module.image, className),
72
29
  ...props
73
30
  });
74
31
  });
75
- const Avatar_AvatarFallback = /*#__PURE__*/ forwardRef(function({ children, className, name, ...props }, ref) {
32
+ const Avatar_AvatarFallback = /*#__PURE__*/ forwardRef(function({ children, className, ...props }, ref) {
76
33
  return /*#__PURE__*/ jsx(Avatar.Fallback, {
77
34
  ref: ref,
78
35
  "data-slot": "avatar-fallback",
79
- className: clsx(Avatar_module.fallback, normalizeClassName(className)),
36
+ className: clsx(Avatar_module.fallback, className),
80
37
  ...props,
81
- children: getFallbackContent(children, name)
38
+ children: children
82
39
  });
83
40
  });
84
41
  const Avatar_Avatar = Object.assign(Avatar_AvatarRoot, {
@@ -2,7 +2,6 @@ import "./Avatar_module.css";
2
2
  const Avatar_module = {
3
3
  root: "root-qlUdBE",
4
4
  image: "image-eMihfZ",
5
- fallback: "fallback-UO951k",
6
- fallbackIcon: "fallbackIcon-OJh0sm"
5
+ fallback: "fallback-UO951k"
7
6
  };
8
7
  export default Avatar_module;
@@ -74,11 +74,5 @@
74
74
  .fallback-UO951k[data-state="hidden"] {
75
75
  display: none;
76
76
  }
77
-
78
- .fallbackIcon-OJh0sm {
79
- width: var(--moduix-avatar-fallback-icon-size, 55%);
80
- height: var(--moduix-avatar-fallback-icon-size, 55%);
81
- flex-shrink: 0;
82
- }
83
77
  }
84
78
 
@@ -1,8 +1,8 @@
1
1
  declare const Badge: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
2
- variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
2
+ variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link';
3
3
  } & import("react").RefAttributes<HTMLSpanElement>> & {
4
4
  Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
5
- variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
5
+ variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link';
6
6
  } & import("react").RefAttributes<HTMLSpanElement>>;
7
7
  Label: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
8
8
  Dot: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
@@ -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