@recursica/mui-adapter 0.39.0 → 0.39.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 +10 -0
- package/dist/index.d.ts +12 -8
- package/dist/mui-adapter.cjs +55 -55
- package/dist/mui-adapter.cjs.map +1 -1
- package/dist/mui-adapter.js +3680 -3678
- package/dist/mui-adapter.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Accordion/Accordion.stories.tsx +0 -21
- package/src/components/Dropdown/Dropdown.stories.tsx +2 -8
- package/src/components/Dropdown/Dropdown.tsx +0 -2
- 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,15 @@
|
|
|
1
1
|
# @recursica/mui-adapter
|
|
2
2
|
|
|
3
|
+
## 0.39.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
|
+
|
|
3
13
|
## 0.39.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1525,8 +1525,11 @@ export declare interface RecursicaAccordionItemProps {
|
|
|
1525
1525
|
leftIcon?: default_2.ReactNode;
|
|
1526
1526
|
/** Toggle visibility of the divider below the item */
|
|
1527
1527
|
divider?: boolean;
|
|
1528
|
-
/** Unique value identifier for this item
|
|
1529
|
-
|
|
1528
|
+
/** Unique value identifier for this item. Required — omitting it on multiple items collapses
|
|
1529
|
+
* them to the same identity and they toggle together (see beam-adapter's
|
|
1530
|
+
* docs/OPEN_DECISIONS.md #23b). Was optional in the type until 2026-08-29 even though every
|
|
1531
|
+
* real consumer already supplied it. */
|
|
1532
|
+
value: string;
|
|
1530
1533
|
/** Disables interaction with this item — it can't be expanded or collapsed, and is dimmed */
|
|
1531
1534
|
disabled?: boolean;
|
|
1532
1535
|
}
|
|
@@ -1801,8 +1804,6 @@ declare interface RecursicaDropdownProps_2 {
|
|
|
1801
1804
|
* selected display text — stays a real string (a whole subtree can't be matched/written),
|
|
1802
1805
|
* unlike the `ReactNode` this was previously typed as. Falls back to `value` when omitted. */
|
|
1803
1806
|
data?: RecursicaComboboxData;
|
|
1804
|
-
/** Enable autocomplete search functionality */
|
|
1805
|
-
searchable?: boolean;
|
|
1806
1807
|
/** Show input clear option button */
|
|
1807
1808
|
clearable?: boolean;
|
|
1808
1809
|
/** Marks field with visual asterisk */
|
|
@@ -2009,8 +2010,9 @@ declare interface RecursicaFileUploadProps_2 extends Omit<default_2.HTMLAttribut
|
|
|
2009
2010
|
export declare interface RecursicaFormControlLayoutProps {
|
|
2010
2011
|
/** Layout structure direction */
|
|
2011
2012
|
formLayout?: "stacked" | "side-by-side";
|
|
2012
|
-
/** Label sizing constraint
|
|
2013
|
-
|
|
2013
|
+
/** Label sizing constraint. Only `small`/`default` are defined by Recursica's Label tokens —
|
|
2014
|
+
* `md` was never a real design size and has been removed. */
|
|
2015
|
+
labelSize?: "small" | "default";
|
|
2014
2016
|
/** Optional left section element (usually Label) */
|
|
2015
2017
|
leftSection?: default_2.ReactNode;
|
|
2016
2018
|
/** Main wrapper bounding maximum width */
|
|
@@ -2089,8 +2091,10 @@ export declare interface RecursicaHoverCardProps {
|
|
|
2089
2091
|
* Base properties for Recursica label indicators.
|
|
2090
2092
|
*/
|
|
2091
2093
|
export declare interface RecursicaLabelProps {
|
|
2092
|
-
/** Specifies the sizing metrics natively mapping the Label boundaries.
|
|
2093
|
-
|
|
2094
|
+
/** Specifies the sizing metrics natively mapping the Label boundaries. Only `default`/`small`
|
|
2095
|
+
* are defined by Recursica's Label tokens — `md` was never a real design size (no adapter had
|
|
2096
|
+
* a width rule for it) and has been removed; see docs/OPEN_DECISIONS.md #41 in beam-adapter. */
|
|
2097
|
+
labelSize?: "default" | "small";
|
|
2094
2098
|
/**
|
|
2095
2099
|
* Overall alignment directive for the label strings natively forcing Left/Right justification.
|
|
2096
2100
|
* Not renamed to Forge's `labelAlign`: our own vocabulary, not either kit's native term.
|