@okam/stack-ui 1.5.4 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/index.js +4536 -1
- package/package.json +12 -17
- package/ArrowDown-9b1b176b.js +0 -1
- package/ArrowDown-f4c12edc.mjs +0 -8
- package/ArrowLeft-226e5422.mjs +0 -11
- package/ArrowLeft-6a58207a.js +0 -1
- package/BrandArrowRight-44e78e98.js +0 -1
- package/BrandArrowRight-aadc82d8.mjs +0 -8
- package/Check-b22b3073.js +0 -1
- package/Check-c92e4947.mjs +0 -8
- package/ChevronLeft-0ee8e255.js +0 -1
- package/ChevronLeft-2a11d142.mjs +0 -8
- package/ChevronRight-4a7c595f.js +0 -1
- package/ChevronRight-d407c6f0.mjs +0 -8
- package/CloseBtn-3c03b6b2.mjs +0 -14
- package/CloseBtn-5e73438b.js +0 -1
- package/Facebook-157bec83.mjs +0 -14
- package/Facebook-e7dc014d.js +0 -1
- package/FacebookColored-2159d2c9.js +0 -1
- package/FacebookColored-f8b1a60a.mjs +0 -16
- package/Globe-5b64401e.js +0 -1
- package/Globe-dece4147.mjs +0 -49
- package/Instagram-76bf05be.mjs +0 -11
- package/Instagram-81725dd1.js +0 -1
- package/InstagramColored-248cc836.js +0 -1
- package/InstagramColored-5760e350.mjs +0 -74
- package/Link-1a0e2b36.js +0 -1
- package/Link-78e9bc21.mjs +0 -11
- package/Mail-8374e9a1.js +0 -1
- package/Mail-b735f7c3.mjs +0 -13
- package/Plus-34ce3348.mjs +0 -20
- package/Plus-f1ba4bbe.js +0 -1
- package/Share-0bcc057d.js +0 -1
- package/Share-dd36b6cf.mjs +0 -16
- package/Twitter-9fb98811.mjs +0 -16
- package/Twitter-a764f46c.js +0 -1
- package/TwitterColored-279eb8bc.js +0 -1
- package/TwitterColored-8f0736b9.mjs +0 -16
- package/Upload-340f5981.js +0 -1
- package/Upload-fa3da055.mjs +0 -14
- package/YouTube-58f80448.js +0 -1
- package/YouTube-d93d2db6.mjs +0 -16
- package/YouTubeColored-8cd7d62c.js +0 -1
- package/YouTubeColored-94ba7279.mjs +0 -17
- package/components/Accordion/index.d.ts +0 -3
- package/components/Accordion/interface.d.ts +0 -16
- package/components/Box/index.d.ts +0 -5
- package/components/Box/interface.d.ts +0 -11
- package/components/Button/index.d.ts +0 -5
- package/components/Button/interface.d.ts +0 -16
- package/components/Calendar/components/CalendarCell.d.ts +0 -3
- package/components/Calendar/components/CalendarGrid.d.ts +0 -3
- package/components/Calendar/index.d.ts +0 -3
- package/components/Calendar/interface.d.ts +0 -32
- package/components/Date/index.d.ts +0 -3
- package/components/Date/interface.d.ts +0 -6
- package/components/Dialog/index.d.ts +0 -2
- package/components/Dialog/interface.d.ts +0 -6
- package/components/Icon/index.d.ts +0 -3
- package/components/Icon/interface.d.ts +0 -7
- package/components/Lightbox/hooks/overlay/index.d.ts +0 -12
- package/components/Lightbox/hooks/overlay/interface.d.ts +0 -2
- package/components/Lightbox/index.d.ts +0 -3
- package/components/Lightbox/interface.d.ts +0 -20
- package/components/Modal/Dialog.d.ts +0 -3
- package/components/Modal/index.d.ts +0 -3
- package/components/Modal/interface.d.ts +0 -11
- package/components/Popover/index.d.ts +0 -10
- package/components/Popover/interface.d.ts +0 -11
- package/components/ShareButton/index.d.ts +0 -4
- package/components/ShareButton/interface.d.ts +0 -23
- package/components/ShareButton/utils/generateUtmTags.d.ts +0 -2
- package/components/ShareButton/utils/useFacebookShareUrl.d.ts +0 -2
- package/components/ShareButton/utils/useMailToShareUrl.d.ts +0 -2
- package/components/ShareButton/utils/useTwitterShareUrl.d.ts +0 -2
- package/components/ShareButton/utils/useWindow.d.ts +0 -5
- package/components/SidePanel/index.d.ts +0 -4
- package/components/SidePanel/interface.d.ts +0 -9
- package/components/Typography/index.d.ts +0 -5
- package/components/Typography/interface.d.ts +0 -10
- package/components/WysiwygBlock/index.d.ts +0 -3
- package/components/WysiwygBlock/interface.d.ts +0 -5
- package/components/fields/Checkbox/Checkbox.interface.d.ts +0 -24
- package/components/fields/Checkbox/index.d.ts +0 -3
- package/components/fields/DatePicker/components/CalendarPopover.d.ts +0 -2
- package/components/fields/DatePicker/components/DateField.d.ts +0 -4
- package/components/fields/DatePicker/index.d.ts +0 -3
- package/components/fields/DatePicker/interface.d.ts +0 -37
- package/components/fields/Select/Select.d.ts +0 -4
- package/components/fields/Select/Select.interface.d.ts +0 -21
- package/components/fields/Select/components/Listbox.d.ts +0 -4
- package/components/fields/Select/components/Listbox.interface.d.ts +0 -12
- package/components/fields/Select/components/Popover.d.ts +0 -3
- package/components/fields/Select/components/Popover.interface.d.ts +0 -12
- package/components/fields/TextArea/index.d.ts +0 -3
- package/components/fields/TextArea/interface.d.ts +0 -17
- package/components/fields/TextInputField/index.d.ts +0 -4
- package/components/fields/TextInputField/interface.d.ts +0 -23
- package/components/icons/ArrowDown.d.ts +0 -3
- package/components/icons/ArrowLeft.d.ts +0 -3
- package/components/icons/ArrowRight.d.ts +0 -3
- package/components/icons/BrandArrowRight.d.ts +0 -3
- package/components/icons/Check.d.ts +0 -3
- package/components/icons/ChevronLeft.d.ts +0 -3
- package/components/icons/ChevronRight.d.ts +0 -3
- package/components/icons/CloseBtn.d.ts +0 -3
- package/components/icons/Facebook.d.ts +0 -3
- package/components/icons/FacebookColored.d.ts +0 -3
- package/components/icons/Globe.d.ts +0 -3
- package/components/icons/IconFallback.d.ts +0 -3
- package/components/icons/Instagram.d.ts +0 -3
- package/components/icons/InstagramColored.d.ts +0 -3
- package/components/icons/Link.d.ts +0 -3
- package/components/icons/Mail.d.ts +0 -3
- package/components/icons/Plus.d.ts +0 -3
- package/components/icons/Share.d.ts +0 -3
- package/components/icons/Twitter.d.ts +0 -3
- package/components/icons/TwitterColored.d.ts +0 -3
- package/components/icons/Upload.d.ts +0 -3
- package/components/icons/YouTube.d.ts +0 -3
- package/components/icons/YouTubeColored.d.ts +0 -3
- package/index-da82ee01.mjs +0 -20917
- package/index-fdc007eb.js +0 -75
- package/index.d.ts +0 -32
- package/index.mjs +0 -44
- package/providers/Client/index.d.ts +0 -4
- package/providers/Client/interface.d.ts +0 -10
- package/providers/SidePanel/index.d.ts +0 -4
- package/providers/SidePanel/interface.d.ts +0 -17
- package/providers/Theme/hooks.d.ts +0 -3
- package/providers/Theme/index.d.ts +0 -10
- package/providers/Theme/interface.d.ts +0 -23
- package/providers/Theme/utils.d.ts +0 -2
- package/theme/Accordion/index.d.ts +0 -154
- package/theme/Box/index.d.ts +0 -100
- package/theme/Button/index.d.ts +0 -70
- package/theme/Calendar/index.d.ts +0 -237
- package/theme/Checkbox/index.d.ts +0 -75
- package/theme/DatePicker/index.d.ts +0 -51
- package/theme/LightBox/index.d.ts +0 -143
- package/theme/ShareButton/index.d.ts +0 -110
- package/theme/SidePanel/index.d.ts +0 -15
- package/theme/TextArea/index.d.ts +0 -17
- package/theme/Typography/index.d.ts +0 -134
- package/theme/index.d.ts +0 -5
- package/transitions/ModalTransition.d.ts +0 -7
- package/transitions/RenderWithSlide.d.ts +0 -7
- package/transitions/SidePanelTransition.d.ts +0 -7
- package/types/components.d.ts +0 -23
package/index.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export { default as ThemeProvider } from './theme';
|
|
2
|
-
export { default as Typography } from './components/Typography';
|
|
3
|
-
export { default as Accordion } from './components/Accordion';
|
|
4
|
-
export { default as Button, ButtonWithForwardRef } from './components/Button';
|
|
5
|
-
export { default as ShareButton } from './components/ShareButton';
|
|
6
|
-
export { default as SidePanel } from './components/SidePanel';
|
|
7
|
-
export { default as Lightbox } from './components/Lightbox';
|
|
8
|
-
export { default as Popover } from './components/Popover';
|
|
9
|
-
export { default as WysiwygBlock } from './components/WysiwygBlock';
|
|
10
|
-
export { default as ArrowRight } from './components/icons/ArrowRight';
|
|
11
|
-
export { default as Icon } from './components/Icon';
|
|
12
|
-
export { default as Date } from './components/Date';
|
|
13
|
-
export { default as Select, ReactHookFormSelect } from './components/fields/Select/Select';
|
|
14
|
-
export { default as Checkbox } from './components/fields/Checkbox';
|
|
15
|
-
export { default as TextArea } from './components/fields/TextArea';
|
|
16
|
-
export { default as TextInputField, ReactHookFormInput } from './components/fields/TextInputField';
|
|
17
|
-
export { default as DatePicker } from './components/fields/DatePicker';
|
|
18
|
-
export { default as Box, BoxWithForwardRef } from './components/Box';
|
|
19
|
-
export { default as Calendar } from './components/Calendar';
|
|
20
|
-
export { default as Modal } from './components/Modal';
|
|
21
|
-
export { makeTheme, createThemeProvider, useTheme, ThemeContextProvider } from './providers/Theme';
|
|
22
|
-
export { default as useThemeContext } from './providers/Theme/hooks';
|
|
23
|
-
export { useIsClient, IsClientContextProvider } from './providers/Client';
|
|
24
|
-
export { useSidePanel, SidePanelContextProvider } from './providers/SidePanel';
|
|
25
|
-
export type { TButtonProps } from './components/Button/interface';
|
|
26
|
-
export type { TTypographyProps } from './components/Typography/interface';
|
|
27
|
-
export type { TTheme, TToken, TCustomTheme, TStyle, TDefaultTheme, TStyleCollection, TStyleValue, } from './providers/Theme/interface';
|
|
28
|
-
export { default as generateUtmTags } from './components/ShareButton/utils/generateUtmTags';
|
|
29
|
-
export { default as useWindow } from './components/ShareButton/utils/useWindow';
|
|
30
|
-
export { default as useFacebookShareUrl } from './components/ShareButton/utils/useFacebookShareUrl';
|
|
31
|
-
export { default as useMailToShareUrl } from './components/ShareButton/utils/useMailToShareUrl';
|
|
32
|
-
export { default as useTwitterShareUrl } from './components/ShareButton/utils/useTwitterShareUrl';
|
package/index.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
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-da82ee01.mjs";
|
|
2
|
-
import "react";
|
|
3
|
-
import "react/jsx-runtime";
|
|
4
|
-
import "react-dom";
|
|
5
|
-
export {
|
|
6
|
-
t as Accordion,
|
|
7
|
-
i as ArrowRight,
|
|
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,
|
|
18
|
-
p as Lightbox,
|
|
19
|
-
S as Modal,
|
|
20
|
-
C as Popover,
|
|
21
|
-
k as ReactHookFormInput,
|
|
22
|
-
g as ReactHookFormSelect,
|
|
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,
|
|
31
|
-
b as Typography,
|
|
32
|
-
f as WysiwygBlock,
|
|
33
|
-
A as createThemeProvider,
|
|
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
|
|
44
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { TSidePanelContext, TSidePanelProviderProps } from './interface';
|
|
2
|
-
declare const useSidePanel: () => TSidePanelContext;
|
|
3
|
-
export { useSidePanel };
|
|
4
|
-
export declare function SidePanelContextProvider({ children, defaultSelectedKey }: TSidePanelProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { OverlayTriggerState } from '@react-stately/overlays';
|
|
2
|
-
import type React from 'react';
|
|
3
|
-
export type TSidePanelProviderProps = {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
defaultSelectedKey: string;
|
|
6
|
-
};
|
|
7
|
-
export type TButtonProps = {
|
|
8
|
-
closeButtonProps: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
9
|
-
closeButtonRef: React.MutableRefObject<null>;
|
|
10
|
-
openButtonProps: React.HTMLAttributes<HTMLDivElement>;
|
|
11
|
-
openButtonRef: React.MutableRefObject<null>;
|
|
12
|
-
};
|
|
13
|
-
export type TSidePanelContext = {
|
|
14
|
-
defaultSelectedKey: string;
|
|
15
|
-
overlayState: OverlayTriggerState;
|
|
16
|
-
buttonProps: TButtonProps;
|
|
17
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TThemeProviderProps, TThemePanelContext, TTheme } from './interface';
|
|
3
|
-
export declare function createCtxNullable<A extends Record<string, unknown> | null>(): readonly [() => A | null, React.Provider<A | undefined>];
|
|
4
|
-
declare const useTheme: () => TThemePanelContext<TTheme> | null;
|
|
5
|
-
export declare function ThemeContextProvider({ children, brandTheme }: TThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const createThemeProvider: (brandTheme: TTheme) => ({ children }: {
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export { useTheme };
|
|
10
|
-
export { makeTheme } from './utils';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
export type TStyleValue = false | string;
|
|
3
|
-
export type TToken = Record<string, string | boolean>;
|
|
4
|
-
export type TFunc = (props: TToken) => TStyleValue[] | string;
|
|
5
|
-
export type TThemeRecord = Record<string, TFunc>;
|
|
6
|
-
export type TTheme = Record<string, TFunc | TThemeRecord>;
|
|
7
|
-
export type TStyle = Record<string, TStyleValue>;
|
|
8
|
-
export type TCustomTheme = TStyleValue | null | undefined;
|
|
9
|
-
export type TStyleCollection = Record<string, TStyle>;
|
|
10
|
-
export type TDefaultTheme = {
|
|
11
|
-
typography: (props: TToken) => TStyleValue[] | string;
|
|
12
|
-
};
|
|
13
|
-
export type TThemeProviderProps<T = TTheme> = {
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
brandTheme?: T;
|
|
16
|
-
};
|
|
17
|
-
export type TThemePanelContext<T = TTheme> = {
|
|
18
|
-
brandTheme: T;
|
|
19
|
-
};
|
|
20
|
-
export interface ITheme {
|
|
21
|
-
defaultTokens: TToken;
|
|
22
|
-
styles: TStyleCollection;
|
|
23
|
-
}
|
|
@@ -1,154 +0,0 @@
|
|
|
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>;
|
package/theme/Box/index.d.ts
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
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>;
|
package/theme/Button/index.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
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;
|