@decisiv/ui-components 2.0.1-alpha.192 → 2.0.1-alpha.193

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.
@@ -157,7 +157,7 @@ function Modal(_ref) {
157
157
  key: action.text,
158
158
  marginRight: 0.5,
159
159
  size: breakpoint
160
- }, _react.default.createElement(_Button.default, _extends({}, (0, _omit.default)(action, ['kind', 'size', 'variant']), actionProps[index])));
160
+ }, _react.default.createElement(_Button.default, _extends({}, actionProps[index], (0, _omit.default)(action, ['size', 'variant']))));
161
161
  })));
162
162
  }
163
163
 
@@ -17,7 +17,7 @@ schema.propTypes = {
17
17
  actions: _reactDesc.PropTypes.arrayOf(_reactDesc.PropTypes.shape({
18
18
  onClick: _reactDesc.PropTypes.func.isRequired,
19
19
  text: _reactDesc.PropTypes.string.isRequired
20
- })).description('An array of objects containing a subset of props valid for the Button. Specifically excluded are `kind`, `size`, and `variant`.'),
20
+ })).description('An array of objects containing a subset of props valid for the Button. Specifically excluded are `size` and `variant`.'),
21
21
  closeHint: _reactDesc.PropTypes.string.description('The text to present in the tooltip when hovering over the close button.'),
22
22
  color: _reactDesc.PropTypes.oneOf(_commonUIColors.commonUIColorKeys).description('The icon color; Will override the default color associated with any specified `intent`.').format('string'),
23
23
  icon: _reactDesc.PropTypes.element.description('Which `iconix` icon to display; Will override the default icon associated with any specified `intent`.'),
@@ -3,7 +3,7 @@ import { IconProps } from '@decisiv/iconix';
3
3
  import { CommonUIColorKeys } from '../../utils/commonUIColors';
4
4
  import { ButtonProps } from '../Button/types';
5
5
  import { intents } from './constants';
6
- declare type ActionProps = Exclude<ButtonProps, 'kind' | 'size' | 'variant'>;
6
+ declare type ActionProps = Exclude<ButtonProps, 'size' | 'variant'>;
7
7
  export interface ModalProps {
8
8
  actions?: [ActionProps] | [ActionProps, ActionProps];
9
9
  children: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components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AAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,aAAK,WAAW,GAAG,OAAO,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAG5D,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,GAAG,CAAC,OAAO,CAAC;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,OAAO,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,aAAa,KAAK,IAAI,CAAC;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decisiv/ui-components",
3
- "version": "2.0.1-alpha.192+247f83b",
3
+ "version": "2.0.1-alpha.193+189229a",
4
4
  "description": "Decisiv's design system React components",
5
5
  "author": "Decisiv UI Development Team",
6
6
  "license": "MIT",
@@ -71,5 +71,5 @@
71
71
  "access": "public"
72
72
  },
73
73
  "private": false,
74
- "gitHead": "247f83bee65092407185cd717b3652cb6ddd7d1a"
74
+ "gitHead": "189229a0f3b51fa3e979b7fc30c4ca80f55fb8ff"
75
75
  }