@moduix/react 2.5.1 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -3
- package/THIRD_PARTY_NOTICES.md +49 -0
- package/dist/components/accordion/Accordion.js +20 -21
- package/dist/components/alert/Alert.js +18 -19
- package/dist/components/alert/Alert_module.css +3 -16
- package/dist/components/angle-slider/AngleSlider.d.ts +5 -11
- package/dist/components/angle-slider/AngleSlider.js +29 -71
- package/dist/components/aspect-ratio/AspectRatio.js +1 -2
- package/dist/components/aspect-ratio/AspectRatio_module.css +0 -13
- package/dist/components/avatar/Avatar.d.ts +3 -6
- package/dist/components/avatar/Avatar.js +14 -57
- package/dist/components/avatar/Avatar.module.js +1 -2
- package/dist/components/avatar/Avatar_module.css +0 -6
- package/dist/components/badge/Badge.d.ts +2 -2
- package/dist/components/badge/Badge.js +5 -10
- package/dist/components/badge/Badge_module.css +7 -14
- package/dist/components/bleed/Bleed.js +1 -2
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.js +16 -32
- package/dist/components/breadcrumbs/Breadcrumbs_module.css +12 -14
- package/dist/components/button/Button.d.ts +4 -4
- package/dist/components/button/Button.js +1 -2
- package/dist/components/button/Button_module.css +2 -8
- package/dist/components/card/Card.d.ts +15 -15
- package/dist/components/card/Card.js +30 -31
- package/dist/components/card/Card_module.css +2 -18
- package/dist/components/carousel/Carousel.d.ts +1 -1
- package/dist/components/carousel/Carousel.js +34 -35
- package/dist/components/carousel/Carousel_module.css +7 -0
- package/dist/components/chart/Chart.d.ts +9 -8
- package/dist/components/chart/Chart.js +21 -22
- package/dist/components/chart/Chart_module.css +0 -2
- package/dist/components/checkbox/Checkbox.d.ts +3 -2
- package/dist/components/checkbox/Checkbox.js +20 -43
- package/dist/components/clipboard/Clipboard.js +27 -27
- package/dist/components/close-button/CloseButton.js +1 -2
- package/dist/components/close-button/CloseButton_module.css +1 -10
- package/dist/components/collapsible/Collapsible.js +17 -20
- package/dist/components/collapsible/Collapsible_module.css +2 -4
- package/dist/components/color-picker/ColorPicker.d.ts +4 -3
- package/dist/components/color-picker/ColorPicker.js +79 -92
- package/dist/components/color-picker/ColorPicker_module.css +0 -1
- package/dist/components/combobox/Combobox.d.ts +5 -5
- package/dist/components/combobox/Combobox.js +51 -60
- package/dist/components/combobox/Combobox_module.css +0 -1
- package/dist/components/command-palette/CommandPalette.d.ts +7 -18
- package/dist/components/command-palette/CommandPalette.js +99 -126
- package/dist/components/command-palette/CommandPalette_module.css +11 -18
- package/dist/components/container/Container.js +1 -2
- package/dist/components/container/Container_module.css +1 -1
- package/dist/components/date-input/DateInput.d.ts +7 -9
- package/dist/components/date-input/DateInput.js +24 -54
- package/dist/components/date-input/DateInput_module.css +0 -1
- package/dist/components/date-picker/DatePicker.d.ts +1 -1
- package/dist/components/date-picker/DatePicker.js +84 -93
- package/dist/components/date-picker/DatePicker.module.js +1 -1
- package/dist/components/date-picker/DatePicker_module.css +5 -2
- package/dist/components/dialog/Dialog.d.ts +1 -1
- package/dist/components/dialog/Dialog.js +31 -32
- package/dist/components/drawer/Drawer.d.ts +6 -3
- package/dist/components/drawer/Drawer.js +63 -54
- package/dist/components/editable/Editable.d.ts +1 -1
- package/dist/components/editable/Editable.js +27 -28
- package/dist/components/empty/Empty.js +18 -19
- package/dist/components/field/Field.js +29 -30
- package/dist/components/fieldset/Fieldset.js +15 -16
- package/dist/components/file-upload/FileUpload.d.ts +3 -2
- package/dist/components/file-upload/FileUpload.js +52 -79
- package/dist/components/file-upload/FileUpload_module.css +4 -13
- package/dist/components/floating-panel/FloatingPanel.d.ts +3 -3
- package/dist/components/floating-panel/FloatingPanel.js +36 -37
- package/dist/components/floating-panel/FloatingPanel_module.css +4 -17
- package/dist/components/floating-panel/index.d.ts +1 -0
- package/dist/components/heading/Heading.js +1 -2
- package/dist/components/highlight/Highlight.js +1 -2
- package/dist/components/hover-card/HoverCard.d.ts +3 -2
- package/dist/components/hover-card/HoverCard.js +24 -15
- package/dist/components/hover-card/HoverCard.module.js +1 -0
- package/dist/components/hover-card/HoverCard_module.css +18 -3
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/image/Image.js +1 -2
- package/dist/components/image-cropper/ImageCropper.d.ts +1 -1
- package/dist/components/image-cropper/ImageCropper.js +21 -22
- package/dist/components/input/Input.d.ts +4 -4
- package/dist/components/input/Input.js +1 -2
- package/dist/components/input-group/InputGroup.d.ts +5 -5
- package/dist/components/input-group/InputGroup.js +5 -6
- package/dist/components/json-tree-view/JsonTreeView.js +3 -4
- package/dist/components/json-tree-view/JsonTreeView_module.css +26 -10
- package/dist/components/kbd/Kbd.js +6 -7
- package/dist/components/lightbox/Lightbox.d.ts +1 -1
- package/dist/components/lightbox/Lightbox.js +38 -39
- package/dist/components/lightbox/Lightbox_module.css +0 -2
- package/dist/components/list/List.js +2 -3
- package/dist/components/listbox/Listbox.d.ts +5 -5
- package/dist/components/listbox/Listbox.js +50 -56
- package/dist/components/listbox/Listbox.module.js +2 -2
- package/dist/components/listbox/Listbox_module.css +3 -13
- package/dist/components/marquee/Marquee.js +18 -19
- package/dist/components/menu/Menu.d.ts +2 -1
- package/dist/components/menu/Menu.js +72 -79
- package/dist/components/menu/Menu.module.js +1 -1
- package/dist/components/menu/Menu_module.css +8 -8
- package/dist/components/native-select/NativeSelect.js +2 -3
- package/dist/components/native-select/NativeSelect_module.css +0 -1
- package/dist/components/navigation-menu/NavigationMenu.js +39 -58
- package/dist/components/navigation-menu/NavigationMenu.module.js +2 -3
- package/dist/components/navigation-menu/NavigationMenu_module.css +15 -32
- package/dist/components/number-input/NumberInput.js +25 -26
- package/dist/components/pagination/Pagination.js +28 -31
- package/dist/components/pagination/Pagination_module.css +1 -5
- package/dist/components/password-input/PasswordInput.js +20 -21
- package/dist/components/pin-input/PinInput.d.ts +3 -2
- package/dist/components/pin-input/PinInput.js +20 -61
- package/dist/components/popover/Popover.d.ts +5 -3
- package/dist/components/popover/Popover.js +41 -42
- package/dist/components/progress-circular/ProgressCircular.js +24 -25
- package/dist/components/progress-circular/ProgressCircular.module.js +1 -3
- package/dist/components/progress-circular/ProgressCircular_module.css +0 -10
- package/dist/components/progress-linear/ProgressLinear.js +21 -22
- package/dist/components/progress-linear/ProgressLinear.module.js +1 -5
- package/dist/components/progress-linear/ProgressLinear_module.css +0 -20
- package/dist/components/qr-code/QrCode.js +18 -19
- package/dist/components/radio-group/RadioGroup.d.ts +1 -0
- package/dist/components/radio-group/RadioGroup.js +25 -39
- package/dist/components/radio-group/RadioGroup_module.css +0 -1
- package/dist/components/rating-group/RatingGroup.d.ts +1 -0
- package/dist/components/rating-group/RatingGroup.js +19 -36
- package/dist/components/rating-group/RatingGroup_module.css +1 -1
- package/dist/components/scroll-area/ScrollArea.js +7 -8
- package/dist/components/segment-group/SegmentGroup.d.ts +1 -0
- package/dist/components/segment-group/SegmentGroup.js +28 -42
- package/dist/components/segment-group/SegmentGroup_module.css +4 -0
- package/dist/components/select/Select.d.ts +4 -7
- package/dist/components/select/Select.js +69 -119
- package/dist/components/select/Select.module.js +1 -1
- package/dist/components/select/Select_module.css +4 -31
- package/dist/components/separator/Separator.d.ts +6 -6
- package/dist/components/separator/Separator.js +1 -2
- package/dist/components/sidebar/Sidebar.d.ts +16 -16
- package/dist/components/sidebar/Sidebar.js +81 -86
- package/dist/components/sidebar/Sidebar.module.js +2 -3
- package/dist/components/sidebar/Sidebar_module.css +62 -158
- package/dist/components/signature-pad/SignaturePad.d.ts +5 -8
- package/dist/components/signature-pad/SignaturePad.js +28 -57
- package/dist/components/signature-pad/SignaturePad_module.css +0 -1
- package/dist/components/simple-grid/SimpleGrid.js +13 -8
- package/dist/components/skeleton/Skeleton.d.ts +2 -2
- package/dist/components/skeleton/Skeleton.js +1 -2
- package/dist/components/slider/Slider.d.ts +2 -2
- package/dist/components/slider/Slider.js +38 -52
- package/dist/components/spinner/Spinner.d.ts +2 -2
- package/dist/components/spinner/Spinner.js +1 -2
- package/dist/components/split-button/SplitButton.d.ts +7 -7
- package/dist/components/split-button/SplitButton.js +25 -17
- package/dist/components/splitter/Splitter.js +14 -15
- package/dist/components/splitter/Splitter_module.css +2 -10
- package/dist/components/stack/Stack.d.ts +6 -6
- package/dist/components/stack/Stack.js +4 -5
- package/dist/components/stack/Stack_module.css +1 -1
- package/dist/components/steps/Steps.js +35 -36
- package/dist/components/steps/Steps_module.css +2 -3
- package/dist/components/swap/Swap.js +9 -10
- package/dist/components/switch/Switch.d.ts +3 -2
- package/dist/components/switch/Switch.js +17 -40
- package/dist/components/switch/Switch_module.css +0 -1
- package/dist/components/table/Table.d.ts +5 -5
- package/dist/components/table/Table.js +35 -36
- package/dist/components/tabs/Tabs.js +18 -19
- package/dist/components/tabs/Tabs_module.css +5 -10
- package/dist/components/tag/Tag.js +5 -6
- package/dist/components/tag/Tag_module.css +2 -4
- package/dist/components/tags-input/TagsInput.d.ts +3 -3
- package/dist/components/tags-input/TagsInput.js +37 -91
- package/dist/components/tags-input/TagsInput_module.css +0 -1
- package/dist/components/text/Text.js +1 -2
- package/dist/components/textarea/Textarea.js +1 -2
- package/dist/components/timer/Timer.js +21 -22
- package/dist/components/toast/Toast.d.ts +1 -1
- package/dist/components/toast/Toast.js +15 -16
- package/dist/components/toast/Toast_module.css +1 -2
- package/dist/components/toc/Toc.js +29 -30
- package/dist/components/toc/Toc_module.css +2 -2
- package/dist/components/toggle/Toggle.js +6 -7
- package/dist/components/toggle-group/ToggleGroup.d.ts +1 -1
- package/dist/components/toggle-group/ToggleGroup.js +3 -4
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.js +17 -18
- package/dist/components/tooltip/Tooltip_module.css +1 -1
- package/dist/components/tour/Tour.d.ts +1 -1
- package/dist/components/tour/Tour.js +39 -40
- package/dist/components/tree-view/TreeView.d.ts +4 -4
- package/dist/components/tree-view/TreeView.js +47 -48
- package/dist/components/tree-view/TreeView_module.css +39 -12
- package/dist/components/typeset/Typeset.js +2 -3
- package/dist/components/typeset/Typeset_module.css +300 -159
- package/dist/internal/icons/ui/Icons.d.ts +9 -30
- package/dist/internal/icons/ui/Icons.js +67 -807
- package/dist/internal/icons/ui/index.d.ts +1 -1
- package/dist/styles/animations.css +310 -0
- package/dist/styles/style.css +168 -2
- package/package.json +23 -23
- package/dist/internal/normalizeClassName.d.ts +0 -1
- package/dist/internal/normalizeClassName.js +0 -2
|
@@ -1,84 +1,41 @@
|
|
|
1
|
-
import { jsx
|
|
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
|
-
"data-slot": "avatar-root",
|
|
53
9
|
"data-size": size,
|
|
54
|
-
className: clsx(Avatar_module.root,
|
|
55
|
-
...props
|
|
10
|
+
className: clsx(Avatar_module.root, className),
|
|
11
|
+
...props,
|
|
12
|
+
"data-slot": "avatar-root"
|
|
56
13
|
});
|
|
57
14
|
});
|
|
58
15
|
const Avatar_AvatarRootProvider = /*#__PURE__*/ forwardRef(function({ className, size, ...props }, ref) {
|
|
59
16
|
return /*#__PURE__*/ jsx(Avatar.RootProvider, {
|
|
60
17
|
ref: ref,
|
|
61
|
-
"data-slot": "avatar-root-provider",
|
|
62
18
|
"data-size": size,
|
|
63
|
-
className: clsx(Avatar_module.root,
|
|
64
|
-
...props
|
|
19
|
+
className: clsx(Avatar_module.root, className),
|
|
20
|
+
...props,
|
|
21
|
+
"data-slot": "avatar-root-provider"
|
|
65
22
|
});
|
|
66
23
|
});
|
|
67
24
|
const Avatar_AvatarImage = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
68
25
|
return /*#__PURE__*/ jsx(Avatar.Image, {
|
|
69
26
|
ref: ref,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
27
|
+
className: clsx(Avatar_module.image, className),
|
|
28
|
+
...props,
|
|
29
|
+
"data-slot": "avatar-image"
|
|
73
30
|
});
|
|
74
31
|
});
|
|
75
|
-
const Avatar_AvatarFallback = /*#__PURE__*/ forwardRef(function({ children, className,
|
|
32
|
+
const Avatar_AvatarFallback = /*#__PURE__*/ forwardRef(function({ children, className, ...props }, ref) {
|
|
76
33
|
return /*#__PURE__*/ jsx(Avatar.Fallback, {
|
|
77
34
|
ref: ref,
|
|
78
|
-
|
|
79
|
-
className: clsx(Avatar_module.fallback, normalizeClassName(className)),
|
|
35
|
+
className: clsx(Avatar_module.fallback, className),
|
|
80
36
|
...props,
|
|
81
|
-
|
|
37
|
+
"data-slot": "avatar-fallback",
|
|
38
|
+
children: children
|
|
82
39
|
});
|
|
83
40
|
});
|
|
84
41
|
const Avatar_Avatar = Object.assign(Avatar_AvatarRoot, {
|
|
@@ -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?:
|
|
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?:
|
|
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 {
|
|
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,
|
|
13
|
+
className: clsx(Badge_module.label, className)
|
|
15
14
|
});
|
|
16
15
|
});
|
|
17
|
-
const Badge_BadgeRoot = /*#__PURE__*/ forwardRef(function({
|
|
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,
|
|
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,
|
|
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:
|
|
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
|
-
|
|
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
|
|
41
|
+
.root-qRQEjV:is(a) {
|
|
44
42
|
cursor: pointer;
|
|
45
43
|
}
|
|
46
44
|
|
|
47
|
-
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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">, "
|
|
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
|
-
|
|
16
|
-
|
|
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
|
-
|
|
23
|
-
"data-part": "list",
|
|
19
|
+
...props,
|
|
24
20
|
"data-slot": "breadcrumbs-list",
|
|
25
|
-
className: clsx(Breadcrumbs_module.list,
|
|
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
|
-
|
|
33
|
-
"data-part": "item",
|
|
27
|
+
...props,
|
|
34
28
|
"data-slot": "breadcrumbs-item",
|
|
35
|
-
className: clsx(Breadcrumbs_module.item,
|
|
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
|
-
|
|
43
|
-
"data-part": "link",
|
|
35
|
+
...props,
|
|
44
36
|
"data-slot": "breadcrumbs-link",
|
|
45
|
-
className: clsx(Breadcrumbs_module.link,
|
|
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
|
-
|
|
53
|
-
"data-part": "page",
|
|
43
|
+
...props,
|
|
54
44
|
"data-slot": "breadcrumbs-page",
|
|
55
45
|
"aria-current": "page",
|
|
56
|
-
className: clsx(Breadcrumbs_module.page,
|
|
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,
|
|
73
|
+
const Breadcrumbs_BreadcrumbsSeparator = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
|
|
85
74
|
return /*#__PURE__*/ jsx(ark.li, {
|
|
86
75
|
ref: ref,
|
|
87
|
-
|
|
88
|
-
"data-part": "separator",
|
|
76
|
+
...props,
|
|
89
77
|
"data-slot": "breadcrumbs-separator",
|
|
90
78
|
"aria-hidden": "true",
|
|
91
|
-
|
|
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
|
-
|
|
103
|
-
"data-part": "ellipsis",
|
|
88
|
+
...props,
|
|
104
89
|
"data-slot": "breadcrumbs-ellipsis",
|
|
105
90
|
"aria-hidden": "true",
|
|
106
|
-
className: clsx(Breadcrumbs_module.ellipsis,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
39
|
+
.link-xaIY1W, .page-IrZ65J, .ellipsis-BQEu94 {
|
|
41
40
|
text-overflow: ellipsis;
|
|
42
41
|
overflow: hidden;
|
|
43
42
|
}
|
|
44
43
|
|
|
45
|
-
.link-xaIY1W
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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?:
|
|
4
|
-
size?:
|
|
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?:
|
|
12
|
-
size?:
|
|
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,
|
|
42
|
+
className: clsx(Button_module.root, className)
|
|
44
43
|
});
|
|
45
44
|
});
|
|
46
45
|
const Button = Object.assign(Button_ButtonRoot, {
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
gap: var(--moduix-button-content-gap, var(--moduix-spacing-2));
|
|
7
7
|
border: var(--moduix-button-border-width, var(--moduix-border-width-sm)) solid transparent;
|
|
8
8
|
border-radius: var(--moduix-button-radius, var(--moduix-radius-md));
|
|
9
|
-
color: var(--moduix-button-color, var(--moduix-color-foreground));
|
|
10
9
|
appearance: none;
|
|
11
10
|
font: inherit;
|
|
12
11
|
font-size: var(--moduix-button-font-size, var(--moduix-text-sm));
|
|
@@ -20,7 +19,6 @@
|
|
|
20
19
|
border-color var(--moduix-button-transition, var(--moduix-transition-default)),
|
|
21
20
|
color var(--moduix-button-transition, var(--moduix-transition-default)),
|
|
22
21
|
opacity var(--moduix-button-transition, var(--moduix-transition-default)),
|
|
23
|
-
box-shadow var(--moduix-button-transition, var(--moduix-transition-default)),
|
|
24
22
|
transform var(--moduix-button-transition, var(--moduix-transition-default));
|
|
25
23
|
background-color: #0000;
|
|
26
24
|
margin: 0;
|
|
@@ -35,13 +33,9 @@
|
|
|
35
33
|
-1);
|
|
36
34
|
}
|
|
37
35
|
|
|
38
|
-
.root-RR_712:active:not([data-disabled]) {
|
|
39
|
-
opacity: .94;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
36
|
@media (prefers-reduced-motion: no-preference) {
|
|
43
|
-
.root-RR_712:active:not([data-
|
|
44
|
-
transform: translateY(1px)
|
|
37
|
+
.root-RR_712:active:not([data-variant="link"]) {
|
|
38
|
+
transform: translateY(1px);
|
|
45
39
|
}
|
|
46
40
|
}
|
|
47
41
|
|
|
@@ -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?:
|
|
3
|
-
variant?:
|
|
4
|
-
} & import("react").RefAttributes<
|
|
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?:
|
|
7
|
-
variant?:
|
|
8
|
-
} & import("react").RefAttributes<
|
|
9
|
-
Header: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
10
|
-
Body: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
11
|
-
Media: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
12
|
-
Background: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
13
|
-
Footer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
14
|
-
Title: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
15
|
-
Description: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
16
|
-
Action: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
17
|
-
Link: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<
|
|
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 };
|