@cfpb/design-system-react 0.0.12 → 0.0.14

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 (159) hide show
  1. package/README.md +8 -10
  2. package/dist/{assets/style.css → index.css} +1 -1
  3. package/dist/index.d.ts +2 -43
  4. package/dist/index.js +2 -60
  5. package/dist/index.mjs +1490 -6588
  6. package/dist/postcss/plugins/process-icons.d.ts +6 -0
  7. package/dist/{components/Alert/AlertFieldLevel.d.ts → src/components/Alert/alert-field-level.d.ts} +1 -1
  8. package/dist/src/components/Alert/alert-link.d.ts +7 -0
  9. package/dist/{components/Alert/Alert.d.ts → src/components/Alert/alert.d.ts} +3 -3
  10. package/dist/src/components/Alert/alert.stories.d.ts +16 -0
  11. package/dist/src/components/Alert/alert.test.d.ts +0 -0
  12. package/dist/{components/Banner/BannerLanguageLink.d.ts → src/components/Banner/banner-language-link.d.ts} +1 -1
  13. package/dist/{components/Banner/Banner.d.ts → src/components/Banner/banner.d.ts} +1 -0
  14. package/dist/src/components/Banner/banner.stories.d.ts +8 -0
  15. package/dist/src/components/Banner/banner.test.d.ts +0 -0
  16. package/dist/{components/Breadcrumb/Breadcrumb.d.ts → src/components/Breadcrumb/breadcrumb.d.ts} +1 -1
  17. package/dist/src/components/Breadcrumb/breadcrumb.stories.d.ts +6 -0
  18. package/dist/src/components/Breadcrumb/breadcrumb.test.d.ts +0 -0
  19. package/dist/{components/Buttons/ButtonGroup.d.ts → src/components/Buttons/button-group.d.ts} +1 -1
  20. package/dist/src/components/Buttons/button-group.test.d.ts +0 -0
  21. package/dist/{components/Buttons/Button.d.ts → src/components/Buttons/button.d.ts} +2 -2
  22. package/dist/src/components/Buttons/button.test.d.ts +0 -0
  23. package/dist/src/components/Buttons/buttons.stories.d.ts +19 -0
  24. package/dist/src/components/Checkbox/checkbox-large.stories.d.ts +15 -0
  25. package/dist/{components/Checkbox/Checkbox.d.ts → src/components/Checkbox/checkbox.d.ts} +5 -5
  26. package/dist/src/components/Checkbox/checkbox.stories.d.ts +18 -0
  27. package/dist/src/components/Checkbox/checkbox.test.d.ts +0 -0
  28. package/dist/src/components/Checkbox/checkbox.utils.d.ts +6 -0
  29. package/dist/{components/Divider/Divider.d.ts → src/components/Divider/divider.d.ts} +1 -2
  30. package/dist/src/components/Divider/divider.stories.d.ts +7 -0
  31. package/dist/src/components/Divider/divider.test.d.ts +0 -0
  32. package/dist/{components/Expandable/ExpandableGroup.d.ts → src/components/Expandable/expandable-group.d.ts} +2 -3
  33. package/dist/{components/Expandable/Expandable.d.ts → src/components/Expandable/expandable.d.ts} +1 -2
  34. package/dist/src/components/Expandable/expandable.stories.d.ts +10 -0
  35. package/dist/src/components/Expandable/expandable.test.d.ts +0 -0
  36. package/dist/{components/Footer/BackToTop.d.ts → src/components/Footer/back-to-top.d.ts} +1 -0
  37. package/dist/{components/Footer/FooterBanner.d.ts → src/components/Footer/footer-banner.d.ts} +1 -0
  38. package/dist/{components/Footer/FooterCfGov.d.ts → src/components/Footer/footer-cf-gov.d.ts} +2 -1
  39. package/dist/{components/Footer/FooterLinks.d.ts → src/components/Footer/footer-links.d.ts} +3 -2
  40. package/dist/src/components/Footer/footer-links.test.d.ts +1 -0
  41. package/dist/{components/Footer/Footer.d.ts → src/components/Footer/footer.d.ts} +1 -0
  42. package/dist/src/components/Footer/footer.stories.d.ts +7 -0
  43. package/dist/src/components/Footer/footer.test.d.ts +1 -0
  44. package/dist/{components/Grid/GridColumn.d.ts → src/components/Grid/grid-column.d.ts} +1 -0
  45. package/dist/{components/Grid/GridRow.d.ts → src/components/Grid/grid-row.d.ts} +1 -0
  46. package/dist/{components/Grid/GridWrapper.d.ts → src/components/Grid/grid-wrapper.d.ts} +1 -0
  47. package/dist/src/components/Grid/grid.stories.d.ts +9 -0
  48. package/dist/src/components/Grid/grid.test.d.ts +0 -0
  49. package/dist/{components → src/components}/Grid/index.d.ts +3 -3
  50. package/dist/{components/Headings/Heading.d.ts → src/components/Headings/heading.d.ts} +1 -0
  51. package/dist/src/components/Headings/heading.test.d.ts +0 -0
  52. package/dist/src/components/Headings/headings.stories.d.ts +18 -0
  53. package/dist/{components/HelperText/HelperText.d.ts → src/components/HelperText/helper-text.d.ts} +1 -1
  54. package/dist/src/components/Hero/hero-image.d.ts +7 -0
  55. package/dist/{components/Hero/Hero.d.ts → src/components/Hero/hero.d.ts} +2 -1
  56. package/dist/src/components/Hero/hero.stories.d.ts +10 -0
  57. package/dist/src/components/Hero/hero.test.d.ts +1 -0
  58. package/dist/{components/Hero/useBackgroundImage.d.ts → src/components/Hero/use-background-image.d.ts} +1 -1
  59. package/dist/{components/Icon/Icon.d.ts → src/components/Icon/icon.d.ts} +2 -1
  60. package/dist/src/components/Icon/icon.stories.d.ts +17 -0
  61. package/dist/src/components/Icon/icon.test.d.ts +0 -0
  62. package/dist/{components/Label/Label.d.ts → src/components/Label/label.d.ts} +2 -1
  63. package/dist/src/components/Label/label.stories.d.ts +7 -0
  64. package/dist/src/components/Label/label.test.d.ts +0 -0
  65. package/dist/{components/Layout/LayoutContent.d.ts → src/components/Layout/layout-content.d.ts} +2 -2
  66. package/dist/src/components/Layout/layout-content.stories.d.ts +6 -0
  67. package/dist/{components/Layout/LayoutMain.d.ts → src/components/Layout/layout-main.d.ts} +3 -3
  68. package/dist/src/components/Layout/layout-main.stories.d.ts +7 -0
  69. package/dist/{components/Layout/LayoutSidebar.d.ts → src/components/Layout/layout-sidebar.d.ts} +2 -2
  70. package/dist/src/components/Layout/layout-sidebar.stories.d.ts +6 -0
  71. package/dist/{components/Layout/LayoutWrapper.d.ts → src/components/Layout/layout-wrapper.d.ts} +2 -2
  72. package/dist/src/components/Layout/layout-wrapper.stories.d.ts +6 -0
  73. package/dist/src/components/Layout/layout.d.ts +7 -0
  74. package/dist/src/components/Link/link.d.ts +50 -0
  75. package/dist/src/components/Link/link.stories.d.ts +11 -0
  76. package/dist/src/components/Link/link.test.d.ts +0 -0
  77. package/dist/{components/List/ListItem.d.ts → src/components/List/list-item.d.ts} +2 -2
  78. package/dist/{components/List/List.d.ts → src/components/List/list.d.ts} +2 -1
  79. package/dist/src/components/List/list.stories.d.ts +10 -0
  80. package/dist/src/components/List/list.test.d.ts +0 -0
  81. package/dist/{components/Navbar/Navbar.d.ts → src/components/Navbar/navbar.d.ts} +2 -1
  82. package/dist/src/components/Navbar/navbar.stories.d.ts +8 -0
  83. package/dist/{components/PageHeader/PageHeader.d.ts → src/components/PageHeader/page-header.d.ts} +3 -2
  84. package/dist/src/components/PageHeader/page-header.stories.d.ts +7 -0
  85. package/dist/src/components/PageHeader/page-header.test.d.ts +0 -0
  86. package/dist/{components/Pagination/Pagination.d.ts → src/components/Pagination/pagination.d.ts} +2 -2
  87. package/dist/src/components/Pagination/pagination.stories.d.ts +20 -0
  88. package/dist/src/components/Pagination/pagination.story-utils.d.ts +2 -0
  89. package/dist/src/components/Pagination/pagination.test.d.ts +0 -0
  90. package/dist/{components/Pagination/usePagination.d.ts → src/components/Pagination/use-pagination.d.ts} +3 -3
  91. package/dist/src/components/Pagination/use-pagination.test.d.ts +0 -0
  92. package/dist/{components/Paragraph/Paragraph.d.ts → src/components/Paragraph/paragraph.d.ts} +1 -0
  93. package/dist/src/components/Paragraph/paragraph.test.d.ts +0 -0
  94. package/dist/src/components/Paragraph/paragraphs.stories.d.ts +17 -0
  95. package/dist/{components/RadioButton/RadioButton.d.ts → src/components/RadioButton/radio-button.d.ts} +2 -3
  96. package/dist/src/components/RadioButton/radio-button.stories.d.ts +14 -0
  97. package/dist/src/components/RadioButton/radio-button.test.d.ts +0 -0
  98. package/dist/src/components/ResponsiveMenu/responsive-menu.d.ts +12 -0
  99. package/dist/src/components/ResponsiveMenu/responsive-menu.stories.d.ts +8 -0
  100. package/dist/src/components/ResponsiveMenu/responsive-menu.test.d.ts +0 -0
  101. package/dist/{components/Select/SelectMulti.d.ts → src/components/Select/select-multi.d.ts} +2 -1
  102. package/dist/src/components/Select/select-multi.stories.d.ts +6 -0
  103. package/dist/{components/Select/SelectSingle.d.ts → src/components/Select/select-single.d.ts} +2 -1
  104. package/dist/src/components/Select/select-tag.d.ts +11 -0
  105. package/dist/{components/Select/selectUtils.d.ts → src/components/Select/select-utils.d.ts} +2 -1
  106. package/dist/{components/Select/Select.d.ts → src/components/Select/select.d.ts} +1 -1
  107. package/dist/src/components/Select/select.stories.d.ts +9 -0
  108. package/dist/src/components/Select/select.test.d.ts +0 -0
  109. package/dist/src/components/Select/test-utils.d.ts +9 -0
  110. package/dist/src/components/SkipNav/skip-nav.d.ts +5 -0
  111. package/dist/{components/Summaries/Summary.d.ts → src/components/Summaries/summary.d.ts} +1 -2
  112. package/dist/src/components/Summaries/summary.stories.d.ts +8 -0
  113. package/dist/src/components/Table/table-utils.d.ts +4 -0
  114. package/dist/src/components/Table/table.d.ts +33 -0
  115. package/dist/src/components/Table/table.stories.d.ts +13 -0
  116. package/dist/src/components/Table/table.test.d.ts +0 -0
  117. package/dist/src/components/Tagline/tagline.d.ts +8 -0
  118. package/dist/src/components/Tagline/tagline.stories.d.ts +7 -0
  119. package/dist/src/components/Tagline/tagline.test.d.ts +0 -0
  120. package/dist/src/components/TextInput/text-area.d.ts +14 -0
  121. package/dist/src/components/TextInput/text-area.stories.d.ts +13 -0
  122. package/dist/src/components/TextInput/text-area.test.d.ts +0 -0
  123. package/dist/{components/TextInput/TextInput.d.ts → src/components/TextInput/text-input.d.ts} +3 -4
  124. package/dist/src/components/TextInput/text-input.stories.d.ts +14 -0
  125. package/dist/src/components/TextInput/text-input.test.d.ts +0 -0
  126. package/dist/src/components/TextIntroduction/test-helpers.d.ts +19 -0
  127. package/dist/{components/TextIntroduction/TextIntroduction.d.ts → src/components/TextIntroduction/text-introduction.d.ts} +7 -7
  128. package/dist/src/components/TextIntroduction/text-introduction.stories.d.ts +15 -0
  129. package/dist/src/components/TextIntroduction/text-introduction.test.d.ts +0 -0
  130. package/dist/{components/Well/Well.d.ts → src/components/Well/well.d.ts} +2 -1
  131. package/dist/src/components/Well/well.stories.d.ts +7 -0
  132. package/dist/src/components/Well/well.test.d.ts +0 -0
  133. package/dist/{hooks/useIconSvg.d.ts → src/hooks/use-icon-svg.d.ts} +1 -1
  134. package/dist/src/index.d.ts +41 -0
  135. package/dist/{types/jsxElement.d.ts → src/types/jsx-element.d.ts} +1 -0
  136. package/dist/src/utils/sleep.d.ts +1 -0
  137. package/dist/vite/plugins/svg-raw-loader.d.ts +2 -0
  138. package/package.json +74 -94
  139. package/dist/components/Alert/AlertLink.d.ts +0 -6
  140. package/dist/components/Dropdown/Dropdown.d.ts +0 -11
  141. package/dist/components/Dropdown/Dropdown.types.d.ts +0 -20
  142. package/dist/components/Dropdown/DropdownInputWithCheckbox.d.ts +0 -10
  143. package/dist/components/Dropdown/DropdownPills.d.ts +0 -26
  144. package/dist/components/Dropdown/styles.d.ts +0 -2
  145. package/dist/components/Dropdown/utils.d.ts +0 -17
  146. package/dist/components/Hero/HeroImage.d.ts +0 -6
  147. package/dist/components/Link/Link.d.ts +0 -21
  148. package/dist/components/ResponsiveMenu/ResponsiveMenu.d.ts +0 -12
  149. package/dist/components/SkipNav/SkipNav.d.ts +0 -5
  150. package/dist/components/Table/Table.d.ts +0 -34
  151. package/dist/components/Table/tableUtils.d.ts +0 -3
  152. package/dist/components/Tagline/Tagline.d.ts +0 -7
  153. package/dist/components/TextInput/TextArea.d.ts +0 -14
  154. /package/dist/{components/Icon/iconLists.d.ts → src/components/Icon/icon-lists.d.ts} +0 -0
  155. /package/dist/{components/Pagination/paginationConstants.d.ts → src/components/Pagination/pagination-constants.d.ts} +0 -0
  156. /package/dist/{components/TextInput/TextInputStatus.d.ts → src/components/TextInput/text-input-status.d.ts} +0 -0
  157. /package/dist/{types/headingLevel.d.ts → src/types/heading-level.d.ts} +0 -0
  158. /package/dist/{types/WidthPercent.d.ts → src/types/width-percent.d.ts} +0 -0
  159. /package/dist/{utils/noOp.d.ts → src/utils/no-op.d.ts} +0 -0
