@community-release/nx-ui 0.0.63 → 0.0.64

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.63"
4
+ "version": "0.0.64"
5
5
  }
@@ -1,9 +1,9 @@
1
1
  <template>
2
- <div class="component-ui-file-input" :class="classes" :id="inputId">
2
+ <div class="component-ui-file-input" :class="classes">
3
3
 
4
4
  <!-- Input -->
5
5
  <div class="block-input">
6
- <ui-button class="btn-add" @click="openFileDialogue" color="surface" shape="square">
6
+ <ui-button :id="inputId" class="btn-add" @click="openFileDialogue" color="surface" shape="square">
7
7
  <template #prepend>
8
8
  <i class="icon-file ic ic-paperclip" aria-hidden="true"></i>
9
9
  </template>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div>
3
3
  <div class="component-ui-label" :class="[`tag-size-${size}`, `tag-weight-${weight}`, required ? 'tag-required' : '']">
4
- <component :is="isLegend ? 'legend' : 'label'" class="component-ui-label--text" :for="labelFor">
4
+ <component :is="isLegend ? 'legend' : tag" class="component-ui-label--text" :for="labelFor">
5
5
  {{ text }} <span v-if="required" aria-hidden="true" class="required">*</span>
6
6
 
7
7
  <span v-if="description" class="description" v-html="description"></span>
@@ -30,10 +30,15 @@
30
30
  labelFor: {
31
31
  default: ''
32
32
  },
33
+ // TODO: get rid of isLegend (check what projects use it)
33
34
  isLegend: {
34
35
  type: Boolean,
35
36
  default: false
36
37
  },
38
+ tag: {
39
+ type: String,
40
+ default: 'label'
41
+ },
37
42
  size: {
38
43
  type: String,
39
44
  default: comProps.size,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-release/nx-ui",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "packageManager": "pnpm@10.14.0",
5
5
  "description": "nx-ui - Nuxt UI library",
6
6
  "repository": {