@axinom/mosaic-ui 0.31.0 → 0.32.0-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-ui",
3
- "version": "0.31.0",
3
+ "version": "0.32.0-rc.1",
4
4
  "description": "UI components for building Axinom Mosaic applications",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -32,7 +32,7 @@
32
32
  "build-storybook": "storybook build"
33
33
  },
34
34
  "dependencies": {
35
- "@axinom/mosaic-core": "^0.4.4",
35
+ "@axinom/mosaic-core": "^0.4.5-rc.1",
36
36
  "@faker-js/faker": "^7.4.0",
37
37
  "@popperjs/core": "^2.9.2",
38
38
  "clsx": "^1.1.0",
@@ -102,5 +102,5 @@
102
102
  "publishConfig": {
103
103
  "access": "public"
104
104
  },
105
- "gitHead": "bfef034fdb70100b54e35c441f75301d2b4585fd"
105
+ "gitHead": "96545ea3a0b2388ae6aa19e9422b6089ba39560c"
106
106
  }
@@ -115,7 +115,7 @@
115
115
  .actionButtonContainer {
116
116
  display: grid;
117
117
  height: 100%;
118
- align-items: center;
118
+ padding: 2px 0;
119
119
 
120
120
  .actionButton {
121
121
  height: 50px;
@@ -7,4 +7,8 @@
7
7
  display: grid;
8
8
  grid-template-columns: 1fr;
9
9
  grid-template-rows: min-content min-content;
10
+
11
+ input {
12
+ max-width: none;
13
+ }
10
14
  }
@@ -9,6 +9,10 @@
9
9
  grid-column-gap: var(--label-gap, $label-gap);
10
10
  align-items: center;
11
11
 
12
+ &.inline {
13
+ grid-template-columns: 1fr;
14
+ }
15
+
12
16
  .content {
13
17
  display: grid;
14
18
  align-self: start;
@@ -45,7 +45,9 @@ export const FormElementContainer: React.FC<FormElementContainerProps> = ({
45
45
 
46
46
  return (
47
47
  <div
48
- className={clsx(classes.container, className)}
48
+ className={clsx(classes.container, className, {
49
+ [classes.inline]: inlineMode,
50
+ })}
49
51
  id={id}
50
52
  data-test-id="form-field"
51
53
  data-test-type={dataTestFieldType}