File without changes
@@ -1,4 +1,4 @@
1
- import type { FC, SVGProps } from 'react';
1
+ import { FC, SVGProps } from 'react';
2
2
  /**
3
3
  * Dynamically import an SVG as a React Component
4
4
  *
@@ -0,0 +1,41 @@
1
+ export { Alert } from './components/Alert/alert';
2
+ export { AlertFieldLevel } from './components/Alert/alert-field-level';
3
+ export { Banner } from './components/Banner/banner';
4
+ export { LanguageLink } from './components/Banner/banner-language-link';
5
+ export { Breadcrumb } from './components/Breadcrumb/breadcrumb';
6
+ export { Button } from './components/Buttons/button';
7
+ export { ButtonGroup } from './components/Buttons/button-group';
8
+ export { Checkbox } from './components/Checkbox/checkbox';
9
+ export { Divider } from './components/Divider/divider';
10
+ export { Expandable } from './components/Expandable/expandable';
11
+ export { ExpandableGroup } from './components/Expandable/expandable-group';
12
+ export { default as Footer } from './components/Footer/footer';
13
+ export { FooterCfGov } from './components/Footer/footer-cf-gov';
14
+ export { default as Grid } from './components/Grid';
15
+ export { Heading } from './components/Headings/heading';
16
+ export { default as Hero } from './components/Hero/hero';
17
+ export { Icon } from './components/Icon/icon';
18
+ export { Label } from './components/Label/label';
19
+ export { default as Layout } from './components/Layout/layout';
20
+ export { default as Link, LinkText, ListLink } from './components/Link/link';
21
+ export type { LinkProperties } from './components/Link/link';
22
+ export { default as List } from './components/List/list';
23
+ export { default as ListItem, ListItemBuilder, } from './components/List/list-item';
24
+ export { default as Navbar } from './components/Navbar/navbar';
25
+ export { default as PageHeader } from './components/PageHeader/page-header';
26
+ export { Pagination } from './components/Pagination/pagination';
27
+ export { usePagination } from './components/Pagination/use-pagination';
28
+ export { Paragraph } from './components/Paragraph/paragraph';
29
+ export { RadioButton } from './components/RadioButton/radio-button';
30
+ export { default as ResponsiveMenu } from './components/ResponsiveMenu/responsive-menu';
31
+ export { Select } from './components/Select/select';
32
+ export { SelectMulti } from './components/Select/select-multi';
33
+ export { SelectSingle } from './components/Select/select-single';
34
+ export { default as SkipNav } from './components/SkipNav/skip-nav';
35
+ export { Summary } from './components/Summaries/summary';
36
+ export { Table } from './components/Table/table';
37
+ export { Tagline } from './components/Tagline/tagline';
38
+ export { TextArea } from './components/TextInput/text-area';
39
+ export { TextInput } from './components/TextInput/text-input';
40
+ export { TextIntroduction, TextIntroductionContainer, TextIntroductionDescription, TextIntroductionHeading, TextIntroductionSubheading, } from './components/TextIntroduction/text-introduction';
41
+ export { WellContainer, WellContent } from './components/Well/well';
@@ -1 +1,2 @@
1
+ import { JSX } from 'react';
1
2
  export type JSXElement = JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare function sleep(ms: number): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { Plugin } from 'vite';
2
+ export declare function svgRawLoaderPlugin(): Plugin;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfpb/design-system-react",
3
3
  "license": "MIT",
4
- "version": "0.0.12",
4
+ "version": "0.0.14",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/cfpb/design-system-react.git"
@@ -18,13 +18,13 @@
18
18
  "import": "./dist/index.mjs",
19
19
  "require": "./dist/index.js"
20
20
  },
21
- "./style.css": "./dist/assets/style.css"
21
+ "./index.css": "./index.css"
22
22
  },
23
23
  "files": [
24
24
  "dist"
25
25
  ],
26
26
  "engines": {
27
- "node": ">=20"
27
+ "node": ">=24"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "vite build",
@@ -36,14 +36,8 @@
36
36
  "test": "vitest",
37
37
  "test-report": "open coverage/lcov-report/index.html",
38
38
  "test:ci": "vitest run",
39
- "test:e2e": "yarn preview:test 'cypress open'",
40
- "test:e2e:headless": "yarn preview:test 'cypress run'",
41
- "test:e2e:ci": "vite build && yarn preview:test 'cypress run --record'",
42
39
  "format": "prettier -uw --cache --ignore-path .gitignore .",
43
- "run-tsc": "tsc",
44
- "run-eslint": "eslint --cache --fix --ignore-path .gitignore --ext .ts,.tsx .",
45
- "run-stylelint": "stylelint --cache --fix --ignore-path .gitignore **/*.css",
46
- "lint": "run-p run-tsc run-eslint run-stylelint",
40
+ "lint": "scripts/lint.sh",
47
41
  "validate": "run-p lint test:ci test:e2e:headless",
