datajunction-ui 0.0.1-a86.dev2 → 0.0.1-a86.dev4

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": "datajunction-ui",
3
- "version": "0.0.1-a86.dev2",
3
+ "version": "0.0.1-a86.dev4",
4
4
  "description": "DataJunction Metrics Platform UI",
5
5
  "module": "src/index.tsx",
6
6
  "repository": {
@@ -10,6 +10,7 @@ export const ColumnsSelect = ({
10
10
  defaultValue,
11
11
  fieldName,
12
12
  label,
13
+ labelStyle = {},
13
14
  isMulti = false,
14
15
  }) => {
15
16
  const djClient = useContext(DJClientContext).DataJunctionAPI;
@@ -54,7 +55,7 @@ export const ColumnsSelect = ({
54
55
  ) : (
55
56
  <div className="CubeCreationInput">
56
57
  <ErrorMessage name={fieldName} component="span" />
57
- <label htmlFor="react-select-3-input">{label}</label>
58
+ <label htmlFor={fieldName} style={labelStyle}>{label}</label>
58
59
  <span data-testid={`select-${fieldName}`}>
59
60
  <FormikSelect
60
61
  className={isMulti ? 'MultiSelectInput' : 'SelectInput'}
@@ -31,7 +31,7 @@ export const TagsField = ({ defaultValue }) => {
31
31
  style={{ width: '25%', margin: '1rem 0 1rem 1.2rem' }}
32
32
  >
33
33
  <ErrorMessage name="tags" component="span" />
34
- <label htmlFor="react-select-3-input">Tags</label>
34
+ <label htmlFor="tags">Tags</label>
35
35
  <span data-testid="select-tags">
36
36
  <FormikSelect
37
37
  isMulti={true}
@@ -149,10 +149,6 @@ export default function AddMaterializationPopover({ node, onSubmit }) {
149
149
  value={node?.name}
150
150
  readOnly={true}
151
151
  />
152
- {console.log(
153
- 'timePartitionColumns.length',
154
- timePartitionColumns.length,
155
- )}
156
152
  <span data-testid="edit-partition">
157
153
  <label htmlFor="strategy">Strategy</label>
158
154
  <Field as="select" name="strategy">