@saleor/macaw-ui 0.3.0-a.7 → 0.3.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/README.md +7 -0
- package/dist/Pagination/styles.d.ts +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +3 -3
- package/dist/icons/LogoLight.d.ts +2 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +2 -2
- package/dist/macaw-ui.cjs.development.js +2626 -0
- package/dist/macaw-ui.cjs.development.js.map +1 -0
- package/dist/macaw-ui.cjs.production.min.js +2 -0
- package/dist/macaw-ui.cjs.production.min.js.map +1 -0
- package/dist/macaw-ui.esm.js +2578 -0
- package/dist/macaw-ui.esm.js.map +1 -0
- package/dist/types/Alert/styles.d.ts +1 -1
- package/dist/types/Button/Button.stories.d.ts +5 -0
- package/dist/types/ConfirmButton/styles.d.ts +1 -1
- package/dist/types/NavigationCard/NavigationCard.d.ts +2 -2
- package/dist/types/NavigationCard/NavigationCard.stories.d.ts +1 -0
- package/dist/types/NavigationCard/NavigationCardBase.d.ts +6 -0
- package/dist/types/NavigationCard/index.d.ts +1 -0
- package/dist/types/Notification/Notification.stories.d.ts +4 -0
- package/dist/types/Notification/styles.d.ts +1 -1
- package/dist/types/Notification/types.d.ts +6 -0
- package/dist/types/Pill/Pill.d.ts +9 -0
- package/dist/types/Pill/Pill.stories.d.ts +5 -0
- package/dist/types/Pill/index.d.ts +1 -0
- package/dist/types/Pill/styles.d.ts +2 -0
- package/dist/types/Sidebar/MenuItem.d.ts +1 -1
- package/dist/types/Sidebar/types.d.ts +4 -4
- package/dist/types/SidebarDrawer/MenuItemBtn.d.ts +1 -1
- package/dist/types/SidebarDrawer/styles.d.ts +1 -1
- package/dist/types/StatusChip/StatusChip.d.ts +4 -0
- package/dist/types/Tooltip/Tooltip.d.ts +1 -0
- package/dist/types/consts.d.ts +1 -0
- package/dist/types/icons/DeleteUserIcon.d.ts +1 -0
- package/dist/types/icons/Logo.d.ts +1 -1
- package/dist/types/icons/LogoLight.d.ts +2 -0
- package/dist/types/icons/index.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/theme/createSaleorTheme/overrides/buttons.d.ts +2 -2
- package/dist/types/theme/createSaleorTheme/overrides/index.d.ts +2 -2
- package/dist/types/theme/createSaleorTheme/overrides/inputs.d.ts +2 -2
- package/dist/types/theme/createSaleorTheme/overrides/tables.d.ts +2 -2
- package/dist/types/theme/createSaleorTheme/shadows.d.ts +2 -2
- package/dist/types/theme/createSaleorTheme/types.d.ts +9 -9
- package/dist/types/utils/guideStyles.d.ts +2 -0
- package/package.json +4 -3
- package/src/Button/Button.tsx +27 -27
- package/src/NavigationCard/NavigationCard.stories.tsx +10 -0
- package/src/NavigationCard/NavigationCard.tsx +21 -21
- package/src/NavigationCard/NavigationCardBase.tsx +27 -0
- package/src/NavigationCard/index.ts +1 -0
- package/src/Notification/Notification.stories.tsx +62 -0
- package/src/Notification/Notification.tsx +35 -3
- package/src/Notification/styles.ts +17 -2
- package/src/Notification/types.ts +8 -0
- package/src/Pill/Pill.stories.tsx +98 -0
- package/src/Pill/Pill.tsx +62 -0
- package/src/Pill/index.ts +1 -0
- package/src/Pill/styles.ts +72 -0
- package/src/Sidebar/MenuItem.tsx +35 -18
- package/src/Sidebar/fixtures.ts +18 -1
- package/src/Sidebar/types.ts +4 -4
- package/src/SidebarDrawer/MenuItemBtn.tsx +2 -2
- package/src/SidebarDrawer/SidebarDrawer.tsx +23 -10
- package/src/SidebarDrawer/styles.ts +6 -0
- package/src/StatusChip/StatusChip.tsx +15 -9
- package/src/Tooltip/Tooltip.tsx +5 -1
- package/src/icons/DeleteUserIcon.tsx +26 -0
- package/src/icons/DownloadIcon.tsx +6 -9
- package/src/icons/Logo.tsx +2 -1
- package/src/icons/LogoLight.tsx +27 -0
- package/src/icons/index.ts +86 -86
- package/src/index.tsx +1 -0
- package/src/theme/createSaleorTheme/createSaleorTheme.tsx +1 -0
- package/src/theme/createSaleorTheme/overrides/buttons.ts +4 -2
- package/src/theme/createSaleorTheme/overrides/index.ts +2 -2
- package/src/theme/createSaleorTheme/overrides/inputs.ts +4 -2
- package/src/theme/createSaleorTheme/overrides/tables.ts +2 -2
- package/src/theme/createSaleorTheme/palette.ts +1 -1
- package/src/theme/createSaleorTheme/shadows.ts +2 -2
- package/src/theme/createSaleorTheme/types.ts +13 -12
- package/src/theme/themes.ts +38 -2
- package/src/utils/Decorator.tsx +2 -1
- package/src/utils/guideStyles.ts +44 -0
- package/dist/mjs/index.js +0 -5
- package/dist/mjs/index.js.map +0 -7
- package/dist/types/StatusChip/styles.d.ts +0 -3
- package/src/StatusChip/styles.ts +0 -51
package/README.md
CHANGED
|
@@ -38,3 +38,10 @@ import { ThemeProvider } from "@saleor/macaw-ui";
|
|
|
38
38
|
## License
|
|
39
39
|
Distributed under the Creative Common Attribution 4.0 International License
|
|
40
40
|
[https://creativecommons.org/licenses/by/4.0/](https://creativecommons.org/licenses/by/4.0/)
|
|
41
|
+
|
|
42
|
+
## Thanks
|
|
43
|
+
|
|
44
|
+
<a href="https://www.chromatic.com/"><img src="https://user-images.githubusercontent.com/321738/84662277-e3db4f80-af1b-11ea-88f5-91d67a5e59f6.png" width="153" height="30" alt="Chromatic" /></a>
|
|
45
|
+
|
|
46
|
+
Thanks to [Chromatic](https://www.chromatic.com/) for providing the visual testing platform that helps us review UI changes and catch visual regressions.
|
|
47
|
+
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"dark" | "root" | "toolbar" | "spacer" | "actions" | "actionsButton" | "actionsButtonDisabled" | "rowNumber" | "rowNumberLabel" | "rowNumberSelect" | "rowNumberSelectLabel"
|
|
1
|
+
declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"dark" | "root" | "toolbar" | "spacer" | "actions" | "actionsButton" | "actionsButtonDisabled" | "rowNumber" | "rowNumberLabel" | "rowNumberSelect" | "rowNumberSelectLabel">;
|
|
2
2
|
export default useStyles;
|