@bagelink/vue 0.0.318 → 0.0.331
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/dist/components/Badge.vue.d.ts +2 -2
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +2 -2
- package/dist/components/ComboBox.vue.d.ts +13 -2
- package/dist/components/ComboBox.vue.d.ts.map +1 -1
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts +0 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalBglForm.vue.d.ts.map +1 -1
- package/dist/components/Popover.vue.d.ts +10 -0
- package/dist/components/Popover.vue.d.ts.map +1 -0
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglForm.vue.d.ts +1 -5
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +2 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/formkit/index.d.ts +1 -14
- package/dist/components/formkit/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/whatsapp/index.d.ts +0 -2
- package/dist/components/whatsapp/index.d.ts.map +1 -1
- package/dist/index.cjs +419 -569
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +419 -569
- package/dist/style.css +1815 -331
- package/dist/types/BagelForm.d.ts +1 -1
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- package/dist/types/materialIcons.d.ts +1 -1
- package/dist/types/materialIcons.d.ts.map +1 -1
- package/dist/utils/BagelFormUtils.d.ts +23 -0
- package/dist/utils/BagelFormUtils.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Badge.vue +2 -2
- package/src/components/Carousel.vue +137 -137
- package/src/components/ComboBox.vue +79 -50
- package/src/components/ListView.vue +28 -27
- package/src/components/Modal.vue +25 -23
- package/src/components/form/BglField.vue +33 -48
- package/src/components/form/BglForm.vue +65 -49
- package/src/components/form/inputs/TextInput.vue +20 -4
- package/src/components/index.ts +1 -1
- package/src/components/layout/SidebarMenu.vue +4 -5
- package/src/components/whatsapp/index.ts +2 -2
- package/src/styles/appearance.css +39 -0
- package/src/styles/bagel.css +2 -0
- package/src/styles/layout.css +112 -6
- package/src/styles/mobilLayout.css +1416 -0
- package/src/styles/text.css +4 -0
- package/src/types/BagelForm.ts +7 -7
- package/src/types/materialIcons.ts +1183 -3006
- package/src/utils/BagelFormUtils.ts +58 -0
- package/src/utils/index.ts +3 -0
|
@@ -58,15 +58,17 @@
|
|
|
58
58
|
v-if="toggleEdit"
|
|
59
59
|
thin
|
|
60
60
|
@click="toggleEditAction"
|
|
61
|
-
:icon="editMode ? 'check'
|
|
62
|
-
: 'edit'"
|
|
61
|
+
:icon="editMode ? 'check' : 'edit'"
|
|
63
62
|
flat
|
|
64
63
|
/>
|
|
65
64
|
</div>
|
|
66
65
|
</template>
|
|
67
66
|
|
|
68
|
-
<script
|
|
69
|
-
|
|
67
|
+
<script
|
|
68
|
+
setup
|
|
69
|
+
lang="ts"
|
|
70
|
+
>
|
|
71
|
+
import { onMounted, watch } from 'vue';
|
|
70
72
|
import {
|
|
71
73
|
debounce, Btn, type MaterialIcons, MaterialIcon,
|
|
72
74
|
} from '@bagelink/vue';
|
|
@@ -95,6 +97,7 @@ const props = withDefaults(
|
|
|
95
97
|
code?: boolean;
|
|
96
98
|
lines?: number;
|
|
97
99
|
autocomplete?: string;
|
|
100
|
+
autofocus?: boolean;
|
|
98
101
|
}>(),
|
|
99
102
|
{
|
|
100
103
|
type: 'text',
|
|
@@ -144,6 +147,10 @@ watch(
|
|
|
144
147
|
},
|
|
145
148
|
{ immediate: true },
|
|
146
149
|
);
|
|
150
|
+
|
|
151
|
+
onMounted(() => {
|
|
152
|
+
if (props.autofocus) setTimeout(() => input?.focus(), 10);
|
|
153
|
+
});
|
|
147
154
|
</script>
|
|
148
155
|
|
|
149
156
|
<style>
|
|
@@ -152,11 +159,16 @@ watch(
|
|
|
152
159
|
min-width: unset !important;
|
|
153
160
|
/* width: auto; */
|
|
154
161
|
}
|
|
162
|
+
|
|
163
|
+
.bagel-input label {
|
|
164
|
+
font-size: var(--label-font-size);
|
|
165
|
+
}
|
|
155
166
|
</style>
|
|
156
167
|
|
|
157
168
|
<style scoped>
|
|
158
169
|
.bagel-input textarea {
|
|
159
170
|
min-height: unset;
|
|
171
|
+
font-size: var(--input-font-size);
|
|
160
172
|
}
|
|
161
173
|
|
|
162
174
|
.bagel-input.text-input textarea {
|
|
@@ -184,6 +196,10 @@ watch(
|
|
|
184
196
|
gap: 0.5rem;
|
|
185
197
|
}
|
|
186
198
|
|
|
199
|
+
.bagel-input label {
|
|
200
|
+
font-size: var(--label-font-size);
|
|
201
|
+
}
|
|
202
|
+
|
|
187
203
|
.toggleEditBtn {
|
|
188
204
|
position: absolute;
|
|
189
205
|
right: -24px;
|
package/src/components/index.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<slot v-if="isOpen" name="brand-open" />
|
|
7
7
|
<slot v-if="!navLinks" />
|
|
8
8
|
<Btn
|
|
9
|
-
v-for="(nav, i) in navLinks" :key="i" :to="nav.to" class="nav-button"
|
|
9
|
+
v-for="(nav, i) in navLinks" :key="i" :to="nav.to" class="nav-button px-075"
|
|
10
10
|
v-tooltip.right="{ content: nav.label, disabled: open, class: ['nav-tooltip'] }"
|
|
11
11
|
>
|
|
12
12
|
<template #default >
|
|
@@ -50,13 +50,12 @@ function toggleMenu() {
|
|
|
50
50
|
.wideNav .nav-button .bgl_btn-flex {
|
|
51
51
|
justify-content: flex-start !important;
|
|
52
52
|
}
|
|
53
|
-
</style>
|
|
54
|
-
|
|
55
|
-
<style scoped>
|
|
56
53
|
.nav-button.router-link-active {
|
|
57
|
-
background-color:
|
|
54
|
+
background-color: var(--bgl-primary-tint) !important;
|
|
58
55
|
}
|
|
56
|
+
</style>
|
|
59
57
|
|
|
58
|
+
<style scoped>
|
|
60
59
|
.bgl_sidebar {
|
|
61
60
|
background-color: var(--bgl-primary);
|
|
62
61
|
color: var(--bgl-white);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as MsgTemplate } from './form/MsgTemplate.vue';
|
|
2
|
-
export { default as TextVariableExamples } from './form/TextVariableExamples.vue';
|
|
1
|
+
// export { default as MsgTemplate } from './form/MsgTemplate.vue';
|
|
2
|
+
// export { default as TextVariableExamples } from './form/TextVariableExamples.vue';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.opacity-1 {
|
|
2
|
+
opacity: 0.1;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.opacity-2 {
|
|
6
|
+
opacity: 0.2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.opacity-3 {
|
|
10
|
+
opacity: 0.3;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.opacity-4 {
|
|
14
|
+
opacity: 0.4;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.opacity-5 {
|
|
18
|
+
opacity: 0.5;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.opacity-6 {
|
|
22
|
+
opacity: 0.6;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.opacity-7 {
|
|
26
|
+
opacity: 0.7;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.opacity-8 {
|
|
30
|
+
opacity: 0.8;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.opacity-9 {
|
|
34
|
+
opacity: 0.9;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.opacity-10 {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
}
|
package/src/styles/bagel.css
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
@import "layout.css";
|
|
2
|
+
@import "mobilLayout.css";
|
|
2
3
|
@import "inputs.css";
|
|
3
4
|
@import "buttons.css";
|
|
4
5
|
@import "text.css";
|
|
5
6
|
@import "scrollbar.css";
|
|
6
7
|
@import "transitions.css";
|
|
7
8
|
@import "loginCard.css";
|
|
9
|
+
@import "appearance.css";
|
|
8
10
|
@import "theme.css";
|
|
9
11
|
@import "dark.css";
|
|
10
12
|
@import "./fonts/Ploni.css";
|
package/src/styles/layout.css
CHANGED
|
@@ -127,8 +127,10 @@
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.w-100,
|
|
130
|
-
.
|
|
130
|
+
.width-100 {
|
|
131
131
|
width: 100%;
|
|
132
|
+
max-width: 100px;
|
|
133
|
+
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
.w300,
|
|
@@ -140,16 +142,41 @@
|
|
|
140
142
|
.w600,
|
|
141
143
|
.w650,
|
|
142
144
|
.w700,
|
|
145
|
+
.w750,
|
|
143
146
|
.w770,
|
|
147
|
+
.w800,
|
|
148
|
+
.w850,
|
|
144
149
|
.w900,
|
|
150
|
+
.w950,
|
|
145
151
|
.w970,
|
|
152
|
+
.w1000,
|
|
146
153
|
.w1030,
|
|
147
|
-
.
|
|
154
|
+
.w1050,
|
|
155
|
+
.w1100,
|
|
156
|
+
.w1150,
|
|
157
|
+
.w1170,
|
|
158
|
+
.w1200,
|
|
159
|
+
.w1250,
|
|
160
|
+
.w1300,
|
|
161
|
+
.w1350,
|
|
162
|
+
.w1400,
|
|
163
|
+
.w1450,
|
|
164
|
+
.w1500,
|
|
165
|
+
.w1550,
|
|
166
|
+
.w1600 {
|
|
148
167
|
margin-inline-start: auto;
|
|
149
168
|
margin-inline-end: auto;
|
|
150
169
|
width: 98%;
|
|
151
170
|
}
|
|
152
171
|
|
|
172
|
+
.w100 {
|
|
173
|
+
max-width: 100px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.w200 {
|
|
177
|
+
max-width: 200px;
|
|
178
|
+
}
|
|
179
|
+
|
|
153
180
|
.w300 {
|
|
154
181
|
max-width: 300px;
|
|
155
182
|
}
|
|
@@ -182,30 +209,98 @@
|
|
|
182
209
|
max-width: 650px;
|
|
183
210
|
}
|
|
184
211
|
|
|
185
|
-
.
|
|
212
|
+
.w700 {
|
|
186
213
|
max-width: 700px;
|
|
187
214
|
}
|
|
188
215
|
|
|
216
|
+
.w750 {
|
|
217
|
+
max-width: 750px;
|
|
218
|
+
}
|
|
219
|
+
|
|
189
220
|
.w770 {
|
|
190
221
|
max-width: 770px;
|
|
191
222
|
}
|
|
192
223
|
|
|
224
|
+
.w800 {
|
|
225
|
+
max-width: 800px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.w850 {
|
|
229
|
+
max-width: 850px;
|
|
230
|
+
}
|
|
231
|
+
|
|
193
232
|
.w900 {
|
|
194
233
|
max-width: 900px;
|
|
195
234
|
}
|
|
196
235
|
|
|
236
|
+
.w950 {
|
|
237
|
+
max-width: 950px;
|
|
238
|
+
}
|
|
239
|
+
|
|
197
240
|
.w970 {
|
|
198
241
|
max-width: 970px;
|
|
199
242
|
}
|
|
200
243
|
|
|
244
|
+
.w1000 {
|
|
245
|
+
max-width: 1000px;
|
|
246
|
+
}
|
|
247
|
+
|
|
201
248
|
.w1030 {
|
|
202
249
|
max-width: 1030px;
|
|
203
250
|
}
|
|
204
251
|
|
|
252
|
+
.w1050 {
|
|
253
|
+
max-width: 1050px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.w1100 {
|
|
257
|
+
max-width: 1100px;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.w1150 {
|
|
261
|
+
max-width: 1150px;
|
|
262
|
+
}
|
|
263
|
+
|
|
205
264
|
.w1170 {
|
|
206
265
|
max-width: 1170px;
|
|
207
266
|
}
|
|
208
267
|
|
|
268
|
+
.w1200 {
|
|
269
|
+
max-width: 1200px;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.w1250 {
|
|
273
|
+
max-width: 1250px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.w1300 {
|
|
277
|
+
max-width: 1300px;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.w1350 {
|
|
281
|
+
max-width: 1350px;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.w1400 {
|
|
285
|
+
max-width: 1400px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.w1450 {
|
|
289
|
+
max-width: 1450px;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.w1500 {
|
|
293
|
+
max-width: 1500px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.w1550 {
|
|
297
|
+
max-width: 1550px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.w1600 {
|
|
301
|
+
max-width: 1600px;
|
|
302
|
+
}
|
|
303
|
+
|
|
209
304
|
.w-all,
|
|
210
305
|
.wall {
|
|
211
306
|
width: -webkit-fill-available;
|
|
@@ -1034,7 +1129,7 @@
|
|
|
1034
1129
|
}
|
|
1035
1130
|
|
|
1036
1131
|
.absolute {
|
|
1037
|
-
position: absolute;
|
|
1132
|
+
position: absolute !important;
|
|
1038
1133
|
}
|
|
1039
1134
|
|
|
1040
1135
|
.flex {
|
|
@@ -1061,8 +1156,12 @@
|
|
|
1061
1156
|
width: 100%;
|
|
1062
1157
|
}
|
|
1063
1158
|
|
|
1064
|
-
.
|
|
1065
|
-
|
|
1159
|
+
.inline {
|
|
1160
|
+
display: inline;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.inline-block {
|
|
1164
|
+
display: inline-block;
|
|
1066
1165
|
}
|
|
1067
1166
|
|
|
1068
1167
|
.flex-end {
|
|
@@ -1406,6 +1505,13 @@
|
|
|
1406
1505
|
overflow-y: hidden;
|
|
1407
1506
|
}
|
|
1408
1507
|
|
|
1508
|
+
.line {
|
|
1509
|
+
background: var(--border-color);
|
|
1510
|
+
height: 1px;
|
|
1511
|
+
width: 100%;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
|
|
1409
1515
|
@media screen and (max-width: 910px) {
|
|
1410
1516
|
.grid-wrap-2 {
|
|
1411
1517
|
grid-template-columns: repeat(1, 1fr);
|