@trafilea/afrodita-components 4.0.0-beta.0 → 4.0.2-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/dts/components/Demo.stories.d.ts +7 -0
- package/build/dts/components/accordion/styles.d.ts +9 -9
- package/build/dts/components/checkbox/styles.d.ts +6 -6
- package/build/dts/components/color/ColorRadioGroup.d.ts +2 -1
- package/build/dts/components/color/SingleColorPicker.d.ts +2 -2
- package/build/dts/components/color/SingleColorPicker.stories.d.ts +2 -2
- package/build/dts/components/index.d.ts +1 -2
- package/build/dts/components/radio/input/styles.d.ts +8 -8
- package/build/dts/components/rating/starList/styles.d.ts +5 -5
- package/build/dts/components/rating/styles.d.ts +5 -5
- package/build/dts/components/shared/label/styles.d.ts +6 -6
- package/build/dts/components/size/selector/SizeSelector.d.ts +3 -1
- package/build/dts/components/size/selector/SizeSelector.stories.d.ts +2 -1
- package/build/dts/components/text/Text.d.ts +1 -1
- package/build/dts/core/theme/Theme.d.ts +1 -1
- package/build/dts/index.d.ts +1 -0
- package/build/index.d.ts +391 -8
- package/build/index.esm.js +3083 -3308
- package/build/index.esm.js.map +1 -1
- package/build/index.js +3142 -3366
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.js +4 -4
- package/build/theme/truekind.theme.js +78 -35
- package/package.json +15 -11
- package/build/dts/test/test-utils.d.ts +0 -8
|
@@ -128,12 +128,12 @@ var shapermint = {
|
|
|
128
128
|
},
|
|
129
129
|
primary: {
|
|
130
130
|
active: {
|
|
131
|
-
backgroundColor: '--colors-pallete-
|
|
132
|
-
color: '--colors-pallete-
|
|
131
|
+
backgroundColor: '--colors-pallete-primary-color',
|
|
132
|
+
color: '--colors-pallete-primary-contrast',
|
|
133
133
|
},
|
|
134
134
|
hover: {
|
|
135
|
-
backgroundColor: '--colors-pallete-
|
|
136
|
-
color: '--colors-pallete-
|
|
135
|
+
backgroundColor: '--colors-pallete-primary-soft-color',
|
|
136
|
+
color: '--colors-pallete-primary-soft-contrast',
|
|
137
137
|
},
|
|
138
138
|
},
|
|
139
139
|
secondary: {
|
|
@@ -477,80 +477,123 @@ var truekind = {
|
|
|
477
477
|
},
|
|
478
478
|
},
|
|
479
479
|
fonts: {
|
|
480
|
-
url: 'https://cdn.jsdelivr.net/gh/igor-ribeiro/storefront-static@main/fonts/
|
|
480
|
+
url: 'https://cdn.jsdelivr.net/gh/igor-ribeiro/storefront-static@main/fonts/truekind',
|
|
481
481
|
config: [
|
|
482
482
|
{
|
|
483
|
-
family: '
|
|
484
|
-
src: '
|
|
483
|
+
family: 'CircularXX',
|
|
484
|
+
src: 'CircularXX-Regular.otf',
|
|
485
485
|
weight: 'normal',
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
|
-
family: '
|
|
489
|
-
src: '
|
|
490
|
-
weight: '
|
|
488
|
+
family: 'CircularXX',
|
|
489
|
+
src: 'CircularXX-RegularItalic.otf',
|
|
490
|
+
weight: 'normal',
|
|
491
|
+
style: 'italic',
|
|
491
492
|
},
|
|
492
493
|
{
|
|
493
|
-
family: '
|
|
494
|
-
src: '
|
|
495
|
-
weight: '
|
|
494
|
+
family: 'CircularXX',
|
|
495
|
+
src: 'CircularXX-Bold.otf',
|
|
496
|
+
weight: 'bold',
|
|
496
497
|
},
|
|
497
498
|
{
|
|
498
|
-
family: '
|
|
499
|
-
src: '
|
|
499
|
+
family: 'CircularXX',
|
|
500
|
+
src: 'CircularXX-BoldItalic.otf',
|
|
500
501
|
weight: 'bold',
|
|
501
|
-
|
|
502
|
+
style: 'italic',
|
|
502
503
|
},
|
|
503
504
|
{
|
|
504
|
-
family: '
|
|
505
|
-
src: '
|
|
506
|
-
weight:
|
|
507
|
-
|
|
505
|
+
family: 'CircularXX',
|
|
506
|
+
src: 'CircularXX-Thin.otf',
|
|
507
|
+
weight: 100,
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
family: 'CircularXX',
|
|
511
|
+
src: 'CircularXX-ThinItalic.otf',
|
|
512
|
+
weight: 100,
|
|
508
513
|
style: 'italic',
|
|
509
514
|
},
|
|
510
515
|
{
|
|
511
|
-
family: '
|
|
512
|
-
src: '
|
|
513
|
-
weight:
|
|
516
|
+
family: 'CircularXX',
|
|
517
|
+
src: 'CircularXX-Light.otf',
|
|
518
|
+
weight: 200,
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
family: 'CircularXX',
|
|
522
|
+
src: 'CircularXX-LightItalic.otf',
|
|
523
|
+
weight: 200,
|
|
524
|
+
style: 'italic',
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
family: 'CircularXX',
|
|
528
|
+
src: 'CircularXX-Regular.otf',
|
|
529
|
+
weight: 300,
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
family: 'CircularXX',
|
|
533
|
+
src: 'CircularXX-RegularItalic.otf',
|
|
534
|
+
weight: 300,
|
|
514
535
|
style: 'italic',
|
|
515
536
|
},
|
|
516
537
|
{
|
|
517
|
-
family: '
|
|
518
|
-
src: '
|
|
538
|
+
family: 'CircularXX',
|
|
539
|
+
src: 'CircularXX-Book.otf',
|
|
540
|
+
weight: 400,
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
family: 'CircularXX',
|
|
544
|
+
src: 'CircularXX-BookItalic.otf',
|
|
545
|
+
weight: 400,
|
|
546
|
+
style: 'italic',
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
family: 'CircularXX',
|
|
550
|
+
src: 'CircularXX-Medium.otf',
|
|
519
551
|
weight: 500,
|
|
520
|
-
stretch: 'condensed',
|
|
521
552
|
},
|
|
522
553
|
{
|
|
523
|
-
family: '
|
|
524
|
-
src: '
|
|
554
|
+
family: 'CircularXX',
|
|
555
|
+
src: 'CircularXX-MediumItalic.otf',
|
|
525
556
|
weight: 500,
|
|
526
557
|
style: 'italic',
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
family: 'CircularXX',
|
|
561
|
+
src: 'CircularXX-Bold.otf',
|
|
562
|
+
weight: 700,
|
|
527
563
|
stretch: 'condensed',
|
|
528
564
|
},
|
|
529
565
|
{
|
|
530
|
-
family: '
|
|
531
|
-
src: '
|
|
532
|
-
weight:
|
|
566
|
+
family: 'CircularXX',
|
|
567
|
+
src: 'CircularXX-BoldItalic.otf',
|
|
568
|
+
weight: 700,
|
|
533
569
|
stretch: 'condensed',
|
|
570
|
+
style: 'italic',
|
|
534
571
|
},
|
|
535
572
|
{
|
|
536
|
-
family: '
|
|
537
|
-
src: '
|
|
538
|
-
weight:
|
|
573
|
+
family: 'CircularXX',
|
|
574
|
+
src: 'CircularXX-BlackItalic.otf',
|
|
575
|
+
weight: 800,
|
|
576
|
+
stretch: 'condensed',
|
|
539
577
|
style: 'italic',
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
family: 'CircularXX',
|
|
581
|
+
src: 'CircularXX-Black.otf',
|
|
582
|
+
weight: 800,
|
|
540
583
|
stretch: 'condensed',
|
|
541
584
|
},
|
|
542
585
|
{
|
|
543
|
-
family: '
|
|
544
|
-
src: '
|
|
586
|
+
family: 'CircularXX',
|
|
587
|
+
src: 'CircularXX-ExtraBlack.otf',
|
|
545
588
|
weight: 900,
|
|
546
589
|
stretch: 'condensed',
|
|
547
590
|
},
|
|
548
591
|
{
|
|
549
|
-
family: '
|
|
550
|
-
src: '
|
|
592
|
+
family: 'CircularXX',
|
|
593
|
+
src: 'CircularXX-ExtraBlackItalic.otf',
|
|
551
594
|
weight: 900,
|
|
552
|
-
style: 'italic',
|
|
553
595
|
stretch: 'condensed',
|
|
596
|
+
style: 'italic',
|
|
554
597
|
},
|
|
555
598
|
],
|
|
556
599
|
},
|
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": "4.0.
|
|
6
|
+
"version": "4.0.2-beta.0",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"storybook": "start-storybook -p 6006 -s public",
|
|
31
31
|
"build-storybook": "build-storybook",
|
|
32
32
|
"chromatic": "npx chromatic --storybook-build-dir .\\\\storybook-static\\",
|
|
33
|
-
"version:beta": "npm version
|
|
33
|
+
"version:beta": "npm version prerelease --preid=beta",
|
|
34
34
|
"ts-check": "tsc -p ."
|
|
35
35
|
},
|
|
36
36
|
"eslintConfig": {
|
|
@@ -62,15 +62,18 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@react-theming/storybook-addon": "1.1.
|
|
65
|
+
"@react-theming/storybook-addon": "1.1.5",
|
|
66
66
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
67
67
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
68
|
-
"@storybook/addon-actions": "6.
|
|
69
|
-
"@storybook/addon-essentials": "6.
|
|
70
|
-
"@storybook/addon-links": "6.
|
|
71
|
-
"@storybook/
|
|
72
|
-
"@storybook/
|
|
73
|
-
"@storybook/
|
|
68
|
+
"@storybook/addon-actions": "^6.0.0",
|
|
69
|
+
"@storybook/addon-essentials": "^6.0.0",
|
|
70
|
+
"@storybook/addon-links": "^6.0.0",
|
|
71
|
+
"@storybook/builder-webpack5": "^6.0.0",
|
|
72
|
+
"@storybook/manager-webpack5": "^6.0.0",
|
|
73
|
+
"@storybook/node-logger": "^6.0.0",
|
|
74
|
+
"@storybook/preset-create-react-app": "^4.0.0",
|
|
75
|
+
"@storybook/react": "^6.0.0",
|
|
76
|
+
"@testing-library/dom": "^8.11.3",
|
|
74
77
|
"@testing-library/jest-dom": "^5.14.1",
|
|
75
78
|
"@testing-library/react": "^11.2.7",
|
|
76
79
|
"@testing-library/user-event": "^12.8.3",
|
|
@@ -92,14 +95,15 @@
|
|
|
92
95
|
"prettier": "^2.3.2",
|
|
93
96
|
"react": "^17.0.2",
|
|
94
97
|
"react-dom": "^17.0.2",
|
|
95
|
-
"react-scripts": "
|
|
98
|
+
"react-scripts": "^5.0.0",
|
|
96
99
|
"rollup": "^2.55.1",
|
|
97
100
|
"rollup-plugin-delete": "^2.0.0",
|
|
98
101
|
"rollup-plugin-dts": "^3.0.2",
|
|
99
102
|
"rollup-plugin-import-css": "^3.0.2",
|
|
100
103
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
101
104
|
"rollup-plugin-typescript2": "^0.30.0",
|
|
102
|
-
"tslib": "^2.2.0"
|
|
105
|
+
"tslib": "^2.2.0",
|
|
106
|
+
"webpack": "^5.68.0"
|
|
103
107
|
},
|
|
104
108
|
"peerDependencies": {
|
|
105
109
|
"react": "^17.0.2",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { RenderOptions } from '@testing-library/react';
|
|
3
|
-
export declare const theme: import("../core/theme/Theme").Theme;
|
|
4
|
-
declare const customRender: (ui: ReactElement, options?: Omit<RenderOptions<typeof import("@testing-library/dom/types/queries"), HTMLElement>, "wrapper"> | undefined) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement>;
|
|
5
|
-
export * from '@testing-library/react';
|
|
6
|
-
export { customRender as render };
|
|
7
|
-
declare type Breakpoint = 'mobile' | 'desktop';
|
|
8
|
-
export declare const resizeMediaQuery: (breakpoint: Breakpoint) => void;
|