@veritone-ce/design-system 1.7.0 → 1.7.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.
@@ -5,7 +5,6 @@ import radioButtonTheme from '../components/RadioButton/RadioButton.theme';
5
5
  import buttonTheme from '../components/Button/button.theme';
6
6
  import selectTheme from '../components/Select/select.theme';
7
7
  import inputTheme from '../components/Input/Input.theme';
8
- import sx from '@mui/system/sx';
9
8
  import CheckCircleIcon from '@mui/icons-material/CheckCircle';
10
9
  import InfoIcon from '@mui/icons-material/Info';
11
10
  import WarningIcon from '@mui/icons-material/Error';
@@ -94,29 +93,29 @@ theme = createTheme(theme, {
94
93
  MuiRadio: radioButtonTheme(theme),
95
94
  MuiInputLabel: {
96
95
  styleOverrides: {
97
- root: sx({
96
+ root: {
98
97
  color: theme.palette.text.secondary,
99
98
  fontSize: `14px`,
100
99
  lineHeight: `21px`,
101
100
  fontWeight: `600`
102
- })
101
+ }
103
102
  }
104
103
  },
105
104
  MuiFormControlLabel: {
106
105
  styleOverrides: {
107
- root: sx({
106
+ root: {
108
107
  '& .MuiFormControlLabel-label': {
109
108
  color: theme.palette.text.secondary
110
109
  },
111
110
  '& .MuiFormControlLabel-label.Mui-disabled': {
112
111
  color: theme.palette.text.disabled
113
112
  }
114
- })
113
+ }
115
114
  }
116
115
  },
117
116
  MuiFormHelperText: {
118
117
  styleOverrides: {
119
- root: sx({
118
+ root: {
120
119
  position: 'relative',
121
120
  marginLeft: 0,
122
121
  '&.Mui-error': {
@@ -133,7 +132,7 @@ theme = createTheme(theme, {
133
132
  borderRadius: `100%`
134
133
  }
135
134
  }
136
- })
135
+ }
137
136
  }
138
137
  },
139
138
  MuiStepIcon: {
@@ -1,4 +1,3 @@
1
- import sx from '@mui/system/sx';
2
1
  const buttonTheme = (theme) => ({
3
2
  defaultProps: {
4
3
  variant: 'contained',
@@ -89,7 +88,7 @@ const buttonTheme = (theme) => ({
89
88
  props: {
90
89
  variant: 'secondary'
91
90
  },
92
- style: sx({
91
+ style: {
93
92
  backgroundColor: 'white',
94
93
  color: theme.palette.neutral.main,
95
94
  border: `1px solid ${theme.palette.neutral.main}`,
@@ -98,7 +97,7 @@ const buttonTheme = (theme) => ({
98
97
  color: theme.palette.primary.main,
99
98
  backgroundColor: 'white'
100
99
  }
101
- })
100
+ }
102
101
  }
103
102
  ]
104
103
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veritone-ce/design-system",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "yarn storybook",