webcake-ui-kit 1.3.5 → 1.3.7
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 +1 -1
- package/src/components/breadcrumb/breadcrumb.css +0 -1
- package/src/components/item/Item.vue +26 -12
- package/src/components/item/item.css +7 -0
- package/src/components/radio/Radio.vue +1 -1
- package/src/components/radio/radio.css +0 -1
- package/src/components/tag/tag.css +3 -3
- package/src/styles/.omc/state/agent-replay-645326b7-372b-463d-ab45-0adaafe31a51.jsonl +0 -2
- package/src/styles/.omc/state/subagent-tracking.json +0 -7
package/package.json
CHANGED
|
@@ -10,7 +10,13 @@
|
|
|
10
10
|
]"
|
|
11
11
|
:style="{ width: typeof width == 'string' ? width : `${width}px` }"
|
|
12
12
|
>
|
|
13
|
-
<div class="ui-item--
|
|
13
|
+
<div v-if="showRadio" class="ui-item-radio--container">
|
|
14
|
+
<Radio :checked="checked" />
|
|
15
|
+
</div>
|
|
16
|
+
<div v-if="showCheckbox" class="ui-item-checkbox--container">
|
|
17
|
+
<Checkbox :checked="checked" />
|
|
18
|
+
</div>
|
|
19
|
+
<div v-if="$slots.prefix" class="ui-item--prefix">
|
|
14
20
|
<slot name="prefix"></slot>
|
|
15
21
|
</div>
|
|
16
22
|
<slot>
|
|
@@ -18,20 +24,29 @@
|
|
|
18
24
|
<div class="ui-item--label wk-paragraph-small wk-weight-medium">
|
|
19
25
|
{{ label }}
|
|
20
26
|
</div>
|
|
21
|
-
<div v-if="description
|
|
27
|
+
<div v-if="description" class="ui-item--description wk-paragraph-mini">
|
|
22
28
|
{{ description }}
|
|
23
29
|
</div>
|
|
24
30
|
</div>
|
|
25
31
|
</slot>
|
|
26
|
-
<div class="ui-item--
|
|
32
|
+
<div v-if="showCheckboxSuffix" class="ui-item-checkbox--container">
|
|
33
|
+
<Checkbox :checked="checked" />
|
|
34
|
+
</div>
|
|
35
|
+
<div v-if="$slots.prefix" class="ui-item--suffix">
|
|
27
36
|
<slot name="suffix"></slot>
|
|
28
37
|
</div>
|
|
29
38
|
</div>
|
|
30
39
|
</template>
|
|
31
40
|
|
|
32
41
|
<script>
|
|
42
|
+
import Radio from '../radio/Radio.vue'
|
|
43
|
+
import Checkbox from '../checkbox/Checkbox.vue'
|
|
33
44
|
export default {
|
|
34
45
|
name: 'WkItem',
|
|
46
|
+
components: {
|
|
47
|
+
Radio,
|
|
48
|
+
Checkbox
|
|
49
|
+
},
|
|
35
50
|
props: {
|
|
36
51
|
label: String,
|
|
37
52
|
variant: {
|
|
@@ -54,17 +69,16 @@ export default {
|
|
|
54
69
|
description: String,
|
|
55
70
|
width: {
|
|
56
71
|
type: [String, Number]
|
|
57
|
-
}
|
|
72
|
+
},
|
|
73
|
+
showRadio: Boolean,
|
|
74
|
+
showCheckbox: Boolean,
|
|
75
|
+
showCheckboxSuffix: Boolean,
|
|
76
|
+
checked: Boolean
|
|
58
77
|
},
|
|
59
78
|
emits: [],
|
|
60
|
-
data() {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
computed: {
|
|
66
|
-
// Add computed properties
|
|
67
|
-
},
|
|
79
|
+
data() {},
|
|
80
|
+
mounted() {},
|
|
81
|
+
computed: {},
|
|
68
82
|
methods: {
|
|
69
83
|
// Add methods
|
|
70
84
|
}
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.ui-tag--type-outline {
|
|
27
|
-
background:
|
|
27
|
+
background: var(--primary-bg);
|
|
28
28
|
border: 1px solid var(--border-primary);
|
|
29
29
|
color: var(--secondary-fg);
|
|
30
30
|
}
|
|
31
31
|
.ui-tag--type-outline:hover,
|
|
32
32
|
.ui-tag--type-outline.ui-tag--active {
|
|
33
|
-
background:
|
|
33
|
+
background: var(--primary-hover);
|
|
34
34
|
color: var(--primary-fg);
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
.ui-tag--lg {
|
|
53
53
|
padding: var(--spacing-2xs) 10px;
|
|
54
|
-
border-radius: var(--
|
|
54
|
+
border-radius: var(--radius);
|
|
55
55
|
font-size: var(--paragraph-small-font-size);
|
|
56
56
|
line-height: var(--paragraph-small-line-height);
|
|
57
57
|
height: 28px;
|