@bimdata/design-system 3.0.0-beta.30 → 3.0.0-beta.32
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 +2 -2
- package/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.css +11 -2
- package/src/BIMDataComponents/BIMDataSelect/BIMDataSelect.css +6 -0
- package/src/BIMDataComponents/BIMDataSelect/BIMDataSelect.vue +4 -0
- package/src/BIMDataComponents/BIMDataSelect/BIMDataSelectMulti.vue +6 -3
- package/src/BIMDataComponents/BIMDataSelect/BIMDataSelectSingle.vue +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bimdata/design-system",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/BIMDataComponents/index.js",
|
|
6
6
|
"module": "./src/BIMDataComponents/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
23
23
|
"@semantic-release/git": "^10.0.1",
|
|
24
24
|
"@semantic-release/github": "^12.0.2",
|
|
25
|
-
"@semantic-release/npm": "^13.1.
|
|
25
|
+
"@semantic-release/npm": "^13.1.2",
|
|
26
26
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
27
27
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
28
28
|
"conventional-changelog-eslint": "^6.0.0",
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
&.focus {
|
|
25
25
|
background-color: var(--color-white);
|
|
26
|
-
/* box-shadow: var(--box-shadow);
|
|
27
|
-
transition: all 0.2s ease; */
|
|
28
26
|
}
|
|
29
27
|
&.disabled {
|
|
30
28
|
color: var(--color-silver);
|
|
@@ -48,6 +46,7 @@
|
|
|
48
46
|
}
|
|
49
47
|
&.bimdata-search-bar__primary {
|
|
50
48
|
background-color: var(--color-silver-light);
|
|
49
|
+
color: var(--color-primary);
|
|
51
50
|
}
|
|
52
51
|
&.bimdata-search-bar__secondary {
|
|
53
52
|
background-color: var(--color-white);
|
|
@@ -65,4 +64,14 @@
|
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
}
|
|
67
|
+
&.bimdata-search-bar__quaternary-light {
|
|
68
|
+
background-color: var(--color-quaternary-light);
|
|
69
|
+
color: var(--color-quaternary-lighter);
|
|
70
|
+
input {
|
|
71
|
+
color: var(--color-quaternary-lighter);
|
|
72
|
+
&::placeholder{
|
|
73
|
+
color: var(--color-quaternary-lighter);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
68
77
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
25
|
<transition name="slide-fade-down">
|
|
26
|
-
<div v-show="!disabled && isOpen" class="bimdata-select__option-list">
|
|
26
|
+
<div v-show="!disabled && isOpen" class="bimdata-select__option-list" :class="{ 'rounded-element': isSelectedAndHoveredElementsRounded }">
|
|
27
27
|
<BIMDataSearch
|
|
28
28
|
v-if="search"
|
|
29
29
|
width="calc(100% - 12px)"
|
|
@@ -131,16 +131,19 @@ export default {
|
|
|
131
131
|
type: String,
|
|
132
132
|
default: "primary",
|
|
133
133
|
validator: value =>
|
|
134
|
-
["primary", "secondary", "tertiary", "quaternary"].includes(value),
|
|
134
|
+
["primary", "secondary", "tertiary", "quaternary", "quaternary-light"].includes(value),
|
|
135
135
|
},
|
|
136
136
|
searchPlaceholder: {
|
|
137
137
|
type: String,
|
|
138
138
|
default: "Search",
|
|
139
139
|
},
|
|
140
|
-
|
|
141
140
|
width: {
|
|
142
141
|
type: [String, Number],
|
|
143
142
|
},
|
|
143
|
+
isSelectedAndHoveredElementsRounded: {
|
|
144
|
+
type: Boolean,
|
|
145
|
+
default: false,
|
|
146
|
+
},
|
|
144
147
|
},
|
|
145
148
|
emits: ["update:modelValue"],
|
|
146
149
|
data() {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
|
|
24
24
|
<transition name="slide-fade-down">
|
|
25
|
-
<div v-show="!disabled && isOpen" class="bimdata-select__option-list">
|
|
25
|
+
<div v-show="!disabled && isOpen" class="bimdata-select__option-list" :class="{ 'rounded-element': isSelectedAndHoveredElementsRounded }">
|
|
26
26
|
<BIMDataSearch
|
|
27
27
|
v-if="search"
|
|
28
28
|
width="calc(100% - 12px)"
|
|
@@ -142,7 +142,11 @@ export default {
|
|
|
142
142
|
type: String,
|
|
143
143
|
default: "primary",
|
|
144
144
|
validator: value =>
|
|
145
|
-
["primary", "secondary", "tertiary", "quaternary"].includes(value),
|
|
145
|
+
["primary", "secondary", "tertiary", "quaternary", "quaternary-light"].includes(value),
|
|
146
|
+
},
|
|
147
|
+
isSelectedAndHoveredElementsRounded: {
|
|
148
|
+
type: Boolean,
|
|
149
|
+
default: false,
|
|
146
150
|
},
|
|
147
151
|
},
|
|
148
152
|
emits: ["update:modelValue"],
|