@allxsmith/bestax-bulma 5.67.1 → 5.67.3
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/Card.js +3 -14
- package/dist/esm/components/Card.js.map +1 -1
- package/dist/esm/components/Command.js +14 -3
- package/dist/esm/components/Command.js.map +1 -1
- package/dist/esm/components/ContextMenu.js +10 -10
- package/dist/esm/components/ContextMenu.js.map +1 -1
- package/dist/esm/components/Dialog.js +7 -3
- package/dist/esm/components/Dialog.js.map +1 -1
- package/dist/esm/components/HoverCard.js +2 -2
- package/dist/esm/components/HoverCard.js.map +1 -1
- package/dist/esm/components/Menu.js +2 -1
- package/dist/esm/components/Menu.js.map +1 -1
- package/dist/esm/components/Modal.js +11 -9
- package/dist/esm/components/Modal.js.map +1 -1
- package/dist/esm/components/Popover.js +2 -2
- package/dist/esm/components/Popover.js.map +1 -1
- package/dist/esm/components/Tabs.js +4 -3
- package/dist/esm/components/Tabs.js.map +1 -1
- package/dist/esm/elements/CopyButton.js +6 -3
- package/dist/esm/elements/CopyButton.js.map +1 -1
- package/dist/esm/elements/IconButton.js +3 -2
- package/dist/esm/elements/IconButton.js.map +1 -1
- package/dist/esm/elements/Stat.js +3 -2
- package/dist/esm/elements/Stat.js.map +1 -1
- package/dist/esm/form/ColorInputBase.js.map +1 -1
- package/dist/esm/form/Combobox.js +2 -2
- package/dist/esm/form/Combobox.js.map +1 -1
- package/dist/esm/form/DateInputBase.js +1 -1
- package/dist/esm/form/DateInputBase.js.map +1 -1
- package/dist/esm/form/DateRangeInputBase.js +1 -1
- package/dist/esm/form/DateRangeInputBase.js.map +1 -1
- package/dist/esm/form/DateTimeInputBase.js +3 -3
- package/dist/esm/form/DateTimeInputBase.js.map +1 -1
- package/dist/esm/form/Field.js +6 -6
- package/dist/esm/form/Field.js.map +1 -1
- package/dist/esm/form/TimeInputBase.js.map +1 -1
- package/dist/esm/form/TreeSelect.js.map +1 -1
- package/dist/esm/form/_pickerInternals/Calendar.js +19 -10
- package/dist/esm/form/_pickerInternals/Calendar.js.map +1 -1
- package/dist/esm/form/_pickerInternals/PickerPopover.js +3 -3
- package/dist/esm/form/_pickerInternals/PickerPopover.js.map +1 -1
- package/dist/esm/helpers/Config.js.map +1 -1
- package/dist/esm/helpers/elementType.js +42 -0
- package/dist/esm/helpers/elementType.js.map +1 -0
- package/dist/esm/helpers/portal.js +57 -1
- package/dist/esm/helpers/portal.js.map +1 -1
- package/dist/esm/helpers/useAnchoredPosition.js +23 -12
- package/dist/esm/helpers/useAnchoredPosition.js.map +1 -1
- package/dist/esm/helpers/withSubComponents.js +1 -1
- package/dist/esm/helpers/withSubComponents.js.map +1 -1
- package/dist/esm/layout/AppFrame.js +4 -3
- package/dist/esm/layout/AppFrame.js.map +1 -1
- package/dist/esm/layout/Splitter.js +3 -2
- package/dist/esm/layout/Splitter.js.map +1 -1
- package/dist/extras.css +1 -1
- package/dist/extras.css.map +1 -1
- package/dist/index.cjs +201 -84
- package/dist/index.cjs.map +1 -1
- package/dist/types/components/HoverCard.d.ts +9 -8
- package/dist/types/components/Popover.d.ts +6 -5
- package/dist/types/form/ColorInputBase.d.ts +2 -1
- package/dist/types/form/Combobox.d.ts +6 -7
- package/dist/types/form/DateInputBase.d.ts +12 -3
- package/dist/types/form/DateRangeInputBase.d.ts +12 -3
- package/dist/types/form/DateTimeInputBase.d.ts +12 -3
- package/dist/types/form/TimeInputBase.d.ts +2 -1
- package/dist/types/form/TreeSelect.d.ts +1 -1
- package/dist/types/form/_pickerInternals/Calendar.d.ts +12 -0
- package/dist/types/helpers/Config.d.ts +6 -3
- package/dist/types/helpers/elementType.d.ts +20 -0
- package/dist/types/helpers/portal.d.ts +44 -0
- package/dist/types/helpers/useAnchoredPosition.d.ts +3 -1
- package/dist/types/helpers/withSubComponents.d.ts +1 -1
- package/dist/types-cjs/components/HoverCard.d.ts +9 -8
- package/dist/types-cjs/components/Popover.d.ts +6 -5
- package/dist/types-cjs/form/ColorInputBase.d.ts +2 -1
- package/dist/types-cjs/form/Combobox.d.ts +6 -7
- package/dist/types-cjs/form/DateInputBase.d.ts +12 -3
- package/dist/types-cjs/form/DateRangeInputBase.d.ts +12 -3
- package/dist/types-cjs/form/DateTimeInputBase.d.ts +12 -3
- package/dist/types-cjs/form/TimeInputBase.d.ts +2 -1
- package/dist/types-cjs/form/TreeSelect.d.ts +1 -1
- package/dist/types-cjs/form/_pickerInternals/Calendar.d.ts +12 -0
- package/dist/types-cjs/helpers/Config.d.ts +6 -3
- package/dist/types-cjs/helpers/elementType.d.ts +20 -0
- package/dist/types-cjs/helpers/portal.d.ts +44 -0
- package/dist/types-cjs/helpers/useAnchoredPosition.d.ts +3 -1
- package/dist/types-cjs/helpers/withSubComponents.d.ts +1 -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/_menu.scss +16 -2
- package/src/scss/form/_dateinput.scss +4 -0
- package/src/scss/form/_datetimeinput.scss +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Bestax Extras - Menu Styles
|
|
2
|
-
//
|
|
3
|
-
// closes, and a mark for the
|
|
2
|
+
// Additions to Bulma's menu: items that start their labels where the line
|
|
3
|
+
// starts, `Menu.Section`, a section that opens and closes, and a mark for the
|
|
4
|
+
// active item in forced colors.
|
|
4
5
|
|
|
5
6
|
@use "bulma/sass/utilities/initial-variables" as iv;
|
|
6
7
|
@use "bulma/sass/utilities/css-variables" as cv;
|
|
@@ -26,6 +27,19 @@ $menu-section-chevron-duration: cv.getVar("duration") !default;
|
|
|
26
27
|
);
|
|
27
28
|
}
|
|
28
29
|
|
|
30
|
+
// Bulma aligns each item's text `left`, and an item spans the menu, so on a
|
|
31
|
+
// right-to-left page the items' text stays at the left, under a `Menu.Label`
|
|
32
|
+
// or a section heading that sits at the right. `start` is `left` left to
|
|
33
|
+
// right, so nothing moves there. The doubled class outranks Bulma's rule
|
|
34
|
+
// whichever stylesheet loads first. Bulma has no variable for this one.
|
|
35
|
+
.#{iv.$class-prefix}menu-list.#{iv.$class-prefix}menu-list {
|
|
36
|
+
a,
|
|
37
|
+
button,
|
|
38
|
+
.#{iv.$class-prefix}menu-item {
|
|
39
|
+
text-align: start;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
29
43
|
// The space Bulma puts around a label, which turns on where the label sits
|
|
30
44
|
// among the menu's children: above it unless it comes first, and below it
|
|
31
45
|
// unless it comes last. A heading takes the same two from where its section
|
|
@@ -109,6 +109,10 @@ $dateinput-cell-range-preview-bg: color-mix(
|
|
|
109
109
|
outline: 2px solid cv.getVar('dateinput-focus-ring-color');
|
|
110
110
|
outline-offset: 2px;
|
|
111
111
|
}
|
|
112
|
+
&:disabled {
|
|
113
|
+
opacity: 0.4;
|
|
114
|
+
cursor: not-allowed;
|
|
115
|
+
}
|
|
112
116
|
}
|
|
113
117
|
|
|
114
118
|
.#{iv.$class-prefix}dateinput-month-caret {
|
|
@@ -173,10 +173,14 @@ $datetimeinput-time-overlay-blur: 3px !default;
|
|
|
173
173
|
cursor: pointer;
|
|
174
174
|
border-radius: cv.getVar('radius');
|
|
175
175
|
|
|
176
|
-
&:hover,
|
|
176
|
+
&:hover:not(:disabled),
|
|
177
177
|
&:focus-visible {
|
|
178
178
|
background-color: hsla(0, 0%, 50%, 0.12);
|
|
179
179
|
}
|
|
180
|
+
&:disabled {
|
|
181
|
+
cursor: not-allowed;
|
|
182
|
+
opacity: 0.5;
|
|
183
|
+
}
|
|
180
184
|
}
|
|
181
185
|
|
|
182
186
|
.#{iv.$class-prefix}datetimeinput-footer-done {
|
|
@@ -202,4 +206,8 @@ $datetimeinput-time-overlay-blur: 3px !default;
|
|
|
202
206
|
outline: 2px solid cv.getVar('primary');
|
|
203
207
|
outline-offset: 2px;
|
|
204
208
|
}
|
|
209
|
+
&:disabled {
|
|
210
|
+
cursor: not-allowed;
|
|
211
|
+
opacity: 0.5;
|
|
212
|
+
}
|
|
205
213
|
}
|