@dfds-ui/react-components 0.9.1 → 0.9.2-alpha.818bb7a0
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/accordion/Accordion.js +3 -1
- package/accordion/AccordionContent.js +3 -1
- package/accordion/AccordionSmall.js +3 -1
- package/app-bar/AppBar.js +5 -3
- package/app-bar/AppBarContext.js +1 -1
- package/app-bar/AppBarDrawer.js +2 -1
- package/app-bar/AppBarIconButton.js +2 -1
- package/app-bar/AppBarItem.d.ts +1 -1
- package/app-bar/AppBarItem.js +36 -38
- package/assertions/banner/Banner.js +2 -1
- package/assertions/banner/BannerAction.js +3 -1
- package/assertions/toast/Toast.js +2 -1
- package/assertions/toast/Toaster.js +2 -2
- package/badge/Badge.js +3 -1
- package/button/Button.js +2 -1
- package/button/IconButton.js +2 -1
- package/button-stack/ButtonStack.js +3 -1
- package/card/Card.js +3 -2
- package/card/CardActions.js +2 -1
- package/card/CardContent.js +2 -1
- package/card/CardMedia.js +2 -1
- package/card/CardPriceTag.js +2 -1
- package/card/CardTitle.js +2 -1
- package/chip/Chip.js +3 -2
- package/cjs/accordion/Accordion.js +3 -1
- package/cjs/accordion/AccordionContent.js +3 -1
- package/cjs/accordion/AccordionSmall.js +3 -1
- package/cjs/app-bar/AppBar.js +8 -5
- package/cjs/app-bar/AppBarContext.js +3 -3
- package/cjs/app-bar/AppBarDrawer.js +5 -3
- package/cjs/app-bar/AppBarIconButton.js +3 -1
- package/cjs/app-bar/AppBarItem.d.ts +1 -1
- package/cjs/app-bar/AppBarItem.js +31 -24
- package/cjs/assertions/banner/Banner.js +3 -1
- package/cjs/assertions/banner/BannerAction.js +3 -1
- package/cjs/assertions/banner/BannerActionContext.js +2 -2
- package/cjs/assertions/banner/index.js +2 -2
- package/cjs/assertions/toast/Toast.js +3 -1
- package/cjs/assertions/toast/Toaster.js +4 -4
- package/cjs/assertions/toast/index.js +2 -2
- package/cjs/badge/Badge.js +3 -1
- package/cjs/badge/index.js +2 -2
- package/cjs/button/Button.js +3 -1
- package/cjs/button/IconButton.js +3 -1
- package/cjs/button/LinkButton.js +2 -2
- package/cjs/button/index.js +2 -2
- package/cjs/button-stack/ButtonStack.js +3 -1
- package/cjs/card/Card.js +6 -4
- package/cjs/card/CardActions.js +3 -1
- package/cjs/card/CardContent.js +3 -1
- package/cjs/card/CardMedia.js +3 -1
- package/cjs/card/CardPriceTag.js +3 -1
- package/cjs/card/CardTitle.js +3 -1
- package/cjs/chip/Chip.js +6 -4
- package/cjs/chip/index.js +2 -2
- package/cjs/common/LockBodyScroll.js +3 -1
- package/cjs/common/emotionCloneElement.js +1 -1
- package/cjs/common/use-media.js +1 -1
- package/cjs/counter/Counter.js +3 -3
- package/cjs/counter/PluralCounter.js +6 -4
- package/cjs/data-table/DataTable.js +6 -4
- package/cjs/date-range-picker/DateRangePicker.js +4 -4
- package/cjs/divider/Divider.d.ts +1 -1
- package/cjs/divider/Divider.js +3 -1
- package/cjs/drawer/Drawer.js +3 -1
- package/cjs/dropdown-menu/Dropdown.js +4 -2
- package/cjs/dropdown-menu/DropdownContext.js +2 -2
- package/cjs/dropdown-menu/MenuItem.js +4 -2
- package/cjs/dropdown-menu/index.js +2 -2
- package/cjs/flexbox/FlexBox.js +1 -1
- package/cjs/forms/checkbox/Checkbox.d.ts +1 -1
- package/cjs/forms/checkbox/Checkbox.js +3 -1
- package/cjs/forms/checkbox/ExampleControlComponent.js +4 -2
- package/cjs/forms/email-field/EmailField.d.ts +1 -1
- package/cjs/forms/input/Input.d.ts +1 -1
- package/cjs/forms/input/Input.js +3 -1
- package/cjs/forms/input/InputComposition.js +11 -6
- package/cjs/forms/label/Label.js +3 -1
- package/cjs/forms/number-field/NumberField.d.ts +1 -1
- package/cjs/forms/password-field/PasswordField.d.ts +1 -1
- package/cjs/forms/password-field/PasswordField.js +3 -3
- package/cjs/forms/radio/Radio.d.ts +1 -1
- package/cjs/forms/radio/Radio.js +3 -1
- package/cjs/forms/reactselect/ReactSelect.js +10 -6
- package/cjs/forms/searchable-select/AsyncSearchableSelect.js +5 -2
- package/cjs/forms/select/Select.d.ts +1 -1
- package/cjs/forms/select/Select.js +3 -1
- package/cjs/forms/select-field/SelectField.d.ts +1 -1
- package/cjs/forms/select-field/SelectField.js +3 -1
- package/cjs/forms/switch/Switch.js +3 -1
- package/cjs/forms/tel-field/TelField.d.ts +1 -1
- package/cjs/forms/text-field/TextField.d.ts +1 -1
- package/cjs/forms/text-field/TextField.js +3 -1
- package/cjs/grid/Column.js +3 -1
- package/cjs/grid/Container.js +3 -1
- package/cjs/ie-banner/IEBanner.js +3 -3
- package/cjs/lists/FeatureList.js +3 -1
- package/cjs/lists/ListAddon.js +3 -1
- package/cjs/lists/ListDivider.js +3 -1
- package/cjs/lists/ListIcon.js +3 -1
- package/cjs/lists/ListItem.js +3 -1
- package/cjs/lists/ListText.js +3 -1
- package/cjs/lists/ListTextGroup.js +3 -1
- package/cjs/lists/ListTitle.js +3 -1
- package/cjs/logo/Logo.js +5 -3
- package/cjs/menu/Menu.js +9 -4
- package/cjs/menu/index.js +2 -2
- package/cjs/nav-bar/NavBar.js +10 -6
- package/cjs/nav-bar/index.js +2 -2
- package/cjs/popper/Popper.js +5 -2
- package/cjs/progress-bar/index.js +2 -2
- package/cjs/schedule/ScheduleList.js +3 -1
- package/cjs/side-sheet/SideSheet.js +8 -5
- package/cjs/side-sheet/SideSheetCloseButton.js +3 -1
- package/cjs/side-sheet/SideSheetContent.js +5 -3
- package/cjs/side-sheet/SideSheetFooter.js +5 -3
- package/cjs/side-sheet/SideSheetHeader.js +5 -3
- package/cjs/side-sheet/index.js +2 -2
- package/cjs/site-layout/SiteLayout.js +9 -4
- package/cjs/site-layout/index.js +2 -2
- package/cjs/skeleton/Skeleton.js +3 -1
- package/cjs/social-media-link-list/SocialMediaLinkList.js +3 -1
- package/cjs/spinner/Spinner.js +3 -1
- package/cjs/spinner/index.js +2 -2
- package/cjs/stepper/Step.js +6 -4
- package/cjs/stepper/Stepper.js +6 -4
- package/cjs/stepper/index.js +2 -2
- package/cjs/styles/index.js +2 -2
- package/cjs/surface/Surface.js +8 -5
- package/cjs/tab/Tab.js +3 -1
- package/cjs/tab/Tabs.js +6 -4
- package/cjs/tab/TabsContext.js +2 -2
- package/cjs/table/Table.js +5 -3
- package/cjs/table/TableBody.js +5 -3
- package/cjs/table/TableDataCell.js +5 -3
- package/cjs/table/TableHead.js +5 -3
- package/cjs/table/TableHeaderCell.js +5 -3
- package/cjs/table/TableRow.js +5 -3
- package/cjs/tooltip/Tooltip.js +3 -1
- package/cjs/typography/Headlines.js +3 -1
- package/common/LockBodyScroll.js +3 -1
- package/common/emotionCloneElement.js +1 -1
- package/common/use-media.js +1 -1
- package/counter/Counter.js +1 -1
- package/counter/PluralCounter.js +3 -2
- package/data-table/DataTable.js +5 -3
- package/date-range-picker/DateRangePicker.js +2 -2
- package/divider/Divider.d.ts +1 -1
- package/divider/Divider.js +2 -1
- package/drawer/Drawer.js +3 -1
- package/dropdown-menu/Dropdown.js +4 -2
- package/dropdown-menu/MenuItem.js +4 -2
- package/flexbox/FlexBox.js +1 -1
- package/forms/checkbox/Checkbox.d.ts +1 -1
- package/forms/checkbox/Checkbox.js +2 -1
- package/forms/checkbox/ExampleControlComponent.js +4 -2
- package/forms/email-field/EmailField.d.ts +1 -1
- package/forms/input/Input.d.ts +1 -1
- package/forms/input/Input.js +2 -1
- package/forms/input/InputComposition.js +8 -4
- package/forms/label/Label.js +2 -1
- package/forms/number-field/NumberField.d.ts +1 -1
- package/forms/password-field/PasswordField.d.ts +1 -1
- package/forms/password-field/PasswordField.js +1 -1
- package/forms/radio/Radio.d.ts +1 -1
- package/forms/radio/Radio.js +2 -1
- package/forms/reactselect/ReactSelect.js +7 -4
- package/forms/searchable-select/AsyncSearchableSelect.js +5 -2
- package/forms/select/Select.d.ts +1 -1
- package/forms/select/Select.js +2 -1
- package/forms/select-field/SelectField.d.ts +1 -1
- package/forms/select-field/SelectField.js +2 -1
- package/forms/switch/Switch.js +2 -1
- package/forms/tel-field/TelField.d.ts +1 -1
- package/forms/text-field/TextField.d.ts +1 -1
- package/forms/text-field/TextField.js +2 -1
- package/grid/Column.js +3 -1
- package/grid/Container.js +2 -1
- package/ie-banner/IEBanner.js +1 -1
- package/lists/FeatureList.js +2 -1
- package/lists/ListAddon.js +3 -1
- package/lists/ListDivider.js +3 -1
- package/lists/ListIcon.js +3 -1
- package/lists/ListItem.js +3 -1
- package/lists/ListText.js +3 -1
- package/lists/ListTextGroup.js +3 -1
- package/lists/ListTitle.js +3 -1
- package/logo/Logo.js +2 -1
- package/menu/Menu.js +8 -4
- package/nav-bar/NavBar.js +7 -4
- package/package.json +9 -9
- package/popper/Popper.js +5 -2
- package/schedule/ScheduleList.js +3 -1
- package/side-sheet/SideSheet.js +6 -3
- package/side-sheet/SideSheetCloseButton.js +3 -1
- package/side-sheet/SideSheetContent.js +3 -1
- package/side-sheet/SideSheetFooter.js +3 -1
- package/side-sheet/SideSheetHeader.js +3 -1
- package/site-layout/SiteLayout.js +8 -4
- package/skeleton/Skeleton.js +3 -1
- package/social-media-link-list/SocialMediaLinkList.js +2 -1
- package/spinner/Spinner.js +2 -1
- package/stepper/Step.js +4 -2
- package/stepper/Stepper.js +5 -3
- package/surface/Surface.js +6 -3
- package/tab/Tab.js +2 -1
- package/tab/Tabs.js +3 -2
- package/table/Table.js +3 -1
- package/table/TableBody.js +3 -1
- package/table/TableDataCell.js +3 -1
- package/table/TableHead.js +3 -1
- package/table/TableHeaderCell.js +3 -1
- package/table/TableRow.js +3 -1
- package/tooltip/Tooltip.js +2 -1
- package/typography/Headlines.js +2 -1
|
@@ -35,5 +35,5 @@ export declare type CheckboxProps = BaseProps & {
|
|
|
35
35
|
indeterminate?: boolean;
|
|
36
36
|
leadingLabel?: boolean;
|
|
37
37
|
};
|
|
38
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<CheckboxProps, "max" | "required" | "error" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "pattern" | "disabled" | "
|
|
38
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<CheckboxProps, "max" | "required" | "type" | "error" | "key" | "id" | "height" | "width" | "name" | "color" | "translate" | "value" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "src" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "maxLength" | "min" | "minLength" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "readOnly" | "step" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "indeterminate" | "leadingLabel" | "onLabelClick" | "htmlSize"> & React.RefAttributes<HTMLInputElement>>;
|
|
39
39
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["children", "className", "error", "checked", "disabled", "indeterminate", "onChange", "onLabelClick", "size", "htmlSize", "leadingLabel"];
|
|
2
3
|
|
|
3
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
5
|
|
|
@@ -112,7 +113,7 @@ var Checkbox = function Checkbox(_ref2, ref) {
|
|
|
112
113
|
size = _ref2$size === void 0 ? 'medium' : _ref2$size,
|
|
113
114
|
htmlSize = _ref2.htmlSize,
|
|
114
115
|
leadingLabel = _ref2.leadingLabel,
|
|
115
|
-
rest = _objectWithoutProperties(_ref2,
|
|
116
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
116
117
|
|
|
117
118
|
return ___EmotionJSX(Label, {
|
|
118
119
|
hasError: error,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["checked", "children"];
|
|
2
|
+
|
|
1
3
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
4
|
|
|
3
5
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
@@ -8,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
10
|
|
|
9
11
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
10
12
|
|
|
11
|
-
function _iterableToArrayLimit(arr, i) {
|
|
13
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
12
14
|
|
|
13
15
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
16
|
|
|
@@ -23,7 +25,7 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
|
23
25
|
var ExampleControlComponent = function ExampleControlComponent(_ref) {
|
|
24
26
|
var defaultChecked = _ref.checked,
|
|
25
27
|
children = _ref.children,
|
|
26
|
-
rest = _objectWithoutProperties(_ref,
|
|
28
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
27
29
|
|
|
28
30
|
var _React$useState = React.useState(defaultChecked),
|
|
29
31
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextFieldProps } from '../text-field/TextField';
|
|
3
|
-
declare const _default: import("@emotion/styled").StyledComponent<Pick<TextFieldProps, "max" | "required" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "disabled" | "
|
|
3
|
+
declare const _default: import("@emotion/styled").StyledComponent<Pick<TextFieldProps, "max" | "required" | "type" | "key" | "id" | "height" | "width" | "name" | "color" | "translate" | "value" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "src" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "maxLength" | "min" | "minLength" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "readOnly" | "step" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "inverted" | "hideAsterisk" | "assistiveText" | "hintText" | "errorMessage"> & React.RefAttributes<HTMLInputElement> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
export default _default;
|
package/forms/input/Input.d.ts
CHANGED
|
@@ -15,5 +15,5 @@ interface InputProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttribu
|
|
|
15
15
|
size?: Size;
|
|
16
16
|
htmlSize?: number;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<InputProps, "max" | "required" | "error" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "pattern" | "disabled" | "
|
|
18
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<InputProps, "max" | "required" | "type" | "error" | "key" | "id" | "height" | "width" | "name" | "color" | "translate" | "value" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "src" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "maxLength" | "min" | "minLength" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "readOnly" | "step" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "multiline" | "htmlSize" | "placeholderAlignment" | "wrapperClassName" | "iconAlignment"> & React.RefAttributes<HTMLInputElement>>;
|
|
19
19
|
export default _default;
|
package/forms/input/Input.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["name", "multiline", "error", "icon", "placeholder", "placeholderAlignment", "wrapperClassName", "size", "htmlSize", "disabled"];
|
|
2
3
|
|
|
3
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
5
|
|
|
@@ -146,7 +147,7 @@ var Input = function Input(props, ref) {
|
|
|
146
147
|
size = _props$size === void 0 ? 'medium' : _props$size,
|
|
147
148
|
htmlSize = props.htmlSize,
|
|
148
149
|
disabled = props.disabled,
|
|
149
|
-
rest = _objectWithoutProperties(props,
|
|
150
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
150
151
|
|
|
151
152
|
return ___EmotionJSX(Wrapper, {
|
|
152
153
|
className: wrapperClassName
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["visualSize", "children"],
|
|
3
|
+
_excluded2 = ["className", "icon", "color", "size"],
|
|
4
|
+
_excluded3 = ["className", "children"],
|
|
5
|
+
_excluded4 = ["error", "disabled"];
|
|
2
6
|
|
|
3
7
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
8
|
|
|
@@ -65,7 +69,7 @@ export var InputComposition = function InputComposition(_ref2) {
|
|
|
65
69
|
var _ref2$visualSize = _ref2.visualSize,
|
|
66
70
|
visualSize = _ref2$visualSize === void 0 ? 'medium' : _ref2$visualSize,
|
|
67
71
|
children = _ref2.children,
|
|
68
|
-
rest = _objectWithoutProperties(_ref2,
|
|
72
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
69
73
|
|
|
70
74
|
return ___EmotionJSX("div", _extends({
|
|
71
75
|
css: /*#__PURE__*/css("display:flex;position:relative;align-items:center;font-family:", theme.fontFamilies.system, ";background-color:", theme.colors.surface.primary, ";line-height:1.25;", sizeStyles({
|
|
@@ -80,7 +84,7 @@ var Icon = function Icon(_ref3) {
|
|
|
80
84
|
color = _ref3.color,
|
|
81
85
|
_ref3$size = _ref3.size,
|
|
82
86
|
size = _ref3$size === void 0 ? 'medium' : _ref3$size,
|
|
83
|
-
rest = _objectWithoutProperties(_ref3,
|
|
87
|
+
rest = _objectWithoutProperties(_ref3, _excluded2);
|
|
84
88
|
|
|
85
89
|
return ___EmotionJSX("span", {
|
|
86
90
|
className: className
|
|
@@ -97,7 +101,7 @@ export var InputIcon = /*#__PURE__*/_styled(Icon, process.env.NODE_ENV === "prod
|
|
|
97
101
|
var Addon = function Addon(_ref4) {
|
|
98
102
|
var className = _ref4.className,
|
|
99
103
|
children = _ref4.children,
|
|
100
|
-
rest = _objectWithoutProperties(_ref4,
|
|
104
|
+
rest = _objectWithoutProperties(_ref4, _excluded3);
|
|
101
105
|
|
|
102
106
|
return ___EmotionJSX("span", _extends({
|
|
103
107
|
className: className
|
|
@@ -139,7 +143,7 @@ var InputElement = _styled("input", process.env.NODE_ENV === "production" ? {
|
|
|
139
143
|
export var InputControl = /*#__PURE__*/forwardRef(function (_ref6, ref) {
|
|
140
144
|
var error = _ref6.error,
|
|
141
145
|
disabled = _ref6.disabled,
|
|
142
|
-
rest = _objectWithoutProperties(_ref6,
|
|
146
|
+
rest = _objectWithoutProperties(_ref6, _excluded4);
|
|
143
147
|
|
|
144
148
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(InputElement, _extends({
|
|
145
149
|
"aria-invalid": error,
|
package/forms/label/Label.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["required", "children", "hideAsterisk"];
|
|
2
3
|
|
|
3
4
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
5
|
|
|
@@ -45,7 +46,7 @@ var Label = function Label(_ref) {
|
|
|
45
46
|
var required = _ref.required,
|
|
46
47
|
children = _ref.children,
|
|
47
48
|
hideAsterisk = _ref.hideAsterisk,
|
|
48
|
-
rest = _objectWithoutProperties(_ref,
|
|
49
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
49
50
|
|
|
50
51
|
return ___EmotionJSX(LabelTag, rest, children, required && !hideAsterisk && ___EmotionJSX(Asterisk, null));
|
|
51
52
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextFieldProps } from '../text-field/TextField';
|
|
3
|
-
declare const _default: import("@emotion/styled").StyledComponent<Pick<TextFieldProps, "max" | "required" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "disabled" | "
|
|
3
|
+
declare const _default: import("@emotion/styled").StyledComponent<Pick<TextFieldProps, "max" | "required" | "type" | "key" | "id" | "height" | "width" | "name" | "color" | "translate" | "value" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "src" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "maxLength" | "min" | "minLength" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "readOnly" | "step" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "inverted" | "hideAsterisk" | "assistiveText" | "hintText" | "errorMessage"> & React.RefAttributes<HTMLInputElement> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextFieldProps } from '../text-field/TextField';
|
|
3
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<TextFieldProps, "max" | "required" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "disabled" | "
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<TextFieldProps, "max" | "required" | "type" | "key" | "id" | "height" | "width" | "name" | "color" | "translate" | "value" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "src" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "maxLength" | "min" | "minLength" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "readOnly" | "step" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "inverted" | "hideAsterisk" | "assistiveText" | "hintText" | "errorMessage"> & React.RefAttributes<HTMLInputElement>>;
|
|
4
4
|
export default _default;
|
|
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
|
|
11
11
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
12
12
|
|
|
13
|
-
function _iterableToArrayLimit(arr, i) {
|
|
13
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
14
14
|
|
|
15
15
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
16
16
|
|
package/forms/radio/Radio.d.ts
CHANGED
|
@@ -31,5 +31,5 @@ export declare type RadioProps = BaseProps & {
|
|
|
31
31
|
checked?: boolean;
|
|
32
32
|
size?: Size;
|
|
33
33
|
};
|
|
34
|
-
declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "max" | "required" | "error" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "pattern" | "disabled" | "
|
|
34
|
+
declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "max" | "required" | "type" | "error" | "key" | "id" | "height" | "width" | "name" | "color" | "translate" | "value" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "pattern" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "enterKeyHint" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "src" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "maxLength" | "min" | "minLength" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "readOnly" | "step" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "htmlSize"> & React.RefAttributes<HTMLInputElement>>;
|
|
35
35
|
export default Radio;
|
package/forms/radio/Radio.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["children", "disabled", "checked", "className", "error", "onChange", "htmlSize", "size"];
|
|
2
3
|
|
|
3
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
5
|
|
|
@@ -88,7 +89,7 @@ var Radio = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
88
89
|
htmlSize = _ref2.htmlSize,
|
|
89
90
|
_ref2$size = _ref2.size,
|
|
90
91
|
size = _ref2$size === void 0 ? 'medium' : _ref2$size,
|
|
91
|
-
rest = _objectWithoutProperties(_ref2,
|
|
92
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
92
93
|
|
|
93
94
|
return ___EmotionJSX(Label, {
|
|
94
95
|
hasError: error,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["ref"],
|
|
3
|
+
_excluded2 = ["name", "error", "selectClassName", "className", "icon", "disabled", "size", "arrow", "htmlSize", "isClearable", "components", "menuPlacement"],
|
|
4
|
+
_excluded3 = ["ref"];
|
|
2
5
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
6
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
4
7
|
|
|
5
8
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
6
9
|
|
|
@@ -83,7 +86,7 @@ export var ClearIndicator = function ClearIndicator(props) {
|
|
|
83
86
|
getStyles = props.getStyles,
|
|
84
87
|
_props$innerProps = props.innerProps,
|
|
85
88
|
ref = _props$innerProps.ref,
|
|
86
|
-
restInnerProps = _objectWithoutProperties(_props$innerProps,
|
|
89
|
+
restInnerProps = _objectWithoutProperties(_props$innerProps, _excluded);
|
|
87
90
|
|
|
88
91
|
return ___EmotionJSX("div", _extends({}, restInnerProps, {
|
|
89
92
|
ref: ref,
|
|
@@ -112,7 +115,7 @@ var ReactSelect = function ReactSelect(_ref2, ref) {
|
|
|
112
115
|
components = _ref2.components,
|
|
113
116
|
_ref2$menuPlacement = _ref2.menuPlacement,
|
|
114
117
|
menuPlacement = _ref2$menuPlacement === void 0 ? 'auto' : _ref2$menuPlacement,
|
|
115
|
-
rest = _objectWithoutProperties(_ref2,
|
|
118
|
+
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
116
119
|
|
|
117
120
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
118
121
|
var _props$children2 = props.children,
|
|
@@ -123,7 +126,7 @@ var ReactSelect = function ReactSelect(_ref2, ref) {
|
|
|
123
126
|
getStyles = props.getStyles,
|
|
124
127
|
_props$innerProps2 = props.innerProps,
|
|
125
128
|
ref = _props$innerProps2.ref,
|
|
126
|
-
restInnerProps = _objectWithoutProperties(_props$innerProps2,
|
|
129
|
+
restInnerProps = _objectWithoutProperties(_props$innerProps2, _excluded3);
|
|
127
130
|
|
|
128
131
|
return ___EmotionJSX("div", _extends({}, restInnerProps, {
|
|
129
132
|
ref: ref,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var _excluded = ["name", "error", "selectClassName", "className", "icon", "disabled", "size", "arrow", "htmlSize", "handleInputChange", "loadOptions", "onBlur", "onFocus", "onChange", "assistiveText", "autoFocus"],
|
|
2
|
+
_excluded2 = ["ref"];
|
|
3
|
+
|
|
1
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
5
|
|
|
3
6
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
@@ -33,7 +36,7 @@ var AsyncSearchableSelect = function AsyncSearchableSelect(_ref) {
|
|
|
33
36
|
onChange = _ref.onChange,
|
|
34
37
|
assistiveText = _ref.assistiveText,
|
|
35
38
|
autoFocus = _ref.autoFocus,
|
|
36
|
-
rest = _objectWithoutProperties(_ref,
|
|
39
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
37
40
|
|
|
38
41
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
39
42
|
var _props$children = props.children,
|
|
@@ -44,7 +47,7 @@ var AsyncSearchableSelect = function AsyncSearchableSelect(_ref) {
|
|
|
44
47
|
getStyles = props.getStyles,
|
|
45
48
|
_props$innerProps = props.innerProps,
|
|
46
49
|
ref = _props$innerProps.ref,
|
|
47
|
-
restInnerProps = _objectWithoutProperties(_props$innerProps,
|
|
50
|
+
restInnerProps = _objectWithoutProperties(_props$innerProps, _excluded2);
|
|
48
51
|
|
|
49
52
|
return ___EmotionJSX("div", _extends({}, restInnerProps, {
|
|
50
53
|
ref: ref,
|
package/forms/select/Select.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export declare type SelectProps = BaseSelectProps & {
|
|
|
12
12
|
size?: Size;
|
|
13
13
|
htmlSize?: number;
|
|
14
14
|
};
|
|
15
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<SelectProps, "required" | "error" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "disabled" | "
|
|
15
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<SelectProps, "required" | "error" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "autoComplete" | "autoFocus" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "htmlSize" | "wrapperClassName"> & React.RefAttributes<HTMLSelectElement>>;
|
|
16
16
|
export default _default;
|
package/forms/select/Select.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["name", "error", "wrapperClassName", "icon", "size", "htmlSize", "disabled"];
|
|
2
3
|
|
|
3
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
5
|
|
|
@@ -100,7 +101,7 @@ var Select = function Select(props, ref) {
|
|
|
100
101
|
size = _props$size === void 0 ? 'medium' : _props$size,
|
|
101
102
|
htmlSize = props.htmlSize,
|
|
102
103
|
disabled = props.disabled,
|
|
103
|
-
rest = _objectWithoutProperties(props,
|
|
104
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
104
105
|
|
|
105
106
|
return ___EmotionJSX(Wrapper, {
|
|
106
107
|
className: wrapperClassName
|
|
@@ -11,7 +11,7 @@ declare type SelectFieldProps = SelectProps & {
|
|
|
11
11
|
inverted?: boolean;
|
|
12
12
|
as?: React.ElementType;
|
|
13
13
|
};
|
|
14
|
-
declare const _default: import("@emotion/styled").StyledComponent<Pick<SelectFieldProps, "required" | "error" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "disabled" | "
|
|
14
|
+
declare const _default: import("@emotion/styled").StyledComponent<Pick<SelectFieldProps, "required" | "error" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "disabled" | "multiple" | "size" | "icon" | "as" | "autoComplete" | "autoFocus" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "selected" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "inverted" | "htmlSize" | "assistiveText" | "wrapperClassName" | "errorMessage"> & React.RefAttributes<HTMLInputElement> & {
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
16
|
}, {}, {}>;
|
|
17
17
|
export default _default;
|