@beterdichtbij/component-library 0.6.1 → 0.6.3-Utrecht-West
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/bd-component-lib.cjs.js +30 -30
- package/dist/bd-component-lib.css +1 -1
- package/dist/bd-component-lib.es.js +2968 -2875
- package/dist/bd-component-lib.umd.js +32 -32
- package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts +9 -10
- package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts +47 -0
- package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts.map +1 -0
- package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts +6 -6
- package/dist/components/atoms/BDButton/BDButton.vue.d.ts +16 -18
- package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts +1 -1
- package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts +5 -6
- package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts +5 -6
- package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts +5 -6
- package/dist/components/molecules/BDUser/BDUser.vue.d.ts +45 -0
- package/dist/components/molecules/BDUser/BDUser.vue.d.ts.map +1 -0
- package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts +47 -17
- package/dist/index.d.ts +7 -2
- package/dist/layout/BDContainer.vue.d.ts +3 -4
- package/dist/types/BDAlert.d.ts +3 -2
- package/dist/types/BDArticle.d.ts +7 -0
- package/dist/types/BDButton.d.ts +5 -4
- package/dist/types/BDDropDown.d.ts +7 -3
- package/dist/types/BDFormSelect.d.ts +2 -2
- package/dist/types/BDImage.d.ts +2 -2
- package/dist/types/BDMarkdownEditor.d.ts +2 -2
- package/dist/types/BDUser.d.ts +8 -0
- package/dist/types/BootstrapSizes.d.ts +8 -0
- package/dist/types/BootstrapVariants.d.ts +10 -0
- package/dist/types/ButtonColorVariants.d.ts +14 -0
- package/dist/types/Identifier.d.ts +3 -0
- package/dist/types/tiptapVariants.d.ts +6 -0
- package/dist/utils/type.d.ts +1 -0
- package/package.json +118 -119
- package/dist/enums/bootstrap.d.ts +0 -14
- package/dist/enums/tiptapVariants.d.ts +0 -4
- package/dist/enums/variants.d.ts +0 -12
- package/dist/types/BootstrapSize.d.ts +0 -4
- package/dist/types/BootstrapVariant.d.ts +0 -4
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GenericEnum } from '../utils/type';
|
|
2
|
+
export declare const BOOTSTRAP_VARIANTS: {
|
|
3
|
+
readonly PRIMARY: "primary";
|
|
4
|
+
readonly SECONDARY: "secondary";
|
|
5
|
+
readonly DANGER: "danger";
|
|
6
|
+
readonly WARNING: "warning";
|
|
7
|
+
readonly INFO: "info";
|
|
8
|
+
readonly SUCCESS: "success";
|
|
9
|
+
};
|
|
10
|
+
export type bootstrapVariants = GenericEnum<typeof BOOTSTRAP_VARIANTS>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GenericEnum } from '../utils/type';
|
|
2
|
+
export declare const BTN_COLOR_VARIANTS: {
|
|
3
|
+
readonly PRIMARY: "primary";
|
|
4
|
+
readonly SECONDARY: "secondary";
|
|
5
|
+
readonly COLLEAGUE: "colleague";
|
|
6
|
+
readonly DANGER: "danger";
|
|
7
|
+
readonly OUT_PRIMARY: "outline-primary";
|
|
8
|
+
readonly OUT_PRIMARY_DARK: "outline-primary-dark";
|
|
9
|
+
readonly OUT_TERTIARY: "outline-tertiary";
|
|
10
|
+
readonly OUT_LINK: "link";
|
|
11
|
+
readonly LIGHT: "light";
|
|
12
|
+
readonly DARK: "dark";
|
|
13
|
+
};
|
|
14
|
+
export type btnColorVariants = GenericEnum<typeof BTN_COLOR_VARIANTS>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type GenericEnum<T> = T[keyof T];
|
package/package.json
CHANGED
|
@@ -1,121 +1,120 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
"name": "@beterdichtbij/component-library",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.6.3-Utrecht-West",
|
|
5
|
+
"author": "Ralph van der Neut <rvanderneut@beterdichtbij.nl>",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"main": "./dist/bd-component-lib.umd.js",
|
|
11
|
+
"module": "./dist/bd-component-lib.es.js",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/bd-component-lib.es.js"
|
|
17
|
+
},
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"default": "./dist/bd-component-lib.umd.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"./dist/bd-component-lib.css": {
|
|
24
|
+
"import": "./dist/bd-component-lib.css",
|
|
25
|
+
"require": "./dist/bd-component-lib.css"
|
|
26
|
+
}
|
|
23
27
|
},
|
|
24
|
-
"./dist/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
"bugs": {
|
|
118
|
-
"url": "https://bitbucket.org/beterdichtbij/beterdichtbij-component-library/issues"
|
|
119
|
-
},
|
|
120
|
-
"homepage": "https://bitbucket.org/beterdichtbij/beterdichtbij-component-library#readme"
|
|
121
|
-
}
|
|
28
|
+
"types": "./dist/main.d.ts",
|
|
29
|
+
"scripts": {
|
|
30
|
+
"dev": "vite",
|
|
31
|
+
"build": "vite build",
|
|
32
|
+
"preview": "vite preview",
|
|
33
|
+
"storybook": "storybook dev -p 6006",
|
|
34
|
+
"install:publish": "npm run audit:lib && npm install",
|
|
35
|
+
"build:lib": "tsc && vite build",
|
|
36
|
+
"build:storybook": "storybook build",
|
|
37
|
+
"build:publish": "npm run install:publish && npm run build:lib && npm run build:storybook",
|
|
38
|
+
"audit:lib": "npm audit --package-lock-only --audit-level=critical --include=prod --omit=dev",
|
|
39
|
+
"publish:sb": "swa deploy --env production",
|
|
40
|
+
"publish:sb-prod": "swa deploy --config swa-cli-prod.config.json --env production",
|
|
41
|
+
"lint:js": "eslint src --ext .ts,.vue --fix",
|
|
42
|
+
"vitest": "vitest --config vitest.config.ts --coverage",
|
|
43
|
+
"test:ci": "vitest run --reporter=default --reporter=junit --outputFile=reports/junit.xml --coverage"
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"vue",
|
|
47
|
+
"vue3",
|
|
48
|
+
"component",
|
|
49
|
+
"library",
|
|
50
|
+
"BeterDichtbij"
|
|
51
|
+
],
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"vue": "^3.2.47"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@tiptap/extension-bold": "2.1.12",
|
|
57
|
+
"@tiptap/extension-bullet-list": "2.1.12",
|
|
58
|
+
"@tiptap/extension-document": "2.1.12",
|
|
59
|
+
"@tiptap/extension-hard-break": "2.1.12",
|
|
60
|
+
"@tiptap/extension-italic": "2.1.12",
|
|
61
|
+
"@tiptap/extension-link": "2.1.12",
|
|
62
|
+
"@tiptap/extension-list-item": "2.1.12",
|
|
63
|
+
"@tiptap/extension-ordered-list": "2.1.12",
|
|
64
|
+
"@tiptap/extension-paragraph": "2.1.12",
|
|
65
|
+
"@tiptap/extension-placeholder": "2.1.12",
|
|
66
|
+
"@tiptap/extension-text": "2.1.12",
|
|
67
|
+
"@tiptap/extension-underline": "2.1.12",
|
|
68
|
+
"@tiptap/pm": "2.1.12",
|
|
69
|
+
"@tiptap/vue-3": "2.1.12",
|
|
70
|
+
"@vueuse/core": "10.6.1",
|
|
71
|
+
"dropzone": "5.9.3",
|
|
72
|
+
"uid": "2.0.2"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@azure/static-web-apps-cli": "1.1.4",
|
|
76
|
+
"@fontsource/quicksand": "^5.0.2",
|
|
77
|
+
"@fontsource/work-sans": "^5.0.2",
|
|
78
|
+
"@storybook/addon-a11y": "7.5.3",
|
|
79
|
+
"@storybook/addon-essentials": "^7.0.11",
|
|
80
|
+
"@storybook/addon-interactions": "^7.0.11",
|
|
81
|
+
"@storybook/addon-links": "^7.0.11",
|
|
82
|
+
"@storybook/blocks": "^7.0.11",
|
|
83
|
+
"@storybook/testing-library": "^0.2.2",
|
|
84
|
+
"@storybook/vue3": "^7.0.11",
|
|
85
|
+
"@storybook/vue3-vite": "^7.0.11",
|
|
86
|
+
"@types/dropzone": "5.7.6",
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "6.8.0",
|
|
88
|
+
"@typescript-eslint/parser": "6.8.0",
|
|
89
|
+
"@vitejs/plugin-vue": "^4.1.0",
|
|
90
|
+
"@vitest/coverage-v8": "0.32.0",
|
|
91
|
+
"@vue/eslint-config-typescript": "12.0.0",
|
|
92
|
+
"@vue/test-utils": "^2.3.2",
|
|
93
|
+
"bootstrap": "5.3.0",
|
|
94
|
+
"eslint": "8.51.0",
|
|
95
|
+
"eslint-config-prettier": "9.0.0",
|
|
96
|
+
"eslint-plugin-prettier": "5.0.1",
|
|
97
|
+
"eslint-plugin-vue": "9.17.0",
|
|
98
|
+
"jsdom": "^22.0.0",
|
|
99
|
+
"path": "^0.12.7",
|
|
100
|
+
"prettier": "3.0.3",
|
|
101
|
+
"react": "^18.2.0",
|
|
102
|
+
"react-dom": "^18.2.0",
|
|
103
|
+
"rollup-plugin-typescript2": "^0.34.1",
|
|
104
|
+
"sass": "^1.62.1",
|
|
105
|
+
"storybook": "^7.0.11",
|
|
106
|
+
"typescript": "^5.0.2",
|
|
107
|
+
"vite": "^4.3.2",
|
|
108
|
+
"vite-plugin-dts": "^2.3.0",
|
|
109
|
+
"vitest": "0.32.0"
|
|
110
|
+
},
|
|
111
|
+
"description": "Component library voor BeterDichtbij design system",
|
|
112
|
+
"repository": {
|
|
113
|
+
"type": "git",
|
|
114
|
+
"url": "git+https://ralph_van_der_neut@bitbucket.org/beterdichtbij/beterdichtbij-component-library.git"
|
|
115
|
+
},
|
|
116
|
+
"bugs": {
|
|
117
|
+
"url": "https://bitbucket.org/beterdichtbij/beterdichtbij-component-library/issues"
|
|
118
|
+
},
|
|
119
|
+
"homepage": "https://bitbucket.org/beterdichtbij/beterdichtbij-component-library#readme"
|
|
120
|
+
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum BOOTSTRAP_SIZES {
|
|
2
|
-
XS = "xs",
|
|
3
|
-
SM = "sm",
|
|
4
|
-
MD = "md",
|
|
5
|
-
LG = "lg"
|
|
6
|
-
}
|
|
7
|
-
export declare enum BOOTSTRAP_VARIANTS {
|
|
8
|
-
PRIMARY = "primary",
|
|
9
|
-
SECONDARY = "secondary",
|
|
10
|
-
DANGER = "danger",
|
|
11
|
-
WARNING = "warning",
|
|
12
|
-
INFO = "info",
|
|
13
|
-
SUCCESS = "success"
|
|
14
|
-
}
|
package/dist/enums/variants.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare enum BTN_VARIANTS {
|
|
2
|
-
PRIMARY = "primary",
|
|
3
|
-
SECONDARY = "secondary",
|
|
4
|
-
COLLEAGUE = "colleague",
|
|
5
|
-
DANGER = "danger",
|
|
6
|
-
OUT_PRIMARY = "outline-primary",
|
|
7
|
-
OUT_PRIMARY_DARK = "outline-primary-dark",
|
|
8
|
-
OUT_TERTIARY = "outline-tertiary",
|
|
9
|
-
OUT_LINK = "link",
|
|
10
|
-
LIGHT = "light",
|
|
11
|
-
DARK = "dark"
|
|
12
|
-
}
|