@atlaskit/atlassian-navigation 2.2.8 → 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.
Files changed (84) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/controllers/overflow/index.js +14 -1
  3. package/dist/cjs/version.json +1 -1
  4. package/dist/es2019/controllers/overflow/index.js +14 -1
  5. package/dist/es2019/version.json +1 -1
  6. package/dist/esm/controllers/overflow/index.js +14 -1
  7. package/dist/esm/version.json +1 -1
  8. package/dist/types/common/styles.d.ts +126 -126
  9. package/dist/types-ts4.0/common/constants.d.ts +6 -0
  10. package/dist/types-ts4.0/common/styles.d.ts +924 -0
  11. package/dist/types-ts4.0/components/AppSwitcher/index.d.ts +14 -0
  12. package/dist/types-ts4.0/components/AppSwitcher/types.d.ts +2 -0
  13. package/dist/types-ts4.0/components/AtlassianNavigation/index.d.ts +12 -0
  14. package/dist/types-ts4.0/components/AtlassianNavigation/skeleton.d.ts +17 -0
  15. package/dist/types-ts4.0/components/AtlassianNavigation/types.d.ts +107 -0
  16. package/dist/types-ts4.0/components/BadgeContainer/index.d.ts +3 -0
  17. package/dist/types-ts4.0/components/BadgeContainer/types.d.ts +6 -0
  18. package/dist/types-ts4.0/components/Create/index.d.ts +13 -0
  19. package/dist/types-ts4.0/components/Create/skeleton.d.ts +2 -0
  20. package/dist/types-ts4.0/components/Create/styles.d.ts +3 -0
  21. package/dist/types-ts4.0/components/Create/types.d.ts +35 -0
  22. package/dist/types-ts4.0/components/Help/index.d.ts +13 -0
  23. package/dist/types-ts4.0/components/Help/types.d.ts +9 -0
  24. package/dist/types-ts4.0/components/IconButton/index.d.ts +14 -0
  25. package/dist/types-ts4.0/components/IconButton/skeleton.d.ts +3 -0
  26. package/dist/types-ts4.0/components/IconButton/styles.d.ts +3 -0
  27. package/dist/types-ts4.0/components/IconButton/types.d.ts +100 -0
  28. package/dist/types-ts4.0/components/Notifications/index.d.ts +14 -0
  29. package/dist/types-ts4.0/components/Notifications/types.d.ts +9 -0
  30. package/dist/types-ts4.0/components/PrimaryButton/index.d.ts +18 -0
  31. package/dist/types-ts4.0/components/PrimaryButton/skeleton.d.ts +4 -0
  32. package/dist/types-ts4.0/components/PrimaryButton/styles.d.ts +3 -0
  33. package/dist/types-ts4.0/components/PrimaryButton/types.d.ts +43 -0
  34. package/dist/types-ts4.0/components/PrimaryDropdownButton/index.d.ts +16 -0
  35. package/dist/types-ts4.0/components/PrimaryDropdownButton/types.d.ts +18 -0
  36. package/dist/types-ts4.0/components/PrimaryItemsContainer/index.d.ts +6 -0
  37. package/dist/types-ts4.0/components/PrimaryItemsContainer/skeleton.d.ts +3 -0
  38. package/dist/types-ts4.0/components/PrimaryItemsContainer/types.d.ts +10 -0
  39. package/dist/types-ts4.0/components/ProductHome/custom-product-home.d.ts +12 -0
  40. package/dist/types-ts4.0/components/ProductHome/index.d.ts +2 -0
  41. package/dist/types-ts4.0/components/ProductHome/product-home.d.ts +15 -0
  42. package/dist/types-ts4.0/components/ProductHome/skeleton.d.ts +5 -0
  43. package/dist/types-ts4.0/components/ProductHome/types.d.ts +100 -0
  44. package/dist/types-ts4.0/components/ProductHome/utils.d.ts +1 -0
  45. package/dist/types-ts4.0/components/Profile/index.d.ts +17 -0
  46. package/dist/types-ts4.0/components/Profile/skeleton.d.ts +2 -0
  47. package/dist/types-ts4.0/components/Profile/types.d.ts +2 -0
  48. package/dist/types-ts4.0/components/Search/index.d.ts +12 -0
  49. package/dist/types-ts4.0/components/Search/skeleton.d.ts +2 -0
  50. package/dist/types-ts4.0/components/Search/types.d.ts +16 -0
  51. package/dist/types-ts4.0/components/Settings/index.d.ts +11 -0
  52. package/dist/types-ts4.0/components/Settings/types.d.ts +2 -0
  53. package/dist/types-ts4.0/components/SignIn/index.d.ts +12 -0
  54. package/dist/types-ts4.0/components/SignIn/skeleton.d.ts +2 -0
  55. package/dist/types-ts4.0/components/SignIn/types.d.ts +2 -0
  56. package/dist/types-ts4.0/components/SkeletonCreateButton/index.d.ts +13 -0
  57. package/dist/types-ts4.0/components/SkeletonCreateButton/types.d.ts +12 -0
  58. package/dist/types-ts4.0/components/SkeletonIconButton/index.d.ts +13 -0
  59. package/dist/types-ts4.0/components/SkeletonIconButton/types.d.ts +18 -0
  60. package/dist/types-ts4.0/components/SkeletonPrimaryButton/index.d.ts +13 -0
  61. package/dist/types-ts4.0/components/SkeletonPrimaryButton/types.d.ts +25 -0
  62. package/dist/types-ts4.0/controllers/overflow/index.d.ts +44 -0
  63. package/dist/types-ts4.0/controllers/overflow/types.d.ts +7 -0
  64. package/dist/types-ts4.0/index.d.ts +30 -0
  65. package/dist/types-ts4.0/skeleton-help-button.d.ts +19 -0
  66. package/dist/types-ts4.0/skeleton-notification-button.d.ts +19 -0
  67. package/dist/types-ts4.0/skeleton-settings-button.d.ts +19 -0
  68. package/dist/types-ts4.0/skeleton-switcher-button.d.ts +19 -0
  69. package/dist/types-ts4.0/skeleton.d.ts +5 -0
  70. package/dist/types-ts4.0/theme/default-theme.d.ts +6 -0
  71. package/dist/types-ts4.0/theme/index.d.ts +6 -0
  72. package/dist/types-ts4.0/theme/theme-generator.d.ts +3 -0
  73. package/dist/types-ts4.0/theme/theme-helpers.d.ts +5 -0
  74. package/dist/types-ts4.0/theme/theme-provider.d.ts +8 -0
  75. package/dist/types-ts4.0/theme/themes.d.ts +3 -0
  76. package/dist/types-ts4.0/theme/types.d.ts +74 -0
  77. package/dist/types-ts4.0/theme/use-theme.d.ts +1 -0
  78. package/package.json +16 -7
  79. package/report.api.md +180 -43
  80. package/skeleton/package.json +8 -1
  81. package/skeleton-help-button/package.json +8 -1
  82. package/skeleton-notification-button/package.json +8 -1
  83. package/skeleton-settings-button/package.json +8 -1
  84. package/skeleton-switcher-button/package.json +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.2.8",
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/"
@@ -12,9 +12,18 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.0 <4.5": {
17
+ "*": [
18
+ "dist/types-ts4.0/*",
19
+ "dist/types-ts4.0/index.d.ts"
20
+ ]
21
+ }
22
+ },
15
23
  "sideEffects": false,
