@nypl/design-system-react-components 1.2.2 → 1.3.0-rc

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.
@@ -1,4 +1,4 @@
1
- import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, Heading as Heading$2, Text as Text$2, useMultiStyleConfig, Flex, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, useMediaQuery, Stack, useMergeRefs, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, SimpleGrid as SimpleGrid$1, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td, useTheme, Input, Textarea, extendTheme, ChakraProvider, Radio as Radio$2, RadioGroup as RadioGroup$2, HStack, useOutsideClick, VStack, Spacer, useDisclosure, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, CircularProgress, CircularProgressLabel, Progress, Select as Select$2, Skeleton as Skeleton$1, RangeSlider, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb, Slider as Slider$1, SliderTrack, SliderFilledTrack, SliderThumb, Tabs as Tabs$1, Tab, TabPanel, TabList, TabPanels, Tooltip as Tooltip$2, Switch as Switch$1 } from '@chakra-ui/react';
1
+ import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, Heading as Heading$2, Text as Text$2, useMultiStyleConfig, Flex, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, useMediaQuery, Stack, useMergeRefs, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td, HStack, SimpleGrid as SimpleGrid$1, Input, Textarea, extendTheme, ChakraProvider, Radio as Radio$2, RadioGroup as RadioGroup$2, useOutsideClick, VStack, Spacer, useDisclosure, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, CircularProgress, CircularProgressLabel, Progress, Select as Select$2, Skeleton as Skeleton$1, RangeSlider, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb, Slider as Slider$1, SliderTrack, SliderFilledTrack, SliderThumb, Tabs as Tabs$1, Tab, TabPanel, TabList, TabPanels, Tooltip as Tooltip$2, Switch as Switch$1, useTheme } from '@chakra-ui/react';
2
2
  export { Box, Center, Circle, ColorModeScript, Flex, Grid, GridItem, HStack, Spacer, Square, Stack, Tab, TabList, TabPanel, TabPanels, VStack, cookieStorageManager, localStorageManager, useColorMode, useColorModeValue } from '@chakra-ui/react';
3
3
  import React__default, { createElement, forwardRef, useRef, useState, useEffect, Fragment, useContext } from 'react';
4
4
  import useNativeLazyLoading from '@charlietango/use-native-lazy-loading';
