reshaped 3.7.4 → 3.8.0-canary.0

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 (92) hide show
  1. package/CHANGELOG-extra.md +3 -0
  2. package/CHANGELOG.md +40 -55
  3. package/LICENSE.md +1 -1
  4. package/README.md +24 -0
  5. package/dist/bundle.css +1 -1
  6. package/dist/bundle.js +10 -10
  7. package/dist/cjs/themes/index.d.ts +1 -0
  8. package/dist/cjs/themes/index.js +3 -1
  9. package/dist/components/Accordion/Accordion.types.d.ts +13 -2
  10. package/dist/components/ActionBar/ActionBar.types.d.ts +10 -0
  11. package/dist/components/Actionable/Actionable.types.d.ts +14 -0
  12. package/dist/components/Alert/Alert.types.d.ts +11 -0
  13. package/dist/components/Autocomplete/Autocomplete.types.d.ts +7 -0
  14. package/dist/components/Avatar/Avatar.types.d.ts +18 -0
  15. package/dist/components/Avatar/tests/Avatar.stories.js +1 -1
  16. package/dist/components/Badge/Badge.types.d.ts +25 -1
  17. package/dist/components/Badge/tests/Badge.test.stories.js +3 -1
  18. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +11 -0
  19. package/dist/components/Button/Button.types.d.ts +20 -0
  20. package/dist/components/Calendar/Calendar.types.d.ts +31 -0
  21. package/dist/components/Calendar/tests/Calendar.stories.js +1 -1
  22. package/dist/components/Card/Card.types.d.ts +12 -0
  23. package/dist/components/Carousel/Carousel.types.d.ts +13 -0
  24. package/dist/components/Checkbox/Checkbox.types.d.ts +19 -0
  25. package/dist/components/Checkbox/tests/Checkbox.stories.js +1 -1
  26. package/dist/components/CheckboxGroup/CheckboxGroup.types.d.ts +10 -0
  27. package/dist/components/Container/Container.types.d.ts +11 -1
  28. package/dist/components/Dismissible/Dismissible.types.d.ts +10 -0
  29. package/dist/components/Divider/Divider.types.d.ts +6 -0
  30. package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +3 -0
  31. package/dist/components/FileUpload/FileUpload.types.d.ts +10 -0
  32. package/dist/components/Flyout/Flyout.types.d.ts +38 -0
  33. package/dist/components/Flyout/FlyoutContent.js +1 -1
  34. package/dist/components/FormControl/FormControl.types.d.ts +9 -0
  35. package/dist/components/Grid/Grid.js +3 -1
  36. package/dist/components/Grid/Grid.module.css +1 -1
  37. package/dist/components/Grid/Grid.types.d.ts +31 -0
  38. package/dist/components/Grid/tests/Grid.stories.d.ts +3 -0
  39. package/dist/components/Grid/tests/Grid.stories.js +39 -1
  40. package/dist/components/Hidden/Hidden.types.d.ts +4 -0
  41. package/dist/components/HiddenVisually/HiddenVisually.types.d.ts +1 -0
  42. package/dist/components/Hotkey/Hotkey.types.d.ts +4 -0
  43. package/dist/components/Icon/Icon.types.d.ts +6 -0
  44. package/dist/components/Image/Image.types.d.ts +15 -0
  45. package/dist/components/Link/Link.types.d.ts +7 -0
  46. package/dist/components/Loader/Loader.types.d.ts +5 -0
  47. package/dist/components/MenuItem/MenuItem.types.d.ts +13 -1
  48. package/dist/components/Modal/Modal.types.d.ts +19 -0
  49. package/dist/components/NumberField/NumberField.types.d.ts +10 -0
  50. package/dist/components/Overlay/Overlay.types.d.ts +13 -0
  51. package/dist/components/Pagination/Pagination.types.d.ts +11 -29
  52. package/dist/components/PinField/PinField.types.d.ts +13 -0
  53. package/dist/components/Popover/Popover.types.d.ts +3 -0
  54. package/dist/components/Progress/Progress.types.d.ts +9 -0
  55. package/dist/components/ProgressIndicator/ProgressIndicator.js +13 -84
  56. package/dist/components/ProgressIndicator/ProgressIndicator.module.css +1 -1
  57. package/dist/components/ProgressIndicator/ProgressIndicator.types.d.ts +8 -0
  58. package/dist/components/ProgressIndicator/tests/ProgressIndicator.stories.js +8 -1
  59. package/dist/components/Radio/Radio.types.d.ts +12 -0
  60. package/dist/components/RadioGroup/RadioGroup.types.d.ts +14 -0
  61. package/dist/components/Reshaped/Reshaped.types.d.ts +12 -0
  62. package/dist/components/Resizable/Resizable.types.d.ts +7 -0
  63. package/dist/components/Scrim/Scrim.types.d.ts +6 -1
  64. package/dist/components/ScrollArea/ScrollArea.types.d.ts +7 -0
  65. package/dist/components/Select/Select.types.d.ts +27 -0
  66. package/dist/components/Skeleton/Skeleton.types.d.ts +2 -0
  67. package/dist/components/Slider/Slider.types.d.ts +56 -0
  68. package/dist/components/Stepper/Stepper.types.d.ts +13 -0
  69. package/dist/components/Switch/Switch.types.d.ts +16 -0
  70. package/dist/components/Table/Table.types.d.ts +29 -0
  71. package/dist/components/Tabs/Tabs.module.css +1 -1
  72. package/dist/components/Tabs/Tabs.types.d.ts +24 -0
  73. package/dist/components/Tabs/TabsItem.js +2 -2
  74. package/dist/components/Tabs/tests/Tabs.stories.js +6 -6
  75. package/dist/components/Text/Text.types.d.ts +12 -0
  76. package/dist/components/TextArea/TextArea.types.d.ts +17 -0
  77. package/dist/components/TextField/TextField.types.d.ts +29 -0
  78. package/dist/components/Theme/Theme.js +4 -1
  79. package/dist/components/Theme/Theme.types.d.ts +5 -0
  80. package/dist/components/Timeline/Timeline.types.d.ts +7 -0
  81. package/dist/components/Toast/Toast.types.d.ts +18 -0
  82. package/dist/components/ToggleButton/ToggleButton.types.d.ts +9 -0
  83. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.types.d.ts +8 -0
  84. package/dist/components/Tooltip/Tooltip.types.d.ts +5 -0
  85. package/dist/components/View/View.types.d.ts +56 -1
  86. package/dist/components/_private/Aligner/Aligner.types.d.ts +6 -0
  87. package/dist/themes/index.d.ts +1 -0
  88. package/dist/themes/index.js +1 -0
  89. package/package.json +21 -17
  90. package/LICENSE-SOURCE.md +0 -40
  91. package/dist/components/Grid/tests/Grid.test.stories.d.ts +0 -23
  92. package/dist/components/Grid/tests/Grid.test.stories.js +0 -42
