swoop-common 2.2.103 → 2.2.105

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.
@@ -67,38 +67,40 @@ export const StyledFormView = ({ initialData, schema, onChange, stage, pool, rea
67
67
  }, [json, ui]);
68
68
  return (React.createElement(ComponentContext, { componentId: hintComponentId, stage: stage },
69
69
  React.createElement(GlobalStyles, { styles: {
70
- ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] > .MuiTableBody-root > .MuiTableRow-root": {
70
+ ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableBody-root > .MuiTableRow-root": {
71
71
  display: "grid",
72
- gridTemplateColumns: "repeat(2, minmax(0, 1fr))",
73
- columnGap: "24px",
74
- rowGap: "12px",
72
+ gridTemplateColumns: "minmax(140px, 1fr) minmax(260px, 2fr)",
73
+ gap: "12px 24px",
75
74
  alignItems: "start",
76
75
  position: "relative",
77
- paddingRight: "52px",
76
+ width: "100%",
77
+ paddingRight: "44px",
78
+ boxSizing: "border-box",
78
79
  },
79
- ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] > .MuiTableBody-root > .MuiTableRow-root > .MuiTableCell-root": {
80
+ ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableCell-root": {
80
81
  minWidth: 0,
81
82
  width: "100%",
82
83
  padding: 0,
83
84
  },
84
- ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] > .MuiTableBody-root > .MuiTableRow-root > .MuiTableCell-root[data-column-label]::before": {
85
+ ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableCell-root[data-column-label]::before": {
85
86
  content: "attr(data-column-label)",
86
87
  display: "block",
87
- marginBottom: "8px",
88
+ marginBottom: "6px",
88
89
  fontWeight: 600,
90
+ fontSize: "0.85rem",
91
+ color: "#666",
89
92
  },
90
- ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] > .MuiTableBody-root > .MuiTableRow-root > .MuiTableCell-root:only-child": {
93
+ ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableCell-root:only-child": {
91
94
  gridColumn: "1 / -1",
92
95
  },
93
- ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] > .MuiTableBody-root > .MuiTableRow-root > .MuiTableCell-root:last-child": {
96
+ ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableCell-root:last-child": {
94
97
  position: "absolute",
95
98
  right: 0,
96
- top: "50%",
97
- transform: "translateY(-50%)",
99
+ top: "8px",
98
100
  width: "auto",
99
101
  padding: 0,
100
102
  },
101
- ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] > .MuiTableHead-root > .MuiTableRow-root:last-child": {
103
+ ".json-forms-wrapper .MuiTable-root[data-jsonforms-two-col-array='true'] .MuiTableHead-root": {
102
104
  display: "none",
103
105
  },
104
106
  } }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.2.103",
3
+ "version": "2.2.105",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {