@dhis2/ui-constants 7.7.7 → 7.8.0

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.
@@ -57,7 +57,7 @@ const buttonVariantArgType = {
57
57
  */
58
58
 
59
59
  exports.buttonVariantArgType = buttonVariantArgType;
60
- const sizePropType = (0, _propTypes.mutuallyExclusive)(['small', 'large', 'extrasmall'], _propTypes2.default.bool);
60
+ const sizePropType = (0, _propTypes.mutuallyExclusive)(['small', 'large', 'extrasmall', 'fluid'], _propTypes2.default.bool);
61
61
  exports.sizePropType = sizePropType;
62
62
  const sizeArgType = {
63
63
  // No description because it should be set in the component description
@@ -43,7 +43,7 @@ export const buttonVariantArgType = {
43
43
  * small/large
44
44
  */
45
45
 
46
- export const sizePropType = mutuallyExclusive(['small', 'large', 'extrasmall'], PropTypes.bool);
46
+ export const sizePropType = mutuallyExclusive(['small', 'large', 'extrasmall', 'fluid'], PropTypes.bool);
47
47
  export const sizeArgType = {
48
48
  // No description because it should be set in the component description
49
49
  table: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/ui-constants",
3
- "version": "7.7.7",
3
+ "version": "7.8.0",
4
4
  "description": "Constants used in the UI libs",
5
5
  "main": "./build/cjs/index.js",
6
6
  "module": "./build/es/index.js",