tabler-react-2 0.1.107 → 0.1.108

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.
@@ -160,10 +160,8 @@ var DropdownInput = exports.DropdownInput = function DropdownInput(_ref) {
160
160
 
161
161
  // If a label is provided, wrap the dropdown with the label inside a container.
162
162
  return label && showLabel ? /*#__PURE__*/_react["default"].createElement(_index.Util.Col, null, /*#__PURE__*/_react["default"].createElement("label", {
163
- className: "form-label"
164
- }, label, required && /*#__PURE__*/_react["default"].createElement("span", {
165
- className: "form-label-required"
166
- }, "*")), dropdownContent) : dropdownContent;
163
+ className: "form-label ".concat(required ? "required" : "")
164
+ }, label), dropdownContent) : dropdownContent;
167
165
  };
168
166
  DropdownInput.propTypes = {
169
167
  prompt: _propTypes["default"].string.isRequired,
@@ -2,6 +2,10 @@
2
2
  title: Changelog
3
3
  ---
4
4
 
5
+ ## 0.1.108
6
+
7
+ - Added `required` prop to the `DropdownInput` component.
8
+
5
9
  ## 0.1.97
6
10
 
7
11
  - Added `helpText`, `helpTextPlacement`, `helpPrompt`, `required`, `hint`, and `labelDescription` props to the `Input` component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabler-react-2",
3
- "version": "0.1.107",
3
+ "version": "0.1.108",
4
4
  "description": "A react implementation of Tabler ui",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {