@saleor/macaw-ui 1.1.20 → 1.2.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.
- package/dist/Geist-Black.woff2 +0 -0
- package/dist/Geist-BlackItalic.woff2 +0 -0
- package/dist/Geist-Bold.woff2 +0 -0
- package/dist/Geist-BoldItalic.woff2 +0 -0
- package/dist/Geist-ExtraBold.woff2 +0 -0
- package/dist/Geist-ExtraBoldItalic.woff2 +0 -0
- package/dist/Geist-ExtraLight.woff2 +0 -0
- package/dist/Geist-ExtraLightItalic.woff2 +0 -0
- package/dist/Geist-Italic[wght].woff2 +0 -0
- package/dist/Geist-Light.woff2 +0 -0
- package/dist/Geist-LightItalic.woff2 +0 -0
- package/dist/Geist-Medium.woff2 +0 -0
- package/dist/Geist-MediumItalic.woff2 +0 -0
- package/dist/Geist-Regular.woff2 +0 -0
- package/dist/Geist-RegularItalic.woff2 +0 -0
- package/dist/Geist-SemiBold.woff2 +0 -0
- package/dist/Geist-SemiBoldItalic.woff2 +0 -0
- package/dist/Geist-Thin.woff2 +0 -0
- package/dist/Geist-ThinItalic.woff2 +0 -0
- package/dist/Geist[wght].woff2 +0 -0
- package/dist/components/Icons/ArrowDownIcon.d.ts +1 -3
- package/dist/components/Icons/ArrowLeftIcon.d.ts +1 -3
- package/dist/components/Icons/ArrowRightIcon.d.ts +1 -3
- package/dist/components/Icons/ArrowUpIcon.d.ts +1 -3
- package/dist/components/Icons/CatalogIcon.d.ts +1 -3
- package/dist/components/Icons/CheckboxIcon.d.ts +1 -3
- package/dist/components/Icons/ChervonDoubleIcon.d.ts +1 -3
- package/dist/components/Icons/ChervonDownIcon.d.ts +1 -3
- package/dist/components/Icons/ChervonUpIcon.d.ts +1 -3
- package/dist/components/Icons/ChevronLeftIcon.d.ts +1 -3
- package/dist/components/Icons/ChevronRightIcon.d.ts +1 -3
- package/dist/components/Icons/CloseIcon.d.ts +1 -3
- package/dist/components/Icons/ConfigurationIcon.d.ts +1 -3
- package/dist/components/Icons/CopyIcon.d.ts +1 -3
- package/dist/components/Icons/CustomersIcon.d.ts +1 -3
- package/dist/components/Icons/DarkModeIcon.d.ts +1 -3
- package/dist/components/Icons/DashboardIcon.d.ts +1 -3
- package/dist/components/Icons/EditIcon.d.ts +1 -3
- package/dist/components/Icons/EnvironmentIcon.d.ts +1 -3
- package/dist/components/Icons/ExportIcon.d.ts +1 -3
- package/dist/components/Icons/ExternalLinkIcon.d.ts +1 -3
- package/dist/components/Icons/FileExportIcon.d.ts +1 -3
- package/dist/components/Icons/FloppyDiscIcon.d.ts +1 -3
- package/dist/components/Icons/FullscreenOffIcon.d.ts +1 -3
- package/dist/components/Icons/FullscreenOnIcon.d.ts +1 -3
- package/dist/components/Icons/GenericAppIcon.d.ts +1 -3
- package/dist/components/Icons/GraphQLIcon.d.ts +1 -3
- package/dist/components/Icons/GripIcon.d.ts +1 -3
- package/dist/components/Icons/HelpIcon.d.ts +1 -3
- package/dist/components/Icons/HomeIcon.d.ts +1 -3
- package/dist/components/Icons/InfoIcon.d.ts +1 -3
- package/dist/components/Icons/LightModeIcon.d.ts +1 -3
- package/dist/components/Icons/MailIcon.d.ts +1 -3
- package/dist/components/Icons/MarketplaceIcon.d.ts +1 -3
- package/dist/components/Icons/MenuIcon.d.ts +1 -3
- package/dist/components/Icons/MoreOptionsIcon.d.ts +1 -3
- package/dist/components/Icons/OrdersIcon.d.ts +1 -3
- package/dist/components/Icons/PlusIcon.d.ts +1 -3
- package/dist/components/Icons/ProductsIcons.d.ts +1 -3
- package/dist/components/Icons/RemoveIcon.d.ts +1 -3
- package/dist/components/Icons/SVGWrapper/SVGWrapper.d.ts +3 -7
- package/dist/components/Icons/SVGWrapper/createSVGWrapper.d.ts +1 -3
- package/dist/components/Icons/SearchIcon.d.ts +1 -3
- package/dist/components/Icons/SellsIcon.d.ts +1 -3
- package/dist/components/Icons/StorefrontIcon.d.ts +1 -3
- package/dist/components/Icons/TableEditIcon.d.ts +1 -3
- package/dist/components/Icons/TranslationsIcon.d.ts +1 -3
- package/dist/components/Icons/TrashBinIcon.d.ts +1 -3
- package/dist/components/Icons/ViewListIcon.d.ts +1 -3
- package/dist/components/Icons/ViewTableIcon.d.ts +1 -3
- package/dist/components/Icons/ViewTilesIcon.d.ts +1 -3
- package/dist/components/Icons/ViewWideTilesIcon.d.ts +1 -3
- package/dist/components/Icons/VouchersIcon.d.ts +1 -3
- package/dist/components/Icons/WarningIcon.d.ts +1 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
@@ -1,18 +1,14 @@
|
|
1
1
|
import { SVGWrapperVariants } from './SVGWrapper.css';
|
2
2
|
import { Sprinkles } from '../../../theme';
|
3
|
-
import { ReactNode } from 'react';
|
3
|
+
import { ReactNode, SVGProps } from 'react';
|
4
4
|
|
5
|
-
export type SVGWrapperProps = SVGWrapperVariants & {
|
6
|
-
className?: string;
|
7
|
-
viewBox?: string;
|
5
|
+
export type SVGWrapperProps = SVGWrapperVariants & Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
8
6
|
children: ReactNode;
|
9
7
|
color?: Sprinkles["color"];
|
10
8
|
};
|
11
9
|
export declare const SVGWrapper: import('react').ForwardRefExoticComponent<{
|
12
10
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
13
|
-
} & {
|
14
|
-
className?: string | undefined;
|
15
|
-
viewBox?: string | undefined;
|
11
|
+
} & Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
16
12
|
children: ReactNode;
|
17
13
|
color?: Sprinkles["color"];
|
18
14
|
} & import("react").RefAttributes<SVGSVGElement>>;
|
@@ -2,9 +2,7 @@ import { ReactNode } from 'react';
|
|
2
2
|
|
3
3
|
export declare const createSVGWrapper: (node: ReactNode, viewBox?: string) => import('react').ForwardRefExoticComponent<Omit<{
|
4
4
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
5
|
-
} & {
|
6
|
-
className?: string | undefined;
|
7
|
-
viewBox?: string | undefined;
|
5
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
8
6
|
children: ReactNode;
|
9
7
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
10
8
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const SearchIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const SellsIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const StorefrontIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const TableEditIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const TranslationsIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const TrashBinIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const ViewListIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const ViewTableIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const ViewTilesIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const ViewWideTilesIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const VouchersIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|
@@ -1,9 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const WarningIcon: import('react').ForwardRefExoticComponent<Omit<{
|
3
3
|
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
|
4
|
-
} & {
|
5
|
-
className?: string | undefined;
|
6
|
-
viewBox?: string | undefined;
|
4
|
+
} & Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
7
5
|
children: import("react").ReactNode;
|
8
6
|
color?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | {
|
9
7
|
default?: "accent1" | "buttonCriticalDisabled" | "buttonCriticalPrimary" | "buttonDefaultPrimary" | "buttonDefaultSecondary" | "buttonDefaultTertiary" | "critical1" | "critical2" | "default1" | "default2" | "defaultDisabled" | "info1" | "success1" | "warning1" | "inherit" | undefined;
|