@allxsmith/bestax-bulma 5.67.5 → 5.67.7
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/Message.js +8 -1
- package/dist/esm/components/Message.js.map +1 -1
- package/dist/extras.css +1 -1
- package/dist/extras.css.map +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/types/components/Message.d.ts +5 -1
- package/dist/types-cjs/components/Message.d.ts +5 -1
- 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/_carousel.scss +3 -2
- package/src/scss/components/_sidebar.scss +5 -2
- package/src/scss/components/_steps.scss +4 -2
- package/src/scss/components/_tabs.scss +25 -17
- package/src/scss/form/_slider.scss +50 -0
- package/src/scss/form/_timeinput.scss +2 -0
package/package.json
CHANGED
|
@@ -619,8 +619,9 @@ $carousel-indicator-line-radius: cv.getVar("radius-small") !default;
|
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
// Responsive adjustments
|
|
623
|
-
|
|
622
|
+
// Responsive adjustments, below Bulma's tablet breakpoint, so a build that
|
|
623
|
+
// moves `$tablet` moves them too
|
|
624
|
+
@include mx.mobile {
|
|
624
625
|
.#{iv.$class-prefix}carousel {
|
|
625
626
|
.#{iv.$class-prefix}carousel-arrow {
|
|
626
627
|
width: cv.getVar("carousel-arrow-size-mobile");
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
@use "bulma/sass/utilities/initial-variables" as iv;
|
|
5
5
|
@use "bulma/sass/utilities/css-variables" as cv;
|
|
6
|
+
@use "bulma/sass/utilities/mixins" as mx;
|
|
6
7
|
@use '../variables' as *;
|
|
7
8
|
@use '../mixins' as *;
|
|
8
9
|
|
|
@@ -283,8 +284,10 @@ $sidebar-static-border-color: cv.getVar("border") !default;
|
|
|
283
284
|
}
|
|
284
285
|
}
|
|
285
286
|
|
|
286
|
-
// Responsive breakpoints
|
|
287
|
-
|
|
287
|
+
// Responsive breakpoints, from Bulma's tablet breakpoint, so a build that
|
|
288
|
+
// moves `$tablet` moves them too. Screens only, as before: Bulma's own tablet
|
|
289
|
+
// mixin also reaches print.
|
|
290
|
+
@include mx.from(iv.$tablet) {
|
|
288
291
|
.#{iv.$class-prefix}sidebar {
|
|
289
292
|
@include cv.register-vars(("sidebar-width": #{$sidebar-width-tablet}));
|
|
290
293
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
@use "bulma/sass/utilities/initial-variables" as iv;
|
|
5
5
|
@use "bulma/sass/utilities/css-variables" as cv;
|
|
6
|
+
@use "bulma/sass/utilities/mixins" as mx;
|
|
6
7
|
@use '../variables' as *;
|
|
7
8
|
@use '../mixins' as *;
|
|
8
9
|
|
|
@@ -451,8 +452,9 @@ button.#{iv.$class-prefix}steps-link {
|
|
|
451
452
|
margin-top: cv.getVar("steps-navigation-margin-top");
|
|
452
453
|
}
|
|
453
454
|
|
|
454
|
-
// Mobile modes
|
|
455
|
-
|
|
455
|
+
// Mobile modes, below Bulma's tablet breakpoint, so a build that moves
|
|
456
|
+
// `$tablet` moves them too
|
|
457
|
+
@include mx.mobile {
|
|
456
458
|
.#{iv.$class-prefix}steps.#{iv.$class-prefix}is-minimal {
|
|
457
459
|
.#{iv.$class-prefix}steps-content {
|
|
458
460
|
display: none;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
@use "bulma/sass/utilities/initial-variables" as iv;
|
|
6
6
|
@use "bulma/sass/utilities/css-variables" as cv;
|
|
7
|
+
@use "bulma/sass/utilities/mixins" as mx;
|
|
7
8
|
@use '../variables' as *;
|
|
8
9
|
@use '../mixins' as *;
|
|
9
10
|
|
|
@@ -130,23 +131,28 @@ $tabs-content-padding: 1rem !default;
|
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
// Right side variant — reverse the flex direction, so the tabs sit at the
|
|
133
|
-
// end of the row and the edge moves to their start
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
// end of the row and the edge moves to their start. From tablet up only,
|
|
135
|
+
// where the tabs sit beside the panel: these rules name one class more than
|
|
136
|
+
// the phone fallback below, so on a phone they would keep the row and the
|
|
137
|
+
// side edge.
|
|
138
|
+
@include mx.tablet {
|
|
139
|
+
&.#{iv.$class-prefix}is-right {
|
|
140
|
+
flex-direction: row-reverse;
|
|
141
|
+
|
|
142
|
+
> .#{iv.$class-prefix}tabs > ul {
|
|
143
|
+
border-inline-end: none;
|
|
144
|
+
border-inline-start: cv.getVar("tabs-vertical-border-width") solid cv.getVar("tabs-vertical-border-color");
|
|
136
145
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
a {
|
|
143
|
-
border-inline-end: none;
|
|
144
|
-
border-inline-start: 2px solid transparent;
|
|
145
|
-
}
|
|
146
|
+
> li {
|
|
147
|
+
a {
|
|
148
|
+
border-inline-end: none;
|
|
149
|
+
border-inline-start: 2px solid transparent;
|
|
150
|
+
}
|
|
146
151
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
&.#{iv.$class-prefix}is-active a {
|
|
153
|
+
border-inline-start-color: cv.getVar("link");
|
|
154
|
+
border-inline-end-color: transparent;
|
|
155
|
+
}
|
|
150
156
|
}
|
|
151
157
|
}
|
|
152
158
|
}
|
|
@@ -160,8 +166,10 @@ $tabs-content-padding: 1rem !default;
|
|
|
160
166
|
}
|
|
161
167
|
}
|
|
162
168
|
|
|
163
|
-
// Mobile fallback — vertical tabs stack to horizontal
|
|
164
|
-
|
|
169
|
+
// Mobile fallback — vertical tabs stack to horizontal. Bulma's mobile query,
|
|
170
|
+
// which ends where its tablet query above starts, whatever `$tablet` a build
|
|
171
|
+
// configures, so a width gets one layout or the other.
|
|
172
|
+
@include mx.mobile {
|
|
165
173
|
.#{iv.$class-prefix}tabs-root.#{iv.$class-prefix}is-vertical {
|
|
166
174
|
flex-direction: column;
|
|
167
175
|
|
|
@@ -600,7 +600,46 @@ $slider-vertical-height: 200px !default;
|
|
|
600
600
|
|
|
601
601
|
// High Contrast Mode support
|
|
602
602
|
@media (forced-colors: active) {
|
|
603
|
+
// The track and the fill are a gradient, which forced colors drops, so a
|
|
604
|
+
// single-thumb slider showed only its thumb. The element that paints them
|
|
605
|
+
// opts out and paints them in the system's colors: the fill in Highlight,
|
|
606
|
+
// the rest of the track in CanvasText, and both in GrayText while
|
|
607
|
+
// disabled. The range slider's track paints the same gradient and had
|
|
608
|
+
// opted out with its own colors, so it takes these too.
|
|
609
|
+
.#{iv.$class-prefix}slider-input,
|
|
610
|
+
.#{iv.$class-prefix}slider.#{iv.$class-prefix}is-range .#{iv.$class-prefix}slider-track {
|
|
611
|
+
forced-color-adjust: none;
|
|
612
|
+
@include cv.register-vars(
|
|
613
|
+
(
|
|
614
|
+
"slider-fill-color": Highlight,
|
|
615
|
+
"slider-track-color": CanvasText,
|
|
616
|
+
)
|
|
617
|
+
);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.#{iv.$class-prefix}slider.#{iv.$class-prefix}is-disabled .#{iv.$class-prefix}slider-input,
|
|
621
|
+
.#{iv.$class-prefix}slider.#{iv.$class-prefix}is-disabled.#{iv.$class-prefix}is-range .#{iv.$class-prefix}slider-track {
|
|
622
|
+
@include cv.register-vars(
|
|
623
|
+
(
|
|
624
|
+
"slider-fill-color": GrayText,
|
|
625
|
+
"slider-track-color": GrayText,
|
|
626
|
+
)
|
|
627
|
+
);
|
|
628
|
+
}
|
|
629
|
+
|
|
603
630
|
.#{iv.$class-prefix}slider-input {
|
|
631
|
+
// The opt-out reaches the thumb too, and forced colors would have
|
|
632
|
+
// dropped its shadows, the focus ring's included. Its border shows focus.
|
|
633
|
+
&::-webkit-slider-thumb,
|
|
634
|
+
&:focus::-webkit-slider-thumb {
|
|
635
|
+
box-shadow: none;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
&::-moz-range-thumb,
|
|
639
|
+
&:focus::-moz-range-thumb {
|
|
640
|
+
box-shadow: none;
|
|
641
|
+
}
|
|
642
|
+
|
|
604
643
|
&::-webkit-slider-thumb {
|
|
605
644
|
background: ButtonText;
|
|
606
645
|
border-color: ButtonText;
|
|
@@ -611,6 +650,17 @@ $slider-vertical-height: 200px !default;
|
|
|
611
650
|
border-color: ButtonText;
|
|
612
651
|
}
|
|
613
652
|
|
|
653
|
+
// Hover would paint the border from the fill color, Highlight here, the
|
|
654
|
+
// same as focus. It keeps the rest color, and focus, later, still wins. A
|
|
655
|
+
// disabled thumb's rule below outranks both.
|
|
656
|
+
&::-webkit-slider-thumb:hover {
|
|
657
|
+
border-color: ButtonText;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
&::-moz-range-thumb:hover {
|
|
661
|
+
border-color: ButtonText;
|
|
662
|
+
}
|
|
663
|
+
|
|
614
664
|
&:focus::-webkit-slider-thumb {
|
|
615
665
|
border-color: Highlight;
|
|
616
666
|
}
|
|
@@ -285,6 +285,8 @@ $timeinput-footer-padding: 0.5rem 0 0 !default;
|
|
|
285
285
|
// feel. Item *height* is set inline by JS, and made taller on small viewports by
|
|
286
286
|
// the component; the rules below adjust everything that's CSS-only (font size,
|
|
287
287
|
// wheel width, gap, separator, mask intensity).
|
|
288
|
+
// Fixed at 768px rather than Bulma's `$tablet`: it must match
|
|
289
|
+
// `smallViewportMaxPx` in `useNativeMobilePicker`, which sets the item height.
|
|
288
290
|
@media (max-width: 768px) {
|
|
289
291
|
// Registered through `cv.register-vars` like the defaults above, so the
|
|
290
292
|
// overrides land on the names the rules read.
|