webcake-ui-kit 1.1.24 → 1.1.26
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.vue +4 -4
- package/src/components/button-group/button-group.css +8 -5
- package/src/components/dialog/Dialog.vue +4 -3
- package/src/components/dropdown/Dropdown.vue +6 -1
- package/src/components/dropdown/DropdownMenuItems.vue +44 -8
- package/src/components/dropdown/dropdown-menu-items.css +42 -2
- package/src/components/select/Select.vue +7 -2
- package/src/components/select/select.css +4 -6
- package/src/components/select-option/SelectOption.vue +9 -3
- package/src/components/select-option/select_option.css +15 -3
- package/src/components/table/table.css +8 -1
- package/src/components/toggle/Toggle.vue +1 -1
- package/src/components/toggle/toggle.css +28 -4
- package/src/components/toggle-group/ToggleGroup.vue +1 -1
- package/src/components/toggle-group/toggle-group.css +15 -3
- package/src/icons/Columns3Add.vue +30 -0
- package/src/icons/Rows3Add.vue +32 -0
- package/src/icons/Slash2.vue +26 -0
- package/src/icons/SquareNumber.vue +30 -0
- package/src/icons/index.js +5 -0
- package/src/styles/color_general.css +2 -2
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<li v-for="(item, index) in items" :key="index" class="ui-breadcrumb__row">
|
|
6
6
|
<span v-if="index > 0" class="ui-breadcrumb__separator" aria-hidden="true">
|
|
7
7
|
<slot name="separator" :type="separator">
|
|
8
|
-
<
|
|
9
|
-
<WkiChevronRight v-else :size="
|
|
8
|
+
<WkiSlash2 v-if="separator === 'slash'" :size="14" color="var(--mid-alt)" />
|
|
9
|
+
<WkiChevronRight v-else :size="14" color="var(--mid-alt)" />
|
|
10
10
|
</slot>
|
|
11
11
|
</span>
|
|
12
12
|
<component
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
</template>
|
|
31
31
|
|
|
32
32
|
<script>
|
|
33
|
-
import
|
|
33
|
+
import WkiSlash2 from '../../icons/Slash2.vue'
|
|
34
34
|
import WkiChevronRight from '../../icons/ChevronRight.vue'
|
|
35
35
|
|
|
36
36
|
export default {
|
|
37
37
|
name: 'Breadcrumb',
|
|
38
38
|
components: {
|
|
39
|
-
|
|
39
|
+
WkiSlash2,
|
|
40
40
|
WkiChevronRight
|
|
41
41
|
},
|
|
42
42
|
props: {
|
|
@@ -3,19 +3,22 @@
|
|
|
3
3
|
align-items: stretch;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
/* Reset radius on all children, re-apply corners to first/last
|
|
7
|
-
.ui-
|
|
6
|
+
/* Reset radius on all children, re-apply corners to first/last.
|
|
7
|
+
Class doubled (.ui-btn.ui-btn) to outrank the per-size radius rules
|
|
8
|
+
in button.css (e.g. .ui-btn--xs.ui-btn--round-default), which tie at
|
|
9
|
+
the same specificity and would otherwise win on source order. */
|
|
10
|
+
.ui-button-group .ui-btn.ui-btn {
|
|
8
11
|
border-radius: 0;
|
|
9
12
|
}
|
|
10
|
-
.ui-button-group .ui-btn:first-child {
|
|
13
|
+
.ui-button-group .ui-btn.ui-btn:first-child {
|
|
11
14
|
border-top-left-radius: var(--rounded-xl);
|
|
12
15
|
border-bottom-left-radius: var(--rounded-xl);
|
|
13
16
|
}
|
|
14
|
-
.ui-button-group .ui-btn:last-child {
|
|
17
|
+
.ui-button-group .ui-btn.ui-btn:last-child {
|
|
15
18
|
border-top-right-radius: var(--rounded-xl);
|
|
16
19
|
border-bottom-right-radius: var(--rounded-xl);
|
|
17
20
|
}
|
|
18
|
-
.ui-button-group .ui-btn:first-child:last-child {
|
|
21
|
+
.ui-button-group .ui-btn.ui-btn:first-child:last-child {
|
|
19
22
|
border-radius: var(--rounded-xl);
|
|
20
23
|
}
|
|
21
24
|
|
|
@@ -25,9 +25,6 @@
|
|
|
25
25
|
<div class="ui-dialog-header__title">
|
|
26
26
|
<slot name="title">{{ title }}</slot>
|
|
27
27
|
</div>
|
|
28
|
-
<div v-if="hasSubText" class="ui-dialog-header__sub-text">
|
|
29
|
-
<slot name="sub-text">{{ subText }}</slot>
|
|
30
|
-
</div>
|
|
31
28
|
</div>
|
|
32
29
|
<div v-else class="ui-dialog-header__content ui-dialog-header__content--empty"></div>
|
|
33
30
|
</slot>
|
|
@@ -64,6 +61,10 @@
|
|
|
64
61
|
</Button>
|
|
65
62
|
</div>
|
|
66
63
|
</div>
|
|
64
|
+
|
|
65
|
+
<div v-if="hasSubText" class="ui-dialog-header__sub-text">
|
|
66
|
+
<slot name="sub-text">{{ subText }}</slot>
|
|
67
|
+
</div>
|
|
67
68
|
</div>
|
|
68
69
|
|
|
69
70
|
<div v-show="!minimized" class="ui-dialog-body">
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<slot></slot>
|
|
22
22
|
</span>
|
|
23
23
|
</template>
|
|
24
|
-
<DropdownMenuItems v-if="hasItems" :items="items" :value="value" @select="onItemSelect" />
|
|
24
|
+
<DropdownMenuItems v-if="hasItems" :items="items" :value="value" @select="onItemSelect" :size="size" />
|
|
25
25
|
<slot v-else name="overlay"></slot>
|
|
26
26
|
</Menu>
|
|
27
27
|
</template>
|
|
@@ -75,6 +75,11 @@ export default {
|
|
|
75
75
|
value: {
|
|
76
76
|
type: [String, Array],
|
|
77
77
|
default: null
|
|
78
|
+
},
|
|
79
|
+
size: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: 'md',
|
|
82
|
+
validator: v => ['sm', 'md', 'lg'].includes(v)
|
|
78
83
|
}
|
|
79
84
|
},
|
|
80
85
|
emits: ['change', 'update:modelValue', 'open', 'close', 'select'],
|
|
@@ -17,12 +17,20 @@
|
|
|
17
17
|
:class="{
|
|
18
18
|
'ui-dropdown-items__item--disabled': child.disabled,
|
|
19
19
|
'ui-dropdown-items__item--destructive': child.destructive,
|
|
20
|
-
'ui-dropdown-items__item--active': isActive(child.key)
|
|
20
|
+
'ui-dropdown-items__item--active': isActive(child.key),
|
|
21
|
+
[`ui-dropdown-items__item--${size}`]: size
|
|
21
22
|
}"
|
|
22
23
|
:title="child.title || undefined"
|
|
23
24
|
@click="onItemClick(child)"
|
|
24
25
|
>
|
|
25
|
-
<
|
|
26
|
+
<span class="ui-dropdown-items__icon" v-if="child.icon">
|
|
27
|
+
<component
|
|
28
|
+
:is="child.icon"
|
|
29
|
+
v-if="child.icon && isComponent(child.icon)"
|
|
30
|
+
:size="['sm', 'md'].includes(size) ? 16 : 20"
|
|
31
|
+
:color="item.colorIcon"
|
|
32
|
+
/>
|
|
33
|
+
</span>
|
|
26
34
|
<span class="ui-dropdown-items__label" :style="child.color ? { color: child.color } : undefined">{{
|
|
27
35
|
child.label
|
|
28
36
|
}}</span>
|
|
@@ -37,11 +45,19 @@
|
|
|
37
45
|
class="ui-dropdown-items__submenu-label"
|
|
38
46
|
:class="{
|
|
39
47
|
'ui-dropdown-items__item--disabled': item.disabled,
|
|
40
|
-
'ui-dropdown-items__item--destructive': item.destructive
|
|
48
|
+
'ui-dropdown-items__item--destructive': item.destructive,
|
|
49
|
+
[`ui-dropdown-items__item--${size}`]: size
|
|
41
50
|
}"
|
|
42
51
|
:title="item.title || undefined"
|
|
43
52
|
>
|
|
44
|
-
<
|
|
53
|
+
<span class="ui-dropdown-items__icon" v-if="item.icon">
|
|
54
|
+
<component
|
|
55
|
+
:is="item.icon"
|
|
56
|
+
v-if="item.icon && isComponent(item.icon)"
|
|
57
|
+
:size="['sm', 'md'].includes(size) ? 16 : 20"
|
|
58
|
+
:color="item.colorIcon"
|
|
59
|
+
/>
|
|
60
|
+
</span>
|
|
45
61
|
<span class="ui-dropdown-items__label" :style="item.color ? { color: item.color } : undefined">{{
|
|
46
62
|
item.label
|
|
47
63
|
}}</span>
|
|
@@ -53,12 +69,20 @@
|
|
|
53
69
|
:class="{
|
|
54
70
|
'ui-dropdown-items__item--disabled': child.disabled || item.disabled,
|
|
55
71
|
'ui-dropdown-items__item--destructive': child.destructive,
|
|
56
|
-
'ui-dropdown-items__item--active': isActive(child.key)
|
|
72
|
+
'ui-dropdown-items__item--active': isActive(child.key),
|
|
73
|
+
[`ui-dropdown-items__item--${size}`]: size
|
|
57
74
|
}"
|
|
58
75
|
:title="child.title || undefined"
|
|
59
76
|
@click="onItemClick(child, item)"
|
|
60
77
|
>
|
|
61
|
-
<
|
|
78
|
+
<span class="ui-dropdown-items__icon" v-if="child.icon">
|
|
79
|
+
<component
|
|
80
|
+
:is="child.icon"
|
|
81
|
+
v-if="child.icon && isComponent(child.icon)"
|
|
82
|
+
:size="['sm', 'md'].includes(size) ? 16 : 20"
|
|
83
|
+
:color="item.colorIcon"
|
|
84
|
+
/>
|
|
85
|
+
</span>
|
|
62
86
|
<span class="ui-dropdown-items__label" :style="child.color ? { color: child.color } : undefined">{{
|
|
63
87
|
child.label
|
|
64
88
|
}}</span>
|
|
@@ -74,12 +98,20 @@
|
|
|
74
98
|
:class="{
|
|
75
99
|
'ui-dropdown-items__item--disabled': item.disabled,
|
|
76
100
|
'ui-dropdown-items__item--destructive': item.destructive,
|
|
77
|
-
'ui-dropdown-items__item--active': isActive(item.key)
|
|
101
|
+
'ui-dropdown-items__item--active': isActive(item.key),
|
|
102
|
+
[`ui-dropdown-items__item--${size}`]: size
|
|
78
103
|
}"
|
|
79
104
|
:title="item.title || undefined"
|
|
80
105
|
@click="onItemClick(item)"
|
|
81
106
|
>
|
|
82
|
-
<
|
|
107
|
+
<span class="ui-dropdown-items__icon" v-if="item.icon">
|
|
108
|
+
<component
|
|
109
|
+
:is="item.icon"
|
|
110
|
+
v-if="item.icon && isComponent(item.icon)"
|
|
111
|
+
:size="['sm', 'md'].includes(size) ? 16 : 20"
|
|
112
|
+
:color="item.colorIcon"
|
|
113
|
+
/>
|
|
114
|
+
</span>
|
|
83
115
|
<span class="ui-dropdown-items__label" :style="item.color ? { color: item.color } : undefined">{{
|
|
84
116
|
item.label
|
|
85
117
|
}}</span>
|
|
@@ -114,6 +146,10 @@ export default {
|
|
|
114
146
|
value: {
|
|
115
147
|
type: [String, Array],
|
|
116
148
|
default: null
|
|
149
|
+
},
|
|
150
|
+
size: {
|
|
151
|
+
type: String,
|
|
152
|
+
default: 'md'
|
|
117
153
|
}
|
|
118
154
|
},
|
|
119
155
|
|
|
@@ -20,8 +20,6 @@
|
|
|
20
20
|
.ui-dropdown-items__item {
|
|
21
21
|
display: flex;
|
|
22
22
|
align-items: center;
|
|
23
|
-
gap: var(--spacing-sm);
|
|
24
|
-
padding: var(--spacing-7p5) var(--spacing-sm);
|
|
25
23
|
min-height: 36px;
|
|
26
24
|
border-radius: var(--radius-8, 8px);
|
|
27
25
|
font-family: var(--font-family-body);
|
|
@@ -61,6 +59,48 @@
|
|
|
61
59
|
flex-direction: column;
|
|
62
60
|
}
|
|
63
61
|
|
|
62
|
+
.ui-dropdown-items__icon {
|
|
63
|
+
display: inline-flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
flex-shrink: 0;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
width: 20px;
|
|
69
|
+
height: 20px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* size */
|
|
73
|
+
|
|
74
|
+
.ui-dropdown-items__item--sm {
|
|
75
|
+
min-height: 28px;
|
|
76
|
+
padding: var(--spacing-2xs) var(--spacing-xs);
|
|
77
|
+
gap: var(--spacing-xs);
|
|
78
|
+
font-size: var(--paragraph-mini-font-size);
|
|
79
|
+
line-height: var(--paragraph-mini-line-height);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ui-dropdown-items__item--sm .ui-dropdown-items__icon {
|
|
83
|
+
width: 16px;
|
|
84
|
+
height: 16px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ui-dropdown-items__item--sm .ui-dropdown-items__extra {
|
|
88
|
+
font-size: var(--paragraph-mini-font-size);
|
|
89
|
+
line-height: var(--paragraph-mini-line-height);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ui-dropdown-items__item--md {
|
|
93
|
+
min-height: 32px;
|
|
94
|
+
padding: var(--spacing-5p5) var(--spacing-xs);
|
|
95
|
+
gap: var(--spacing-xs);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ui-dropdown-items__item--lg {
|
|
99
|
+
min-height: 36px;
|
|
100
|
+
padding: var(--spacing-7p5) var(--spacing-sm);
|
|
101
|
+
gap: var(--spacing-sm);
|
|
102
|
+
}
|
|
103
|
+
|
|
64
104
|
/* Mini label, 500 weight, muted — 5.5px vertical / 8px horizontal */
|
|
65
105
|
.ui-dropdown-items__group-label {
|
|
66
106
|
display: flex;
|
|
@@ -128,6 +128,11 @@ export default {
|
|
|
128
128
|
return ['xs', 'sm', 'md', 'lg'].indexOf(v) !== -1
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
|
+
optionSize: {
|
|
132
|
+
type: String,
|
|
133
|
+
default: 'md',
|
|
134
|
+
validator: v => ['xs', 'md', 'lg'].indexOf(v) !== -1
|
|
135
|
+
},
|
|
131
136
|
value: {
|
|
132
137
|
type: [String, Array],
|
|
133
138
|
default: null
|
|
@@ -211,8 +216,8 @@ export default {
|
|
|
211
216
|
return this.mode === 'tags' || this.searchable || !!this.filterOption
|
|
212
217
|
},
|
|
213
218
|
tagSize() {
|
|
214
|
-
if (
|
|
215
|
-
return '
|
|
219
|
+
if (['xs', 'sm'].includes(this.size)) return 'sm'
|
|
220
|
+
return 'md'
|
|
216
221
|
},
|
|
217
222
|
normalizedOptions() {
|
|
218
223
|
var base = this.mode === 'tags' ? this.options.concat(this.tagOptions) : this.options
|
|
@@ -152,29 +152,27 @@
|
|
|
152
152
|
|
|
153
153
|
/* — multiple mode — */
|
|
154
154
|
.ui-select--multiple {
|
|
155
|
-
height:
|
|
156
|
-
min-height: 36px;
|
|
155
|
+
height: 36px;
|
|
157
156
|
align-items: center;
|
|
158
157
|
flex-wrap: wrap;
|
|
159
158
|
padding: var(--spacing-2xs) var(--spacing-sm) var(--spacing-2xs) var(--spacing-xs);
|
|
160
159
|
}
|
|
161
160
|
|
|
162
161
|
.ui-select--multiple.ui-select--lg {
|
|
163
|
-
|
|
162
|
+
height: 40px;
|
|
164
163
|
height: auto;
|
|
165
164
|
padding: var(--spacing-xs) var(--spacing-md) var(--spacing-xs) var(--spacing-xs);
|
|
166
165
|
align-items: center;
|
|
167
166
|
}
|
|
168
167
|
|
|
169
168
|
.ui-select--multiple.ui-select--sm {
|
|
170
|
-
|
|
169
|
+
height: 32px;
|
|
171
170
|
height: auto;
|
|
172
171
|
padding: var(--spacing-5p5) var(--spacing-xs);
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
.ui-select--multiple.ui-select--xs {
|
|
176
|
-
|
|
177
|
-
height: auto;
|
|
175
|
+
height: 28px;
|
|
178
176
|
padding: var(--spacing-2xs) var(--spacing-6) var(--spacing-2xs) var(--spacing-2xs);
|
|
179
177
|
}
|
|
180
178
|
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
v-show="!isHidden"
|
|
4
4
|
class="ui-select-option"
|
|
5
5
|
:class="[
|
|
6
|
-
|
|
6
|
+
effectiveSize === 'sm' ? 'ui-select-option--sm' : null,
|
|
7
|
+
effectiveSize === 'md' ? 'ui-select-option--md' : null,
|
|
8
|
+
effectiveSize === 'lg' ? 'ui-select-option--lg' : null,
|
|
7
9
|
variant === 'destructive' ? 'ui-select-option--destructive' : null,
|
|
8
10
|
isDisabled ? 'ui-select-option--disabled' : null,
|
|
9
11
|
isSelected ? 'ui-select-option--selected' : null
|
|
@@ -48,9 +50,9 @@ export default {
|
|
|
48
50
|
},
|
|
49
51
|
size: {
|
|
50
52
|
type: String,
|
|
51
|
-
default:
|
|
53
|
+
default: null,
|
|
52
54
|
validator: function (v) {
|
|
53
|
-
return ['
|
|
55
|
+
return v === null || ['sm', 'md', 'lg'].indexOf(v) !== -1
|
|
54
56
|
}
|
|
55
57
|
},
|
|
56
58
|
variant: {
|
|
@@ -84,6 +86,10 @@ export default {
|
|
|
84
86
|
},
|
|
85
87
|
|
|
86
88
|
computed: {
|
|
89
|
+
effectiveSize() {
|
|
90
|
+
// explicit prop wins; otherwise inherit from parent Select; else regular
|
|
91
|
+
return this.size || (this.select && (this.select.optionSize || this.select.size)) || 'md'
|
|
92
|
+
},
|
|
87
93
|
isHidden() {
|
|
88
94
|
if (!this.select || !this.select.filterText) return false
|
|
89
95
|
var q = this.select.filterText.toLowerCase()
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
.ui-select-option {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
gap: var(--spacing-xs);
|
|
5
4
|
min-height: 32px;
|
|
6
|
-
padding: var(--spacing-5p5) var(--spacing-xs);
|
|
7
5
|
border-radius: var(--radius);
|
|
8
6
|
font-family: var(--font-family-body);
|
|
9
7
|
font-size: var(--paragraph-small-font-size);
|
|
@@ -39,7 +37,21 @@
|
|
|
39
37
|
pointer-events: none;
|
|
40
38
|
}
|
|
41
39
|
|
|
42
|
-
.ui-select-option--
|
|
40
|
+
.ui-select-option--sm {
|
|
41
|
+
min-height: 28px;
|
|
42
|
+
padding: var(--spacing-2xs) var(--spacing-xs);
|
|
43
|
+
gap: var(--spacing-xs);
|
|
44
|
+
font-size: var(--paragraph-mini-font-size);
|
|
45
|
+
line-height: var(--paragraph-mini-line-height);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ui-select-option--md {
|
|
49
|
+
min-height: 32px;
|
|
50
|
+
padding: var(--spacing-5p5) var(--spacing-xs);
|
|
51
|
+
gap: var(--spacing-xs);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ui-select-option--lg {
|
|
43
55
|
min-height: 36px;
|
|
44
56
|
padding: var(--spacing-7p5) var(--spacing-sm);
|
|
45
57
|
gap: var(--spacing-sm);
|
|
@@ -172,12 +172,19 @@
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
.ui-table__body::-webkit-scrollbar {
|
|
175
|
-
width:
|
|
175
|
+
width: 10px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ui-table__body::-webkit-scrollbar-track {
|
|
179
|
+
border-left: 1px solid var(--border-primary);
|
|
176
180
|
}
|
|
177
181
|
|
|
178
182
|
.ui-table__body::-webkit-scrollbar-thumb {
|
|
179
183
|
background: var(--border-primary);
|
|
180
184
|
border-radius: 3px;
|
|
185
|
+
border-left: 2px solid transparent;
|
|
186
|
+
border-right: 1px solid transparent;
|
|
187
|
+
background-clip: content-box;
|
|
181
188
|
}
|
|
182
189
|
|
|
183
190
|
.ui-table--scroll-y .ui-table__head {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
/* ============================================================
|
|
38
38
|
Sizes (Mini → xs, Small → sm, Default → md, Large → lg)
|
|
39
39
|
============================================================ */
|
|
40
|
-
.ui-toggle--
|
|
40
|
+
.ui-toggle--mini {
|
|
41
41
|
height: 24px;
|
|
42
42
|
padding: var(--spacing-3) var(--spacing-2xs);
|
|
43
43
|
gap: var(--spacing-6);
|
|
@@ -45,6 +45,19 @@
|
|
|
45
45
|
line-height: var(--paragraph-mini-line-height);
|
|
46
46
|
letter-spacing: var(--paragraph-mini-letter-spacing);
|
|
47
47
|
}
|
|
48
|
+
.ui-toggle--mini .ui-toggle__icon {
|
|
49
|
+
width: 16px;
|
|
50
|
+
height: 16px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ui-toggle--xs {
|
|
54
|
+
height: 28px;
|
|
55
|
+
padding: var(--spacing-6);
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: var(--spacing-2xs);
|
|
59
|
+
font-size: var(--paragraph-mini-font-size);
|
|
60
|
+
}
|
|
48
61
|
.ui-toggle--xs .ui-toggle__icon {
|
|
49
62
|
width: 16px;
|
|
50
63
|
height: 16px;
|
|
@@ -95,9 +108,12 @@
|
|
|
95
108
|
.ui-toggle--round-default {
|
|
96
109
|
border-radius: var(--radius-10);
|
|
97
110
|
}
|
|
98
|
-
.ui-toggle--
|
|
111
|
+
.ui-toggle--mini.ui-toggle--round-default {
|
|
99
112
|
border-radius: var(--rounded-lg);
|
|
100
113
|
}
|
|
114
|
+
.ui-toggle--xs.ui-toggle--round-default {
|
|
115
|
+
border-radius: var(--radius);
|
|
116
|
+
}
|
|
101
117
|
.ui-toggle--lg.ui-toggle--round-default {
|
|
102
118
|
border-radius: var(--rounded-2xl);
|
|
103
119
|
}
|
|
@@ -155,20 +171,28 @@
|
|
|
155
171
|
.ui-toggle--icon-only {
|
|
156
172
|
gap: 0;
|
|
157
173
|
}
|
|
174
|
+
.ui-toggle--icon-only.ui-toggle--mini {
|
|
175
|
+
height: 24px;
|
|
176
|
+
min-width: 24px;
|
|
177
|
+
padding: var(--spacing-3xs);
|
|
178
|
+
}
|
|
158
179
|
.ui-toggle--icon-only.ui-toggle--xs {
|
|
159
|
-
min-height: 28px;
|
|
160
180
|
min-width: 28px;
|
|
161
|
-
|
|
181
|
+
height: 28px;
|
|
182
|
+
padding: var(--spacing-6) var(--spacing-6) var(--spacing-6) var(--spacing-xs);
|
|
162
183
|
}
|
|
163
184
|
.ui-toggle--icon-only.ui-toggle--sm {
|
|
164
185
|
min-width: 32px;
|
|
186
|
+
height: 32px;
|
|
165
187
|
padding: var(--spacing-6);
|
|
166
188
|
}
|
|
167
189
|
.ui-toggle--icon-only.ui-toggle--md {
|
|
168
190
|
min-width: 36px;
|
|
191
|
+
height: 36px;
|
|
169
192
|
padding: var(--spacing-xs);
|
|
170
193
|
}
|
|
171
194
|
.ui-toggle--icon-only.ui-toggle--lg {
|
|
172
195
|
min-width: 40px;
|
|
196
|
+
height: 40px;
|
|
173
197
|
padding: var(--spacing-10);
|
|
174
198
|
}
|
|
@@ -26,18 +26,30 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* xs */
|
|
29
|
-
.ui-toggle-group .ui-toggle--
|
|
29
|
+
.ui-toggle-group .ui-toggle--mini.ui-toggle--in-group:first-child {
|
|
30
30
|
border-top-left-radius: var(--rounded-lg);
|
|
31
31
|
border-bottom-left-radius: var(--rounded-lg);
|
|
32
32
|
}
|
|
33
|
-
.ui-toggle-group .ui-toggle--
|
|
33
|
+
.ui-toggle-group .ui-toggle--mini.ui-toggle--in-group:last-child {
|
|
34
34
|
border-top-right-radius: var(--rounded-lg);
|
|
35
35
|
border-bottom-right-radius: var(--rounded-lg);
|
|
36
36
|
}
|
|
37
|
-
.ui-toggle-group .ui-toggle--
|
|
37
|
+
.ui-toggle-group .ui-toggle--mini.ui-toggle--in-group:first-child:last-child {
|
|
38
38
|
border-radius: var(--rounded-lg);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
.ui-toggle-group .ui-toggle--xs.ui-toggle--in-group:first-child {
|
|
42
|
+
border-top-left-radius: var(--radius);
|
|
43
|
+
border-bottom-left-radius: var(--radius);
|
|
44
|
+
}
|
|
45
|
+
.ui-toggle-group .ui-toggle--xs.ui-toggle--in-group:last-child {
|
|
46
|
+
border-top-right-radius: var(--radius);
|
|
47
|
+
border-bottom-right-radius: var(--radius);
|
|
48
|
+
}
|
|
49
|
+
.ui-toggle-group .ui-toggle--xs.ui-toggle--in-group:first-child:last-child {
|
|
50
|
+
border-radius: var(--radius);
|
|
51
|
+
}
|
|
52
|
+
|
|
41
53
|
/* lg */
|
|
42
54
|
.ui-toggle-group .ui-toggle--lg.ui-toggle--in-group:first-child {
|
|
43
55
|
border-top-left-radius: var(--rounded-2xl);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BaseIcon v-bind="$attrs" v-on="listeners">
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
4
|
+
<path
|
|
5
|
+
d="M20.125 11.125V5C20.125 4.70163 20.0069 4.41508 19.7959 4.2041C19.5849 3.99312 19.2984 3.875 19 3.875H15.875V11.125C15.875 11.6082 15.4832 12 15 12C14.5168 12 14.125 11.6082 14.125 11.125V3.875H9.875V20.125H11.125C11.6082 20.125 12 20.5168 12 21C12 21.4832 11.6082 21.875 11.125 21.875H5C4.2375 21.875 3.50596 21.5724 2.9668 21.0332C2.42763 20.494 2.125 19.7625 2.125 19V5C2.125 4.2375 2.42763 3.50596 2.9668 2.9668C3.50596 2.42763 4.2375 2.125 5 2.125H19C19.7625 2.125 20.494 2.42763 21.0332 2.9668C21.5724 3.50596 21.875 4.2375 21.875 5V11.125C21.875 11.6082 21.4832 12 21 12C20.5168 12 20.125 11.6082 20.125 11.125ZM3.875 19C3.875 19.2984 3.99312 19.5849 4.2041 19.7959C4.41508 20.0069 4.70163 20.125 5 20.125H8.125V3.875H5C4.70163 3.875 4.41508 3.99312 4.2041 4.2041C3.99312 4.41508 3.875 4.70163 3.875 5V19Z"
|
|
6
|
+
fill="currentColor"
|
|
7
|
+
/>
|
|
8
|
+
<path
|
|
9
|
+
d="M17.1026 18.8974V21.1026C17.1026 21.5982 17.5044 22 18 22C18.4956 22 18.8974 21.5982 18.8974 21.1026V18.8974H21.1026C21.5982 18.8974 22 18.4956 22 18C22 17.5044 21.5982 17.1026 21.1026 17.1026H18.8974V14.8974C18.8974 14.4018 18.4956 14 18 14C17.5044 14 17.1026 14.4018 17.1026 14.8974V17.1026H14.8974C14.4018 17.1026 14 17.5044 14 18C14 18.4956 14.4018 18.8974 14.8974 18.8974H17.1026Z"
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
/>
|
|
12
|
+
</svg>
|
|
13
|
+
</BaseIcon>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
import BaseIcon from './BaseIcon.vue'
|
|
18
|
+
|
|
19
|
+
export default {
|
|
20
|
+
name: 'Columns3Add',
|
|
21
|
+
components: { BaseIcon },
|
|
22
|
+
inheritAttrs: false,
|
|
23
|
+
emits: [],
|
|
24
|
+
computed: {
|
|
25
|
+
listeners() {
|
|
26
|
+
return this.$listeners || {}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
</script>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BaseIcon v-bind="$attrs" v-on="listeners">
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
4
|
+
<path
|
|
5
|
+
d="M18 14C18.4956 14 18.8975 14.4018 18.8975 14.8975V17.1025H21.1025C21.5982 17.1025 22 17.5044 22 18C22 18.4956 21.5982 18.8975 21.1025 18.8975H18.8975V21.1025C18.8975 21.5982 18.4956 22 18 22C17.5044 22 17.1025 21.5982 17.1025 21.1025V18.8975H14.8975C14.4018 18.8975 14 18.4956 14 18C14 17.5044 14.4018 17.1025 14.8975 17.1025H17.1025V14.8975C17.1025 14.4018 17.5044 14 18 14Z"
|
|
6
|
+
fill="currentColor"
|
|
7
|
+
/>
|
|
8
|
+
<path
|
|
9
|
+
fill-rule="evenodd"
|
|
10
|
+
clip-rule="evenodd"
|
|
11
|
+
d="M19 2.125C20.5878 2.125 21.875 3.41218 21.875 5V11.125C21.875 11.6082 21.4832 12 21 12C20.5168 12 20.125 11.6082 20.125 11.125V9.875H3.875V14.125H11.125C11.6082 14.125 12 14.5168 12 15C12 15.4832 11.6082 15.875 11.125 15.875H3.875V19C3.875 19.6213 4.37868 20.125 5 20.125H11.125C11.6082 20.125 12 20.5168 12 21C12 21.4832 11.6082 21.875 11.125 21.875H5C3.41218 21.875 2.125 20.5878 2.125 19V5C2.125 3.41218 3.41218 2.125 5 2.125H19ZM5 3.875C4.37868 3.875 3.875 4.37868 3.875 5V8.125H20.125V5C20.125 4.37868 19.6213 3.875 19 3.875H5Z"
|
|
12
|
+
fill="currentColor"
|
|
13
|
+
/>
|
|
14
|
+
</svg>
|
|
15
|
+
</BaseIcon>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
import BaseIcon from './BaseIcon.vue'
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
name: 'Rows3Add',
|
|
23
|
+
components: { BaseIcon },
|
|
24
|
+
inheritAttrs: false,
|
|
25
|
+
emits: [],
|
|
26
|
+
computed: {
|
|
27
|
+
listeners() {
|
|
28
|
+
return this.$listeners || {}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
</script>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BaseIcon v-bind="$attrs" v-on="listeners">
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
|
|
4
|
+
<path
|
|
5
|
+
d="M9.55289 0.776523C9.67638 0.529534 9.9768 0.429396 10.2238 0.552891C10.4708 0.676385 10.5709 0.9768 10.4474 1.22379L4.44742 13.2238C4.32393 13.4708 4.02351 13.5709 3.77652 13.4474C3.52953 13.3239 3.4294 13.0235 3.55289 12.7765L9.55289 0.776523Z"
|
|
6
|
+
fill="currentColor"
|
|
7
|
+
/>
|
|
8
|
+
</svg>
|
|
9
|
+
</BaseIcon>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
import BaseIcon from './BaseIcon.vue'
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
name: 'Slash2',
|
|
17
|
+
components: { BaseIcon },
|
|
18
|
+
inheritAttrs: false,
|
|
19
|
+
emits: [],
|
|
20
|
+
computed: {
|
|
21
|
+
listeners() {
|
|
22
|
+
return this.$listeners || {}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BaseIcon v-bind="$attrs" v-on="listeners">
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
4
|
+
<path
|
|
5
|
+
d="M20.125 5C20.125 4.37868 19.6213 3.875 19 3.875H5C4.37868 3.875 3.875 4.37868 3.875 5V19C3.875 19.6213 4.37868 20.125 5 20.125H19C19.6213 20.125 20.125 19.6213 20.125 19V5ZM21.875 19C21.875 20.5878 20.5878 21.875 19 21.875H5C3.41218 21.875 2.125 20.5878 2.125 19V5C2.125 3.41218 3.41218 2.125 5 2.125H19C20.5878 2.125 21.875 3.41218 21.875 5V19Z"
|
|
6
|
+
fill="currentColor"
|
|
7
|
+
/>
|
|
8
|
+
<path
|
|
9
|
+
d="M13.0435 8.47455C13.0435 7.91043 12.5868 7.45312 12.0234 7.45312H9.69192C9.12856 7.45312 8.67188 7.91043 8.67188 8.47455C8.67188 9.03866 9.12856 9.49597 9.69192 9.49597H11.0034V14.4572H9.69192C9.12856 14.4572 8.67188 14.9145 8.67188 15.4786C8.67188 16.0427 9.12856 16.5 9.69192 16.5H14.355C14.9183 16.5 15.375 16.0427 15.375 15.4786C15.375 14.9145 14.9183 14.4572 14.355 14.4572H13.0435V8.47455Z"
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
/>
|
|
12
|
+
</svg>
|
|
13
|
+
</BaseIcon>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
import BaseIcon from './BaseIcon.vue'
|
|
18
|
+
|
|
19
|
+
export default {
|
|
20
|
+
name: 'SquareNumber',
|
|
21
|
+
components: { BaseIcon },
|
|
22
|
+
inheritAttrs: false,
|
|
23
|
+
emits: [],
|
|
24
|
+
computed: {
|
|
25
|
+
listeners() {
|
|
26
|
+
return this.$listeners || {}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
</script>
|
package/src/icons/index.js
CHANGED
|
@@ -1737,4 +1737,9 @@ export { default as WkiLayersUpToTop } from './LayersUpToTop.vue'
|
|
|
1737
1737
|
export { default as WkiLayersDownToBottom } from './LayersDownToBottom.vue'
|
|
1738
1738
|
export { default as WkiGeneratePrompt } from './GeneratePrompt.vue'
|
|
1739
1739
|
export { default as WkiClippingMask } from './ClippingMask.vue'
|
|
1740
|
+
export { default as WkiSlash2 } from './Slash2.vue'
|
|
1741
|
+
export { default as WkiSquareNumber } from './SquareNumber.vue'
|
|
1742
|
+
export { default as WkiRows3Add } from './Rows3Add.vue'
|
|
1743
|
+
export { default as WkiColumns3Add } from './Columns3Add.vue'
|
|
1744
|
+
|
|
1740
1745
|
// --- AUTO-GENERATED LUCIDE EXPORTS END ---
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
--outline: var(--color-white-alpha-10);
|
|
45
45
|
--outline-hover: var(--color-black-alpha-333);
|
|
46
46
|
--outline-active: var(--color-black-alpha-5);
|
|
47
|
-
--accent-0:
|
|
47
|
+
--accent-0: #fafafa;
|
|
48
48
|
--accent-1: var(--color-brand-neutrals-100);
|
|
49
49
|
--accent-2: var(--color-brand-neutrals-200);
|
|
50
50
|
--border-0: var(--color-brand-neutrals-50);
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
--outline: var(--color-white-alpha-5);
|
|
157
157
|
--outline-hover: var(--color-black-alpha-10);
|
|
158
158
|
--outline-active: var(--color-white-alpha-15);
|
|
159
|
-
--accent-0:
|
|
159
|
+
--accent-0: var(--color-neutral-900);
|
|
160
160
|
--accent-1: var(--color-brand-neutrals-800);
|
|
161
161
|
--accent-2: var(--color-brand-neutrals-800);
|
|
162
162
|
--border-0: var(--color-brand-neutrals-950);
|