@recursica/mantine-adapter 0.50.2 → 0.50.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 +20 -0
- package/dist/index.d.ts +107 -139
- package/dist/mantine-adapter.cjs +1 -1
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +4 -3
- package/dist/mantine-adapter.js.map +1 -1
- package/package.json +5 -4
- package/src/components/Accordion/Accordion.test.tsx +1 -0
- package/src/components/AssistiveElement/AssistiveElement.test.tsx +1 -0
- package/src/components/AutoComplete/AutoComplete.test.tsx +1 -0
- package/src/components/Avatar/Avatar.test.tsx +1 -0
- package/src/components/Badge/Badge.test.tsx +1 -0
- package/src/components/Breadcrumb/Breadcrumb.test.tsx +1 -0
- package/src/components/Button/Button.module.css +1 -0
- package/src/components/Button/Button.styleIsolation.dom.test.tsx +98 -0
- package/src/components/Button/IMPLEMENTATION_NOTES.md +2 -0
- package/src/components/Card/Card.test.tsx +1 -0
- package/src/components/Checkbox/Checkbox.test.tsx +1 -0
- package/src/components/Chip/Chip.test.tsx +1 -0
- package/src/components/Container/Container.test.tsx +1 -0
- package/src/components/DatePicker/DatePicker.test.tsx +1 -0
- package/src/components/Dropdown/Dropdown.test.tsx +1 -0
- package/src/components/FileInput/FileInput.test.tsx +1 -0
- package/src/components/FileUpload/FileUpload.test.tsx +1 -0
- package/src/components/Flex/Flex.test.tsx +1 -0
- package/src/components/Flex/Flex.tsx +5 -5
- package/src/components/FormControlLayout/FormControlLayout.test.tsx +1 -0
- package/src/components/FormControlWrapper/FormControlWrapper.test.tsx +1 -0
- package/src/components/Grid/GRID_IMPLEMENTATION_NOTES.md +2 -2
- package/src/components/Grid/Grid.stories.tsx +11 -11
- package/src/components/Grid/Grid.test.tsx +1 -0
- package/src/components/Grid/Grid.tsx +10 -15
- package/src/components/Grid/USAGE.md +3 -3
- package/src/components/Group/Group.test.tsx +1 -0
- package/src/components/Group/Group.tsx +5 -5
- package/src/components/HoverCard/HoverCard.test.tsx +1 -0
- package/src/components/Label/Label.test.tsx +1 -0
- package/src/components/Link/Link.test.tsx +1 -0
- package/src/components/Loader/Loader.test.tsx +1 -0
- package/src/components/Menu/Menu.test.tsx +1 -0
- package/src/components/Modal/Modal.test.tsx +1 -0
- package/src/components/NumberInput/NumberInput.test.tsx +1 -0
- package/src/components/Pagination/Pagination.test.tsx +1 -0
- package/src/components/Panel/Panel.test.tsx +1 -0
- package/src/components/Popover/Popover.test.tsx +1 -0
- package/src/components/Radio/Radio.test.tsx +1 -0
- package/src/components/ReadOnlyField/ReadOnlyField.test.tsx +1 -0
- package/src/components/SegmentedControl/SegmentedControl.test.tsx +1 -0
- package/src/components/Slider/Slider.test.tsx +1 -0
- package/src/components/Stack/Stack.test.tsx +1 -0
- package/src/components/Stack/Stack.tsx +5 -5
- package/src/components/Stepper/Stepper.test.tsx +1 -0
- package/src/components/Switch/Switch.test.tsx +1 -0
- package/src/components/Table/Table.test.tsx +1 -0
- package/src/components/Tabs/Tabs.test.tsx +1 -0
- package/src/components/Text/Text.stories.tsx +3 -16
- package/src/components/Text/Text.test.tsx +1 -0
- package/src/components/TextArea/TextArea.test.tsx +1 -0
- package/src/components/TextField/TextField.test.tsx +1 -0
- package/src/components/TimePicker/TimePicker.test.tsx +1 -0
- package/src/components/Timeline/Timeline.test.tsx +1 -0
- package/src/components/Title/Title.stories.tsx +3 -16
- package/src/components/Title/Title.test.tsx +1 -0
- package/src/components/Toast/Toast.test.tsx +1 -0
- package/src/components/Tooltip/Tooltip.test.tsx +1 -0
- package/src/components/TransferList/TransferList.test.tsx +1 -0
- package/src/components/Tree/Tree.test.tsx +1 -0
- package/src/utils/filterStylingProps.test.ts +85 -0
- package/src/utils/filterStylingProps.ts +1 -0
package/dist/mantine-adapter.js
CHANGED
|
@@ -303,6 +303,7 @@ const Rr = [
|
|
|
303
303
|
"gap",
|
|
304
304
|
"rowGap",
|
|
305
305
|
"columnGap",
|
|
306
|
+
"gutter",
|
|
306
307
|
"top",
|
|
307
308
|
"left",
|
|
308
309
|
"bottom",
|
|
@@ -2403,7 +2404,7 @@ bn.displayName = "Flex";
|
|
|
2403
2404
|
const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tbuNg", Ae = {
|
|
2404
2405
|
root: Xl,
|
|
2405
2406
|
col: Jl
|
|
2406
|
-
}, Cn = _(function({ children: e,
|
|
2407
|
+
}, Cn = _(function({ children: e, gutter: n = "rec-default", ...o }, t) {
|
|
2407
2408
|
const s = {
|
|
2408
2409
|
root: Ae.root
|
|
2409
2410
|
}, l = o.classNames;
|
|
@@ -2411,8 +2412,8 @@ const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tb
|
|
|
2411
2412
|
const p = l;
|
|
2412
2413
|
s.root = p.root ? `${Ae.root} ${p.root}` : Ae.root;
|
|
2413
2414
|
}
|
|
2414
|
-
const i = o.className, c = i ? `${Ae.root} ${i}` : Ae.root, {
|
|
2415
|
-
|
|
2415
|
+
const i = o.className, c = i ? `${Ae.root} ${i}` : Ae.root, { gutter: d, ...m } = Mo({
|
|
2416
|
+
gutter: n,
|
|
2416
2417
|
...o
|
|
2417
2418
|
});
|
|
2418
2419
|
return /* @__PURE__ */ a(
|