@webitel/styleguide 24.12.42 → 24.12.44

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/styleguide",
3
- "version": "24.12.42",
3
+ "version": "24.12.44",
4
4
  "main": "",
5
5
  "exports": {
6
6
  ".": "./src/lib/main.scss",
@@ -0,0 +1,21 @@
1
+ export default {
2
+ root: {
3
+ background: '{content.border.color}',
4
+ color: '{content.color}',
5
+ },
6
+ letters: {
7
+ 'p1-color': '{red.300}',
8
+ 'p2-color': '{red.300}',
9
+ 'p3-color': '{red.300}',
10
+ 'p4-color': '{red.300}',
11
+ 'p5-color': '{red.300}',
12
+ 'p6-color': '{red.300}',
13
+ 'p7-color': '{red.300}',
14
+ 'p8-color': '{red.300}',
15
+ 'p9-color': '{red.300}',
16
+ 'p10-color': '{red.300}',
17
+ 'p11-color': '{red.300}',
18
+ 'p12-color': '{red.300}',
19
+ 'p13-color': '{red.300}',
20
+ }
21
+ }
@@ -0,0 +1,9 @@
1
+ import darkColors from './dark';
2
+ import lightColors from './light';
3
+
4
+ const colorScheme = {
5
+ light: lightColors,
6
+ dark: darkColors
7
+ }
8
+
9
+ export default colorScheme;
@@ -0,0 +1,21 @@
1
+ export default {
2
+ root: {
3
+ background: '{content.border.color}',
4
+ color: '{content.color}',
5
+ },
6
+ letters: {
7
+ 'p1-color': '{blue.300}',
8
+ 'p2-color': '{blue.300}',
9
+ 'p3-color': '{blue.300}',
10
+ 'p4-color': '{blue.300}',
11
+ 'p5-color': '{blue.300}',
12
+ 'p6-color': '{blue.300}',
13
+ 'p7-color': '{blue.300}',
14
+ 'p8-color': '{blue.300}',
15
+ 'p9-color': '{blue.300}',
16
+ 'p10-color': '{blue.300}',
17
+ 'p11-color': '{blue.300}',
18
+ 'p12-color': '{blue.300}',
19
+ 'p13-color': '{blue.300}',
20
+ }
21
+ }
@@ -0,0 +1,10 @@
1
+ import colorScheme from './colors';
2
+ import sizes from './sizes';
3
+
4
+ const AvatarScheme = {
5
+ colorScheme,
6
+ sizes,
7
+ }
8
+
9
+ export default AvatarScheme
10
+
@@ -0,0 +1,44 @@
1
+ const sizes = {
2
+ width: '2rem',
3
+ height: '2rem',
4
+ fontSize: '1rem',
5
+ borderRadius: '{content.border.radius}',
6
+
7
+ xs: {
8
+ width: '1rem',
9
+ height: '1rem',
10
+ fontSize: '0.5rem',
11
+ },
12
+ sm: {
13
+ width: '1.5rem',
14
+ height: '1.5rem',
15
+ fontSize: '0.75rem',
16
+ },
17
+ md: {
18
+ width: '2rem',
19
+ height: '2rem',
20
+ fontSize: '1rem',
21
+ },
22
+ lg: {
23
+ width: '3rem',
24
+ height: '3rem',
25
+ fontSize: '1.5rem',
26
+ },
27
+ xl: {
28
+ width: '4rem',
29
+ height: '4rem',
30
+ fontSize: '2rem',
31
+ },
32
+ '2xl': {
33
+ width: '5rem',
34
+ height: '5rem',
35
+ fontSize: '2.5rem',
36
+ },
37
+ '3xl': {
38
+ width: '6rem',
39
+ height: '6rem',
40
+ fontSize: '3rem',
41
+ },
42
+ };
43
+
44
+ export default sizes
@@ -1,9 +1,15 @@
1
+ import AvatarScheme from "./avatar";
1
2
  import ButtonScheme from './button';
2
3
  import PopoverScheme from './popover';
3
4
  import TooltipScheme from './tooltip';
5
+ import MenubarScheme from './menubar';
6
+ import ToolbarScheme from './toolbar';
4
7
 
5
8
  export {
9
+ AvatarScheme,
6
10
  ButtonScheme,
7
11
  PopoverScheme,
8
12
  TooltipScheme,
13
+ MenubarScheme,
14
+ ToolbarScheme,
9
15
  }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ background: '{content.background}',
3
+ borderColor: '{content.border.color}',
4
+ color: '{content.color}',
5
+ transitionDuration: '{transition.duration}'
6
+ }
@@ -0,0 +1,9 @@
1
+ import darkColors from './dark';
2
+ import lightColors from './light';
3
+
4
+ const colorScheme = {
5
+ light: lightColors,
6
+ dark: darkColors
7
+ }
8
+
9
+ export default colorScheme;
@@ -0,0 +1,6 @@
1
+ export default {
2
+ background: '{content.background}',
3
+ borderColor: '{content.border.color}',
4
+ color: '{content.color}',
5
+ transitionDuration: '{transition.duration}'
6
+ }
@@ -0,0 +1,10 @@
1
+ import colorScheme from './colors';
2
+ import sizes from './sizes';
3
+
4
+ const MenubarScheme = {
5
+ colorScheme,
6
+ sizes,
7
+ }
8
+
9
+ export default MenubarScheme
10
+
@@ -0,0 +1,7 @@
1
+ const sizes = {
2
+ gap: '0.5rem',
3
+ padding: '0.5rem 0.75rem',
4
+ borderRadius: '{content.border.radius}',
5
+ };
6
+
7
+ export default sizes
@@ -0,0 +1,6 @@
1
+ export default {
2
+ background: '{content.background}',
3
+ borderColor: '{content.border.color}',
4
+ color: '{content.color}',
5
+ transitionDuration: '{transition.duration}'
6
+ }
@@ -0,0 +1,9 @@
1
+ import darkColors from './dark';
2
+ import lightColors from './light';
3
+
4
+ const colorScheme = {
5
+ light: lightColors,
6
+ dark: darkColors
7
+ }
8
+
9
+ export default colorScheme;
@@ -0,0 +1,6 @@
1
+ export default {
2
+ background: '{content.background}',
3
+ borderColor: '{content.border.color}',
4
+ color: '{content.color}',
5
+ transitionDuration: '{transition.duration}'
6
+ }
@@ -0,0 +1,10 @@
1
+ import colorScheme from './colors';
2
+ import sizes from './sizes';
3
+
4
+ const ToolbarScheme = {
5
+ colorScheme,
6
+ sizes,
7
+ }
8
+
9
+ export default ToolbarScheme
10
+
@@ -0,0 +1,7 @@
1
+ const sizes = {
2
+ gap: '0.5rem',
3
+ padding: '0.75rem',
4
+ borderRadius: '{content.border.radius}',
5
+ };
6
+
7
+ export default sizes
@@ -1,8 +1,8 @@
1
1
  const sizes = {
2
2
  maxWidth: '12.5rem',
3
- gutter: '0.5rem',
3
+ gutter: '0.25rem',
4
4
  padding: '0.5rem 0.75rem',
5
- borderRadius: '0.5rem',
5
+ borderRadius: '{overlay.popover.border.radius}',
6
6
  shadow: '{shadow.xs}',
7
7
  };
