carbon-react 118.2.1 → 118.3.1

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 (126) hide show
  1. package/esm/components/button-minor/button-minor.component.d.ts +5 -1
  2. package/esm/components/button-minor/button-minor.component.js +4 -1
  3. package/esm/components/button-minor/button-minor.style.d.ts +2 -1
  4. package/esm/components/button-minor/button-minor.style.js +17 -0
  5. package/esm/components/button-minor/index.d.ts +1 -1
  6. package/esm/components/i18n-provider/i18n-provider.component.js +4 -0
  7. package/esm/components/password/index.d.ts +2 -0
  8. package/esm/components/password/index.js +1 -0
  9. package/esm/components/password/password.component.d.ts +9 -0
  10. package/esm/components/password/password.component.js +580 -0
  11. package/esm/components/password/password.style.d.ts +5 -0
  12. package/esm/components/password/password.style.js +8 -0
  13. package/esm/components/text-editor/__internal__/decorators/index.d.ts +2 -2
  14. package/esm/components/text-editor/__internal__/decorators/link-decorator.d.ts +7 -6
  15. package/esm/components/text-editor/__internal__/editor-counter/editor-counter.component.d.ts +15 -0
  16. package/esm/components/text-editor/__internal__/editor-counter/editor-counter.component.js +5 -15
  17. package/esm/components/text-editor/__internal__/editor-counter/editor-counter.style.d.ts +5 -0
  18. package/esm/components/text-editor/__internal__/editor-counter/index.d.ts +2 -2
  19. package/esm/components/text-editor/__internal__/editor-link/editor-link.component.d.ts +9 -0
  20. package/esm/components/text-editor/__internal__/editor-link/editor-link.component.js +3 -4
  21. package/esm/components/text-editor/__internal__/editor-link/editor-link.style.d.ts +3 -0
  22. package/esm/components/text-editor/__internal__/editor-link/index.d.ts +2 -2
  23. package/esm/components/text-editor/__internal__/label-wrapper/index.d.ts +2 -2
  24. package/esm/components/text-editor/__internal__/label-wrapper/label-wrapper.component.d.ts +12 -0
  25. package/esm/components/text-editor/__internal__/label-wrapper/label-wrapper.component.js +4 -3
  26. package/esm/components/text-editor/__internal__/toolbar/index.d.ts +2 -2
  27. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/index.d.ts +2 -2
  28. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.d.ts +25 -0
  29. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +12 -23
  30. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.d.ts +6 -0
  31. package/esm/components/text-editor/__internal__/toolbar/toolbar.component.d.ts +16 -0
  32. package/esm/components/text-editor/__internal__/toolbar/toolbar.component.js +40 -36
  33. package/esm/components/text-editor/__internal__/toolbar/toolbar.style.d.ts +4 -0
  34. package/esm/components/text-editor/__internal__/utils/index.d.ts +1 -1
  35. package/esm/components/text-editor/__internal__/utils/utils.d.ts +27 -26
  36. package/esm/components/text-editor/__internal__/utils/utils.js +9 -10
  37. package/esm/components/text-editor/index.d.ts +2 -2
  38. package/esm/components/text-editor/text-editor.component.d.ts +36 -7
  39. package/esm/components/text-editor/text-editor.component.js +230 -87
  40. package/esm/components/text-editor/text-editor.style.d.ts +11 -3
  41. package/esm/components/text-editor/text-editor.style.js +1 -2
  42. package/esm/components/text-editor/types.d.ts +6 -0
  43. package/esm/components/text-editor/types.js +4 -0
  44. package/esm/components/textbox/textbox.component.js +1 -1
  45. package/esm/hooks/__internal__/useFloating/useFloating.js +6 -2
  46. package/esm/{__internal__/utils/helpers → hooks/__internal__}/useUniqueId/index.js +1 -1
  47. package/esm/locales/en-gb.js +4 -0
  48. package/esm/locales/locale.d.ts +4 -0
  49. package/esm/locales/pl-pl.js +4 -0
  50. package/esm/style/design-tokens/debug-theme.util.d.ts +17 -0
  51. package/esm/style/themes/sage/index.d.ts +17 -0
  52. package/lib/components/button-minor/button-minor.component.d.ts +5 -1
  53. package/lib/components/button-minor/button-minor.component.js +4 -1
  54. package/lib/components/button-minor/button-minor.style.d.ts +2 -1
  55. package/lib/components/button-minor/button-minor.style.js +17 -0
  56. package/lib/components/button-minor/index.d.ts +1 -1
  57. package/lib/components/i18n-provider/i18n-provider.component.js +4 -0
  58. package/lib/components/password/index.d.ts +2 -0
  59. package/lib/components/password/index.js +15 -0
  60. package/lib/components/password/package.json +6 -0
  61. package/lib/components/password/password.component.d.ts +9 -0
  62. package/lib/components/password/password.component.js +600 -0
  63. package/lib/components/password/password.style.d.ts +5 -0
  64. package/lib/components/password/password.style.js +21 -0
  65. package/lib/components/text-editor/__internal__/decorators/index.d.ts +2 -2
  66. package/lib/components/text-editor/__internal__/decorators/link-decorator.d.ts +7 -6
  67. package/lib/components/text-editor/__internal__/editor-counter/editor-counter.component.d.ts +15 -0
  68. package/lib/components/text-editor/__internal__/editor-counter/editor-counter.component.js +5 -15
  69. package/lib/components/text-editor/__internal__/editor-counter/editor-counter.style.d.ts +5 -0
  70. package/lib/components/text-editor/__internal__/editor-counter/index.d.ts +2 -2
  71. package/lib/components/text-editor/__internal__/editor-link/editor-link.component.d.ts +9 -0
  72. package/lib/components/text-editor/__internal__/editor-link/editor-link.component.js +3 -4
  73. package/lib/components/text-editor/__internal__/editor-link/editor-link.style.d.ts +3 -0
  74. package/lib/components/text-editor/__internal__/editor-link/index.d.ts +2 -2
  75. package/lib/components/text-editor/__internal__/label-wrapper/index.d.ts +2 -2
  76. package/lib/components/text-editor/__internal__/label-wrapper/label-wrapper.component.d.ts +12 -0
  77. package/lib/components/text-editor/__internal__/label-wrapper/label-wrapper.component.js +2 -8
  78. package/lib/components/text-editor/__internal__/toolbar/index.d.ts +2 -2
  79. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/index.d.ts +2 -2
  80. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.d.ts +25 -0
  81. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +13 -24
  82. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.d.ts +6 -0
  83. package/lib/components/text-editor/__internal__/toolbar/toolbar.component.d.ts +16 -0
  84. package/lib/components/text-editor/__internal__/toolbar/toolbar.component.js +50 -46
  85. package/lib/components/text-editor/__internal__/toolbar/toolbar.style.d.ts +4 -0
  86. package/lib/components/text-editor/__internal__/utils/index.d.ts +1 -1
  87. package/lib/components/text-editor/__internal__/utils/utils.d.ts +27 -26
  88. package/lib/components/text-editor/__internal__/utils/utils.js +10 -11
  89. package/lib/components/text-editor/index.d.ts +2 -2
  90. package/lib/components/text-editor/text-editor.component.d.ts +36 -7
  91. package/lib/components/text-editor/text-editor.component.js +231 -88
  92. package/lib/components/text-editor/text-editor.style.d.ts +11 -3
  93. package/lib/components/text-editor/text-editor.style.js +1 -2
  94. package/lib/components/text-editor/types.d.ts +6 -0
  95. package/lib/components/text-editor/types.js +14 -0
  96. package/lib/components/textbox/textbox.component.js +1 -1
  97. package/lib/hooks/__internal__/useFloating/useFloating.js +6 -2
  98. package/lib/{__internal__/utils/helpers → hooks/__internal__}/useUniqueId/index.js +1 -1
  99. package/lib/hooks/__internal__/useUniqueId/package.json +6 -0
  100. package/lib/locales/en-gb.js +4 -0
  101. package/lib/locales/locale.d.ts +4 -0
  102. package/lib/locales/pl-pl.js +4 -0
  103. package/lib/style/design-tokens/debug-theme.util.d.ts +17 -0
  104. package/lib/style/themes/sage/index.d.ts +17 -0
  105. package/package.json +6 -6
  106. package/esm/__internal__/DeprecationWarning.js +0 -20
  107. package/esm/__internal__/utils/storybook/partial-action.d.ts +0 -3
  108. package/esm/__internal__/utils/storybook/partial-action.js +0 -13
  109. package/esm/components/text-editor/__internal__/editor-counter/editor-counter.d.ts +0 -11
  110. package/esm/components/text-editor/__internal__/editor-link/editor-link.d.ts +0 -11
  111. package/esm/components/text-editor/__internal__/label-wrapper/label-wrapper.d.ts +0 -10
  112. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.d.ts +0 -20
  113. package/esm/components/text-editor/__internal__/toolbar/toolbar.d.ts +0 -13
  114. package/esm/components/text-editor/text-editor.d.ts +0 -40
  115. package/lib/__internal__/DeprecationWarning.js +0 -31
  116. package/lib/__internal__/utils/helpers/useUniqueId/package.json +0 -6
  117. package/lib/__internal__/utils/storybook/partial-action.d.ts +0 -3
  118. package/lib/__internal__/utils/storybook/partial-action.js +0 -21
  119. package/lib/components/text-editor/__internal__/editor-counter/editor-counter.d.ts +0 -11
  120. package/lib/components/text-editor/__internal__/editor-link/editor-link.d.ts +0 -11
  121. package/lib/components/text-editor/__internal__/label-wrapper/label-wrapper.d.ts +0 -10
  122. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.d.ts +0 -20
  123. package/lib/components/text-editor/__internal__/toolbar/toolbar.d.ts +0 -13
  124. package/lib/components/text-editor/text-editor.d.ts +0 -40
  125. /package/esm/{__internal__/utils/helpers → hooks/__internal__}/useUniqueId/index.d.ts +0 -0
  126. /package/lib/{__internal__/utils/helpers → hooks/__internal__}/useUniqueId/index.d.ts +0 -0
