@beterdichtbij/component-library 0.5.0 → 0.5.1
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 +29 -29
- package/dist/bd-component-lib.es.js +3399 -3295
- package/dist/bd-component-lib.umd.js +26 -26
- package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts +65 -0
- package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/types/BDFormSelect.d.ts +10 -0
- package/dist/types/BDOption.d.ts +4 -0
- package/dist/types/ValidationState.d.ts +3 -0
- package/package.json +10 -3
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { BOOTSTRAP_SIZES } from '../../../enums/bootstrap';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
size: {
|
|
5
|
+
type: __PropType<BOOTSTRAP_SIZES.SM | BOOTSTRAP_SIZES.MD | BOOTSTRAP_SIZES.LG | undefined>;
|
|
6
|
+
required: false;
|
|
7
|
+
default: BOOTSTRAP_SIZES;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: __PropType<boolean | undefined>;
|
|
11
|
+
required: false;
|
|
12
|
+
};
|
|
13
|
+
autofocus: {
|
|
14
|
+
type: __PropType<boolean | undefined>;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
options: {
|
|
18
|
+
type: __PropType<import("../../../types/BDOption").BDOption[] | undefined>;
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: __PropType<string>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
state: {
|
|
26
|
+
type: __PropType<boolean | null | undefined>;
|
|
27
|
+
required: false;
|
|
28
|
+
default: null;
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "input")[], "change" | "update:modelValue" | "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
size: {
|
|
32
|
+
type: __PropType<BOOTSTRAP_SIZES.SM | BOOTSTRAP_SIZES.MD | BOOTSTRAP_SIZES.LG | undefined>;
|
|
33
|
+
required: false;
|
|
34
|
+
default: BOOTSTRAP_SIZES;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: __PropType<boolean | undefined>;
|
|
38
|
+
required: false;
|
|
39
|
+
};
|
|
40
|
+
autofocus: {
|
|
41
|
+
type: __PropType<boolean | undefined>;
|
|
42
|
+
required: false;
|
|
43
|
+
};
|
|
44
|
+
options: {
|
|
45
|
+
type: __PropType<import("../../../types/BDOption").BDOption[] | undefined>;
|
|
46
|
+
required: false;
|
|
47
|
+
};
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: __PropType<string>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
state: {
|
|
53
|
+
type: __PropType<boolean | null | undefined>;
|
|
54
|
+
required: false;
|
|
55
|
+
default: null;
|
|
56
|
+
};
|
|
57
|
+
}>> & {
|
|
58
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
size: BOOTSTRAP_SIZES.SM | BOOTSTRAP_SIZES.MD | BOOTSTRAP_SIZES.LG | undefined;
|
|
63
|
+
state: boolean | null | undefined;
|
|
64
|
+
}, {}>;
|
|
65
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BDFormSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/BDFormSelect/BDFormSelect.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,2GAA2G,CAAC;AAClI,cAAc,2GAA2G,CAAC;AAC1H,eAAe,SAAS,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -11,10 +11,11 @@ import BDFormInvalidFeedback from "./components/atoms/BDFormInvalidFeedback/BDFo
|
|
|
11
11
|
import BDBadge from "./components/atoms/BDBadge/BDBadge.vue";
|
|
12
12
|
import BDForm from "./components/atoms/BDForm/BDForm.vue";
|
|
13
13
|
import BDPagination from "./components/atoms/BDPagination/BDPagination.vue";
|
|
14
|
+
import BDFormSelect from "./components/atoms/BDFormSelect/BDFormSelect.vue";
|
|
14
15
|
import BDDropdownItem from "./components/molecules/BDDropdownItem/BDDropdownItem.vue";
|
|
15
16
|
import BDDropzone from "./components/molecules/BDDropzone/BDDropzone.vue";
|
|
16
17
|
import BDMarkdownEditor from "./components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue";
|
|
17
18
|
import BDDropdown from "./components/organisms/BDDropdown/BDDropdown.vue";
|
|
18
19
|
import BDHeader from "./components/organisms/BDHeader/BDHeader.vue";
|
|
19
20
|
import BDModal from "./components/organisms/BDModal/BDModal.vue";
|
|
20
|
-
export { BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDHeader, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor };
|
|
21
|
+
export { BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDHeader, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModelValueString } from "./ModelValue";
|
|
2
|
+
import { ValidationState } from './ValidationState';
|
|
3
|
+
import { BDOption } from "./BDOption";
|
|
4
|
+
import { BOOTSTRAP_SIZES } from '../enums/bootstrap';
|
|
5
|
+
export interface BDFormSelectProps extends ModelValueString, ValidationState {
|
|
6
|
+
size?: BOOTSTRAP_SIZES.SM | BOOTSTRAP_SIZES.MD | BOOTSTRAP_SIZES.LG;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
autofocus?: boolean;
|
|
9
|
+
options?: BDOption[];
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beterdichtbij/component-library",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"author": "Ralph van der Neut <rvanderneut@beterdichtbij.nl>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -11,8 +11,15 @@
|
|
|
11
11
|
"module": "./dist/bd-component-lib.es.js",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"import":
|
|
15
|
-
|
|
14
|
+
"import": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/bd-component-lib.es.js"
|
|
17
|
+
},
|
|
18
|
+
"require":
|
|
19
|
+
{
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"default": "./dist/bd-component-lib.umd.js"
|
|
22
|
+
}
|
|
16
23
|
},
|
|
17
24
|
"./dist/bd-component-lib.css": {
|
|
18
25
|
"import": "./dist/bd-component-lib.css",
|