linkedunion-design-kit 1.10.5 → 1.10.6
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/dist/src/components/Button/Button/Button.module.css +1 -1
- package/dist/src/components/Modal/Modal.d.ts +2 -1
- package/dist/src/components/Modal/Modal.js +14 -12
- package/dist/src/components/Modal/Modal.stories.d.ts +1 -0
- package/dist/src/components/Modal/Modal.stories.js +2 -1
- package/dist/src/components/Title/Title.module.css +1 -1
- package/dist/src/components/Typography/Heading/heading.module.css +1 -1
- package/dist/styles/global.css +51 -39
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
|
11
11
|
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
13
13
|
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
declare const DialogAction: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
15
|
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
16
|
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
16
17
|
size?: keyof typeof sizes;
|
|
@@ -27,4 +28,4 @@ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.
|
|
|
27
28
|
size?: keyof typeof sizes;
|
|
28
29
|
} & React.RefAttributes<HTMLHeadingElement>>;
|
|
29
30
|
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
30
|
-
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
31
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogAction, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -25,17 +25,19 @@ import * as React from "react";
|
|
|
25
25
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
26
26
|
import { cn } from "../../lib/utils";
|
|
27
27
|
import LUIcon from "../Icons/LUIcon";
|
|
28
|
+
import { variant } from "../Typography/Heading/heading";
|
|
28
29
|
export var sizes = {
|
|
29
|
-
sm: "w-
|
|
30
|
-
md: "w-
|
|
31
|
-
lg: "w-
|
|
32
|
-
xl: "w-
|
|
33
|
-
full: "w-full
|
|
30
|
+
sm: "max-w-xs",
|
|
31
|
+
md: "max-w-lg",
|
|
32
|
+
lg: "max-w-4xl",
|
|
33
|
+
xl: "max-w-6xl",
|
|
34
|
+
full: "w-full",
|
|
34
35
|
};
|
|
35
36
|
var Dialog = DialogPrimitive.Root;
|
|
36
37
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
37
38
|
var DialogPortal = DialogPrimitive.Portal;
|
|
38
39
|
var DialogClose = DialogPrimitive.Close;
|
|
40
|
+
var DialogAction = DialogPrimitive.Close;
|
|
39
41
|
var DialogOverlay = React.forwardRef(function (_a, ref) {
|
|
40
42
|
var className = _a.className, props = __rest(_a, ["className"]);
|
|
41
43
|
return (_jsx(DialogPrimitive.Overlay, __assign({ ref: ref, className: cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className) }, props)));
|
|
@@ -43,7 +45,7 @@ var DialogOverlay = React.forwardRef(function (_a, ref) {
|
|
|
43
45
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
44
46
|
var DialogContent = React.forwardRef(function (_a, ref) {
|
|
45
47
|
var className = _a.className, children = _a.children, _b = _a.size, size = _b === void 0 ? "md" : _b, props = __rest(_a, ["className", "children", "size"]);
|
|
46
|
-
return (_jsxs(DialogPortal, { children: [_jsx(DialogOverlay, {}), _jsxs(DialogPrimitive.Content, __assign({ ref: ref, className: cn("fixed left-[50%] top-[50%] z-50 grid translate-x-[-50%] translate-y-[-50%] gap-0 border bg-background !py-4 px-6
|
|
48
|
+
return (_jsxs(DialogPortal, { children: [_jsx(DialogOverlay, {}), _jsxs(DialogPrimitive.Content, __assign({ ref: ref, className: cn("fixed left-[50%] top-[50%] z-50 grid translate-x-[-50%] translate-y-[-50%] gap-0 border bg-background !py-4 px-6 rounded-lg shadow-lg", "transition-all duration-300 ease-in-out", "data-[state=open]:opacity-100 data-[state=open]:scale-100", "data-[state=closed]:opacity-0 data-[state=closed]:scale-95", sizes[size], className) }, props, { children: [children, _jsxs(DialogPrimitive.Close, { className: "absolute right-4 top-4 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-offset-2 hover:cursor-pointer disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [_jsx(LUIcon, { icon: "xMark", size: "md" }), _jsx("span", { className: "sr-only", children: "Close" })] })] }))] }));
|
|
47
49
|
});
|
|
48
50
|
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
49
51
|
var DialogHeader = function (_a) {
|
|
@@ -57,11 +59,11 @@ var DialogFooter = function (_a) {
|
|
|
57
59
|
};
|
|
58
60
|
DialogFooter.displayName = "DialogFooter";
|
|
59
61
|
var titleSizeClasses = {
|
|
60
|
-
sm: "
|
|
61
|
-
md: "
|
|
62
|
-
lg: "
|
|
63
|
-
xl: "
|
|
64
|
-
full: "
|
|
62
|
+
sm: variant["h5-600"],
|
|
63
|
+
md: variant["h5-600"],
|
|
64
|
+
lg: variant["h4-500"],
|
|
65
|
+
xl: variant["h4-500"],
|
|
66
|
+
full: variant["h4-500"],
|
|
65
67
|
};
|
|
66
68
|
var DialogTitle = React.forwardRef(function (_a, ref) {
|
|
67
69
|
var className = _a.className, _b = _a.size, size = _b === void 0 ? "md" : _b, props = __rest(_a, ["className", "size"]);
|
|
@@ -73,4 +75,4 @@ var DialogDescription = React.forwardRef(function (_a, ref) {
|
|
|
73
75
|
return (_jsx(DialogPrimitive.Description, __assign({ ref: ref, className: cn("text-sm text-muted-foreground", className) }, props)));
|
|
74
76
|
});
|
|
75
77
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
76
|
-
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
78
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogAction, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -29,3 +29,4 @@ export declare const Default: import("@storybook/core/csf").AnnotatedStoryFn<imp
|
|
|
29
29
|
export declare const SimpleModal: () => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export declare const ModalSizes: () => import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
export declare const InformationModalWithoutFooter: () => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare const ModalWithActionButtons: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogClose, sizes, } from "./Modal";
|
|
13
|
+
import { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, DialogClose, DialogAction, sizes, } from "./Modal";
|
|
14
14
|
import { Button } from "../Button/Button/Button";
|
|
15
15
|
import { Body } from "../Typography/Body/body";
|
|
16
16
|
import { Heading } from "../Typography/Heading/heading";
|
|
@@ -41,3 +41,4 @@ Default.args = {
|
|
|
41
41
|
export var SimpleModal = function () { return (_jsxs(Dialog, { children: [_jsx(DialogTrigger, { asChild: true, children: _jsx(Button, { children: "Open Modal" }) }), _jsxs(DialogContent, { size: "sm", children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Simple Modal" }), _jsx(DialogDescription, { children: "This is a simple modal example using the Modal component." })] }), _jsx("div", { className: "py-4", children: "You can put any content here." }), _jsx(DialogFooter, { children: _jsx(DialogClose, { asChild: true, children: _jsx(Button, { children: "Close" }) }) })] })] })); };
|
|
42
42
|
export var ModalSizes = function () { return (_jsx("div", { className: "flex flex-row gap-4", children: Object.keys(sizes).map(function (size) { return (_jsxs(Dialog, { children: [_jsx(DialogTrigger, { asChild: true, children: _jsxs(Button, { children: ["Open ", size, " Modal"] }) }), _jsxs(DialogContent, { size: size, children: [_jsxs(DialogHeader, { children: [_jsxs(DialogTitle, { children: [size, " Modal"] }), _jsxs(DialogDescription, { children: ["This is a ", size, " modal example using the Modal component."] })] }), _jsx("div", { className: "py-4", children: "You can put any content here." }), _jsx(DialogFooter, { children: _jsx(DialogClose, { asChild: true, children: _jsx(Button, { children: "Close" }) }) })] })] }, size)); }) })); };
|
|
43
43
|
export var InformationModalWithoutFooter = function () { return (_jsxs(Dialog, { children: [_jsx(DialogTrigger, { asChild: true, children: _jsx(Button, { children: "Open Info Modal" }) }), _jsxs(DialogContent, { size: "lg", children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { size: "lg", className: "text-center", children: "Contact Profile" }) }), _jsxs("div", { className: "flex flex-col items-center justify-center gap-7", children: [_jsxs(Avatar, { size: "huge", children: [_jsx(AvatarImage, { alt: "Avatar", src: "/images/avatar.png" }), _jsx(AvatarFallback, { children: "AB" })] }), _jsxs("div", { className: "flex flex-col items-center", children: [_jsx(Body, { variant: "body-md", children: "Designation" }), _jsx(Heading, { variant: "heading-md", children: "Heading" })] }), _jsxs("div", { className: "flex flex-col", children: [_jsxs("div", { className: "flex items-center gap-2 min-w-0", children: [_jsx(LUIcon, { icon: "envelope", size: "lg" }), _jsx(Body, { variant: "body-md", className: "text-gray-600 truncate min-w-0", children: "testing@gmail.com" })] }), _jsxs("div", { className: "flex items-center gap-2 min-w-0", children: [_jsx(LUIcon, { icon: "phone", size: "lg" }), _jsx(Body, { variant: "body-md", className: "text-gray-600 truncate min-w-0", children: "03764734829" })] })] }), _jsx(Body, { variant: "body-md", children: Dummy_Para })] })] })] })); };
|
|
44
|
+
export var ModalWithActionButtons = function () { return (_jsxs(Dialog, { children: [_jsx(DialogTrigger, { asChild: true, children: _jsx(Button, { children: "Open Modal" }) }), _jsxs(DialogContent, { size: "md", children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Confirm Action" }), _jsx(DialogDescription, { children: "Are you sure you want to proceed with this action? This cannot be undone." })] }), _jsx("div", { className: "py-4", children: _jsx(Body, { variant: "body-md", children: Dummy_Para }) }), _jsxs(DialogFooter, { children: [_jsx(DialogClose, { asChild: true, children: _jsx(Button, { variant: "outline", children: "Cancel" }) }), _jsx(DialogAction, { asChild: true, children: _jsx(Button, { variant: "fill", onClick: function () { return alert("Action confirmed!"); }, children: "Confirm" }) })] })] })] })); };
|
package/dist/styles/global.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
9
9
|
"Courier New", monospace;
|
|
10
10
|
--spacing: 0.25rem;
|
|
11
|
-
--container-
|
|
11
|
+
--container-xs: 20rem;
|
|
12
12
|
--container-md: 28rem;
|
|
13
13
|
--container-lg: 32rem;
|
|
14
|
-
--container-
|
|
14
|
+
--container-4xl: 56rem;
|
|
15
15
|
--container-5xl: 64rem;
|
|
16
|
+
--container-6xl: 72rem;
|
|
16
17
|
--text-xs: 0.75rem;
|
|
17
18
|
--text-xs--line-height: calc(1 / 0.75);
|
|
18
19
|
--text-sm: 0.875rem;
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
--radius-2xl: 1rem;
|
|
55
56
|
--radius-3xl: 1.5rem;
|
|
56
57
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
58
|
+
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
57
59
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
58
60
|
--aspect-video: 16 / 9;
|
|
59
61
|
--default-transition-duration: 150ms;
|
|
@@ -194,6 +196,9 @@
|
|
|
194
196
|
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
|
195
197
|
padding-block: 0;
|
|
196
198
|
}
|
|
199
|
+
::-webkit-calendar-picker-indicator {
|
|
200
|
+
line-height: 1;
|
|
201
|
+
}
|
|
197
202
|
:-moz-ui-invalid {
|
|
198
203
|
box-shadow: none;
|
|
199
204
|
}
|
|
@@ -224,7 +229,7 @@
|
|
|
224
229
|
padding: 0;
|
|
225
230
|
margin: -1px;
|
|
226
231
|
overflow: hidden;
|
|
227
|
-
clip:
|
|
232
|
+
clip-path: inset(50%);
|
|
228
233
|
white-space: nowrap;
|
|
229
234
|
border-width: 0;
|
|
230
235
|
}
|
|
@@ -839,21 +844,15 @@
|
|
|
839
844
|
.w-full {
|
|
840
845
|
width: 100%;
|
|
841
846
|
}
|
|
842
|
-
.w-
|
|
843
|
-
width: var(--container-
|
|
844
|
-
}
|
|
845
|
-
.w-md {
|
|
846
|
-
width: var(--container-md);
|
|
847
|
-
}
|
|
848
|
-
.w-sm {
|
|
849
|
-
width: var(--container-sm);
|
|
850
|
-
}
|
|
851
|
-
.w-xl {
|
|
852
|
-
width: var(--container-xl);
|
|
847
|
+
.max-w-4xl {
|
|
848
|
+
max-width: var(--container-4xl);
|
|
853
849
|
}
|
|
854
850
|
.max-w-5xl {
|
|
855
851
|
max-width: var(--container-5xl);
|
|
856
852
|
}
|
|
853
|
+
.max-w-6xl {
|
|
854
|
+
max-width: var(--container-6xl);
|
|
855
|
+
}
|
|
857
856
|
.max-w-40 {
|
|
858
857
|
max-width: calc(var(--spacing) * 40);
|
|
859
858
|
}
|
|
@@ -869,9 +868,15 @@
|
|
|
869
868
|
.max-w-\[calc\(100\%-2rem\)\] {
|
|
870
869
|
max-width: calc(100% - 2rem);
|
|
871
870
|
}
|
|
871
|
+
.max-w-lg {
|
|
872
|
+
max-width: var(--container-lg);
|
|
873
|
+
}
|
|
872
874
|
.max-w-md {
|
|
873
875
|
max-width: var(--container-md);
|
|
874
876
|
}
|
|
877
|
+
.max-w-xs {
|
|
878
|
+
max-width: var(--container-xs);
|
|
879
|
+
}
|
|
875
880
|
.min-w-0 {
|
|
876
881
|
min-width: calc(var(--spacing) * 0);
|
|
877
882
|
}
|
|
@@ -1208,9 +1213,6 @@
|
|
|
1208
1213
|
.rounded-md {
|
|
1209
1214
|
border-radius: var(--radius-md);
|
|
1210
1215
|
}
|
|
1211
|
-
.rounded-none {
|
|
1212
|
-
border-radius: 0;
|
|
1213
|
-
}
|
|
1214
1216
|
.rounded-sm {
|
|
1215
1217
|
border-radius: var(--radius-sm);
|
|
1216
1218
|
}
|
|
@@ -2283,7 +2285,7 @@
|
|
|
2283
2285
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
2284
2286
|
}
|
|
2285
2287
|
.transition {
|
|
2286
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display,
|
|
2288
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
2287
2289
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2288
2290
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2289
2291
|
}
|
|
@@ -2332,6 +2334,10 @@
|
|
|
2332
2334
|
--tw-duration: 300ms;
|
|
2333
2335
|
transition-duration: 300ms;
|
|
2334
2336
|
}
|
|
2337
|
+
.ease-in-out {
|
|
2338
|
+
--tw-ease: var(--ease-in-out);
|
|
2339
|
+
transition-timing-function: var(--ease-in-out);
|
|
2340
|
+
}
|
|
2335
2341
|
.ease-out {
|
|
2336
2342
|
--tw-ease: var(--ease-out);
|
|
2337
2343
|
transition-timing-function: var(--ease-out);
|
|
@@ -4099,6 +4105,14 @@
|
|
|
4099
4105
|
color: var(--primary-foreground);
|
|
4100
4106
|
}
|
|
4101
4107
|
}
|
|
4108
|
+
.data-\[state\=closed\]\:scale-95 {
|
|
4109
|
+
&[data-state="closed"] {
|
|
4110
|
+
--tw-scale-x: 95%;
|
|
4111
|
+
--tw-scale-y: 95%;
|
|
4112
|
+
--tw-scale-z: 95%;
|
|
4113
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
4114
|
+
}
|
|
4115
|
+
}
|
|
4102
4116
|
.data-\[state\=closed\]\:animate-accordion-up {
|
|
4103
4117
|
&[data-state="closed"] {
|
|
4104
4118
|
animation: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))ease-out;
|
|
@@ -4109,6 +4123,11 @@
|
|
|
4109
4123
|
animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
4110
4124
|
}
|
|
4111
4125
|
}
|
|
4126
|
+
.data-\[state\=closed\]\:opacity-0 {
|
|
4127
|
+
&[data-state="closed"] {
|
|
4128
|
+
opacity: 0%;
|
|
4129
|
+
}
|
|
4130
|
+
}
|
|
4112
4131
|
.data-\[state\=closed\]\:fade-out-0 {
|
|
4113
4132
|
&[data-state="closed"] {
|
|
4114
4133
|
--tw-exit-opacity: calc(0/100);
|
|
@@ -4121,16 +4140,6 @@
|
|
|
4121
4140
|
--tw-exit-scale: .95;
|
|
4122
4141
|
}
|
|
4123
4142
|
}
|
|
4124
|
-
.data-\[state\=closed\]\:slide-out-to-left-1\/2 {
|
|
4125
|
-
&[data-state="closed"] {
|
|
4126
|
-
--tw-exit-translate-x: calc(1/2*100%);
|
|
4127
|
-
}
|
|
4128
|
-
}
|
|
4129
|
-
.data-\[state\=closed\]\:slide-out-to-top-\[48\%\] {
|
|
4130
|
-
&[data-state="closed"] {
|
|
4131
|
-
--tw-exit-translate-y: calc(48%*-1);
|
|
4132
|
-
}
|
|
4133
|
-
}
|
|
4134
4143
|
.data-\[state\=inactive\]\:bg-blue-100 {
|
|
4135
4144
|
&[data-state="inactive"] {
|
|
4136
4145
|
background-color: #e2edf9;
|
|
@@ -4141,6 +4150,14 @@
|
|
|
4141
4150
|
color: #276ab3;
|
|
4142
4151
|
}
|
|
4143
4152
|
}
|
|
4153
|
+
.data-\[state\=open\]\:scale-100 {
|
|
4154
|
+
&[data-state="open"] {
|
|
4155
|
+
--tw-scale-x: 100%;
|
|
4156
|
+
--tw-scale-y: 100%;
|
|
4157
|
+
--tw-scale-z: 100%;
|
|
4158
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4144
4161
|
.data-\[state\=open\]\:animate-accordion-down {
|
|
4145
4162
|
&[data-state="open"] {
|
|
4146
4163
|
animation: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))ease-out;
|
|
@@ -4161,6 +4178,11 @@
|
|
|
4161
4178
|
color: var(--muted-foreground);
|
|
4162
4179
|
}
|
|
4163
4180
|
}
|
|
4181
|
+
.data-\[state\=open\]\:opacity-100 {
|
|
4182
|
+
&[data-state="open"] {
|
|
4183
|
+
opacity: 100%;
|
|
4184
|
+
}
|
|
4185
|
+
}
|
|
4164
4186
|
.data-\[state\=open\]\:fade-in-0 {
|
|
4165
4187
|
&[data-state="open"] {
|
|
4166
4188
|
--tw-enter-opacity: calc(0/100);
|
|
@@ -4173,16 +4195,6 @@
|
|
|
4173
4195
|
--tw-enter-scale: .95;
|
|
4174
4196
|
}
|
|
4175
4197
|
}
|
|
4176
|
-
.data-\[state\=open\]\:slide-in-from-left-1\/2 {
|
|
4177
|
-
&[data-state="open"] {
|
|
4178
|
-
--tw-enter-translate-x: calc(1/2*100%);
|
|
4179
|
-
}
|
|
4180
|
-
}
|
|
4181
|
-
.data-\[state\=open\]\:slide-in-from-top-\[48\%\] {
|
|
4182
|
-
&[data-state="open"] {
|
|
4183
|
-
--tw-enter-translate-y: calc(48%*-1);
|
|
4184
|
-
}
|
|
4185
|
-
}
|
|
4186
4198
|
.data-\[state\=selected\]\:bg-gray-50 {
|
|
4187
4199
|
&[data-state="selected"] {
|
|
4188
4200
|
background-color: #fafafa;
|