@trafilea/afrodita-components 4.0.2-beta.0 → 4.0.2-beta.4
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/dts/components/icons/Messaging/Mail.d.ts +3 -0
- package/build/dts/components/icons/Messaging/Message.d.ts +8 -0
- package/build/dts/components/icons/Messaging/index.d.ts +2 -0
- package/build/dts/components/text/Text.d.ts +2 -1
- package/build/index.d.ts +71 -55
- package/build/index.esm.js +29 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +29 -4
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.js +12 -0
- package/build/theme/truekind.theme.js +12 -0
- package/package.json +1 -1
|
@@ -83,7 +83,7 @@ declare type TextLabelProps = {
|
|
|
83
83
|
} & LabelHTMLAttributes<'label'>;
|
|
84
84
|
declare type TextTagProps = {
|
|
85
85
|
variant: 'tag';
|
|
86
|
-
size
|
|
86
|
+
size?: 'regular' | 'small' | 'x-small';
|
|
87
87
|
weight?: 'regular' | 'demi' | 'bold';
|
|
88
88
|
underline?: never;
|
|
89
89
|
disabled?: boolean;
|
|
@@ -95,4 +95,5 @@ export declare type TextVariant = TextHeroProps['variant'] | TextDisplayProps['v
|
|
|
95
95
|
export declare type TextWeight = 'heavy' | 'bold' | 'demi' | 'regular';
|
|
96
96
|
export declare type TextProps = AriaAttributes & {
|
|
97
97
|
style?: CSSProperties;
|
|
98
|
+
className?: string;
|
|
98
99
|
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { IconWrapperProps } from 'src/components/Icon-wrapper/IconWrapper';
|
|
2
3
|
import React, { ReactNode, FC, AriaAttributes, CSSProperties, AnchorHTMLAttributes, LabelHTMLAttributes, ElementType, RefObject } from 'react';
|
|
3
4
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
4
5
|
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
@@ -27,7 +28,7 @@ declare enum InputValidationType {
|
|
|
27
28
|
Empty = 2
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
interface IconProps {
|
|
31
|
+
interface IconProps$1 {
|
|
31
32
|
width?: number;
|
|
32
33
|
height?: number;
|
|
33
34
|
fill?: string;
|
|
@@ -76,7 +77,7 @@ declare type ImageType = {
|
|
|
76
77
|
imageUrl: string;
|
|
77
78
|
alt: string;
|
|
78
79
|
};
|
|
79
|
-
interface IconWithOpacityProps extends IconProps {
|
|
80
|
+
interface IconWithOpacityProps extends IconProps$1 {
|
|
80
81
|
opacity?: number;
|
|
81
82
|
}
|
|
82
83
|
interface WithTestId {
|
|
@@ -107,7 +108,7 @@ interface SearchBarOptionItem {
|
|
|
107
108
|
title: string;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
|
-
declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
111
|
+
declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
111
112
|
|
|
112
113
|
declare const Custom_SixtyDaysGuarantee: typeof SixtyDaysGuarantee;
|
|
113
114
|
declare namespace Custom {
|
|
@@ -116,22 +117,22 @@ declare namespace Custom {
|
|
|
116
117
|
};
|
|
117
118
|
}
|
|
118
119
|
|
|
119
|
-
declare const Check: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
120
|
+
declare const Check: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
120
121
|
|
|
121
|
-
declare const ClearLight: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
122
|
+
declare const ClearLight: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
122
123
|
|
|
123
|
-
declare const LightExclamation: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
124
|
+
declare const LightExclamation: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
124
125
|
|
|
125
|
-
interface LightCheckProps extends IconProps {
|
|
126
|
+
interface LightCheckProps extends IconProps$1 {
|
|
126
127
|
strokeWidth?: number;
|
|
127
128
|
}
|
|
128
129
|
declare const LightCheck: ({ height, width, fill, strokeWidth }: LightCheckProps) => JSX.Element;
|
|
129
130
|
|
|
130
|
-
declare const Question: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
131
|
+
declare const Question: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
131
132
|
|
|
132
|
-
declare const Close: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
133
|
+
declare const Close: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
133
134
|
|
|
134
|
-
declare const Trash: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
135
|
+
declare const Trash: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
135
136
|
|
|
136
137
|
declare const Actions_Check: typeof Check;
|
|
137
138
|
declare const Actions_ClearLight: typeof ClearLight;
|
|
@@ -154,16 +155,16 @@ declare namespace Actions {
|
|
|
154
155
|
};
|
|
155
156
|
}
|
|
156
157
|
|
|
157
|
-
declare const FitPredictor$1: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
158
|
+
declare const FitPredictor$1: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
158
159
|
|
|
159
|
-
interface LoadingProps extends IconProps {
|
|
160
|
+
interface LoadingProps extends IconProps$1 {
|
|
160
161
|
backgroundColor: string;
|
|
161
162
|
}
|
|
162
163
|
declare const Loading: ({ height, width, fill, backgroundColor }: LoadingProps) => JSX.Element;
|
|
163
164
|
|
|
164
|
-
declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
|
|
165
|
+
declare const Shapermint: ({ height, width }: IconProps$1) => JSX.Element;
|
|
165
166
|
|
|
166
|
-
declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
|
|
167
|
+
declare const McAfee: ({ height, width }: IconProps$1) => JSX.Element;
|
|
167
168
|
|
|
168
169
|
type Other_LoadingProps = LoadingProps;
|
|
169
170
|
declare const Other_Loading: typeof Loading;
|
|
@@ -179,19 +180,19 @@ declare namespace Other {
|
|
|
179
180
|
};
|
|
180
181
|
}
|
|
181
182
|
|
|
182
|
-
declare const ChevronDown: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
183
|
+
declare const ChevronDown: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
183
184
|
|
|
184
185
|
declare const ChevronLeft: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
185
186
|
|
|
186
187
|
declare const ChevronRight: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
187
188
|
|
|
188
|
-
declare const ChevronRightVariant: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
189
|
+
declare const ChevronRightVariant: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
189
190
|
|
|
190
|
-
declare const ChevronUp: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
191
|
+
declare const ChevronUp: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
191
192
|
|
|
192
|
-
declare const ChevronUpSolid: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
193
|
+
declare const ChevronUpSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
193
194
|
|
|
194
|
-
declare const CircleUp: ({ width, height, fill }: IconProps) => JSX.Element;
|
|
195
|
+
declare const CircleUp: ({ width, height, fill }: IconProps$1) => JSX.Element;
|
|
195
196
|
|
|
196
197
|
declare const Arrows_ChevronDown: typeof ChevronDown;
|
|
197
198
|
declare const Arrows_ChevronLeft: typeof ChevronLeft;
|
|
@@ -212,25 +213,25 @@ declare namespace Arrows {
|
|
|
212
213
|
};
|
|
213
214
|
}
|
|
214
215
|
|
|
215
|
-
declare const Clock: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
216
|
+
declare const Clock: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
216
217
|
|
|
217
|
-
declare const FlagUSA: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
218
|
+
declare const FlagUSA: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
218
219
|
|
|
219
|
-
declare const Minus: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
220
|
+
declare const Minus: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
220
221
|
|
|
221
|
-
declare const Plus: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
222
|
+
declare const Plus: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
222
223
|
|
|
223
|
-
declare const Rule: ({ width, height, fill }: IconProps) => JSX.Element;
|
|
224
|
+
declare const Rule: ({ width, height, fill }: IconProps$1) => JSX.Element;
|
|
224
225
|
|
|
225
|
-
declare const Star: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
226
|
+
declare const Star: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
226
227
|
|
|
227
|
-
declare const StarEmpty: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
228
|
+
declare const StarEmpty: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
228
229
|
|
|
229
|
-
declare const StarHalf: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
230
|
+
declare const StarHalf: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
230
231
|
|
|
231
|
-
declare const Stopwatch: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
232
|
+
declare const Stopwatch: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
232
233
|
|
|
233
|
-
declare const Shipping: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
234
|
+
declare const Shipping: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
234
235
|
|
|
235
236
|
declare const PDP_Clock: typeof Clock;
|
|
236
237
|
declare const PDP_FlagUSA: typeof FlagUSA;
|
|
@@ -257,19 +258,19 @@ declare namespace PDP {
|
|
|
257
258
|
};
|
|
258
259
|
}
|
|
259
260
|
|
|
260
|
-
declare const Facebook: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
261
|
+
declare const Facebook: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
261
262
|
|
|
262
|
-
declare const FacebookSolid: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
263
|
+
declare const FacebookSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
263
264
|
|
|
264
|
-
declare const Instagram: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
265
|
+
declare const Instagram: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
265
266
|
|
|
266
|
-
declare const InstagramSolid: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
267
|
+
declare const InstagramSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
267
268
|
|
|
268
|
-
declare const Pinterest: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
269
|
+
declare const Pinterest: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
269
270
|
|
|
270
|
-
declare const Twitter: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
271
|
+
declare const Twitter: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
271
272
|
|
|
272
|
-
declare const Youtube: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
273
|
+
declare const Youtube: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
273
274
|
|
|
274
275
|
declare const SocialMedia_Facebook: typeof Facebook;
|
|
275
276
|
declare const SocialMedia_FacebookSolid: typeof FacebookSolid;
|
|
@@ -290,13 +291,13 @@ declare namespace SocialMedia {
|
|
|
290
291
|
};
|
|
291
292
|
}
|
|
292
293
|
|
|
293
|
-
declare const Search: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
294
|
+
declare const Search: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
294
295
|
|
|
295
|
-
declare const User: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
296
|
+
declare const User: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
296
297
|
|
|
297
|
-
declare const ShoppingBag: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
298
|
+
declare const ShoppingBag: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
298
299
|
|
|
299
|
-
declare const MapMarker: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
300
|
+
declare const MapMarker: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
300
301
|
|
|
301
302
|
declare const Navigation_Search: typeof Search;
|
|
302
303
|
declare const Navigation_User: typeof User;
|
|
@@ -311,26 +312,40 @@ declare namespace Navigation {
|
|
|
311
312
|
};
|
|
312
313
|
}
|
|
313
314
|
|
|
314
|
-
declare const QuestionCircle: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
315
|
+
declare const QuestionCircle: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
316
|
+
|
|
317
|
+
declare const Messenger: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
318
|
+
|
|
319
|
+
declare const Comment: ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
315
320
|
|
|
316
|
-
|
|
321
|
+
interface IconProps {
|
|
322
|
+
width?: number;
|
|
323
|
+
height?: number;
|
|
324
|
+
fill?: string;
|
|
325
|
+
title?: string;
|
|
326
|
+
}
|
|
327
|
+
declare const Message: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
317
328
|
|
|
318
|
-
declare const
|
|
329
|
+
declare const Mail: ({ height, width }: IconWrapperProps) => JSX.Element;
|
|
319
330
|
|
|
320
331
|
declare const Messaging_QuestionCircle: typeof QuestionCircle;
|
|
321
332
|
declare const Messaging_Messenger: typeof Messenger;
|
|
322
333
|
declare const Messaging_Comment: typeof Comment;
|
|
334
|
+
declare const Messaging_Message: typeof Message;
|
|
335
|
+
declare const Messaging_Mail: typeof Mail;
|
|
323
336
|
declare namespace Messaging {
|
|
324
337
|
export {
|
|
325
338
|
Messaging_QuestionCircle as QuestionCircle,
|
|
326
339
|
Messaging_Messenger as Messenger,
|
|
327
340
|
Messaging_Comment as Comment,
|
|
341
|
+
Messaging_Message as Message,
|
|
342
|
+
Messaging_Mail as Mail,
|
|
328
343
|
};
|
|
329
344
|
}
|
|
330
345
|
|
|
331
|
-
declare const AppleStore: ({ height, width }: IconProps) => JSX.Element;
|
|
346
|
+
declare const AppleStore: ({ height, width }: IconProps$1) => JSX.Element;
|
|
332
347
|
|
|
333
|
-
declare const GooglePlay: ({ height, width }: IconProps) => JSX.Element;
|
|
348
|
+
declare const GooglePlay: ({ height, width }: IconProps$1) => JSX.Element;
|
|
334
349
|
|
|
335
350
|
declare const Download_AppleStore: typeof AppleStore;
|
|
336
351
|
declare const Download_GooglePlay: typeof GooglePlay;
|
|
@@ -341,19 +356,19 @@ declare namespace Download {
|
|
|
341
356
|
};
|
|
342
357
|
}
|
|
343
358
|
|
|
344
|
-
declare const Visa: ({ height, width }: IconProps) => JSX.Element;
|
|
359
|
+
declare const Visa: ({ height, width }: IconProps$1) => JSX.Element;
|
|
345
360
|
|
|
346
|
-
declare const MasterCard: ({ height, width }: IconProps) => JSX.Element;
|
|
361
|
+
declare const MasterCard: ({ height, width }: IconProps$1) => JSX.Element;
|
|
347
362
|
|
|
348
|
-
declare const AMEX: ({ height, width }: IconProps) => JSX.Element;
|
|
363
|
+
declare const AMEX: ({ height, width }: IconProps$1) => JSX.Element;
|
|
349
364
|
|
|
350
|
-
declare const JCB: ({ height, width }: IconProps) => JSX.Element;
|
|
365
|
+
declare const JCB: ({ height, width }: IconProps$1) => JSX.Element;
|
|
351
366
|
|
|
352
|
-
declare const Paypal: ({ height, width }: IconProps) => JSX.Element;
|
|
367
|
+
declare const Paypal: ({ height, width }: IconProps$1) => JSX.Element;
|
|
353
368
|
|
|
354
|
-
declare const Klarna: ({ height, width }: IconProps) => JSX.Element;
|
|
369
|
+
declare const Klarna: ({ height, width }: IconProps$1) => JSX.Element;
|
|
355
370
|
|
|
356
|
-
declare const Amazon: ({ height, width }: IconProps) => JSX.Element;
|
|
371
|
+
declare const Amazon: ({ height, width }: IconProps$1) => JSX.Element;
|
|
357
372
|
|
|
358
373
|
declare const Payment_Visa: typeof Visa;
|
|
359
374
|
declare const Payment_MasterCard: typeof MasterCard;
|
|
@@ -383,7 +398,7 @@ declare namespace SlideDots {
|
|
|
383
398
|
};
|
|
384
399
|
}
|
|
385
400
|
|
|
386
|
-
declare type IconType = ({ height, width, fill }: IconProps) => JSX.Element;
|
|
401
|
+
declare type IconType = ({ height, width, fill }: IconProps$1) => JSX.Element;
|
|
387
402
|
declare const Icon: {
|
|
388
403
|
Custom: typeof Custom;
|
|
389
404
|
Arrows: typeof Arrows;
|
|
@@ -1054,7 +1069,7 @@ declare type TextLabelProps = {
|
|
|
1054
1069
|
} & LabelHTMLAttributes<'label'>;
|
|
1055
1070
|
declare type TextTagProps = {
|
|
1056
1071
|
variant: 'tag';
|
|
1057
|
-
size
|
|
1072
|
+
size?: 'regular' | 'small' | 'x-small';
|
|
1058
1073
|
weight?: 'regular' | 'demi' | 'bold';
|
|
1059
1074
|
underline?: never;
|
|
1060
1075
|
disabled?: boolean;
|
|
@@ -1064,6 +1079,7 @@ declare type TextTagProps = {
|
|
|
1064
1079
|
};
|
|
1065
1080
|
declare type TextProps = AriaAttributes & {
|
|
1066
1081
|
style?: CSSProperties;
|
|
1082
|
+
className?: string;
|
|
1067
1083
|
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
1068
1084
|
|
|
1069
1085
|
interface SearchBarProps {
|
|
@@ -1476,4 +1492,4 @@ declare const useWindowDimensions: (breakpoints: ThemeBreakpoints$1) => {
|
|
|
1476
1492
|
};
|
|
1477
1493
|
};
|
|
1478
1494
|
|
|
1479
|
-
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, Pagination, Pattern, PaymentMethod, PaypalButton, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, RadioGroupInput, RadioGroupOption, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
1495
|
+
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, FitPredictor, Icon, IconButton, IconProps$1 as IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, Pagination, Pattern, PaymentMethod, PaypalButton, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, RadioGroupInput, RadioGroupOption, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
package/build/index.esm.js
CHANGED
|
@@ -342,11 +342,23 @@ var Comment = function (_a) {
|
|
|
342
342
|
return (jsx$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 22, viewBoxY: 20, title: "Comment" }, { children: jsx$1("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 10C0 4.46565 4.92593 0 11 0C17.037 0 22 4.46565 22 10C22 15.5344 17.0741 20 11 20C9 20 7.03704 19.5038 5.33333 18.5496C4.40741 19.0458 3.40741 19.2748 2.2963 19.2748C1.96296 19.2748 1.59259 19.2366 1.25926 19.1985C0.925926 19.1603 0.62963 18.8931 0.555556 18.5496C0.481481 18.2061 0.62963 17.8244 0.925926 17.6336C1.48148 17.2519 1.92593 16.7176 2.22222 16.0305C0.777778 14.313 0 12.1756 0 10ZM5.55556 17.4046C7.18518 18.3588 9.03704 18.855 10.963 18.855C16.4444 18.855 20.8519 14.8855 20.8519 10C20.8519 5.1145 16.4074 1.14504 10.963 1.14504C5.51852 1.14504 1.11111 5.1145 1.11111 10C1.11111 12.0229 1.85185 13.9695 3.22222 15.5344C3.37037 15.687 3.40741 15.916 3.33333 16.1069C3.03704 16.9084 2.62963 17.5954 2.03704 18.1298C3.14815 18.1679 4.14815 17.9389 5 17.4046C5.02318 17.3966 5.04475 17.3887 5.06538 17.381L5.0654 17.381C5.14364 17.3521 5.20837 17.3282 5.2963 17.3282C5.37037 17.3282 5.48148 17.3664 5.55556 17.4046ZM12.1579 10.2941C12.1579 10.7814 11.7691 11.1765 11.2895 11.1765C10.8099 11.1765 10.4211 10.7814 10.4211 10.2941C10.4211 9.80681 10.8099 9.41177 11.2895 9.41177C11.7691 9.41177 12.1579 9.80681 12.1579 10.2941ZM7.23683 11.1765C7.71644 11.1765 8.10525 10.7814 8.10525 10.2941C8.10525 9.8068 7.71644 9.41176 7.23683 9.41176C6.75721 9.41176 6.36841 9.8068 6.36841 10.2941C6.36841 10.7814 6.75721 11.1765 7.23683 11.1765ZM16.2105 10.2941C16.2105 10.7814 15.8217 11.1765 15.3421 11.1765C14.8625 11.1765 14.4737 10.7814 14.4737 10.2941C14.4737 9.80681 14.8625 9.41177 15.3421 9.41177C15.8217 9.41177 16.2105 9.80681 16.2105 10.2941Z", fill: fill }, void 0) }), void 0));
|
|
343
343
|
};
|
|
344
344
|
|
|
345
|
+
var Message = function (_a) {
|
|
346
|
+
var height = _a.height, width = _a.width, fill = _a.fill;
|
|
347
|
+
return (jsx$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 22, viewBoxY: 20, title: "message icon" }, { children: jsx$1("path", { d: "M0 10C0 4.46565 4.92593 0 11 0C17.037 0 22 4.46565 22 10C22 15.5344 17.0741 20 11 20C9 20 7.03704 19.5038 5.33333 18.5496C4.40741 19.0458 3.40741 19.2748 2.2963 19.2748C1.96296 19.2748 1.59259 19.2366 1.25926 19.1985C0.925926 19.1603 0.62963 18.8931 0.555556 18.5496C0.481481 18.2061 0.62963 17.8244 0.925926 17.6336C1.48148 17.2519 1.92593 16.7176 2.22222 16.0305C0.777778 14.313 0 12.1756 0 10ZM5.55556 17.4046C7.18518 18.3588 9.03704 18.855 10.963 18.855C16.4444 18.855 20.8519 14.8855 20.8519 10C20.8519 5.1145 16.4074 1.14504 10.963 1.14504C5.51852 1.14504 1.11111 5.1145 1.11111 10C1.11111 12.0229 1.85185 13.9695 3.22222 15.5344C3.37037 15.687 3.40741 15.916 3.33333 16.1069C3.03704 16.9084 2.62963 17.5954 2.03704 18.1298C3.14815 18.1679 4.14815 17.9389 5 17.4046C5.02318 17.3966 5.04475 17.3887 5.06538 17.381L5.0654 17.381C5.14364 17.3521 5.20837 17.3282 5.2963 17.3282C5.37037 17.3282 5.48148 17.3664 5.55556 17.4046ZM12.1579 10.2941C12.1579 10.7814 11.7691 11.1765 11.2895 11.1765C10.8099 11.1765 10.4211 10.7814 10.4211 10.2941C10.4211 9.80681 10.8099 9.41177 11.2895 9.41177C11.7691 9.41177 12.1579 9.80681 12.1579 10.2941ZM7.23683 11.1765C7.71644 11.1765 8.10525 10.7814 8.10525 10.2941C8.10525 9.8068 7.71644 9.41176 7.23683 9.41176C6.75721 9.41176 6.36841 9.8068 6.36841 10.2941C6.36841 10.7814 6.75721 11.1765 7.23683 11.1765ZM16.2105 10.2941C16.2105 10.7814 15.8217 11.1765 15.3421 11.1765C14.8625 11.1765 14.4737 10.7814 14.4737 10.2941C14.4737 9.80681 14.8625 9.41177 15.3421 9.41177C15.8217 9.41177 16.2105 9.80681 16.2105 10.2941Z", fill: fill }, void 0) }), void 0));
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
var Mail = function (_a) {
|
|
351
|
+
var height = _a.height, width = _a.width;
|
|
352
|
+
return (jsxs$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 24, viewBoxY: 24, title: "message icon" }, { children: [jsx$1("path", { d: "M21.4-14.3c0,0.1,0,0.2,0,0.3c0.1,0,0.1,0,0.2,0s0.1,0,0.2,0s0.1,0,0.2,0c0,0.1,0,0.1,0,0.2c0,0.1,0,0.2,0,0.2\n\tc0,0.1,0,0.2,0,0.2h0.1c0,0.1,0,0.2,0,0.3l0,0l0,0c0-0.1,0-0.2,0-0.3c0.1,0,0.1,0,0.2,0c0,0,0,0,0,0.1s0,0.2,0,0.2\n\tc0,0.1,0,0.3,0,0.4l0,0l0,0c0,0,0,0,0,0.1c0,0.2,0,0.3,0,0.5c0,0.1,0,0.2,0,0.3v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1\n\tv0.1v0.1v0.1v0.1c0,0,0,0,0,0.1c0,0,0,0,0,0.1c0,0.2,0,0.3,0,0.5c0,0.1,0,0.2,0,0.3v0.1V-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2,0.1-0.3,0.1-0.5,0c-1.6-1.2-5.7-4.1-7-5V7.8C7.5,7.4,7.8,7.2,8.1,7.2z M7.5,15.3v-6c0.9,0.6,2.3,1.6,3.6,2.6L7.5,15.3z\n\t\t M8.1,16.8c-0.2,0-0.3-0.1-0.4-0.2l4.3-4.1c0.7,0.5,1.4,1,1.9,1.3c0.3,0.2,0.6,0.3,0.9,0.3s0.6-0.1,0.9-0.3c0.5-0.3,1.2-0.9,2-1.5\n\t\tl4.2,4.3c-0.1,0.1-0.2,0.2-0.4,0.2H8.1z" }, void 0)] }, void 0)] }), void 0));
|
|
353
|
+
};
|
|
354
|
+
|
|
345
355
|
var Messaging = /*#__PURE__*/Object.freeze({
|
|
346
356
|
__proto__: null,
|
|
347
357
|
QuestionCircle: QuestionCircle,
|
|
348
358
|
Messenger: Messenger,
|
|
349
|
-
Comment: Comment
|
|
359
|
+
Comment: Comment,
|
|
360
|
+
Message: Message,
|
|
361
|
+
Mail: Mail
|
|
350
362
|
});
|
|
351
363
|
|
|
352
364
|
var AppleStore = function (_a) {
|
|
@@ -3287,6 +3299,7 @@ var CardBody = function (_a) {
|
|
|
3287
3299
|
};
|
|
3288
3300
|
var templateObject_1$_;
|
|
3289
3301
|
|
|
3302
|
+
var IGNORED_KEYS = ['typography', 'fonts'];
|
|
3290
3303
|
var applyVariablesIntoTheme = function (theme) {
|
|
3291
3304
|
var variables = {};
|
|
3292
3305
|
var pending = {};
|
|
@@ -3299,6 +3312,11 @@ var applyVariablesIntoTheme = function (theme) {
|
|
|
3299
3312
|
}
|
|
3300
3313
|
variables[key] = variables[valueKey];
|
|
3301
3314
|
}
|
|
3315
|
+
for (var _i = 0, IGNORED_KEYS_1 = IGNORED_KEYS; _i < IGNORED_KEYS_1.length; _i++) {
|
|
3316
|
+
var key = IGNORED_KEYS_1[_i];
|
|
3317
|
+
// @ts-ignore
|
|
3318
|
+
variables[key] = theme[key];
|
|
3319
|
+
}
|
|
3302
3320
|
return variablesToObject(variables, {});
|
|
3303
3321
|
};
|
|
3304
3322
|
var variablesToObject = function (variables, theme) {
|
|
@@ -3326,6 +3344,9 @@ var transformToVariables = function (prefix, variables, theme, pending) {
|
|
|
3326
3344
|
/* istanbul ignore next */
|
|
3327
3345
|
var fullKey = key === '$root' ? prefix : "".concat(prefix, "-").concat(key);
|
|
3328
3346
|
var value = theme[key];
|
|
3347
|
+
if (IGNORED_KEYS.includes(key)) {
|
|
3348
|
+
continue;
|
|
3349
|
+
}
|
|
3329
3350
|
if (value == null) {
|
|
3330
3351
|
continue;
|
|
3331
3352
|
}
|
|
@@ -6313,13 +6334,13 @@ var TAGS = {
|
|
|
6313
6334
|
tag: newStyled.span(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: inline-block;\n text-transform: ", ";\n "], ["\n display: inline-block;\n text-transform: ", ";\n "])), function (props) { return (props.allCaps ? 'uppercase' : ''); }),
|
|
6314
6335
|
};
|
|
6315
6336
|
var Text$3 = function (_a) {
|
|
6316
|
-
var variant = _a.variant, children = _a.children,
|
|
6337
|
+
var variant = _a.variant, children = _a.children, allProps = __rest(_a, ["variant", "children"]);
|
|
6317
6338
|
var theme = useTheme();
|
|
6318
6339
|
var Tag = useMemo(function () { return TAGS[variant] || 'p'; }, [variant]);
|
|
6319
|
-
var
|
|
6340
|
+
var _b = useMemo(function () {
|
|
6320
6341
|
var _a;
|
|
6321
6342
|
return (__assign(__assign({}, ((_a = DEFAULTS === null || DEFAULTS === void 0 ? void 0 : DEFAULTS[variant]) !== null && _a !== void 0 ? _a : {})), allProps));
|
|
6322
|
-
}, [variant, allProps]);
|
|
6343
|
+
}, [variant, allProps]), size = _b.size, weight = _b.weight, props = __rest(_b, ["size", "weight"]);
|
|
6323
6344
|
var commonCSS = useMemo(function () {
|
|
6324
6345
|
var _a, _b;
|
|
6325
6346
|
// These are the common style inside a `variant`.
|
|
@@ -6392,6 +6413,10 @@ var DEFAULTS = {
|
|
|
6392
6413
|
size: 'regular',
|
|
6393
6414
|
weight: 'bold',
|
|
6394
6415
|
},
|
|
6416
|
+
tag: {
|
|
6417
|
+
size: 'regular',
|
|
6418
|
+
weight: 'regular',
|
|
6419
|
+
},
|
|
6395
6420
|
};
|
|
6396
6421
|
var templateObject_1$W, templateObject_2$B, templateObject_3$n, templateObject_4$e, templateObject_5$7, templateObject_6$5, templateObject_7$3, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
|
|
6397
6422
|
|