bfg-common 1.4.401 → 1.4.402

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.
@@ -348,6 +348,15 @@ const onAddDevice = (data: number): void => {
348
348
  }
349
349
  </script>
350
350
 
351
+ <style>
352
+ :root {
353
+ --vm-wizard-block-view-bg-color: #fafafa
354
+ }
355
+ :root.dark-theme {
356
+ --vm-wizard-block-view-bg-color: transparent
357
+ }
358
+ </style>
359
+
351
360
  <style scoped lang="scss">
352
361
  .virtual-hardware {
353
362
  .action-wrap {
@@ -387,6 +396,6 @@ const onAddDevice = (data: number): void => {
387
396
  display: flex;
388
397
  flex-direction: column;
389
398
  gap: 12px;
390
- background-color: var(--block-view-bg-color);
399
+ background-color: var(--vm-wizard-block-view-bg-color);
391
400
  }
392
401
  </style>
@@ -38,6 +38,7 @@
38
38
  :items="props.cdDvdDriveOptions"
39
39
  :test-id="`vm-wizard-cd-dvd-drive-field-${props.index}`"
40
40
  class="cd-dvd-drive-select"
41
+ theme="light"
41
42
  @change="onChangeCdDvdDrive"
42
43
  @click.stop
43
44
  />
@@ -154,6 +155,10 @@ const onChangeCdDvdDrive = (data: string): void => {
154
155
  display: flex;
155
156
  justify-content: space-between;
156
157
  width: 196px;
157
- background-color: #ffffff;
158
+ }
159
+ .light-theme {
160
+ :deep(.cd-dvd-drive-select .ui-main-select-toggle) {
161
+ background-color: #ffffff;
162
+ }
158
163
  }
159
164
  </style>
@@ -25,6 +25,7 @@
25
25
  :disabled="props.isCpuDisabled"
26
26
  :error-text="props.vcpusLocalAndApiErrorsTexts"
27
27
  test-id="vm-wizard-cpu-combobox"
28
+ theme="light"
28
29
  @click.stop
29
30
  />
30
31
 
@@ -176,7 +177,14 @@ const localization = computed<UI_I_Localization>(() => useLocal())
176
177
  display: flex;
177
178
  justify-content: space-between;
178
179
  width: 108px;
179
- background-color: #ffffff;
180
+ }
181
+ //:deep(.cpu-select .ui-main-select-toggle) {
182
+ // background-color: #ffffff;
183
+ //}
184
+ .light-theme {
185
+ :deep(.ui-main-select-toggle) {
186
+ background-color: #ffffff;
187
+ }
180
188
  }
181
189
 
182
190
  :deep(.unit .ui-main-select-toggle) {
@@ -23,6 +23,7 @@
23
23
  :disabled="props.isMemoryDisabled"
24
24
  :error-text="props.errorText"
25
25
  test-id="vm-wizard-memory-field"
26
+ theme="light"
26
27
  @change="emits('select-memory', $event)"
27
28
  @click.stop
28
29
  />
@@ -142,7 +143,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
142
143
  display: flex;
143
144
  justify-content: space-between;
144
145
  width: 108px;
145
- background-color: #ffffff;
146
+ }
147
+ .light-theme {
148
+ :deep(.ui-main-select-toggle) {
149
+ background-color: #ffffff;
150
+ }
146
151
  }
147
152
 
148
153
  :deep(.unit .ui-main-select-toggle) {
@@ -62,6 +62,7 @@
62
62
  :disabled="props.type === 'exist'"
63
63
  :test-id="`hard-disk-type-select-${props.index}`"
64
64
  class="unit"
65
+ theme="light"
65
66
  @change="emits('validate-size')"
66
67
  @click.stop
67
68
  />
@@ -212,7 +213,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
212
213
  display: flex;
213
214
  justify-content: space-between;
214
215
  width: 108px;
215
- background-color: #ffffff;
216
+ }
217
+ .light-theme {
218
+ :deep(.ui-main-select-toggle) {
219
+ background-color: #ffffff;
220
+ }
216
221
  }
217
222
 
218
223
  :deep(.unit .ui-main-select-toggle) {
@@ -30,6 +30,7 @@
30
30
  :test-id="`vm-wizard-network-field-${props.index}`"
31
31
  :class="`vm-wizard-network-field-${props.index} network-select`"
32
32
  :error-text="props.errorText"
33
+ theme="light"
33
34
  @change="onChangeLocation"
34
35
  @click.stop
35
36
  />
@@ -119,6 +120,6 @@ const onChangeLocation = (data: UI_T_SelectedValue): void => {
119
120
  display: flex;
120
121
  justify-content: space-between;
121
122
  width: 196px;
122
- background-color: #ffffff;
123
+ //background-color: #ffffff;
123
124
  }
124
125
  </style>
@@ -44,6 +44,10 @@ const localization = computed<UI_I_Localization>(() => useLocal())
44
44
  display: flex;
45
45
  justify-content: space-between;
46
46
  width: 196px;
47
- background-color: #ffffff;
47
+ }
48
+ .light-theme {
49
+ :deep(.adapter-type-select .ui-main-select-toggle) {
50
+ background-color: #ffffff;
51
+ }
48
52
  }
49
53
  </style>
@@ -24,6 +24,7 @@
24
24
  :disabled="props.isEdit && props.state !== 1"
25
25
  test-id="vm-wizard-video-card-select"
26
26
  class="vm-wizard-video-card video-card-select"
27
+ theme="light"
27
28
  :error-text="props.errorText"
28
29
  @click.stop
29
30
  />
@@ -91,6 +92,10 @@ const localization = computed<UI_I_Localization>(() => useLocal())
91
92
  display: flex;
92
93
  justify-content: space-between;
93
94
  width: 196px;
94
- background-color: #ffffff;
95
+ }
96
+ .light-theme {
97
+ :deep(.video-card-select .ui-main-select-toggle) {
98
+ background-color: #ffffff;
99
+ }
95
100
  }
96
101
  </style>
@@ -34,7 +34,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
34
34
 
35
35
  <style scoped>
36
36
  :deep(.model-select .ui-main-select-toggle) {
37
- background-color: #ffffff;
38
37
  width: 108px;
39
38
  }
39
+ .light-theme {
40
+ :deep(.model-select .ui-main-select-toggle) {
41
+ background-color: #ffffff;
42
+ }
43
+ }
40
44
  </style>
@@ -39,7 +39,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
39
39
 
40
40
  <style scoped>
41
41
  :deep(.number-displays-select .ui-main-select-toggle) {
42
- background-color: #ffffff;
43
42
  width: 108px;
44
43
  }
44
+ .light-theme {
45
+ :deep(.number-displays-select .ui-main-select-toggle) {
46
+ background-color: #ffffff;
47
+ }
48
+ }
45
49
  </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.401",
4
+ "version": "1.4.402",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -35,7 +35,7 @@
35
35
  "@vueuse/components": "^10.1.2",
36
36
  "date-fns": "^2.29.3",
37
37
  "bfg-nuxt-3-graph": "1.0.15",
38
- "bfg-uikit": "1.0.196",
38
+ "bfg-uikit": "1.0.200",
39
39
  "html2canvas": "^1.4.1",
40
40
  "prettier-eslint": "^15.0.1"
41
41
  }