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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webcake-ui-kit",
3
- "version": "1.3.5",
3
+ "version": "1.3.7",
4
4
  "description": "UI Kit for Vue 2 && 3 - Pure Options API",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -67,7 +67,6 @@
67
67
 
68
68
  .ui-breadcrumb__current {
69
69
  color: var(--primary-fg);
70
- font-weight: var(--paragraph-medium-font-weight);
71
70
  }
72
71
 
73
72
  .ui-breadcrumb__icon {
@@ -10,7 +10,13 @@
10
10
  ]"
11
11
  :style="{ width: typeof width == 'string' ? width : `${width}px` }"
12
12
  >
13
- <div class="ui-item--prefix">
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 && layout == 'vertical'" class="ui-item--description wk-paragraph-mini">
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--suffix">
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
- return {
62
- // Add component state
63
- }
64
- },
65
- computed: {
66
- // Add computed properties
67
- },
79
+ data() {},
80
+ mounted() {},
81
+ computed: {},
68
82
  methods: {
69
83
  // Add methods
70
84
  }
@@ -61,3 +61,10 @@
61
61
  display: flex;
62
62
  align-items: center;
63
63
  }
64
+ .ui-item-checkbox--container,
65
+ .ui-item-radio--container {
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: center;
69
+ width: 16px;
70
+ }
@@ -11,7 +11,7 @@
11
11
 
12
12
  <span class="ui-radio__inner"></span>
13
13
 
14
- <div class="ui-radio__label_wrapper">
14
+ <div v-if="$slots.default" class="ui-radio__label_wrapper">
15
15
  <span class="ui-radio__label">
16
16
  <slot>
17
17
  {{ label }}
@@ -35,7 +35,6 @@
35
35
  box-sizing: border-box;
36
36
  transition: all 0.2s;
37
37
  box-shadow: var(--shadow-xs);
38
- margin-top: 2px;
39
38
  }
40
39
  .ui-radio__inner::after {
41
40
  content: '';
@@ -24,13 +24,13 @@
24
24
  }
25
25
 
26
26
  .ui-tag--type-outline {
27
- background: rgba(255, 255, 255, 0.1);
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: rgba(0, 0, 0, 0.05);
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(--rounded-xl);
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;
@@ -1,2 +0,0 @@
1
- {"t":0,"agent":"ae435b9","agent_type":"unknown","event":"agent_stop","success":true}
2
- {"t":0,"agent":"ae345ba","agent_type":"unknown","event":"agent_stop","success":true}
@@ -1,7 +0,0 @@
1
- {
2
- "agents": [],
3
- "total_spawned": 0,
4
- "total_completed": 0,
5
- "total_failed": 0,
6
- "last_updated": "2026-05-12T04:07:51.819Z"
7
- }