es-components 21.14.0 → 21.14.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.
- package/bundle/main.min.js +9 -9
- package/cjs/index.js +663 -698
- package/lib/index.js +661 -695
- package/package.json +3 -3
- package/types/src/components/base/icons/FullColorIcon.d.ts +1 -1
- package/types/src/components/base/icons/Icon.d.ts +3 -4
- package/types/src/components/base/icons/IconContext.d.ts +0 -1
- package/types/src/components/base/icons/useIconStyles.d.ts +1 -1
- package/types/src/components/containers/drawer/DrawerContext.d.ts +0 -1
- package/types/src/components/containers/drawer/DrawerPanel.d.ts +12 -13
- package/types/src/components/containers/form/Form.d.ts +1 -1
- package/types/src/components/containers/loading-skeleton/LoadingSkeleton.d.ts +2 -2
- package/types/src/components/containers/menu/Menu.d.ts +5 -4
- package/types/src/components/containers/menu/MenuSection.d.ts +4 -4
- package/types/src/components/containers/prompt/Prompt.d.ts +3 -3
- package/types/src/components/containers/tabPanels/Tab.d.ts +4 -4
- package/types/src/components/containers/tabPanels/TabPanel.d.ts +2 -2
- package/types/src/components/containers/table/Table.d.ts +4 -4
- package/types/src/components/containers/tooltip/Tooltip.d.ts +8 -8
- package/types/src/components/controls/AdditionalHelp.d.ts +1 -1
- package/types/src/components/controls/Control.d.ts +3 -3
- package/types/src/components/controls/answer-group/AnswerButton.d.ts +17 -19
- package/types/src/components/controls/answer-group/AnswerGroup.d.ts +1 -1
- package/types/src/components/controls/buttons/ActionButton.d.ts +13 -301
- package/types/src/components/controls/buttons/Button.d.ts +7 -294
- package/types/src/components/controls/buttons/ButtonBase.d.ts +3 -285
- package/types/src/components/controls/buttons/DropdownButton.d.ts +9 -9
- package/types/src/components/controls/buttons/IconButton.d.ts +9 -9
- package/types/src/components/controls/buttons/LinkButton.d.ts +1 -282
- package/types/src/components/controls/buttons/OutlineButton.d.ts +15 -305
- package/types/src/components/controls/buttons/PopoverLink.d.ts +1 -283
- package/types/src/components/controls/buttons/ToggleButton.d.ts +9 -9
- package/types/src/components/controls/buttons/features/withLoadingStateWhileRunning.d.ts +9 -9
- package/types/src/components/controls/checkbox/CheckAllBox.d.ts +26 -30
- package/types/src/components/controls/checkbox/Checkbox.d.ts +28 -32
- package/types/src/components/controls/dropdown/Dropdown.d.ts +29 -31
- package/types/src/components/controls/radio-buttons/RadioButton.d.ts +14 -16
- package/types/src/components/controls/radio-buttons/RadioGroup.d.ts +3 -10
- package/types/src/components/controls/radio-buttons/RadioGroupContext.d.ts +4 -4
- package/types/src/components/controls/switch/Switch.d.ts +7 -7
- package/types/src/components/controls/textbox/InputBase.d.ts +54 -62
- package/types/src/components/controls/textbox/MaskedTextbox.d.ts +15 -18
- package/types/src/components/controls/textbox/Textbox.d.ts +28 -32
- package/types/src/components/controls/textbox/inputMaskType.d.ts +0 -1
- package/types/src/components/navigation/Navigation.d.ts +2 -2
- package/types/src/components/navigation/NavigationItem.d.ts +4 -4
- package/types/src/components/patterns/callToAction/CallToAction.d.ts +1 -1
- package/types/src/components/patterns/callToAction/LightCallToAction.d.ts +1 -1
- package/types/src/components/patterns/dateInput/DateInput.d.ts +6 -6
- package/types/src/components/patterns/dateInput/Day.d.ts +2 -2
- package/types/src/components/patterns/dateInput/Month.d.ts +4 -4
- package/types/src/components/patterns/dateInput/Year.d.ts +2 -2
- package/types/src/components/patterns/datepicker/DatePicker.d.ts +2 -2
- package/types/src/components/patterns/datepicker/ReactDatePickerPropTypes.d.ts +1 -1
- package/types/src/components/patterns/datepicker/datePickerStyles.d.ts +1 -1
- package/types/src/components/patterns/incrementer/Incrementer.d.ts +6 -6
- package/types/src/components/patterns/progress-tracker/ProgressTracker.d.ts +18 -19
- package/types/src/components/patterns/selectionDrawer/SelectionDrawer.d.ts +9 -8
- package/types/src/components/patterns/selectionDrawer/SelectionDrawerItem.d.ts +17 -10
- package/types/src/components/patterns/selectionDrawer/SelectionDrawerProvider.d.ts +2 -4
- package/types/src/components/patterns/starRating/StarRating.d.ts +5 -5
- package/types/src/components/patterns/starRating/StarRatingExplanation.d.ts +1 -1
- package/types/src/components/patterns/statusTracker/StatusTracker.d.ts +2 -2
- package/types/src/components/util/RootCloseWrapper.d.ts +1 -1
- package/types/src/components/util/StyleReset.d.ts +1 -1
- package/types/src/components/util/callRef.d.ts +1 -1
- package/types/src/components/util/htmlProps/button.d.ts +0 -1
- package/types/src/components/util/isParseableDate.d.ts +0 -1
- package/types/src/components/util/useRootNode.d.ts +1 -1
- package/types/src/components/util/withWindowSize.d.ts +4 -3
- package/types/src/global.d.ts +2 -1
- package/types/src/hooks/useMountedOnlyState.d.ts +0 -1
- package/types/src/index.d.ts +29 -30
- package/types/tsconfig.tsbuildinfo +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-components",
|
|
3
|
-
"version": "21.14.
|
|
3
|
+
"version": "21.14.1",
|
|
4
4
|
"description": "React components built for Exchange Solutions products",
|
|
5
5
|
"author": "Willis Towers Watson - Individual Marketplace",
|
|
6
6
|
"license": "MIT",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"ts-node": "^10.9.1",
|
|
135
135
|
"ts-patch": "^3.0.2",
|
|
136
136
|
"typescript": "^5.1.3",
|
|
137
|
-
"typescript-transform-paths": "^3.
|
|
137
|
+
"typescript-transform-paths": "^3.5.2",
|
|
138
138
|
"wait-on": "^7.0.1",
|
|
139
139
|
"webpack": "^5.88.2",
|
|
140
140
|
"yargs": "^17.6.2"
|
|
@@ -176,5 +176,5 @@
|
|
|
176
176
|
"text-mask-addons": "3.8.0",
|
|
177
177
|
"tinycolor2": "^1.5.1"
|
|
178
178
|
},
|
|
179
|
-
"gitHead": "
|
|
179
|
+
"gitHead": "91c540da9a45f9c5748e833aa092490054d1f46b"
|
|
180
180
|
}
|
|
@@ -9,6 +9,6 @@ declare const FullColorIcon: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
9
9
|
/** Name of the icon to display */
|
|
10
10
|
name: string;
|
|
11
11
|
/** Specify icon size in pixels */
|
|
12
|
-
size?: string | number
|
|
12
|
+
size?: string | number;
|
|
13
13
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default FullColorIcon;
|
|
@@ -37,7 +37,7 @@ export declare const defaultProps: {
|
|
|
37
37
|
"aria-colindextext"?: string | undefined;
|
|
38
38
|
"aria-colspan"?: number | undefined;
|
|
39
39
|
"aria-controls"?: string | undefined;
|
|
40
|
-
"aria-current"?: boolean | "time" | "
|
|
40
|
+
"aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
41
41
|
"aria-describedby"?: string | undefined;
|
|
42
42
|
"aria-description"?: string | undefined;
|
|
43
43
|
"aria-details"?: string | undefined;
|
|
@@ -221,9 +221,7 @@ export declare const defaultProps: {
|
|
|
221
221
|
onPointerCancel?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
222
222
|
onPointerCancelCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
223
223
|
onPointerEnter?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
224
|
-
onPointerEnterCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
225
224
|
onPointerLeave?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
226
|
-
onPointerLeaveCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
227
225
|
onPointerOver?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
228
226
|
onPointerOverCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
229
227
|
onPointerOut?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
@@ -249,11 +247,13 @@ export declare const defaultProps: {
|
|
|
249
247
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
250
248
|
suppressContentEditableWarning?: boolean | undefined;
|
|
251
249
|
accessKey?: string | undefined;
|
|
250
|
+
autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
252
251
|
autoFocus?: boolean | undefined;
|
|
253
252
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
254
253
|
contextMenu?: string | undefined;
|
|
255
254
|
dir?: string | undefined;
|
|
256
255
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
256
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
257
257
|
hidden?: boolean | undefined;
|
|
258
258
|
nonce?: string | undefined;
|
|
259
259
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
@@ -270,7 +270,6 @@ export declare const defaultProps: {
|
|
|
270
270
|
rev?: string | undefined;
|
|
271
271
|
typeof?: string | undefined;
|
|
272
272
|
vocab?: string | undefined;
|
|
273
|
-
autoCapitalize?: string | undefined;
|
|
274
273
|
autoCorrect?: string | undefined;
|
|
275
274
|
autoSave?: string | undefined;
|
|
276
275
|
itemProp?: string | undefined;
|
|
@@ -7,7 +7,7 @@ export type HiddenIconConfig = {
|
|
|
7
7
|
};
|
|
8
8
|
export declare const HiddenIcons: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref"> & {
|
|
9
9
|
icons: HiddenIconConfig;
|
|
10
|
-
iconProps?: Omit<IconProps, "name"
|
|
10
|
+
iconProps?: Omit<IconProps, "name">;
|
|
11
11
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export declare const useIconStyles: (iconName?: IconName, icon?: IconElement | null) => import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<IconBaseProps, import("styled-components").DefaultTheme>> | undefined;
|
|
13
13
|
export default useIconStyles;
|
|
@@ -20,15 +20,15 @@ declare const DrawerPanel: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.
|
|
|
20
20
|
children: any;
|
|
21
21
|
title: string | number | React.ReactNode;
|
|
22
22
|
titleAside?: string | React.ReactNode;
|
|
23
|
-
noPadding?: boolean
|
|
24
|
-
headingLevel?:
|
|
25
|
-
open?: boolean
|
|
23
|
+
noPadding?: boolean;
|
|
24
|
+
headingLevel?: HeadingLevel;
|
|
25
|
+
open?: boolean;
|
|
26
26
|
/** @ignore */
|
|
27
|
-
closedIconName?:
|
|
27
|
+
closedIconName?: IconName;
|
|
28
28
|
/** @ignore */
|
|
29
|
-
openedIconName?:
|
|
29
|
+
openedIconName?: IconName;
|
|
30
30
|
/** @ignore */
|
|
31
|
-
panelKey?: string
|
|
31
|
+
panelKey?: string;
|
|
32
32
|
} & React.RefAttributes<unknown>>;
|
|
33
33
|
export declare const propTypes: {
|
|
34
34
|
children: PropTypes.Validator<any>;
|
|
@@ -42,14 +42,14 @@ export declare const propTypes: {
|
|
|
42
42
|
headingLevel: React.Validator<6 | 1 | 2 | 3 | 4 | 5 | null | undefined> | undefined;
|
|
43
43
|
open: PropTypes.Requireable<boolean>;
|
|
44
44
|
/** @ignore */
|
|
45
|
-
closedIconName: PropTypes.Requireable<"header" | "picture" | "search" | "time" | "video" | "switch" | "
|
|
45
|
+
closedIconName: PropTypes.Requireable<"header" | "picture" | "search" | "time" | "video" | "switch" | "fill" | "rx" | "scale" | "download" | "checked" | "list" | "font" | "repeat" | "bold" | "cell" | "checkbox" | "copy" | "move" | "sort" | "change" | "cut" | "paste" | "pause" | "play" | "message" | "file" | "home" | "user" | "archive" | "accessibility" | "add-circle" | "add" | "agent" | "alarm-clock" | "align-center" | "align-justify" | "align-left" | "align-right" | "archive-folder" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "asterisk" | "attachment" | "bathtub" | "being-sick" | "bell" | "bicycle" | "blood-drop" | "bone" | "book" | "bookmark" | "bot" | "boy" | "brain" | "briefcase" | "broken-leg" | "bullhorn" | "calculator" | "calendar" | "call-transfer" | "camera" | "cash-in-hand" | "certificate-ribbon" | "certificate" | "check-document" | "checkbox-checked" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "christmas-gift" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-right" | "circle-arrow-up" | "clear-filters" | "click-and-collect" | "clinic" | "cog" | "comment" | "comments" | "compass" | "confusion" | "dashboard" | "denied" | "desktop" | "detour" | "disabled-access" | "discussion" | "divide" | "dna-helix" | "doctors-bag" | "dollar-sign" | "double-chevron-down" | "double-chevron-left" | "double-chevron-right" | "double-chevron-up" | "download-alt" | "edit-document" | "edit" | "element-block" | "element-page" | "element-section" | "envelope" | "exclamation-circle" | "exclamation-sign" | "exclamation" | "exit" | "export" | "external-link" | "eye-closed" | "eye-open" | "federal" | "file-download" | "file-open" | "film" | "fire" | "flag-empty" | "flag-filled" | "flash" | "folder-close" | "folder-open" | "folder-up-level" | "for-you" | "form-agreement" | "form-checkbox" | "form-dropdown" | "form-number" | "form-radio" | "form-text-box" | "form-text" | "fullscreen" | "funnel" | "girl" | "glasses" | "globe" | "glucometer" | "hand-down" | "hand-left" | "hand-right" | "hand-up" | "handshake-heart" | "health-checkup" | "health" | "hearing-aid" | "hearing" | "heart-empty" | "heart-filled" | "heart-plus" | "helping-hand" | "history" | "hourglass" | "house" | "household" | "hyperlink" | "idea" | "in-progress" | "inbox" | "indent-left" | "indent-right" | "info-circle" | "info-popup" | "info-squared" | "info" | "internal-call" | "italic" | "keyhole-shield" | "kidney" | "leaf" | "lightning-bolt" | "list-numbered" | "list-thumbnails" | "list-unordered" | "liver" | "lock-open" | "lock" | "log-in" | "log-out" | "logout-rounded-left" | "lungs" | "mailbox-closed-flag-down" | "male-user" | "man" | "map-marker" | "map-with-marker" | "measuring-tape" | "medical-doctor" | "medical" | "menu-btn" | "minus-circle" | "minus" | "molecule" | "moleskine" | "money" | "muscle" | "network" | "neuron" | "new-window" | "no-symbol" | "non-smoker" | "notepad" | "ok-circle" | "ok" | "options-horizontal" | "options-vertical" | "out-of-network" | "out-patient-department" | "outgoing-call" | "paragraph" | "paycheck" | "paycheque" | "phone-analog" | "phone" | "physical-therapy" | "piggy-bank" | "play-circle" | "policy-document" | "power" | "prescription-pill-bottle" | "prescription" | "print" | "profile" | "profit" | "purchase-order" | "push-pin" | "question-circle" | "question" | "questions" | "random" | "read-message" | "redo" | "refresh" | "remove-circle" | "remove" | "reply-arrow" | "resize-full" | "resize-horizontal" | "resize-small" | "resize-vertical" | "retweet" | "road" | "rod-of-asclepius" | "rubber-stamp" | "save" | "screenshot" | "search-property" | "security-checked" | "share" | "shopping-cart" | "skin" | "skip-to-start" | "smoker" | "sms" | "sort-alpha-reverse" | "sort-alpha" | "sort-ascending" | "sort-descending" | "sort-num-reverse" | "sort-num" | "speak-to-expert" | "speech-bubble-with-dots" | "speech-bubble" | "spouse" | "star-empty" | "star-filled" | "stats" | "stethoscope" | "stock-growth" | "stomach" | "submit-document" | "tag" | "tags" | "tasks" | "text-color" | "text-height" | "text-size" | "text-width" | "thumbnails-large" | "thumbnails" | "thumbs-down" | "thumbs-up" | "today" | "tooth" | "transfer" | "trash" | "trophy" | "truck" | "trust" | "tune" | "umbrella" | "underline" | "undo" | "upload" | "urgent-message" | "user-secured" | "user-shield" | "users" | "voice-check" | "walker" | "wallet" | "woman" | "wrench" | "zoom-in" | "zoom-out">;
|
|
46
46
|
/** @ignore */
|
|
47
|
-
openedIconName: PropTypes.Requireable<"header" | "picture" | "search" | "time" | "video" | "switch" | "
|
|
47
|
+
openedIconName: PropTypes.Requireable<"header" | "picture" | "search" | "time" | "video" | "switch" | "fill" | "rx" | "scale" | "download" | "checked" | "list" | "font" | "repeat" | "bold" | "cell" | "checkbox" | "copy" | "move" | "sort" | "change" | "cut" | "paste" | "pause" | "play" | "message" | "file" | "home" | "user" | "archive" | "accessibility" | "add-circle" | "add" | "agent" | "alarm-clock" | "align-center" | "align-justify" | "align-left" | "align-right" | "archive-folder" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "asterisk" | "attachment" | "bathtub" | "being-sick" | "bell" | "bicycle" | "blood-drop" | "bone" | "book" | "bookmark" | "bot" | "boy" | "brain" | "briefcase" | "broken-leg" | "bullhorn" | "calculator" | "calendar" | "call-transfer" | "camera" | "cash-in-hand" | "certificate-ribbon" | "certificate" | "check-document" | "checkbox-checked" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "christmas-gift" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-right" | "circle-arrow-up" | "clear-filters" | "click-and-collect" | "clinic" | "cog" | "comment" | "comments" | "compass" | "confusion" | "dashboard" | "denied" | "desktop" | "detour" | "disabled-access" | "discussion" | "divide" | "dna-helix" | "doctors-bag" | "dollar-sign" | "double-chevron-down" | "double-chevron-left" | "double-chevron-right" | "double-chevron-up" | "download-alt" | "edit-document" | "edit" | "element-block" | "element-page" | "element-section" | "envelope" | "exclamation-circle" | "exclamation-sign" | "exclamation" | "exit" | "export" | "external-link" | "eye-closed" | "eye-open" | "federal" | "file-download" | "file-open" | "film" | "fire" | "flag-empty" | "flag-filled" | "flash" | "folder-close" | "folder-open" | "folder-up-level" | "for-you" | "form-agreement" | "form-checkbox" | "form-dropdown" | "form-number" | "form-radio" | "form-text-box" | "form-text" | "fullscreen" | "funnel" | "girl" | "glasses" | "globe" | "glucometer" | "hand-down" | "hand-left" | "hand-right" | "hand-up" | "handshake-heart" | "health-checkup" | "health" | "hearing-aid" | "hearing" | "heart-empty" | "heart-filled" | "heart-plus" | "helping-hand" | "history" | "hourglass" | "house" | "household" | "hyperlink" | "idea" | "in-progress" | "inbox" | "indent-left" | "indent-right" | "info-circle" | "info-popup" | "info-squared" | "info" | "internal-call" | "italic" | "keyhole-shield" | "kidney" | "leaf" | "lightning-bolt" | "list-numbered" | "list-thumbnails" | "list-unordered" | "liver" | "lock-open" | "lock" | "log-in" | "log-out" | "logout-rounded-left" | "lungs" | "mailbox-closed-flag-down" | "male-user" | "man" | "map-marker" | "map-with-marker" | "measuring-tape" | "medical-doctor" | "medical" | "menu-btn" | "minus-circle" | "minus" | "molecule" | "moleskine" | "money" | "muscle" | "network" | "neuron" | "new-window" | "no-symbol" | "non-smoker" | "notepad" | "ok-circle" | "ok" | "options-horizontal" | "options-vertical" | "out-of-network" | "out-patient-department" | "outgoing-call" | "paragraph" | "paycheck" | "paycheque" | "phone-analog" | "phone" | "physical-therapy" | "piggy-bank" | "play-circle" | "policy-document" | "power" | "prescription-pill-bottle" | "prescription" | "print" | "profile" | "profit" | "purchase-order" | "push-pin" | "question-circle" | "question" | "questions" | "random" | "read-message" | "redo" | "refresh" | "remove-circle" | "remove" | "reply-arrow" | "resize-full" | "resize-horizontal" | "resize-small" | "resize-vertical" | "retweet" | "road" | "rod-of-asclepius" | "rubber-stamp" | "save" | "screenshot" | "search-property" | "security-checked" | "share" | "shopping-cart" | "skin" | "skip-to-start" | "smoker" | "sms" | "sort-alpha-reverse" | "sort-alpha" | "sort-ascending" | "sort-descending" | "sort-num-reverse" | "sort-num" | "speak-to-expert" | "speech-bubble-with-dots" | "speech-bubble" | "spouse" | "star-empty" | "star-filled" | "stats" | "stethoscope" | "stock-growth" | "stomach" | "submit-document" | "tag" | "tags" | "tasks" | "text-color" | "text-height" | "text-size" | "text-width" | "thumbnails-large" | "thumbnails" | "thumbs-down" | "thumbs-up" | "today" | "tooth" | "transfer" | "trash" | "trophy" | "truck" | "trust" | "tune" | "umbrella" | "underline" | "undo" | "upload" | "urgent-message" | "user-secured" | "user-shield" | "users" | "voice-check" | "walker" | "wallet" | "woman" | "wrench" | "zoom-in" | "zoom-out">;
|
|
48
48
|
/** @ignore */
|
|
49
49
|
panelKey: PropTypes.Requireable<string>;
|
|
50
50
|
slot?: React.Validator<string | null | undefined> | undefined;
|
|
51
51
|
style?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
52
|
-
ref?: React.Validator<((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined> | undefined;
|
|
52
|
+
ref?: React.Validator<((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined> | undefined;
|
|
53
53
|
suppressHydrationWarning?: React.Validator<boolean | null | undefined> | undefined;
|
|
54
54
|
className?: React.Validator<string | null | undefined> | undefined;
|
|
55
55
|
color?: React.Validator<string | null | undefined> | undefined;
|
|
@@ -69,7 +69,7 @@ export declare const propTypes: {
|
|
|
69
69
|
"aria-colindextext"?: React.Validator<string | null | undefined> | undefined;
|
|
70
70
|
"aria-colspan"?: React.Validator<number | null | undefined> | undefined;
|
|
71
71
|
"aria-controls"?: React.Validator<string | null | undefined> | undefined;
|
|
72
|
-
"aria-current"?: React.Validator<boolean | "time" | "
|
|
72
|
+
"aria-current"?: React.Validator<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | null | undefined> | undefined;
|
|
73
73
|
"aria-describedby"?: React.Validator<string | null | undefined> | undefined;
|
|
74
74
|
"aria-description"?: React.Validator<string | null | undefined> | undefined;
|
|
75
75
|
"aria-details"?: React.Validator<string | null | undefined> | undefined;
|
|
@@ -252,9 +252,7 @@ export declare const propTypes: {
|
|
|
252
252
|
onPointerCancel?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
253
253
|
onPointerCancelCapture?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
254
254
|
onPointerEnter?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
255
|
-
onPointerEnterCapture?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
256
255
|
onPointerLeave?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
257
|
-
onPointerLeaveCapture?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
258
256
|
onPointerOver?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
259
257
|
onPointerOverCapture?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
260
258
|
onPointerOut?: React.Validator<React.PointerEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
|
@@ -281,11 +279,13 @@ export declare const propTypes: {
|
|
|
281
279
|
defaultValue?: React.Validator<string | number | readonly string[] | null | undefined> | undefined;
|
|
282
280
|
suppressContentEditableWarning?: React.Validator<boolean | null | undefined> | undefined;
|
|
283
281
|
accessKey?: React.Validator<string | null | undefined> | undefined;
|
|
282
|
+
autoCapitalize?: React.Validator<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | null | undefined> | undefined;
|
|
284
283
|
autoFocus?: React.Validator<boolean | null | undefined> | undefined;
|
|
285
284
|
contentEditable?: React.Validator<"inherit" | (boolean | "true" | "false") | "plaintext-only" | null | undefined> | undefined;
|
|
286
285
|
contextMenu?: React.Validator<string | null | undefined> | undefined;
|
|
287
286
|
dir?: React.Validator<string | null | undefined> | undefined;
|
|
288
287
|
draggable?: React.Validator<(boolean | "true" | "false") | null | undefined> | undefined;
|
|
288
|
+
enterKeyHint?: React.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | null | undefined> | undefined;
|
|
289
289
|
hidden?: React.Validator<boolean | null | undefined> | undefined;
|
|
290
290
|
nonce?: React.Validator<string | null | undefined> | undefined;
|
|
291
291
|
spellCheck?: React.Validator<(boolean | "true" | "false") | null | undefined> | undefined;
|
|
@@ -302,7 +302,6 @@ export declare const propTypes: {
|
|
|
302
302
|
rev?: React.Validator<string | null | undefined> | undefined;
|
|
303
303
|
typeof?: React.Validator<string | null | undefined> | undefined;
|
|
304
304
|
vocab?: React.Validator<string | null | undefined> | undefined;
|
|
305
|
-
autoCapitalize?: React.Validator<string | null | undefined> | undefined;
|
|
306
305
|
autoCorrect?: React.Validator<string | null | undefined> | undefined;
|
|
307
306
|
autoSave?: React.Validator<string | null | undefined> | undefined;
|
|
308
307
|
itemProp?: React.Validator<string | null | undefined> | undefined;
|
|
@@ -8,7 +8,7 @@ export type FormProps = JSXElementProps<'form'> & {
|
|
|
8
8
|
flat?: boolean;
|
|
9
9
|
};
|
|
10
10
|
declare const Form: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "key">, "ref"> & {
|
|
11
|
-
flat?: boolean
|
|
11
|
+
flat?: boolean;
|
|
12
12
|
} & React.RefAttributes<HTMLFormElement>>;
|
|
13
13
|
export default Form;
|
|
14
14
|
export declare const FormContext: React.Context<FormContextShape>;
|
|
@@ -13,8 +13,8 @@ export type LoadingSkeletonProps = JSXElementProps<'div'> & {
|
|
|
13
13
|
shimmerColor?: CSS.Property.BackgroundColor;
|
|
14
14
|
};
|
|
15
15
|
declare const LoadingSkeleton: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref"> & {
|
|
16
|
-
shapeColor?: CSS.Property.BackgroundColor
|
|
17
|
-
shimmerColor?: CSS.Property.BackgroundColor
|
|
16
|
+
shapeColor?: CSS.Property.BackgroundColor;
|
|
17
|
+
shimmerColor?: CSS.Property.BackgroundColor;
|
|
18
18
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
type LoadingSkeletonComponent = typeof LoadingSkeleton & {
|
|
20
20
|
Shape: typeof SkeletonShape;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import MenuSection from "./MenuSection";
|
|
3
|
+
import { ButtonVariantStyleType } from "../../../../../../../shared/types/dist/src";
|
|
3
4
|
declare const Menu: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref">, "children" | "inline" | "headerContent" | "buttonContent" | "openButtonType" | "rootClose" | "hasBackdrop"> & {
|
|
4
5
|
children: NonNullable<React.ReactNode>;
|
|
5
6
|
buttonContent: NonNullable<React.ReactNode>;
|
|
6
|
-
openButtonType?:
|
|
7
|
-
rootClose?: boolean
|
|
8
|
-
inline?: boolean
|
|
9
|
-
hasBackdrop?: boolean
|
|
7
|
+
openButtonType?: ButtonVariantStyleType;
|
|
8
|
+
rootClose?: boolean;
|
|
9
|
+
inline?: boolean;
|
|
10
|
+
hasBackdrop?: boolean;
|
|
10
11
|
headerContent?: React.ReactNode;
|
|
11
12
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
13
|
type MenuComponent = typeof Menu & {
|
|
@@ -7,10 +7,10 @@ export type MenuSectionProps = {
|
|
|
7
7
|
isOnlySection?: boolean;
|
|
8
8
|
} & JSXElementProps<'section'>;
|
|
9
9
|
declare const MenuSection: React.ForwardRefExoticComponent<{
|
|
10
|
-
title?: string
|
|
10
|
+
title?: string;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
|
-
isFirst?: boolean
|
|
13
|
-
isLast?: boolean
|
|
14
|
-
isOnlySection?: boolean
|
|
12
|
+
isFirst?: boolean;
|
|
13
|
+
isLast?: boolean;
|
|
14
|
+
isOnlySection?: boolean;
|
|
15
15
|
} & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "key">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
16
16
|
export default MenuSection;
|
|
@@ -5,8 +5,8 @@ export type PromptProps = Override<JSXElementProps<'div'>, {
|
|
|
5
5
|
iconName?: boolean;
|
|
6
6
|
}>;
|
|
7
7
|
declare const Prompt: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref">, "iconName" | "isContentReadAloud" | "bannerTextColor"> & {
|
|
8
|
-
isContentReadAloud?: boolean
|
|
9
|
-
bannerTextColor?: string
|
|
10
|
-
iconName?: boolean
|
|
8
|
+
isContentReadAloud?: boolean;
|
|
9
|
+
bannerTextColor?: string;
|
|
10
|
+
iconName?: boolean;
|
|
11
11
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export default Prompt;
|
|
@@ -10,9 +10,9 @@ export type TabProps = Override<JSXElementProps<'button'>, {
|
|
|
10
10
|
}>;
|
|
11
11
|
declare const Tab: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key">, "ref">, "name" | "action" | "selected" | "simpleName" | "announcerText"> & {
|
|
12
12
|
name: RequiredReactNode;
|
|
13
|
-
selected?: boolean
|
|
14
|
-
action?: TabAction
|
|
15
|
-
simpleName?: string
|
|
16
|
-
announcerText?: string
|
|
13
|
+
selected?: boolean;
|
|
14
|
+
action?: TabAction;
|
|
15
|
+
simpleName?: string;
|
|
16
|
+
announcerText?: string;
|
|
17
17
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
18
18
|
export default Tab;
|
|
@@ -10,8 +10,8 @@ export type TabPanelProps = Override<JSXElementProps<'div'>, {
|
|
|
10
10
|
declare const TabPanel: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref">, "children" | "selectedKey" | "tabChanged" | "canTabChange"> & {
|
|
11
11
|
children: TabElement | TabElement[];
|
|
12
12
|
selectedKey?: React.ReactNode;
|
|
13
|
-
tabChanged?: (
|
|
14
|
-
canTabChange?: (
|
|
13
|
+
tabChanged?: (header: RequiredReactNode) => void;
|
|
14
|
+
canTabChange?: (header: RequiredReactNode) => Maybe<boolean> | Promise<Maybe<boolean>>;
|
|
15
15
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
type TabPanelComponent = typeof TabPanel & {
|
|
17
17
|
Tab: typeof Tab;
|
|
@@ -9,10 +9,10 @@ export interface TableBaseProps extends TableProps {
|
|
|
9
9
|
cellPadding?: number | string;
|
|
10
10
|
}
|
|
11
11
|
declare const Table: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "key">, "ref">, "isCondensed" | "isRoomy" | "hasStripes" | "hasHover"> & {
|
|
12
|
-
isCondensed?: boolean
|
|
13
|
-
isRoomy?: boolean
|
|
14
|
-
hasStripes?: boolean
|
|
15
|
-
hasHover?: boolean
|
|
12
|
+
isCondensed?: boolean;
|
|
13
|
+
isRoomy?: boolean;
|
|
14
|
+
hasStripes?: boolean;
|
|
15
|
+
hasHover?: boolean;
|
|
16
16
|
} & React.RefAttributes<HTMLTableElement>>;
|
|
17
17
|
declare const TableRow: import("styled-components").StyledComponent<"tr", import("styled-components").DefaultTheme, {}, never>;
|
|
18
18
|
declare const TableBodyCell: import("styled-components").StyledComponent<"td", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -2,15 +2,15 @@ import React from 'react';
|
|
|
2
2
|
import { Placement } from '@floating-ui/react';
|
|
3
3
|
import { PopoverLinkProps } from "../../controls/buttons/PopoverLink";
|
|
4
4
|
type HandledLinkProps = 'children' | 'styleType';
|
|
5
|
-
declare const Tooltip: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref">, "
|
|
5
|
+
declare const Tooltip: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref">, "id" | "name" | "children" | "content" | "position" | "styleType" | "disableHover" | "disableFocus" | "linkProps"> & {
|
|
6
6
|
name: string;
|
|
7
|
-
children: PopoverLinkProps[
|
|
7
|
+
children: PopoverLinkProps["children"];
|
|
8
8
|
content: React.ReactNode;
|
|
9
|
-
position?: Placement
|
|
10
|
-
disableHover?: boolean
|
|
11
|
-
disableFocus?: boolean
|
|
12
|
-
styleType?: PopoverLinkProps[
|
|
13
|
-
linkProps?: Omit<PopoverLinkProps, HandledLinkProps
|
|
14
|
-
id?: string
|
|
9
|
+
position?: Placement;
|
|
10
|
+
disableHover?: boolean;
|
|
11
|
+
disableFocus?: boolean;
|
|
12
|
+
styleType?: PopoverLinkProps["styleType"];
|
|
13
|
+
linkProps?: Omit<PopoverLinkProps, HandledLinkProps>;
|
|
14
|
+
id?: string;
|
|
15
15
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
export default Tooltip;
|
|
@@ -3,6 +3,6 @@ export type AdditionalHelpProps = JSXElementProps<'div'> & {
|
|
|
3
3
|
hasValidationIcon?: boolean;
|
|
4
4
|
};
|
|
5
5
|
declare const AdditionalHelp: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref"> & {
|
|
6
|
-
hasValidationIcon?: boolean
|
|
6
|
+
hasValidationIcon?: boolean;
|
|
7
7
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
export default AdditionalHelp;
|
|
@@ -12,8 +12,8 @@ export type ControlProps = Override<JSXElementProps<'div'>, ControlDisplayProps
|
|
|
12
12
|
flat?: boolean;
|
|
13
13
|
}>;
|
|
14
14
|
declare const Control: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref">, "orientation" | "flat" | keyof ControlDisplayProps | "hasValidationBorder"> & ControlDisplayProps & {
|
|
15
|
-
hasValidationBorder?: boolean
|
|
16
|
-
orientation?:
|
|
17
|
-
flat?: boolean
|
|
15
|
+
hasValidationBorder?: boolean;
|
|
16
|
+
orientation?: Orientation;
|
|
17
|
+
flat?: boolean;
|
|
18
18
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
export default Control;
|
|
@@ -14,11 +14,11 @@ export type AnswerButtonProps = Override<HTMLInputProps, {
|
|
|
14
14
|
isOutline?: boolean;
|
|
15
15
|
}>;
|
|
16
16
|
declare const AnswerButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key">, "ref">, "size" | "styleType" | "isOutline" | "selectedType" | "itemWidth"> & {
|
|
17
|
-
itemWidth?: CSS.Property.Width
|
|
18
|
-
styleType?:
|
|
19
|
-
selectedType?:
|
|
20
|
-
size?:
|
|
21
|
-
isOutline?: boolean
|
|
17
|
+
itemWidth?: CSS.Property.Width;
|
|
18
|
+
styleType?: ButtonVariantStyleType;
|
|
19
|
+
selectedType?: ButtonVariantStyleType;
|
|
20
|
+
size?: ButtonSize;
|
|
21
|
+
isOutline?: boolean;
|
|
22
22
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
23
23
|
export declare const propTypes: {
|
|
24
24
|
itemWidth: PropTypes.Requireable<string>;
|
|
@@ -31,8 +31,6 @@ export declare const propTypes: {
|
|
|
31
31
|
style: PropTypes.Requireable<React.CSSProperties | undefined> | PropTypes.Validator<React.CSSProperties | undefined>;
|
|
32
32
|
title: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
33
33
|
pattern: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
34
|
-
type: PropTypes.Requireable<React.HTMLInputTypeAttribute | undefined> | PropTypes.Validator<React.HTMLInputTypeAttribute | undefined>;
|
|
35
|
-
name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
36
34
|
suppressHydrationWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
37
35
|
className: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
38
36
|
color: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -41,6 +39,8 @@ export declare const propTypes: {
|
|
|
41
39
|
lang: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
42
40
|
max: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
43
41
|
min: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
42
|
+
name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
43
|
+
type: PropTypes.Requireable<React.HTMLInputTypeAttribute | undefined> | PropTypes.Validator<React.HTMLInputTypeAttribute | undefined>;
|
|
44
44
|
width: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
45
45
|
role: PropTypes.Requireable<React.AriaRole | undefined> | PropTypes.Validator<React.AriaRole | undefined>;
|
|
46
46
|
tabIndex: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
@@ -56,7 +56,7 @@ export declare const propTypes: {
|
|
|
56
56
|
"aria-colindextext": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
57
57
|
"aria-colspan": PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
58
58
|
"aria-controls": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
59
|
-
"aria-current": PropTypes.Requireable<boolean | "time" | "
|
|
59
|
+
"aria-current": PropTypes.Requireable<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined> | PropTypes.Validator<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined>;
|
|
60
60
|
"aria-describedby": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
61
61
|
"aria-description": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
62
62
|
"aria-details": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -242,9 +242,7 @@ export declare const propTypes: {
|
|
|
242
242
|
onPointerCancel: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
243
243
|
onPointerCancelCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
244
244
|
onPointerEnter: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
245
|
-
onPointerEnterCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
246
245
|
onPointerLeave: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
247
|
-
onPointerLeaveCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
248
246
|
onPointerOver: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
249
247
|
onPointerOverCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
250
248
|
onPointerOut: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
@@ -266,17 +264,17 @@ export declare const propTypes: {
|
|
|
266
264
|
onTransitionEnd: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
|
|
267
265
|
onTransitionEndCapture: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
|
|
268
266
|
css: PropTypes.Requireable<import("styled-components").CSSProp | undefined> | PropTypes.Validator<import("styled-components").CSSProp | undefined>;
|
|
269
|
-
list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
270
|
-
step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
271
267
|
defaultChecked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
272
268
|
defaultValue: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
273
269
|
suppressContentEditableWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
274
270
|
accessKey: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
271
|
+
autoCapitalize: PropTypes.Requireable<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined> | PropTypes.Validator<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined>;
|
|
275
272
|
autoFocus: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
276
273
|
contentEditable: PropTypes.Requireable<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined> | PropTypes.Validator<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined>;
|
|
277
274
|
contextMenu: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
278
275
|
dir: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
279
276
|
draggable: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
|
|
277
|
+
enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
|
|
280
278
|
hidden: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
281
279
|
nonce: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
282
280
|
spellCheck: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
|
|
@@ -293,7 +291,6 @@ export declare const propTypes: {
|
|
|
293
291
|
rev: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
294
292
|
typeof: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
295
293
|
vocab: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
296
|
-
autoCapitalize: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
297
294
|
autoCorrect: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
298
295
|
autoSave: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
299
296
|
itemProp: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -308,23 +305,24 @@ export declare const propTypes: {
|
|
|
308
305
|
is: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
309
306
|
alt: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
310
307
|
src: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
311
|
-
value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
312
|
-
accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
313
|
-
autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
|
|
314
|
-
capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
|
|
315
|
-
checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
316
308
|
disabled: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
317
|
-
enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
|
|
318
309
|
formAction: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
319
310
|
formEncType: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
320
311
|
formMethod: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
321
312
|
formNoValidate: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
322
313
|
formTarget: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
314
|
+
value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
315
|
+
autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
|
|
316
|
+
accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
317
|
+
capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
|
|
318
|
+
checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
319
|
+
list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
323
320
|
maxLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
324
321
|
minLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
325
322
|
multiple: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
326
323
|
placeholder: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
327
324
|
readOnly: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
328
325
|
required: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
326
|
+
step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
329
327
|
};
|
|
330
328
|
export default AnswerButton;
|