@design-system-rte/core 0.1.0 → 0.1.1

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/dist/index.d.ts CHANGED
@@ -1,12 +1,16 @@
1
+ export declare type ButtonIconPosition = 'left' | 'right';
2
+
1
3
  export declare interface ButtonProps {
2
4
  label: string;
3
- type?: ButtonType;
5
+ variant?: ButtonVariant;
4
6
  size?: ButtonSize;
5
7
  disabled?: boolean;
8
+ icon?: string;
9
+ iconPosition?: ButtonIconPosition;
6
10
  }
7
11
 
8
12
  export declare type ButtonSize = 's' | 'm' | 'l';
9
13
 
10
- export declare type ButtonType = 'filled' | 'outlined' | 'text' | 'transparent' | 'danger';
14
+ export declare type ButtonVariant = 'filled' | 'outlined' | 'text' | 'transparent' | 'danger';
11
15
 
12
16
  export { }
@@ -1,3 +1,27 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
1
+ @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:wght,FILL,GRAD@400,0,0&display=swap");
2
+ @font-face {
3
+ font-family: "Nunito";
4
+ src: url("../../assets/fonts/Nunito-Light.woff2") format("woff2");
5
+ font-weight: 300;
6
+ font-style: normal;
7
+ }
8
+ @font-face {
9
+ font-family: "Nunito";
10
+ src: url("../../assets/fonts/Nunito-Regular.woff2") format("woff2");
11
+ font-weight: 400;
12
+ font-style: normal;
13
+ }
14
+ @font-face {
15
+ font-family: "Nunito";
16
+ src: url("../../assets/fonts/Nunito-SemiBold.woff2") format("woff2");
17
+ font-weight: 600;
18
+ font-style: normal;
19
+ }
20
+ @font-face {
21
+ font-family: "Nunito";
22
+ src: url("../../assets/fonts/Nunito-Bold.woff2") format("woff2");
23
+ font-weight: 700;
24
+ font-style: normal;
25
+ }
2
26
 
3
27
  /*# sourceMappingURL=main.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../tokens/main.scss"],"names":[],"mappings":"AAMQ","file":"main.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../tokens/main.scss","../../tokens/primitives/_typography.scss"],"names":[],"mappings":"AAOQ;ACLR;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA","file":"main.css"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-system-rte/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "style": "dist/styles/main.css",
@@ -0,0 +1,14 @@
1
+ $breakpoints-xxs: 320px;
2
+ $breakpoints-xs: 480px;
3
+ $breakpoints-s: 768px;
4
+ $breakpoints-m: 1024px;
5
+ $breakpoints-l: 1440px;
6
+ $breakpoints-xl: 1768px;
7
+ $column-number-xs: 1px;
8
+ $column-number-s: 2px;
9
+ $column-number-m: 6px;
10
+ $column-number-l: 12px;
11
+ $panel-width-xs: 56px;
12
+ $panel-width-s: 320px;
13
+ $panel-width-m: 400px;
14
+ $panel-width-l: 504px;
@@ -0,0 +1,12 @@
1
+ $opacity-0: 0;
2
+ $opacity-5: 5;
3
+ $opacity-10: 10;
4
+ $opacity-20: 20;
5
+ $opacity-30: 30;
6
+ $opacity-40: 40;
7
+ $opacity-50: 50;
8
+ $opacity-60: 60;
9
+ $opacity-70: 70;
10
+ $opacity-80: 80;
11
+ $opacity-90: 90;
12
+ $opacity-100: 100;
@@ -1,11 +1,12 @@
1
+ $radius-none: 0px;
1
2
  $radius-xs: 2px;
2
3
  $radius-s: 4px;
3
4
  $radius-m: 8px;
4
- $radius-l: 16px;
5
+ $radius-l: 12px;
6
+ $radius-xl: 16px;
5
7
  $radius-2xl: 32px;
6
8
  $radius-pill: 999px;
7
9
  $width-xs: 1px;
8
- $width-s: 1.5px;
9
- $width-m: 2px;
10
- $width-l: 4px;
11
- $width-xl: 8px;
10
+ $width-s: 2px;
11
+ $width-m: 4px;
12
+ $width-l: 8px;