ui-thing 0.1.26 → 0.1.28
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/CHANGELOG.md +24 -0
- package/dist/index.js +18 -12
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/comps.ts +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.1.28
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.1.27...v0.1.28)
|
|
6
|
+
|
|
7
|
+
### 🏡 Chore
|
|
8
|
+
|
|
9
|
+
- Add updated dialog content close button styles ([3583a9d](https://github.com/BayBreezy/ui-thing-cli/commit/3583a9d))
|
|
10
|
+
|
|
11
|
+
### ❤️ Contributors
|
|
12
|
+
|
|
13
|
+
- Behon Baker ([@BayBreezy](http://github.com/BayBreezy))
|
|
14
|
+
|
|
15
|
+
## v0.1.27
|
|
16
|
+
|
|
17
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.1.26...v0.1.27)
|
|
18
|
+
|
|
19
|
+
### 🏡 Chore
|
|
20
|
+
|
|
21
|
+
- Bump deps & pass slots from some radix components ([5caf188](https://github.com/BayBreezy/ui-thing-cli/commit/5caf188))
|
|
22
|
+
|
|
23
|
+
### ❤️ Contributors
|
|
24
|
+
|
|
25
|
+
- Behon Baker ([@BayBreezy](http://github.com/BayBreezy))
|
|
26
|
+
|
|
3
27
|
## v0.1.26
|
|
4
28
|
|
|
5
29
|
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.1.25...v0.1.26)
|
package/dist/index.js
CHANGED
|
@@ -2725,8 +2725,8 @@ export const buttonStyles = tv({
|
|
|
2725
2725
|
});
|
|
2726
2726
|
</script>
|
|
2727
2727
|
`}],utils:[],composables:[],plugins:[]},{name:"Collapsible",value:"collapsible",files:[{fileName:"Collapsible/Collapsible.vue",dirPath:"components/UI",fileContent:`<template>
|
|
2728
|
-
<CollapsibleRoot v-bind="forwarded">
|
|
2729
|
-
<slot />
|
|
2728
|
+
<CollapsibleRoot v-slot="slotProps" v-bind="forwarded">
|
|
2729
|
+
<slot v-bind="slotProps" />
|
|
2730
2730
|
</CollapsibleRoot>
|
|
2731
2731
|
</template>
|
|
2732
2732
|
|
|
@@ -4833,9 +4833,9 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
4833
4833
|
</slot>
|
|
4834
4834
|
<UiDialogClose
|
|
4835
4835
|
v-if="!hideClose"
|
|
4836
|
-
class="absolute right-4 top-
|
|
4836
|
+
class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
|
|
4837
4837
|
>
|
|
4838
|
-
<Icon name="lucide:x" class="h-4 w-4" />
|
|
4838
|
+
<Icon name="lucide:x" class="h-4 w-4" mode="svg" />
|
|
4839
4839
|
<span class="sr-only">Close</span>
|
|
4840
4840
|
</UiDialogClose>
|
|
4841
4841
|
</DialogContent>
|
|
@@ -10297,11 +10297,12 @@ export { toast, useToast };
|
|
|
10297
10297
|
</script>
|
|
10298
10298
|
`},{fileName:"Toast/Toast.vue",dirPath:"components/UI",fileContent:`<template>
|
|
10299
10299
|
<ToastRoot
|
|
10300
|
+
v-slot="slotProps"
|
|
10300
10301
|
v-bind="forwarded"
|
|
10301
10302
|
:class="styles({ variant, class: props.class })"
|
|
10302
10303
|
@update:open="onOpenChange"
|
|
10303
10304
|
>
|
|
10304
|
-
<slot />
|
|
10305
|
+
<slot v-bind="slotProps" />
|
|
10305
10306
|
</ToastRoot>
|
|
10306
10307
|
</template>
|
|
10307
10308
|
|
|
@@ -10328,6 +10329,7 @@ export { toast, useToast };
|
|
|
10328
10329
|
|
|
10329
10330
|
const emits = defineEmits<ToastRootEmits>();
|
|
10330
10331
|
const forwarded = useForwardPropsEmits(reactiveOmit(props, "class"), emits);
|
|
10332
|
+
provide("ToastRootProps", readonly(toRef(() => props)));
|
|
10331
10333
|
|
|
10332
10334
|
const styles = tv({
|
|
10333
10335
|
base: "group pointer-events-auto relative flex w-full items-center justify-between gap-4 overflow-hidden rounded-md border p-4 pr-9 shadow-sm transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
@@ -10451,8 +10453,12 @@ export { toast, useToast };
|
|
|
10451
10453
|
}
|
|
10452
10454
|
</style>
|
|
10453
10455
|
`}],utils:[],plugins:[]},{name:"Toggle",value:"toggle",files:[{fileName:"Toggle.vue",dirPath:"components/UI",fileContent:`<template>
|
|
10454
|
-
<ToggleRoot
|
|
10455
|
-
|
|
10456
|
+
<ToggleRoot
|
|
10457
|
+
v-slot="slotProps"
|
|
10458
|
+
v-bind="forwarded"
|
|
10459
|
+
:class="styles({ variant, size, class: props.class })"
|
|
10460
|
+
>
|
|
10461
|
+
<slot v-bind="slotProps" />
|
|
10456
10462
|
</ToggleRoot>
|
|
10457
10463
|
</template>
|
|
10458
10464
|
|
|
@@ -10650,10 +10656,10 @@ export { toast, useToast };
|
|
|
10650
10656
|
</script>
|
|
10651
10657
|
`},{fileName:"Tooltip/Tooltip.vue",dirPath:"components/UI",fileContent:`<template>
|
|
10652
10658
|
<UiTooltipProvider v-bind="props">
|
|
10653
|
-
<TooltipRoot v-bind="{ ...forwarded, ...$attrs }">
|
|
10654
|
-
<slot>
|
|
10655
|
-
<slot name="trigger" />
|
|
10656
|
-
<slot name="content" />
|
|
10659
|
+
<TooltipRoot v-slot="slotProps" v-bind="{ ...forwarded, ...$attrs }">
|
|
10660
|
+
<slot v-bind="slotProps">
|
|
10661
|
+
<slot v-bind="slotProps" name="trigger" />
|
|
10662
|
+
<slot v-bind="slotProps" name="content" />
|
|
10657
10663
|
</slot>
|
|
10658
10664
|
</TooltipRoot>
|
|
10659
10665
|
</UiTooltipProvider>
|
|
@@ -10775,7 +10781,7 @@ export { toast, useToast };
|
|
|
10775
10781
|
label?: string;
|
|
10776
10782
|
icon?: string;
|
|
10777
10783
|
hint?: string;
|
|
10778
|
-
modelValue?:
|
|
10784
|
+
modelValue?: any;
|
|
10779
10785
|
name?: string;
|
|
10780
10786
|
id?: string;
|
|
10781
10787
|
rules?: any;
|