fds-vue-core 2.1.7 → 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/components.d.ts +15 -17
- package/dist/fds-vue-core.cjs.js +3484 -3484
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.es.js +3485 -3485
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Blocks/FdsBlockAlert/types.ts +1 -1
- package/src/components/Blocks/FdsBlockExpander/types.ts +1 -1
- package/src/components/Blocks/FdsBlockInfo/types.ts +1 -1
- package/src/components/Blocks/FdsBlockLink/types.ts +1 -1
- package/src/components/Buttons/ButtonBaseProps.ts +1 -1
- package/src/components/FdsIcon/types.ts +1 -1
- package/src/components/FdsTreeView/types.ts +1 -1
- package/src/index.ts +62 -62
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
// Import styles
|
|
2
|
-
import './style.css'
|
|
3
2
|
import type { App, Plugin } from 'vue'
|
|
3
|
+
import './style.css'
|
|
4
4
|
|
|
5
|
-
// Import all components
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import FdsTabs from '
|
|
33
|
-
import FdsTabsItem from '
|
|
34
|
-
import FdsHeading from '
|
|
35
|
-
import FdsListHeading from '
|
|
36
|
-
import FdsSeparator from '
|
|
37
|
-
import FdsText from '
|
|
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
38
|
|
|
39
|
-
// Import composables
|
|
40
|
-
import useTreeState from '
|
|
41
|
-
import { useBoldQuery } from '
|
|
42
|
-
import { isPidString, useIsPid } from '
|
|
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'
|
|
43
43
|
|
|
44
44
|
// Export individual components
|
|
45
45
|
export {
|
|
@@ -124,30 +124,30 @@ export default FdsVueCorePlugin
|
|
|
124
124
|
|
|
125
125
|
// Export all component types
|
|
126
126
|
// TreeView types (only consumer-facing types)
|
|
127
|
-
export type { FdsNodeShape, FdsTreeNode, FdsTreeViewProps, FdsTreeViewStyles } from '
|
|
127
|
+
export type { FdsNodeShape, FdsTreeNode, FdsTreeViewProps, FdsTreeViewStyles } from './components/FdsTreeView/types'
|
|
128
128
|
|
|
129
129
|
// Button component types
|
|
130
|
-
export type { FdsButtonBaseProps } from '
|
|
131
|
-
export type { FdsCopyButtonProps } from '
|
|
132
|
-
export type { FdsIconButtonProps } from '
|
|
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'
|
|
133
133
|
|
|
134
134
|
// Button components that use FdsButtonBaseProps
|
|
135
|
-
import type { FdsButtonBaseProps } from '
|
|
135
|
+
import type { FdsButtonBaseProps } from './components/Buttons/ButtonBaseProps'
|
|
136
136
|
export type FdsButtonPrimaryProps = FdsButtonBaseProps
|
|
137
137
|
export type FdsButtonSecondaryProps = FdsButtonBaseProps
|
|
138
138
|
export type FdsButtonMinorProps = FdsButtonBaseProps
|
|
139
139
|
export type FdsButtonDownloadProps = FdsButtonBaseProps
|
|
140
140
|
|
|
141
141
|
// Form component types
|
|
142
|
-
export type { FdsCheckboxProps } from '
|
|
143
|
-
export type { FdsInputProps } from '
|
|
144
|
-
export type { FdsRadioProps } from '
|
|
145
|
-
export type { FdsSelectProps } from '
|
|
146
|
-
export type { FdsTextareaProps } from '
|
|
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'
|
|
147
147
|
|
|
148
148
|
// Table component types
|
|
149
|
-
export type { FdsTableProps } from '
|
|
150
|
-
export type { FdsTableHeadProps } from '
|
|
149
|
+
export type { FdsTableProps } from './components/Table/FdsTable/types'
|
|
150
|
+
export type { FdsTableHeadProps } from './components/Table/FdsTableHead/types'
|
|
151
151
|
|
|
152
152
|
// Block component types
|
|
153
153
|
// Use relative paths so the generated declarations are resolvable from the published package
|
|
@@ -158,19 +158,19 @@ export type { FdsBlockInfoProps } from './components/Blocks/FdsBlockInfo/types'
|
|
|
158
158
|
export type { FdsInteractionBlockProps } from './components/Blocks/FdsBlockLink/types'
|
|
159
159
|
|
|
160
160
|
// Tab component types
|
|
161
|
-
export type { FdsTabsProps } from '
|
|
162
|
-
export type { FdsTabsItemProps } from '
|
|
161
|
+
export type { FdsTabsProps } from './components/Tabs/FdsTabs/types'
|
|
162
|
+
export type { FdsTabsItemProps } from './components/Tabs/FdsTabsItem/types'
|
|
163
163
|
|
|
164
164
|
// Typography component types
|
|
165
|
-
export type { FdsHeadingProps } from '
|
|
166
|
-
export type { FdsListHeadingProps } from '
|
|
167
|
-
export type { FdsTextProps } from '
|
|
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'
|
|
168
168
|
|
|
169
169
|
// Other component types
|
|
170
|
-
export type { FdsIconName, FdsIconProps } from '
|
|
171
|
-
export type { FdsModalProps } from '
|
|
172
|
-
export type { FdsPaginationProps } from '
|
|
173
|
-
export type { FdsSearchSelectProps } from '
|
|
174
|
-
export type { FdsSpinnerProps } from '
|
|
175
|
-
export type { FdsStickerProps } from '
|
|
176
|
-
export type { FdsTruncatedTextProps } from '
|
|
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'
|