@recursica/mantine-adapter 0.50.1 → 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.
Files changed (73) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/index.d.ts +107 -139
  3. package/dist/mantine-adapter.cjs +1 -1
  4. package/dist/mantine-adapter.cjs.map +1 -1
  5. package/dist/mantine-adapter.css +1 -1
  6. package/dist/mantine-adapter.js +4 -3
  7. package/dist/mantine-adapter.js.map +1 -1
  8. package/package.json +5 -4
  9. package/src/components/Accordion/Accordion.test.tsx +1 -0
  10. package/src/components/AssistiveElement/AssistiveElement.test.tsx +1 -0
  11. package/src/components/AutoComplete/AutoComplete.test.tsx +1 -0
  12. package/src/components/Avatar/Avatar.test.tsx +1 -0
  13. package/src/components/Badge/Badge.test.tsx +1 -0
  14. package/src/components/Breadcrumb/Breadcrumb.test.tsx +1 -0
  15. package/src/components/Button/Button.module.css +1 -0
  16. package/src/components/Button/Button.styleIsolation.dom.test.tsx +98 -0
  17. package/src/components/Button/IMPLEMENTATION_NOTES.md +2 -0
  18. package/src/components/Card/Card.test.tsx +1 -0
  19. package/src/components/Checkbox/Checkbox.test.tsx +1 -0
  20. package/src/components/Chip/Chip.test.tsx +1 -0
  21. package/src/components/Container/Container.test.tsx +1 -0
  22. package/src/components/DatePicker/DatePicker.test.tsx +1 -0
  23. package/src/components/Dropdown/Dropdown.test.tsx +1 -0
  24. package/src/components/FileInput/FileInput.test.tsx +1 -0
  25. package/src/components/FileUpload/FileUpload.test.tsx +1 -0
  26. package/src/components/Flex/Flex.test.tsx +1 -0
  27. package/src/components/Flex/Flex.tsx +5 -5
  28. package/src/components/FormControlLayout/FormControlLayout.test.tsx +1 -0
  29. package/src/components/FormControlWrapper/FormControlWrapper.test.tsx +1 -0
  30. package/src/components/Grid/GRID_IMPLEMENTATION_NOTES.md +2 -2
  31. package/src/components/Grid/Grid.stories.tsx +11 -11
  32. package/src/components/Grid/Grid.test.tsx +1 -0
  33. package/src/components/Grid/Grid.tsx +10 -15
  34. package/src/components/Grid/USAGE.md +3 -3
  35. package/src/components/Group/Group.test.tsx +1 -0
  36. package/src/components/Group/Group.tsx +5 -5
  37. package/src/components/HoverCard/HoverCard.test.tsx +1 -0
  38. package/src/components/Label/Label.test.tsx +1 -0
  39. package/src/components/Link/Link.test.tsx +1 -0
  40. package/src/components/Loader/Loader.test.tsx +1 -0
  41. package/src/components/Menu/Menu.test.tsx +1 -0
  42. package/src/components/Modal/MODAL_IMPLEMENTATION_NOTES.md +12 -0
  43. package/src/components/Modal/Modal.module.css +119 -1
  44. package/src/components/Modal/Modal.stories.tsx +28 -2
  45. package/src/components/Modal/Modal.test.tsx +1 -0
  46. package/src/components/NumberInput/NumberInput.test.tsx +1 -0
  47. package/src/components/Pagination/Pagination.test.tsx +1 -0
  48. package/src/components/Panel/Panel.test.tsx +1 -0
  49. package/src/components/Popover/Popover.test.tsx +1 -0
  50. package/src/components/Radio/Radio.test.tsx +1 -0
  51. package/src/components/ReadOnlyField/ReadOnlyField.test.tsx +1 -0
  52. package/src/components/SegmentedControl/SegmentedControl.test.tsx +1 -0
  53. package/src/components/Slider/Slider.test.tsx +1 -0
  54. package/src/components/Stack/Stack.test.tsx +1 -0
  55. package/src/components/Stack/Stack.tsx +5 -5
  56. package/src/components/Stepper/Stepper.test.tsx +1 -0
  57. package/src/components/Switch/Switch.test.tsx +1 -0
  58. package/src/components/Table/Table.test.tsx +1 -0
  59. package/src/components/Tabs/Tabs.test.tsx +1 -0
  60. package/src/components/Text/Text.stories.tsx +3 -16
  61. package/src/components/Text/Text.test.tsx +1 -0
  62. package/src/components/TextArea/TextArea.test.tsx +1 -0
  63. package/src/components/TextField/TextField.test.tsx +1 -0
  64. package/src/components/TimePicker/TimePicker.test.tsx +1 -0
  65. package/src/components/Timeline/Timeline.test.tsx +1 -0
  66. package/src/components/Title/Title.stories.tsx +3 -16
  67. package/src/components/Title/Title.test.tsx +1 -0
  68. package/src/components/Toast/Toast.test.tsx +1 -0
  69. package/src/components/Tooltip/Tooltip.test.tsx +1 -0
  70. package/src/components/TransferList/TransferList.test.tsx +1 -0
  71. package/src/components/Tree/Tree.test.tsx +1 -0
  72. package/src/utils/filterStylingProps.test.ts +85 -0
  73. package/src/utils/filterStylingProps.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @recursica/mantine-adapter
