@onewelcome/react-lib-components 0.1.10-alpha → 0.1.11-alpha

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": "@onewelcome/react-lib-components",
3
- "version": "0.1.10-alpha",
3
+ "version": "0.1.11-alpha",
4
4
  "license": "Apache-2.0",
5
5
  "author": "OneWelcome B.V.",
6
6
  "main": "dist/index.js",
@@ -2,14 +2,11 @@
2
2
  position: relative;
3
3
  display: inline-block;
4
4
  box-sizing: border-box;
5
-
6
- ul {
7
- white-space: nowrap;
8
- margin: 1rem 0;
9
- }
10
5
  }
11
6
 
12
7
  .menu {
8
+ white-space: nowrap;
9
+ margin: 1rem 0;
13
10
  list-style: none;
14
11
  padding: 0;
15
12
  min-width: 200px;
@@ -177,7 +177,7 @@ export const ContextMenu = React.forwardRef<HTMLDivElement, Props>(
177
177
  anchorEl={anchorEl}
178
178
  show={showContextMenu}
179
179
  >
180
- <ul className={classes.menu} id={`${id}-menu`} aria-describedby={id} role="menu">
180
+ <ul className={classes['menu']} id={`${id}-menu`} aria-describedby={id} role="menu">
181
181
  {renderChildren()}
182
182
  </ul>
183
183
  </Popover>,
@@ -4,6 +4,6 @@
4
4
  justify-content: flex-end;
5
5
 
6
6
  & * + * {
7
- margin-left: 1.25rem;
7
+ margin-left: 2rem;
8
8
  }
9
9
  }
@@ -5,6 +5,10 @@
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
 
8
+ label {
9
+ margin-bottom: 0;
10
+ }
11
+
8
12
  .form-element {
9
13
  height: 2.5rem;
10
14
 
@@ -82,7 +82,7 @@ export const Pagination = React.forwardRef<HTMLDivElement, Props>(
82
82
  <Label
83
83
  id="current-value-input-label"
84
84
  htmlFor="current-value-input"
85
- className={readyclasses['sr-only']}
85
+ className={`${readyclasses['sr-only']} ${classes['current-value-input-label']}`}
86
86
  >
87
87
  {translate.currentPageLabel}
88
88
  </Label>