forstok-ui-lib 8.0.9 → 8.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "8.0.9",
3
+ "version": "8.1.0",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -48,7 +48,6 @@ const CheckboxComponent = ({ id, name, children, $flow, extendKey, extendClass,
48
48
  ref={checkboxRef}
49
49
  htmlFor={id}
50
50
  disabled={disabled || false} >
51
- {children}
52
51
  <InputComponent
53
52
  id={id}
54
53
  type='checkbox'
@@ -58,6 +57,7 @@ const CheckboxComponent = ({ id, name, children, $flow, extendKey, extendClass,
58
57
  {...extendClass && { className: extendClass }}
59
58
  {...extendKey !== '' && { 'data-key': extendKey }}
60
59
  {...props} />
60
+ {children}
61
61
  <CheckmarkContainer
62
62
  $isError={$isError}
63
63
  {...props['data-qa-id'] && { 'data-qa-id': props['data-qa-id'] }} />