@deque/cauldron-react 4.4.0 → 4.5.0-canary.21294bb6
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/cauldron.css +0 -1
- package/lib/components/Accordion/Accordion.d.ts +42 -0
- package/lib/components/Accordion/index.d.ts +3 -0
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +5 -9
- package/lib/components/Breadcrumb/BreadcrumbLink.d.ts +1 -1
- package/lib/components/Button/index.d.ts +1 -1
- package/lib/components/Code/index.d.ts +2 -2
- package/lib/components/Dialog/index.d.ts +1 -1
- package/lib/components/ExpandCollapsePanel/PanelTrigger.d.ts +10 -8
- package/lib/components/Icon/types.d.ts +1 -1
- package/lib/components/Loader/index.d.ts +1 -8
- package/lib/components/OptionsMenu/OptionsMenu.d.ts +1 -0
- package/lib/components/Pagination/Pagination.d.ts +20 -0
- package/lib/components/Pagination/index.d.ts +2 -19
- package/lib/components/Pagination/usePagination.d.ts +24 -0
- package/lib/components/Panel/index.d.ts +4 -13
- package/lib/components/ProgressBar/index.d.ts +6 -12
- package/lib/components/RadioCardGroup/index.d.ts +38 -0
- package/lib/components/Select/index.d.ts +1 -1
- package/lib/components/SideBar/SideBarItem.d.ts +1 -1
- package/lib/components/Toast/index.d.ts +1 -0
- package/lib/components/Tooltip/index.d.ts +1 -1
- package/lib/components/TopBar/TopBarTrigger.d.ts +1 -1
- package/lib/components/TwoColumnPanel/ColumnLeft.d.ts +3 -5
- package/lib/components/TwoColumnPanel/ColumnRight.d.ts +3 -5
- package/lib/filter-solid.js +24 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +515 -325
- package/lib/play.js +25 -0
- package/lib/recycle-square.js +24 -0
- package/lib/utils/remove-ids/index.d.ts +1 -1
- package/package.json +13 -12
package/lib/play.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var React__default = _interopDefault(React);
|
|
7
|
+
|
|
8
|
+
var _path;
|
|
9
|
+
|
|
10
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
+
|
|
12
|
+
const SvgPlay = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
overflow: "visible",
|
|
15
|
+
preserveAspectRatio: "none",
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
height: 24,
|
|
18
|
+
width: 24
|
|
19
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
20
|
+
d: "M8 5v14l11-7z",
|
|
21
|
+
fill: "currentColor",
|
|
22
|
+
vectorEffect: "non-scaling-stroke"
|
|
23
|
+
})));
|
|
24
|
+
|
|
25
|
+
exports.default = SvgPlay;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var React__default = _interopDefault(React);
|
|
7
|
+
|
|
8
|
+
var _path;
|
|
9
|
+
|
|
10
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
+
|
|
12
|
+
const SvgRecycleSquare = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
|
+
overflow: "visible",
|
|
14
|
+
preserveAspectRatio: "none",
|
|
15
|
+
viewBox: "0 0 24 24",
|
|
16
|
+
height: 24,
|
|
17
|
+
width: 24
|
|
18
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4z",
|
|
20
|
+
vectorEffect: "non-scaling-stroke",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
})));
|
|
23
|
+
|
|
24
|
+
exports.default = SvgRecycleSquare;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function recursivelyRemoveIds(element: React.ReactNode): import("react").ReactElement<any, string |
|
|
1
|
+
declare function recursivelyRemoveIds(element: React.ReactNode): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[] | null | undefined;
|
|
2
2
|
export default recursivelyRemoveIds;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0-canary.21294bb6",
|
|
4
4
|
"description": "Fully accessible react components library for Deque Cauldron",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@popperjs/core": "^2.5.4",
|
|
25
25
|
"classnames": "^2.2.6",
|
|
26
|
-
"focus-trap-react": "
|
|
26
|
+
"focus-trap-react": "8",
|
|
27
27
|
"focusable": "^2.3.0",
|
|
28
28
|
"keyname": "^0.1.0",
|
|
29
29
|
"prop-types": "^15.6.0",
|
|
30
30
|
"react-id-generator": "^3.0.1",
|
|
31
31
|
"react-popper": "^2.2.4",
|
|
32
|
-
"react-syntax-highlighter": "^15.
|
|
33
|
-
"tslib": "^2.
|
|
32
|
+
"react-syntax-highlighter": "^15.5.0",
|
|
33
|
+
"tslib": "^2.4.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@babel/cli": "^7.8.4",
|
|
@@ -47,10 +47,11 @@
|
|
|
47
47
|
"@rollup/plugin-typescript": "^5.0.2",
|
|
48
48
|
"@svgr/rollup": "^6.1.2",
|
|
49
49
|
"@types/classnames": "^2.2.10",
|
|
50
|
+
"@types/node": "^17.0.42",
|
|
50
51
|
"@types/prop-types": "^15.7.3",
|
|
51
|
-
"@types/react": "^
|
|
52
|
-
"@types/react-dom": "^
|
|
53
|
-
"@types/react-syntax-highlighter": "^
|
|
52
|
+
"@types/react": "^18.0.12",
|
|
53
|
+
"@types/react-dom": "^18.0.5",
|
|
54
|
+
"@types/react-syntax-highlighter": "^15.5.2",
|
|
54
55
|
"autoprefixer": "^9.7.6",
|
|
55
56
|
"babel-plugin-module-resolver": "^4.0.0",
|
|
56
57
|
"babel-plugin-transform-export-extensions": "^6.22.0",
|
|
@@ -79,16 +80,16 @@
|
|
|
79
80
|
"react-router-dom": "^5.1.2",
|
|
80
81
|
"rollup": "^2.23.0",
|
|
81
82
|
"sinon": "^10.0.0",
|
|
82
|
-
"ts-node": "^8.
|
|
83
|
-
"typescript": "^
|
|
83
|
+
"ts-node": "^10.8.1",
|
|
84
|
+
"typescript": "^4.7.3"
|
|
84
85
|
},
|
|
85
86
|
"repository": {
|
|
86
87
|
"type": "git",
|
|
87
88
|
"url": "git+https://github.com/dequelabs/cauldron-react.git"
|
|
88
89
|
},
|
|
89
90
|
"peerDependencies": {
|
|
90
|
-
"react": "
|
|
91
|
-
"react-dom": "
|
|
91
|
+
"react": ">=16.6 <= 18",
|
|
92
|
+
"react-dom": ">=16.6 <= 18"
|
|
92
93
|
},
|
|
93
94
|
"nyc": {
|
|
94
95
|
"checkCoverage": true,
|
|
@@ -124,4 +125,4 @@
|
|
|
124
125
|
"\\.svg$": "<rootDir>/__tests__/svgMock.js"
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
|
-
}
|
|
128
|
+
}
|