@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.
- package/README.md +28 -0
- package/dist/ag-grid.cjs +753 -0
- package/dist/ag-grid.cjs.map +1 -0
- package/dist/ag-grid.d.cts +193 -0
- package/dist/ag-grid.d.ts +193 -0
- package/dist/ag-grid.js +698 -0
- package/dist/ag-grid.js.map +1 -0
- package/dist/brands/bluehive.css +20 -0
- package/dist/brands/enterprise-health.css +32 -4
- package/dist/brands/index.cjs +12 -7
- package/dist/brands/index.d.cts +3 -1
- package/dist/brands/index.d.ts +3 -1
- package/dist/brands/index.js +3 -2
- package/dist/brands/mieweb.css +20 -0
- package/dist/brands/ozwell.cjs +12 -0
- package/dist/brands/ozwell.cjs.map +1 -0
- package/dist/brands/ozwell.css +165 -0
- package/dist/brands/ozwell.d.cts +17 -0
- package/dist/brands/ozwell.d.ts +17 -0
- package/dist/brands/ozwell.js +3 -0
- package/dist/brands/ozwell.js.map +1 -0
- package/dist/brands/waggleline.css +46 -0
- package/dist/brands/webchart.css +20 -0
- package/dist/chunk-4DJNHPHB.js +82 -0
- package/dist/chunk-4DJNHPHB.js.map +1 -0
- package/dist/{chunk-CLJZHS7Y.cjs → chunk-B5364UWR.cjs} +3 -2
- package/dist/chunk-B5364UWR.cjs.map +1 -0
- package/dist/chunk-EYH7OUX5.js +445 -0
- package/dist/chunk-EYH7OUX5.js.map +1 -0
- package/dist/{chunk-UBRDKNLQ.js → chunk-GHRQ3ZJH.js} +178 -51
- package/dist/chunk-GHRQ3ZJH.js.map +1 -0
- package/dist/{chunk-AKTUXJPI.cjs → chunk-INFSKLXE.cjs} +178 -51
- package/dist/chunk-INFSKLXE.cjs.map +1 -0
- package/dist/chunk-KEIA2G6O.cjs +84 -0
- package/dist/chunk-KEIA2G6O.cjs.map +1 -0
- package/dist/{chunk-WN2FJE23.js → chunk-KWDTTGH2.js} +3 -3
- package/dist/{chunk-WN2FJE23.js.map → chunk-KWDTTGH2.js.map} +1 -1
- package/dist/{chunk-MKJDBXX4.cjs → chunk-PEH4ZOEM.cjs} +4 -4
- package/dist/{chunk-MKJDBXX4.cjs.map → chunk-PEH4ZOEM.cjs.map} +1 -1
- package/dist/chunk-QUA7WVHK.cjs +188 -0
- package/dist/chunk-QUA7WVHK.cjs.map +1 -0
- package/dist/{chunk-S4DK5WN6.js → chunk-RYQ5NEKH.js} +3 -2
- package/dist/chunk-RYQ5NEKH.js.map +1 -0
- package/dist/chunk-SSKI6VTW.cjs +449 -0
- package/dist/chunk-SSKI6VTW.cjs.map +1 -0
- package/dist/{chunk-SN52QMRT.js → chunk-TPGT236K.js} +28 -24
- package/dist/chunk-TPGT236K.js.map +1 -0
- package/dist/{chunk-N5EKL4DH.js → chunk-VBHPXSCV.js} +4 -4
- package/dist/{chunk-N5EKL4DH.js.map → chunk-VBHPXSCV.js.map} +1 -1
- package/dist/{chunk-B7DA35BY.cjs → chunk-VZUVYJFU.cjs} +14 -14
- package/dist/{chunk-B7DA35BY.cjs.map → chunk-VZUVYJFU.cjs.map} +1 -1
- package/dist/{chunk-KMN7JX2X.cjs → chunk-WH6I7CMP.cjs} +28 -24
- package/dist/chunk-WH6I7CMP.cjs.map +1 -0
- package/dist/chunk-Y22SOAJM.js +3 -0
- package/dist/chunk-Y22SOAJM.js.map +1 -0
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.d.cts +24 -10
- package/dist/components/AudioPlayer/index.d.ts +24 -10
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Button/index.cjs +3 -3
- package/dist/components/Button/index.js +1 -1
- package/dist/components/DateInput/index.cjs +3 -3
- package/dist/components/DateInput/index.js +2 -2
- package/dist/index.cjs +4556 -2833
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +411 -227
- package/dist/index.d.ts +411 -227
- package/dist/index.js +4093 -2349
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2 -2
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/utils/index.cjs +9 -9
- package/dist/utils/index.js +1 -1
- package/package.json +53 -38
- package/dist/chunk-AKTUXJPI.cjs.map +0 -1
- package/dist/chunk-CLJZHS7Y.cjs.map +0 -1
- package/dist/chunk-KMN7JX2X.cjs.map +0 -1
- package/dist/chunk-O7WRE2WX.js +0 -195
- package/dist/chunk-O7WRE2WX.js.map +0 -1
- package/dist/chunk-S4DK5WN6.js.map +0 -1
- package/dist/chunk-SJ3BF4BO.cjs +0 -199
- package/dist/chunk-SJ3BF4BO.cjs.map +0 -1
- package/dist/chunk-SN52QMRT.js.map +0 -1
- 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.
|