fds-vue-core 2.1.5 → 2.1.7
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/components.d.ts +76 -0
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +5 -4
- package/src/index.ts +9 -13
- package/dist/global-components.d.ts +0 -75
- package/src/global-components.ts +0 -75
package/components.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Entry types for consumers of `fds-vue-core`.
|
|
2
|
+
// - Re-export all public types (including the default plugin) from the source index
|
|
3
|
+
// - Declare global components for Volar/TS in consuming repos
|
|
4
|
+
export * from './src/index'
|
|
5
|
+
export { default } from './src/index'
|
|
6
|
+
|
|
7
|
+
import type { DefineComponent } from 'vue'
|
|
8
|
+
import type { FdsTreeViewProps } from './src/components/FdsTreeView/types'
|
|
9
|
+
import type { FdsButtonBaseProps } from './src/components/Buttons/ButtonBaseProps'
|
|
10
|
+
import type { FdsCopyButtonProps } from './src/components/Buttons/FdsButtonCopy/types'
|
|
11
|
+
import type { FdsIconButtonProps } from './src/components/Buttons/FdsButtonIcon/types'
|
|
12
|
+
import type { FdsIconProps } from './src/components/FdsIcon/types'
|
|
13
|
+
import type { FdsSpinnerProps } from './src/components/FdsSpinner/types'
|
|
14
|
+
import type { FdsRadioProps } from './src/components/Form/FdsRadio/types'
|
|
15
|
+
import type { FdsInputProps } from './src/components/Form/FdsInput/types'
|
|
16
|
+
import type { FdsCheckboxProps } from './src/components/Form/FdsCheckbox/types'
|
|
17
|
+
import type { FdsTextareaProps } from './src/components/Form/FdsTextarea/types'
|
|
18
|
+
import type { FdsSelectProps } from './src/components/Form/FdsSelect/types'
|
|
19
|
+
import type { FdsTableProps } from './src/components/Table/FdsTable/types'
|
|
20
|
+
import type { FdsTableHeadProps } from './src/components/Table/FdsTableHead/types'
|
|
21
|
+
import type { FdsContentBlockProps } from './src/components/Blocks/FdsBlockContent/types'
|
|
22
|
+
import type { FdsBlockInfoProps } from './src/components/Blocks/FdsBlockInfo/types'
|
|
23
|
+
import type { FdsAlertBlockProps } from './src/components/Blocks/FdsBlockAlert/types'
|
|
24
|
+
import type { FdsExpanderBlockProps } from './src/components/Blocks/FdsBlockExpander/types'
|
|
25
|
+
import type { FdsInteractionBlockProps } from './src/components/Blocks/FdsBlockLink/types'
|
|
26
|
+
import type { FdsStickerProps } from './src/components/FdsSticker/types'
|
|
27
|
+
import type { FdsTabsProps } from './src/components/Tabs/FdsTabs/types'
|
|
28
|
+
import type { FdsTabsItemProps } from './src/components/Tabs/FdsTabsItem/types'
|
|
29
|
+
import type { FdsModalProps } from './src/components/FdsModal/types'
|
|
30
|
+
import type { FdsPaginationProps } from './src/components/FdsPagination/types'
|
|
31
|
+
import type { FdsSearchSelectProps } from './src/components/FdsSearchSelect/types'
|
|
32
|
+
import type { FdsTruncatedTextProps } from './src/components/FdsTruncatedText/types'
|
|
33
|
+
import type { FdsHeadingProps } from './src/components/Typography/FdsHeading/types'
|
|
34
|
+
import type { FdsTextProps } from './src/components/Typography/FdsText/types'
|
|
35
|
+
import type { FdsListHeadingProps } from './src/components/Typography/FdsListHeading/types'
|
|
36
|
+
|
|
37
|
+
// Global component declarations visible in consuming projects
|
|
38
|
+
declare module '@vue/runtime-core' {
|
|
39
|
+
export interface GlobalComponents {
|
|
40
|
+
FdsTreeView: DefineComponent<FdsTreeViewProps>
|
|
41
|
+
FdsButtonPrimary: DefineComponent<FdsButtonBaseProps>
|
|
42
|
+
FdsButtonSecondary: DefineComponent<FdsButtonBaseProps>
|
|
43
|
+
FdsButtonMinor: DefineComponent<FdsButtonBaseProps>
|
|
44
|
+
FdsButtonIcon: DefineComponent<FdsIconButtonProps>
|
|
45
|
+
FdsButtonCopy: DefineComponent<FdsCopyButtonProps>
|
|
46
|
+
FdsButtonDownload: DefineComponent<FdsButtonBaseProps>
|
|
47
|
+
FdsIcon: DefineComponent<FdsIconProps>
|
|
48
|
+
FdsSpinner: DefineComponent<FdsSpinnerProps>
|
|
49
|
+
FdsRadio: DefineComponent<FdsRadioProps>
|
|
50
|
+
FdsInput: DefineComponent<FdsInputProps>
|
|
51
|
+
FdsCheckbox: DefineComponent<FdsCheckboxProps>
|
|
52
|
+
FdsTextarea: DefineComponent<FdsTextareaProps>
|
|
53
|
+
FdsSelect: DefineComponent<FdsSelectProps>
|
|
54
|
+
FdsTable: DefineComponent<FdsTableProps>
|
|
55
|
+
FdsTableHead: DefineComponent<FdsTableHeadProps>
|
|
56
|
+
FdsBlockContent: DefineComponent<FdsContentBlockProps>
|
|
57
|
+
FdsBlockInfo: DefineComponent<FdsBlockInfoProps>
|
|
58
|
+
FdsBlockAlert: DefineComponent<FdsAlertBlockProps>
|
|
59
|
+
FdsBlockExpander: DefineComponent<FdsExpanderBlockProps>
|
|
60
|
+
FdsBlockLink: DefineComponent<FdsInteractionBlockProps>
|
|
61
|
+
FdsSticker: DefineComponent<FdsStickerProps>
|
|
62
|
+
FdsTabs: DefineComponent<FdsTabsProps>
|
|
63
|
+
FdsTabsItem: DefineComponent<FdsTabsItemProps>
|
|
64
|
+
FdsModal: DefineComponent<FdsModalProps>
|
|
65
|
+
FdsPagination: DefineComponent<FdsPaginationProps>
|
|
66
|
+
FdsSearchSelect: DefineComponent<FdsSearchSelectProps>
|
|
67
|
+
FdsTruncatedText: DefineComponent<FdsTruncatedTextProps>
|
|
68
|
+
FdsHeading: DefineComponent<FdsHeadingProps>
|
|
69
|
+
FdsSeparator: DefineComponent<Record<string, never>>
|
|
70
|
+
FdsText: DefineComponent<FdsTextProps>
|
|
71
|
+
FdsListHeading: DefineComponent<FdsListHeadingProps>
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export {}
|
|
76
|
+
|