@sikka/hawa 0.0.99 → 0.0.101
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/styles.css +57 -8
- package/es/blocks/Account/UserProfileForm.d.ts +8 -0
- package/es/blocks/Account/UserSettingsForm.d.ts +8 -0
- package/es/blocks/Account/index.d.ts +2 -0
- package/es/blocks/AuthForms/AppLanding.d.ts +13 -0
- package/es/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
- package/es/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
- package/es/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
- package/es/blocks/AuthForms/SignInForm.d.ts +42 -0
- package/es/blocks/AuthForms/SignInPhone.d.ts +12 -0
- package/es/blocks/AuthForms/SignUpForm.d.ts +51 -0
- package/es/blocks/AuthForms/index.d.ts +7 -0
- package/es/blocks/Misc/NotFound.d.ts +4 -0
- package/es/blocks/Misc/index.d.ts +1 -0
- package/es/blocks/Payment/ChargeWalletForm.d.ts +12 -0
- package/es/blocks/Payment/CheckoutForm.d.ts +27 -0
- package/es/blocks/Payment/Confirmation.d.ts +40 -0
- package/es/blocks/Payment/CreditCardForm.d.ts +7 -0
- package/es/blocks/Payment/PayWithWallet.d.ts +8 -0
- package/es/blocks/Payment/SelectPayment.d.ts +26 -0
- package/es/blocks/Payment/index.d.ts +6 -0
- package/es/blocks/Pricing/ComparingPlans.d.ts +7 -0
- package/es/blocks/Pricing/PricingPlans.d.ts +7 -0
- package/es/blocks/Pricing/index.d.ts +2 -0
- package/es/blocks/index.d.ts +4 -0
- package/es/countries.d.ts +2 -0
- package/es/elements/AutoCompleteField.d.ts +8 -0
- package/es/elements/DragDropImages.d.ts +17 -0
- package/es/elements/DraggableCard.d.ts +6 -0
- package/es/elements/HawaAccordian.d.ts +6 -0
- package/es/elements/HawaAdCard.d.ts +10 -0
- package/es/elements/HawaAlert.d.ts +15 -0
- package/es/elements/HawaButton.d.ts +11 -0
- package/es/elements/HawaCheckbox.d.ts +9 -0
- package/es/elements/HawaChip.d.ts +6 -0
- package/es/elements/HawaColorPicker.d.ts +7 -0
- package/es/elements/HawaCopyrights.d.ts +8 -0
- package/es/elements/HawaDrawer.d.ts +13 -0
- package/es/elements/HawaDrawerItem.d.ts +8 -0
- package/es/elements/HawaItemCard.d.ts +11 -0
- package/es/elements/HawaLogoButton.d.ts +9 -0
- package/es/elements/HawaMenu.d.ts +16 -0
- package/es/elements/HawaModal.d.ts +12 -0
- package/es/elements/HawaPanelTabs.d.ts +10 -0
- package/es/elements/HawaPhoneInput.d.ts +11 -0
- package/es/elements/HawaPricingCard.d.ts +15 -0
- package/es/elements/HawaRadio.d.ts +6 -0
- package/es/elements/HawaRange.d.ts +10 -0
- package/es/elements/HawaSearchBar.d.ts +4 -0
- package/es/elements/HawaSelect.d.ts +18 -0
- package/es/elements/HawaSettingsRow.d.ts +7 -0
- package/es/elements/HawaSnackbar.d.ts +9 -0
- package/es/elements/HawaSwitch.d.ts +6 -0
- package/es/elements/HawaTable.d.ts +12 -0
- package/es/elements/HawaTabs.d.ts +8 -0
- package/es/elements/HawaTextField.d.ts +18 -0
- package/es/elements/HawaTooltip.d.ts +7 -0
- package/es/elements/HawaTypography.d.ts +7 -0
- package/es/elements/TabPanel.d.ts +8 -0
- package/es/elements/index.d.ts +30 -0
- package/es/index.d.ts +3 -0
- package/es/index.es.js +1 -1
- package/es/layout/Box.d.ts +2 -0
- package/es/layout/HawaBottomAppBar.d.ts +8 -0
- package/es/layout/HawaContainer.d.ts +7 -0
- package/es/layout/HawaLayout.d.ts +9 -0
- package/es/layout/index.d.ts +4 -0
- package/es/stories/ElementsStories/Buttons.stories.d.ts +23 -0
- package/es/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
- package/es/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
- package/es/util.d.ts +4 -0
- package/lib/blocks/Account/UserProfileForm.d.ts +8 -0
- package/lib/blocks/Account/UserSettingsForm.d.ts +8 -0
- package/lib/blocks/Account/index.d.ts +2 -0
- package/lib/blocks/AuthForms/AppLanding.d.ts +13 -0
- package/lib/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
- package/lib/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
- package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
- package/lib/blocks/AuthForms/SignInForm.d.ts +42 -0
- package/lib/blocks/AuthForms/SignInPhone.d.ts +12 -0
- package/lib/blocks/AuthForms/SignUpForm.d.ts +51 -0
- package/lib/blocks/AuthForms/index.d.ts +7 -0
- package/lib/blocks/Misc/NotFound.d.ts +4 -0
- package/lib/blocks/Misc/index.d.ts +1 -0
- package/lib/blocks/Payment/ChargeWalletForm.d.ts +12 -0
- package/lib/blocks/Payment/CheckoutForm.d.ts +27 -0
- package/lib/blocks/Payment/Confirmation.d.ts +40 -0
- package/lib/blocks/Payment/CreditCardForm.d.ts +7 -0
- package/lib/blocks/Payment/PayWithWallet.d.ts +8 -0
- package/lib/blocks/Payment/SelectPayment.d.ts +26 -0
- package/lib/blocks/Payment/index.d.ts +6 -0
- package/lib/blocks/Pricing/ComparingPlans.d.ts +7 -0
- package/lib/blocks/Pricing/PricingPlans.d.ts +7 -0
- package/lib/blocks/Pricing/index.d.ts +2 -0
- package/lib/blocks/index.d.ts +4 -0
- package/lib/countries.d.ts +2 -0
- package/lib/elements/AutoCompleteField.d.ts +8 -0
- package/lib/elements/DragDropImages.d.ts +17 -0
- package/lib/elements/DraggableCard.d.ts +6 -0
- package/lib/elements/HawaAccordian.d.ts +6 -0
- package/lib/elements/HawaAdCard.d.ts +10 -0
- package/lib/elements/HawaAlert.d.ts +15 -0
- package/lib/elements/HawaButton.d.ts +11 -0
- package/lib/elements/HawaCheckbox.d.ts +9 -0
- package/lib/elements/HawaChip.d.ts +6 -0
- package/lib/elements/HawaColorPicker.d.ts +7 -0
- package/lib/elements/HawaCopyrights.d.ts +8 -0
- package/lib/elements/HawaDrawer.d.ts +13 -0
- package/lib/elements/HawaDrawerItem.d.ts +8 -0
- package/lib/elements/HawaItemCard.d.ts +11 -0
- package/lib/elements/HawaLogoButton.d.ts +9 -0
- package/lib/elements/HawaMenu.d.ts +16 -0
- package/lib/elements/HawaModal.d.ts +12 -0
- package/lib/elements/HawaPanelTabs.d.ts +10 -0
- package/lib/elements/HawaPhoneInput.d.ts +11 -0
- package/lib/elements/HawaPricingCard.d.ts +15 -0
- package/lib/elements/HawaRadio.d.ts +6 -0
- package/lib/elements/HawaRange.d.ts +10 -0
- package/lib/elements/HawaSearchBar.d.ts +4 -0
- package/lib/elements/HawaSelect.d.ts +18 -0
- package/lib/elements/HawaSettingsRow.d.ts +7 -0
- package/lib/elements/HawaSnackbar.d.ts +9 -0
- package/lib/elements/HawaSwitch.d.ts +6 -0
- package/lib/elements/HawaTable.d.ts +12 -0
- package/lib/elements/HawaTabs.d.ts +8 -0
- package/lib/elements/HawaTextField.d.ts +18 -0
- package/lib/elements/HawaTooltip.d.ts +7 -0
- package/lib/elements/HawaTypography.d.ts +7 -0
- package/lib/elements/TabPanel.d.ts +8 -0
- package/lib/elements/index.d.ts +30 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -1
- package/lib/layout/Box.d.ts +2 -0
- package/lib/layout/HawaBottomAppBar.d.ts +8 -0
- package/lib/layout/HawaContainer.d.ts +7 -0
- package/lib/layout/HawaLayout.d.ts +9 -0
- package/lib/layout/index.d.ts +4 -0
- package/lib/stories/ElementsStories/Buttons.stories.d.ts +23 -0
- package/lib/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
- package/lib/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
- package/lib/util.d.ts +4 -0
- package/package.json +1 -1
- package/src/elements/DragDropImages.tsx +32 -26
- package/src/elements/HawaMenu.tsx +59 -43
- package/src/styles.css +57 -8
- package/tailwind.config.js +26 -1
- package/tsconfig.json +1 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const ButtonVariationsStory: {
|
|
5
|
+
(): JSX.Element;
|
|
6
|
+
storyName: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const ButtonLoadingStory: {
|
|
9
|
+
(): JSX.Element;
|
|
10
|
+
storyName: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const ButtonWidthStory: {
|
|
13
|
+
(): JSX.Element;
|
|
14
|
+
storyName: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const ButtonSizesStory: {
|
|
17
|
+
(): JSX.Element;
|
|
18
|
+
storyName: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const ButtonIconsStory: {
|
|
21
|
+
(): JSX.Element;
|
|
22
|
+
storyName: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Plain: any;
|
|
5
|
+
export declare const Success: any;
|
|
6
|
+
export declare const Warning: any;
|
|
7
|
+
export declare const Info: any;
|
|
8
|
+
export declare const Error: any;
|
package/lib/util.d.ts
ADDED
package/package.json
CHANGED
|
@@ -96,14 +96,15 @@ export const DragDropImages: React.FunctionComponent<DragDropImagesTypes> = ({
|
|
|
96
96
|
}, [maxSize])
|
|
97
97
|
const errs = fileRejections.map((rej, i) => {
|
|
98
98
|
return (
|
|
99
|
-
<
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
<HawaAlert
|
|
100
|
+
text={rej.file.name}
|
|
101
|
+
title={rej.errors[0].code}
|
|
102
|
+
severity="error"
|
|
103
|
+
/>
|
|
103
104
|
)
|
|
104
105
|
})
|
|
105
106
|
const thumbs = files?.map((file: any, index: any) => (
|
|
106
|
-
<div
|
|
107
|
+
<div className="relative m-3 rounded-lg">
|
|
107
108
|
<button
|
|
108
109
|
onClick={(e) => {
|
|
109
110
|
e.stopPropagation()
|
|
@@ -112,7 +113,7 @@ export const DragDropImages: React.FunctionComponent<DragDropImagesTypes> = ({
|
|
|
112
113
|
onDeleteFile(file)
|
|
113
114
|
}}
|
|
114
115
|
type="button"
|
|
115
|
-
className="absolute left-0 ml-auto inline-flex items-center rounded-lg bg-gray-900 p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
116
|
+
className="absolute left-0 ml-auto inline-flex items-center rounded-lg rounded-tr-none rounded-bl-none bg-gray-900 p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
116
117
|
data-modal-toggle="defaultModal"
|
|
117
118
|
>
|
|
118
119
|
<svg
|
|
@@ -144,6 +145,7 @@ export const DragDropImages: React.FunctionComponent<DragDropImagesTypes> = ({
|
|
|
144
145
|
backgroundPosition: "center",
|
|
145
146
|
border: "1px solid black",
|
|
146
147
|
}}
|
|
148
|
+
className="rounded-lg"
|
|
147
149
|
key={file.name}
|
|
148
150
|
/>
|
|
149
151
|
</div>
|
|
@@ -165,37 +167,41 @@ export const DragDropImages: React.FunctionComponent<DragDropImagesTypes> = ({
|
|
|
165
167
|
Click here or drop files here to upload
|
|
166
168
|
</div>
|
|
167
169
|
<div className="p-1 text-center">Max file size is {max}</div>
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
e
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
170
|
+
<div className="flex justify-center ">
|
|
171
|
+
{acceptedFiles.length > 0 && (
|
|
172
|
+
<HawaButton
|
|
173
|
+
// style={{ color: "black" }}
|
|
174
|
+
onClick={(e) => {
|
|
175
|
+
e.stopPropagation()
|
|
176
|
+
onClearFiles(acceptedFiles)
|
|
177
|
+
}}
|
|
178
|
+
>
|
|
179
|
+
Clear All
|
|
180
|
+
</HawaButton>
|
|
181
|
+
)}
|
|
182
|
+
</div>
|
|
180
183
|
{thumbs && showPreview ? (
|
|
181
184
|
<aside
|
|
182
185
|
style={{
|
|
183
186
|
display: "flex",
|
|
184
187
|
flexDirection: "row",
|
|
185
188
|
flexWrap: "wrap",
|
|
186
|
-
marginTop: 10,
|
|
189
|
+
// marginTop: 10,
|
|
187
190
|
}}
|
|
191
|
+
className="rounded-lg border-red-500"
|
|
188
192
|
>
|
|
189
193
|
{thumbs}
|
|
190
194
|
</aside>
|
|
191
195
|
) : null}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
<div className="px-2">
|
|
197
|
+
{fileRejections[0]?.errors[0]?.code === "too-many-files" ? (
|
|
198
|
+
<HawaAlert text={texts.tooManyFiles} severity="error" />
|
|
199
|
+
) : fileRejections[0]?.errors[0]?.code === "file-too-large" ? (
|
|
200
|
+
<HawaAlert text={texts.fileTooLarge} severity="error" />
|
|
201
|
+
) : (
|
|
202
|
+
errs
|
|
203
|
+
)}
|
|
204
|
+
</div>
|
|
199
205
|
{}
|
|
200
206
|
</div>
|
|
201
207
|
)
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import clsx from "clsx"
|
|
2
|
+
import React from "react"
|
|
1
3
|
|
|
2
4
|
type MenuTypes = {
|
|
3
5
|
popMenuID: any
|
|
@@ -14,10 +16,11 @@ type MenuTypes = {
|
|
|
14
16
|
open: any
|
|
15
17
|
handleClose: any
|
|
16
18
|
anchor: any
|
|
19
|
+
children: any
|
|
20
|
+
buttonPosition: "top-right" | "top-left" | "bottom-right" | "bottom-left"
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
export const HawaMenu: React.FunctionComponent<MenuTypes> = ({
|
|
20
|
-
popMenuID,
|
|
21
24
|
menuItems,
|
|
22
25
|
withHeader,
|
|
23
26
|
withIcons,
|
|
@@ -25,50 +28,63 @@ export const HawaMenu: React.FunctionComponent<MenuTypes> = ({
|
|
|
25
28
|
headerSubtitle,
|
|
26
29
|
open,
|
|
27
30
|
handleClose,
|
|
31
|
+
buttonPosition,
|
|
32
|
+
children,
|
|
28
33
|
}) => {
|
|
34
|
+
let defaultStyles =
|
|
35
|
+
"absolute z-10 w-44 divide-y divide-gray-100 overflow-y-clip rounded-lg bg-white shadow transition-all dark:bg-gray-700"
|
|
36
|
+
let positionStyles = {
|
|
37
|
+
"top-right": "top-30 right-0",
|
|
38
|
+
"top-left": "top-30 left-0",
|
|
39
|
+
"bottom-right": "bottom-30 right-0",
|
|
40
|
+
"bottom-left": "bottom-30 left-0",
|
|
41
|
+
}
|
|
42
|
+
let animationStyles = {
|
|
43
|
+
opened: "max-h-72 animate-expandDown",
|
|
44
|
+
closed: "max-h-0 opacity-0 animate-expandUp",
|
|
45
|
+
}
|
|
29
46
|
return (
|
|
30
|
-
<div>
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
})}
|
|
47
|
+
<div className="">
|
|
48
|
+
<div className="relative w-fit" onClick={() => handleClose(!open)}>
|
|
49
|
+
{children}
|
|
50
|
+
|
|
51
|
+
<div
|
|
52
|
+
className={clsx(
|
|
53
|
+
defaultStyles,
|
|
54
|
+
positionStyles[buttonPosition],
|
|
55
|
+
open ? animationStyles.opened : animationStyles.closed
|
|
56
|
+
)}
|
|
57
|
+
>
|
|
58
|
+
{withHeader && (
|
|
59
|
+
<div className="py-3 px-4 text-sm text-gray-900 dark:text-white">
|
|
60
|
+
<div>{headerTitle}</div>
|
|
61
|
+
<div className="truncate font-medium">{headerSubtitle}</div>
|
|
62
|
+
</div>
|
|
63
|
+
)}
|
|
64
|
+
{menuItems.map((group: any) => {
|
|
65
|
+
return (
|
|
66
|
+
<ul className="py-1 text-sm text-gray-700 dark:text-gray-200">
|
|
67
|
+
{group.map((item: any) => {
|
|
68
|
+
return (
|
|
69
|
+
<li
|
|
70
|
+
onClick={item.action}
|
|
71
|
+
className={
|
|
72
|
+
item.button
|
|
73
|
+
? "mx-1 flex cursor-pointer flex-row items-center rounded-lg bg-primary-500 py-2 px-4 text-white hover:bg-primary-600 rtl:flex-row-reverse dark:hover:bg-primary-600 dark:hover:text-white"
|
|
74
|
+
: "mx-1 flex cursor-pointer flex-row items-center rounded-lg py-2 px-4 hover:bg-gray-100 rtl:flex-row-reverse dark:hover:bg-gray-600 dark:hover:text-white"
|
|
75
|
+
}
|
|
76
|
+
>
|
|
77
|
+
{withIcons && (
|
|
78
|
+
<div className="mr-2 rtl:ml-2">{item.icon}</div>
|
|
79
|
+
)}
|
|
80
|
+
{item.label}
|
|
81
|
+
</li>
|
|
82
|
+
)
|
|
83
|
+
})}
|
|
84
|
+
</ul>
|
|
85
|
+
)
|
|
86
|
+
})}
|
|
87
|
+
</div>
|
|
72
88
|
</div>
|
|
73
89
|
</div>
|
|
74
90
|
)
|
package/src/styles.css
CHANGED
|
@@ -559,6 +559,9 @@ video {
|
|
|
559
559
|
.z-40 {
|
|
560
560
|
z-index: 40;
|
|
561
561
|
}
|
|
562
|
+
.m-3 {
|
|
563
|
+
margin: 0.75rem;
|
|
564
|
+
}
|
|
562
565
|
.m-2 {
|
|
563
566
|
margin: 0.5rem;
|
|
564
567
|
}
|
|
@@ -702,6 +705,15 @@ video {
|
|
|
702
705
|
.h-12 {
|
|
703
706
|
height: 3rem;
|
|
704
707
|
}
|
|
708
|
+
.h-96 {
|
|
709
|
+
height: 24rem;
|
|
710
|
+
}
|
|
711
|
+
.max-h-72 {
|
|
712
|
+
max-height: 18rem;
|
|
713
|
+
}
|
|
714
|
+
.max-h-0 {
|
|
715
|
+
max-height: 0px;
|
|
716
|
+
}
|
|
705
717
|
.max-h-fit {
|
|
706
718
|
max-height: -moz-fit-content;
|
|
707
719
|
max-height: fit-content;
|
|
@@ -813,6 +825,34 @@ video {
|
|
|
813
825
|
.animate-spin {
|
|
814
826
|
animation: spin 1s linear infinite;
|
|
815
827
|
}
|
|
828
|
+
@keyframes expandDown {
|
|
829
|
+
|
|
830
|
+
0% {
|
|
831
|
+
max-height: 0;
|
|
832
|
+
height: 0;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
100% {
|
|
836
|
+
max-height: 100px;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
.animate-expandDown {
|
|
840
|
+
animation: expandDown 100ms linear;
|
|
841
|
+
}
|
|
842
|
+
@keyframes expandUp {
|
|
843
|
+
|
|
844
|
+
0% {
|
|
845
|
+
max-height: 100px;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
100% {
|
|
849
|
+
max-height: 0;
|
|
850
|
+
height: 0;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
.animate-expandUp {
|
|
854
|
+
animation: expandUp 100ms linear;
|
|
855
|
+
}
|
|
816
856
|
.cursor-default {
|
|
817
857
|
cursor: default;
|
|
818
858
|
}
|
|
@@ -924,6 +964,9 @@ video {
|
|
|
924
964
|
.overflow-x-hidden {
|
|
925
965
|
overflow-x: hidden;
|
|
926
966
|
}
|
|
967
|
+
.overflow-y-clip {
|
|
968
|
+
overflow-y: clip;
|
|
969
|
+
}
|
|
927
970
|
.truncate {
|
|
928
971
|
overflow: hidden;
|
|
929
972
|
text-overflow: ellipsis;
|
|
@@ -972,6 +1015,12 @@ video {
|
|
|
972
1015
|
border-top-left-radius: 0px;
|
|
973
1016
|
border-bottom-left-radius: 0px;
|
|
974
1017
|
}
|
|
1018
|
+
.rounded-tr-none {
|
|
1019
|
+
border-top-right-radius: 0px;
|
|
1020
|
+
}
|
|
1021
|
+
.rounded-bl-none {
|
|
1022
|
+
border-bottom-left-radius: 0px;
|
|
1023
|
+
}
|
|
975
1024
|
.rounded-bl-lg {
|
|
976
1025
|
border-bottom-left-radius: 0.5rem;
|
|
977
1026
|
}
|
|
@@ -1021,6 +1070,10 @@ video {
|
|
|
1021
1070
|
--tw-border-opacity: 1;
|
|
1022
1071
|
border-color: rgb(0 0 0 / var(--tw-border-opacity));
|
|
1023
1072
|
}
|
|
1073
|
+
.border-red-500 {
|
|
1074
|
+
--tw-border-opacity: 1;
|
|
1075
|
+
border-color: rgb(239 68 68 / var(--tw-border-opacity));
|
|
1076
|
+
}
|
|
1024
1077
|
.border-gray-200 {
|
|
1025
1078
|
--tw-border-opacity: 1;
|
|
1026
1079
|
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
@@ -1099,10 +1152,6 @@ video {
|
|
|
1099
1152
|
--tw-bg-opacity: 1;
|
|
1100
1153
|
background-color: rgb(163 208 57 / var(--tw-bg-opacity));
|
|
1101
1154
|
}
|
|
1102
|
-
.bg-blue-700 {
|
|
1103
|
-
--tw-bg-opacity: 1;
|
|
1104
|
-
background-color: rgb(29 78 216 / var(--tw-bg-opacity));
|
|
1105
|
-
}
|
|
1106
1155
|
.bg-primary-500 {
|
|
1107
1156
|
--tw-bg-opacity: 1;
|
|
1108
1157
|
background-color: rgb(61 147 249 / var(--tw-bg-opacity));
|
|
@@ -1149,6 +1198,10 @@ video {
|
|
|
1149
1198
|
.p-10 {
|
|
1150
1199
|
padding: 2.5rem;
|
|
1151
1200
|
}
|
|
1201
|
+
.px-2 {
|
|
1202
|
+
padding-left: 0.5rem;
|
|
1203
|
+
padding-right: 0.5rem;
|
|
1204
|
+
}
|
|
1152
1205
|
.px-2\.5 {
|
|
1153
1206
|
padding-left: 0.625rem;
|
|
1154
1207
|
padding-right: 0.625rem;
|
|
@@ -1157,10 +1210,6 @@ video {
|
|
|
1157
1210
|
padding-top: 0.125rem;
|
|
1158
1211
|
padding-bottom: 0.125rem;
|
|
1159
1212
|
}
|
|
1160
|
-
.px-2 {
|
|
1161
|
-
padding-left: 0.5rem;
|
|
1162
|
-
padding-right: 0.5rem;
|
|
1163
|
-
}
|
|
1164
1213
|
.py-0 {
|
|
1165
1214
|
padding-top: 0px;
|
|
1166
1215
|
padding-bottom: 0px;
|
package/tailwind.config.js
CHANGED
|
@@ -23,10 +23,35 @@ module.exports = {
|
|
|
23
23
|
"50%": { transform: "scaleY(0)" },
|
|
24
24
|
"60%": { transform: "scaleY(0)" }
|
|
25
25
|
// "100%": { transform: "scaleY(1)" },
|
|
26
|
+
},
|
|
27
|
+
expandDown: {
|
|
28
|
+
"0%": {
|
|
29
|
+
// opacity: 0,
|
|
30
|
+
"max-height": 0,
|
|
31
|
+
height: 0
|
|
32
|
+
},
|
|
33
|
+
"100%": {
|
|
34
|
+
// opacity: 1,
|
|
35
|
+
"max-height": 100
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
expandUp: {
|
|
39
|
+
"0%": {
|
|
40
|
+
// opacity: 1,
|
|
41
|
+
maxHeight: 100
|
|
42
|
+
},
|
|
43
|
+
"100%": {
|
|
44
|
+
// opacity: 0,
|
|
45
|
+
maxHeight: 0,
|
|
46
|
+
height: 0
|
|
47
|
+
}
|
|
26
48
|
}
|
|
27
49
|
},
|
|
50
|
+
|
|
28
51
|
animation: {
|
|
29
|
-
|
|
52
|
+
collapse: "collapse",
|
|
53
|
+
expandDown: "expandDown 100ms linear",
|
|
54
|
+
expandUp: "expandUp 100ms linear"
|
|
30
55
|
},
|
|
31
56
|
colors: {
|
|
32
57
|
primary: {
|