@tapcart/mobile-components 0.2.11 → 0.2.12
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/components/hooks/use-infinite-scroll.d.ts +1 -0
- package/dist/components/hooks/use-infinite-scroll.d.ts.map +1 -1
- package/dist/components/hooks/use-infinite-scroll.js +10 -6
- package/dist/components/hooks/use-scroll-direction.d.ts +8 -0
- package/dist/components/hooks/use-scroll-direction.d.ts.map +1 -0
- package/dist/components/hooks/use-scroll-direction.js +30 -0
- package/dist/components/ui/accordion.js +3 -3
- package/dist/components/ui/alert-dialog.js +8 -8
- package/dist/components/ui/badge.d.ts +4 -3
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/badge.js +25 -7
- package/dist/components/ui/button.d.ts +3 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +5 -5
- package/dist/components/ui/carousel.d.ts +5 -5
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +5 -5
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +5 -5
- package/dist/components/ui/chip.d.ts +2 -2
- package/dist/components/ui/chip.d.ts.map +1 -1
- package/dist/components/ui/chip.js +2 -2
- package/dist/components/ui/container.js +1 -1
- package/dist/components/ui/drawer.d.ts +3 -3
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/drawer.js +15 -13
- package/dist/components/ui/dropdown.d.ts +22 -0
- package/dist/components/ui/dropdown.d.ts.map +1 -0
- package/dist/components/ui/dropdown.js +60 -0
- package/dist/components/ui/favorite.d.ts +4 -2
- package/dist/components/ui/favorite.d.ts.map +1 -1
- package/dist/components/ui/favorite.js +11 -5
- package/dist/components/ui/grid.js +5 -5
- package/dist/components/ui/icon.d.ts +2 -2
- package/dist/components/ui/icon.d.ts.map +1 -1
- package/dist/components/ui/icon.js +32 -7
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/money.js +1 -1
- package/dist/components/ui/price.d.ts +2 -1
- package/dist/components/ui/price.d.ts.map +1 -1
- package/dist/components/ui/price.js +6 -6
- package/dist/components/ui/product-card.d.ts +93 -27
- package/dist/components/ui/product-card.d.ts.map +1 -1
- package/dist/components/ui/product-card.js +140 -33
- package/dist/components/ui/product-grid.d.ts +1 -1
- package/dist/components/ui/product-grid.d.ts.map +1 -1
- package/dist/components/ui/product-grid.js +5 -5
- package/dist/components/ui/radio-group.js +4 -4
- package/dist/components/ui/scroll-area.d.ts +1 -1
- package/dist/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.js +2 -2
- package/dist/components/ui/selectors.d.ts +2 -2
- package/dist/components/ui/selectors.d.ts.map +1 -1
- package/dist/components/ui/selectors.js +3 -3
- package/dist/components/ui/separator.js +1 -1
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/tabs.js +3 -3
- package/dist/components/ui/text.js +6 -6
- package/dist/components/ui/toast.d.ts +3 -3
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +7 -7
- package/dist/components/ui/toaster.js +2 -2
- package/dist/components/ui/toggle-group.d.ts +2 -2
- package/dist/components/ui/toggle-group.js +2 -2
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/toggle.js +1 -1
- package/dist/components/ui/use-toast.d.ts +6 -6
- package/dist/components/ui/use-toast.d.ts.map +1 -1
- package/dist/components/ui/video.js +1 -1
- package/dist/components/ui/wishlist.d.ts +2 -1
- package/dist/components/ui/wishlist.d.ts.map +1 -1
- package/dist/components/ui/wishlist.js +3 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/styles.css +147 -29
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { ToastProps } from "
|
|
3
|
-
|
|
2
|
+
import type { ToastProps } from "./toast";
|
|
3
|
+
type ToasterToast = ToastProps & {
|
|
4
4
|
id: string;
|
|
5
5
|
title?: React.ReactNode;
|
|
6
6
|
description?: React.ReactNode;
|
|
@@ -12,8 +12,8 @@ declare const actionTypes: {
|
|
|
12
12
|
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
13
13
|
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
type ActionType = typeof actionTypes;
|
|
16
|
+
type Action = {
|
|
17
17
|
type: ActionType["ADD_TOAST"];
|
|
18
18
|
toast: ToasterToast;
|
|
19
19
|
} | {
|
|
@@ -30,7 +30,7 @@ interface State {
|
|
|
30
30
|
toasts: ToasterToast[];
|
|
31
31
|
}
|
|
32
32
|
export declare const reducer: (state: State, action: Action) => State;
|
|
33
|
-
|
|
33
|
+
type Toast = Omit<ToasterToast, "id">;
|
|
34
34
|
declare function toast({ ...props }: Toast): {
|
|
35
35
|
id: string;
|
|
36
36
|
dismiss: () => void;
|
|
@@ -38,7 +38,7 @@ declare function toast({ ...props }: Toast): {
|
|
|
38
38
|
};
|
|
39
39
|
declare function useToast(): {
|
|
40
40
|
toast: typeof toast;
|
|
41
|
-
dismiss: (toastId?: string
|
|
41
|
+
dismiss: (toastId?: string) => void;
|
|
42
42
|
toasts: ToasterToast[];
|
|
43
43
|
};
|
|
44
44
|
export { useToast, toast };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-toast.d.ts","sourceRoot":"","sources":["../../../components/ui/use-toast.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAsB,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"use-toast.d.ts","sourceRoot":"","sources":["../../../components/ui/use-toast.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,C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
});
|
|
18
18
|
function Video(_a) {
|
|
19
19
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
20
|
-
return (_jsx("video", Object.assign({ className: cn(videoVariants({}), className) }, props, { autoPlay: true, playsInline: true, muted: true, loop: true })
|
|
20
|
+
return (_jsx("video", Object.assign({ className: cn(videoVariants({}), className) }, props, { autoPlay: true, playsInline: true, muted: true, loop: true })));
|
|
21
21
|
}
|
|
22
22
|
export { Video, videoVariants };
|
|
@@ -7,6 +7,7 @@ export interface WishlistProps extends React.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
7
7
|
onClick?: () => void;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
+
declare const PlaceholderIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
declare const Wishlist: React.ForwardRefExoticComponent<WishlistProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
export { Wishlist };
|
|
12
|
+
export { Wishlist, PlaceholderIcon };
|
|
12
13
|
//# sourceMappingURL=wishlist.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wishlist.d.ts","sourceRoot":"","sources":["../../../components/ui/wishlist.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;
|
|
1
|
+
{"version":3,"file":"wishlist.d.ts","sourceRoot":"","sources":["../../../components/ui/wishlist.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,eAAe,+CAIpB,CAAA;AAED,QAAA,MAAM,QAAQ,yFAuCb,CAAA;AAID,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -14,10 +14,10 @@ import * as React from "react";
|
|
|
14
14
|
import { Text } from "./text";
|
|
15
15
|
import { cn } from "../../lib/utils";
|
|
16
16
|
import { Icon } from "./icon";
|
|
17
|
-
const PlaceholderIcon = () => (_jsx("div", Object.assign({ className: "flex-shrink-0 flex items-center justify-center h-10 w-10 bg-stateColors-skeleton rounded-sm" }, { children: _jsx(Icon, { name: "heart-filled", size: "sm", color: "stateColors-disabled" }
|
|
17
|
+
const PlaceholderIcon = () => (_jsx("div", Object.assign({ className: "flex-shrink-0 flex items-center justify-center h-10 w-10 bg-stateColors-skeleton rounded-sm" }, { children: _jsx(Icon, { name: "heart-filled", size: "sm", color: "stateColors-disabled" }) })));
|
|
18
18
|
const Wishlist = React.forwardRef((_a, ref) => {
|
|
19
19
|
var { imgUrl, name, amount, selected = false, onClick, className } = _a, props = __rest(_a, ["imgUrl", "name", "amount", "selected", "onClick", "className"]);
|
|
20
|
-
return (_jsxs("button", Object.assign({ className: cn("flex flex-row items-center px-4 py-2 w-full border-b border-coreColors-dividingLines", selected ? "bg-stateColors-skeleton" : "", className), ref: ref, onClick: onClick }, props, { children: [imgUrl ? (_jsx("img", { alt: "wishlist-image", className: "flex-shrink-0 h-10 w-10 border border-coreColors-dividingLines rounded-sm", src: imgUrl }
|
|
20
|
+
return (_jsxs("button", Object.assign({ className: cn("flex flex-row items-center px-4 py-2 w-full border-b border-coreColors-dividingLines", selected ? "bg-stateColors-skeleton" : "", className), ref: ref, onClick: onClick }, props, { children: [imgUrl ? (_jsx("img", { alt: "wishlist-image", className: "flex-shrink-0 h-10 w-10 border border-coreColors-dividingLines rounded-sm", src: imgUrl })) : (_jsx(PlaceholderIcon, {})), _jsxs("div", Object.assign({ className: "flex flex-col items-start ml-2 space-y-1 overflow-hidden" }, { children: [_jsx(Text, Object.assign({ type: "body-primary", className: "w-full overflow-hidden text-ellipsis whitespace-nowrap" }, { children: name })), _jsx(Text, Object.assign({ type: "body-secondary", className: "h-4" }, { children: `${amount} item${amount !== 1 ? "s" : ""}` }))] }))] })));
|
|
21
21
|
});
|
|
22
22
|
Wishlist.displayName = "Wishlist";
|
|
23
|
-
export { Wishlist };
|
|
23
|
+
export { Wishlist, PlaceholderIcon };
|
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,9 @@ export * from "./components/ui/price";
|
|
|
30
30
|
export * from "./components/ui/favorite";
|
|
31
31
|
export * from "./components/ui/wishlist";
|
|
32
32
|
export * from "./components/ui/product-card";
|
|
33
|
+
export * from "./components/ui/dropdown";
|
|
33
34
|
export * from "./components/ui/product-grid";
|
|
34
35
|
export * from "./components/hooks/use-infinite-scroll";
|
|
36
|
+
export * from "./components/hooks/use-scroll-direction";
|
|
35
37
|
export { cn, cva } from "./lib/utils";
|
|
36
38
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,s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AAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA;AACtC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wCAAwC,CAAA;AACtD,cAAc,yCAAyC,CAAA;AACvD,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -31,6 +31,8 @@ export * from "./components/ui/price";
|
|
|
31
31
|
export * from "./components/ui/favorite";
|
|
32
32
|
export * from "./components/ui/wishlist";
|
|
33
33
|
export * from "./components/ui/product-card";
|
|
34
|
+
export * from "./components/ui/dropdown";
|
|
34
35
|
export * from "./components/ui/product-grid";
|
|
35
36
|
export * from "./components/hooks/use-infinite-scroll";
|
|
37
|
+
export * from "./components/hooks/use-scroll-direction";
|
|
36
38
|
export { cn, cva } from "./lib/utils";
|
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
! tailwindcss v3.
|
|
2
|
+
! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
|
|
3
3
|
*//*
|
|
4
4
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
5
5
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
@@ -26,17 +26,20 @@
|
|
|
26
26
|
4. Use the user's configured `sans` font-family by default.
|
|
27
27
|
5. Use the user's configured `sans` font-feature-settings by default.
|
|
28
28
|
6. Use the user's configured `sans` font-variation-settings by default.
|
|
29
|
+
7. Disable tap highlights on iOS
|
|
29
30
|
*/
|
|
30
31
|
|
|
31
|
-
html
|
|
32
|
+
html,
|
|
33
|
+
:host {
|
|
32
34
|
line-height: 1.5; /* 1 */
|
|
33
35
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
34
36
|
-moz-tab-size: 4; /* 3 */
|
|
35
37
|
-o-tab-size: 4;
|
|
36
38
|
tab-size: 4; /* 3 */
|
|
37
|
-
font-family: ui-sans-serif, system-ui,
|
|
39
|
+
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
|
|
38
40
|
font-feature-settings: normal; /* 5 */
|
|
39
41
|
font-variation-settings: normal; /* 6 */
|
|
42
|
+
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
/*
|
|
@@ -103,8 +106,10 @@ strong {
|
|
|
103
106
|
}
|
|
104
107
|
|
|
105
108
|
/*
|
|
106
|
-
1. Use the user's configured `mono` font
|
|
107
|
-
2.
|
|
109
|
+
1. Use the user's configured `mono` font-family by default.
|
|
110
|
+
2. Use the user's configured `mono` font-feature-settings by default.
|
|
111
|
+
3. Use the user's configured `mono` font-variation-settings by default.
|
|
112
|
+
4. Correct the odd `em` font sizing in all browsers.
|
|
108
113
|
*/
|
|
109
114
|
|
|
110
115
|
code,
|
|
@@ -112,7 +117,9 @@ kbd,
|
|
|
112
117
|
samp,
|
|
113
118
|
pre {
|
|
114
119
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
|
|
115
|
-
font-
|
|
120
|
+
font-feature-settings: normal; /* 2 */
|
|
121
|
+
font-variation-settings: normal; /* 3 */
|
|
122
|
+
font-size: 1em; /* 4 */
|
|
116
123
|
}
|
|
117
124
|
|
|
118
125
|
/*
|
|
@@ -172,6 +179,7 @@ textarea {
|
|
|
172
179
|
font-size: 100%; /* 1 */
|
|
173
180
|
font-weight: inherit; /* 1 */
|
|
174
181
|
line-height: inherit; /* 1 */
|
|
182
|
+
letter-spacing: inherit; /* 1 */
|
|
175
183
|
color: inherit; /* 1 */
|
|
176
184
|
margin: 0; /* 2 */
|
|
177
185
|
padding: 0; /* 3 */
|
|
@@ -192,9 +200,9 @@ select {
|
|
|
192
200
|
*/
|
|
193
201
|
|
|
194
202
|
button,
|
|
195
|
-
[type='button'],
|
|
196
|
-
[type='reset'],
|
|
197
|
-
[type='submit'] {
|
|
203
|
+
input:where([type='button']),
|
|
204
|
+
input:where([type='reset']),
|
|
205
|
+
input:where([type='submit']) {
|
|
198
206
|
-webkit-appearance: button; /* 1 */
|
|
199
207
|
background-color: transparent; /* 2 */
|
|
200
208
|
background-image: none; /* 2 */
|
|
@@ -425,7 +433,9 @@ video {
|
|
|
425
433
|
|
|
426
434
|
--radius: 0.5rem;
|
|
427
435
|
|
|
428
|
-
--
|
|
436
|
+
--fontRegular: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
|
|
437
|
+
--fontMedium: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
|
|
438
|
+
--fontBold: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
|
|
429
439
|
|
|
430
440
|
--coreColors-pageColor: #ffffff;
|
|
431
441
|
--coreColors-shadow: #000000;
|
|
@@ -555,6 +565,10 @@ video {
|
|
|
555
565
|
--tw-backdrop-opacity: ;
|
|
556
566
|
--tw-backdrop-saturate: ;
|
|
557
567
|
--tw-backdrop-sepia: ;
|
|
568
|
+
--tw-contain-size: ;
|
|
569
|
+
--tw-contain-layout: ;
|
|
570
|
+
--tw-contain-paint: ;
|
|
571
|
+
--tw-contain-style: ;
|
|
558
572
|
}
|
|
559
573
|
|
|
560
574
|
::backdrop {
|
|
@@ -605,6 +619,10 @@ video {
|
|
|
605
619
|
--tw-backdrop-opacity: ;
|
|
606
620
|
--tw-backdrop-saturate: ;
|
|
607
621
|
--tw-backdrop-sepia: ;
|
|
622
|
+
--tw-contain-size: ;
|
|
623
|
+
--tw-contain-layout: ;
|
|
624
|
+
--tw-contain-paint: ;
|
|
625
|
+
--tw-contain-style: ;
|
|
608
626
|
}
|
|
609
627
|
.container {
|
|
610
628
|
width: 100%;
|
|
@@ -667,6 +685,9 @@ video {
|
|
|
667
685
|
.bottom-0 {
|
|
668
686
|
bottom: 0px;
|
|
669
687
|
}
|
|
688
|
+
.bottom-10 {
|
|
689
|
+
bottom: 2.5rem;
|
|
690
|
+
}
|
|
670
691
|
.end-4 {
|
|
671
692
|
inset-inline-end: 1rem;
|
|
672
693
|
}
|
|
@@ -676,6 +697,9 @@ video {
|
|
|
676
697
|
.left-1\/2 {
|
|
677
698
|
left: 50%;
|
|
678
699
|
}
|
|
700
|
+
.left-2 {
|
|
701
|
+
left: 0.5rem;
|
|
702
|
+
}
|
|
679
703
|
.left-\[50\%\] {
|
|
680
704
|
left: 50%;
|
|
681
705
|
}
|
|
@@ -694,6 +718,9 @@ video {
|
|
|
694
718
|
.top-1\/2 {
|
|
695
719
|
top: 50%;
|
|
696
720
|
}
|
|
721
|
+
.top-10 {
|
|
722
|
+
top: 2.5rem;
|
|
723
|
+
}
|
|
697
724
|
.top-2 {
|
|
698
725
|
top: 0.5rem;
|
|
699
726
|
}
|
|
@@ -752,6 +779,9 @@ video {
|
|
|
752
779
|
.mr-2 {
|
|
753
780
|
margin-right: 0.5rem;
|
|
754
781
|
}
|
|
782
|
+
.mt-1 {
|
|
783
|
+
margin-top: 0.25rem;
|
|
784
|
+
}
|
|
755
785
|
.mt-2 {
|
|
756
786
|
margin-top: 0.5rem;
|
|
757
787
|
}
|
|
@@ -782,6 +812,9 @@ video {
|
|
|
782
812
|
.aspect-\[2\/3\] {
|
|
783
813
|
aspect-ratio: 2/3;
|
|
784
814
|
}
|
|
815
|
+
.aspect-\[4\/5\] {
|
|
816
|
+
aspect-ratio: 4/5;
|
|
817
|
+
}
|
|
785
818
|
.aspect-square {
|
|
786
819
|
aspect-ratio: 1 / 1;
|
|
787
820
|
}
|
|
@@ -836,6 +869,9 @@ video {
|
|
|
836
869
|
.h-full {
|
|
837
870
|
height: 100%;
|
|
838
871
|
}
|
|
872
|
+
.max-h-\[240px\] {
|
|
873
|
+
max-height: 240px;
|
|
874
|
+
}
|
|
839
875
|
.max-h-screen {
|
|
840
876
|
max-height: 100vh;
|
|
841
877
|
}
|
|
@@ -860,9 +896,6 @@ video {
|
|
|
860
896
|
.w-2\.5 {
|
|
861
897
|
width: 0.625rem;
|
|
862
898
|
}
|
|
863
|
-
.w-3\/4 {
|
|
864
|
-
width: 75%;
|
|
865
|
-
}
|
|
866
899
|
.w-4 {
|
|
867
900
|
width: 1rem;
|
|
868
901
|
}
|
|
@@ -894,6 +927,9 @@ video {
|
|
|
894
927
|
.min-w-0 {
|
|
895
928
|
min-width: 0px;
|
|
896
929
|
}
|
|
930
|
+
.min-w-\[8rem\] {
|
|
931
|
+
min-width: 8rem;
|
|
932
|
+
}
|
|
897
933
|
.max-w-lg {
|
|
898
934
|
max-width: 32rem;
|
|
899
935
|
}
|
|
@@ -953,6 +989,9 @@ video {
|
|
|
953
989
|
.animate-spin {
|
|
954
990
|
animation: spin 1s linear infinite;
|
|
955
991
|
}
|
|
992
|
+
.cursor-default {
|
|
993
|
+
cursor: default;
|
|
994
|
+
}
|
|
956
995
|
.cursor-pointer {
|
|
957
996
|
cursor: pointer;
|
|
958
997
|
}
|
|
@@ -1000,12 +1039,21 @@ video {
|
|
|
1000
1039
|
.items-center {
|
|
1001
1040
|
align-items: center;
|
|
1002
1041
|
}
|
|
1042
|
+
.justify-start {
|
|
1043
|
+
justify-content: flex-start;
|
|
1044
|
+
}
|
|
1045
|
+
.justify-end {
|
|
1046
|
+
justify-content: flex-end;
|
|
1047
|
+
}
|
|
1003
1048
|
.justify-center {
|
|
1004
1049
|
justify-content: center;
|
|
1005
1050
|
}
|
|
1006
1051
|
.justify-between {
|
|
1007
1052
|
justify-content: space-between;
|
|
1008
1053
|
}
|
|
1054
|
+
.gap-0 {
|
|
1055
|
+
gap: 0px;
|
|
1056
|
+
}
|
|
1009
1057
|
.gap-1 {
|
|
1010
1058
|
gap: 0.25rem;
|
|
1011
1059
|
}
|
|
@@ -1019,8 +1067,8 @@ video {
|
|
|
1019
1067
|
-moz-column-gap: 7px;
|
|
1020
1068
|
column-gap: 7px;
|
|
1021
1069
|
}
|
|
1022
|
-
.gap-y
|
|
1023
|
-
row-gap:
|
|
1070
|
+
.gap-y-4 {
|
|
1071
|
+
row-gap: 1rem;
|
|
1024
1072
|
}
|
|
1025
1073
|
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
|
|
1026
1074
|
--tw-space-y-reverse: 0;
|
|
@@ -1044,6 +1092,9 @@ video {
|
|
|
1044
1092
|
.overflow-x-auto {
|
|
1045
1093
|
overflow-x: auto;
|
|
1046
1094
|
}
|
|
1095
|
+
.overflow-y-auto {
|
|
1096
|
+
overflow-y: auto;
|
|
1097
|
+
}
|
|
1047
1098
|
.overscroll-y-none {
|
|
1048
1099
|
overscroll-behavior-y: none;
|
|
1049
1100
|
}
|
|
@@ -1058,6 +1109,9 @@ video {
|
|
|
1058
1109
|
.whitespace-nowrap {
|
|
1059
1110
|
white-space: nowrap;
|
|
1060
1111
|
}
|
|
1112
|
+
.text-wrap {
|
|
1113
|
+
text-wrap: wrap;
|
|
1114
|
+
}
|
|
1061
1115
|
.rounded {
|
|
1062
1116
|
border-radius: 0.25rem;
|
|
1063
1117
|
}
|
|
@@ -1070,9 +1124,6 @@ video {
|
|
|
1070
1124
|
.rounded-full {
|
|
1071
1125
|
border-radius: 9999px;
|
|
1072
1126
|
}
|
|
1073
|
-
.rounded-lg {
|
|
1074
|
-
border-radius: var(--radius);
|
|
1075
|
-
}
|
|
1076
1127
|
.rounded-md {
|
|
1077
1128
|
border-radius: calc(var(--radius) - 2px);
|
|
1078
1129
|
}
|
|
@@ -1086,18 +1137,10 @@ video {
|
|
|
1086
1137
|
border-bottom-right-radius: var(--radius);
|
|
1087
1138
|
border-bottom-left-radius: var(--radius);
|
|
1088
1139
|
}
|
|
1089
|
-
.rounded-b-none {
|
|
1090
|
-
border-bottom-right-radius: 0px;
|
|
1091
|
-
border-bottom-left-radius: 0px;
|
|
1092
|
-
}
|
|
1093
1140
|
.rounded-t-2xl {
|
|
1094
1141
|
border-top-left-radius: 1rem;
|
|
1095
1142
|
border-top-right-radius: 1rem;
|
|
1096
1143
|
}
|
|
1097
|
-
.rounded-t-lg {
|
|
1098
|
-
border-top-left-radius: var(--radius);
|
|
1099
|
-
border-top-right-radius: var(--radius);
|
|
1100
|
-
}
|
|
1101
1144
|
.rounded-bl {
|
|
1102
1145
|
border-bottom-left-radius: 0.25rem;
|
|
1103
1146
|
}
|
|
@@ -1185,9 +1228,16 @@ video {
|
|
|
1185
1228
|
--tw-bg-opacity: 1;
|
|
1186
1229
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
|
|
1187
1230
|
}
|
|
1231
|
+
.bg-neutral-300 {
|
|
1232
|
+
--tw-bg-opacity: 1;
|
|
1233
|
+
background-color: rgb(212 212 212 / var(--tw-bg-opacity));
|
|
1234
|
+
}
|
|
1188
1235
|
.bg-productBadging-fill {
|
|
1189
1236
|
background-color: var(--productBadging-fill);
|
|
1190
1237
|
}
|
|
1238
|
+
.bg-stateColors-disabled {
|
|
1239
|
+
background-color: var(--stateColors-disabled);
|
|
1240
|
+
}
|
|
1191
1241
|
.bg-stateColors-error {
|
|
1192
1242
|
background-color: var(--stateColors-error);
|
|
1193
1243
|
}
|
|
@@ -1311,6 +1361,9 @@ video {
|
|
|
1311
1361
|
.pl-4 {
|
|
1312
1362
|
padding-left: 1rem;
|
|
1313
1363
|
}
|
|
1364
|
+
.pl-8 {
|
|
1365
|
+
padding-left: 2rem;
|
|
1366
|
+
}
|
|
1314
1367
|
.pr-4 {
|
|
1315
1368
|
padding-right: 1rem;
|
|
1316
1369
|
}
|
|
@@ -1326,11 +1379,23 @@ video {
|
|
|
1326
1379
|
.pt-5 {
|
|
1327
1380
|
padding-top: 1.25rem;
|
|
1328
1381
|
}
|
|
1382
|
+
.text-left {
|
|
1383
|
+
text-align: left;
|
|
1384
|
+
}
|
|
1329
1385
|
.text-center {
|
|
1330
1386
|
text-align: center;
|
|
1331
1387
|
}
|
|
1332
|
-
.
|
|
1333
|
-
|
|
1388
|
+
.text-right {
|
|
1389
|
+
text-align: right;
|
|
1390
|
+
}
|
|
1391
|
+
.text-start {
|
|
1392
|
+
text-align: start;
|
|
1393
|
+
}
|
|
1394
|
+
.font-fontMedium {
|
|
1395
|
+
font-family: var(--fontMedium);
|
|
1396
|
+
}
|
|
1397
|
+
.font-fontRegular {
|
|
1398
|
+
font-family: var(--fontRegular);
|
|
1334
1399
|
}
|
|
1335
1400
|
.text-\[10px\] {
|
|
1336
1401
|
font-size: 10px;
|
|
@@ -1368,6 +1433,9 @@ video {
|
|
|
1368
1433
|
.font-semibold {
|
|
1369
1434
|
font-weight: 600;
|
|
1370
1435
|
}
|
|
1436
|
+
.uppercase {
|
|
1437
|
+
text-transform: uppercase;
|
|
1438
|
+
}
|
|
1371
1439
|
.leading-\[130\%\] {
|
|
1372
1440
|
line-height: 130%;
|
|
1373
1441
|
}
|
|
@@ -1554,9 +1622,16 @@ video {
|
|
|
1554
1622
|
--tw-shadow-color: var(--buttonColors-secondaryShadow);
|
|
1555
1623
|
--tw-shadow: var(--tw-shadow-colored);
|
|
1556
1624
|
}
|
|
1625
|
+
.outline-none {
|
|
1626
|
+
outline: 2px solid transparent;
|
|
1627
|
+
outline-offset: 2px;
|
|
1628
|
+
}
|
|
1557
1629
|
.outline {
|
|
1558
1630
|
outline-style: solid;
|
|
1559
1631
|
}
|
|
1632
|
+
.outline-0 {
|
|
1633
|
+
outline-width: 0px;
|
|
1634
|
+
}
|
|
1560
1635
|
.outline-1 {
|
|
1561
1636
|
outline-width: 1px;
|
|
1562
1637
|
}
|
|
@@ -1575,6 +1650,9 @@ video {
|
|
|
1575
1650
|
.outline-input {
|
|
1576
1651
|
outline-color: hsl(var(--input));
|
|
1577
1652
|
}
|
|
1653
|
+
.outline-stateColors-error {
|
|
1654
|
+
outline-color: var(--stateColors-error);
|
|
1655
|
+
}
|
|
1578
1656
|
.ring-0 {
|
|
1579
1657
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1580
1658
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -1706,6 +1784,9 @@ video {
|
|
|
1706
1784
|
.focus\:border-stateColors-error:focus {
|
|
1707
1785
|
border-color: var(--stateColors-error);
|
|
1708
1786
|
}
|
|
1787
|
+
.focus\:bg-stateColors-skeleton:focus {
|
|
1788
|
+
background-color: var(--stateColors-skeleton);
|
|
1789
|
+
}
|
|
1709
1790
|
.focus\:opacity-100:focus {
|
|
1710
1791
|
opacity: 1;
|
|
1711
1792
|
}
|
|
@@ -1747,6 +1828,9 @@ video {
|
|
|
1747
1828
|
.focus-visible\:ring-offset-background:focus-visible {
|
|
1748
1829
|
--tw-ring-offset-color: hsl(var(--background));
|
|
1749
1830
|
}
|
|
1831
|
+
.active\:text-coreColors-brandColorPrimary:active {
|
|
1832
|
+
color: var(--coreColors-brandColorPrimary);
|
|
1833
|
+
}
|
|
1750
1834
|
.active\:opacity-70:active {
|
|
1751
1835
|
opacity: 0.7;
|
|
1752
1836
|
}
|
|
@@ -1783,6 +1867,9 @@ video {
|
|
|
1783
1867
|
.group:hover .group-hover\:opacity-100 {
|
|
1784
1868
|
opacity: 1;
|
|
1785
1869
|
}
|
|
1870
|
+
.group:active .group-active\:text-coreColors-brandColorPrimary {
|
|
1871
|
+
color: var(--coreColors-brandColorPrimary);
|
|
1872
|
+
}
|
|
1786
1873
|
.group:disabled .group-disabled\:text-stateColors-disabled {
|
|
1787
1874
|
color: var(--stateColors-disabled);
|
|
1788
1875
|
}
|
|
@@ -1828,6 +1915,9 @@ video {
|
|
|
1828
1915
|
.peer:disabled ~ .peer-disabled\:opacity-70 {
|
|
1829
1916
|
opacity: 0.7;
|
|
1830
1917
|
}
|
|
1918
|
+
.data-\[disabled\]\:pointer-events-none[data-disabled] {
|
|
1919
|
+
pointer-events: none;
|
|
1920
|
+
}
|
|
1831
1921
|
.data-\[state\=checked\]\:translate-x-5[data-state=checked] {
|
|
1832
1922
|
--tw-translate-x: 1.25rem;
|
|
1833
1923
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1892,6 +1982,9 @@ video {
|
|
|
1892
1982
|
.data-\[state\=on\]\:text-accent-foreground[data-state=on] {
|
|
1893
1983
|
color: hsl(var(--accent-foreground));
|
|
1894
1984
|
}
|
|
1985
|
+
.data-\[disabled\]\:opacity-50[data-disabled] {
|
|
1986
|
+
opacity: 0.5;
|
|
1987
|
+
}
|
|
1895
1988
|
.data-\[swipe\=move\]\:transition-none[data-swipe=move] {
|
|
1896
1989
|
transition-property: none;
|
|
1897
1990
|
}
|
|
@@ -1937,6 +2030,18 @@ video {
|
|
|
1937
2030
|
.data-\[state\=open\]\:zoom-in-95[data-state=open] {
|
|
1938
2031
|
--tw-enter-scale: .95;
|
|
1939
2032
|
}
|
|
2033
|
+
.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom] {
|
|
2034
|
+
--tw-enter-translate-y: -0.5rem;
|
|
2035
|
+
}
|
|
2036
|
+
.data-\[side\=left\]\:slide-in-from-right-2[data-side=left] {
|
|
2037
|
+
--tw-enter-translate-x: 0.5rem;
|
|
2038
|
+
}
|
|
2039
|
+
.data-\[side\=right\]\:slide-in-from-left-2[data-side=right] {
|
|
2040
|
+
--tw-enter-translate-x: -0.5rem;
|
|
2041
|
+
}
|
|
2042
|
+
.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top] {
|
|
2043
|
+
--tw-enter-translate-y: 0.5rem;
|
|
2044
|
+
}
|
|
1940
2045
|
.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed] {
|
|
1941
2046
|
--tw-exit-translate-x: -50%;
|
|
1942
2047
|
}
|
|
@@ -1958,7 +2063,7 @@ video {
|
|
|
1958
2063
|
.data-\[state\=open\]\:duration-500[data-state=open] {
|
|
1959
2064
|
animation-duration: 500ms;
|
|
1960
2065
|
}
|
|
1961
|
-
|
|
2066
|
+
.dark\:bg-neutral-900:is(.dark *) {
|
|
1962
2067
|
--tw-bg-opacity: 1;
|
|
1963
2068
|
background-color: rgb(23 23 23 / var(--tw-bg-opacity));
|
|
1964
2069
|
}
|
|
@@ -2030,6 +2135,19 @@ video {
|
|
|
2030
2135
|
.hover\:\[\&\>p\]\:text-accent-foreground>p:hover {
|
|
2031
2136
|
color: hsl(var(--accent-foreground));
|
|
2032
2137
|
}
|
|
2138
|
+
.\[\&\[data-state\=open\]\]\:outline-coreColors-brandColorPrimary[data-state=open] {
|
|
2139
|
+
outline-color: var(--coreColors-brandColorPrimary);
|
|
2140
|
+
}
|
|
2141
|
+
.\[\&\[data-state\=open\]_\.chevron-icon\]\:rotate-180[data-state=open] .chevron-icon {
|
|
2142
|
+
--tw-rotate: 180deg;
|
|
2143
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
2144
|
+
}
|
|
2145
|
+
.\[\&\[data-state\=open\]_\.label\]\:text-coreColors-brandColorPrimary[data-state=open] .label {
|
|
2146
|
+
color: var(--coreColors-brandColorPrimary);
|
|
2147
|
+
}
|
|
2148
|
+
.\[\&\[data-state\=open\]_\.label\]\:text-textColors-secondaryColor[data-state=open] .label {
|
|
2149
|
+
color: var(--textColors-secondaryColor, #727272ff);
|
|
2150
|
+
}
|
|
2033
2151
|
.\[\&\[data-state\=open\]_svg\]\:rotate-180[data-state=open] svg {
|
|
2034
2152
|
--tw-rotate: 180deg;
|
|
2035
2153
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|