webcake-ui-kit 1.3.4 → 1.3.6

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.4",
3
+ "version": "1.3.6",
4
4
  "description": "UI Kit for Vue 2 && 3 - Pure Options API",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -22,7 +22,7 @@
22
22
  <div class="ui-dialog-header__row">
23
23
  <slot name="header">
24
24
  <div v-if="hasTitle" class="ui-dialog-header__content">
25
- <div class="ui-dialog-header__title">
25
+ <div :class="['ui-dialog-header__title', `ui-dialog-header__title__size-${headerSize}`]">
26
26
  <slot name="title">{{ title }}</slot>
27
27
  </div>
28
28
  </div>
@@ -117,6 +117,11 @@ export default {
117
117
  closable: { type: Boolean, default: true },
118
118
  showHeader: { type: Boolean, default: true },
119
119
  headerDivider: { type: Boolean, default: true },
120
+ headerSize: {
121
+ type: String,
122
+ default: 'md',
123
+ validator: v => ['sm', 'md'].includes(v)
124
+ },
120
125
  footer: { type: Boolean, default: true },
121
126
  footerAlign: {
122
127
  type: String,
@@ -133,13 +133,19 @@
133
133
  .ui-dialog-header__title {
134
134
  width: 100%;
135
135
  font-family: var(--heading-4-font-family);
136
- font-size: var(--heading-4-font-size);
137
136
  line-height: var(--heading-4-line-height);
138
137
  letter-spacing: var(--heading-4-letter-spacing);
139
138
  font-weight: var(--heading-4-font-weight);
140
139
  color: var(--primary-fg);
141
140
  }
142
141
 
142
+ .ui-dialog-header__title__size-sm {
143
+ font-size: var(--paragraph-regular-font-size);
144
+ }
145
+ .ui-dialog-header__title__size-md {
146
+ font-size: var(--heading-4-font-size);
147
+ }
148
+
143
149
  .ui-dialog-header__sub-text {
144
150
  width: 100%;
145
151
  font-family: var(--paragraph-small-font-family);
@@ -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: '';
@@ -0,0 +1,2 @@
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}
@@ -0,0 +1,7 @@
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
+ }