reshaped 2.1.0 → 2.2.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 +4 -5
- package/LICENSE-SOURCE.md +40 -0
- package/LICENSE.md +21 -37
- package/bin/clean.sh +1 -0
- package/bin/release-source.sh +7 -0
- package/bundle.css +1 -1
- package/bundle.d.ts +2 -0
- package/bundle.js +10 -10
- package/cli/theming/definitions/figma.js +2 -2
- package/cli/theming/definitions/reshaped.js +3 -3
- package/components/Actionable/Actionable.module.css +1 -1
- package/components/Button/Button.module.css +1 -1
- package/components/Button/tests/Button.stories.js +4 -0
- package/components/Checkbox/Checkbox.module.css +1 -1
- package/components/Dismissible/Dismissible.module.css +1 -1
- package/components/Divider/Divider.module.css +1 -1
- package/components/DropdownMenu/DropdownMenu.js +1 -1
- package/components/MenuItem/MenuItem.module.css +1 -1
- package/components/Modal/Modal.module.css +1 -1
- package/components/Radio/Radio.module.css +1 -1
- package/components/Scrim/Scrim.module.css +1 -1
- package/components/Select/Select.js +1 -1
- package/components/Select/Select.module.css +1 -1
- package/components/Slider/Slider.d.ts +4 -0
- package/components/Slider/Slider.js +26 -0
- package/components/Slider/Slider.module.css +1 -0
- package/components/Slider/Slider.types.d.ts +78 -0
- package/components/Slider/SliderControlled.d.ts +4 -0
- package/components/Slider/SliderControlled.js +172 -0
- package/components/Slider/SliderThumb.d.ts +4 -0
- package/components/Slider/SliderThumb.js +21 -0
- package/components/Slider/SliderUncontrolled.d.ts +4 -0
- package/components/Slider/SliderUncontrolled.js +32 -0
- package/components/Slider/index.d.ts +2 -0
- package/components/Slider/index.js +1 -0
- package/components/Slider/tests/Slider.stories.d.ts +10 -0
- package/components/Slider/tests/Slider.stories.js +42 -0
- package/components/Switch/Switch.module.css +1 -1
- package/components/Tabs/Tabs.module.css +1 -1
- package/components/TextField/TextField.module.css +1 -1
- package/components/View/View.module.css +1 -1
- package/components/_private/Flyout/Flyout.types.d.ts +2 -0
- package/components/_private/Flyout/FlyoutContent.js +4 -2
- package/components/_private/Flyout/FlyoutControlled.js +8 -1
- package/components/_private/Portal/Portal.d.ts +1 -0
- package/config/next.d.ts +4 -0
- package/config/next.js +22 -0
- package/index.d.ts +2 -0
- package/index.js +1 -0
- package/package.json +41 -27
- package/themes/figma/theme.css +1 -1
- package/themes/reshaped/theme.css +1 -1
- package/themes/slate/theme.css +1 -1
- package/utilities/helpers.d.ts +2 -1
- package/utilities/helpers.js +10 -1
- package/cli/theming/definitions/minimal.d.ts +0 -3
- package/cli/theming/definitions/minimal.js +0 -80
- package/styles/aspectRatio/index.test.js +0 -24
- package/styles/bleed/index.test.d.ts +0 -1
- package/styles/bleed/index.test.js +0 -24
- package/styles/height/index.test.d.ts +0 -1
- package/styles/height/index.test.js +0 -27
- package/styles/inset/index.test.d.ts +0 -1
- package/styles/inset/index.test.js +0 -27
- package/styles/maxHeight/index.test.d.ts +0 -1
- package/styles/maxHeight/index.test.js +0 -27
- package/styles/maxWidth/index.test.d.ts +0 -1
- package/styles/maxWidth/index.test.js +0 -27
- package/styles/padding/index.test.d.ts +0 -1
- package/styles/padding/index.test.js +0 -24
- package/styles/position/index.test.d.ts +0 -1
- package/styles/position/index.test.js +0 -21
- package/styles/radius/index.test.d.ts +0 -1
- package/styles/radius/index.test.js +0 -24
- package/styles/width/index.test.d.ts +0 -1
- package/styles/width/index.test.js +0 -27
- package/themes/minimal/theme.css +0 -1
- package/utilities/testPresets.d.ts +0 -25
- package/utilities/testPresets.js +0 -76
- package/utilities/tests/Chain.test.d.ts +0 -1
- package/utilities/tests/Chain.test.js +0 -45
- /package/bin/{copy-release.sh → release-copy.sh} +0 -0
- /package/{styles/aspectRatio/index.test.d.ts → components/Slider/Slider.types.js} +0 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
-
|
4
|
-
-
|
5
|
-
- attributes in DropdownMenu.Content
|
1
|
+
2.2.1
|
2
|
+
|
3
|
+
- Remove tap-highlight for checkbox, radio and switch on mobile devices
|
4
|
+
- Select: Fixed disabled icon color
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Reshaped Pro License
|
2
|
+
|
3
|
+
Reshaped grants you a non-exclusive license and permission to use the Design system.
|
4
|
+
When using the Reshaped Pro License it grants the same permissions to all Employees and Contractors of the Licensee to access and use the Design system.
|
5
|
+
|
6
|
+
Reshaped Pro license is only including the Design system source code.
|
7
|
+
Reshaped package publicly distributed on NPM is using a separate MIT license and is provided together with the package when it's installed.
|
8
|
+
|
9
|
+
You can:
|
10
|
+
|
11
|
+
- Modify the Design system components to create custom components. Those components are subject to this license.
|
12
|
+
- Use the Design system to create unlimited Products for yourself, your company or a Client.
|
13
|
+
- Sell products created with the Design system to the Users.
|
14
|
+
|
15
|
+
You cannot:
|
16
|
+
|
17
|
+
- Share your access to the Design system with other people.
|
18
|
+
- Redistribute the Design System under other names.
|
19
|
+
- Reimplement the Design System using other frameworks and make it available publicly or for sale.
|
20
|
+
- Distribute design kits based on the Design system.
|
21
|
+
- Distribute design or development tools for building Products using the Design system components.
|
22
|
+
- Distribute page templates or UI libraries based on the Design system.
|
23
|
+
- Create any Product that is not the sole property of either you, your company or a Client. For example your Employees and Contractors can't use your company Reshaped Pro license to build their own websites or side projects.
|
24
|
+
|
25
|
+
## License Definitions
|
26
|
+
|
27
|
+
- Licensee is a person or a business entity who has purchased a License.
|
28
|
+
- Design system is the source code and design assets made available to the Licensee after purchasing an Reshaped license.
|
29
|
+
- Product is any artifact produced that incorporates the Design system.
|
30
|
+
- User is a user of a Product.
|
31
|
+
- Employee is a full-time or part-time employee of the Licensee.
|
32
|
+
- Contractor is an individual or business entity contracted to perform services for the Licensee.
|
33
|
+
- Client is an individual or entity receiving custom professional services directly from the Licensee, produced specifically for that individual or entity.
|
34
|
+
|
35
|
+
The ownership of the Design system remains with the Reshaped development team.
|
36
|
+
You are required to abide by the licensing terms to avoid termination in case of non-compliance with the agreed terms.
|
37
|
+
|
38
|
+
---
|
39
|
+
|
40
|
+
Got any further questions? [Send us an email](mailto:hello@reshaped.so)
|
package/LICENSE.md
CHANGED
@@ -1,37 +1,21 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
## License Definitions
|
23
|
-
|
24
|
-
- Licensee is a person or a business entity who has purchased a License.
|
25
|
-
- Design system is the source code and design assets made available to the Licensee after purchasing an Reshaped license.
|
26
|
-
- Product is any artifact produced that incorporates the Design system.
|
27
|
-
- User is a user of a Product.
|
28
|
-
- Employee is a full-time or part-time employee of the Licensee.
|
29
|
-
- Contractor is an individual or business entity contracted to perform services for the Licensee.
|
30
|
-
- Client is an individual or entity receiving custom professional services directly from the Licensee, produced specifically for that individual or entity.
|
31
|
-
|
32
|
-
The ownership of the Design system remains with the Reshaped development team.
|
33
|
-
You are required to abide by the licensing terms to avoid termination in case of non-compliance with the agreed terms.
|
34
|
-
|
35
|
-
---
|
36
|
-
|
37
|
-
Got any further questions? [Send us an email](mailto:hello@reshaped.so)
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2023 Dmitry Belyaev
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/bin/clean.sh
CHANGED