@atlaskit/atlassian-navigation 2.2.9 → 2.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/controllers/overflow/index.js +14 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/controllers/overflow/index.js +14 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/controllers/overflow/index.js +14 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/common/styles.d.ts +125 -125
- package/dist/types-ts4.0/common/styles.d.ts +125 -125
- package/package.json +7 -5
- package/report.api.md +180 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/atlassian-navigation
|
|
2
2
|
|
|
3
|
+
## 2.2.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`fc570a62923`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc570a62923) - [ux] Fixed a regression which could prevent items from collapsing.
|
|
8
|
+
|
|
3
9
|
## 2.2.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -141,8 +141,21 @@ var useOverflowController = function useOverflowController(nodes) {
|
|
|
141
141
|
|
|
142
142
|
return;
|
|
143
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* This is not necessarily equal to `lastItemWidth` because the
|
|
146
|
+
* ```js
|
|
147
|
+
* if (wasJustLimited) {}
|
|
148
|
+
* ```
|
|
149
|
+
* branch above modifies `itemsWidths`.
|
|
150
|
+
*
|
|
151
|
+
* Using `lastItemWidth` here can cause collapsing behavior to fail,
|
|
152
|
+
* such as the issue reported in DSP-7329.
|
|
153
|
+
*/
|
|
144
154
|
|
|
145
|
-
|
|
155
|
+
|
|
156
|
+
var currentLastItemWidth = itemsWidths[itemsLimit] || 0;
|
|
157
|
+
|
|
158
|
+
if (width - currentLastItemWidth > ITEM_APPROX_MINWIDTH * 1.1 && itemsLimit < items.length) {
|
|
146
159
|
// If we have enough room to accomodate next item width we increase the limit
|
|
147
160
|
// unless it has been recently removed
|
|
148
161
|
var _nextHash = calculateHash(width, itemsLimit + 1);
|
package/dist/cjs/version.json
CHANGED
|
@@ -97,8 +97,21 @@ export const useOverflowController = nodes => {
|
|
|
97
97
|
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* This is not necessarily equal to `lastItemWidth` because the
|
|
102
|
+
* ```js
|
|
103
|
+
* if (wasJustLimited) {}
|
|
104
|
+
* ```
|
|
105
|
+
* branch above modifies `itemsWidths`.
|
|
106
|
+
*
|
|
107
|
+
* Using `lastItemWidth` here can cause collapsing behavior to fail,
|
|
108
|
+
* such as the issue reported in DSP-7329.
|
|
109
|
+
*/
|
|
100
110
|
|
|
101
|
-
|
|
111
|
+
|
|
112
|
+
const currentLastItemWidth = itemsWidths[itemsLimit] || 0;
|
|
113
|
+
|
|
114
|
+
if (width - currentLastItemWidth > ITEM_APPROX_MINWIDTH * 1.1 && itemsLimit < items.length) {
|
|
102
115
|
// If we have enough room to accomodate next item width we increase the limit
|
|
103
116
|
// unless it has been recently removed
|
|
104
117
|
const nextHash = calculateHash(width, itemsLimit + 1);
|
package/dist/es2019/version.json
CHANGED
|
@@ -116,8 +116,21 @@ export var useOverflowController = function useOverflowController(nodes) {
|
|
|
116
116
|
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* This is not necessarily equal to `lastItemWidth` because the
|
|
121
|
+
* ```js
|
|
122
|
+
* if (wasJustLimited) {}
|
|
123
|
+
* ```
|
|
124
|
+
* branch above modifies `itemsWidths`.
|
|
125
|
+
*
|
|
126
|
+
* Using `lastItemWidth` here can cause collapsing behavior to fail,
|
|
127
|
+
* such as the issue reported in DSP-7329.
|
|
128
|
+
*/
|
|
119
129
|
|
|
120
|
-
|
|
130
|
+
|
|
131
|
+
var currentLastItemWidth = itemsWidths[itemsLimit] || 0;
|
|
132
|
+
|
|
133
|
+
if (width - currentLastItemWidth > ITEM_APPROX_MINWIDTH * 1.1 && itemsLimit < items.length) {
|
|
121
134
|
// If we have enough room to accomodate next item width we increase the limit
|
|
122
135
|
// unless it has been recently removed
|
|
123
136
|
var _nextHash = calculateHash(width, itemsLimit + 1);
|
package/dist/esm/version.json
CHANGED
|
@@ -796,129 +796,129 @@ export declare const skeletonCSS: ({ mode: { skeleton } }: NavigationTheme) => {
|
|
|
796
796
|
strokeWidth?: string[] | import("csstype").StrokeWidthProperty<string | number> | import("csstype").StrokeWidthProperty<string | number>[] | undefined;
|
|
797
797
|
textAnchor?: import("csstype").TextAnchorProperty | import("csstype").TextAnchorProperty[] | undefined;
|
|
798
798
|
vectorEffect?: import("csstype").VectorEffectProperty | import("csstype").VectorEffectProperty[] | undefined;
|
|
799
|
-
":-moz-any()"?: import("@emotion/
|
|
800
|
-
":-moz-dir"?: import("@emotion/
|
|
801
|
-
":-webkit-any()"?: import("@emotion/
|
|
802
|
-
"::cue"?: import("@emotion/
|
|
803
|
-
"::cue-region"?: import("@emotion/
|
|
804
|
-
"::part"?: import("@emotion/
|
|
805
|
-
"::slotted"?: import("@emotion/
|
|
806
|
-
":dir"?: import("@emotion/
|
|
807
|
-
":has"?: import("@emotion/
|
|
808
|
-
":host"?: import("@emotion/
|
|
809
|
-
":host-context"?: import("@emotion/
|
|
810
|
-
":is"?: import("@emotion/
|
|
811
|
-
":lang"?: import("@emotion/
|
|
812
|
-
":matches()"?: import("@emotion/
|
|
813
|
-
":not"?: import("@emotion/
|
|
814
|
-
":nth-child"?: import("@emotion/
|
|
815
|
-
":nth-last-child"?: import("@emotion/
|
|
816
|
-
":nth-last-of-type"?: import("@emotion/
|
|
817
|
-
":nth-of-type"?: import("@emotion/
|
|
818
|
-
":where"?: import("@emotion/
|
|
819
|
-
":-khtml-any-link"?: import("@emotion/
|
|
820
|
-
":-moz-any-link"?: import("@emotion/
|
|
821
|
-
":-moz-focusring"?: import("@emotion/
|
|
822
|
-
":-moz-full-screen"?: import("@emotion/
|
|
823
|
-
":-moz-placeholder"?: import("@emotion/
|
|
824
|
-
":-moz-read-only"?: import("@emotion/
|
|
825
|
-
":-moz-read-write"?: import("@emotion/
|
|
826
|
-
":-moz-ui-invalid"?: import("@emotion/
|
|
827
|
-
":-moz-ui-valid"?: import("@emotion/
|
|
828
|
-
":-ms-fullscreen"?: import("@emotion/
|
|
829
|
-
":-ms-input-placeholder"?: import("@emotion/
|
|
830
|
-
":-webkit-any-link"?: import("@emotion/
|
|
831
|
-
":-webkit-full-screen"?: import("@emotion/
|
|
832
|
-
"::-moz-placeholder"?: import("@emotion/
|
|
833
|
-
"::-moz-progress-bar"?: import("@emotion/
|
|
834
|
-
"::-moz-range-progress"?: import("@emotion/
|
|
835
|
-
"::-moz-range-thumb"?: import("@emotion/
|
|
836
|
-
"::-moz-range-track"?: import("@emotion/
|
|
837
|
-
"::-moz-selection"?: import("@emotion/
|
|
838
|
-
"::-ms-backdrop"?: import("@emotion/
|
|
839
|
-
"::-ms-browse"?: import("@emotion/
|
|
840
|
-
"::-ms-check"?: import("@emotion/
|
|
841
|
-
"::-ms-clear"?: import("@emotion/
|
|
842
|
-
"::-ms-fill"?: import("@emotion/
|
|
843
|
-
"::-ms-fill-lower"?: import("@emotion/
|
|
844
|
-
"::-ms-fill-upper"?: import("@emotion/
|
|
845
|
-
"::-ms-input-placeholder"?: import("@emotion/
|
|
846
|
-
"::-ms-reveal"?: import("@emotion/
|
|
847
|
-
"::-ms-thumb"?: import("@emotion/
|
|
848
|
-
"::-ms-ticks-after"?: import("@emotion/
|
|
849
|
-
"::-ms-ticks-before"?: import("@emotion/
|
|
850
|
-
"::-ms-tooltip"?: import("@emotion/
|
|
851
|
-
"::-ms-track"?: import("@emotion/
|
|
852
|
-
"::-ms-value"?: import("@emotion/
|
|
853
|
-
"::-webkit-backdrop"?: import("@emotion/
|
|
854
|
-
"::-webkit-input-placeholder"?: import("@emotion/
|
|
855
|
-
"::-webkit-progress-bar"?: import("@emotion/
|
|
856
|
-
"::-webkit-progress-inner-value"?: import("@emotion/
|
|
857
|
-
"::-webkit-progress-value"?: import("@emotion/
|
|
858
|
-
"::-webkit-slider-runnable-track"?: import("@emotion/
|
|
859
|
-
"::-webkit-slider-thumb"?: import("@emotion/
|
|
860
|
-
"::after"?: import("@emotion/
|
|
861
|
-
"::backdrop"?: import("@emotion/
|
|
862
|
-
"::before"?: import("@emotion/
|
|
863
|
-
"::first-letter"?: import("@emotion/
|
|
864
|
-
"::first-line"?: import("@emotion/
|
|
865
|
-
"::grammar-error"?: import("@emotion/
|
|
866
|
-
"::marker"?: import("@emotion/
|
|
867
|
-
"::placeholder"?: import("@emotion/
|
|
868
|
-
"::selection"?: import("@emotion/
|
|
869
|
-
"::spelling-error"?: import("@emotion/
|
|
870
|
-
"::target-text"?: import("@emotion/
|
|
871
|
-
":active"?: import("@emotion/
|
|
872
|
-
":after"?: import("@emotion/
|
|
873
|
-
":any-link"?: import("@emotion/
|
|
874
|
-
":before"?: import("@emotion/
|
|
875
|
-
":blank"?: import("@emotion/
|
|
876
|
-
":checked"?: import("@emotion/
|
|
877
|
-
":current"?: import("@emotion/
|
|
878
|
-
":default"?: import("@emotion/
|
|
879
|
-
":defined"?: import("@emotion/
|
|
880
|
-
":disabled"?: import("@emotion/
|
|
881
|
-
":empty"?: import("@emotion/
|
|
882
|
-
":enabled"?: import("@emotion/
|
|
883
|
-
":first"?: import("@emotion/
|
|
884
|
-
":first-child"?: import("@emotion/
|
|
885
|
-
":first-letter"?: import("@emotion/
|
|
886
|
-
":first-line"?: import("@emotion/
|
|
887
|
-
":first-of-type"?: import("@emotion/
|
|
888
|
-
":focus"?: import("@emotion/
|
|
889
|
-
":focus-visible"?: import("@emotion/
|
|
890
|
-
":focus-within"?: import("@emotion/
|
|
891
|
-
":fullscreen"?: import("@emotion/
|
|
892
|
-
":future"?: import("@emotion/
|
|
893
|
-
":hover"?: import("@emotion/
|
|
894
|
-
":in-range"?: import("@emotion/
|
|
895
|
-
":indeterminate"?: import("@emotion/
|
|
896
|
-
":invalid"?: import("@emotion/
|
|
897
|
-
":last-child"?: import("@emotion/
|
|
898
|
-
":last-of-type"?: import("@emotion/
|
|
899
|
-
":left"?: import("@emotion/
|
|
900
|
-
":link"?: import("@emotion/
|
|
901
|
-
":local-link"?: import("@emotion/
|
|
902
|
-
":nth-col"?: import("@emotion/
|
|
903
|
-
":nth-last-col"?: import("@emotion/
|
|
904
|
-
":only-child"?: import("@emotion/
|
|
905
|
-
":only-of-type"?: import("@emotion/
|
|
906
|
-
":optional"?: import("@emotion/
|
|
907
|
-
":out-of-range"?: import("@emotion/
|
|
908
|
-
":past"?: import("@emotion/
|
|
909
|
-
":paused"?: import("@emotion/
|
|
910
|
-
":picture-in-picture"?: import("@emotion/
|
|
911
|
-
":placeholder-shown"?: import("@emotion/
|
|
912
|
-
":read-only"?: import("@emotion/
|
|
913
|
-
":read-write"?: import("@emotion/
|
|
914
|
-
":required"?: import("@emotion/
|
|
915
|
-
":right"?: import("@emotion/
|
|
916
|
-
":root"?: import("@emotion/
|
|
917
|
-
":scope"?: import("@emotion/
|
|
918
|
-
":target"?: import("@emotion/
|
|
919
|
-
":target-within"?: import("@emotion/
|
|
920
|
-
":user-invalid"?: import("@emotion/
|
|
921
|
-
":user-valid"?: import("@emotion/
|
|
922
|
-
":valid"?: import("@emotion/
|
|
923
|
-
":visited"?: import("@emotion/
|
|
799
|
+
":-moz-any()"?: import("@emotion/css").CSSObject | undefined;
|
|
800
|
+
":-moz-dir"?: import("@emotion/css").CSSObject | undefined;
|
|
801
|
+
":-webkit-any()"?: import("@emotion/css").CSSObject | undefined;
|
|
802
|
+
"::cue"?: import("@emotion/css").CSSObject | undefined;
|
|
803
|
+
"::cue-region"?: import("@emotion/css").CSSObject | undefined;
|
|
804
|
+
"::part"?: import("@emotion/css").CSSObject | undefined;
|
|
805
|
+
"::slotted"?: import("@emotion/css").CSSObject | undefined;
|
|
806
|
+
":dir"?: import("@emotion/css").CSSObject | undefined;
|
|
807
|
+
":has"?: import("@emotion/css").CSSObject | undefined;
|
|
808
|
+
":host"?: import("@emotion/css").CSSObject | undefined;
|
|
809
|
+
":host-context"?: import("@emotion/css").CSSObject | undefined;
|
|
810
|
+
":is"?: import("@emotion/css").CSSObject | undefined;
|
|
811
|
+
":lang"?: import("@emotion/css").CSSObject | undefined;
|
|
812
|
+
":matches()"?: import("@emotion/css").CSSObject | undefined;
|
|
813
|
+
":not"?: import("@emotion/css").CSSObject | undefined;
|
|
814
|
+
":nth-child"?: import("@emotion/css").CSSObject | undefined;
|
|
815
|
+
":nth-last-child"?: import("@emotion/css").CSSObject | undefined;
|
|
816
|
+
":nth-last-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
817
|
+
":nth-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
818
|
+
":where"?: import("@emotion/css").CSSObject | undefined;
|
|
819
|
+
":-khtml-any-link"?: import("@emotion/css").CSSObject | undefined;
|
|
820
|
+
":-moz-any-link"?: import("@emotion/css").CSSObject | undefined;
|
|
821
|
+
":-moz-focusring"?: import("@emotion/css").CSSObject | undefined;
|
|
822
|
+
":-moz-full-screen"?: import("@emotion/css").CSSObject | undefined;
|
|
823
|
+
":-moz-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
824
|
+
":-moz-read-only"?: import("@emotion/css").CSSObject | undefined;
|
|
825
|
+
":-moz-read-write"?: import("@emotion/css").CSSObject | undefined;
|
|
826
|
+
":-moz-ui-invalid"?: import("@emotion/css").CSSObject | undefined;
|
|
827
|
+
":-moz-ui-valid"?: import("@emotion/css").CSSObject | undefined;
|
|
828
|
+
":-ms-fullscreen"?: import("@emotion/css").CSSObject | undefined;
|
|
829
|
+
":-ms-input-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
830
|
+
":-webkit-any-link"?: import("@emotion/css").CSSObject | undefined;
|
|
831
|
+
":-webkit-full-screen"?: import("@emotion/css").CSSObject | undefined;
|
|
832
|
+
"::-moz-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
833
|
+
"::-moz-progress-bar"?: import("@emotion/css").CSSObject | undefined;
|
|
834
|
+
"::-moz-range-progress"?: import("@emotion/css").CSSObject | undefined;
|
|
835
|
+
"::-moz-range-thumb"?: import("@emotion/css").CSSObject | undefined;
|
|
836
|
+
"::-moz-range-track"?: import("@emotion/css").CSSObject | undefined;
|
|
837
|
+
"::-moz-selection"?: import("@emotion/css").CSSObject | undefined;
|
|
838
|
+
"::-ms-backdrop"?: import("@emotion/css").CSSObject | undefined;
|
|
839
|
+
"::-ms-browse"?: import("@emotion/css").CSSObject | undefined;
|
|
840
|
+
"::-ms-check"?: import("@emotion/css").CSSObject | undefined;
|
|
841
|
+
"::-ms-clear"?: import("@emotion/css").CSSObject | undefined;
|
|
842
|
+
"::-ms-fill"?: import("@emotion/css").CSSObject | undefined;
|
|
843
|
+
"::-ms-fill-lower"?: import("@emotion/css").CSSObject | undefined;
|
|
844
|
+
"::-ms-fill-upper"?: import("@emotion/css").CSSObject | undefined;
|
|
845
|
+
"::-ms-input-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
846
|
+
"::-ms-reveal"?: import("@emotion/css").CSSObject | undefined;
|
|
847
|
+
"::-ms-thumb"?: import("@emotion/css").CSSObject | undefined;
|
|
848
|
+
"::-ms-ticks-after"?: import("@emotion/css").CSSObject | undefined;
|
|
849
|
+
"::-ms-ticks-before"?: import("@emotion/css").CSSObject | undefined;
|
|
850
|
+
"::-ms-tooltip"?: import("@emotion/css").CSSObject | undefined;
|
|
851
|
+
"::-ms-track"?: import("@emotion/css").CSSObject | undefined;
|
|
852
|
+
"::-ms-value"?: import("@emotion/css").CSSObject | undefined;
|
|
853
|
+
"::-webkit-backdrop"?: import("@emotion/css").CSSObject | undefined;
|
|
854
|
+
"::-webkit-input-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
855
|
+
"::-webkit-progress-bar"?: import("@emotion/css").CSSObject | undefined;
|
|
856
|
+
"::-webkit-progress-inner-value"?: import("@emotion/css").CSSObject | undefined;
|
|
857
|
+
"::-webkit-progress-value"?: import("@emotion/css").CSSObject | undefined;
|
|
858
|
+
"::-webkit-slider-runnable-track"?: import("@emotion/css").CSSObject | undefined;
|
|
859
|
+
"::-webkit-slider-thumb"?: import("@emotion/css").CSSObject | undefined;
|
|
860
|
+
"::after"?: import("@emotion/css").CSSObject | undefined;
|
|
861
|
+
"::backdrop"?: import("@emotion/css").CSSObject | undefined;
|
|
862
|
+
"::before"?: import("@emotion/css").CSSObject | undefined;
|
|
863
|
+
"::first-letter"?: import("@emotion/css").CSSObject | undefined;
|
|
864
|
+
"::first-line"?: import("@emotion/css").CSSObject | undefined;
|
|
865
|
+
"::grammar-error"?: import("@emotion/css").CSSObject | undefined;
|
|
866
|
+
"::marker"?: import("@emotion/css").CSSObject | undefined;
|
|
867
|
+
"::placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
868
|
+
"::selection"?: import("@emotion/css").CSSObject | undefined;
|
|
869
|
+
"::spelling-error"?: import("@emotion/css").CSSObject | undefined;
|
|
870
|
+
"::target-text"?: import("@emotion/css").CSSObject | undefined;
|
|
871
|
+
":active"?: import("@emotion/css").CSSObject | undefined;
|
|
872
|
+
":after"?: import("@emotion/css").CSSObject | undefined;
|
|
873
|
+
":any-link"?: import("@emotion/css").CSSObject | undefined;
|
|
874
|
+
":before"?: import("@emotion/css").CSSObject | undefined;
|
|
875
|
+
":blank"?: import("@emotion/css").CSSObject | undefined;
|
|
876
|
+
":checked"?: import("@emotion/css").CSSObject | undefined;
|
|
877
|
+
":current"?: import("@emotion/css").CSSObject | undefined;
|
|
878
|
+
":default"?: import("@emotion/css").CSSObject | undefined;
|
|
879
|
+
":defined"?: import("@emotion/css").CSSObject | undefined;
|
|
880
|
+
":disabled"?: import("@emotion/css").CSSObject | undefined;
|
|
881
|
+
":empty"?: import("@emotion/css").CSSObject | undefined;
|
|
882
|
+
":enabled"?: import("@emotion/css").CSSObject | undefined;
|
|
883
|
+
":first"?: import("@emotion/css").CSSObject | undefined;
|
|
884
|
+
":first-child"?: import("@emotion/css").CSSObject | undefined;
|
|
885
|
+
":first-letter"?: import("@emotion/css").CSSObject | undefined;
|
|
886
|
+
":first-line"?: import("@emotion/css").CSSObject | undefined;
|
|
887
|
+
":first-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
888
|
+
":focus"?: import("@emotion/css").CSSObject | undefined;
|
|
889
|
+
":focus-visible"?: import("@emotion/css").CSSObject | undefined;
|
|
890
|
+
":focus-within"?: import("@emotion/css").CSSObject | undefined;
|
|
891
|
+
":fullscreen"?: import("@emotion/css").CSSObject | undefined;
|
|
892
|
+
":future"?: import("@emotion/css").CSSObject | undefined;
|
|
893
|
+
":hover"?: import("@emotion/css").CSSObject | undefined;
|
|
894
|
+
":in-range"?: import("@emotion/css").CSSObject | undefined;
|
|
895
|
+
":indeterminate"?: import("@emotion/css").CSSObject | undefined;
|
|
896
|
+
":invalid"?: import("@emotion/css").CSSObject | undefined;
|
|
897
|
+
":last-child"?: import("@emotion/css").CSSObject | undefined;
|
|
898
|
+
":last-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
899
|
+
":left"?: import("@emotion/css").CSSObject | undefined;
|
|
900
|
+
":link"?: import("@emotion/css").CSSObject | undefined;
|
|
901
|
+
":local-link"?: import("@emotion/css").CSSObject | undefined;
|
|
902
|
+
":nth-col"?: import("@emotion/css").CSSObject | undefined;
|
|
903
|
+
":nth-last-col"?: import("@emotion/css").CSSObject | undefined;
|
|
904
|
+
":only-child"?: import("@emotion/css").CSSObject | undefined;
|
|
905
|
+
":only-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
906
|
+
":optional"?: import("@emotion/css").CSSObject | undefined;
|
|
907
|
+
":out-of-range"?: import("@emotion/css").CSSObject | undefined;
|
|
908
|
+
":past"?: import("@emotion/css").CSSObject | undefined;
|
|
909
|
+
":paused"?: import("@emotion/css").CSSObject | undefined;
|
|
910
|
+
":picture-in-picture"?: import("@emotion/css").CSSObject | undefined;
|
|
911
|
+
":placeholder-shown"?: import("@emotion/css").CSSObject | undefined;
|
|
912
|
+
":read-only"?: import("@emotion/css").CSSObject | undefined;
|
|
913
|
+
":read-write"?: import("@emotion/css").CSSObject | undefined;
|
|
914
|
+
":required"?: import("@emotion/css").CSSObject | undefined;
|
|
915
|
+
":right"?: import("@emotion/css").CSSObject | undefined;
|
|
916
|
+
":root"?: import("@emotion/css").CSSObject | undefined;
|
|
917
|
+
":scope"?: import("@emotion/css").CSSObject | undefined;
|
|
918
|
+
":target"?: import("@emotion/css").CSSObject | undefined;
|
|
919
|
+
":target-within"?: import("@emotion/css").CSSObject | undefined;
|
|
920
|
+
":user-invalid"?: import("@emotion/css").CSSObject | undefined;
|
|
921
|
+
":user-valid"?: import("@emotion/css").CSSObject | undefined;
|
|
922
|
+
":valid"?: import("@emotion/css").CSSObject | undefined;
|
|
923
|
+
":visited"?: import("@emotion/css").CSSObject | undefined;
|
|
924
924
|
};
|
|
@@ -796,129 +796,129 @@ export declare const skeletonCSS: ({ mode: { skeleton } }: NavigationTheme) => {
|
|
|
796
796
|
strokeWidth?: string[] | import("csstype").StrokeWidthProperty<string | number> | import("csstype").StrokeWidthProperty<string | number>[] | undefined;
|
|
797
797
|
textAnchor?: import("csstype").TextAnchorProperty | import("csstype").TextAnchorProperty[] | undefined;
|
|
798
798
|
vectorEffect?: import("csstype").VectorEffectProperty | import("csstype").VectorEffectProperty[] | undefined;
|
|
799
|
-
":-moz-any()"?: import("@emotion/
|
|
800
|
-
":-moz-dir"?: import("@emotion/
|
|
801
|
-
":-webkit-any()"?: import("@emotion/
|
|
802
|
-
"::cue"?: import("@emotion/
|
|
803
|
-
"::cue-region"?: import("@emotion/
|
|
804
|
-
"::part"?: import("@emotion/
|
|
805
|
-
"::slotted"?: import("@emotion/
|
|
806
|
-
":dir"?: import("@emotion/
|
|
807
|
-
":has"?: import("@emotion/
|
|
808
|
-
":host"?: import("@emotion/
|
|
809
|
-
":host-context"?: import("@emotion/
|
|
810
|
-
":is"?: import("@emotion/
|
|
811
|
-
":lang"?: import("@emotion/
|
|
812
|
-
":matches()"?: import("@emotion/
|
|
813
|
-
":not"?: import("@emotion/
|
|
814
|
-
":nth-child"?: import("@emotion/
|
|
815
|
-
":nth-last-child"?: import("@emotion/
|
|
816
|
-
":nth-last-of-type"?: import("@emotion/
|
|
817
|
-
":nth-of-type"?: import("@emotion/
|
|
818
|
-
":where"?: import("@emotion/
|
|
819
|
-
":-khtml-any-link"?: import("@emotion/
|
|
820
|
-
":-moz-any-link"?: import("@emotion/
|
|
821
|
-
":-moz-focusring"?: import("@emotion/
|
|
822
|
-
":-moz-full-screen"?: import("@emotion/
|
|
823
|
-
":-moz-placeholder"?: import("@emotion/
|
|
824
|
-
":-moz-read-only"?: import("@emotion/
|
|
825
|
-
":-moz-read-write"?: import("@emotion/
|
|
826
|
-
":-moz-ui-invalid"?: import("@emotion/
|
|
827
|
-
":-moz-ui-valid"?: import("@emotion/
|
|
828
|
-
":-ms-fullscreen"?: import("@emotion/
|
|
829
|
-
":-ms-input-placeholder"?: import("@emotion/
|
|
830
|
-
":-webkit-any-link"?: import("@emotion/
|
|
831
|
-
":-webkit-full-screen"?: import("@emotion/
|
|
832
|
-
"::-moz-placeholder"?: import("@emotion/
|
|
833
|
-
"::-moz-progress-bar"?: import("@emotion/
|
|
834
|
-
"::-moz-range-progress"?: import("@emotion/
|
|
835
|
-
"::-moz-range-thumb"?: import("@emotion/
|
|
836
|
-
"::-moz-range-track"?: import("@emotion/
|
|
837
|
-
"::-moz-selection"?: import("@emotion/
|
|
838
|
-
"::-ms-backdrop"?: import("@emotion/
|
|
839
|
-
"::-ms-browse"?: import("@emotion/
|
|
840
|
-
"::-ms-check"?: import("@emotion/
|
|
841
|
-
"::-ms-clear"?: import("@emotion/
|
|
842
|
-
"::-ms-fill"?: import("@emotion/
|
|
843
|
-
"::-ms-fill-lower"?: import("@emotion/
|
|
844
|
-
"::-ms-fill-upper"?: import("@emotion/
|
|
845
|
-
"::-ms-input-placeholder"?: import("@emotion/
|
|
846
|
-
"::-ms-reveal"?: import("@emotion/
|
|
847
|
-
"::-ms-thumb"?: import("@emotion/
|
|
848
|
-
"::-ms-ticks-after"?: import("@emotion/
|
|
849
|
-
"::-ms-ticks-before"?: import("@emotion/
|
|
850
|
-
"::-ms-tooltip"?: import("@emotion/
|
|
851
|
-
"::-ms-track"?: import("@emotion/
|
|
852
|
-
"::-ms-value"?: import("@emotion/
|
|
853
|
-
"::-webkit-backdrop"?: import("@emotion/
|
|
854
|
-
"::-webkit-input-placeholder"?: import("@emotion/
|
|
855
|
-
"::-webkit-progress-bar"?: import("@emotion/
|
|
856
|
-
"::-webkit-progress-inner-value"?: import("@emotion/
|
|
857
|
-
"::-webkit-progress-value"?: import("@emotion/
|
|
858
|
-
"::-webkit-slider-runnable-track"?: import("@emotion/
|
|
859
|
-
"::-webkit-slider-thumb"?: import("@emotion/
|
|
860
|
-
"::after"?: import("@emotion/
|
|
861
|
-
"::backdrop"?: import("@emotion/
|
|
862
|
-
"::before"?: import("@emotion/
|
|
863
|
-
"::first-letter"?: import("@emotion/
|
|
864
|
-
"::first-line"?: import("@emotion/
|
|
865
|
-
"::grammar-error"?: import("@emotion/
|
|
866
|
-
"::marker"?: import("@emotion/
|
|
867
|
-
"::placeholder"?: import("@emotion/
|
|
868
|
-
"::selection"?: import("@emotion/
|
|
869
|
-
"::spelling-error"?: import("@emotion/
|
|
870
|
-
"::target-text"?: import("@emotion/
|
|
871
|
-
":active"?: import("@emotion/
|
|
872
|
-
":after"?: import("@emotion/
|
|
873
|
-
":any-link"?: import("@emotion/
|
|
874
|
-
":before"?: import("@emotion/
|
|
875
|
-
":blank"?: import("@emotion/
|
|
876
|
-
":checked"?: import("@emotion/
|
|
877
|
-
":current"?: import("@emotion/
|
|
878
|
-
":default"?: import("@emotion/
|
|
879
|
-
":defined"?: import("@emotion/
|
|
880
|
-
":disabled"?: import("@emotion/
|
|
881
|
-
":empty"?: import("@emotion/
|
|
882
|
-
":enabled"?: import("@emotion/
|
|
883
|
-
":first"?: import("@emotion/
|
|
884
|
-
":first-child"?: import("@emotion/
|
|
885
|
-
":first-letter"?: import("@emotion/
|
|
886
|
-
":first-line"?: import("@emotion/
|
|
887
|
-
":first-of-type"?: import("@emotion/
|
|
888
|
-
":focus"?: import("@emotion/
|
|
889
|
-
":focus-visible"?: import("@emotion/
|
|
890
|
-
":focus-within"?: import("@emotion/
|
|
891
|
-
":fullscreen"?: import("@emotion/
|
|
892
|
-
":future"?: import("@emotion/
|
|
893
|
-
":hover"?: import("@emotion/
|
|
894
|
-
":in-range"?: import("@emotion/
|
|
895
|
-
":indeterminate"?: import("@emotion/
|
|
896
|
-
":invalid"?: import("@emotion/
|
|
897
|
-
":last-child"?: import("@emotion/
|
|
898
|
-
":last-of-type"?: import("@emotion/
|
|
899
|
-
":left"?: import("@emotion/
|
|
900
|
-
":link"?: import("@emotion/
|
|
901
|
-
":local-link"?: import("@emotion/
|
|
902
|
-
":nth-col"?: import("@emotion/
|
|
903
|
-
":nth-last-col"?: import("@emotion/
|
|
904
|
-
":only-child"?: import("@emotion/
|
|
905
|
-
":only-of-type"?: import("@emotion/
|
|
906
|
-
":optional"?: import("@emotion/
|
|
907
|
-
":out-of-range"?: import("@emotion/
|
|
908
|
-
":past"?: import("@emotion/
|
|
909
|
-
":paused"?: import("@emotion/
|
|
910
|
-
":picture-in-picture"?: import("@emotion/
|
|
911
|
-
":placeholder-shown"?: import("@emotion/
|
|
912
|
-
":read-only"?: import("@emotion/
|
|
913
|
-
":read-write"?: import("@emotion/
|
|
914
|
-
":required"?: import("@emotion/
|
|
915
|
-
":right"?: import("@emotion/
|
|
916
|
-
":root"?: import("@emotion/
|
|
917
|
-
":scope"?: import("@emotion/
|
|
918
|
-
":target"?: import("@emotion/
|
|
919
|
-
":target-within"?: import("@emotion/
|
|
920
|
-
":user-invalid"?: import("@emotion/
|
|
921
|
-
":user-valid"?: import("@emotion/
|
|
922
|
-
":valid"?: import("@emotion/
|
|
923
|
-
":visited"?: import("@emotion/
|
|
799
|
+
":-moz-any()"?: import("@emotion/css").CSSObject | undefined;
|
|
800
|
+
":-moz-dir"?: import("@emotion/css").CSSObject | undefined;
|
|
801
|
+
":-webkit-any()"?: import("@emotion/css").CSSObject | undefined;
|
|
802
|
+
"::cue"?: import("@emotion/css").CSSObject | undefined;
|
|
803
|
+
"::cue-region"?: import("@emotion/css").CSSObject | undefined;
|
|
804
|
+
"::part"?: import("@emotion/css").CSSObject | undefined;
|
|
805
|
+
"::slotted"?: import("@emotion/css").CSSObject | undefined;
|
|
806
|
+
":dir"?: import("@emotion/css").CSSObject | undefined;
|
|
807
|
+
":has"?: import("@emotion/css").CSSObject | undefined;
|
|
808
|
+
":host"?: import("@emotion/css").CSSObject | undefined;
|
|
809
|
+
":host-context"?: import("@emotion/css").CSSObject | undefined;
|
|
810
|
+
":is"?: import("@emotion/css").CSSObject | undefined;
|
|
811
|
+
":lang"?: import("@emotion/css").CSSObject | undefined;
|
|
812
|
+
":matches()"?: import("@emotion/css").CSSObject | undefined;
|
|
813
|
+
":not"?: import("@emotion/css").CSSObject | undefined;
|
|
814
|
+
":nth-child"?: import("@emotion/css").CSSObject | undefined;
|
|
815
|
+
":nth-last-child"?: import("@emotion/css").CSSObject | undefined;
|
|
816
|
+
":nth-last-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
817
|
+
":nth-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
818
|
+
":where"?: import("@emotion/css").CSSObject | undefined;
|
|
819
|
+
":-khtml-any-link"?: import("@emotion/css").CSSObject | undefined;
|
|
820
|
+
":-moz-any-link"?: import("@emotion/css").CSSObject | undefined;
|
|
821
|
+
":-moz-focusring"?: import("@emotion/css").CSSObject | undefined;
|
|
822
|
+
":-moz-full-screen"?: import("@emotion/css").CSSObject | undefined;
|
|
823
|
+
":-moz-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
824
|
+
":-moz-read-only"?: import("@emotion/css").CSSObject | undefined;
|
|
825
|
+
":-moz-read-write"?: import("@emotion/css").CSSObject | undefined;
|
|
826
|
+
":-moz-ui-invalid"?: import("@emotion/css").CSSObject | undefined;
|
|
827
|
+
":-moz-ui-valid"?: import("@emotion/css").CSSObject | undefined;
|
|
828
|
+
":-ms-fullscreen"?: import("@emotion/css").CSSObject | undefined;
|
|
829
|
+
":-ms-input-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
830
|
+
":-webkit-any-link"?: import("@emotion/css").CSSObject | undefined;
|
|
831
|
+
":-webkit-full-screen"?: import("@emotion/css").CSSObject | undefined;
|
|
832
|
+
"::-moz-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
833
|
+
"::-moz-progress-bar"?: import("@emotion/css").CSSObject | undefined;
|
|
834
|
+
"::-moz-range-progress"?: import("@emotion/css").CSSObject | undefined;
|
|
835
|
+
"::-moz-range-thumb"?: import("@emotion/css").CSSObject | undefined;
|
|
836
|
+
"::-moz-range-track"?: import("@emotion/css").CSSObject | undefined;
|
|
837
|
+
"::-moz-selection"?: import("@emotion/css").CSSObject | undefined;
|
|
838
|
+
"::-ms-backdrop"?: import("@emotion/css").CSSObject | undefined;
|
|
839
|
+
"::-ms-browse"?: import("@emotion/css").CSSObject | undefined;
|
|
840
|
+
"::-ms-check"?: import("@emotion/css").CSSObject | undefined;
|
|
841
|
+
"::-ms-clear"?: import("@emotion/css").CSSObject | undefined;
|
|
842
|
+
"::-ms-fill"?: import("@emotion/css").CSSObject | undefined;
|
|
843
|
+
"::-ms-fill-lower"?: import("@emotion/css").CSSObject | undefined;
|
|
844
|
+
"::-ms-fill-upper"?: import("@emotion/css").CSSObject | undefined;
|
|
845
|
+
"::-ms-input-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
846
|
+
"::-ms-reveal"?: import("@emotion/css").CSSObject | undefined;
|
|
847
|
+
"::-ms-thumb"?: import("@emotion/css").CSSObject | undefined;
|
|
848
|
+
"::-ms-ticks-after"?: import("@emotion/css").CSSObject | undefined;
|
|
849
|
+
"::-ms-ticks-before"?: import("@emotion/css").CSSObject | undefined;
|
|
850
|
+
"::-ms-tooltip"?: import("@emotion/css").CSSObject | undefined;
|
|
851
|
+
"::-ms-track"?: import("@emotion/css").CSSObject | undefined;
|
|
852
|
+
"::-ms-value"?: import("@emotion/css").CSSObject | undefined;
|
|
853
|
+
"::-webkit-backdrop"?: import("@emotion/css").CSSObject | undefined;
|
|
854
|
+
"::-webkit-input-placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
855
|
+
"::-webkit-progress-bar"?: import("@emotion/css").CSSObject | undefined;
|
|
856
|
+
"::-webkit-progress-inner-value"?: import("@emotion/css").CSSObject | undefined;
|
|
857
|
+
"::-webkit-progress-value"?: import("@emotion/css").CSSObject | undefined;
|
|
858
|
+
"::-webkit-slider-runnable-track"?: import("@emotion/css").CSSObject | undefined;
|
|
859
|
+
"::-webkit-slider-thumb"?: import("@emotion/css").CSSObject | undefined;
|
|
860
|
+
"::after"?: import("@emotion/css").CSSObject | undefined;
|
|
861
|
+
"::backdrop"?: import("@emotion/css").CSSObject | undefined;
|
|
862
|
+
"::before"?: import("@emotion/css").CSSObject | undefined;
|
|
863
|
+
"::first-letter"?: import("@emotion/css").CSSObject | undefined;
|
|
864
|
+
"::first-line"?: import("@emotion/css").CSSObject | undefined;
|
|
865
|
+
"::grammar-error"?: import("@emotion/css").CSSObject | undefined;
|
|
866
|
+
"::marker"?: import("@emotion/css").CSSObject | undefined;
|
|
867
|
+
"::placeholder"?: import("@emotion/css").CSSObject | undefined;
|
|
868
|
+
"::selection"?: import("@emotion/css").CSSObject | undefined;
|
|
869
|
+
"::spelling-error"?: import("@emotion/css").CSSObject | undefined;
|
|
870
|
+
"::target-text"?: import("@emotion/css").CSSObject | undefined;
|
|
871
|
+
":active"?: import("@emotion/css").CSSObject | undefined;
|
|
872
|
+
":after"?: import("@emotion/css").CSSObject | undefined;
|
|
873
|
+
":any-link"?: import("@emotion/css").CSSObject | undefined;
|
|
874
|
+
":before"?: import("@emotion/css").CSSObject | undefined;
|
|
875
|
+
":blank"?: import("@emotion/css").CSSObject | undefined;
|
|
876
|
+
":checked"?: import("@emotion/css").CSSObject | undefined;
|
|
877
|
+
":current"?: import("@emotion/css").CSSObject | undefined;
|
|
878
|
+
":default"?: import("@emotion/css").CSSObject | undefined;
|
|
879
|
+
":defined"?: import("@emotion/css").CSSObject | undefined;
|
|
880
|
+
":disabled"?: import("@emotion/css").CSSObject | undefined;
|
|
881
|
+
":empty"?: import("@emotion/css").CSSObject | undefined;
|
|
882
|
+
":enabled"?: import("@emotion/css").CSSObject | undefined;
|
|
883
|
+
":first"?: import("@emotion/css").CSSObject | undefined;
|
|
884
|
+
":first-child"?: import("@emotion/css").CSSObject | undefined;
|
|
885
|
+
":first-letter"?: import("@emotion/css").CSSObject | undefined;
|
|
886
|
+
":first-line"?: import("@emotion/css").CSSObject | undefined;
|
|
887
|
+
":first-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
888
|
+
":focus"?: import("@emotion/css").CSSObject | undefined;
|
|
889
|
+
":focus-visible"?: import("@emotion/css").CSSObject | undefined;
|
|
890
|
+
":focus-within"?: import("@emotion/css").CSSObject | undefined;
|
|
891
|
+
":fullscreen"?: import("@emotion/css").CSSObject | undefined;
|
|
892
|
+
":future"?: import("@emotion/css").CSSObject | undefined;
|
|
893
|
+
":hover"?: import("@emotion/css").CSSObject | undefined;
|
|
894
|
+
":in-range"?: import("@emotion/css").CSSObject | undefined;
|
|
895
|
+
":indeterminate"?: import("@emotion/css").CSSObject | undefined;
|
|
896
|
+
":invalid"?: import("@emotion/css").CSSObject | undefined;
|
|
897
|
+
":last-child"?: import("@emotion/css").CSSObject | undefined;
|
|
898
|
+
":last-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
899
|
+
":left"?: import("@emotion/css").CSSObject | undefined;
|
|
900
|
+
":link"?: import("@emotion/css").CSSObject | undefined;
|
|
901
|
+
":local-link"?: import("@emotion/css").CSSObject | undefined;
|
|
902
|
+
":nth-col"?: import("@emotion/css").CSSObject | undefined;
|
|
903
|
+
":nth-last-col"?: import("@emotion/css").CSSObject | undefined;
|
|
904
|
+
":only-child"?: import("@emotion/css").CSSObject | undefined;
|
|
905
|
+
":only-of-type"?: import("@emotion/css").CSSObject | undefined;
|
|
906
|
+
":optional"?: import("@emotion/css").CSSObject | undefined;
|
|
907
|
+
":out-of-range"?: import("@emotion/css").CSSObject | undefined;
|
|
908
|
+
":past"?: import("@emotion/css").CSSObject | undefined;
|
|
909
|
+
":paused"?: import("@emotion/css").CSSObject | undefined;
|
|
910
|
+
":picture-in-picture"?: import("@emotion/css").CSSObject | undefined;
|
|
911
|
+
":placeholder-shown"?: import("@emotion/css").CSSObject | undefined;
|
|
912
|
+
":read-only"?: import("@emotion/css").CSSObject | undefined;
|
|
913
|
+
":read-write"?: import("@emotion/css").CSSObject | undefined;
|
|
914
|
+
":required"?: import("@emotion/css").CSSObject | undefined;
|
|
915
|
+
":right"?: import("@emotion/css").CSSObject | undefined;
|
|
916
|
+
":root"?: import("@emotion/css").CSSObject | undefined;
|
|
917
|
+
":scope"?: import("@emotion/css").CSSObject | undefined;
|
|
918
|
+
":target"?: import("@emotion/css").CSSObject | undefined;
|
|
919
|
+
":target-within"?: import("@emotion/css").CSSObject | undefined;
|
|
920
|
+
":user-invalid"?: import("@emotion/css").CSSObject | undefined;
|
|
921
|
+
":user-valid"?: import("@emotion/css").CSSObject | undefined;
|
|
922
|
+
":valid"?: import("@emotion/css").CSSObject | undefined;
|
|
923
|
+
":visited"?: import("@emotion/css").CSSObject | undefined;
|
|
924
924
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.10",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
"typesVersions": {
|
|
16
16
|
">=4.0 <4.5": {
|
|
17
17
|
"*": [
|
|
18
|
-
"dist/types-ts4.0/*"
|
|
18
|
+
"dist/types-ts4.0/*",
|
|
19
|
+
"dist/types-ts4.0/index.d.ts"
|
|
19
20
|
]
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
"sideEffects": false,
|
|
23
24
|
"atlaskit:src": "src/index.tsx",
|
|
24
25
|
"atlassian": {
|
|
26
|
+
"disableProductCI": true,
|
|
25
27
|
"team": "Design System Team",
|
|
26
28
|
"deprecatedAutoEntryPoints": true,
|
|
27
29
|
"releaseModel": "scheduled",
|
|
@@ -34,12 +36,12 @@
|
|
|
34
36
|
"@atlaskit/analytics-namespaced-context": "^6.5.0",
|
|
35
37
|
"@atlaskit/button": "^16.3.0",
|
|
36
38
|
"@atlaskit/ds-lib": "^2.1.0",
|
|
37
|
-
"@atlaskit/icon": "^21.
|
|
39
|
+
"@atlaskit/icon": "^21.11.0",
|
|
38
40
|
"@atlaskit/logo": "*",
|
|
39
|
-
"@atlaskit/popup": "^1.
|
|
41
|
+
"@atlaskit/popup": "^1.5.0",
|
|
40
42
|
"@atlaskit/theme": "^12.2.0",
|
|
41
43
|
"@atlaskit/tokens": "^0.10.0",
|
|
42
|
-
"@atlaskit/tooltip": "^17.
|
|
44
|
+
"@atlaskit/tooltip": "^17.6.0",
|
|
43
45
|
"@atlaskit/width-detector": "^4.0.0",
|
|
44
46
|
"@babel/runtime": "^7.0.0",
|
|
45
47
|
"@emotion/core": "^10.0.9",
|
package/report.api.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/atlassian-navigation"
|
|
1
|
+
## API Report File for "@atlaskit/atlassian-navigation".
|
|
2
2
|
|
|
3
|
-
> Do not edit this file.
|
|
3
|
+
> Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
4
6
|
|
|
5
7
|
````ts
|
|
6
8
|
/// <reference types="lodash" />
|
|
@@ -15,6 +17,7 @@ import { ElementType } from 'react';
|
|
|
15
17
|
import { ForwardRefExoticComponent } from 'react';
|
|
16
18
|
import { LogoProps } from '@atlaskit/logo';
|
|
17
19
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
20
|
+
import noop from '@atlaskit/ds-lib/noop';
|
|
18
21
|
import { Provider } from 'react';
|
|
19
22
|
import { default as React_2 } from 'react';
|
|
20
23
|
import { ReactChild } from 'react';
|
|
@@ -26,12 +29,29 @@ import { ThemeProps as ThemeProps_2 } from '@atlaskit/button';
|
|
|
26
29
|
import { ThemeTokens } from '@atlaskit/button/custom-theme-button';
|
|
27
30
|
import { ThemeTokens as ThemeTokens_2 } from '@atlaskit/button';
|
|
28
31
|
|
|
32
|
+
/**
|
|
33
|
+
* _App switcher__
|
|
34
|
+
*
|
|
35
|
+
* An AppSwitcher button that can be passed into `AtlassianNavigation`'s
|
|
36
|
+
* `renderAppSwitcher` prop.
|
|
37
|
+
*
|
|
38
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#app-switcher)
|
|
39
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
40
|
+
*/
|
|
29
41
|
export declare const AppSwitcher: React_2.ForwardRefExoticComponent<
|
|
30
42
|
BaseIconButtonProps & React_2.RefAttributes<any>
|
|
31
43
|
>;
|
|
32
44
|
|
|
33
45
|
export declare type AppSwitcherProps = BaseIconButtonProps;
|
|
34
46
|
|
|
47
|
+
/**
|
|
48
|
+
* __Atlassian navigation__
|
|
49
|
+
*
|
|
50
|
+
* The horizontal navigation component for Atlassian products.
|
|
51
|
+
*
|
|
52
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples)
|
|
53
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/examples)
|
|
54
|
+
*/
|
|
35
55
|
export declare const AtlassianNavigation: (
|
|
36
56
|
props: AtlassianNavigationProps,
|
|
37
57
|
) => JSX.Element;
|
|
@@ -157,21 +177,21 @@ declare interface BaseIconButtonProps {
|
|
|
157
177
|
*/
|
|
158
178
|
target?: string;
|
|
159
179
|
/**
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
180
|
+
* Allows for overriding the component used to render the button.
|
|
181
|
+
*
|
|
182
|
+
* This is primarily intended for compatibility with custom
|
|
183
|
+
* routing libraries when using the `href` prop.
|
|
184
|
+
*
|
|
185
|
+
* For further usage information, refer to the [documentation for button](https://atlassian.design/components/button/code).
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* ```tsx
|
|
189
|
+
* <Settings
|
|
190
|
+
* component={CustomRouterLink}
|
|
191
|
+
* href="/path/to/url"
|
|
192
|
+
* />
|
|
193
|
+
* ```
|
|
194
|
+
*/
|
|
175
195
|
component?: CustomThemeButtonProps['component'];
|
|
176
196
|
/**
|
|
177
197
|
* Handler for the mouse up event.
|
|
@@ -214,6 +234,15 @@ export declare type Colors = {
|
|
|
214
234
|
color: string;
|
|
215
235
|
};
|
|
216
236
|
|
|
237
|
+
/**
|
|
238
|
+
* _Create__
|
|
239
|
+
*
|
|
240
|
+
* A call to action button that can be passed into `AtlassianNavigation`'s
|
|
241
|
+
* `renderCreate` prop. It is shown after all other primary buttons.
|
|
242
|
+
*
|
|
243
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#create)
|
|
244
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
245
|
+
*/
|
|
217
246
|
export declare const Create: ({
|
|
218
247
|
onClick,
|
|
219
248
|
href,
|
|
@@ -248,15 +277,15 @@ export declare interface CreateProps {
|
|
|
248
277
|
*/
|
|
249
278
|
href?: string;
|
|
250
279
|
/**
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
280
|
+
* A `testId` prop is provided for specified elements,
|
|
281
|
+
* which is a unique string that appears as a data attribute `data-testid` in the rendered code,
|
|
282
|
+
* serving as a hook for automated tests.
|
|
283
|
+
*
|
|
284
|
+
* Will set these elements when defined:
|
|
285
|
+
*
|
|
286
|
+
* - Create button shown on large screen sizes - `{testId}-button`
|
|
287
|
+
* - Create icon button shown on small screen sizes - `{testId}-icon-button`
|
|
288
|
+
*/
|
|
260
289
|
testId?: string;
|
|
261
290
|
}
|
|
262
291
|
|
|
@@ -265,6 +294,14 @@ declare type CSSProperties = CSSObject & {
|
|
|
265
294
|
color: string;
|
|
266
295
|
};
|
|
267
296
|
|
|
297
|
+
/**
|
|
298
|
+
* __Custom product home__
|
|
299
|
+
*
|
|
300
|
+
* Use `CustomProductHome` to provide a custom logo and icon with URLs.
|
|
301
|
+
*
|
|
302
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#custom-product-home)
|
|
303
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
304
|
+
*/
|
|
268
305
|
export declare const CustomProductHome: (
|
|
269
306
|
props: CustomProductHomeProps,
|
|
270
307
|
) => JSX.Element;
|
|
@@ -343,6 +380,14 @@ export declare type GenerateThemeArgs = {
|
|
|
343
380
|
highlightColor: string;
|
|
344
381
|
};
|
|
345
382
|
|
|
383
|
+
/**
|
|
384
|
+
* __Help__
|
|
385
|
+
*
|
|
386
|
+
* A help button that can be passed into `AtlassianNavigation`'s `renderHelp` prop.
|
|
387
|
+
*
|
|
388
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#help)
|
|
389
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
390
|
+
*/
|
|
346
391
|
export declare const Help: React_2.ForwardRefExoticComponent<
|
|
347
392
|
BaseIconButtonProps & {
|
|
348
393
|
badge?: React_2.ComponentType<{}> | undefined;
|
|
@@ -359,6 +404,15 @@ export declare type HelpProps = BaseIconButtonProps & {
|
|
|
359
404
|
|
|
360
405
|
export declare const HORIZONTAL_GLOBAL_NAV_HEIGHT = 56;
|
|
361
406
|
|
|
407
|
+
/**
|
|
408
|
+
* __Icon button__
|
|
409
|
+
*
|
|
410
|
+
* An icon button is used to create navigation items such as Help, Settings
|
|
411
|
+
* and Notifications. You can use this component to create your own items to
|
|
412
|
+
* pass into `AtlassianNavigation`'s render props, but where possible you should
|
|
413
|
+
* rely on the defaults.
|
|
414
|
+
*
|
|
415
|
+
*/
|
|
362
416
|
export declare const IconButton: React_2.ForwardRefExoticComponent<
|
|
363
417
|
BaseIconButtonProps & {
|
|
364
418
|
icon: React_2.ReactChild | undefined;
|
|
@@ -407,6 +461,15 @@ export declare type NavigationTheme = {
|
|
|
407
461
|
mode: Mode;
|
|
408
462
|
};
|
|
409
463
|
|
|
464
|
+
/**
|
|
465
|
+
* __Notifications__
|
|
466
|
+
*
|
|
467
|
+
* A notifications button that can be passed into `AtlassianNavigation`'s
|
|
468
|
+
* `renderNotifications` prop.
|
|
469
|
+
*
|
|
470
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#notifications)
|
|
471
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
472
|
+
*/
|
|
410
473
|
export declare const Notifications: React_2.ForwardRefExoticComponent<
|
|
411
474
|
BaseIconButtonProps & {
|
|
412
475
|
badge: React_2.ComponentType<{}>;
|
|
@@ -421,6 +484,15 @@ export declare type NotificationsProps = BaseIconButtonProps & {
|
|
|
421
484
|
badge: ComponentType<{}>;
|
|
422
485
|
};
|
|
423
486
|
|
|
487
|
+
/**
|
|
488
|
+
* __Primary button__
|
|
489
|
+
*
|
|
490
|
+
* A primary button allows you to add top-level navigation items.
|
|
491
|
+
* Should be passed into `AtlassianNavigation`'s `primaryItems` prop.
|
|
492
|
+
*
|
|
493
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#dropdown-menu)
|
|
494
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
495
|
+
*/
|
|
424
496
|
export declare const PrimaryButton: ForwardRefExoticComponent<
|
|
425
497
|
Omit<CustomThemeButtonProps_2, 'appearance' | 'onClick'> & {
|
|
426
498
|
component?:
|
|
@@ -446,21 +518,21 @@ export declare type PrimaryButtonProps = Omit<
|
|
|
446
518
|
'appearance' | 'onClick'
|
|
447
519
|
> & {
|
|
448
520
|
/**
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
521
|
+
* Allows for overriding the component used to render the button.
|
|
522
|
+
*
|
|
523
|
+
* This is primarily intended for compatibility with custom
|
|
524
|
+
* routing libraries when using the `href` prop.
|
|
525
|
+
*
|
|
526
|
+
* For further usage information, refer to the [documentation for button](https://atlassian.design/components/button/code).
|
|
527
|
+
*
|
|
528
|
+
* @example
|
|
529
|
+
* ```tsx
|
|
530
|
+
* <Settings
|
|
531
|
+
* component={CustomRouterLink}
|
|
532
|
+
* href="/path/to/url"
|
|
533
|
+
* />
|
|
534
|
+
*```
|
|
535
|
+
*/
|
|
464
536
|
component?: ComponentType<AllHTMLAttributes<HTMLElement>> | ElementType<any>;
|
|
465
537
|
/**
|
|
466
538
|
* Will set the appearance of the button to look highlighted.
|
|
@@ -483,6 +555,15 @@ export declare type PrimaryButtonProps = Omit<
|
|
|
483
555
|
onClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: any) => void;
|
|
484
556
|
};
|
|
485
557
|
|
|
558
|
+
/**
|
|
559
|
+
* __Primary dropdown button__
|
|
560
|
+
*
|
|
561
|
+
* A primary dropdown button allows you to add dropdown menus to the navigation.
|
|
562
|
+
* Should be passed into `AtlassianNavigation`'s `primaryItems` prop.
|
|
563
|
+
*
|
|
564
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#button)
|
|
565
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
566
|
+
*/
|
|
486
567
|
export declare const PrimaryDropdownButton: ForwardRefExoticComponent<
|
|
487
568
|
Omit<PrimaryButtonProps, 'iconAfter'> & {
|
|
488
569
|
isHighlighted?: boolean | undefined;
|
|
@@ -511,6 +592,17 @@ export declare type PrimaryDropdownButtonProps = Omit<
|
|
|
511
592
|
tooltip?: React.ReactNode;
|
|
512
593
|
};
|
|
513
594
|
|
|
595
|
+
/**
|
|
596
|
+
* __Product home__
|
|
597
|
+
*
|
|
598
|
+
* The ProductHome component displays the product visual identity composed of:
|
|
599
|
+
* logo, icon, and optional text. Values for logo and icon are never displayed
|
|
600
|
+
* at the same time, where icon is used only when space is restricted. Should be
|
|
601
|
+
* passed into `AtlassianNavigation`'s `renderProductHome` prop.
|
|
602
|
+
*
|
|
603
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#product-home)
|
|
604
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
605
|
+
*/
|
|
514
606
|
export declare const ProductHome: ({
|
|
515
607
|
icon: Icon,
|
|
516
608
|
logo: Logo,
|
|
@@ -572,6 +664,15 @@ export declare interface ProductHomeProps {
|
|
|
572
664
|
testId?: string;
|
|
573
665
|
}
|
|
574
666
|
|
|
667
|
+
/**
|
|
668
|
+
* __Profile__
|
|
669
|
+
*
|
|
670
|
+
* A profile button which takes an icon/avatar component can be that can be
|
|
671
|
+
* passed into `AtlassianNavigation`'s `renderProfile` prop.
|
|
672
|
+
*
|
|
673
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#profile)
|
|
674
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
675
|
+
*/
|
|
575
676
|
export declare const Profile: ForwardRefExoticComponent<
|
|
576
677
|
BaseIconButtonProps & {
|
|
577
678
|
icon: ReactChild | undefined;
|
|
@@ -586,6 +687,14 @@ export declare const Profile: ForwardRefExoticComponent<
|
|
|
586
687
|
|
|
587
688
|
export declare type ProfileProps = IconButtonProps;
|
|
588
689
|
|
|
690
|
+
/**
|
|
691
|
+
* __Search__
|
|
692
|
+
*
|
|
693
|
+
* A search input that can be passed into `AtlassianNavigation`'s `renderSearch` prop.
|
|
694
|
+
*
|
|
695
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#search)
|
|
696
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
697
|
+
*/
|
|
589
698
|
export declare const Search: (props: SearchProps) => JSX.Element;
|
|
590
699
|
|
|
591
700
|
export declare type SearchCSS = {
|
|
@@ -610,12 +719,28 @@ export declare type SearchProps = BaseIconButtonProps & {
|
|
|
610
719
|
value?: string;
|
|
611
720
|
};
|
|
612
721
|
|
|
722
|
+
/**
|
|
723
|
+
* __Settings__
|
|
724
|
+
*
|
|
725
|
+
* A settings button that can be passed into `AtlassianNavigation`'s `renderSettings` prop.
|
|
726
|
+
*
|
|
727
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#settings)
|
|
728
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
729
|
+
*/
|
|
613
730
|
export declare const Settings: React_2.ForwardRefExoticComponent<
|
|
614
731
|
BaseIconButtonProps & React_2.RefAttributes<any>
|
|
615
732
|
>;
|
|
616
733
|
|
|
617
734
|
export declare type SettingsProps = BaseIconButtonProps;
|
|
618
735
|
|
|
736
|
+
/**
|
|
737
|
+
* __Sign in__
|
|
738
|
+
*
|
|
739
|
+
* A sign-in button that can be passed into `AtlassianNavigation`'s `renderSignIn` prop.
|
|
740
|
+
*
|
|
741
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#sign-in)
|
|
742
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
743
|
+
*/
|
|
619
744
|
export declare const SignIn: (props: SignInProps) => JSX.Element;
|
|
620
745
|
|
|
621
746
|
export declare type SignInProps = BaseIconButtonProps;
|
|
@@ -625,12 +750,24 @@ export declare type SkeletonCSS = CSSObject & {
|
|
|
625
750
|
opacity: number;
|
|
626
751
|
};
|
|
627
752
|
|
|
753
|
+
/**
|
|
754
|
+
* __Theme provider__
|
|
755
|
+
*
|
|
756
|
+
* A provider for the theme context used by all navigation components.
|
|
757
|
+
*/
|
|
628
758
|
export declare const ThemeProvider: Provider<NavigationTheme>;
|
|
629
759
|
|
|
760
|
+
/**
|
|
761
|
+
* __useOverFlowStatus__
|
|
762
|
+
*
|
|
763
|
+
* Returns the current context value for the nearest OverflowProvider.
|
|
764
|
+
*
|
|
765
|
+
* - [Example](https://atlassian.design/components/atlassian-navigation/examples#responsive)
|
|
766
|
+
*/
|
|
630
767
|
export declare const useOverflowStatus: () => {
|
|
631
768
|
isVisible: boolean;
|
|
632
|
-
openOverflowMenu:
|
|
633
|
-
closeOverflowMenu:
|
|
769
|
+
openOverflowMenu: typeof noop;
|
|
770
|
+
closeOverflowMenu: typeof noop;
|
|
634
771
|
};
|
|
635
772
|
|
|
636
773
|
export {};
|