@cypress-design/vue-checkbox 0.5.0 → 1.0.0
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/.turbo/turbo-build.log +14 -0
- package/CHANGELOG.md +83 -0
- package/Checkbox.vue +40 -24
- package/CheckboxVue.cy.tsx +59 -6
- package/ReadMe.md +19 -0
- package/dist/Checkbox.vue.d.ts +59 -170
- package/dist/Checkbox.vue.d.ts.map +1 -1
- package/dist/index.es.mjs +68 -77
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +9 -4
- package/tsconfig.build.json +3 -2
- package/Checkbox.stories.mdx +0 -75
- package/tsconfig.json +0 -10
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
$ yarn build:module && yarn build:types
|
|
2
|
+
$ yarn vite build
|
|
3
|
+
$ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/vite build
|
|
4
|
+
[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.[39m
|
|
5
|
+
[36mvite v5.2.12 [32mbuilding for production...[36m[39m
|
|
6
|
+
transforming...
|
|
7
|
+
[32m✓[39m 4 modules transformed.
|
|
8
|
+
rendering chunks...
|
|
9
|
+
computing gzip size...
|
|
10
|
+
[2mdist/[22m[36mindex.es.mjs [39m[1m[2m3.37 kB[22m[1m[22m[2m │ gzip: 1.38 kB[22m[2m │ map: 5.11 kB[22m
|
|
11
|
+
[2mdist/[22m[36mindex.umd.js [39m[1m[2m2.94 kB[22m[1m[22m[2m │ gzip: 1.28 kB[22m[2m │ map: 4.97 kB[22m
|
|
12
|
+
[32m✓ built in 2.37s[39m
|
|
13
|
+
$ yarn vue-tsc --project ./tsconfig.build.json
|
|
14
|
+
$ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/vue-tsc --project ./tsconfig.build.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,88 @@
|
|
|
1
1
|
# @cypress-design/vue-checkbox
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`63fb4d9`](https://github.com/cypress-io/cypress-design/commit/63fb4d9e60f6c56c563d17e3b983d0ebd25e0e87) Thanks [@elevatebart](https://github.com/elevatebart)! - Create 1.0
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`63fb4d9`](https://github.com/cypress-io/cypress-design/commit/63fb4d9e60f6c56c563d17e3b983d0ebd25e0e87)]:
|
|
12
|
+
- @cypress-design/constants-checkbox@1.0.0
|
|
13
|
+
- @cypress-design/vue-icon@1.0.0
|
|
14
|
+
|
|
15
|
+
## 0.5.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#272](https://github.com/cypress-io/cypress-design/pull/272) [`9a3e358`](https://github.com/cypress-io/cypress-design/commit/9a3e3582b8ca2dfdadd9198054042c9f0083be01) Thanks [@elevatebart](https://github.com/elevatebart)! - remove dark mode implementation to avoid wrong side effects
|
|
20
|
+
|
|
21
|
+
## 0.4.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- [#258](https://github.com/cypress-io/cypress-design/pull/258) [`aac2e95`](https://github.com/cypress-io/cypress-design/commit/aac2e95c78a7dc41673101def2f7d185bc6e6d0e) Thanks [@elevatebart](https://github.com/elevatebart)! - handle array v-model with more than one checkboxes
|
|
26
|
+
- add the 'change' event to reflect the input checkbox's change event
|
|
27
|
+
|
|
28
|
+
## 0.3.3
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- [#245](https://github.com/cypress-io/cypress-design/pull/245) [`d52d023`](https://github.com/cypress-io/cypress-design/commit/d52d02301bb851d514661a8c258d0c4ae5baf171) Thanks [@elevatebart](https://github.com/elevatebart)! - use tailwind to rollup classes in the final package
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [[`d52d023`](https://github.com/cypress-io/cypress-design/commit/d52d02301bb851d514661a8c258d0c4ae5baf171)]:
|
|
35
|
+
- @cypress-design/vue-icon@0.23.1
|
|
36
|
+
|
|
37
|
+
## 0.3.2
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- [`08ba16d`](https://github.com/cypress-io/cypress-design/commit/08ba16da4a8663676ee96ac4950938857bd0d9a3) Thanks [@elevatebart](https://github.com/elevatebart)! - fix wind-keep plugin
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [[`08ba16d`](https://github.com/cypress-io/cypress-design/commit/08ba16da4a8663676ee96ac4950938857bd0d9a3)]:
|
|
44
|
+
- @cypress-design/vue-icon@0.22.1
|
|
45
|
+
|
|
46
|
+
## 0.3.1
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- [`63ea78a`](https://github.com/cypress-io/cypress-design/commit/63ea78af2062fd5e3fb8c61fa4bcf85fd95e803b) Thanks [@elevatebart](https://github.com/elevatebart)! - add constants package to dependencies
|
|
51
|
+
|
|
52
|
+
## 0.3.0
|
|
53
|
+
|
|
54
|
+
### Minor Changes
|
|
55
|
+
|
|
56
|
+
- [#196](https://github.com/cypress-io/cypress-design/pull/196) [`fc6d9e4`](https://github.com/cypress-io/cypress-design/commit/fc6d9e4fedcc01fa8e01b868b0fa66d8895c37d0) Thanks [@elevatebart](https://github.com/elevatebart)! - refactor: avoid constants relative imports
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- Updated dependencies [[`fc6d9e4`](https://github.com/cypress-io/cypress-design/commit/fc6d9e4fedcc01fa8e01b868b0fa66d8895c37d0)]:
|
|
61
|
+
- @cypress-design/react-icon@0.20.0
|
|
62
|
+
|
|
63
|
+
## 0.2.0
|
|
64
|
+
|
|
65
|
+
### Minor Changes
|
|
66
|
+
|
|
67
|
+
- [#178](https://github.com/cypress-io/cypress-design/pull/178) [`d0de778`](https://github.com/cypress-io/cypress-design/commit/d0de77843adb87d8f4804219c6dca8f45b15c650) Thanks [@elevatebart](https://github.com/elevatebart)! - deliver new docs and improved components
|
|
68
|
+
|
|
69
|
+
### Patch Changes
|
|
70
|
+
|
|
71
|
+
- Updated dependencies [[`18399c7`](https://github.com/cypress-io/cypress-design/commit/18399c72a52288c67af0935384430d4e4cd24251), [`d0de778`](https://github.com/cypress-io/cypress-design/commit/d0de77843adb87d8f4804219c6dca8f45b15c650)]:
|
|
72
|
+
- @cypress-design/react-icon@0.19.0
|
|
73
|
+
|
|
74
|
+
## 0.1.1
|
|
75
|
+
|
|
76
|
+
### Patch Changes
|
|
77
|
+
|
|
78
|
+
- [#164](https://github.com/cypress-io/cypress-design/pull/164) [`4fd951a`](https://github.com/cypress-io/cypress-design/commit/4fd951a39335900da2508beef9b3565a6f8f9518) Thanks [@elevatebart](https://github.com/elevatebart)! - fix: update active buttons borders
|
|
79
|
+
|
|
80
|
+
## 0.1.0
|
|
81
|
+
|
|
82
|
+
### Minor Changes
|
|
83
|
+
|
|
84
|
+
- [#162](https://github.com/cypress-io/cypress-design/pull/162) [`76d4e60`](https://github.com/cypress-io/cypress-design/commit/76d4e601687d28578cdee0ddc67cd04b286ae2c3) Thanks [@elevatebart](https://github.com/elevatebart)! - refactor: functionalize classes used
|
|
85
|
+
|
|
3
86
|
## 0.5.0
|
|
4
87
|
|
|
5
88
|
### Minor Changes
|
package/Checkbox.vue
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
function uid() {
|
|
3
3
|
return String(Date.now().toString(32) + Math.random().toString(16)).replace(
|
|
4
4
|
/\./g,
|
|
5
|
-
''
|
|
5
|
+
'',
|
|
6
6
|
)
|
|
7
7
|
}
|
|
8
8
|
</script>
|
|
@@ -10,6 +10,7 @@ function uid() {
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
11
|
import { ref, computed } from 'vue'
|
|
12
12
|
import { IconCheckmarkSmall } from '@cypress-design/vue-icon'
|
|
13
|
+
import { CheckboxColors, Classes } from '@cypress-design/constants-checkbox'
|
|
13
14
|
|
|
14
15
|
const props = withDefaults(
|
|
15
16
|
defineProps<{
|
|
@@ -35,7 +36,7 @@ const props = withDefaults(
|
|
|
35
36
|
* If the checkbox is disabled, it will not be clickable.
|
|
36
37
|
*/
|
|
37
38
|
disabled?: boolean
|
|
38
|
-
modelValue?: boolean
|
|
39
|
+
modelValue?: boolean | Array<string>
|
|
39
40
|
/**
|
|
40
41
|
* Label for the checkbox.
|
|
41
42
|
* It is very important to set this to make the checkbox accessible.
|
|
@@ -45,59 +46,74 @@ const props = withDefaults(
|
|
|
45
46
|
{
|
|
46
47
|
id: () => uid(),
|
|
47
48
|
color: 'indigo',
|
|
48
|
-
}
|
|
49
|
+
},
|
|
49
50
|
)
|
|
50
51
|
|
|
51
|
-
const localChecked = ref(
|
|
52
|
+
const localChecked = ref(
|
|
53
|
+
(Array.isArray(props.modelValue)
|
|
54
|
+
? props.name
|
|
55
|
+
? props.modelValue.includes(props.name)
|
|
56
|
+
: false
|
|
57
|
+
: props.modelValue) || props.checked,
|
|
58
|
+
)
|
|
52
59
|
|
|
53
60
|
const emit = defineEmits<{
|
|
54
|
-
|
|
61
|
+
'update:modelValue': [value: boolean | Array<string>]
|
|
62
|
+
change: [value: boolean]
|
|
55
63
|
}>()
|
|
56
64
|
|
|
57
65
|
function updated() {
|
|
58
66
|
localChecked.value = !localChecked.value
|
|
59
|
-
|
|
67
|
+
if (Array.isArray(props.modelValue)) {
|
|
68
|
+
const arrayModelValue = [...props.modelValue]
|
|
69
|
+
if (!props.name) {
|
|
70
|
+
return
|
|
71
|
+
}
|
|
72
|
+
const index = arrayModelValue.indexOf(props.name)
|
|
73
|
+
if (index === -1) {
|
|
74
|
+
arrayModelValue.push(props.name)
|
|
75
|
+
} else {
|
|
76
|
+
arrayModelValue.splice(index, 1)
|
|
77
|
+
}
|
|
78
|
+
emit('update:modelValue', arrayModelValue)
|
|
79
|
+
} else {
|
|
80
|
+
emit('update:modelValue', localChecked.value)
|
|
81
|
+
}
|
|
82
|
+
emit('change', localChecked.value)
|
|
60
83
|
}
|
|
61
84
|
|
|
62
|
-
const checkboxClasses = computed(() =>
|
|
85
|
+
const checkboxClasses = computed(() =>
|
|
63
86
|
props.disabled
|
|
64
|
-
?
|
|
87
|
+
? CheckboxColors.disabled
|
|
65
88
|
: localChecked.value
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
'border-red-500 bg-red-400': props.color === 'red',
|
|
70
|
-
}
|
|
71
|
-
: 'border-gray-200 bg-white',
|
|
72
|
-
])
|
|
89
|
+
? CheckboxColors[props.color]
|
|
90
|
+
: CheckboxColors.empty,
|
|
91
|
+
)
|
|
73
92
|
</script>
|
|
74
93
|
|
|
75
94
|
<template>
|
|
76
|
-
<span class="
|
|
95
|
+
<span class="relative flex items-center">
|
|
77
96
|
<input
|
|
78
97
|
:id="id"
|
|
79
|
-
class="
|
|
98
|
+
:class="Classes.hiddenInput"
|
|
80
99
|
:name="name || id"
|
|
81
100
|
type="checkbox"
|
|
82
|
-
@change="updated"
|
|
83
101
|
:disabled="props.disabled"
|
|
84
102
|
:checked="localChecked"
|
|
103
|
+
@change="updated"
|
|
85
104
|
/>
|
|
86
|
-
<label
|
|
105
|
+
<label :class="Classes.labelTag" :for="id">
|
|
87
106
|
<IconCheckmarkSmall
|
|
88
107
|
v-if="localChecked"
|
|
89
108
|
strokeColor="white"
|
|
90
109
|
class="absolute"
|
|
91
110
|
/>
|
|
92
|
-
<span
|
|
93
|
-
:class="checkboxClasses"
|
|
94
|
-
class="block border border-solid rounded h-[16px] w-[16px] flex-shrink-0"
|
|
95
|
-
/>
|
|
111
|
+
<span :class="[checkboxClasses, Classes.visibleCheckbox]" />
|
|
96
112
|
<slot name="label">
|
|
97
113
|
<span
|
|
98
114
|
v-if="label"
|
|
99
115
|
:class="[
|
|
100
|
-
|
|
116
|
+
Classes.trueLabel,
|
|
101
117
|
disabled ? 'text-gray-500' : 'text-gray-800',
|
|
102
118
|
]"
|
|
103
119
|
>
|
package/CheckboxVue.cy.tsx
CHANGED
|
@@ -12,7 +12,7 @@ describe('<Checkbox />', () => {
|
|
|
12
12
|
label="Welcome guide settings"
|
|
13
13
|
id="welcome-opt-out"
|
|
14
14
|
checked
|
|
15
|
-
class="
|
|
15
|
+
class="px-2 py-1 m-2 border border-gray-300 rounded"
|
|
16
16
|
/>
|
|
17
17
|
)
|
|
18
18
|
})
|
|
@@ -31,7 +31,7 @@ describe('<Checkbox />', () => {
|
|
|
31
31
|
label="Welcome guide settings"
|
|
32
32
|
id="welcome-opt-out"
|
|
33
33
|
checked
|
|
34
|
-
class="
|
|
34
|
+
class="px-2 py-1 m-2 border border-gray-300 rounded"
|
|
35
35
|
/>
|
|
36
36
|
)
|
|
37
37
|
})
|
|
@@ -45,7 +45,14 @@ describe('<Checkbox />', () => {
|
|
|
45
45
|
mount(() => {
|
|
46
46
|
return (
|
|
47
47
|
<Checkbox
|
|
48
|
-
label=
|
|
48
|
+
label={[
|
|
49
|
+
'lorem ipsum dolor sit amet, consectetur adipiscing elit,',
|
|
50
|
+
'sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
51
|
+
'Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip',
|
|
52
|
+
'ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse',
|
|
53
|
+
'cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident,',
|
|
54
|
+
'sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
55
|
+
].join(' ')}
|
|
49
56
|
id="lorem-checkbox"
|
|
50
57
|
/>
|
|
51
58
|
)
|
|
@@ -61,11 +68,11 @@ describe('<Checkbox />', () => {
|
|
|
61
68
|
<div>
|
|
62
69
|
<Checkbox
|
|
63
70
|
label="Welcome guide settings"
|
|
64
|
-
|
|
65
|
-
class="
|
|
71
|
+
v-model={isChecked.value}
|
|
72
|
+
class="px-2 py-1 m-2 border border-gray-300 rounded"
|
|
66
73
|
/>
|
|
67
74
|
<div
|
|
68
|
-
class="
|
|
75
|
+
class="px-2 py-1 m-2 border border-gray-300 rounded"
|
|
69
76
|
data-cy="result"
|
|
70
77
|
>
|
|
71
78
|
isChecked = {isChecked.value.toString()}
|
|
@@ -79,4 +86,50 @@ describe('<Checkbox />', () => {
|
|
|
79
86
|
cy.get('input[type="checkbox"]').should('be.checked')
|
|
80
87
|
cy.get('[data-cy="result"]').should('contain', 'isChecked = true')
|
|
81
88
|
})
|
|
89
|
+
|
|
90
|
+
it("renders vModel when it's an array", () => {
|
|
91
|
+
const checkedValues = ref([])
|
|
92
|
+
mount(() => {
|
|
93
|
+
return (
|
|
94
|
+
<div>
|
|
95
|
+
<Checkbox
|
|
96
|
+
name="first-checkbox"
|
|
97
|
+
label="First checkbox"
|
|
98
|
+
v-model={checkedValues.value}
|
|
99
|
+
class="px-2 py-1 m-2 border border-gray-300 rounded"
|
|
100
|
+
/>
|
|
101
|
+
<Checkbox
|
|
102
|
+
name="second-checkbox"
|
|
103
|
+
label="Second checkbox"
|
|
104
|
+
v-model={checkedValues.value}
|
|
105
|
+
class="px-2 py-1 m-2 border border-gray-300 rounded"
|
|
106
|
+
/>
|
|
107
|
+
<Checkbox
|
|
108
|
+
name="third-checkbox"
|
|
109
|
+
label="Third checkbox"
|
|
110
|
+
v-model={checkedValues.value}
|
|
111
|
+
class="px-2 py-1 m-2 border border-gray-300 rounded"
|
|
112
|
+
/>
|
|
113
|
+
<div
|
|
114
|
+
class="px-2 py-1 m-2 border border-gray-300 rounded"
|
|
115
|
+
data-cy="result"
|
|
116
|
+
>
|
|
117
|
+
{JSON.stringify(checkedValues.value)}
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
)
|
|
121
|
+
})
|
|
122
|
+
|
|
123
|
+
cy.get('[data-cy="result"]').should('contain', '[]')
|
|
124
|
+
cy.contains('First checkbox').click()
|
|
125
|
+
cy.get('input[type="checkbox"]').should('be.checked')
|
|
126
|
+
cy.get('[data-cy="result"]').should('contain', '["first-checkbox"]')
|
|
127
|
+
cy.contains('Second checkbox').click()
|
|
128
|
+
cy.get('[data-cy="result"]').should(
|
|
129
|
+
'contain',
|
|
130
|
+
'["first-checkbox","second-checkbox"]',
|
|
131
|
+
)
|
|
132
|
+
cy.contains('Second checkbox').click()
|
|
133
|
+
cy.get('[data-cy="result"]').should('contain', '["first-checkbox"]')
|
|
134
|
+
})
|
|
82
135
|
})
|
package/ReadMe.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Checkbox
|
|
2
|
+
|
|
3
|
+
## Install
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @cypress-design/vue-checkbox
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
or with yarn
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
yarn add @cypress-design/vue-checkbox
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import Checkbox from '@cypress-design/vue-checkbox'
|
|
19
|
+
```
|
package/dist/Checkbox.vue.d.ts
CHANGED
|
@@ -1,156 +1,4 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
new (...args: any[]): {
|
|
3
|
-
$: import("vue").ComponentInternalInstance;
|
|
4
|
-
$data: {};
|
|
5
|
-
$props: Partial<{
|
|
6
|
-
id: string;
|
|
7
|
-
color: 'red' | 'indigo' | 'jade';
|
|
8
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
/**
|
|
10
|
-
* A unique identifier for the checkbox on the whole page.
|
|
11
|
-
* It will be used to give match label with input for a11y.
|
|
12
|
-
*/
|
|
13
|
-
id?: string | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Name attribute of the <input type="checkbox"/>.
|
|
16
|
-
*/
|
|
17
|
-
name?: string | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* Is the checkbox checked when it is first rendered.
|
|
20
|
-
*/
|
|
21
|
-
checked?: boolean | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* The color of the background in the checkbox.
|
|
24
|
-
* The checkmark will always be white.
|
|
25
|
-
*/
|
|
26
|
-
color?: "indigo" | "red" | "jade" | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* If the checkbox is disabled, it will not be clickable.
|
|
29
|
-
*/
|
|
30
|
-
disabled?: boolean | undefined;
|
|
31
|
-
modelValue?: boolean | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* Label for the checkbox.
|
|
34
|
-
* It is very important to set this to make the checkbox accessible.
|
|
35
|
-
*/
|
|
36
|
-
label?: string | undefined;
|
|
37
|
-
}>, {
|
|
38
|
-
id: () => string;
|
|
39
|
-
color: string;
|
|
40
|
-
}>>> & {
|
|
41
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
42
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "id" | "color">;
|
|
43
|
-
$attrs: {
|
|
44
|
-
[x: string]: unknown;
|
|
45
|
-
};
|
|
46
|
-
$refs: {
|
|
47
|
-
[x: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
$slots: Readonly<{
|
|
50
|
-
[name: string]: import("vue").Slot | undefined;
|
|
51
|
-
}>;
|
|
52
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
53
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
54
|
-
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
55
|
-
$el: any;
|
|
56
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
57
|
-
/**
|
|
58
|
-
* A unique identifier for the checkbox on the whole page.
|
|
59
|
-
* It will be used to give match label with input for a11y.
|
|
60
|
-
*/
|
|
61
|
-
id?: string | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* Name attribute of the <input type="checkbox"/>.
|
|
64
|
-
*/
|
|
65
|
-
name?: string | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Is the checkbox checked when it is first rendered.
|
|
68
|
-
*/
|
|
69
|
-
checked?: boolean | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* The color of the background in the checkbox.
|
|
72
|
-
* The checkmark will always be white.
|
|
73
|
-
*/
|
|
74
|
-
color?: "indigo" | "red" | "jade" | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* If the checkbox is disabled, it will not be clickable.
|
|
77
|
-
*/
|
|
78
|
-
disabled?: boolean | undefined;
|
|
79
|
-
modelValue?: boolean | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* Label for the checkbox.
|
|
82
|
-
* It is very important to set this to make the checkbox accessible.
|
|
83
|
-
*/
|
|
84
|
-
label?: string | undefined;
|
|
85
|
-
}>, {
|
|
86
|
-
id: () => string;
|
|
87
|
-
color: string;
|
|
88
|
-
}>>> & {
|
|
89
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
90
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
91
|
-
"update:modelValue": (value: boolean) => void;
|
|
92
|
-
}, string, {
|
|
93
|
-
id: string;
|
|
94
|
-
color: 'red' | 'indigo' | 'jade';
|
|
95
|
-
}> & {
|
|
96
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
97
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
98
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
99
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
100
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
101
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
102
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
103
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
104
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
105
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
106
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
107
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
108
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
109
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
110
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
111
|
-
};
|
|
112
|
-
$forceUpdate: () => void;
|
|
113
|
-
$nextTick: typeof import("vue").nextTick;
|
|
114
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
115
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
116
|
-
/**
|
|
117
|
-
* A unique identifier for the checkbox on the whole page.
|
|
118
|
-
* It will be used to give match label with input for a11y.
|
|
119
|
-
*/
|
|
120
|
-
id?: string | undefined;
|
|
121
|
-
/**
|
|
122
|
-
* Name attribute of the <input type="checkbox"/>.
|
|
123
|
-
*/
|
|
124
|
-
name?: string | undefined;
|
|
125
|
-
/**
|
|
126
|
-
* Is the checkbox checked when it is first rendered.
|
|
127
|
-
*/
|
|
128
|
-
checked?: boolean | undefined;
|
|
129
|
-
/**
|
|
130
|
-
* The color of the background in the checkbox.
|
|
131
|
-
* The checkmark will always be white.
|
|
132
|
-
*/
|
|
133
|
-
color?: "indigo" | "red" | "jade" | undefined;
|
|
134
|
-
/**
|
|
135
|
-
* If the checkbox is disabled, it will not be clickable.
|
|
136
|
-
*/
|
|
137
|
-
disabled?: boolean | undefined;
|
|
138
|
-
modelValue?: boolean | undefined;
|
|
139
|
-
/**
|
|
140
|
-
* Label for the checkbox.
|
|
141
|
-
* It is very important to set this to make the checkbox accessible.
|
|
142
|
-
*/
|
|
143
|
-
label?: string | undefined;
|
|
144
|
-
}>, {
|
|
145
|
-
id: () => string;
|
|
146
|
-
color: string;
|
|
147
|
-
}>>> & {
|
|
148
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
149
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
150
|
-
__isFragment?: undefined;
|
|
151
|
-
__isTeleport?: undefined;
|
|
152
|
-
__isSuspense?: undefined;
|
|
153
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
154
2
|
/**
|
|
155
3
|
* A unique identifier for the checkbox on the whole page.
|
|
156
4
|
* It will be used to give match label with input for a11y.
|
|
@@ -173,7 +21,42 @@ declare const _default: {
|
|
|
173
21
|
* If the checkbox is disabled, it will not be clickable.
|
|
174
22
|
*/
|
|
175
23
|
disabled?: boolean | undefined;
|
|
176
|
-
modelValue?: boolean | undefined;
|
|
24
|
+
modelValue?: boolean | string[] | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Label for the checkbox.
|
|
27
|
+
* It is very important to set this to make the checkbox accessible.
|
|
28
|
+
*/
|
|
29
|
+
label?: string | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
id: () => string;
|
|
32
|
+
color: string;
|
|
33
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
"update:modelValue": (value: boolean | string[]) => void;
|
|
35
|
+
change: (value: boolean) => void;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
37
|
+
/**
|
|
38
|
+
* A unique identifier for the checkbox on the whole page.
|
|
39
|
+
* It will be used to give match label with input for a11y.
|
|
40
|
+
*/
|
|
41
|
+
id?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Name attribute of the <input type="checkbox"/>.
|
|
44
|
+
*/
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Is the checkbox checked when it is first rendered.
|
|
48
|
+
*/
|
|
49
|
+
checked?: boolean | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* The color of the background in the checkbox.
|
|
52
|
+
* The checkmark will always be white.
|
|
53
|
+
*/
|
|
54
|
+
color?: "indigo" | "red" | "jade" | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* If the checkbox is disabled, it will not be clickable.
|
|
57
|
+
*/
|
|
58
|
+
disabled?: boolean | undefined;
|
|
59
|
+
modelValue?: boolean | string[] | undefined;
|
|
177
60
|
/**
|
|
178
61
|
* Label for the checkbox.
|
|
179
62
|
* It is very important to set this to make the checkbox accessible.
|
|
@@ -183,20 +66,31 @@ declare const _default: {
|
|
|
183
66
|
id: () => string;
|
|
184
67
|
color: string;
|
|
185
68
|
}>>> & {
|
|
186
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}, string, {
|
|
69
|
+
"onUpdate:modelValue"?: ((value: boolean | string[]) => any) | undefined;
|
|
70
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
71
|
+
}, {
|
|
190
72
|
id: string;
|
|
191
73
|
color: 'red' | 'indigo' | 'jade';
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
};
|
|
196
|
-
});
|
|
74
|
+
}, {}>, {
|
|
75
|
+
label?(_: {}): any;
|
|
76
|
+
}>;
|
|
197
77
|
export default _default;
|
|
198
|
-
|
|
199
|
-
|
|
78
|
+
|
|
79
|
+
type __VLS_WithDefaults<P, D> = {
|
|
80
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
81
|
+
default: D[K];
|
|
82
|
+
}> : P[K];
|
|
83
|
+
};
|
|
84
|
+
type __VLS_Prettify<T> = {
|
|
85
|
+
[K in keyof T]: T[K];
|
|
86
|
+
} & {};
|
|
87
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
88
|
+
new (): {
|
|
89
|
+
$slots: S;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
93
|
+
type __VLS_TypePropsToOption<T> = {
|
|
200
94
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
201
95
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
202
96
|
} : {
|
|
@@ -204,9 +98,4 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
204
98
|
required: true;
|
|
205
99
|
};
|
|
206
100
|
};
|
|
207
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
208
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
209
|
-
default: D[K];
|
|
210
|
-
} : P[K];
|
|
211
|
-
};
|
|
212
101
|
//# sourceMappingURL=Checkbox.vue.d.ts.map
|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