2
2
 
3
+ ## 0.50.4
4
+
5
+ ### Patch Changes
6
+
7
+ - d0e6275: Fixed stories to remove layer
8
+ - 662c591: Layout components (Flex, Stack, Group, Grid) no longer share a formal Recursica prop contract from `adapter-common` — removed `RecursicaFlexProps`/`RecursicaStackProps`/`RecursicaGroupProps`/`RecursicaGridProps`/`RecursicaGridColProps`. Each adapter's layout components now simply pass through the underlying kit's own props, plus `rec-*` spacing token support.
9
+
10
+ - mantine-adapter: Flex/Stack/Group unchanged at the API level (Mantine's own props already matched). **Grid's `gap` prop reverts to Mantine's native `gutter`**; `Grid.Col`'s responsive breakpoint objects use Mantine's own `xs` (not the invented `base`) as the smallest key.
11
+ - mui-adapter: Flex/Group keep their Mantine-shaped props (MUI has no native equivalent). **Stack now passes through MUI's own `spacing`/`alignItems`/`justifyContent` directly** (fixes a bug where passing native `alignItems`/`justifyContent` was silently clobbered). **Grid is rebuilt on MUI's own vocabulary** (`spacing`, `size`, `offset`, `order`, `xs`/`sm`/`md`/`lg`/`xl`) instead of mirroring Mantine's `gap`/`span`/`base`; container-level `grow` is dropped in favor of MUI's native per-column `size="grow"`.
12
+
13
+ - 4fdd1af: Wired vitest into `npm test` (unit tests for utils). Added a Button/kit CSS-isolation DOM test, run separately via `npm run test:dom` (not part of `npm test`/CI). Added empty test scaffolds per component.
14
+ - Updated dependencies [662c591]
15
+ - @recursica/adapter-common@0.25.1
16
+
17
+ ## 0.50.3
18
+
19
+ ### Patch Changes
20
+
21
+ - df9d189: Fixed Button ignoring a constraining parent width — it now shrinks and truncates the label with an ellipsis instead of overflowing.
22
+
23
+ ## 0.50.2
24
+
25
+ ### Patch Changes
26
+
27
+ - f34665a: Modal close button now matches the Button component's styling (radius, padding, color tokens, hover/focus states, icon sizing).
28
+ - f34665a: Modal title now truncates with an ellipsis instead of wrapping when it's too long, and mantine-adapter's Modal width scales with content again instead of being pinned at 440px. Added an open-by-default `LongTitle` story to both adapters.
29
+
3
30
  ## 0.50.1
4
31
 
5
32
  ### Patch Changes