@webitel/styleguide 24.12.43 → 24.12.45

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.
Files changed (23) hide show
  1. package/package.json +1 -1
  2. package/src/lib/primevue/components/avatar/colors/dark/index.ts +21 -0
  3. package/src/lib/primevue/components/avatar/colors/index.ts +9 -0
  4. package/src/lib/primevue/components/avatar/colors/light/index.ts +21 -0
  5. package/src/lib/primevue/components/avatar/index.ts +10 -0
  6. package/src/lib/primevue/components/avatar/sizes/index.ts +44 -0
  7. package/src/lib/primevue/components/checkbox/colors/dark/index.ts +31 -0
  8. package/src/lib/primevue/components/checkbox/colors/index.ts +9 -0
  9. package/src/lib/primevue/components/checkbox/colors/light/index.ts +31 -0
  10. package/src/lib/primevue/components/checkbox/index.ts +9 -0
  11. package/src/lib/primevue/components/checkbox/sizes/index.ts +31 -0
  12. package/src/lib/primevue/components/index.ts +8 -0
  13. package/src/lib/primevue/components/menubar/colors/dark/index.ts +6 -0
  14. package/src/lib/primevue/components/menubar/colors/index.ts +9 -0
  15. package/src/lib/primevue/components/menubar/colors/light/index.ts +6 -0
  16. package/src/lib/primevue/components/menubar/index.ts +10 -0
  17. package/src/lib/primevue/components/menubar/sizes/index.ts +7 -0
  18. package/src/lib/primevue/components/toolbar/colors/dark/index.ts +6 -0
  19. package/src/lib/primevue/components/toolbar/colors/index.ts +9 -0
  20. package/src/lib/primevue/components/toolbar/colors/light/index.ts +6 -0
  21. package/src/lib/primevue/components/toolbar/index.ts +10 -0
  22. package/src/lib/primevue/components/toolbar/sizes/index.ts +7 -0
  23. package/src/lib/primevue/components/tooltip/sizes/index.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/styleguide",
3
- "version": "24.12.43",
3
+ "version": "24.12.45",
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
@@ -0,0 +1,31 @@
1
+ const darkColors = {
2
+ root: {
3
+ background: '{form.field.background}',
4
+ checkedBackground: '{primary.color}',
5
+ checkedHoverBackground: '{primary.hover.color}',
6
+ disabledBackground: '{form.field.disabled.background}',
7
+ filledBackground: '{form.field.filled.background}',
8
+ borderColor: '{form.field.border.color}',
9
+ hoverBorderColor: '{form.field.hover.border.color}',
10
+ focusBorderColor: '{form.field.border.color}',
11
+ checkedBorderColor: '{primary.color}',
12
+ checkedHoverBorderColor: '{primary.hover.color}',
13
+ checkedFocusBorderColor: '{primary.color}',
14
+ checkedDisabledBorderColor: '{form.field.border.color}',
15
+ invalidBorderColor: '{form.field.invalid.border.color}',
16
+ shadow: '{form.field.shadow}',
17
+ focusRing: {
18
+ color: '{focus.ring.color}',
19
+ shadow: '{focus.ring.shadow}'
20
+ },
21
+ transitionDuration: '{form.field.transition.duration}',
22
+ },
23
+ icon: {
24
+ color: '{form.field.color}',
25
+ checkedColor: '{primary.contrast.color}',
26
+ checkedHoverColor: '{primary.contrast.color}',
27
+ disabledColor: '{form.field.disabled.color}',
28
+ }
29
+ }
30
+
31
+ export default darkColors
@@ -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,31 @@
1
+ const lightColors = {
2
+ root: {
3
+ background: '{form.field.background}',
4
+ checkedBackground: '{primary.color}',
5
+ checkedHoverBackground: '{primary.hover.color}',
6
+ disabledBackground: '{form.field.disabled.background}',
7
+ filledBackground: '{form.field.filled.background}',
8
+ borderColor: '{form.field.border.color}',
9
+ hoverBorderColor: '{form.field.hover.border.color}',
10
+ focusBorderColor: '{form.field.border.color}',
11
+ checkedBorderColor: '{primary.color}',
12
+ checkedHoverBorderColor: '{primary.hover.color}',
13
+ checkedFocusBorderColor: '{primary.color}',
14
+ checkedDisabledBorderColor: '{form.field.border.color}',
15
+ invalidBorderColor: '{form.field.invalid.border.color}',
16
+ shadow: '{form.field.shadow}',
17
+ focusRing: {
18
+ color: '{focus.ring.color}',
19
+ shadow: '{focus.ring.shadow}'
20
+ },
21
+ transitionDuration: '{form.field.transition.duration}',
22
+ },
23
+ icon: {
24
+ color: '{form.field.color}',
25
+ checkedColor: '{primary.contrast.color}',
26
+ checkedHoverColor: '{primary.contrast.color}',
27
+ disabledColor: '{form.field.disabled.color}',
28
+ }
29
+ }
30
+
31
+ export default lightColors
@@ -0,0 +1,9 @@
1
+ import colorScheme from './colors';
2
+ import sizes from './sizes';
3
+
4
+ const CheckboxScheme = {
5
+ colorScheme,
6
+ sizes,
7
+ }
8
+
9
+ export default CheckboxScheme
@@ -0,0 +1,31 @@
1
+ const sizes = {
2
+ root: {
3
+ borderRadius: '{border.radius.sm}',
4
+ width: '1.25rem',
5
+ height: '1.25rem',
6
+ sm: {
7
+ width: '1rem',
8
+ height: '1rem'
9
+ },
10
+ lg: {
11
+ width: '1.5rem',
12
+ height: '1.5rem'
13
+ },
14
+ focusRing: {
15
+ width: '{focus.ring.width}',
16
+ style: '{focus.ring.style}',
17
+ offset: '{focus.ring.offset}',
18
+ }
19
+ },
20
+ icon: {
21
+ size: '0.875rem',
22
+ sm: {
23
+ size: '0.75rem'
24
+ },
25
+ lg: {
26
+ size: '1rem'
27
+ }
28
+ }
29
+ }
30
+
31
+ export default sizes
@@ -1,9 +1,17 @@
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';
7
+ import CheckboxScheme from "./checkbox";
4
8
 
5
9
  export {
10
+ AvatarScheme,
6
11
  ButtonScheme,
7
12
  PopoverScheme,
8
13
  TooltipScheme,
14
+ MenubarScheme,
15
+ ToolbarScheme,
16
+ CheckboxScheme,
9
17
  }
@@ -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