48
42
  "start": "yarn storybook",
49
43
  "storybook": "storybook dev -p 6006",
@@ -51,93 +45,80 @@
51
45
  "chromatic": "chromatic --storybook-build-dir dist-storybook --only-changed"
52
46
  },
53
47
  "dependencies": {
54
- "@cfpb/cfpb-design-system": "4.3.2",
55
- "@tanstack/react-query": "^4.13.5",
56
- "classnames": "^2.3.2",
57
- "react": "18.2.0",
58
- "react-dom": "18.2.0",
59
- "react-router-dom": "^6.3.0",
60
- "react-select": "^5.7.2",
61
- "sass-embedded": "^1.90.0"
48
+ "@cfpb/browserslist-config": "^0.0.6",
49
+ "@cfpb/cfpb-design-system": "4.4.0",
50
+ "react-select": "^5.10.2"
51
+ },
52
+ "peerDependencies": {
53
+ "react": "^18.0.0 || ^19.0.0",
54
+ "react-dom": "^18.0.0 || ^19.0.0",
55
+ "react-router-dom": "^7.13.0"
62
56
  },
63
57
  "devDependencies": {
64
- "@babel/core": "^7.20.12",
65
- "@chromatic-com/storybook": "^3",
66
- "@nabla/vite-plugin-eslint": "1.4.1",
67
- "@storybook/addon-a11y": "^8.6.7",
68
- "@storybook/addon-actions": "^8.6.7",
69
- "@storybook/addon-essentials": "^8.6.7",
70
- "@storybook/addon-interactions": "^8.6.7",
71
- "@storybook/addon-links": "^8.6.7",
72
- "@storybook/addon-mdx-gfm": "^8.6.7",
73
- "@storybook/manager-api": "^8.6.7",
74
- "@storybook/preview-api": "^8.6.7",
75
- "@storybook/react": "^8.6.7",
76
- "@storybook/react-vite": "^8.6.7",
77
- "@storybook/test": "^8.6.7",
78
- "@storybook/theming": "^8.6.7",
79
- "@testing-library/cypress": "8.0.7",
80
- "@testing-library/dom": "8.19.0",
81
- "@testing-library/jest-dom": "5.16.5",
82
- "@testing-library/react": "13.4.0",
83
- "@testing-library/user-event": "14.4.3",
84
- "@types/css-mediaquery": "0.1.1",
85
- "@types/react": "18.0.25",
86
- "@types/react-dom": "18.0.8",
58
+ "@chromatic-com/storybook": "^5.0.1",
59
+ "@eslint/js": "^9.39.2",
60
+ "@nabla/vite-plugin-eslint": "^2.0.6",
61
+ "@storybook/addon-a11y": "^10.2.10",
62
+ "@storybook/addon-docs": "^10.2.10",
63
+ "@storybook/addon-links": "^10.2.10",
64
+ "@storybook/react-vite": "^10.2.10",
65
+ "@testing-library/dom": "^10.4.1",
66
+ "@testing-library/jest-dom": "^6.9.1",
67
+ "@testing-library/react": "^16.3.2",
68
+ "@testing-library/user-event": "^14.6.1",
69
+ "@types/css-mediaquery": "0.1.4",
70
+ "@types/node": "^25.3.0",
71
+ "@types/react": "^19.2.14",
72
+ "@types/react-dom": "^19.2.3",
87
73
  "@types/react-router-dom": "5.3.3",
88
- "@types/testing-library__jest-dom": "5.14.5",
89
- "@typescript-eslint/eslint-plugin": "5.43.0",
90
- "@typescript-eslint/parser": "5.43.0",
91
- "@vitejs/plugin-react": "^4.2.1",
92
- "@vitest/coverage-istanbul": "^3.1.1",
93
- "autoprefixer": "10.4.13",
94
- "babel-loader": "^8.3.0",
95
- "chromatic": "^6.19.9",
96
- "commitizen": "4.2.5",
74
+ "@types/testing-library__jest-dom": "6.0.0",
75
+ "@typescript-eslint/eslint-plugin": "8.56.0",
76
+ "@typescript-eslint/parser": "8.56.0",
77
+ "@vitejs/plugin-react": "^5.1.4",
78
+ "@vitest/coverage-istanbul": "^4.0.18",
79
+ "astring": "^1.9.0",
80
+ "autoprefixer": "10.4.24",
81
+ "chromatic": "^15.1.1",
82
+ "classnames": "^2.5.1",
83
+ "commitizen": "4.3.1",
97
84
  "css-mediaquery": "0.1.2",
98
- "cypress": "10.11.0",
99
85
  "cz-conventional-changelog": "3.3.0",
100
- "eslint": "8.27.0",
101
- "eslint-config-airbnb": "19.0.4",
102
- "eslint-config-airbnb-base": "15.0.0",
103
- "eslint-config-airbnb-typescript": "17.0.0",
104
- "eslint-config-prettier": "8.5.0",
105
- "eslint-plugin-cypress": "2.12.1",
106
- "eslint-plugin-import": "2.26.0",
107
- "eslint-plugin-jsx-a11y": "6.6.1",
108
- "eslint-plugin-react": "7.31.10",
109
- "eslint-plugin-react-hooks": "4.6.0",
110
- "eslint-plugin-react-prefer-function-component": "3.1.0",
111
- "eslint-plugin-storybook": "^0.6.11",
112
- "eslint-plugin-testing-library": "5.9.1",
113
- "eslint-plugin-unicorn": "45.0.2",
114
- "husky": "8.0.2",
86
+ "eslint": "9.39.2",
87
+ "eslint-config-prettier": "10.1.8",
88
+ "eslint-import-resolver-typescript": "^4.4.4",
89
+ "eslint-plugin-import": "2.32.0",
90
+ "eslint-plugin-jsx-a11y": "^6.10.2",
91
+ "eslint-plugin-react": "^7.37.5",
92
+ "eslint-plugin-react-hooks": "^7.0.1",
93
+ "eslint-plugin-storybook": "^10.2.10",
94
+ "eslint-plugin-testing-library": "7.16.0",
95
+ "eslint-plugin-unicorn": "^62.0.0",
96
+ "globals": "^17.3.0",
97
+ "husky": "9.1.7",
115
98
  "jest-matchmedia-mock": "1.1.0",
116
- "jsdom": "21.0.0",
117
- "lint-staged": "13.0.3",
118
- "msw": "0.48.3",
99
+ "jsdom": "28.1.0",
100
+ "lint-staged": "16.2.7",
119
101
  "npm-run-all": "4.1.5",
120
- "postcss": "8.4.31",
121
- "prettier": "2.7.1",
122
- "sass": "^1.90.0",
123
- "scss": "^0.2.4",
124
- "start-server-and-test": "2.0.11",
125
- "storybook": "^8.6.7",
126
- "stylelint": "14.15.0",
127
- "stylelint-config-prettier": "9.0.4",
128
- "stylelint-config-standard": "29.0.0",
129
- "typescript": "4.8.4",
130
- "vite": "5.4.0",
131
- "vite-plugin-dts": "^2.2.0",
132
- "vite-plugin-pwa": "^1.0.0",
133
- "vite-plugin-react-remove-attributes": "^1.0.3",
102
+ "postcss": "8.5.6",
103
+ "prettier": "3.8.1",
104
+ "react": "19.2.4",
105
+ "react-dom": "19.2.4",
106
+ "react-router-dom": "^7.13.0",
107
+ "rollup-plugin-jsx-remove-attributes": "^3.1.2",
108
+ "sass": "^1.97.3",
109
+ "start-server-and-test": "2.1.3",
110
+ "storybook": "^10.2.10",
111
+ "stylelint": "^17.3.0",
112
+ "stylelint-config-standard-scss": "^17.0.0",
113
+ "typescript": "^5.9.3",
114
+ "typescript-eslint": "^8.56.0",
115
+ "vite": "^7.3.1",
116
+ "vite-plugin-dts": "^4.5.4",
117
+ "vite-plugin-pwa": "^1.2.0",
134
118
  "vite-plugin-svgr": "^4.5.0",
135
119
  "vite-plugin-turbosnap": "^1.0.3",
136
- "vite-tsconfig-paths": "3.5.2",
137
- "vitest": "^3.1.1",
138
- "whatwg-fetch": "3.6.2",
139
- "workbox-build": "7.3.0",
140
- "workbox-window": "6.5.4"
120
+ "vite-tsconfig-paths": "^6.1.1",
121
+ "vitest": "^4.0.18"
141
122
  },
