@bagelink/vue 0.0.276 → 0.0.280
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/ComboBox.vue.d.ts +2 -0
- package/dist/components/ComboBox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts +9 -4
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +44 -40
- package/dist/index.mjs +44 -40
- package/dist/plugins/modal.d.ts +1 -1
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +444 -469
- package/package.json +1 -1
- package/src/components/ComboBox.vue +75 -69
- package/src/components/form/inputs/CheckInput.vue +55 -53
- package/src/components/form/inputs/SelectInput.vue +272 -284
- package/src/components/formkit/Toggle.vue +85 -100
- package/src/plugins/modal.ts +23 -23
- package/src/styles/buttons.css +38 -40
- package/src/styles/inputs.css +100 -109
- package/src/styles/layout.css +0 -1
- package/src/styles/text.css +0 -21
package/src/styles/inputs.css
CHANGED
|
@@ -1,221 +1,212 @@
|
|
|
1
1
|
input,
|
|
2
2
|
textarea,
|
|
3
3
|
select {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
font-family: inherit;
|
|
5
|
+
width: 100%;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.bagel-input {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
position: relative;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
text-align: start;
|
|
13
|
+
margin-bottom: 0.5rem;
|
|
14
|
+
width: 100%;
|
|
15
|
+
color: var(--bgl-black);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.bagel-input::placeholder .bagel-input label {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
display: block;
|
|
20
|
+
font-size: var(--label-font-size);
|
|
21
|
+
margin-bottom: 2px;
|
|
22
|
+
line-height: 1.3;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.bagel-input::placeholder {
|
|
26
|
-
|
|
26
|
+
color: var(--placeholder-color);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.bagel-input label {
|
|
30
|
-
|
|
30
|
+
color: var(--label-color);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.bagel-input input,
|
|
34
34
|
.bagel-input select,
|
|
35
35
|
.custom-select .input {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
height: var(--input-height);
|
|
37
|
+
font-size: var(--input-font-size);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.bagel-input input,
|
|
41
41
|
.bagel-input textarea,
|
|
42
42
|
.bagel-input select,
|
|
43
43
|
.custom-select .input {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
background: var(--input-bg);
|
|
45
|
+
border: none;
|
|
46
|
+
padding: 0.7rem;
|
|
47
|
+
border-radius: var(--input-border-radius);
|
|
48
|
+
color: var(--input-color);
|
|
49
|
+
min-width: calc(var(--input-height) * 3);
|
|
50
|
+
width: 100%;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.bagel-input input::placeholder,
|
|
54
54
|
.bagel-input textarea::placeholder,
|
|
55
55
|
.bagel-input select::placeholder,
|
|
56
56
|
.custom-select .input::placeholder {
|
|
57
|
-
|
|
57
|
+
color: var(--placeholder-color);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.bagel-input.search-wrap {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: row;
|
|
63
|
+
align-items: center;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.bagel-input.search-wrap input {
|
|
67
|
-
|
|
67
|
+
padding-inline-end: 2rem;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.bagel-input.search-wrap .bgl_icon-font {
|
|
71
|
-
|
|
71
|
+
margin-inline-start: -1.75rem;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.bagel-input select {
|
|
75
|
-
|
|
75
|
+
height: var(--input-height);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.bagel-input textarea {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
resize: vertical;
|
|
80
|
+
min-height: calc(var(--input-height) * 3);
|
|
81
|
+
line-height: 1.5;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.bagel-input.wider input {
|
|
85
|
-
|
|
85
|
+
min-width: 320px;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.bagel-input input[type="radio"] {
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
padding: 0;
|
|
90
|
+
width: fit-content;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.bagel-input:focus-within label {
|
|
94
|
-
|
|
94
|
+
color: var(--bgl-primary);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.bagel-input select.no-edit,
|
|
98
98
|
.bagel-input input.no-edit,
|
|
99
99
|
.bagel-input textarea.no-edit,
|
|
100
100
|
.bagel-input .switch.no-edit {
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
outline: none;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
input
|
|
106
|
-
|
|
107
|
-
-webkit-appearance: none;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
label.active {
|
|
111
|
-
color: var(--bgl-primary);
|
|
105
|
+
.bagel-input label.active {
|
|
106
|
+
color: var(--bgl-primary);
|
|
112
107
|
}
|
|
113
108
|
|
|
114
109
|
.inline-80 {
|
|
115
|
-
|
|
116
|
-
|
|
110
|
+
display: inline-block;
|
|
111
|
+
width: 80%;
|
|
117
112
|
}
|
|
118
113
|
|
|
119
114
|
.inline-20 {
|
|
120
|
-
|
|
121
|
-
|
|
115
|
+
display: inline-block;
|
|
116
|
+
width: 20%;
|
|
122
117
|
}
|
|
123
118
|
|
|
124
119
|
.inline-10 {
|
|
125
|
-
|
|
126
|
-
|
|
120
|
+
display: inline-block;
|
|
121
|
+
width: 20%;
|
|
127
122
|
}
|
|
128
123
|
|
|
129
124
|
.inline-50 {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
125
|
+
display: inline-block;
|
|
126
|
+
width: 49%;
|
|
127
|
+
margin: 0 0.5%;
|
|
133
128
|
}
|
|
134
129
|
|
|
135
130
|
.custom-select .input {
|
|
136
|
-
|
|
137
|
-
|
|
131
|
+
height: var(--input-height);
|
|
132
|
+
font-size: var(--input-font-size);
|
|
138
133
|
}
|
|
139
134
|
|
|
140
135
|
.custom-select .input {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
136
|
+
background: var(--input-bg);
|
|
137
|
+
border: none;
|
|
138
|
+
padding: 0.7rem;
|
|
139
|
+
border-radius: var(--input-border-radius);
|
|
140
|
+
color: var(--input-color);
|
|
141
|
+
min-width: calc(var(--input-height) * 3);
|
|
142
|
+
width: 100%;
|
|
148
143
|
}
|
|
149
144
|
|
|
150
145
|
.input.active,
|
|
151
146
|
.bagel-input input:focus-visible,
|
|
152
147
|
.bagel-input select:focus-visible,
|
|
153
148
|
.bagel-input textarea:focus-visible {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
input[type="number"]::-webkit-inner-spin-button,
|
|
159
|
-
input[type="number"]::-webkit-outer-spin-button {
|
|
160
|
-
-webkit-appearance: none;
|
|
149
|
+
outline: none;
|
|
150
|
+
box-shadow: inset 0 0 10px #00000012;
|
|
161
151
|
}
|
|
162
152
|
|
|
163
|
-
|
|
164
|
-
|
|
153
|
+
.bagel-input input[type="number"]::-webkit-inner-spin-button,
|
|
154
|
+
.bagel-input input[type="number"]::-webkit-outer-spin-button {
|
|
155
|
+
-webkit-appearance: none;
|
|
165
156
|
}
|
|
166
157
|
|
|
167
158
|
.label-count-0 label {
|
|
168
|
-
|
|
159
|
+
display: none;
|
|
169
160
|
}
|
|
170
161
|
|
|
171
162
|
.label-count-0 button.bgl_btn.bgl_flatBtn {
|
|
172
|
-
|
|
173
|
-
|
|
163
|
+
/* background: var(--bgl-blue-light); */
|
|
164
|
+
margin-right: 5px;
|
|
174
165
|
}
|
|
175
166
|
|
|
176
167
|
.label-count-0 button.bgl_btn.bgl_flatBtn:hover {
|
|
177
|
-
|
|
168
|
+
background: var(--bgl-hover-filter);
|
|
178
169
|
}
|
|
179
170
|
|
|
180
|
-
input[type="color"] {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
171
|
+
.bagel-input input[type="color"] {
|
|
172
|
+
padding: 0.025rem 0.05rem;
|
|
173
|
+
display: block;
|
|
174
|
+
width: var(--input-height);
|
|
175
|
+
height: var(--input-height);
|
|
176
|
+
border: none;
|
|
177
|
+
-webkit-appearance: none;
|
|
178
|
+
-moz-appearance: none;
|
|
179
|
+
appearance: none;
|
|
180
|
+
cursor: pointer;
|
|
190
181
|
}
|
|
191
182
|
|
|
192
|
-
input[type="color"]::-webkit-color-swatch {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
183
|
+
.bagel-input input[type="color"]::-webkit-color-swatch {
|
|
184
|
+
border-radius: var(--input-border-radius);
|
|
185
|
+
border: none;
|
|
186
|
+
transition: box-shadow 200ms ease;
|
|
196
187
|
}
|
|
197
188
|
|
|
198
|
-
input[type="color"]::-moz-color-swatch {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
189
|
+
.bagel-input input[type="color"]::-moz-color-swatch {
|
|
190
|
+
border-radius: var(--input-border-radius);
|
|
191
|
+
border: none;
|
|
192
|
+
transition: box-shadow 200ms ease;
|
|
202
193
|
}
|
|
203
194
|
|
|
204
|
-
input[type="color"]::-webkit-color-swatch:hover {
|
|
205
|
-
|
|
195
|
+
.bagel-input input[type="color"]::-webkit-color-swatch:hover {
|
|
196
|
+
box-shadow: inset 0 0 10px #00000050;
|
|
206
197
|
}
|
|
207
198
|
|
|
208
|
-
input[type="color"]::-moz-color-swatch:hover {
|
|
209
|
-
|
|
199
|
+
.bagel-input input[type="color"]::-moz-color-swatch:hover {
|
|
200
|
+
box-shadow: inset 0 0 10px #00000050;
|
|
210
201
|
}
|
|
211
202
|
|
|
212
203
|
@media screen and (max-width: 910px) {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}
|
|
204
|
+
.bagel-input.wider input {
|
|
205
|
+
min-width: 120px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.bagel-input label {
|
|
209
|
+
font-size: calc(var(--input-font-size) / 1.1);
|
|
210
|
+
line-height: 1.2;
|
|
211
|
+
}
|
|
212
|
+
}
|
package/src/styles/layout.css
CHANGED