@okam/stack-ui 1.6.1 → 1.6.2

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.
Files changed (148) hide show
  1. package/ArrowDown-2bdc734f.mjs +7 -0
  2. package/ArrowDown-a6edacd9.js +1 -0
  3. package/ArrowLeft-4eeead7e.js +1 -0
  4. package/ArrowLeft-cfc85f6d.mjs +10 -0
  5. package/BrandArrowRight-686606ab.mjs +7 -0
  6. package/BrandArrowRight-810d374a.js +1 -0
  7. package/Check-5b690106.js +1 -0
  8. package/Check-f0e31d77.mjs +7 -0
  9. package/ChevronLeft-3d464239.js +1 -0
  10. package/ChevronLeft-50f70f08.mjs +7 -0
  11. package/ChevronRight-5709c683.js +1 -0
  12. package/ChevronRight-ea754d4d.mjs +7 -0
  13. package/CloseBtn-2f4aad79.mjs +13 -0
  14. package/CloseBtn-e65fe8bd.js +1 -0
  15. package/Facebook-0c77fec8.mjs +13 -0
  16. package/Facebook-f2646126.js +1 -0
  17. package/FacebookColored-9be40f21.mjs +15 -0
  18. package/FacebookColored-d986225c.js +1 -0
  19. package/Globe-cb458fad.mjs +48 -0
  20. package/Globe-cbe70168.js +1 -0
  21. package/Instagram-2f8ef20d.js +1 -0
  22. package/Instagram-bf4a1667.mjs +10 -0
  23. package/InstagramColored-6a2b2b7a.js +1 -0
  24. package/InstagramColored-c4931693.mjs +73 -0
  25. package/Link-4ef5aaf2.mjs +10 -0
  26. package/Link-db71325e.js +1 -0
  27. package/Mail-a1aec200.js +1 -0
  28. package/Mail-c45e037a.mjs +12 -0
  29. package/Plus-144cf5f8.mjs +19 -0
  30. package/Plus-75849570.js +1 -0
  31. package/Share-608e1dd8.js +1 -0
  32. package/Share-c707352d.mjs +15 -0
  33. package/Twitter-1eb11c0c.js +1 -0
  34. package/Twitter-78d0ccc7.mjs +15 -0
  35. package/TwitterColored-334512f5.mjs +15 -0
  36. package/TwitterColored-8b72aa64.js +1 -0
  37. package/Upload-1f27bbaa.mjs +13 -0
  38. package/Upload-578304b2.js +1 -0
  39. package/YouTube-5dbf2e75.js +1 -0
  40. package/YouTube-782a6434.mjs +15 -0
  41. package/YouTubeColored-45e92b0e.mjs +16 -0
  42. package/YouTubeColored-5baa4a6c.js +1 -0
  43. package/components/Accordion/index.d.ts +3 -0
  44. package/components/Accordion/interface.d.ts +16 -0
  45. package/components/Box/index.d.ts +5 -0
  46. package/components/Box/interface.d.ts +10 -0
  47. package/components/Button/index.d.ts +5 -0
  48. package/components/Button/interface.d.ts +16 -0
  49. package/components/Calendar/components/CalendarCell.d.ts +3 -0
  50. package/components/Calendar/components/CalendarGrid.d.ts +3 -0
  51. package/components/Calendar/index.d.ts +3 -0
  52. package/components/Calendar/interface.d.ts +32 -0
  53. package/components/Date/index.d.ts +3 -0
  54. package/components/Date/interface.d.ts +6 -0
  55. package/components/Dialog/index.d.ts +2 -0
  56. package/components/Dialog/interface.d.ts +6 -0
  57. package/components/Icon/index.d.ts +3 -0
  58. package/components/Icon/interface.d.ts +7 -0
  59. package/components/Lightbox/hooks/overlay/index.d.ts +12 -0
  60. package/components/Lightbox/hooks/overlay/interface.d.ts +2 -0
  61. package/components/Lightbox/index.d.ts +3 -0
  62. package/components/Lightbox/interface.d.ts +20 -0
  63. package/components/Modal/Dialog.d.ts +3 -0
  64. package/components/Modal/index.d.ts +3 -0
  65. package/components/Modal/interface.d.ts +11 -0
  66. package/components/Popover/index.d.ts +10 -0
  67. package/components/Popover/interface.d.ts +11 -0
  68. package/components/ShareButton/index.d.ts +4 -0
  69. package/components/ShareButton/interface.d.ts +23 -0
  70. package/components/ShareButton/utils/generateUtmTags.d.ts +2 -0
  71. package/components/ShareButton/utils/useFacebookShareUrl.d.ts +2 -0
  72. package/components/ShareButton/utils/useMailToShareUrl.d.ts +2 -0
  73. package/components/ShareButton/utils/useTwitterShareUrl.d.ts +2 -0
  74. package/components/ShareButton/utils/useWindow.d.ts +5 -0
  75. package/components/SidePanel/index.d.ts +4 -0
  76. package/components/SidePanel/interface.d.ts +9 -0
  77. package/components/Typography/index.d.ts +5 -0
  78. package/components/Typography/interface.d.ts +9 -0
  79. package/components/WysiwygBlock/index.d.ts +3 -0
  80. package/components/WysiwygBlock/interface.d.ts +5 -0
  81. package/components/fields/Checkbox/Checkbox.interface.d.ts +24 -0
  82. package/components/fields/Checkbox/index.d.ts +3 -0
  83. package/components/fields/DatePicker/components/CalendarPopover.d.ts +2 -0
  84. package/components/fields/DatePicker/components/DateField.d.ts +4 -0
  85. package/components/fields/DatePicker/index.d.ts +3 -0
  86. package/components/fields/DatePicker/interface.d.ts +37 -0
  87. package/components/fields/Select/Select.d.ts +4 -0
  88. package/components/fields/Select/Select.interface.d.ts +21 -0
  89. package/components/fields/Select/components/Listbox.d.ts +4 -0
  90. package/components/fields/Select/components/Listbox.interface.d.ts +12 -0
  91. package/components/fields/Select/components/Popover.d.ts +3 -0
  92. package/components/fields/Select/components/Popover.interface.d.ts +12 -0
  93. package/components/fields/TextArea/index.d.ts +3 -0
  94. package/components/fields/TextArea/interface.d.ts +17 -0
  95. package/components/fields/TextInputField/index.d.ts +4 -0
  96. package/components/fields/TextInputField/interface.d.ts +23 -0
  97. package/components/icons/ArrowDown.d.ts +3 -0
  98. package/components/icons/ArrowLeft.d.ts +3 -0
  99. package/components/icons/ArrowRight.d.ts +3 -0
  100. package/components/icons/BrandArrowRight.d.ts +3 -0
  101. package/components/icons/Check.d.ts +3 -0
  102. package/components/icons/ChevronLeft.d.ts +3 -0
  103. package/components/icons/ChevronRight.d.ts +3 -0
  104. package/components/icons/CloseBtn.d.ts +3 -0
  105. package/components/icons/Facebook.d.ts +3 -0
  106. package/components/icons/FacebookColored.d.ts +3 -0
  107. package/components/icons/Globe.d.ts +3 -0
  108. package/components/icons/IconFallback.d.ts +3 -0
  109. package/components/icons/Instagram.d.ts +3 -0
  110. package/components/icons/InstagramColored.d.ts +3 -0
  111. package/components/icons/Link.d.ts +3 -0
  112. package/components/icons/Mail.d.ts +3 -0
  113. package/components/icons/Plus.d.ts +3 -0
  114. package/components/icons/Share.d.ts +3 -0
  115. package/components/icons/Twitter.d.ts +3 -0
  116. package/components/icons/TwitterColored.d.ts +3 -0
  117. package/components/icons/Upload.d.ts +3 -0
  118. package/components/icons/YouTube.d.ts +3 -0
  119. package/components/icons/YouTubeColored.d.ts +3 -0
  120. package/index.d.ts +32 -0
  121. package/index.js +46 -4536
  122. package/index.mjs +9221 -0
  123. package/package.json +16 -12
  124. package/providers/Client/index.d.ts +4 -0
  125. package/providers/Client/interface.d.ts +10 -0
  126. package/providers/SidePanel/index.d.ts +4 -0
  127. package/providers/SidePanel/interface.d.ts +17 -0
  128. package/providers/Theme/hooks.d.ts +3 -0
  129. package/providers/Theme/index.d.ts +10 -0
  130. package/providers/Theme/interface.d.ts +23 -0
  131. package/providers/Theme/utils.d.ts +2 -0
  132. package/theme/Accordion/index.d.ts +154 -0
  133. package/theme/Box/index.d.ts +100 -0
  134. package/theme/Button/index.d.ts +70 -0
  135. package/theme/Calendar/index.d.ts +237 -0
  136. package/theme/Checkbox/index.d.ts +75 -0
  137. package/theme/DatePicker/index.d.ts +51 -0
  138. package/theme/LightBox/index.d.ts +143 -0
  139. package/theme/ShareButton/index.d.ts +110 -0
  140. package/theme/SidePanel/index.d.ts +15 -0
  141. package/theme/TextArea/index.d.ts +17 -0
  142. package/theme/Typography/index.d.ts +134 -0
  143. package/theme/index.d.ts +5 -0
  144. package/transitions/ModalTransition.d.ts +7 -0
  145. package/transitions/RenderWithSlide.d.ts +7 -0
  146. package/transitions/SidePanelTransition.d.ts +7 -0
  147. package/types/components.d.ts +23 -0
  148. package/README.md +0 -8