@@ -0,0 +1,580 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import React, { useRef, useState } from "react";
4
+ import PropTypes from "prop-types";
5
+ import { StyledPassword, HiddenAriaLive } from "./password.style";
6
+ import guid from "../../__internal__/utils/helpers/guid";
7
+ import tagComponent from "../../__internal__/utils/helpers/tags/tags";
8
+ import useLocale from "../../hooks/__internal__/useLocale";
9
+ import ButtonMinor from "../button-minor/button-minor.component";
10
+
11
+ const Password = ({
12
+ id,
13
+ disabled,
14
+ forceObscurity = false,
15
+ ...rest
16
+ }) => {
17
+ const internalInputId = useRef(id || guid());
18
+ const l = useLocale();
19
+ const [passwordShown, setPasswordShown] = useState(false);
20
+ const visibleInput = !forceObscurity && passwordShown;
21
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledPassword, _extends({}, tagComponent("password", rest), {
22
+ "data-element": "styled-password-container",
23
+ id: internalInputId.current,
24
+ autoComplete: "off",
25
+ type: visibleInput ? "text" : "password",
26
+ disabled: disabled
27
+ }, rest), /*#__PURE__*/React.createElement(ButtonMinor, {
28
+ "aria-label": visibleInput ? "Hide password" : "Show password",
29
+ "aria-controls": internalInputId.current,
30
+ onClick: () => setPasswordShown(!passwordShown),
31
+ pr: 1,
32
+ buttonType: "tertiary",
33
+ iconType: visibleInput ? "hide" : "view",
34
+ iconPosition: "before",
35
+ size: "small",
36
+ disabled: forceObscurity || disabled,
37
+ isInPassword: true
38
+ }, visibleInput ? "Hide" : "Show")), /*#__PURE__*/React.createElement(HiddenAriaLive, {
39
+ role: "status",
40
+ "aria-live": "polite"
41
+ }, visibleInput ? l.password.ariaLiveShownMessage() : l.password.ariaLiveHiddenMessage()));
42
+ };
43
+
44
+ Password.propTypes = {
45
+ "about": PropTypes.string,
46
+ "accept": PropTypes.string,
47
+ "accessKey": PropTypes.string,
48
+ "adaptiveLabelBreakpoint": PropTypes.number,
49
+ "align": PropTypes.oneOf(["left", "right"]),
50
+ "alt": PropTypes.string,
51
+ "aria-activedescendant": PropTypes.string,
52
+ "aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
53
+ "aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
54
+ "aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
55
+ "aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
56
+ "aria-colcount": PropTypes.number,
57
+ "aria-colindex": PropTypes.number,
58
+ "aria-colspan": PropTypes.number,
59
+ "aria-controls": PropTypes.string,
60
+ "aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
61
+ "aria-describedby": PropTypes.string,
62
+ "aria-details": PropTypes.string,
63
+ "aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
64
+ "aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
65
+ "aria-errormessage": PropTypes.string,
66
+ "aria-expanded": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
67
+ "aria-flowto": PropTypes.string,
68
+ "aria-grabbed": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
69
+ "aria-haspopup": PropTypes.oneOfType([PropTypes.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), PropTypes.bool]),
70
+ "aria-hidden": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
71
+ "aria-invalid": PropTypes.oneOfType([PropTypes.oneOf(["false", "grammar", "spelling", "true"]), PropTypes.bool]),
72
+ "aria-keyshortcuts": PropTypes.string,
73
+ "aria-label": PropTypes.string,
74
+ "aria-labelledby": PropTypes.string,
75
+ "aria-level": PropTypes.number,
76
+ "aria-live": PropTypes.oneOf(["assertive", "off", "polite"]),
77
+ "aria-modal": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
78
+ "aria-multiline": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
79
+ "aria-multiselectable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
80
+ "aria-orientation": PropTypes.oneOf(["horizontal", "vertical"]),
81
+ "aria-owns": PropTypes.string,
82
+ "aria-placeholder": PropTypes.string,
83
+ "aria-posinset": PropTypes.number,
84
+ "aria-pressed": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
85
+ "aria-readonly": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
86
+ "aria-relevant": PropTypes.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
87
+ "aria-required": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
88
+ "aria-roledescription": PropTypes.string,
89
+ "aria-rowcount": PropTypes.number,
90
+ "aria-rowindex": PropTypes.number,
91
+ "aria-rowspan": PropTypes.number,
92
+ "aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
93
+ "aria-setsize": PropTypes.number,
94
+ "aria-sort": PropTypes.oneOf(["ascending", "descending", "none", "other"]),
95
+ "aria-valuemax": PropTypes.number,
96
+ "aria-valuemin": PropTypes.number,
97
+ "aria-valuenow": PropTypes.number,
98
+ "aria-valuetext": PropTypes.string,
99
+ "ariaDescribedBy": PropTypes.string,
100
+ "as": PropTypes.elementType,
101
+ "autoCapitalize": PropTypes.string,
102
+ "autoComplete": PropTypes.string,
103
+ "autoCorrect": PropTypes.string,
104
+ "autoFocus": PropTypes.bool,
105
+ "autoSave": PropTypes.string,
106
+ "capture": PropTypes.oneOfType([PropTypes.oneOf(["environment", "user"]), PropTypes.bool]),
107
+ "characterLimit": PropTypes.number,
108
+ "checked": PropTypes.bool,
109
+ "children": PropTypes.node,
110
+ "className": PropTypes.string,
111
+ "color": PropTypes.string,
112
+ "contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
113
+ "contextMenu": PropTypes.string,
114
+ "crossOrigin": PropTypes.string,
115
+ "css": PropTypes.oneOfType([PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.shape({
116
+ "__emotion_styles": PropTypes.any.isRequired
117
+ }), PropTypes.string, PropTypes.bool]),
118
+ "dangerouslySetInnerHTML": PropTypes.shape({
119
+ "__html": PropTypes.string.isRequired
120
+ }),
121
+ "data-component": PropTypes.string,
122
+ "data-element": PropTypes.string,
123
+ "data-role": PropTypes.string,
124
+ "datatype": PropTypes.string,
125
+ "defaultChecked": PropTypes.bool,
126
+ "defaultValue": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
127
+ "deferTimeout": PropTypes.number,
128
+ "dir": PropTypes.string,
129
+ "disabled": PropTypes.bool,
130
+ "draggable": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
131
+ "enforceCharacterLimit": PropTypes.bool,
132
+ "enterKeyHint": PropTypes.oneOf(["done", "enter", "go", "next", "previous", "search", "send"]),
133
+ "error": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
134
+ "fieldHelp": PropTypes.node,
135
+ "forceObscurity": PropTypes.bool,
136
+ "form": PropTypes.string,
137
+ "formAction": PropTypes.string,
138
+ "formattedValue": PropTypes.string,
139
+ "formEncType": PropTypes.string,
140
+ "formMethod": PropTypes.string,
141
+ "formNoValidate": PropTypes.bool,
142
+ "formTarget": PropTypes.string,
143
+ "height": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
144
+ "helpAriaLabel": PropTypes.string,
145
+ "hidden": PropTypes.bool,
146
+ "iconOnClick": PropTypes.func,
147
+ "iconOnMouseDown": PropTypes.func,
148
+ "iconTabIndex": PropTypes.number,
149
+ "id": PropTypes.string,
150
+ "info": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
151
+ "inlist": PropTypes.any,
152
+ "inputHint": PropTypes.string,
153
+ "inputIcon": PropTypes.oneOf(["add", "admin", "alert_on", "alert", "analysis", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "coins", "collaborate", "computer_clock", "connect", "construction", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "italic", "key", "laptop", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "question_hollow", "question_mark", "question", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "sync", "tag", "talk", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "warning"]),
154
+ "inputMode": PropTypes.oneOf(["decimal", "email", "none", "numeric", "search", "tel", "text", "url"]),
155
+ "inputRef": PropTypes.func,
156
+ "inputWidth": PropTypes.number,
157
+ "is": PropTypes.string,
158
+ "isOptional": PropTypes.bool,
159
+ "itemID": PropTypes.string,
160
+ "itemProp": PropTypes.string,
161
+ "itemRef": PropTypes.string,
162
+ "itemScope": PropTypes.bool,
163
+ "itemType": PropTypes.string,
164
+ "label": PropTypes.string,
165
+ "labelAlign": PropTypes.oneOf(["left", "right"]),
166
+ "labelHelp": PropTypes.node,
167
+ "labelInline": PropTypes.bool,
168
+ "labelSpacing": PropTypes.oneOf([1, 2]),
169
+ "labelWidth": PropTypes.number,
170
+ "lang": PropTypes.string,
171
+ "leftChildren": PropTypes.node,
172
+ "list": PropTypes.string,
173
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
174
+ "__@toStringTag": PropTypes.string.isRequired,
175
+ "description": PropTypes.string,
176
+ "toString": PropTypes.func.isRequired,
177
+ "valueOf": PropTypes.func.isRequired
178
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
179
+ "__@toStringTag": PropTypes.string.isRequired,
180
+ "description": PropTypes.string,
181
+ "toString": PropTypes.func.isRequired,
182
+ "valueOf": PropTypes.func.isRequired
183
+ }), PropTypes.string]),
184
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
185
+ "__@toStringTag": PropTypes.string.isRequired,
186
+ "description": PropTypes.string,
187
+ "toString": PropTypes.func.isRequired,
188
+ "valueOf": PropTypes.func.isRequired
189
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
190
+ "__@toStringTag": PropTypes.string.isRequired,
191
+ "description": PropTypes.string,
192
+ "toString": PropTypes.func.isRequired,
193
+ "valueOf": PropTypes.func.isRequired
194
+ }), PropTypes.string]),
195
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
196
+ "__@toStringTag": PropTypes.string.isRequired,
197
+ "description": PropTypes.string,
198
+ "toString": PropTypes.func.isRequired,
199
+ "valueOf": PropTypes.func.isRequired
200
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
201
+ "__@toStringTag": PropTypes.string.isRequired,
202
+ "description": PropTypes.string,
203
+ "toString": PropTypes.func.isRequired,
204
+ "valueOf": PropTypes.func.isRequired
205
+ }), PropTypes.string]),
206
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
207
+ "__@toStringTag": PropTypes.string.isRequired,
208
+ "description": PropTypes.string,
209
+ "toString": PropTypes.func.isRequired,
210
+ "valueOf": PropTypes.func.isRequired
211
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
212
+ "__@toStringTag": PropTypes.string.isRequired,
213
+ "description": PropTypes.string,
214
+ "toString": PropTypes.func.isRequired,
215
+ "valueOf": PropTypes.func.isRequired
216
+ }), PropTypes.string]),
217
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
218
+ "__@toStringTag": PropTypes.string.isRequired,
219
+ "description": PropTypes.string,
220
+ "toString": PropTypes.func.isRequired,
221
+ "valueOf": PropTypes.func.isRequired
222
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
223
+ "__@toStringTag": PropTypes.string.isRequired,
224
+ "description": PropTypes.string,
225
+ "toString": PropTypes.func.isRequired,
226
+ "valueOf": PropTypes.func.isRequired
227
+ }), PropTypes.string]),
228
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
229
+ "__@toStringTag": PropTypes.string.isRequired,
230
+ "description": PropTypes.string,
231
+ "toString": PropTypes.func.isRequired,
232
+ "valueOf": PropTypes.func.isRequired
233
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
234
+ "__@toStringTag": PropTypes.string.isRequired,
235
+ "description": PropTypes.string,
236
+ "toString": PropTypes.func.isRequired,
237
+ "valueOf": PropTypes.func.isRequired
238
+ }), PropTypes.string]),
239
+ "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
240
+ "__@toStringTag": PropTypes.string.isRequired,
241
+ "description": PropTypes.string,
242
+ "toString": PropTypes.func.isRequired,
243
+ "valueOf": PropTypes.func.isRequired
244
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
245
+ "__@toStringTag": PropTypes.string.isRequired,
246
+ "description": PropTypes.string,
247
+ "toString": PropTypes.func.isRequired,
248
+ "valueOf": PropTypes.func.isRequired
249
+ }), PropTypes.string]),
250
+ "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
251
+ "__@toStringTag": PropTypes.string.isRequired,
252
+ "description": PropTypes.string,
253
+ "toString": PropTypes.func.isRequired,
254
+ "valueOf": PropTypes.func.isRequired
255
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
256
+ "__@toStringTag": PropTypes.string.isRequired,
257
+ "description": PropTypes.string,
258
+ "toString": PropTypes.func.isRequired,
259
+ "valueOf": PropTypes.func.isRequired
260
+ }), PropTypes.string]),
261
+ "max": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
262
+ "maxLength": PropTypes.number,
263
+ "maxWidth": PropTypes.string,
264
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
265
+ "__@toStringTag": PropTypes.string.isRequired,
266
+ "description": PropTypes.string,
267
+ "toString": PropTypes.func.isRequired,
268
+ "valueOf": PropTypes.func.isRequired
269
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
270
+ "__@toStringTag": PropTypes.string.isRequired,
271
+ "description": PropTypes.string,
272
+ "toString": PropTypes.func.isRequired,
273
+ "valueOf": PropTypes.func.isRequired
274
+ }), PropTypes.string]),
275
+ "min": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
276
+ "minLength": PropTypes.number,
277
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
278
+ "__@toStringTag": PropTypes.string.isRequired,
279
+ "description": PropTypes.string,
280
+ "toString": PropTypes.func.isRequired,
281
+ "valueOf": PropTypes.func.isRequired
282
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
283
+ "__@toStringTag": PropTypes.string.isRequired,
284
+ "description": PropTypes.string,
285
+ "toString": PropTypes.func.isRequired,
286
+ "valueOf": PropTypes.func.isRequired
287
+ }), PropTypes.string]),
288
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
289
+ "__@toStringTag": PropTypes.string.isRequired,
290
+ "description": PropTypes.string,
291
+ "toString": PropTypes.func.isRequired,
292
+ "valueOf": PropTypes.func.isRequired
293
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
294
+ "__@toStringTag": PropTypes.string.isRequired,
295
+ "description": PropTypes.string,
296
+ "toString": PropTypes.func.isRequired,
297
+ "valueOf": PropTypes.func.isRequired
298
+ }), PropTypes.string]),
299
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
300
+ "__@toStringTag": PropTypes.string.isRequired,
301
+ "description": PropTypes.string,
302
+ "toString": PropTypes.func.isRequired,
303
+ "valueOf": PropTypes.func.isRequired
304
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
305
+ "__@toStringTag": PropTypes.string.isRequired,
306
+ "description": PropTypes.string,
307
+ "toString": PropTypes.func.isRequired,
308
+ "valueOf": PropTypes.func.isRequired
309
+ }), PropTypes.string]),
310
+ "multiple": PropTypes.bool,
311
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
312
+ "__@toStringTag": PropTypes.string.isRequired,
313
+ "description": PropTypes.string,
314
+ "toString": PropTypes.func.isRequired,
315
+ "valueOf": PropTypes.func.isRequired
316
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
317
+ "__@toStringTag": PropTypes.string.isRequired,
318
+ "description": PropTypes.string,
319
+ "toString": PropTypes.func.isRequired,
320
+ "valueOf": PropTypes.func.isRequired
321
+ }), PropTypes.string]),
322
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
323
+ "__@toStringTag": PropTypes.string.isRequired,
324
+ "description": PropTypes.string,
325
+ "toString": PropTypes.func.isRequired,
326
+ "valueOf": PropTypes.func.isRequired
327
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
328
+ "__@toStringTag": PropTypes.string.isRequired,
329
+ "description": PropTypes.string,
330
+ "toString": PropTypes.func.isRequired,
331
+ "valueOf": PropTypes.func.isRequired
332
+ }), PropTypes.string]),
333
+ "name": PropTypes.string,
334
+ "onAbort": PropTypes.func,
335
+ "onAbortCapture": PropTypes.func,
336
+ "onAnimationEnd": PropTypes.func,
337
+ "onAnimationEndCapture": PropTypes.func,
338
+ "onAnimationIteration": PropTypes.func,
339
+ "onAnimationIterationCapture": PropTypes.func,
340
+ "onAnimationStart": PropTypes.func,
341
+ "onAnimationStartCapture": PropTypes.func,
342
+ "onAuxClick": PropTypes.func,
343
+ "onAuxClickCapture": PropTypes.func,
344
+ "onBeforeInput": PropTypes.func,
345
+ "onBeforeInputCapture": PropTypes.func,
346
+ "onBlur": PropTypes.func,
347
+ "onBlurCapture": PropTypes.func,
348
+ "onCanPlay": PropTypes.func,
349
+ "onCanPlayCapture": PropTypes.func,
350
+ "onCanPlayThrough": PropTypes.func,
351
+ "onCanPlayThroughCapture": PropTypes.func,
352
+ "onChange": PropTypes.func,
353
+ "onChangeCapture": PropTypes.func,
354
+ "onChangeDeferred": PropTypes.func,
355
+ "onClick": PropTypes.func,
356
+ "onClickCapture": PropTypes.func,
357
+ "onCompositionEnd": PropTypes.func,
358
+ "onCompositionEndCapture": PropTypes.func,
359
+ "onCompositionStart": PropTypes.func,
360
+ "onCompositionStartCapture": PropTypes.func,
361
+ "onCompositionUpdate": PropTypes.func,
362
+ "onCompositionUpdateCapture": PropTypes.func,
363
+ "onContextMenu": PropTypes.func,
364
+ "onContextMenuCapture": PropTypes.func,
365
+ "onCopy": PropTypes.func,
366
+ "onCopyCapture": PropTypes.func,
367
+ "onCut": PropTypes.func,
368
+ "onCutCapture": PropTypes.func,
369
+ "onDoubleClick": PropTypes.func,
370
+ "onDoubleClickCapture": PropTypes.func,
371
+ "onDrag": PropTypes.func,
372
+ "onDragCapture": PropTypes.func,
373
+ "onDragEnd": PropTypes.func,
374
+ "onDragEndCapture": PropTypes.func,
375
+ "onDragEnter": PropTypes.func,
376
+ "onDragEnterCapture": PropTypes.func,
377
+ "onDragExit": PropTypes.func,
378
+ "onDragExitCapture": PropTypes.func,
379
+ "onDragLeave": PropTypes.func,
380
+ "onDragLeaveCapture": PropTypes.func,
381
+ "onDragOver": PropTypes.func,
382
+ "onDragOverCapture": PropTypes.func,
383
+ "onDragStart": PropTypes.func,
384
+ "onDragStartCapture": PropTypes.func,
385
+ "onDrop": PropTypes.func,
386
+ "onDropCapture": PropTypes.func,
387
+ "onDurationChange": PropTypes.func,
388
+ "onDurationChangeCapture": PropTypes.func,
389
+ "onEmptied": PropTypes.func,
390
+ "onEmptiedCapture": PropTypes.func,
391
+ "onEncrypted": PropTypes.func,
392
+ "onEncryptedCapture": PropTypes.func,
393
+ "onEnded": PropTypes.func,
394
+ "onEndedCapture": PropTypes.func,
395
+ "onError": PropTypes.func,
396
+ "onErrorCapture": PropTypes.func,
397
+ "onFocus": PropTypes.func,
398
+ "onFocusCapture": PropTypes.func,
399
+ "onGotPointerCapture": PropTypes.func,
400
+ "onGotPointerCaptureCapture": PropTypes.func,
401
+ "onInput": PropTypes.func,
402
+ "onInputCapture": PropTypes.func,
403
+ "onInvalid": PropTypes.func,
404
+ "onInvalidCapture": PropTypes.func,
405
+ "onKeyDown": PropTypes.func,
406
+ "onKeyDownCapture": PropTypes.func,
407
+ "onKeyPress": PropTypes.func,
408
+ "onKeyPressCapture": PropTypes.func,
409
+ "onKeyUp": PropTypes.func,
410
+ "onKeyUpCapture": PropTypes.func,
411
+ "onLoad": PropTypes.func,
412
+ "onLoadCapture": PropTypes.func,
413
+ "onLoadedData": PropTypes.func,
414
+ "onLoadedDataCapture": PropTypes.func,
415
+ "onLoadedMetadata": PropTypes.func,
416
+ "onLoadedMetadataCapture": PropTypes.func,
417
+ "onLoadStart": PropTypes.func,
418
+ "onLoadStartCapture": PropTypes.func,
419
+ "onLostPointerCapture": PropTypes.func,
420
+ "onLostPointerCaptureCapture": PropTypes.func,
421
+ "onMouseDown": PropTypes.func,
422
+ "onMouseDownCapture": PropTypes.func,
423
+ "onMouseEnter": PropTypes.func,
424
+ "onMouseLeave": PropTypes.func,
425
+ "onMouseMove": PropTypes.func,
426
+ "onMouseMoveCapture": PropTypes.func,
427
+ "onMouseOut": PropTypes.func,
428
+ "onMouseOutCapture": PropTypes.func,
429
+ "onMouseOver": PropTypes.func,
430
+ "onMouseOverCapture": PropTypes.func,
431
+ "onMouseUp": PropTypes.func,
432
+ "onMouseUpCapture": PropTypes.func,
433
+ "onPaste": PropTypes.func,
434
+ "onPasteCapture": PropTypes.func,
435
+ "onPause": PropTypes.func,
436
+ "onPauseCapture": PropTypes.func,
437
+ "onPlay": PropTypes.func,
438
+ "onPlayCapture": PropTypes.func,
439
+ "onPlaying": PropTypes.func,
440
+ "onPlayingCapture": PropTypes.func,
441
+ "onPointerCancel": PropTypes.func,
442
+ "onPointerCancelCapture": PropTypes.func,
443
+ "onPointerDown": PropTypes.func,
444
+ "onPointerDownCapture": PropTypes.func,
445
+ "onPointerEnter": PropTypes.func,
446
+ "onPointerEnterCapture": PropTypes.func,
447
+ "onPointerLeave": PropTypes.func,
448
+ "onPointerLeaveCapture": PropTypes.func,
449
+ "onPointerMove": PropTypes.func,
450
+ "onPointerMoveCapture": PropTypes.func,
451
+ "onPointerOut": PropTypes.func,
452
+ "onPointerOutCapture": PropTypes.func,
453
+ "onPointerOver": PropTypes.func,
454
+ "onPointerOverCapture": PropTypes.func,
455
+ "onPointerUp": PropTypes.func,
456
+ "onPointerUpCapture": PropTypes.func,
457
+ "onProgress": PropTypes.func,
458
+ "onProgressCapture": PropTypes.func,
459
+ "onRateChange": PropTypes.func,
460
+ "onRateChangeCapture": PropTypes.func,
461
+ "onReset": PropTypes.func,
462
+ "onResetCapture": PropTypes.func,
463
+ "onScroll": PropTypes.func,
464
+ "onScrollCapture": PropTypes.func,
465
+ "onSeeked": PropTypes.func,
466
+ "onSeekedCapture": PropTypes.func,
467
+ "onSeeking": PropTypes.func,
468
+ "onSeekingCapture": PropTypes.func,
469
+ "onSelect": PropTypes.func,
470
+ "onSelectCapture": PropTypes.func,
471
+ "onStalled": PropTypes.func,
472
+ "onStalledCapture": PropTypes.func,
473
+ "onSubmit": PropTypes.func,
474
+ "onSubmitCapture": PropTypes.func,
475
+ "onSuspend": PropTypes.func,
476
+ "onSuspendCapture": PropTypes.func,
477
+ "onTimeUpdate": PropTypes.func,
478
+ "onTimeUpdateCapture": PropTypes.func,
479
+ "onTouchCancel": PropTypes.func,
480
+ "onTouchCancelCapture": PropTypes.func,
481
+ "onTouchEnd": PropTypes.func,
482
+ "onTouchEndCapture": PropTypes.func,
483
+ "onTouchMove": PropTypes.func,
484
+ "onTouchMoveCapture": PropTypes.func,
485
+ "onTouchStart": PropTypes.func,
486
+ "onTouchStartCapture": PropTypes.func,
487
+ "onTransitionEnd": PropTypes.func,
488
+ "onTransitionEndCapture": PropTypes.func,
489
+ "onVolumeChange": PropTypes.func,
490
+ "onVolumeChangeCapture": PropTypes.func,
491
+ "onWaiting": PropTypes.func,
492
+ "onWaitingCapture": PropTypes.func,
493
+ "onWheel": PropTypes.func,
494
+ "onWheelCapture": PropTypes.func,
495
+ "pattern": PropTypes.string,
496
+ "placeholder": PropTypes.string,
497
+ "positionedChildren": PropTypes.node,
498
+ "prefix": PropTypes.string,
499
+ "property": PropTypes.string,
500
+ "radioGroup": PropTypes.string,
501
+ "readOnly": PropTypes.bool,
502
+ "required": PropTypes.bool,
503
+ "resource": PropTypes.string,
504
+ "results": PropTypes.number,
505
+ "reverse": PropTypes.bool,
506
+ "role": PropTypes.oneOfType([PropTypes.oneOf(["alert", "alertdialog", "application", "article", "banner", "button", "cell", "checkbox", "columnheader", "combobox", "complementary", "contentinfo", "definition", "dialog", "directory", "document", "feed", "figure", "form", "grid", "gridcell", "group", "heading", "img", "link", "list", "listbox", "listitem", "log", "main", "marquee", "math", "menu", "menubar", "menuitem", "menuitemcheckbox", "menuitemradio", "navigation", "none", "note", "option", "presentation", "progressbar", "radio", "radiogroup", "region", "row", "rowgroup", "rowheader", "scrollbar", "search", "searchbox", "separator", "slider", "spinbutton", "status", "switch", "tab", "table", "tablist", "tabpanel", "term", "textbox", "timer", "toolbar", "tooltip", "tree", "treegrid", "treeitem"]), PropTypes.shape({
507
+ "__@iterator": PropTypes.func.isRequired,
508
+ "anchor": PropTypes.func.isRequired,
509
+ "at": PropTypes.func.isRequired,
510
+ "big": PropTypes.func.isRequired,
511
+ "blink": PropTypes.func.isRequired,
512
+ "bold": PropTypes.func.isRequired,
513
+ "charAt": PropTypes.func.isRequired,
514
+ "charCodeAt": PropTypes.func.isRequired,
515
+ "codePointAt": PropTypes.func.isRequired,
516
+ "concat": PropTypes.func.isRequired,
517
+ "endsWith": PropTypes.func.isRequired,
518
+ "fixed": PropTypes.func.isRequired,
519
+ "fontcolor": PropTypes.func.isRequired,
520
+ "fontsize": PropTypes.func.isRequired,
521
+ "includes": PropTypes.func.isRequired,
522
+ "indexOf": PropTypes.func.isRequired,
523
+ "italics": PropTypes.func.isRequired,
524
+ "lastIndexOf": PropTypes.func.isRequired,
525
+ "length": PropTypes.number.isRequired,
526
+ "link": PropTypes.func.isRequired,
527
+ "localeCompare": PropTypes.func.isRequired,
528
+ "match": PropTypes.func.isRequired,
529
+ "matchAll": PropTypes.func.isRequired,
530
+ "normalize": PropTypes.func.isRequired,
531
+ "padEnd": PropTypes.func.isRequired,
532
+ "padStart": PropTypes.func.isRequired,
533
+ "repeat": PropTypes.func.isRequired,
534
+ "replace": PropTypes.func.isRequired,
535
+ "search": PropTypes.func.isRequired,
536
+ "slice": PropTypes.func.isRequired,
537
+ "small": PropTypes.func.isRequired,
538
+ "split": PropTypes.func.isRequired,
539
+ "startsWith": PropTypes.func.isRequired,
540
+ "strike": PropTypes.func.isRequired,
541
+ "sub": PropTypes.func.isRequired,
542
+ "substr": PropTypes.func.isRequired,
543
+ "substring": PropTypes.func.isRequired,
544
+ "sup": PropTypes.func.isRequired,
545
+ "toLocaleLowerCase": PropTypes.func.isRequired,
546
+ "toLocaleUpperCase": PropTypes.func.isRequired,
547
+ "toLowerCase": PropTypes.func.isRequired,
548
+ "toString": PropTypes.func.isRequired,
549
+ "toUpperCase": PropTypes.func.isRequired,
550
+ "trim": PropTypes.func.isRequired,
551
+ "trimEnd": PropTypes.func.isRequired,
552
+ "trimLeft": PropTypes.func.isRequired,
553
+ "trimRight": PropTypes.func.isRequired,
554
+ "trimStart": PropTypes.func.isRequired,
555
+ "valueOf": PropTypes.func.isRequired
556
+ })]),
557
+ "security": PropTypes.string,
558
+ "size": PropTypes.oneOf(["large", "medium", "small"]),
559
+ "slot": PropTypes.string,
560
+ "spellCheck": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
561
+ "src": PropTypes.string,
562
+ "step": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
563
+ "style": PropTypes.object,
564
+ "suppressContentEditableWarning": PropTypes.bool,
565
+ "suppressHydrationWarning": PropTypes.bool,
566
+ "tabIndex": PropTypes.number,
567
+ "title": PropTypes.string,
568
+ "tooltipPosition": PropTypes.oneOf(["bottom", "left", "right", "top"]),
569
+ "translate": PropTypes.oneOf(["no", "yes"]),
570
+ "typeof": PropTypes.string,
571
+ "unselectable": PropTypes.oneOf(["off", "on"]),
572
+ "validationIconId": PropTypes.string,
573
+ "validationOnLabel": PropTypes.bool,
574
+ "value": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),
575
+ "vocab": PropTypes.string,
576
+ "warning": PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
577
+ "width": PropTypes.oneOfType([PropTypes.number, PropTypes.string])
578
+ };
579
+ export { Password };
580
+ export default Password;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { PasswordProps } from "./password.component";
3
+ declare const StyledPassword: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../textbox").TextboxProps & import("react").RefAttributes<HTMLInputElement>>, any, PasswordProps, never>;
4
+ declare const HiddenAriaLive: import("styled-components").StyledComponent<"p", any, {}, never>;
5
+ export { StyledPassword, HiddenAriaLive };
@@ -0,0 +1,8 @@
1
+ import styled from "styled-components";
2
+ import Textbox from "../textbox";
3
+ import visuallyHiddenStyles from "../../style/utils/visually-hidden";
4
+ const StyledPassword = styled(Textbox)``;
5
+ const HiddenAriaLive = styled.p`
6
+ ${visuallyHiddenStyles}
7
+ `;
8
+ export { StyledPassword, HiddenAriaLive };
@@ -1,3 +1,3 @@
1
- declare var _default: CompositeDecorator;
2
- export default _default;
3
1
  import { CompositeDecorator } from "draft-js";
