labsense-ui-kit 1.1.18 → 1.1.20

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.
@@ -2967,7 +2967,7 @@ var Icon = function Icon(_ref2) {
2967
2967
  };
2968
2968
 
2969
2969
  var _templateObject$1, _templateObject2$1;
2970
- var Container = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-bottom: ", ";\n border-left: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
2970
+ var Container = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
2971
2971
  var $flex = _ref.$flex;
2972
2972
  return $flex;
2973
2973
  }, function (_ref2) {
@@ -3076,44 +3076,50 @@ var Container = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemp
3076
3076
  var $border = _ref36.$border;
3077
3077
  return $border;
3078
3078
  }, function (_ref37) {
3079
- var $borderBottom = _ref37.$borderBottom;
3080
- return $borderBottom;
3079
+ var $borderTop = _ref37.$borderTop;
3080
+ return $borderTop;
3081
3081
  }, function (_ref38) {
3082
- var $borderLeft = _ref38.$borderLeft;
3083
- return $borderLeft;
3082
+ var $borderBottom = _ref38.$borderBottom;
3083
+ return $borderBottom;
3084
3084
  }, function (_ref39) {
3085
- var $hoverBackground = _ref39.$hoverBackground;
3086
- return $hoverBackground;
3085
+ var $borderLeft = _ref39.$borderLeft;
3086
+ return $borderLeft;
3087
3087
  }, function (_ref40) {
3088
- var $hoverColor = _ref40.$hoverColor;
3088
+ var $transition = _ref40.$transition;
3089
+ return $transition;
3090
+ }, function (_ref41) {
3091
+ var $hoverBackground = _ref41.$hoverBackground;
3092
+ return $hoverBackground;
3093
+ }, function (_ref42) {
3094
+ var $hoverColor = _ref42.$hoverColor;
3089
3095
  return $hoverColor;
3090
3096
  });
3091
- var Span = styled.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref41) {
3092
- var $fontFamily = _ref41.$fontFamily;
3097
+ var Span = styled.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref43) {
3098
+ var $fontFamily = _ref43.$fontFamily;
3093
3099
  return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
3094
- }, function (_ref42) {
3095
- var $fontWeight = _ref42.$fontWeight;
3100
+ }, function (_ref44) {
3101
+ var $fontWeight = _ref44.$fontWeight;
3096
3102
  return $fontWeight ? $fontWeight : '500';
3097
- }, function (_ref43) {
3098
- var $fontSize = _ref43.$fontSize;
3103
+ }, function (_ref45) {
3104
+ var $fontSize = _ref45.$fontSize;
3099
3105
  return $fontSize ? $fontSize : '16px';
3100
- }, function (_ref44) {
3101
- var $color = _ref44.$color;
3106
+ }, function (_ref46) {
3107
+ var $color = _ref46.$color;
3102
3108
  return $color ? $color : colorVariables.text.medium;
3103
- }, function (_ref45) {
3104
- var $lineHeight = _ref45.$lineHeight;
3109
+ }, function (_ref47) {
3110
+ var $lineHeight = _ref47.$lineHeight;
3105
3111
  return $lineHeight ? $lineHeight : '100%';
3106
- }, function (_ref46) {
3107
- var $textAlign = _ref46.$textAlign;
3112
+ }, function (_ref48) {
3113
+ var $textAlign = _ref48.$textAlign;
3108
3114
  return $textAlign ? $textAlign : 'center';
3109
- }, function (_ref47) {
3110
- var $minWidth = _ref47.$minWidth;
3115
+ }, function (_ref49) {
3116
+ var $minWidth = _ref49.$minWidth;
3111
3117
  return $minWidth;
3112
- }, function (_ref48) {
3113
- var $width = _ref48.$width;
3118
+ }, function (_ref50) {
3119
+ var $width = _ref50.$width;
3114
3120
  return $width;
3115
- }, function (_ref49) {
3116
- var $overflowWrap = _ref49.$overflowWrap;
3121
+ }, function (_ref51) {
3122
+ var $overflowWrap = _ref51.$overflowWrap;
3117
3123
  return $overflowWrap;
3118
3124
  });