16
24
  "atlaskit:src": "src/index.tsx",
17
25
  "atlassian": {
26
+ "disableProductCI": true,
18
27
  "team": "Design System Team",
19
28
  "deprecatedAutoEntryPoints": true,
20
29
  "releaseModel": "scheduled",
@@ -27,12 +36,12 @@
27
36
  "@atlaskit/analytics-namespaced-context": "^6.5.0",
28
37
  "@atlaskit/button": "^16.3.0",
29
38
  "@atlaskit/ds-lib": "^2.1.0",
30
- "@atlaskit/icon": "^21.10.0",
39
+ "@atlaskit/icon": "^21.11.0",
31
40
  "@atlaskit/logo": "*",
32
- "@atlaskit/popup": "^1.4.0",
41
+ "@atlaskit/popup": "^1.5.0",
33
42
  "@atlaskit/theme": "^12.2.0",
34
43
  "@atlaskit/tokens": "^0.10.0",
35
- "@atlaskit/tooltip": "^17.5.0",
44
+ "@atlaskit/tooltip": "^17.6.0",
36
45
  "@atlaskit/width-detector": "^4.0.0",
37
46
  "@babel/runtime": "^7.0.0",
38
47
  "@emotion/core": "^10.0.9",
@@ -57,13 +66,13 @@
57
66
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
58
67
  "@atlassian/switcher": "*",
59
68
  "@atlassian/switcher-test-utils": "*",
60
- "@testing-library/react": "^8.0.1",
61
- "@testing-library/react-hooks": "^1.0.4",
69
+ "@testing-library/react": "^12.1.5",
70
+ "@testing-library/react-hooks": "^8.0.1",
62
71
  "jest-axe": "^4.0.0",
63
72
  "jest-emotion": "^10.0.32",
64
73
  "react": "^16.8.0",
65
74
  "react-intl-next": "npm:react-intl@^5.18.1",
66
- "typescript": "4.3.5"
75
+ "typescript": "4.5.5"
67
76
  },