@@ -0,0 +1,3 @@
1
+ ## Additional changelog notes for the release
2
+
3
+ - Figma: Migrated to lucide icons
package/CHANGELOG.md CHANGED
@@ -1,55 +1,40 @@
1
- ## 3.7.0
2
-
3
- TODO:
4
-
5
- - Add border side, inline, block
6
-
7
- Highlights:
8
-
9
- - Accessibility
10
- - ActionBar: Added active, offset, more positions, positionType props
11
- - FileUpload: variant + inline + render props
12
-
13
- - Added Attributes type to the package exports
14
- - Added `mono` font family to the themes
15
- - Added zIndex tokens to the themes, updated components to use new zIndex tokens
16
- - Increased contrast of primary border color in dark mode
17
- - Added isolation: isolate to components for better zIndex handling
18
- - Added `--rs-radius-circular`
19
-
20
- - Image: added maxWidth property
21
- - Image: added aspectRatio property
22
- - View: Added shrink prop support for View and View.Item
23
- - View: Removed index based key inference for item rendering
24
- - Tabs: Added Tabs.Item disabled prop
25
- - Text: Added monospace prop
26
- - Tooltip: Added color prop
27
- - Tabs: Fixed horizontal scrolling caused by negative margins
28
- - Carousel: Updated outline styles when there are no focusable elements inside the carousel
29
- - TrapFocus: Keep the focus on the manually focused elements
30
- - TextArea: Removed custom word-break that was used for autogrow text areas
31
- - Autocomplete: Added onEnter handler
32
- - Flyout: Make nested flyouts blocking to make sure they are closed one by one
33
- - Flyout, Popover: autoFocus=false prop support (aligned with modals)
34
- - Button: Fixed Buttons in groups wrapped with popover from losing border radius
35
- - Button: Updated :active styles
36
- - Theme: Supports passing multiple theme fragments to the same provider
37
- - FormControl: Label margin-bottom: 0 for the last child for better composition
38
- - DropdownMenu: Fixed items not working inside router links
39
- - Tooltip: Only apply aria-describedby when tooltip is active
40
- - TextArea, TextField, Select: Updated placeholder color
41
- - Tabs: Added missing id to the button elements
42
- - Carousel: Updated control buttons to use small size
43
- - Carousel: Fixed shadow conflicting with clip content on buttons in Figma
44
- - Carousel: Return focus to the other control when one of them gets hidden
45
- - Calendar: Improved tabIndex management for the dates
46
- - Actionable: touchHitbox prop
47
- - Badge: Increased min touch hitbox for actionable badges and dismiss button
48
- - Switch: Increased min touch hitbox
49
- - Tabs: Increase touch hitbox for the navigation arrows
50
- - Badge: Icon only support
51
- - Badge: Neutral empty
52
- - Badge aligned small badge size with the overal unit scaling
53
- - Grid: Added height/width props support
54
- - MenuItem: Added highlighted property
55
- - Autocomplete: Improved screen reader navigation
1
+ ## 3.8.0-canary.0
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **Flyout:** added support for attributes.style ([24a414f](https://github.com/formaat-design/reshaped-source/commit/24a414fa050bd3f6f91d0d0dae37030dd1677aba))
7
+ * **Theme:** added additional check when used without name and there is no parent theme ([3cca4d1](https://github.com/formaat-design/reshaped-source/commit/3cca4d1ea0bb1a33f706bdc74f28f8f955a6a841))
8
+
9
+
10
+ ### Features
11
+
12
+ * **Grid:** added columnGap and rowGap properties ([3aaaea6](https://github.com/formaat-design/reshaped-source/commit/3aaaea66e497636638397b2672e57e5d0a8be9ee))
13
+ * **ProgressIndicator:** updated the dots design and simplified the implementation ([e881361](https://github.com/formaat-design/reshaped-source/commit/e881361880b8d6381f56431078b253a78cec293b))
14
+ * remove chromatic token ([18685a7](https://github.com/formaat-design/reshaped-source/commit/18685a7b100c85094cc64d34a47f605bbb41c580))
15
+ * **Tabs:** removed hover effect from the active tabs ([5708280](https://github.com/formaat-design/reshaped-source/commit/5708280515f164b1b21c8ab5ea84eaadaa7f5379))
16
+ * **themes:** added transform helper to the exports ([ca8dd87](https://github.com/formaat-design/reshaped-source/commit/ca8dd870974920da01b93dfcff16e918080b0125))
17
+
18
+ ## 3.7.4
19
+
20
+ ### Bug Fixes
21
+
22
+ - **Autocomplete:** correct backspace handling ([c6eb011](https://github.com/formaat-design/reshaped-source/commit/c6eb011f4c8a64aca15997d9194d0b1d12ad2709))
23
+
24
+ ## 3.7.3
25
+
26
+ ### Bug Fixes
27
+
28
+ - **Tabs:** item equal scroll ([d1ce792](https://github.com/formaat-design/reshaped-source/commit/d1ce792de460092a9381fa61276db30209faf324))
29
+
30
+ ## 3.7.2
31
+
32
+ ### Bug Fixes
33
+
34
+ - padding fallbacks ([250fa5b](https://github.com/formaat-design/reshaped-source/commit/250fa5be907c81699ff8a9c2e9646c70194183b6))
35
+
36
+ ## 3.8.0
37
+
38
+ - Added tsdoc for all components
39
+
40
+ - DropdownMenu: Added support for attributes.style on the content
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Dmitry Belyaev
3
+ Copyright (c) 2021 Reshaped
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # Reshaped
2
+
3
+ <img width="1200" height="630" alt="preview" src="https://github.com/user-attachments/assets/b9cfc482-209c-4cf6-bd24-d309fcea25ff" />
4
+ <br /><br />
5
+
6
+ Reshaped is a library with professionally crafted React & Figma components for building beautiful products or starting your own design system.
7
+
8
+ <br />
9
+
10
+ ## Documentation
11
+
12
+ To get started, check out the [Reshaped documentation](https://reshaped.so/docs/changelog).
13
+
14
+ ## Contributing
15
+
16
+ Read our [contribution guide](CONTRIBUTING.md) to learn about our principles, development process and testing.
17
+
18
+ ## Maintainers
19
+
20
+ - Dmitry Belyaev, [@blvdmitry](https://x.com/blvdmitry)
21
+
22
+ ## License
23
+
24
+ This project is licensed under the terms of the MIT license.