package/package.json CHANGED
@@ -1,20 +1,22 @@
1
1
  {
2
2
  "name": "@okam/stack-ui",
3
- "version": "1.6.1",
4
- "types": "./src/index.d.ts",
3
+ "main": "./index.js",
4
+ "version": "1.6.2",
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./index.mjs",
9
+ "require": "./index.js"
10
+ }
11
+ },
5
12
  "publishConfig": {
6
13
  "registry": "https://registry.npmjs.org"
7
14
  },
8
15
  "repository": {
9
16
  "url": "https://github.com/OKAMca/stack.git"
10
17
  },
11
- "module": "./index.js",
12
- "main": "./index.js",
13
- "type": "module",
14
- "dependencies": {},
15
- "peerDependencies": {
18
+ "dependencies": {
16
19
  "@internationalized/date": "3.4.0",
17
- "@okam/core-lib": "1.2.0",
18
20
  "@react-aria/calendar": "3.4.0",
19
21
  "@react-aria/checkbox": "3.9.2",
20
22
  "@react-aria/datepicker": "3.5.0",
@@ -30,7 +32,8 @@
30
32
  "@react-types/dialog": "3.5.3",
31
33
  "@react-types/overlays": "3.8.1",
32
34
  "@react-types/shared": "3.19.0",
33
- "@storybook/client-api": "7.0.25",
35
+ "@tsed/exceptions": "^6.100.3",
36
+ "dequal": "^2.0.0",
34
37
  "isomorphic-dompurify": "0.26.0",
35
38
  "lodash": "4.17.21",
36
39
  "lodash.isequal": "4.5.0",
@@ -41,7 +44,8 @@
41
44
  "react-hook-form": "7.43.0",
42
45
  "react-i18next": "12.1.5",
43
46
  "react-spring": "9.6.1",
44
- "react-stately": "3.25.0",
45
- "tailwind-variants": "0.1.10"
46
- }
47
+ "react-stately": "^3.24.0",
48
+ "tailwind-variants": "^0.1.8"
49
+ },
50
+ "type": "module"
47
51
  }
@@ -0,0 +1,4 @@
1
+ import type { TClientProps, TClientProviderProps } from './interface';
2
+ declare const useIsClient: () => TClientProps;
3
+ export { useIsClient };
4
+ export declare function IsClientContextProvider({ children }: TClientProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import type React from 'react';
2
+ export type TClientProviderProps = {
3
+ children: React.ReactNode;
4
+ };
5
+ export type TClientProps = {
6
+ isClient: boolean;
7
+ };
8
+ export type TClientContext = {
9
+ isClient: boolean;
10
+ };
@@ -0,0 +1,4 @@
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;
@@ -0,0 +1,17 @@
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
+ };
@@ -0,0 +1,3 @@
1
+ import type { TCustomTheme, TToken } from './interface';
2
+ declare const useThemeContext: (func?: string | null, props?: TToken, customTheme?: TCustomTheme) => string | undefined;
3
+ export default useThemeContext;
@@ -0,0 +1,10 @@
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';
@@ -0,0 +1,23 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ import type { TTheme } from './interface';
2
+ export declare const makeTheme: (theme: TTheme) => TTheme;
@@ -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;