3119
3125
 
@@ -5121,8 +5127,11 @@ var SearchBox = function SearchBox(_ref6) {
5121
5127
  };
5122
5128
 
5123
5129
  var _templateObject$e, _templateObject2$b, _templateObject3$7, _templateObject4$5, _templateObject5$5;
5124
- var Label = styled.label(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
5125
- var $size = _ref.$size;
5130
+ var Label = styled.label(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
5131
+ var $fontWeight = _ref.$fontWeight;
5132
+ return $fontWeight != null ? $fontWeight : '500';
5133
+ }, function (_ref2) {
5134
+ var $size = _ref2.$size;
5126
5135
  switch ($size) {
5127
5136
  case 'small':
5128
5137
  return "\n font-size: 12px;\n line-height: 12px;\n ";
@@ -5133,8 +5142,8 @@ var Label = styled.label(_templateObject$e || (_templateObject$e = _taggedTempla
5133
5142
  default:
5134
5143
  return "\n font-size: 14px;\n line-height: 14px;\n ";
5135
5144
  }
5136
- }, function (_ref2) {
5137
- var $titlecolor = _ref2.$titlecolor;
5145
+ }, function (_ref3) {
5146
+ var $titlecolor = _ref3.$titlecolor;
5138
5147
  switch ($titlecolor) {
5139
5148
  case 'dark':
5140
5149
  return colorVariables.text.dark;
@@ -5156,22 +5165,22 @@ var Label = styled.label(_templateObject$e || (_templateObject$e = _taggedTempla
5156
5165
  return $titlecolor;
5157
5166
  }
5158
5167
  });
5159
- var Input = styled.input(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables.border.light, function (_ref3) {
5160
- var $disabled = _ref3.$disabled;
5168
+ var Input = styled.input(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables.border.light, function (_ref4) {
5169
+ var $disabled = _ref4.$disabled;
5161
5170
  return $disabled ? 'not-allowed' : 'auto';
5162
- }, function (_ref4) {
5163
- var $disabled = _ref4.$disabled,
5164
- $background = _ref4.$background;
5165
- return $disabled ? colorVariables.disabled.secondary : $background;
5166
5171
  }, function (_ref5) {
5167
- var $color = _ref5.$color;
5168
- return $color;
5172
+ var $disabled = _ref5.$disabled,
5173
+ $background = _ref5.$background;
5174
+ return $disabled ? colorVariables.disabled.secondary : $background;
5169
5175
  }, function (_ref6) {
5170
- var $disabled = _ref6.$disabled;
5171
- return $disabled ? 'none' : 'auto';
5176
+ var $color = _ref6.$color;
5177
+ return $color;
5172
5178
  }, function (_ref7) {
5173
- var $size = _ref7.$size,
5174
- $type = _ref7.$type;
5179
+ var $disabled = _ref7.$disabled;
5180
+ return $disabled ? 'none' : 'auto';
5181
+ }, function (_ref8) {
5182
+ var $size = _ref8.$size,
5183
+ $type = _ref8.$type;
5175
5184
  switch ($size) {
5176
5185
  case 'small':
5177
5186
  return "\n font-size: 12px;\n padding: " + ($type === 'password' ? '5px 38px 5px 10px' : '5px 10px') + ";\n ";
@@ -5182,8 +5191,8 @@ var Input = styled.input(_templateObject2$b || (_templateObject2$b = _taggedTemp
5182
5191
  default:
5183
5192
  return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '7px 38px 7px 12px' : '7px 12px') + ";\n ";
5184
5193
  }
5185
- }, function (_ref8) {
5186
- var $color = _ref8.$color;
5194
+ }, function (_ref9) {
5195
+ var $color = _ref9.$color;
5187
5196
  switch ($color) {
5188
5197
  case 'dark':
5189
5198
  return colorVariables.text.dark;
@@ -5206,39 +5215,40 @@ var Input = styled.input(_templateObject2$b || (_templateObject2$b = _taggedTemp
5206
5215
  }
5207
5216
  }, colorVariables.text.light);
5208
5217
  var InputWrapper$1 = styled.div(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
5209
- var IconWrapper$1 = styled.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref9) {
5210
- var $disabled = _ref9.$disabled;
5218
+ var IconWrapper$1 = styled.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
5219
+ var $disabled = _ref10.$disabled;
5211
5220
  return $disabled ? 'not-allowed' : 'pointer';
5212
5221
  });
5213
5222
  var Asterisk$1 = styled.span(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables["default"].error);
5214
- var TextField = function TextField(_ref10) {
5215
- var _ref10$type = _ref10.type,
5216
- type = _ref10$type === void 0 ? 'text' : _ref10$type,
5217
- title = _ref10.title,
5218
- placeholder = _ref10.placeholder,
5219
- _ref10$disabled = _ref10.disabled,
5220
- disabled = _ref10$disabled === void 0 ? false : _ref10$disabled,
5221
- inputValue = _ref10.inputValue,
5222
- onChange = _ref10.onChange,
5223
- _ref10$size = _ref10.size,
5224
- size = _ref10$size === void 0 ? 'medium' : _ref10$size,
5225
- _ref10$color = _ref10.color,
5226
- color = _ref10$color === void 0 ? colorVariables.text.dark : _ref10$color,
5227
- _ref10$padding = _ref10.padding,
5228
- padding = _ref10$padding === void 0 ? '0px' : _ref10$padding,
5229
- _ref10$titlecolor = _ref10.titlecolor,
5230
- titlecolor = _ref10$titlecolor === void 0 ? colorVariables.text.dark : _ref10$titlecolor,
5231
- icon = _ref10.icon,
5232
- _ref10$iconsize = _ref10.iconsize,
5233
- iconsize = _ref10$iconsize === void 0 ? 18 : _ref10$iconsize,
5234
- iconweight = _ref10.iconweight,
5235
- iconcolor = _ref10.iconcolor,
5236
- _ref10$required = _ref10.required,
5237
- required = _ref10$required === void 0 ? false : _ref10$required,
5238
- _ref10$background = _ref10.background,
5239
- background = _ref10$background === void 0 ? colorVariables["default"].tertiary : _ref10$background,
5240
- onEnter = _ref10.onEnter,
5241
- titleRightNode = _ref10.titleRightNode;
5223
+ var TextField = function TextField(_ref11) {
5224
+ var _ref11$type = _ref11.type,
5225
+ type = _ref11$type === void 0 ? 'text' : _ref11$type,
5226
+ title = _ref11.title,
5227
+ titleWeight = _ref11.titleWeight,
5228
+ placeholder = _ref11.placeholder,
5229
+ _ref11$disabled = _ref11.disabled,
5230
+ disabled = _ref11$disabled === void 0 ? false : _ref11$disabled,
5231
+ inputValue = _ref11.inputValue,
5232
+ onChange = _ref11.onChange,
5233
+ _ref11$size = _ref11.size,
5234
+ size = _ref11$size === void 0 ? 'medium' : _ref11$size,
5235
+ _ref11$color = _ref11.color,
5236
+ color = _ref11$color === void 0 ? colorVariables.text.dark : _ref11$color,
5237
+ _ref11$padding = _ref11.padding,
5238
+ padding = _ref11$padding === void 0 ? '0px' : _ref11$padding,
5239
+ _ref11$titlecolor = _ref11.titlecolor,
5240
+ titlecolor = _ref11$titlecolor === void 0 ? colorVariables.text.dark : _ref11$titlecolor,
5241
+ icon = _ref11.icon,
5242
+ _ref11$iconsize = _ref11.iconsize,
5243
+ iconsize = _ref11$iconsize === void 0 ? 18 : _ref11$iconsize,
5244
+ iconweight = _ref11.iconweight,
5245
+ iconcolor = _ref11.iconcolor,
5246
+ _ref11$required = _ref11.required,
5247
+ required = _ref11$required === void 0 ? false : _ref11$required,
5248
+ _ref11$background = _ref11.background,
5249
+ background = _ref11$background === void 0 ? colorVariables["default"].tertiary : _ref11$background,
5250
+ onEnter = _ref11.onEnter,
5251
+ titleRightNode = _ref11.titleRightNode;
5242
5252
  var _useState = useState(disabled),
5243
5253
  isDisabled = _useState[0],
5244
5254
  setIsDisabled = _useState[1];
@@ -5267,6 +5277,7 @@ var TextField = function TextField(_ref10) {
5267
5277
  "$gap": titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.gap
5268
5278
  }, title && React.createElement(Label, {
5269
5279
  "$size": size,
5280
+ "$fontWeight": titleWeight,
5270
5281
  htmlFor: title,
5271
5282
  "$titlecolor": titlecolor
5272
5283
  }, title, required && React.createElement(Asterisk$1, null, "*")), titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.node), React.createElement(InputWrapper$1, null, React.createElement(Input, {
@@ -5312,8 +5323,11 @@ var Container$3 = styled.div(_templateObject$f || (_templateObject$f = _taggedTe
5312
5323
  var $padding = _ref.$padding;
5313
5324
  return $padding;
5314
5325
  });
5315
- var Label$1 = styled.label(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
5316
- var $size = _ref2.$size;
5326
+ var Label$1 = styled.label(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
5327
+ var $fontWeight = _ref2.$fontWeight;
5328
+ return $fontWeight != null ? $fontWeight : '500';
5329
+ }, function (_ref3) {
5330
+ var $size = _ref3.$size;
5317
5331
  switch ($size) {
5318
5332
  case 'small':
5319
5333
  return 'font-size: 12px; line-height: 12px;';
@@ -5324,22 +5338,22 @@ var Label$1 = styled.label(_templateObject2$c || (_templateObject2$c = _taggedTe
5324
5338
  default:
5325
5339
  return 'font-size: 14px; line-height: 14px;';
5326
5340
  }
5327
- }, function (_ref3) {
5328
- var $titlecolor = _ref3.$titlecolor;
5341
+ }, function (_ref4) {
5342
+ var $titlecolor = _ref4.$titlecolor;
5329
5343
  return $titlecolor || colorVariables.text.dark;
5330
5344
  });
5331
- var TextAreaComponent = styled.textarea(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables.border.light, function (_ref4) {
5332
- var $disabled = _ref4.$disabled;
5345
+ var TextAreaComponent = styled.textarea(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables.border.light, function (_ref5) {
5346
+ var $disabled = _ref5.$disabled;
5333
5347
  return $disabled ? 'not-allowed' : 'auto';
5334
- }, function (_ref5) {
5335
- var $disabled = _ref5.$disabled,
5336
- $background = _ref5.$background;
5337
- return $disabled ? colorVariables.disabled.secondary : $background;
5338
5348
  }, function (_ref6) {
5339
- var $color = _ref6.$color;
5340
- return $color;
5349
+ var $disabled = _ref6.$disabled,
5350
+ $background = _ref6.$background;
5351
+ return $disabled ? colorVariables.disabled.secondary : $background;
5341
5352
  }, function (_ref7) {
5342
- var $size = _ref7.$size;
5353
+ var $color = _ref7.$color;
5354
+ return $color;
5355
+ }, function (_ref8) {
5356
+ var $size = _ref8.$size;
5343
5357
  switch ($size) {
5344
5358
  case 'small':
5345
5359
  return 'font-size: 12px; padding: 5px 10px;';
@@ -5350,29 +5364,30 @@ var TextAreaComponent = styled.textarea(_templateObject3$8 || (_templateObject3$
5350
5364
  default:
5351
5365
  return 'font-size: 14px; padding: 7px 12px;';
5352
5366
  }
5353
- }, function (_ref8) {
5354
- var $color = _ref8.$color;
5367
+ }, function (_ref9) {
5368
+ var $color = _ref9.$color;
5355
5369
  return $color || colorVariables.text.dark;
5356
5370
  }, colorVariables.text.light);
5357
- var TextArea = function TextArea(_ref9) {
5358
- var title = _ref9.title,
5359
- placeholder = _ref9.placeholder,
5360
- _ref9$disabled = _ref9.disabled,
5361
- disabled = _ref9$disabled === void 0 ? false : _ref9$disabled,
5362
- inputValue = _ref9.inputValue,
5363
- onChange = _ref9.onChange,
5364
- _ref9$size = _ref9.size,
5365
- size = _ref9$size === void 0 ? 'medium' : _ref9$size,
5366
- _ref9$color = _ref9.color,
5367
- color = _ref9$color === void 0 ? colorVariables.text.dark : _ref9$color,
5368
- _ref9$padding = _ref9.padding,
5369
- padding = _ref9$padding === void 0 ? '0px' : _ref9$padding,
5370
- _ref9$titlecolor = _ref9.titlecolor,
5371
- titlecolor = _ref9$titlecolor === void 0 ? colorVariables.text.dark : _ref9$titlecolor,
5372
- _ref9$required = _ref9.required,
5373
- required = _ref9$required === void 0 ? false : _ref9$required,
5374
- _ref9$background = _ref9.background,
5375
- background = _ref9$background === void 0 ? colorVariables["default"].tertiary : _ref9$background;
5371
+ var TextArea = function TextArea(_ref10) {
5372
+ var title = _ref10.title,
5373
+ titleWeight = _ref10.titleWeight,
5374
+ placeholder = _ref10.placeholder,
5375
+ _ref10$disabled = _ref10.disabled,
5376
+ disabled = _ref10$disabled === void 0 ? false : _ref10$disabled,
5377
+ inputValue = _ref10.inputValue,
5378
+ onChange = _ref10.onChange,
5379
+ _ref10$size = _ref10.size,
5380
+ size = _ref10$size === void 0 ? 'medium' : _ref10$size,
5381
+ _ref10$color = _ref10.color,
5382
+ color = _ref10$color === void 0 ? colorVariables.text.dark : _ref10$color,
5383
+ _ref10$padding = _ref10.padding,
5384
+ padding = _ref10$padding === void 0 ? '0px' : _ref10$padding,
5385
+ _ref10$titlecolor = _ref10.titlecolor,
5386
+ titlecolor = _ref10$titlecolor === void 0 ? colorVariables.text.dark : _ref10$titlecolor,
5387
+ _ref10$required = _ref10.required,
5388
+ required = _ref10$required === void 0 ? false : _ref10$required,
5389
+ _ref10$background = _ref10.background,
5390
+ background = _ref10$background === void 0 ? colorVariables["default"].tertiary : _ref10$background;
5376
5391
  var _useState = useState(disabled),
5377
5392
  isDisabled = _useState[0],
5378
5393
  setIsDisabled = _useState[1];
@@ -5383,6 +5398,7 @@ var TextArea = function TextArea(_ref9) {
5383
5398
  "$padding": padding
5384
5399
  }, title && React.createElement(Label$1, {
5385
5400
  "$size": size,
5401
+ "$fontWeight": titleWeight,
5386
5402
  htmlFor: title,
5387
5403
  "$titlecolor": titlecolor
5388
5404
  }, title, required && React.createElement(Asterisk$1, null, "*")), React.createElement(TextAreaComponent, {