@community-release/nx-ui 0.0.38 → 0.0.40

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/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "ui",
3
3
  "configKey": "ui",
4
- "version": "0.0.38"
4
+ "version": "0.0.40"
5
5
  }
@@ -16,7 +16,7 @@ import comProps from '#build/ui.map.mjs';
16
16
 
17
17
  // Data
18
18
  const store = useMapStore();
19
- const emit = defineEmits('initialized');
19
+ const emit = defineEmits(['initialized']);
20
20
 
21
21
  const mapEngines = {
22
22
  openlayers: defineAsyncComponent(() => import(`./openlayers/index.vue`))
@@ -47,7 +47,7 @@
47
47
 
48
48
 
49
49
  // Data
50
- const emit = defineEmits('initialized');
50
+ const emit = defineEmits(['initialized']);
51
51
  const refMap = ref(null);
52
52
  let map = null;
53
53
  let view = null;
@@ -89,6 +89,7 @@ const classes = computed(() => {
89
89
  if (props.error) ar.push('tag-error');
90
90
  if (focus.value) ar.push('tag-focus');
91
91
  if (props.disabled) ar.push('tag-disabled');
92
+ if (props.label) ar.push('tag-label');
92
93
 
93
94
  return ar;
94
95
  });
@@ -220,19 +221,10 @@ onMounted(() => {
220
221
  right: 30px;
221
222
  }
222
223
 
223
- label {
224
- top: 3px;
225
- margin: 0;
226
- padding: 0 0 5px 0;
227
- font-size: @com-text-small;
228
-
229
- color: @com-color-gray-text;
230
- }
231
-
232
224
  strong {
233
- top: 20px;
234
- bottom: 0;
235
-
225
+ transform: translateY(-50%);
226
+ top: 50%;
227
+ bottom: auto;
236
228
  font-family: @com-font-header;
237
229
  font-weight: @com-value-font-weight;
238
230
  color: @com-color-header-text;
@@ -254,6 +246,25 @@ onMounted(() => {
254
246
  }
255
247
  }
256
248
 
249
+ &.tag-label {
250
+ .value {
251
+ label {
252
+ top: 3px;
253
+ margin: 0;
254
+ padding: 0 0 5px 0;
255
+ font-size: @com-text-small;
256
+
257
+ color: @com-color-gray-text;
258
+ }
259
+
260
+ strong {
261
+ transform: none;
262
+ top: 20px;
263
+ bottom: 0;
264
+ }
265
+ }
266
+ }
267
+
257
268
  &.tag-disabled {
258
269
  opacity: 0.6;
259
270
  cursor: not-allowed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-release/nx-ui",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "description": "nx-ui - Nuxt UI library",
5
5
  "repository": {
6
6
  "type": "git",