@trafilea/afrodita-components 5.0.0-beta.12 → 5.0.0-beta.120
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.css +3 -1
- package/build/index.d.ts +749 -67
- package/build/index.esm.css +3 -1
- package/build/index.esm.js +7000 -4179
- package/build/index.esm.js.map +1 -1
- package/build/index.js +7015 -4179
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +430 -0
- package/build/theme/revel.theme.js +745 -0
- package/build/theme/shapermint.theme.d.ts +14 -0
- package/build/theme/shapermint.theme.js +22 -1
- package/build/theme/truekind.theme.d.ts +14 -0
- package/build/theme/truekind.theme.js +13 -0
- package/package.json +3 -1
|
@@ -138,6 +138,12 @@ declare type ThemeComponent = {
|
|
|
138
138
|
lineHeight: string;
|
|
139
139
|
border: string;
|
|
140
140
|
boxShadow: string;
|
|
141
|
+
errorBorder: string;
|
|
142
|
+
};
|
|
143
|
+
inputPlaceholder: {
|
|
144
|
+
fontSize: string;
|
|
145
|
+
padding: string;
|
|
146
|
+
focusBorder: string;
|
|
141
147
|
};
|
|
142
148
|
inputCustom: {
|
|
143
149
|
button: {
|
|
@@ -381,6 +387,13 @@ declare type ThemeComponent = {
|
|
|
381
387
|
selectedContrast: string;
|
|
382
388
|
tagColor: string;
|
|
383
389
|
};
|
|
390
|
+
slideNavigation: {
|
|
391
|
+
slideDots: {
|
|
392
|
+
unselectedDotColor: string;
|
|
393
|
+
selectedDotColor: string;
|
|
394
|
+
dotsOpacity: number;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
384
397
|
};
|
|
385
398
|
declare type ThemeTypography = {
|
|
386
399
|
config: {
|
|
@@ -407,6 +420,7 @@ declare type ThemeAssets = {
|
|
|
407
420
|
images: {
|
|
408
421
|
favicon: string;
|
|
409
422
|
logo: string;
|
|
423
|
+
logoMobile?: string;
|
|
410
424
|
};
|
|
411
425
|
[key: string]: any;
|
|
412
426
|
};
|
|
@@ -120,6 +120,14 @@ var shapermint = {
|
|
|
120
120
|
contrast: '--colors-shades-700-color',
|
|
121
121
|
},
|
|
122
122
|
} }),
|
|
123
|
+
wine: {
|
|
124
|
+
color: '#882A2B',
|
|
125
|
+
contrast: '--colors-shades-white-color',
|
|
126
|
+
soft: {
|
|
127
|
+
color: '#DBBFBF',
|
|
128
|
+
contrast: '--colors-text-color',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
123
131
|
creamy: {
|
|
124
132
|
color: '#FFE9D8',
|
|
125
133
|
contrast: '--colors-text-color',
|
|
@@ -234,6 +242,12 @@ var shapermint = {
|
|
|
234
242
|
lineHeight: '1.5rem',
|
|
235
243
|
border: '0.063rem solid var(--colors-shades-200-color)',
|
|
236
244
|
boxShadow: 'none',
|
|
245
|
+
errorBorder: '0.09375rem solid #d3373c',
|
|
246
|
+
},
|
|
247
|
+
inputPlaceholder: {
|
|
248
|
+
fontSize: '0.875rem',
|
|
249
|
+
padding: '1.125rem 0.9375rem 0 0.9375rem',
|
|
250
|
+
focusBorder: '0.09375rem solid #1990c6',
|
|
237
251
|
},
|
|
238
252
|
inputCustom: {
|
|
239
253
|
button: {
|
|
@@ -477,6 +491,13 @@ var shapermint = {
|
|
|
477
491
|
selectedContrast: '--colors-semantic-positive-contrast',
|
|
478
492
|
tagColor: '--colors-semantic-attention-color',
|
|
479
493
|
},
|
|
494
|
+
slideNavigation: {
|
|
495
|
+
slideDots: {
|
|
496
|
+
unselectedDotColor: '--colors-shades-700-color',
|
|
497
|
+
selectedDotColor: '--colors-shades-white-color',
|
|
498
|
+
dotsOpacity: 0.6,
|
|
499
|
+
},
|
|
500
|
+
},
|
|
480
501
|
},
|
|
481
502
|
typography: {
|
|
482
503
|
config: {
|
|
@@ -687,7 +708,7 @@ var shapermint = {
|
|
|
687
708
|
assets: {
|
|
688
709
|
images: {
|
|
689
710
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
690
|
-
logo: 'https://cdn.jsdelivr.net/gh/
|
|
711
|
+
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
691
712
|
},
|
|
692
713
|
},
|
|
693
714
|
};
|
|
@@ -138,6 +138,12 @@ declare type ThemeComponent = {
|
|
|
138
138
|
lineHeight: string;
|
|
139
139
|
border: string;
|
|
140
140
|
boxShadow: string;
|
|
141
|
+
errorBorder: string;
|
|
142
|
+
};
|
|
143
|
+
inputPlaceholder: {
|
|
144
|
+
fontSize: string;
|
|
145
|
+
padding: string;
|
|
146
|
+
focusBorder: string;
|
|
141
147
|
};
|
|
142
148
|
inputCustom: {
|
|
143
149
|
button: {
|
|
@@ -381,6 +387,13 @@ declare type ThemeComponent = {
|
|
|
381
387
|
selectedContrast: string;
|
|
382
388
|
tagColor: string;
|
|
383
389
|
};
|
|
390
|
+
slideNavigation: {
|
|
391
|
+
slideDots: {
|
|
392
|
+
unselectedDotColor: string;
|
|
393
|
+
selectedDotColor: string;
|
|
394
|
+
dotsOpacity: number;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
384
397
|
};
|
|
385
398
|
declare type ThemeTypography = {
|
|
386
399
|
config: {
|
|
@@ -407,6 +420,7 @@ declare type ThemeAssets = {
|
|
|
407
420
|
images: {
|
|
408
421
|
favicon: string;
|
|
409
422
|
logo: string;
|
|
423
|
+
logoMobile?: string;
|
|
410
424
|
};
|
|
411
425
|
[key: string]: any;
|
|
412
426
|
};
|
|
@@ -315,6 +315,12 @@ var truekind = {
|
|
|
315
315
|
lineHeight: '1.5rem',
|
|
316
316
|
border: '0.063rem solid #BBBBBB',
|
|
317
317
|
boxShadow: '0 0 0 0.25rem #D9EEFF',
|
|
318
|
+
errorBorder: '0.09375rem solid #d3373c',
|
|
319
|
+
},
|
|
320
|
+
inputPlaceholder: {
|
|
321
|
+
fontSize: '0.875rem',
|
|
322
|
+
padding: '1.125rem 0.9375rem 0 0.9375rem',
|
|
323
|
+
focusBorder: '0.09375rem solid #1990c6',
|
|
318
324
|
},
|
|
319
325
|
inputCustom: {
|
|
320
326
|
button: {
|
|
@@ -558,6 +564,13 @@ var truekind = {
|
|
|
558
564
|
selectedContrast: '--colors-semantic-positive-contrast',
|
|
559
565
|
tagColor: '--colors-semantic-attention-color',
|
|
560
566
|
},
|
|
567
|
+
slideNavigation: {
|
|
568
|
+
slideDots: {
|
|
569
|
+
unselectedDotColor: '--colors-shades-700-color:',
|
|
570
|
+
selectedDotColor: '--colors-shades-white-color',
|
|
571
|
+
dotsOpacity: 0.6,
|
|
572
|
+
},
|
|
573
|
+
},
|
|
561
574
|
},
|
|
562
575
|
fonts: {
|
|
563
576
|
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/truekind',
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Trafilea's Design System",
|
|
4
4
|
"author": "Trafilea",
|
|
5
5
|
"repository": "https://github.com/trafilea/afrodita-components",
|
|
6
|
-
"version": "5.0.0-beta.
|
|
6
|
+
"version": "5.0.0-beta.120",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"@ribeirolabs/events": "3.0.0",
|
|
21
21
|
"facepaint": "^1.2.1",
|
|
22
22
|
"html-react-parser": "1.4.8",
|
|
23
|
+
"react-inner-image-zoom": "^3.0.0",
|
|
23
24
|
"react-swipeable": "6.2.0",
|
|
24
25
|
"typescript": "^4.3.5"
|
|
25
26
|
},
|
|
@@ -85,6 +86,7 @@
|
|
|
85
86
|
"@types/node": "^12.20.17",
|
|
86
87
|
"@types/react": "^17.0.15",
|
|
87
88
|
"@types/react-dom": "^17.0.9",
|
|
89
|
+
"@types/react-inner-image-zoom": "^3.0.0",
|
|
88
90
|
"@types/react-slick": "^0.23.7",
|
|
89
91
|
"chromatic": "^5.9.2",
|
|
90
92
|
"eslint": "^7.31.0",
|