@platformatic/ui-components 0.1.59 → 0.1.60

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@platformatic/ui-components",
3
3
  "description": "Platformatic UI Components",
4
- "version": "0.1.59",
4
+ "version": "0.1.60",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -29,7 +29,7 @@ InfoBox.propTypes = {
29
29
  /**
30
30
  * iconColor
31
31
  */
32
- iconColor: PropTypes.oneOf([COLORS_ICON]),
32
+ iconColor: PropTypes.oneOf(COLORS_ICON),
33
33
  /**
34
34
  * helpText
35
35
  */
@@ -40,7 +40,7 @@ InfoBox.propTypes = {
40
40
  buttonProps: PropTypes.shape({
41
41
  label: PropTypes.string,
42
42
  backgroundColor: PropTypes.string,
43
- color: PropTypes.oneOf([COLORS_BUTTON]),
43
+ color: PropTypes.oneOf(COLORS_BUTTON),
44
44
  onClick: PropTypes.func
45
45
  })
46
46
  }
@@ -17,14 +17,14 @@ export default {
17
17
  type: 'string',
18
18
  control: {
19
19
  type: 'radio',
20
- options: [COLORS_ICON]
20
+ options: COLORS_ICON
21
21
  }
22
22
  },
23
23
  size: {
24
24
  type: 'string',
25
25
  control: {
26
26
  type: 'radio',
27
- options: [SIZES]
27
+ options: SIZES
28
28
  }
29
29
  }
30
30
  }
@@ -30,7 +30,7 @@ export default {
30
30
  type: 'string',
31
31
  control: {
32
32
  type: 'radio',
33
- options: [COLORS_ICON]
33
+ options: COLORS_ICON
34
34
  }
35
35
  }
36
36
  }