@atlaskit/rating 0.3.26 → 0.3.27
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 +6 -0
- package/package.json +8 -6
- package/tmp/api-report-tmp.d.ts +0 -62
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/rating
|
|
2
2
|
|
|
3
|
+
## 0.3.27
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#65957](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65957) [`18bda6c93ac8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18bda6c93ac8) - Migrate @atlaskit/rating to use declarative entry points
|
|
8
|
+
|
|
3
9
|
## 0.3.26
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rating",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.27",
|
|
4
4
|
"description": "An accessible rating component that can be heavily customized.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"atlaskit:src": "src/index.tsx",
|
|
25
25
|
"atlassian": {
|
|
26
26
|
"team": "Dev Portal",
|
|
27
|
-
"deprecatedAutoEntryPoints": true,
|
|
28
27
|
"releaseModel": "continuous",
|
|
29
28
|
"website": {
|
|
30
29
|
"name": "Rating"
|
|
@@ -34,8 +33,8 @@
|
|
|
34
33
|
"@atlaskit/icon": "^22.0.0",
|
|
35
34
|
"@atlaskit/motion": "^1.5.0",
|
|
36
35
|
"@atlaskit/theme": "^12.6.0",
|
|
37
|
-
"@atlaskit/tokens": "^1.
|
|
38
|
-
"@atlaskit/tooltip": "^18.
|
|
36
|
+
"@atlaskit/tokens": "^1.33.0",
|
|
37
|
+
"@atlaskit/tooltip": "^18.1.0",
|
|
39
38
|
"@atlaskit/visually-hidden": "^1.2.3",
|
|
40
39
|
"@babel/runtime": "^7.0.0",
|
|
41
40
|
"@emotion/react": "^11.7.1"
|
|
@@ -65,5 +64,8 @@
|
|
|
65
64
|
}
|
|
66
65
|
},
|
|
67
66
|
"homepage": "https://atlaskit.atlassian.com/packages/design-system/rating",
|
|
68
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
69
|
-
|
|
67
|
+
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
|
|
68
|
+
"af:exports": {
|
|
69
|
+
".": "./src/index.tsx"
|
|
70
|
+
}
|
|
71
|
+
}
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/rating"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
|
|
9
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
10
|
-
import { jsx } from '@emotion/react';
|
|
11
|
-
import { default as React_2 } from 'react';
|
|
12
|
-
import { RefAttributes } from 'react';
|
|
13
|
-
|
|
14
|
-
// @public (undocumented)
|
|
15
|
-
export interface InternalRatingProps extends RatingProps {
|
|
16
|
-
render: RatingRender;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// @public (undocumented)
|
|
20
|
-
export const Rating: ForwardRefExoticComponent<InternalRatingProps & RefAttributes<HTMLLabelElement>>;
|
|
21
|
-
|
|
22
|
-
// @public (undocumented)
|
|
23
|
-
export function RatingGroup({ groupName, onChange, defaultValue, value, testId, children, }: RatingGroupProps): jsx.JSX.Element;
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
export interface RatingGroupProps {
|
|
27
|
-
children: JSX.Element | JSX.Element[];
|
|
28
|
-
defaultValue?: string;
|
|
29
|
-
groupName?: string;
|
|
30
|
-
onChange?: (value?: string) => void;
|
|
31
|
-
testId?: string;
|
|
32
|
-
value?: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// @public (undocumented)
|
|
36
|
-
export interface RatingProps {
|
|
37
|
-
id?: string;
|
|
38
|
-
isChecked?: boolean;
|
|
39
|
-
label: string;
|
|
40
|
-
name?: string;
|
|
41
|
-
onChange?: (value?: string) => void;
|
|
42
|
-
testId?: string;
|
|
43
|
-
value: string;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// @public (undocumented)
|
|
47
|
-
export type RatingRender = (props: {
|
|
48
|
-
isChecked: boolean;
|
|
49
|
-
}) => React.ReactNode;
|
|
50
|
-
|
|
51
|
-
// @public (undocumented)
|
|
52
|
-
export const Star: React_2.ForwardRefExoticComponent<StarProps & React_2.RefAttributes<HTMLLabelElement>>;
|
|
53
|
-
|
|
54
|
-
// @public (undocumented)
|
|
55
|
-
export interface StarProps extends RatingProps {
|
|
56
|
-
color?: string;
|
|
57
|
-
size?: 'large' | 'medium' | 'small' | 'xlarge';
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// (No @packageDocumentation comment for this package)
|
|
61
|
-
|
|
62
|
-
```
|