@aures5g/vue-component-library 0.36.0 → 0.37.0
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/src/components/dropdown/UIDropdown.vue.d.ts +31 -0
- package/dist/src/components/dropdown/uiDropdown.theme.d.ts +8 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/vue-component-library.cjs +999 -571
- package/dist/vue-component-library.css +1 -1
- package/dist/vue-component-library.js +6521 -3539
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type SelectPassThroughOptions } from 'primevue/select';
|
|
2
|
+
import { type PassThroughOptions } from 'primevue/passthrough';
|
|
3
|
+
import type { PassThrough } from '@primevue/core';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
pt?: PassThrough<SelectPassThroughOptions>;
|
|
6
|
+
ptOptions?: PassThroughOptions;
|
|
7
|
+
label: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
options: unknown[];
|
|
10
|
+
optionLabel?: string | ((item: unknown) => string);
|
|
11
|
+
optionValue?: string | ((item: unknown) => string);
|
|
12
|
+
showClear: boolean;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_PublicProps = {
|
|
16
|
+
modelValue?: unknown;
|
|
17
|
+
} & __VLS_Props;
|
|
18
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: unknown) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
pt: object | SelectPassThroughOptions<any>;
|
|
24
|
+
ptOptions: PassThroughOptions;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
required: boolean;
|
|
27
|
+
optionLabel: string | ((item: unknown) => string);
|
|
28
|
+
optionValue: string | ((item: unknown) => string);
|
|
29
|
+
showClear: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const BASE = "peer select-none min-w-[16rem] border border-on-surface-variant flex justify-end items-center px-[0.25rem] pl-[1rem] rounded-[0.25rem] w-fit h-[2.5rem] bg-inherit overflow-hidden";
|
|
2
|
+
export declare const DROPDOWN = "cursor-pointer text-[1rem] h-fit p-[0.12rem] mx-[0.5rem] flex items-center rounded-full border-2 border-on-surface-variant";
|
|
3
|
+
export declare const DISABLED_DROPDOWN = "!text-on-surface/[0.12] border-on-surface/[0.12] !cursor-auto";
|
|
4
|
+
export declare const CLEAR_ICON = "!w-[1.25rem] cursor-pointer mr-[0.5rem]";
|
|
5
|
+
export declare const SELECT_LABEL = "w-full flex justify-start bg-transparent text-on-surface-variant focus-visible:outline-none";
|
|
6
|
+
export declare const FLOATING_LABEL = "absolute select-none ml-[1rem] top-[50%] text-[1rem] -translate-y-1/2 peer-[.focused]:top-0 peer-[.focused]:text-[0.75rem] peer-[.focused]:leading-[1rem] peer-[.focused]:px-[0.25rem] peer-[.focused]:ml-[0.5rem] leading-[1rem] text-on-surface-variant peer-[.focused]:bg-inherit bg-inherit transition-all";
|
|
7
|
+
export declare const OVERLAY_PANEL = "max-h-[8rem] overflow-auto shadow-1 rounded-[0.25rem] py-[0.5rem] bg-on-primary";
|
|
8
|
+
export declare const ITEM = "cursor-pointer px-[1rem] hover:bg-primary-fixed text-[1rem] leading-[2.5rem] text-on-surface-variant";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -22,4 +22,5 @@ import UIToolbar from './components/toolbar/UIToolbar.vue';
|
|
|
22
22
|
import UILanguagePicker from './components/languagePicker/UILanguagePicker.vue';
|
|
23
23
|
import UIDivider from './components/divider/UIDivider.vue';
|
|
24
24
|
import UISwitch from './components/switch/UISwitch.vue';
|
|
25
|
-
|
|
25
|
+
import UIDropdown from './components/dropdown/UIDropdown.vue';
|
|
26
|
+
export { ACBSPlugin, useACBSConfig, UIButton, UIMenu, UITag, UIBadge, UICopy, UITabView, UITabPanel, UIIconButton, UIToggleButton, UIRadioButton, UICheckbox, UIChip, UITextField, UIRichTooltip, UISnackbar, UIListItem, UIList, UIContextPanel, UIToolbar, UILanguagePicker, UIDivider, UISwitch, UIDropdown, };
|