@atlaskit/rating 0.3.28 → 1.0.0

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 CHANGED
@@ -1,16 +1,34 @@
1
1
  # @atlaskit/rating
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#139574](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139574)
8
+ [`ed3b5e8faa7e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ed3b5e8faa7e0) -
9
+ Added react 18 support
10
+
11
+ ## 0.3.29
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 0.3.28
4
18
 
5
19
  ### Patch Changes
6
20
 
7
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
21
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
22
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
23
+ Upgrade Typescript from `4.9.5` to `5.4.2`
8
24
 
9
25
  ## 0.3.27
10
26
 
11
27
  ### Patch Changes
12
28
 
13
- - [#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
29
+ - [#65957](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65957)
30
+ [`18bda6c93ac8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18bda6c93ac8) -
31
+ Migrate @atlaskit/rating to use declarative entry points
14
32
 
15
33
  ## 0.3.26
16
34
 
@@ -28,14 +46,19 @@
28
46
 
29
47
  ### Patch Changes
30
48
 
31
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
49
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
50
+ [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
51
+ version.json
32
52
  - Updated dependencies
33
53
 
34
54
  ## 0.3.23
35
55
 
36
56
  ### Patch Changes
37
57
 
38
- - [#36275](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36275) [`deb497cc71b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/deb497cc71b) - Removes caret versions from packages dependant on tokens in order to improve products ability to dedupe versions
58
+ - [#36275](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36275)
59
+ [`deb497cc71b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/deb497cc71b) - Removes
60
+ caret versions from packages dependant on tokens in order to improve products ability to dedupe
61
+ versions
39
62
 
40
63
  ## 0.3.22
41
64
 
@@ -107,7 +130,9 @@
107
130
 
108
131
  ### Patch Changes
109
132
 
110
- - [#34968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34968) [`f88d0921a57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88d0921a57) - Fix deprecated import from @atlaskit/theme for "Dev Portal"
133
+ - [#34968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34968)
134
+ [`f88d0921a57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88d0921a57) - Fix
135
+ deprecated import from @atlaskit/theme for "Dev Portal"
111
136
 
112
137
  ## 0.3.10
113
138
 
@@ -143,14 +168,18 @@
143
168
 
144
169
  ### Patch Changes
145
170
 
146
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
171
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
172
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
173
+ legacy types are published for TS 4.5-4.8
147
174
  - Updated dependencies
148
175
 
149
176
  ## 0.3.4
150
177
 
151
178
  ### Patch Changes
152
179
 
153
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
180
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
181
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
182
+ Typescript from `4.5.5` to `4.9.5`
154
183
  - Updated dependencies
155
184
 
156
185
  ## 0.3.3
@@ -175,7 +204,9 @@
175
204
 
176
205
  ### Minor Changes
177
206
 
178
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
207
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
208
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
209
+ minor dependency bump
179
210
 
180
211
  ### Patch Changes
181
212
 
@@ -209,7 +240,9 @@
209
240
 
210
241
  ### Patch Changes
211
242
 
212
- - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
243
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
244
+ [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
245
+ remove before merging to master; dupe adf-schema via adf-utils
213
246
  - Updated dependencies
214
247
 
215
248
  ## 0.2.84
@@ -234,7 +267,9 @@
234
267
 
235
268
  ### Patch Changes
236
269
 
237
- - [#32161](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32161) [`ecda00122c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecda00122c7) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
270
+ - [#32161](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32161)
271
+ [`ecda00122c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecda00122c7) - Migrated
272
+ use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
238
273
 
239
274
  ## 0.2.80
240
275
 
@@ -354,7 +389,10 @@
354
389
 
355
390
  ### Patch Changes
356
391
 
357
- - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324) [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
392
+ - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
393
+ [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
394
+ for this package now pass through a tokens babel plugin, removing runtime invocations of the
395
+ tokens() function and improving performance.
358
396
 
359
397
  ## 0.2.60
360
398
 
@@ -414,7 +452,9 @@
414
452
 
415
453
  ### Patch Changes
416
454
 
417
- - [#26786](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26786) [`016d3039482`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d3039482) - Updates `@emotion/core` v10 to `@emotion/react` v11. There is no expected behavior change.
455
+ - [#26786](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26786)
456
+ [`016d3039482`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d3039482) - Updates
457
+ `@emotion/core` v10 to `@emotion/react` v11. There is no expected behavior change.
418
458
 
419
459
  ## 0.2.50
420
460
 
@@ -504,7 +544,9 @@
504
544
 
505
545
  ### Patch Changes
506
546
 
507
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
547
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
548
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
549
+ Typescript from `4.3.5` to `4.5.5`
508
550
  - Updated dependencies
509
551
 
510
552
  ## 0.2.35
@@ -535,7 +577,9 @@
535
577
 
536
578
  ### Patch Changes
537
579
 
538
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
580
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
581
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
582
+ Typescript from `4.2.4` to `4.3.5`.
539
583
  - Updated dependencies
540
584
 
541
585
  ## 0.2.30
@@ -650,7 +694,9 @@
650
694
 
651
695
  ### Patch Changes
652
696
 
653
- - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`8223591a05e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8223591a05e) - The ownership of the @atlaskit/rating package has been moved to the Dev Portal team.
697
+ - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721)
698
+ [`8223591a05e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8223591a05e) - The
699
+ ownership of the @atlaskit/rating package has been moved to the Dev Portal team.
654
700
 
655
701
  ## 0.2.11
656
702
 
@@ -668,7 +714,9 @@
668
714
 
669
715
  ### Patch Changes
670
716
 
671
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
717
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
718
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
719
+ to TypeScript 4.2.4
672
720
  - Updated dependencies
673
721
 
674
722
  ## 0.2.8
@@ -723,10 +771,13 @@
723
771
 
724
772
  ### Minor Changes
725
773
 
726
- - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`36130d571ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36130d571ed) - [ux] Instrumented rating with the new theming package, `@atlaskit/tokens`.
774
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
775
+ [`36130d571ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36130d571ed) - [ux]
776
+ Instrumented rating with the new theming package, `@atlaskit/tokens`.
727
777
 
728
- New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
729
- These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
778
+ New tokens will be visible only in applications configured to use the new Tokens API (currently in
779
+ alpha). These changes are intended to be interoperable with the legacy theme implementation.
780
+ Legacy dark mode users should expect no visual or breaking changes.
730
781
 
731
782
  ### Patch Changes
732
783
 
@@ -736,7 +787,9 @@
736
787
 
737
788
  ### Patch Changes
738
789
 
739
- - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`e1901ffa79d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e1901ffa79d) - Internal changes to disable linting rules.
790
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
791
+ [`e1901ffa79d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e1901ffa79d) - Internal
792
+ changes to disable linting rules.
740
793
 
741
794
  ## 0.1.9
742
795
 
@@ -748,7 +801,9 @@
748
801
 
749
802
  ### Patch Changes
750
803
 
751
- - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
804
+ - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
805
+ [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
806
+ `@atlaskit/theme` to version `^11.3.0`.
752
807
 
753
808
  ## 0.1.7
754
809
 
@@ -760,15 +815,20 @@
760
815
 
761
816
  ### Patch Changes
762
817
 
763
- - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
818
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
819
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
820
+ packages using babel rather than tsc
764
821
 
765
822
  ## 0.1.5
766
823
 
767
824
  ### Patch Changes
768
825
 
769
- - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
770
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
771
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
826
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
827
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
828
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
829
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
830
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
831
+ `devDependencies` to denote version that the package was built with.
772
832
 
773
833
  ## 0.1.4
774
834
 
@@ -786,23 +846,30 @@
786
846
 
787
847
  ### Patch Changes
788
848
 
789
- - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
849
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
850
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
851
+ to TypeScript 3.9.6 and tslib to 2.0.0
790
852
 
791
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
792
- to prevent duplicates of tslib being bundled.
853
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
854
+ upgrade to prevent duplicates of tslib being bundled.
793
855
 
794
856
  ## 0.1.1
795
857
 
796
858
  ### Patch Changes
797
859
 
798
- - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
860
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
861
+ [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
862
+ the theme imports to be tree-shakable
799
863
 
800
864
  ## 0.1.0
801
865
 
802
866
  ### Minor Changes
803
867
 
804
- - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
805
- For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
868
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
869
+ [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
870
+ dropping IE11 support, from this version onwards there are no warranties of the package working in
871
+ IE11. For more information see:
872
+ https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
806
873
 
807
874
  ### Patch Changes
808
875
 
@@ -818,7 +885,9 @@
818
885
 
819
886
  ### Patch Changes
820
887
 
821
- - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
888
+ - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
889
+ [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
890
+ supporting files will no longer be published to npm
822
891
 
823
892
  ## 0.0.5
824
893
 
@@ -826,12 +895,17 @@
826
895
 
827
896
  - [patch][6bcf398153](https://bitbucket.org/atlassian/atlassian-frontend/commits/6bcf398153):
828
897
 
829
- Change imports to comply with Atlassian conventions- Updated dependencies [3940bd71f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/3940bd71f1):
898
+ Change imports to comply with Atlassian conventions- Updated dependencies
899
+ [3940bd71f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/3940bd71f1):
830
900
 
831
- - Updated dependencies [6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
832
- - Updated dependencies [449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
833
- - Updated dependencies [57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
834
- - Updated dependencies [e5eb921e97](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5eb921e97):
901
+ - Updated dependencies
902
+ [6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
903
+ - Updated dependencies
904
+ [449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
905
+ - Updated dependencies
906
+ [57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
907
+ - Updated dependencies
908
+ [e5eb921e97](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5eb921e97):
835
909
  - @atlaskit/tooltip@15.2.6
836
910
  - @atlaskit/button@13.3.11
837
911
  - @atlaskit/icon@20.1.1
@@ -843,7 +917,8 @@
843
917
 
844
918
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
845
919
 
846
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
920
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
921
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
847
922
 
848
923
  - @atlaskit/docs@8.3.2
849
924
  - @atlaskit/visual-regression@0.1.9
@@ -857,8 +932,10 @@
857
932
 
858
933
  ### Patch Changes
859
934
 
860
- - Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
861
- - Updated dependencies [166d7b1626](https://bitbucket.org/atlassian/atlassian-frontend/commits/166d7b1626):
935
+ - Updated dependencies
936
+ [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
937
+ - Updated dependencies
938
+ [166d7b1626](https://bitbucket.org/atlassian/atlassian-frontend/commits/166d7b1626):
862
939
  - @atlaskit/icon@20.0.0
863
940
  - @atlaskit/motion@0.2.1
864
941
  - @atlaskit/docs@8.3.1
@@ -869,8 +946,10 @@
869
946
 
870
947
  ### Patch Changes
871
948
 
872
- - Updated dependencies [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
873
- - Updated dependencies [1d72045e6b](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d72045e6b):
949
+ - Updated dependencies
950
+ [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
951
+ - Updated dependencies
952
+ [1d72045e6b](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d72045e6b):
874
953
  - @atlaskit/docs@8.3.0
875
954
  - @atlaskit/motion@0.2.0
876
955
 
@@ -880,18 +959,28 @@
880
959
 
881
960
  - [patch][294de8606e](https://bitbucket.org/atlassian/atlassian-frontend/commits/294de8606e):
882
961
 
883
- Bump motion package- [patch][e9a8165e5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/e9a8165e5a):
962
+ Bump motion package-
963
+ [patch][e9a8165e5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/e9a8165e5a):
884
964
 
885
- Initial release for rating. Have feedback? Raise it at [go/dst-sd](http://go/dst-sd)- Updated dependencies [28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
965
+ Initial release for rating. Have feedback? Raise it at [go/dst-sd](http://go/dst-sd)- Updated
966
+ dependencies [28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
886
967
 
887
- - Updated dependencies [6fecf8ec66](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fecf8ec66):
888
- - Updated dependencies [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
889
- - Updated dependencies [f214e55182](https://bitbucket.org/atlassian/atlassian-frontend/commits/f214e55182):
890
- - Updated dependencies [98342c8dca](https://bitbucket.org/atlassian/atlassian-frontend/commits/98342c8dca):
891
- - Updated dependencies [0aebb4f6ff](https://bitbucket.org/atlassian/atlassian-frontend/commits/0aebb4f6ff):
892
- - Updated dependencies [8161987117](https://bitbucket.org/atlassian/atlassian-frontend/commits/8161987117):
893
- - Updated dependencies [38cde500c7](https://bitbucket.org/atlassian/atlassian-frontend/commits/38cde500c7):
894
- - Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
968
+ - Updated dependencies
969
+ [6fecf8ec66](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fecf8ec66):
970
+ - Updated dependencies
971
+ [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
972
+ - Updated dependencies
973
+ [f214e55182](https://bitbucket.org/atlassian/atlassian-frontend/commits/f214e55182):
974
+ - Updated dependencies
975
+ [98342c8dca](https://bitbucket.org/atlassian/atlassian-frontend/commits/98342c8dca):
976
+ - Updated dependencies
977
+ [0aebb4f6ff](https://bitbucket.org/atlassian/atlassian-frontend/commits/0aebb4f6ff):
978
+ - Updated dependencies
979
+ [8161987117](https://bitbucket.org/atlassian/atlassian-frontend/commits/8161987117):
980
+ - Updated dependencies
981
+ [38cde500c7](https://bitbucket.org/atlassian/atlassian-frontend/commits/38cde500c7):
982
+ - Updated dependencies
983
+ [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
895
984
  - @atlaskit/icon@19.1.0
896
985
  - @atlaskit/motion@0.1.2
897
986
  - @atlaskit/theme@9.5.0
@@ -3,17 +3,13 @@ import React, { useState } from 'react';
3
3
  import { RatingGroup, Star } from '../src';
4
4
 
5
5
  export default () => {
6
- const [value, setValue] = useState<string | undefined>('two');
6
+ const [value, setValue] = useState<string | undefined>('two');
7
7
 
8
- return (
9
- <RatingGroup
10
- value={value}
11
- onChange={setValue}
12
- groupName="rating--controlled"
13
- >
14
- <Star label="Terrible" value="one" />
15
- <Star label="Meh" value="two" />
16
- <Star label="Good" value="three" />
17
- </RatingGroup>
18
- );
8
+ return (
9
+ <RatingGroup value={value} onChange={setValue} groupName="rating--controlled">
10
+ <Star label="Terrible" value="one" />
11
+ <Star label="Meh" value="two" />
12
+ <Star label="Good" value="three" />
13
+ </RatingGroup>
14
+ );
19
15
  };
@@ -5,14 +5,18 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = RatingGroup;
8
- var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
9
  var _react = require("react");
11
10
  var _react2 = require("@emotion/react");
12
11
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
13
- var _templateObject;
14
12
  /* eslint-disable @atlaskit/design-system/use-visually-hidden */
15
- /** @jsx jsx */
13
+ /**
14
+ * @jsxRuntime classic
15
+ * @jsx jsx
16
+ */
17
+
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
+
16
20
  function RatingGroup(_ref) {
17
21
  var _ref$groupName = _ref.groupName,
18
22
  groupName = _ref$groupName === void 0 ? 'ak--rating-group' : _ref$groupName,
@@ -42,8 +46,37 @@ function RatingGroup(_ref) {
42
46
  console.error("@atlaskit/rating\nDon't use \"defaultValue\" with \"value\" you're trying to mix uncontrolled and controlled modes.\nUse \"defaultValue\" or \"value\" happy days :-).\n");
43
47
  }
44
48
  return (0, _react2.jsx)("div", {
45
- "data-testid": testId && "".concat(testId, "--root"),
46
- css: (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n /* Because some children are inline-block we make the font-size zero to eliminate the implicit space between them. */\n font-size: 0;\n\n /* This implementation does some interesting tricks to keep it flowing LTR and ensuring accessibility. */\n /* Instead of it starting in an empty state - it starts filled - and then uses the CSS sibling select \"~\" */\n /* to then display the empty state for the star rating. */\n\n // By default, filled in icon is shown\n [data-rating-icon-checked] {\n display: inline-block;\n }\n\n // By default, empty icon is NOT shown\n [data-rating-icon] {\n display: none;\n }\n\n label:hover\n ~ label\n [data-rating-icon-checked][data-rating-icon-checked],\n [data-testid='input-container-checked']\n ~ label\n [data-rating-icon-checked] {\n display: none;\n }\n\n label:hover ~ label [data-rating-icon][data-rating-icon],\n [data-testid='input-container-checked'] ~ label [data-rating-icon] {\n display: inline-block;\n }\n\n /* When hovering reset all elements back to filled state. */\n &:hover [data-rating-icon-checked][data-rating-icon-checked] {\n display: inline-block;\n }\n\n &:hover [data-rating-icon][data-rating-icon] {\n display: none;\n }\n "])))
49
+ "data-testid": testId && "".concat(testId, "--root")
50
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
51
+ ,
52
+ css: (0, _react2.css)({
53
+ display: 'inline-flex',
54
+ fontSize: 0,
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
56
+ '[data-rating-icon-checked]': {
57
+ display: 'inline-block'
58
+ },
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
60
+ '[data-rating-icon]': {
61
+ display: 'none'
62
+ },
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
64
+ "label:hover ~ label [data-rating-icon-checked][data-rating-icon-checked], [data-testid='input-container-checked'] ~ label [data-rating-icon-checked]": {
65
+ display: 'none'
66
+ },
67
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
68
+ "label:hover ~ label [data-rating-icon][data-rating-icon], [data-testid='input-container-checked'] ~ label [data-rating-icon]": {
69
+ display: 'inline-block'
70
+ },
71
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
72
+ '&:hover [data-rating-icon-checked][data-rating-icon-checked]': {
73
+ display: 'inline-block'
74
+ },
75
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
76
+ '&:hover [data-rating-icon][data-rating-icon]': {
77
+ display: 'none'
78
+ }
79
+ })
47
80
  }, !firstSelectionMade && (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)("label", {
48
81
  htmlFor: "".concat(groupName, "--empty")
49
82
  }), (0, _react2.jsx)(_visuallyHidden.default, {
@@ -14,7 +14,11 @@ var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
14
14
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
15
15
  var _excluded = ["isChecked", "name", "testId", "label", "id", "value", "onChange", "render"];
16
16
  /* eslint-disable @atlaskit/design-system/use-visually-hidden */
17
- /** @jsx jsx */
17
+ /**
18
+ * @jsxRuntime classic
19
+ * @jsx jsx
20
+ */
21
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
22
  var Rating = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
19
23
  var isChecked = _ref.isChecked,
20
24
  name = _ref.name,
@@ -15,7 +15,7 @@ var _colors = require("@atlaskit/theme/colors");
15
15
  var _rating = _interopRequireDefault(require("./rating"));
16
16
  var _excluded = ["size", "color"];
17
17
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
19
  var Star = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
20
20
  var _ref$size = _ref.size,
21
21
  size = _ref$size === void 0 ? 'large' : _ref$size,
@@ -1,6 +1,11 @@
1
1
  /* eslint-disable @atlaskit/design-system/use-visually-hidden */
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
  import { Children, cloneElement, Fragment, useState } from 'react';
7
+
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
9
  import { css, jsx } from '@emotion/react';
5
10
  import VisuallyHidden from '@atlaskit/visually-hidden';
6
11
  export default function RatingGroup({
@@ -29,49 +34,37 @@ Use "defaultValue" or "value" happy days :-).
29
34
  `);
30
35
  }
31
36
  return jsx("div", {
32
- "data-testid": testId && `${testId}--root`,
33
- css: css`
34
- display: inline-flex;
35
- /* Because some children are inline-block we make the font-size zero to eliminate the implicit space between them. */
36
- font-size: 0;
37
-
38
- /* This implementation does some interesting tricks to keep it flowing LTR and ensuring accessibility. */
39
- /* Instead of it starting in an empty state - it starts filled - and then uses the CSS sibling select "~" */
40
- /* to then display the empty state for the star rating. */
41
-
42
- // By default, filled in icon is shown
43
- [data-rating-icon-checked] {
44
- display: inline-block;
45
- }
46
-
47
- // By default, empty icon is NOT shown
48
- [data-rating-icon] {
49
- display: none;
50
- }
51
-
52
- label:hover
53
- ~ label
54
- [data-rating-icon-checked][data-rating-icon-checked],
55
- [data-testid='input-container-checked']
56
- ~ label
57
- [data-rating-icon-checked] {
58
- display: none;
59
- }
60
-
61
- label:hover ~ label [data-rating-icon][data-rating-icon],
62
- [data-testid='input-container-checked'] ~ label [data-rating-icon] {
63
- display: inline-block;
64
- }
65
-
66
- /* When hovering reset all elements back to filled state. */
67
- &:hover [data-rating-icon-checked][data-rating-icon-checked] {
68
- display: inline-block;
69
- }
70
-
71
- &:hover [data-rating-icon][data-rating-icon] {
72
- display: none;
73
- }
74
- `
37
+ "data-testid": testId && `${testId}--root`
38
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
39
+ ,
40
+ css: css({
41
+ display: 'inline-flex',
42
+ fontSize: 0,
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
44
+ '[data-rating-icon-checked]': {
45
+ display: 'inline-block'
46
+ },
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
48
+ '[data-rating-icon]': {
49
+ display: 'none'
50
+ },
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
52
+ "label:hover ~ label [data-rating-icon-checked][data-rating-icon-checked], [data-testid='input-container-checked'] ~ label [data-rating-icon-checked]": {
53
+ display: 'none'
54
+ },
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
56
+ "label:hover ~ label [data-rating-icon][data-rating-icon], [data-testid='input-container-checked'] ~ label [data-rating-icon]": {
57
+ display: 'inline-block'
58
+ },
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
60
+ '&:hover [data-rating-icon-checked][data-rating-icon-checked]': {
61
+ display: 'inline-block'
62
+ },
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
64
+ '&:hover [data-rating-icon][data-rating-icon]': {
65
+ display: 'none'
66
+ }
67
+ })
75
68
  }, !firstSelectionMade && jsx(Fragment, null, jsx("label", {
76
69
  htmlFor: `${groupName}--empty`
77
70
  }), jsx(VisuallyHidden, {
@@ -1,7 +1,12 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /* eslint-disable @atlaskit/design-system/use-visually-hidden */
3
- /** @jsx jsx */
3
+ /**
4
+ * @jsxRuntime classic
5
+ * @jsx jsx
6
+ */
4
7
  import { forwardRef, Fragment, useCallback } from 'react';
8
+
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
10
  import { jsx } from '@emotion/react';
6
11
  import { easeInOut, smallDurationMs } from '@atlaskit/motion';
7
12
  import Tooltip from '@atlaskit/tooltip';