fds-vue-core 2.1.6 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fds-vue-core",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "FDS Vue Core Component Library",
5
5
  "type": "module",
6
6
  "main": "./dist/fds-vue-core.cjs.js",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "scripts": {
49
49
  "serve": "vite",
50
- "build": "vite build && npm run build:types && cp ./src/tokens.css ./dist/tokens.css && cp ./src/slot-styles.css ./dist/slot-styles.css && cp ./src/apply.css ./dist/apply.css && cp ./src/fonts.css ./dist/fonts.css && cp ./src/global-components.ts ./dist/global-components.d.ts && cp -r ./public/assets ./dist/assets",
50
+ "build": "vite build && npm run build:types && cp ./src/tokens.css ./dist/tokens.css && cp ./src/slot-styles.css ./dist/slot-styles.css && cp ./src/apply.css ./dist/apply.css && cp ./src/fonts.css ./dist/fonts.css && cp -r ./public/assets ./dist/assets",
51
51
  "build:types": "vue-tsc --project tsconfig.build.json",
52
52
  "preview": "vite preview",
53
53
  "lint": "eslint . --fix",
@@ -1,4 +1,4 @@
1
- import type icons from '@/assets/icons'
1
+ import type icons from '../../../assets/icons'
2
2
 
3
3
  export interface FdsAlertBlockProps {
4
4
  id?: string
@@ -1,4 +1,4 @@
1
- import type { FdsIconName } from '@/components/FdsIcon/types'
1
+ import type { FdsIconName } from '../../FdsIcon/types'
2
2
 
3
3
  export interface FdsExpanderBlockProps {
4
4
  disabled?: boolean
@@ -1,4 +1,4 @@
1
- import type { FdsIconName } from '@/components/FdsIcon/types'
1
+ import type { FdsIconName } from '../../FdsIcon/types'
2
2
 
3
3
  export interface FdsBlockInfoProps {
4
4
  heading?: string
@@ -1,4 +1,4 @@
1
- import type { FdsIconName } from '@/components/FdsIcon/types'
1
+ import type { FdsIconName } from '../../FdsIcon/types'
2
2
 
3
3
  export interface FdsInteractionBlockProps {
4
4
  label: string
@@ -1,4 +1,4 @@
1
- import type { FdsIconName } from '@/components/FdsIcon/types'
1
+ import type { FdsIconName } from '../FdsIcon/types'
2
2
 
3
3
  export interface FdsButtonBaseProps {
4
4
  text: string
@@ -1,4 +1,4 @@
1
- import type icons from '@/assets/icons'
1
+ import type icons from '../../assets/icons'
2
2
 
3
3
  export type FdsIconName = keyof typeof icons
4
4
 
@@ -1,4 +1,4 @@
1
- import type { FdsIconName } from '@/components/FdsIcon/types'
1
+ import type { FdsIconName } from '../FdsIcon/types'
2
2
 
3
3
  /**
4
4
  * Represents a single node in the tree structure
package/src/index.ts CHANGED
@@ -1,48 +1,45 @@
1
- // App type imported inline below to avoid TS plugin issues in some environments
2
-
3
1
  // Import styles
4
- import './global-components'
2
+ import type { App, Plugin } from 'vue'
5
3
  import './style.css'
6
4
 
7
- // Import all components
8
- import FdsButtonCopy from '@/components/Buttons/FdsButtonCopy/FdsButtonCopy.vue'
9
- import FdsButtonDownload from '@/components/Buttons/FdsButtonDownload/FdsButtonDownload.vue'
10
- import FdsButtonIcon from '@/components/Buttons/FdsButtonIcon/FdsButtonIcon.vue'
11
- import FdsButtonMinor from '@/components/Buttons/FdsButtonMinor/FdsButtonMinor.vue'
12
- import FdsButtonPrimary from '@/components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue'
13
- import FdsButtonSecondary from '@/components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue'
14
- import FdsIcon from '@/components/FdsIcon/FdsIcon.vue'
15
- import FdsSpinner from '@/components/FdsSpinner/FdsSpinner.vue'
16
- import FdsTreeView from '@/components/FdsTreeView/FdsTreeView.vue'
17
- import FdsCheckbox from '@/components/Form/FdsCheckbox/FdsCheckbox.vue'
18
- import FdsInput from '@/components/Form/FdsInput/FdsInput.vue'
19
- import FdsRadio from '@/components/Form/FdsRadio/FdsRadio.vue'
20
- import FdsSelect from '@/components/Form/FdsSelect/FdsSelect.vue'
21
- import FdsTextarea from '@/components/Form/FdsTextarea/FdsTextarea.vue'
22
- import FdsTable from '@/components/Table/FdsTable/FdsTable.vue'
23
- import FdsTableHead from '@/components/Table/FdsTableHead/FdsTableHead.vue'
24
- // Block components
25
- import FdsBlockAlert from '@/components/Blocks/FdsBlockAlert/FdsBlockAlert.vue'
26
- import FdsBlockContent from '@/components/Blocks/FdsBlockContent/FdsBlockContent.vue'
27
- import FdsBlockExpander from '@/components/Blocks/FdsBlockExpander/FdsBlockExpander.vue'
28
- import FdsBlockInfo from '@/components/Blocks/FdsBlockInfo/FdsBlockInfo.vue'
29
- import FdsBlockLink from '@/components/Blocks/FdsBlockLink/FdsBlockLink.vue'
30
- import FdsModal from '@/components/FdsModal/FdsModal.vue'
31
- import FdsPagination from '@/components/FdsPagination/FdsPagination.vue'
32
- import FdsSearchSelect from '@/components/FdsSearchSelect/FdsSearchSelect.vue'
33
- import FdsSticker from '@/components/FdsSticker/FdsSticker.vue'
34
- import FdsTruncatedText from '@/components/FdsTruncatedText/FdsTruncatedText.vue'
35
- import FdsTabs from '@/components/Tabs/FdsTabs/FdsTabs.vue'
36
- import FdsTabsItem from '@/components/Tabs/FdsTabsItem/FdsTabsItem.vue'
37
- import FdsHeading from '@/components/Typography/FdsHeading/FdsHeading.vue'
38
- import FdsListHeading from '@/components/Typography/FdsListHeading/FdsListHeading.vue'
39
- import FdsSeparator from '@/components/Typography/FdsSeparator/FdsSeparator.vue'
40
- import FdsText from '@/components/Typography/FdsText/FdsText.vue'
41
-
42
- // Import composables
43
- import useTreeState from '@/components/FdsTreeView/useTreeState'
44
- import { useBoldQuery } from '@/composables/useBoldQuery'
45
- import { isPidString, useIsPid } from '@/composables/useIsPid'
5
+ // Import all components (use relative paths so consumers don't need our TS alias)
6
+ import FdsBlockAlert from './components/Blocks/FdsBlockAlert/FdsBlockAlert.vue'
7
+ import FdsBlockContent from './components/Blocks/FdsBlockContent/FdsBlockContent.vue'
8
+ import FdsBlockExpander from './components/Blocks/FdsBlockExpander/FdsBlockExpander.vue'
9
+ import FdsBlockInfo from './components/Blocks/FdsBlockInfo/FdsBlockInfo.vue'
10
+ import FdsBlockLink from './components/Blocks/FdsBlockLink/FdsBlockLink.vue'
11
+ import FdsButtonCopy from './components/Buttons/FdsButtonCopy/FdsButtonCopy.vue'
12
+ import FdsButtonDownload from './components/Buttons/FdsButtonDownload/FdsButtonDownload.vue'
13
+ import FdsButtonIcon from './components/Buttons/FdsButtonIcon/FdsButtonIcon.vue'
14
+ import FdsButtonMinor from './components/Buttons/FdsButtonMinor/FdsButtonMinor.vue'
15
+ import FdsButtonPrimary from './components/Buttons/FdsButtonPrimary/FdsButtonPrimary.vue'
16
+ import FdsButtonSecondary from './components/Buttons/FdsButtonSecondary/FdsButtonSecondary.vue'
17
+ import FdsIcon from './components/FdsIcon/FdsIcon.vue'
18
+ import FdsModal from './components/FdsModal/FdsModal.vue'
19
+ import FdsPagination from './components/FdsPagination/FdsPagination.vue'
20
+ import FdsSearchSelect from './components/FdsSearchSelect/FdsSearchSelect.vue'
21
+ import FdsSpinner from './components/FdsSpinner/FdsSpinner.vue'
22
+ import FdsSticker from './components/FdsSticker/FdsSticker.vue'
23
+ import FdsTreeView from './components/FdsTreeView/FdsTreeView.vue'
24
+ import FdsTruncatedText from './components/FdsTruncatedText/FdsTruncatedText.vue'
25
+ import FdsCheckbox from './components/Form/FdsCheckbox/FdsCheckbox.vue'
26
+ import FdsInput from './components/Form/FdsInput/FdsInput.vue'
27
+ import FdsRadio from './components/Form/FdsRadio/FdsRadio.vue'
28
+ import FdsSelect from './components/Form/FdsSelect/FdsSelect.vue'
29
+ import FdsTextarea from './components/Form/FdsTextarea/FdsTextarea.vue'
30
+ import FdsTable from './components/Table/FdsTable/FdsTable.vue'
31
+ import FdsTableHead from './components/Table/FdsTableHead/FdsTableHead.vue'
32
+ import FdsTabs from './components/Tabs/FdsTabs/FdsTabs.vue'
33
+ import FdsTabsItem from './components/Tabs/FdsTabsItem/FdsTabsItem.vue'
34
+ import FdsHeading from './components/Typography/FdsHeading/FdsHeading.vue'
35
+ import FdsListHeading from './components/Typography/FdsListHeading/FdsListHeading.vue'
36
+ import FdsSeparator from './components/Typography/FdsSeparator/FdsSeparator.vue'
37
+ import FdsText from './components/Typography/FdsText/FdsText.vue'
38
+
39
+ // Import composables (relative paths)
40
+ import useTreeState from './components/FdsTreeView/useTreeState'
41
+ import { useBoldQuery } from './composables/useBoldQuery'
42
+ import { isPidString, useIsPid } from './composables/useIsPid'
46
43
 
47
44
  // Export individual components
48
45
  export {
@@ -84,10 +81,8 @@ export {
84
81
  export { isPidString, useBoldQuery, useIsPid, useTreeState }
85
82
 
86
83
  // Export component library plugin
87
- type AppLike = { component: (name: string, comp: unknown) => unknown }
88
-
89
- const FdsVueCorePlugin = {
90
- install(app: AppLike) {
84
+ const FdsVueCorePlugin: Plugin = {
85
+ install(app: App) {
91
86
  // Register all components globally
92
87
  app.component('FdsTreeView', FdsTreeView)
93
88
  // Register button variants with direct names
@@ -129,52 +124,53 @@ export default FdsVueCorePlugin
129
124
 
130
125
  // Export all component types
131
126
  // TreeView types (only consumer-facing types)
132
- export type { FdsNodeShape, FdsTreeNode, FdsTreeViewProps, FdsTreeViewStyles } from '@/components/FdsTreeView/types'
127
+ export type { FdsNodeShape, FdsTreeNode, FdsTreeViewProps, FdsTreeViewStyles } from './components/FdsTreeView/types'
133
128
 
134
129
  // Button component types
135
- export type { FdsButtonBaseProps } from '@/components/Buttons/ButtonBaseProps'
136
- export type { FdsCopyButtonProps } from '@/components/Buttons/FdsButtonCopy/types'
137
- export type { FdsIconButtonProps } from '@/components/Buttons/FdsButtonIcon/types'
130
+ export type { FdsButtonBaseProps } from './components/Buttons/ButtonBaseProps'
131
+ export type { FdsCopyButtonProps } from './components/Buttons/FdsButtonCopy/types'
132
+ export type { FdsIconButtonProps } from './components/Buttons/FdsButtonIcon/types'
138
133
 
139
134
  // Button components that use FdsButtonBaseProps
140
- import type { FdsButtonBaseProps } from '@/components/Buttons/ButtonBaseProps'
135
+ import type { FdsButtonBaseProps } from './components/Buttons/ButtonBaseProps'
141
136
  export type FdsButtonPrimaryProps = FdsButtonBaseProps
142
137
  export type FdsButtonSecondaryProps = FdsButtonBaseProps
143
138
  export type FdsButtonMinorProps = FdsButtonBaseProps
144
139
  export type FdsButtonDownloadProps = FdsButtonBaseProps
145
140
 
146
141
  // Form component types
147
- export type { FdsCheckboxProps } from '@/components/Form/FdsCheckbox/types'
148
- export type { FdsInputProps } from '@/components/Form/FdsInput/types'
149
- export type { FdsRadioProps } from '@/components/Form/FdsRadio/types'
150
- export type { FdsSelectProps } from '@/components/Form/FdsSelect/types'
151
- export type { FdsTextareaProps } from '@/components/Form/FdsTextarea/types'
142
+ export type { FdsCheckboxProps } from './components/Form/FdsCheckbox/types'
143
+ export type { FdsInputProps } from './components/Form/FdsInput/types'
144
+ export type { FdsRadioProps } from './components/Form/FdsRadio/types'
145
+ export type { FdsSelectProps } from './components/Form/FdsSelect/types'
146
+ export type { FdsTextareaProps } from './components/Form/FdsTextarea/types'
152
147
 
153
148
  // Table component types
154
- export type { FdsTableProps } from '@/components/Table/FdsTable/types'
155
- export type { FdsTableHeadProps } from '@/components/Table/FdsTableHead/types'
149
+ export type { FdsTableProps } from './components/Table/FdsTable/types'
150
+ export type { FdsTableHeadProps } from './components/Table/FdsTableHead/types'
156
151
 
157
152
  // Block component types
158
- export type { FdsAlertBlockProps } from '@/components/Blocks/FdsBlockAlert/types'
159
- export type { FdsContentBlockProps } from '@/components/Blocks/FdsBlockContent/types'
160
- export type { FdsExpanderBlockProps } from '@/components/Blocks/FdsBlockExpander/types'
161
- export type { FdsBlockInfoProps } from '@/components/Blocks/FdsBlockInfo/types'
162
- export type { FdsInteractionBlockProps } from '@/components/Blocks/FdsBlockLink/types'
153
+ // Use relative paths so the generated declarations are resolvable from the published package
154
+ export type { FdsAlertBlockProps } from './components/Blocks/FdsBlockAlert/types'
155
+ export type { FdsContentBlockProps } from './components/Blocks/FdsBlockContent/types'
156
+ export type { FdsExpanderBlockProps } from './components/Blocks/FdsBlockExpander/types'
157
+ export type { FdsBlockInfoProps } from './components/Blocks/FdsBlockInfo/types'
158
+ export type { FdsInteractionBlockProps } from './components/Blocks/FdsBlockLink/types'
163
159
 
164
160
  // Tab component types
165
- export type { FdsTabsProps } from '@/components/Tabs/FdsTabs/types'
166
- export type { FdsTabsItemProps } from '@/components/Tabs/FdsTabsItem/types'
161
+ export type { FdsTabsProps } from './components/Tabs/FdsTabs/types'
162
+ export type { FdsTabsItemProps } from './components/Tabs/FdsTabsItem/types'
167
163
 
168
164
  // Typography component types
169
- export type { FdsHeadingProps } from '@/components/Typography/FdsHeading/types'
170
- export type { FdsListHeadingProps } from '@/components/Typography/FdsListHeading/types'
171
- export type { FdsTextProps } from '@/components/Typography/FdsText/types'
165
+ export type { FdsHeadingProps } from './components/Typography/FdsHeading/types'
166
+ export type { FdsListHeadingProps } from './components/Typography/FdsListHeading/types'
167
+ export type { FdsTextProps } from './components/Typography/FdsText/types'
172
168
 
173
169
  // Other component types
174
- export type { FdsIconName, FdsIconProps } from '@/components/FdsIcon/types'
175
- export type { FdsModalProps } from '@/components/FdsModal/types'
176
- export type { FdsPaginationProps } from '@/components/FdsPagination/types'
177
- export type { FdsSearchSelectProps } from '@/components/FdsSearchSelect/types'
178
- export type { FdsSpinnerProps } from '@/components/FdsSpinner/types'
179
- export type { FdsStickerProps } from '@/components/FdsSticker/types'
180
- export type { FdsTruncatedTextProps } from '@/components/FdsTruncatedText/types'
170
+ export type { FdsIconName, FdsIconProps } from './components/FdsIcon/types'
171
+ export type { FdsModalProps } from './components/FdsModal/types'
172
+ export type { FdsPaginationProps } from './components/FdsPagination/types'
173
+ export type { FdsSearchSelectProps } from './components/FdsSearchSelect/types'
174
+ export type { FdsSpinnerProps } from './components/FdsSpinner/types'
175
+ export type { FdsStickerProps } from './components/FdsSticker/types'
176
+ export type { FdsTruncatedTextProps } from './components/FdsTruncatedText/types'
@@ -1,75 +0,0 @@
1
- import type { DefineComponent } from 'vue'
2
- // Import prop types directly from their source modules to avoid circular deps with index.ts
3
- import type { FdsTreeViewProps } from './components/FdsTreeView/types'
4
- import type { FdsButtonBaseProps } from './components/Buttons/ButtonBaseProps'
5
- import type { FdsCopyButtonProps } from './components/Buttons/FdsButtonCopy/types'
6
- import type { FdsIconButtonProps } from './components/Buttons/FdsButtonIcon/types'
7
- import type { FdsIconProps } from './components/FdsIcon/types'
8
- import type { FdsSpinnerProps } from './components/FdsSpinner/types'
9
- import type { FdsRadioProps } from './components/Form/FdsRadio/types'
10
- import type { FdsInputProps } from './components/Form/FdsInput/types'
11
- import type { FdsCheckboxProps } from './components/Form/FdsCheckbox/types'
12
- import type { FdsTextareaProps } from './components/Form/FdsTextarea/types'
13
- import type { FdsSelectProps } from './components/Form/FdsSelect/types'
14
- import type { FdsTableProps } from './components/Table/FdsTable/types'
15
- import type { FdsTableHeadProps } from './components/Table/FdsTableHead/types'
16
- import type { FdsContentBlockProps } from './components/Blocks/FdsBlockContent/types'
17
- import type { FdsBlockInfoProps } from './components/Blocks/FdsBlockInfo/types'
18
- import type { FdsAlertBlockProps } from './components/Blocks/FdsBlockAlert/types'
19
- import type { FdsExpanderBlockProps } from './components/Blocks/FdsBlockExpander/types'
20
- import type { FdsInteractionBlockProps } from './components/Blocks/FdsBlockLink/types'
21
- import type { FdsStickerProps } from './components/FdsSticker/types'
22
- import type { FdsTabsProps } from './components/Tabs/FdsTabs/types'
23
- import type { FdsTabsItemProps } from './components/Tabs/FdsTabsItem/types'
24
- import type { FdsModalProps } from './components/FdsModal/types'
25
- import type { FdsPaginationProps } from './components/FdsPagination/types'
26
- import type { FdsSearchSelectProps } from './components/FdsSearchSelect/types'
27
- import type { FdsTruncatedTextProps } from './components/FdsTruncatedText/types'
28
- import type { FdsHeadingProps } from './components/Typography/FdsHeading/types'
29
- import type { FdsTextProps } from './components/Typography/FdsText/types'
30
- import type { FdsListHeadingProps } from './components/Typography/FdsListHeading/types'
31
-
32
- // Derive button prop types from base props
33
- type FdsButtonPrimaryProps = FdsButtonBaseProps
34
- type FdsButtonSecondaryProps = FdsButtonBaseProps
35
- type FdsButtonMinorProps = FdsButtonBaseProps
36
- type FdsButtonDownloadProps = FdsButtonBaseProps
37
-
38
- declare module '@vue/runtime-core' {
39
- export interface GlobalComponents {
40
- FdsTreeView: DefineComponent<FdsTreeViewProps>
41
- FdsButtonPrimary: DefineComponent<FdsButtonPrimaryProps>
42
- FdsButtonSecondary: DefineComponent<FdsButtonSecondaryProps>
43
- FdsButtonMinor: DefineComponent<FdsButtonMinorProps>
44
- FdsButtonIcon: DefineComponent<FdsIconButtonProps>
45
- FdsButtonCopy: DefineComponent<FdsCopyButtonProps>
46
- FdsButtonDownload: DefineComponent<FdsButtonDownloadProps>
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 {}
@@ -1,75 +0,0 @@
1
- import type { DefineComponent } from 'vue'
2
- // Import prop types directly from their source modules to avoid circular deps with index.ts
3
- import type { FdsTreeViewProps } from './components/FdsTreeView/types'
4
- import type { FdsButtonBaseProps } from './components/Buttons/ButtonBaseProps'
5
- import type { FdsCopyButtonProps } from './components/Buttons/FdsButtonCopy/types'
6
- import type { FdsIconButtonProps } from './components/Buttons/FdsButtonIcon/types'
7
- import type { FdsIconProps } from './components/FdsIcon/types'
8
- import type { FdsSpinnerProps } from './components/FdsSpinner/types'
9
- import type { FdsRadioProps } from './components/Form/FdsRadio/types'
10
- import type { FdsInputProps } from './components/Form/FdsInput/types'
11
- import type { FdsCheckboxProps } from './components/Form/FdsCheckbox/types'
12
- import type { FdsTextareaProps } from './components/Form/FdsTextarea/types'
13
- import type { FdsSelectProps } from './components/Form/FdsSelect/types'
14
- import type { FdsTableProps } from './components/Table/FdsTable/types'
15
- import type { FdsTableHeadProps } from './components/Table/FdsTableHead/types'
16
- import type { FdsContentBlockProps } from './components/Blocks/FdsBlockContent/types'
17
- import type { FdsBlockInfoProps } from './components/Blocks/FdsBlockInfo/types'
18
- import type { FdsAlertBlockProps } from './components/Blocks/FdsBlockAlert/types'
19
- import type { FdsExpanderBlockProps } from './components/Blocks/FdsBlockExpander/types'
20
- import type { FdsInteractionBlockProps } from './components/Blocks/FdsBlockLink/types'
21
- import type { FdsStickerProps } from './components/FdsSticker/types'
22
- import type { FdsTabsProps } from './components/Tabs/FdsTabs/types'
23
- import type { FdsTabsItemProps } from './components/Tabs/FdsTabsItem/types'
24
- import type { FdsModalProps } from './components/FdsModal/types'
25
- import type { FdsPaginationProps } from './components/FdsPagination/types'
26
- import type { FdsSearchSelectProps } from './components/FdsSearchSelect/types'
27
- import type { FdsTruncatedTextProps } from './components/FdsTruncatedText/types'
28
- import type { FdsHeadingProps } from './components/Typography/FdsHeading/types'
29
- import type { FdsTextProps } from './components/Typography/FdsText/types'
30
- import type { FdsListHeadingProps } from './components/Typography/FdsListHeading/types'
31
-
32
- // Derive button prop types from base props
33
- type FdsButtonPrimaryProps = FdsButtonBaseProps
34
- type FdsButtonSecondaryProps = FdsButtonBaseProps
35
- type FdsButtonMinorProps = FdsButtonBaseProps
36
- type FdsButtonDownloadProps = FdsButtonBaseProps
37
-
38
- declare module '@vue/runtime-core' {
39
- export interface GlobalComponents {
40
- FdsTreeView: DefineComponent<FdsTreeViewProps>
41
- FdsButtonPrimary: DefineComponent<FdsButtonPrimaryProps>
42
- FdsButtonSecondary: DefineComponent<FdsButtonSecondaryProps>
43
- FdsButtonMinor: DefineComponent<FdsButtonMinorProps>
44
- FdsButtonIcon: DefineComponent<FdsIconButtonProps>
45
- FdsButtonCopy: DefineComponent<FdsCopyButtonProps>
46
- FdsButtonDownload: DefineComponent<FdsButtonDownloadProps>
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 {}