@homebound/beam 2.305.0 → 2.306.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/Css.d.ts +557 -387
- package/dist/Css.js +803 -633
- package/dist/components/Accordion.js +1 -1
- package/dist/components/AutoSaveIndicator.js +5 -6
- package/dist/components/Button.js +16 -16
- package/dist/components/Chip.js +4 -4
- package/dist/components/CssReset.js +2 -2
- package/dist/components/DnDGrid/DnDGridItemHandle.js +1 -1
- package/dist/components/Filters/Filters.js +1 -1
- package/dist/components/IconButton.js +1 -1
- package/dist/components/Layout/PreventBrowserScroll.js +3 -1
- package/dist/components/Loader.js +1 -1
- package/dist/components/NavLink.js +2 -2
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Snackbar/SnackbarNotice.js +2 -2
- package/dist/components/Stepper.js +5 -6
- package/dist/components/Table/TableStyles.js +1 -1
- package/dist/components/Table/components/ExpandableHeader.js +1 -1
- package/dist/components/Table/components/Row.js +3 -3
- package/dist/components/Table/components/SortHeader.js +1 -1
- package/dist/components/Table/utils/utils.js +1 -1
- package/dist/components/Tabs.js +3 -3
- package/dist/components/Tag.js +3 -3
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/internal/CompoundField.js +3 -3
- package/dist/components/internal/DatePicker/DatePicker.css +2 -2
- package/dist/components/internal/DatePicker/Day.js +4 -4
- package/dist/components/internal/MenuItem.js +3 -9
- package/dist/inputs/CheckboxBase.js +3 -3
- package/dist/inputs/RadioGroupField.js +2 -2
- package/dist/inputs/RichTextField.js +3 -3
- package/dist/inputs/Switch.js +3 -3
- package/dist/inputs/TextFieldBase.js +1 -1
- package/dist/inputs/ToggleButton.js +1 -1
- package/dist/inputs/ToggleChipGroup.js +2 -2
- package/dist/inputs/TreeSelectField/TreeOption.js +1 -1
- package/dist/inputs/internal/ComboBoxInput.js +1 -1
- package/dist/inputs/internal/Option.js +2 -2
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ function TreeOption(props) {
|
|
|
30
30
|
item: Css_1.Css.gray900.if(contrast).white.$,
|
|
31
31
|
hover: Css_1.Css.bgGray100.if(contrast).bgGray600.$,
|
|
32
32
|
disabled: Css_1.Css.cursorNotAllowed.gray400.if(contrast).gray500.$,
|
|
33
|
-
focus: Css_1.Css.add("boxShadow", `inset 0 0 0 1px ${!contrast ? Css_1.Palette.
|
|
33
|
+
focus: Css_1.Css.add("boxShadow", `inset 0 0 0 1px ${!contrast ? Css_1.Palette.Blue700 : Css_1.Palette.Blue500}`).$,
|
|
34
34
|
};
|
|
35
35
|
return ((0, jsx_runtime_1.jsxs)("li", { ...hoverProps, css: {
|
|
36
36
|
...Css_1.Css.df.aic.jcsb.gap1.pl2.mh("42px").outline0.cursorPointer.sm.plPx(16 + level * 8).$,
|
|
@@ -18,7 +18,7 @@ function ComboBoxInput(props) {
|
|
|
18
18
|
const showNumSelection = isMultiSelect && state.selectionManager.selectedKeys.size > 1;
|
|
19
19
|
// For MultiSelect only show the `fieldDecoration` when input is not in focus.
|
|
20
20
|
const showFieldDecoration = (!isMultiSelect || (isMultiSelect && !isFocused)) && fieldDecoration && selectedOptions.length === 1;
|
|
21
|
-
return ((0, jsx_runtime_1.jsx)(TextFieldBase_1.TextFieldBase, { ...otherProps, errorMsg: errorMsg, contrast: contrast, xss: otherProps.labelStyle !== "inline" && !inputProps.readOnly ? Css_1.Css.fw5.$ : {}, startAdornment: (showNumSelection && ((0, jsx_runtime_1.jsx)("span", { css: Css_1.Css.wPx(16).hPx(16).fs0.br100.
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)(TextFieldBase_1.TextFieldBase, { ...otherProps, errorMsg: errorMsg, contrast: contrast, xss: otherProps.labelStyle !== "inline" && !inputProps.readOnly ? Css_1.Css.fw5.$ : {}, startAdornment: (showNumSelection && ((0, jsx_runtime_1.jsx)("span", { css: Css_1.Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.tinySb.df.aic.jcc.$, "data-testid": "selectedOptionsCount", children: state.selectionManager.selectedKeys.size }))) ||
|
|
22
22
|
(showFieldDecoration && fieldDecoration(selectedOptions[0])), endAdornment: !inputProps.readOnly && ((0, jsx_runtime_1.jsx)("button", { ...buttonProps, disabled: inputProps.disabled, ref: buttonRef, css: {
|
|
23
23
|
...Css_1.Css.br4.outline0.gray700.if(contrast).gray400.$,
|
|
24
24
|
...(inputProps.disabled ? Css_1.Css.cursorNotAllowed.gray400.if(contrast).gray600.$ : {}),
|
|
@@ -17,7 +17,7 @@ function Option(props) {
|
|
|
17
17
|
item: Css_1.Css.gray900.if(contrast).white.$,
|
|
18
18
|
hover: Css_1.Css.bgGray100.if(contrast).bgGray600.$,
|
|
19
19
|
disabled: Css_1.Css.cursorNotAllowed.gray400.if(contrast).gray500.$,
|
|
20
|
-
focus: Css_1.Css.add("boxShadow", `inset 0 0 0 1px ${!contrast ? Css_1.Palette.
|
|
20
|
+
focus: Css_1.Css.add("boxShadow", `inset 0 0 0 1px ${!contrast ? Css_1.Palette.Blue700 : Css_1.Palette.Blue500}`).$,
|
|
21
21
|
};
|
|
22
22
|
// Get props for the option element.
|
|
23
23
|
// Prevent options from receiving browser focus via shouldUseVirtualFocus.
|
|
@@ -36,7 +36,7 @@ function Option(props) {
|
|
|
36
36
|
}, children: [item.rendered, isSelected && ((0, jsx_runtime_1.jsx)("span", { css: Css_1.Css.fs0.$, children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { icon: "check", color: !contrast
|
|
37
37
|
? isDisabled
|
|
38
38
|
? Css_1.Palette.Gray400
|
|
39
|
-
: Css_1.Palette.
|
|
39
|
+
: Css_1.Palette.Blue700
|
|
40
40
|
: isDisabled
|
|
41
41
|
? Css_1.Palette.Gray500
|
|
42
42
|
: Css_1.Palette.White }) }))] })),
|