@commercetools-uikit/radio-input 13.0.0 → 13.0.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.
- package/dist/commercetools-uikit-radio-input.cjs.dev.js +2 -2
- package/dist/commercetools-uikit-radio-input.cjs.prod.js +1 -1
- package/dist/commercetools-uikit-radio-input.esm.js +2 -2
- package/dist/declarations/src/icons/index.d.ts +1 -1
- package/dist/declarations/src/radio-group.d.ts +4 -3
- package/package.json +2 -2
|
@@ -611,7 +611,7 @@ Group.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
611
611
|
hasWarning: _pt__default["default"].bool,
|
|
612
612
|
horizontalConstraint: _pt__default["default"].oneOf([7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
613
613
|
direction: _pt__default["default"].any,
|
|
614
|
-
directionProps: _pt__default["default"].
|
|
614
|
+
directionProps: _pt__default["default"].any,
|
|
615
615
|
children: _pt__default["default"].node.isRequired
|
|
616
616
|
} : {};
|
|
617
617
|
Group.displayName = 'RadioGroup';
|
|
@@ -619,7 +619,7 @@ Group.defaultProps = defaultProps;
|
|
|
619
619
|
var Group$1 = Group;
|
|
620
620
|
|
|
621
621
|
// NOTE: This string will be replaced on build time with the package version.
|
|
622
|
-
var version = "13.0.
|
|
622
|
+
var version = "13.0.1";
|
|
623
623
|
|
|
624
624
|
var RadioInput = {
|
|
625
625
|
Group: Group$1,
|
|
@@ -589,7 +589,7 @@ Group.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
589
589
|
hasWarning: _pt.bool,
|
|
590
590
|
horizontalConstraint: _pt.oneOf([7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
591
591
|
direction: _pt.any,
|
|
592
|
-
directionProps: _pt.
|
|
592
|
+
directionProps: _pt.any,
|
|
593
593
|
children: _pt.node.isRequired
|
|
594
594
|
} : {};
|
|
595
595
|
Group.displayName = 'RadioGroup';
|
|
@@ -597,7 +597,7 @@ Group.defaultProps = defaultProps;
|
|
|
597
597
|
var Group$1 = Group;
|
|
598
598
|
|
|
599
599
|
// NOTE: This string will be replaced on build time with the package version.
|
|
600
|
-
var version = "13.0.
|
|
600
|
+
var version = "13.0.1";
|
|
601
601
|
|
|
602
602
|
var RadioInput = {
|
|
603
603
|
Group: Group$1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './generated';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { type ChangeEventHandler, type FocusEventHandler, type ReactNode } from 'react';
|
|
2
|
+
import { type TStackProps } from '@commercetools-uikit/spacings-stack';
|
|
2
3
|
declare const directionWrapper: {
|
|
3
4
|
stack: {
|
|
4
|
-
(props:
|
|
5
|
+
(props: TStackProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
6
|
displayName: string;
|
|
6
|
-
defaultProps: Pick<
|
|
7
|
+
defaultProps: Pick<TStackProps, "scale" | "alignItems">;
|
|
7
8
|
};
|
|
8
9
|
inline: {
|
|
9
10
|
(props: import("@commercetools-uikit/spacings-inline/src/inline").TProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -24,7 +25,7 @@ export declare type TGroupProps = {
|
|
|
24
25
|
hasWarning?: boolean;
|
|
25
26
|
horizontalConstraint?: 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 'scale' | 'auto';
|
|
26
27
|
direction?: keyof typeof directionWrapper;
|
|
27
|
-
directionProps?:
|
|
28
|
+
directionProps?: Partial<TStackProps>;
|
|
28
29
|
children: ReactNode;
|
|
29
30
|
};
|
|
30
31
|
declare const Group: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/radio-input",
|
|
3
3
|
"description": "A RadioInput represents a group of options where only one option can be selected at a time.",
|
|
4
|
-
"version": "13.0.
|
|
4
|
+
"version": "13.0.1",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@commercetools-uikit/icons": "13.0.0",
|
|
30
30
|
"@commercetools-uikit/input-utils": "13.0.0",
|
|
31
31
|
"@commercetools-uikit/spacings-inline": "13.0.0",
|
|
32
|
-
"@commercetools-uikit/spacings-stack": "13.0.
|
|
32
|
+
"@commercetools-uikit/spacings-stack": "13.0.1",
|
|
33
33
|
"@commercetools-uikit/utils": "12.2.9",
|
|
34
34
|
"@emotion/react": "^11.4.0",
|
|
35
35
|
"@emotion/styled": "^11.3.0",
|