@nexxtmove/ui 1.2.7 → 1.2.8
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/components/Icon/Icon.vue.d.ts +3 -1
- package/dist/components/Icon/customIcons.d.ts +4 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +6 -1
- package/dist/index.js +509 -473
- package/package.json +1 -1
- package/src/assets/svg/funda.svg +4 -0
- package/src/components/Icon/Icon.vue +17 -3
- package/src/components/Icon/customIcons.ts +8 -0
- package/src/components/Tabs/Tabs.vue +49 -25
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { IconName } from '@awesome.me/kit-37b149f3ef/icons';
|
|
2
|
+
import { CustomIconName } from './customIcons';
|
|
2
3
|
export type IconType = 'regular' | 'solid' | 'light' | 'duotone';
|
|
4
|
+
export type NexxtIconName = IconName | CustomIconName;
|
|
3
5
|
interface NexxtIconProps {
|
|
4
|
-
name:
|
|
6
|
+
name: NexxtIconName;
|
|
5
7
|
type?: IconType;
|
|
6
8
|
}
|
|
7
9
|
declare const __VLS_export: import('vue').DefineComponent<NexxtIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NexxtIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { NexxtIconName } from '../Icon/Icon.vue';
|
|
2
|
+
export interface NexxtTabItem {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: NexxtIconName;
|
|
5
|
+
}
|
|
1
6
|
interface NexxtTabs {
|
|
2
|
-
tabs: string[];
|
|
7
|
+
tabs: (string | NexxtTabItem)[];
|
|
3
8
|
tablistLabel?: string;
|
|
4
9
|
}
|
|
5
10
|
type __VLS_Props = NexxtTabs;
|