@bytebrand/fe-ui-core 4.2.40 → 4.2.42

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": "@bytebrand/fe-ui-core",
3
- "version": "4.2.40",
3
+ "version": "4.2.42",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -68,13 +68,15 @@
68
68
  position: relative
69
69
  font-size: 14px
70
70
  cursor: pointer
71
+ justify-content: space-between;
71
72
 
72
73
  .labelContent
73
74
  flex: 1 1 auto
74
75
  color: $grey-3;
75
- @media (min-width: 1046px) and (max-width: 1112px)
76
+ @media (min-width: 1040px) and (max-width: 1112px)
76
77
  max-width: 230px
77
-
78
+ padding:0px!important
79
+
78
80
  .icon
79
81
  display: block
80
82
  width: 18px
@@ -173,6 +173,8 @@
173
173
 
174
174
  [class*='labelContent']
175
175
  font-size: 12px
176
+ padding-right: 62px;
177
+
176
178
 
177
179
  .checkBoxGroup
178
180
  [class*='container']
@@ -57,11 +57,11 @@ class ExpandablePanel extends React.PureComponent<IExpandablePanelProps, IExpand
57
57
 
58
58
  const isOpened: boolean = isOpenedProps !== undefined ? isOpenedProps : isOpenedState;
59
59
 
60
- const LabelComponent: React.ReactNode = label
60
+ const LabelComponent = label
61
61
  ? React.cloneElement(label, { opened: isOpened.toString(), ...label.props })
62
62
  : false;
63
63
 
64
- const ContentComponent: React.ReactNode = children
64
+ const ContentComponent = children
65
65
  ? React.cloneElement(children, { opened: isOpened.toString(), ...children.props })
66
66
  : false;
67
67