@soft-stech/bootsman-ui-shadcn 2.0.10 → 2.0.12
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/dist/{BuiCommandItem.vue_vue_type_script_setup_true_lang-COT9al4e.js → BuiCommandItem.vue_vue_type_script_setup_true_lang-DgiH4pmL.js} +7 -6
- package/dist/{BuiDataTableColumnList.vue_vue_type_script_setup_true_lang-NdACn_Zy.js → BuiDataTableColumnList.vue_vue_type_script_setup_true_lang-Dy4ogTwO.js} +1 -1
- package/dist/{BuiTableHead.vue_vue_type_script_setup_true_lang-CiKcm_ET.js → BuiTableHead.vue_vue_type_script_setup_true_lang-HZf2nWkM.js} +1 -1
- package/dist/components/command/BuiCommandItem.js +1 -1
- package/dist/components/command/BuiCommandItem.vue.d.ts +3 -1
- package/dist/components/command/index.d.ts +0 -1
- package/dist/components/command/index.js +3 -5
- package/dist/components/table/BuiDataTableColumnList.js +1 -1
- package/dist/components/table/BuiTableHead.js +1 -1
- package/dist/components/table/index.js +4 -3
- package/dist/components/tabs/index.js +21 -21
- package/dist/index.js +284 -286
- package/dist/style.css +1 -1
- package/dist/theme.css +3 -0
- package/package.json +1 -1
- package/src/components/command/BuiCommandItem.vue +2 -2
- package/src/components/command/index.ts +0 -1
- package/src/components/table/BuiDataTable.vue +1 -0
- package/src/components/table/BuiTableHead.vue +1 -1
- package/src/components/tabs/index.ts +5 -5
- package/src/stories/components/BuiDataTableStory.vue +6 -10
- package/src/stories/components/ComboboxStoryMultipleCreate.vue +7 -24
- package/src/theme.css +3 -0
- package/dist/BuiCommandNewItem.vue_vue_type_script_setup_true_lang-acFO1int.js +0 -34
- package/dist/components/command/BuiCommandNewItem.js +0 -4
- package/dist/components/command/BuiCommandNewItem.vue.d.ts +0 -21
- package/src/components/command/BuiCommandNewItem.vue +0 -32
package/src/theme.css
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
--color-foreground: var(--foreground);
|
|
12
12
|
--color-sidebar: var(--side-bar);
|
|
13
13
|
--color-tabs-sidebar: var(--tabs-sidebar);
|
|
14
|
+
--color-tabs-background: var(--tabs-background);
|
|
14
15
|
|
|
15
16
|
--color-primary: var(--primary);
|
|
16
17
|
--color-primary-foreground: var(--primary-foreground);
|
|
@@ -155,6 +156,7 @@
|
|
|
155
156
|
--side-bar: hsl(0 0% 100%);
|
|
156
157
|
--tabs-sidebar: hsl(210 40% 96.1%);
|
|
157
158
|
--tabs-sidebar-shadow: hsl(0, 0%, 100%, 0);
|
|
159
|
+
--tabs-background: hsl(240, 6.67%, 97.06%);
|
|
158
160
|
|
|
159
161
|
--border: hsl(241 92% 71%);
|
|
160
162
|
--input: hsl(225 11% 84%);
|
|
@@ -218,6 +220,7 @@
|
|
|
218
220
|
--side-bar: hsl(243.2 24.1% 15.5%);
|
|
219
221
|
--tabs-sidebar: hsl(243.2 24.1% 15.5%);
|
|
220
222
|
--tabs-sidebar-shadow: hsl(0, 0%, 0%, 0.08);
|
|
223
|
+
--tabs-background: hsl(242.5, 19.67%, 23.92%);
|
|
221
224
|
|
|
222
225
|
--border: hsl(241 92% 71%);
|
|
223
226
|
--input: hsl(0, 0%, 100%, 0.32);
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, createBlock as s, openBlock as i, unref as n, normalizeClass as l, withCtx as f, renderSlot as m } from "vue";
|
|
2
|
-
import { _ as u, g as _ } from "./utils-BSPS4DMf.js";
|
|
3
|
-
const C = /* @__PURE__ */ r({
|
|
4
|
-
__name: "BuiCommandNewItem",
|
|
5
|
-
emits: ["create"],
|
|
6
|
-
setup(d, { emit: o }) {
|
|
7
|
-
const t = o;
|
|
8
|
-
function a() {
|
|
9
|
-
t("create");
|
|
10
|
-
}
|
|
11
|
-
function c(e) {
|
|
12
|
-
e.key === "Enter" && t("create");
|
|
13
|
-
}
|
|
14
|
-
return (e, p) => (i(), s(n(u), {
|
|
15
|
-
variant: "none",
|
|
16
|
-
onClick: a,
|
|
17
|
-
onKeydown: c,
|
|
18
|
-
class: l(
|
|
19
|
-
n(_)(
|
|
20
|
-
"text-primary w-full justify-start px-2 py-1.5 text-left focus:outline-hidden",
|
|
21
|
-
"hover:bg-accent/8 focus:bg-accent/8!"
|
|
22
|
-
)
|
|
23
|
-
)
|
|
24
|
-
}, {
|
|
25
|
-
default: f(() => [
|
|
26
|
-
m(e.$slots, "default")
|
|
27
|
-
]),
|
|
28
|
-
_: 3
|
|
29
|
-
}, 8, ["class"]));
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
C as _
|
|
34
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
create: (...args: any[]) => void;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
13
|
-
onCreate?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { BuiButton } from '@/components/button'
|
|
3
|
-
import { cn } from '@/lib/utils'
|
|
4
|
-
|
|
5
|
-
const emit = defineEmits(['create'])
|
|
6
|
-
|
|
7
|
-
function handleClick() {
|
|
8
|
-
emit('create')
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function handleKeydown(event: KeyboardEvent) {
|
|
12
|
-
if (event.key === 'Enter') {
|
|
13
|
-
emit('create')
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
</script>
|
|
17
|
-
|
|
18
|
-
<template>
|
|
19
|
-
<BuiButton
|
|
20
|
-
variant="none"
|
|
21
|
-
@click="handleClick"
|
|
22
|
-
@keydown="handleKeydown"
|
|
23
|
-
:class="
|
|
24
|
-
cn(
|
|
25
|
-
'text-primary w-full justify-start px-2 py-1.5 text-left focus:outline-hidden',
|
|
26
|
-
'hover:bg-accent/8 focus:bg-accent/8!'
|
|
27
|
-
)
|
|
28
|
-
"
|
|
29
|
-
>
|
|
30
|
-
<slot />
|
|
31
|
-
</BuiButton>
|
|
32
|
-
</template>
|