@allxsmith/bestax-bulma 5.35.1 → 5.36.1
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/bestax.css +1 -1
- package/dist/bestax.css.map +1 -1
- package/dist/esm/components/EmptyState.js +2 -2
- package/dist/esm/components/EmptyState.js.map +1 -1
- package/dist/esm/components/Menu.js +9 -2
- package/dist/esm/components/Menu.js.map +1 -1
- package/dist/esm/components/Timeline.js +150 -0
- package/dist/esm/components/Timeline.js.map +1 -0
- package/dist/esm/form/Autocomplete.js +2 -2
- package/dist/esm/form/Autocomplete.js.map +1 -1
- package/dist/esm/form/Taginput.js +64 -55
- package/dist/esm/form/Taginput.js.map +1 -1
- package/dist/esm/form/useAutoLabelId.js +3 -3
- package/dist/esm/form/useAutoLabelId.js.map +1 -1
- package/dist/extras.css +1 -1
- package/dist/extras.css.map +1 -1
- package/dist/index.cjs +904 -748
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/types/components/Menu.d.ts +5 -0
- package/dist/types/components/Timeline.d.ts +130 -0
- package/dist/types/form/Taginput.d.ts +12 -5
- package/dist/types/index.d.ts +1 -0
- package/dist/types-cjs/components/Menu.d.ts +5 -0
- package/dist/types-cjs/components/Timeline.d.ts +130 -0
- package/dist/types-cjs/form/Taginput.d.ts +12 -5
- package/dist/types-cjs/index.d.ts +1 -0
- package/dist/versions/bestax-no-dark-mode.css +1 -1
- package/dist/versions/bestax-no-dark-mode.css.map +1 -1
- package/dist/versions/bestax-no-helpers-prefixed.css +1 -1
- package/dist/versions/bestax-no-helpers-prefixed.css.map +1 -1
- package/dist/versions/bestax-no-helpers.css +1 -1
- package/dist/versions/bestax-no-helpers.css.map +1 -1
- package/dist/versions/bestax-prefixed.css +1 -1
- package/dist/versions/bestax-prefixed.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/components/_index.scss +2 -0
- package/src/scss/components/_loading.scss +26 -0
- package/src/scss/components/_menu.scss +37 -0
- package/src/scss/components/_timeline.scss +371 -0
- package/src/scss/form/_checkbox.scss +14 -14
- package/src/scss/form/_radio.scss +12 -12
- package/src/scss/form/_switch.scss +21 -21
|
@@ -60,7 +60,7 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
60
60
|
height: 0;
|
|
61
61
|
|
|
62
62
|
// Checked state
|
|
63
|
-
&:checked +
|
|
63
|
+
&:checked + .#{iv.$class-prefix}check {
|
|
64
64
|
background-color: cv.getVar("switch-active-color");
|
|
65
65
|
border-color: cv.getVar("switch-active-color");
|
|
66
66
|
|
|
@@ -72,30 +72,30 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
// Focus-visible state (keyboard only)
|
|
75
|
-
&:focus-visible +
|
|
75
|
+
&:focus-visible + .#{iv.$class-prefix}check {
|
|
76
76
|
outline: 2px solid cv.getVar("switch-active-color");
|
|
77
77
|
outline-offset: 2px;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
// Legacy focus state for older browsers
|
|
81
|
-
&:focus +
|
|
81
|
+
&:focus + .#{iv.$class-prefix}check {
|
|
82
82
|
box-shadow: cv.getVar("switch-focus-shadow");
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
// Disabled state
|
|
86
|
-
&:disabled +
|
|
86
|
+
&:disabled + .#{iv.$class-prefix}check {
|
|
87
87
|
opacity: 0.5;
|
|
88
88
|
cursor: not-allowed;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
&:disabled ~
|
|
91
|
+
&:disabled ~ .#{iv.$class-prefix}control-label {
|
|
92
92
|
opacity: 0.5;
|
|
93
93
|
cursor: not-allowed;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
// Track (the pill-shaped background)
|
|
98
|
-
|
|
98
|
+
.#{iv.$class-prefix}check {
|
|
99
99
|
display: inline-block;
|
|
100
100
|
position: relative;
|
|
101
101
|
width: cv.getVar("switch-width");
|
|
@@ -132,7 +132,7 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
// Label text
|
|
135
|
-
|
|
135
|
+
.#{iv.$class-prefix}control-label {
|
|
136
136
|
margin-left: cv.getVar("switch-label-gap");
|
|
137
137
|
line-height: cv.getVar("switch-height");
|
|
138
138
|
}
|
|
@@ -141,7 +141,7 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
141
141
|
&.#{iv.$class-prefix}is-rtl {
|
|
142
142
|
flex-direction: row-reverse;
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
.#{iv.$class-prefix}control-label {
|
|
145
145
|
margin-left: 0;
|
|
146
146
|
margin-right: cv.getVar("switch-label-gap");
|
|
147
147
|
}
|
|
@@ -163,7 +163,7 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
163
163
|
|
|
164
164
|
// Rounded variant (already rounded by default, but explicit class for consistency)
|
|
165
165
|
.#{iv.$class-prefix}switch.#{iv.$class-prefix}is-rounded {
|
|
166
|
-
|
|
166
|
+
.#{iv.$class-prefix}check {
|
|
167
167
|
border-radius: cv.getVar("switch-radius");
|
|
168
168
|
|
|
169
169
|
&::before {
|
|
@@ -174,7 +174,7 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
174
174
|
|
|
175
175
|
// Thin variant — MUI-style: colored circle, muted track
|
|
176
176
|
.#{iv.$class-prefix}switch.#{iv.$class-prefix}is-thin {
|
|
177
|
-
|
|
177
|
+
.#{iv.$class-prefix}check {
|
|
178
178
|
height: cv.getVar("switch-thin-height");
|
|
179
179
|
background-color: color-mix(
|
|
180
180
|
in srgb,
|
|
@@ -196,7 +196,7 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
// Checked: circle becomes active color, track becomes muted active color
|
|
199
|
-
input[type="checkbox"]:checked +
|
|
199
|
+
input[type="checkbox"]:checked + .#{iv.$class-prefix}check {
|
|
200
200
|
background-color: color-mix(
|
|
201
201
|
in srgb,
|
|
202
202
|
cv.getVar("switch-active-color") 50%,
|
|
@@ -218,7 +218,7 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
218
218
|
|
|
219
219
|
// Outlined variant
|
|
220
220
|
.#{iv.$class-prefix}switch.#{iv.$class-prefix}is-outlined {
|
|
221
|
-
|
|
221
|
+
.#{iv.$class-prefix}check {
|
|
222
222
|
background-color: transparent;
|
|
223
223
|
border-color: cv.getVar("switch-background");
|
|
224
224
|
|
|
@@ -227,7 +227,7 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
input[type="checkbox"]:checked +
|
|
230
|
+
input[type="checkbox"]:checked + .#{iv.$class-prefix}check {
|
|
231
231
|
background-color: transparent;
|
|
232
232
|
border-color: cv.getVar("switch-active-color");
|
|
233
233
|
|
|
@@ -251,14 +251,14 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
251
251
|
// Passive type variants (unchecked state color)
|
|
252
252
|
@each $name in "primary", "link", "info", "success", "warning", "danger" {
|
|
253
253
|
.#{iv.$class-prefix}switch.#{iv.$class-prefix}is-#{$name}-passive {
|
|
254
|
-
|
|
254
|
+
.#{iv.$class-prefix}check {
|
|
255
255
|
background-color: cv.getVar($name);
|
|
256
256
|
border-color: cv.getVar($name);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
// Outlined passive: transparent background, colored border and circle
|
|
260
260
|
&.#{iv.$class-prefix}is-outlined {
|
|
261
|
-
|
|
261
|
+
.#{iv.$class-prefix}check {
|
|
262
262
|
background-color: transparent;
|
|
263
263
|
border-color: cv.getVar($name);
|
|
264
264
|
|
|
@@ -284,20 +284,20 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
284
284
|
// High Contrast Mode support
|
|
285
285
|
@media (forced-colors: active) {
|
|
286
286
|
.#{iv.$class-prefix}switch {
|
|
287
|
-
|
|
287
|
+
.#{iv.$class-prefix}check {
|
|
288
288
|
border-color: ButtonText;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
input[type="checkbox"]:checked +
|
|
291
|
+
input[type="checkbox"]:checked + .#{iv.$class-prefix}check {
|
|
292
292
|
background-color: Highlight;
|
|
293
293
|
border-color: Highlight;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
input[type="checkbox"]:focus-visible +
|
|
296
|
+
input[type="checkbox"]:focus-visible + .#{iv.$class-prefix}check {
|
|
297
297
|
outline-color: Highlight;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
-
input[type="checkbox"]:disabled +
|
|
300
|
+
input[type="checkbox"]:disabled + .#{iv.$class-prefix}check {
|
|
301
301
|
border-color: GrayText;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
@@ -306,8 +306,8 @@ $switch-thin-circle-size: 1.25em !default;
|
|
|
306
306
|
// Reduced motion
|
|
307
307
|
@media (prefers-reduced-motion: reduce) {
|
|
308
308
|
.#{iv.$class-prefix}switch {
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
.#{iv.$class-prefix}check,
|
|
310
|
+
.#{iv.$class-prefix}check::before {
|
|
311
311
|
transition: none;
|
|
312
312
|
}
|
|
313
313
|
}
|