@nypl/design-system-react-components 1.5.4 → 1.6.0-vite-rc-2

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 (205) hide show
  1. package/README.md +24 -40
  2. package/dist/design-system-react-components.cjs +304 -0
  3. package/dist/design-system-react-components.js +42142 -0
  4. package/dist/{components → src/components}/Accordion/Accordion.d.ts +29 -29
  5. package/dist/{components → src/components}/AlphabetFilter/AlphabetFilter.d.ts +23 -23
  6. package/dist/{components → src/components}/AudioPlayer/AudioPlayer.d.ts +43 -43
  7. package/dist/{components → src/components}/Breadcrumbs/Breadcrumbs.d.ts +24 -18
  8. package/dist/{components → src/components}/Button/Button.d.ts +33 -30
  9. package/dist/{components → src/components}/ButtonGroup/ButtonGroup.d.ts +25 -24
  10. package/dist/{components → src/components}/Card/Card.d.ts +55 -55
  11. package/dist/{components → src/components}/Checkbox/Checkbox.d.ts +47 -47
  12. package/dist/{components → src/components}/CheckboxGroup/CheckboxGroup.d.ts +51 -51
  13. package/dist/{components → src/components}/ComponentWrapper/ComponentWrapper.d.ts +31 -31
  14. package/dist/{components → src/components}/DatePicker/DatePicker.d.ts +82 -81
  15. package/dist/{components → src/components}/FeedbackBox/FeedbackBox.d.ts +64 -63
  16. package/dist/{components → src/components}/FeedbackBox/useFeedbackBoxReducer.d.ts +19 -19
  17. package/dist/{components → src/components}/Fieldset/Fieldset.d.ts +24 -24
  18. package/dist/{components → src/components}/FilterBar/FilterBar.d.ts +61 -111
  19. package/dist/{components → src/components}/Footer/Footer.d.ts +14 -14
  20. package/dist/{components → src/components}/Footer/footerLinks.d.ts +12 -12
  21. package/dist/{components → src/components}/Form/Form.d.ts +31 -31
  22. package/dist/{components → src/components}/Grid/SimpleGrid.d.ts +20 -19
  23. package/dist/{components → src/components}/Header/Header.d.ts +21 -22
  24. package/dist/{components → src/components}/Header/components/HeaderLogin.d.ts +12 -12
  25. package/dist/{components → src/components}/Header/components/HeaderLoginButton.d.ts +10 -11
  26. package/dist/{components → src/components}/Header/components/HeaderLowerNav.d.ts +6 -7
  27. package/dist/{components → src/components}/Header/components/HeaderMobileIconNav.d.ts +6 -7
  28. package/dist/{components → src/components}/Header/components/HeaderMobileNav.d.ts +6 -7
  29. package/dist/{components → src/components}/Header/components/HeaderMobileNavButton.d.ts +6 -7
  30. package/dist/{components → src/components}/Header/components/HeaderSearchButton.d.ts +9 -10
  31. package/dist/{components → src/components}/Header/components/HeaderSearchForm.d.ts +10 -11
  32. package/dist/{components → src/components}/Header/components/HeaderSitewideAlerts.d.ts +7 -8
  33. package/dist/{components → src/components}/Header/components/HeaderUpperNav.d.ts +7 -8
  34. package/dist/{components → src/components}/Header/context/headerContext.d.ts +13 -13
  35. package/dist/{components → src/components}/Header/utils/googleAnalyticsUtils.d.ts +16 -16
  36. package/dist/{components → src/components}/Header/utils/headerUtils.d.ts +94 -94
  37. package/dist/{components → src/components}/Heading/Heading.d.ts +37 -35
  38. package/dist/{components → src/components}/HelperErrorText/HelperErrorText.d.ts +34 -34
  39. package/dist/{components → src/components}/Hero/Hero.d.ts +43 -42
  40. package/dist/{components → src/components}/HorizontalRule/HorizontalRule.d.ts +11 -11
  41. package/dist/{components → src/components}/Icons/Icon.d.ts +40 -41
  42. package/dist/src/components/Icons/IconSvgs.d.ts +163 -0
  43. package/dist/src/components/Icons/iconVariables.d.ts +6 -0
  44. package/dist/{components → src/components}/Image/Image.d.ts +68 -65
  45. package/dist/{components → src/components}/Label/Label.d.ts +25 -25
  46. package/dist/{components → src/components}/Link/Link.d.ts +22 -21
  47. package/dist/{components → src/components}/List/List.d.ts +42 -42
  48. package/dist/{components → src/components}/Logo/Logo.d.ts +28 -28
  49. package/dist/src/components/Logo/LogoSvgs.d.ts +157 -0
  50. package/dist/{components → src/components}/Modal/Modal.d.ts +35 -35
  51. package/dist/{components → src/components}/MultiSelect/MultiSelect.d.ts +61 -78
  52. package/dist/{components → src/components}/MultiSelect/MultiSelectDialog.d.ts +8 -8
  53. package/dist/{components → src/components}/MultiSelect/MultiSelectListbox.d.ts +9 -9
  54. package/dist/{components → src/components}/MultiSelect/MultiSelectMenuButton.d.ts +27 -27
  55. package/dist/{components → src/components}/MultiSelectGroup/MultiSelectGroup.d.ts +28 -26
  56. package/dist/{components → src/components}/Notification/Notification.d.ts +52 -51
  57. package/dist/{components → src/components}/Pagination/Pagination.d.ts +27 -27
  58. package/dist/{components → src/components}/ProgressIndicator/ProgressIndicator.d.ts +32 -30
  59. package/dist/{components → src/components}/Radio/Radio.d.ts +43 -43
  60. package/dist/{components → src/components}/RadioGroup/RadioGroup.d.ts +51 -51
  61. package/dist/{components → src/components}/SearchBar/SearchBar.d.ts +58 -58
  62. package/dist/{components → src/components}/Select/Select.d.ts +59 -57
  63. package/dist/{components → src/components}/SkeletonLoader/SkeletonLoader.d.ts +42 -41
  64. package/dist/{components → src/components}/SkipNavigation/SkipNavigation.d.ts +19 -19
  65. package/dist/{components → src/components}/Slider/Slider.d.ts +65 -65
  66. package/dist/{components → src/components}/StatusBadge/StatusBadge.d.ts +19 -18
  67. package/dist/{components → src/components}/StructuredContent/StructuredContent.d.ts +30 -30
  68. package/dist/src/components/StyleGuide/ColorCard.d.ts +342 -0
  69. package/dist/{components → src/components}/StyledList/StyledList.d.ts +25 -25
  70. package/dist/{components → src/components}/Table/Table.d.ts +32 -32
  71. package/dist/{components → src/components}/Tabs/Tabs.d.ts +28 -28
  72. package/dist/{components → src/components}/TagSet/TagSet.d.ts +24 -32
  73. package/dist/{components → src/components}/TagSet/TagSetExplore.d.ts +28 -27
  74. package/dist/{components → src/components}/TagSet/TagSetFilter.d.ts +25 -26
  75. package/dist/src/components/TagSet/TooltipWrapper.d.ts +9 -0
  76. package/dist/{components → src/components}/Template/Template.d.ts +140 -140
  77. package/dist/{components → src/components}/Text/Text.d.ts +25 -24
  78. package/dist/{components → src/components}/TextInput/TextInput.d.ts +89 -88
  79. package/dist/{components → src/components}/Toggle/Toggle.d.ts +43 -42
  80. package/dist/{components → src/components}/Tooltip/Tooltip.d.ts +17 -17
  81. package/dist/{components → src/components}/VideoPlayer/VideoPlayer.d.ts +42 -40
  82. package/dist/src/helpers/types.d.ts +2 -0
  83. package/dist/{hooks → src/hooks}/useCarouselStyles.d.ts +17 -17
  84. package/dist/{hooks → src/hooks}/useCloseDropDown.d.ts +7 -7
  85. package/dist/{hooks → src/hooks}/useFilterBar.d.ts +21 -21
  86. package/dist/{hooks → src/hooks}/useMultiSelect.d.ts +15 -15
  87. package/dist/{hooks → src/hooks}/useNYPLBreakpoints.d.ts +13 -13
  88. package/dist/{hooks → src/hooks}/useNYPLTheme.d.ts +67 -67
  89. package/dist/{hooks → src/hooks}/useStateWithDependencies.d.ts +5 -5
  90. package/dist/{hooks → src/hooks}/useWindowSize.d.ts +10 -10
  91. package/dist/src/index.d.ts +91 -0
  92. package/dist/{theme → src/theme}/components/accordion.d.ts +34 -34
  93. package/dist/{theme → src/theme}/components/alphabetFilter.d.ts +33 -33
  94. package/dist/{theme → src/theme}/components/audioPlayer.d.ts +16 -16
  95. package/dist/{theme → src/theme}/components/breadcrumb.d.ts +138 -151
  96. package/dist/{theme → src/theme}/components/button.d.ts +113 -113
  97. package/dist/{theme → src/theme}/components/buttonGroup.d.ts +11 -11
  98. package/dist/{theme → src/theme}/components/card.d.ts +421 -421
  99. package/dist/{theme → src/theme}/components/checkbox.d.ts +178 -178
  100. package/dist/{theme → src/theme}/components/checkboxGroup.d.ts +14 -14
  101. package/dist/{theme → src/theme}/components/componentWrapper.d.ts +12 -12
  102. package/dist/{theme → src/theme}/components/customTable.d.ts +733 -733
  103. package/dist/{theme → src/theme}/components/datePicker.d.ts +17 -17
  104. package/dist/{theme → src/theme}/components/feedbackBox.d.ts +92 -92
  105. package/dist/{theme → src/theme}/components/fieldset.d.ts +23 -23
  106. package/dist/{theme → src/theme}/components/filterBar.d.ts +46 -46
  107. package/dist/{theme → src/theme}/components/footer.d.ts +244 -244
  108. package/dist/{theme → src/theme}/components/global.d.ts +140 -140
  109. package/dist/{theme → src/theme}/components/globalMixins.d.ts +40 -40
  110. package/dist/{theme → src/theme}/components/header/header.d.ts +72 -72
  111. package/dist/{theme → src/theme}/components/header/headerLogin.d.ts +327 -327
  112. package/dist/{theme → src/theme}/components/header/headerLoginButton.d.ts +69 -69
  113. package/dist/{theme → src/theme}/components/header/headerLowerNav.d.ts +70 -70
  114. package/dist/{theme → src/theme}/components/header/headerMobileIconNav.d.ts +28 -28
  115. package/dist/{theme → src/theme}/components/header/headerMobileNav.d.ts +86 -86
  116. package/dist/{theme → src/theme}/components/header/headerMobileNavButton.d.ts +34 -34
  117. package/dist/{theme → src/theme}/components/header/headerSearchButton.d.ts +83 -83
  118. package/dist/{theme → src/theme}/components/header/headerSearchForm.d.ts +183 -183
  119. package/dist/{theme → src/theme}/components/header/headerSitewideAlerts.d.ts +42 -42
  120. package/dist/{theme → src/theme}/components/header/headerUpperNav.d.ts +72 -72
  121. package/dist/{theme → src/theme}/components/heading.d.ts +173 -173
  122. package/dist/{theme → src/theme}/components/helperErrorText.d.ts +15 -15
  123. package/dist/{theme → src/theme}/components/hero.d.ts +628 -628
  124. package/dist/{theme → src/theme}/components/horizontalRule.d.ts +18 -18
  125. package/dist/{theme → src/theme}/components/icon.d.ts +62251 -62251
  126. package/dist/{theme → src/theme}/components/image.d.ts +662 -662
  127. package/dist/{theme → src/theme}/components/label.d.ts +21 -21
  128. package/dist/{theme → src/theme}/components/link.d.ts +106 -106
  129. package/dist/{theme → src/theme}/components/list.d.ts +228 -228
  130. package/dist/{theme → src/theme}/components/logo.d.ts +477 -477
  131. package/dist/{theme → src/theme}/components/modal.d.ts +21 -21
  132. package/dist/{theme → src/theme}/components/multiSelect.d.ts +29 -29
  133. package/dist/{theme → src/theme}/components/multiSelectMenuButton.d.ts +95 -95
  134. package/dist/{theme → src/theme}/components/notification.d.ts +136 -136
  135. package/dist/{theme → src/theme}/components/pagination.d.ts +16 -16
  136. package/dist/{theme → src/theme}/components/progressIndicator.d.ts +68 -68
  137. package/dist/{theme → src/theme}/components/radio.d.ts +202 -202
  138. package/dist/{theme → src/theme}/components/radioGroup.d.ts +14 -14
  139. package/dist/{theme → src/theme}/components/searchBar.d.ts +34 -34
  140. package/dist/{theme → src/theme}/components/select.d.ts +125 -126
  141. package/dist/{theme → src/theme}/components/skeletonLoader.d.ts +105 -105
  142. package/dist/{theme → src/theme}/components/skipNavigation.d.ts +28 -28
  143. package/dist/{theme → src/theme}/components/slider.d.ts +78 -78
  144. package/dist/{theme → src/theme}/components/statusBadge.d.ts +37 -37
  145. package/dist/{theme → src/theme}/components/structuredContent.d.ts +385 -385
  146. package/dist/{theme → src/theme}/components/styledList.d.ts +51 -51
  147. package/dist/{theme → src/theme}/components/tabs.d.ts +172 -172
  148. package/dist/{theme → src/theme}/components/tagSet.d.ts +154 -154
  149. package/dist/{theme → src/theme}/components/template.d.ts +86 -86
  150. package/dist/{theme → src/theme}/components/text.d.ts +30 -30
  151. package/dist/{theme → src/theme}/components/textInput.d.ts +349 -355
  152. package/dist/{theme → src/theme}/components/toggle.d.ts +129 -129
  153. package/dist/{theme → src/theme}/components/tooltip.d.ts +19 -19
  154. package/dist/{theme → src/theme}/components/videoPlayer.d.ts +47 -47
  155. package/dist/{theme → src/theme}/foundations/breakpoints.d.ts +23 -23
  156. package/dist/{theme → src/theme}/foundations/colors.d.ts +3 -3
  157. package/dist/{theme → src/theme}/foundations/global.d.ts +68 -68
  158. package/dist/{theme → src/theme}/foundations/radii.d.ts +11 -11
  159. package/dist/{theme → src/theme}/foundations/shadows.d.ts +4 -4
  160. package/dist/{theme → src/theme}/foundations/spacing.d.ts +96 -96
  161. package/dist/{theme → src/theme}/foundations/typography.d.ts +8 -8
  162. package/dist/{theme → src/theme}/index.d.ts +20 -20
  163. package/dist/{theme → src/theme}/provider.d.ts +4 -4
  164. package/dist/src/theme/types.d.ts +1 -0
  165. package/dist/src/utils/colorUtils.d.ts +5 -0
  166. package/dist/{utils → src/utils}/interfaces.d.ts +5 -5
  167. package/dist/{utils → src/utils}/utils.d.ts +39 -39
  168. package/dist/styles.css +1 -4
  169. package/package.json +62 -69
  170. package/dist/__tests__/fileMock.d.ts +0 -4
  171. package/dist/__tests__/mediaMatchMock.d.ts +0 -79
  172. package/dist/__tests__/setup.d.ts +0 -2
  173. package/dist/__tests__/utils/utils.test.d.ts +0 -1
  174. package/dist/components/Autosuggest/Autosuggest.stories.d.ts +0 -4
  175. package/dist/components/FilterBar/FilterBar.stories.d.ts +0 -7
  176. package/dist/components/Header/utils/authApiMockResponse.d.ts +0 -49
  177. package/dist/components/Header/utils/encoreCatalogLogOutTimer.d.ts +0 -4
  178. package/dist/components/Header/utils/encoreCatalogLogOutTimer.test.d.ts +0 -1
  179. package/dist/components/Header/utils/googleAnalyticsUtils.test.d.ts +0 -1
  180. package/dist/components/Header/utils/headerUtils.test.d.ts +0 -1
  181. package/dist/components/Header/utils/sitewideAlertsMocks.d.ts +0 -98
  182. package/dist/components/Icons/IconColors.d.ts +0 -3
  183. package/dist/components/Icons/IconNames.d.ts +0 -3
  184. package/dist/components/Icons/IconSvgs.d.ts +0 -58
  185. package/dist/components/Logo/LogoSvgs.d.ts +0 -54
  186. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +0 -4
  187. package/dist/components/MultiSelectGroup/MultiSelectGroup.stories.d.ts +0 -4
  188. package/dist/components/Placeholder/Placeholder.d.ts +0 -10
  189. package/dist/components/StyleGuide/ColorCard.d.ts +0 -46
  190. package/dist/design-system-react-components.cjs.development.js +0 -18076
  191. package/dist/design-system-react-components.cjs.development.js.map +0 -1
  192. package/dist/design-system-react-components.cjs.production.min.js +0 -2
  193. package/dist/design-system-react-components.cjs.production.min.js.map +0 -1
  194. package/dist/design-system-react-components.esm.js +0 -17874
  195. package/dist/design-system-react-components.esm.js.map +0 -1
  196. package/dist/helpers/types.d.ts +0 -1
  197. package/dist/hooks/__tests__/useCarouselStyles.test.d.ts +0 -1
  198. package/dist/hooks/__tests__/useFilterBar.test.d.ts +0 -1
  199. package/dist/hooks/__tests__/useMultiSelect.test.d.ts +0 -1
  200. package/dist/hooks/__tests__/useNYPLBreakpoints.test.d.ts +0 -1
  201. package/dist/index.d.ts +0 -66
  202. package/dist/index.js +0 -8
  203. package/dist/resources.scss +0 -382
  204. package/dist/theme/types.d.ts +0 -1
  205. package/dist/utils/componentCategories.d.ts +0 -1
