vueless 0.0.466 → 0.0.467

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.466",
3
+ "version": "0.0.467",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -75,11 +75,7 @@
75
75
  </div>
76
76
  </template>
77
77
 
78
- <ULoaderProgress
79
- v-if="resource && isHeaderSticky"
80
- :resources="resource"
81
- v-bind="stickyHeaderLoaderAttrs"
82
- />
78
+ <ULoaderProgress v-if="isHeaderSticky" :loading="loading" v-bind="stickyHeaderLoaderAttrs" />
83
79
  </div>
84
80
 
85
81
  <div ref="table-wrapper" v-bind="tableWrapperAttrs">
@@ -148,7 +144,7 @@
148
144
  </th>
149
145
  </tr>
150
146
 
151
- <ULoaderProgress v-if="resource" :resources="resource" v-bind="headerLoaderAttrs" />
147
+ <ULoaderProgress :loading="loading" v-bind="headerLoaderAttrs" />
152
148
  </thead>
153
149
 
154
150
  <tbody v-if="tableRows.length" v-bind="bodyAttrs">
@@ -365,11 +361,11 @@ const props = defineProps({
365
361
  },
366
362
 
367
363
  /**
368
- * Set loader resource name to activate table progress loader exact for that resource (deprecated).
364
+ * Set table loader state.
369
365
  */
370
- resource: {
371
- type: String,
372
- default: "",
366
+ loading: {
367
+ type: Boolean,
368
+ default: getDefault(defaultConfig, UTable).loading,
373
369
  },
374
370
 
375
371
  /**
@@ -98,6 +98,7 @@ export default /*tw*/ {
98
98
  dateDivider: false,
99
99
  stickyHeader: false,
100
100
  stickyFooter: false,
101
+ loading: false,
101
102
  /* icons */
102
103
  expandIcon: "add",
103
104
  collapseIcon: "remove",
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.466",
4
+ "version": "0.0.467",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -8600,13 +8600,13 @@
8600
8600
  "default": "false"
8601
8601
  },
8602
8602
  {
8603
- "name": "resource",
8604
- "description": "Set loader resource name to activate table progress loader exact for that resource (deprecated).",
8603
+ "name": "loading",
8604
+ "description": "Set table loader state.",
8605
8605
  "value": {
8606
8606
  "kind": "expression",
8607
- "type": "string"
8607
+ "type": "boolean"
8608
8608
  },
8609
- "default": "\"\""
8609
+ "default": "false"
8610
8610
  },
8611
8611
  {
8612
8612
  "name": "config",