scorer-ui-kit 2.8.0 → 2.8.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/index.js CHANGED
@@ -2342,7 +2342,7 @@ var Input = function Input(_ref4) {
2342
2342
 
2343
2343
  var _excluded$5 = ["htmlFor", "labelText", "direction", "rightAlign", "required", "children"];
2344
2344
  var _templateObject$i, _templateObject2$c, _templateObject3$b, _templateObject4$a, _templateObject5$8;
2345
- var LabelText = styled__default.span(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
2345
+ var LabelText = styled__default.span(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: 1;\n align-items: center;\n gap: 8px;\n \n ", "\n"])), function (_ref) {
2346
2346
  var required = _ref.required;
2347
2347
  return required && styled.css(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n &::after {\n content: '';\n display: var(--input-required-dot-display);\n height: 8px;\n width: 8px;\n background-color: var(--primary-9);\n border-radius: 4px;\n }\n "])));
2348
2348
  });
@@ -7487,7 +7487,7 @@ var ToggleButton = function ToggleButton(_ref) {
7487
7487
  }
7488
7488
  }, {
7489
7489
  design: design
7490
- }, props), categoryLabel + " : " + options[selectedIndex].text);
7490
+ }, props), categoryLabel && categoryLabel + ": ", "" + options[selectedIndex].text);
7491
7491
  };
7492
7492
 
7493
7493
  var _templateObject$U, _templateObject2$M, _templateObject3$H;