@soft-stech/bootsman-ui-shadcn 0.1.0-beta.6 → 0.1.0-beta.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -6040,6 +6040,7 @@ export {
|
|
6040
6040
|
Pi as AlertDescription,
|
6041
6041
|
Mi as AlertTitle,
|
6042
6042
|
Ki as Badge,
|
6043
|
+
_i as BuiButton,
|
6043
6044
|
zi as BuiForm,
|
6044
6045
|
Li as BuiFormControl,
|
6045
6046
|
Wi as BuiFormDescription,
|
@@ -6048,6 +6049,7 @@ export {
|
|
6048
6049
|
Ui as BuiFormLabel,
|
6049
6050
|
Gi as BuiFormMessage,
|
6050
6051
|
Fi as BuiInput,
|
6052
|
+
Hi as BuiLabel,
|
6051
6053
|
qi as BuiSwitch,
|
6052
6054
|
Ji as BuiTable,
|
6053
6055
|
Qi as BuiTableBody,
|
@@ -6058,8 +6060,6 @@ export {
|
|
6058
6060
|
Xi as BuiTableHead,
|
6059
6061
|
Yi as BuiTableHeader,
|
6060
6062
|
Si as BuiTableRow,
|
6061
|
-
_i as Button,
|
6062
|
-
Hi as Label,
|
6063
6063
|
Zo as alertVariants,
|
6064
6064
|
xi as badgeVariants,
|
6065
6065
|
wi as buttonVariants,
|
@@ -52,4 +52,4 @@ Defaulting to \`undefined\`.`);return}}function rr(e,t){const r=He(e,"modelValue
|
|
52
52
|
data-[state=checked]:hover:bg-accent-foreground data-[state=unchecked]:hover:bg-gray-50 disabled:data-[state=checked]:border-accent/30 disabled:data-[state=checked]:bg-accent/30
|
53
53
|
disabled:data-[state=unchecked]:bg-slate-300/[.16] dark:data-[state=unchecked]:border-border dark:data-[state=unchecked]:bg-input/15
|
54
54
|
dark:data-[state=unchecked]:hover:bg-accent/30 dark:data-[state=checked]:hover:enabled:border-primary-hover dark:data-[state=checked]:hover:enabled:bg-primary-hover dark:data-[state=unchecked]:disabled:border-foreground/30 dark:data-[state=unchecked]:disabled:bg-foreground/30`,r.class)}),{default:n.withCtx(()=>[n.createVNode(n.unref(hr),{class:n.normalizeClass(n.unref(L)(`pointer-events-none block h-3 w-3 rounded-full bg-gray-400 shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[26px] data-[state=unchecked]:translate-x-1 data-[state=checked]:bg-background
|
55
|
-
dark:data-[disabled]:bg-foreground/30 dark:data-[state=checked]:bg-foreground dark:data-[state=unchecked]:bg-foreground`))},null,8,["class"])]),_:1},16,["class"]))}}),Fa=n.defineComponent({__name:"BuiLabel",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.unref(Ut),n.mergeProps(t,{class:n.unref(L)("block text-left text-sm font-semibold leading-6 text-foreground",t.class)}),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Ra=n.defineComponent({__name:"BuiBadge",props:{variant:{},dismissable:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const r=t;return(o,a)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(L)(n.unref(In)({variant:o.variant}),o.$attrs.class??""))},[n.renderSlot(o.$slots,"default"),o.dismissable?(n.openBlock(),n.createBlock(En,{key:0,variant:"none",size:"icon",class:"focus-visible:ring-offset-0",onClick:a[0]||(a[0]=l=>r("close"))},{default:n.withCtx(()=>[n.createVNode(n.unref(eo),{class:"h-3 w-3"})]),_:1})):n.createCommentVNode("",!0)],2))}}),In=Ze("px-2 py-1 inline-flex items-center rounded font-normal transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 text-[13px] leading-5 gap-1",{variants:{variant:{default:"bg-primary/[0.08] text-foreground hover:bg-primary/[0.16] dark:bg-primary/30 dark:hover:bg-primary/65"}},defaultVariants:{variant:"default"}}),za={class:"w-full overflow-auto rounded border border-border/[0.16]"},Ua=n.defineComponent({__name:"BuiTable",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("div",za,[n.createElementVNode("table",{class:n.normalizeClass(n.unref(L)("w-full caption-top text-sm",t.class))},[n.renderSlot(r.$slots,"default")],2)]))}}),Da=n.defineComponent({__name:"BuiTableBody",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("tbody",{class:n.normalizeClass(n.unref(L)("[&_tr:last-child]:border-0",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),Tn=n.defineComponent({__name:"BuiTableCell",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("td",{class:n.normalizeClass(n.unref(L)("p-4 align-middle first:pl-8 last:pr-8 [&:has([role=checkbox])]:pr-0",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),La={class:"flex h-10 items-center border-r border-border/[0.16] p-4"},Ga=n.defineComponent({__name:"BuiTableHead",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("th",{class:n.normalizeClass(n.unref(L)("h-14 bg-foreground/[0.04] text-left align-middle text-base font-semibold text-foreground [&:has([role=checkbox])]:pr-0 ",t.class))},[n.createElementVNode("div",La,[n.renderSlot(r.$slots,"default")])],2))}}),Wa=n.defineComponent({__name:"BuiTableHeader",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("thead",{class:n.normalizeClass(n.unref(L)("[&_th:first-child_div]:pl-8 [&_th:last-child_div]:border-0 [&_th:last-child_div]:pr-8 [&_tr]:border-b [&_tr]:border-border/[0.16]",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),Nn=n.defineComponent({__name:"BuiTableRow",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("tr",{class:n.normalizeClass(n.unref(L)("border-b border-border/[0.08] transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),qa=n.defineComponent({__name:"BuiTableCaption",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("caption",{class:n.normalizeClass(n.unref(L)("px-8 py-4 text-left",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),Ha={class:"flex items-center justify-center py-10"},Ka=n.defineComponent({__name:"BuiTableEmpty",props:{class:{default:""},colspan:{default:1}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(Nn,null,{default:n.withCtx(()=>[n.createVNode(Tn,{class:n.normalizeClass(n.unref(L)("whitespace-nowrap p-4 text-foreground/[0.32]",t.class)),colspan:t.colspan},{default:n.withCtx(()=>[n.createElementVNode("div",Ha,[n.renderSlot(r.$slots,"default")])]),_:3},8,["class","colspan"])]),_:3}))}}),Ja=n.defineComponent({__name:"BuiTableFooter",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("tfoot",{class:n.normalizeClass(n.unref(L)("border-t border-border/[0.16] bg-primary/[0.04] text-base font-semibold text-foreground/[0.32]",t.class))},[n.renderSlot(r.$slots,"default")],2))}});E.Accordion=br,E.AccordionContent=Qr,E.AccordionItem=Xr,E.AccordionTrigger=ro,E.Alert=uo,E.AlertDescription=fo,E.AlertTitle=co,E.Badge=Ra,E.BuiForm=xa,E.BuiFormControl=Na,E.BuiFormDescription=$a,E.BuiFormField=va,E.BuiFormItem=Ia,E.BuiFormLabel=Ta,E.BuiFormMessage=ja,E.BuiInput=bo,E.BuiSwitch=Ma,E.BuiTable=Ua,E.BuiTableBody=Da,E.BuiTableCaption=qa,E.BuiTableCell=Tn,E.BuiTableEmpty=Ka,E.BuiTableFooter=Ja,E.BuiTableHead=Ga,E.BuiTableHeader=Wa,E.BuiTableRow=Nn,E.
|
55
|
+
dark:data-[disabled]:bg-foreground/30 dark:data-[state=checked]:bg-foreground dark:data-[state=unchecked]:bg-foreground`))},null,8,["class"])]),_:1},16,["class"]))}}),Fa=n.defineComponent({__name:"BuiLabel",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(n.unref(Ut),n.mergeProps(t,{class:n.unref(L)("block text-left text-sm font-semibold leading-6 text-foreground",t.class)}),{default:n.withCtx(()=>[n.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Ra=n.defineComponent({__name:"BuiBadge",props:{variant:{},dismissable:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const r=t;return(o,a)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(L)(n.unref(In)({variant:o.variant}),o.$attrs.class??""))},[n.renderSlot(o.$slots,"default"),o.dismissable?(n.openBlock(),n.createBlock(En,{key:0,variant:"none",size:"icon",class:"focus-visible:ring-offset-0",onClick:a[0]||(a[0]=l=>r("close"))},{default:n.withCtx(()=>[n.createVNode(n.unref(eo),{class:"h-3 w-3"})]),_:1})):n.createCommentVNode("",!0)],2))}}),In=Ze("px-2 py-1 inline-flex items-center rounded font-normal transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 text-[13px] leading-5 gap-1",{variants:{variant:{default:"bg-primary/[0.08] text-foreground hover:bg-primary/[0.16] dark:bg-primary/30 dark:hover:bg-primary/65"}},defaultVariants:{variant:"default"}}),za={class:"w-full overflow-auto rounded border border-border/[0.16]"},Ua=n.defineComponent({__name:"BuiTable",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("div",za,[n.createElementVNode("table",{class:n.normalizeClass(n.unref(L)("w-full caption-top text-sm",t.class))},[n.renderSlot(r.$slots,"default")],2)]))}}),Da=n.defineComponent({__name:"BuiTableBody",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("tbody",{class:n.normalizeClass(n.unref(L)("[&_tr:last-child]:border-0",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),Tn=n.defineComponent({__name:"BuiTableCell",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("td",{class:n.normalizeClass(n.unref(L)("p-4 align-middle first:pl-8 last:pr-8 [&:has([role=checkbox])]:pr-0",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),La={class:"flex h-10 items-center border-r border-border/[0.16] p-4"},Ga=n.defineComponent({__name:"BuiTableHead",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("th",{class:n.normalizeClass(n.unref(L)("h-14 bg-foreground/[0.04] text-left align-middle text-base font-semibold text-foreground [&:has([role=checkbox])]:pr-0 ",t.class))},[n.createElementVNode("div",La,[n.renderSlot(r.$slots,"default")])],2))}}),Wa=n.defineComponent({__name:"BuiTableHeader",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("thead",{class:n.normalizeClass(n.unref(L)("[&_th:first-child_div]:pl-8 [&_th:last-child_div]:border-0 [&_th:last-child_div]:pr-8 [&_tr]:border-b [&_tr]:border-border/[0.16]",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),Nn=n.defineComponent({__name:"BuiTableRow",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("tr",{class:n.normalizeClass(n.unref(L)("border-b border-border/[0.08] transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),qa=n.defineComponent({__name:"BuiTableCaption",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("caption",{class:n.normalizeClass(n.unref(L)("px-8 py-4 text-left",t.class))},[n.renderSlot(r.$slots,"default")],2))}}),Ha={class:"flex items-center justify-center py-10"},Ka=n.defineComponent({__name:"BuiTableEmpty",props:{class:{default:""},colspan:{default:1}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createBlock(Nn,null,{default:n.withCtx(()=>[n.createVNode(Tn,{class:n.normalizeClass(n.unref(L)("whitespace-nowrap p-4 text-foreground/[0.32]",t.class)),colspan:t.colspan},{default:n.withCtx(()=>[n.createElementVNode("div",Ha,[n.renderSlot(r.$slots,"default")])]),_:3},8,["class","colspan"])]),_:3}))}}),Ja=n.defineComponent({__name:"BuiTableFooter",props:{class:{}},setup(e){const t=e;return(r,o)=>(n.openBlock(),n.createElementBlock("tfoot",{class:n.normalizeClass(n.unref(L)("border-t border-border/[0.16] bg-primary/[0.04] text-base font-semibold text-foreground/[0.32]",t.class))},[n.renderSlot(r.$slots,"default")],2))}});E.Accordion=br,E.AccordionContent=Qr,E.AccordionItem=Xr,E.AccordionTrigger=ro,E.Alert=uo,E.AlertDescription=fo,E.AlertTitle=co,E.Badge=Ra,E.BuiButton=En,E.BuiForm=xa,E.BuiFormControl=Na,E.BuiFormDescription=$a,E.BuiFormField=va,E.BuiFormItem=Ia,E.BuiFormLabel=Ta,E.BuiFormMessage=ja,E.BuiInput=bo,E.BuiLabel=Fa,E.BuiSwitch=Ma,E.BuiTable=Ua,E.BuiTableBody=Da,E.BuiTableCaption=qa,E.BuiTableCell=Tn,E.BuiTableEmpty=Ka,E.BuiTableFooter=Ja,E.BuiTableHead=Ga,E.BuiTableHeader=Wa,E.BuiTableRow=Nn,E.alertVariants=en,E.badgeVariants=In,E.buttonVariants=An,E.inputVariants=tn,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { default as
|
1
|
+
export { default as BuiButton } from './BuiButton.vue';
|
2
2
|
export declare const buttonVariants: any;
|
@@ -1 +1 @@
|
|
1
|
-
export { default as
|
1
|
+
export { default as BuiLabel } from './BuiLabel.vue';
|