@soybeanjs/ui 0.0.2-beta.9 → 0.0.3-beta.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/README.md +38 -10
- package/dist/components/accordion/accordion.vue.d.ts +3 -3
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/alert/alert.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-action.js +1 -1
- package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-cancel.js +1 -1
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog.js +1 -1
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +6 -5
- package/dist/components/alert-dialog/types.d.ts +12 -1
- package/dist/components/avatar/avatar.vue.d.ts +7 -7
- package/dist/components/badge/badge.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button-group.vue.d.ts +6 -6
- package/dist/components/button/button-icon.js +1 -1
- package/dist/components/button/button-icon.vue.d.ts +3 -3
- package/dist/components/button/button-link.vue.d.ts +4 -4
- package/dist/components/button/button-loading.js +1 -1
- package/dist/components/button/button-loading.vue.d.ts +3 -3
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button.vue.d.ts +4 -4
- package/dist/components/card/card.js +1 -1
- package/dist/components/card/card.vue.d.ts +3 -3
- package/dist/components/card/types.d.ts +0 -6
- package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
- package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
- package/dist/components/collapsible/collapsible.vue.d.ts +5 -5
- package/dist/components/command/command.vue.d.ts +7 -7
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +7 -7
- package/dist/components/config-provider/context.js +1 -1
- package/dist/components/config-provider/types.d.ts +2 -0
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +12 -12
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +12 -12
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +15 -15
- package/dist/components/context-menu/context-menu.vue.d.ts +11 -11
- package/dist/components/dialog/context.d.ts +8 -0
- package/dist/components/dialog/context.js +1 -0
- package/dist/components/dialog/dialog-close.js +1 -1
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-provider.js +1 -0
- package/dist/components/dialog/dialog-pure.js +1 -1
- package/dist/components/dialog/dialog-pure.vue.d.ts +15 -15
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/dialog/dialog.vue.d.ts +15 -15
- package/dist/components/dialog/index.d.ts +2 -1
- package/dist/components/dialog/types.d.ts +26 -3
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/drawer/drawer.vue.d.ts +16 -16
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +12 -12
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +12 -12
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +15 -15
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +11 -11
- package/dist/components/form/form-field-array.vue.d.ts +2 -2
- package/dist/components/form/form-field.vue.d.ts +2 -2
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/icon/icon.vue.d.ts +4 -4
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +3 -3
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/layout/layout.vue.d.ts +4 -4
- package/dist/components/link/link.vue.d.ts +3 -3
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-options.vue.d.ts +5 -5
- package/dist/components/menu/menu-option.vue.d.ts +11 -11
- package/dist/components/menu/menu-options.vue.d.ts +11 -11
- package/dist/components/menu/menu-radio-options.vue.d.ts +5 -5
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +15 -15
- package/dist/components/number-input/number-input.vue.d.ts +4 -4
- package/dist/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/components/password/password.vue.d.ts +4 -4
- package/dist/components/popover/popover.vue.d.ts +15 -15
- package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio.vue.d.ts +2 -2
- package/dist/components/segment/segment.vue.d.ts +3 -3
- package/dist/components/select/select.vue.d.ts +9 -9
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/switch/switch.vue.d.ts +16 -16
- package/dist/components/tabs/tabs.vue.d.ts +3 -3
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/toast/context.d.ts +8 -0
- package/dist/components/toast/context.js +1 -0
- package/dist/components/toast/index.d.ts +5 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toast/shared.js +1 -0
- package/dist/components/toast/toast-provider.js +1 -0
- package/dist/components/toast/toast.js +1 -0
- package/dist/components/toast/toast.vue.d.ts +21 -0
- package/dist/components/toast/types.d.ts +60 -0
- package/dist/components/tooltip/tooltip.vue.d.ts +11 -11
- package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
- package/dist/components/tree/tree.vue.d.ts +5 -5
- package/dist/components/tree-menu/tree-menu-item-wrapper.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-item.js +1 -1
- package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
- package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
- package/dist/constants/components.d.ts +50 -0
- package/dist/constants/components.js +1 -0
- package/dist/index.d.ts +13 -8
- package/dist/index.js +1 -1
- package/dist/nuxt/index.d.ts +10 -0
- package/dist/nuxt/index.js +1 -0
- package/dist/resolver/index.d.ts +6 -0
- package/dist/resolver/index.js +1 -0
- package/dist/styles.css +6 -14
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/shared.d.ts +1 -0
- package/dist/theme/shared.js +1 -1
- package/dist/variants/alert.d.ts +3 -3
- package/dist/variants/badge.d.ts +3 -3
- package/dist/variants/button.d.ts +3 -3
- package/dist/variants/checkbox.d.ts +3 -3
- package/dist/variants/kbd.d.ts +3 -3
- package/dist/variants/pagination.d.ts +3 -3
- package/dist/variants/radio-group.d.ts +3 -3
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tabs.d.ts +3 -3
- package/dist/variants/tag.d.ts +3 -3
- package/dist/variants/textarea.d.ts +3 -3
- package/dist/variants/toast.d.ts +61 -0
- package/dist/variants/toast.js +1 -0
- package/dist/variants/tree-menu.js +1 -1
- package/package.json +26 -15
package/dist/styles.css
CHANGED
|
@@ -260,6 +260,9 @@ body {
|
|
|
260
260
|
font-size: 24px;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
/* layer: typography */
|
|
264
|
+
:is(.prose-slate){color:var(--un-prose-body);max-width:65ch;:where(p):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:1.25em;margin-bottom:1.25em;}:where([class~="lead"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em;}:where(a):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-links);text-decoration:underline;font-weight:500;}:where(strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-bold);font-weight:600;}:where(a strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(blockquote strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(thead th strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(ol):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;}:where(ol[type="A"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:upper-alpha;}:where(ol[type="a"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:lower-alpha;}:where(ol[type="A" s]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:upper-alpha;}:where(ol[type="a" s]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:lower-alpha;}:where(ol[type="I"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:upper-roman;}:where(ol[type="i"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:lower-roman;}:where(ol[type="I" s]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:upper-roman;}:where(ol[type="i" s]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:lower-roman;}:where(ol[type="1"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:decimal;}:where(ul):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;}:where(ol > li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::marker {font-weight:400;color:var(--un-prose-counters);}:where(ul > li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::marker {color:var(--un-prose-bullets);}:where(dt):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:600;margin-top:1.25em;}:where(hr):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-color:var(--un-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em;}:where(blockquote):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:500;font-style:italic;color:var(--un-prose-quotes);border-inline-start-width:0.25rem;border-inline-start-color:var(--un-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;}:where(blockquote p:first-of-type):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::before {content:open-quote;}:where(blockquote p:last-of-type):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::after {content:close-quote;}:where(h1):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:0.8888889em;line-height:1.1111111;}:where(h1 strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:900;color:inherit;}:where(h2):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333;}:where(h2 strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:800;color:inherit;}:where(h3):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:0.6em;line-height:1.6;}:where(h3 strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:700;color:inherit;}:where(h4):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:0.5em;line-height:1.5;}:where(h4 strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:700;color:inherit;}:where(img):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:2em;margin-bottom:2em;}:where(picture):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {display:block;margin-top:2em;margin-bottom:2em;}:where(video):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:2em;margin-bottom:2em;}:where(kbd):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:500;font-family:inherit;color:var(--un-prose-kbd);box-shadow:0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%);font-size:0.875em;border-radius:0.3125rem;padding-top:0.1875em;padding-inline-end:0.375em;padding-bottom:0.1875em;padding-inline-start:0.375em;}:where(code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-code);font-weight:600;font-size:0.875em;}:where(code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::before {content:"`";}:where(code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::after {content:"`";}:where(a code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(h1 code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(h2 code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;font-size:0.875em;}:where(h3 code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;font-size:0.9em;}:where(h4 code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(blockquote code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(thead th code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(pre):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-pre-code);background-color:var(--un-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:0.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:0.375rem;padding-top:0.8571429em;padding-inline-end:1.1428571em;padding-bottom:0.8571429em;padding-inline-start:1.1428571em;}:where(pre code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;}:where(pre code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::before {content:none;}:where(pre code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::after {content:none;}:where(table):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:0.875em;line-height:1.7142857;}:where(thead):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-bottom-width:1px;border-bottom-color:var(--un-prose-th-borders);}:where(thead th):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:0.5714286em;padding-bottom:0.5714286em;padding-inline-start:0.5714286em;}:where(tbody tr):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-bottom-width:1px;border-bottom-color:var(--un-prose-td-borders);}:where(tbody tr:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-bottom-width:0;}:where(tbody td):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {vertical-align:baseline;}:where(tfoot):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-top-width:1px;border-top-color:var(--un-prose-th-borders);}:where(tfoot td):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {vertical-align:top;}:where(th, td):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {text-align:start;}:where(figure > *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;margin-bottom:0;}:where(figcaption):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-captions);font-size:0.875em;line-height:1.4285714;margin-top:0.8571429em;}font-size:1rem;line-height:1.75;:where(picture > img):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;margin-bottom:0;}:where(li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0.5em;margin-bottom:0.5em;}:where(ol > li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-start:0.375em;}:where(ul > li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-start:0.375em;}:where(> ul > li p):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0.75em;margin-bottom:0.75em;}:where(> ul > li > p:first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:1.25em;}:where(> ul > li > p:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-bottom:1.25em;}:where(> ol > li > p:first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:1.25em;}:where(> ol > li > p:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-bottom:1.25em;}:where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0.75em;margin-bottom:0.75em;}:where(dl):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:1.25em;margin-bottom:1.25em;}:where(dd):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0.5em;padding-inline-start:1.625em;}:where(hr + *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(h2 + *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(h3 + *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(h4 + *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(thead th:first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-start:0;}:where(thead th:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-end:0;}:where(tbody td, tfoot td):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-top:0.5714286em;padding-inline-end:0.5714286em;padding-bottom:0.5714286em;padding-inline-start:0.5714286em;}:where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-start:0;}:where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-end:0;}:where(figure):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:2em;margin-bottom:2em;}:where(> :first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(> :last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-bottom:0;}--un-prose-body:#374151;--un-prose-invert-body:#d1d5db;--un-prose-headings:#111827;--un-prose-invert-headings:white;--un-prose-lead:#4b5563;--un-prose-invert-lead:#9ca3af;--un-prose-links:#111827;--un-prose-invert-links:white;--un-prose-bold:#111827;--un-prose-invert-bold:white;--un-prose-counters:#6b7280;--un-prose-invert-counters:#9ca3af;--un-prose-bullets:#d1d5db;--un-prose-invert-bullets:#4b5563;--un-prose-hr:#e5e7eb;--un-prose-invert-hr:#374151;--un-prose-quotes:#111827;--un-prose-invert-quotes:#f3f4f6;--un-prose-quote-borders:#e5e7eb;--un-prose-invert-quote-borders:#374151;--un-prose-captions:#6b7280;--un-prose-invert-captions:#9ca3af;--un-prose-kbd:#111827;--un-prose-invert-kbd:white;--un-prose-kbd-shadows:#111827;--un-prose-invert-kbd-shadows:white;--un-prose-code:#111827;--un-prose-invert-code:white;--un-prose-pre-code:#e5e7eb;--un-prose-invert-pre-code:#d1d5db;--un-prose-pre-bg:#1f2937;--un-prose-invert-pre-bg:rgb(0 0 0 / 50%);--un-prose-th-borders:#d1d5db;--un-prose-invert-th-borders:#4b5563;--un-prose-td-borders:#e5e7eb;--un-prose-invert-td-borders:#374151;}
|
|
265
|
+
.dark :is(.dark\:prose-slate-invert){--un-prose-body:var(--un-prose-invert-body);--un-prose-headings:var(--un-prose-invert-headings);--un-prose-lead:var(--un-prose-invert-lead);--un-prose-links:var(--un-prose-invert-links);--un-prose-bold:var(--un-prose-invert-bold);--un-prose-counters:var(--un-prose-invert-counters);--un-prose-bullets:var(--un-prose-invert-bullets);--un-prose-hr:var(--un-prose-invert-hr);--un-prose-quotes:var(--un-prose-invert-quotes);--un-prose-quote-borders:var(--un-prose-invert-quote-borders);--un-prose-captions:var(--un-prose-invert-captions);--un-prose-kbd:var(--un-prose-invert-kbd);--un-prose-kbd-shadows:var(--un-prose-invert-kbd-shadows);--un-prose-code:var(--un-prose-invert-code);--un-prose-pre-code:var(--un-prose-invert-pre-code);--un-prose-pre-bg:var(--un-prose-invert-pre-bg);--un-prose-th-borders:var(--un-prose-invert-th-borders);--un-prose-td-borders:var(--un-prose-invert-td-borders);}
|
|
263
266
|
/* layer: default */
|
|
264
267
|
.\[--soybean-layout-spacing\:0\.75rem\]{--soybean-layout-spacing:0.75rem;}
|
|
265
268
|
.\[--soybean-layout-spacing\:0\.875rem\]{--soybean-layout-spacing:0.875rem;}
|
|
@@ -407,6 +410,7 @@ body {
|
|
|
407
410
|
.order-1{order:1;}
|
|
408
411
|
.grid{display:grid;}
|
|
409
412
|
.grid-cols-\[auto_auto\]{grid-template-columns:auto auto;}
|
|
413
|
+
.m-auto{margin:auto;}
|
|
410
414
|
.-mx-0\.75{margin-left:-0.1875rem;margin-right:-0.1875rem;}
|
|
411
415
|
.-mx-0\.875{margin-left:-0.21875rem;margin-right:-0.21875rem;}
|
|
412
416
|
.-mx-1{margin-left:-0.25rem;margin-right:-0.25rem;}
|
|
@@ -902,6 +906,7 @@ body {
|
|
|
902
906
|
.data-\[state\=indeterminate\]\:bg-accent-foreground\/5[data-state=indeterminate]{background-color:hsl(var(--accent-foreground) / 0.05) /* hsl(var(--accent-foreground)) */;}
|
|
903
907
|
.bg-accent-foreground\/60{background-color:hsl(var(--accent-foreground) / 0.6) /* hsl(var(--accent-foreground)) */;}
|
|
904
908
|
.bg-background,
|
|
909
|
+
.dark .dark\:bg-background,
|
|
905
910
|
.data-\[selected\]\:bg-background[data-selected],
|
|
906
911
|
.data-\[state\=active\]\:bg-background[data-state=active]{--un-bg-opacity:1;background-color:hsl(var(--background) / var(--un-bg-opacity)) /* hsl(var(--background)) */;}
|
|
907
912
|
.bg-black\/80{background-color:rgb(0 0 0 / 0.8) /* #000 */;}
|
|
@@ -1106,16 +1111,10 @@ body {
|
|
|
1106
1111
|
.pl-9{padding-left:2.25rem;}
|
|
1107
1112
|
.pr-1{padding-right:0.25rem;}
|
|
1108
1113
|
.pr-1\.5{padding-right:0.375rem;}
|
|
1109
|
-
.pr-10{padding-right:2.5rem;}
|
|
1110
|
-
.pr-12{padding-right:3rem;}
|
|
1111
1114
|
.pr-2{padding-right:0.5rem;}
|
|
1112
1115
|
.pr-2\.5{padding-right:0.625rem;}
|
|
1113
1116
|
.pr-3{padding-right:0.75rem;}
|
|
1114
1117
|
.pr-3\.5{padding-right:0.875rem;}
|
|
1115
|
-
.pr-6{padding-right:1.5rem;}
|
|
1116
|
-
.pr-7{padding-right:1.75rem;}
|
|
1117
|
-
.pr-8{padding-right:2rem;}
|
|
1118
|
-
.pr-9{padding-right:2.25rem;}
|
|
1119
1118
|
.pt-3{padding-top:0.75rem;}
|
|
1120
1119
|
.pt-3\.5{padding-top:0.875rem;}
|
|
1121
1120
|
.pt-4{padding-top:1rem;}
|
|
@@ -1123,6 +1122,7 @@ body {
|
|
|
1123
1122
|
.pt-5{padding-top:1.25rem;}
|
|
1124
1123
|
.pt-6{padding-top:1.5rem;}
|
|
1125
1124
|
.text-center{text-align:center;}
|
|
1125
|
+
.text-left{text-align:left;}
|
|
1126
1126
|
.text-2xl{font-size:1.5rem;line-height:2rem;}
|
|
1127
1127
|
.text-2xs{font-size:0.625rem;line-height:0.75rem;}
|
|
1128
1128
|
.text-3{font-size:0.75rem;}
|
|
@@ -1185,7 +1185,6 @@ body {
|
|
|
1185
1185
|
.text-muted{--un-text-opacity:1;color:hsl(var(--muted) / var(--un-text-opacity)) /* hsl(var(--muted)) */;}
|
|
1186
1186
|
.text-muted-foreground\/50{color:hsl(var(--muted-foreground) / 0.5) /* hsl(var(--muted-foreground)) */;}
|
|
1187
1187
|
.text-popover-foreground{--un-text-opacity:1;color:hsl(var(--popover-foreground) / var(--un-text-opacity)) /* hsl(var(--popover-foreground)) */;}
|
|
1188
|
-
.text-secondary{--un-text-opacity:1;color:hsl(var(--secondary) / var(--un-text-opacity)) /* hsl(var(--secondary)) */;}
|
|
1189
1188
|
.text-success{--un-text-opacity:1;color:hsl(var(--success) / var(--un-text-opacity)) /* hsl(var(--success)) */;}
|
|
1190
1189
|
.text-warning{--un-text-opacity:1;color:hsl(var(--warning) / var(--un-text-opacity)) /* hsl(var(--warning)) */;}
|
|
1191
1190
|
.\[\&\:not\(\[data-selected\]\)\]\:hover\:text-accent-foreground:hover:not([data-selected]){--un-text-opacity:1;color:hsl(var(--accent-foreground) / var(--un-text-opacity)) /* hsl(var(--accent-foreground)) */;}
|
|
@@ -1243,8 +1242,6 @@ body {
|
|
|
1243
1242
|
.opacity-0{opacity:0;}
|
|
1244
1243
|
.opacity-60{opacity:0.6;}
|
|
1245
1244
|
.opacity-70{opacity:0.7;}
|
|
1246
|
-
.opacity-90{opacity:0.9;}
|
|
1247
|
-
.group:hover .group-hover\:opacity-100{opacity:1;}
|
|
1248
1245
|
.hover\:opacity-100:hover{opacity:1;}
|
|
1249
1246
|
.disabled\:opacity-20:disabled{opacity:0.2;}
|
|
1250
1247
|
.disabled\:opacity-50:disabled{opacity:0.5;}
|
|
@@ -1304,7 +1301,6 @@ body {
|
|
|
1304
1301
|
.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
|
|
1305
1302
|
.transition-all-200{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;}
|
|
1306
1303
|
.transition-colors-200{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;}
|
|
1307
|
-
.transition-opacity-200{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;}
|
|
1308
1304
|
.transition-transform-200{transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;}
|
|
1309
1305
|
.transition-width{transition-property:width;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
|
|
1310
1306
|
.data-\[state\=closed\]\:duration-300[data-state=closed],
|
|
@@ -1367,13 +1363,9 @@ body {
|
|
|
1367
1363
|
.lt-sm\:left-7\/8{left:87.5%;}
|
|
1368
1364
|
}
|
|
1369
1365
|
@media (min-width: 640px){
|
|
1370
|
-
.sm\:bottom-0{bottom:0;}
|
|
1371
|
-
.sm\:right-0{right:0;}
|
|
1372
|
-
.sm\:top-auto{top:auto;}
|
|
1373
1366
|
.sm\:max-w-sm{max-width:24rem;}
|
|
1374
1367
|
.sm\:flex{display:flex;}
|
|
1375
1368
|
.sm\:flex-row{flex-direction:row;}
|
|
1376
|
-
.sm\:flex-col{flex-direction:column;}
|
|
1377
1369
|
.sm\:justify-end{justify-content:flex-end;}
|
|
1378
1370
|
.sm\:rounded-lg{border-radius:var(--radius);}
|
|
1379
1371
|
.sm\:text-left{text-align:left;}
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ClassValue } from "@soybeanjs/headless";
|
package/dist/theme/shared.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cn as e}from"./merge.js";function t(t,n){return Object.entries(t).reduce((t,[r,i])=>{let a=r;return t[a]=e(i(),n?.[a]),t},{})}export{t as mergeSlotVariants};
|
|
1
|
+
import{cn as e}from"./merge.js";function t(t,n){return Object.entries(t).reduce((t,[r,i])=>{let a=r;return t[a]=e(i(),n?.[a]),t},{})}function n(t,n){return Object.entries(t).reduce((t,[r,i])=>(Object.assign(t,{[r]:e(i,n[r])}),t),{})}export{t as mergeSlotVariants,n as mergeUi};
|
package/dist/variants/alert.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/alert.d.ts
|
|
5
|
-
declare const alertVariants:
|
|
5
|
+
declare const alertVariants: tailwind_variants0.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: {
|
|
8
8
|
root: string;
|
|
@@ -196,7 +196,7 @@ declare const alertVariants: tailwind_variants3.TVReturnType<{
|
|
|
196
196
|
title: string;
|
|
197
197
|
description: string;
|
|
198
198
|
closable: string;
|
|
199
|
-
},
|
|
199
|
+
}, tailwind_variants0.TVReturnType<{
|
|
200
200
|
color: {
|
|
201
201
|
primary: {
|
|
202
202
|
root: string;
|
package/dist/variants/badge.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants1 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/badge.d.ts
|
|
5
|
-
declare const badgeVariants:
|
|
5
|
+
declare const badgeVariants: tailwind_variants1.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: {
|
|
8
8
|
content: string;
|
|
@@ -130,7 +130,7 @@ declare const badgeVariants: tailwind_variants9.TVReturnType<{
|
|
|
130
130
|
}, {
|
|
131
131
|
root: string;
|
|
132
132
|
content: string;
|
|
133
|
-
},
|
|
133
|
+
}, tailwind_variants1.TVReturnType<{
|
|
134
134
|
color: {
|
|
135
135
|
primary: {
|
|
136
136
|
content: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants3 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/button.d.ts
|
|
5
|
-
declare const buttonVariants:
|
|
5
|
+
declare const buttonVariants: tailwind_variants3.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: string;
|
|
8
8
|
destructive: string;
|
|
@@ -92,7 +92,7 @@ declare const buttonVariants: tailwind_variants25.TVReturnType<{
|
|
|
92
92
|
true: string;
|
|
93
93
|
false: string;
|
|
94
94
|
};
|
|
95
|
-
}, undefined,
|
|
95
|
+
}, undefined, tailwind_variants3.TVReturnType<{
|
|
96
96
|
color: {
|
|
97
97
|
primary: string;
|
|
98
98
|
destructive: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants11 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/checkbox.d.ts
|
|
5
|
-
declare const checkboxVariants:
|
|
5
|
+
declare const checkboxVariants: tailwind_variants11.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: {
|
|
8
8
|
control: string;
|
|
@@ -164,7 +164,7 @@ declare const checkboxVariants: tailwind_variants21.TVReturnType<{
|
|
|
164
164
|
control: string[];
|
|
165
165
|
indicator: string;
|
|
166
166
|
label: string;
|
|
167
|
-
},
|
|
167
|
+
}, tailwind_variants11.TVReturnType<{
|
|
168
168
|
color: {
|
|
169
169
|
primary: {
|
|
170
170
|
control: string;
|
package/dist/variants/kbd.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants15 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/kbd.d.ts
|
|
5
|
-
declare const kbdVariants:
|
|
5
|
+
declare const kbdVariants: tailwind_variants15.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
solid: string;
|
|
8
8
|
outline: string;
|
|
@@ -30,7 +30,7 @@ declare const kbdVariants: tailwind_variants17.TVReturnType<{
|
|
|
30
30
|
xl: string;
|
|
31
31
|
'2xl': string;
|
|
32
32
|
};
|
|
33
|
-
}, undefined,
|
|
33
|
+
}, undefined, tailwind_variants15.TVReturnType<{
|
|
34
34
|
variant: {
|
|
35
35
|
solid: string;
|
|
36
36
|
outline: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants31 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/pagination.d.ts
|
|
5
|
-
declare const paginationVariants:
|
|
5
|
+
declare const paginationVariants: tailwind_variants31.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
list: string;
|
|
@@ -150,7 +150,7 @@ declare const paginationVariants: tailwind_variants1.TVReturnType<{
|
|
|
150
150
|
ellipsis: string;
|
|
151
151
|
button: string[];
|
|
152
152
|
navigationButton: string[];
|
|
153
|
-
},
|
|
153
|
+
}, tailwind_variants31.TVReturnType<{
|
|
154
154
|
size: {
|
|
155
155
|
xs: {
|
|
156
156
|
list: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants27 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/radio-group.d.ts
|
|
5
|
-
declare const radioGroupVariants:
|
|
5
|
+
declare const radioGroupVariants: tailwind_variants27.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: {
|
|
8
8
|
control: string;
|
|
@@ -180,7 +180,7 @@ declare const radioGroupVariants: tailwind_variants11.TVReturnType<{
|
|
|
180
180
|
control: string[];
|
|
181
181
|
indicator: string;
|
|
182
182
|
label: string;
|
|
183
|
-
},
|
|
183
|
+
}, tailwind_variants27.TVReturnType<{
|
|
184
184
|
color: {
|
|
185
185
|
primary: {
|
|
186
186
|
control: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants7 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/separator.d.ts
|
|
5
|
-
declare const separatorVariants:
|
|
5
|
+
declare const separatorVariants: tailwind_variants7.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
label: string;
|
|
@@ -114,7 +114,7 @@ declare const separatorVariants: tailwind_variants5.TVReturnType<{
|
|
|
114
114
|
}, {
|
|
115
115
|
root: string;
|
|
116
116
|
label: string;
|
|
117
|
-
},
|
|
117
|
+
}, tailwind_variants7.TVReturnType<{
|
|
118
118
|
size: {
|
|
119
119
|
xs: {
|
|
120
120
|
label: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants19 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/switch.d.ts
|
|
5
|
-
declare const switchVariants:
|
|
5
|
+
declare const switchVariants: tailwind_variants19.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: {
|
|
8
8
|
control: string;
|
|
@@ -136,7 +136,7 @@ declare const switchVariants: tailwind_variants15.TVReturnType<{
|
|
|
136
136
|
root: string;
|
|
137
137
|
control: string[];
|
|
138
138
|
thumb: string;
|
|
139
|
-
},
|
|
139
|
+
}, tailwind_variants19.TVReturnType<{
|
|
140
140
|
color: {
|
|
141
141
|
primary: {
|
|
142
142
|
control: string;
|
package/dist/variants/tabs.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants21 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/tabs.d.ts
|
|
5
|
-
declare const tabsVariants:
|
|
5
|
+
declare const tabsVariants: tailwind_variants21.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
root: string;
|
|
@@ -148,7 +148,7 @@ declare const tabsVariants: tailwind_variants19.TVReturnType<{
|
|
|
148
148
|
indicator: string;
|
|
149
149
|
indicatorContent: string;
|
|
150
150
|
content: string;
|
|
151
|
-
},
|
|
151
|
+
}, tailwind_variants21.TVReturnType<{
|
|
152
152
|
size: {
|
|
153
153
|
xs: {
|
|
154
154
|
root: string;
|
package/dist/variants/tag.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants9 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/tag.d.ts
|
|
5
|
-
declare const tagVariants:
|
|
5
|
+
declare const tagVariants: tailwind_variants9.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: string;
|
|
8
8
|
destructive: string;
|
|
@@ -64,7 +64,7 @@ declare const tagVariants: tailwind_variants7.TVReturnType<{
|
|
|
64
64
|
auto: string;
|
|
65
65
|
rounded: string;
|
|
66
66
|
};
|
|
67
|
-
}, undefined,
|
|
67
|
+
}, undefined, tailwind_variants9.TVReturnType<{
|
|
68
68
|
color: {
|
|
69
69
|
primary: string;
|
|
70
70
|
destructive: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants17 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/textarea.d.ts
|
|
5
|
-
declare const textareaVariants:
|
|
5
|
+
declare const textareaVariants: tailwind_variants17.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
root: string;
|
|
@@ -118,7 +118,7 @@ declare const textareaVariants: tailwind_variants0.TVReturnType<{
|
|
|
118
118
|
control: string[];
|
|
119
119
|
counter: string;
|
|
120
120
|
clearable: string;
|
|
121
|
-
},
|
|
121
|
+
}, tailwind_variants17.TVReturnType<{
|
|
122
122
|
size: {
|
|
123
123
|
xs: {
|
|
124
124
|
root: string;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as tailwind_variants23 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/variants/toast.d.ts
|
|
5
|
+
|
|
6
|
+
declare const toastViewportVariants: tailwind_variants23.TVReturnType<{
|
|
7
|
+
size: {
|
|
8
|
+
xs: string;
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
xl: string;
|
|
13
|
+
'2xl': string;
|
|
14
|
+
};
|
|
15
|
+
position: {
|
|
16
|
+
'top-left': string;
|
|
17
|
+
top: string;
|
|
18
|
+
'top-right': string;
|
|
19
|
+
bottom: string;
|
|
20
|
+
'bottom-left': string;
|
|
21
|
+
'bottom-right': string;
|
|
22
|
+
};
|
|
23
|
+
}, undefined, string[], {
|
|
24
|
+
size: {
|
|
25
|
+
xs: string;
|
|
26
|
+
sm: string;
|
|
27
|
+
md: string;
|
|
28
|
+
lg: string;
|
|
29
|
+
xl: string;
|
|
30
|
+
'2xl': string;
|
|
31
|
+
};
|
|
32
|
+
position: {
|
|
33
|
+
'top-left': string;
|
|
34
|
+
top: string;
|
|
35
|
+
'top-right': string;
|
|
36
|
+
bottom: string;
|
|
37
|
+
'bottom-left': string;
|
|
38
|
+
'bottom-right': string;
|
|
39
|
+
};
|
|
40
|
+
}, undefined, tailwind_variants23.TVReturnType<{
|
|
41
|
+
size: {
|
|
42
|
+
xs: string;
|
|
43
|
+
sm: string;
|
|
44
|
+
md: string;
|
|
45
|
+
lg: string;
|
|
46
|
+
xl: string;
|
|
47
|
+
'2xl': string;
|
|
48
|
+
};
|
|
49
|
+
position: {
|
|
50
|
+
'top-left': string;
|
|
51
|
+
top: string;
|
|
52
|
+
'top-right': string;
|
|
53
|
+
bottom: string;
|
|
54
|
+
'bottom-left': string;
|
|
55
|
+
'bottom-right': string;
|
|
56
|
+
};
|
|
57
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
58
|
+
type ToastViewportVariants = VariantProps<typeof toastViewportVariants>;
|
|
59
|
+
type ToastPosition = NonNullable<ToastViewportVariants['position']>;
|
|
60
|
+
//#endregion
|
|
61
|
+
export { ToastPosition };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group pointer-events-auto relative flex flex-col w-full overflow-hidden rounded-md border shadow-lg transition-all-200 dark:bg-background`,`data-[swipe=cancel]:translate-x-0`,`data-[swipe=end]:translate-x-[var(--soybean-toast-swipe-end-x)] data-[swipe=end]:animate-out`,`data-[swipe=move]:translate-x-[var(--soybean-toast-swipe-move-x)] data-[swipe=move]:transition-none`,`data-[state=open]:slide-in-from-top-full sm:slide-in-from-bottom-full data-[state=open]:animate-in`,`data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=closed]:animate-out`],title:`flex items-center font-medium tracking-tight`,description:`[&_p]:leading-relaxed`,close:`absolute`,action:``},variants:{size:{xs:{root:`gap-0.75 px-2 py-1.75 text-2xs`,title:`gap-1.5 leading-3.125`,close:`right-1 top-1`},sm:{root:`gap-1 px-3 py-2.5 text-xs`,title:`gap-1.75 leading-3.75`,close:`right-1.25 top-1.25`},md:{root:`gap-1 px-4 py-3 text-sm`,title:`gap-2 leading-4.375`,close:`right-1.5 top-1.5`},lg:{root:`gap-1.25 px-5 py-3.5 text-base`,title:`gap-2.5 leading-5`,close:`right-1.75 top-1.75`},xl:{root:`gap-1.5 px-6 py-4 text-lg`,title:`gap-3 leading-5.625`,close:`right-2 top-2`},"2xl":{root:`gap-2 px-7 py-4.5 text-xl`,title:`gap-4 leading-6.25`,close:`right-2.5 top-2.5`}},color:{default:{root:`bg-background`},primary:{root:`border-primary bg-primary-100 text-primary`},destructive:{root:`border-destructive bg-destructive-100 text-destructive`},success:{root:`border-success bg-success-100 text-success`},info:{root:`border-info bg-info-100 text-info`},warning:{root:`border-warning bg-warning-100 text-warning`},carbon:{root:`border-carbon bg-carbon-100 text-carbon`},secondary:{root:`border-secondary bg-secondary text-secondary-foreground`},accent:{root:`border-accent bg-accent text-accent-foreground`}}},defaultVariants:{size:`md`,color:`default`}}),n=e({base:[`fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse pointer-events-none`,`focus-visible:outline-none md:max-w-105`],variants:{size:{xs:`gap-1 p-3`,sm:`gap-1.5 p-3.5`,md:`gap-2 p-4`,lg:`gap-2.5 p-4.5`,xl:`gap-3 p-5`,"2xl":`gap-4 p-6`},position:{"top-left":`top-0 left-0`,top:`top-0 left-1/2 -translate-x-1/2`,"top-right":`top-0 right-0`,bottom:`bottom-0 left-1/2 -translate-x-1/2`,"bottom-left":`bottom-0 left-0`,"bottom-right":`bottom-0 right-0`}},defaultVariants:{size:`md`,position:`top-right`}});export{t as toastVariants,n as toastViewportVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:`group flex-1 size-full overflow-auto data-[state=collapsed]:w-[--soybean-tree-menu-collapsed-width] transition-[width,height]-200 ease-out data-[state=collapsed]:space-y-0`,groupLabel:`flex items-center text-foreground/70 list-none group-data-[state=collapsed]:size-0 group-data-[state=collapsed]:p-0 group-data-[state=collapsed]:opacity-0 group-data-[state=collapsed]:overflow-hidden transition-[height,padding,opacity]-200`,item:[`relative rounded-sm outline-none cursor-pointer select-none outline-none`,`data-[selected]:bg-primary/10 data-[selected]:text-primary`,`[&:not([data-selected])]:hover:bg-accent [&:not([data-selected])]:hover:text-accent-foreground`,`[&:not([data-selected])]:focus:bg-accent [&:not([data-selected])]:focus:text-accent-foreground`,`data-[contains-selected]:text-primary data-[contains-selected]:hover:text-primary data-[contains-selected]:focus:text-primary`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`,`group-data-[state=collapsed]:overflow-hidden`],itemContent:`flex items-center w-full outline-none data-[link]:decoration-none`,itemAbsolute:`absolute top-0 left-0 w-full h-full z-1`,itemLabel:`truncate`,itemLinkIcon:`shrink-0 self-start text-muted-foreground`,itemBadge:``,itemTag:`shrink-0 ml-auto`,itemAction:`
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{root:`group flex-1 size-full overflow-auto data-[state=collapsed]:w-[--soybean-tree-menu-collapsed-width] transition-[width,height]-200 ease-out data-[state=collapsed]:space-y-0`,groupLabel:`flex items-center text-foreground/70 list-none group-data-[state=collapsed]:size-0 group-data-[state=collapsed]:p-0 group-data-[state=collapsed]:opacity-0 group-data-[state=collapsed]:overflow-hidden transition-[height,padding,opacity]-200`,item:[`relative rounded-sm outline-none cursor-pointer select-none outline-none`,`data-[selected]:bg-primary/10 data-[selected]:text-primary`,`[&:not([data-selected])]:hover:bg-accent [&:not([data-selected])]:hover:text-accent-foreground`,`[&:not([data-selected])]:focus:bg-accent [&:not([data-selected])]:focus:text-accent-foreground`,`data-[contains-selected]:text-primary data-[contains-selected]:hover:text-primary data-[contains-selected]:focus:text-primary`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`,`group-data-[state=collapsed]:overflow-hidden`],itemContent:`flex items-center w-full outline-none data-[link]:decoration-none`,itemAbsolute:`absolute top-0 left-0 w-full h-full z-1`,itemLabel:`truncate`,itemLinkIcon:`shrink-0 self-start text-muted-foreground`,itemBadge:``,itemTag:`shrink-0 ml-auto`,itemAction:`absolute -translate-y-1/2 top-1/2`,collapsibleIcon:`shrink-0 ml-auto text-muted-foreground transition-transform-200 data-[expanded]:rotate-90`},variants:{size:{xs:{root:`space-y-0.75 p-1.5 text-2xs`,groupLabel:`h-6 gap-1 px-1.5 py-1 text-3xs`,item:`h-6 px-1.5 py-1 group-data-[state=collapsed]:w-6 text-2xs ml-[calc(var(--soybean-tree-menu-indent)*0.75rem)]`,itemContent:`gap-1.5`,itemLinkIcon:`size-2 -ml-1`,itemAction:`right-1.5`},sm:{root:`space-y-0.875 p-1.75 text-xs`,groupLabel:`h-7 gap-1.5 px-1.75 py-1 text-2xs`,item:`h-7 px-1.75 py-1 group-data-[state=collapsed]:w-7 text-xs ml-[calc(var(--soybean-tree-menu-indent)*0.875rem)]`,itemContent:`gap-1.75`,itemLinkIcon:`size-2.5 -ml-1.5`,itemAction:`right-1.75`},md:{root:`space-y-1 p-2 text-sm`,groupLabel:`h-8 gap-2 px-2 py-1.5 text-xs`,item:`h-8 px-2 py-1.5 group-data-[state=collapsed]:w-8 text-sm ml-[calc(var(--soybean-tree-menu-indent)*1rem)]`,itemContent:`gap-2`,itemLinkIcon:`size-3 -ml-2`,itemAction:`right-2`},lg:{root:`space-y-1.25 p-2.25 text-base`,groupLabel:`h-9 gap-2.5 px-2.25 py-1.5 text-sm`,item:`h-9 px-2.25 py-1.5 group-data-[state=collapsed]:w-9 text-base ml-[calc(var(--soybean-tree-menu-indent)*1.125rem)]`,itemContent:`gap-2.25`,itemLinkIcon:`size-3.5 -ml-2.5`,itemAction:`right-2.25`},xl:{root:`space-y-1.5 p-2.5 text-lg`,groupLabel:`h-10 gap-3 px-2.5 py-1.5 text-base`,item:`h-10 px-2.5 py-2 group-data-[state=collapsed]:w-10 text-lg ml-[calc(var(--soybean-tree-menu-indent)*1.25rem)]`,itemContent:`gap-2.5`,itemLinkIcon:`size-4 -ml-3`,itemAction:`right-2.5`},"2xl":{root:`space-y-2 p-3 text-xl`,groupLabel:`h-12 gap-3.5 px-3 py-2.5 text-lg`,item:`h-12 px-3 py-2.5 group-data-[state=collapsed]:w-12 text-xl ml-[calc(var(--soybean-tree-menu-indent)*1.5rem)]`,itemContent:`gap-3`,itemLinkIcon:`size-5 -ml-4`,itemAction:`right-3`}}},defaultVariants:{size:`md`}});export{t as treeMenuVariants};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3-beta.1",
|
|
5
5
|
"description": "SoybeanUI is built on top of SoybeanHeadless, providing a collection of styled components for Vue 3.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Soybean",
|
|
@@ -26,6 +26,16 @@
|
|
|
26
26
|
"import": "./dist/index.js",
|
|
27
27
|
"require": "./dist/index.js"
|
|
28
28
|
},
|
|
29
|
+
"./nuxt": {
|
|
30
|
+
"types": "./dist/nuxt/index.d.ts",
|
|
31
|
+
"import": "./dist/nuxt/index.js",
|
|
32
|
+
"require": "./dist/nuxt/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./resolver": {
|
|
35
|
+
"types": "./dist/resolver/index.d.ts",
|
|
36
|
+
"import": "./dist/resolver/index.js",
|
|
37
|
+
"require": "./dist/resolver/index.js"
|
|
38
|
+
},
|
|
29
39
|
"./styles.css": "./dist/styles.css"
|
|
30
40
|
},
|
|
31
41
|
"main": "./dist/index.js",
|
|
@@ -40,39 +50,38 @@
|
|
|
40
50
|
"@soybeanjs/unocss-shadcn": "^0.0.1",
|
|
41
51
|
"clsx": "^2.1.1",
|
|
42
52
|
"fuse.js": "^7.1.0",
|
|
43
|
-
"tailwind-merge": "^3.
|
|
53
|
+
"tailwind-merge": "^3.4.0",
|
|
44
54
|
"tailwind-variants": "^3.1.1",
|
|
45
|
-
"@soybeanjs/headless": "^0.0.
|
|
55
|
+
"@soybeanjs/headless": "^0.0.3-beta.1"
|
|
46
56
|
},
|
|
47
57
|
"devDependencies": {
|
|
48
58
|
"@soybeanjs/cli": "^1.4.1",
|
|
49
|
-
"@soybeanjs/eslint-config": "^1.7.
|
|
50
|
-
"@soybeanjs/unocss-preset": "^0.1.
|
|
51
|
-
"@types/node": "^24.10.
|
|
52
|
-
"@unocss/cli": "^66.5.
|
|
53
|
-
"@vitest/coverage-v8": "^4.0.
|
|
59
|
+
"@soybeanjs/eslint-config": "^1.7.4",
|
|
60
|
+
"@soybeanjs/unocss-preset": "^0.1.7",
|
|
61
|
+
"@types/node": "^24.10.1",
|
|
62
|
+
"@unocss/cli": "^66.5.6",
|
|
63
|
+
"@vitest/coverage-v8": "^4.0.10",
|
|
54
64
|
"@vue/test-utils": "^2.4.6",
|
|
55
65
|
"eslint": "^9.39.1",
|
|
56
66
|
"eslint-plugin-vue": "^10.5.1",
|
|
57
67
|
"happy-dom": "^20.0.10",
|
|
58
68
|
"lint-staged": "^16.2.6",
|
|
59
69
|
"simple-git-hooks": "^2.13.1",
|
|
60
|
-
"tsdown": "^0.16.
|
|
70
|
+
"tsdown": "^0.16.5",
|
|
61
71
|
"tsx": "^4.20.6",
|
|
62
72
|
"typescript": "^5.9.3",
|
|
63
|
-
"unocss": "^66.5.
|
|
73
|
+
"unocss": "^66.5.6",
|
|
64
74
|
"unocss-preset-animations": "^1.3.0",
|
|
65
|
-
"unplugin-vue": "^7.0.
|
|
75
|
+
"unplugin-vue": "^7.0.7",
|
|
66
76
|
"unplugin-vue-components": "^30.0.0",
|
|
67
77
|
"unplugin-vue-jsx": "^0.8.1",
|
|
68
78
|
"vite": "^7.2.2",
|
|
69
|
-
"vite-plugin-vue-devtools": "^8.0.
|
|
70
|
-
"
|
|
71
|
-
"vitest": "^4.0.8",
|
|
79
|
+
"vite-plugin-vue-devtools": "^8.0.5",
|
|
80
|
+
"vitest": "^4.0.10",
|
|
72
81
|
"vue": "^3.5.24",
|
|
73
82
|
"vue-eslint-parser": "^10.2.0",
|
|
74
83
|
"vue-router": "^4.6.3",
|
|
75
|
-
"vue-tsc": "^3.1.
|
|
84
|
+
"vue-tsc": "^3.1.4"
|
|
76
85
|
},
|
|
77
86
|
"simple-git-hooks": {
|
|
78
87
|
"commit-msg": "pnpm soy git-commit-verify",
|
|
@@ -84,12 +93,14 @@
|
|
|
84
93
|
"scripts": {
|
|
85
94
|
"build": "pnpm build:headless && pnpm build:ui && pnpm build:css",
|
|
86
95
|
"build:css": "unocss build",
|
|
96
|
+
"build:docs": "pnpm --filter @soybeanjs/ui-docs build",
|
|
87
97
|
"build:headless": "pnpm --filter @soybeanjs/headless build",
|
|
88
98
|
"build:play": "vite build",
|
|
89
99
|
"build:ui": "pnpm tsdown",
|
|
90
100
|
"cleanup": "soy cleanup",
|
|
91
101
|
"commit": "soy git-commit",
|
|
92
102
|
"dev": "vite",
|
|
103
|
+
"dev:docs": "pnpm --filter @soybeanjs/ui-docs dev",
|
|
93
104
|
"lint": "eslint . --fix",
|
|
94
105
|
"preview": "vite preview",
|
|
95
106
|
"publish-pkg": "pnpm publish -r --access public",
|