@atlaskit/rating 0.3.28 → 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,16 +1,26 @@
1
1
  # @atlaskit/rating
2
2
 
3
+ ## 0.3.29
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 0.3.28
4
10
 
5
11
  ### Patch Changes
6
12
 
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`
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`
8
16
 
9
17
  ## 0.3.27
10
18
 
11
19
  ### Patch Changes
12
20
 
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
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
14
24
 
15
25
  ## 0.3.26
16
26
 
@@ -28,14 +38,19 @@
28
38
 
29
39
  ### Patch Changes
30
40
 
31
- - [#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
32
44
  - Updated dependencies
33
45
 
34
46
  ## 0.3.23
35
47
 
36
48
  ### Patch Changes
37
49
 
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
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
39
54
 
40
55
  ## 0.3.22
41
56
 
@@ -107,7 +122,9 @@
107
122
 
108
123
  ### Patch Changes
109
124
 
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"
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"
111
128
 
112
129
  ## 0.3.10
113
130
 
@@ -143,14 +160,18 @@
143
160
 
144
161
  ### Patch Changes
145
162
 
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
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
147
166
  - Updated dependencies
148
167
 
149
168
  ## 0.3.4
150
169
 
151
170
  ### Patch Changes
152
171
 
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`
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`
154
175
  - Updated dependencies
155
176
 
156
177
  ## 0.3.3
@@ -175,7 +196,9 @@
175
196
 
176
197
  ### Minor Changes
177
198
 
178
- - [#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
179
202
 
180
203
  ### Patch Changes
181
204
 
@@ -209,7 +232,9 @@
209
232
 
210
233
  ### Patch Changes
211
234
 
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
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
213
238
  - Updated dependencies
214
239
 
215
240
  ## 0.2.84
@@ -234,7 +259,9 @@
234
259
 
235
260
  ### Patch Changes
236
261
 
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.
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.
238
265
 
239
266
  ## 0.2.80
240
267
 
@@ -354,7 +381,10 @@
354
381
 
355
382
  ### Patch Changes
356
383
 
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.
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.
358
388
 
359
389
  ## 0.2.60
360
390
 
@@ -414,7 +444,9 @@
414
444
 
415
445
  ### Patch Changes
416
446
 
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.
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.
418
450
 
419
451
  ## 0.2.50
420
452
 
@@ -504,7 +536,9 @@
504
536
 
505
537
  ### Patch Changes
506
538
 
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`
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`
508
542
  - Updated dependencies
509
543
 
510
544
  ## 0.2.35
@@ -535,7 +569,9 @@
535
569
 
536
570
  ### Patch Changes
537
571
 
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`.
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`.
539
575
  - Updated dependencies
540
576
 
541
577
  ## 0.2.30
@@ -650,7 +686,9 @@
650
686
 
651
687
  ### Patch Changes
652
688
 
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.
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.
654
692
 
655
693
  ## 0.2.11
656
694
 
@@ -668,7 +706,9 @@
668
706
 
669
707
  ### Patch Changes
670
708
 
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
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
672
712
  - Updated dependencies
673
713
 
674
714
  ## 0.2.8
@@ -723,10 +763,13 @@
723
763
 
724
764
  ### Minor Changes
725
765
 
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`.
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`.
727
769
 
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.
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.
730
773
 
731
774
  ### Patch Changes
732
775
 
@@ -736,7 +779,9 @@
736
779
 
737
780
  ### Patch Changes
738
781
 
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.
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.
740
785
 
741
786
  ## 0.1.9
742
787
 
@@ -748,7 +793,9 @@
748
793
 
749
794
  ### Patch Changes
750
795
 
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`.
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`.
752
799
 
753
800
  ## 0.1.7
754
801
 
@@ -760,15 +807,20 @@
760
807
 
761
808
  ### Patch Changes
762
809
 
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
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
764
813
 
765
814
  ## 0.1.5
766
815
 
767
816
  ### Patch Changes
768
817
 
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.
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.
772
824
 
773
825
  ## 0.1.4
774
826
 
@@ -786,23 +838,30 @@
786
838
 
787
839
  ### Patch Changes
788
840
 
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
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
790
844
 
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.
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.
793
847
 
794
848
  ## 0.1.1
795
849
 
796
850
  ### Patch Changes
797
851
 
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
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
799
855
 
800
856
  ## 0.1.0
801
857
 
802
858
  ### Minor Changes
803
859
 
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
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
806
865
 
807
866
  ### Patch Changes
808
867
 
@@ -818,7 +877,9 @@
818
877
 
819
878
  ### Patch Changes
820
879
 
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
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
822
883
 
823
884
  ## 0.0.5
824
885
 
@@ -826,12 +887,17 @@
826
887
 
827
888
  - [patch][6bcf398153](https://bitbucket.org/atlassian/atlassian-frontend/commits/6bcf398153):
828
889
 
829
- 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):
830
892
 
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):
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):
835
901
  - @atlaskit/tooltip@15.2.6
836
902
  - @atlaskit/button@13.3.11
837
903
  - @atlaskit/icon@20.1.1
@@ -843,7 +909,8 @@
843
909
 
844
910
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
845
911
 
846
- 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):
847
914
 
848
915
  - @atlaskit/docs@8.3.2
849
916
  - @atlaskit/visual-regression@0.1.9
@@ -857,8 +924,10 @@
857
924
 
858
925
  ### Patch Changes
859
926
 
860
- - Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
861
- - 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):
862
931
  - @atlaskit/icon@20.0.0
863
932
  - @atlaskit/motion@0.2.1
864
933
  - @atlaskit/docs@8.3.1
@@ -869,8 +938,10 @@
869
938
 
870
939
  ### Patch Changes
871
940
 
872
- - Updated dependencies [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
873
- - 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):
874
945
  - @atlaskit/docs@8.3.0
875
946
  - @atlaskit/motion@0.2.0
876
947
 
@@ -880,18 +951,28 @@
880
951
 
881
952
  - [patch][294de8606e](https://bitbucket.org/atlassian/atlassian-frontend/commits/294de8606e):
882
953
 
883
- 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):
884
956
 
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):
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):
886
959
 
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):
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):
895
976
  - @atlaskit/icon@19.1.0
896
977
  - @atlaskit/motion@0.1.2
897
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,
@@ -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';