@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
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
- "use client";
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -27,11 +26,12 @@ __export(datetime_exports, {
27
26
  module.exports = __toCommonJS(datetime_exports);
28
27
  var import_jsx_runtime = require("react/jsx-runtime");
29
28
  var defaultFormat = {
30
- day: "2-digit",
31
- month: "2-digit",
29
+ day: "numeric",
30
+ month: "long",
32
31
  year: "numeric",
33
32
  hour: "2-digit",
34
- minute: "2-digit"
33
+ minute: "2-digit",
34
+ second: "2-digit"
35
35
  };
36
36
  function Datetime({
37
37
  value,
@@ -1,8 +1,7 @@
1
1
  "use client";
2
- "use client";
3
2
  import {
4
3
  Datetime
5
- } from "../../chunk-2W4N27WQ.mjs";
4
+ } from "../../chunk-6NZ4IHNU.mjs";
6
5
  export {
7
6
  Datetime
8
7
  };
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
- "use client";
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- "use client";
3
2
  import {
4
3
  Duration
5
4
  } from "../../chunk-4QSIBIUI.mjs";
@@ -36,11 +36,12 @@ module.exports = __toCommonJS(format_exports);
36
36
  // src/ui/format/datetime.tsx
37
37
  var import_jsx_runtime = require("react/jsx-runtime");
38
38
  var defaultFormat = {
39
- day: "2-digit",
40
- month: "2-digit",
39
+ day: "numeric",
40
+ month: "long",
41
41
  year: "numeric",
42
42
  hour: "2-digit",
43
- minute: "2-digit"
43
+ minute: "2-digit",
44
+ second: "2-digit"
44
45
  };
45
46
  function Datetime({
46
47
  value,
@@ -59,8 +60,8 @@ Datetime.displayName = "TeachInUI.FormatDatetime";
59
60
  // src/ui/format/date.tsx
60
61
  var import_jsx_runtime2 = require("react/jsx-runtime");
61
62
  var defaultFormat2 = {
62
- day: "2-digit",
63
- month: "2-digit",
63
+ day: "numeric",
64
+ month: "long",
64
65
  year: "numeric"
65
66
  };
66
67
  function DateFormat({
@@ -20,10 +20,10 @@ import {
20
20
  } from "../../chunk-LN7WH3OB.mjs";
21
21
  import {
22
22
  DateFormat
23
- } from "../../chunk-CLDAITOP.mjs";
23
+ } from "../../chunk-BUVPBB4J.mjs";
24
24
  import {
25
25
  Datetime
26
- } from "../../chunk-2W4N27WQ.mjs";
26
+ } from "../../chunk-6NZ4IHNU.mjs";
27
27
  import {
28
28
  Duration
29
29
  } from "../../chunk-4QSIBIUI.mjs";
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
- "use client";
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- "use client";
3
2
  import {
4
3
  Number
5
4
  } from "../../chunk-NZI5NBXF.mjs";
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
- "use client";
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- "use client";
3
2
  import {
4
3
  Percent
5
4
  } from "../../chunk-CXAZBWS4.mjs";
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
- "use client";
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- "use client";
3
2
  import {
4
3
  Plural
5
4
  } from "../../chunk-UHLC7GOU.mjs";
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
- "use client";
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- "use client";
3
2
  import {
4
3
  Time
5
4
  } from "../../chunk-3ZTXXJSO.mjs";
@@ -4,6 +4,7 @@ export * from "./feedback";
4
4
  export * from "./form";
5
5
  export * from "./format";
6
6
  export * from "./inputs";
7
+ export * from "./surface";
7
8
  export * from "./layout";
8
9
  export * from "./navigation";
9
10
  export * from "./overlays";