@bimdata/design-system 2.2.1-beta.4 → 2.2.1-beta.6
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 +5 -5
- package/src/BIMDataComponents/BIMDataBigSpinner/_BIMDataBigSpinner.scss +1 -1
- package/src/BIMDataComponents/BIMDataButton/_BIMDataButton.scss +1 -1
- package/src/BIMDataComponents/BIMDataCard/_BIMDataCard.scss +5 -5
- package/src/BIMDataComponents/BIMDataCheckbox/_BIMDataCheckbox.scss +3 -3
- package/src/BIMDataComponents/BIMDataInput/_BIMDataInput.scss +9 -9
- package/src/BIMDataComponents/BIMDataInputOutlined/_BIMDataInputOutlined.scss +1 -1
- package/src/BIMDataComponents/BIMDataLoading/_BIMDataLoading.scss +1 -1
- package/src/BIMDataComponents/BIMDataPaginatedList/_BIMDataPaginatedList.scss +3 -3
- package/src/BIMDataComponents/BIMDataRadio/_BIMDataRadio.scss +3 -3
- package/src/BIMDataComponents/BIMDataSearch/_BIMDataSearch.scss +3 -3
- package/src/BIMDataComponents/BIMDataSelect/_BIMDataSelect.scss +5 -5
- package/src/BIMDataComponents/BIMDataSpinner/_BIMDataSpinner.scss +1 -1
- package/src/BIMDataComponents/BIMDataTabs/_BIMDataTabs.scss +1 -1
- package/src/BIMDataComponents/BIMDataTextarea/_BIMDataTextarea.scss +7 -7
- package/src/BIMDataComponents/BIMDataTooltip/_BIMDataTooltip.scss +1 -1
- package/src/assets/scss/mixins/_font-size.scss +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bimdata/design-system",
|
|
3
|
-
"version": "2.2.1-beta.
|
|
3
|
+
"version": "2.2.1-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/BIMDataComponents/index.js",
|
|
6
6
|
"module": "./src/BIMDataComponents/index.js",
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
"@semantic-release/github": "^11.0.1",
|
|
25
25
|
"@semantic-release/npm": "^12.0.1",
|
|
26
26
|
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
27
|
-
"@vitejs/plugin-vue": "^5.2.
|
|
27
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
28
28
|
"conventional-changelog-eslint": "^6.0.0",
|
|
29
29
|
"eslint": "^9.15.0",
|
|
30
30
|
"eslint-config-prettier": "^9.1.0",
|
|
31
31
|
"eslint-plugin-prettier": "^5.2.1",
|
|
32
32
|
"eslint-plugin-vue": "^9.31.0",
|
|
33
|
-
"prettier": "^3.
|
|
33
|
+
"prettier": "^3.4.1",
|
|
34
34
|
"prismjs": "^1.29.0",
|
|
35
35
|
"sass-embedded": "^1.81.0",
|
|
36
36
|
"semantic-release": "^24.2.0",
|
|
37
|
-
"vite": "^
|
|
37
|
+
"vite": "^6.0.0",
|
|
38
38
|
"vue": "^3.5.13",
|
|
39
|
-
"vue-router": "^4.
|
|
39
|
+
"vue-router": "^4.5.0",
|
|
40
40
|
"vue3-clipboard": "^1.0.0"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../../assets/scss/mixins/_font-size.scss";
|
|
2
2
|
|
|
3
3
|
.bimdata-card {
|
|
4
4
|
background-color: var(--color-white);
|
|
5
5
|
box-shadow: var(--box-shadow);
|
|
6
6
|
font-family: var(--primary-font);
|
|
7
|
-
font-size: calculateEm(14px);
|
|
7
|
+
font-size: font-size.calculateEm(14px);
|
|
8
8
|
overflow: auto;
|
|
9
9
|
&__content,
|
|
10
10
|
&__footer {
|
|
11
|
-
font-size: calculateEm(12px);
|
|
11
|
+
font-size: font-size.calculateEm(12px);
|
|
12
12
|
}
|
|
13
13
|
&__header {
|
|
14
14
|
padding: 10px var(--spacing-unit);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
background-color: var(--color-silver-light);
|
|
20
20
|
color: var(--color-primary);
|
|
21
|
-
font-size: calculateEm(13px);
|
|
21
|
+
font-size: font-size.calculateEm(13px);
|
|
22
22
|
}
|
|
23
23
|
&__submenu {
|
|
24
24
|
padding: calc(#{var(--spacing-unit)} / 2) var(--spacing-unit);
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
position: relative;
|
|
28
28
|
background: var(--color-white);
|
|
29
29
|
box-shadow: var(--box-shadow);
|
|
30
|
-
font-size: calculateEm(12px);
|
|
30
|
+
font-size: font-size.calculateEm(12px);
|
|
31
31
|
}
|
|
32
32
|
&__content {
|
|
33
33
|
padding: var(--spacing-unit);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../../assets/scss/mixins/_font-size.scss";
|
|
2
2
|
|
|
3
3
|
//custom LABEL
|
|
4
4
|
.bimdata-checkbox {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
font-family: var(--primary-font);
|
|
9
|
-
font-size: calculateEm(14px);
|
|
9
|
+
font-size: font-size.calculateEm(14px);
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
user-select: none;
|
|
12
12
|
:after,
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
&__text {
|
|
42
42
|
width: calc(100% - 13px - 5px);
|
|
43
43
|
margin-left: 6px;
|
|
44
|
-
font-size: calculateEm(12px);
|
|
44
|
+
font-size: font-size.calculateEm(12px);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
1
|
+
@use "../../assets/scss/mixins/_font-size.scss";
|
|
2
|
+
@use "./_keyframes.scss";
|
|
3
3
|
|
|
4
4
|
input:-webkit-autofill {
|
|
5
5
|
box-shadow: 0 0 0px 1000px var(--color-white) inset;
|
|
@@ -10,11 +10,11 @@ input:-webkit-autofill {
|
|
|
10
10
|
position: relative;
|
|
11
11
|
font-family: var(--primary-font);
|
|
12
12
|
color: var(--color-primary);
|
|
13
|
-
font-size: calculateEm(15px);
|
|
13
|
+
font-size: font-size.calculateEm(15px);
|
|
14
14
|
&.empty {
|
|
15
15
|
label {
|
|
16
16
|
top: 0;
|
|
17
|
-
font-size: calculateEm(12px);
|
|
17
|
+
font-size: font-size.calculateEm(12px);
|
|
18
18
|
color: var(--color-granite-light);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -27,12 +27,12 @@ input:-webkit-autofill {
|
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
background-color: transparent;
|
|
29
29
|
color: var(--color-primary);
|
|
30
|
-
font-size: calculateEm(14px);
|
|
30
|
+
font-size: font-size.calculateEm(14px);
|
|
31
31
|
&:focus {
|
|
32
32
|
outline: none;
|
|
33
33
|
& ~ label {
|
|
34
34
|
top: -22px;
|
|
35
|
-
font-size: calculateEm(10px);
|
|
35
|
+
font-size: font-size.calculateEm(10px);
|
|
36
36
|
}
|
|
37
37
|
& ~ .bar {
|
|
38
38
|
&:after {
|
|
@@ -56,7 +56,7 @@ input:-webkit-autofill {
|
|
|
56
56
|
cursor: pointer;
|
|
57
57
|
top: -22px;
|
|
58
58
|
color: var(--color-primary);
|
|
59
|
-
font-size: calculateEm(10px);
|
|
59
|
+
font-size: font-size.calculateEm(10px);
|
|
60
60
|
}
|
|
61
61
|
.bar {
|
|
62
62
|
width: 100%;
|
|
@@ -88,11 +88,11 @@ input:-webkit-autofill {
|
|
|
88
88
|
}
|
|
89
89
|
.error {
|
|
90
90
|
color: var(--color-high);
|
|
91
|
-
font-size: calculateEm(11px);
|
|
91
|
+
font-size: font-size.calculateEm(11px);
|
|
92
92
|
}
|
|
93
93
|
.success {
|
|
94
94
|
color: var(--color-success);
|
|
95
|
-
font-size: calculateEm(11px);
|
|
95
|
+
font-size: font-size.calculateEm(11px);
|
|
96
96
|
}
|
|
97
97
|
&.disabled {
|
|
98
98
|
opacity: 0.6;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../../assets/scss/mixins/_font-size.scss";
|
|
2
2
|
|
|
3
3
|
// custom PAGINATED LIST
|
|
4
4
|
.bimdata-paginated-list {
|
|
5
5
|
font-family: var(--primary-font);
|
|
6
|
-
font-size: calculateEm(14px);
|
|
6
|
+
font-size: font-size.calculateEm(14px);
|
|
7
7
|
line-height: 1.5;
|
|
8
8
|
overflow: auto;
|
|
9
9
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
display: flex;
|
|
18
18
|
align-items: center;
|
|
19
19
|
justify-content: space-between;
|
|
20
|
-
font-size: calculateEm(12px);
|
|
20
|
+
font-size: font-size.calculateEm(12px);
|
|
21
21
|
&:nth-child(odd) {
|
|
22
22
|
background-color: var(--color-silver-light);
|
|
23
23
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../../assets/scss/mixins/_font-size.scss";
|
|
2
2
|
|
|
3
3
|
.bimdata-radio {
|
|
4
4
|
position: relative;
|
|
5
5
|
color: var(--color-primary);
|
|
6
6
|
line-height: 1.5;
|
|
7
7
|
font-family: var(--primary-font);
|
|
8
|
-
font-size: calculateEm(14px);
|
|
8
|
+
font-size: font-size.calculateEm(14px);
|
|
9
9
|
background-color: transparent;
|
|
10
10
|
border: none;
|
|
11
11
|
margin: 0px;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&__text {
|
|
24
|
-
font-size: calculateEm(12px);
|
|
24
|
+
font-size: font-size.calculateEm(12px);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&__background {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../../assets/scss/mixins/_font-size.scss";
|
|
2
2
|
|
|
3
3
|
.bimdata-search-bar {
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
transition: all 0.2s ease;
|
|
7
|
-
font-size: calculateEm(14px);
|
|
7
|
+
font-size: font-size.calculateEm(14px);
|
|
8
8
|
.bimdata-search-icon {
|
|
9
9
|
padding: 0 var(--spacing-unit);
|
|
10
10
|
display: flex;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
border: none;
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
font-family: var(--primary-font);
|
|
21
|
-
font-size: calculateEm(12px);
|
|
21
|
+
font-size: font-size.calculateEm(12px);
|
|
22
22
|
&:focus {
|
|
23
23
|
outline: none;
|
|
24
24
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../../assets/scss/mixins/_font-size.scss";
|
|
2
2
|
|
|
3
3
|
.bimdata-select {
|
|
4
4
|
position: relative;
|
|
5
5
|
font-family: var(--primary-font);
|
|
6
|
-
font-size: calculateEm(15px);
|
|
6
|
+
font-size: font-size.calculateEm(15px);
|
|
7
7
|
user-select: none;
|
|
8
8
|
|
|
9
9
|
&__content {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
position: absolute;
|
|
35
35
|
top: 6px;
|
|
36
36
|
left: 0;
|
|
37
|
-
font-size: calculateEm(12px);
|
|
37
|
+
font-size: font-size.calculateEm(12px);
|
|
38
38
|
transition: 0.2s ease all;
|
|
39
39
|
color: var(--color-granite-light);
|
|
40
40
|
transition: 0.2s ease all;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
.bimdata-select__content {
|
|
60
60
|
.bimdata-select__content__label {
|
|
61
61
|
top: -18px;
|
|
62
|
-
font-size: calculateEm(10px);
|
|
62
|
+
font-size: font-size.calculateEm(10px);
|
|
63
63
|
color: var(--color-primary);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
padding: 0 var(--spacing-unit);
|
|
81
81
|
display: flex;
|
|
82
82
|
align-items: center;
|
|
83
|
-
font-size: calculateEm(12px);
|
|
83
|
+
font-size: font-size.calculateEm(12px);
|
|
84
84
|
cursor: pointer;
|
|
85
85
|
|
|
86
86
|
&:hover {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../../assets/scss/mixins/_font-size.scss";
|
|
2
2
|
|
|
3
3
|
textarea:-webkit-autofill {
|
|
4
4
|
box-shadow: 0 0 0px 1000px var(--color-white) inset;
|
|
@@ -10,7 +10,7 @@ textarea:-webkit-autofill {
|
|
|
10
10
|
inline-size: min-content;
|
|
11
11
|
font-family: var(--primary-font);
|
|
12
12
|
color: var(--color-primary);
|
|
13
|
-
font-size: calculateEm(15px);
|
|
13
|
+
font-size: font-size.calculateEm(15px);
|
|
14
14
|
textarea {
|
|
15
15
|
padding: 0px;
|
|
16
16
|
width: 100%;
|
|
@@ -33,7 +33,7 @@ textarea:-webkit-autofill {
|
|
|
33
33
|
outline: none;
|
|
34
34
|
& ~ label {
|
|
35
35
|
top: -26px;
|
|
36
|
-
font-size: calculateEm(10px);
|
|
36
|
+
font-size: font-size.calculateEm(10px);
|
|
37
37
|
}
|
|
38
38
|
& ~ .bar {
|
|
39
39
|
&:after {
|
|
@@ -48,14 +48,14 @@ textarea:-webkit-autofill {
|
|
|
48
48
|
label {
|
|
49
49
|
top: -26px;
|
|
50
50
|
color: var(--color-primary);
|
|
51
|
-
font-size: calculateEm(10px);
|
|
51
|
+
font-size: font-size.calculateEm(10px);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
label {
|
|
55
55
|
position: absolute;
|
|
56
56
|
top: 0;
|
|
57
57
|
left: 0;
|
|
58
|
-
font-size: calculateEm(12px);
|
|
58
|
+
font-size: font-size.calculateEm(12px);
|
|
59
59
|
transform: translateY(8px);
|
|
60
60
|
transition: 0.2s ease all;
|
|
61
61
|
color: var(--color-granite-light);
|
|
@@ -78,11 +78,11 @@ textarea:-webkit-autofill {
|
|
|
78
78
|
}
|
|
79
79
|
.error {
|
|
80
80
|
color: var(--color-high);
|
|
81
|
-
font-size: calculateEm(11px);
|
|
81
|
+
font-size: font-size.calculateEm(11px);
|
|
82
82
|
}
|
|
83
83
|
.success {
|
|
84
84
|
color: var(--color-success);
|
|
85
|
-
font-size: calculateEm(11px);
|
|
85
|
+
font-size: font-size.calculateEm(11px);
|
|
86
86
|
}
|
|
87
87
|
&.error {
|
|
88
88
|
label {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
$browser-context: 14;
|
|
4
4
|
|
|
5
5
|
@function calculateEm($pixels, $context: $browser-context) {
|
|
6
|
-
@if (unitless($pixels)) {
|
|
6
|
+
@if (math.is-unitless($pixels)) {
|
|
7
7
|
$pixels: $pixels * 1px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
@if (unitless($context)) {
|
|
10
|
+
@if (math.is-unitless($context)) {
|
|
11
11
|
$context: $context * 1px;
|
|
12
12
|
}
|
|
13
13
|
|