@teach-in/react 0.1.0 → 0.2.0

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 (209) hide show
  1. package/dist/{chunk-HH7MLUOF.mjs → chunk-25XG46X6.mjs} +1 -1
  2. package/dist/chunk-2OPPNAW2.mjs +19 -0
  3. package/dist/chunk-3LOCA2SP.mjs +19 -0
  4. package/dist/chunk-545OBZ4O.mjs +47 -0
  5. package/dist/{chunk-2W4N27WQ.mjs → chunk-6NZ4IHNU.mjs} +4 -3
  6. package/dist/{chunk-CLDAITOP.mjs → chunk-BUVPBB4J.mjs} +2 -2
  7. package/dist/chunk-CAJWTQDB.mjs +1 -0
  8. package/dist/chunk-EJQH6CYW.mjs +1 -0
  9. package/dist/chunk-HOVAPYGJ.mjs +19 -0
  10. package/dist/{chunk-S2TB4GD2.mjs → chunk-IZ5KKF6P.mjs} +2 -2
  11. package/dist/chunk-J3OZNLTZ.mjs +50 -0
  12. package/dist/chunk-JUIVZCH7.mjs +1 -0
  13. package/dist/chunk-JWMPI5AZ.mjs +1 -0
  14. package/dist/chunk-LUERGYYZ.mjs +19 -0
  15. package/dist/{chunk-CUVF3U67.mjs → chunk-M5F723W7.mjs} +1 -1
  16. package/dist/chunk-NCM6KIQH.mjs +47 -0
  17. package/dist/chunk-NDQAHQFL.mjs +1 -0
  18. package/dist/{chunk-AS4T5M6E.mjs → chunk-O5T4GUJH.mjs} +3 -0
  19. package/dist/chunk-OW6U64MG.mjs +19 -0
  20. package/dist/chunk-PFLROV3C.mjs +17 -0
  21. package/dist/chunk-PON4ZQKG.mjs +1 -0
  22. package/dist/chunk-SLB2JE3N.mjs +19 -0
  23. package/dist/{chunk-PEB5ZH76.mjs → chunk-SPED4RBS.mjs} +1 -1
  24. package/dist/{chunk-GRWFJ4FP.mjs → chunk-TJBXXTYS.mjs} +1 -1
  25. package/dist/{chunk-QU35SWES.mjs → chunk-TYMUQULA.mjs} +9 -5
  26. package/dist/chunk-VIPLRFPR.mjs +23 -0
  27. package/dist/chunk-W6NKLZ73.mjs +61 -0
  28. package/dist/chunk-X7ER4IDJ.mjs +167 -0
  29. package/dist/chunk-XKX5LFH7.mjs +19 -0
  30. package/dist/chunk-XYQVL4EX.mjs +19 -0
  31. package/dist/chunk-YBQFG6QJ.mjs +19 -0
  32. package/dist/{chunk-LR4R7GFR.mjs → chunk-ZXCQ73RT.mjs} +3 -5
  33. package/dist/index.js +527 -55
  34. package/dist/index.mjs +110 -78
  35. package/dist/ui/actions/button/button.d.ts +0 -4
  36. package/dist/ui/actions/button/button.js +9 -6
  37. package/dist/ui/actions/button/button.mjs +1 -2
  38. package/dist/ui/actions/button/index.js +9 -5
  39. package/dist/ui/actions/button/index.mjs +1 -1
  40. package/dist/ui/actions/index.js +9 -5
  41. package/dist/ui/actions/index.mjs +1 -1
  42. package/dist/ui/data/index.js +1 -0
  43. package/dist/ui/data/index.mjs +1 -1
  44. package/dist/ui/data/pagination/index.js +1 -0
  45. package/dist/ui/data/pagination/index.mjs +1 -1
  46. package/dist/ui/data/pagination/pagination.d.ts +6 -2
  47. package/dist/ui/data/pagination/pagination.js +6 -2
  48. package/dist/ui/data/pagination/pagination.mjs +5 -3
  49. package/dist/ui/feedback/alert/alert.d.ts +1 -1
  50. package/dist/ui/feedback/alert/alert.js +0 -1
  51. package/dist/ui/feedback/alert/alert.mjs +0 -1
  52. package/dist/ui/feedback/chip/chip.js +0 -1
  53. package/dist/ui/feedback/chip/chip.mjs +0 -1
  54. package/dist/ui/feedback/index.js +4 -6
  55. package/dist/ui/feedback/index.mjs +8 -8
  56. package/dist/ui/feedback/spinner/index.js +3 -5
  57. package/dist/ui/feedback/spinner/index.mjs +1 -1
  58. package/dist/ui/feedback/spinner/spinner.d.ts +8 -4
  59. package/dist/ui/feedback/spinner/spinner.js +3 -6
  60. package/dist/ui/feedback/spinner/spinner.mjs +1 -2
  61. package/dist/ui/feedback/tooltip/index.js +1 -1
  62. package/dist/ui/feedback/tooltip/index.mjs +1 -1
  63. package/dist/ui/feedback/tooltip/tooltip.d.ts +2 -2
  64. package/dist/ui/feedback/tooltip/tooltip.js +1 -2
  65. package/dist/ui/feedback/tooltip/tooltip.mjs +1 -2
  66. package/dist/ui/form/index.mjs +14 -14
  67. package/dist/ui/form/rhf/fields/autocomplete-field.js +0 -1
  68. package/dist/ui/form/rhf/fields/autocomplete-field.mjs +6 -7
  69. package/dist/ui/form/rhf/fields/checkbox-field.js +0 -1
  70. package/dist/ui/form/rhf/fields/checkbox-field.mjs +6 -7
  71. package/dist/ui/form/rhf/fields/date-picker-field.js +0 -1
  72. package/dist/ui/form/rhf/fields/date-picker-field.mjs +6 -7
  73. package/dist/ui/form/rhf/fields/email-field.js +0 -1
  74. package/dist/ui/form/rhf/fields/email-field.mjs +6 -7
  75. package/dist/ui/form/rhf/fields/index.mjs +12 -12
  76. package/dist/ui/form/rhf/fields/input-field.js +0 -1
  77. package/dist/ui/form/rhf/fields/input-field.mjs +6 -7
  78. package/dist/ui/form/rhf/fields/select-field.js +0 -1
  79. package/dist/ui/form/rhf/fields/select-field.mjs +6 -7
  80. package/dist/ui/form/rhf/fields/switch-field.js +0 -1
  81. package/dist/ui/form/rhf/fields/switch-field.mjs +6 -7
  82. package/dist/ui/form/rhf/fields/text-field.js +0 -1
  83. package/dist/ui/form/rhf/fields/text-field.mjs +6 -7
  84. package/dist/ui/form/rhf/fields/textarea-field.js +0 -1
  85. package/dist/ui/form/rhf/fields/textarea-field.mjs +6 -7
  86. package/dist/ui/form/rhf/index.mjs +12 -12
  87. package/dist/ui/format/boolean.js +0 -1
  88. package/dist/ui/format/boolean.mjs +0 -1
  89. package/dist/ui/format/currency.js +0 -1
  90. package/dist/ui/format/currency.mjs +0 -1
  91. package/dist/ui/format/date.js +2 -3
  92. package/dist/ui/format/date.mjs +1 -2
  93. package/dist/ui/format/datetime.js +4 -4
  94. package/dist/ui/format/datetime.mjs +1 -2
  95. package/dist/ui/format/duration.js +0 -1
  96. package/dist/ui/format/duration.mjs +0 -1
  97. package/dist/ui/format/index.js +6 -5
  98. package/dist/ui/format/index.mjs +2 -2
  99. package/dist/ui/format/number.js +0 -1
  100. package/dist/ui/format/number.mjs +0 -1
  101. package/dist/ui/format/percent.js +0 -1
  102. package/dist/ui/format/percent.mjs +0 -1
  103. package/dist/ui/format/plural.js +0 -1
  104. package/dist/ui/format/plural.mjs +0 -1
  105. package/dist/ui/format/time.js +0 -1
  106. package/dist/ui/format/time.mjs +0 -1
  107. package/dist/ui/index.d.ts +1 -0
  108. package/dist/ui/index.js +527 -55
  109. package/dist/ui/index.mjs +110 -78
  110. package/dist/ui/inputs/index.mjs +10 -10
  111. package/dist/ui/inputs/switch/switch.js +0 -1
  112. package/dist/ui/inputs/switch/switch.mjs +0 -1
  113. package/dist/ui/layout/{container.d.ts → container/container.d.ts} +2 -2
  114. package/dist/ui/layout/{container.js → container/container.js} +3 -4
  115. package/dist/ui/layout/container/container.mjs +107 -0
  116. package/dist/ui/layout/container/index.d.ts +1 -0
  117. package/dist/ui/layout/container/index.js +66 -0
  118. package/dist/ui/layout/container/index.mjs +107 -0
  119. package/dist/ui/layout/{flex.js → flex/flex.js} +1 -2
  120. package/dist/ui/layout/{flex.mjs → flex/flex.mjs} +1 -2
  121. package/dist/ui/layout/flex/index.d.ts +1 -0
  122. package/dist/ui/layout/flex/index.js +84 -0
  123. package/dist/ui/layout/flex/index.mjs +8 -0
  124. package/dist/ui/layout/grid/grid.d.ts +118 -0
  125. package/dist/ui/layout/grid/grid.js +84 -0
  126. package/dist/ui/layout/grid/grid.mjs +7 -0
  127. package/dist/ui/layout/grid/index.d.ts +1 -0
  128. package/dist/ui/layout/grid/index.js +86 -0
  129. package/dist/ui/layout/grid/index.mjs +8 -0
  130. package/dist/ui/layout/index.d.ts +1 -0
  131. package/dist/ui/layout/index.js +65 -9
  132. package/dist/ui/layout/index.mjs +72 -48
  133. package/dist/ui/layout/page/breadcrumbs.js +0 -1
  134. package/dist/ui/layout/page/breadcrumbs.mjs +0 -1
  135. package/dist/ui/layout/page/index.js +3 -5
  136. package/dist/ui/layout/page/index.mjs +11 -11
  137. package/dist/ui/layout/page/page-loading.js +3 -5
  138. package/dist/ui/layout/page/page-loading.mjs +6 -6
  139. package/dist/ui/layout/page/section-loading.js +3 -5
  140. package/dist/ui/layout/page/section-loading.mjs +6 -6
  141. package/dist/ui/overlays/modal/modal.js +0 -1
  142. package/dist/ui/overlays/modal/modal.mjs +0 -1
  143. package/dist/ui/surface/bento/bento.d.ts +86 -0
  144. package/dist/ui/surface/bento/bento.js +74 -0
  145. package/dist/ui/surface/bento/bento.mjs +9 -0
  146. package/dist/ui/surface/bento/index.d.ts +1 -0
  147. package/dist/ui/surface/bento/index.js +76 -0
  148. package/dist/ui/surface/bento/index.mjs +10 -0
  149. package/dist/ui/surface/index.d.ts +1 -0
  150. package/dist/ui/surface/index.js +76 -0
  151. package/dist/ui/surface/index.mjs +11 -0
  152. package/dist/ui/theme/colors/blue.d.ts +12 -0
  153. package/dist/ui/theme/colors/blue.js +42 -0
  154. package/dist/ui/theme/colors/blue.mjs +7 -0
  155. package/dist/ui/theme/colors/common.d.ts +113 -0
  156. package/dist/ui/theme/colors/common.js +171 -0
  157. package/dist/ui/theme/colors/common.mjs +16 -0
  158. package/dist/ui/theme/colors/cyan.d.ts +12 -0
  159. package/dist/ui/theme/colors/cyan.js +42 -0
  160. package/dist/ui/theme/colors/cyan.mjs +7 -0
  161. package/dist/ui/theme/colors/flat.d.ts +22 -0
  162. package/dist/ui/theme/colors/flat.js +52 -0
  163. package/dist/ui/theme/colors/flat.mjs +28 -0
  164. package/dist/ui/theme/colors/green.d.ts +12 -0
  165. package/dist/ui/theme/colors/green.js +42 -0
  166. package/dist/ui/theme/colors/green.mjs +7 -0
  167. package/dist/ui/theme/colors/index.d.ts +118 -0
  168. package/dist/ui/theme/colors/index.js +353 -0
  169. package/dist/ui/theme/colors/index.mjs +26 -0
  170. package/dist/ui/theme/colors/pink.d.ts +12 -0
  171. package/dist/ui/theme/colors/pink.js +42 -0
  172. package/dist/ui/theme/colors/pink.mjs +7 -0
  173. package/dist/ui/theme/colors/purple.d.ts +12 -0
  174. package/dist/ui/theme/colors/purple.js +42 -0
  175. package/dist/ui/theme/colors/purple.mjs +7 -0
  176. package/dist/ui/theme/colors/red.d.ts +12 -0
  177. package/dist/ui/theme/colors/red.js +42 -0
  178. package/dist/ui/theme/colors/red.mjs +7 -0
  179. package/dist/ui/theme/colors/semantic.d.ts +7 -0
  180. package/dist/ui/theme/colors/semantic.js +347 -0
  181. package/dist/ui/theme/colors/semantic.mjs +22 -0
  182. package/dist/ui/theme/colors/shipgray.d.ts +12 -0
  183. package/dist/ui/theme/colors/shipgray.js +42 -0
  184. package/dist/ui/theme/colors/shipgray.mjs +7 -0
  185. package/dist/ui/theme/colors/types.d.ts +38 -0
  186. package/dist/ui/theme/colors/types.js +19 -0
  187. package/dist/ui/theme/colors/types.mjs +2 -0
  188. package/dist/ui/theme/colors/yellow.d.ts +12 -0
  189. package/dist/ui/theme/colors/yellow.js +42 -0
  190. package/dist/ui/theme/colors/yellow.mjs +7 -0
  191. package/dist/ui/theme/colors/zinc.d.ts +12 -0
  192. package/dist/ui/theme/colors/zinc.js +42 -0
  193. package/dist/ui/theme/colors/zinc.mjs +7 -0
  194. package/dist/ui/theme/colors.d.ts +1 -0
  195. package/dist/ui/theme/colors.js +353 -0
  196. package/dist/ui/theme/colors.mjs +27 -0
  197. package/dist/ui/theme/index.js +364 -2
  198. package/dist/ui/theme/index.mjs +20 -2
  199. package/dist/ui/theme/swap-color-values.d.ts +1 -0
  200. package/dist/ui/theme/swap-color-values.js +46 -0
  201. package/dist/ui/theme/swap-color-values.mjs +7 -0
  202. package/dist/ui/theme/theme.d.ts +1 -2
  203. package/dist/ui/theme/theme.js +332 -183
  204. package/dist/ui/theme/theme.mjs +18 -3
  205. package/package.json +4 -3
  206. package/dist/chunk-FELJP42D.mjs +0 -220
  207. package/dist/ui/layout/container.mjs +0 -87
  208. package/dist/ui/theme/theme.css +0 -2
  209. /package/dist/ui/layout/{flex.d.ts → flex/flex.d.ts} +0 -0