@@ -50,7 +50,6 @@ var SvgAccessibilityFull = function SvgAccessibilityFull(_ref) {
50
50
  viewBox: "0 0 18 18",
51
51
  fill: "none",
52
52
  xmlns: "http://www.w3.org/2000/svg",
53
- role: "img",
54
53
  "aria-labelledby": titleId
55
54
  }, props), title ? /*#__PURE__*/createElement("title", {
56
55
  id: titleId
@@ -85,7 +84,6 @@ var SvgAccessibilityPartial = function SvgAccessibilityPartial(_ref) {
85
84
  viewBox: "0 0 18 18",
86
85
  fill: "none",
87
86
  xmlns: "http://www.w3.org/2000/svg",
88
- role: "img",
89
87
  "aria-labelledby": titleId
90
88
  }, props), title ? /*#__PURE__*/createElement("title", {
91
89
  id: titleId
@@ -119,7 +117,6 @@ var SvgActionCheckCircle = function SvgActionCheckCircle(_ref) {
119
117
  return /*#__PURE__*/createElement("svg", _extends$3({
120
118
  viewBox: "0 0 24 24",
121
119
  xmlns: "http://www.w3.org/2000/svg",
122
- role: "img",
123
120
  "aria-labelledby": titleId
124
121
  }, props), title ? /*#__PURE__*/createElement("title", {
125
122
  id: titleId
@@ -142,7 +139,6 @@ var SvgActionCheckCircleFilled = function SvgActionCheckCircleFilled(_ref) {
142
139
  return /*#__PURE__*/createElement("svg", _extends$4({
143
140
  viewBox: "0 0 24 24",
144
141
  xmlns: "http://www.w3.org/2000/svg",
145
- role: "img",
146
142
  "aria-labelledby": titleId
147
143
  }, props), title ? /*#__PURE__*/createElement("title", {
148
144
  id: titleId
@@ -163,7 +159,6 @@ var SvgActionExit = function SvgActionExit(_ref) {
163
159
  return /*#__PURE__*/createElement("svg", _extends$5({
164
160
  viewBox: "0 0 24 24",
165
161
  xmlns: "http://www.w3.org/2000/svg",
166
- role: "img",
167
162
  "aria-labelledby": titleId
168
163
  }, props), title ? /*#__PURE__*/createElement("title", {
169
164
  id: titleId
@@ -186,7 +181,6 @@ var SvgActionHelpDefault = function SvgActionHelpDefault(_ref) {
186
181
  return /*#__PURE__*/createElement("svg", _extends$6({
187
182
  viewBox: "0 0 24 24",
188
183
  xmlns: "http://www.w3.org/2000/svg",
189
- role: "img",
190
184
  "aria-labelledby": titleId
191
185
  }, props), title ? /*#__PURE__*/createElement("title", {
192
186
  id: titleId
@@ -209,7 +203,6 @@ var SvgActionHelpOutline = function SvgActionHelpOutline(_ref) {
209
203
  return /*#__PURE__*/createElement("svg", _extends$7({
210
204
  viewBox: "0 0 24 24",
211
205
  xmlns: "http://www.w3.org/2000/svg",
212
- role: "img",
213
206
  "aria-labelledby": titleId
214
207
  }, props), title ? /*#__PURE__*/createElement("title", {
215
208
  id: titleId
@@ -232,7 +225,6 @@ var SvgActionLaunch = function SvgActionLaunch(_ref) {
232
225
  return /*#__PURE__*/createElement("svg", _extends$8({
233
226
  viewBox: "0 0 24 24",
234
227
  xmlns: "http://www.w3.org/2000/svg",
235
- role: "img",
236
228
  "aria-labelledby": titleId
237
229
  }, props), title ? /*#__PURE__*/createElement("title", {
238
230
  id: titleId
@@ -255,7 +247,6 @@ var SvgActionPower = function SvgActionPower(_ref) {
255
247
  return /*#__PURE__*/createElement("svg", _extends$9({
256
248
  viewBox: "0 0 24 24",
257
249
  xmlns: "http://www.w3.org/2000/svg",
258
- role: "img",
259
250
  "aria-labelledby": titleId
260
251
  }, props), title ? /*#__PURE__*/createElement("title", {
261
252
  id: titleId
@@ -278,7 +269,6 @@ var SvgActionRegistration = function SvgActionRegistration(_ref) {
278
269
  return /*#__PURE__*/createElement("svg", _extends$a({
279
270
  viewBox: "0 0 24 24",
280
271
  xmlns: "http://www.w3.org/2000/svg",
281
- role: "img",
282
272
  "aria-labelledby": titleId
283
273
  }, props), title ? /*#__PURE__*/createElement("title", {
284
274
  id: titleId
@@ -299,7 +289,6 @@ var SvgActionSettings = function SvgActionSettings(_ref) {
299
289
  return /*#__PURE__*/createElement("svg", _extends$b({
300
290
  viewBox: "0 0 24 24",
301
291
  xmlns: "http://www.w3.org/2000/svg",
302
- role: "img",
303
292
  "aria-labelledby": titleId
304
293
  }, props), title ? /*#__PURE__*/createElement("title", {
305
294
  id: titleId
@@ -322,7 +311,6 @@ var SvgAlertNotificationImportant = function SvgAlertNotificationImportant(_ref)
322
311
  return /*#__PURE__*/createElement("svg", _extends$c({
323
312
  viewBox: "0 0 24 24",
324
313
  xmlns: "http://www.w3.org/2000/svg",
325
- role: "img",
326
314
  "aria-labelledby": titleId
327
315
  }, props), title ? /*#__PURE__*/createElement("title", {
328
316
  id: titleId
@@ -345,7 +333,6 @@ var SvgAlertWarningFilled = function SvgAlertWarningFilled(_ref) {
345
333
  return /*#__PURE__*/createElement("svg", _extends$d({
346
334
  viewBox: "0 0 24 24",
347
335
  xmlns: "http://www.w3.org/2000/svg",
348
- role: "img",
349
336
  "aria-labelledby": titleId
350
337
  }, props), title ? /*#__PURE__*/createElement("title", {
351
338
  id: titleId
@@ -368,7 +355,6 @@ var SvgAlertWarningOutline = function SvgAlertWarningOutline(_ref) {
368
355
  return /*#__PURE__*/createElement("svg", _extends$e({
369
356
  viewBox: "0 0 24 24",
370
357
  xmlns: "http://www.w3.org/2000/svg",
371
- role: "img",
372
358
  "aria-labelledby": titleId
373
359
  }, props), title ? /*#__PURE__*/createElement("title", {
374
360
  id: titleId
@@ -391,7 +377,6 @@ var SvgArrow = function SvgArrow(_ref) {
391
377
  return /*#__PURE__*/createElement("svg", _extends$f({
392
378
  viewBox: "0 0 24 14",
393
379
  xmlns: "http://www.w3.org/2000/svg",
394
- role: "img",
395
380
  "aria-labelledby": titleId
396
381
  }, props), title ? /*#__PURE__*/createElement("title", {
397
382
  id: titleId
@@ -414,7 +399,6 @@ var SvgBuilding = function SvgBuilding(_ref) {
414
399
  return /*#__PURE__*/createElement("svg", _extends$g({
415
400
  viewBox: "0 0 26 26",
416
401
  xmlns: "http://www.w3.org/2000/svg",
417
- role: "img",
418
402
  "aria-labelledby": titleId
419
403
  }, props), title ? /*#__PURE__*/createElement("title", {
420
404
  id: titleId
@@ -437,7 +421,6 @@ var SvgCheck = function SvgCheck(_ref) {
437
421
  return /*#__PURE__*/createElement("svg", _extends$h({
438
422
  viewBox: "0 0 24 24",
439
423
  xmlns: "http://www.w3.org/2000/svg",
440
- role: "img",
441
424
  "aria-labelledby": titleId
442
425
  }, props), title ? /*#__PURE__*/createElement("title", {
443
426
  id: titleId
@@ -458,7 +441,6 @@ var SvgClock = function SvgClock(_ref) {
458
441
  return /*#__PURE__*/createElement("svg", _extends$i({
459
442
  viewBox: "0 0 24 24",
460
443
  xmlns: "http://www.w3.org/2000/svg",
461
- role: "img",
462
444
  "aria-labelledby": titleId
463
445
  }, props), title ? /*#__PURE__*/createElement("title", {
464
446
  id: titleId
@@ -481,7 +463,6 @@ var SvgClose = function SvgClose(_ref) {
481
463
  return /*#__PURE__*/createElement("svg", _extends$j({
482
464
  viewBox: "0 0 24 24",
483
465
  xmlns: "http://www.w3.org/2000/svg",
484
- role: "img",
485
466
  "aria-labelledby": titleId
486
467
  }, props), title ? /*#__PURE__*/createElement("title", {
487
468
  id: titleId
@@ -502,7 +483,6 @@ var SvgDecorativeEnvelope = function SvgDecorativeEnvelope(_ref) {
502
483
  return /*#__PURE__*/createElement("svg", _extends$k({
503
484
  viewBox: "0 0 68 68",
504
485
  xmlns: "http://www.w3.org/2000/svg",
505
- role: "img",
506
486
  "aria-labelledby": titleId
507
487
  }, props), title ? /*#__PURE__*/createElement("title", {
508
488
  id: titleId
@@ -525,7 +505,6 @@ var SvgDecorativeLibraryCard = function SvgDecorativeLibraryCard(_ref) {
525
505
  return /*#__PURE__*/createElement("svg", _extends$l({
526
506
  viewBox: "0 0 68 68",
527
507
  xmlns: "http://www.w3.org/2000/svg",
528
- role: "img",
529
508
  "aria-labelledby": titleId
530
509
  }, props), title ? /*#__PURE__*/createElement("title", {
531
510
  id: titleId
@@ -548,7 +527,6 @@ var SvgDecorativeShoppingBag = function SvgDecorativeShoppingBag(_ref) {
548
527
  return /*#__PURE__*/createElement("svg", _extends$m({
549
528
  viewBox: "0 0 68 68",
550
529
  xmlns: "http://www.w3.org/2000/svg",
551
- role: "img",
552
530
  "aria-labelledby": titleId
553
531
  }, props), title ? /*#__PURE__*/createElement("title", {
554
532
  id: titleId
@@ -569,7 +547,6 @@ var SvgDownload = function SvgDownload(_ref) {
569
547
  return /*#__PURE__*/createElement("svg", _extends$n({
570
548
  viewBox: "0 0 14 18",
571
549
  xmlns: "http://www.w3.org/2000/svg",
572
- role: "img",
573
550
  "aria-labelledby": titleId
574
551
  }, props), title ? /*#__PURE__*/createElement("title", {
575
552
  id: titleId
@@ -592,7 +569,6 @@ var SvgErrorFilled = function SvgErrorFilled(_ref) {
592
569
  return /*#__PURE__*/createElement("svg", _extends$o({
593
570
  viewBox: "0 0 24 24",
594
571
  xmlns: "http://www.w3.org/2000/svg",
595
- role: "img",
596
572
  "aria-labelledby": titleId
597
573
  }, props), title ? /*#__PURE__*/createElement("title", {
598
574
  id: titleId
@@ -615,7 +591,6 @@ var SvgErrorOutline = function SvgErrorOutline(_ref) {
615
591
  return /*#__PURE__*/createElement("svg", _extends$p({
616
592
  viewBox: "0 0 24 24",
617
593
  xmlns: "http://www.w3.org/2000/svg",
618
- role: "img",
619
594
  "aria-labelledby": titleId
620
595
  }, props), title ? /*#__PURE__*/createElement("title", {
621
596
  id: titleId
@@ -638,7 +613,6 @@ var SvgFileTypeAudio = function SvgFileTypeAudio(_ref) {
638
613
  return /*#__PURE__*/createElement("svg", _extends$q({
639
614
  viewBox: "0 0 24 24",
640
615
  xmlns: "http://www.w3.org/2000/svg",
641
- role: "img",
642
616
  "aria-labelledby": titleId
643
617
  }, props), title ? /*#__PURE__*/createElement("title", {
644
618
  id: titleId
@@ -667,7 +641,6 @@ var SvgFileTypeDoc = function SvgFileTypeDoc(_ref) {
667
641
  return /*#__PURE__*/createElement("svg", _extends$r({
668
642
  viewBox: "0 0 24 24",
669
643
  xmlns: "http://www.w3.org/2000/svg",
670
- role: "img",
671
644
  "aria-labelledby": titleId
672
645
  }, props), title ? /*#__PURE__*/createElement("title", {
673
646
  id: titleId
@@ -696,7 +669,6 @@ var SvgFileTypeGenericDoc = function SvgFileTypeGenericDoc(_ref) {
696
669
  return /*#__PURE__*/createElement("svg", _extends$s({
697
670
  viewBox: "0 0 24 24",
698
671
  xmlns: "http://www.w3.org/2000/svg",
699
- role: "img",
700
672
  "aria-labelledby": titleId
701
673
  }, props), title ? /*#__PURE__*/createElement("title", {
702
674
  id: titleId
@@ -723,7 +695,6 @@ var SvgFileTypeImage = function SvgFileTypeImage(_ref) {
723
695
  return /*#__PURE__*/createElement("svg", _extends$t({
724
696
  viewBox: "0 0 24 24",
725
697
  xmlns: "http://www.w3.org/2000/svg",
726
- role: "img",
727
698
  "aria-labelledby": titleId
728
699
  }, props), title ? /*#__PURE__*/createElement("title", {
729
700
  id: titleId
@@ -760,7 +731,6 @@ var SvgFileTypePdf = function SvgFileTypePdf(_ref) {
760
731
  return /*#__PURE__*/createElement("svg", _extends$u({
761
732
  viewBox: "0 0 24 24",
762
733
  xmlns: "http://www.w3.org/2000/svg",
763
- role: "img",
764
734
  "aria-labelledby": titleId
765
735
  }, props), title ? /*#__PURE__*/createElement("title", {
766
736
  id: titleId
@@ -789,7 +759,6 @@ var SvgFileTypeSpreadsheet = function SvgFileTypeSpreadsheet(_ref) {
789
759
  return /*#__PURE__*/createElement("svg", _extends$v({
790
760
  viewBox: "0 0 24 24",
791
761
  xmlns: "http://www.w3.org/2000/svg",
792
- role: "img",
793
762
  "aria-labelledby": titleId
794
763
  }, props), title ? /*#__PURE__*/createElement("title", {
795
764
  id: titleId
@@ -818,7 +787,6 @@ var SvgFileTypeVideo = function SvgFileTypeVideo(_ref) {
818
787
  return /*#__PURE__*/createElement("svg", _extends$w({
819
788
  viewBox: "0 0 24 24",
820
789
  xmlns: "http://www.w3.org/2000/svg",
821
- role: "img",
822
790
  "aria-labelledby": titleId
823
791
  }, props), title ? /*#__PURE__*/createElement("title", {
824
792
  id: titleId
@@ -845,7 +813,6 @@ var SvgHeadset = function SvgHeadset(_ref) {
845
813
  return /*#__PURE__*/createElement("svg", _extends$x({
846
814
  viewBox: "0 0 18 19",
847
815
  xmlns: "http://www.w3.org/2000/svg",
848
- role: "img",
849
816
  "aria-labelledby": titleId
850
817
  }, props), title ? /*#__PURE__*/createElement("title", {
851
818
  id: titleId
@@ -866,7 +833,6 @@ var SvgLegacyAccountFilled = function SvgLegacyAccountFilled(_ref) {
866
833
  return /*#__PURE__*/createElement("svg", _extends$y({
867
834
  viewBox: "0 0 32 33",
868
835
  xmlns: "http://www.w3.org/2000/svg",
869
- role: "img",
870
836
  "aria-labelledby": titleId
871
837
  }, props), title ? /*#__PURE__*/createElement("title", {
872
838
  id: titleId
@@ -887,7 +853,6 @@ var SvgLegacyAccountUnfilled = function SvgLegacyAccountUnfilled(_ref) {
887
853
  return /*#__PURE__*/createElement("svg", _extends$z({
888
854
  viewBox: "0 0 33 33",
889
855
  xmlns: "http://www.w3.org/2000/svg",
890
- role: "img",
891
856
  "aria-labelledby": titleId
892
857
  }, props), title ? /*#__PURE__*/createElement("title", {
893
858
  id: titleId
@@ -908,7 +873,6 @@ var SvgLegacySocialFacebook = function SvgLegacySocialFacebook(_ref) {
908
873
  return /*#__PURE__*/createElement("svg", _extends$A({
909
874
  viewBox: "0 0 32 32",
910
875
  xmlns: "http://www.w3.org/2000/svg",
911
- role: "img",
912
876
  "aria-labelledby": titleId
913
877
  }, props), title ? /*#__PURE__*/createElement("title", {
914
878
  id: titleId
@@ -929,7 +893,6 @@ var SvgLegacySocialInstagram = function SvgLegacySocialInstagram(_ref) {
929
893
  return /*#__PURE__*/createElement("svg", _extends$B({
930
894
  viewBox: "0 0 32 32",
931
895
  xmlns: "http://www.w3.org/2000/svg",
932
- role: "img",
933
896
  "aria-labelledby": titleId
934
897
  }, props), title ? /*#__PURE__*/createElement("title", {
935
898
  id: titleId
@@ -950,7 +913,6 @@ var SvgLegacySocialTwitter = function SvgLegacySocialTwitter(_ref) {
950
913
  return /*#__PURE__*/createElement("svg", _extends$C({
951
914
  viewBox: "0 0 32 32",
952
915
  xmlns: "http://www.w3.org/2000/svg",
953
- role: "img",
954
916
  "aria-labelledby": titleId
955
917
  }, props), title ? /*#__PURE__*/createElement("title", {
956
918
  id: titleId
@@ -971,7 +933,6 @@ var SvgLegacySocialYoutube = function SvgLegacySocialYoutube(_ref) {
971
933
  return /*#__PURE__*/createElement("svg", _extends$D({
972
934
  viewBox: "0 0 32 32",
973
935
  xmlns: "http://www.w3.org/2000/svg",
974
- role: "img",
975
936
  "aria-labelledby": titleId
976
937
  }, props), title ? /*#__PURE__*/createElement("title", {
977
938
  id: titleId
@@ -992,7 +953,6 @@ var SvgLocator = function SvgLocator(_ref) {
992
953
  return /*#__PURE__*/createElement("svg", _extends$E({
993
954
  viewBox: "0 0 32 32",
994
955
  xmlns: "http://www.w3.org/2000/svg",
995
- role: "img",
996
956
  "aria-labelledby": titleId
997
957
  }, props), title ? /*#__PURE__*/createElement("title", {
998
958
  id: titleId
@@ -1017,7 +977,6 @@ var SvgMinus = function SvgMinus(_ref) {
1017
977
  width: 24,
1018
978
  height: 2,
1019
979
  xmlns: "http://www.w3.org/2000/svg",
1020
- role: "img",
1021
980
  "aria-labelledby": titleId
1022
981
  }, props), title ? /*#__PURE__*/createElement("title", {
1023
982
  id: titleId
@@ -1040,7 +999,6 @@ var SvgPlus = function SvgPlus(_ref) {
1040
999
  return /*#__PURE__*/createElement("svg", _extends$G({
1041
1000
  viewBox: "0 0 23 23",
1042
1001
  xmlns: "http://www.w3.org/2000/svg",
1043
- role: "img",
1044
1002
  "aria-labelledby": titleId
1045
1003
  }, props), title ? /*#__PURE__*/createElement("title", {
1046
1004
  id: titleId
@@ -1071,7 +1029,6 @@ var SvgSearch = function SvgSearch(_ref) {
1071
1029
  return /*#__PURE__*/createElement("svg", _extends$H({
1072
1030
  viewBox: "0 0 24 24",
1073
1031
  xmlns: "http://www.w3.org/2000/svg",
1074
- role: "img",
1075
1032
  "aria-labelledby": titleId
1076
1033
  }, props), title ? /*#__PURE__*/createElement("title", {
1077
1034
  id: titleId
@@ -1094,7 +1051,6 @@ var SvgSocialFacebook = function SvgSocialFacebook(_ref) {
1094
1051
  return /*#__PURE__*/createElement("svg", _extends$I({
1095
1052
  viewBox: "0 0 36 36",
1096
1053
  xmlns: "http://www.w3.org/2000/svg",
1097
- role: "img",
1098
1054
  "aria-labelledby": titleId
1099
1055
  }, props), title ? /*#__PURE__*/createElement("title", {
1100
1056
  id: titleId
@@ -1117,7 +1073,6 @@ var SvgSocialInstagram = function SvgSocialInstagram(_ref) {
1117
1073
  return /*#__PURE__*/createElement("svg", _extends$J({
1118
1074
  viewBox: "0 0 37 37",
1119
1075
  xmlns: "http://www.w3.org/2000/svg",
1120
- role: "img",
1121
1076
  "aria-labelledby": titleId
1122
1077
  }, props), title ? /*#__PURE__*/createElement("title", {
1123
1078
  id: titleId
@@ -1144,7 +1099,6 @@ var SvgSocialTumblr = function SvgSocialTumblr(_ref) {
1144
1099
  return /*#__PURE__*/createElement("svg", _extends$K({
1145
1100
  viewBox: "0 0 36 36",
1146
1101
  xmlns: "http://www.w3.org/2000/svg",
1147
- role: "img",
1148
1102
  "aria-labelledby": titleId
1149
1103
  }, props), title ? /*#__PURE__*/createElement("title", {
1150
1104
  id: titleId
@@ -1169,7 +1123,6 @@ var SvgSocialTwitter = function SvgSocialTwitter(_ref) {
1169
1123
  return /*#__PURE__*/createElement("svg", _extends$L({
1170
1124
  viewBox: "0 0 36 36",
1171
1125
  xmlns: "http://www.w3.org/2000/svg",
1172
- role: "img",
1173
1126
  "aria-labelledby": titleId
1174
1127
  }, props), title ? /*#__PURE__*/createElement("title", {
1175
1128
  id: titleId
@@ -1192,7 +1145,6 @@ var SvgSocialYoutube = function SvgSocialYoutube(_ref) {
1192
1145
  return /*#__PURE__*/createElement("svg", _extends$M({
1193
1146
  viewBox: "0 0 36 36",
1194
1147
  xmlns: "http://www.w3.org/2000/svg",
1195
- role: "img",
1196
1148
  "aria-labelledby": titleId
1197
1149
  }, props), title ? /*#__PURE__*/createElement("title", {
1198
1150
  id: titleId
@@ -1217,7 +1169,6 @@ var SvgSpeakerNotes = function SvgSpeakerNotes(_ref) {
1217
1169
  return /*#__PURE__*/createElement("svg", _extends$N({
1218
1170
  viewBox: "0 0 24 24",
1219
1171
  xmlns: "http://www.w3.org/2000/svg",
1220
- role: "img",
1221
1172
  "aria-labelledby": titleId
1222
1173
  }, props), title ? /*#__PURE__*/createElement("title", {
1223
1174
  id: titleId
@@ -1241,7 +1192,6 @@ var SvgUtilityAccountFilled = function SvgUtilityAccountFilled(_ref) {
1241
1192
  viewBox: "0 0 24 24",
1242
1193
  fill: "none",
1243
1194
  xmlns: "http://www.w3.org/2000/svg",
1244
- role: "img",
1245
1195
  "aria-labelledby": titleId
1246
1196
  }, props), title ? /*#__PURE__*/createElement("title", {
1247
1197
  id: titleId
@@ -1267,7 +1217,6 @@ var SvgUtilityAccountUnfilled = function SvgUtilityAccountUnfilled(_ref) {
1267
1217
  viewBox: "0 0 24 24",
1268
1218
  fill: "none",
1269
1219
  xmlns: "http://www.w3.org/2000/svg",
1270
- role: "img",
1271
1220
  "aria-labelledby": titleId
1272
1221
  }, props), title ? /*#__PURE__*/createElement("title", {
1273
1222
  id: titleId
@@ -1298,7 +1247,6 @@ var SvgUtilityHamburger = function SvgUtilityHamburger(_ref) {
1298
1247
  return /*#__PURE__*/createElement("svg", _extends$Q({
1299
1248
  viewBox: "0 0 24 24",
1300
1249
  xmlns: "http://www.w3.org/2000/svg",
1301
- role: "img",
1302
1250
  "aria-labelledby": titleId
1303
1251
  }, props), title ? /*#__PURE__*/createElement("title", {
1304
1252
  id: titleId
@@ -1585,9 +1533,6 @@ var Button = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
1585
1533
  if (!id) {
1586
1534
  console.warn("NYPL Reservoir Button: This component's required `id` prop was not passed.");
1587
1535
  }
1588
- if (buttonType === "link") {
1589
- console.warn("NYPL Reservoir Button: The 'link' value for the 'buttonType' prop has been deprecated.");
1590
- }
1591
1536
  React__default.Children.map(children, function (child) {
1592
1537
  childCount++;
1593
1538
  if (child !== undefined && child !== null) {
@@ -2317,9 +2262,9 @@ var ButtonGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
2317
2262
  buttonWidth: finalButtonWidth
2318
2263
  });
2319
2264
  React__default.Children.map(children, function (child, key) {
2320
- if (child.type !== Button) {
2265
+ if ((child == null ? void 0 : child.type) !== Button) {
2321
2266
  // Special case for Storybook MDX documentation.
2322
- if (child.props.mdxType && child.props.mdxType === "Button") ; else {
2267
+ if (child != null && child.props.mdxType && (child == null ? void 0 : child.props.mdxType) === "Button") ; else {
2323
2268
  console.warn("NYPL Reservoir ButtonGroup: Only Button components can be children of ButtonGroup.");
2324
2269
  return;
2325
2270
  }
@@ -2327,7 +2272,7 @@ var ButtonGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
2327
2272
  var disabledProps = isDisabled ? {
2328
2273
  isDisabled: isDisabled
2329
2274
  } : {};
2330
- newChildren.push(React__default.cloneElement(child, _extends({
2275
+ child && newChildren.push(React__default.cloneElement(child, _extends({
2331
2276
  key: key
2332
2277
  }, disabledProps)));
2333
2278
  });
@@ -3073,36 +3018,6 @@ var CheckboxGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
3073
3018
  }));
3074
3019
  }));
3075
3020
 
3076
- var _excluded$15 = ["children", "columns", "className", "gap", "id"];
3077
- var SimpleGrid = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3078
- var children = props.children,
3079
- columns = props.columns,
3080
- className = props.className,
3081
- _props$gap = props.gap,
3082
- gap = _props$gap === void 0 ? "grid.l" : _props$gap,
3083
- id = props.id,
3084
- rest = _objectWithoutPropertiesLoose(props, _excluded$15);
3085
- var responsiveCols = columns ? {
3086
- base: 1,
3087
- md: columns
3088
- } : {
3089
- base: 1,
3090
- md: 2,
3091
- lg: 3
3092
- };
3093
- return React__default.createElement(SimpleGrid$1, Object.assign({
3094
- className: className,
3095
- columns: responsiveCols,
3096
- gap: gap,
3097
- id: id,
3098
- ref: ref
3099
- }, rest), children);
3100
- }), {
3101
- shouldForwardProp: function shouldForwardProp() {
3102
- return true;
3103
- }
3104
- });
3105
-
3106
3021
  /**
3107
3022
  * React hook used to get the window size on device resizing.
3108
3023
  * Based on https://usehooks-typescript.com/react-hook/use-window-size
@@ -3132,7 +3047,7 @@ function useWindowSize() {
3132
3047
  return windowSize;
3133
3048
  }
3134
3049
 
3135
- var _excluded$16 = ["className", "columnHeaders", "columnHeadersBackgroundColor", "columnHeadersTextColor", "id", "showRowDividers", "tableData", "titleText", "useRowHeaders"];
3050
+ var _excluded$15 = ["className", "columnHeaders", "columnHeadersBackgroundColor", "columnHeadersTextColor", "id", "showRowDividers", "tableData", "titleText", "useRowHeaders"];
3136
3051
  /**
3137
3052
  * Basic `Table` component used to organize and display tabular data in
3138
3053
  * rows and columns.
@@ -3150,7 +3065,7 @@ var Table = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3150
3065
  titleText = props.titleText,
3151
3066
  _props$useRowHeaders = props.useRowHeaders,
3152
3067
  useRowHeaders = _props$useRowHeaders === void 0 ? false : _props$useRowHeaders,
3153
- rest = _objectWithoutPropertiesLoose(props, _excluded$16);
3068
+ rest = _objectWithoutPropertiesLoose(props, _excluded$15);
3154
3069
  var customColors = {};
3155
3070
  columnHeadersBackgroundColor && (customColors["backgroundColor"] = columnHeadersBackgroundColor);
3156
3071
  columnHeadersTextColor && (customColors["color"] = columnHeadersTextColor);
@@ -3217,113 +3132,37 @@ var Table = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3217
3132
  }, rest), tableCaption, columnHeadersElems, tableBodyElems());
3218
3133
  }));
3219
3134
 
3220
- /**
3221
- * A custom hook that returns the Chakra-based NYPL theme object. This must be
3222
- * used inside a component that is wrapped in the `DSProvider` component, so
3223
- * that the theme object can be available to use.
3224
- */
3225
- function useNYPLTheme() {
3226
- var theme = useTheme();
3227
- if (!theme || Object.keys(theme).length === 0) {
3228
- console.warn("NYPL Reservoir useNYPLTheme: hook must be used inside of `<DSProvider />`.");
3229
- return {};
3230
- }
3231
- // Chakra provides a lot of their own styles but
3232
- // only NYPL styles should be exported.
3233
- return {
3234
- // base, sm, md, lg, xl, 2xl
3235
- breakpoints: theme.breakpoints,
3236
- colors: {
3237
- // primary, secondary
3238
- brand: theme.colors.brand,
3239
- // dark mode colors:
3240
- // ui.disabled, ui.error, ui.focus, ui.link,
3241
- // ui.status, ui.success, ui.test, ui.warning,
3242
- // ui.bg, ui.border, ui.typography
3243
- dark: theme.colors.dark,
3244
- // blogs, books-and-more, education, locations,
3245
- // research, research-library, whats-on
3246
- section: theme.colors.section,
3247
- transparent: theme.colors.transparent,
3248
- // black, white, gray, disabled, error, focus, link,
3249
- // status, success, test, warning, bg, border, typography
3250
- ui: theme.colors.ui
3251
- },
3252
- fontSizes: {
3253
- "-3": theme.fontSizes["-3"],
3254
- "-2": theme.fontSizes["-2"],
3255
- "-1": theme.fontSizes["-1"],
3256
- "0": theme.fontSizes["0"],
3257
- "1": theme.fontSizes["1"],
3258
- "2": theme.fontSizes["2"],
3259
- "3": theme.fontSizes["3"],
3260
- "4": theme.fontSizes["4"],
3261
- // default
3262
- breadcrumbs: theme.fontSizes.breadcrumbs,
3263
- // default
3264
- button: theme.fontSizes.button,
3265
- // primary, secondary, tertiary, callout
3266
- heading: theme.fontSizes.heading,
3267
- // default
3268
- helper: theme.fontSizes.helper,
3269
- // default, secondary
3270
- label: theme.fontSizes.label,
3271
- // default, caption, tag, mini
3272
- text: theme.fontSizes.text
3273
- },
3274
- fontWeights: {
3275
- light: theme.fontWeights.light,
3276
- regular: theme.fontWeights.regular,
3277
- medium: theme.fontWeights.medium,
3278
- bold: theme.fontWeights.bold,
3279
- // default, lastChild
3280
- breadcrumbs: theme.fontWeights.breadcrumbs,
3281
- // default
3282
- button: theme.fontWeights.button,
3283
- // primary, secondary, tertiary, callout
3284
- heading: theme.fontWeights.heading,
3285
- // default
3286
- helper: theme.fontWeights.helper,
3287
- // default
3288
- label: theme.fontWeights.label,
3289
- // default, caption, tag, mini
3290
- text: theme.fontWeights.text
3291
- },
3292
- fonts: {
3293
- body: theme.fonts.body,
3294
- heading: theme.fonts.heading
3295
- },
3296
- radii: theme.radii,
3297
- space: {
3298
- xxs: theme.space.xxs,
3299
- xs: theme.space.xs,
3300
- s: theme.space.s,
3301
- m: theme.space.m,
3302
- l: theme.space.l,
3303
- xl: theme.space.xl,
3304
- xxl: theme.space.xxl,
3305
- xxxl: theme.space.xxxl
3135
+ var SmallColorSwatch = function SmallColorSwatch(props) {
3136
+ var backgroundColor = props.backgroundColor,
3137
+ border = props.border,
3138
+ darkBorder = props.darkBorder;
3139
+ return createElement("span", {
3140
+ style: {
3141
+ backgroundColor: backgroundColor,
3142
+ border: !border && !darkBorder ? null : darkBorder ? "1px solid #191919" : "1px solid #E9E9E9",
3143
+ display: "inline-block",
3144
+ height: "1rem",
3145
+ marginRight: ".5rem",
3146
+ verticalAlign: "middle",
3147
+ width: "1rem"
3306
3148
  }
3307
- };
3308
- }
3309
-
3149
+ });
3150
+ };
3310
3151
  var DataTable = function DataTable(props) {
3311
3152
  var dataBgPageColor = props.dataBgPageColor,
3312
3153
  dataBgDefaultColor = props.dataBgDefaultColor,
3154
+ dataDarkBgPageColor = props.dataDarkBgPageColor,
3155
+ dataDarkBgDefaultColor = props.dataDarkBgDefaultColor,
3313
3156
  _props$dataBlackColor = props.dataBlackColor,
3314
3157
  dataBlackColor = _props$dataBlackColor === void 0 ? ["--", "--", "--"] : _props$dataBlackColor,
3315
- dataHeadingColor = props.dataHeadingColor,
3316
- dataBodyColor = props.dataBodyColor,
3158
+ dataDarkHeadingColor = props.dataDarkHeadingColor,
3159
+ dataDarkBodyColor = props.dataDarkBodyColor,
3317
3160
  _props$dataWhiteColor = props.dataWhiteColor,
3318
3161
  dataWhiteColor = _props$dataWhiteColor === void 0 ? ["--", "--", "--"] : _props$dataWhiteColor,
3162
+ dataBrandPrimaryColor = props.dataBrandPrimaryColor,
3163
+ dataBrandSecondaryColor = props.dataBrandSecondaryColor,
3319
3164
  _props$textColor = props.textColor,
3320
3165
  textColor = _props$textColor === void 0 ? "ui.white" : _props$textColor;
3321
- var _useNYPLTheme = useNYPLTheme(),
3322
- ui = _useNYPLTheme.colors.ui;
3323
- var grayxxxxDark = ui.gray["xxxx-dark"];
3324
- var grayxxxDark = ui.gray["xxx-dark"];
3325
- var grayLightCool = ui.gray["light-cool"];
3326
- var grayMedium = ui.gray.medium;
3327
3166
  var SuccessIcon = function SuccessIcon() {
3328
3167
  return createElement(Icon, {
3329
3168
  color: textColor,
@@ -3348,29 +3187,41 @@ var DataTable = function DataTable(props) {
3348
3187
  var whiteLargeTextSuccess = successfulContrast(dataWhiteColor, "large");
3349
3188
  var blackSmallTextSuccess = successfulContrast(dataBlackColor);
3350
3189
  var blackLargeTextSuccess = successfulContrast(dataBlackColor, "large");
3190
+ var brandPrimarySmallTextSuccess = dataBrandPrimaryColor && successfulContrast(dataBrandPrimaryColor);
3191
+ var brandPrimaryLargeTextSuccess = dataBrandPrimaryColor && successfulContrast(dataBrandPrimaryColor, "large");
3192
+ var brandSecondarySmallTextSuccess = dataBrandSecondaryColor && successfulContrast(dataBrandSecondaryColor);
3193
+ var brandSecondaryLargeTextSuccess = dataBrandSecondaryColor && successfulContrast(dataBrandSecondaryColor, "large");
3351
3194
  // The dark theme colors might have the following color contrast information.
3352
3195
  var bgPageSmallTextSuccess = dataBgPageColor && successfulContrast(dataBgPageColor);
3353
3196
  var bgPageLargeTextSuccess = dataBgPageColor && successfulContrast(dataBgPageColor, "large");
3354
3197
  var bgDefaultSmallTextSuccess = dataBgDefaultColor && successfulContrast(dataBgDefaultColor);
3355
3198
  var bgDefaultLargeTextSuccess = dataBgDefaultColor && successfulContrast(dataBgDefaultColor, "large");
3356
- var headingSmallTextSuccess = dataHeadingColor && successfulContrast(dataHeadingColor);
3357
- var headingLargeTextSuccess = dataHeadingColor && successfulContrast(dataHeadingColor, "large");
3358
- var textSmallTextSuccess = dataBodyColor && successfulContrast(dataBodyColor);
3359
- var textLargeTextSuccess = dataBodyColor && successfulContrast(dataBodyColor, "large");
3199
+ var darkBgPageSmallTextSuccess = dataDarkBgPageColor && successfulContrast(dataDarkBgPageColor);
3200
+ var darkBgPageLargeTextSuccess = dataDarkBgPageColor && successfulContrast(dataDarkBgPageColor, "large");
3201
+ var darkBgDefaultSmallTextSuccess = dataDarkBgDefaultColor && successfulContrast(dataDarkBgDefaultColor);
3202
+ var darkBgDefaultLargeTextSuccess = dataDarkBgDefaultColor && successfulContrast(dataDarkBgDefaultColor, "large");
3203
+ var darkHeadingSmallTextSuccess = dataDarkHeadingColor && successfulContrast(dataDarkHeadingColor);
3204
+ var darkHeadingLargeTextSuccess = dataDarkHeadingColor && successfulContrast(dataDarkHeadingColor, "large");
3205
+ var textSmallTextSuccess = dataDarkBodyColor && successfulContrast(dataDarkBodyColor);
3206
+ var textLargeTextSuccess = dataDarkBodyColor && successfulContrast(dataDarkBodyColor, "large");
3360
3207
  // All ColorCards have these two rows.
3361
3208
  var tableData = [[createElement("span", {
3362
3209
  key: "colorUiWhite",
3363
3210
  style: {
3364
- color: "white",
3365
3211
  padding: 0
3366
3212
  }
3367
- }, "ui.white"), dataWhiteColor[0] + ":1", createElement(Fragment, null, dataWhiteColor[1], whiteSmallTextSuccess), createElement(Fragment, null, dataWhiteColor[2], whiteLargeTextSuccess)], [createElement("span", {
3213
+ }, createElement(SmallColorSwatch, {
3214
+ backgroundColor: "white",
3215
+ border: true
3216
+ }), "ui.white"), dataWhiteColor[0] + ":1", createElement(Fragment, null, dataWhiteColor[1], whiteSmallTextSuccess), createElement(Fragment, null, dataWhiteColor[2], whiteLargeTextSuccess)], [createElement("span", {
3368
3217
  key: "colorUiBlack",
3369
3218
  style: {
3370
- color: "black",
3371
3219
  padding: 0
3372
3220
  }
3373
- }, "ui.black"), dataBlackColor[0] + ":1", createElement(Fragment, null, dataBlackColor[1], blackSmallTextSuccess), createElement(Fragment, null, dataBlackColor[2], blackLargeTextSuccess)]];
3221
+ }, createElement(SmallColorSwatch, {
3222
+ backgroundColor: "black",
3223
+ darkBorder: true
3224
+ }), "ui.black"), dataBlackColor[0] + ":1", createElement(Fragment, null, dataBlackColor[1], blackSmallTextSuccess), createElement(Fragment, null, dataBlackColor[2], blackLargeTextSuccess)]];
3374
3225
  var cellStyles = {
3375
3226
  borderColor: textColor === "ui.white" ? "white !important" : "black !important",
3376
3227
  fontWeight: "medium",
@@ -3379,56 +3230,109 @@ var DataTable = function DataTable(props) {
3379
3230
  var tableStyles = {
3380
3231
  tbody: {
3381
3232
  td: _extends({
3382
- fontSize: "text.caption"
3233
+ fontSize: "text.tag"
3383
3234
  }, cellStyles),
3384
3235
  th: _extends({
3385
- fontSize: "text.caption",
3236
+ fontSize: "text.tag",
3386
3237
  textTransform: "none"
3387
- }, cellStyles)
3238
+ }, cellStyles, {
3239
+ _first: {
3240
+ span: {
3241
+ color: textColor
3242
+ }
3243
+ }
3244
+ })
3388
3245
  },
3389
3246
  thead: {
3390
3247
  th: _extends({
3391
3248
  color: textColor,
3392
- fontSize: "text.tag"
3249
+ fontSize: "text.tag",
3250
+ textTransform: "uppercase"
3393
3251
  }, cellStyles)
3394
3252
  }
3395
3253
  };
3396
- // For dark mode `ColorCard`s, there are four extra rows.
3254
+ // The Brand colors are needed for some `ColorCard`s.
3255
+ if (dataBrandPrimaryColor && dataBrandPrimaryColor.length > 0) {
3256
+ tableData.push([createElement("span", {
3257
+ key: "colorBrandPrimaryPage",
3258
+ style: {
3259
+ padding: 0
3260
+ }
3261
+ }, createElement(SmallColorSwatch, {
3262
+ backgroundColor: "var(--nypl-colors-brand-primary)"
3263
+ }), "brand.primary"), dataBrandPrimaryColor[0] + ":1", createElement(Fragment, null, dataBrandPrimaryColor[1], brandPrimarySmallTextSuccess), createElement(Fragment, null, dataBrandPrimaryColor[2], brandPrimaryLargeTextSuccess)]);
3264
+ }
3265
+ if (dataBrandSecondaryColor && dataBrandSecondaryColor.length > 0) {
3266
+ tableData.push([createElement("span", {
3267
+ key: "colorBrandSecondaryPage",
3268
+ style: {
3269
+ padding: 0
3270
+ }
3271
+ }, createElement(SmallColorSwatch, {
3272
+ backgroundColor: "var(--nypl-colors-brand-secondary)"
3273
+ }), "brand.secondary"), dataBrandSecondaryColor[0] + ":1", createElement(Fragment, null, dataBrandSecondaryColor[1], brandSecondarySmallTextSuccess), createElement(Fragment, null, dataBrandSecondaryColor[2], brandSecondaryLargeTextSuccess)]);
3274
+ }
3397
3275
  if (dataBgPageColor && dataBgPageColor.length > 0) {
3398
3276
  tableData.push([createElement("span", {
3399
3277
  key: "colorBgPage",
3400
3278
  style: {
3401
- color: grayxxxxDark,
3402
3279
  padding: 0
3403
3280
  }
3404
- }, "bg page"), dataBgPageColor[0] + ":1", createElement(Fragment, null, dataBgPageColor[1], bgPageSmallTextSuccess), createElement(Fragment, null, dataBgPageColor[2], bgPageLargeTextSuccess)]);
3281
+ }, createElement(SmallColorSwatch, {
3282
+ backgroundColor: "var(--nypl-colors-ui-bg-page)",
3283
+ border: true
3284
+ }), "ui.bg.page"), dataBgPageColor[0] + ":1", createElement(Fragment, null, dataBgPageColor[1], bgPageSmallTextSuccess), createElement(Fragment, null, dataBgPageColor[2], bgPageLargeTextSuccess)]);
3405
3285
  }
3406
3286
  if (dataBgDefaultColor && dataBgDefaultColor.length > 0) {
3407
3287
  tableData.push([createElement("span", {
3408
3288
  key: "colorBgDefault",
3409
3289
  style: {
3410
- color: grayxxxDark,
3411
3290
  padding: 0
3412
3291
  }
3413
- }, "bg default"), dataBgDefaultColor[0] + ":1", createElement(Fragment, null, dataBgDefaultColor[1], bgDefaultSmallTextSuccess), createElement(Fragment, null, dataBgDefaultColor[2], bgDefaultLargeTextSuccess)]);
3292
+ }, createElement(SmallColorSwatch, {
3293
+ backgroundColor: "var(--nypl-colors-ui-bg-default)"
3294
+ }), "ui.bg.default"), dataBgDefaultColor[0] + ":1", createElement(Fragment, null, dataBgDefaultColor[1], bgDefaultSmallTextSuccess), createElement(Fragment, null, dataBgDefaultColor[2], bgDefaultLargeTextSuccess)]);
3414
3295
  }
3415
- if (dataHeadingColor && dataHeadingColor.length > 0) {
3296
+ // For dark mode `ColorCard`s, there are four extra rows.
3297
+ if (dataDarkBgPageColor && dataDarkBgPageColor.length > 0) {
3416
3298
  tableData.push([createElement("span", {
3417
- key: "colorHeading",
3299
+ key: "colorDarkBgPage",
3418
3300
  style: {
3419
- color: grayLightCool,
3420
3301
  padding: 0
3421
3302
  }
3422
- }, "heading"), dataHeadingColor[0] + ":1", createElement(Fragment, null, dataHeadingColor[1], headingSmallTextSuccess), createElement(Fragment, null, dataHeadingColor[2], headingLargeTextSuccess)]);
3303
+ }, createElement(SmallColorSwatch, {
3304
+ backgroundColor: "var(--nypl-colors-dark-ui-bg-page)"
3305
+ }), "dark.ui.bg.page"), dataDarkBgPageColor[0] + ":1", createElement(Fragment, null, dataDarkBgPageColor[1], darkBgPageSmallTextSuccess), createElement(Fragment, null, dataDarkBgPageColor[2], darkBgPageLargeTextSuccess)]);
3423
3306
  }
3424
- if (dataBodyColor && dataBodyColor.length > 0) {
3307
+ if (dataDarkBgDefaultColor && dataDarkBgDefaultColor.length > 0) {
3425
3308
  tableData.push([createElement("span", {
3426
- key: "colorText",
3309
+ key: "colorDarkBgDefault",
3427
3310
  style: {
3428
- color: grayMedium,
3429
3311
  padding: 0
3430
3312
  }
3431
- }, "body"), dataBodyColor[0] + ":1", createElement(Fragment, null, dataBodyColor[1], textSmallTextSuccess), createElement(Fragment, null, dataBodyColor[2], textLargeTextSuccess)]);
3313
+ }, createElement(SmallColorSwatch, {
3314
+ backgroundColor: "var(--nypl-colors-dark-ui-bg-default)"
3315
+ }), "dark.ui.bg.default"), dataDarkBgDefaultColor[0] + ":1", createElement(Fragment, null, dataDarkBgDefaultColor[1], darkBgDefaultSmallTextSuccess), createElement(Fragment, null, dataDarkBgDefaultColor[2], darkBgDefaultLargeTextSuccess)]);
3316
+ }
3317
+ if (dataDarkHeadingColor && dataDarkHeadingColor.length > 0) {
3318
+ tableData.push([createElement("span", {
3319
+ key: "colorDarkHeading",
3320
+ style: {
3321
+ padding: 0
3322
+ }
3323
+ }, createElement(SmallColorSwatch, {
3324
+ backgroundColor: "var(--nypl-colors-ui-typography-heading)"
3325
+ }), "ui.typography.heading"), dataDarkHeadingColor[0] + ":1", createElement(Fragment, null, dataDarkHeadingColor[1], darkHeadingSmallTextSuccess), createElement(Fragment, null, dataDarkHeadingColor[2], darkHeadingLargeTextSuccess)]);
3326
+ }
3327
+ if (dataDarkBodyColor && dataDarkBodyColor.length > 0) {
3328
+ tableData.push([createElement("span", {
3329
+ key: "colorDarkText",
3330
+ style: {
3331
+ padding: 0
3332
+ }
3333
+ }, createElement(SmallColorSwatch, {
3334
+ backgroundColor: "var(--nypl-colors-ui-typography-body)"
3335
+ }), "ui.typography.body"), dataDarkBodyColor[0] + ":1", createElement(Fragment, null, dataDarkBodyColor[1], textSmallTextSuccess), createElement(Fragment, null, dataDarkBodyColor[2], textLargeTextSuccess)]);
3432
3336
  }
3433
3337
  return createElement(Table, {
3434
3338
  columnHeaders: columnHeaders,
@@ -3442,19 +3346,23 @@ var ColorCard = function ColorCard(props) {
3442
3346
  var backgroundColor = props.backgroundColor,
3443
3347
  dataBgPageColor = props.dataBgPageColor,
3444
3348
  dataBgDefaultColor = props.dataBgDefaultColor,
3349
+ dataDarkBgPageColor = props.dataDarkBgPageColor,
3350
+ dataDarkBgDefaultColor = props.dataDarkBgDefaultColor,
3445
3351
  _props$colorName = props.colorName,
3446
3352
  colorName = _props$colorName === void 0 ? "" : _props$colorName,
3447
3353
  colorSource = props.colorSource,
3448
3354
  _props$dataBlackColor2 = props.dataBlackColor,
3449
3355
  dataBlackColor = _props$dataBlackColor2 === void 0 ? ["--", "--", "--"] : _props$dataBlackColor2,
3450
- dataHeadingColor = props.dataHeadingColor,
3451
- dataBodyColor = props.dataBodyColor,
3356
+ dataDarkHeadingColor = props.dataDarkHeadingColor,
3357
+ dataDarkBodyColor = props.dataDarkBodyColor,
3452
3358
  _props$dataWhiteColor2 = props.dataWhiteColor,
3453
3359
  dataWhiteColor = _props$dataWhiteColor2 === void 0 ? ["--", "--", "--"] : _props$dataWhiteColor2,
3360
+ dataBrandPrimaryColor = props.dataBrandPrimaryColor,
3361
+ dataBrandSecondaryColor = props.dataBrandSecondaryColor,
3454
3362
  _props$textColor2 = props.textColor,
3455
3363
  textColor = _props$textColor2 === void 0 ? "ui.white" : _props$textColor2;
3456
3364
  var cssVarName = "--nypl-colors-" + colorName.replace(/\./g, "-");
3457
- var border = backgroundColor === "ui.white" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : undefined;
3365
+ var border = backgroundColor === "ui.white" || backgroundColor === "ui.typography.inverse.heading" || backgroundColor === "ui.typography.inverse.body" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : undefined;
3458
3366
  return createElement(Box, {
3459
3367
  bg: backgroundColor,
3460
3368
  color: textColor,
@@ -3462,9 +3370,11 @@ var ColorCard = function ColorCard(props) {
3462
3370
  paddingBottom: "m",
3463
3371
  paddingTop: "s",
3464
3372
  border: border
3465
- }, createElement(SimpleGrid, {
3466
- columns: 2
3467
- }, createElement(Box, null, createElement(Heading, {
3373
+ }, createElement(HStack, {
3374
+ alignItems: "top"
3375
+ }, createElement(Box, {
3376
+ width: "80%"
3377
+ }, createElement(Heading, {
3468
3378
  noSpace: true,
3469
3379
  size: "tertiary"
3470
3380
  }, backgroundColor), createElement(Text, {
@@ -3478,14 +3388,48 @@ var ColorCard = function ColorCard(props) {
3478
3388
  }, "Source: ", colorSource)), createElement(DataTable, {
3479
3389
  dataBgPageColor: dataBgPageColor,
3480
3390
  dataBgDefaultColor: dataBgDefaultColor,
3391
+ dataDarkBgPageColor: dataDarkBgPageColor,
3392
+ dataDarkBgDefaultColor: dataDarkBgDefaultColor,
3481
3393
  dataBlackColor: dataBlackColor,
3482
- dataHeadingColor: dataHeadingColor,
3483
- dataBodyColor: dataBodyColor,
3394
+ dataDarkHeadingColor: dataDarkHeadingColor,
3395
+ dataDarkBodyColor: dataDarkBodyColor,
3484
3396
  dataWhiteColor: dataWhiteColor,
3397
+ dataBrandPrimaryColor: dataBrandPrimaryColor,
3398
+ dataBrandSecondaryColor: dataBrandSecondaryColor,
3485
3399
  textColor: textColor
3486
3400
  })));
3487
3401
  };
3488
3402
 
3403
+ var _excluded$16 = ["children", "columns", "className", "gap", "id"];
3404
+ var SimpleGrid = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3405
+ var children = props.children,
3406
+ columns = props.columns,
3407
+ className = props.className,
3408
+ _props$gap = props.gap,
3409
+ gap = _props$gap === void 0 ? "grid.l" : _props$gap,
3410
+ id = props.id,
3411
+ rest = _objectWithoutPropertiesLoose(props, _excluded$16);
3412
+ var responsiveCols = columns ? {
3413
+ base: 1,
3414
+ md: columns
3415
+ } : {
3416
+ base: 1,
3417
+ md: 2,
3418
+ lg: 3
3419
+ };
3420
+ return React__default.createElement(SimpleGrid$1, Object.assign({
3421
+ className: className,
3422
+ columns: responsiveCols,
3423
+ gap: gap,
3424
+ id: id,
3425
+ ref: ref
3426
+ }, rest), children);
3427
+ }), {
3428
+ shouldForwardProp: function shouldForwardProp() {
3429
+ return true;
3430
+ }
3431
+ });
3432
+
3489
3433
  var _excluded$17 = ["children", "className", "gap", "id"],
3490
3434
  _excluded2$3 = ["children", "className", "gap", "id"],
3491
3435
  _excluded3$1 = ["action", "children", "className", "gap", "id", "method", "onSubmit"];
@@ -3546,7 +3490,7 @@ var Form = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3546
3490
  action && (attributes["action"] = action);
3547
3491
  method && (method === "get" || method === "post") && (attributes["method"] = method);
3548
3492
  var alteredChildren = React__default.Children.map(children, function (child, i) {
3549
- return React__default.cloneElement(child, {
3493
+ return child && React__default.cloneElement(child, {
3550
3494
  gap: gap,
3551
3495
  id: id + "-child" + i
3552
3496
  });
@@ -4266,7 +4210,7 @@ var global = {
4266
4210
  * Chakra Value | DS Variable | EM/PX value
4267
4211
  * ------------------------------------------------------
4268
4212
  * sm | --nypl-breakpoint-small | 20em/320px
4269
- * md | --nypl-breakpoint-medium | 38em/600px
4213
+ * md | --nypl-breakpoint-medium | 37.5em/600px
4270
4214
  * lg | --nypl-breakpoint-large | 60em/960px
4271
4215
  * xl | --nypl-breakpoint-xl | 80em/1280px
4272
4216
  * 2xl | N/A | 96em/1536px
@@ -4276,7 +4220,7 @@ var global = {
4276
4220
  */
4277
4221
  var breakpoints = /*#__PURE__*/createBreakpoints({
4278
4222
  sm: "20em",
4279
- md: "38em",
4223
+ md: "37.5em",
4280
4224
  lg: "60em",
4281
4225
  xl: "80em",
4282
4226
  "2xl": "96em"
@@ -4353,6 +4297,7 @@ var colors = {
4353
4297
  },
4354
4298
  // Semantic colors
4355
4299
  bg: {
4300
+ page: white,
4356
4301
  "default": grayxLightCool,
4357
4302
  hover: grayLightCool,
4358
4303
  active: grayMedium
@@ -4363,7 +4308,11 @@ var colors = {
4363
4308
  },
4364
4309
  typography: {
4365
4310
  heading: black,
4366
- body: black
4311
+ body: black,
4312
+ inverse: {
4313
+ heading: white,
4314
+ body: white
4315
+ }
4367
4316
  },
4368
4317
  // Grayscale
4369
4318
  gray: {
@@ -4424,7 +4373,11 @@ var colors = {
4424
4373
  },
4425
4374
  typography: {
4426
4375
  heading: grayLightCool,
4427
- body: grayMedium
4376
+ body: grayMedium,
4377
+ inverse: {
4378
+ heading: grayxxDark,
4379
+ body: grayxxDark
4380
+ }
4428
4381
  }
4429
4382
  }
4430
4383
  },
@@ -4724,6 +4677,15 @@ var AlphabetFilter$1 = {
4724
4677
  }
4725
4678
  };
4726
4679
 
4680
+ var AudioPlayer$1 = {
4681
+ baseStyle: {
4682
+ invalid: {
4683
+ backgroundColor: "ui.bg.default",
4684
+ padding: "s"
4685
+ }
4686
+ }
4687
+ };
4688
+
4727
4689
  // Variant styling
4728
4690
  var blogs = {
4729
4691
  bg: "section.blogs.secondary",
@@ -5612,6 +5574,47 @@ var DatePicker$1 = {
5612
5574
  }
5613
5575
  };
5614
5576
 
5577
+ var FeedbackBox = {
5578
+ parts: ["closeButton", "drawerBody", "drawerContent", "drawerHeader", "openButton"],
5579
+ baseStyle: {
5580
+ closeButton: {
5581
+ p: "0",
5582
+ span: /*#__PURE__*/screenreaderOnly()
5583
+ },
5584
+ drawerBody: {
5585
+ paddingTop: "m",
5586
+ paddingBottom: "m"
5587
+ },
5588
+ drawerContent: {
5589
+ marginStart: "auto",
5590
+ width: {
5591
+ base: "100%",
5592
+ md: "375px"
5593
+ }
5594
+ },
5595
+ drawerHeader: {
5596
+ alignItems: "baseline",
5597
+ background: "ui.gray.light-cool",
5598
+ borderBottomWidth: "1px",
5599
+ display: "flex",
5600
+ fontSize: "text.default",
5601
+ px: "m",
5602
+ paddingTop: "xs",
5603
+ paddingBottom: "xs",
5604
+ p: {
5605
+ marginBottom: "0"
5606
+ }
5607
+ },
5608
+ openButton: {
5609
+ position: "fixed",
5610
+ borderRadius: "0",
5611
+ bottom: "0",
5612
+ right: "0",
5613
+ zIndex: "5"
5614
+ }
5615
+ }
5616
+ };
5617
+
5615
5618
  var Fieldset$1 = {
5616
5619
  baseStyle: function baseStyle(_ref) {
5617
5620
  var isLegendHidden = _ref.isLegendHidden;
@@ -8228,6 +8231,30 @@ var StructuredContent = {
8228
8231
  }
8229
8232
  };
8230
8233
 
8234
+ var StyledList = {
8235
+ baseStyle: function baseStyle(_ref) {
8236
+ var _ref$textSize = _ref.textSize,
8237
+ textSize = _ref$textSize === void 0 ? "default" : _ref$textSize;
8238
+ return _extends({
8239
+ fontSize: "text." + textSize
8240
+ }, baseListStyles(false, true), baseUnorderedStyles(true));
8241
+ },
8242
+ variants: {
8243
+ capped: {
8244
+ li: {
8245
+ borderStart: "1px solid",
8246
+ borderEnd: {
8247
+ base: "1px solid",
8248
+ md: "none"
8249
+ },
8250
+ borderColor: "ui.border.default",
8251
+ my: "xs",
8252
+ px: "xs"
8253
+ }
8254
+ }
8255
+ }
8256
+ };
8257
+
8231
8258
  var tablist = {
8232
8259
  borderColor: "ui.black"
8233
8260
  };
@@ -8853,15 +8880,6 @@ var VideoPlayer = {
8853
8880
  }
8854
8881
  };
8855
8882
 
8856
- var AudioPlayer$1 = {
8857
- baseStyle: {
8858
- invalid: {
8859
- backgroundColor: "ui.bg.default",
8860
- padding: "s"
8861
- }
8862
- }
8863
- };
8864
-
8865
8883
  /**
8866
8884
  * See Chakra default theme for shape of theme object:
8867
8885
  * https://github.com/chakra-ui/chakra-ui/tree/main/packages/theme
@@ -8909,6 +8927,7 @@ var theme = /*#__PURE__*/extendTheme( /*#__PURE__*/_extends({
8909
8927
  CustomImageWrapper: CustomImageWrapper,
8910
8928
  CustomSelect: Select,
8911
8929
  DatePicker: DatePicker$1,
8930
+ FeedbackBox: FeedbackBox,
8912
8931
  Fieldset: Fieldset$1,
8913
8932
  Footer: Footer,
8914
8933
  Header: Header,
@@ -8944,6 +8963,7 @@ var theme = /*#__PURE__*/extendTheme( /*#__PURE__*/_extends({
8944
8963
  CustomSlider: CustomSlider,
8945
8964
  StatusBadge: StatusBadge,
8946
8965
  StructuredContent: StructuredContent,
8966
+ StyledList: StyledList,
8947
8967
  Tabs: CustomTabs,
8948
8968
  CustomTable: CustomTable
8949
8969
  }, TagSetStyles, TemplateStyles, {
@@ -9041,18 +9061,6 @@ var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
9041
9061
  }
9042
9062
  return null;
9043
9063
  };
9044
- /**
9045
- * Checks for `li` elements and consoles a warning if the
9046
- * children are different HTML elements.
9047
- */
9048
- var checkListChildrenError = function checkListChildrenError(listType) {
9049
- React__default.Children.map(children, function (child) {
9050
- var _child$props;
9051
- if (child && (child == null ? void 0 : child.type) !== "li" && (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) !== "li") {
9052
- console.warn("NYPL Reservoir List: Direct children of `List` (" + listType + ") must be `<li>`s.");
9053
- }
9054
- });
9055
- };
9056
9064
  /**
9057
9065
  * Checks for `dt` and `dd` elements and consoles a warning if the
9058
9066
  * children are different HTML elements.
@@ -9065,7 +9073,7 @@ var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
9065
9073
  });
9066
9074
  };
9067
9075
  if (type === "ol" || type === "ul") {
9068
- checkListChildrenError(type);
9076
+ checkListChildrenError(children, type);
9069
9077
  listElement = React__default.createElement(Box, Object.assign({
9070
9078
  as: type,
9071
9079
  id: id,
@@ -9087,6 +9095,24 @@ var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
9087
9095
  }
9088
9096
  return listElement;
9089
9097
  }));
9098
+ /**
9099
+ * Checks for `li` elements and consoles a warning if the
9100
+ * children are different HTML elements.
9101
+ */
9102
+ var checkListChildrenError = function checkListChildrenError(children, listType, componentName) {
9103
+ if (listType === void 0) {
9104
+ listType = "ul";
9105
+ }
9106
+ if (componentName === void 0) {
9107
+ componentName = "List";
9108
+ }
9109
+ React__default.Children.map(children, function (child) {
9110
+ var _child$props;
9111
+ if (child && (child == null ? void 0 : child.type) !== "li" && (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) !== "li") {
9112
+ console.warn("NYPL Reservoir " + componentName + ": Direct children of `" + componentName + "` (" + listType + ") must be `<li>`s.");
9113
+ }
9114
+ });
9115
+ };
9090
9116
 
9091
9117
  var _path$L, _path2$f, _path3$7;
9092
9118
  var _excluded$1c = ["title", "titleId"];
@@ -9101,7 +9127,6 @@ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9101
9127
  viewBox: "0 0 200 67",
9102
9128
  fill: "none",
9103
9129
  xmlns: "http://www.w3.org/2000/svg",
9104
- role: "img",
9105
9130
  "aria-labelledby": titleId
9106
9131
  }, props), title ? /*#__PURE__*/createElement("title", {
9107
9132
  id: titleId
@@ -9130,7 +9155,6 @@ var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9130
9155
  viewBox: "0 0 200 67",
9131
9156
  fill: "none",
9132
9157
  xmlns: "http://www.w3.org/2000/svg",
9133
- role: "img",
9134
9158
  "aria-labelledby": titleId
9135
9159
  }, props), title ? /*#__PURE__*/createElement("title", {
9136
9160
  id: titleId
@@ -9158,7 +9182,6 @@ var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9158
9182
  return /*#__PURE__*/createElement("svg", _extends$T({
9159
9183
  viewBox: "0 0 328 120",
9160
9184
  xmlns: "http://www.w3.org/2000/svg",
9161
- role: "img",
9162
9185
  "aria-labelledby": titleId
9163
9186
  }, props), title ? /*#__PURE__*/createElement("title", {
9164
9187
  id: titleId
@@ -9184,7 +9207,6 @@ var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9184
9207
  viewBox: "0 0 328 120",
9185
9208
  fill: "#fff",
9186
9209
  xmlns: "http://www.w3.org/2000/svg",
9187
- role: "img",
9188
9210
  "aria-labelledby": titleId
9189
9211
  }, props), title ? /*#__PURE__*/createElement("title", {
9190
9212
  id: titleId
@@ -9210,7 +9232,6 @@ var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9210
9232
  viewBox: "0 0 118 119",
9211
9233
  fill: "none",
9212
9234
  xmlns: "http://www.w3.org/2000/svg",
9213
- role: "img",
9214
9235
  "aria-labelledby": titleId
9215
9236
  }, props), title ? /*#__PURE__*/createElement("title", {
9216
9237
  id: titleId
@@ -9241,7 +9262,6 @@ var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
9241
9262
  viewBox: "0 0 312 88",
9242
9263
  fill: "#436CF2",
9243
9264
  xmlns: "http://www.w3.org/2000/svg",
9244
- role: "img",
9245
9265
  "aria-labelledby": titleId
9246
9266
  }, props), title ? /*#__PURE__*/createElement("title", {
9247
9267
  id: titleId
@@ -9265,7 +9285,6 @@ var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
9265
9285
  viewBox: "0 0 312 88",
9266
9286
  fill: "#fff",
9267
9287
  xmlns: "http://www.w3.org/2000/svg",
9268
- role: "img",
9269
9288
  "aria-labelledby": titleId
9270
9289
  }, props), title ? /*#__PURE__*/createElement("title", {
9271
9290
  id: titleId
@@ -9289,7 +9308,6 @@ var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
9289
9308
  viewBox: "0 0 172 152",
9290
9309
  fill: "none",
9291
9310
  xmlns: "http://www.w3.org/2000/svg",
9292
- role: "img",
9293
9311
  "aria-labelledby": titleId
9294
9312
  }, props), title ? /*#__PURE__*/createElement("title", {
9295
9313
  id: titleId
@@ -9348,7 +9366,6 @@ var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref)
9348
9366
  viewBox: "0 0 170 150",
9349
9367
  fill: "none",
9350
9368
  xmlns: "http://www.w3.org/2000/svg",
9351
- role: "img",
9352
9369
  "aria-labelledby": titleId
9353
9370
  }, props), title ? /*#__PURE__*/createElement("title", {
9354
9371
  id: titleId
@@ -9412,7 +9429,6 @@ var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
9412
9429
  viewBox: "0 0 200 60",
9413
9430
  fill: "none",
9414
9431
  xmlns: "http://www.w3.org/2000/svg",
9415
- role: "img",
9416
9432
  "aria-labelledby": titleId
9417
9433
  }, props), title ? /*#__PURE__*/createElement("title", {
9418
9434
  id: titleId
@@ -9553,7 +9569,6 @@ var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
9553
9569
  viewBox: "0 0 186 74",
9554
9570
  fill: "none",
9555
9571
  xmlns: "http://www.w3.org/2000/svg",
9556
- role: "img",
9557
9572
  "aria-labelledby": titleId
9558
9573
  }, props), title ? /*#__PURE__*/createElement("title", {
9559
9574
  id: titleId
@@ -9578,7 +9593,6 @@ var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
9578
9593
  return /*#__PURE__*/createElement("svg", _extends$10({
9579
9594
  viewBox: "0 0 186 74",
9580
9595
  xmlns: "http://www.w3.org/2000/svg",
9581
- role: "img",
9582
9596
  "aria-labelledby": titleId
9583
9597
  }, props), title ? /*#__PURE__*/createElement("title", {
9584
9598
  id: titleId
@@ -9600,7 +9614,6 @@ var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
9600
9614
  viewBox: "0 0 186 74",
9601
9615
  fill: "#fff",
9602
9616
  xmlns: "http://www.w3.org/2000/svg",
9603
- role: "img",
9604
9617
  "aria-labelledby": titleId
9605
9618
  }, props), title ? /*#__PURE__*/createElement("title", {
9606
9619
  id: titleId
@@ -9621,7 +9634,6 @@ var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
9621
9634
  return /*#__PURE__*/createElement("svg", _extends$12({
9622
9635
  viewBox: "0 0 300 71",
9623
9636
  xmlns: "http://www.w3.org/2000/svg",
9624
- role: "img",
9625
9637
  "aria-labelledby": titleId
9626
9638
  }, props), title ? /*#__PURE__*/createElement("title", {
9627
9639
  id: titleId
@@ -9645,7 +9657,6 @@ var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
9645
9657
  viewBox: "0 0 300 71",
9646
9658
  fill: "#C60917",
9647
9659
  xmlns: "http://www.w3.org/2000/svg",
9648
- role: "img",
9649
9660
  "aria-labelledby": titleId
9650
9661
  }, props), title ? /*#__PURE__*/createElement("title", {
9651
9662
  id: titleId
@@ -9669,7 +9680,6 @@ var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
9669
9680
  viewBox: "0 0 300 71",
9670
9681
  fill: "#fff",
9671
9682
  xmlns: "http://www.w3.org/2000/svg",
9672
- role: "img",
9673
9683
  "aria-labelledby": titleId
9674
9684
  }, props), title ? /*#__PURE__*/createElement("title", {
9675
9685
  id: titleId
@@ -9693,7 +9703,6 @@ var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
9693
9703
  viewBox: "0 0 341 61",
9694
9704
  fill: "none",
9695
9705
  xmlns: "http://www.w3.org/2000/svg",
9696
- role: "img",
9697
9706
  "aria-labelledby": titleId
9698
9707
  }, props), title ? /*#__PURE__*/createElement("title", {
9699
9708
  id: titleId
@@ -9734,7 +9743,6 @@ var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
9734
9743
  xmlns: "http://www.w3.org/2000/svg",
9735
9744
  viewBox: "0 0 966.787 543.733",
9736
9745
  xmlSpace: "preserve",
9737
- role: "img",
9738
9746
  "aria-labelledby": titleId
9739
9747
  }, props), title ? /*#__PURE__*/createElement("title", {
9740
9748
  id: titleId
@@ -9817,7 +9825,6 @@ var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
9817
9825
  viewBox: "0 0 967 568",
9818
9826
  fill: "none",
9819
9827
  xmlns: "http://www.w3.org/2000/svg",
9820
- role: "img",
9821
9828
  "aria-labelledby": titleId
9822
9829
  }, props), title ? /*#__PURE__*/createElement("title", {
9823
9830
  id: titleId
@@ -9853,7 +9860,6 @@ var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
9853
9860
  viewBox: "0 0 136 135",
9854
9861
  fill: "none",
9855
9862
  xmlns: "http://www.w3.org/2000/svg",
9856
- role: "img",
9857
9863
  "aria-labelledby": titleId
9858
9864
  }, props), title ? /*#__PURE__*/createElement("title", {
9859
9865
  id: titleId
@@ -9884,7 +9890,6 @@ var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
9884
9890
  viewBox: "0 0 125 126",
9885
9891
  fill: "none",
9886
9892
  xmlns: "http://www.w3.org/2000/svg",
9887
- role: "img",
9888
9893
  "aria-labelledby": titleId
9889
9894
  }, props), title ? /*#__PURE__*/createElement("title", {
9890
9895
  id: titleId
@@ -9909,7 +9914,6 @@ var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
9909
9914
  viewBox: "0 0 201 165",
9910
9915
  fill: "none",
9911
9916
  xmlns: "http://www.w3.org/2000/svg",
9912
- role: "img",
9913
9917
  "aria-labelledby": titleId
9914
9918
  }, props), title ? /*#__PURE__*/createElement("title", {
9915
9919
  id: titleId
@@ -9988,7 +9992,6 @@ var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
9988
9992
  viewBox: "0 0 201 165",
9989
9993
  fill: "none",
9990
9994
  xmlns: "http://www.w3.org/2000/svg",
9991
- role: "img",
9992
9995
  "aria-labelledby": titleId
9993
9996
  }, props), title ? /*#__PURE__*/createElement("title", {
9994
9997
  id: titleId
@@ -10067,7 +10070,6 @@ var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10067
10070
  viewBox: "0 0 152 139",
10068
10071
  fill: "none",
10069
10072
  xmlns: "http://www.w3.org/2000/svg",
10070
- role: "img",
10071
10073
  "aria-labelledby": titleId
10072
10074
  }, props), title ? /*#__PURE__*/createElement("title", {
10073
10075
  id: titleId
@@ -10123,7 +10125,6 @@ var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10123
10125
  viewBox: "0 0 155 139",
10124
10126
  fill: "none",
10125
10127
  xmlns: "http://www.w3.org/2000/svg",
10126
- role: "img",
10127
10128
  "aria-labelledby": titleId
10128
10129
  }, props), title ? /*#__PURE__*/createElement("title", {
10129
10130
  id: titleId
@@ -10202,7 +10203,6 @@ var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_re
10202
10203
  viewBox: "0 0 152 139",
10203
10204
  fill: "none",
10204
10205
  xmlns: "http://www.w3.org/2000/svg",
10205
- role: "img",
10206
10206
  "aria-labelledby": titleId
10207
10207
  }, props), title ? /*#__PURE__*/createElement("title", {
10208
10208
  id: titleId
@@ -10258,7 +10258,6 @@ var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegati
10258
10258
  viewBox: "0 0 155 139",
10259
10259
  fill: "none",
10260
10260
  xmlns: "http://www.w3.org/2000/svg",
10261
- role: "img",
10262
10261
  "aria-labelledby": titleId
10263
10262
  }, props), title ? /*#__PURE__*/createElement("title", {
10264
10263
  id: titleId
@@ -10339,7 +10338,6 @@ var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
10339
10338
  return /*#__PURE__*/createElement("svg", _extends$1g({
10340
10339
  viewBox: "0 0 250 134",
10341
10340
  xmlns: "http://www.w3.org/2000/svg",
10342
- role: "img",
10343
10341
  "aria-labelledby": titleId
10344
10342
  }, props), title ? /*#__PURE__*/createElement("title", {
10345
10343
  id: titleId
@@ -10361,7 +10359,6 @@ var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
10361
10359
  viewBox: "0 0 250 134",
10362
10360
  fill: "#fff",
10363
10361
  xmlns: "http://www.w3.org/2000/svg",
10364
- role: "img",
10365
10362
  "aria-labelledby": titleId
10366
10363
  }, props), title ? /*#__PURE__*/createElement("title", {
10367
10364
  id: titleId
@@ -10382,7 +10379,6 @@ var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
10382
10379
  return /*#__PURE__*/createElement("svg", _extends$1i({
10383
10380
  viewBox: "0 0 320 43",
10384
10381
  xmlns: "http://www.w3.org/2000/svg",
10385
- role: "img",
10386
10382
  "aria-labelledby": titleId
10387
10383
  }, props), title ? /*#__PURE__*/createElement("title", {
10388
10384
  id: titleId
@@ -10420,7 +10416,6 @@ var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
10420
10416
  viewBox: "0 0 355 48",
10421
10417
  fill: "none",
10422
10418
  xmlns: "http://www.w3.org/2000/svg",
10423
- role: "img",
10424
10419
  "aria-labelledby": titleId
10425
10420
  }, props), title ? /*#__PURE__*/createElement("title", {
10426
10421
  id: titleId
@@ -10476,7 +10471,6 @@ var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
10476
10471
  viewBox: "0 0 320 43",
10477
10472
  fill: "#fff",
10478
10473
  xmlns: "http://www.w3.org/2000/svg",
10479
- role: "img",
10480
10474
  "aria-labelledby": titleId
10481
10475
  }, props), title ? /*#__PURE__*/createElement("title", {
10482
10476
  id: titleId
@@ -10514,7 +10508,6 @@ var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
10514
10508
  viewBox: "0 0 105 129",
10515
10509
  fill: "none",
10516
10510
  xmlns: "http://www.w3.org/2000/svg",
10517
- role: "img",
10518
10511
  "aria-labelledby": titleId
10519
10512
  }, props), title ? /*#__PURE__*/createElement("title", {
10520
10513
  id: titleId
@@ -10549,7 +10542,6 @@ var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref)
10549
10542
  viewBox: "0 0 234 261",
10550
10543
  fill: "none",
10551
10544
  xmlns: "http://www.w3.org/2000/svg",
10552
- role: "img",
10553
10545
  "aria-labelledby": titleId
10554
10546
  }, props), title ? /*#__PURE__*/createElement("title", {
10555
10547
  id: titleId
@@ -10582,7 +10574,6 @@ var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
10582
10574
  return /*#__PURE__*/createElement("svg", _extends$1n({
10583
10575
  viewBox: "0 0 185 79",
10584
10576
  xmlns: "http://www.w3.org/2000/svg",
10585
- role: "img",
10586
10577
  "aria-labelledby": titleId
10587
10578
  }, props), title ? /*#__PURE__*/createElement("title", {
10588
10579
  id: titleId
@@ -10611,7 +10602,6 @@ var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
10611
10602
  return /*#__PURE__*/createElement("svg", _extends$1o({
10612
10603
  viewBox: "0 0 67 67",
10613
10604
  xmlns: "http://www.w3.org/2000/svg",
10614
- role: "img",
10615
10605
  "aria-labelledby": titleId
10616
10606
  }, props), title ? /*#__PURE__*/createElement("title", {
10617
10607
  id: titleId
@@ -10641,7 +10631,6 @@ var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
10641
10631
  viewBox: "0 0 67 67",
10642
10632
  fill: "none",
10643
10633
  xmlns: "http://www.w3.org/2000/svg",
10644
- role: "img",
10645
10634
  "aria-labelledby": titleId
10646
10635
  }, props), title ? /*#__PURE__*/createElement("title", {
10647
10636
  id: titleId
@@ -10676,7 +10665,6 @@ var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
10676
10665
  viewBox: "0 0 67 67",
10677
10666
  fill: "#fff",
10678
10667
  xmlns: "http://www.w3.org/2000/svg",
10679
- role: "img",
10680
10668
  "aria-labelledby": titleId
10681
10669
  }, props), title ? /*#__PURE__*/createElement("title", {
10682
10670
  id: titleId
@@ -10706,7 +10694,6 @@ var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
10706
10694
  viewBox: "0 0 185 79",
10707
10695
  fill: "none",
10708
10696
  xmlns: "http://www.w3.org/2000/svg",
10709
- role: "img",
10710
10697
  "aria-labelledby": titleId
10711
10698
  }, props), title ? /*#__PURE__*/createElement("title", {
10712
10699
  id: titleId
@@ -10747,7 +10734,6 @@ var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
10747
10734
  viewBox: "0 0 185 79",
10748
10735
  fill: "#fff",
10749
10736
  xmlns: "http://www.w3.org/2000/svg",
10750
- role: "img",
10751
10737
  "aria-labelledby": titleId
10752
10738
  }, props), title ? /*#__PURE__*/createElement("title", {
10753
10739
  id: titleId
@@ -10776,7 +10762,6 @@ var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
10776
10762
  return /*#__PURE__*/createElement("svg", _extends$1t({
10777
10763
  viewBox: "0 0 512 148",
10778
10764
  xmlns: "http://www.w3.org/2000/svg",
10779
- role: "img",
10780
10765
  "aria-labelledby": titleId
10781
10766
  }, props), title ? /*#__PURE__*/createElement("title", {
10782
10767
  id: titleId
@@ -10810,7 +10795,6 @@ var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
10810
10795
  viewBox: "0 0 512 148",
10811
10796
  fill: "#fff",
10812
10797
  xmlns: "http://www.w3.org/2000/svg",
10813
- role: "img",
10814
10798
  "aria-labelledby": titleId
10815
10799
  }, props), title ? /*#__PURE__*/createElement("title", {
10816
10800
  id: titleId
@@ -10843,7 +10827,6 @@ var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
10843
10827
  viewBox: "0 0 682 196",
10844
10828
  fill: "none",
10845
10829
  xmlns: "http://www.w3.org/2000/svg",
10846
- role: "img",
10847
10830
  "aria-labelledby": titleId
10848
10831
  }, props), title ? /*#__PURE__*/createElement("title", {
10849
10832
  id: titleId
@@ -10882,7 +10865,6 @@ var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
10882
10865
  return /*#__PURE__*/createElement("svg", _extends$1w({
10883
10866
  viewBox: "0 0 84 111",
10884
10867
  xmlns: "http://www.w3.org/2000/svg",
10885
- role: "img",
10886
10868
  "aria-labelledby": titleId
10887
10869
  }, props), title ? /*#__PURE__*/createElement("title", {
10888
10870
  id: titleId
@@ -10904,7 +10886,6 @@ var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
10904
10886
  viewBox: "0 0 84 111",
10905
10887
  fill: "#fff",
10906
10888
  xmlns: "http://www.w3.org/2000/svg",
10907
- role: "img",
10908
10889
  "aria-labelledby": titleId
10909
10890
  }, props), title ? /*#__PURE__*/createElement("title", {
10910
10891
  id: titleId
@@ -10926,7 +10907,6 @@ var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
10926
10907
  viewBox: "0 0 324 265",
10927
10908
  fill: "none",
10928
10909
  xmlns: "http://www.w3.org/2000/svg",
10929
- role: "img",
10930
10910
  "aria-labelledby": titleId
10931
10911
  }, props), title ? /*#__PURE__*/createElement("title", {
10932
10912
  id: titleId
@@ -11111,7 +11091,6 @@ var SvgLogoTreasuresColorNegative = function SvgLogoTreasuresColorNegative(_ref)
11111
11091
  viewBox: "0 0 327 266",
11112
11092
  fill: "none",
11113
11093
  xmlns: "http://www.w3.org/2000/svg",
11114
- role: "img",
11115
11094
  "aria-labelledby": titleId
11116
11095
  }, props), title ? /*#__PURE__*/createElement("title", {
11117
11096
  id: titleId
@@ -14344,6 +14323,47 @@ var StructuredContent$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
14344
14323
  }), finalBodyContent);
14345
14324
  }));
14346
14325
 
14326
+ /**
14327
+ * The `StyledList` component renders an HTML list with styles that do not
14328
+ * adhere to traditional numbered and bulleted list styles. Unlike
14329
+ * the `List` component, `StyledList` only renders an unordered list.
14330
+ */
14331
+ var StyledList$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14332
+ var children = props.children,
14333
+ className = props.className,
14334
+ id = props.id,
14335
+ _props$listItems = props.listItems,
14336
+ listItems = _props$listItems === void 0 ? [] : _props$listItems,
14337
+ _props$style = props.style,
14338
+ style = _props$style === void 0 ? "capped" : _props$style,
14339
+ _props$textSize = props.textSize,
14340
+ textSize = _props$textSize === void 0 ? "default" : _props$textSize;
14341
+ var styles = useMultiStyleConfig("StyledList", {
14342
+ textSize: textSize,
14343
+ variant: style
14344
+ });
14345
+ var finalChildren;
14346
+ if (children && listItems.length > 0) {
14347
+ console.warn("NYPL Reservoir StyledList: Pass in either `<li>` children or use the " + "`listItems` data prop. Do not use both.");
14348
+ return null;
14349
+ }
14350
+ // Makes sure that the passed children elements are `li` elements but
14351
+ // it is not enforced. Only a warning is logged to the console.
14352
+ checkListChildrenError(children, "ul", "StyledList");
14353
+ finalChildren = children || listItems.map(function (item, i) {
14354
+ return React__default.createElement("li", {
14355
+ key: i
14356
+ }, item);
14357
+ });
14358
+ return React__default.createElement(Box, {
14359
+ as: "ul",
14360
+ className: className,
14361
+ id: id,
14362
+ ref: ref,
14363
+ __css: styles
14364
+ }, finalChildren);
14365
+ }));
14366
+
14347
14367
  /**
14348
14368
  * Custom hook that controls the sliding function for the carousel wrapper.
14349
14369
  * This returns functions to use for the "previous" and "next" buttons as well
@@ -15090,6 +15110,96 @@ var Toggle$2 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15090
15110
  }), labelText)));
15091
15111
  }));
15092
15112
 
15113
+ /**
15114
+ * A custom hook that returns the Chakra-based NYPL theme object. This must be
15115
+ * used inside a component that is wrapped in the `DSProvider` component, so
15116
+ * that the theme object can be available to use.
15117
+ */
15118
+ function useNYPLTheme() {
15119
+ var theme = useTheme();
15120
+ if (!theme || Object.keys(theme).length === 0) {
15121
+ console.warn("NYPL Reservoir useNYPLTheme: hook must be used inside of `<DSProvider />`.");
15122
+ return {};
15123
+ }
15124
+ // Chakra provides a lot of their own styles but
15125
+ // only NYPL styles should be exported.
15126
+ return {
15127
+ // base, sm, md, lg, xl, 2xl
15128
+ breakpoints: theme.breakpoints,
15129
+ colors: {
15130
+ // primary, secondary
15131
+ brand: theme.colors.brand,
15132
+ // dark mode colors:
15133
+ // ui.disabled, ui.error, ui.focus, ui.link,
15134
+ // ui.status, ui.success, ui.test, ui.warning,
15135
+ // ui.bg, ui.border, ui.typography
15136
+ dark: theme.colors.dark,
15137
+ // blogs, books-and-more, education, locations,
15138
+ // research, research-library, whats-on
15139
+ section: theme.colors.section,
15140
+ transparent: theme.colors.transparent,
15141
+ // black, white, gray, disabled, error, focus, link,
15142
+ // status, success, test, warning, bg, border, typography
15143
+ ui: theme.colors.ui
15144
+ },
15145
+ fontSizes: {
15146
+ "-3": theme.fontSizes["-3"],
15147
+ "-2": theme.fontSizes["-2"],
15148
+ "-1": theme.fontSizes["-1"],
15149
+ "0": theme.fontSizes["0"],
15150
+ "1": theme.fontSizes["1"],
15151
+ "2": theme.fontSizes["2"],
15152
+ "3": theme.fontSizes["3"],
15153
+ "4": theme.fontSizes["4"],
15154
+ // default
15155
+ breadcrumbs: theme.fontSizes.breadcrumbs,
15156
+ // default
15157
+ button: theme.fontSizes.button,
15158
+ // primary, secondary, tertiary, callout
15159
+ heading: theme.fontSizes.heading,
15160
+ // default
15161
+ helper: theme.fontSizes.helper,
15162
+ // default, secondary
15163
+ label: theme.fontSizes.label,
15164
+ // default, caption, tag, mini
15165
+ text: theme.fontSizes.text
15166
+ },
15167
+ fontWeights: {
15168
+ light: theme.fontWeights.light,
15169
+ regular: theme.fontWeights.regular,
15170
+ medium: theme.fontWeights.medium,
15171
+ bold: theme.fontWeights.bold,
15172
+ // default, lastChild
15173
+ breadcrumbs: theme.fontWeights.breadcrumbs,
15174
+ // default
15175
+ button: theme.fontWeights.button,
15176
+ // primary, secondary, tertiary, callout
15177
+ heading: theme.fontWeights.heading,
15178
+ // default
15179
+ helper: theme.fontWeights.helper,
15180
+ // default
15181
+ label: theme.fontWeights.label,
15182
+ // default, caption, tag, mini
15183
+ text: theme.fontWeights.text
15184
+ },
15185
+ fonts: {
15186
+ body: theme.fonts.body,
15187
+ heading: theme.fonts.heading
15188
+ },
15189
+ radii: theme.radii,
15190
+ space: {
15191
+ xxs: theme.space.xxs,
15192
+ xs: theme.space.xs,
15193
+ s: theme.space.s,
15194
+ m: theme.space.m,
15195
+ l: theme.space.l,
15196
+ xl: theme.space.xl,
15197
+ xxl: theme.space.xxl,
15198
+ xxxl: theme.space.xxxl
15199
+ }
15200
+ };
15201
+ }
15202
+
15093
15203
  var _excluded$2h = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15094
15204
  var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15095
15205
  var aspectRatio = props.aspectRatio,
@@ -15169,5 +15279,5 @@ var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15169
15279
  }, embedElement)));
15170
15280
  }));
15171
15281
 
15172
- export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, Fieldset, Footer$1 as Footer, Form, FormField, FormRow, Header$1 as Header, Heading, HelperErrorText, Hero$1 as Hero, HorizontalRule$1 as HorizontalRule, Icon, Image, Label, Link, List$1 as List, Logo$1 as Logo, ModalTrigger, Notification$1 as Notification, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkipNavigation$1 as SkipNavigation, Slider, StatusBadge$1 as StatusBadge, StructuredContent$1 as StructuredContent, Table, Tabs, TagSet$1 as TagSet, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop, TemplateFooter, TemplateHeader, Text, TextInput, Toggle$2 as Toggle, Tooltip$1 as Tooltip, VideoPlayer$1 as VideoPlayer, useCarouselStyles, useModal, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
15282
+ export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, Fieldset, Footer$1 as Footer, Form, FormField, FormRow, Header$1 as Header, Heading, HelperErrorText, Hero$1 as Hero, HorizontalRule$1 as HorizontalRule, Icon, Image, Label, Link, List$1 as List, Logo$1 as Logo, ModalTrigger, Notification$1 as Notification, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkipNavigation$1 as SkipNavigation, Slider, StatusBadge$1 as StatusBadge, StructuredContent$1 as StructuredContent, StyledList$1 as StyledList, Table, Tabs, TagSet$1 as TagSet, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop, TemplateFooter, TemplateHeader, Text, TextInput, Toggle$2 as Toggle, Tooltip$1 as Tooltip, VideoPlayer$1 as VideoPlayer, useCarouselStyles, useModal, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
15173
15283
  //# sourceMappingURL=design-system-react-components.esm.js.map