@finmars/ui 1.0.26 → 1.0.30

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.
Files changed (43) hide show
  1. package/dist/finmars-ui.css +1 -1
  2. package/dist/finmars-ui.es.d.ts +2 -0
  3. package/dist/finmars-ui.es.js +12548 -8013
  4. package/dist/finmars-ui.umd.js +4 -2
  5. package/dist/src/components/fm/Avatar/Avatar.vue.d.ts +18 -0
  6. package/dist/src/components/fm/Badge/Badge.vue.d.ts +21 -0
  7. package/dist/src/components/fm/Button/Button.vue.d.ts +21 -0
  8. package/dist/src/components/fm/Checkbox/Checkbox.vue.d.ts +14 -0
  9. package/dist/src/components/fm/Chip/Chip.vue.d.ts +36 -0
  10. package/dist/src/components/fm/DateEditor/DateEditor.vue.d.ts +22 -0
  11. package/dist/src/components/fm/DateEditor/constants.d.ts +2 -0
  12. package/dist/src/components/fm/DateEditor/useDateEditor.d.ts +14 -0
  13. package/dist/src/components/fm/DateEditor/utils.d.ts +5 -0
  14. package/dist/src/components/fm/DatePicker/DatePicker.vue.d.ts +40 -0
  15. package/dist/src/components/fm/IconButton/IconButton.vue.d.ts +25 -0
  16. package/dist/src/components/fm/ItemPicker/ItemPicker.vue.d.ts +22 -0
  17. package/dist/src/components/fm/ItemPicker/ItemPickerGroup.vue.d.ts +16 -0
  18. package/dist/src/components/fm/ItemPicker/ItemPickerItem.vue.d.ts +14 -0
  19. package/dist/src/components/fm/ItemPicker/ItemPickerSearchResult.vue.d.ts +20 -0
  20. package/dist/src/components/fm/ItemPicker/useItemPicker.d.ts +17 -0
  21. package/dist/src/components/fm/Logo/Logo.vue.d.ts +11 -0
  22. package/dist/src/components/fm/Menu/Menu.vue.d.ts +75 -0
  23. package/dist/src/components/fm/Menu/MenuItem.vue.d.ts +24 -0
  24. package/dist/src/components/fm/Navigation/Navigation.vue.d.ts +14 -0
  25. package/dist/src/components/fm/Navigation/NavigationItem.vue.d.ts +31 -0
  26. package/dist/src/components/fm/Navigation/NavigationItemLabel.vue.d.ts +31 -0
  27. package/dist/src/components/fm/Navigation/NavigationPortal.vue.d.ts +16 -0
  28. package/dist/src/components/fm/Pagination/Pagination.vue.d.ts +25 -0
  29. package/dist/src/components/fm/Pagination/types.d.ts +19 -0
  30. package/dist/src/components/fm/ProgressCircular/ProgressCircular.vue.d.ts +6 -0
  31. package/dist/src/components/fm/ProgressLinear/ProgressLinear.vue.d.ts +6 -0
  32. package/dist/src/components/fm/Radio/Radio.vue.d.ts +19 -0
  33. package/dist/src/components/fm/Radio/RadioGroup.vue.d.ts +30 -0
  34. package/dist/src/components/fm/RangeSlider/RangeSlider.vue.d.ts +20 -0
  35. package/dist/src/components/fm/Search/Search.vue.d.ts +104 -0
  36. package/dist/src/components/fm/Select/Select.vue.d.ts +22 -0
  37. package/dist/src/components/fm/Select/types.d.ts +109 -0
  38. package/dist/src/components/fm/Slider/Slider.vue.d.ts +20 -0
  39. package/dist/src/components/fm/TextField/TextField.vue.d.ts +12 -0
  40. package/dist/src/components/fm/Tooltip/Tooltip.vue.d.ts +19 -0
  41. package/dist/src/index.d.ts +63 -0
  42. package/dist/themes.css +1 -0
  43. package/package.json +11 -3
