@medusajs/ui-preset 1.0.0 → 1.0.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.
@@ -6,11 +6,11 @@ CLI Target: node16
6
6
  CLI Cleaning output folder
7
7
  CJS Build start
8
8
  ESM Build start
9
- CJS dist/index.js 38.28 KB
9
+ CJS dist/index.js 37.32 KB
10
10
  CJS ⚡️ Build success in 10ms
11
- ESM dist/index.mjs 41.89 KB
11
+ ESM dist/index.mjs 40.91 KB
12
12
  ESM ⚡️ Build success in 10ms
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 950ms
14
+ DTS ⚡️ Build success in 1386ms
15
15
  DTS dist/index.d.ts 12.00 B
16
16
  DTS dist/index.d.mts 12.00 B
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @medusajs/ui-preset
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ef98084: feat(ui,icons,ui-preset): Update to Medusa UI, including new components, icons, and preset styles.
8
+
9
+ # Changes in `@medusajs/ui`
10
+
11
+ ## New components
12
+
13
+ - `IconButton` - A button that only contains an icon.
14
+ - `IconBadge` - A badge that only contains an icon.
15
+ - `StatusBadge` - A badge component specifically designed to be used for displaying statuses.
16
+ - `Tabs` - A tab component that can be used to switch between different views.
17
+ - `ProgressTabs` - A tab component specifically designed to be used for building multi-step tasks.
18
+ - `ProgressAccordion` - An accordion component specifically designed to be used for building multi-step tasks.
19
+ - `CurrencyInput` - An input component that can be used to input currency values.
20
+ - `CommandBar` - A component that can be used to display a list of keyboard commands omn the screen.
21
+ - `CurrencyInput` - An input component that can be used to input currency values, such as prices.
22
+
23
+ ## Breaking changes
24
+
25
+ Several components have been reorganized to streamline their API. The following components have breaking changes:
26
+
27
+ - Button - The `format` property has been removed. To create a Icon only button, use the new `IconButton` component.
28
+ - Badge - The `format` property has been removed. To create a Icon only badge, use the new `IconBadge` component. The border radius of the component is now controlled using the new `rounded` property.
29
+ - CodeBlock - The `hideLineNumbers` property has been moved to the `snippets` property. This allows users to control the visibility of line numbers on a per snippet basis.
30
+
31
+ ## Other changes
32
+
33
+ - The `z-index`'s of all components have been cleaned up to to make stacking portalled components easier.
34
+ - `Table.Pagination` has been tweaked to ensure that it displays the correct number of pages when there is no data.
35
+ - `Calendar` has been tweaked to prevent clicking a date from submitting any forms that precede it in the DOM.
36
+
37
+ # Changes in `@medusajs/icons`
38
+
39
+ ## New icons
40
+
41
+ - `X`
42
+ - `AcademicCap`
43
+ - `Figma`
44
+ - `Photo`
45
+ - `PuzzleSolid`
46
+ - `Text`
47
+
48
+ # Changes in `@medusajs/ui-preset`
49
+
50
+ Minor tweaks to colors, typography, and animations.
51
+
3
52
  ## 1.0.0
4
53
 
5
54
  ### Major Changes
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Medusajs
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/README.md CHANGED
@@ -1 +1,36 @@
1
- # ui-preset
1
+ <p align="center">
2
+ <a href="https://www.medusajs.com">
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="https://user-images.githubusercontent.com/59018053/229103275-b5e482bb-4601-46e6-8142-244f531cebdb.svg">
5
+ <source media="(prefers-color-scheme: light)" srcset="https://user-images.githubusercontent.com/59018053/229103726-e5b529a3-9b3f-4970-8a1f-c6af37f087bf.svg">
6
+ <img alt="Medusa logo" src="https://user-images.githubusercontent.com/59018053/229103726-e5b529a3-9b3f-4970-8a1f-c6af37f087bf.svg">
7
+ </picture>
8
+ </a>
9
+ </p>
10
+ <h1 align="center">
11
+ Medusa UI
12
+ </h1>
13
+
14
+ <h4 align="center">
15
+ <a href="https://docs.medusajs.com/ui">Documentation</a> |
16
+ <a href="https://www.medusajs.com">Website</a>
17
+ </h4>
18
+
19
+ <p align="center">
20
+ Medusa's design system tokens.
21
+ </p>
22
+ <p align="center">
23
+ <a href="https://github.com/medusajs/medusa/blob/develop/LICENSE">
24
+ <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Medusa is released under the MIT license." />
25
+ </a>
26
+ <a href="https://discord.gg/xpCwq3Kfn8">
27
+ <img src="https://img.shields.io/badge/chat-on%20discord-7289DA.svg" alt="Discord Chat" />
28
+ </a>
29
+ <a href="https://twitter.com/intent/follow?screen_name=medusajs">
30
+ <img src="https://img.shields.io/twitter/follow/medusajs.svg?label=Follow%20@medusajs" alt="Follow @medusajs" />
31
+ </a>
32
+ </p>
33
+
34
+ ## Note
35
+
36
+ This package is auto-generated, and requires a Figma token associated with the Medusa Figma organization. If you are a not a Medusa team member, you will not be able to make changes to this package. If you discover any issues please open an issue instead of a PR.