8
8
 
@@ -36,10 +36,10 @@ const darkColor = {
36
36
  },
37
37
 
38
38
  info: {
39
- color: '{light_blue.500}',
40
- hover: '{light_blue.450}',
41
- active: '{light_blue.400}',
42
- foreground: '{light_blue.950}'
39
+ color: '{light-blue.500}',
40
+ hover: '{light-blue.450}',
41
+ active: '{light-blue.400}',
42
+ foreground: '{light-blue.950}'
43
43
  },
44
44
 
45
45
  task: {
@@ -36,10 +36,10 @@ const lightColor = {
36
36
  },
37
37
 
38
38
  info: {
39
- color: '{light_blue.500}',
40
- hover: '{light_blue.450}',
41
- active: '{light_blue.400}',
42
- foreground: '{light_blue.50}'
39
+ color: '{light-blue.500}',
40
+ hover: '{light-blue.450}',
41
+ active: '{light-blue.400}',
42
+ foreground: '{light-blue.50}'
43
43
  },
44
44
 
45
45
  task: {
@@ -42,7 +42,7 @@ const palette = {
42
42
  '900': 'hsla(0, 75%, 10%, 1)',
43
43
  '950': 'hsla(0, 75%, 6%, 1)'
44
44
  },
45
- deep_orange: {
45
+ 'deep-orange': {
46
46
  '50': 'hsla(11, 75%, 95%, 1)',
47
47
  '100': 'hsla(11, 75%, 90%, 1)',
48
48
  '150': 'hsla(11, 75%, 85%, 1)',
@@ -147,7 +147,7 @@ const palette = {
147
147
  '900': 'hsla(66, 65%, 10%, 1)',
148
148
  '950': 'hsla(66, 65%, 6%, 1)'
149
149
  },
150
- light_green: {
150
+ 'light-green': {
151
151
  '50': 'hsla(88, 65%, 95%, 1)',
152
152
  '100': 'hsla(88, 65%, 90%, 1)',
153
153
  '150': 'hsla(88, 65%, 85%, 1)',
@@ -231,7 +231,7 @@ const palette = {
231
231
  '900': 'hsla(188, 75%, 10%, 1)',
232
232
  '950': 'hsla(188, 75%, 6%, 1)'
233
233
  },
234
- light_blue: {
234
+ 'light-blue': {
235
235
  '50': 'hsla(200, 85%, 95%, 1)',
236
236
  '100': 'hsla(200, 85%, 90%, 1)',
237
237
  '150': 'hsla(200, 85%, 85%, 1)',
@@ -294,7 +294,7 @@ const palette = {
294
294
  '900': 'hsla(235, 80%, 10%, 1)',
295
295
  '950': 'hsla(235, 80%, 6%, 1)'
296
296
  },
297
- deep_purple: {
297
+ 'deep-purple': {
298
298
  '50': 'hsla(271, 65%, 95%, 1)',
299
299
  '100': 'hsla(271, 65%, 90%, 1)',
300
300
  '150': 'hsla(271, 65%, 85%, 1)',