fds-vue-core 2.1.3 → 2.1.4
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/global-components.d.ts +67 -32
- package/package.json +2 -2
|
@@ -1,37 +1,72 @@
|
|
|
1
|
+
import type { DefineComponent } from 'vue'
|
|
2
|
+
import type {
|
|
3
|
+
FdsTreeViewProps,
|
|
4
|
+
FdsButtonPrimaryProps,
|
|
5
|
+
FdsButtonSecondaryProps,
|
|
6
|
+
FdsButtonMinorProps,
|
|
7
|
+
FdsIconButtonProps,
|
|
8
|
+
FdsCopyButtonProps,
|
|
9
|
+
FdsButtonDownloadProps,
|
|
10
|
+
FdsIconProps,
|
|
11
|
+
FdsSpinnerProps,
|
|
12
|
+
FdsRadioProps,
|
|
13
|
+
FdsInputProps,
|
|
14
|
+
FdsCheckboxProps,
|
|
15
|
+
FdsTextareaProps,
|
|
16
|
+
FdsSelectProps,
|
|
17
|
+
FdsTableProps,
|
|
18
|
+
FdsTableHeadProps,
|
|
19
|
+
FdsContentBlockProps,
|
|
20
|
+
FdsBlockInfoProps,
|
|
21
|
+
FdsAlertBlockProps,
|
|
22
|
+
FdsExpanderBlockProps,
|
|
23
|
+
FdsInteractionBlockProps,
|
|
24
|
+
FdsStickerProps,
|
|
25
|
+
FdsTabsProps,
|
|
26
|
+
FdsTabsItemProps,
|
|
27
|
+
FdsModalProps,
|
|
28
|
+
FdsPaginationProps,
|
|
29
|
+
FdsSearchSelectProps,
|
|
30
|
+
FdsTruncatedTextProps,
|
|
31
|
+
FdsHeadingProps,
|
|
32
|
+
FdsTextProps,
|
|
33
|
+
FdsListHeadingProps,
|
|
34
|
+
} from './index'
|
|
35
|
+
|
|
1
36
|
declare module '@vue/runtime-core' {
|
|
2
37
|
export interface GlobalComponents {
|
|
3
|
-
FdsTreeView:
|
|
4
|
-
FdsButtonPrimary:
|
|
5
|
-
FdsButtonSecondary:
|
|
6
|
-
FdsButtonMinor:
|
|
7
|
-
FdsButtonIcon:
|
|
8
|
-
FdsButtonCopy:
|
|
9
|
-
FdsButtonDownload:
|
|
10
|
-
FdsIcon:
|
|
11
|
-
FdsSpinner:
|
|
12
|
-
FdsRadio:
|
|
13
|
-
FdsInput:
|
|
14
|
-
FdsCheckbox:
|
|
15
|
-
FdsTextarea:
|
|
16
|
-
FdsSelect:
|
|
17
|
-
FdsTable:
|
|
18
|
-
FdsTableHead:
|
|
19
|
-
FdsBlockContent:
|
|
20
|
-
FdsBlockInfo:
|
|
21
|
-
FdsBlockAlert:
|
|
22
|
-
FdsBlockExpander:
|
|
23
|
-
FdsBlockLink:
|
|
24
|
-
FdsSticker:
|
|
25
|
-
FdsTabs:
|
|
26
|
-
FdsTabsItem:
|
|
27
|
-
FdsModal:
|
|
28
|
-
FdsPagination:
|
|
29
|
-
FdsSearchSelect:
|
|
30
|
-
FdsTruncatedText:
|
|
31
|
-
FdsHeading:
|
|
32
|
-
FdsSeparator:
|
|
33
|
-
FdsText:
|
|
34
|
-
FdsListHeading:
|
|
38
|
+
FdsTreeView: DefineComponent<FdsTreeViewProps>
|
|
39
|
+
FdsButtonPrimary: DefineComponent<FdsButtonPrimaryProps>
|
|
40
|
+
FdsButtonSecondary: DefineComponent<FdsButtonSecondaryProps>
|
|
41
|
+
FdsButtonMinor: DefineComponent<FdsButtonMinorProps>
|
|
42
|
+
FdsButtonIcon: DefineComponent<FdsIconButtonProps>
|
|
43
|
+
FdsButtonCopy: DefineComponent<FdsCopyButtonProps>
|
|
44
|
+
FdsButtonDownload: DefineComponent<FdsButtonDownloadProps>
|
|
45
|
+
FdsIcon: DefineComponent<FdsIconProps>
|
|
46
|
+
FdsSpinner: DefineComponent<FdsSpinnerProps>
|
|
47
|
+
FdsRadio: DefineComponent<FdsRadioProps>
|
|
48
|
+
FdsInput: DefineComponent<FdsInputProps>
|
|
49
|
+
FdsCheckbox: DefineComponent<FdsCheckboxProps>
|
|
50
|
+
FdsTextarea: DefineComponent<FdsTextareaProps>
|
|
51
|
+
FdsSelect: DefineComponent<FdsSelectProps>
|
|
52
|
+
FdsTable: DefineComponent<FdsTableProps>
|
|
53
|
+
FdsTableHead: DefineComponent<FdsTableHeadProps>
|
|
54
|
+
FdsBlockContent: DefineComponent<FdsContentBlockProps>
|
|
55
|
+
FdsBlockInfo: DefineComponent<FdsBlockInfoProps>
|
|
56
|
+
FdsBlockAlert: DefineComponent<FdsAlertBlockProps>
|
|
57
|
+
FdsBlockExpander: DefineComponent<FdsExpanderBlockProps>
|
|
58
|
+
FdsBlockLink: DefineComponent<FdsInteractionBlockProps>
|
|
59
|
+
FdsSticker: DefineComponent<FdsStickerProps>
|
|
60
|
+
FdsTabs: DefineComponent<FdsTabsProps>
|
|
61
|
+
FdsTabsItem: DefineComponent<FdsTabsItemProps>
|
|
62
|
+
FdsModal: DefineComponent<FdsModalProps>
|
|
63
|
+
FdsPagination: DefineComponent<FdsPaginationProps>
|
|
64
|
+
FdsSearchSelect: DefineComponent<FdsSearchSelectProps>
|
|
65
|
+
FdsTruncatedText: DefineComponent<FdsTruncatedTextProps>
|
|
66
|
+
FdsHeading: DefineComponent<FdsHeadingProps>
|
|
67
|
+
FdsSeparator: DefineComponent<Record<string, never>>
|
|
68
|
+
FdsText: DefineComponent<FdsTextProps>
|
|
69
|
+
FdsListHeading: DefineComponent<FdsListHeadingProps>
|
|
35
70
|
}
|
|
36
71
|
}
|
|
37
72
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fds-vue-core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "FDS Vue Core Component Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/fds-vue-core.cjs.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"serve": "vite",
|
|
48
|
-
"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 &&
|
|
48
|
+
"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 && node -e \"const fs=require('fs'); const content=fs.readFileSync('./dist/index.d.ts','utf8'); fs.writeFileSync('./dist/index.d.ts','import \\\\'./global-components\\\\'\\n'+content);\" && cp -r ./public/assets ./dist/assets",
|
|
49
49
|
"build:types": "vue-tsc --project tsconfig.build.json",
|
|
50
50
|
"preview": "vite preview",
|
|
51
51
|
"lint": "eslint . --fix",
|