@instructure/ui-radio-input 11.7.4-snapshot-11 → 11.7.4-snapshot-49
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/CHANGELOG.md +1 -1
- package/LICENSE.md +1 -0
- package/es/RadioInput/v1/index.js +5 -4
- package/es/RadioInput/v2/index.js +1 -1
- package/es/RadioInputGroup/v1/index.js +5 -5
- package/es/RadioInputGroup/v2/index.js +3 -3
- package/es/exports/a.js +2 -2
- package/es/exports/b.js +2 -2
- package/lib/RadioInput/v1/index.js +4 -4
- package/lib/RadioInput/v2/index.js +1 -1
- package/lib/RadioInputGroup/v1/index.js +6 -6
- package/lib/RadioInputGroup/v2/index.js +4 -4
- package/lib/exports/a.js +4 -4
- package/lib/exports/b.js +4 -4
- package/package.json +11 -11
- package/src/RadioInput/v1/index.tsx +4 -3
- package/src/RadioInput/v2/index.tsx +1 -1
- package/src/RadioInputGroup/v1/index.tsx +5 -4
- package/src/RadioInputGroup/v2/index.tsx +3 -2
- package/src/exports/a.ts +2 -2
- package/src/exports/b.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/RadioInput/v1/index.d.ts +1 -0
- package/types/RadioInput/v1/index.d.ts.map +1 -1
- package/types/RadioInputGroup/v1/index.d.ts +2 -1
- package/types/RadioInputGroup/v1/index.d.ts.map +1 -1
- package/types/RadioInputGroup/v2/index.d.ts +1 -0
- package/types/RadioInputGroup/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +2 -2
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +2 -2
- package/types/exports/b.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-radio-input
|
|
9
9
|
|
package/LICENSE.md
CHANGED
|
@@ -27,9 +27,10 @@ import { Component } from 'react';
|
|
|
27
27
|
import { omitProps, withDeterministicId } from '@instructure/ui-react-utils';
|
|
28
28
|
import { isActiveElement } from '@instructure/ui-dom-utils';
|
|
29
29
|
import { withStyle } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import generateComponentTheme from './theme.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
|
+
|
|
33
34
|
/**
|
|
34
35
|
---
|
|
35
36
|
category: components
|
|
@@ -37,7 +38,7 @@ category: components
|
|
|
37
38
|
**/
|
|
38
39
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
39
40
|
let RadioInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class RadioInput extends Component {
|
|
40
|
-
static displayName =
|
|
41
|
+
static displayName = 'RadioInput';
|
|
41
42
|
static componentId = 'RadioInput';
|
|
42
43
|
static allowedProps = allowedProps;
|
|
43
44
|
static defaultProps = {
|
|
@@ -26,7 +26,7 @@ import { useState, useRef, useImperativeHandle, forwardRef, useCallback, useEffe
|
|
|
26
26
|
import { passthroughProps, useDeterministicId } from '@instructure/ui-react-utils';
|
|
27
27
|
import { isActiveElement } from '@instructure/ui-dom-utils';
|
|
28
28
|
import { useStyleNew } from '@instructure/emotion';
|
|
29
|
-
import generateStyle from
|
|
29
|
+
import generateStyle from './styles.js';
|
|
30
30
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
31
31
|
/**
|
|
32
32
|
---
|
|
@@ -27,11 +27,11 @@ import { Fragment, Children, Component } from 'react';
|
|
|
27
27
|
import { FormFieldGroup } from '@instructure/ui-form-field/v11_6';
|
|
28
28
|
import { matchComponentTypes, safeCloneElement, omitProps, pickProps, withDeterministicId } from '@instructure/ui-react-utils';
|
|
29
29
|
import { hasVisibleChildren } from '@instructure/ui-a11y-utils';
|
|
30
|
-
import { RadioInput } from
|
|
30
|
+
import { RadioInput } from '../../RadioInput/v1/index.js';
|
|
31
31
|
import { withStyle } from '@instructure/emotion';
|
|
32
|
-
import generateStyle from
|
|
33
|
-
import generateComponentTheme from
|
|
34
|
-
import { allowedProps } from
|
|
32
|
+
import generateStyle from './styles.js';
|
|
33
|
+
import generateComponentTheme from './theme.js';
|
|
34
|
+
import { allowedProps } from './props.js';
|
|
35
35
|
import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
36
36
|
/**
|
|
37
37
|
---
|
|
@@ -39,7 +39,7 @@ category: components
|
|
|
39
39
|
---
|
|
40
40
|
**/
|
|
41
41
|
let RadioInputGroup = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class RadioInputGroup extends Component {
|
|
42
|
-
static displayName =
|
|
42
|
+
static displayName = 'RadioInputGroup';
|
|
43
43
|
static componentId = 'RadioInputGroup';
|
|
44
44
|
static allowedProps = allowedProps;
|
|
45
45
|
static defaultProps = {
|
|
@@ -26,8 +26,8 @@ var _dec, _class;
|
|
|
26
26
|
import { Children, Component } from 'react';
|
|
27
27
|
import { FormFieldGroup } from '@instructure/ui-form-field/latest';
|
|
28
28
|
import { matchComponentTypes, safeCloneElement, omitProps, pickProps, withDeterministicId } from '@instructure/ui-react-utils';
|
|
29
|
-
import { RadioInput } from
|
|
30
|
-
import { allowedProps } from
|
|
29
|
+
import { RadioInput } from '../../RadioInput/v2/index.js';
|
|
30
|
+
import { allowedProps } from './props.js';
|
|
31
31
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
32
32
|
/**
|
|
33
33
|
---
|
|
@@ -35,7 +35,7 @@ category: components
|
|
|
35
35
|
---
|
|
36
36
|
**/
|
|
37
37
|
let RadioInputGroup = (_dec = withDeterministicId(), _dec(_class = class RadioInputGroup extends Component {
|
|
38
|
-
static displayName =
|
|
38
|
+
static displayName = 'RadioInputGroup';
|
|
39
39
|
static componentId = 'RadioInputGroup';
|
|
40
40
|
static allowedProps = allowedProps;
|
|
41
41
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { RadioInput } from
|
|
25
|
-
export { RadioInputGroup } from
|
|
24
|
+
export { RadioInput } from '../RadioInput/v1/index.js';
|
|
25
|
+
export { RadioInputGroup } from '../RadioInputGroup/v1/index.js';
|
package/es/exports/b.js
CHANGED
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { RadioInput } from
|
|
25
|
-
export { RadioInputGroup } from
|
|
24
|
+
export { RadioInput } from '../RadioInput/v2/index.js';
|
|
25
|
+
export { RadioInputGroup } from '../RadioInputGroup/v2/index.js';
|
|
@@ -10,9 +10,9 @@ var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
|
|
|
10
10
|
var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
|
|
11
11
|
var _isActiveElement = require("@instructure/ui-dom-utils/lib/isActiveElement.js");
|
|
12
12
|
var _emotion = require("@instructure/emotion");
|
|
13
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
14
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
15
|
-
var _props = require("./props");
|
|
13
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
15
|
+
var _props = require("./props.js");
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
17
|
var _dec, _dec2, _class;
|
|
18
18
|
/*
|
|
@@ -44,7 +44,7 @@ category: components
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let RadioInput = exports.RadioInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class RadioInput extends _react.Component {
|
|
47
|
-
static displayName =
|
|
47
|
+
static displayName = 'RadioInput';
|
|
48
48
|
static componentId = 'RadioInput';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
50
50
|
static defaultProps = {
|
|
@@ -10,7 +10,7 @@ var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProp
|
|
|
10
10
|
var _useDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/useDeterministicId.js");
|
|
11
11
|
var _isActiveElement = require("@instructure/ui-dom-utils/lib/isActiveElement.js");
|
|
12
12
|
var _emotion = require("@instructure/emotion");
|
|
13
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
13
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
15
|
/*
|
|
16
16
|
* The MIT License (MIT)
|
|
@@ -13,11 +13,11 @@ var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
|
|
|
13
13
|
var _pickProps = require("@instructure/ui-react-utils/lib/pickProps.js");
|
|
14
14
|
var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
|
|
15
15
|
var _hasVisibleChildren = require("@instructure/ui-a11y-utils/lib/hasVisibleChildren.js");
|
|
16
|
-
var
|
|
16
|
+
var _index = require("../../RadioInput/v1/index.js");
|
|
17
17
|
var _emotion = require("@instructure/emotion");
|
|
18
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
19
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
20
|
-
var _props = require("./props");
|
|
18
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
19
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
20
|
+
var _props = require("./props.js");
|
|
21
21
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
22
22
|
var _dec, _dec2, _class;
|
|
23
23
|
/*
|
|
@@ -49,7 +49,7 @@ category: components
|
|
|
49
49
|
---
|
|
50
50
|
**/
|
|
51
51
|
let RadioInputGroup = exports.RadioInputGroup = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class RadioInputGroup extends _react.Component {
|
|
52
|
-
static displayName =
|
|
52
|
+
static displayName = 'RadioInputGroup';
|
|
53
53
|
static componentId = 'RadioInputGroup';
|
|
54
54
|
static allowedProps = _props.allowedProps;
|
|
55
55
|
static defaultProps = {
|
|
@@ -110,7 +110,7 @@ let RadioInputGroup = exports.RadioInputGroup = (_dec = (0, _withDeterministicId
|
|
|
110
110
|
// This adds the passed in name property to each RadioInput component
|
|
111
111
|
// and checks the input whose value matches the value property
|
|
112
112
|
return _react.Children.map(children, (child, index) => {
|
|
113
|
-
if ((0, _matchComponentTypes.matchComponentTypes)(child, [
|
|
113
|
+
if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.RadioInput])) {
|
|
114
114
|
const isChecked = this.value === child.props.value;
|
|
115
115
|
const defaultFocus = !this.value && index === 0;
|
|
116
116
|
return (0, _safeCloneElement.safeCloneElement)(child, {
|
|
@@ -11,8 +11,8 @@ var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElemen
|
|
|
11
11
|
var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
|
|
12
12
|
var _pickProps = require("@instructure/ui-react-utils/lib/pickProps.js");
|
|
13
13
|
var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
|
|
14
|
-
var
|
|
15
|
-
var _props = require("./props");
|
|
14
|
+
var _index = require("../../RadioInput/v2/index.js");
|
|
15
|
+
var _props = require("./props.js");
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
17
|
var _dec, _class;
|
|
18
18
|
/*
|
|
@@ -44,7 +44,7 @@ category: components
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let RadioInputGroup = exports.RadioInputGroup = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec(_class = class RadioInputGroup extends _react.Component {
|
|
47
|
-
static displayName =
|
|
47
|
+
static displayName = 'RadioInputGroup';
|
|
48
48
|
static componentId = 'RadioInputGroup';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
50
50
|
static defaultProps = {
|
|
@@ -105,7 +105,7 @@ let RadioInputGroup = exports.RadioInputGroup = (_dec = (0, _withDeterministicId
|
|
|
105
105
|
// This adds the passed in name property to each RadioInput component
|
|
106
106
|
// and checks the input whose value matches the value property
|
|
107
107
|
return _react.Children.map(children, (child, index) => {
|
|
108
|
-
if ((0, _matchComponentTypes.matchComponentTypes)(child, [
|
|
108
|
+
if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.RadioInput])) {
|
|
109
109
|
const isChecked = this.value === child.props.value;
|
|
110
110
|
const defaultFocus = !this.value && index === 0;
|
|
111
111
|
return (0, _safeCloneElement.safeCloneElement)(child, {
|
package/lib/exports/a.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "RadioInput", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.RadioInput;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "RadioInputGroup", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.RadioInputGroup;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../RadioInput/v1/index.js");
|
|
19
|
+
var _index2 = require("../RadioInputGroup/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "RadioInput", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.RadioInput;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "RadioInputGroup", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.RadioInputGroup;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../RadioInput/v2/index.js");
|
|
19
|
+
var _index2 = require("../RadioInputGroup/v2/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-radio-input",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-49",
|
|
4
4
|
"description": "A styled HTML input type='radio' element",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/shared-types": "11.7.4-snapshot-
|
|
20
|
-
"@instructure/ui-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-form-field": "11.7.4-snapshot-
|
|
23
|
-
"@instructure/ui-react-utils": "11.7.4-snapshot-
|
|
24
|
-
"@instructure/ui-themes": "11.7.4-snapshot-
|
|
18
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
19
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
20
|
+
"@instructure/ui-a11y-utils": "11.7.4-snapshot-49",
|
|
21
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-49",
|
|
22
|
+
"@instructure/ui-form-field": "11.7.4-snapshot-49",
|
|
23
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-49",
|
|
24
|
+
"@instructure/ui-themes": "11.7.4-snapshot-49"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@testing-library/jest-dom": "^6.6.3",
|
|
28
28
|
"@testing-library/react": "15.0.7",
|
|
29
29
|
"@testing-library/user-event": "^14.6.1",
|
|
30
30
|
"vitest": "^3.2.2",
|
|
31
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
32
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
33
|
-
"@instructure/ui-color-utils": "11.7.4-snapshot-
|
|
31
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-49",
|
|
32
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49",
|
|
33
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-49"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=18 <=19"
|
|
@@ -29,11 +29,11 @@ import { isActiveElement } from '@instructure/ui-dom-utils'
|
|
|
29
29
|
|
|
30
30
|
import { withStyle } from '@instructure/emotion'
|
|
31
31
|
|
|
32
|
-
import generateStyle from './styles'
|
|
33
|
-
import generateComponentTheme from './theme'
|
|
32
|
+
import generateStyle from './styles.js'
|
|
33
|
+
import generateComponentTheme from './theme.js'
|
|
34
34
|
|
|
35
35
|
import type { RadioInputProps, RadioInputState } from './props'
|
|
36
|
-
import { allowedProps } from './props'
|
|
36
|
+
import { allowedProps } from './props.js'
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
---
|
|
@@ -43,6 +43,7 @@ category: components
|
|
|
43
43
|
@withDeterministicId()
|
|
44
44
|
@withStyle(generateStyle, generateComponentTheme)
|
|
45
45
|
class RadioInput extends Component<RadioInputProps, RadioInputState> {
|
|
46
|
+
static displayName = 'RadioInput'
|
|
46
47
|
static readonly componentId = 'RadioInput'
|
|
47
48
|
|
|
48
49
|
static allowedProps = allowedProps
|
|
@@ -34,16 +34,16 @@ import {
|
|
|
34
34
|
} from '@instructure/ui-react-utils'
|
|
35
35
|
import { hasVisibleChildren } from '@instructure/ui-a11y-utils'
|
|
36
36
|
|
|
37
|
-
import { RadioInput } from '../../RadioInput/v1'
|
|
37
|
+
import { RadioInput } from '../../RadioInput/v1/index.js'
|
|
38
38
|
import type { RadioInputProps } from '../../RadioInput/v1/props'
|
|
39
39
|
|
|
40
40
|
import { withStyle } from '@instructure/emotion'
|
|
41
41
|
|
|
42
|
-
import generateStyle from './styles'
|
|
43
|
-
import generateComponentTheme from './theme'
|
|
42
|
+
import generateStyle from './styles.js'
|
|
43
|
+
import generateComponentTheme from './theme.js'
|
|
44
44
|
|
|
45
45
|
import type { RadioInputGroupProps, RadioInputGroupState } from './props'
|
|
46
|
-
import { allowedProps } from './props'
|
|
46
|
+
import { allowedProps } from './props.js'
|
|
47
47
|
|
|
48
48
|
type RadioInputChild = ComponentElement<RadioInputProps, RadioInput>
|
|
49
49
|
|
|
@@ -58,6 +58,7 @@ class RadioInputGroup extends Component<
|
|
|
58
58
|
RadioInputGroupProps,
|
|
59
59
|
RadioInputGroupState
|
|
60
60
|
> {
|
|
61
|
+
static displayName = 'RadioInputGroup'
|
|
61
62
|
static readonly componentId = 'RadioInputGroup'
|
|
62
63
|
|
|
63
64
|
static allowedProps = allowedProps
|
|
@@ -33,11 +33,11 @@ import {
|
|
|
33
33
|
withDeterministicId
|
|
34
34
|
} from '@instructure/ui-react-utils'
|
|
35
35
|
|
|
36
|
-
import { RadioInput } from '../../RadioInput/v2'
|
|
36
|
+
import { RadioInput } from '../../RadioInput/v2/index.js'
|
|
37
37
|
import type { RadioInputProps } from '../../RadioInput/v2/props'
|
|
38
38
|
|
|
39
39
|
import type { RadioInputGroupProps, RadioInputGroupState } from './props'
|
|
40
|
-
import { allowedProps } from './props'
|
|
40
|
+
import { allowedProps } from './props.js'
|
|
41
41
|
|
|
42
42
|
type RadioInputChild = ComponentElement<RadioInputProps, any>
|
|
43
43
|
|
|
@@ -51,6 +51,7 @@ class RadioInputGroup extends Component<
|
|
|
51
51
|
RadioInputGroupProps,
|
|
52
52
|
RadioInputGroupState
|
|
53
53
|
> {
|
|
54
|
+
static displayName = 'RadioInputGroup'
|
|
54
55
|
static readonly componentId = 'RadioInputGroup'
|
|
55
56
|
|
|
56
57
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { RadioInput } from '../RadioInput/v1'
|
|
25
|
-
export { RadioInputGroup } from '../RadioInputGroup/v1'
|
|
24
|
+
export { RadioInput } from '../RadioInput/v1/index.js'
|
|
25
|
+
export { RadioInputGroup } from '../RadioInputGroup/v1/index.js'
|
|
26
26
|
|
|
27
27
|
export type { RadioInputProps } from '../RadioInput/v1/props'
|
|
28
28
|
export type { RadioInputGroupProps } from '../RadioInputGroup/v1/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { RadioInput } from '../RadioInput/v2'
|
|
25
|
-
export { RadioInputGroup } from '../RadioInputGroup/v2'
|
|
24
|
+
export { RadioInput } from '../RadioInput/v2/index.js'
|
|
25
|
+
export { RadioInputGroup } from '../RadioInputGroup/v2/index.js'
|
|
26
26
|
|
|
27
27
|
export type { RadioInputProps } from '../RadioInput/v2/props'
|
|
28
28
|
export type { RadioInputGroupProps } from '../RadioInputGroup/v2/props'
|