@septkit/ui 0.0.15 → 0.0.16
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/_virtual/_rolldown/runtime.js +17 -0
- package/dist/dropdown/combobox.js +5 -0
- package/dist/dropdown/combobox.vue_vue_type_script_setup_true_lang.js +103 -0
- package/dist/dropdown/dropdown.js +1 -1
- package/dist/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/dropdown/index.js +2 -0
- package/dist/external/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js +359 -0
- package/dist/external/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +328 -0
- package/dist/external/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +97 -0
- package/dist/external/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +106 -0
- package/dist/external/.pnpm/@floating-ui_vue@1.1.11_vue@3.5.32_typescript@5.8.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.js +102 -0
- package/dist/external/.pnpm/@vueuse_core@14.2.1_vue@3.5.32_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js +66 -0
- package/dist/external/.pnpm/@vueuse_shared@14.2.1_vue@3.5.32_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js +83 -0
- package/dist/external/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +46 -0
- package/dist/external/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.js +22 -0
- package/dist/external/.pnpm/lucide-vue-next@1.0.0_vue@3.5.32_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/check.js +8 -0
- package/dist/external/.pnpm/lucide-vue-next@1.0.0_vue@3.5.32_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js +8 -0
- package/dist/external/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.js +106 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Collection/Collection.js +62 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js +41 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxContent.js +134 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js +192 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js +26 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js +6 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxInput.js +115 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxItem.js +64 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js +26 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js +213 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js +55 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxViewport.js +51 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/ConfigProvider/ConfigProvider.js +6 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js +80 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/DismissableLayer/utils.js +62 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/FocusScope/FocusScope.js +109 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/FocusScope/stack.js +22 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/FocusScope/utils.js +45 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxContent.js +65 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxFilter.js +84 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxItem.js +81 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js +33 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxRoot.js +268 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/utils.js +10 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Popper/PopperAnchor.js +37 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Popper/PopperContent.js +225 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Popper/PopperRoot.js +16 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Popper/utils.js +27 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Presence/Presence.js +39 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Presence/usePresence.js +58 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Primitive/Primitive.js +27 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Primitive/Slot.js +23 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/Primitive/usePrimitiveElement.js +12 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/RovingFocus/utils.js +20 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHidden.js +57 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInput.js +65 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js +55 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/arrays.js +10 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/createContext.js +12 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/getActiveElement.js +9 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js +11 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/nullish.js +6 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/renderSlotFragments.js +7 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useBodyScrollLock.js +63 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useDirection.js +9 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useEmitAsProps.js +10 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useFilter.js +24 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useFocusGuards.js +19 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useFormControl.js +8 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useForwardExpose.js +50 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useForwardProps.js +19 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js +13 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useHideOthers.js +18 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useId.js +11 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useKbd.js +41 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useNonce.js +9 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useSize.js +33 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useStateMachine.js +16 -0
- package/dist/external/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useTypeahead.js +33 -0
- package/dist/external/.pnpm/vue-demi@0.14.10_vue@3.5.32_typescript@5.8.3_/node_modules/vue-demi/lib/index.js +28 -0
- package/dist/index.d.ts +52 -1
- package/dist/index.js +4 -2
- package/dist/ui.css +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { unrefElement as e } from "../../../../../@vueuse_core@14.2.1_vue@3.5.32_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js";
|
|
2
|
+
import { computed as t, onMounted as n, ref as r } from "vue";
|
|
3
|
+
//#region node_modules/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useSize.js
|
|
4
|
+
function i(i) {
|
|
5
|
+
let a = r(), o = t(() => a.value?.width ?? 0), s = t(() => a.value?.height ?? 0);
|
|
6
|
+
return n(() => {
|
|
7
|
+
let t = e(i);
|
|
8
|
+
if (t) {
|
|
9
|
+
a.value = {
|
|
10
|
+
width: t.offsetWidth,
|
|
11
|
+
height: t.offsetHeight
|
|
12
|
+
};
|
|
13
|
+
let e = new ResizeObserver((e) => {
|
|
14
|
+
if (!Array.isArray(e) || !e.length) return;
|
|
15
|
+
let n = e[0], r, i;
|
|
16
|
+
if ("borderBoxSize" in n) {
|
|
17
|
+
let e = n.borderBoxSize, t = Array.isArray(e) ? e[0] : e;
|
|
18
|
+
r = t.inlineSize, i = t.blockSize;
|
|
19
|
+
} else r = t.offsetWidth, i = t.offsetHeight;
|
|
20
|
+
a.value = {
|
|
21
|
+
width: r,
|
|
22
|
+
height: i
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
return e.observe(t, { box: "border-box" }), () => e.unobserve(t);
|
|
26
|
+
} else a.value = void 0;
|
|
27
|
+
}), {
|
|
28
|
+
width: o,
|
|
29
|
+
height: s
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { i as useSize };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ref as e } from "vue";
|
|
2
|
+
//#region node_modules/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useStateMachine.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
let r = e(t);
|
|
5
|
+
function i(e) {
|
|
6
|
+
return n[r.value][e] ?? r.value;
|
|
7
|
+
}
|
|
8
|
+
return {
|
|
9
|
+
state: r,
|
|
10
|
+
dispatch: (e) => {
|
|
11
|
+
r.value = i(e);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as useStateMachine };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { getActiveElement as e } from "./getActiveElement.js";
|
|
2
|
+
import { refAutoReset as t } from "../../../../../@vueuse_shared@14.2.1_vue@3.5.32_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js";
|
|
3
|
+
//#region node_modules/.pnpm/reka-ui@2.9.6_vue@3.5.32_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useTypeahead.js
|
|
4
|
+
function n(n) {
|
|
5
|
+
let r = t("", 1e3);
|
|
6
|
+
return {
|
|
7
|
+
search: r,
|
|
8
|
+
handleTypeaheadSearch: (t, a) => {
|
|
9
|
+
if (r.value += t, n) n(t);
|
|
10
|
+
else {
|
|
11
|
+
let t = e(), n = a.map((e) => ({
|
|
12
|
+
...e,
|
|
13
|
+
textValue: e.value?.textValue ?? e.ref.textContent?.trim() ?? ""
|
|
14
|
+
})), o = n.find((e) => e.ref === t), s = i(n.map((e) => e.textValue), r.value, o?.textValue), c = n.find((e) => e.textValue === s);
|
|
15
|
+
return c && c.ref.focus(), c?.ref;
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
resetTypeahead: () => {
|
|
19
|
+
r.value = "";
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function r(e, t) {
|
|
24
|
+
return e.map((n, r) => e[(t + r) % e.length]);
|
|
25
|
+
}
|
|
26
|
+
function i(e, t, n) {
|
|
27
|
+
let i = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, a = n ? e.indexOf(n) : -1, o = r(e, Math.max(a, 0));
|
|
28
|
+
i.length === 1 && (o = o.filter((e) => e !== n));
|
|
29
|
+
let s = o.find((e) => e.toLowerCase().startsWith(i.toLowerCase()));
|
|
30
|
+
return s === n ? void 0 : s;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { n as useTypeahead };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { __exportAll as e, __reExport as t } from "../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import * as n from "vue";
|
|
3
|
+
export * from "vue";
|
|
4
|
+
//#region node_modules/.pnpm/vue-demi@0.14.10_vue@3.5.32_typescript@5.8.3_/node_modules/vue-demi/lib/index.mjs
|
|
5
|
+
var r = /* @__PURE__ */ e({
|
|
6
|
+
Vue: () => n,
|
|
7
|
+
Vue2: () => void 0,
|
|
8
|
+
del: () => s,
|
|
9
|
+
install: () => a,
|
|
10
|
+
isVue2: () => !1,
|
|
11
|
+
isVue3: () => !0,
|
|
12
|
+
set: () => o
|
|
13
|
+
});
|
|
14
|
+
import * as i from "vue";
|
|
15
|
+
t(r, i);
|
|
16
|
+
function a() {}
|
|
17
|
+
function o(e, t, n) {
|
|
18
|
+
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
19
|
+
}
|
|
20
|
+
function s(e, t) {
|
|
21
|
+
if (Array.isArray(e)) {
|
|
22
|
+
e.splice(t, 1);
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
delete e[t];
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { r as lib_exports };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AcceptableValue } from 'reka-ui';
|
|
1
2
|
import { Component } from 'vue';
|
|
2
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
3
4
|
import { ComponentProvideOptions } from 'vue';
|
|
@@ -19,10 +20,24 @@ close: (...args: any[]) => void;
|
|
|
19
20
|
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
20
21
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
21
22
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}>, {
|
|
23
|
+
}>, {
|
|
24
|
+
color: "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
|
|
25
|
+
variant: "outline" | "dash" | "soft" | "ghost" | "link";
|
|
26
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
27
|
+
modifier: "wide" | "block" | "square" | "circle";
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
23
29
|
'details-ref': HTMLDetailsElement;
|
|
24
30
|
}, HTMLDetailsElement>;
|
|
25
31
|
|
|
32
|
+
declare const __VLS_component_3: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (value: AcceptableValue) => any;
|
|
34
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
35
|
+
"onUpdate:modelValue"?: ((value: AcceptableValue) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
color: "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
|
|
38
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
|
|
26
41
|
declare type __VLS_Props = {
|
|
27
42
|
color?: 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
28
43
|
variant?: 'outline' | 'dash' | 'soft' | 'ghost' | 'link';
|
|
@@ -50,6 +65,21 @@ declare type __VLS_Props_2 = {
|
|
|
50
65
|
id?: string;
|
|
51
66
|
};
|
|
52
67
|
|
|
68
|
+
declare type __VLS_Props_3 = {
|
|
69
|
+
options: AcceptableValue[];
|
|
70
|
+
displayValue: (item: AcceptableValue) => string;
|
|
71
|
+
placeholder?: string;
|
|
72
|
+
emptyText?: string;
|
|
73
|
+
color?: 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
74
|
+
variant?: 'ghost' | 'bordered' | 'soft' | 'dash';
|
|
75
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
declare type __VLS_PublicProps = {
|
|
80
|
+
modelValue?: AcceptableValue;
|
|
81
|
+
} & __VLS_Props_3;
|
|
82
|
+
|
|
53
83
|
declare function __VLS_template(): {
|
|
54
84
|
attrs: Partial<{}>;
|
|
55
85
|
slots: {
|
|
@@ -71,10 +101,23 @@ declare function __VLS_template_2(): {
|
|
|
71
101
|
rootEl: HTMLDetailsElement;
|
|
72
102
|
};
|
|
73
103
|
|
|
104
|
+
declare function __VLS_template_3(): {
|
|
105
|
+
attrs: Partial<{}>;
|
|
106
|
+
slots: {
|
|
107
|
+
default?(_: {
|
|
108
|
+
item: AcceptableValue;
|
|
109
|
+
}): any;
|
|
110
|
+
};
|
|
111
|
+
refs: {};
|
|
112
|
+
rootEl: any;
|
|
113
|
+
};
|
|
114
|
+
|
|
74
115
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
75
116
|
|
|
76
117
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
77
118
|
|
|
119
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
120
|
+
|
|
78
121
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
122
|
new (): {
|
|
80
123
|
$slots: S;
|
|
@@ -87,6 +130,12 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
87
130
|
};
|
|
88
131
|
};
|
|
89
132
|
|
|
133
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
134
|
+
new (): {
|
|
135
|
+
$slots: S;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
|
|
90
139
|
export declare const Button: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
91
140
|
|
|
92
141
|
/** Flat element list per category key. */
|
|
@@ -94,6 +143,8 @@ export declare const CATEGORY_ELEMENTS: Record<string, string[]>;
|
|
|
94
143
|
|
|
95
144
|
declare function closeDropdown(): void;
|
|
96
145
|
|
|
146
|
+
export declare const Combobox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
147
|
+
|
|
97
148
|
export declare const Dropdown: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
98
149
|
|
|
99
150
|
export declare const ELEMENT_TO_COLOR: Record<string, ElementColor>;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import e from "./button/button.js";
|
|
2
2
|
import t from "./dropdown/dropdown.js";
|
|
3
|
-
import
|
|
3
|
+
import n from "./dropdown/combobox.js";
|
|
4
|
+
import "./dropdown/index.js";
|
|
5
|
+
import { CATEGORY_ELEMENTS as r, ELEMENT_TO_COLOR as i, ELEMENT_TO_ICON as a } from "./icons/element-icon-mapper.js";
|
|
4
6
|
import "./icons/index.js";
|
|
5
|
-
export { e as Button,
|
|
7
|
+
export { e as Button, r as CATEGORY_ELEMENTS, n as Combobox, t as Dropdown, i as ELEMENT_TO_COLOR, a as ELEMENT_TO_ICON };
|
package/dist/ui.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@septkit/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"source": "lib/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"@vueuse/core": "^14.2.1",
|
|
40
40
|
"lucide-vue-next": "^1.0.0",
|
|
41
41
|
"pinia": "^3.0.4",
|
|
42
|
+
"reka-ui": "^2.9.6",
|
|
42
43
|
"tailwindcss": "4.2.2",
|
|
43
44
|
"vue": "^3.5.32"
|
|
44
45
|
},
|