@recursica/mantine-adapter 0.54.0 → 0.55.1
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 +25 -0
- package/dist/index.d.ts +13 -9
- package/dist/mantine-adapter.cjs +2 -2
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.js +1483 -1476
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +3 -3
- package/src/components/Dropdown/Dropdown.stories.tsx +2 -8
- package/src/components/Dropdown/Dropdown.tsx +2 -1
- package/src/components/FormControlLayout/FormControlLayout.stories.tsx +1 -1
- package/src/components/Label/Label.stories.tsx +1 -1
- package/src/components/Panel/Panel.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @recursica/mantine-adapter
|
|
2
2
|
|
|
3
|
+
## 0.55.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a104e8a: Removed `searchable` from `Dropdown`'s shared contract — not a supported feature (that's `AutoComplete`'s job). mantine-adapter now strips it at runtime like its other unsupported native props; mui-adapter never wired it up.
|
|
8
|
+
- a104e8a: Fixed `Panel`'s `wrapHeaderText` default (was `false`, contract documents `true`) in both adapters.
|
|
9
|
+
- Updated dependencies [a104e8a]
|
|
10
|
+
- Updated dependencies [a104e8a]
|
|
11
|
+
- @recursica/adapter-common@0.28.1
|
|
12
|
+
|
|
13
|
+
## 0.55.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- cb3796a: 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.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- cb3796a: Wired up unused design tokens (Accordion open state, Modal header/footer background, stacked Label width, TimePicker leading icon + placeholder opacity) and added `recursica-ignore` exemptions for tokens confirmed inapplicable by design.
|
|
22
|
+
- cb3796a: 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"`.
|
|
23
|
+
- Updated dependencies [cb3796a]
|
|
24
|
+
- Updated dependencies [cb3796a]
|
|
25
|
+
- Updated dependencies [cb3796a]
|
|
26
|
+
- @recursica/adapter-common@0.28.0
|
|
27
|
+
|
|
3
28
|
## 0.54.0
|
|
4
29
|
|
|
5
30
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1727,8 +1727,11 @@ export declare interface RecursicaAccordionItemProps {
|
|
|
1727
1727
|
leftIcon?: default_2.ReactNode;
|
|
1728
1728
|
/** Toggle visibility of the divider below the item */
|
|
1729
1729
|
divider?: boolean;
|
|
1730
|
-
/** Unique value identifier for this item
|
|
1731
|
-
|
|
1730
|
+
/** Unique value identifier for this item. Required — omitting it on multiple items collapses
|
|
1731
|
+
* them to the same identity and they toggle together (see beam-adapter's
|
|
1732
|
+
* docs/OPEN_DECISIONS.md #23b). Was optional in the type until 2026-08-29 even though every
|
|
1733
|
+
* real consumer already supplied it. */
|
|
1734
|
+
value: string;
|
|
1732
1735
|
/** Disables interaction with this item — it can't be expanded or collapsed, and is dimmed */
|
|
1733
1736
|
disabled?: boolean;
|
|
1734
1737
|
}
|
|
@@ -1978,7 +1981,7 @@ export declare interface RecursicaDatePickerProps extends Omit<DatePickerInputPr
|
|
|
1978
1981
|
declare interface RecursicaDatePickerProps_2 {
|
|
1979
1982
|
}
|
|
1980
1983
|
|
|
1981
|
-
export declare interface RecursicaDropdownProps extends Omit<SelectProps, "size" | "variant" | "radius" | "wrapperProps" | "data">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaDropdownProps_2 {
|
|
1984
|
+
export declare interface RecursicaDropdownProps extends Omit<SelectProps, "size" | "variant" | "radius" | "wrapperProps" | "data" | "searchable">, Omit<RecursicaFormControlWrapperProps, "controlMaxWidth" | "controlMinWidth">, ReadOnlyControlProps, RecursicaDropdownProps_2 {
|
|
1982
1985
|
}
|
|
1983
1986
|
|
|
1984
1987
|
/**
|
|
@@ -1991,8 +1994,6 @@ declare interface RecursicaDropdownProps_2 {
|
|
|
1991
1994
|
* selected display text — stays a real string (a whole subtree can't be matched/written),
|
|
1992
1995
|
* unlike the `ReactNode` this was previously typed as. Falls back to `value` when omitted. */
|
|
1993
1996
|
data?: RecursicaComboboxData;
|
|
1994
|
-
/** Enable autocomplete search functionality */
|
|
1995
|
-
searchable?: boolean;
|
|
1996
1997
|
/** Show input clear option button */
|
|
1997
1998
|
clearable?: boolean;
|
|
1998
1999
|
/** Marks field with visual asterisk */
|
|
@@ -2195,8 +2196,9 @@ declare interface RecursicaFileUploadProps_2 extends Omit<default_2.HTMLAttribut
|
|
|
2195
2196
|
export declare interface RecursicaFormControlLayoutProps {
|
|
2196
2197
|
/** Layout structure direction */
|
|
2197
2198
|
formLayout?: "stacked" | "side-by-side";
|
|
2198
|
-
/** Label sizing constraint
|
|
2199
|
-
|
|
2199
|
+
/** Label sizing constraint. Only `small`/`default` are defined by Recursica's Label tokens —
|
|
2200
|
+
* `md` was never a real design size and has been removed. */
|
|
2201
|
+
labelSize?: "small" | "default";
|
|
2200
2202
|
/** Optional left section element (usually Label) */
|
|
2201
2203
|
leftSection?: default_2.ReactNode;
|
|
2202
2204
|
/** Main wrapper bounding maximum width */
|
|
@@ -2268,8 +2270,10 @@ export declare interface RecursicaHoverCardProps {
|
|
|
2268
2270
|
* Base properties for Recursica label indicators.
|
|
2269
2271
|
*/
|
|
2270
2272
|
export declare interface RecursicaLabelProps {
|
|
2271
|
-
/** Specifies the sizing metrics natively mapping the Label boundaries.
|
|
2272
|
-
|
|
2273
|
+
/** Specifies the sizing metrics natively mapping the Label boundaries. Only `default`/`small`
|
|
2274
|
+
* are defined by Recursica's Label tokens — `md` was never a real design size (no adapter had
|
|
2275
|
+
* a width rule for it) and has been removed; see docs/OPEN_DECISIONS.md #41 in beam-adapter. */
|
|
2276
|
+
labelSize?: "default" | "small";
|
|
2273
2277
|
/**
|
|
2274
2278
|
* Overall alignment directive for the label strings natively forcing Left/Right justification.
|
|
2275
2279
|
* Not renamed to Forge's `labelAlign`: our own vocabulary, not either kit's native term.
|