@truedat/core 4.35.7 → 4.36.2
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 +6 -0
- package/package.json +2 -2
- package/src/components/OptionGroup.js +3 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.36.2",
|
|
4
4
|
"description": "Truedat Web Core",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"react-dom": ">= 16.8.6 < 17",
|
|
104
104
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "0f4c09d90582210ae7c98e945b8c0b7af0f9a61d"
|
|
107
107
|
}
|
|
@@ -21,6 +21,7 @@ const Group = ({ label, icon, options, onClick, value }) => (
|
|
|
21
21
|
);
|
|
22
22
|
// TODO: Refactor
|
|
23
23
|
export const OptionGroup = ({
|
|
24
|
+
fluid,
|
|
24
25
|
inline,
|
|
25
26
|
label,
|
|
26
27
|
options = [],
|
|
@@ -92,6 +93,7 @@ export const OptionGroup = ({
|
|
|
92
93
|
<>
|
|
93
94
|
{label && <label>{label}</label>}
|
|
94
95
|
<Dropdown
|
|
96
|
+
fluid={fluid}
|
|
95
97
|
className="selection"
|
|
96
98
|
placeholder={placeholder}
|
|
97
99
|
searchQuery={query}
|
|
@@ -134,6 +136,7 @@ export const OptionGroup = ({
|
|
|
134
136
|
OptionGroup.propTypes = {
|
|
135
137
|
onClick: PropTypes.func,
|
|
136
138
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
139
|
+
fluid: PropTypes.bool,
|
|
137
140
|
inline: PropTypes.bool,
|
|
138
141
|
label: PropTypes.string,
|
|
139
142
|
placeholder: PropTypes.string,
|