@@ -0,0 +1,157 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ appleAppStoreBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
4
+ title?: string;
5
+ }>;
6
+ appleAppStoreWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
7
+ title?: string;
8
+ }>;
9
+ bplBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
10
+ title?: string;
11
+ }>;
12
+ bplWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
13
+ title?: string;
14
+ }>;
15
+ cleverBadgeColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
16
+ title?: string;
17
+ }>;
18
+ cleverColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
19
+ title?: string;
20
+ }>;
21
+ cleverWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
22
+ title?: string;
23
+ }>;
24
+ digitalCollectionsBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
25
+ title?: string;
26
+ }>;
27
+ digitalCollectionsWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
28
+ title?: string;
29
+ }>;
30
+ firstbookColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
31
+ title?: string;
32
+ }>;
33
+ firstbookColorNegative: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
34
+ title?: string;
35
+ }>;
36
+ googlePlayBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
37
+ title?: string;
38
+ }>;
39
+ lpaBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
40
+ title?: string;
41
+ }>;
42
+ lpaColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
43
+ title?: string;
44
+ }>;
45
+ lpaWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
46
+ title?: string;
47
+ }>;
48
+ mlnBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
49
+ title?: string;
50
+ }>;
51
+ mlnColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
52
+ title?: string;
53
+ }>;
54
+ mlnWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
55
+ title?: string;
56
+ }>;
57
+ nycdoeBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
58
+ title?: string;
59
+ }>;
60
+ nycdoeColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
61
+ title?: string;
62
+ }>;
63
+ nycdoeWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
64
+ title?: string;
65
+ }>;
66
+ nyplFullBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
67
+ title?: string;
68
+ }>;
69
+ nyplFullWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
70
+ title?: string;
71
+ }>;
72
+ nyplLionBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
73
+ title?: string;
74
+ }>;
75
+ nyplLionWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
76
+ title?: string;
77
+ }>;
78
+ nyplTextBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
79
+ title?: string;
80
+ }>;
81
+ nyplTextWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
82
+ title?: string;
83
+ }>;
84
+ openebooksColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
85
+ title?: string;
86
+ }>;
87
+ openebooksNegative: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
88
+ title?: string;
89
+ }>;
90
+ openebooksWithTextColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
91
+ title?: string;
92
+ }>;
93
+ openebooksWithTextNegative: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
94
+ title?: string;
95
+ }>;
96
+ qplAltBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
97
+ title?: string;
98
+ }>;
99
+ qplAltWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
100
+ title?: string;
101
+ }>;
102
+ qplBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
103
+ title?: string;
104
+ }>;
105
+ qplColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
106
+ title?: string;
107
+ }>;
108
+ qplWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
109
+ title?: string;
110
+ }>;
111
+ reservoirIconColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
112
+ title?: string;
113
+ }>;
114
+ reservoirVerticalColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
115
+ title?: string;
116
+ }>;
117
+ schomburgBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
118
+ title?: string;
119
+ }>;
120
+ schomburgCircleBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
121
+ title?: string;
122
+ }>;
123
+ schomburgCircleColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
124
+ title?: string;
125
+ }>;
126
+ schomburgCircleWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
127
+ title?: string;
128
+ }>;
129
+ schomburgColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
130
+ title?: string;
131
+ }>;
132
+ schomburgWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
133
+ title?: string;
134
+ }>;
135
+ simplyeBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
136
+ title?: string;
137
+ }>;
138
+ simplyeWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
139
+ title?: string;
140
+ }>;
141
+ simplyeColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
142
+ title?: string;
143
+ }>;
144
+ snflBlack: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
145
+ title?: string;
146
+ }>;
147
+ snflWhite: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
148
+ title?: string;
149
+ }>;
150
+ treasuresColor: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
151
+ title?: string;
152
+ }>;
153
+ treasuresColorNegative: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
154
+ title?: string;
155
+ }>;
156
+ };
157
+ export default _default;
@@ -1,35 +1,35 @@
1
- import React from "react";
2
- interface BaseModalProps {
3
- bodyContent?: string | JSX.Element;
4
- closeButtonLabel?: string;
5
- headingText?: string | JSX.Element;
6
- /** ID that other components can cross reference for accessibility purposes */
7
- id?: string;
8
- isOpen?: boolean;
9
- onClose?: () => void;
10
- }
11
- export interface ModalProps {
12
- buttonText?: string;
13
- /** ID that other components can cross reference for accessibility purposes */
14
- id?: string;
15
- modalProps: BaseModalProps;
16
- }
17
- /**
18
- * The `ModalTrigger` component renders a button that you click to open the
19
- * internal `Modal` component. Note that props to update the internal `Modal`
20
- * component are passed through to the `modalProps` prop.
21
- */
22
- export declare const ModalTrigger: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<ModalProps & {
23
- children?: React.ReactNode;
24
- } & React.RefAttributes<HTMLButtonElement>>, {}>;
25
- /**
26
- * This hook function can be used to render the `Modal` component with a custom
27
- * open button(s) and optional custom close button(s). You must render your own
28
- * button and pass the appropriate `onOpen` and ` handler for the modal to open.
29
- */
30
- export declare function useModal(): {
31
- onClose: () => void;
32
- onOpen: () => void;
33
- Modal: import("@chakra-ui/react").ChakraComponent<({ bodyContent, closeButtonLabel, headingText, id, ...rest }: React.PropsWithChildren<BaseModalProps>) => JSX.Element, {}>;
34
- };
35
- export {};
1
+ import React from "react";
2
+ interface BaseModalProps {
3
+ bodyContent?: string | JSX.Element;
4
+ closeButtonLabel?: string;
5
+ headingText?: string | JSX.Element;
6
+ /** ID that other components can cross reference for accessibility purposes */
7
+ id?: string;
8
+ isOpen?: boolean;
9
+ onClose?: () => void;
10
+ }
11
+ export interface ModalProps {
12
+ buttonText?: string;
13
+ /** ID that other components can cross reference for accessibility purposes */
14
+ id?: string;
15
+ modalProps: BaseModalProps;
16
+ }
17
+ /**
18
+ * The `ModalTrigger` component renders a button that you click to open the
19
+ * internal `Modal` component. Note that props to update the internal `Modal`
20
+ * component are passed through to the `modalProps` prop.
21
+ */
22
+ export declare const ModalTrigger: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<ModalProps & {
23
+ children?: React.ReactNode;
24
+ } & React.RefAttributes<HTMLButtonElement>>, {}>;
25
+ /**
26
+ * This hook function can be used to render the `Modal` component with a custom
27
+ * open button(s) and optional custom close button(s). You must render your own
28
+ * button and pass the appropriate `onOpen` and ` handler for the modal to open.
29
+ */
30
+ export declare function useModal(): {
31
+ onClose: () => void;
32
+ onOpen: () => void;
33
+ Modal: import("@chakra-ui/react").ChakraComponent<({ bodyContent, closeButtonLabel, headingText, id, ...rest }: React.PropsWithChildren<BaseModalProps>) => import("@emotion/react/jsx-runtime").JSX.Element, {}>;
34
+ };
35
+ export {};
@@ -1,78 +1,61 @@
1
- import React from "react";
2
- export interface MultiSelectItem {
3
- id: string;
4
- name: string;
5
- children?: MultiSelectItem[];
6
- }
7
- export declare type MultiSelectWidths = "default" | "fitContent" | "full";
8
- export interface SelectedItems {
9
- [name: string]: {
10
- items: string[];
11
- };
12
- }
13
- interface MultiSelectCommonProps {
14
- /** The id of the MultiSelect. */
15
- id: string;
16
- /** Set the default open or closed state of the Multiselect. */
17
- isDefaultOpen?: boolean;
18
- /** Boolean value used to control how the MultiSelect component will render within the page and interact with other DOM elements.
19
- * The default value is false. */
20
- isBlockElement?: boolean;
21
- /** The items to be rendered in the Multiselect as checkbox options. */
22
- items: MultiSelectItem[];
23
- /** The label text rendered within the MultiSelect. */
24
- labelText: string;
25
- /** The action to perform for clear/reset button of MultiSelect. */
26
- onClear?: () => void;
27
- /** The type of MultiSelect that will be rendered. */
28
- type: "listbox" | "dialog";
29
- /** The selected items state (items that were checked by user). */
30
- selectedItems: SelectedItems;
31
- /** Value used to set the width for the MultiSelect component. */
32
- width?: MultiSelectWidths;
33
- }
34
- declare type ListboxOnChange = (selectedItem: MultiSelectItem, id: string) => void;
35
- declare type DialogOnChange = (event: React.ChangeEvent<HTMLInputElement>) => void;
36
- declare type MultiSelectVariantsProps = {
37
- type: "listbox";
38
- onApply?: never;
39
- /** The action to perform for downshift's onSelectedItemChange function. */
40
- onChange: ListboxOnChange;
41
- onMixedStateChange?: never;
42
- } | {
43
- type: "dialog";
44
- /** The action to perform for save/apply button of multiselect. */
45
- onApply: () => void;
46
- /** The action to perform on the checkbox's onChange function. */
47
- onChange: DialogOnChange;
48
- /** The action to perform for a mixed state checkbox (parent checkbox). */
49
- onMixedStateChange?: DialogOnChange;
50
- };
51
- export declare type MultiSelectProps = MultiSelectCommonProps & MultiSelectVariantsProps;
52
- /**
53
- * The `MultiSelect` component is a form input element that presents a list
54
- * of `Checkbox` components from which a user can make one or multiple
55
- * selections. Two variants of the MultiSelect component are offered, each with
56
- * slightly different functionality and requirements. Because of these
57
- * differences, the two variants are broken out in separate stories below.
58
- */
59
- export declare const MultiSelect: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<(MultiSelectCommonProps & {
60
- type: "listbox";
61
- onApply?: never;
62
- /** The action to perform for downshift's onSelectedItemChange function. */
63
- onChange: ListboxOnChange;
64
- onMixedStateChange?: never;
65
- } & {
66
- children?: React.ReactNode;
67
- } & React.RefAttributes<HTMLDivElement>) | (MultiSelectCommonProps & {
68
- type: "dialog";
69
- /** The action to perform for save/apply button of multiselect. */
70
- onApply: () => void;
71
- /** The action to perform on the checkbox's onChange function. */
72
- onChange: DialogOnChange;
73
- /** The action to perform for a mixed state checkbox (parent checkbox). */
74
- onMixedStateChange?: DialogOnChange;
75
- } & {
76
- children?: React.ReactNode;
77
- } & React.RefAttributes<HTMLDivElement>)>, {}>;
78
- export default MultiSelect;
1
+ import React from "react";
2
+ export interface MultiSelectItem {
3
+ id: string;
4
+ name: string;
5
+ children?: MultiSelectItem[];
6
+ }
7
+ export declare const multiSelectWidthsArray: readonly ["default", "fitContent", "full"];
8
+ export type MultiSelectWidths = typeof multiSelectWidthsArray[number];
9
+ export interface SelectedItems {
10
+ [name: string]: {
11
+ items: string[];
12
+ };
13
+ }
14
+ interface MultiSelectCommonProps {
15
+ /** The id of the MultiSelect. */
16
+ id: string;
17
+ /** Set the default open or closed state of the Multiselect. */
18
+ isDefaultOpen?: boolean;
19
+ /** Boolean value used to control how the MultiSelect component will render within the page and interact with other DOM elements.
20
+ * The default value is false. */
21
+ isBlockElement?: boolean;
22
+ /** The items to be rendered in the Multiselect as checkbox options. */
23
+ items: MultiSelectItem[];
24
+ /** The label text rendered within the MultiSelect. */
25
+ labelText: string;
26
+ /** The action to perform for clear/reset button of MultiSelect. */
27
+ onClear?: () => void;
28
+ /** The type of MultiSelect that will be rendered. */
29
+ type: "listbox" | "dialog";
30
+ /** The selected items state (items that were checked by user). */
31
+ selectedItems: SelectedItems;
32
+ /** Value used to set the width for the MultiSelect component. */
33
+ width?: MultiSelectWidths;
34
+ }
35
+ type ListboxOnChange = (selectedItem: MultiSelectItem, id: string) => void;
36
+ type DialogOnChange = (event: React.ChangeEvent<HTMLInputElement>) => void;
37
+ type MultiSelectVariantsProps = {
38
+ type: "listbox";
39
+ onApply?: never;
40
+ /** The action to perform for downshift's onSelectedItemChange function. */
41
+ onChange: ListboxOnChange;
42
+ onMixedStateChange?: never;
43
+ } | {
44
+ type: "dialog";
45
+ /** The action to perform for save/apply button of multiselect. */
46
+ onApply: () => void;
47
+ /** The action to perform on the checkbox's onChange function. */
48
+ onChange: DialogOnChange;
49
+ /** The action to perform for a mixed state checkbox (parent checkbox). */
50
+ onMixedStateChange?: DialogOnChange;
51
+ };
52
+ export type MultiSelectProps = MultiSelectCommonProps & MultiSelectVariantsProps;
53
+ /**
54
+ * The `MultiSelect` component is a form input element that presents a list
55
+ * of `Checkbox` components from which a user can make one or multiple
56
+ * selections. Two variants of the MultiSelect component are offered, each with
57
+ * slightly different functionality and requirements. Because of these
58
+ * differences, the two variants are broken out in separate stories below.
59
+ */
60
+ export declare const MultiSelect: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<React.PropsWithChildren<MultiSelectProps> & React.RefAttributes<HTMLDivElement>>, {}>;
61
+ export default MultiSelect;
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- import { MultiSelectProps } from "./MultiSelect";
3
- export declare const MultiSelectDialog: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<Pick<MultiSelectProps, "id" | "isDefaultOpen" | "isBlockElement" | "items" | "labelText" | "onClear" | "type" | "selectedItems" | "width" | "onApply" | "onMixedStateChange"> & {
4
- onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
5
- } & {
6
- children?: React.ReactNode;
7
- } & React.RefAttributes<HTMLDivElement>>, {}>;
8
- export default MultiSelectDialog;
1
+ import React from "react";
2
+ import { MultiSelectProps } from "./MultiSelect";
3
+ export declare const MultiSelectDialog: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<Omit<MultiSelectProps, "onChange"> & {
4
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
5
+ } & {
6
+ children?: React.ReactNode;
7
+ } & React.RefAttributes<HTMLDivElement>>, {}>;
8
+ export default MultiSelectDialog;
@@ -1,9 +1,9 @@
1
- import React from "react";
2
- import { MultiSelectItem, MultiSelectProps } from "./MultiSelect";
3
- /** MultiSelectListbox renders a non-hierarchical list of checkbox options for the `type="listbox". It leverager downshift-js for accessiblity. */
4
- export declare const MultiSelectListbox: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<Pick<MultiSelectProps, "id" | "isDefaultOpen" | "isBlockElement" | "items" | "labelText" | "onClear" | "type" | "selectedItems" | "width" | "onApply" | "onMixedStateChange"> & {
5
- onChange: (selectedItem: MultiSelectItem, id: string) => void;
6
- } & {
7
- children?: React.ReactNode;
8
- } & React.RefAttributes<HTMLElement>>, {}>;
9
- export default MultiSelectListbox;
1
+ import React from "react";
2
+ import { MultiSelectItem, MultiSelectProps } from "./MultiSelect";
3
+ /** MultiSelectListbox renders a non-hierarchical list of checkbox options for the `type="listbox". It leverager downshift-js for accessiblity. */
4
+ export declare const MultiSelectListbox: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<Omit<MultiSelectProps, "onChange"> & {
5
+ onChange: (selectedItem: MultiSelectItem, id: string) => void;
6
+ } & {
7
+ children?: React.ReactNode;
8
+ } & React.RefAttributes<HTMLElement>>, {}>;
9
+ export default MultiSelectListbox;
@@ -1,27 +1,27 @@
1
- import React from "react";
2
- import { SelectedItems } from "./MultiSelect";
3
- export interface MultiSelectMenuButtonProps {
4
- id: string;
5
- /** The id of the MultiSelect using this button. */
6
- multiSelectId: string;
7
- /** The label text rendered within the MultiSelect using this button. */
8
- multiSelectLabelText: string;
9
- /** The open status of the MultiSelect menu. */
10
- isOpen: boolean;
11
- /** The selected items state (items that were checked by user). */
12
- selectedItems: SelectedItems;
13
- /** The callback function for the menu toggle. */
14
- onMenuToggle?: () => void;
15
- /** The action to perform for clear/reset button of MultiSelect. */
16
- onClear?: () => void;
17
- onKeyDown?: () => void;
18
- }
19
- /**
20
- * The toggle button component used to open and close the `MultiSelect` menu.
21
- * A second button is rendered above the main button that displays the current
22
- * number of selected items. Clicking on the second button will clear all
23
- * the selected items and the main button's close event will not be fired
24
- * (as expected).
25
- */
26
- declare const MultiSelectMenuButton: React.ForwardRefExoticComponent<MultiSelectMenuButtonProps & React.RefAttributes<HTMLButtonElement>>;
27
- export default MultiSelectMenuButton;
1
+ import React from "react";
2
+ import { SelectedItems } from "./MultiSelect";
3
+ export interface MultiSelectMenuButtonProps {
4
+ id: string;
5
+ /** The id of the MultiSelect using this button. */
6
+ multiSelectId: string;
7
+ /** The label text rendered within the MultiSelect using this button. */
8
+ multiSelectLabelText: string;
9
+ /** The open status of the MultiSelect menu. */
10
+ isOpen: boolean;
11
+ /** The selected items state (items that were checked by user). */
12
+ selectedItems: SelectedItems;
13
+ /** The callback function for the menu toggle. */
14
+ onMenuToggle?: () => void;
15
+ /** The action to perform for clear/reset button of MultiSelect. */
16
+ onClear?: () => void;
17
+ onKeyDown?: () => void;
18
+ }
19
+ /**
20
+ * The toggle button component used to open and close the `MultiSelect` menu.
21
+ * A second button is rendered above the main button that displays the current
22
+ * number of selected items. Clicking on the second button will clear all
23
+ * the selected items and the main button's close event will not be fired
24
+ * (as expected).
25
+ */
26
+ declare const MultiSelectMenuButton: React.ForwardRefExoticComponent<MultiSelectMenuButtonProps & React.RefAttributes<HTMLButtonElement>>;
27
+ export default MultiSelectMenuButton;
@@ -1,26 +1,28 @@
1
- import React from "react";
2
- import { LayoutTypes } from "../../helpers/types";
3
- import { MultiSelectWidths } from "../MultiSelect/MultiSelect";
4
- export interface MultiSelectGroupProps {
5
- children: React.ReactNode;
6
- /** Additional className to use. */
7
- className?: string;
8
- id: string;
9
- labelText: string;
10
- /** Renders the layout of `MultiSelect` components in a row or column. */
11
- layout?: LayoutTypes;
12
- /** Width will be passed on each `MultiSelect` component. */
13
- multiSelectWidth?: MultiSelectWidths;
14
- /** Is set to `true` by default and determines if the `labelText` is visible on the site. */
15
- showLabel?: boolean;
16
- }
17
- /**
18
- * `MultiSelectGroup` is a wrapper component specific for `MultiSelect` components. The wrapped `MutliSelect` components can be displayed in a
19
- * column or in a row. The `MultiSelectGroup` component renders all the necessary
20
- * wrapping and associated text elements, but the child elements
21
- * _need_ to be `MultiSelect` components from the NYPL Design System.
22
- */
23
- export declare const MultiSelectGroup: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<MultiSelectGroupProps & {
24
- children?: React.ReactNode;
25
- } & React.RefAttributes<HTMLDivElement>>, {}>;
26
- export default MultiSelectGroup;
1
+ import React from "react";
2
+ import { LayoutTypes } from "../../helpers/types";
3
+ import { MultiSelectWidths } from "../MultiSelect/MultiSelect";
4
+ export interface MultiSelectGroupProps {
5
+ children: React.ReactNode;
6
+ /** Additional className to use. */
7
+ className?: string;
8
+ /** The id of the MultiSelectGroup. */
9
+ id: string;
10
+ /** The label text rendered within the MultiSelectGroup. */
11
+ labelText: string;
12
+ /** Renders the layout of `MultiSelect` components in a row or column. */
13
+ layout?: LayoutTypes;
14
+ /** Width will be passed on each `MultiSelect` component. */
15
+ multiSelectWidth?: MultiSelectWidths;
16
+ /** Is set to `true` by default and determines if the `labelText` is visible on the site. */
17
+ showLabel?: boolean;
18
+ }
19
+ /**
20
+ * `MultiSelectGroup` is a wrapper component specific for `MultiSelect` components. The wrapped `MutliSelect` components can be displayed in a
21
+ * column or in a row. The `MultiSelectGroup` component renders all the necessary
22
+ * wrapping and associated text elements, but the child elements
23
+ * _need_ to be `MultiSelect` components from the NYPL Design System.
24
+ */
25
+ export declare const MultiSelectGroup: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<MultiSelectGroupProps & {
26
+ children?: React.ReactNode;
27
+ } & React.RefAttributes<HTMLDivElement>>, {}>;
28
+ export default MultiSelectGroup;
@@ -1,51 +1,52 @@
1
- import React from "react";
2
- export declare type NotificationTypes = "standard" | "announcement" | "warning";
3
- interface BaseProps {
4
- /** Optional prop to control text alignment in `NotificationContent` */
5
- alignText?: boolean;
6
- /** Optional custom `Icon` that will override the default `Icon`. */
7
- icon?: JSX.Element;
8
- /** ID that other components can cross reference for accessibility purposes. */
9
- id?: string;
10
- /** Optional prop to control horizontal alignment of the `Notification` content */
11
- isCentered?: boolean;
12
- /** Content to be rendered in a `NotificationHeading` component. */
13
- notificationHeading?: string;
14
- /** Optional prop to control the coloring of the `Notification` text and the
15
- * visibility of an applicable icon. */
16
- notificationType?: NotificationTypes;
17
- /** Prop to display the `Notification` icon. Defaults to `true`. */
18
- showIcon?: boolean;
19
- }
20
- declare type NotificationHeadingProps = Omit<BasePropsWithoutAlignText, "notificationHeading" | "showIcon">;
21
- declare type NotificationContentProps = Omit<BaseProps, "icon">;
22
- declare type BasePropsWithoutAlignText = Omit<BaseProps, "alignText">;
23
- export interface NotificationProps extends BasePropsWithoutAlignText {
24
- /** Label used to describe the `Notification`'s aside HTML element. */
25
- ariaLabel?: string;
26
- /** Additional `className` to add. */
27
- className?: string;
28
- /** Optional prop to control whether a `Notification` can be dismissed
29
- * (closed) by a user. */
30
- dismissible?: boolean;
31
- /** Optional custom `Icon` that will override the default `Icon`. */
32
- icon?: JSX.Element;
33
- /** Optional prop to control the margin around the `Notification` component. */
34
- noMargin?: boolean;
35
- /** Content to be rendered in a `NotificationContent` component. */
36
- notificationContent: string | JSX.Element;
37
- }
38
- /**
39
- * NotificationHeading child-component.
40
- */
41
- export declare const NotificationHeading: import("@chakra-ui/react").ChakraComponent<(props: React.PropsWithChildren<NotificationHeadingProps>) => JSX.Element, {}>;
42
- /**
43
- * NotificationContent child-component.
44
- */
45
- export declare const NotificationContent: import("@chakra-ui/react").ChakraComponent<(props: React.PropsWithChildren<NotificationContentProps>) => JSX.Element, {}>;
46
- /**
47
- * Component used to present users with three different levels of notifications:
48
- * standard, announcement, and warning.
49
- */
50
- export declare const Notification: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>, {}>;
51
- export default Notification;
1
+ import React from "react";
2
+ export declare const notificationTypesArray: readonly ["standard", "announcement", "warning"];
3
+ export type NotificationTypes = typeof notificationTypesArray[number];
4
+ interface BaseProps {
5
+ /** Optional prop to control text alignment in `NotificationContent` */
6
+ alignText?: boolean;
7
+ /** Optional custom `Icon` that will override the default `Icon`. */
8
+ icon?: JSX.Element;
9
+ /** ID that other components can cross reference for accessibility purposes. */
10
+ id?: string;
11
+ /** Optional prop to control horizontal alignment of the `Notification` content */
12
+ isCentered?: boolean;
13
+ /** Content to be rendered in a `NotificationHeading` component. */
14
+ notificationHeading?: string;
15
+ /** Optional prop to control the coloring of the `Notification` text and the
16
+ * visibility of an applicable icon. */
17
+ notificationType?: NotificationTypes;
18
+ /** Prop to display the `Notification` icon. Defaults to `true`. */
19
+ showIcon?: boolean;
20
+ }
21
+ type NotificationHeadingProps = Omit<BasePropsWithoutAlignText, "notificationHeading" | "showIcon">;
22
+ type NotificationContentProps = Omit<BaseProps, "icon">;
23
+ type BasePropsWithoutAlignText = Omit<BaseProps, "alignText">;
24
+ export interface NotificationProps extends BasePropsWithoutAlignText {
25
+ /** Label used to describe the `Notification`'s aside HTML element. */
26
+ ariaLabel?: string;
27
+ /** Additional `className` to add. */
28
+ className?: string;
29
+ /** Optional prop to control whether a `Notification` can be dismissed
30
+ * (closed) by a user. */
31
+ dismissible?: boolean;
32
+ /** Optional custom `Icon` that will override the default `Icon`. */
33
+ icon?: JSX.Element;
34
+ /** Optional prop to control the margin around the `Notification` component. */
35
+ noMargin?: boolean;
36
+ /** Content to be rendered in a `NotificationContent` component. */
37
+ notificationContent: string | JSX.Element;
38
+ }
39
+ /**
40
+ * NotificationHeading child-component.
41
+ */
42
+ export declare const NotificationHeading: import("@chakra-ui/react").ChakraComponent<(props: React.PropsWithChildren<NotificationHeadingProps>) => import("@emotion/react/jsx-runtime").JSX.Element, {}>;
43
+ /**
44
+ * NotificationContent child-component.
45
+ */
46
+ export declare const NotificationContent: import("@chakra-ui/react").ChakraComponent<(props: React.PropsWithChildren<NotificationContentProps>) => import("@emotion/react/jsx-runtime").JSX.Element, {}>;
47
+ /**
48
+ * Component used to present users with three different levels of notifications:
49
+ * standard, announcement, and warning.
50
+ */
51
+ export declare const Notification: import("@chakra-ui/react").ChakraComponent<React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>, {}>;
52
+ export default Notification;