@trafilea/afrodita-components 4.0.2-beta.3 → 4.0.2-beta.7
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 +2 -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/shared/button/BaseButton.d.ts +2 -1
- package/build/dts/components/shared/button/BaseButton.stories.d.ts +1 -1
- package/build/index.d.ts +70 -54
- package/build/index.esm.js +39 -7
- package/build/index.esm.js.map +1 -1
- package/build/index.js +39 -7
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.js +112 -51
- package/build/theme/truekind.theme.js +70 -50
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export interface BaseButtonProps {
|
|
|
8
8
|
type?: ButtonType;
|
|
9
9
|
onClick: () => void;
|
|
10
10
|
className?: string;
|
|
11
|
+
inline?: boolean;
|
|
11
12
|
}
|
|
12
|
-
declare const BaseButton: ({ children, renderLeading, renderTrailing, disabled, type, onClick, className, }: BaseButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const BaseButton: ({ children, renderLeading, renderTrailing, disabled, type, onClick, className, inline, }: BaseButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default BaseButton;
|
|
@@ -2,7 +2,7 @@ import { Story } from '@storybook/react';
|
|
|
2
2
|
import { BaseButtonProps } from './BaseButton';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ children, renderLeading, renderTrailing, disabled, type, onClick, className, }: BaseButtonProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
5
|
+
component: ({ children, renderLeading, renderTrailing, disabled, type, onClick, className, inline, }: BaseButtonProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
6
6
|
disabled: {
|
|
7
7
|
options: boolean[];
|
|
8
8
|
control: {
|
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;
|
|
@@ -472,6 +487,7 @@ interface BaseButtonProps {
|
|
|
472
487
|
type?: ButtonType;
|
|
473
488
|
onClick: () => void;
|
|
474
489
|
className?: string;
|
|
490
|
+
inline?: boolean;
|
|
475
491
|
}
|
|
476
492
|
|
|
477
493
|
declare type BaseProps = Pick<BaseButtonProps, 'disabled' | 'type' | 'onClick'>;
|
|
@@ -1477,4 +1493,4 @@ declare const useWindowDimensions: (breakpoints: ThemeBreakpoints$1) => {
|
|
|
1477
1493
|
};
|
|
1478
1494
|
};
|
|
1479
1495
|
|
|
1480
|
-
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 };
|
|
1496
|
+
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
|
@@ -55,8 +55,8 @@ function __makeTemplateObject(cooked, raw) {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
var IconWrapper = function (_a) {
|
|
58
|
-
var height = _a.height,
|
|
59
|
-
return (jsxs$1("svg", __assign({ width: width ? "".concat(width, "rem") : '100%', height: height ? "".concat(height, "rem") : '100%', viewBox: "0 0 ".concat(viewBoxX, " ").concat(viewBoxY), xmlns: "http://www.w3.org/2000/svg", "data-testid": testid ? testid : 'IconWrapper', fill: fill }, { children: [jsxs$1("title", { children: [title, " icon"] }, void 0), children] }), void 0));
|
|
58
|
+
var height = _a.height, _b = _a.width, width = _b === void 0 ? 1 : _b, title = _a.title, viewBoxX = _a.viewBoxX, viewBoxY = _a.viewBoxY, children = _a.children, testid = _a.testid, fill = _a.fill;
|
|
59
|
+
return (jsxs$1("svg", __assign({ style: { display: 'inline-block', verticalAlign: 'middle' }, width: width ? "".concat(width, "rem") : '100%', height: height ? "".concat(height, "rem") : width ? "".concat(width, "rem") : '100%', viewBox: "0 0 ".concat(viewBoxX, " ").concat(viewBoxY), xmlns: "http://www.w3.org/2000/svg", "data-testid": testid ? testid : 'IconWrapper', fill: fill }, { children: [jsxs$1("title", { children: [title, " icon"] }, void 0), children] }), void 0));
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
var SixtyDaysGuarantee = function (_a) {
|
|
@@ -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-9v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1V-8\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.1v0.1v0.1v0.1v0.1V-6v0.1v0.1v0.1v0.1\n\tc0,0.2,0,0.5,0,0.7c-0.1,0-0.1,0-0.2,0c0-0.1,0-0.2,0-0.3v0.1V-5v0.1H22c0,0,0,0,0,0.1s0,0.1,0,0.2s0,0.1,0,0.2s0,0.1,0,0.2\n\tc-0.2,0-0.4,0-0.7,0c0,0.1,0,0.2,0,0.3l0,0l0,0c-4.5,0-9,0-13.5,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0c0-0.2,0-0.4,0-0.6\n\tc-0.1,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), jsxs$1("g", { children: [jsx$1("path", { d: "M4.8,9.4H2.3C2,9.4,1.8,9.2,1.8,8.8c0-0.3,0.2-0.6,0.5-0.6h2.5c0.3,0,0.5,0.3,0.5,0.6C5.3,9.2,5,9.4,4.8,9.4z" }, void 0), jsx$1("path", { d: "M4.8,12H3.7c-0.3,0-0.5-0.2-0.5-0.5S3.4,11,3.7,11h1.1c0.3,0,0.5,0.2,0.5,0.5S5.1,12,4.8,12z" }, void 0), jsx$1("path", { d: "M4.8,14.6H1.6c-0.3,0-0.5-0.3-0.5-0.6c0-0.3,0.2-0.6,0.5-0.6h3.2c0.3,0,0.5,0.3,0.5,0.6C5.3,14.3,5.1,14.6,4.8,14.6z" }, void 0), jsx$1("path", { d: "M21.3,6.1H8.1c-0.9,0-1.7,0.7-1.7,1.7v8.5c0,0.9,0.7,1.7,1.7,1.7h13.3c0.9,0,1.7-0.7,1.7-1.7V7.8C23,6.9,22.3,6.1,21.3,6.1\n\t\tz M18.4,11.7c1.3-1,2.7-2.1,3.6-2.7v6.4L18.4,11.7z M8.1,7.2h13.3c0.3,0,0.5,0.2,0.6,0.5c-1,0.8-5.4,4.2-7,5.4\n\t\tc-0.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) {
|
|
@@ -3268,7 +3280,7 @@ var InputValidationType;
|
|
|
3268
3280
|
})(InputValidationType || (InputValidationType = {}));
|
|
3269
3281
|
|
|
3270
3282
|
var Section = newStyled.div(templateObject_1$$ || (templateObject_1$$ = __makeTemplateObject(["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"], ["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"])), function (props) {
|
|
3271
|
-
return props.type === CardSectionType.Header ? '
|
|
3283
|
+
return props.type === CardSectionType.Header ? '1.5rem 1.5rem 0' : '0 1.5rem 1.5rem';
|
|
3272
3284
|
});
|
|
3273
3285
|
var CardHeader = function (_a) {
|
|
3274
3286
|
var children = _a.children;
|
|
@@ -3469,9 +3481,9 @@ function jsxs(type, props, key) {
|
|
|
3469
3481
|
}
|
|
3470
3482
|
|
|
3471
3483
|
var BaseButton = function (_a) {
|
|
3472
|
-
var children = _a.children, renderLeading = _a.renderLeading, renderTrailing = _a.renderTrailing, disabled = _a.disabled, _b = _a.type, type = _b === void 0 ? 'button' : _b, onClick = _a.onClick, className = _a.className;
|
|
3484
|
+
var children = _a.children, renderLeading = _a.renderLeading, renderTrailing = _a.renderTrailing, disabled = _a.disabled, _b = _a.type, type = _b === void 0 ? 'button' : _b, onClick = _a.onClick, className = _a.className, inline = _a.inline;
|
|
3473
3485
|
return (jsxs("button", __assign({ onClick: onClick, disabled: disabled, className: className, type: type, css: {
|
|
3474
|
-
display: 'flex',
|
|
3486
|
+
display: inline ? 'inherit-flex' : 'flex',
|
|
3475
3487
|
justifyContent: 'center',
|
|
3476
3488
|
alignItems: 'center',
|
|
3477
3489
|
padding: '0.75rem 2rem',
|
|
@@ -3509,7 +3521,7 @@ var BaseCTA = function (_a) {
|
|
|
3509
3521
|
var text = _a.text, onClick = _a.onClick, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.wide, wide = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? ComponentSize.Medium : _d, type = _a.type, className = _a.className;
|
|
3510
3522
|
var theme = useTheme();
|
|
3511
3523
|
var stylesBySize = getStylesBySize$9(size, theme);
|
|
3512
|
-
return (jsx(BaseButton, __assign({ onClick: onClick, disabled: disabled, className: className, type: type, css: __assign(__assign({ width: wide ? '100%' : '' }, stylesBySize), { fontWeight: theme.component.button.fontWeight, borderRadius: "".concat(theme.component.button.borderRadius), cursor: 'pointer', '&:disabled': {
|
|
3524
|
+
return (jsx(BaseButton, __assign({ onClick: onClick, disabled: disabled, className: className, type: type, css: __assign(__assign({ width: wide ? '100%' : 'fit-content' }, stylesBySize), { fontWeight: theme.component.button.fontWeight, borderRadius: "".concat(theme.component.button.borderRadius), cursor: 'pointer', '&:disabled': {
|
|
3513
3525
|
backgroundColor: theme.colors.background.disabled,
|
|
3514
3526
|
color: theme.colors.text.disabled,
|
|
3515
3527
|
cursor: 'not-allowed',
|
|
@@ -6378,6 +6390,15 @@ var DEFAULTS = {
|
|
|
6378
6390
|
heading3: {
|
|
6379
6391
|
weight: 'bold',
|
|
6380
6392
|
},
|
|
6393
|
+
heading4: {
|
|
6394
|
+
weight: 'bold',
|
|
6395
|
+
},
|
|
6396
|
+
heading5: {
|
|
6397
|
+
weight: 'bold',
|
|
6398
|
+
},
|
|
6399
|
+
heading6: {
|
|
6400
|
+
weight: 'bold',
|
|
6401
|
+
},
|
|
6381
6402
|
hero1: {
|
|
6382
6403
|
weight: 'heavy',
|
|
6383
6404
|
},
|
|
@@ -6405,6 +6426,17 @@ var DEFAULTS = {
|
|
|
6405
6426
|
size: 'regular',
|
|
6406
6427
|
weight: 'regular',
|
|
6407
6428
|
},
|
|
6429
|
+
label: {
|
|
6430
|
+
size: 'regular',
|
|
6431
|
+
weight: 'regular',
|
|
6432
|
+
},
|
|
6433
|
+
link: {
|
|
6434
|
+
size: 'regular',
|
|
6435
|
+
weight: 'regular',
|
|
6436
|
+
},
|
|
6437
|
+
pricing: {
|
|
6438
|
+
size: 'regular',
|
|
6439
|
+
},
|
|
6408
6440
|
};
|
|
6409
6441
|
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;
|
|
6410
6442
|
|