@@ -0,0 +1,30 @@
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ $emit: (event: "update:modelValue", ...args: any[]) => void;
8
+ disabled: boolean;
9
+ readonly: boolean;
10
+ direction: string;
11
+ modelValue?: string | number | boolean | undefined;
12
+ name?: string | undefined;
13
+ label?: string | undefined;
14
+ $props: {
15
+ readonly disabled?: boolean | undefined;
16
+ readonly readonly?: boolean | undefined;
17
+ readonly direction?: string | undefined;
18
+ readonly modelValue?: string | number | boolean | undefined;
19
+ readonly name?: string | undefined;
20
+ readonly label?: string | undefined;
21
+ };
22
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
+ type __VLS_TemplateResult = {
24
+ slots: {
25
+ default?(_: {}): any;
26
+ };
27
+ refs: {};
28
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
29
+ };
30
+ declare var __VLS_inheritedAttrs: {};
@@ -0,0 +1,20 @@
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ $emit: (event: "update:modelValue" | "click:prepend" | "click:append" | "start" | "end", ...args: any[]) => void;
8
+ $props: {
9
+ readonly [x: string]: any;
10
+ };
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_TemplateResult = {
13
+ slots: {
14
+ prepend?(_: {}): any;
15
+ append?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
19
+ };
20
+ declare var __VLS_inheritedAttrs: {};
@@ -0,0 +1,104 @@
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ $emit: (event: "update:modelValue" | "click:clear" | "click:prependInner" | "update:focused" | "update:menu" | "update:search", ...args: any[]) => void;
8
+ loading: boolean;
9
+ disabled: boolean;
10
+ error: boolean;
11
+ placeholder: string;
12
+ hideDetails: boolean;
13
+ rules: unknown[];
14
+ items: unknown[];
15
+ multiple: boolean;
16
+ style: Record<string, any>;
17
+ readonly: boolean;
18
+ autoSelectFirst: string | boolean;
19
+ itemTitle: string;
20
+ itemValue: string;
21
+ clearOnSelect: boolean;
22
+ prependInnerIcon: string;
23
+ prependIconColor: string;
24
+ filterKeys: string | unknown[];
25
+ filterMode: string;
26
+ hideNoData: boolean;
27
+ hideSelected: boolean;
28
+ chips: boolean;
29
+ closableChips: boolean;
30
+ noFilter: boolean;
31
+ openOnClear: boolean;
32
+ returnObject: boolean;
33
+ minWidth?: string | number | undefined;
34
+ modelValue?: string | number | Record<string, any> | undefined;
35
+ name?: string | undefined;
36
+ width?: string | number | undefined;
37
+ hint?: string | undefined;
38
+ errorMessages?: string | unknown[] | undefined;
39
+ maxWidth?: string | number | undefined;
40
+ id?: string | undefined;
41
+ search?: string | undefined;
42
+ noDataText?: string | undefined;
43
+ $props: {
44
+ readonly loading?: boolean | undefined;
45
+ readonly disabled?: boolean | undefined;
46
+ readonly error?: boolean | undefined;
47
+ readonly placeholder?: string | undefined;
48
+ readonly hideDetails?: boolean | undefined;
49
+ readonly rules?: unknown[] | undefined;
50
+ readonly items?: unknown[] | undefined;
51
+ readonly multiple?: boolean | undefined;
52
+ readonly style?: Record<string, any> | undefined;
53
+ readonly readonly?: boolean | undefined;
54
+ readonly autoSelectFirst?: string | boolean | undefined;
55
+ readonly itemTitle?: string | undefined;
56
+ readonly itemValue?: string | undefined;
57
+ readonly clearOnSelect?: boolean | undefined;
58
+ readonly prependInnerIcon?: string | undefined;
59
+ readonly prependIconColor?: string | undefined;
60
+ readonly filterKeys?: string | unknown[] | undefined;
61
+ readonly filterMode?: string | undefined;
62
+ readonly hideNoData?: boolean | undefined;
63
+ readonly hideSelected?: boolean | undefined;
64
+ readonly chips?: boolean | undefined;
65
+ readonly closableChips?: boolean | undefined;
66
+ readonly noFilter?: boolean | undefined;
67
+ readonly openOnClear?: boolean | undefined;
68
+ readonly returnObject?: boolean | undefined;
69
+ readonly minWidth?: string | number | undefined;
70
+ readonly modelValue?: string | number | Record<string, any> | undefined;
71
+ readonly name?: string | undefined;
72
+ readonly width?: string | number | undefined;
73
+ readonly hint?: string | undefined;
74
+ readonly errorMessages?: string | unknown[] | undefined;
75
+ readonly maxWidth?: string | number | undefined;
76
+ readonly id?: string | undefined;
77
+ readonly search?: string | undefined;
78
+ readonly noDataText?: string | undefined;
79
+ };
80
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
81
+ type __VLS_TemplateResult = {
82
+ slots: {
83
+ details?(_: {}): any;
84
+ message?(_: {}): any;
85
+ item?(_: {
86
+ item: any;
87
+ index: any;
88
+ props: any;
89
+ }): any;
90
+ chip?(_: {
91
+ item: any;
92
+ index: any;
93
+ props: any;
94
+ }): any;
95
+ "no-data"?(_: {}): any;
96
+ selection?(_: {
97
+ item: any;
98
+ index: any;
99
+ }): any;
100
+ };
101
+ refs: {};
102
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
103
+ };
104
+ declare var __VLS_inheritedAttrs: {};
@@ -0,0 +1,22 @@
1
+ import { FmSelectProps, FmSelectEmits, FmSelectSlots } from './types';
2
+ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
5
+ readonly "onClick:prepend"?: ((value: MouseEvent) => any) | undefined;
6
+ readonly "onClick:clear"?: ((value: MouseEvent) => any) | undefined;
7
+ readonly "onClick:prependInner"?: ((value: MouseEvent) => any) | undefined;
8
+ readonly "onUpdate:focused"?: ((value: boolean) => any) | undefined;
9
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:focused" | "onClick:clear" | "onClick:prepend" | "onClick:prependInner"> & FmSelectProps<T>> & import('vue').PublicProps;
10
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
11
+ attrs: any;
12
+ slots: Readonly<FmSelectSlots<T>> & FmSelectSlots<T>;
13
+ emit: FmSelectEmits<T>;
14
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
15
+ [key: string]: any;
16
+ }> & {
17
+ __ctx?: Awaited<typeof __VLS_setup>;
18
+ };
19
+ export default _default;
20
+ type __VLS_PrettifyLocal<T> = {
21
+ [K in keyof T]: T[K];
22
+ } & {};
@@ -0,0 +1,109 @@
1
+ import { ComputedRef, Ref, VNode } from 'vue';
2
+ interface ListItem<T = any> {
3
+ title: string;
4
+ props: {
5
+ [key: string]: any;
6
+ title: string;
7
+ value: any;
8
+ };
9
+ children?: ListItem<T>[];
10
+ }
11
+ export interface FmSelectProps<T> {
12
+ appendIcon?: string;
13
+ bgColor?: string;
14
+ color?: string;
15
+ density: 'default' | 'comfortable' | 'compact';
16
+ chips?: boolean;
17
+ clearable?: boolean;
18
+ closableChips?: boolean;
19
+ disabled?: boolean;
20
+ error?: boolean;
21
+ errorMessages?: string | string[];
22
+ focused?: boolean;
23
+ hideDetails?: boolean;
24
+ hideNoData?: boolean;
25
+ hideSelected?: boolean;
26
+ hint?: string;
27
+ itemProps?: string | boolean;
28
+ items: T[];
29
+ itemTitle?: keyof T | string | any;
30
+ itemValue?: keyof T | string | any;
31
+ loading?: boolean;
32
+ menu?: boolean;
33
+ menuProps?: any;
34
+ messages?: string | string[];
35
+ maxWidth?: number | string;
36
+ minWidth?: number | string;
37
+ width?: number | string;
38
+ modelValue?: T | T[keyof T] | any;
39
+ multiple?: boolean;
40
+ name?: string;
41
+ noDataText?: string;
42
+ openOnClear?: boolean;
43
+ placeholder?: string;
44
+ prependIcon?: string | any;
45
+ prependInnerIcon?: string | any;
46
+ readonly?: boolean;
47
+ returnObject?: boolean;
48
+ rounded?: string | number | boolean;
49
+ singleLine?: boolean;
50
+ tile?: boolean;
51
+ variant?: 'outlined' | 'plain' | 'underlined' | 'filled' | 'solo' | 'solo-inverted' | 'solo-filled';
52
+ }
53
+ export interface FmSelectEmits<T> {
54
+ (event: 'click:clear', value: MouseEvent): void;
55
+ (event: 'click:prepend', value: MouseEvent): void;
56
+ (event: 'click:prependInner', value: MouseEvent): void;
57
+ (event: 'update:focused', value: boolean): void;
58
+ (event: 'update:modelValue', value: T | T[keyof T] | unknown): void;
59
+ }
60
+ export interface FmSelectSlots<T> {
61
+ 'append-inner': (props: {
62
+ isActive: Ref<boolean>;
63
+ isFocused: Ref<boolean>;
64
+ controlRef: Ref<HTMLElement | undefined>;
65
+ }) => VNode;
66
+ chip: (props: {
67
+ item: ListItem<T>;
68
+ index: number;
69
+ props: Record<string, any>;
70
+ }) => VNode;
71
+ clear: (props: {
72
+ isActive: Ref<boolean>;
73
+ isFocused: Ref<boolean>;
74
+ controlRef: Ref<HTMLElement | undefined>;
75
+ }) => VNode;
76
+ details: (props: {
77
+ id: ComputedRef<string>;
78
+ messagesId: ComputedRef<string>;
79
+ isDirty: ComputedRef<boolean>;
80
+ isDisabled: ComputedRef<boolean>;
81
+ isReadonly: ComputedRef<boolean>;
82
+ isPristine: Ref<boolean>;
83
+ isValid: ComputedRef<boolean | null>;
84
+ isValidating: Ref<boolean>;
85
+ }) => VNode;
86
+ item: (props: {
87
+ item: ListItem<T>;
88
+ index: number;
89
+ props: Record<string, any>;
90
+ }) => VNode;
91
+ loader: (props: {
92
+ color?: string;
93
+ isActive: boolean;
94
+ }) => VNode;
95
+ message: (props: {
96
+ message: string;
97
+ }) => VNode;
98
+ 'no-data': () => VNode;
99
+ 'prepend-inner': (props: {
100
+ isActive: Ref<boolean>;
101
+ isFocused: Ref<boolean>;
102
+ controlRef: Ref<HTMLElement | undefined>;
103
+ }) => VNode;
104
+ selection: (props: {
105
+ item: ListItem<T>;
106
+ index: number;
107
+ }) => VNode;
108
+ }
109
+ export {};
@@ -0,0 +1,20 @@
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ $emit: (event: "update:modelValue" | "click:prepend" | "click:append" | "start" | "end", ...args: any[]) => void;
8
+ $props: {
9
+ readonly [x: string]: any;
10
+ };
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_TemplateResult = {
13
+ slots: {
14
+ prepend?(_: {}): any;
15
+ append?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
19
+ };
20
+ declare var __VLS_inheritedAttrs: {};
@@ -0,0 +1,12 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ errorMessages: any;
3
+ isValid: any;
4
+ reset: any;
5
+ resetValidation: any;
6
+ validate: any;
7
+ $emit: (event: "update:modelValue" | "click:clear" | "click:control" | "click:prependInner" | "mousedown:control" | "update:focused" | "change", ...args: any[]) => void;
8
+ $props: {
9
+ readonly [x: string]: any;
10
+ };
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
+ type __VLS_TemplateResult = {
8
+ slots: {
9
+ activator?(_: {
10
+ isActive: any;
11
+ props: any;
12
+ targetRef: any;
13
+ }): any;
14
+ default?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
18
+ };
19
+ declare var __VLS_inheritedAttrs: {};
@@ -0,0 +1,63 @@
1
+ import { default as FmAvatar } from './components/fm/Avatar/Avatar.vue';
2
+ import { default as FmBadge } from './components/fm/Badge/Badge.vue';
3
+ import { default as FmButton } from './components/fm/Button/Button.vue';
4
+ import { default as FmCheckbox } from './components/fm/Checkbox/Checkbox.vue';
5
+ import { default as FmChip } from './components/fm/Chip/Chip.vue';
6
+ import { default as FmDateEditor } from './components/fm/DateEditor/DateEditor.vue';
7
+ import { default as FmDatePicker } from './components/fm/DatePicker/DatePicker.vue';
8
+ import { default as FmIconButton } from './components/fm/IconButton/IconButton.vue';
9
+ import { default as FmItemPicker } from './components/fm/ItemPicker/ItemPicker.vue';
10
+ import { default as FmLogo } from './components/fm/Logo/Logo.vue';
11
+ import { default as FmMenu } from './components/fm/Menu/Menu.vue';
12
+ import { default as FmNavigationPortal } from './components/fm/Navigation/NavigationPortal.vue';
13
+ import { default as FmPagination } from './components/fm/Pagination/Pagination.vue';
14
+ import { FmPaginationProps, FmPaginationEmits } from './components/fm/Pagination/types';
15
+ import { default as FmProgressCircular } from './components/fm/ProgressCircular/ProgressCircular.vue';
16
+ import { default as FmProgressLinear } from './components/fm/ProgressLinear/ProgressLinear.vue';
17
+ import { default as FmRadio } from './components/fm/Radio/Radio.vue';
18
+ import { default as FmRadioGroup } from './components/fm/Radio/RadioGroup.vue';
19
+ import { default as FmRangeSlider } from './components/fm/RangeSlider/RangeSlider.vue';
20
+ import { default as FmSearch } from './components/fm/Search/Search.vue';
21
+ import { default as FmSelect } from './components/fm/Select/Select.vue';
22
+ import { FmSelectProps, FmSelectEmits, FmSelectSlots } from './components/fm/Select/types';
23
+ import { default as FmSlider } from './components/fm/Slider/Slider.vue';
24
+ import { default as FmTextField } from './components/fm/TextField/TextField.vue';
25
+ import { default as FmTooltip } from './components/fm/Tooltip/Tooltip.vue';
26
+ import { default as FmHeader } from '../stories/Header.vue';
27
+ export { FmHeader, FmNavigationPortal, FmAvatar, FmBadge, FmButton, FmCheckbox, FmChip, FmDateEditor, FmDatePicker, FmIconButton, FmItemPicker, FmLogo, FmMenu, FmPagination, FmProgressCircular, FmProgressLinear, FmRadio, FmRadioGroup, FmRangeSlider, FmSearch, FmSelect, FmSlider, FmTextField, FmTooltip, FmPaginationProps, FmPaginationEmits, FmSelectProps, FmSelectEmits, FmSelectSlots, };
28
+ /**
29
+ * VUE plugin that registers all components
30
+ *
31
+ * @type {{install(*, {}=): void}}
32
+ */
33
+ export declare const uiComponentsPlugin: {
34
+ install(Vue: any, args?: sny): void;
35
+ };
36
+ declare module 'vue' {
37
+ interface GlobalComponents {
38
+ FmNavigationPortal: typeof FmNavigationPortal;
39
+ FmHeader: typeof FmHeader;
40
+ FmAvatar: typeof FmAvatar;
41
+ FmBadge: typeof FmBadge;
42
+ FmButton: typeof FmButton;
43
+ FmCheckbox: typeof FmCheckbox;
44
+ FmChip: typeof FmChip;
45
+ FmDateEditor: typeof FmDateEditor;
46
+ FmDatePicker: typeof FmDatePicker;
47
+ FmIconButton: typeof FmIconButton;
48
+ FmItemPicker: typeof FmItemPicker;
49
+ FmLogo: typeof FmLogo;
50
+ FmMenu: typeof FmMenu;
51
+ FmPagination: typeof FmPagination;
52
+ FmProgressCircular: typeof FmProgressCircular;
53
+ FmProgressLinear: typeof FmProgressLinear;
54
+ FmRadio: typeof FmRadio;
55
+ FmRadioGroup: typeof FmRadioGroup;
56
+ FmRangeSlider: typeof FmRangeSlider;
57
+ FmSearch: typeof FmSearch;
58
+ FmSelect: typeof FmSelect;
59
+ FmSlider: typeof FmSlider;
60
+ FmTextField: typeof FmTextField;
61
+ FmTooltip: typeof FmTooltip;
62
+ }
63
+ }
package/dist/themes.css CHANGED
@@ -1,6 +1,7 @@
1
1
  :root {
2
2
  --spacing-4: 4px;
3
3
  --spacing-8: 8px;
4
+ --spacing-12: 12px;
4
5
  --spacing-16: 16px;
5
6
  --spacing-24: 24px;
6
7
  --spacing-32: 32px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finmars/ui",
3
- "version": "1.0.26",
3
+ "version": "1.0.30",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "vite dev --config vite.config.dev.js",
@@ -17,12 +17,14 @@
17
17
  "README.md",
18
18
  "package.json"
19
19
  ],
20
+ "type": "module",
20
21
  "main": "dist/finmars-ui.umd.js",
21
22
  "module": "dist/finmars-ui.es.js",
22
23
  "exports": {
23
24
  ".": {
24
25
  "require": "./dist/finmars-ui.umd.js",
25
- "import": "./dist/finmars-ui.es.js"
26
+ "import": "./dist/finmars-ui.es.js",
27
+ "types": "./dist/finmars-ui.es.d.ts"
26
28
  },
27
29
  "./dist/finmars-ui.css": "./dist/finmars-ui.css",
28
30
  "./dist/themes.css": "./dist/themes.css"
@@ -42,6 +44,8 @@
42
44
  "@storybook/theming": "^8.3.6",
43
45
  "@storybook/vue3": "^8.3.6",
44
46
  "@storybook/vue3-vite": "^8.3.6",
47
+ "@types/lodash": "^4.17.13",
48
+ "@vuedx/typescript-plugin-vue": "^0.7.6",
45
49
  "autoprefixer": "^10.4.19",
46
50
  "eslint": "^8.24.0",
47
51
  "eslint-config-prettier": "^9.1.0",
@@ -56,12 +60,16 @@
56
60
  "sass-embedded": "^1.80.4",
57
61
  "storybook": "^8.3.6",
58
62
  "tailwindcss": "^3.4.11",
59
- "vite": "^5.4.10"
63
+ "typescript": "^5.6.3",
64
+ "vite": "^5.4.10",
65
+ "vite-plugin-dts": "^4.3.0",
66
+ "vue-tsc": "^2.1.10"
60
67
  },
61
68
  "dependencies": {
62
69
  "@mdi/font": "^7.4.47",
63
70
  "@vitejs/plugin-vue": "^5.1.4",
64
71
  "dayjs": "^1.11.13",
72
+ "lodash": "^4.17.21",
65
73
  "maska": "^3.0.3",
66
74
  "vite-plugin-vuetify": "^2.0.4",
67
75
  "vite-svg-loader": "^5.1.0",