@wwtdev/bsds-components-vue3 0.3.0 → 1.0.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/README.md +6 -6
- package/lib/components.d.ts +2 -0
- package/lib/components.js +18 -2
- package/lib/components.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ npm install --save @wwtdev/bsds-components-vue3
|
|
|
9
9
|
|
|
10
10
|
Add the following to your `main.js` file to import and use the component library:
|
|
11
11
|
|
|
12
|
-
```
|
|
12
|
+
```javascript
|
|
13
13
|
import { ComponentLibrary } from '@wwtdev/bsds-components-vue3';
|
|
14
14
|
import '@wwtdev/bsds-components/dist/components/components.css'
|
|
15
15
|
|
|
@@ -18,14 +18,14 @@ createApp(App).use(ComponentLibrary).mount('#app')
|
|
|
18
18
|
|
|
19
19
|
Now you can use BSDS Components in your code, just like standard Vue components:
|
|
20
20
|
|
|
21
|
-
```
|
|
21
|
+
```javascript
|
|
22
22
|
<script setup>
|
|
23
23
|
import { BsButton } from '@wwtdev/bsds-components-vue3'
|
|
24
24
|
</script>
|
|
25
25
|
|
|
26
26
|
<template>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
<div>
|
|
28
|
+
<BsButton>Hello World!</BsButton>
|
|
29
|
+
</div>
|
|
30
30
|
</template>
|
|
31
|
-
```
|
|
31
|
+
```
|
package/lib/components.d.ts
CHANGED
|
@@ -19,3 +19,5 @@ export declare const BsSelectField: import("vue").DefineComponent<JSX.BsSelectFi
|
|
|
19
19
|
export declare const BsSwitch: import("vue").DefineComponent<JSX.BsSwitch & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.BsSwitch & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
20
20
|
export declare const BsTextarea: import("vue").DefineComponent<JSX.BsTextarea & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.BsTextarea & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
21
21
|
export declare const BsTextareaField: import("vue").DefineComponent<JSX.BsTextareaField & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.BsTextareaField & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
22
|
+
export declare const DocsPlayground: import("vue").DefineComponent<JSX.DocsPlayground & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.DocsPlayground & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
23
|
+
export declare const DocsPropDisplay: import("vue").DefineComponent<JSX.DocsPropDisplay & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.DocsPropDisplay & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
package/lib/components.js
CHANGED
|
@@ -50,6 +50,7 @@ export const BsInput = defineContainer('bs-input', undefined, [
|
|
|
50
50
|
'disabled',
|
|
51
51
|
'error',
|
|
52
52
|
'passAttrs',
|
|
53
|
+
'placeholder',
|
|
53
54
|
'required',
|
|
54
55
|
'type',
|
|
55
56
|
'value',
|
|
@@ -61,6 +62,7 @@ export const BsInputField = defineContainer('bs-input-field', undefined, [
|
|
|
61
62
|
'hints',
|
|
62
63
|
'label',
|
|
63
64
|
'passAttrs',
|
|
65
|
+
'placeholder',
|
|
64
66
|
'required',
|
|
65
67
|
'type',
|
|
66
68
|
'value'
|
|
@@ -68,6 +70,7 @@ export const BsInputField = defineContainer('bs-input-field', undefined, [
|
|
|
68
70
|
export const BsLabel = defineContainer('bs-label', undefined, [
|
|
69
71
|
'disabled',
|
|
70
72
|
'for',
|
|
73
|
+
'hide',
|
|
71
74
|
'passAttrs',
|
|
72
75
|
'required'
|
|
73
76
|
]);
|
|
@@ -115,7 +118,7 @@ export const BsRadio = defineContainer('bs-radio', undefined, [
|
|
|
115
118
|
'passAttrs',
|
|
116
119
|
'required',
|
|
117
120
|
'size'
|
|
118
|
-
], '
|
|
121
|
+
], 'checked', 'change');
|
|
119
122
|
export const BsSelect = defineContainer('bs-select', undefined, [
|
|
120
123
|
'disabled',
|
|
121
124
|
'required',
|
|
@@ -130,10 +133,11 @@ export const BsSelectField = defineContainer('bs-select-field', undefined, [
|
|
|
130
133
|
'required',
|
|
131
134
|
'label',
|
|
132
135
|
'hints',
|
|
136
|
+
'placeholder',
|
|
133
137
|
'value',
|
|
134
138
|
'passAttrs',
|
|
135
139
|
'data'
|
|
136
|
-
]);
|
|
140
|
+
], 'value', 'change');
|
|
137
141
|
export const BsSwitch = defineContainer('bs-switch', undefined, [
|
|
138
142
|
'checked',
|
|
139
143
|
'disabled',
|
|
@@ -147,6 +151,7 @@ export const BsTextarea = defineContainer('bs-textarea', undefined, [
|
|
|
147
151
|
'disabled',
|
|
148
152
|
'error',
|
|
149
153
|
'passAttrs',
|
|
154
|
+
'placeholder',
|
|
150
155
|
'required',
|
|
151
156
|
'value',
|
|
152
157
|
'hintId'
|
|
@@ -157,8 +162,19 @@ export const BsTextareaField = defineContainer('bs-textarea-field', undefined, [
|
|
|
157
162
|
'error',
|
|
158
163
|
'hints',
|
|
159
164
|
'label',
|
|
165
|
+
'placeholder',
|
|
160
166
|
'required',
|
|
161
167
|
'value',
|
|
162
168
|
'passAttrs'
|
|
169
|
+
], 'value', 'input');
|
|
170
|
+
export const DocsPlayground = defineContainer('docs-playground', undefined, [
|
|
171
|
+
'component',
|
|
172
|
+
'docsTags',
|
|
173
|
+
'propDataRaw',
|
|
174
|
+
'propDataFormatted',
|
|
175
|
+
'trackInputFor'
|
|
176
|
+
]);
|
|
177
|
+
export const DocsPropDisplay = defineContainer('docs-prop-display', undefined, [
|
|
178
|
+
'componentProps'
|
|
163
179
|
]);
|
|
164
180
|
//# sourceMappingURL=components.js.map
|
package/lib/components.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAO5D,MAAM,CAAC,MAAM,OAAO,GAAiB,eAAe,CAAc,UAAU,EAAE,SAAS,EAAE;IACvF,OAAO;IACP,OAAO;IACP,UAAU;IACV,KAAK;IACL,OAAO;IACP,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,QAAQ,GAAiB,eAAe,CAAe,WAAW,EAAE,SAAS,EAAE;IAC1F,SAAS;IACT,UAAU;IACV,UAAU;IACV,MAAM;IACN,WAAW;IACX,SAAS;IACT,MAAM;CACP,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,gBAAgB,GAAiB,eAAe,CAAuB,oBAAoB,EAAE,SAAS,EAAE;IACnH,WAAW;IACX,SAAS;CACV,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,UAAU,GAAiB,eAAe,CAAiB,aAAa,EAAE,SAAS,EAAE;IAChG,O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AU;IACV,WAAW;IACX,UAAU;IACV,aAAa;IACb,SAAS;IACT,UAAU;IACV,OAAO;CACR,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,gBAAgB,GAAiB,eAAe,CAAuB,oBAAoB,EAAE,SAAS,EAAE;IACnH,aAAa;IACb,SAAS;IACT,UAAU;IACV,OAAO;CACR,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,YAAY,GAAiB,eAAe,CAAmB,gBAAgB,EAAE,SAAS,EAAE;IACvG,KAAK;IACL,MAAM;IACN,UAAU;IACV,aAAa;CACd,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,eAAe,GAAiB,eAAe,CAAsB,mBAAmB,EAAE,SAAS,EAAE;IAChH,QAAQ;IACR,MAAM;IACN,WAAW;CACZ,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,OAAO,GAAiB,eAAe,CAAc,UAAU,EAAE,SAAS,EAAE;IACvF,OAAO;IACP,SAAS;IACT,UAAU;IACV,OAAO;IACP,WAAW;IACX,UAAU;IACV,MAAM;CACP,EACD,
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAO5D,MAAM,CAAC,MAAM,OAAO,GAAiB,eAAe,CAAc,UAAU,EAAE,SAAS,EAAE;IACvF,OAAO;IACP,OAAO;IACP,UAAU;IACV,KAAK;IACL,OAAO;IACP,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,QAAQ,GAAiB,eAAe,CAAe,WAAW,EAAE,SAAS,EAAE;IAC1F,SAAS;IACT,UAAU;IACV,UAAU;IACV,MAAM;IACN,WAAW;IACX,SAAS;IACT,MAAM;CACP,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,gBAAgB,GAAiB,eAAe,CAAuB,oBAAoB,EAAE,SAAS,EAAE;IACnH,WAAW;IACX,SAAS;CACV,CAAC,CAAC;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AAQ,GAAiB,eAAe,CAAe,WAAW,EAAE,SAAS,EAAE;IAC1F,SAAS;IACT,UAAU;IACV,cAAc;IACd,eAAe;IACf,OAAO;IACP,WAAW;IACX,MAAM;CACP,EACD,SAAS,EAAE,QAAQ,CAAC,CAAC;AAGrB,MAAM,CAAC,MAAM,UAAU,GAAiB,eAAe,CAAiB,aAAa,EAAE,SAAS,EAAE;IAChG,UAAU;IACV,OAAO;IACP,WAAW;IACX,aAAa;IACb,UAAU;IACV,OAAO;IACP,QAAQ;CACT,EACD,OAAO,EAAE,OAAO,CAAC,CAAC;AAGlB,MAAM,CAAC,MAAM,eAAe,GAAiB,eAAe,CAAsB,mBAAmB,EAAE,SAAS,EAAE;IAChH,SAAS;IACT,UAAU;IACV,OAAO;IACP,OAAO;IACP,OAAO;IACP,aAAa;IACb,UAAU;IACV,OAAO;IACP,WAAW;CACZ,EACD,OAAO,EAAE,OAAO,CAAC,CAAC;AAGlB,MAAM,CAAC,MAAM,cAAc,GAAiB,eAAe,CAAqB,iBAAiB,EAAE,SAAS,EAAE;IAC5G,WAAW;IACX,UAAU;IACV,aAAa;IACb,mBAAmB;IACnB,eAAe;CAChB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,eAAe,GAAiB,eAAe,CAAsB,mBAAmB,EAAE,SAAS,EAAE;IAChH,gBAAgB;CACjB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwtdev/bsds-components-vue3",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "BSDS Vue3 Components",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
"wwt-package-publisher": "^4.1.2"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@wwtdev/bsds-components": "
|
|
47
|
+
"@wwtdev/bsds-components": "^1.0.1"
|
|
48
48
|
}
|
|
49
49
|
}
|