@okam/stack-ui 1.5.1 → 1.5.3
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/{ArrowDown-d86c375b.js → ArrowDown-3bfa6bcb.js} +1 -1
- package/{ArrowDown-3fcc21d2.mjs → ArrowDown-5cc91c04.mjs} +1 -1
- package/{ArrowLeft-270c6281.js → ArrowLeft-2fd6ca24.js} +1 -1
- package/{ArrowLeft-f7062072.mjs → ArrowLeft-e596cec4.mjs} +1 -1
- package/{BrandArrowRight-9fe9b317.js → BrandArrowRight-b8636fa7.js} +1 -1
- package/{BrandArrowRight-8d9155c6.mjs → BrandArrowRight-c46acbc0.mjs} +1 -1
- package/{Check-ea628715.js → Check-37311483.js} +1 -1
- package/{Check-9f1e21b7.mjs → Check-3e4d0fd0.mjs} +1 -1
- package/{ChevronLeft-02e9ce36.js → ChevronLeft-5148dd64.js} +1 -1
- package/{ChevronLeft-5cbe8d05.mjs → ChevronLeft-fedd6908.mjs} +1 -1
- package/{ChevronRight-0502f6aa.js → ChevronRight-22385d19.js} +1 -1
- package/{ChevronRight-4a48e57a.mjs → ChevronRight-bceb2aee.mjs} +1 -1
- package/{CloseBtn-f4c900f9.js → CloseBtn-40baf937.js} +1 -1
- package/{CloseBtn-4cd14581.mjs → CloseBtn-564c7c80.mjs} +1 -1
- package/{Facebook-40746ac1.js → Facebook-2941c77d.js} +1 -1
- package/{Facebook-d4816bdc.mjs → Facebook-9cad3546.mjs} +1 -1
- package/{FacebookColored-c657cc79.js → FacebookColored-298e6559.js} +1 -1
- package/{FacebookColored-5cd958a4.mjs → FacebookColored-301801bf.mjs} +1 -1
- package/{Globe-5ce2d913.js → Globe-476eb577.js} +1 -1
- package/{Globe-a6cf0e2c.mjs → Globe-9032be2c.mjs} +1 -1
- package/{Instagram-e2699ba5.mjs → Instagram-9497301d.mjs} +1 -1
- package/{Instagram-a8405182.js → Instagram-c95673fd.js} +1 -1
- package/{InstagramColored-56368129.mjs → InstagramColored-25f7e8cd.mjs} +1 -1
- package/{InstagramColored-5370e6ae.js → InstagramColored-beb2402e.js} +1 -1
- package/{Link-22ff14e3.js → Link-03954330.js} +1 -1
- package/{Link-ce681252.mjs → Link-1658139b.mjs} +1 -1
- package/{Mail-cac65d1c.js → Mail-1fcf7ef6.js} +1 -1
- package/{Mail-cd9799e7.mjs → Mail-414204dd.mjs} +1 -1
- package/{Plus-833cd1a9.mjs → Plus-652b12fe.mjs} +1 -1
- package/{Plus-8c742b40.js → Plus-c614a8d6.js} +1 -1
- package/{Share-98561f32.js → Share-b11f4d4f.js} +1 -1
- package/{Share-d92558f0.mjs → Share-f873b09c.mjs} +1 -1
- package/{Twitter-e3d29c19.js → Twitter-3b596861.js} +1 -1
- package/{Twitter-b7ceb5ab.mjs → Twitter-842aca2c.mjs} +1 -1
- package/{TwitterColored-f8e4eee7.mjs → TwitterColored-b6739045.mjs} +1 -1
- package/{TwitterColored-9a35d580.js → TwitterColored-ef9325be.js} +1 -1
- package/{Upload-3d57628d.js → Upload-2777b103.js} +1 -1
- package/{Upload-38698355.mjs → Upload-ee10032e.mjs} +1 -1
- package/{YouTube-302c72f5.js → YouTube-65ef678d.js} +1 -1
- package/{YouTube-d53b7370.mjs → YouTube-d9797ab0.mjs} +1 -1
- package/{YouTubeColored-be50dad1.js → YouTubeColored-6031da60.js} +1 -1
- package/{YouTubeColored-ac409038.mjs → YouTubeColored-62696ed3.mjs} +1 -1
- package/components/Icon/index.d.ts +1 -1
- package/index-de6017f0.mjs +20917 -0
- package/index-dec8f3fe.js +75 -0
- package/index.d.ts +5 -3
- package/index.js +1 -1
- package/index.mjs +34 -28
- package/package.json +11 -11
- package/providers/Client/index.d.ts +4 -0
- package/providers/Client/interface.d.ts +10 -0
- package/theme/Accordion/index.d.ts +154 -0
- package/theme/Box/index.d.ts +100 -0
- package/theme/Button/index.d.ts +70 -0
- package/theme/Calendar/index.d.ts +237 -0
- package/theme/Checkbox/index.d.ts +75 -0
- package/theme/DatePicker/index.d.ts +51 -0
- package/theme/LightBox/index.d.ts +143 -0
- package/theme/ShareButton/index.d.ts +110 -0
- package/theme/SidePanel/index.d.ts +15 -0
- package/theme/TextArea/index.d.ts +17 -0
- package/theme/Typography/index.d.ts +134 -0
- package/theme/index.d.ts +5 -0
- package/index-3069990a.js +0 -30
- package/index-c159b0a6.mjs +0 -17661
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
export { default as ThemeProvider } from './theme';
|
|
1
2
|
export { default as Typography } from './components/Typography';
|
|
2
3
|
export { default as Accordion } from './components/Accordion';
|
|
3
|
-
export { default as Button } from './components/Button';
|
|
4
|
+
export { default as Button, ButtonWithForwardRef } from './components/Button';
|
|
4
5
|
export { default as ShareButton } from './components/ShareButton';
|
|
5
6
|
export { default as SidePanel } from './components/SidePanel';
|
|
6
7
|
export { default as Lightbox } from './components/Lightbox';
|
|
@@ -17,9 +18,10 @@ export { default as DatePicker } from './components/fields/DatePicker';
|
|
|
17
18
|
export { default as Box, BoxWithForwardRef } from './components/Box';
|
|
18
19
|
export { default as Calendar } from './components/Calendar';
|
|
19
20
|
export { default as Modal } from './components/Modal';
|
|
20
|
-
export { useTheme, ThemeContextProvider } from './providers/Theme';
|
|
21
|
-
export { makeTheme, createThemeProvider } from './providers/Theme';
|
|
21
|
+
export { makeTheme, createThemeProvider, useTheme, ThemeContextProvider } from './providers/Theme';
|
|
22
22
|
export { default as useThemeContext } from './providers/Theme/hooks';
|
|
23
|
+
export { useIsClient, IsClientContextProvider } from './providers/Client';
|
|
24
|
+
export { useSidePanel, SidePanelContextProvider } from './providers/SidePanel';
|
|
23
25
|
export type { TButtonProps } from './components/Button/interface';
|
|
24
26
|
export type { TTypographyProps } from './components/Typography/interface';
|
|
25
27
|
export type { TTheme, TToken, TCustomTheme, TStyle, TDefaultTheme, TStyleCollection, TStyleValue, } from './providers/Theme/interface';
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dec8f3fe.js");require("react");require("react/jsx-runtime");require("react-dom");exports.Accordion=e.Accordion;exports.ArrowRight=e.ArrowRight;exports.Box=e.Box;exports.BoxWithForwardRef=e.BoxWithForwardRef;exports.Button=e.Button;exports.ButtonWithForwardRef=e.ButtonWithForwardRef;exports.Calendar=e.Calendar;exports.Checkbox=e.Checkbox;exports.Date=e.DateComponent;exports.DatePicker=e.DatePicker;exports.Icon=e.IconDispatcher;exports.IsClientContextProvider=e.IsClientContextProvider;exports.Lightbox=e.Lightbox;exports.Modal=e.Modal;exports.Popover=e.PopoverButton;exports.ReactHookFormInput=e.ReactHookFormInput;exports.ReactHookFormSelect=e.ReactHookFormSelect;exports.Select=e.Select;exports.ShareButton=e.ShareButton;exports.SidePanel=e.index$1;exports.SidePanelContextProvider=e.SidePanelContextProvider;exports.TextArea=e.TextArea;exports.TextInputField=e.TextInputField;exports.ThemeContextProvider=e.ThemeContextProvider;exports.ThemeProvider=e.index;exports.Typography=e.Typography;exports.WysiwygBlock=e.WysiwygBlock;exports.createThemeProvider=e.createThemeProvider;exports.generateUtmTags=e.generateUtmTags;exports.makeTheme=e.makeTheme;exports.useFacebookShareUrl=e.useFacebookShareUrl;exports.useIsClient=e.useIsClient;exports.useMailToShareUrl=e.useMailToShareUrl;exports.useSidePanel=e.useSidePanel;exports.useTheme=e.useTheme;exports.useThemeContext=e.useThemeContext;exports.useTwitterShareUrl=e.useTwitterShareUrl;exports.useWindow=e.useWindow;
|
package/index.mjs
CHANGED
|
@@ -1,38 +1,44 @@
|
|
|
1
|
-
import { A as t,
|
|
2
|
-
import "react/jsx-runtime";
|
|
1
|
+
import { A as t, d as i, k as n, l as h, B as d, b as l, m, C as u, D as c, j as T, I as x, s as P, L as p, M as S, P as C, h as k, R as g, e as v, S as w, c as B, v as F, f as I, g as R, p as y, a as W, T as b, W as f, o as A, w as U, n as D, y as M, r as H, z as L, t as j, u as q, q as z, E, x as G } from "./index-de6017f0.mjs";
|
|
3
2
|
import "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
export {
|
|
6
6
|
t as Accordion,
|
|
7
7
|
i as ArrowRight,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
n as Box,
|
|
9
|
+
h as BoxWithForwardRef,
|
|
10
|
+
d as Button,
|
|
11
|
+
l as ButtonWithForwardRef,
|
|
12
|
+
m as Calendar,
|
|
13
|
+
u as Checkbox,
|
|
14
|
+
c as Date,
|
|
15
|
+
T as DatePicker,
|
|
16
|
+
x as Icon,
|
|
17
|
+
P as IsClientContextProvider,
|
|
16
18
|
p as Lightbox,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
S as Modal,
|
|
20
|
+
C as Popover,
|
|
21
|
+
k as ReactHookFormInput,
|
|
20
22
|
g as ReactHookFormSelect,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
R as
|
|
23
|
+
v as Select,
|
|
24
|
+
w as ShareButton,
|
|
25
|
+
B as SidePanel,
|
|
26
|
+
F as SidePanelContextProvider,
|
|
27
|
+
I as TextArea,
|
|
28
|
+
R as TextInputField,
|
|
29
|
+
y as ThemeContextProvider,
|
|
30
|
+
W as ThemeProvider,
|
|
27
31
|
b as Typography,
|
|
28
|
-
|
|
32
|
+
f as WysiwygBlock,
|
|
29
33
|
A as createThemeProvider,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
U as generateUtmTags,
|
|
35
|
+
D as makeTheme,
|
|
36
|
+
M as useFacebookShareUrl,
|
|
37
|
+
H as useIsClient,
|
|
38
|
+
L as useMailToShareUrl,
|
|
39
|
+
j as useSidePanel,
|
|
40
|
+
q as useTheme,
|
|
41
|
+
z as useThemeContext,
|
|
42
|
+
E as useTwitterShareUrl,
|
|
43
|
+
G as useWindow
|
|
38
44
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okam/stack-ui",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,22 +17,22 @@
|
|
|
17
17
|
"url": "https://github.com/OKAMca/stack.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@internationalized/date": "3.
|
|
20
|
+
"@internationalized/date": "3.4.0",
|
|
21
21
|
"@react-aria/calendar": "3.4.0",
|
|
22
22
|
"@react-aria/checkbox": "3.9.2",
|
|
23
23
|
"@react-aria/datepicker": "3.5.0",
|
|
24
24
|
"@react-aria/focus": "3.13.0",
|
|
25
|
-
"@react-aria/i18n": "3.8.
|
|
25
|
+
"@react-aria/i18n": "3.8.1",
|
|
26
26
|
"@react-aria/overlays": "3.15.0",
|
|
27
|
-
"@react-aria/utils": "3.
|
|
27
|
+
"@react-aria/utils": "3.19.0",
|
|
28
28
|
"@react-aria/visually-hidden": "3.8.2",
|
|
29
|
-
"@react-stately/calendar": "3.3.
|
|
30
|
-
"@react-stately/datepicker": "3.
|
|
31
|
-
"@react-stately/overlays": "3.6.
|
|
32
|
-
"@react-stately/toggle": "3.6.
|
|
29
|
+
"@react-stately/calendar": "3.3.1",
|
|
30
|
+
"@react-stately/datepicker": "3.6.0",
|
|
31
|
+
"@react-stately/overlays": "3.6.1",
|
|
32
|
+
"@react-stately/toggle": "3.6.1",
|
|
33
33
|
"@react-types/dialog": "3.5.3",
|
|
34
|
-
"@react-types/overlays": "3.8.
|
|
35
|
-
"@react-types/shared": "3.
|
|
34
|
+
"@react-types/overlays": "3.8.1",
|
|
35
|
+
"@react-types/shared": "3.19.0",
|
|
36
36
|
"@tsed/exceptions": "^6.100.3",
|
|
37
37
|
"dequal": "^2.0.0",
|
|
38
38
|
"isomorphic-dompurify": "0.26.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-hook-form": "7.43.0",
|
|
46
46
|
"react-i18next": "12.1.5",
|
|
47
47
|
"react-spring": "9.6.1",
|
|
48
|
-
"react-stately": "3.
|
|
48
|
+
"react-stately": "^3.24.0",
|
|
49
49
|
"tailwind-variants": "^0.1.8"
|
|
50
50
|
},
|
|
51
51
|
"type": "module"
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { TClientProps, TClientProviderProps } from './interface';
|
|
3
|
+
export declare const useIsClient: () => TClientProps, IsClientProvider: import("react").Provider<TClientProps | undefined>;
|
|
4
|
+
export declare function IsClientContextProvider({ children }: TClientProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export declare const accordionContainer: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
textAlign: {
|
|
3
|
+
center: "text-center";
|
|
4
|
+
left: "text-left";
|
|
5
|
+
};
|
|
6
|
+
}, undefined, "[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500", import("tailwind-variants/dist/config").TVConfig<{
|
|
7
|
+
textAlign: {
|
|
8
|
+
center: "text-center";
|
|
9
|
+
left: "text-left";
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
textAlign: {
|
|
13
|
+
center: "text-center";
|
|
14
|
+
left: "text-left";
|
|
15
|
+
};
|
|
16
|
+
}>, {
|
|
17
|
+
textAlign: {
|
|
18
|
+
center: "text-center";
|
|
19
|
+
left: "text-left";
|
|
20
|
+
};
|
|
21
|
+
}, undefined>;
|
|
22
|
+
export declare const accordionButton: import("tailwind-variants").TVReturnType<{
|
|
23
|
+
titleBold: {
|
|
24
|
+
true: "font-bold";
|
|
25
|
+
};
|
|
26
|
+
textAlign: {
|
|
27
|
+
center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0";
|
|
28
|
+
left: "grid-cols-[1fr_3rem]";
|
|
29
|
+
};
|
|
30
|
+
}, undefined, "grid overflow-hidden w-full items-center border-b-2 border-color-1-500", import("tailwind-variants/dist/config").TVConfig<{
|
|
31
|
+
titleBold: {
|
|
32
|
+
true: "font-bold";
|
|
33
|
+
};
|
|
34
|
+
textAlign: {
|
|
35
|
+
center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0";
|
|
36
|
+
left: "grid-cols-[1fr_3rem]";
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
titleBold: {
|
|
40
|
+
true: "font-bold";
|
|
41
|
+
};
|
|
42
|
+
textAlign: {
|
|
43
|
+
center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0";
|
|
44
|
+
left: "grid-cols-[1fr_3rem]";
|
|
45
|
+
};
|
|
46
|
+
}>, {
|
|
47
|
+
titleBold: {
|
|
48
|
+
true: "font-bold";
|
|
49
|
+
};
|
|
50
|
+
textAlign: {
|
|
51
|
+
center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0";
|
|
52
|
+
left: "grid-cols-[1fr_3rem]";
|
|
53
|
+
};
|
|
54
|
+
}, undefined>;
|
|
55
|
+
export declare const accordionTitle: import("tailwind-variants").TVReturnType<{
|
|
56
|
+
textAlign: {
|
|
57
|
+
center: "justify-self-center col-start-2";
|
|
58
|
+
left: "justify-self-start";
|
|
59
|
+
};
|
|
60
|
+
}, undefined, "", import("tailwind-variants/dist/config").TVConfig<{
|
|
61
|
+
textAlign: {
|
|
62
|
+
center: "justify-self-center col-start-2";
|
|
63
|
+
left: "justify-self-start";
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
textAlign: {
|
|
67
|
+
center: "justify-self-center col-start-2";
|
|
68
|
+
left: "justify-self-start";
|
|
69
|
+
};
|
|
70
|
+
}>, {
|
|
71
|
+
textAlign: {
|
|
72
|
+
center: "justify-self-center col-start-2";
|
|
73
|
+
left: "justify-self-start";
|
|
74
|
+
};
|
|
75
|
+
}, undefined>;
|
|
76
|
+
export declare const accordionIcon: import("tailwind-variants").TVReturnType<{
|
|
77
|
+
isOpen: {
|
|
78
|
+
true: "-rotate-90";
|
|
79
|
+
false: "";
|
|
80
|
+
};
|
|
81
|
+
}, undefined, "text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square", import("tailwind-variants/dist/config").TVConfig<{
|
|
82
|
+
isOpen: {
|
|
83
|
+
true: "-rotate-90";
|
|
84
|
+
false: "";
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
isOpen: {
|
|
88
|
+
true: "-rotate-90";
|
|
89
|
+
false: "";
|
|
90
|
+
};
|
|
91
|
+
}>, {
|
|
92
|
+
isOpen: {
|
|
93
|
+
true: "-rotate-90";
|
|
94
|
+
false: "";
|
|
95
|
+
};
|
|
96
|
+
}, undefined>;
|
|
97
|
+
export declare const accordionRegion: import("tailwind-variants").TVReturnType<{
|
|
98
|
+
isOpen: {
|
|
99
|
+
true: "pb-8 pt-3 grid-rows-[1fr]";
|
|
100
|
+
false: "";
|
|
101
|
+
};
|
|
102
|
+
textAlign: {
|
|
103
|
+
center: "grid-cols-[3rem_1fr_3rem] px-6 text-center";
|
|
104
|
+
left: "grid-cols-[1fr_3rem] text-left";
|
|
105
|
+
};
|
|
106
|
+
}, undefined, "font-body text-inherit h-auto grid grid-rows-[0fr] transition-all duration-500", import("tailwind-variants/dist/config").TVConfig<{
|
|
107
|
+
isOpen: {
|
|
108
|
+
true: "pb-8 pt-3 grid-rows-[1fr]";
|
|
109
|
+
false: "";
|
|
110
|
+
};
|
|
111
|
+
textAlign: {
|
|
112
|
+
center: "grid-cols-[3rem_1fr_3rem] px-6 text-center";
|
|
113
|
+
left: "grid-cols-[1fr_3rem] text-left";
|
|
114
|
+
};
|
|
115
|
+
}, {
|
|
116
|
+
isOpen: {
|
|
117
|
+
true: "pb-8 pt-3 grid-rows-[1fr]";
|
|
118
|
+
false: "";
|
|
119
|
+
};
|
|
120
|
+
textAlign: {
|
|
121
|
+
center: "grid-cols-[3rem_1fr_3rem] px-6 text-center";
|
|
122
|
+
left: "grid-cols-[1fr_3rem] text-left";
|
|
123
|
+
};
|
|
124
|
+
}>, {
|
|
125
|
+
isOpen: {
|
|
126
|
+
true: "pb-8 pt-3 grid-rows-[1fr]";
|
|
127
|
+
false: "";
|
|
128
|
+
};
|
|
129
|
+
textAlign: {
|
|
130
|
+
center: "grid-cols-[3rem_1fr_3rem] px-6 text-center";
|
|
131
|
+
left: "grid-cols-[1fr_3rem] text-left";
|
|
132
|
+
};
|
|
133
|
+
}, undefined>;
|
|
134
|
+
export declare const accordionContent: import("tailwind-variants").TVReturnType<{
|
|
135
|
+
textAlign: {
|
|
136
|
+
center: "col-start-2";
|
|
137
|
+
left: "";
|
|
138
|
+
};
|
|
139
|
+
}, undefined, "overflow-hidden", import("tailwind-variants/dist/config").TVConfig<{
|
|
140
|
+
textAlign: {
|
|
141
|
+
center: "col-start-2";
|
|
142
|
+
left: "";
|
|
143
|
+
};
|
|
144
|
+
}, {
|
|
145
|
+
textAlign: {
|
|
146
|
+
center: "col-start-2";
|
|
147
|
+
left: "";
|
|
148
|
+
};
|
|
149
|
+
}>, {
|
|
150
|
+
textAlign: {
|
|
151
|
+
center: "col-start-2";
|
|
152
|
+
left: "";
|
|
153
|
+
};
|
|
154
|
+
}, undefined>;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export declare const main: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "w-full bg-slate-100"> | {
|
|
2
|
+
[x: string]: {
|
|
3
|
+
[x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "w-full bg-slate-100">;
|
|
4
|
+
} | undefined;
|
|
5
|
+
} | {}, undefined, "w-full bg-slate-100", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "w-full bg-slate-100"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "w-full bg-slate-100"> | {}, undefined>;
|
|
6
|
+
export declare const container: import("tailwind-variants").TVReturnType<{
|
|
7
|
+
fullWidth: {
|
|
8
|
+
true: "max-w-full col-span-full p-0";
|
|
9
|
+
};
|
|
10
|
+
spacing: {
|
|
11
|
+
small: "mb-3";
|
|
12
|
+
medium: "mb-6";
|
|
13
|
+
large: "mb-8";
|
|
14
|
+
none: "mb-0";
|
|
15
|
+
};
|
|
16
|
+
}, undefined, "max-w-screen-lg mx-auto w-full", import("tailwind-variants/dist/config").TVConfig<{
|
|
17
|
+
fullWidth: {
|
|
18
|
+
true: "max-w-full col-span-full p-0";
|
|
19
|
+
};
|
|
20
|
+
spacing: {
|
|
21
|
+
small: "mb-3";
|
|
22
|
+
medium: "mb-6";
|
|
23
|
+
large: "mb-8";
|
|
24
|
+
none: "mb-0";
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
fullWidth: {
|
|
28
|
+
true: "max-w-full col-span-full p-0";
|
|
29
|
+
};
|
|
30
|
+
spacing: {
|
|
31
|
+
small: "mb-3";
|
|
32
|
+
medium: "mb-6";
|
|
33
|
+
large: "mb-8";
|
|
34
|
+
none: "mb-0";
|
|
35
|
+
};
|
|
36
|
+
}>, {
|
|
37
|
+
fullWidth: {
|
|
38
|
+
true: "max-w-full col-span-full p-0";
|
|
39
|
+
};
|
|
40
|
+
spacing: {
|
|
41
|
+
small: "mb-3";
|
|
42
|
+
medium: "mb-6";
|
|
43
|
+
large: "mb-8";
|
|
44
|
+
none: "mb-0";
|
|
45
|
+
};
|
|
46
|
+
}, undefined>;
|
|
47
|
+
export declare const grid: import("tailwind-variants").TVReturnType<{
|
|
48
|
+
fullWidth: {
|
|
49
|
+
true: "max-w-full col-span-full p-0";
|
|
50
|
+
};
|
|
51
|
+
}, undefined, "grid grid-cols-12 gap-6 px-4 col-span-full", import("tailwind-variants/dist/config").TVConfig<{
|
|
52
|
+
fullWidth: {
|
|
53
|
+
true: "max-w-full col-span-full p-0";
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
fullWidth: {
|
|
57
|
+
true: "max-w-full col-span-full p-0";
|
|
58
|
+
};
|
|
59
|
+
spacing: {
|
|
60
|
+
small: "mb-3";
|
|
61
|
+
medium: "mb-6";
|
|
62
|
+
large: "mb-8";
|
|
63
|
+
none: "mb-0";
|
|
64
|
+
};
|
|
65
|
+
}>, {
|
|
66
|
+
fullWidth: {
|
|
67
|
+
true: "max-w-full col-span-full p-0";
|
|
68
|
+
};
|
|
69
|
+
spacing: {
|
|
70
|
+
small: "mb-3";
|
|
71
|
+
medium: "mb-6";
|
|
72
|
+
large: "mb-8";
|
|
73
|
+
none: "mb-0";
|
|
74
|
+
};
|
|
75
|
+
}, undefined>;
|
|
76
|
+
export declare const gridItem: import("tailwind-variants").TVReturnType<{
|
|
77
|
+
size: {
|
|
78
|
+
small: "col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4";
|
|
79
|
+
medium: "col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8";
|
|
80
|
+
large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13";
|
|
81
|
+
};
|
|
82
|
+
}, undefined, "bg-slate-300 h-64 p-4 flex justify-start items-end", import("tailwind-variants/dist/config").TVConfig<{
|
|
83
|
+
size: {
|
|
84
|
+
small: "col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4";
|
|
85
|
+
medium: "col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8";
|
|
86
|
+
large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13";
|
|
87
|
+
};
|
|
88
|
+
}, {
|
|
89
|
+
size: {
|
|
90
|
+
small: "col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4";
|
|
91
|
+
medium: "col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8";
|
|
92
|
+
large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13";
|
|
93
|
+
};
|
|
94
|
+
}>, {
|
|
95
|
+
size: {
|
|
96
|
+
small: "col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4";
|
|
97
|
+
medium: "col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8";
|
|
98
|
+
large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13";
|
|
99
|
+
};
|
|
100
|
+
}, undefined>;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
declare const button: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
buttonStyle: {
|
|
3
|
+
default: "\n px-4\n py-2\n text-white\n !bg-color-1-500 \n hover:!bg-color-1-400\n active:!bg-color-1-400\n ";
|
|
4
|
+
outline: "\n px-4\n py-2\n bg-transparent\n !border-color-1-500\n text-color-1-500\n hover:bg-color-1-500\n hover:text-white\n active:bg-color-1-500\n active:text-white\n ";
|
|
5
|
+
hollow: "\n px-2\n bg-transparent\n text-color-1-500\n hover:border-b-color-1-500\n active:border-b-color-1-500\n focus:border-b-color-1-500\n \n ";
|
|
6
|
+
};
|
|
7
|
+
intent: {
|
|
8
|
+
error: "\n !bg-error \n text-white \n pointer-events-none\n !border-error\n ";
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
default: "min-w-12 min-h-6";
|
|
12
|
+
large: "min-w-36 min-h-18";
|
|
13
|
+
};
|
|
14
|
+
shape: {
|
|
15
|
+
rounded: "rounded-md";
|
|
16
|
+
circular: "rounded-full";
|
|
17
|
+
};
|
|
18
|
+
}, undefined, "\n flex\n items-center\n justify-center\n gap-4\n transition\n duration-300\n ease-in-out\n disabled:pointer-events-none\n disabled:opacity-30\n focus:outline-0\n border-transparent \n border-2\n focus:border-black\n ", import("tailwind-variants/dist/config").TVConfig<{
|
|
19
|
+
buttonStyle: {
|
|
20
|
+
default: "\n px-4\n py-2\n text-white\n !bg-color-1-500 \n hover:!bg-color-1-400\n active:!bg-color-1-400\n ";
|
|
21
|
+
outline: "\n px-4\n py-2\n bg-transparent\n !border-color-1-500\n text-color-1-500\n hover:bg-color-1-500\n hover:text-white\n active:bg-color-1-500\n active:text-white\n ";
|
|
22
|
+
hollow: "\n px-2\n bg-transparent\n text-color-1-500\n hover:border-b-color-1-500\n active:border-b-color-1-500\n focus:border-b-color-1-500\n \n ";
|
|
23
|
+
};
|
|
24
|
+
intent: {
|
|
25
|
+
error: "\n !bg-error \n text-white \n pointer-events-none\n !border-error\n ";
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
default: "min-w-12 min-h-6";
|
|
29
|
+
large: "min-w-36 min-h-18";
|
|
30
|
+
};
|
|
31
|
+
shape: {
|
|
32
|
+
rounded: "rounded-md";
|
|
33
|
+
circular: "rounded-full";
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
buttonStyle: {
|
|
37
|
+
default: "\n px-4\n py-2\n text-white\n !bg-color-1-500 \n hover:!bg-color-1-400\n active:!bg-color-1-400\n ";
|
|
38
|
+
outline: "\n px-4\n py-2\n bg-transparent\n !border-color-1-500\n text-color-1-500\n hover:bg-color-1-500\n hover:text-white\n active:bg-color-1-500\n active:text-white\n ";
|
|
39
|
+
hollow: "\n px-2\n bg-transparent\n text-color-1-500\n hover:border-b-color-1-500\n active:border-b-color-1-500\n focus:border-b-color-1-500\n \n ";
|
|
40
|
+
};
|
|
41
|
+
intent: {
|
|
42
|
+
error: "\n !bg-error \n text-white \n pointer-events-none\n !border-error\n ";
|
|
43
|
+
};
|
|
44
|
+
size: {
|
|
45
|
+
default: "min-w-12 min-h-6";
|
|
46
|
+
large: "min-w-36 min-h-18";
|
|
47
|
+
};
|
|
48
|
+
shape: {
|
|
49
|
+
rounded: "rounded-md";
|
|
50
|
+
circular: "rounded-full";
|
|
51
|
+
};
|
|
52
|
+
}>, {
|
|
53
|
+
buttonStyle: {
|
|
54
|
+
default: "\n px-4\n py-2\n text-white\n !bg-color-1-500 \n hover:!bg-color-1-400\n active:!bg-color-1-400\n ";
|
|
55
|
+
outline: "\n px-4\n py-2\n bg-transparent\n !border-color-1-500\n text-color-1-500\n hover:bg-color-1-500\n hover:text-white\n active:bg-color-1-500\n active:text-white\n ";
|
|
56
|
+
hollow: "\n px-2\n bg-transparent\n text-color-1-500\n hover:border-b-color-1-500\n active:border-b-color-1-500\n focus:border-b-color-1-500\n \n ";
|
|
57
|
+
};
|
|
58
|
+
intent: {
|
|
59
|
+
error: "\n !bg-error \n text-white \n pointer-events-none\n !border-error\n ";
|
|
60
|
+
};
|
|
61
|
+
size: {
|
|
62
|
+
default: "min-w-12 min-h-6";
|
|
63
|
+
large: "min-w-36 min-h-18";
|
|
64
|
+
};
|
|
65
|
+
shape: {
|
|
66
|
+
rounded: "rounded-md";
|
|
67
|
+
circular: "rounded-full";
|
|
68
|
+
};
|
|
69
|
+
}, undefined>;
|
|
70
|
+
export default button;
|