vueless 0.0.303 → 0.0.305

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.303",
3
+ "version": "0.0.305",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -1,11 +1,14 @@
1
1
  <template>
2
2
  <Transition v-bind="config.transition">
3
3
  <div v-if="loading" v-bind="loaderAttrs">
4
- <div
5
- v-for="ellipse in ELLIPSES_AMOUNT"
6
- :key="ellipse"
7
- v-bind="ellipseAttrs(ellipseClasses)"
8
- />
4
+ <!-- @slot Use it to add something instead of the default loader. -->
5
+ <slot>
6
+ <div
7
+ v-for="ellipse in ELLIPSES_AMOUNT"
8
+ :key="ellipse"
9
+ v-bind="ellipseAttrs(ellipseClasses)"
10
+ />
11
+ </slot>
9
12
  </div>
10
13
  </Transition>
11
14
  </template>
@@ -12,7 +12,7 @@ export default /*tw*/ {
12
12
  },
13
13
  },
14
14
  },
15
- tab: "{UTab}",
15
+ tabsTab: "{UTab}",
16
16
  defaults: {
17
17
  size: "md",
18
18
  underlined: false,
@@ -10,7 +10,7 @@
10
10
  :disabled="item.disabled"
11
11
  :size="size"
12
12
  :data-test="`${dataTest}-item-${index}`"
13
- v-bind="tabAttrs"
13
+ v-bind="tabsTabAttrs"
14
14
  />
15
15
  </slot>
16
16
  </div>
@@ -103,5 +103,5 @@ provide("setUTabsSelectedItem", (value) => (selectedItem.value = value));
103
103
  provide("getUTabsSelectedItem", () => selectedItem.value);
104
104
  provide("getUTabsSize", () => props.size);
105
105
 
106
- const { tabsAttrs, tabAttrs } = useAttrs(props);
106
+ const { tabsAttrs, tabsTabAttrs } = useAttrs(props);
107
107
  </script>
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.303",
4
+ "version": "0.0.305",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -5703,6 +5703,12 @@
5703
5703
  "default": "md"
5704
5704
  }
5705
5705
  ],
5706
+ "slots": [
5707
+ {
5708
+ "name": "default",
5709
+ "description": "Use it to add something instead of the default loader."
5710
+ }
5711
+ ],
5706
5712
  "source": {
5707
5713
  "module": "./src/ui.loader/index.vue",
5708
5714
  "symbol": "default"