@@ -21,7 +21,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/ui/theme/index.ts
22
22
  var theme_exports = {};
23
23
  __export(theme_exports, {
24
- breakpoints: () => breakpoints
24
+ breakpoints: () => breakpoints,
25
+ theme: () => theme
25
26
  });
26
27
  module.exports = __toCommonJS(theme_exports);
27
28
 
@@ -34,7 +35,368 @@ var breakpoints = {
34
35
  xl: 1280,
35
36
  "2xl": 1536
36
37
  };
38
+
39
+ // src/ui/theme/theme.ts
40
+ var import_theme = require("@heroui/theme");
41
+
42
+ // src/ui/theme/colors/blue.ts
43
+ var blue = {
44
+ 50: "#f5f7fd",
45
+ 100: "#dfe8fb",
46
+ 200: "#b5c8f6",
47
+ 300: "#80a2f1",
48
+ 400: "#2e66e8",
49
+ 500: "#2552ba",
50
+ 600: "#1c3d8c",
51
+ 700: "#173274",
52
+ 800: "#0d1f45",
53
+ 900: "#070f22"
54
+ };
55
+
56
+ // src/ui/theme/colors/green.ts
57
+ var green = {
58
+ 50: "#f2fbf6",
59
+ 100: "#d9f2e3",
60
+ 200: "#a3e0bb",
61
+ 300: "#66cb8e",
62
+ 400: "#00a843",
63
+ 500: "#008636",
64
+ 600: "#006528",
65
+ 700: "#005421",
66
+ 800: "#002f13",
67
+ 900: "#00190a"
68
+ };
69
+
70
+ // src/ui/theme/colors/pink.ts
71
+ var pink = {
72
+ 50: "#fef8ff",
73
+ 100: "#fce9ff",
74
+ 200: "#f8c6ff",
75
+ 300: "#f4a8ff",
76
+ 400: "#ed6aff",
77
+ 500: "#c759d6",
78
+ 600: "#9844a3",
79
+ 700: "#7b3785",
80
+ 800: "#47204d",
81
+ 900: "#2b132e"
82
+ };
83
+
84
+ // src/ui/theme/colors/purple.ts
85
+ var purple = {
86
+ 50: "#faf6fe",
87
+ 100: "#efe5fd",
88
+ 200: "#d6bcfa",
89
+ 300: "#b88bf6",
90
+ 400: "#9350f2",
91
+ 500: "#7b43cb",
92
+ 600: "#5e339b",
93
+ 700: "#4c2a7e",
94
+ 800: "#2c1849",
95
+ 900: "#1a0e2c"
96
+ };
97
+
98
+ // src/ui/theme/colors/red.ts
99
+ var red = {
100
+ 50: "#fdf4f3",
101
+ 100: "#f8dfdb",
102
+ 200: "#eeb2a9",
103
+ 300: "#e37f70",
104
+ 400: "#d02a11",
105
+ 500: "#a6220e",
106
+ 600: "#7d190a",
107
+ 700: "#681509",
108
+ 800: "#3a0c05",
109
+ 900: "#1f0603"
110
+ };
111
+
112
+ // src/ui/theme/colors/shipgray.ts
113
+ var shipgray = {
114
+ 50: "#f8f8fa",
115
+ 100: "#f4f4f8",
116
+ 200: "#cfcdde",
117
+ 300: "#acaac7",
118
+ 400: "#7571a2",
119
+ 500: "#5e5a82",
120
+ 600: "#464461",
121
+ 700: "#232231",
122
+ 800: "#1a1923",
123
+ 900: "#121118"
124
+ };
125
+
126
+ // src/ui/theme/colors/yellow.ts
127
+ var yellow = {
128
+ 50: "#fffcec",
129
+ 100: "#fff2ab",
130
+ 200: "#ffe66e",
131
+ 300: "#ffd739",
132
+ 400: "#f5c20f",
133
+ 500: "#daa800",
134
+ 600: "#b38700",
135
+ 700: "#836100",
136
+ 800: "#4c3800",
137
+ 900: "#171200"
138
+ };
139
+
140
+ // src/ui/theme/colors/cyan.ts
141
+ var cyan = {
142
+ 50: "#f4fdfe",
143
+ 100: "#ddf9fd",
144
+ 200: "#a9effb",
145
+ 300: "#69e3f8",
146
+ 400: "#1cd5f4",
147
+ 500: "#18b3cd",
148
+ 600: "#12889c",
149
+ 700: "#0f6f7f",
150
+ 800: "#084049",
151
+ 900: "#05262c"
152
+ };
153
+
154
+ // src/ui/theme/colors/zinc.ts
155
+ var zinc = {
156
+ "50": "#fafafa",
157
+ "100": "#f4f4f5",
158
+ "200": "#e4e4e7",
159
+ "300": "#d4d4d8",
160
+ "400": "#a1a1aa",
161
+ "500": "#71717a",
162
+ "600": "#52525b",
163
+ "700": "#3f3f46",
164
+ "800": "#27272a",
165
+ "900": "#18181b"
166
+ };
167
+
168
+ // src/ui/theme/colors/common.ts
169
+ var commonColors = {
170
+ white: "#ffffff",
171
+ black: "#111016",
172
+ blue,
173
+ green,
174
+ pink,
175
+ purple,
176
+ red,
177
+ shipgray,
178
+ yellow,
179
+ cyan,
180
+ zinc
181
+ };
182
+
183
+ // src/ui/theme/swap-color-values.ts
184
+ function swapColorValues(colors2) {
185
+ const swappedColors = {};
186
+ const keys = Object.keys(colors2);
187
+ const length = keys.length;
188
+ for (let i = 0; i < length / 2; i++) {
189
+ const key1 = keys[i];
190
+ const key2 = keys[length - 1 - i];
191
+ swappedColors[key1] = colors2[key2];
192
+ swappedColors[key2] = colors2[key1];
193
+ }
194
+ if (length % 2 !== 0) {
195
+ const middleKey = keys[Math.floor(length / 2)];
196
+ swappedColors[middleKey] = colors2[middleKey];
197
+ }
198
+ return swappedColors;
199
+ }
200
+
201
+ // src/ui/theme/colors/semantic.ts
202
+ var base = {
203
+ light: {
204
+ background: {
205
+ DEFAULT: commonColors.white
206
+ },
207
+ foreground: {
208
+ ...commonColors.shipgray,
209
+ DEFAULT: commonColors.shipgray[800]
210
+ },
211
+ divider: {
212
+ DEFAULT: "rgba(17, 17, 6, 0.15)"
213
+ },
214
+ focus: {
215
+ DEFAULT: commonColors.blue[400]
216
+ },
217
+ overlay: {
218
+ DEFAULT: "#1110164c"
219
+ },
220
+ content1: {
221
+ DEFAULT: commonColors.shipgray[50],
222
+ foreground: commonColors.shipgray[900]
223
+ },
224
+ content2: {
225
+ DEFAULT: commonColors.shipgray[100],
226
+ foreground: commonColors.shipgray[800]
227
+ },
228
+ content3: {
229
+ DEFAULT: commonColors.shipgray[200],
230
+ foreground: commonColors.shipgray[700]
231
+ },
232
+ content4: {
233
+ DEFAULT: commonColors.shipgray[300],
234
+ foreground: commonColors.shipgray[600]
235
+ }
236
+ },
237
+ dark: {
238
+ background: {
239
+ DEFAULT: commonColors.black
240
+ },
241
+ foreground: {
242
+ ...swapColorValues(commonColors.shipgray),
243
+ DEFAULT: commonColors.shipgray[50]
244
+ },
245
+ focus: {
246
+ DEFAULT: commonColors.blue[500]
247
+ },
248
+ overlay: {
249
+ DEFAULT: "#1110164C"
250
+ },
251
+ divider: {
252
+ DEFAULT: "rgba(255, 255, 255, 0.15)"
253
+ },
254
+ content1: {
255
+ DEFAULT: commonColors.shipgray[800],
256
+ foreground: commonColors.shipgray[50]
257
+ },
258
+ content2: {
259
+ DEFAULT: commonColors.shipgray[700],
260
+ foreground: commonColors.shipgray[100]
261
+ },
262
+ content3: {
263
+ DEFAULT: commonColors.shipgray[600],
264
+ foreground: commonColors.shipgray[200]
265
+ },
266
+ content4: {
267
+ DEFAULT: commonColors.shipgray[500],
268
+ foreground: commonColors.shipgray[300]
269
+ }
270
+ }
271
+ };
272
+ var themeColorsLight = {
273
+ ...base.light,
274
+ default: {
275
+ ...commonColors.shipgray,
276
+ foreground: commonColors.black,
277
+ flat: commonColors.shipgray[300],
278
+ DEFAULT: commonColors.shipgray[100]
279
+ },
280
+ primary: {
281
+ ...commonColors.blue,
282
+ foreground: commonColors.white,
283
+ flat: commonColors.blue[500],
284
+ DEFAULT: commonColors.blue[400]
285
+ },
286
+ secondary: {
287
+ ...commonColors.purple,
288
+ foreground: commonColors.white,
289
+ flat: commonColors.purple[500],
290
+ DEFAULT: commonColors.purple[400]
291
+ },
292
+ success: {
293
+ ...commonColors.green,
294
+ foreground: commonColors.black,
295
+ flat: commonColors.green[500],
296
+ DEFAULT: commonColors.green[400]
297
+ },
298
+ warning: {
299
+ ...commonColors.yellow,
300
+ foreground: commonColors.black,
301
+ flat: commonColors.yellow[500],
302
+ DEFAULT: commonColors.yellow[500]
303
+ },
304
+ danger: {
305
+ ...commonColors.red,
306
+ foreground: commonColors.white,
307
+ flat: commonColors.red[500],
308
+ DEFAULT: commonColors.red[400]
309
+ }
310
+ };
311
+ var themeColorsDark = {
312
+ ...base.dark,
313
+ default: {
314
+ ...swapColorValues(commonColors.shipgray),
315
+ foreground: commonColors.white,
316
+ flat: commonColors.shipgray[600],
317
+ DEFAULT: commonColors.shipgray[700]
318
+ },
319
+ primary: {
320
+ ...swapColorValues(commonColors.blue),
321
+ foreground: commonColors.blue[500],
322
+ flat: commonColors.blue[500],
323
+ DEFAULT: commonColors.blue[500]
324
+ },
325
+ secondary: {
326
+ ...swapColorValues(commonColors.purple),
327
+ foreground: commonColors.white,
328
+ flat: commonColors.purple[400],
329
+ DEFAULT: commonColors.purple[400]
330
+ },
331
+ success: {
332
+ ...swapColorValues(commonColors.green),
333
+ foreground: commonColors.black,
334
+ flat: commonColors.green[500],
335
+ DEFAULT: commonColors.green[500]
336
+ },
337
+ warning: {
338
+ ...swapColorValues(commonColors.yellow),
339
+ foreground: commonColors.black,
340
+ flat: commonColors.yellow[500],
341
+ DEFAULT: commonColors.yellow[500]
342
+ },
343
+ danger: {
344
+ ...swapColorValues(commonColors.red),
345
+ foreground: commonColors.white,
346
+ flat: commonColors.red[500],
347
+ DEFAULT: commonColors.red[500]
348
+ }
349
+ };
350
+ var semanticColors = {
351
+ light: themeColorsLight,
352
+ dark: themeColorsDark
353
+ };
354
+
355
+ // src/ui/theme/colors/index.ts
356
+ var colors = {
357
+ ...commonColors,
358
+ ...semanticColors
359
+ };
360
+
361
+ // src/ui/theme/theme.ts
362
+ var theme = (0, import_theme.heroui)({
363
+ layout: {
364
+ dividerWeight: "0.0625rem",
365
+ disabledOpacity: ".5",
366
+ fontSize: {
367
+ tiny: "0.75rem",
368
+ small: "0.875rem",
369
+ medium: "1rem",
370
+ large: "1.125rem"
371
+ },
372
+ lineHeight: {
373
+ tiny: "1rem",
374
+ small: "1.25rem",
375
+ medium: "1.5rem",
376
+ large: "1.75rem"
377
+ },
378
+ radius: {
379
+ small: "0.5rem",
380
+ medium: "0.75rem",
381
+ large: "1rem"
382
+ },
383
+ borderWidth: {
384
+ small: "0.0625rem",
385
+ medium: "0.125rem",
386
+ large: "0.1875rem"
387
+ }
388
+ },
389
+ themes: {
390
+ light: {
391
+ colors: semanticColors.light
392
+ },
393
+ dark: {
394
+ colors: semanticColors.dark
395
+ }
396
+ }
397
+ });
37
398
  // Annotate the CommonJS export names for ESM import in node:
38
399
  0 && (module.exports = {
39
- breakpoints
400
+ breakpoints,
401
+ theme
40
402
  });
@@ -4,7 +4,25 @@ import "../../chunk-XAW35UDV.mjs";
4
4
  import {
5
5
  breakpoints
6
6
  } from "../../chunk-NBFOX367.mjs";
7
- import "../../chunk-FELJP42D.mjs";
7
+ import {
8
+ theme
9
+ } from "../../chunk-545OBZ4O.mjs";
10
+ import "../../chunk-JWMPI5AZ.mjs";
11
+ import "../../chunk-PFLROV3C.mjs";
12
+ import "../../chunk-X7ER4IDJ.mjs";
13
+ import "../../chunk-EJQH6CYW.mjs";
14
+ import "../../chunk-NCM6KIQH.mjs";
15
+ import "../../chunk-SLB2JE3N.mjs";
16
+ import "../../chunk-XYQVL4EX.mjs";
17
+ import "../../chunk-HOVAPYGJ.mjs";
18
+ import "../../chunk-3LOCA2SP.mjs";
19
+ import "../../chunk-2OPPNAW2.mjs";
20
+ import "../../chunk-OW6U64MG.mjs";
21
+ import "../../chunk-LUERGYYZ.mjs";
22
+ import "../../chunk-YBQFG6QJ.mjs";
23
+ import "../../chunk-XKX5LFH7.mjs";
24
+ import "../../chunk-VIPLRFPR.mjs";
8
25
  export {
9
- breakpoints
26
+ breakpoints,
27
+ theme
10
28
  };
