@fiscozen/dropdown 0.1.24 → 0.1.27-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/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './src/index'
@@ -1,46 +0,0 @@
1
- import { ActionlistItem } from '@fiscozen/actionlist';
2
- import { FzDropdownProps, FzDropdownSlots } from './types';
3
-
4
- declare function open(): void;
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FzDropdownProps>, {
6
- size: string;
7
- actions: () => never[];
8
- closeOnActionClick: boolean;
9
- }>>, {
10
- open: typeof open;
11
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- "fzaction:click": (index: number, action: ActionlistItem) => void;
13
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FzDropdownProps>, {
14
- size: string;
15
- actions: () => never[];
16
- closeOnActionClick: boolean;
17
- }>>> & Readonly<{
18
- "onFzaction:click"?: ((index: number, action: ActionlistItem) => any) | undefined;
19
- }>, {
20
- size: import('@fiscozen/button').ButtonSize;
21
- actions: ActionlistItem[];
22
- closeOnActionClick: boolean;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Readonly<FzDropdownSlots> & FzDropdownSlots>;
24
- export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
@@ -1,44 +0,0 @@
1
- import { FzIconDropdownProps } from './types';
2
- import { ActionlistItem } from '@fiscozen/actionlist';
3
-
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FzIconDropdownProps>, {
5
- iconName: string;
6
- closeOnActionClick: boolean;
7
- align: string;
8
- teleport: boolean;
9
- buttonVariant: string;
10
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "fzaction:click": (index: number, action: ActionlistItem) => void;
12
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FzIconDropdownProps>, {
13
- iconName: string;
14
- closeOnActionClick: boolean;
15
- align: string;
16
- teleport: boolean;
17
- buttonVariant: string;
18
- }>>> & Readonly<{
19
- "onFzaction:click"?: ((index: number, action: ActionlistItem) => any) | undefined;
20
- }>, {
21
- iconName: string;
22
- teleport: boolean;
23
- align: "right" | "left" | "center";
24
- closeOnActionClick: boolean;
25
- buttonVariant: import('@fiscozen/button').IconButtonVariant;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
- export default _default;
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToRuntimeProps<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
35
- };
36
- };
37
- type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
- default: D[K];
40
- }> : P[K];
41
- };
42
- type __VLS_Prettify<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
@@ -1,3 +0,0 @@
1
- export { default as FzDropdown } from './FzDropdown.vue';
2
- export { default as FzIconDropdown } from './FzIconDropdown.vue';
3
- export type * from './types';
@@ -1,66 +0,0 @@
1
- import { ButtonSize, IconButtonVariant } from '@fiscozen/button';
2
- import { FzActionlistProps } from '@fiscozen/actionlist';
3
- import { VNode } from 'vue';
4
-
5
- type FzDropdownProps = {
6
- /**
7
- * Size of the dropdown trigger
8
- */
9
- size?: ButtonSize;
10
- /**
11
- * Label of the action list
12
- */
13
- actionsLabel?: string;
14
- /**
15
- * List of actions
16
- */
17
- actions: FzActionlistProps['items'];
18
- /**
19
- * Whether to align to the left or right
20
- */
21
- align?: 'left' | 'right' | 'center';
22
- /**
23
- * Whether to close the action list when an action is clicked
24
- */
25
- closeOnActionClick?: boolean;
26
- /**
27
- * Whether opener is disabled
28
- */
29
- openerDisabled?: boolean;
30
- /**
31
- * Class binded to opener
32
- */
33
- openerClass?: string;
34
- /**
35
- * teleport floating to body
36
- */
37
- teleport?: boolean;
38
- };
39
- type FzDropdownSlots = {
40
- /**
41
- *
42
- * Label of the standard button opener
43
- */
44
- default(props: {
45
- isOpen: boolean;
46
- }): VNode | VNode[];
47
- /**
48
- *
49
- * Use this to replace the button opener entirely
50
- */
51
- opener(props: {
52
- isOpen: boolean;
53
- open: () => void;
54
- }): VNode | VNode[];
55
- };
56
- interface FzIconDropdownProps extends FzDropdownProps {
57
- /**
58
- * icon name
59
- */
60
- iconName: string;
61
- /**
62
- * button variant
63
- */
64
- buttonVariant?: IconButtonVariant;
65
- }
66
- export type { FzDropdownProps, FzDropdownSlots, FzIconDropdownProps };
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- .temporary-bg-red:hover{background-color:#aa2f2f}.temporary-bg-red:disabled{background-color:#f8baba}.temporary-border-red:focus{border-color:#aa2f2f}.temporary-bg-green:hover{background-color:#0b7763}.temporary-bg-green:disabled{background-color:#b5d8ce}.temporary-border-green:focus{border-color:#0b7763}.gap-disabled[data-v-e53fcb29] button:not(:first-child):not(:last-child){border-radius:0}.gap-disabled.horizontal[data-v-e53fcb29] button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.gap-disabled.horizontal[data-v-e53fcb29] button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.gap-disabled.horizontal[data-v-e53fcb29] button:not(:first-child){margin-left:-1px}.gap-disabled.vertical[data-v-e53fcb29] button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.gap-disabled.vertical[data-v-e53fcb29] button:last-child{border-top-left-radius:0;border-top-right-radius:0}.gap-disabled.vertical[data-v-e53fcb29] button:not(:first-child){margin-top:-1px}.fz__actionlist{min-width:240px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@vue+shared@3.5.13/node_modules/@vue/shared/dist/shared.d.ts","../../node_modules/.pnpm/@vue+reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../node_modules/.pnpm/@vue+runtime-core@3.5.13/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","../../node_modules/.pnpm/@vue+runtime-dom@3.5.13/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../node_modules/.pnpm/vue@3.5.13_typescript@5.3.3/node_modules/vue/jsx-runtime/index.d.ts","../../node_modules/.pnpm/@babel+types@7.26.9/node_modules/@babel/types/lib/index.d.ts","../../node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/.pnpm/@vue+compiler-core@3.5.13/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","../../node_modules/.pnpm/@vue+compiler-dom@3.5.13/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","../../node_modules/.pnpm/vue@3.5.13_typescript@5.3.3/node_modules/vue/dist/vue.d.mts","../button/src/types.ts","../../node_modules/.pnpm/vue@3.5.13_typescript@5.4.2/node_modules/vue/jsx-runtime/index.d.ts","../../node_modules/.pnpm/vue@3.5.13_typescript@5.4.2/node_modules/vue/dist/vue.d.mts","../../node_modules/.pnpm/@fortawesome+fontawesome-common-types@6.7.2/node_modules/@fortawesome/fontawesome-common-types/index.d.ts","../../node_modules/.pnpm/@fortawesome+fontawesome-svg-core@6.7.2/node_modules/@fortawesome/fontawesome-svg-core/index.d.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.284/node_modules/@awesome.me/kit-8137893ad3/icons/modules/icon-types.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.284/node_modules/@awesome.me/kit-8137893ad3/icons/modules/index.d.ts","../../node_modules/.pnpm/@fortawesome+vue-fontawesome@3.0.8_@fortawesome+fontawesome-svg-core@6.7.2_vue@3.5.13_typescript@5.4.2_/node_modules/@fortawesome/vue-fontawesome/index.d.ts","../icons/src/types.ts","../icons/src/FzIcon.vue.ts","../icons/src/index.ts","../button/src/utils.ts","../button/src/FzButton.vue.ts","../button/src/FzIconButton.vue.ts","../button/src/FzButtonGroup.vue.ts","../button/src/index.ts","../../node_modules/.pnpm/vue-router@4.5.0_vue@3.5.13_typescript@5.3.3_/node_modules/vue-router/dist/vue-router.d.ts","../navlink/src/types.ts","../navlink/src/classUtils.ts","../navlink/src/FzNavlink.vue.ts","../navlink/src/FzRouterNavlink.vue.ts","../navlink/src/index.ts","../actionlist/src/types.ts","../actionlist/src/FzActionlist.vue.ts","../actionlist/src/index.ts","../composables/src/types.ts","../composables/src/utils/number/index.ts","../composables/src/utils/position/index.ts","../composables/src/utils/index.ts","../composables/src/composables/useFloating.ts","../composables/src/composables/useMediaQuery.ts","../composables/src/composables/useBreakpoints.ts","../composables/src/composables/useClickOutside.ts","../composables/src/composables/useKeyDown.ts","../composables/src/composables/useKeyUp.ts","../composables/src/composables/useCurrency.ts","../composables/src/composables/index.ts","../composables/src/FzFloating.vue.ts","../composables/src/index.ts","./src/types.ts","./src/FzDropdown.vue.ts","./src/FzIconDropdown.vue.ts","./__VLS_types.d.ts","./src/index.ts","../button/src/FzIconButton.vue","../button/src/FzButtonGroup.vue","../composables/src/FzFloating.vue","../icons/src/FzIcon.vue","../navlink/src/FzNavlink.vue","../navlink/src/FzRouterNavlink.vue"],"fileInfos":[{"version":"0","affectsGlobalScope":true},"0","0","0","0","0","0",{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},"0","0",{"version":"0","affectsGlobalScope":true},"0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0",{"version":"0","affectsGlobalScope":true},"0"],"root":[[96,100]],"options":{"composite":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"noImplicitThis":true,"skipLibCheck":true,"strict":true,"target":99,"useDefineForClassFields":true},"fileIdsList":[[51,60],[62],[52],[60],[56,61,73],[46,52,53],[54],[46],[46,47,48,50],[47,48,49,50],[56,73],[50,55],[50],[51,56,73,78,79],[51,79,80],[51,78],[51,56,57,67,68,73],[51,56,57,73],[51,56,57,67,68,69,73],[51,57,69,70,71],[51],[51,57,67],[51,56,73,82,93],[51,86,87,88,89,90,91,92],[51,87],[51,56,73],[51,56,73,82,85],[51,82,85,93,94],[51,83,84],[51,82],[51,56,72,73,81,95,96],[51,56,72,73,81,96,97],[51,96,97,98],[51,56,72,73,81],[51,56,63,64,65,73],[51,56,61,63,65,66,73],[51,56,67,73,74,75],[51,74,76,77],[51,65,73],[51,79,101],[51,57,102,103,104],[51,82,85,93,105],[51,56,61,63,65,73,106],[51,74]],"referencedMap":[[62,1],[63,2],[53,3],[61,4],[64,5],[54,6],[55,7],[47,8],[48,9],[50,10],[73,11],[56,12],[51,13],[59,12],[58,13],[80,14],[81,15],[79,16],[69,17],[71,18],[70,19],[72,20],[57,21],[68,22],[94,23],[93,24],[88,25],[89,26],[92,27],[86,27],[90,26],[91,26],[87,26],[95,28],[82,26],[85,29],[83,30],[84,30],[99,26],[97,31],[98,32],[100,33],[96,34],[66,35],[67,36],[65,21],[76,37],[77,37],[75,21],[78,38],[74,39]],"exportedModulesMap":[[62,1],[63,2],[53,3],[61,4],[64,5],[54,6],[55,7],[47,8],[48,9],[50,10],[73,11],[56,12],[51,13],[59,12],[58,13],[80,14],[81,40],[79,16],[69,17],[71,18],[70,19],[72,41],[57,21],[68,22],[94,23],[93,24],[88,25],[89,26],[92,27],[86,27],[90,26],[91,26],[87,26],[95,42],[82,26],[85,29],[83,30],[84,30],[99,26],[97,31],[98,32],[100,26],[96,34],[66,35],[67,43],[65,21],[76,37],[77,37],[75,21],[78,44],[74,39]],"semanticDiagnosticsPerFile":[62,63,53,52,60,61,64,54,55,47,48,50,46,49,44,45,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,20,24,21,22,23,25,26,27,5,28,29,30,31,6,35,32,33,34,36,7,37,42,43,38,39,40,41,1,73,56,51,59,58,80,81,79,69,71,70,72,57,68,94,93,88,89,92,86,90,91,87,95,82,85,83,84,99,97,98,100,96,66,67,65,76,77,75,78,74],"affectedFilesPendingEmit":[97,98,100,96],"emitSignatures":[96,97,98]},"version":"5.3.3"}