@webitel/styleguide 24.12.74 → 24.12.75
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 +4 -1
- package/src/lib/primevue/extend/extend.ts +7 -0
- package/src/lib/primevue/extend/spacings/spacings.ts +15 -0
- package/src/lib/primevue/semantic/color-scheme/index.ts +3 -0
- package/src/lib/primevue/semantic/color-scheme/player/dark/index.ts +23 -0
- package/src/lib/primevue/semantic/color-scheme/player/index.ts +9 -0
- package/src/lib/primevue/semantic/color-scheme/player/light/index.ts +23 -0
- package/src/lib/primevue/semantic/sizes/index.ts +2 -0
- package/src/lib/primevue/semantic/sizes/overlay/index.ts +2 -2
- package/src/lib/primevue/semantic/sizes/player/index.ts +75 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/styleguide",
|
|
3
|
-
"version": "24.12.
|
|
3
|
+
"version": "24.12.75",
|
|
4
4
|
"main": "",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./src/lib/main.scss",
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"./semantic": {
|
|
22
22
|
"import": "./src/lib/primevue/semantic/index.js"
|
|
23
23
|
},
|
|
24
|
+
"./extend": {
|
|
25
|
+
"import": "./src/lib/primevue/extend/extend.js"
|
|
26
|
+
},
|
|
24
27
|
"./primitive": {
|
|
25
28
|
"import": "./src/lib/primevue/primitive/index.js"
|
|
26
29
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const spacingsExtend = {
|
|
2
|
+
multiplicator: '8px',
|
|
3
|
+
|
|
4
|
+
'3xs': 'calc({spacings.multiplicator} / 4)',
|
|
5
|
+
'2xs': 'calc({spacings.multiplicator} / 2)',
|
|
6
|
+
xs: 'calc({spacings.multiplicator} * 1)',
|
|
7
|
+
sm: 'calc({spacings.multiplicator} * 2)',
|
|
8
|
+
md: 'calc({spacings.multiplicator} * 3)',
|
|
9
|
+
lg: 'calc({spacings.multiplicator} * 4)',
|
|
10
|
+
xl: 'calc({spacings.multiplicator} * 5)',
|
|
11
|
+
'2xl': 'calc({spacings.multiplicator} * 6)',
|
|
12
|
+
'3xl': 'calc({spacings.multiplicator} * 7)',
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { spacingsExtend };
|
|
@@ -11,6 +11,7 @@ import content from './content';
|
|
|
11
11
|
import list from './list';
|
|
12
12
|
import navigation from './navigation';
|
|
13
13
|
import table from './table';
|
|
14
|
+
import player from './player';
|
|
14
15
|
|
|
15
16
|
const colorScheme = {
|
|
16
17
|
light: {
|
|
@@ -26,6 +27,7 @@ const colorScheme = {
|
|
|
26
27
|
...list.colorScheme.light,
|
|
27
28
|
...navigation.colorScheme.light,
|
|
28
29
|
...table.colorScheme.light,
|
|
30
|
+
...player.colorScheme.light,
|
|
29
31
|
},
|
|
30
32
|
dark: {
|
|
31
33
|
...palette,
|
|
@@ -40,6 +42,7 @@ const colorScheme = {
|
|
|
40
42
|
...list.colorScheme.dark,
|
|
41
43
|
...navigation.colorScheme.dark,
|
|
42
44
|
...table.colorScheme.dark,
|
|
45
|
+
...player.colorScheme.dark,
|
|
43
46
|
},
|
|
44
47
|
};
|
|
45
48
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
counter: {
|
|
3
|
+
background: '{content.background}',
|
|
4
|
+
color: '{content.color}',
|
|
5
|
+
},
|
|
6
|
+
wrapper: {
|
|
7
|
+
background: '{surface.900}',
|
|
8
|
+
overlayColor: 'rgba(0,0,0,0.8)',
|
|
9
|
+
color: '{white}',
|
|
10
|
+
},
|
|
11
|
+
headLine: {
|
|
12
|
+
background: '{transparent}',
|
|
13
|
+
hoverBackground: 'rgba(0,0,0,0.5)',
|
|
14
|
+
iconColor: '{white}',
|
|
15
|
+
color: '{white}',
|
|
16
|
+
blur: '10px'
|
|
17
|
+
},
|
|
18
|
+
controlBar: {
|
|
19
|
+
background: '{content.background}',
|
|
20
|
+
iconColor: '{content.color}',
|
|
21
|
+
color: '{content.color}',
|
|
22
|
+
},
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
counter: {
|
|
3
|
+
background: '{content.background}',
|
|
4
|
+
color: '{content.color}',
|
|
5
|
+
},
|
|
6
|
+
wrapper: {
|
|
7
|
+
background: '{surface.900}',
|
|
8
|
+
overlayColor: 'rgba(0,0,0,0.8)',
|
|
9
|
+
color: '{white}',
|
|
10
|
+
},
|
|
11
|
+
headLine: {
|
|
12
|
+
background: '{transparent}',
|
|
13
|
+
hoverBackground: 'rgba(0,0,0,0.5)',
|
|
14
|
+
iconColor: '{white}',
|
|
15
|
+
color: '{white}',
|
|
16
|
+
blur: '10px'
|
|
17
|
+
},
|
|
18
|
+
controlBar: {
|
|
19
|
+
background: '{content.background}',
|
|
20
|
+
iconColor: '{content.color}',
|
|
21
|
+
color: '{content.color}',
|
|
22
|
+
},
|
|
23
|
+
}
|
|
@@ -3,6 +3,7 @@ import list from './list'
|
|
|
3
3
|
import navigation from './navigation'
|
|
4
4
|
import overlay from './overlay'
|
|
5
5
|
import focusRing from './focus-ring'
|
|
6
|
+
import player from './player'
|
|
6
7
|
|
|
7
8
|
export default {
|
|
8
9
|
transitionDuration: '0.2s',
|
|
@@ -20,4 +21,5 @@ export default {
|
|
|
20
21
|
navigation,
|
|
21
22
|
overlay,
|
|
22
23
|
focusRing,
|
|
24
|
+
player,
|
|
23
25
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
counter: {
|
|
3
|
+
padding: '0.25rem',
|
|
4
|
+
gap: '0.25rem',
|
|
5
|
+
borderRadius: '{border-radius.xl}',
|
|
6
|
+
},
|
|
7
|
+
camPreview: {
|
|
8
|
+
sm: {
|
|
9
|
+
borderRadius: '{border-radius.sm}',
|
|
10
|
+
width: '56px',
|
|
11
|
+
height: '37px',
|
|
12
|
+
},
|
|
13
|
+
md: {
|
|
14
|
+
borderRadius: '{border-radius.xl}',
|
|
15
|
+
width: '108px',
|
|
16
|
+
height: '72px',
|
|
17
|
+
},
|
|
18
|
+
lg: {
|
|
19
|
+
borderRadius: '{border-radius.xl}',
|
|
20
|
+
width: '128px',
|
|
21
|
+
height: '85px',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
wrapper: {
|
|
25
|
+
sm: {
|
|
26
|
+
borderRadius: '{border-radius.lg}',
|
|
27
|
+
width: '256px',
|
|
28
|
+
height: '201px',
|
|
29
|
+
},
|
|
30
|
+
md: {
|
|
31
|
+
borderRadius: '{border-radius.xl}',
|
|
32
|
+
width: '740px',
|
|
33
|
+
height: '494px',
|
|
34
|
+
},
|
|
35
|
+
lg: {
|
|
36
|
+
borderRadius: '{border-radius.none}',
|
|
37
|
+
width: '100%',
|
|
38
|
+
height: '100%',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
headline: {
|
|
42
|
+
sm: {
|
|
43
|
+
borderRadius: '{border-radius.lg}',
|
|
44
|
+
padding: '0.5rem',
|
|
45
|
+
gap: '0.5rem',
|
|
46
|
+
},
|
|
47
|
+
md: {
|
|
48
|
+
borderRadius: '{border-radius.xl}',
|
|
49
|
+
padding: '1rem',
|
|
50
|
+
gap: '1rem',
|
|
51
|
+
},
|
|
52
|
+
lg: {
|
|
53
|
+
borderRadius: '{border-radius.none}',
|
|
54
|
+
padding: '1rem',
|
|
55
|
+
gap: '1rem',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
controlBar: {
|
|
59
|
+
sm: {
|
|
60
|
+
borderRadius: '{border-radius.lg}',
|
|
61
|
+
padding: '0.5rem',
|
|
62
|
+
gap: '0.5rem',
|
|
63
|
+
},
|
|
64
|
+
md: {
|
|
65
|
+
borderRadius: '{border-radius.xl}',
|
|
66
|
+
padding: '1rem',
|
|
67
|
+
gap: '1rem',
|
|
68
|
+
},
|
|
69
|
+
lg: {
|
|
70
|
+
borderRadius: '{border-radius.xl}',
|
|
71
|
+
padding: '1rem',
|
|
72
|
+
gap: '1rem',
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
}
|