142
123
  "resolutions": {
143
124
  "braces": "3.0.3",
@@ -147,13 +128,11 @@
147
128
  "form-data": ">=4.0.4",
148
129
  "glob": ">=11.1.0"
149
130
  },
150
- "browserslist": {
151
- "production": "Edge >= 18, Firefox >= 60, Chrome >= 61, Safari >= 11, Opera >= 48",
152
- "development": [
153
- "last 1 chrome version",
154
- "last 1 firefox version"
155
- ]
131
+ "prettier": {
132
+ "singleQuote": true,
133
+ "jsxSingleQuote": true
156
134
  },
135
+ "browserslist": "> 0.2% in @cfpb/browserslist-config stats",
157
136
  "lint-staged": {
158
137
  "*": "prettier -uw --cache",
159
138
  "*.css": "stylelint --cache --fix",
@@ -162,5 +141,6 @@
162
141
  "vitest related --run --coverage=false"
163
142
  ]
164
143
  },
144
+ "type": "module",
165
145
  "packageManager": "yarn@4.12.0"
166
146
  }
@@ -1,6 +0,0 @@
1
- export interface AlertLinkProperties {
2
- href: string;
3
- label: string;
4
- isExternal?: boolean;
5
- }
6
- export declare const AlertLink: ({ href, label, isExternal }: AlertLinkProperties) => JSX.Element;
@@ -1,11 +0,0 @@
1
- import type { GroupBase, Props } from 'react-select';
2
- import type { DropdownProperties } from './Dropdown.types';
3
- /**
4
- * A dropdown input component that supports multi-select.
5
- *
6
- * Passing the `value` prop makes the dropdown a controlled component.
7
- * @returns JSX.Element
8
- */
9
- export declare function Dropdown<OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>({ error, id, isMulti, label, labelClearAll, onSelect, options, pillAlign, value, withCheckbox, isClearable, // Show/Hide react-select X in select input that clears all selections
10
- showClearAllSelectedButton, className, ...properties }: DropdownProperties & Props<OptionType, IsMulti, GroupType>): JSX.Element;
11
- export default Dropdown;
@@ -1,20 +0,0 @@
1
- import type { OnChangeValue, PropsValue } from 'react-select';
2
- import type { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
3
- export interface SelectOption {
4
- value: string;
5
- label: string;
6
- }
7
- export interface DropdownProperties extends StateManagerProps {
8
- error?: boolean | string;
9
- id: string;
10
- isDisabled?: boolean;
11
- isMulti?: boolean;
12
- label?: string;
13
- labelClearAll: string;
14
- onSelect: (event: OnChangeValue<SelectOption, boolean>) => void;
15
- options: SelectOption[];
16
- pillAlign?: 'bottom' | 'hide' | 'top';
17
- showClearAllSelectedButton?: boolean;
18
- value?: PropsValue<SelectOption>;
19
- withCheckbox?: boolean;
20
- }
@@ -1,10 +0,0 @@
1
- import type { ReactElement, ReactNode } from 'react';
2
- interface TypeCheckboxInput {
3
- children: ReactNode;
4
- innerProps: JSX.IntrinsicElements['div'];
5
- isDisabled: boolean;
6
- isFocused: boolean;
7
- isSelected: boolean;
8
- }
9
- declare const CheckboxInputOption: ({ children, innerProps, isDisabled, isFocused, isSelected, ...rest }: TypeCheckboxInput) => ReactElement;
10
- export default CheckboxInputOption;
@@ -1,26 +0,0 @@
1
- import type { ReactEventHandler, Ref } from 'react';
2
- import type { PropsValue } from 'react-select';
3
- import type { SelectOption } from './Dropdown.types';
4
- /**
5
- * Event Handlers
6
- */
7
- export declare function onCloser(index: number, onChange: (result: PropsValue<SelectOption>) => void, selected?: PropsValue<SelectOption>): ReactEventHandler<HTMLButtonElement>;
8
- /**
9
- * Components
10
- */
11
- interface DropdownPillProperties {
12
- value: string;
13
- onClose: ReactEventHandler<HTMLButtonElement>;
14
- }
15
- export declare const DropdownPill: ({ value, onClose }: DropdownPillProperties) => JSX.Element;
16
- interface DropdownPillsProperties {
17
- isMulti?: boolean;
18
- labelClearAll?: string;
19
- onChange: (event: PropsValue<SelectOption>) => void;
20
- pillAlign?: 'bottom' | 'top';
21
- selected: PropsValue<SelectOption>;
22
- selectRef: Ref<any>;
23
- showClearAllSelectedButton?: boolean;
24
- }
25
- export declare const DropdownPills: ({ isMulti, labelClearAll, onChange, pillAlign, selected, selectRef, showClearAllSelectedButton }: DropdownPillsProperties) => JSX.Element | null;
26
- export {};
@@ -1,2 +0,0 @@
1
- import type { StylesConfig } from 'react-select';
2
- export declare const extendedSelectStyles: StylesConfig;
@@ -1,17 +0,0 @@
1
- import type { GroupBase, OptionsOrGroups, PropsValue } from 'react-select';
2
- import type { SelectOption } from './Dropdown.types';
3
- export declare const MockOptions: {
4
- value: string;
5
- label: string;
6
- }[];
7
- /**
8
- * For multi-select, hides already selected options.
9
- *
10
- * @param options Available options
11
- * @param selected Selected options
12
- * @param isMulti Is a multi-select component?
13
- * @param showAllOptions Force all options to be displayed for selection
14
- * @returns A list of selectable options
15
- */
16
- export declare const filterOptions: (options: PropsValue<SelectOption>, value: PropsValue<SelectOption>, isMulti: boolean, showAllOptions: boolean) => OptionsOrGroups<SelectOption, GroupBase<SelectOption>>;
17
- export declare const onSelectInputFocus: (event: React.ChangeEvent<HTMLInputElement>) => void;
@@ -1,6 +0,0 @@
1
- interface HeroImageProperties {
2
- image?: string;
3
- altText?: string;
4
- }
5
- export declare const HeroImage: ({ image, altText }: HeroImageProperties) => JSX.Element | null;
6
- export {};
@@ -1,21 +0,0 @@
1
- import type { JSXElement } from '../../types/jsxElement';
2
- export interface LinkProperties extends React.HTMLProps<HTMLAnchorElement> {
3
- asButton?: boolean;
4
- children?: React.ReactNode;
5
- hasIcon?: boolean;
6
- href?: string;
7
- isJump?: boolean;
8
- isRouterLink?: boolean;
9
- noWrap?: boolean;
10
- ref?: React.Ref<HTMLAnchorElement>;
11
- type?: 'default' | 'destructive' | 'list';
12
- }
13
- /**
14
- * Links are navigational elements that connect users to other locations, either on the current page or to a different page or site. In contrast, <a href="https://cfpb.github.io/design-system/components/buttons">buttons</a> are used to signal important actions.
15
- *
16
- * Source: https://cfpb.github.io/design-system/components/links
17
- */
18
- export default function Link({ asButton, children, hasIcon, href, isJump, isRouterLink, noWrap, type, ...others }: LinkProperties): JSXElement;
19
- export declare const LinkText: ({ children, ...others }: React.HTMLProps<HTMLSpanElement>) => JSX.Element;
20
- export declare const ListLink: (properties: LinkProperties) => JSXElement;
21
- export declare const DestructiveLink: (properties: LinkProperties) => JSXElement;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface CfpbLogoProperties {
3
- href?: string;
4
- }
5
- export declare function CfpbLogo({ href }: CfpbLogoProperties): JSX.Element;
6
- interface ResponsiveMenuProperties {
7
- links?: React.ReactNode[];
8
- href?: string;
9
- }
10
- export default function ResponsiveMenu({ links, href }: ResponsiveMenuProperties): JSX.Element;
11
- export declare const ExampleLinks: React.ReactNode[];
12
- export {};
@@ -1,5 +0,0 @@
1
- import type { JSXElement } from '../../types/jsxElement';
2
- export default function SkipNav({ href, text }: {
3
- href?: string | undefined;
4
- text?: string | undefined;
5
- }): JSXElement;
@@ -1,34 +0,0 @@
1
- import type { ForwardedRef, HTMLProps } from 'react';
2
- import { type ReactNode } from 'react';
3
- import { type WidthPercent } from '../../types/WidthPercent';
4
- export interface TableColumnConfiguration {
5
- header: string;
6
- alignRight?: boolean | undefined;
7
- width?: WidthPercent;
8
- cellWordBreak?: boolean;
9
- cellDisableWordWrap?: boolean;
10
- headerWordWrap?: boolean;
11
- }
12
- export type TableColumn = TableColumnConfiguration | string;
13
- export interface TableProperties {
14
- id?: string;
15
- caption?: ReactNode;
16
- columns: TableColumn[];
17
- rows: ReactNode[][];
18
- isResponsive?: boolean;
19
- isScrollableHorizontal?: boolean;
20
- isStriped?: boolean;
21
- isPaginated?: boolean;
22
- startPage?: number;
23
- perPage?: number;
24
- className?: string;
25
- divRef?: ForwardedRef<HTMLDivElement>;
26
- tableRef?: ForwardedRef<HTMLTableElement>;
27
- }
28
- /**
29
- * Tables allow for the presentation of many data points grouped together in a visual way. They serve a unique purpose of allowing easy organization or comparison of more complex data than a chart or graph. They can be read either vertically (by columns) or horizontally (by rows).
30
- *
31
- * Source: https://cfpb.github.io/design-system/components/tables
32
- */
33
- export declare const Table: import("react").ForwardRefExoticComponent<Pick<HTMLProps<HTMLTableElement> & TableProperties, "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "caption" | "cite" | "data" | "form" | "label" | "span" | "summary" | "pattern" | "list" | "name" | "alt" | "size" | "href" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "key" | "columns" | "isPaginated" | "startPage" | "perPage" | "isResponsive" | "isScrollableHorizontal" | "isStriped" | "divRef" | "tableRef"> & import("react").RefAttributes<HTMLDivElement>>;
34
- export default Table;
@@ -1,3 +0,0 @@
1
- import type { TableProperties } from './Table';
2
- export declare const buildColumnHeaders: (columns: TableProperties['columns']) => JSX.Element | null;
3
- export declare const buildRows: (rows: TableProperties['rows'], columns: TableProperties['columns']) => JSX.Element | null;
@@ -1,7 +0,0 @@
1
- import type { JSXElement } from '../../types/jsxElement';
2
- interface TaglineProperties {
3
- children: JSX.Element | string;
4
- isLarge?: boolean;
5
- }
6
- export declare const Tagline: ({ isLarge, children }: TaglineProperties) => JSXElement;
7
- export {};
@@ -1,14 +0,0 @@
1
- import { type TextInputStatusType } from './TextInputStatus';
2
- export interface TextAreaType {
3
- id: string;
4
- onChange?: (value: string) => void;
5
- className?: string;
6
- isDisabled?: boolean;
7
- isFullWidth?: boolean;
8
- placeholder?: string;
9
- status?: TextInputStatusType;
10
- }
11
- /**
12
- * Source: <a href='https://cfpb.github.io/design-system/components/text-inputs#text-area-input-1' target='_blank'> https://cfpb.github.io/design-system/components/text-inputs#text-area-input-1</a>
13
- */
14
- export declare const TextArea: import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLTextAreaElement> & import("react").TextareaHTMLAttributes<HTMLTextAreaElement> & TextAreaType, "children" | "className" | "status" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "name" | "autoComplete" | "autoFocus" | "cols" | "disabled" | "maxLength" | "minLength" | "readOnly" | "required" | "rows" | "value" | "wrap" | "key" | "isDisabled" | "isFullWidth" | "dirName"> & import("react").RefAttributes<HTMLTextAreaElement>>;
File without changes