68
77
  "techstack": {
69
78
  "@atlassian/frontend": {
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. It is a report generated by [API Extractor](https://api-extractor.com/).
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
- Allows for overriding the component used to render the button.
161
-
162
- This is primarily intended for compatibility with custom
163
- routing libraries when using the `href` prop.
164
-
165
- For further usage information, refer to the [documentation for button](https://atlassian.design/components/button/code).
166
-
167
- @example
168
- ```tsx
169
- <Settings
170
- component={CustomRouterLink}
171
- href="/path/to/url"
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
- * A `testId` prop is provided for specified elements,
252
- * which is a unique string that appears as a data attribute `data-testid` in the rendered code,
253
- * serving as a hook for automated tests.
254
-
255
- * Will set these elements when defined:
256
-
257
- * - Create button shown on large screen sizes - `{testId}-button`
258
- * - Create icon button shown on small screen sizes - `{testId}-icon-button`
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
- Allows for overriding the component used to render the button.
450
-
451
- This is primarily intended for compatibility with custom
452
- routing libraries when using the `href` prop.
453
-
454
- For further usage information, refer to the [documentation for button](https://atlassian.design/components/button/code).
455
-
456
- @example
457
- ```tsx
458
- <Settings
459
- component={CustomRouterLink}
460
- href="/path/to/url"
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: () => void;
633
- closeOverflowMenu: () => void;
769
+ openOverflowMenu: typeof noop;
770
+ closeOverflowMenu: typeof noop;
634
771
  };
635
772
 
636
773
  export {};
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/skeleton.js",
5
5
  "module:es2019": "../dist/es2019/skeleton.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/skeleton.d.ts"
7
+ "types": "../dist/types/skeleton.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/skeleton.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/skeleton-help-button.js",
5
5
  "module:es2019": "../dist/es2019/skeleton-help-button.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/skeleton-help-button.d.ts"
7
+ "types": "../dist/types/skeleton-help-button.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/skeleton-help-button.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/skeleton-notification-button.js",
5
5
  "module:es2019": "../dist/es2019/skeleton-notification-button.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/skeleton-notification-button.d.ts"
7
+ "types": "../dist/types/skeleton-notification-button.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/skeleton-notification-button.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/skeleton-settings-button.js",
5
5
  "module:es2019": "../dist/es2019/skeleton-settings-button.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/skeleton-settings-button.d.ts"
7
+ "types": "../dist/types/skeleton-settings-button.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/skeleton-settings-button.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }
@@ -4,5 +4,12 @@
4
4
  "module": "../dist/esm/skeleton-switcher-button.js",
5
5
  "module:es2019": "../dist/es2019/skeleton-switcher-button.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/skeleton-switcher-button.d.ts"
7
+ "types": "../dist/types/skeleton-switcher-button.d.ts",
8
+ "typesVersions": {
9
+ ">=4.0 <4.5": {
10
+ "*": [
11
+ "../dist/types-ts4.0/skeleton-switcher-button.d.ts"
12
+ ]
13
+ }
14
+ }
8
15
  }