@atlaskit/radio 5.3.7 → 5.3.10
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 +18 -0
- package/dist/cjs/Radio.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/Radio.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/Radio.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/Radio.d.ts +34 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/radio
|
|
2
2
|
|
|
3
|
+
## 5.3.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
8
|
+
|
|
9
|
+
## 5.3.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 5.3.8
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 5.3.7
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/Radio.js
CHANGED
|
@@ -27,7 +27,7 @@ var _styles = _interopRequireDefault(require("./styles"));
|
|
|
27
27
|
|
|
28
28
|
var _excluded = ["ariaLabel", "isDisabled", "isRequired", "isInvalid", "isChecked", "label", "mode", "name", "onChange", "value", "testId", "analyticsContext"];
|
|
29
29
|
var packageName = "@atlaskit/radio";
|
|
30
|
-
var packageVersion = "5.3.
|
|
30
|
+
var packageVersion = "5.3.10";
|
|
31
31
|
var fontFamily = (0, _constants.fontFamily)();
|
|
32
32
|
|
|
33
33
|
var noop = function noop() {};
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/Radio.js
CHANGED
|
@@ -9,7 +9,7 @@ import GlobalTheme from '@atlaskit/theme/components';
|
|
|
9
9
|
import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
|
|
10
10
|
import getRadioCustomProperties from './styles';
|
|
11
11
|
const packageName = "@atlaskit/radio";
|
|
12
|
-
const packageVersion = "5.3.
|
|
12
|
+
const packageVersion = "5.3.10";
|
|
13
13
|
const fontFamily = getFontFamily();
|
|
14
14
|
|
|
15
15
|
const noop = () => {};
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/Radio.js
CHANGED
|
@@ -11,7 +11,7 @@ import GlobalTheme from '@atlaskit/theme/components';
|
|
|
11
11
|
import { fontFamily as getFontFamily } from '@atlaskit/theme/constants';
|
|
12
12
|
import getRadioCustomProperties from './styles';
|
|
13
13
|
var packageName = "@atlaskit/radio";
|
|
14
|
-
var packageVersion = "5.3.
|
|
14
|
+
var packageVersion = "5.3.10";
|
|
15
15
|
var fontFamily = getFontFamily();
|
|
16
16
|
|
|
17
17
|
var noop = function noop() {};
|
package/dist/esm/version.json
CHANGED
package/dist/types/Radio.d.ts
CHANGED
|
@@ -1,4 +1,36 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
declare const Radio: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Pick<Omit<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-label" | "disabled" | "required" | "checked" | "value">, keyof {
|
|
3
|
+
ariaLabel?: string | undefined;
|
|
4
|
+
isDisabled?: boolean | undefined;
|
|
5
|
+
isRequired?: boolean | undefined;
|
|
6
|
+
isInvalid?: boolean | undefined;
|
|
7
|
+
isChecked?: boolean | undefined;
|
|
8
|
+
label?: import("react").ReactNode;
|
|
9
|
+
onChange?: ((e: import("react").ChangeEvent<HTMLInputElement>, analyticsEvent: import("@atlaskit/analytics-next").UIAnalyticsEvent) => void) | undefined;
|
|
10
|
+
value?: string | undefined;
|
|
11
|
+
testId?: string | undefined;
|
|
12
|
+
analyticsContext?: Record<string, any> | undefined;
|
|
13
|
+
}> & {
|
|
14
|
+
ariaLabel?: string | undefined;
|
|
15
|
+
isDisabled?: boolean | undefined;
|
|
16
|
+
isRequired?: boolean | undefined;
|
|
17
|
+
isInvalid?: boolean | undefined;
|
|
18
|
+
isChecked?: boolean | undefined;
|
|
19
|
+
label?: import("react").ReactNode;
|
|
20
|
+
onChange?: ((e: import("react").ChangeEvent<HTMLInputElement>, analyticsEvent: import("@atlaskit/analytics-next").UIAnalyticsEvent) => void) | undefined;
|
|
21
|
+
value?: string | undefined;
|
|
22
|
+
testId?: string | undefined;
|
|
23
|
+
analyticsContext?: Record<string, any> | undefined;
|
|
24
|
+
} & import("@atlaskit/analytics-next").WithAnalyticsEventsProps, "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "crossOrigin" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "pattern" | "placeholder" | "readOnly" | "size" | "src" | "step" | "type" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof {
|
|
25
|
+
ariaLabel?: string | undefined;
|
|
26
|
+
isDisabled?: boolean | undefined;
|
|
27
|
+
isRequired?: boolean | undefined;
|
|
28
|
+
isInvalid?: boolean | undefined;
|
|
29
|
+
isChecked?: boolean | undefined;
|
|
30
|
+
label?: import("react").ReactNode;
|
|
31
|
+
onChange?: ((e: import("react").ChangeEvent<HTMLInputElement>, analyticsEvent: import("@atlaskit/analytics-next").UIAnalyticsEvent) => void) | undefined;
|
|
32
|
+
value?: string | undefined;
|
|
33
|
+
testId?: string | undefined;
|
|
34
|
+
analyticsContext?: Record<string, any> | undefined;
|
|
35
|
+
} | "createAnalyticsEvent"> & import("react").RefAttributes<HTMLInputElement>>>;
|
|
4
36
|
export default Radio;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/radio",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.10",
|
|
4
4
|
"description": "A radio input allows people to select only one option from a number of choices. Radio is generally displayed in a radio group.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/analytics-next": "^8.0.0",
|
|
32
32
|
"@atlaskit/theme": "^12.1.0",
|
|
33
|
-
"@atlaskit/tokens": "^0.
|
|
33
|
+
"@atlaskit/tokens": "^0.9.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"@emotion/core": "^10.0.9"
|
|
36
36
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react": "^16.8.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@atlaskit/button": "^16.
|
|
41
|
+
"@atlaskit/button": "^16.3.0",
|
|
42
42
|
"@atlaskit/checkbox": "^12.3.0",
|
|
43
43
|
"@atlaskit/docs": "^9.0.0",
|
|
44
44
|
"@atlaskit/form": "^8.5.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@testing-library/react": "^8.0.1",
|
|
51
51
|
"react-dom": "^16.8.0",
|
|
52
52
|
"storybook-addon-performance": "^0.16.0",
|
|
53
|
-
"typescript": "
|
|
53
|
+
"typescript": "4.2.4"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|
|
56
56
|
"atlaskit",
|