@mieweb/ui 0.2.0 → 0.2.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 (85) hide show
  1. package/README.md +28 -0
  2. package/dist/ag-grid.cjs +753 -0
  3. package/dist/ag-grid.cjs.map +1 -0
  4. package/dist/ag-grid.d.cts +193 -0
  5. package/dist/ag-grid.d.ts +193 -0
  6. package/dist/ag-grid.js +698 -0
  7. package/dist/ag-grid.js.map +1 -0
  8. package/dist/brands/bluehive.css +20 -0
  9. package/dist/brands/enterprise-health.css +32 -4
  10. package/dist/brands/index.cjs +12 -7
  11. package/dist/brands/index.d.cts +3 -1
  12. package/dist/brands/index.d.ts +3 -1
  13. package/dist/brands/index.js +3 -2
  14. package/dist/brands/mieweb.css +20 -0
  15. package/dist/brands/ozwell.cjs +12 -0
  16. package/dist/brands/ozwell.cjs.map +1 -0
  17. package/dist/brands/ozwell.css +165 -0
  18. package/dist/brands/ozwell.d.cts +17 -0
  19. package/dist/brands/ozwell.d.ts +17 -0
  20. package/dist/brands/ozwell.js +3 -0
  21. package/dist/brands/ozwell.js.map +1 -0
  22. package/dist/brands/waggleline.css +46 -0
  23. package/dist/brands/webchart.css +20 -0
  24. package/dist/chunk-4DJNHPHB.js +82 -0
  25. package/dist/chunk-4DJNHPHB.js.map +1 -0
  26. package/dist/{chunk-CLJZHS7Y.cjs → chunk-B5364UWR.cjs} +3 -2
  27. package/dist/chunk-B5364UWR.cjs.map +1 -0
  28. package/dist/chunk-EYH7OUX5.js +445 -0
  29. package/dist/chunk-EYH7OUX5.js.map +1 -0
  30. package/dist/{chunk-UBRDKNLQ.js → chunk-GHRQ3ZJH.js} +178 -51
  31. package/dist/chunk-GHRQ3ZJH.js.map +1 -0
  32. package/dist/{chunk-AKTUXJPI.cjs → chunk-INFSKLXE.cjs} +178 -51
  33. package/dist/chunk-INFSKLXE.cjs.map +1 -0
  34. package/dist/chunk-KEIA2G6O.cjs +84 -0
  35. package/dist/chunk-KEIA2G6O.cjs.map +1 -0
  36. package/dist/{chunk-WN2FJE23.js → chunk-KWDTTGH2.js} +3 -3
  37. package/dist/{chunk-WN2FJE23.js.map → chunk-KWDTTGH2.js.map} +1 -1
  38. package/dist/{chunk-MKJDBXX4.cjs → chunk-PEH4ZOEM.cjs} +4 -4
  39. package/dist/{chunk-MKJDBXX4.cjs.map → chunk-PEH4ZOEM.cjs.map} +1 -1
  40. package/dist/chunk-QUA7WVHK.cjs +188 -0
  41. package/dist/chunk-QUA7WVHK.cjs.map +1 -0
  42. package/dist/{chunk-S4DK5WN6.js → chunk-RYQ5NEKH.js} +3 -2
  43. package/dist/chunk-RYQ5NEKH.js.map +1 -0
  44. package/dist/chunk-SSKI6VTW.cjs +449 -0
  45. package/dist/chunk-SSKI6VTW.cjs.map +1 -0
  46. package/dist/{chunk-SN52QMRT.js → chunk-TPGT236K.js} +28 -24
  47. package/dist/chunk-TPGT236K.js.map +1 -0
  48. package/dist/{chunk-N5EKL4DH.js → chunk-VBHPXSCV.js} +4 -4
  49. package/dist/{chunk-N5EKL4DH.js.map → chunk-VBHPXSCV.js.map} +1 -1
  50. package/dist/{chunk-B7DA35BY.cjs → chunk-VZUVYJFU.cjs} +14 -14
  51. package/dist/{chunk-B7DA35BY.cjs.map → chunk-VZUVYJFU.cjs.map} +1 -1
  52. package/dist/{chunk-KMN7JX2X.cjs → chunk-WH6I7CMP.cjs} +28 -24
  53. package/dist/chunk-WH6I7CMP.cjs.map +1 -0
  54. package/dist/chunk-Y22SOAJM.js +3 -0
  55. package/dist/chunk-Y22SOAJM.js.map +1 -0
  56. package/dist/components/AudioPlayer/index.cjs +6 -6
  57. package/dist/components/AudioPlayer/index.d.cts +24 -10
  58. package/dist/components/AudioPlayer/index.d.ts +24 -10
  59. package/dist/components/AudioPlayer/index.js +1 -1
  60. package/dist/components/Button/index.cjs +3 -3
  61. package/dist/components/Button/index.js +1 -1
  62. package/dist/components/DateInput/index.cjs +3 -3
  63. package/dist/components/DateInput/index.js +2 -2
  64. package/dist/index.cjs +4556 -2833
  65. package/dist/index.cjs.map +1 -1
  66. package/dist/index.d.cts +411 -227
  67. package/dist/index.d.ts +411 -227
  68. package/dist/index.js +4093 -2349
  69. package/dist/index.js.map +1 -1
  70. package/dist/styles.css +2 -2
  71. package/dist/tailwind-preset.cjs +4 -4
  72. package/dist/tailwind-preset.js +1 -1
  73. package/dist/utils/index.cjs +9 -9
  74. package/dist/utils/index.js +1 -1
  75. package/package.json +53 -38
  76. package/dist/chunk-AKTUXJPI.cjs.map +0 -1
  77. package/dist/chunk-CLJZHS7Y.cjs.map +0 -1
  78. package/dist/chunk-KMN7JX2X.cjs.map +0 -1
  79. package/dist/chunk-O7WRE2WX.js +0 -195
  80. package/dist/chunk-O7WRE2WX.js.map +0 -1
  81. package/dist/chunk-S4DK5WN6.js.map +0 -1
  82. package/dist/chunk-SJ3BF4BO.cjs +0 -199
  83. package/dist/chunk-SJ3BF4BO.cjs.map +0 -1
  84. package/dist/chunk-SN52QMRT.js.map +0 -1
  85. package/dist/chunk-UBRDKNLQ.js.map +0 -1
