@recursica/mui-adapter 0.37.0 → 0.38.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.
- package/CHANGELOG.md +15 -0
- package/dist/index.d.ts +10 -0
- package/dist/mui-adapter.cjs +32 -32
- package/dist/mui-adapter.cjs.map +1 -1
- package/dist/mui-adapter.css +1 -1
- package/dist/mui-adapter.js +1381 -1357
- package/dist/mui-adapter.js.map +1 -1
- package/package.json +4 -2
- package/src/components/Label/Label.stories.tsx +63 -54
- package/src/components/Loader/Loader.animate.dom.test.tsx +72 -0
- package/src/components/Loader/Loader.module.css +10 -0
- package/src/components/Loader/Loader.stories.tsx +20 -0
- package/src/components/Loader/Loader.tsx +8 -1
- package/src/components/Table/TABLE_IMPLEMENTATION_NOTES.md +11 -0
- package/src/components/Table/Table.module.css +14 -0
- package/src/components/Table/Table.stories.tsx +1 -1
- package/src/components/Table/USAGE.md +2 -2
- package/src/components/TimePicker/TIMEPICKER_IMPLEMENTATION_NOTES.md +8 -1
- package/src/components/TimePicker/TimePicker.module.css +43 -0
- package/src/components/TimePicker/TimePicker.stories.tsx +22 -0
- package/src/components/TimePicker/TimePicker.tsx +24 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @recursica/mui-adapter
|
|
2
2
|
|
|
3
|
+
## 0.38.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c31d5ae: Added an `animate` prop to `Loader` (default `true`) — set `false` to freeze its CSS animation for a deterministic render, e.g. a visual-regression snapshot. The `Static*` Loader stories now use it, and the animated `Default`/`LayerTwoOval` stories are excluded from adapter-tester's visual regression.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- c31d5ae: Fixed `Table` currency columns so header and footer cells right-align to match value cells. `Table.Th`/`Table.Cell` header context now supports `variant="currency"`.
|
|
12
|
+
- c31d5ae: Added `leftSection` support to `TimePicker` for an optional leading icon, matching `TextField`'s convention.
|
|
13
|
+
- Updated dependencies [c31d5ae]
|
|
14
|
+
- Updated dependencies [c31d5ae]
|
|
15
|
+
- Updated dependencies [c31d5ae]
|
|
16
|
+
- @recursica/adapter-common@0.27.0
|
|
17
|
+
|
|
3
18
|
## 0.37.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -2165,6 +2165,12 @@ export declare interface RecursicaLoaderProps {
|
|
|
2165
2165
|
variant?: "oval" | "bars" | "dots";
|
|
2166
2166
|
/** Map to Recursica sizes */
|
|
2167
2167
|
size?: "sm" | "md" | "lg" | RecursicaSize;
|
|
2168
|
+
/** Freezes the loader's CSS animation when `false` — the loader still
|
|
2169
|
+
* renders its normal shape, just without motion. Defaults to `true` (the
|
|
2170
|
+
* normal, animated loader). Use `false` for a deterministic rendering,
|
|
2171
|
+
* e.g. a visual-regression snapshot, where a moving animation would
|
|
2172
|
+
* otherwise diff differently every run. */
|
|
2173
|
+
animate?: boolean;
|
|
2168
2174
|
}
|
|
2169
2175
|
|
|
2170
2176
|
/**
|
|
@@ -2449,6 +2455,8 @@ export declare interface RecursicaTableHeaderCellProps {
|
|
|
2449
2455
|
sorted?: "asc" | "desc" | false;
|
|
2450
2456
|
/** Disables the header cell, dimming it and applying the disabled cell colors */
|
|
2451
2457
|
disabled?: boolean;
|
|
2458
|
+
/** `"currency"` right-aligns the header cell to match a currency column's value cells */
|
|
2459
|
+
variant?: "default" | "currency";
|
|
2452
2460
|
}
|
|
2453
2461
|
|
|
2454
2462
|
/**
|
|
@@ -2591,6 +2599,8 @@ declare interface RecursicaTimePickerProps_2 {
|
|
|
2591
2599
|
minTime?: string;
|
|
2592
2600
|
/** Maximum possible time string. Format is `HH:mm` normally, or `HH:mm:ss` when `withSeconds` is true. */
|
|
2593
2601
|
maxTime?: string;
|
|
2602
|
+
/** Section rendered inside the time field on the left (e.g. icon). Naming rationale: see `RecursicaTextFieldProps.leftSection`. */
|
|
2603
|
+
leftSection?: default_2.ReactNode;
|
|
2594
2604
|
}
|
|
2595
2605
|
|
|
2596
2606
|
export declare interface RecursicaToastProps extends RecursicaToastProps_2 {
|