@twreporter/react-typescript-components 0.1.0-beta.10

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 (240) hide show
  1. package/README.md +74 -0
  2. package/lib/button/constants.d.mts +3 -0
  3. package/lib/button/constants.d.ts +3 -0
  4. package/lib/button/constants.js +5 -0
  5. package/lib/button/constants.mjs +3 -0
  6. package/lib/button/index.d.mts +160 -0
  7. package/lib/button/index.d.ts +160 -0
  8. package/lib/button/index.js +13 -0
  9. package/lib/button/index.mjs +7 -0
  10. package/lib/button-DFLYlJJW.js +630 -0
  11. package/lib/button-DFLYlJJW.js.map +1 -0
  12. package/lib/button-DyUYGG90.mjs +591 -0
  13. package/lib/button-DyUYGG90.mjs.map +1 -0
  14. package/lib/chunk-BxBTb9qk.js +39 -0
  15. package/lib/constants/external-links.d.mts +16 -0
  16. package/lib/constants/external-links.d.ts +16 -0
  17. package/lib/constants/external-links.js +3 -0
  18. package/lib/constants/external-links.mjs +3 -0
  19. package/lib/constants/internal-links.d.mts +51 -0
  20. package/lib/constants/internal-links.d.ts +51 -0
  21. package/lib/constants/internal-links.js +3 -0
  22. package/lib/constants/internal-links.mjs +3 -0
  23. package/lib/constants/release-branch.d.mts +3 -0
  24. package/lib/constants/release-branch.d.ts +3 -0
  25. package/lib/constants/release-branch.js +3 -0
  26. package/lib/constants/release-branch.mjs +3 -0
  27. package/lib/constants/request-origins.d.mts +68 -0
  28. package/lib/constants/request-origins.d.ts +68 -0
  29. package/lib/constants/request-origins.js +47 -0
  30. package/lib/constants/request-origins.js.map +1 -0
  31. package/lib/constants/request-origins.mjs +46 -0
  32. package/lib/constants/request-origins.mjs.map +1 -0
  33. package/lib/constants/theme.d.mts +3 -0
  34. package/lib/constants/theme.d.ts +3 -0
  35. package/lib/constants/theme.js +3 -0
  36. package/lib/constants/theme.mjs +3 -0
  37. package/lib/constants-2TRY2zTK.js +38 -0
  38. package/lib/constants-2TRY2zTK.js.map +1 -0
  39. package/lib/constants-BS3rPbaX.d.ts +17 -0
  40. package/lib/constants-BWFuBApI.mjs +14 -0
  41. package/lib/constants-BWFuBApI.mjs.map +1 -0
  42. package/lib/constants-B_NgWFML.d.ts +24 -0
  43. package/lib/constants-BmxSMOOn.js +36 -0
  44. package/lib/constants-BmxSMOOn.js.map +1 -0
  45. package/lib/constants-BqeEbkVD.mjs +20 -0
  46. package/lib/constants-BqeEbkVD.mjs.map +1 -0
  47. package/lib/constants-BswaTS-y.d.mts +29 -0
  48. package/lib/constants-Bz-ufaJ2.js +39 -0
  49. package/lib/constants-Bz-ufaJ2.js.map +1 -0
  50. package/lib/constants-CEyUZ-jZ.d.mts +11 -0
  51. package/lib/constants-CMMcn0f-.d.ts +11 -0
  52. package/lib/constants-CQscYQcW.mjs +25 -0
  53. package/lib/constants-CQscYQcW.mjs.map +1 -0
  54. package/lib/constants-DF_II8Fz.js +43 -0
  55. package/lib/constants-DF_II8Fz.js.map +1 -0
  56. package/lib/constants-DNr36wyK.d.mts +24 -0
  57. package/lib/constants-DQxcqnYL.d.ts +29 -0
  58. package/lib/constants-DRyQ6AuU.js +15 -0
  59. package/lib/constants-DRyQ6AuU.js.map +1 -0
  60. package/lib/constants-K2ObjToq.js +26 -0
  61. package/lib/constants-K2ObjToq.js.map +1 -0
  62. package/lib/constants-OhAETTiQ.d.mts +17 -0
  63. package/lib/constants-QF71lY6v.mjs +34 -0
  64. package/lib/constants-QF71lY6v.mjs.map +1 -0
  65. package/lib/constants-gCmka4Fp.d.ts +22 -0
  66. package/lib/constants-jYAxSTFp.d.mts +22 -0
  67. package/lib/constants-oTHAnh6r.mjs +18 -0
  68. package/lib/constants-oTHAnh6r.mjs.map +1 -0
  69. package/lib/constants-t0lkfgqP.mjs +9 -0
  70. package/lib/constants-t0lkfgqP.mjs.map +1 -0
  71. package/lib/context-BCesW3fW.mjs +24 -0
  72. package/lib/context-BCesW3fW.mjs.map +1 -0
  73. package/lib/context-Bvr0Qj2x.js +37 -0
  74. package/lib/context-Bvr0Qj2x.js.map +1 -0
  75. package/lib/customized-link/external-link.d.mts +3 -0
  76. package/lib/customized-link/external-link.d.ts +3 -0
  77. package/lib/customized-link/external-link.js +3 -0
  78. package/lib/customized-link/external-link.mjs +3 -0
  79. package/lib/customized-link/index.d.mts +13 -0
  80. package/lib/customized-link/index.d.ts +13 -0
  81. package/lib/customized-link/index.js +8 -0
  82. package/lib/customized-link/index.mjs +5 -0
  83. package/lib/customized-link/internal-link.d.mts +3 -0
  84. package/lib/customized-link/internal-link.d.ts +3 -0
  85. package/lib/customized-link/internal-link.js +6 -0
  86. package/lib/customized-link/internal-link.mjs +6 -0
  87. package/lib/customized-link/type.d.mts +2 -0
  88. package/lib/customized-link/type.d.ts +2 -0
  89. package/lib/customized-link/type.js +0 -0
  90. package/lib/customized-link/type.mjs +1 -0
  91. package/lib/customized-link-BkuKVCKQ.mjs +12 -0
  92. package/lib/customized-link-BkuKVCKQ.mjs.map +1 -0
  93. package/lib/customized-link-CK7Xlgdt.js +17 -0
  94. package/lib/customized-link-CK7Xlgdt.js.map +1 -0
  95. package/lib/divider/constants.d.mts +3 -0
  96. package/lib/divider/constants.d.ts +3 -0
  97. package/lib/divider/constants.js +3 -0
  98. package/lib/divider/constants.mjs +3 -0
  99. package/lib/divider/index.d.mts +15 -0
  100. package/lib/divider/index.d.ts +15 -0
  101. package/lib/divider/index.js +6 -0
  102. package/lib/divider/index.mjs +4 -0
  103. package/lib/divider-Bb3tebJO.mjs +15 -0
  104. package/lib/divider-Bb3tebJO.mjs.map +1 -0
  105. package/lib/divider-b3Shh7FV.js +29 -0
  106. package/lib/divider-b3Shh7FV.js.map +1 -0
  107. package/lib/dropdown-menu/index.d.mts +17 -0
  108. package/lib/dropdown-menu/index.d.ts +17 -0
  109. package/lib/dropdown-menu/index.js +14 -0
  110. package/lib/dropdown-menu/index.mjs +14 -0
  111. package/lib/dropdown-menu-CCtPuYyJ.js +150 -0
  112. package/lib/dropdown-menu-CCtPuYyJ.js.map +1 -0
  113. package/lib/dropdown-menu-Cil4RtSK.mjs +117 -0
  114. package/lib/dropdown-menu-Cil4RtSK.mjs.map +1 -0
  115. package/lib/external-link-2XoC1_oL.d.ts +9 -0
  116. package/lib/external-link-BUhvS4ry.d.mts +9 -0
  117. package/lib/external-link-CEDvlQYo.js +23 -0
  118. package/lib/external-link-CEDvlQYo.js.map +1 -0
  119. package/lib/external-link-Cx9S31Ye.mjs +16 -0
  120. package/lib/external-link-Cx9S31Ye.mjs.map +1 -0
  121. package/lib/external-links-2b4M_rcA.mjs +17 -0
  122. package/lib/external-links-2b4M_rcA.mjs.map +1 -0
  123. package/lib/external-links-SfJjb48j.js +23 -0
  124. package/lib/external-links-SfJjb48j.js.map +1 -0
  125. package/lib/hamburger-menu/index.d.mts +7 -0
  126. package/lib/hamburger-menu/index.d.ts +6 -0
  127. package/lib/hamburger-menu/index.js +22 -0
  128. package/lib/hamburger-menu/index.mjs +22 -0
  129. package/lib/hamburger-menu-BZ1hA7l5.mjs +472 -0
  130. package/lib/hamburger-menu-BZ1hA7l5.mjs.map +1 -0
  131. package/lib/hamburger-menu-Bd_wmcAB.js +487 -0
  132. package/lib/hamburger-menu-Bd_wmcAB.js.map +1 -0
  133. package/lib/header/index.d.mts +26 -0
  134. package/lib/header/index.d.ts +25 -0
  135. package/lib/header/index.js +465 -0
  136. package/lib/header/index.js.map +1 -0
  137. package/lib/header/index.mjs +459 -0
  138. package/lib/header/index.mjs.map +1 -0
  139. package/lib/heading-CFSkTbdH.mjs +37 -0
  140. package/lib/heading-CFSkTbdH.mjs.map +1 -0
  141. package/lib/heading-DFzj2z0V.js +75 -0
  142. package/lib/heading-DFzj2z0V.js.map +1 -0
  143. package/lib/icons/constants.d.mts +3 -0
  144. package/lib/icons/constants.d.ts +3 -0
  145. package/lib/icons/constants.js +5 -0
  146. package/lib/icons/constants.mjs +3 -0
  147. package/lib/icons/index.d.mts +43 -0
  148. package/lib/icons/index.d.ts +43 -0
  149. package/lib/icons/index.js +15 -0
  150. package/lib/icons/index.mjs +5 -0
  151. package/lib/icons-DF-7dKxN.js +128 -0
  152. package/lib/icons-DF-7dKxN.js.map +1 -0
  153. package/lib/icons-DguoV48M.mjs +60 -0
  154. package/lib/icons-DguoV48M.mjs.map +1 -0
  155. package/lib/index-BmIgLA0K.d.mts +5 -0
  156. package/lib/index-H3peA2d_.d.ts +5 -0
  157. package/lib/internal-link-CqTu3Yi5.js +2278 -0
  158. package/lib/internal-link-CqTu3Yi5.js.map +1 -0
  159. package/lib/internal-link-D8jJal8P.d.mts +9 -0
  160. package/lib/internal-link-DCSEl1jM.d.ts +9 -0
  161. package/lib/internal-link-NQb751uB.mjs +2299 -0
  162. package/lib/internal-link-NQb751uB.mjs.map +1 -0
  163. package/lib/internal-links-BF-974mA.mjs +52 -0
  164. package/lib/internal-links-BF-974mA.mjs.map +1 -0
  165. package/lib/internal-links-CBkMU8cY.js +58 -0
  166. package/lib/internal-links-CBkMU8cY.js.map +1 -0
  167. package/lib/logo/constants.d.mts +3 -0
  168. package/lib/logo/constants.d.ts +3 -0
  169. package/lib/logo/constants.js +5 -0
  170. package/lib/logo/constants.mjs +3 -0
  171. package/lib/logo/index.d.mts +42 -0
  172. package/lib/logo/index.d.ts +42 -0
  173. package/lib/logo/index.js +8 -0
  174. package/lib/logo/index.mjs +5 -0
  175. package/lib/logo-CC5oU9Qb.mjs +64 -0
  176. package/lib/logo-CC5oU9Qb.mjs.map +1 -0
  177. package/lib/logo-D4M-1sGD.js +83 -0
  178. package/lib/logo-D4M-1sGD.js.map +1 -0
  179. package/lib/paragraph-BWXQNQtX.mjs +30 -0
  180. package/lib/paragraph-BWXQNQtX.mjs.map +1 -0
  181. package/lib/paragraph-CJvb0_cM.js +56 -0
  182. package/lib/paragraph-CJvb0_cM.js.map +1 -0
  183. package/lib/release-branch-CRZV4Ivz.js +18 -0
  184. package/lib/release-branch-CRZV4Ivz.js.map +1 -0
  185. package/lib/release-branch-CsBbhuYE.d.ts +14 -0
  186. package/lib/release-branch-DNCD1uH_.mjs +12 -0
  187. package/lib/release-branch-DNCD1uH_.mjs.map +1 -0
  188. package/lib/release-branch-DZwlCiWD.d.mts +14 -0
  189. package/lib/styles.css +1599 -0
  190. package/lib/tab-bar/constants.d.mts +16 -0
  191. package/lib/tab-bar/constants.d.ts +16 -0
  192. package/lib/tab-bar/constants.js +7 -0
  193. package/lib/tab-bar/constants.mjs +7 -0
  194. package/lib/tab-bar/index.d.mts +10 -0
  195. package/lib/tab-bar/index.d.ts +9 -0
  196. package/lib/tab-bar/index.js +18 -0
  197. package/lib/tab-bar/index.mjs +18 -0
  198. package/lib/tab-bar/theme.d.mts +10 -0
  199. package/lib/tab-bar/theme.d.ts +10 -0
  200. package/lib/tab-bar/theme.js +4 -0
  201. package/lib/tab-bar/theme.mjs +4 -0
  202. package/lib/tab-bar-CBL2tDXk.mjs +62 -0
  203. package/lib/tab-bar-CBL2tDXk.mjs.map +1 -0
  204. package/lib/tab-bar-ZRrpziiN.js +78 -0
  205. package/lib/tab-bar-ZRrpziiN.js.map +1 -0
  206. package/lib/text/constants.d.mts +3 -0
  207. package/lib/text/constants.d.ts +3 -0
  208. package/lib/text/constants.js +4 -0
  209. package/lib/text/constants.mjs +3 -0
  210. package/lib/text/heading.d.mts +31 -0
  211. package/lib/text/heading.d.ts +31 -0
  212. package/lib/text/heading.js +9 -0
  213. package/lib/text/heading.mjs +4 -0
  214. package/lib/text/paragraph.d.mts +25 -0
  215. package/lib/text/paragraph.d.ts +25 -0
  216. package/lib/text/paragraph.js +7 -0
  217. package/lib/text/paragraph.mjs +4 -0
  218. package/lib/theme-BDGfJ8n-.d.ts +13 -0
  219. package/lib/theme-BErS2Qs6.mjs +13 -0
  220. package/lib/theme-BErS2Qs6.mjs.map +1 -0
  221. package/lib/theme-BG6yZVj-.mjs +11 -0
  222. package/lib/theme-BG6yZVj-.mjs.map +1 -0
  223. package/lib/theme-BPB1kPtQ.js +18 -0
  224. package/lib/theme-BPB1kPtQ.js.map +1 -0
  225. package/lib/theme-ClamfAy8.d.mts +13 -0
  226. package/lib/theme-DDBlIbeS.js +17 -0
  227. package/lib/theme-DDBlIbeS.js.map +1 -0
  228. package/lib/title-bar/index.d.mts +58 -0
  229. package/lib/title-bar/index.d.ts +58 -0
  230. package/lib/title-bar/index.js +153 -0
  231. package/lib/title-bar/index.js.map +1 -0
  232. package/lib/title-bar/index.mjs +145 -0
  233. package/lib/title-bar/index.mjs.map +1 -0
  234. package/lib/type-C4hJK9H9.d.ts +11 -0
  235. package/lib/type-FR-fOZvz.d.mts +11 -0
  236. package/lib/types/index.d.mts +2 -0
  237. package/lib/types/index.d.ts +2 -0
  238. package/lib/types/index.js +0 -0
  239. package/lib/types/index.mjs +1 -0
  240. package/package.json +53 -0
