@code-coaching/vuetiful 0.5.1 → 0.6.1

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": "@code-coaching/vuetiful",
3
- "version": "0.5.1",
3
+ "version": "0.6.1",
4
4
  "scripts": {
5
5
  "dev": "onchange 'src/**/*.vue' 'src/**/*.ts' 'src/**/*.css' -- npm run build",
6
6
  "prebuild": "node 'scripts/intellisense.js'",
@@ -0,0 +1,10 @@
1
+ <script setup lang="ts">
2
+ import { useAttrs } from "vue";
3
+ const attrs = useAttrs();
4
+ </script>
5
+
6
+ <template>
7
+ <div :class="`vuetiful-badge badge ${attrs.class ?? ''}`">
8
+ <slot />
9
+ </div>
10
+ </template>
@@ -1,3 +1,4 @@
1
+ import VBadge from "./VBadge.vue";
1
2
  import VButton from "./VButton.vue";
2
3
 
3
- export { VButton };
4
+ export { VButton, VBadge };
@@ -1,4 +1,4 @@
1
- import { VButton } from "./atoms";
1
+ import { VBadge, VButton } from "./atoms";
2
2
  import { VDrawer, VRail, VRailTile, VShell } from "./molecules";
3
3
 
4
- export { VButton, VRail, VRailTile, VShell, VDrawer };
4
+ export { VButton, VRail, VRailTile, VShell, VDrawer, VBadge };
@@ -361,20 +361,20 @@ module.exports = {
361
361
  ".radio": {
362
362
  "@apply rounded-token": {},
363
363
  },
364
- ".input[type="file"]": {
364
+ ".input[type='file']": {
365
365
  "@apply p-1": {},
366
366
  },
367
- ".input[type="color"]": {
367
+ ".input[type='color']": {
368
368
  "@apply h-10 w-10 cursor-pointer overflow-hidden border-none rounded-token": {},
369
369
  "-webkit-appearance": "none ",
370
370
  },
371
- ".input[type="color"]::-webkit-color-swatch-wrapper": {
371
+ ".input[type='color']::-webkit-color-swatch-wrapper": {
372
372
  "@apply p-0": {},
373
373
  },
374
- ".input[type="color"]::-webkit-color-swatch": {
374
+ ".input[type='color']::-webkit-color-swatch": {
375
375
  "@apply border-none hover:brightness-110": {},
376
376
  },
377
- ".input[type="color"]::-moz-color-swatch": {
377
+ ".input[type='color']::-moz-color-swatch": {
378
378
  "@apply border-none": {},
379
379
  },
380
380
  ".input:disabled,.textarea:disabled,.select:disabled": {
@@ -448,7 +448,7 @@ module.exports = {
448
448
  "@apply border-0 border-b-2": {},
449
449
  "@apply backdrop-blur": {},
450
450
  },
451
- ".variant-form-material[type="file"]": {
451
+ ".variant-form-material[type='file']": {
452
452
  "@apply !py-1.5": {},
453
453
  },
454
454
  ".list,.list-dl,.list-nav ul": {