package/README.md CHANGED
@@ -18,6 +18,7 @@ A themeable, accessible React component library built with Tailwind CSS 4.
18
18
  - [Installation](#installation)
19
19
  - [Quick Start](#quick-start)
20
20
  - [Development](#development)
21
+ - [Date & Time Standard](#date--time-standard)
21
22
  - [Storybook](#storybook)
22
23
  - [Using in Other Projects](#using-in-other-projects)
23
24
  - [Brand System](#brand-system)
@@ -140,6 +141,33 @@ This will watch for changes and rebuild the library automatically.
140
141
  | `npm run test` | Run tests |
141
142
  | `npm run test:watch` | Run tests in watch mode |
142
143
 
144
+ ## Date & Time Standard
145
+
146
+ For UI/UX date and time behavior, this project uses **Luxon** as the preferred library.
147
+
148
+ ### Guidelines
149
+
150
+ - Use `DateTime` from `luxon` for all new date/time parsing, formatting, and comparisons.
151
+ - Keep timezone explicit when logic depends on business rules (for example: office hours, “open now”, appointment windows).
152
+ - Use IANA timezone identifiers (for example: `America/New_York`) instead of abbreviations.
153
+ - Prefer storing/transmitting ISO-8601 values and convert for display at the component edge.
154
+ - Avoid adding new date logic with raw `Date` math unless there is a clear performance or compatibility reason.
155
+
156
+ ### Examples
157
+
158
+ ```ts
159
+ import { DateTime } from 'luxon';
160
+
161
+ const localDisplay = DateTime.fromISO(timestamp).toFormat('LLL d, yyyy h:mm a');
162
+
163
+ const inProviderZone = DateTime.fromISO(timestamp, {
164
+ zone: 'America/New_York',
165
+ });
166
+
167
+ const isOpen = DateTime.now().setZone('America/New_York') <
168
+ inProviderZone.plus({ hours: 1 });
169
+ ```
170
+
143
171
  ## Storybook
144
172
 
145
173
  Storybook provides interactive documentation and a component playground where you can explore all components with different props and themes.