@@ -0,0 +1 @@
1
+ export declare function swapColorValues<T extends Object>(colors: T): {};
@@ -0,0 +1,46 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/ui/theme/swap-color-values.ts
22
+ var swap_color_values_exports = {};
23
+ __export(swap_color_values_exports, {
24
+ swapColorValues: () => swapColorValues
25
+ });
26
+ module.exports = __toCommonJS(swap_color_values_exports);
27
+ function swapColorValues(colors) {
28
+ const swappedColors = {};
29
+ const keys = Object.keys(colors);
30
+ const length = keys.length;
31
+ for (let i = 0; i < length / 2; i++) {
32
+ const key1 = keys[i];
33
+ const key2 = keys[length - 1 - i];
34
+ swappedColors[key1] = colors[key2];
35
+ swappedColors[key2] = colors[key1];
36
+ }
37
+ if (length % 2 !== 0) {
38
+ const middleKey = keys[Math.floor(length / 2)];
39
+ swappedColors[middleKey] = colors[middleKey];
40
+ }
41
+ return swappedColors;
42
+ }
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ swapColorValues
46
+ });
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ import {
3
+ swapColorValues
4
+ } from "../../chunk-VIPLRFPR.mjs";
5
+ export {
6
+ swapColorValues
7
+ };
@@ -1,2 +1 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export declare const theme: any;