vueless 0.0.203 → 0.0.204

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.203",
3
+ "version": "0.0.204",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -10,7 +10,7 @@
10
10
  <template v-if="loading">
11
11
  <!-- Label is needed to prevent changing button height -->
12
12
  <div v-bind="textAttrs" tabindex="-1" class="invisible w-0" v-text="label" />
13
- <ULoader :size="loaderSize" :color="componentColor" v-bind="loaderAttrs" />
13
+ <ULoader :loading="loading" :size="loaderSize" :color="componentColor" v-bind="loaderAttrs" />
14
14
  </template>
15
15
 
16
16
  <template v-else>
@@ -51,7 +51,7 @@ export default /*tw*/ {
51
51
  defaultVariants: {
52
52
  color: "brand",
53
53
  size: "md",
54
- loading: true,
54
+ loading: false,
55
55
  },
56
56
  safelist: (colors) => [{ pattern: `bg-(${colors})-600` }],
57
57
  };
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <Transition v-bind="config.loaderTransition">
3
- <div v-if="!loading" v-bind="loaderAttrs">
3
+ <div v-if="loading" v-bind="loaderAttrs">
4
4
  <div
5
5
  v-for="ellipse in ELLIPSES_AMOUNT"
6
6
  :key="ellipse"
@@ -21,4 +21,5 @@ export default /*tw*/ {
21
21
  defaultVariants: {
22
22
  color: "brand",
23
23
  },
24
+ safelist: (colors) => [{ pattern: `bg-(${colors})-600` }],
24
25
  };
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <Transition v-bind="config.transition">
3
3
  <div v-if="showLoader" v-bind="wrapperAttrs">
4
- <ULoader size="lg" :color="color === 'white' ? 'grayscale' : 'white'" />
4
+ <ULoader :loading="showLoader" size="lg" :color="color === 'white' ? 'grayscale' : 'white'" />
5
5
  </div>
6
6
  </Transition>
7
7
  </template>
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.203",
4
+ "version": "0.0.204",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -5089,7 +5089,7 @@
5089
5089
  "kind": "expression",
5090
5090
  "type": "boolean"
5091
5091
  },
5092
- "default": "true"
5092
+ "default": "false"
5093
5093
  }
5094
5094
  ],
5095
5095
  "source": {