@nypl/design-system-react-components 1.6.0-vite-rc → 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 (57) hide show
  1. package/dist/design-system-react-components.cjs +100 -75
  2. package/dist/design-system-react-components.js +25200 -25817
  3. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +7 -1
  4. package/dist/src/components/Button/Button.d.ts +6 -3
  5. package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +2 -1
  6. package/dist/src/components/Card/Card.d.ts +2 -2
  7. package/dist/src/components/DatePicker/DatePicker.d.ts +2 -1
  8. package/dist/src/components/FeedbackBox/FeedbackBox.d.ts +6 -5
  9. package/dist/src/components/Form/Form.d.ts +2 -2
  10. package/dist/src/components/Grid/SimpleGrid.d.ts +2 -1
  11. package/dist/src/components/Header/Header.d.ts +1 -2
  12. package/dist/src/components/Header/components/HeaderLogin.d.ts +1 -1
  13. package/dist/src/components/Header/components/HeaderLoginButton.d.ts +1 -2
  14. package/dist/src/components/Header/components/HeaderLowerNav.d.ts +1 -2
  15. package/dist/src/components/Header/components/HeaderMobileIconNav.d.ts +1 -2
  16. package/dist/src/components/Header/components/HeaderMobileNav.d.ts +1 -2
  17. package/dist/src/components/Header/components/HeaderMobileNavButton.d.ts +1 -2
  18. package/dist/src/components/Header/components/HeaderSearchButton.d.ts +1 -2
  19. package/dist/src/components/Header/components/HeaderSearchForm.d.ts +1 -2
  20. package/dist/src/components/Header/components/HeaderSitewideAlerts.d.ts +1 -2
  21. package/dist/src/components/Header/components/HeaderUpperNav.d.ts +1 -2
  22. package/dist/src/components/Header/context/headerContext.d.ts +1 -1
  23. package/dist/src/components/Heading/Heading.d.ts +4 -2
  24. package/dist/src/components/Hero/Hero.d.ts +2 -1
  25. package/dist/src/components/Icons/Icon.d.ts +7 -8
  26. package/dist/src/components/Icons/IconSvgs.d.ts +160 -53
  27. package/dist/src/components/Icons/iconVariables.d.ts +6 -0
  28. package/dist/src/components/Image/Image.d.ts +6 -3
  29. package/dist/src/components/Link/Link.d.ts +2 -1
  30. package/dist/src/components/Logo/LogoSvgs.d.ts +154 -51
  31. package/dist/src/components/Modal/Modal.d.ts +1 -1
  32. package/dist/src/components/MultiSelect/MultiSelect.d.ts +2 -1
  33. package/dist/src/components/MultiSelectGroup/MultiSelectGroup.d.ts +2 -0
  34. package/dist/src/components/Notification/Notification.d.ts +4 -3
  35. package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +4 -2
  36. package/dist/src/components/Select/Select.d.ts +4 -2
  37. package/dist/src/components/SkeletonLoader/SkeletonLoader.d.ts +2 -1
  38. package/dist/src/components/StatusBadge/StatusBadge.d.ts +2 -1
  39. package/dist/src/components/StyleGuide/ColorCard.d.ts +298 -2
  40. package/dist/src/components/TagSet/TagSet.d.ts +1 -10
  41. package/dist/src/components/TagSet/TagSetExplore.d.ts +4 -3
  42. package/dist/src/components/TagSet/TagSetFilter.d.ts +1 -2
  43. package/dist/src/components/TagSet/TooltipWrapper.d.ts +9 -0
  44. package/dist/src/components/Template/Template.d.ts +11 -11
  45. package/dist/src/components/Text/Text.d.ts +2 -1
  46. package/dist/src/components/TextInput/TextInput.d.ts +2 -1
  47. package/dist/src/components/Toggle/Toggle.d.ts +2 -1
  48. package/dist/src/components/VideoPlayer/VideoPlayer.d.ts +4 -2
  49. package/dist/src/helpers/types.d.ts +2 -1
  50. package/dist/src/index.d.ts +1 -0
  51. package/dist/src/theme/components/breadcrumb.d.ts +0 -13
  52. package/dist/src/theme/provider.d.ts +1 -1
  53. package/dist/src/utils/colorUtils.d.ts +5 -0
  54. package/package.json +21 -18
  55. package/dist/src/components/Icons/IconColors.d.ts +0 -3
  56. package/dist/src/components/Icons/IconNames.d.ts +0 -3
  57. /package/dist/{style.css → styles.css} +0 -0
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IconNames } from "../Icons/Icon";
3
2
  export interface TagSetFilterDataProps {
4
3
  /** The name of the SVG `Icon` to render before the tag label. */
@@ -22,5 +21,5 @@ export interface TagSetFilterProps {
22
21
  * The "filter" `TagSet` variant will display tags that can be removed when
23
22
  * `isDismissible` is true and they are clicked.
24
23
  */
25
- export declare const TagSetFilter: import("@chakra-ui/react").ChakraComponent<(props: TagSetFilterProps) => JSX.Element, {}>;
24
+ export declare const TagSetFilter: import("@chakra-ui/react").ChakraComponent<(props: TagSetFilterProps) => import("@emotion/react/jsx-runtime").JSX.Element, {}>;
26
25
  export default TagSetFilter;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ /**
3
+ * This helper component wrapper renders a DS `Tooltip` component if the text is
4
+ * long or a React fragment. This assumes that the `label` prop is a rather
5
+ * simple single root JSX element, such as `<Link ...>....</Link>`.
6
+ */
7
+ export declare const TooltipWrapper: ({ label, children, }: React.PropsWithChildren<{
8
+ label: any;
9
+ }>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -25,11 +25,11 @@ export interface TemplateAppContainerProps extends TemplateFooterProps, Template
25
25
  aboveHeader?: React.ReactElement;
26
26
  /** DOM that will be rendered in the `TemplateBreakout` component section. */
27
27
  breakout?: React.ReactElement;
28
+ /** DOM that will be rendered in the `TemplateContentBottom` component section. */
29
+ contentBottom?: React.ReactElement;
28
30
  /** ID used for the `main` HTML element. Defaults to "mainContent". Useful
29
31
  * anchor for the application skip navigation. */
30
32
  contentId?: string;
31
- /** DOM that will be rendered in the `TemplateContentBottom` component section. */
32
- contentBottom?: React.ReactElement;
33
33
  /** DOM that will be rendered in the `TemplateContentPrimary` component section. */
34
34
  contentPrimary?: React.ReactElement;
35
35
  /** DOM that will be rendered in the `TemplateContentSidebar` component section. */
@@ -58,7 +58,7 @@ declare const Template: import("@chakra-ui/react").ChakraComponent<React.Forward
58
58
  * `role="complementary"` attribute. These elements should *not* be rendered
59
59
  * in the `header` HTML section since that's an accessibility violation.
60
60
  */
61
- declare const TemplateAboveHeader: (props: React.PropsWithChildren<TemplateProps>) => JSX.Element;
61
+ declare const TemplateAboveHeader: (props: React.PropsWithChildren<TemplateProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
62
62
  /**
63
63
  * This optional component should be the first child of the `Template`
64
64
  * component. This is rendered as an HTML `<header>` element. If an HTML
@@ -66,14 +66,14 @@ declare const TemplateAboveHeader: (props: React.PropsWithChildren<TemplateProps
66
66
  * set `renderFooterElement` to `false`. Otherwise, the parent wrapper will
67
67
  * render an HTML `<header>` element.
68
68
  */
69
- declare const TemplateHeader: ({ children, renderHeaderElement, }: React.PropsWithChildren<TemplateHeaderProps>) => JSX.Element;
69
+ declare const TemplateHeader: ({ children, renderHeaderElement, }: React.PropsWithChildren<TemplateHeaderProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
70
70
  /**
71
71
  * This component should be used inside the `Template` component to contain both
72
72
  * the `TemplateAboveHeader` and `TemplateHeader` components. This is meant to
73
73
  * render its children from edge to edge and is most useful for the headers,
74
74
  * `Breadcrumbs`, and `Hero` components or other banner-like components.
75
75
  */
76
- declare const TemplateBreakout: (props: React.PropsWithChildren<TemplateProps>) => JSX.Element;
76
+ declare const TemplateBreakout: (props: React.PropsWithChildren<TemplateProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
77
77
  /**
78
78
  * This component is most useful to render content on the page. This renders an
79
79
  * HTML `<main>` element with an id of "mainContent". The "mainContent" id should
@@ -84,20 +84,20 @@ declare const TemplateBreakout: (props: React.PropsWithChildren<TemplateProps>)
84
84
  * and `TemplateContentSidebar` must be ordered correctly as children elements
85
85
  * for the appropriate styles to take effect.
86
86
  */
87
- declare const TemplateContent: (props: React.PropsWithChildren<TemplateContentProps>) => JSX.Element;
87
+ declare const TemplateContent: (props: React.PropsWithChildren<TemplateContentProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
88
88
  /**
89
89
  * This optional component must be used inside the `TemplateContent` component.
90
90
  * This renders content in the main width of the container and will always render
91
91
  * above the primary component and the sidebar component (if any).
92
92
  */
93
- declare const TemplateContentTop: (props: React.PropsWithChildren<TemplateProps>) => JSX.Element;
93
+ declare const TemplateContentTop: (props: React.PropsWithChildren<TemplateProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
94
94
  /**
95
95
  * This optional component must be used inside the `TemplateContent` component
96
96
  * and after the `TemplateContentPrimary` or `TemplateContentSidebar` component.
97
97
  * This renders content in the main width of the container and should always
98
98
  * render below the primary component and the sidebar component (if any).
99
99
  */
100
- declare const TemplateContentBottom: (props: React.PropsWithChildren<TemplateProps>) => JSX.Element;
100
+ declare const TemplateContentBottom: (props: React.PropsWithChildren<TemplateProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
101
101
  /**
102
102
  * This component is used to render content in a column when there must be a
103
103
  * sidebar component on either its left or right side. It must go inside the
@@ -106,7 +106,7 @@ declare const TemplateContentBottom: (props: React.PropsWithChildren<TemplatePro
106
106
  * prop is used in the `TemplateContent` component, there is no need to pass
107
107
  * the `sidebar` prop to this component -- `TemplateContent` will handle it.
108
108
  */
109
- declare const TemplateContentPrimary: (props: React.PropsWithChildren<TemplateContentProps>) => JSX.Element;
109
+ declare const TemplateContentPrimary: (props: React.PropsWithChildren<TemplateContentProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
110
110
  /**
111
111
  * This component is used to render content in a sidebar column. It must go
112
112
  * inside the `TemplateContent` component and must be paired with the
@@ -118,14 +118,14 @@ declare const TemplateContentPrimary: (props: React.PropsWithChildren<TemplateCo
118
118
  * component, there is no need to pass the `sidebar` prop to this component --
119
119
  * `TemplateContent` will handle it.
120
120
  */
121
- declare const TemplateContentSidebar: (props: React.PropsWithChildren<TemplateContentProps>) => JSX.Element;
121
+ declare const TemplateContentSidebar: (props: React.PropsWithChildren<TemplateContentProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
122
122
  /**
123
123
  * This optional component should be the last child of the `Template`
124
124
  * component. This is rendered as an HTML `<footer>` element and spans the full
125
125
  * width of the page. If an HTML `<footer>` element is already passed in a
126
126
  * custom component, set `renderFooterElement` to `false`.
127
127
  */
128
- declare const TemplateFooter: ({ children, renderFooterElement, }: React.PropsWithChildren<TemplateFooterProps>) => JSX.Element;
128
+ declare const TemplateFooter: ({ children, renderFooterElement, }: React.PropsWithChildren<TemplateFooterProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
129
129
  /**
130
130
  * This single component can be used instead of all the individual template
131
131
  * components. Instead of importing and rendering the needed "template"
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
- export type TextSizes = "caption" | "default" | "mini" | "tag";
2
+ export declare const textSizesArray: readonly ["default", "caption", "tag", "mini"];
3
+ export type TextSizes = typeof textSizesArray[number];
3
4
  export interface TextProps {
4
5
  /** Additional class name to render in the `Text` component. */
5
6
  className?: string;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  import { HelperErrorTextType } from "../HelperErrorText/HelperErrorText";
3
- export type TextInputTypes = "email" | "hidden" | "number" | "password" | "text" | "textarea" | "tel" | "url";
3
+ export declare const textInputTypesArray: readonly ["email", "hidden", "number", "password", "text", "textarea", "tel", "url"];
4
+ export type TextInputTypes = typeof textInputTypesArray[number];
4
5
  export declare const TextInputFormats: {
5
6
  email: string;
6
7
  hidden: string;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  import { HelperErrorTextType } from "../HelperErrorText/HelperErrorText";
3
- export type ToggleSizes = "default" | "small";
3
+ export declare const toggleSizesArray: readonly ["default", "small"];
4
+ export type ToggleSizes = typeof toggleSizesArray[number];
4
5
  export interface ToggleProps {
5
6
  /** Used for uncontrolled scenarios. Sets the state of the Toggle when the page first loads.
6
7
  * If true, the toggle will be initially set to the "on" position. */
@@ -1,7 +1,9 @@
1
1
  import React from "react";
2
2
  import { HelperErrorTextType } from "../HelperErrorText/HelperErrorText";
3
- export type VideoPlayerTypes = "vimeo" | "youtube";
4
- export type VideoPlayerAspectRatios = "fourByThree" | "sixteenByNine" | "square";
3
+ export declare const VideoPlayerAspectRatiosArray: readonly ["fourByThree", "sixteenByNine", "square"];
4
+ export declare const VideoPlayerTypesArray: readonly ["vimeo", "youtube"];
5
+ export type VideoPlayerAspectRatios = typeof VideoPlayerAspectRatiosArray[number];
6
+ export type VideoPlayerTypes = typeof VideoPlayerTypesArray[number];
5
7
  export interface VideoPlayerProps {
6
8
  /** Optional aspect ratio prop to control the sizing of the video player; if
7
9
  * omitted, the video player defaults to `sixteen-by-nine` */
@@ -1 +1,2 @@
1
- export type LayoutTypes = "column" | "row";
1
+ export declare const layoutTypesArray: readonly ["column", "row"];
2
+ export type LayoutTypes = typeof layoutTypesArray[number];
@@ -17,6 +17,7 @@ export { default as DatePicker } from "./components/DatePicker/DatePicker";
17
17
  export type { DatePickerTypes, FullDateType, } from "./components/DatePicker/DatePicker";
18
18
  export { default as DSProvider } from "./theme/provider";
19
19
  export { default as FeedbackBox, useFeedbackBox, } from "./components/FeedbackBox/FeedbackBox";
20
+ export type { FeedbackBoxViewType } from "./components/FeedbackBox/FeedbackBox";
20
21
  export { default as Fieldset } from "./components/Fieldset/Fieldset";
21
22
  export { default as FilterBar } from "./components/FilterBar/FilterBar";
22
23
  export { default as Footer } from "./components/Footer/Footer";
@@ -36,15 +36,9 @@ declare const Breadcrumb: {
36
36
  };
37
37
  ".chakra-breadcrumb__link": {
38
38
  _hover: {
39
- color: string;
40
39
  cursor: string;
41
40
  textDecoration: string;
42
41
  };
43
- _dark: {
44
- _hover: {
45
- color: string;
46
- };
47
- };
48
42
  };
49
43
  ".icon": {
50
44
  display: string;
@@ -99,13 +93,6 @@ declare const Breadcrumb: {
99
93
  };
100
94
  };
101
95
  };
102
- "li:last-child": {
103
- ".chakra-breadcrumb__link": {
104
- _hover: {
105
- color: string;
106
- };
107
- };
108
- };
109
96
  svg: {
110
97
  fill: string;
111
98
  };
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { ChakraProviderProps } from "@chakra-ui/react";
3
- declare const DSProvider: ({ children, colorModeManager, }: React.PropsWithChildren<ChakraProviderProps>) => JSX.Element;
3
+ declare const DSProvider: ({ children, colorModeManager, }: React.PropsWithChildren<ChakraProviderProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
4
4
  export default DSProvider;
@@ -0,0 +1,5 @@
1
+ /** The checkContrast function returns the status of a contrast ratio based on
2
+ * the WCAG 2.1 standards. WCAG Level AA requires a contrast ratio of at least
3
+ * 4.5:1 for normal text and 3:1 for large text. WCAG Level AAA requires a
4
+ * contrast ratio of at least 7:1 for normal text and 4.5:1 for large text. */
5
+ export declare const checkContrast: (ratio: any) => any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "1.6.0-vite-rc",
3
+ "version": "1.6.0-vite-rc-2",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  "import": "./dist/design-system-react-components.js",
19
19
  "require": "./dist/design-system-react-components.umd.cjs"
20
20
  },
21
- "./dist/style.css": "./dist/style.css"
21
+ "./dist/styles.css": "./dist/styles.css"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=14 <=16"
@@ -37,13 +37,14 @@
37
37
  "test:ci": "jest --ci --config=jest.config.js --maxWorkers=2",
38
38
  "lint": "eslint src --ext=ts,tsx --cache",
39
39
  "prepare": "npm run build && husky install",
40
- "storybook": "start-storybook -p 6006 -s ./.storybook/public",
41
- "build-storybook:v1": "npm run prebuild:storybook && build-storybook -c .storybook -o ./reservoir/v1",
42
- "prebuild:storybook": "npm run test:generate-output"
40
+ "storybook": "storybook dev -p 6006",
41
+ "build-storybook:v1": "npm run prebuild:storybook && storybook build -c .storybook -o ./reservoir/v1",
42
+ "prebuild:storybook": "npm run test:generate-output",
43
+ "build-storybook": "storybook build"
43
44
  },
44
45
  "lint-staged": {
45
46
  "*.{jsx,ts,tsx}": "eslint src --ext=jsx,ts,tsx --cache --fix",
46
- "*.{js,jsx,ts,tsx,css,md}": "prettier --write"
47
+ "*.{js,jsx,ts,tsx,css}": "prettier --write"
47
48
  },
48
49
  "prettier": {
49
50
  "printWidth": 80,
@@ -82,18 +83,18 @@
82
83
  },
83
84
  "devDependencies": {
84
85
  "@babel/core": "7.14.6",
85
- "@chakra-ui/storybook-addon": "1.0.3",
86
86
  "@jest/core": "27.3.1",
87
87
  "@rollup/plugin-commonjs": "24.0.1",
88
88
  "@rollup/plugin-typescript": "11.0.0",
89
- "@storybook/addon-a11y": "6.5.16",
90
- "@storybook/addon-actions": "6.5.16",
91
- "@storybook/addon-docs": "6.5.16",
92
- "@storybook/addon-essentials": "6.5.16",
93
- "@storybook/addon-jest": "6.5.16",
94
- "@storybook/addon-links": "6.5.16",
95
- "@storybook/addons": "6.5.16",
96
- "@storybook/react": "6.5.16",
89
+ "@storybook/addon-a11y": "7.0.4",
90
+ "@storybook/addon-essentials": "7.0.4",
91
+ "@storybook/addon-interactions": "7.0.4",
92
+ "@storybook/addon-jest": "7.0.4",
93
+ "@storybook/addon-links": "7.0.4",
94
+ "@storybook/blocks": "7.0.4",
95
+ "@storybook/react": "7.0.4",
96
+ "@storybook/react-vite": "7.0.4",
97
+ "@storybook/testing-library": "0.0.14-next.2",
97
98
  "@svgr/webpack": "5.5.0",
98
99
  "@testing-library/dom": "9.2.0",
99
100
  "@testing-library/jest-dom": "5.14.1",
@@ -104,7 +105,7 @@
104
105
  "@types/jest-axe": "3.5.3",
105
106
  "@types/node": "18.13.0",
106
107
  "@types/react": "16.9.41",
107
- "@types/testing-library__jest-dom": "5.14.1",
108
+ "@types/testing-library__jest-dom": "^5.14.1",
108
109
  "@typescript-eslint/eslint-plugin": "5.57.0",
109
110
  "@typescript-eslint/parser": "5.57.0",
110
111
  "@vitejs/plugin-react": "3.1.0",
@@ -115,7 +116,6 @@
115
116
  "eslint-plugin-prettier": "4.2.1",
116
117
  "eslint-plugin-react": "7.32.2",
117
118
  "eslint-plugin-react-hooks": "4.2.0",
118
- "eslint-plugin-storybook": "0.5.12",
119
119
  "husky": "7.0.4",
120
120
  "jest": "29.4.3",
121
121
  "jest-axe": "5.0.1",
@@ -123,14 +123,17 @@
123
123
  "lint-staged": "10.5.4",
124
124
  "normalize.css": "8.0.1",
125
125
  "prettier": "2.4.1",
126
+ "prop-types": "15.8.1",
126
127
  "react": "17.0.2",
127
128
  "react-autosuggest": "10.0.2",
128
129
  "react-docgen-typescript-loader": "3.7.2",
129
130
  "react-dom": "17.0.2",
130
131
  "react-test-renderer": "17.0.2",
132
+ "remark-gfm": "3.0.1",
131
133
  "sass": "1.60.0",
132
134
  "sass-loader": "10.0.0",
133
- "storybook-addon-designs": "6.2.1",
135
+ "storybook": "7.0.4",
136
+ "storybook-addon-designs": "7.0.0-beta.2",
134
137
  "style-loader": "2.0.0",
135
138
  "ts-jest": "29.0.5",
136
139
  "tslib": "2.3.0",
@@ -1,3 +0,0 @@
1
- declare const iconColors: readonly ["ui.black", "ui.white", "brand.primary", "brand.secondary", "ui.error.primary", "ui.error.secondary", "ui.status.primary", "ui.status.secondary", "ui.success.primary", "ui.success.secondary", "ui.warning.primary", "ui.warning.secondary", "section.blogs.primary", "section.blogs.secondary", "section.books-and-more.primary", "section.books-and-more.secondary", "section.education.primary", "section.education.secondary", "section.locations.primary", "section.locations.secondary", "section.research.primary", "section.research.secondary", "section.research-library.lpa", "section.research-library.schomburg", "section.research-library.schwartzman", "section.whats-on.primary", "section.whats-on.secondary", "dark.ui.error.primary", "dark.ui.error.secondary", "dark.ui.status.primary", "dark.ui.status.secondary", "dark.ui.success.primary", "dark.ui.success.secondary", "dark.ui.warning.primary", "dark.ui.warning.secondary"];
2
- export declare const getIconColors: () => readonly ["ui.black", "ui.white", "brand.primary", "brand.secondary", "ui.error.primary", "ui.error.secondary", "ui.status.primary", "ui.status.secondary", "ui.success.primary", "ui.success.secondary", "ui.warning.primary", "ui.warning.secondary", "section.blogs.primary", "section.blogs.secondary", "section.books-and-more.primary", "section.books-and-more.secondary", "section.education.primary", "section.education.secondary", "section.locations.primary", "section.locations.secondary", "section.research.primary", "section.research.secondary", "section.research-library.lpa", "section.research-library.schomburg", "section.research-library.schwartzman", "section.whats-on.primary", "section.whats-on.secondary", "dark.ui.error.primary", "dark.ui.error.secondary", "dark.ui.status.primary", "dark.ui.status.secondary", "dark.ui.success.primary", "dark.ui.success.secondary", "dark.ui.warning.primary", "dark.ui.warning.secondary"];
3
- export default iconColors;
@@ -1,3 +0,0 @@
1
- declare const iconNames: readonly ["accessibilityFull", "accessibilityPartial", "actionCheckCircle", "actionCheckCircleFilled", "actionExit", "actionHelpDefault", "actionHelpOutline", "actionLaunch", "actionPower", "actionRegistration", "actionSettings", "alertNotificationImportant", "alertWarningFilled", "alertWarningOutline", "arrow", "building", "check", "clock", "close", "decorativeEnvelope", "decorativeLibraryCard", "decorativeShoppingBag", "download", "errorFilled", "errorOutline", "fileTypeAudio", "fileTypeDoc", "fileTypeGenericDoc", "fileTypeImage", "fileTypePdf", "fileTypeSpreadsheet", "fileTypeVideo", "headset", "legacyAccountFilled", "legacyAccountUnfilled", "legacySocialFacebook", "legacySocialInstagram", "legacySocialTwitter", "legacySocialYoutube", "locator", "minus", "plus", "search", "socialFacebook", "socialInstagram", "socialTumblr", "socialTwitter", "socialYoutube", "speakerNotes", "utilityAccountFilled", "utilityAccountUnfilled", "utilityHamburger", "utilitySearch"];
2
- export declare const getIconNames: () => readonly ["accessibilityFull", "accessibilityPartial", "actionCheckCircle", "actionCheckCircleFilled", "actionExit", "actionHelpDefault", "actionHelpOutline", "actionLaunch", "actionPower", "actionRegistration", "actionSettings", "alertNotificationImportant", "alertWarningFilled", "alertWarningOutline", "arrow", "building", "check", "clock", "close", "decorativeEnvelope", "decorativeLibraryCard", "decorativeShoppingBag", "download", "errorFilled", "errorOutline", "fileTypeAudio", "fileTypeDoc", "fileTypeGenericDoc", "fileTypeImage", "fileTypePdf", "fileTypeSpreadsheet", "fileTypeVideo", "headset", "legacyAccountFilled", "legacyAccountUnfilled", "legacySocialFacebook", "legacySocialInstagram", "legacySocialTwitter", "legacySocialYoutube", "locator", "minus", "plus", "search", "socialFacebook", "socialInstagram", "socialTumblr", "socialTwitter", "socialYoutube", "speakerNotes", "utilityAccountFilled", "utilityAccountUnfilled", "utilityHamburger", "utilitySearch"];
3
- export default iconNames;
File without changes