@appscode/design-system 2.17.73 → 2.17.74
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/package.json
CHANGED
|
@@ -20,18 +20,26 @@ const model = defineModel({ type: Boolean });
|
|
|
20
20
|
|
|
21
21
|
<template>
|
|
22
22
|
<div class="ac-switch is-flex is-align-items-center gap-8" :class="modifierClasses">
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
<div class="is-flex is-align-items-center gap-8">
|
|
24
|
+
<slot name="left" />
|
|
25
|
+
<label :for="id">{{ label }}</label>
|
|
26
|
+
<slot name="middle" />
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div class="is-flex is-align-items-center gap-8">
|
|
30
|
+
<label class="switch">
|
|
31
|
+
<input
|
|
32
|
+
v-model="model"
|
|
33
|
+
:id="id"
|
|
34
|
+
type="checkbox"
|
|
35
|
+
:name="name"
|
|
36
|
+
class="switch is-rounded is-primary"
|
|
37
|
+
:data-testid="dataTestId"
|
|
38
|
+
/>
|
|
39
|
+
<span class="slider round"></span>
|
|
40
|
+
</label>
|
|
41
|
+
<slot name="right" />
|
|
42
|
+
</div>
|
|
35
43
|
|
|
36
44
|
<p v-show="errorMsg" class="is-danger is-italic">
|
|
37
45
|
{{ errorMsg }}
|