@@ -0,0 +1,630 @@
1
+ const require_chunk = require('./chunk-BxBTb9qk.js');
2
+ const require_constants = require('./constants-BmxSMOOn.js');
3
+ const require_constants$1 = require('./constants-K2ObjToq.js');
4
+ const require_paragraph = require('./paragraph-CJvb0_cM.js');
5
+ const require_theme = require('./theme-DDBlIbeS.js');
6
+ let react = require("react");
7
+ react = require_chunk.__toESM(react);
8
+ let clsx = require("clsx");
9
+ clsx = require_chunk.__toESM(clsx);
10
+ let react_jsx_runtime = require("react/jsx-runtime");
11
+ react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
12
+
13
+ //#region src/button/components/text-button/theme.ts
14
+ const getDisabledContainerTheme = (theme) => {
15
+ return ["text-gray-400 hover:text-gray-400", { "text-gray-500 hover:text-gray-500": theme === require_theme.THEME.photography || theme === require_theme.THEME.transparent }];
16
+ };
17
+ const getActiveContainerTheme = (theme, style) => {
18
+ return [
19
+ {
20
+ "text-gray-800 hover:text-gray-800": style === require_constants.STYLE.light,
21
+ "text-brand-heavy hover:text-brand-heavy": style === require_constants.STYLE.dark,
22
+ "text-brand-dark hover:text-brand-dark": style === require_constants.STYLE.brand
23
+ },
24
+ {
25
+ "text-gray-400 hover:text-gray-400": theme === require_theme.THEME.photography && style === require_constants.STYLE.light,
26
+ "text-supportive-pastel hover:text-supportive-pastel": theme === require_theme.THEME.photography && style !== require_constants.STYLE.light
27
+ },
28
+ {
29
+ "text-gray-black hover:text-gray-black": theme === require_theme.THEME.transparent && style === require_constants.STYLE.light,
30
+ "text-gray-200 hover:text-gray-200": theme === require_theme.THEME.transparent && style !== require_constants.STYLE.light
31
+ }
32
+ ];
33
+ };
34
+ const getContainerTheme = (theme, style) => {
35
+ return [
36
+ {
37
+ "text-gray-600 hover:text-gray-800": style === require_constants.STYLE.light,
38
+ "text-gray-800 hover:text-brand-heavy": style === require_constants.STYLE.dark,
39
+ "text-brand-heavy hover:text-brand-dark": style === require_constants.STYLE.brand
40
+ },
41
+ {
42
+ "text-gray-300 hover:text-gray-400": theme === require_theme.THEME.photography && style === require_constants.STYLE.light,
43
+ "text-gray-white hover:text-supportive-pastel": theme === require_theme.THEME.photography && style === require_constants.STYLE.dark,
44
+ "text-supportive-faded hover:text-supportive-pastel": theme === require_theme.THEME.photography && style === require_constants.STYLE.brand
45
+ },
46
+ {
47
+ "text-gray-800 hover:text-gray-black": theme === require_theme.THEME.transparent && style === require_constants.STYLE.light,
48
+ "text-gray-white hover:text-gray-200": theme === require_theme.THEME.transparent && style !== require_constants.STYLE.light
49
+ }
50
+ ];
51
+ };
52
+
53
+ //#endregion
54
+ //#region src/button/components/text-button/index.tsx
55
+ const TextButton = ({ text, leftIconComponent, rightIconComponent, size = require_constants.SIZE.s, theme = require_theme.THEME.normal, style = require_constants.STYLE.dark, active = false, disabled = false, loading = false, className = "" }) => {
56
+ const TextJSX = (0, react.useMemo)(() => size === require_constants.SIZE.s ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P2, {
57
+ text,
58
+ weight: require_paragraph.P2.Weight.bold
59
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P1, {
60
+ text,
61
+ weight: require_paragraph.P1.Weight.bold
62
+ }), [size, text]);
63
+ const themeClass = (0, react.useMemo)(() => {
64
+ return (disabled ? getDisabledContainerTheme : active ? getActiveContainerTheme : getContainerTheme)(theme, style);
65
+ }, [
66
+ disabled,
67
+ active,
68
+ theme,
69
+ style
70
+ ]);
71
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
72
+ className: (0, clsx.default)("flex items-center", {
73
+ "cursor-default": disabled,
74
+ "cursor-pointer": !disabled
75
+ }, themeClass, className),
76
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
77
+ className: "relative flex justify-center items-center",
78
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
79
+ className: (0, clsx.default)("flex justify-center items-center", {
80
+ "opacity-0": loading,
81
+ "opacity-100": !loading
82
+ }),
83
+ children: [
84
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
85
+ className: "flex items-center mr-[4px]",
86
+ children: leftIconComponent
87
+ }),
88
+ TextJSX,
89
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
90
+ className: "flex items-center ml-[4px]",
91
+ children: rightIconComponent
92
+ })
93
+ ]
94
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: (0, clsx.default)("inline-block absolute box-border animate-spin", "border-2 border-solid border-gray-400 border-t-gray-600 rounded-[50%]", {
95
+ "size-[18px]": size === require_constants.SIZE.s,
96
+ "size-[24px]": size === require_constants.SIZE.l
97
+ }, {
98
+ "opacity-0": !loading,
99
+ "opacity-100": loading
100
+ }) })]
101
+ })
102
+ });
103
+ };
104
+ TextButton.Size = require_constants.SIZE;
105
+ TextButton.Style = require_constants.STYLE;
106
+ TextButton.Theme = require_theme.THEME;
107
+ var text_button_default = TextButton;
108
+
109
+ //#endregion
110
+ //#region src/button/components/icon-button/theme.ts
111
+ const getPrimaryIconButtonTheme = (theme, active, disabled) => {
112
+ if (disabled) return ["text-gray-400 hover:text-gray-400"];
113
+ return [
114
+ "text-gray-600 hover:text-gray-800 [&>svg]:bg-gray-600 desktop:[&>svg]:hover:bg-gray-800",
115
+ { "text-brand-heavy hover:text-brand-heavy [&>svg]:bg-brand-heavy desktop:[&>svg]:hover:bg-brand-heavy": theme === require_theme.THEME.normal && active },
116
+ {
117
+ "text-gray-white hover:text-supportive-pastel [&>svg]:bg-gray-white [&>svg]:hover:bg-supportive-pastel": theme === require_theme.THEME.photography && !active,
118
+ "text-supportive-pastel hover:text-supportive-pastel [&>svg]:bg-supportive-pastel [&>svg]:hover:bg-supportive-pastel": theme === require_theme.THEME.photography && active
119
+ },
120
+ {
121
+ "text-gray-white hover:text-gray-200 [&>svg]:bg-gray-white [&>svg]:hover:bg-gray-200": theme === require_theme.THEME.transparent && !active,
122
+ "text-gray-white hover:text-gray-white [&>svg]:bg-gray-white [&>svg]:hover:bg-gray-white": theme === require_theme.THEME.transparent && active
123
+ }
124
+ ];
125
+ };
126
+ const getSecondaryIconButtonTheme = (theme, active, disabled) => {
127
+ if (disabled) return ["text-gray-400 hover:text-gray-400"];
128
+ return [
129
+ "text-gray-400 hover:text-gray-600 [&>svg]:bg-gray-400 [&>svg]:hover:bg-gray-600",
130
+ { "text-brand-heavy hover:text-brand-heavy [&>svg]:bg-brand-heavy [&>svg]:hover:bg-brand-heavy": theme === require_theme.THEME.normal && active },
131
+ {
132
+ "text-gray-400 hover:text-supportive-pastel [&>svg]:bg-gray-400 [&>svg]:hover:bg-supportive-pastel": theme === require_theme.THEME.photography && !active,
133
+ "text-supportive-pastel hover:text-supportive-pastel [&>svg]:bg-supportive-pastel [&>svg]:hover:bg-supportive-pastel": theme === require_theme.THEME.photography && active
134
+ },
135
+ {
136
+ "text-gray-600 hover:text-gray-white [&>svg]:bg-gray-600 [&>svg]:hover:bg-gray-white": theme === require_theme.THEME.transparent && !active,
137
+ "text-gray-600 hover:text-gray-600 [&>svg]:bg-gray-600 [&>svg]:hover:bg-gray-600": theme === require_theme.THEME.transparent && active
138
+ }
139
+ ];
140
+ };
141
+
142
+ //#endregion
143
+ //#region src/button/components/icon-button/index.tsx
144
+ const IconButton = ({ iconComponent, theme = require_theme.THEME.normal, type = require_constants.TYPE.primary, disabled = false, active = false, className = "", onClick = () => {} }) => {
145
+ const themeClass = type === require_constants.TYPE.primary ? getPrimaryIconButtonTheme(theme, active, disabled) : getSecondaryIconButtonTheme(theme, active, disabled);
146
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
147
+ className: (0, clsx.default)("flex", "[&>svg]:w-[24px] [&>svg]:h-[24px]", disabled ? "cursor-default" : "cursor-pointer", themeClass, className),
148
+ onClick: disabled ? () => {} : onClick,
149
+ type: "button",
150
+ children: iconComponent
151
+ });
152
+ };
153
+ IconButton.Theme = require_theme.THEME;
154
+ IconButton.Type = require_constants.TYPE;
155
+ var icon_button_default = IconButton;
156
+
157
+ //#endregion
158
+ //#region src/button/components/menu-button/index.tsx
159
+ const MenuButton = ({ text, color, fontWeight, className = "", p1ClassName = "" }) => {
160
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
161
+ className: (0, clsx.default)("cursor-pointer", color, className),
162
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P1, {
163
+ text,
164
+ weight: fontWeight,
165
+ className: (0, clsx.default)("py-[8px]", p1ClassName)
166
+ })
167
+ });
168
+ };
169
+ MenuButton.FontWeight = require_constants$1.WEIGHT;
170
+ var menu_button_default = MenuButton;
171
+
172
+ //#endregion
173
+ //#region src/button/components/pill-button/theme.ts
174
+ const getFilledPillButtonTheme = (theme, disabled, style) => {
175
+ if (disabled) switch (theme) {
176
+ case require_theme.THEME.transparent: switch (style) {
177
+ case require_constants.STYLE.light: return {
178
+ color: "text-gray-white",
179
+ bgColor: "bg-gray-400",
180
+ hoverColor: "hover:text-gray-white",
181
+ hoverBgColor: "hover:bg-gray-400",
182
+ borderColor: "border-gray-400",
183
+ svgBgColor: "[&>svg]:bg-gray-white",
184
+ borderHoverColor: "hover:border-gray-400",
185
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-white"
186
+ };
187
+ default: return {
188
+ color: "text-gray-700",
189
+ bgColor: "bg-gray-500",
190
+ hoverColor: "hover:text-gray-700",
191
+ hoverBgColor: "hover:bg-gray-500",
192
+ borderColor: "border-gray-500",
193
+ svgBgColor: "[&>svg]:bg-gray-700",
194
+ borderHoverColor: "hover:border-gray-500",
195
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-500"
196
+ };
197
+ }
198
+ case require_theme.THEME.photography: return {
199
+ color: "text-gray-700",
200
+ bgColor: "bg-gray-500",
201
+ hoverColor: "hover:text-gray-700",
202
+ hoverBgColor: "hover:bg-gray-500",
203
+ borderColor: "border-gray-500",
204
+ svgBgColor: "[&>svg]:bg-gray-700",
205
+ borderHoverColor: "hover:border-gray-500",
206
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-700"
207
+ };
208
+ default: return {
209
+ color: "text-gray-white",
210
+ bgColor: "bg-gray-400",
211
+ hoverColor: "hover:text-gray-white",
212
+ hoverBgColor: "hover:bg-gray-400",
213
+ borderColor: "border-gray-400",
214
+ svgBgColor: "[&>svg]:bg-gray-white",
215
+ borderHoverColor: "hover:border-gray-400",
216
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-white"
217
+ };
218
+ }
219
+ switch (theme) {
220
+ case require_theme.THEME.photography: switch (style) {
221
+ case require_constants.STYLE.dark: return {
222
+ color: "text-photo-dark",
223
+ bgColor: "bg-gray-white",
224
+ hoverColor: "hover:text-photo-dark",
225
+ hoverBgColor: "hover:bg-gray-200",
226
+ borderColor: "border-gray-white",
227
+ svgBgColor: "[&>svg]:bg-photo-dark",
228
+ borderHoverColor: "hover:border-gray-200",
229
+ svgHoverBgColor: "hover:[&>svg]:bg-photo-dark"
230
+ };
231
+ case require_constants.STYLE.light: return {
232
+ color: "text-photo-dark",
233
+ bgColor: "bg-gray-300",
234
+ hoverColor: "hover:text-photo-dark",
235
+ hoverBgColor: "hover:bg-gray-400",
236
+ borderColor: "border-gray-300",
237
+ svgBgColor: "[&>svg]:bg-photo-dark",
238
+ borderHoverColor: "hover:border-gray-400",
239
+ svgHoverBgColor: "hover:[&>svg]:bg-photo-dark"
240
+ };
241
+ default: return {
242
+ color: "text-photo-dark",
243
+ bgColor: "bg-supportive-faded",
244
+ hoverColor: "hover:text-photo-dark",
245
+ hoverBgColor: "hover:bg-supportive-pastel",
246
+ borderColor: "border-supportive-faded",
247
+ svgBgColor: "[&>svg]:bg-photo-dark",
248
+ borderHoverColor: "hover:border-supportive-pastel",
249
+ svgHoverBgColor: "hover:[&>svg]:bg-photo-dark"
250
+ };
251
+ }
252
+ case require_theme.THEME.transparent: switch (style) {
253
+ case require_constants.STYLE.dark: return {
254
+ color: "text-gray-800",
255
+ bgColor: "bg-gray-300",
256
+ hoverColor: "hover:text-gray-800",
257
+ hoverBgColor: "hover:bg-gray-400",
258
+ borderColor: "border-gray-300",
259
+ svgBgColor: "[&>svg]:bg-gray-800",
260
+ borderHoverColor: "hover:border-gray-400",
261
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-800"
262
+ };
263
+ case require_constants.STYLE.light: return {
264
+ color: "text-gray-white",
265
+ bgColor: "bg-gray-800",
266
+ hoverColor: "hover:text-gray-white",
267
+ hoverBgColor: "hover:bg-gray-black",
268
+ borderColor: "border-gray-800",
269
+ svgBgColor: "[&>svg]:bg-gray-white",
270
+ borderHoverColor: "hover:border-gray-black",
271
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-white"
272
+ };
273
+ default: return {
274
+ color: "text-gray-800",
275
+ bgColor: "bg-gray-white",
276
+ hoverColor: "hover:text-gray-800",
277
+ hoverBgColor: "hover:bg-gray-200",
278
+ borderColor: "border-gray-white",
279
+ svgBgColor: "[&>svg]:bg-gray-800",
280
+ borderHoverColor: "hover:border-gray-200",
281
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-800"
282
+ };
283
+ }
284
+ default: switch (style) {
285
+ case require_constants.STYLE.dark: return {
286
+ color: "text-gray-white",
287
+ bgColor: "bg-gray-800",
288
+ hoverColor: "hover:text-gray-white",
289
+ hoverBgColor: "hover:bg-gray-black",
290
+ borderColor: "border-gray-800",
291
+ svgBgColor: "[&>svg]:bg-gray-white",
292
+ borderHoverColor: "hover:border-gray-black",
293
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-white"
294
+ };
295
+ case require_constants.STYLE.light: return {
296
+ color: "text-gray-800",
297
+ bgColor: "bg-gray-white",
298
+ hoverColor: "hover:text-gray-800",
299
+ hoverBgColor: "hover:bg-gray-200",
300
+ borderColor: "border-gray-white",
301
+ svgBgColor: "[&>svg]:bg-gray-800",
302
+ borderHoverColor: "hover:border-gray-200",
303
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-800"
304
+ };
305
+ default: return {
306
+ color: "text-gray-white",
307
+ bgColor: "bg-brand-heavy",
308
+ hoverColor: "hover:text-gray-white",
309
+ hoverBgColor: "hover:bg-brand-dark",
310
+ borderColor: "border-brand-heavy",
311
+ svgBgColor: "[&>svg]:bg-gray-white",
312
+ borderHoverColor: "hover:border-brand-dark",
313
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-white"
314
+ };
315
+ }
316
+ }
317
+ };
318
+ const getOutlinePillButtonTheme = (theme, disabled, style) => {
319
+ if (disabled) switch (theme) {
320
+ case require_theme.THEME.transparent: switch (style) {
321
+ case require_constants.STYLE.light: return {
322
+ color: "text-gray-400",
323
+ bgColor: "bg-gray-400",
324
+ hoverColor: "hover:text-gray-400",
325
+ hoverBgColor: "hover:bg-gray-400",
326
+ borderColor: "border-gray-400",
327
+ svgBgColor: "[&>svg]:bg-gray-400",
328
+ borderHoverColor: "hover:border-gray-400",
329
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-400"
330
+ };
331
+ default: return {
332
+ color: "text-gray-500",
333
+ bgColor: "bg-gray-500",
334
+ hoverColor: "hover:text-gray-500",
335
+ hoverBgColor: "hover:bg-gray-500",
336
+ borderColor: "border-gray-500",
337
+ svgBgColor: "[&>svg]:bg-gray-500",
338
+ borderHoverColor: "hover:border-gray-500",
339
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-500"
340
+ };
341
+ }
342
+ case require_theme.THEME.photography: return {
343
+ color: "text-gray-500",
344
+ bgColor: "bg-gray-500",
345
+ hoverColor: "hover:text-gray-500",
346
+ hoverBgColor: "hover:bg-gray-500",
347
+ borderColor: "border-gray-500",
348
+ svgBgColor: "[&>svg]:bg-gray-500",
349
+ borderHoverColor: "hover:border-gray-500",
350
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-500"
351
+ };
352
+ default: return {
353
+ color: "text-gray-400",
354
+ bgColor: "bg-gray-400",
355
+ hoverColor: "hover:text-gray-400",
356
+ hoverBgColor: "hover:bg-gray-400",
357
+ borderColor: "border-gray-400",
358
+ svgBgColor: "[&>svg]:bg-gray-400",
359
+ borderHoverColor: "hover:border-gray-400",
360
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-400"
361
+ };
362
+ }
363
+ switch (theme) {
364
+ case require_theme.THEME.photography: switch (style) {
365
+ case require_constants.STYLE.dark: return {
366
+ color: "text-gray-white",
367
+ bgColor: "bg-gray-white",
368
+ hoverColor: "hover:text-gray-200",
369
+ hoverBgColor: "hover:bg-gray-200",
370
+ borderColor: "border-gray-white",
371
+ svgBgColor: "[&>svg]:bg-gray-white",
372
+ borderHoverColor: "hover:border-gray-200",
373
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-200"
374
+ };
375
+ case require_constants.STYLE.light: return {
376
+ color: "text-gray-300",
377
+ bgColor: "bg-gray-300",
378
+ hoverColor: "hover:text-gray-400",
379
+ hoverBgColor: "hover:bg-gray-400",
380
+ borderColor: "border-gray-300",
381
+ svgBgColor: "[&>svg]:bg-gray-300",
382
+ borderHoverColor: "hover:border-gray-400",
383
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-400"
384
+ };
385
+ default: return {
386
+ color: "text-supportive-faded",
387
+ bgColor: "bg-supportive-faded",
388
+ hoverColor: "hover:text-supportive-pastel",
389
+ hoverBgColor: "hover:bg-supportive-pastel",
390
+ borderColor: "border-supportive-faded",
391
+ svgBgColor: "[&>svg]:bg-supportive-faded",
392
+ borderHoverColor: "hover:border-supportive-pastel",
393
+ svgHoverBgColor: "hover:[&>svg]:bg-supportive-pastel"
394
+ };
395
+ }
396
+ case require_theme.THEME.transparent: switch (style) {
397
+ case require_constants.STYLE.dark: return {
398
+ color: "text-gray-300",
399
+ bgColor: "bg-gray-300",
400
+ hoverColor: "hover:text-gray-400",
401
+ hoverBgColor: "hover:bg-gray-400",
402
+ borderColor: "border-gray-300",
403
+ svgBgColor: "[&>svg]:bg-gray-300",
404
+ borderHoverColor: "hover:border-gray-400",
405
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-400"
406
+ };
407
+ case require_constants.STYLE.light: return {
408
+ color: "text-gray-800",
409
+ bgColor: "bg-gray-800",
410
+ hoverColor: "hover:text-gray-black",
411
+ hoverBgColor: "hover:bg-gray-black",
412
+ borderColor: "border-gray-800",
413
+ svgBgColor: "[&>svg]:bg-gray-800",
414
+ borderHoverColor: "hover:border-gray-black",
415
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-black"
416
+ };
417
+ default: return {
418
+ color: "text-gray-white",
419
+ bgColor: "bg-gray-white",
420
+ hoverColor: "hover:text-gray-200",
421
+ hoverBgColor: "hover:bg-gray-200",
422
+ borderColor: "border-gray-white",
423
+ svgBgColor: "[&>svg]:bg-gray-white",
424
+ borderHoverColor: "hover:border-gray-200",
425
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-200"
426
+ };
427
+ }
428
+ default: switch (style) {
429
+ case require_constants.STYLE.dark: return {
430
+ color: "text-gray-800",
431
+ bgColor: "bg-gray-800",
432
+ hoverColor: "hover:text-gray-black",
433
+ hoverBgColor: "hover:bg-gray-black",
434
+ borderColor: "border-gray-800",
435
+ svgBgColor: "[&>svg]:bg-gray-800",
436
+ borderHoverColor: "hover:border-gray-black",
437
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-black"
438
+ };
439
+ case require_constants.STYLE.light: return {
440
+ color: "text-gray-800",
441
+ bgColor: "bg-gray-white",
442
+ hoverColor: "hover:text-gray-800",
443
+ hoverBgColor: "hover:bg-gray-200",
444
+ borderColor: "border-gray-white",
445
+ svgBgColor: "[&>svg]:bg-gray-800",
446
+ borderHoverColor: "hover:border-gray-200",
447
+ svgHoverBgColor: "hover:[&>svg]:bg-gray-800"
448
+ };
449
+ default: return {
450
+ color: "text-brand-heavy",
451
+ bgColor: "bg-brand-heavy",
452
+ hoverColor: "hover:text-brand-dark",
453
+ hoverBgColor: "hover:bg-brand-dark",
454
+ borderColor: "border-brand-heavy",
455
+ svgBgColor: "[&>svg]:bg-brand-heavy",
456
+ borderHoverColor: "hover:border-brand-dark",
457
+ svgHoverBgColor: "hover:[&>svg]:bg-brand-dark"
458
+ };
459
+ }
460
+ }
461
+ };
462
+
463
+ //#endregion
464
+ //#region src/button/components/pill-button/index.tsx
465
+ const PillButton = ({ text = "", leftIconComponent = null, rightIconComponent = null, size = require_constants.SIZE.s, theme = require_theme.THEME.normal, type = require_constants.TYPE.primary, style = require_constants.STYLE.brand, disabled = false, loading = false, className = "" }) => {
466
+ const { color, bgColor, hoverColor, hoverBgColor, borderColor, svgBgColor, borderHoverColor, svgHoverBgColor } = (type === require_constants.TYPE.primary ? getFilledPillButtonTheme : getOutlinePillButtonTheme)(theme, disabled, style);
467
+ const padding = size === require_constants.SIZE.s ? "py-[4px] px-[12px]" : "py-[8px] px-[16px]";
468
+ const iconSize = size === require_constants.SIZE.s ? "[&>svg]:h-[18px] [&>svg]:w-[18px]" : "[&>svg]:h-[24px] [&>svg]:w-[24px]";
469
+ const TextJSX = (0, react.useMemo)(() => size === require_constants.SIZE.s ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P2, {
470
+ text,
471
+ weight: require_paragraph.P2.Weight.bold
472
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P1, {
473
+ text,
474
+ weight: require_paragraph.P1.Weight.bold
475
+ }), [size, text]);
476
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
477
+ className: (0, clsx.default)("w-fit flex items-center rounded-[40px] border-solid border-[1.5px]", borderColor, color, padding, disabled || loading ? "cursor-not-allowed" : "cursor-pointer", type === require_constants.TYPE.primary ? bgColor : "bg-transparent", iconSize, svgBgColor, hoverColor, type === require_constants.TYPE.primary ? hoverBgColor : "bg-transparent", borderHoverColor, svgHoverBgColor, className),
478
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
479
+ className: "relative flex justify-center items-center",
480
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
481
+ className: (0, clsx.default)("flex justify-center items-center", {
482
+ "opacity-0": loading,
483
+ "opacity-100": !loading
484
+ }),
485
+ children: [
486
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
487
+ className: "flex items-center mr-[4px]",
488
+ children: leftIconComponent
489
+ }),
490
+ TextJSX,
491
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
492
+ className: "flex items-center ml-[4px]",
493
+ children: rightIconComponent
494
+ })
495
+ ]
496
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: (0, clsx.default)("inline-block absolute box-border animate-spin", "border-2 border-solid border-gray-400 border-t-gray-600 rounded-[50%]", {
497
+ "size-[18px]": size === require_constants.SIZE.s,
498
+ "size-[24px]": size === require_constants.SIZE.l
499
+ }, {
500
+ "opacity-0": !loading,
501
+ "opacity-100": loading
502
+ }) })]
503
+ })
504
+ });
505
+ };
506
+ PillButton.Theme = require_theme.THEME;
507
+ PillButton.Type = require_constants.TYPE;
508
+ PillButton.Size = require_constants.SIZE;
509
+ PillButton.Style = require_constants.STYLE;
510
+ var pill_button_default = PillButton;
511
+
512
+ //#endregion
513
+ //#region src/button/components/icon-with-text-button/theme.ts
514
+ const getIconWithTextButtonTheme = (theme, isActive, isDisabled) => {
515
+ if (isDisabled) return {
516
+ color: "text-gray-400",
517
+ hoverColor: "hover:text-gray-400",
518
+ svgBgColor: "[&>svg]:bg-gray-400",
519
+ svgHoverBgColor: "[&>svg]:hover:bg-gray-400"
520
+ };
521
+ switch (isActive ? `${theme}-active` : theme) {
522
+ case require_theme.THEME.photography: return {
523
+ color: "text-gray-200",
524
+ hoverColor: "hover:text-supportive-pastel",
525
+ svgBgColor: "[&>svg]:bg-gray-200",
526
+ svgHoverBgColor: "[&>svg]:hover:bg-supportive-pastel"
527
+ };
528
+ case `${require_theme.THEME.photography}-active`: return {
529
+ color: "text-supportive-pastel",
530
+ hoverColor: "hover:text-supportive-pastel",
531
+ svgBgColor: "[&>svg]:bg-supportive-pastel",
532
+ svgHoverBgColor: "[&>svg]:hover:bg-supportive-pastel"
533
+ };
534
+ case require_theme.THEME.transparent: return {
535
+ color: "text-gray-100",
536
+ hoverColor: "hover:text-gray-200",
537
+ svgBgColor: "[&>svg]:bg-gray-100",
538
+ svgHoverBgColor: "[&>svg]:hover:bg-gray-200"
539
+ };
540
+ case `${require_theme.THEME.transparent}-active`: return {
541
+ color: "text-gray-white",
542
+ hoverColor: "hover:text-gray-white",
543
+ svgBgColor: "[&>svg]:bg-gray-white",
544
+ svgHoverBgColor: "[&>svg]:hover:bg-gray-white"
545
+ };
546
+ case `${require_theme.THEME.normal}-active`: return {
547
+ color: "text-brand-heavy",
548
+ hoverColor: "hover:text-brand-heavy",
549
+ svgBgColor: "[&>svg]:bg-brand-heavy",
550
+ svgHoverBgColor: "[&>svg]:hover:bg-brand-heavy"
551
+ };
552
+ default: return {
553
+ color: "text-gray-600",
554
+ hoverColor: "hover:text-brand-heavy",
555
+ svgBgColor: "[&>svg]:bg-gray-600",
556
+ svgHoverBgColor: "[&>svg]:hover:bg-brand-heavy"
557
+ };
558
+ }
559
+ };
560
+
561
+ //#endregion
562
+ //#region src/button/components/icon-with-text-button/index.tsx
563
+ const IconWithTextButton = ({ text = "", iconComponent, theme = require_theme.THEME.normal, disabled = false, active = false, hideText = false, className = "", onClick = () => {} }) => {
564
+ const { color, hoverColor, svgBgColor, svgHoverBgColor } = getIconWithTextButtonTheme(theme, active, disabled);
565
+ const handleClick = (e) => {
566
+ if (disabled) return;
567
+ onClick(e);
568
+ };
569
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
570
+ className: (0, clsx.default)("flex flex-col items-center", "[&>svg]:w-[24px] [&>svg]:h-[24px]", color, hoverColor, svgBgColor, svgHoverBgColor, disabled ? "cursor-not-allowed" : "cursor-pointer", className),
571
+ type: "button",
572
+ onClick: handleClick,
573
+ children: [iconComponent, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P4, {
574
+ text,
575
+ weight: require_paragraph.P4.Weight.normal,
576
+ className: (0, clsx.default)("mt-[2px] transition-opacity duration-[100ms]", hideText ? "opacity-0" : "opacity-100", hideText ? "max-h-0" : "max-h-none")
577
+ })]
578
+ });
579
+ };
580
+ IconWithTextButton.Theme = require_theme.THEME;
581
+ var icon_with_text_button_default = IconWithTextButton;
582
+
583
+ //#endregion
584
+ //#region src/button/index.ts
585
+ var button_default = {
586
+ TextButton: text_button_default,
587
+ IconButton: icon_button_default,
588
+ MenuButton: menu_button_default,
589
+ PillButton: pill_button_default,
590
+ IconWithTextButton: icon_with_text_button_default
591
+ };
592
+
593
+ //#endregion
594
+ Object.defineProperty(exports, 'button_default', {
595
+ enumerable: true,
596
+ get: function () {
597
+ return button_default;
598
+ }
599
+ });
600
+ Object.defineProperty(exports, 'icon_button_default', {
601
+ enumerable: true,
602
+ get: function () {
603
+ return icon_button_default;
604
+ }
605
+ });
606
+ Object.defineProperty(exports, 'icon_with_text_button_default', {
607
+ enumerable: true,
608
+ get: function () {
609
+ return icon_with_text_button_default;
610
+ }
611
+ });
612
+ Object.defineProperty(exports, 'menu_button_default', {
613
+ enumerable: true,
614
+ get: function () {
615
+ return menu_button_default;
616
+ }
617
+ });
618
+ Object.defineProperty(exports, 'pill_button_default', {
619
+ enumerable: true,
620
+ get: function () {
621
+ return pill_button_default;
622
+ }
623
+ });
624
+ Object.defineProperty(exports, 'text_button_default', {
625
+ enumerable: true,
626
+ get: function () {
627
+ return text_button_default;
628
+ }
629
+ });
630
+ //# sourceMappingURL=button-DFLYlJJW.js.map