doom-design-system 0.3.3 → 0.4.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 +10 -6
- package/dist/components/Avatar/Avatar.js +2 -1
- package/dist/components/Badge/Badge.d.ts +5 -3
- package/dist/components/Badge/Badge.js +5 -5
- package/dist/components/Badge/Badge.module.css +20 -2
- package/dist/components/Button/Button.d.ts +3 -3
- package/dist/components/Button/Button.js +6 -6
- package/dist/components/Button/Button.module.css +30 -6
- package/dist/components/Drawer/Drawer.js +1 -1
- package/dist/components/Drawer/Drawer.module.css +0 -22
- package/dist/components/FileUpload/FileUpload.d.ts +32 -0
- package/dist/components/FileUpload/FileUpload.js +237 -0
- package/dist/components/FileUpload/FileUpload.module.css +330 -0
- package/dist/components/FileUpload/index.d.ts +2 -0
- package/dist/components/FileUpload/index.js +1 -0
- package/dist/components/Image/Image.d.ts +8 -0
- package/dist/components/Image/Image.js +60 -0
- package/dist/components/Image/Image.module.css +36 -0
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/Image/index.js +1 -0
- package/dist/components/Layout/Layout.d.ts +12 -8
- package/dist/components/Layout/Layout.js +13 -11
- package/dist/components/Layout/Layout.module.css +29 -0
- package/dist/components/Link/Link.d.ts +6 -3
- package/dist/components/Link/Link.js +27 -6
- package/dist/components/Link/Link.module.css +22 -6
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/Modal.module.css +0 -36
- package/dist/components/Sheet/Sheet.js +1 -1
- package/dist/components/Sheet/Sheet.module.css +0 -22
- package/dist/components/Slat/Slat.d.ts +14 -0
- package/dist/components/Slat/Slat.js +27 -0
- package/dist/components/Slat/Slat.module.css +101 -0
- package/dist/components/Slat/index.d.ts +2 -0
- package/dist/components/Slat/index.js +1 -0
- package/dist/index.d.ts +41 -38
- package/dist/index.js +41 -38
- package/dist/styles/globals.css +238 -0
- package/dist/styles/themes/definitions.d.ts +3 -3
- package/dist/styles/themes/definitions.js +3 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ const ModalContext = React.createContext({
|
|
|
25
25
|
});
|
|
26
26
|
export function ModalHeader({ children, className, id }) {
|
|
27
27
|
const { onClose, titleId } = React.useContext(ModalContext);
|
|
28
|
-
return (_jsxs(Flex, { align: "center", justify: "space-between", className: clsx(styles.header, className), children: [_jsx("div", { id: id || titleId, className: styles.headerContent, children: children }), _jsx(Button, { variant: "
|
|
28
|
+
return (_jsxs(Flex, { align: "center", justify: "space-between", className: clsx(styles.header, className), children: [_jsx("div", { id: id || titleId, className: styles.headerContent, children: children }), _jsx(Button, { variant: "danger", size: "sm", onClick: onClose, "aria-label": "Close modal", className: styles.closeButton, children: _jsx(X, { size: 20, strokeWidth: 2.5 }) })] }));
|
|
29
29
|
}
|
|
30
30
|
export function ModalBody({ children, className, }) {
|
|
31
31
|
return _jsx("div", { className: clsx(styles.body, className), children: children });
|
|
@@ -69,14 +69,6 @@
|
|
|
69
69
|
border-color: var(--border-strong) !important;
|
|
70
70
|
box-shadow: var(--shadow-hard) !important;
|
|
71
71
|
}
|
|
72
|
-
.modalCard.solid .closeButton:hover {
|
|
73
|
-
transform: translate(-2px, -2px);
|
|
74
|
-
box-shadow: var(--shadow-hover) !important;
|
|
75
|
-
}
|
|
76
|
-
.modalCard.solid .closeButton:active {
|
|
77
|
-
transform: translate(2px, 2px);
|
|
78
|
-
box-shadow: none !important;
|
|
79
|
-
}
|
|
80
72
|
|
|
81
73
|
.header {
|
|
82
74
|
padding: var(--spacing-lg);
|
|
@@ -93,34 +85,6 @@
|
|
|
93
85
|
max-width: 85%;
|
|
94
86
|
}
|
|
95
87
|
|
|
96
|
-
.closeButton {
|
|
97
|
-
flex-shrink: 0;
|
|
98
|
-
background-color: var(--error) !important;
|
|
99
|
-
color: var(--error-foreground) !important;
|
|
100
|
-
border: var(--border-width) solid var(--card-border) !important;
|
|
101
|
-
border-radius: var(--radius) !important;
|
|
102
|
-
height: 36px !important;
|
|
103
|
-
width: 36px !important;
|
|
104
|
-
min-width: 36px !important;
|
|
105
|
-
display: flex !important;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
padding: 0 !important;
|
|
109
|
-
/* Use standardized shadow-error mixed with black for depth */
|
|
110
|
-
box-shadow: var(--shadow-hard) !important;
|
|
111
|
-
transition: all 0.2s ease;
|
|
112
|
-
cursor: pointer;
|
|
113
|
-
}
|
|
114
|
-
.closeButton:hover {
|
|
115
|
-
filter: brightness(1.1);
|
|
116
|
-
transform: translate(-2px, -2px);
|
|
117
|
-
box-shadow: var(--shadow-hover) !important;
|
|
118
|
-
}
|
|
119
|
-
.closeButton:active {
|
|
120
|
-
transform: translate(2px, 2px);
|
|
121
|
-
box-shadow: none !important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
88
|
.modalContent {
|
|
125
89
|
background-color: var(--card-bg);
|
|
126
90
|
padding-top: 1px;
|
|
@@ -34,5 +34,5 @@ export function Sheet({ isOpen, onClose, title, children, footer, variant = "def
|
|
|
34
34
|
}, [isOpen, onClose]);
|
|
35
35
|
if (!mounted)
|
|
36
36
|
return null;
|
|
37
|
-
return createPortal(_jsxs(_Fragment, { children: [_jsx("div", { className: clsx(styles.overlay, isOpen && styles.isOpen), onClick: onClose, "aria-hidden": "true" }), _jsxs("div", { className: clsx(styles.panel, styles[variant], isOpen && styles.isOpen, className), role: "dialog", "aria-modal": "true", "aria-labelledby": title ? titleId : undefined, "aria-label": !title ? "Sheet" : undefined, children: [_jsxs("div", { className: styles.header, children: [_jsx("div", { className: styles.handleBar }), _jsxs(Flex, { align: "center", justify: "space-between", className: styles.headerBody, children: [title && (_jsx("h2", { id: titleId, className: styles.title, children: title })), _jsx(Button, { variant: "
|
|
37
|
+
return createPortal(_jsxs(_Fragment, { children: [_jsx("div", { className: clsx(styles.overlay, isOpen && styles.isOpen), onClick: onClose, "aria-hidden": "true" }), _jsxs("div", { className: clsx(styles.panel, styles[variant], isOpen && styles.isOpen, className), role: "dialog", "aria-modal": "true", "aria-labelledby": title ? titleId : undefined, "aria-label": !title ? "Sheet" : undefined, children: [_jsxs("div", { className: styles.header, children: [_jsx("div", { className: styles.handleBar }), _jsxs(Flex, { align: "center", justify: "space-between", className: styles.headerBody, children: [title && (_jsx("h2", { id: titleId, className: styles.title, children: title })), _jsx(Button, { variant: "danger", size: "sm", onClick: onClose, "aria-label": "Close sheet", children: _jsx(X, { size: 24 }) })] })] }), _jsx("div", { className: styles.content, children: children }), footer && _jsx("div", { className: styles.footer, children: footer })] })] }), document.body);
|
|
38
38
|
}
|
|
@@ -62,11 +62,6 @@
|
|
|
62
62
|
background-color: transparent !important;
|
|
63
63
|
color: var(--solid-fg);
|
|
64
64
|
}
|
|
65
|
-
.panel.solid .header button {
|
|
66
|
-
background-color: var(--error) !important;
|
|
67
|
-
color: var(--error-foreground) !important;
|
|
68
|
-
border-color: var(--border-strong) !important;
|
|
69
|
-
}
|
|
70
65
|
.panel.solid .handleBar {
|
|
71
66
|
background-color: var(--solid-fg);
|
|
72
67
|
opacity: 0.8;
|
|
@@ -103,23 +98,6 @@
|
|
|
103
98
|
display: flex;
|
|
104
99
|
justify-content: space-between;
|
|
105
100
|
align-items: center;
|
|
106
|
-
/* Match Modal/Drawer's Close Button Styling */
|
|
107
|
-
}
|
|
108
|
-
.headerBody button {
|
|
109
|
-
background-color: var(--error) !important;
|
|
110
|
-
color: var(--error-foreground) !important;
|
|
111
|
-
border: var(--border-width) solid var(--border-strong) !important;
|
|
112
|
-
box-shadow: var(--shadow-sm) !important;
|
|
113
|
-
}
|
|
114
|
-
.headerBody button:hover {
|
|
115
|
-
background-color: var(--error) !important;
|
|
116
|
-
filter: brightness(1.1);
|
|
117
|
-
transform: translate(-2px, -2px);
|
|
118
|
-
box-shadow: var(--shadow-sm-hover) !important;
|
|
119
|
-
}
|
|
120
|
-
.headerBody button:active {
|
|
121
|
-
transform: translate(2px, 2px);
|
|
122
|
-
box-shadow: var(--shadow-sm-checked) !important;
|
|
123
101
|
}
|
|
124
102
|
|
|
125
103
|
.title {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface SlatProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** Main label (e.g. filename) */
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
/** Secondary label (e.g. filesize) */
|
|
6
|
+
secondaryLabel?: React.ReactNode;
|
|
7
|
+
/** Icon/Graphics to display on the left */
|
|
8
|
+
prependContent?: React.ReactNode;
|
|
9
|
+
/** Content to display on the right (actions) */
|
|
10
|
+
appendContent?: React.ReactNode;
|
|
11
|
+
/** Variant of the slat */
|
|
12
|
+
variant?: "default" | "danger" | "success";
|
|
13
|
+
}
|
|
14
|
+
export declare const Slat: React.ForwardRefExoticComponent<SlatProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import React from "react";
|
|
14
|
+
import styles from "./Slat.module.css";
|
|
15
|
+
import { Text } from "../Text/Text.js";
|
|
16
|
+
import { Stack, Flex } from "../Layout/Layout.js";
|
|
17
|
+
import clsx from "clsx";
|
|
18
|
+
export const Slat = React.forwardRef((_a, ref) => {
|
|
19
|
+
var { label, secondaryLabel, prependContent, appendContent, variant = "default", className, onClick } = _a, props = __rest(_a, ["label", "secondaryLabel", "prependContent", "appendContent", "variant", "className", "onClick"]);
|
|
20
|
+
return (_jsx("div", Object.assign({ ref: ref, role: onClick ? "button" : undefined, tabIndex: onClick ? 0 : undefined, className: clsx(styles.slat, styles[variant], { [styles.hoverable]: onClick }, className), onClick: onClick, onKeyDown: (e) => {
|
|
21
|
+
if (onClick && (e.key === "Enter" || e.key === " ")) {
|
|
22
|
+
e.preventDefault();
|
|
23
|
+
onClick(e);
|
|
24
|
+
}
|
|
25
|
+
} }, props, { children: _jsxs(Flex, { justify: "space-between", align: "center", gap: "var(--spacing-sm)", children: [_jsxs(Flex, { gap: "var(--spacing-sm)", align: "center", style: { flex: 1, minWidth: 0 }, children: [prependContent && (_jsx("div", { className: styles.prepend, children: prependContent })), _jsxs(Stack, { gap: 0, style: { flex: 1, minWidth: 0 }, children: [_jsx(Text, { className: styles.label, children: label }), secondaryLabel && (_jsx(Text, { variant: "small", className: styles.secondaryLabel, children: secondaryLabel }))] })] }), _jsx(Flex, { align: "center", gap: "var(--spacing-sm)", children: appendContent && (_jsx("div", { className: styles.append, children: appendContent })) })] }) })));
|
|
26
|
+
});
|
|
27
|
+
Slat.displayName = "Slat";
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
.slat {
|
|
2
|
+
background-color: var(--card-bg);
|
|
3
|
+
border: var(--border-width) solid var(--border-strong);
|
|
4
|
+
border-radius: var(--radius);
|
|
5
|
+
padding: var(--spacing-sm) var(--spacing-md);
|
|
6
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
7
|
+
user-select: none;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
@media (max-width: 640px) {
|
|
11
|
+
.slat {
|
|
12
|
+
padding: var(--spacing-sm);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (max-width: 360px) {
|
|
16
|
+
.slat {
|
|
17
|
+
padding: var(--spacing-sm) var(--spacing-md);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.slat.danger {
|
|
21
|
+
background-color: var(--error);
|
|
22
|
+
color: var(--error-foreground);
|
|
23
|
+
border-color: var(--border-strong);
|
|
24
|
+
}
|
|
25
|
+
.slat.danger > * {
|
|
26
|
+
--primary: var(--primary-foreground);
|
|
27
|
+
--primary-foreground: var(--primary);
|
|
28
|
+
--foreground: var(--primary-foreground);
|
|
29
|
+
--muted-foreground: var(--primary-foreground);
|
|
30
|
+
}
|
|
31
|
+
.slat.success {
|
|
32
|
+
background-color: var(--success);
|
|
33
|
+
color: var(--success-foreground);
|
|
34
|
+
border-color: var(--border-strong);
|
|
35
|
+
}
|
|
36
|
+
.slat.success > * {
|
|
37
|
+
--primary: var(--primary-foreground);
|
|
38
|
+
--primary-foreground: var(--primary);
|
|
39
|
+
--foreground: var(--primary-foreground);
|
|
40
|
+
--muted-foreground: var(--primary-foreground);
|
|
41
|
+
}
|
|
42
|
+
.slat.hoverable {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
.slat.hoverable:hover {
|
|
46
|
+
background-color: var(--surface-accent);
|
|
47
|
+
color: var(--foreground);
|
|
48
|
+
transform: translate(-2px, -2px);
|
|
49
|
+
box-shadow: 4px 4px 0px 0px var(--border-strong);
|
|
50
|
+
}
|
|
51
|
+
.slat.hoverable:active {
|
|
52
|
+
transform: translate(0, 0);
|
|
53
|
+
box-shadow: none;
|
|
54
|
+
}
|
|
55
|
+
.slat.hoverable.danger:hover {
|
|
56
|
+
background-color: var(--error);
|
|
57
|
+
filter: brightness(1.1);
|
|
58
|
+
}
|
|
59
|
+
.slat.hoverable.success:hover {
|
|
60
|
+
background-color: var(--success);
|
|
61
|
+
filter: brightness(1.1);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.label {
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
font-family: var(--font-mono);
|
|
67
|
+
font-size: var(--text-sm);
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
color: inherit;
|
|
72
|
+
}
|
|
73
|
+
@media (max-width: 640px) {
|
|
74
|
+
.label {
|
|
75
|
+
white-space: normal;
|
|
76
|
+
word-break: break-all;
|
|
77
|
+
display: -webkit-box;
|
|
78
|
+
-webkit-line-clamp: 1;
|
|
79
|
+
-webkit-box-orient: vertical;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
@media (max-width: 360px) {
|
|
83
|
+
.label {
|
|
84
|
+
-webkit-line-clamp: 2;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.secondaryLabel {
|
|
89
|
+
color: inherit;
|
|
90
|
+
opacity: 0.8;
|
|
91
|
+
font-size: 10px;
|
|
92
|
+
font-family: var(--font-mono);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.prepend,
|
|
96
|
+
.append {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
flex-shrink: 0;
|
|
101
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Slat } from "./Slat.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
1
|
+
export * from "./components/Badge";
|
|
2
|
+
export * from "./components/Button";
|
|
3
|
+
export * from "./components/Card";
|
|
4
|
+
export * from "./components/Dropdown";
|
|
5
|
+
export * from "./components/Form";
|
|
6
|
+
export * from "./components/Input";
|
|
7
|
+
export * from "./components/Image";
|
|
8
|
+
export * from "./components/Layout";
|
|
9
|
+
export * from "./components/Link";
|
|
10
|
+
export * from "./components/Modal";
|
|
11
|
+
export * from "./components/Page";
|
|
12
|
+
export * from "./components/Popover";
|
|
13
|
+
export * from "./components/ProgressBar";
|
|
14
|
+
export * from "./components/Select";
|
|
15
|
+
export * from "./components/SplitButton";
|
|
16
|
+
export * from "./components/Table";
|
|
17
|
+
export * from "./components/Tabs";
|
|
18
|
+
export * from "./components/Text";
|
|
19
|
+
export * from "./components/Textarea";
|
|
20
|
+
export * from "./components/Toast";
|
|
21
|
+
export * from "./components/ActionRow";
|
|
22
|
+
export * from "./components/Skeleton";
|
|
23
|
+
export * from "./components/Switch";
|
|
24
|
+
export * from "./components/Alert";
|
|
25
|
+
export * from "./components/Tooltip";
|
|
26
|
+
export * from "./components/Avatar";
|
|
27
|
+
export * from "./components/Label";
|
|
28
|
+
export * from "./components/Accordion";
|
|
29
|
+
export * from "./components/Breadcrumbs";
|
|
30
|
+
export * from "./components/Pagination";
|
|
31
|
+
export * from "./components/RadioGroup";
|
|
32
|
+
export * from "./components/Slider";
|
|
33
|
+
export * from "./components/Drawer";
|
|
34
|
+
export * from "./components/Sheet";
|
|
35
|
+
export * from "./DesignSystemProvider";
|
|
36
|
+
export * from "./components/Icon";
|
|
37
|
+
export * from "./components/Checkbox";
|
|
38
|
+
export * from "./components/FileUpload";
|
|
39
|
+
export * from "./components/Slat";
|
|
40
|
+
export * from "./components/Spinner";
|
|
41
|
+
export * from "./styles/themes";
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
1
|
+
export * from "./components/Badge/index.js";
|
|
2
|
+
export * from "./components/Button/index.js";
|
|
3
|
+
export * from "./components/Card/index.js";
|
|
4
|
+
export * from "./components/Dropdown/index.js";
|
|
5
|
+
export * from "./components/Form/index.js";
|
|
6
|
+
export * from "./components/Input/index.js";
|
|
7
|
+
export * from "./components/Image/index.js";
|
|
8
|
+
export * from "./components/Layout/index.js";
|
|
9
|
+
export * from "./components/Link/index.js";
|
|
10
|
+
export * from "./components/Modal/index.js";
|
|
11
|
+
export * from "./components/Page/index.js";
|
|
12
|
+
export * from "./components/Popover/index.js";
|
|
13
|
+
export * from "./components/ProgressBar/index.js";
|
|
14
|
+
export * from "./components/Select/index.js";
|
|
15
|
+
export * from "./components/SplitButton/index.js";
|
|
16
|
+
export * from "./components/Table/index.js";
|
|
17
|
+
export * from "./components/Tabs/index.js";
|
|
18
|
+
export * from "./components/Text/index.js";
|
|
19
|
+
export * from "./components/Textarea/index.js";
|
|
20
|
+
export * from "./components/Toast/index.js";
|
|
21
|
+
export * from "./components/ActionRow/index.js";
|
|
22
|
+
export * from "./components/Skeleton/index.js";
|
|
23
|
+
export * from "./components/Switch/index.js";
|
|
24
|
+
export * from "./components/Alert/index.js";
|
|
25
|
+
export * from "./components/Tooltip/index.js";
|
|
26
|
+
export * from "./components/Avatar/index.js";
|
|
27
|
+
export * from "./components/Label/index.js";
|
|
28
|
+
export * from "./components/Accordion/index.js";
|
|
29
|
+
export * from "./components/Breadcrumbs/index.js";
|
|
30
|
+
export * from "./components/Pagination/index.js";
|
|
31
|
+
export * from "./components/RadioGroup/index.js";
|
|
32
|
+
export * from "./components/Slider/index.js";
|
|
33
|
+
export * from "./components/Drawer/index.js";
|
|
34
|
+
export * from "./components/Sheet/index.js";
|
|
35
|
+
export * from "./DesignSystemProvider.js";
|
|
36
|
+
export * from "./components/Icon/index.js";
|
|
37
|
+
export * from "./components/Checkbox/index.js";
|
|
38
|
+
export * from "./components/FileUpload/index.js";
|
|
39
|
+
export * from "./components/Slat/index.js";
|
|
40
|
+
export * from "./components/Spinner/index.js";
|
|
41
|
+
export * from "./styles/themes/index.js";
|
package/dist/styles/globals.css
CHANGED
|
@@ -1043,6 +1043,244 @@ body .left-10 {
|
|
|
1043
1043
|
body .right-10 {
|
|
1044
1044
|
right: 2.5rem;
|
|
1045
1045
|
}
|
|
1046
|
+
@media (min-width: 360px) {
|
|
1047
|
+
body .xxs\:hidden {
|
|
1048
|
+
display: none;
|
|
1049
|
+
}
|
|
1050
|
+
body .xxs\:block {
|
|
1051
|
+
display: block;
|
|
1052
|
+
}
|
|
1053
|
+
body .xxs\:flex {
|
|
1054
|
+
display: flex;
|
|
1055
|
+
}
|
|
1056
|
+
body .xxs\:grid {
|
|
1057
|
+
display: grid;
|
|
1058
|
+
}
|
|
1059
|
+
body .xxs\:flex-row {
|
|
1060
|
+
flex-direction: row;
|
|
1061
|
+
}
|
|
1062
|
+
body .xxs\:flex-col {
|
|
1063
|
+
flex-direction: column;
|
|
1064
|
+
}
|
|
1065
|
+
body .xxs\:grid-cols-1 {
|
|
1066
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1067
|
+
}
|
|
1068
|
+
body .xxs\:grid-cols-2 {
|
|
1069
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1070
|
+
}
|
|
1071
|
+
body .xxs\:grid-cols-3 {
|
|
1072
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1073
|
+
}
|
|
1074
|
+
body .xxs\:grid-cols-4 {
|
|
1075
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1076
|
+
}
|
|
1077
|
+
body .xxs\:w-full {
|
|
1078
|
+
width: 100%;
|
|
1079
|
+
}
|
|
1080
|
+
body .xxs\:w-auto {
|
|
1081
|
+
width: auto;
|
|
1082
|
+
}
|
|
1083
|
+
body .xxs\:p-0 {
|
|
1084
|
+
padding: 0;
|
|
1085
|
+
}
|
|
1086
|
+
body .xxs\:m-0 {
|
|
1087
|
+
margin: 0;
|
|
1088
|
+
}
|
|
1089
|
+
body .xxs\:gap-0 {
|
|
1090
|
+
gap: 0;
|
|
1091
|
+
}
|
|
1092
|
+
body .xxs\:p-1 {
|
|
1093
|
+
padding: 0.25rem;
|
|
1094
|
+
}
|
|
1095
|
+
body .xxs\:m-1 {
|
|
1096
|
+
margin: 0.25rem;
|
|
1097
|
+
}
|
|
1098
|
+
body .xxs\:gap-1 {
|
|
1099
|
+
gap: 0.25rem;
|
|
1100
|
+
}
|
|
1101
|
+
body .xxs\:p-2 {
|
|
1102
|
+
padding: 0.5rem;
|
|
1103
|
+
}
|
|
1104
|
+
body .xxs\:m-2 {
|
|
1105
|
+
margin: 0.5rem;
|
|
1106
|
+
}
|
|
1107
|
+
body .xxs\:gap-2 {
|
|
1108
|
+
gap: 0.5rem;
|
|
1109
|
+
}
|
|
1110
|
+
body .xxs\:p-3 {
|
|
1111
|
+
padding: 0.75rem;
|
|
1112
|
+
}
|
|
1113
|
+
body .xxs\:m-3 {
|
|
1114
|
+
margin: 0.75rem;
|
|
1115
|
+
}
|
|
1116
|
+
body .xxs\:gap-3 {
|
|
1117
|
+
gap: 0.75rem;
|
|
1118
|
+
}
|
|
1119
|
+
body .xxs\:p-4 {
|
|
1120
|
+
padding: 1rem;
|
|
1121
|
+
}
|
|
1122
|
+
body .xxs\:m-4 {
|
|
1123
|
+
margin: 1rem;
|
|
1124
|
+
}
|
|
1125
|
+
body .xxs\:gap-4 {
|
|
1126
|
+
gap: 1rem;
|
|
1127
|
+
}
|
|
1128
|
+
body .xxs\:p-5 {
|
|
1129
|
+
padding: 1.25rem;
|
|
1130
|
+
}
|
|
1131
|
+
body .xxs\:m-5 {
|
|
1132
|
+
margin: 1.25rem;
|
|
1133
|
+
}
|
|
1134
|
+
body .xxs\:gap-5 {
|
|
1135
|
+
gap: 1.25rem;
|
|
1136
|
+
}
|
|
1137
|
+
body .xxs\:p-6 {
|
|
1138
|
+
padding: 1.5rem;
|
|
1139
|
+
}
|
|
1140
|
+
body .xxs\:m-6 {
|
|
1141
|
+
margin: 1.5rem;
|
|
1142
|
+
}
|
|
1143
|
+
body .xxs\:gap-6 {
|
|
1144
|
+
gap: 1.5rem;
|
|
1145
|
+
}
|
|
1146
|
+
body .xxs\:p-7 {
|
|
1147
|
+
padding: 1.75rem;
|
|
1148
|
+
}
|
|
1149
|
+
body .xxs\:m-7 {
|
|
1150
|
+
margin: 1.75rem;
|
|
1151
|
+
}
|
|
1152
|
+
body .xxs\:gap-7 {
|
|
1153
|
+
gap: 1.75rem;
|
|
1154
|
+
}
|
|
1155
|
+
body .xxs\:p-8 {
|
|
1156
|
+
padding: 2rem;
|
|
1157
|
+
}
|
|
1158
|
+
body .xxs\:m-8 {
|
|
1159
|
+
margin: 2rem;
|
|
1160
|
+
}
|
|
1161
|
+
body .xxs\:gap-8 {
|
|
1162
|
+
gap: 2rem;
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
@media (min-width: 480px) {
|
|
1166
|
+
body .xs\:hidden {
|
|
1167
|
+
display: none;
|
|
1168
|
+
}
|
|
1169
|
+
body .xs\:block {
|
|
1170
|
+
display: block;
|
|
1171
|
+
}
|
|
1172
|
+
body .xs\:flex {
|
|
1173
|
+
display: flex;
|
|
1174
|
+
}
|
|
1175
|
+
body .xs\:grid {
|
|
1176
|
+
display: grid;
|
|
1177
|
+
}
|
|
1178
|
+
body .xs\:flex-row {
|
|
1179
|
+
flex-direction: row;
|
|
1180
|
+
}
|
|
1181
|
+
body .xs\:flex-col {
|
|
1182
|
+
flex-direction: column;
|
|
1183
|
+
}
|
|
1184
|
+
body .xs\:grid-cols-1 {
|
|
1185
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1186
|
+
}
|
|
1187
|
+
body .xs\:grid-cols-2 {
|
|
1188
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1189
|
+
}
|
|
1190
|
+
body .xs\:grid-cols-3 {
|
|
1191
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1192
|
+
}
|
|
1193
|
+
body .xs\:grid-cols-4 {
|
|
1194
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1195
|
+
}
|
|
1196
|
+
body .xs\:w-full {
|
|
1197
|
+
width: 100%;
|
|
1198
|
+
}
|
|
1199
|
+
body .xs\:w-auto {
|
|
1200
|
+
width: auto;
|
|
1201
|
+
}
|
|
1202
|
+
body .xs\:p-0 {
|
|
1203
|
+
padding: 0;
|
|
1204
|
+
}
|
|
1205
|
+
body .xs\:m-0 {
|
|
1206
|
+
margin: 0;
|
|
1207
|
+
}
|
|
1208
|
+
body .xs\:gap-0 {
|
|
1209
|
+
gap: 0;
|
|
1210
|
+
}
|
|
1211
|
+
body .xs\:p-1 {
|
|
1212
|
+
padding: 0.25rem;
|
|
1213
|
+
}
|
|
1214
|
+
body .xs\:m-1 {
|
|
1215
|
+
margin: 0.25rem;
|
|
1216
|
+
}
|
|
1217
|
+
body .xs\:gap-1 {
|
|
1218
|
+
gap: 0.25rem;
|
|
1219
|
+
}
|
|
1220
|
+
body .xs\:p-2 {
|
|
1221
|
+
padding: 0.5rem;
|
|
1222
|
+
}
|
|
1223
|
+
body .xs\:m-2 {
|
|
1224
|
+
margin: 0.5rem;
|
|
1225
|
+
}
|
|
1226
|
+
body .xs\:gap-2 {
|
|
1227
|
+
gap: 0.5rem;
|
|
1228
|
+
}
|
|
1229
|
+
body .xs\:p-3 {
|
|
1230
|
+
padding: 0.75rem;
|
|
1231
|
+
}
|
|
1232
|
+
body .xs\:m-3 {
|
|
1233
|
+
margin: 0.75rem;
|
|
1234
|
+
}
|
|
1235
|
+
body .xs\:gap-3 {
|
|
1236
|
+
gap: 0.75rem;
|
|
1237
|
+
}
|
|
1238
|
+
body .xs\:p-4 {
|
|
1239
|
+
padding: 1rem;
|
|
1240
|
+
}
|
|
1241
|
+
body .xs\:m-4 {
|
|
1242
|
+
margin: 1rem;
|
|
1243
|
+
}
|
|
1244
|
+
body .xs\:gap-4 {
|
|
1245
|
+
gap: 1rem;
|
|
1246
|
+
}
|
|
1247
|
+
body .xs\:p-5 {
|
|
1248
|
+
padding: 1.25rem;
|
|
1249
|
+
}
|
|
1250
|
+
body .xs\:m-5 {
|
|
1251
|
+
margin: 1.25rem;
|
|
1252
|
+
}
|
|
1253
|
+
body .xs\:gap-5 {
|
|
1254
|
+
gap: 1.25rem;
|
|
1255
|
+
}
|
|
1256
|
+
body .xs\:p-6 {
|
|
1257
|
+
padding: 1.5rem;
|
|
1258
|
+
}
|
|
1259
|
+
body .xs\:m-6 {
|
|
1260
|
+
margin: 1.5rem;
|
|
1261
|
+
}
|
|
1262
|
+
body .xs\:gap-6 {
|
|
1263
|
+
gap: 1.5rem;
|
|
1264
|
+
}
|
|
1265
|
+
body .xs\:p-7 {
|
|
1266
|
+
padding: 1.75rem;
|
|
1267
|
+
}
|
|
1268
|
+
body .xs\:m-7 {
|
|
1269
|
+
margin: 1.75rem;
|
|
1270
|
+
}
|
|
1271
|
+
body .xs\:gap-7 {
|
|
1272
|
+
gap: 1.75rem;
|
|
1273
|
+
}
|
|
1274
|
+
body .xs\:p-8 {
|
|
1275
|
+
padding: 2rem;
|
|
1276
|
+
}
|
|
1277
|
+
body .xs\:m-8 {
|
|
1278
|
+
margin: 2rem;
|
|
1279
|
+
}
|
|
1280
|
+
body .xs\:gap-8 {
|
|
1281
|
+
gap: 2rem;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1046
1284
|
@media (min-width: 640px) {
|
|
1047
1285
|
body .sm\:hidden {
|
|
1048
1286
|
display: none;
|