@beterdichtbij/component-library 0.5.0 → 0.5.2

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.
@@ -70,6 +70,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
70
70
  type: __PropType<string | undefined>;
71
71
  required: false;
72
72
  };
73
+ delayTimeMs: {
74
+ type: __PropType<number | undefined>;
75
+ required: false;
76
+ default: number;
77
+ };
73
78
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue" | "blur" | "enter")[], "click" | "update:modelValue" | "blur" | "enter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
79
  modelValue: {
75
80
  type: __PropType<string | undefined>;
@@ -141,6 +146,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
141
146
  type: __PropType<string | undefined>;
142
147
  required: false;
143
148
  };
149
+ delayTimeMs: {
150
+ type: __PropType<number | undefined>;
151
+ required: false;
152
+ default: number;
153
+ };
144
154
  }>> & {
145
155
  onClick?: ((...args: any[]) => any) | undefined;
146
156
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -153,5 +163,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
153
163
  state: boolean | null | undefined;
154
164
  readonly: boolean | null | undefined;
155
165
  tabindex: number | null | undefined;
166
+ delayTimeMs: number | undefined;
156
167
  }, {}>;
157
168
  export default _sfc_main;
@@ -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,12 @@ 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
+ import { BOOTSTRAP_VARIANTS } from "./enums/bootstrap";
22
+ export { BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDHeader, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BOOTSTRAP_VARIANTS };
@@ -15,4 +15,5 @@ export interface props {
15
15
  tabindex?: number | null;
16
16
  invalidFeedbackClass?: string;
17
17
  invalidFeedbackText?: string;
18
+ delayTimeMs?: number;
18
19
  }
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ export interface BDOption {
2
+ value: string | number | boolean;
3
+ text: string | number;
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface ValidationState {
2
+ state?: boolean | null;
3
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.5.0",
4
+ "version": "0.5.2",
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": "./dist/bd-component-lib.es.js",
15
- "require": "./dist/bd-component-lib.umd.js"
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",