@primer/components 0.0.0-2021112133435 → 0.0.0-2021112175555
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/browser.esm.js +171 -177
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +175 -181
- package/dist/browser.umd.js.map +1 -1
- package/lib/Checkbox.d.ts +1 -1
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -8
- package/lib-esm/Checkbox.d.ts +1 -1
- package/lib-esm/index.d.ts +0 -2
- package/lib-esm/index.js +0 -1
- package/package.json +6 -4
- package/CHANGELOG.md +0 -998
- package/lib/Radio.d.ts +0 -38
- package/lib/Radio.js +0 -55
- package/lib-esm/Radio.d.ts +0 -38
- package/lib-esm/Radio.js +0 -40
package/lib/Checkbox.d.ts
CHANGED
@@ -25,5 +25,5 @@ export declare type CheckboxProps = {
|
|
25
25
|
/**
|
26
26
|
* An accessible, native checkbox component
|
27
27
|
*/
|
28
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "sx" | keyof React.InputHTMLAttributes<HTMLInputElement> | "
|
28
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "sx" | keyof React.InputHTMLAttributes<HTMLInputElement> | "indeterminate" | "validationStatus"> & React.RefAttributes<HTMLInputElement>>;
|
29
29
|
export default Checkbox;
|
package/lib/index.d.ts
CHANGED
@@ -21,8 +21,6 @@ export { useOpenAndCloseFocus } from './hooks/useOpenAndCloseFocus';
|
|
21
21
|
export { useOnEscapePress } from './hooks/useOnEscapePress';
|
22
22
|
export { useOverlay } from './hooks/useOverlay';
|
23
23
|
export { useConfirm } from './Dialog/ConfirmationDialog';
|
24
|
-
export { default as Radio } from './Radio';
|
25
|
-
export type { RadioProps } from './Radio';
|
26
24
|
export { ActionList } from './ActionList';
|
27
25
|
export { ActionMenu } from './ActionMenu';
|
28
26
|
export type { ActionMenuProps } from './ActionMenu';
|
package/lib/index.js
CHANGED
@@ -141,12 +141,6 @@ Object.defineProperty(exports, "ConfirmationDialog", {
|
|
141
141
|
return _ConfirmationDialog.ConfirmationDialog;
|
142
142
|
}
|
143
143
|
});
|
144
|
-
Object.defineProperty(exports, "Radio", {
|
145
|
-
enumerable: true,
|
146
|
-
get: function () {
|
147
|
-
return _Radio.default;
|
148
|
-
}
|
149
|
-
});
|
150
144
|
Object.defineProperty(exports, "ActionList", {
|
151
145
|
enumerable: true,
|
152
146
|
get: function () {
|
@@ -552,8 +546,6 @@ var _useOverlay = require("./hooks/useOverlay");
|
|
552
546
|
|
553
547
|
var _ConfirmationDialog = require("./Dialog/ConfirmationDialog");
|
554
548
|
|
555
|
-
var _Radio = _interopRequireDefault(require("./Radio"));
|
556
|
-
|
557
549
|
var _ActionList = require("./ActionList");
|
558
550
|
|
559
551
|
var _ActionMenu = require("./ActionMenu");
|
package/lib-esm/Checkbox.d.ts
CHANGED
@@ -25,5 +25,5 @@ export declare type CheckboxProps = {
|
|
25
25
|
/**
|
26
26
|
* An accessible, native checkbox component
|
27
27
|
*/
|
28
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "sx" | keyof React.InputHTMLAttributes<HTMLInputElement> | "
|
28
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "sx" | keyof React.InputHTMLAttributes<HTMLInputElement> | "indeterminate" | "validationStatus"> & React.RefAttributes<HTMLInputElement>>;
|
29
29
|
export default Checkbox;
|
package/lib-esm/index.d.ts
CHANGED
@@ -21,8 +21,6 @@ export { useOpenAndCloseFocus } from './hooks/useOpenAndCloseFocus';
|
|
21
21
|
export { useOnEscapePress } from './hooks/useOnEscapePress';
|
22
22
|
export { useOverlay } from './hooks/useOverlay';
|
23
23
|
export { useConfirm } from './Dialog/ConfirmationDialog';
|
24
|
-
export { default as Radio } from './Radio';
|
25
|
-
export type { RadioProps } from './Radio';
|
26
24
|
export { ActionList } from './ActionList';
|
27
25
|
export { ActionMenu } from './ActionMenu';
|
28
26
|
export type { ActionMenuProps } from './ActionMenu';
|
package/lib-esm/index.js
CHANGED
@@ -17,7 +17,6 @@ export { useOnEscapePress } from './hooks/useOnEscapePress';
|
|
17
17
|
export { useOverlay } from './hooks/useOverlay';
|
18
18
|
export { useConfirm } from './Dialog/ConfirmationDialog'; // Components
|
19
19
|
|
20
|
-
export { default as Radio } from './Radio';
|
21
20
|
export { ActionList } from './ActionList';
|
22
21
|
export { ActionMenu } from './ActionMenu';
|
23
22
|
export { default as Autocomplete } from './Autocomplete';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/components",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-2021112175555",
|
4
4
|
"description": "Primer react components",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"module": "lib-esm/index.js",
|
@@ -91,7 +91,6 @@
|
|
91
91
|
"@types/jest-axe": "3.5.3",
|
92
92
|
"@types/lodash.isempty": "4.4.6",
|
93
93
|
"@types/lodash.isobject": "3.0.6",
|
94
|
-
"@types/node": "16.11.11",
|
95
94
|
"@typescript-eslint/eslint-plugin": "4.31.2",
|
96
95
|
"@typescript-eslint/parser": "4.26.1",
|
97
96
|
"@wojtekmaj/enzyme-adapter-react-17": "0.6.3",
|
@@ -117,7 +116,6 @@
|
|
117
116
|
"eslint-plugin-primer-react": "0.7.0",
|
118
117
|
"eslint-plugin-react": "7.24.0",
|
119
118
|
"eslint-plugin-react-hooks": "4.2.0",
|
120
|
-
"front-matter": "4.0.2",
|
121
119
|
"jest": "27.0.4",
|
122
120
|
"jest-axe": "5.0.1",
|
123
121
|
"jest-styled-components": "6.3.4",
|
@@ -158,5 +156,9 @@
|
|
158
156
|
"webpack": false,
|
159
157
|
"running": false
|
160
158
|
}
|
161
|
-
]
|
159
|
+
],
|
160
|
+
"engines": {
|
161
|
+
"node": ">=16",
|
162
|
+
"npm": ">=8"
|
163
|
+
}
|
162
164
|
}
|