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
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference path="../../../../../src/components/controls/textbox/im-open-react-text-mask.d.ts" />
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import PropTypes from 'prop-types';
|
|
4
3
|
import { MaskedInputProps } from '@im-open/react-text-mask';
|
|
@@ -12,15 +11,15 @@ export type MaskedTextboxProps = TextboxProps & Partial<MaskedInputProps> & {
|
|
|
12
11
|
};
|
|
13
12
|
declare const MaskedTextbox: React.ForwardRefExoticComponent<TextboxProps & Partial<MaskedInputProps> & {
|
|
14
13
|
maskType: MaskType;
|
|
15
|
-
customMask?: MaskedInputProps
|
|
14
|
+
customMask?: MaskedInputProps;
|
|
16
15
|
} & React.RefAttributes<Maybe<HTMLInputElement>>>;
|
|
17
16
|
export declare const propTypes: {
|
|
18
17
|
/** Sets a mask type on the input */
|
|
19
18
|
maskType: PropTypes.Validator<NonNullable<MaskType>>;
|
|
20
19
|
/** Provide a custom mask */
|
|
21
20
|
customMask: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<MaskedInputProps>>>;
|
|
22
|
-
prependIconName: PropTypes.Requireable<"header" | "picture" | "search" | "time" | "video" | "switch" | "
|
|
23
|
-
appendIconName: PropTypes.Requireable<"header" | "picture" | "search" | "time" | "video" | "switch" | "
|
|
21
|
+
prependIconName: 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">;
|
|
22
|
+
appendIconName: 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">;
|
|
24
23
|
type: PropTypes.Requireable<React.HTMLInputTypeAttribute | undefined>;
|
|
25
24
|
flat: PropTypes.Requireable<boolean>;
|
|
26
25
|
form: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -28,7 +27,6 @@ export declare const propTypes: {
|
|
|
28
27
|
style: PropTypes.Requireable<React.CSSProperties | undefined> | PropTypes.Validator<React.CSSProperties | undefined>;
|
|
29
28
|
title: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
30
29
|
pattern: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
31
|
-
name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
32
30
|
suppressHydrationWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
33
31
|
className: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
34
32
|
color: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -37,6 +35,7 @@ export declare const propTypes: {
|
|
|
37
35
|
lang: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
38
36
|
max: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
39
37
|
min: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
38
|
+
name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
40
39
|
width: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
41
40
|
role: PropTypes.Requireable<React.AriaRole | undefined> | PropTypes.Validator<React.AriaRole | undefined>;
|
|
42
41
|
tabIndex: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
@@ -52,7 +51,7 @@ export declare const propTypes: {
|
|
|
52
51
|
"aria-colindextext": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
53
52
|
"aria-colspan": PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
54
53
|
"aria-controls": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
55
|
-
"aria-current": PropTypes.Requireable<boolean | "time" | "
|
|
54
|
+
"aria-current": PropTypes.Requireable<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined> | PropTypes.Validator<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined>;
|
|
56
55
|
"aria-describedby": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
57
56
|
"aria-description": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
58
57
|
"aria-details": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -238,9 +237,7 @@ export declare const propTypes: {
|
|
|
238
237
|
onPointerCancel: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
239
238
|
onPointerCancelCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
240
239
|
onPointerEnter: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
241
|
-
onPointerEnterCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
242
240
|
onPointerLeave: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
243
|
-
onPointerLeaveCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
244
241
|
onPointerOver: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
245
242
|
onPointerOverCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
246
243
|
onPointerOut: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
@@ -262,17 +259,17 @@ export declare const propTypes: {
|
|
|
262
259
|
onTransitionEnd: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
|
|
263
260
|
onTransitionEndCapture: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
|
|
264
261
|
css: PropTypes.Requireable<import("styled-components").CSSProp | undefined> | PropTypes.Validator<import("styled-components").CSSProp | undefined>;
|
|
265
|
-
list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
266
|
-
step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
267
262
|
defaultChecked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
268
263
|
defaultValue: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
269
264
|
suppressContentEditableWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
270
265
|
accessKey: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
266
|
+
autoCapitalize: PropTypes.Requireable<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined> | PropTypes.Validator<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined>;
|
|
271
267
|
autoFocus: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
272
268
|
contentEditable: PropTypes.Requireable<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined> | PropTypes.Validator<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined>;
|
|
273
269
|
contextMenu: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
274
270
|
dir: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
275
271
|
draggable: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
|
|
272
|
+
enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
|
|
276
273
|
hidden: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
277
274
|
nonce: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
278
275
|
spellCheck: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
|
|
@@ -289,7 +286,6 @@ export declare const propTypes: {
|
|
|
289
286
|
rev: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
290
287
|
typeof: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
291
288
|
vocab: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
292
|
-
autoCapitalize: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
293
289
|
autoCorrect: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
294
290
|
autoSave: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
295
291
|
itemProp: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -302,26 +298,27 @@ export declare const propTypes: {
|
|
|
302
298
|
unselectable: PropTypes.Requireable<"off" | "on" | undefined> | PropTypes.Validator<"off" | "on" | undefined>;
|
|
303
299
|
inputMode: PropTypes.Requireable<"search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined> | PropTypes.Validator<"search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
|
|
304
300
|
is: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
305
|
-
size: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
306
301
|
alt: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
307
302
|
src: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
308
|
-
value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
309
|
-
accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
310
|
-
autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
|
|
311
|
-
capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
|
|
312
|
-
checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
313
303
|
disabled: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
314
|
-
enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
|
|
315
304
|
formAction: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
316
305
|
formEncType: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
317
306
|
formMethod: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
318
307
|
formNoValidate: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
319
308
|
formTarget: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
309
|
+
value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
310
|
+
autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
|
|
311
|
+
accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
312
|
+
capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
|
|
313
|
+
checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
314
|
+
list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
320
315
|
maxLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
321
316
|
minLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
322
317
|
multiple: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
323
318
|
placeholder: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
324
319
|
readOnly: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
325
320
|
required: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
321
|
+
size: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
322
|
+
step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
326
323
|
};
|
|
327
324
|
export default MaskedTextbox;
|
|
@@ -13,8 +13,8 @@ export type InputWrapperProps = Override<ValidationStyleProps, Override<TextboxA
|
|
|
13
13
|
appendIconStyles?: IconStyles;
|
|
14
14
|
}>>;
|
|
15
15
|
export declare const TextboxBase: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key">, "ref"> & {
|
|
16
|
-
as?:
|
|
17
|
-
forwardedAs?:
|
|
16
|
+
as?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
|
|
17
|
+
forwardedAs?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
|
|
18
18
|
} & ValidationStyleProps & React.RefAttributes<HTMLInputElement>>, import("styled-components").DefaultTheme, TextboxAdditionProps, never>;
|
|
19
19
|
export interface TextboxProps extends JSXElementProps<'input'> {
|
|
20
20
|
flat?: boolean;
|
|
@@ -24,9 +24,9 @@ export interface TextboxProps extends JSXElementProps<'input'> {
|
|
|
24
24
|
declare const Textbox: React.ForwardRefExoticComponent<TextboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
25
25
|
export declare const propTypes: {
|
|
26
26
|
/** Content to prepend input box with */
|
|
27
|
-
prependIconName: PropTypes.Requireable<"header" | "picture" | "search" | "time" | "video" | "switch" | "
|
|
27
|
+
prependIconName: 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">;
|
|
28
28
|
/** Content to append to input box */
|
|
29
|
-
appendIconName: PropTypes.Requireable<"header" | "picture" | "search" | "time" | "video" | "switch" | "
|
|
29
|
+
appendIconName: 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">;
|
|
30
30
|
/** The type attribute for the textbox input */
|
|
31
31
|
type: PropTypes.Requireable<React.HTMLInputTypeAttribute | undefined>;
|
|
32
32
|
/** Whether the textbox is the flat style or not */
|
|
@@ -36,7 +36,6 @@ export declare const propTypes: {
|
|
|
36
36
|
style: PropTypes.Requireable<React.CSSProperties | undefined> | PropTypes.Validator<React.CSSProperties | undefined>;
|
|
37
37
|
title: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
38
38
|
pattern: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
39
|
-
name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
40
39
|
suppressHydrationWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
41
40
|
className: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
42
41
|
color: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -45,6 +44,7 @@ export declare const propTypes: {
|
|
|
45
44
|
lang: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
46
45
|
max: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
47
46
|
min: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
47
|
+
name: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
48
48
|
width: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
49
49
|
role: PropTypes.Requireable<React.AriaRole | undefined> | PropTypes.Validator<React.AriaRole | undefined>;
|
|
50
50
|
tabIndex: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
@@ -60,7 +60,7 @@ export declare const propTypes: {
|
|
|
60
60
|
"aria-colindextext": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
61
61
|
"aria-colspan": PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
62
62
|
"aria-controls": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
63
|
-
"aria-current": PropTypes.Requireable<boolean | "time" | "
|
|
63
|
+
"aria-current": PropTypes.Requireable<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined> | PropTypes.Validator<boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined>;
|
|
64
64
|
"aria-describedby": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
65
65
|
"aria-description": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
66
66
|
"aria-details": PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -246,9 +246,7 @@ export declare const propTypes: {
|
|
|
246
246
|
onPointerCancel: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
247
247
|
onPointerCancelCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
248
248
|
onPointerEnter: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
249
|
-
onPointerEnterCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
250
249
|
onPointerLeave: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
251
|
-
onPointerLeaveCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
252
250
|
onPointerOver: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
253
251
|
onPointerOverCapture: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
254
252
|
onPointerOut: PropTypes.Requireable<React.PointerEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.PointerEventHandler<HTMLInputElement> | undefined>;
|
|
@@ -270,17 +268,17 @@ export declare const propTypes: {
|
|
|
270
268
|
onTransitionEnd: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
|
|
271
269
|
onTransitionEndCapture: PropTypes.Requireable<React.TransitionEventHandler<HTMLInputElement> | undefined> | PropTypes.Validator<React.TransitionEventHandler<HTMLInputElement> | undefined>;
|
|
272
270
|
css: PropTypes.Requireable<import("styled-components").CSSProp | undefined> | PropTypes.Validator<import("styled-components").CSSProp | undefined>;
|
|
273
|
-
list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
274
|
-
step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
275
271
|
defaultChecked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
276
272
|
defaultValue: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
277
273
|
suppressContentEditableWarning: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
278
274
|
accessKey: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
275
|
+
autoCapitalize: PropTypes.Requireable<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined> | PropTypes.Validator<(string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined>;
|
|
279
276
|
autoFocus: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
280
277
|
contentEditable: PropTypes.Requireable<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined> | PropTypes.Validator<"inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined>;
|
|
281
278
|
contextMenu: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
282
279
|
dir: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
283
280
|
draggable: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
|
|
281
|
+
enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
|
|
284
282
|
hidden: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
285
283
|
nonce: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
286
284
|
spellCheck: PropTypes.Requireable<(boolean | "true" | "false") | undefined> | PropTypes.Validator<(boolean | "true" | "false") | undefined>;
|
|
@@ -297,7 +295,6 @@ export declare const propTypes: {
|
|
|
297
295
|
rev: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
298
296
|
typeof: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
299
297
|
vocab: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
300
|
-
autoCapitalize: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
301
298
|
autoCorrect: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
302
299
|
autoSave: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
303
300
|
itemProp: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
@@ -310,27 +307,28 @@ export declare const propTypes: {
|
|
|
310
307
|
unselectable: PropTypes.Requireable<"off" | "on" | undefined> | PropTypes.Validator<"off" | "on" | undefined>;
|
|
311
308
|
inputMode: PropTypes.Requireable<"search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined> | PropTypes.Validator<"search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined>;
|
|
312
309
|
is: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
313
|
-
size: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
314
310
|
alt: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
315
311
|
src: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
316
|
-
value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
317
|
-
accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
318
|
-
autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
|
|
319
|
-
capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
|
|
320
|
-
checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
321
312
|
disabled: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
322
|
-
enterKeyHint: PropTypes.Requireable<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined> | PropTypes.Validator<"search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined>;
|
|
323
313
|
formAction: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
324
314
|
formEncType: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
325
315
|
formMethod: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
326
316
|
formNoValidate: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
327
317
|
formTarget: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
318
|
+
value: PropTypes.Requireable<string | number | readonly string[] | undefined> | PropTypes.Validator<string | number | readonly string[] | undefined>;
|
|
319
|
+
autoComplete: PropTypes.Requireable<React.HTMLInputAutoCompleteAttribute | undefined> | PropTypes.Validator<React.HTMLInputAutoCompleteAttribute | undefined>;
|
|
320
|
+
accept: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
321
|
+
capture: PropTypes.Requireable<boolean | "user" | "environment" | undefined> | PropTypes.Validator<boolean | "user" | "environment" | undefined>;
|
|
322
|
+
checked: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
323
|
+
list: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
328
324
|
maxLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
329
325
|
minLength: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
330
326
|
multiple: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
331
327
|
placeholder: PropTypes.Requireable<string | undefined> | PropTypes.Validator<string | undefined>;
|
|
332
328
|
readOnly: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
333
329
|
required: PropTypes.Requireable<boolean | undefined> | PropTypes.Validator<boolean | undefined>;
|
|
330
|
+
size: PropTypes.Requireable<number | undefined> | PropTypes.Validator<number | undefined>;
|
|
331
|
+
step: PropTypes.Requireable<string | number | undefined> | PropTypes.Validator<string | number | undefined>;
|
|
334
332
|
};
|
|
335
333
|
export declare const defaultProps: {
|
|
336
334
|
prependIconName: undefined;
|
|
@@ -342,7 +340,6 @@ export declare const defaultProps: {
|
|
|
342
340
|
style?: React.CSSProperties | undefined;
|
|
343
341
|
title?: string | undefined;
|
|
344
342
|
pattern?: string | undefined;
|
|
345
|
-
name?: string | undefined;
|
|
346
343
|
suppressHydrationWarning?: boolean | undefined;
|
|
347
344
|
className?: string | undefined;
|
|
348
345
|
color?: string | undefined;
|
|
@@ -351,6 +348,7 @@ export declare const defaultProps: {
|
|
|
351
348
|
lang?: string | undefined;
|
|
352
349
|
max?: string | number | undefined;
|
|
353
350
|
min?: string | number | undefined;
|
|
351
|
+
name?: string | undefined;
|
|
354
352
|
width?: string | number | undefined;
|
|
355
353
|
role?: React.AriaRole | undefined;
|
|
356
354
|
tabIndex?: number | undefined;
|
|
@@ -366,7 +364,7 @@ export declare const defaultProps: {
|
|
|
366
364
|
"aria-colindextext"?: string | undefined;
|
|
367
365
|
"aria-colspan"?: number | undefined;
|
|
368
366
|
"aria-controls"?: string | undefined;
|
|
369
|
-
"aria-current"?: boolean | "time" | "
|
|
367
|
+
"aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
370
368
|
"aria-describedby"?: string | undefined;
|
|
371
369
|
"aria-description"?: string | undefined;
|
|
372
370
|
"aria-details"?: string | undefined;
|
|
@@ -550,9 +548,7 @@ export declare const defaultProps: {
|
|
|
550
548
|
onPointerCancel?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
551
549
|
onPointerCancelCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
552
550
|
onPointerEnter?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
553
|
-
onPointerEnterCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
554
551
|
onPointerLeave?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
555
|
-
onPointerLeaveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
556
552
|
onPointerOver?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
557
553
|
onPointerOverCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
558
554
|
onPointerOut?: React.PointerEventHandler<HTMLInputElement> | undefined;
|
|
@@ -574,17 +570,17 @@ export declare const defaultProps: {
|
|
|
574
570
|
onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
575
571
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
576
572
|
css?: import("styled-components").CSSProp | undefined;
|
|
577
|
-
list?: string | undefined;
|
|
578
|
-
step?: string | number | undefined;
|
|
579
573
|
defaultChecked?: boolean | undefined;
|
|
580
574
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
581
575
|
suppressContentEditableWarning?: boolean | undefined;
|
|
582
576
|
accessKey?: string | undefined;
|
|
577
|
+
autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
583
578
|
autoFocus?: boolean | undefined;
|
|
584
579
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
585
580
|
contextMenu?: string | undefined;
|
|
586
581
|
dir?: string | undefined;
|
|
587
582
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
583
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
588
584
|
hidden?: boolean | undefined;
|
|
589
585
|
nonce?: string | undefined;
|
|
590
586
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
@@ -601,7 +597,6 @@ export declare const defaultProps: {
|
|
|
601
597
|
rev?: string | undefined;
|
|
602
598
|
typeof?: string | undefined;
|
|
603
599
|
vocab?: string | undefined;
|
|
604
|
-
autoCapitalize?: string | undefined;
|
|
605
600
|
autoCorrect?: string | undefined;
|
|
606
601
|
autoSave?: string | undefined;
|
|
607
602
|
itemProp?: string | undefined;
|
|
@@ -614,26 +609,27 @@ export declare const defaultProps: {
|
|
|
614
609
|
unselectable?: "off" | "on" | undefined;
|
|
615
610
|
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
616
611
|
is?: string | undefined;
|
|
617
|
-
size?: number | undefined;
|
|
618
612
|
alt?: string | undefined;
|
|
619
613
|
src?: string | undefined;
|
|
620
|
-
value?: string | number | readonly string[] | undefined;
|
|
621
|
-
accept?: string | undefined;
|
|
622
|
-
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
623
|
-
capture?: boolean | "user" | "environment" | undefined;
|
|
624
|
-
checked?: boolean | undefined;
|
|
625
614
|
disabled?: boolean | undefined;
|
|
626
|
-
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
627
615
|
formAction?: string | undefined;
|
|
628
616
|
formEncType?: string | undefined;
|
|
629
617
|
formMethod?: string | undefined;
|
|
630
618
|
formNoValidate?: boolean | undefined;
|
|
631
619
|
formTarget?: string | undefined;
|
|
620
|
+
value?: string | number | readonly string[] | undefined;
|
|
621
|
+
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
622
|
+
accept?: string | undefined;
|
|
623
|
+
capture?: boolean | "user" | "environment" | undefined;
|
|
624
|
+
checked?: boolean | undefined;
|
|
625
|
+
list?: string | undefined;
|
|
632
626
|
maxLength?: number | undefined;
|
|
633
627
|
minLength?: number | undefined;
|
|
634
628
|
multiple?: boolean | undefined;
|
|
635
629
|
placeholder?: string | undefined;
|
|
636
630
|
readOnly?: boolean | undefined;
|
|
637
631
|
required?: boolean | undefined;
|
|
632
|
+
size?: number | undefined;
|
|
633
|
+
step?: string | number | undefined;
|
|
638
634
|
};
|
|
639
635
|
export default Textbox;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference path="../../../../../src/components/controls/textbox/im-open-react-text-mask.d.ts" />
|
|
2
1
|
import { MaskedInputProps } from '@im-open/react-text-mask';
|
|
3
2
|
export declare const maskTypes: readonly ["date", "dollar", "phone", "ssnum", "zip"];
|
|
4
3
|
export type InputMaskType = (typeof maskTypes)[number];
|
|
@@ -7,6 +7,6 @@ export type NavigationProps = Override<JSXElementProps<'nav'>, {
|
|
|
7
7
|
}>;
|
|
8
8
|
export declare const Navigation: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "key">, "ref">, "selected" | "useAltStyle" | "navOrientation"> & {
|
|
9
9
|
navOrientation: NavOrientation;
|
|
10
|
-
useAltStyle?: boolean
|
|
11
|
-
selected?: string
|
|
10
|
+
useAltStyle?: boolean;
|
|
11
|
+
selected?: string;
|
|
12
12
|
} & React.RefAttributes<HTMLElement>>;
|
|
@@ -9,8 +9,8 @@ export type NavigationItemProps = Override<JSXElementProps<'li'>, {
|
|
|
9
9
|
}>;
|
|
10
10
|
export declare const NavigationItem: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key">, "ref">, "id" | "isDisabled" | "highlightedId" | "useAltStyle" | "navOrientation"> & {
|
|
11
11
|
id: string | number;
|
|
12
|
-
highlightedId?: string | number
|
|
13
|
-
isDisabled?: boolean
|
|
14
|
-
useAltStyle?: boolean
|
|
15
|
-
navOrientation?: NavOrientation
|
|
12
|
+
highlightedId?: string | number;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
useAltStyle?: boolean;
|
|
15
|
+
navOrientation?: NavOrientation;
|
|
16
16
|
} & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -4,6 +4,6 @@ export type CallToActionProps = Override<NotificationProps, {
|
|
|
4
4
|
isLight?: boolean;
|
|
5
5
|
}>;
|
|
6
6
|
declare const CallToAction: React.ForwardRefExoticComponent<Omit<NotificationProps, "isLight"> & {
|
|
7
|
-
isLight?: boolean
|
|
7
|
+
isLight?: boolean;
|
|
8
8
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export default CallToAction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const LightCallToAction: React.ForwardRefExoticComponent<Omit<import("../../containers/notification/Notification").NotificationProps, "isLight"> & {
|
|
3
|
-
isLight?: boolean
|
|
3
|
+
isLight?: boolean;
|
|
4
4
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export default LightCallToAction;
|
|
@@ -32,12 +32,12 @@ export type DateInputProps = Override<JSXElementProps<'div'>, {
|
|
|
32
32
|
declare const DateInput: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key">, "ref">, "id" | "children" | "onBlur" | "onChange" | "defaultValue" | "maxDate" | "minDate" | "defaultDay"> & {
|
|
33
33
|
children: React.ReactNode;
|
|
34
34
|
onChange: (event: DateChangeEvent) => void;
|
|
35
|
-
id?: string
|
|
36
|
-
maxDate?: Date
|
|
37
|
-
minDate?: Date
|
|
38
|
-
onBlur?: InputProps[
|
|
39
|
-
defaultValue?: Date
|
|
40
|
-
defaultDay?: string
|
|
35
|
+
id?: string;
|
|
36
|
+
maxDate?: Date;
|
|
37
|
+
minDate?: Date;
|
|
38
|
+
onBlur?: InputProps["onBlur"];
|
|
39
|
+
defaultValue?: Date;
|
|
40
|
+
defaultDay?: string;
|
|
41
41
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
42
42
|
type DateInputType = typeof DateInput & {
|
|
43
43
|
Day: typeof Day;
|
|
@@ -5,7 +5,7 @@ export type DayProps = Override<JSXElementProps<'input'>, {
|
|
|
5
5
|
onChange?: DatePartChangeHandler;
|
|
6
6
|
}>;
|
|
7
7
|
declare const Day: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key">, "ref">, "onChange" | "date"> & {
|
|
8
|
-
date?: Date
|
|
9
|
-
onChange?: DatePartChangeHandler
|
|
8
|
+
date?: Date;
|
|
9
|
+
onChange?: DatePartChangeHandler;
|
|
10
10
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
export default Day;
|
|
@@ -8,10 +8,10 @@ export type MonthProps = Override<DropdownProps, {
|
|
|
8
8
|
onChange?: DatePartChangeHandler;
|
|
9
9
|
}>;
|
|
10
10
|
declare const Month: React.ForwardRefExoticComponent<Omit<DropdownProps, "onChange" | "date" | "monthNames" | "selectOptionText"> & {
|
|
11
|
-
monthNames?: string[]
|
|
12
|
-
date?: Date
|
|
13
|
-
selectOptionText?: string
|
|
14
|
-
onChange?: DatePartChangeHandler
|
|
11
|
+
monthNames?: string[];
|
|
12
|
+
date?: Date;
|
|
13
|
+
selectOptionText?: string;
|
|
14
|
+
onChange?: DatePartChangeHandler;
|
|
15
15
|
} & React.RefAttributes<HTMLSelectElement>>;
|
|
16
16
|
export declare const monthNames: readonly ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
17
17
|
export type MonthName = (typeof monthNames)[number];
|
|
@@ -5,7 +5,7 @@ export type YearProps = Override<JSXElementProps<'input'>, {
|
|
|
5
5
|
onChange?: DatePartChangeHandler;
|
|
6
6
|
}>;
|
|
7
7
|
declare const Year: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key">, "ref">, "onChange" | "date"> & {
|
|
8
|
-
date?: Date
|
|
9
|
-
onChange?: DatePartChangeHandler
|
|
8
|
+
date?: Date;
|
|
9
|
+
onChange?: DatePartChangeHandler;
|
|
10
10
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
export default Year;
|