@ringcentral/juno 3.0.0-alpha.0 → 3.0.0-alpha.2
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/components/Buttons/Button/Button.d.ts +53 -53
- package/components/Buttons/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/components/Buttons/IconButton/IconButton.d.ts +58 -58
- package/components/Buttons/IconButton/utils/IconButtonUtils.d.ts +1 -1
- package/components/Card/CardContent/CardContent.d.ts +1 -1
- package/components/Card/CardHeader/CardHeader.d.ts +1 -1
- package/components/Card/CardMedia/CardMedia.d.ts +1 -1
- package/components/Dialog/DialogActions/DialogActions.d.ts +49 -49
- package/components/Dialog/DialogContent/DialogContent.d.ts +1 -1
- package/components/Dialog/DialogContentText/DialogContentText.d.ts +3 -3
- package/components/Dialog/DialogTitle/DialogTitle.d.ts +1 -1
- package/components/Divider/Divider.d.ts +1 -1
- package/components/Downshift/SuggestionList/utils/useSuggestionList.d.ts +10 -10
- package/components/Downshift/styles/DownshiftStyle.d.ts +58 -58
- package/components/Downshift/utils/useDownshift.d.ts +104 -104
- package/components/Downshift/utils/useDownshiftTag.d.ts +64 -64
- package/components/Forms/FormHelperText/FormHelperText.d.ts +1 -1
- package/components/Forms/FormHelperText/styles/StyledFormHelperText.d.ts +1 -1
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.d.ts +58 -58
- package/components/Forms/Picker/utils/PickerTextField/PickerTextField.d.ts +1 -1
- package/components/Forms/TextField/TextField.d.ts +56 -56
- package/components/Grid/Grid.d.ts +1 -1
- package/components/List/List/List.d.ts +1 -1
- package/components/List/ListItem/ListItem.d.ts +49 -49
- package/components/Menu/MenuItem/MenuItem.d.ts +50 -50
- package/components/Pagination/PaginationItem/PaginationItem.d.ts +2 -2
- package/components/Table/TableBody/TableBody.d.ts +1 -1
- package/components/Table/TableCell/TableCell.d.ts +53 -53
- package/components/Table/TableCell/utils/TableCellUtils.d.ts +1 -1
- package/components/Table/TableHead/TableHead.d.ts +1 -1
- package/components/TablePagination/styles/TablePaginationStyle.d.ts +50 -50
- package/components/Tag/Tag.d.ts +1 -1
- package/components/Transitions/ZoomFrom/ZoomFrom.js +1 -7
- package/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +4 -7
- package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/Virtuoso.d.ts +25 -25
- package/components/Virtuoso/react-virtuoso/VirtuosoGrid.d.ts +6 -6
- package/es6/components/Transitions/ZoomFrom/ZoomFrom.js +1 -7
- package/es6/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +4 -7
- package/es6/foundation/hooks/useAudio/useAudio.js +1 -1
- package/es6/foundation/theme/useThemeProps.js +1 -1
- package/foundation/hooks/useAudio/useAudio.d.ts +1 -1
- package/foundation/hooks/useAudio/useAudio.js +1 -1
- package/foundation/theme/useThemeProps.d.ts +1 -1
- package/foundation/theme/useThemeProps.js +1 -1
- package/package.json +2 -3
|
@@ -17,7 +17,7 @@ import { useResultRef } from '../useResultRef';
|
|
|
17
17
|
*
|
|
18
18
|
* click();
|
|
19
19
|
* ```
|
|
20
|
-
* @see stories {@link https://
|
|
20
|
+
* @see stories {@link https://ringcentral.github.io/juno/?path=/story/%F0%9F%94%A7-foundation-hooks-useaudio--simple-announcer 🔧-foundation-hooks-useaudio--simple-announcer}
|
|
21
21
|
* @see {@link https://chromium-review.googlesource.com/c/chromium/src/+/2816118}
|
|
22
22
|
*/
|
|
23
23
|
export var useAudio = function (init) {
|
|
@@ -3,7 +3,7 @@ import { combineProps } from '../utils/combineProps';
|
|
|
3
3
|
/**
|
|
4
4
|
* use combine props from default theme props
|
|
5
5
|
*
|
|
6
|
-
* @see stories {@link https://
|
|
6
|
+
* @see stories {@link https://ringcentral.github.io/juno/?path=/story/api-reference-hooks-usethemeprops--page 🔧-foundation-hooks-usethemeprops--use-theme-props-example}
|
|
7
7
|
*/
|
|
8
8
|
export function useThemeProps(_a) {
|
|
9
9
|
var _b;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
* click();
|
|
17
17
|
* ```
|
|
18
|
-
* @see stories {@link https://
|
|
18
|
+
* @see stories {@link https://ringcentral.github.io/juno/?path=/story/%F0%9F%94%A7-foundation-hooks-useaudio--simple-announcer 🔧-foundation-hooks-useaudio--simple-announcer}
|
|
19
19
|
* @see {@link https://chromium-review.googlesource.com/c/chromium/src/+/2816118}
|
|
20
20
|
*/
|
|
21
21
|
export declare const useAudio: (init?: ((audio: HTMLAudioElement) => void) | undefined) => HTMLAudioElement;
|
|
@@ -20,7 +20,7 @@ var useResultRef_1 = require("../useResultRef");
|
|
|
20
20
|
*
|
|
21
21
|
* click();
|
|
22
22
|
* ```
|
|
23
|
-
* @see stories {@link https://
|
|
23
|
+
* @see stories {@link https://ringcentral.github.io/juno/?path=/story/%F0%9F%94%A7-foundation-hooks-useaudio--simple-announcer 🔧-foundation-hooks-useaudio--simple-announcer}
|
|
24
24
|
* @see {@link https://chromium-review.googlesource.com/c/chromium/src/+/2816118}
|
|
25
25
|
*/
|
|
26
26
|
var useAudio = function (init) {
|
|
@@ -2,7 +2,7 @@ import { RcComponentsProps } from './theme.type';
|
|
|
2
2
|
/**
|
|
3
3
|
* use combine props from default theme props
|
|
4
4
|
*
|
|
5
|
-
* @see stories {@link https://
|
|
5
|
+
* @see stories {@link https://ringcentral.github.io/juno/?path=/story/api-reference-hooks-usethemeprops--page 🔧-foundation-hooks-usethemeprops--use-theme-props-example}
|
|
6
6
|
*/
|
|
7
7
|
export declare function useThemeProps<T, K extends keyof RcComponentsProps>({ props, name, }: {
|
|
8
8
|
props: T;
|
|
@@ -6,7 +6,7 @@ var combineProps_1 = require("../utils/combineProps");
|
|
|
6
6
|
/**
|
|
7
7
|
* use combine props from default theme props
|
|
8
8
|
*
|
|
9
|
-
* @see stories {@link https://
|
|
9
|
+
* @see stories {@link https://ringcentral.github.io/juno/?path=/story/api-reference-hooks-usethemeprops--page 🔧-foundation-hooks-usethemeprops--use-theme-props-example}
|
|
10
10
|
*/
|
|
11
11
|
function useThemeProps(_a) {
|
|
12
12
|
var _b;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ringcentral/juno",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.2",
|
|
4
4
|
"author": "RingCentral",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"@material-ui/styles": "^4.11.4",
|
|
23
23
|
"@types/lodash": "^4.14.169",
|
|
24
24
|
"@types/react-beautiful-dnd": "^13.0.0",
|
|
25
|
-
"@types/styled-components": "5.1.36",
|
|
26
25
|
"clsx": "^1.0.4",
|
|
27
26
|
"focus-visible": "^5.1.0",
|
|
28
27
|
"lodash": "^4.17.21",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"tslib": ">=2.0.0"
|
|
35
34
|
},
|
|
36
35
|
"peerDependencies": {
|
|
37
|
-
"@ringcentral/juno-icon": "
|
|
36
|
+
"@ringcentral/juno-icon": "^1.0.0 || ^2.0.0-alpha.0 || ^3.0.0-alpha.0",
|
|
38
37
|
"dayjs": "^1.11.6",
|
|
39
38
|
"react": "^17.0.2 || ^18.0.0",
|
|
40
39
|
"react-dom": "^17.0.2 || ^18.0.0",
|