@atlaskit/rating 0.3.27 → 0.3.29

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,10 +1,26 @@
1
1
  # @atlaskit/rating
2
2
 
3
+ ## 0.3.29
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.3.28
10
+
11
+ ### Patch Changes
12
+
13
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
14
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
15
+ Upgrade Typescript from `4.9.5` to `5.4.2`
16
+
3
17
  ## 0.3.27
4
18
 
5
19
  ### Patch Changes
6
20
 
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
21
+ - [#65957](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65957)
22
+ [`18bda6c93ac8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18bda6c93ac8) -
23
+ Migrate @atlaskit/rating to use declarative entry points
8
24
 
9
25
  ## 0.3.26
10
26
 
@@ -22,14 +38,19 @@
22
38
 
23
39
  ### Patch Changes
24
40
 
25
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
41
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
42
+ [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
43
+ version.json
26
44
  - Updated dependencies
27
45
 
28
46
  ## 0.3.23
29
47
 
30
48
  ### Patch Changes
31
49
 
32
- - [#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
50
+ - [#36275](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36275)
51
+ [`deb497cc71b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/deb497cc71b) - Removes
52
+ caret versions from packages dependant on tokens in order to improve products ability to dedupe
53
+ versions
33
54
 
34
55
  ## 0.3.22
35
56
 
@@ -101,7 +122,9 @@
101
122
 
102
123
  ### Patch Changes
103
124
 
104
- - [#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"
125
+ - [#34968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34968)
126
+ [`f88d0921a57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88d0921a57) - Fix
127
+ deprecated import from @atlaskit/theme for "Dev Portal"
105
128
 
106
129
  ## 0.3.10
107
130
 
@@ -137,14 +160,18 @@
137
160
 
138
161
  ### Patch Changes
139
162
 
140
- - [#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
163
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
164
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
165
+ legacy types are published for TS 4.5-4.8
141
166
  - Updated dependencies
142
167
 
143
168
  ## 0.3.4
144
169
 
145
170
  ### Patch Changes
146
171
 
147
- - [#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`
172
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
173
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
174
+ Typescript from `4.5.5` to `4.9.5`
148
175
  - Updated dependencies
149
176
 
150
177
  ## 0.3.3
@@ -169,7 +196,9 @@
169
196
 
170
197
  ### Minor Changes
171
198
 
172
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
199
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
200
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
201
+ minor dependency bump
173
202
 
174
203
  ### Patch Changes
175
204
 
@@ -203,7 +232,9 @@
203
232
 
204
233
  ### Patch Changes
205
234
 
206
- - [#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
235
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
236
+ [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
237
+ remove before merging to master; dupe adf-schema via adf-utils
207
238
  - Updated dependencies
208
239
 
209
240
  ## 0.2.84
@@ -228,7 +259,9 @@
228
259
 
229
260
  ### Patch Changes
230
261
 
231
- - [#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.
262
+ - [#32161](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32161)
263
+ [`ecda00122c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecda00122c7) - Migrated
264
+ use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
232
265
 
233
266
  ## 0.2.80
234
267
 
@@ -348,7 +381,10 @@
348
381
 
349
382
  ### Patch Changes
350
383
 
351
- - [#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.
384
+ - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
385
+ [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
386
+ for this package now pass through a tokens babel plugin, removing runtime invocations of the
387
+ tokens() function and improving performance.
352
388
 
353
389
  ## 0.2.60
354
390
 
@@ -408,7 +444,9 @@
408
444
 
409
445
  ### Patch Changes
410
446
 
411
- - [#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.
447
+ - [#26786](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26786)
448
+ [`016d3039482`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d3039482) - Updates
449
+ `@emotion/core` v10 to `@emotion/react` v11. There is no expected behavior change.
412
450
 
413
451
  ## 0.2.50
414
452
 
@@ -498,7 +536,9 @@
498
536
 
499
537
  ### Patch Changes
500
538
 
501
- - [#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`
539
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
540
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
541
+ Typescript from `4.3.5` to `4.5.5`
502
542
  - Updated dependencies
503
543
 
504
544
  ## 0.2.35
@@ -529,7 +569,9 @@
529
569
 
530
570
  ### Patch Changes
531
571
 
532
- - [#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`.
572
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
573
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
574
+ Typescript from `4.2.4` to `4.3.5`.
533
575
  - Updated dependencies
534
576
 
535
577
  ## 0.2.30
@@ -644,7 +686,9 @@
644
686
 
645
687
  ### Patch Changes
646
688
 
647
- - [#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.
689
+ - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721)
690
+ [`8223591a05e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8223591a05e) - The
691
+ ownership of the @atlaskit/rating package has been moved to the Dev Portal team.
648
692
 
649
693
  ## 0.2.11
650
694
 
@@ -662,7 +706,9 @@
662
706
 
663
707
  ### Patch Changes
664
708
 
665
- - [#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
709
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
710
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
711
+ to TypeScript 4.2.4
666
712
  - Updated dependencies
667
713
 
668
714
  ## 0.2.8
@@ -717,10 +763,13 @@
717
763
 
718
764
  ### Minor Changes
719
765
 
720
- - [#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`.
766
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
767
+ [`36130d571ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36130d571ed) - [ux]
768
+ Instrumented rating with the new theming package, `@atlaskit/tokens`.
721
769
 
722
- New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
723
- These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
770
+ New tokens will be visible only in applications configured to use the new Tokens API (currently in
771
+ alpha). These changes are intended to be interoperable with the legacy theme implementation.
772
+ Legacy dark mode users should expect no visual or breaking changes.
724
773
 
725
774
  ### Patch Changes
726
775
 
@@ -730,7 +779,9 @@
730
779
 
731
780
  ### Patch Changes
732
781
 
733
- - [#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.
782
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
783
+ [`e1901ffa79d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e1901ffa79d) - Internal
784
+ changes to disable linting rules.
734
785
 
735
786
  ## 0.1.9
736
787
 
@@ -742,7 +793,9 @@
742
793
 
743
794
  ### Patch Changes
744
795
 
745
- - [#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`.
796
+ - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
797
+ [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
798
+ `@atlaskit/theme` to version `^11.3.0`.
746
799
 
747
800
  ## 0.1.7
748
801
 
@@ -754,15 +807,20 @@
754
807
 
755
808
  ### Patch Changes
756
809
 
757
- - [#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
810
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
811
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
812
+ packages using babel rather than tsc
758
813
 
759
814
  ## 0.1.5
760
815
 
761
816
  ### Patch Changes
762
817
 
763
- - [#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.
764
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
765
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
818
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
819
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
820
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
821
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
822
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
823
+ `devDependencies` to denote version that the package was built with.
766
824
 
767
825
  ## 0.1.4
768
826
 
@@ -780,23 +838,30 @@
780
838
 
781
839
  ### Patch Changes
782
840
 
783
- - [#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
841
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
842
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
843
+ to TypeScript 3.9.6 and tslib to 2.0.0
784
844
 
785
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
786
- to prevent duplicates of tslib being bundled.
845
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
846
+ upgrade to prevent duplicates of tslib being bundled.
787
847
 
788
848
  ## 0.1.1
789
849
 
790
850
  ### Patch Changes
791
851
 
792
- - [#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
852
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
853
+ [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
854
+ the theme imports to be tree-shakable
793
855
 
794
856
  ## 0.1.0
795
857
 
796
858
  ### Minor Changes
797
859
 
798
- - [#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.
799
- For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
860
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
861
+ [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
862
+ dropping IE11 support, from this version onwards there are no warranties of the package working in
863
+ IE11. For more information see:
864
+ https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
800
865
 
801
866
  ### Patch Changes
802
867
 
@@ -812,7 +877,9 @@
812
877
 
813
878
  ### Patch Changes
814
879
 
815
- - [#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
880
+ - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
881
+ [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
882
+ supporting files will no longer be published to npm
816
883
 
817
884
  ## 0.0.5
818
885
 
@@ -820,12 +887,17 @@
820
887
 
821
888
  - [patch][6bcf398153](https://bitbucket.org/atlassian/atlassian-frontend/commits/6bcf398153):
822
889
 
823
- Change imports to comply with Atlassian conventions- Updated dependencies [3940bd71f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/3940bd71f1):
890
+ Change imports to comply with Atlassian conventions- Updated dependencies
891
+ [3940bd71f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/3940bd71f1):
824
892
 
825
- - Updated dependencies [6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
826
- - Updated dependencies [449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
827
- - Updated dependencies [57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
828
- - Updated dependencies [e5eb921e97](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5eb921e97):
893
+ - Updated dependencies
894
+ [6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
895
+ - Updated dependencies
896
+ [449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
897
+ - Updated dependencies
898
+ [57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
899
+ - Updated dependencies
900
+ [e5eb921e97](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5eb921e97):
829
901
  - @atlaskit/tooltip@15.2.6
830
902
  - @atlaskit/button@13.3.11
831
903
  - @atlaskit/icon@20.1.1
@@ -837,7 +909,8 @@
837
909
 
838
910
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
839
911
 
840
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
912
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
913
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
841
914
 
842
915
  - @atlaskit/docs@8.3.2
843
916
  - @atlaskit/visual-regression@0.1.9
@@ -851,8 +924,10 @@
851
924
 
852
925
  ### Patch Changes
853
926
 
854
- - Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
855
- - Updated dependencies [166d7b1626](https://bitbucket.org/atlassian/atlassian-frontend/commits/166d7b1626):
927
+ - Updated dependencies
928
+ [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
929
+ - Updated dependencies
930
+ [166d7b1626](https://bitbucket.org/atlassian/atlassian-frontend/commits/166d7b1626):
856
931
  - @atlaskit/icon@20.0.0
857
932
  - @atlaskit/motion@0.2.1
858
933
  - @atlaskit/docs@8.3.1
@@ -863,8 +938,10 @@
863
938
 
864
939
  ### Patch Changes
865
940
 
866
- - Updated dependencies [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
867
- - Updated dependencies [1d72045e6b](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d72045e6b):
941
+ - Updated dependencies
942
+ [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
943
+ - Updated dependencies
944
+ [1d72045e6b](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d72045e6b):
868
945
  - @atlaskit/docs@8.3.0
869
946
  - @atlaskit/motion@0.2.0
870
947
 
@@ -874,18 +951,28 @@
874
951
 
875
952
  - [patch][294de8606e](https://bitbucket.org/atlassian/atlassian-frontend/commits/294de8606e):
876
953
 
877
- Bump motion package- [patch][e9a8165e5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/e9a8165e5a):
954
+ Bump motion package-
955
+ [patch][e9a8165e5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/e9a8165e5a):
878
956
 
879
- 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):
957
+ Initial release for rating. Have feedback? Raise it at [go/dst-sd](http://go/dst-sd)- Updated
958
+ dependencies [28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
880
959
 
881
- - Updated dependencies [6fecf8ec66](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fecf8ec66):
882
- - Updated dependencies [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
883
- - Updated dependencies [f214e55182](https://bitbucket.org/atlassian/atlassian-frontend/commits/f214e55182):
884
- - Updated dependencies [98342c8dca](https://bitbucket.org/atlassian/atlassian-frontend/commits/98342c8dca):
885
- - Updated dependencies [0aebb4f6ff](https://bitbucket.org/atlassian/atlassian-frontend/commits/0aebb4f6ff):
886
- - Updated dependencies [8161987117](https://bitbucket.org/atlassian/atlassian-frontend/commits/8161987117):
887
- - Updated dependencies [38cde500c7](https://bitbucket.org/atlassian/atlassian-frontend/commits/38cde500c7):
888
- - Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
960
+ - Updated dependencies
961
+ [6fecf8ec66](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fecf8ec66):
962
+ - Updated dependencies
963
+ [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
964
+ - Updated dependencies
965
+ [f214e55182](https://bitbucket.org/atlassian/atlassian-frontend/commits/f214e55182):
966
+ - Updated dependencies
967
+ [98342c8dca](https://bitbucket.org/atlassian/atlassian-frontend/commits/98342c8dca):
968
+ - Updated dependencies
969
+ [0aebb4f6ff](https://bitbucket.org/atlassian/atlassian-frontend/commits/0aebb4f6ff):
970
+ - Updated dependencies
971
+ [8161987117](https://bitbucket.org/atlassian/atlassian-frontend/commits/8161987117):
972
+ - Updated dependencies
973
+ [38cde500c7](https://bitbucket.org/atlassian/atlassian-frontend/commits/38cde500c7):
974
+ - Updated dependencies
975
+ [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
889
976
  - @atlaskit/icon@19.1.0
890
977
  - @atlaskit/motion@0.1.2
891
978
  - @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,
@@ -14,8 +14,8 @@ var _starFilled = _interopRequireDefault(require("@atlaskit/icon/glyph/star-fill
14
14
  var _colors = require("@atlaskit/theme/colors");
15
15
  var _rating = _interopRequireDefault(require("./rating"));
16
16
  var _excluded = ["size", "color"];
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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; }
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';