stp-ui-kit 0.0.107 → 0.0.108
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/README.md +224 -224
- package/dist/banners/Sat.svg +3 -3
- package/dist/banners/SatFinished.svg +3 -3
- package/dist/icons/ArrowLine.svg +3 -3
- package/dist/icons/ParentLine.svg +3 -3
- package/dist/icons/Plus.svg +2 -2
- package/dist/icons/SideLine.svg +3 -3
- package/dist/icons/X.svg +2 -2
- package/dist/icons/decorativeIcons/Alert.svg +11 -11
- package/dist/icons/decorativeIcons/Error.svg +11 -11
- package/dist/icons/decorativeIcons/Locked.svg +10 -10
- package/dist/icons/decorativeIcons/Success.svg +10 -10
- package/dist/stp-ui-kit.es.js +5625 -9455
- package/dist/stp-ui-kit.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +120 -120
- package/src/styles/_variables.scss +1179 -1179
- package/src/styles/main.scss +11 -11
- package/src/styles/tokens.js +94 -94
package/src/styles/main.scss
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@use "./_variables.scss" as *;
|
|
2
|
-
.solarIcon {
|
|
3
|
-
width: $icon-size;
|
|
4
|
-
height: $icon-size;
|
|
5
|
-
// color: $icon;
|
|
6
|
-
|
|
7
|
-
@media (max-width: $mobile) {
|
|
8
|
-
width: $icon-size-mobile;
|
|
9
|
-
height: $icon-size-mobile;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
@use "./_variables.scss" as *;
|
|
2
|
+
.solarIcon {
|
|
3
|
+
width: $icon-size;
|
|
4
|
+
height: $icon-size;
|
|
5
|
+
// color: $icon;
|
|
6
|
+
|
|
7
|
+
@media (max-width: $mobile) {
|
|
8
|
+
width: $icon-size-mobile;
|
|
9
|
+
height: $icon-size-mobile;
|
|
10
|
+
}
|
|
11
|
+
}
|
package/src/styles/tokens.js
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SCSS Design Tokens - JavaScript Export
|
|
3
|
-
* Use this file to access SCSS variables in JavaScript/TypeScript
|
|
4
|
-
*
|
|
5
|
-
* Usage in your project:
|
|
6
|
-
* import { spacing, breakpoints, colors } from 'stp-ui-kit/tokens';
|
|
7
|
-
*
|
|
8
|
-
* Or import SCSS variables directly:
|
|
9
|
-
* @use 'stp-ui-kit/styles/variables' as stp;
|
|
10
|
-
* .my-class { padding: stp.$space-400; }
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export const spacing = {
|
|
14
|
-
spacing: '4px',
|
|
15
|
-
'space-0': '0px',
|
|
16
|
-
'space-025': '1px',
|
|
17
|
-
'space-050': '2px',
|
|
18
|
-
'space-100': '4px',
|
|
19
|
-
'space-150': '6px',
|
|
20
|
-
'space-200': '8px',
|
|
21
|
-
'space-250': '10px',
|
|
22
|
-
'space-300': '12px',
|
|
23
|
-
'space-350': '14px',
|
|
24
|
-
'space-400': '16px',
|
|
25
|
-
'space-450': '18px',
|
|
26
|
-
'space-500': '20px',
|
|
27
|
-
'space-550': '22px',
|
|
28
|
-
'space-600': '24px',
|
|
29
|
-
'space-650': '26px',
|
|
30
|
-
'space-750': '30px',
|
|
31
|
-
'space-800': '32px',
|
|
32
|
-
'space-850': '34px',
|
|
33
|
-
'space-900': '36px',
|
|
34
|
-
'space-950': '38px',
|
|
35
|
-
'space-1000': '40px',
|
|
36
|
-
'space-1100': '44px',
|
|
37
|
-
'space-1200': '48px',
|
|
38
|
-
'space-1300': '52px',
|
|
39
|
-
'space-1600': '64px',
|
|
40
|
-
'space-2000': '80px',
|
|
41
|
-
'space-2400': '96px',
|
|
42
|
-
'space-3200': '128px',
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export const breakpoints = {
|
|
46
|
-
lg: '1200px',
|
|
47
|
-
md: '1000px',
|
|
48
|
-
sm: '700px',
|
|
49
|
-
mobile: '480px',
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export const border = {
|
|
53
|
-
'border-radius-0': '0px',
|
|
54
|
-
'border-radius-50': '2px',
|
|
55
|
-
'border-radius-100': '4px',
|
|
56
|
-
'border-radius-200': '8px',
|
|
57
|
-
'border-radius-full': '50%',
|
|
58
|
-
'border-width-025': '1px',
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export const typography = {
|
|
62
|
-
'font-family-sans': 'Inter',
|
|
63
|
-
'font-weight-regular': 450,
|
|
64
|
-
'font-weight-medium': 550,
|
|
65
|
-
'font-weight-semibold': 650,
|
|
66
|
-
'font-weight-bold': 700,
|
|
67
|
-
'font-letter-spacing-denser': '-0.3px',
|
|
68
|
-
'font-letter-spacing-dense': '-0.2px',
|
|
69
|
-
'font-letter-spacing-normal': '0px',
|
|
70
|
-
'font-size-300': '12px',
|
|
71
|
-
'font-size-350': '14px',
|
|
72
|
-
'font-size-400': '16px',
|
|
73
|
-
'font-size-500': '20px',
|
|
74
|
-
'font-size-600': '24px',
|
|
75
|
-
'font-size-750': '30px',
|
|
76
|
-
'font-line-height-400': '16px',
|
|
77
|
-
'font-line-height-500': '20px',
|
|
78
|
-
'font-line-height-550': '22px',
|
|
79
|
-
'font-line-height-600': '24px',
|
|
80
|
-
'font-line-height-650': '26px',
|
|
81
|
-
'font-line-height-700': '28px',
|
|
82
|
-
'font-line-height-800': '32px',
|
|
83
|
-
'font-line-height-1000': '40px',
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
// Export all tokens as a single object
|
|
87
|
-
export const tokens = {
|
|
88
|
-
...spacing,
|
|
89
|
-
...breakpoints,
|
|
90
|
-
...border,
|
|
91
|
-
...typography,
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
export default tokens;
|
|
1
|
+
/**
|
|
2
|
+
* SCSS Design Tokens - JavaScript Export
|
|
3
|
+
* Use this file to access SCSS variables in JavaScript/TypeScript
|
|
4
|
+
*
|
|
5
|
+
* Usage in your project:
|
|
6
|
+
* import { spacing, breakpoints, colors } from 'stp-ui-kit/tokens';
|
|
7
|
+
*
|
|
8
|
+
* Or import SCSS variables directly:
|
|
9
|
+
* @use 'stp-ui-kit/styles/variables' as stp;
|
|
10
|
+
* .my-class { padding: stp.$space-400; }
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export const spacing = {
|
|
14
|
+
spacing: '4px',
|
|
15
|
+
'space-0': '0px',
|
|
16
|
+
'space-025': '1px',
|
|
17
|
+
'space-050': '2px',
|
|
18
|
+
'space-100': '4px',
|
|
19
|
+
'space-150': '6px',
|
|
20
|
+
'space-200': '8px',
|
|
21
|
+
'space-250': '10px',
|
|
22
|
+
'space-300': '12px',
|
|
23
|
+
'space-350': '14px',
|
|
24
|
+
'space-400': '16px',
|
|
25
|
+
'space-450': '18px',
|
|
26
|
+
'space-500': '20px',
|
|
27
|
+
'space-550': '22px',
|
|
28
|
+
'space-600': '24px',
|
|
29
|
+
'space-650': '26px',
|
|
30
|
+
'space-750': '30px',
|
|
31
|
+
'space-800': '32px',
|
|
32
|
+
'space-850': '34px',
|
|
33
|
+
'space-900': '36px',
|
|
34
|
+
'space-950': '38px',
|
|
35
|
+
'space-1000': '40px',
|
|
36
|
+
'space-1100': '44px',
|
|
37
|
+
'space-1200': '48px',
|
|
38
|
+
'space-1300': '52px',
|
|
39
|
+
'space-1600': '64px',
|
|
40
|
+
'space-2000': '80px',
|
|
41
|
+
'space-2400': '96px',
|
|
42
|
+
'space-3200': '128px',
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export const breakpoints = {
|
|
46
|
+
lg: '1200px',
|
|
47
|
+
md: '1000px',
|
|
48
|
+
sm: '700px',
|
|
49
|
+
mobile: '480px',
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const border = {
|
|
53
|
+
'border-radius-0': '0px',
|
|
54
|
+
'border-radius-50': '2px',
|
|
55
|
+
'border-radius-100': '4px',
|
|
56
|
+
'border-radius-200': '8px',
|
|
57
|
+
'border-radius-full': '50%',
|
|
58
|
+
'border-width-025': '1px',
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export const typography = {
|
|
62
|
+
'font-family-sans': 'Inter',
|
|
63
|
+
'font-weight-regular': 450,
|
|
64
|
+
'font-weight-medium': 550,
|
|
65
|
+
'font-weight-semibold': 650,
|
|
66
|
+
'font-weight-bold': 700,
|
|
67
|
+
'font-letter-spacing-denser': '-0.3px',
|
|
68
|
+
'font-letter-spacing-dense': '-0.2px',
|
|
69
|
+
'font-letter-spacing-normal': '0px',
|
|
70
|
+
'font-size-300': '12px',
|
|
71
|
+
'font-size-350': '14px',
|
|
72
|
+
'font-size-400': '16px',
|
|
73
|
+
'font-size-500': '20px',
|
|
74
|
+
'font-size-600': '24px',
|
|
75
|
+
'font-size-750': '30px',
|
|
76
|
+
'font-line-height-400': '16px',
|
|
77
|
+
'font-line-height-500': '20px',
|
|
78
|
+
'font-line-height-550': '22px',
|
|
79
|
+
'font-line-height-600': '24px',
|
|
80
|
+
'font-line-height-650': '26px',
|
|
81
|
+
'font-line-height-700': '28px',
|
|
82
|
+
'font-line-height-800': '32px',
|
|
83
|
+
'font-line-height-1000': '40px',
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
// Export all tokens as a single object
|
|
87
|
+
export const tokens = {
|
|
88
|
+
...spacing,
|
|
89
|
+
...breakpoints,
|
|
90
|
+
...border,
|
|
91
|
+
...typography,
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export default tokens;
|