@aclymatepackages/modules 5.0.1 → 5.0.2

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.
@@ -61,11 +61,20 @@ const IndustryAutocomplete = _ref => {
61
61
  searchFunction: onSearch
62
62
  })), showCurrentChip && /*#__PURE__*/_react.default.createElement(_material.Grid, {
63
63
  item: true,
64
- alignSelf: "center"
64
+ container: true,
65
+ direction: "column",
66
+ spacing: 1
67
+ }, /*#__PURE__*/_react.default.createElement(_material.Grid, {
68
+ item: true
69
+ }, /*#__PURE__*/_react.default.createElement(_material.Typography, {
70
+ variant: "caption",
71
+ color: "textSecondary"
72
+ }, "Company Industry")), /*#__PURE__*/_react.default.createElement(_material.Grid, {
73
+ item: true
65
74
  }, /*#__PURE__*/_react.default.createElement(_material.Chip, {
66
75
  label: (0, _otherHelpers.truncateText)(industryTitle, 50),
67
76
  onDelete: onDeleteCurrentIndustry
68
- })), showOptions && /*#__PURE__*/_react.default.createElement(_material.Grid, {
77
+ }))), showOptions && /*#__PURE__*/_react.default.createElement(_material.Grid, {
69
78
  item: true,
70
79
  container: true,
71
80
  spacing: 2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aclymatepackages/modules",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "Aclymate modules",
5
5
  "author": "William Loopesko",
6
6
  "main": "dist/index.js",
@@ -59,11 +59,18 @@ const IndustryAutocomplete = ({
59
59
  </Grid>
60
60
  )}
61
61
  {showCurrentChip && (
62
- <Grid item alignSelf="center">
63
- <Chip
64
- label={truncateText(industryTitle, 50)}
65
- onDelete={onDeleteCurrentIndustry}
66
- />
62
+ <Grid item container direction="column" spacing={1}>
63
+ <Grid item>
64
+ <Typography variant="caption" color="textSecondary">
65
+ Company Industry
66
+ </Typography>
67
+ </Grid>
68
+ <Grid item>
69
+ <Chip
70
+ label={truncateText(industryTitle, 50)}
71
+ onDelete={onDeleteCurrentIndustry}
72
+ />
73
+ </Grid>
67
74
  </Grid>
68
75
  )}
69
76
  {showOptions && (