@phila/phila-ui-checkbox 0.0.3 → 0.0.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/types.d.ts +19 -1
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
import Checkbox from "./Checkbox.vue";
|
|
2
2
|
import { InputOptions } from "@phila/phila-ui-core";
|
|
3
|
-
declare module "
|
|
3
|
+
declare module "vue" {
|
|
4
4
|
interface GlobalComponents {
|
|
5
|
+
/**
|
|
6
|
+
* PhilaUI Checkbox is a Vue3 component that renders a checkbox input.
|
|
7
|
+
* @example
|
|
8
|
+
* <checkbox
|
|
9
|
+
* v-model="modelValue"
|
|
10
|
+
* label="Label"
|
|
11
|
+
* desc="Description"
|
|
12
|
+
* textKey="text"
|
|
13
|
+
* valueKey="value"
|
|
14
|
+
* :options="[
|
|
15
|
+
* {
|
|
16
|
+
* value: '1',
|
|
17
|
+
* text: 'Option 1',
|
|
18
|
+
* },
|
|
19
|
+
* ]"
|
|
20
|
+
* />
|
|
21
|
+
* */
|
|
5
22
|
Checkbox: typeof Checkbox;
|
|
6
23
|
}
|
|
7
24
|
}
|
|
@@ -15,3 +32,4 @@ export interface CheckboxProps {
|
|
|
15
32
|
small?: boolean;
|
|
16
33
|
options: InputOptions | InputOptions[];
|
|
17
34
|
}
|
|
35
|
+
export default Checkbox;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phila/phila-ui-checkbox",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"registry": "https://registry.npmjs.com/",
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "17ea0e29f4566d58fe5eccba43c916d4453129ad"
|
|
47
47
|
}
|