@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.
@@ -128,12 +128,12 @@ var shapermint = {
128
128
  },
129
129
  primary: {
130
130
  active: {
131
- backgroundColor: '--colors-pallete-ocean-color',
132
- color: '--colors-pallete-ocean-contrast',
131
+ backgroundColor: '--colors-pallete-primary-color',
132
+ color: '--colors-pallete-primary-contrast',
133
133
  },
134
134
  hover: {
135
- backgroundColor: '--colors-pallete-ocean-soft-color',
136
- color: '--colors-pallete-ocean-soft-contrast',
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/shapermint',
480
+ url: 'https://cdn.jsdelivr.net/gh/igor-ribeiro/storefront-static@main/fonts/truekind',
481
481
  config: [
482
482
  {
483
- family: 'AvenirNextLTPro',
484
- src: 'AvenirNextLTPro-Regular.otf',
483
+ family: 'CircularXX',
484
+ src: 'CircularXX-Regular.otf',
485
485
  weight: 'normal',
486
486
  },
487
487
  {
488
- family: 'AvenirNextLTPro',
489
- src: 'AvenirNextLTPro-Demi.otf',
490
- weight: 'bold',
488
+ family: 'CircularXX',
489
+ src: 'CircularXX-RegularItalic.otf',
490
+ weight: 'normal',
491
+ style: 'italic',
491
492
  },
492
493
  {
493
- family: 'AvenirNextLTPro',
494
- src: 'AvenirNextLTPro-Bold.otf',
495
- weight: '800 900',
494
+ family: 'CircularXX',
495
+ src: 'CircularXX-Bold.otf',
496
+ weight: 'bold',
496
497
  },
497
498
  {
498
- family: 'AvenirNextLTPro',
499
- src: 'AvenirNextLTPro-DemiCn.otf',
499
+ family: 'CircularXX',
500
+ src: 'CircularXX-BoldItalic.otf',
500
501
  weight: 'bold',
501
- stretch: 'condensed',
502
+ style: 'italic',
502
503
  },
503
504
  {
504
- family: 'AvenirNextLTPro',
505
- src: 'AvenirNextLTPro-DemiCnIt.otf',
506
- weight: 'bold',
507
- stretch: 'condensed',
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: 'AvenirNextLTPro',
512
- src: 'AvenirNextLTPro-DemiIt.otf',
513
- weight: 'bold',
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: 'AvenirNextLTPro',
518
- src: 'AvenirNextLTPro-MediumCn.otf',
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: 'AvenirNextLTPro',
524
- src: 'AvenirNextLTPro-MediumCnIt.otf',
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: 'AvenirNextLTPro',
531
- src: 'AvenirNextLTPro-UltLtCn.otf',
532
- weight: 200,
566
+ family: 'CircularXX',
567
+ src: 'CircularXX-BoldItalic.otf',
568
+ weight: 700,
533
569
  stretch: 'condensed',
570
+ style: 'italic',
534
571
  },
535
572
  {
536
- family: 'AvenirNextLTPro',
537
- src: 'AvenirNextLTPro-UltLtCnIt.otf',
538
- weight: 200,
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: 'AvenirNextLTPro',
544
- src: 'AvenirNextLTPro-HeavyCn.otf',
586
+ family: 'CircularXX',
587
+ src: 'CircularXX-ExtraBlack.otf',
545
588
  weight: 900,
546
589
  stretch: 'condensed',
547
590
  },
548
591
  {
549
- family: 'AvenirNextLTPro',
550
- src: 'AvenirNextLTPro-HeavyCnIt.otf',
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.0-beta.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 prepatch --preid=beta",
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.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.3.12",
69
- "@storybook/addon-essentials": "6.3.12",
70
- "@storybook/addon-links": "6.3.12",
71
- "@storybook/node-logger": "6.3.12",
72
- "@storybook/preset-create-react-app": "^3.2.0",
73
- "@storybook/react": "6.3.12",
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": "4.0.3",
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;