@trafilea/afrodita-components 4.4.0-beta.5 → 5.0.0-beta.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/build/index.d.ts +13 -3
- package/build/index.esm.js +397 -2673
- package/build/index.esm.js.map +1 -1
- package/build/index.js +397 -2673
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.d.ts +6 -0
- package/build/theme/shapermint.theme.js +18 -4
- package/build/theme/truekind.theme.d.ts +6 -0
- package/build/theme/truekind.theme.js +14 -0
- package/package.json +2 -1
package/build/index.d.ts
CHANGED
|
@@ -67,8 +67,11 @@ declare type Pattern = {
|
|
|
67
67
|
};
|
|
68
68
|
declare type ColorPickerOption = {
|
|
69
69
|
label: string;
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
description: string;
|
|
71
|
+
meta: {
|
|
72
|
+
color?: Color;
|
|
73
|
+
pattern?: Pattern;
|
|
74
|
+
};
|
|
72
75
|
};
|
|
73
76
|
declare type RadioGroupOption = {
|
|
74
77
|
value: string;
|
|
@@ -1008,6 +1011,12 @@ declare type ThemeComponent = {
|
|
|
1008
1011
|
modal: {
|
|
1009
1012
|
minWidth: string;
|
|
1010
1013
|
};
|
|
1014
|
+
packSelector: {
|
|
1015
|
+
borderRadius: string;
|
|
1016
|
+
borderColor: string;
|
|
1017
|
+
highlight: string;
|
|
1018
|
+
selected: string;
|
|
1019
|
+
};
|
|
1011
1020
|
};
|
|
1012
1021
|
declare type ThemeTypography = {
|
|
1013
1022
|
config: {
|
|
@@ -1602,6 +1611,7 @@ declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal'
|
|
|
1602
1611
|
|
|
1603
1612
|
interface CloseButtonProps {
|
|
1604
1613
|
onClick: () => void;
|
|
1614
|
+
size: number;
|
|
1605
1615
|
}
|
|
1606
1616
|
|
|
1607
1617
|
interface DescriptionProps {
|
|
@@ -1621,7 +1631,7 @@ declare const CartProductItem: {
|
|
|
1621
1631
|
Tag: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
|
|
1622
1632
|
Promo: ({ text }: PromoProps) => JSX.Element;
|
|
1623
1633
|
Description: ({ text }: DescriptionProps) => JSX.Element;
|
|
1624
|
-
CloseButton: ({ onClick }: CloseButtonProps) => JSX.Element;
|
|
1634
|
+
CloseButton: ({ onClick, size }: CloseButtonProps) => JSX.Element;
|
|
1625
1635
|
};
|
|
1626
1636
|
|
|
1627
1637
|
declare type QuantityPickerPropsOnChange = (value: number) => void;
|