@decisiv/ui-components 2.0.1-alpha.191 → 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.
- package/lib/components/Modal/index.js +1 -1
- package/lib/components/Modal/schema.js +1 -1
- package/lib/components/Modal/types.d.ts +1 -1
- package/lib/components/Modal/types.d.ts.map +1 -1
- package/lib/components/SearchInput/styles.d.ts.map +1 -1
- package/lib/components/SearchInput/styles.js +1 -1
- package/package.json +2 -2
|
@@ -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, ['
|
|
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 `
|
|
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, '
|
|
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/Modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;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,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;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,MAA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AAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAezB,CAAC;AAEF,eAAO,MAAM,cAAc,6IAAkC,CAAC;AAE9D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKhC,CAAC"}
|
|
@@ -93,5 +93,5 @@ var SearchInputContainer = (0, _styledComponents.default)(_Flex.default).attrs({
|
|
|
93
93
|
}).withConfig({
|
|
94
94
|
displayName: "styles__SearchInputContainer",
|
|
95
95
|
componentId: "rlmiu8-8"
|
|
96
|
-
})(["gap:", ";"], (0, _rem.default)(_spacing.default.base * 0.5));
|
|
96
|
+
})(["gap:", ";flex:1;"], (0, _rem.default)(_spacing.default.base * 0.5));
|
|
97
97
|
exports.SearchInputContainer = SearchInputContainer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decisiv/ui-components",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
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": "
|
|
74
|
+
"gitHead": "189229a0f3b51fa3e979b7fc30c4ca80f55fb8ff"
|
|
75
75
|
}
|