@recursica/adapter-mui-v7 1.3.2 → 1.3.4
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 +21 -0
- package/README.md +1 -1
- package/dist/adapter-mui-v7.cjs +60 -60
- package/dist/adapter-mui-v7.cjs.map +1 -1
- package/dist/adapter-mui-v7.css +1 -1
- package/dist/adapter-mui-v7.js +3840 -3795
- package/dist/adapter-mui-v7.js.map +1 -1
- package/dist/index.d.ts +8 -5
- package/docs/PHILOSOPHY.md +4 -0
- package/package.json +4 -8
- package/src/components/Checkbox/CHECKBOX_IMPLEMENTATION_NOTES.md +4 -0
- package/src/components/Checkbox/Checkbox.module.css +1 -0
- package/src/components/Checkbox/Checkbox.tsx +7 -4
- package/src/components/Heading/HEADING_IMPLEMENTATION_NOTES.md +10 -0
- package/src/components/Modal/Modal.module.css +9 -2
- package/src/components/NativeInputA11y.dom.test.tsx +59 -0
- package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +8 -0
- package/src/components/Panel/Panel.tsx +51 -9
- package/src/components/Radio/RADIO_IMPLEMENTATION_NOTES.md +4 -0
- package/src/components/Radio/Radio.module.css +1 -0
- package/src/components/Radio/Radio.tsx +7 -4
- package/src/components/Switch/SWITCH_IMPLEMENTATION_NOTES.md +4 -0
- package/src/components/Switch/Switch.tsx +7 -3
- package/src/components/Text/TEXT_IMPLEMENTATION_NOTES.md +12 -0
- package/src/components/Text/Text.headings.dom.test.tsx +54 -0
- package/src/components/Text/Text.tsx +16 -0
- package/src/utils/useNativeInputA11y.ts +43 -0
- package/.storybook/commonArgTypes.ts +0 -148
- package/recursica_brand.json +0 -2610
- package/recursica_tokens.json +0 -769
- package/recursica_ui-kit.json +0 -9049
- package/recursica_variables_scoped.css +0 -6178
- package/src/Introduction.stories.tsx +0 -178
- package/src/components/Accordion/Accordion.stories.tsx +0 -198
- package/src/components/AssistiveElement/AssistiveElement.stories.tsx +0 -68
- package/src/components/AutoComplete/AutoComplete.stories.tsx +0 -336
- package/src/components/Avatar/Avatar.stories.tsx +0 -92
- package/src/components/Badge/Badge.stories.tsx +0 -78
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +0 -114
- package/src/components/Button/Button.stories.tsx +0 -196
- package/src/components/Card/Card.stories.tsx +0 -132
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -97
- package/src/components/Checkbox/CheckboxGroup.stories.tsx +0 -139
- package/src/components/Chip/Chip.stories.tsx +0 -154
- package/src/components/Container/Container.stories.tsx +0 -118
- package/src/components/DatePicker/DatePicker.stories.tsx +0 -163
- package/src/components/Dropdown/Dropdown.stories.tsx +0 -252
- package/src/components/FileInput/FileInput.stories.tsx +0 -313
- package/src/components/FileUpload/FileUpload.stories.tsx +0 -362
- package/src/components/Flex/Flex.stories.tsx +0 -128
- package/src/components/FormControlLayout/FormControlLayout.stories.tsx +0 -118
- package/src/components/FormControlWrapper/FormControlWrapper.stories.tsx +0 -129
- package/src/components/Group/Group.stories.tsx +0 -120
- package/src/components/Heading/Heading.stories.tsx +0 -112
- package/src/components/HoverCard/HoverCard.stories.tsx +0 -172
- package/src/components/Label/Label.stories.tsx +0 -131
- package/src/components/LayoutGrid/LayoutGrid.stories.tsx +0 -61
- package/src/components/Link/Link.stories.tsx +0 -58
- package/src/components/Loader/Loader.stories.tsx +0 -123
- package/src/components/Menu/Menu.stories.tsx +0 -402
- package/src/components/Modal/Modal.stories.tsx +0 -105
- package/src/components/NumberInput/NumberInput.stories.tsx +0 -96
- package/src/components/Pagination/Pagination.stories.tsx +0 -48
- package/src/components/Panel/Panel.stories.tsx +0 -227
- package/src/components/Popover/Popover.stories.tsx +0 -133
- package/src/components/Radio/Radio.stories.tsx +0 -93
- package/src/components/Radio/RadioGroup.stories.tsx +0 -117
- package/src/components/ReadOnlyField/ReadOnlyField.stories.tsx +0 -163
- package/src/components/SegmentedControl/SegmentedControl.stories.tsx +0 -106
- package/src/components/Slider/Slider.stories.tsx +0 -282
- package/src/components/Stack/Stack.stories.tsx +0 -108
- package/src/components/Stepper/Stepper.stories.tsx +0 -157
- package/src/components/Switch/Switch.stories.tsx +0 -114
- package/src/components/Switch/SwitchGroup.stories.tsx +0 -132
- package/src/components/Table/Table.stories.tsx +0 -154
- package/src/components/Tabs/Tabs.stories.tsx +0 -174
- package/src/components/Text/Text.stories.tsx +0 -123
- package/src/components/TextArea/TextArea.stories.tsx +0 -94
- package/src/components/TextField/TextField.stories.tsx +0 -162
- package/src/components/TimePicker/TimePicker.stories.tsx +0 -155
- package/src/components/Timeline/Timeline.stories.tsx +0 -128
- package/src/components/Toast/Toast.stories.tsx +0 -67
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -165
- package/src/components/TransferList/TransferList.stories.tsx +0 -121
- package/src/components/Tree/Tree.stories.tsx +0 -104
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @recursica/adapter-mui-v7
|
|
2
2
|
|
|
3
|
+
## 1.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e028eae: Label-less Checkbox and Radio no longer collapse to a few pixels wide (MUI's 9px padding is now removed in CSS, not via `sx`). Modal header and footer now use their own background tokens over the content background instead of showing white.
|
|
8
|
+
|
|
9
|
+
Checkbox, Radio and Switch now put `aria-label`, `aria-labelledby` and `aria-describedby` on the native input and link a visible label to it without a caller-supplied `id`, so screen readers announce their names.
|
|
10
|
+
|
|
11
|
+
## 1.3.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- bc44ebd: Updated `@recursica/storybook-template` to 0.7.16. The Adapters page now lists the Angular Material adapter.
|
|
16
|
+
- e3928b0: Stop publishing Storybook story files, `.storybook/commonArgTypes.ts` and the recursica json/css files in the npm package.
|
|
17
|
+
- eb70072: Panel is now always non-modal: the page behind stays usable, focus and scroll aren't trapped, and Escape always closes it. The overlay, focus, scroll and close-on-outside-click props were removed.
|
|
18
|
+
- a97a32d: Add a "Why an Adapter?" section to PHILOSOPHY.md.
|
|
19
|
+
- 91d7e1e: Fix the README Storybook link text to show the mui-v7 URL.
|
|
20
|
+
- 5f7ed4c: Text now throws if `component` is `h1`-`h6`; use Heading for semantic headings.
|
|
21
|
+
|
|
22
|
+
Added an `AsElement` Text story.
|
|
23
|
+
|
|
3
24
|
## 1.3.2
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A modern React component library built with TypeScript and **MUI 7**. This packa
|
|
|
4
4
|
|
|
5
5
|
## Storybook & PR Previews
|
|
6
6
|
|
|
7
|
-
You can view the current adapters Storybook at [https://borderux.github.io/recursica-adapter-mui-
|
|
7
|
+
You can view the current adapters Storybook at [https://borderux.github.io/recursica-adapter-mui-v7/](https://borderux.github.io/recursica-adapter-mui-v7/) Every pull request also gets its own preview build, deployed under `pr-preview/pr-<number>/` on the same site and linked automatically in the PR description. In order to create a preview though, your pull request must have the word **preview** in the title.
|
|
8
8
|
|
|
9
9
|
## Using Theme Forge to update styles
|
|
10
10
|
|