2
+ declare const _default: CompositeDecorator;
3
+ export default _default;
@@ -1,7 +1,8 @@
1
- declare namespace _default {
2
- export { linkStrategy as strategy };
3
- export { EditorLink as component };
4
- }
1
+ /// <reference types="react" />
2
+ import { ContentBlock } from "draft-js";
3
+ declare type StrategyCallback = (start: number, end: number) => void;
4
+ declare const _default: {
5
+ strategy: (contentBlock: ContentBlock, callback: StrategyCallback) => void;
6
+ component: ({ children, contentState, entityKey, ...rest }: import("../editor-link").EditorLinkProps) => JSX.Element;
7
+ };
5
8
  export default _default;
6
- declare function linkStrategy(contentBlock: any, callback: any): void;
7
- import EditorLink from "../editor-link";
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export interface EditorCounterProps {
3
+ /** Sets the current count value */
4
+ count?: number;
5
+ /** Sets the current limit value */
6
+ limit?: number;
7
+ /** Message to be displayed when there is an error */
8
+ error?: string;
9
+ /** Message to be displayed when there is a warning */
10
+ warning?: string;
11
+ /** Message to be displayed when there is an info */
12
+ info?: string;
13
+ }
14
+ declare const Counter: ({ count, limit, error, warning, info, }: EditorCounterProps) => JSX.Element;
15
+ export default Counter;