@intility/bifrost-react-select 4.2.2 → 4.2.4
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @intility/bifrost-react-select
|
|
2
2
|
|
|
3
|
+
## 4.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2308f1a: Update multi-select checkboxes to more closely match bifrost checkbox styling.
|
|
8
|
+
|
|
9
|
+
## 4.2.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 633e7b2: chore: avoid internal barrel file imports
|
|
14
|
+
- 899927b: Fix: form field height should follow browser font-size setting. Use `rem` over `px` for height-related units for form fields (input, button, select, datepicker).
|
|
15
|
+
|
|
3
16
|
## 4.2.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/Select.js
CHANGED
|
@@ -10,7 +10,12 @@ import Description from "@intility/bifrost-react/Description";
|
|
|
10
10
|
import Feedback from "@intility/bifrost-react/Feedback";
|
|
11
11
|
import Label from "@intility/bifrost-react/Label";
|
|
12
12
|
import useUniqueId from "@intility/bifrost-react/hooks/useUniqueId";
|
|
13
|
-
import
|
|
13
|
+
import DropdownIndicator from "./overrides/DropdownIndicator.internal.js";
|
|
14
|
+
import CustomInput from "./overrides/CustomInput.internal.js";
|
|
15
|
+
import CustomMenuList from "./overrides/CustomMenuList.internal.js";
|
|
16
|
+
import ClearIndicator from "./overrides/ClearIndicator.internal.js";
|
|
17
|
+
import CustomOption from "./overrides/CustomOption.internal.js";
|
|
18
|
+
import LoadingIndicator from "./overrides/LoadingIndicator.internal.js";
|
|
14
19
|
const ReactSelect = ReactSelectDefaultExport.default ?? ReactSelectDefaultExport;
|
|
15
20
|
export const selectStyles = {
|
|
16
21
|
container: (provided)=>({
|
|
@@ -43,7 +48,7 @@ export const selectStyles = {
|
|
|
43
48
|
indicatorsContainer: (provided)=>({
|
|
44
49
|
...provided,
|
|
45
50
|
alignItems: "flex-start",
|
|
46
|
-
padding: "
|
|
51
|
+
padding: "0.46875rem 0"
|
|
47
52
|
}),
|
|
48
53
|
clearIndicator: (provided)=>({
|
|
49
54
|
...provided,
|
|
@@ -104,10 +109,6 @@ export const selectStyles = {
|
|
|
104
109
|
padding: "7px 12px",
|
|
105
110
|
backgroundColor: state.isDisabled ? "var(--bfc-base-dimmed)" : state.isFocused ? "var(--bfc-base-1)" : "var(--bfc-base-3)",
|
|
106
111
|
color: "var(--bfc-base-c)",
|
|
107
|
-
"& .bf-select-checkbox": {
|
|
108
|
-
marginRight: "var(--bfs8)",
|
|
109
|
-
color: "var(--bfc-theme)"
|
|
110
|
-
},
|
|
111
112
|
"& .bf-select-selected-icon": {
|
|
112
113
|
color: "var(--bfc-base-c)",
|
|
113
114
|
marginLeft: "var(--bfs4)"
|
|
@@ -12,7 +12,8 @@ const CustomOption = (props)=>{
|
|
|
12
12
|
children: /*#__PURE__*/ _jsx(Icon, {
|
|
13
13
|
icon: props.isSelected ? faCheckSquare : faSquare,
|
|
14
14
|
fixedWidth: true,
|
|
15
|
-
|
|
15
|
+
marginRight: true,
|
|
16
|
+
color: props.isSelected ? "var(--bfc-base-c)" : "var(--bfc-base-c-2)"
|
|
16
17
|
})
|
|
17
18
|
}),
|
|
18
19
|
props.children,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intility/bifrost-react-select",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.4",
|
|
4
4
|
"description": "React select component for Intility's design system, Bifrost.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/Select.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@intility/bifrost-react": "^4.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@intility/bifrost-react": "^4.7.
|
|
42
|
+
"@intility/bifrost-react": "^4.7.4"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as ClearIndicator } from "./ClearIndicator.internal.js";
|
|
2
|
-
export { default as CustomInput } from "./CustomInput.internal.js";
|
|
3
|
-
export { default as LoadingIndicator } from "./LoadingIndicator.internal.js";
|
|
4
|
-
export { default as CustomMenuList } from "./CustomMenuList.internal.js";
|
|
5
|
-
export { default as DropdownIndicator } from "./DropdownIndicator.internal.js";
|
|
6
|
-
export { default as CustomOption } from "./CustomOption.internal.js";
|
package/dist/overrides/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as ClearIndicator } from "./ClearIndicator.internal.js";
|
|
2
|
-
export { default as CustomInput } from "./CustomInput.internal.js";
|
|
3
|
-
export { default as LoadingIndicator } from "./LoadingIndicator.internal.js";
|
|
4
|
-
export { default as CustomMenuList } from "./CustomMenuList.internal.js";
|
|
5
|
-
export { default as DropdownIndicator } from "./DropdownIndicator.internal.js";
|
|
6
|
-
export { default as CustomOption } from "./CustomOption.internal.js";
|