@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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["label", "assistiveText", "selected", "required", "errorMessage", "className", "inverted", "size", "name", "value"];
|
|
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
|
|
|
@@ -67,7 +68,7 @@ var SelectField = function SelectField(props, ref) {
|
|
|
67
68
|
size = props.size,
|
|
68
69
|
name = props.name,
|
|
69
70
|
value = props.value,
|
|
70
|
-
rest = _objectWithoutProperties(props,
|
|
71
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
71
72
|
|
|
72
73
|
var fieldName = name || uuid();
|
|
73
74
|
return ___EmotionJSX("div", {
|
package/forms/switch/Switch.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["name", "checked", "onChange", "disabled", "children", "right", "error", "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
|
|
|
@@ -131,7 +132,7 @@ var Switch = function Switch(_ref4) {
|
|
|
131
132
|
error = _ref4$error === void 0 ? false : _ref4$error,
|
|
132
133
|
_ref4$size = _ref4.size,
|
|
133
134
|
size = _ref4$size === void 0 ? 'medium' : _ref4$size,
|
|
134
|
-
rest = _objectWithoutProperties(_ref4,
|
|
135
|
+
rest = _objectWithoutProperties(_ref4, _excluded);
|
|
135
136
|
|
|
136
137
|
return ___EmotionJSX(Label, _extends({
|
|
137
138
|
right: right
|
|
@@ -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;
|
|
@@ -20,7 +20,7 @@ export declare type TextFieldProps = BaseInputProps & {
|
|
|
20
20
|
hideAsterisk?: boolean;
|
|
21
21
|
};
|
|
22
22
|
export declare const TextField: React.ForwardRefRenderFunction<HTMLInputElement, TextFieldProps>;
|
|
23
|
-
declare const _default: import("@emotion/styled").StyledComponent<Pick<TextFieldProps, "max" | "required" | "hidden" | "dir" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "disabled" | "
|
|
23
|
+
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> & {
|
|
24
24
|
theme?: import("@emotion/react").Theme | undefined;
|
|
25
25
|
}, {}, {}>;
|
|
26
26
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["label", "name", "hintText", "disabled", "defaultValue", "assistiveText", "required", "errorMessage", "className", "inverted", "size", "type", "hideAsterisk"];
|
|
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
|
|
|
@@ -70,7 +71,7 @@ export var TextField = function TextField(props, ref) {
|
|
|
70
71
|
size = props.size,
|
|
71
72
|
type = props.type,
|
|
72
73
|
hideAsterisk = props.hideAsterisk,
|
|
73
|
-
rest = _objectWithoutProperties(props,
|
|
74
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
74
75
|
|
|
75
76
|
var fieldName = name || uuid();
|
|
76
77
|
return ___EmotionJSX("div", {
|
package/grid/Column.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["children", "m", "l", "xl", "xxl"];
|
|
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 _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; }
|
|
@@ -14,7 +16,7 @@ var Column = function Column(_ref) {
|
|
|
14
16
|
l = _ref.l,
|
|
15
17
|
xl = _ref.xl,
|
|
16
18
|
xxl = _ref.xxl,
|
|
17
|
-
rest = _objectWithoutProperties(_ref,
|
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
18
20
|
|
|
19
21
|
return ___EmotionJSX(Grid, _extends({
|
|
20
22
|
item: true,
|
package/grid/Container.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { css as _css } from "@emotion/react";
|
|
2
2
|
import _styled from "@emotion/styled/base";
|
|
3
|
+
var _excluded = ["children", "fluid", "surface"];
|
|
3
4
|
|
|
4
5
|
var _root;
|
|
5
6
|
|
|
@@ -66,7 +67,7 @@ var Container = function Container(_ref) {
|
|
|
66
67
|
var children = _ref.children,
|
|
67
68
|
fluid = _ref.fluid,
|
|
68
69
|
surface = _ref.surface,
|
|
69
|
-
rest = _objectWithoutProperties(_ref,
|
|
70
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
70
71
|
|
|
71
72
|
return ___EmotionJSX(MuiThemeProvider, {
|
|
72
73
|
theme: theme
|
package/ie-banner/IEBanner.js
CHANGED
|
@@ -6,7 +6,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
6
6
|
|
|
7
7
|
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; }
|
|
8
8
|
|
|
9
|
-
function _iterableToArrayLimit(arr, i) {
|
|
9
|
+
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; }
|
|
10
10
|
|
|
11
11
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
12
|
|
package/lists/FeatureList.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["icon", "items", "iconColor", "textTag"];
|
|
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
|
|
|
@@ -25,7 +26,7 @@ var FeatureList = function FeatureList(_ref2) {
|
|
|
25
26
|
iconColor = _ref2.iconColor,
|
|
26
27
|
_ref2$textTag = _ref2.textTag,
|
|
27
28
|
textTag = _ref2$textTag === void 0 ? 'p' : _ref2$textTag,
|
|
28
|
-
rest = _objectWithoutProperties(_ref2,
|
|
29
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
29
30
|
|
|
30
31
|
var list = items.map(function (item, i) {
|
|
31
32
|
var TextTag = textTag;
|
package/lists/ListAddon.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["className", "as", "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 _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; }
|
|
@@ -15,7 +17,7 @@ var ListAddon = function ListAddon(_ref) {
|
|
|
15
17
|
_ref$as = _ref.as,
|
|
16
18
|
as = _ref$as === void 0 ? 'span' : _ref$as,
|
|
17
19
|
children = _ref.children,
|
|
18
|
-
rest = _objectWithoutProperties(_ref,
|
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
19
21
|
|
|
20
22
|
var Component = as;
|
|
21
23
|
return ___EmotionJSX(ListIcon, _extends({
|
package/lists/ListDivider.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["indent", "margins", "as"];
|
|
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 _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; }
|
|
@@ -15,7 +17,7 @@ var ListDivider = function ListDivider(_ref) {
|
|
|
15
17
|
margins = _ref.margins,
|
|
16
18
|
_ref$as = _ref.as,
|
|
17
19
|
as = _ref$as === void 0 ? 'hr' : _ref$as,
|
|
18
|
-
rest = _objectWithoutProperties(_ref,
|
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
19
21
|
|
|
20
22
|
return ___EmotionJSX(Divider, _extends({
|
|
21
23
|
indent: indent,
|
package/lists/ListIcon.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["icon", "size", "color"];
|
|
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 _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; }
|
|
@@ -37,7 +39,7 @@ var ListIcon = function ListIcon(_ref2) {
|
|
|
37
39
|
size = _ref2$size === void 0 ? 'large' : _ref2$size,
|
|
38
40
|
_ref2$color = _ref2.color,
|
|
39
41
|
color = _ref2$color === void 0 ? theme.colors.text.dark.primary : _ref2$color,
|
|
40
|
-
rest = _objectWithoutProperties(_ref2,
|
|
42
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
41
43
|
|
|
42
44
|
return ___EmotionJSX(Icon, _extends({
|
|
43
45
|
css: listIconStyles({
|
package/lists/ListItem.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["children", "multiline", "condensed", "selected", "tabIndex", "clickable", "divider", "onClick", "as", "flexBoxProps"];
|
|
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 _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; }
|
|
@@ -44,7 +46,7 @@ var ListItem = function ListItem(_ref2) {
|
|
|
44
46
|
flexBoxProps = _ref2$flexBoxProps === void 0 ? {
|
|
45
47
|
itemsCenter: true
|
|
46
48
|
} : _ref2$flexBoxProps,
|
|
47
|
-
rest = _objectWithoutProperties(_ref2,
|
|
49
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
48
50
|
|
|
49
51
|
var Component = as;
|
|
50
52
|
return ___EmotionJSX(Component, _extends({
|
package/lists/ListText.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["styledAs", "color", "fontWeight", "size", "fontFamily"];
|
|
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 _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; }
|
|
@@ -52,7 +54,7 @@ var ListText = function ListText(_ref2) {
|
|
|
52
54
|
fontWeight = _ref2.fontWeight,
|
|
53
55
|
size = _ref2.size,
|
|
54
56
|
fontFamily = _ref2.fontFamily,
|
|
55
|
-
rest = _objectWithoutProperties(_ref2,
|
|
57
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
56
58
|
|
|
57
59
|
return ___EmotionJSX(Text, _extends({
|
|
58
60
|
as: "span",
|
package/lists/ListTextGroup.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["flexBoxProps", "as"];
|
|
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 _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; }
|
|
@@ -19,7 +21,7 @@ var ListTextGroup = function ListTextGroup(_ref) {
|
|
|
19
21
|
} : _ref$flexBoxProps,
|
|
20
22
|
_ref$as = _ref.as,
|
|
21
23
|
as = _ref$as === void 0 ? 'span' : _ref$as,
|
|
22
|
-
rest = _objectWithoutProperties(_ref,
|
|
24
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
23
25
|
|
|
24
26
|
var Component = as;
|
|
25
27
|
return ___EmotionJSX(Component, _extends({
|
package/lists/ListTitle.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["as"];
|
|
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 _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; }
|
|
@@ -24,7 +26,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
24
26
|
var ListTitle = function ListTitle(_ref2) {
|
|
25
27
|
var _ref2$as = _ref2.as,
|
|
26
28
|
as = _ref2$as === void 0 ? 'div' : _ref2$as,
|
|
27
|
-
rest = _objectWithoutProperties(_ref2,
|
|
29
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
28
30
|
|
|
29
31
|
return ___EmotionJSX(ListItem, _extends({
|
|
30
32
|
as: as,
|
package/logo/Logo.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["logoContainerProps"];
|
|
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
|
|
|
@@ -24,7 +25,7 @@ var LogoContainer = _styled("div", process.env.NODE_ENV === "production" ? {
|
|
|
24
25
|
|
|
25
26
|
var Logo = function Logo(_ref) {
|
|
26
27
|
var logoContainerProps = _ref.logoContainerProps,
|
|
27
|
-
rest = _objectWithoutProperties(_ref,
|
|
28
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
28
29
|
|
|
29
30
|
return logoContainerProps ? ___EmotionJSX(LogoContainer, logoContainerProps, ___EmotionJSX(SvgDfdsLogo, _extends({
|
|
30
31
|
"data-testid": "Logo"
|
package/menu/Menu.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["children"],
|
|
3
|
+
_excluded2 = ["children", "onClick"],
|
|
4
|
+
_excluded3 = ["children"],
|
|
5
|
+
_excluded4 = ["children", "url"];
|
|
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
|
|
|
@@ -14,7 +18,7 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
|
14
18
|
var menuStyles = /*#__PURE__*/css("background-color:", theme.colors.surface.primary, ";padding:", rem(15), " ", rem(20), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:menuStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9tZW51L01lbnUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1zQiIsImZpbGUiOiIuLi8uLi9zcmMvbWVudS9NZW51LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgdGhlbWUgfSBmcm9tICdAZGZkcy11aS90aGVtZSdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgcmVtIH0gZnJvbSAnLi4vc3R5bGVzL3JlbSdcblxuY29uc3QgbWVudVN0eWxlcyA9IGNzc2BcbiAgYmFja2dyb3VuZC1jb2xvcjogJHt0aGVtZS5jb2xvcnMuc3VyZmFjZS5wcmltYXJ5fTtcbiAgcGFkZGluZzogJHtyZW0oMTUpfSAke3JlbSgyMCl9O1xuYFxuXG5jb25zdCBNZW51ID0gUmVhY3QuZm9yd2FyZFJlZigoeyBjaGlsZHJlbiwgLi4ucmVzdCB9LCByZWY6IFJlYWN0LlJlZjxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNzcz17bWVudVN0eWxlc30gcmVmPXtyZWZ9IHsuLi5yZXN0fT5cbiAgICAgIHtjaGlsZHJlbn1cbiAgICA8L2Rpdj5cbiAgKVxufSlcblxuZXhwb3J0IHR5cGUgTWVudUl0ZW1Qcm9wcyA9IFJlYWN0LkRldGFpbGVkSFRNTFByb3BzPFJlYWN0LkhUTUxBdHRyaWJ1dGVzPEhUTUxEaXZFbGVtZW50PiwgSFRNTERpdkVsZW1lbnQ+ICYge1xuICAvLyBSZWFjdC5IVE1MQXR0cmlidXRlczxIVE1MRGl2RWxlbWVudD4gJiB7XG4gIGNoaWxkcmVuPzogUmVhY3QuUmVhY3ROb2RlXG4gIG9uQ2xpY2s6IFJlYWN0Lk1vdXNlRXZlbnRIYW5kbGVyPEhUTUxEaXZFbGVtZW50PlxufVxuXG5jb25zdCBtZW51SXRlbVN0eWxlcyA9IGNzc2BcbiAgcGFkZGluZzogMC40cmVtIDAgMC4zcmVtIDA7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZvbnQtc2l6ZTogMXJlbTtcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgY29sb3I6ICR7dGhlbWUuY29sb3JzLnNlY29uZGFyeS5tYWlufTtcbiAgJjpob3ZlciB7XG4gICAgY29sb3I6ICR7dGhlbWUuY29sb3JzLnNlY29uZGFyeS5kYXJrfTtcbiAgfVxuYFxuXG5jb25zdCBNZW51SXRlbTogUmVhY3QuRkM8TWVudUl0ZW1Qcm9wcz4gPSAoeyBjaGlsZHJlbiwgb25DbGljaywgLi4ucmVzdCB9KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdiBjc3M9e21lbnVJdGVtU3R5bGVzfSBvbkNsaWNrPXtvbkNsaWNrfSB7Li4ucmVzdH0+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9kaXY+XG4gIClcbn1cblxuY29uc3QgaGVhZGVySXRlbVN0eWxlcyA9IGNzc2BcbiAgZGlzcGxheTogYmxvY2s7XG4gIGZvbnQtc2l6ZTogMS44cmVtO1xuICBmb250LXdlaWdodDogYm9sZDtcbiAgbWFyZ2luLWJvdHRvbTogJHtyZW0oMTUpfTtcbiAgY29sb3I6ICR7dGhlbWUuY29sb3JzLnRleHQuZGFyay5wcmltYXJ5fTtcbmBcblxuY29uc3QgSGVhZGVySXRlbSA9ICh7IGNoaWxkcmVuLCAuLi5yZXN0IH06IHsgY2hpbGRyZW4/OiBSZWFjdC5SZWFjdE5vZGUgfSkgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXYgY3NzPXtoZWFkZXJJdGVtU3R5bGVzfSB7Li4ucmVzdH0+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9kaXY+XG4gIClcbn1cblxuY29uc3QgU2VwYXJhdG9ySXRlbSA9IHN0eWxlZC5kaXZgXG4gIGJvcmRlci10b3A6IDFweCBzb2xpZCAke3RoZW1lLmNvbG9ycy5wcmltYXJ5LmxpZ2h0fTtcbiAgaGVpZ2h0OiAwLjFyZW07XG4gIG1hcmdpbjogMC41cmVtIDAuNXJlbSAwLjVyZW0gMC41cmVtO1xuICBvcGFjaXR5OiAwLjE1O1xuYFxuXG5jb25zdCBsaW5rSXRlbVN0eWxlcyA9IGNzc2BcbiAgJHttZW51SXRlbVN0eWxlc31cbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLmNvbG9ycy5zZWNvbmRhcnkubGlnaHR9O1xuICB9XG5gXG5cbi8vIFRPRE86IEFkZCBcImFzXCIgcHJvcCBmb3IgaW5qZWN0IGEgQ29tcG9uZW50T3JFbGVtZW50IGZvciByZW5kZXJpbmcgdGhlIGxpbmtcbmNvbnN0IExpbmtJdGVtOiBSZWFjdC5GdW5jdGlvbkNvbXBvbmVudDx7IHVybDogc3RyaW5nIH0+ID0gKHsgY2hpbGRyZW4sIHVybCwgLi4ucmVzdCB9KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGEgY3NzPXtsaW5rSXRlbVN0eWxlc30gaHJlZj17dXJsfSB7Li4ucmVzdH0+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9hPlxuICApXG59XG5cbmNvbnN0IEN1c3RvbUl0ZW0gPSAoeyByZW5kZXIgfTogeyByZW5kZXI6ICgpID0+IFJlYWN0LlJlYWN0Tm9kZSB9KSA9PiB7XG4gIHJldHVybiByZW5kZXIoKVxufVxuXG4vLyBUT0RPOiByZWZhY3RvciB0byB1c2Ugc2VwYXJhdGUgZXhwb3J0c1xuY29uc3QgbWVudSA9IE1lbnUgYXMgYW55XG5tZW51Lkl0ZW0gPSBNZW51SXRlbVxubWVudS5IZWFkZXIgPSBIZWFkZXJJdGVtXG5tZW51LkxpbmsgPSBMaW5rSXRlbVxubWVudS5DdXN0cm9tID0gQ3VzdG9tSXRlbVxubWVudS5TZXBhcmF0b3IgPSBTZXBhcmF0b3JJdGVtXG5cbmV4cG9ydCBkZWZhdWx0IG1lbnVcbiJdfQ== */");
|
|
15
19
|
var Menu = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16
20
|
var children = _ref.children,
|
|
17
|
-
rest = _objectWithoutProperties(_ref,
|
|
21
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
18
22
|
|
|
19
23
|
return ___EmotionJSX("div", _extends({
|
|
20
24
|
css: menuStyles,
|
|
@@ -26,7 +30,7 @@ var menuItemStyles = /*#__PURE__*/css("padding:0.4rem 0 0.3rem 0;display:flex;fo
|
|
|
26
30
|
var MenuItem = function MenuItem(_ref2) {
|
|
27
31
|
var children = _ref2.children,
|
|
28
32
|
onClick = _ref2.onClick,
|
|
29
|
-
rest = _objectWithoutProperties(_ref2,
|
|
33
|
+
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
30
34
|
|
|
31
35
|
return ___EmotionJSX("div", _extends({
|
|
32
36
|
css: menuItemStyles,
|
|
@@ -38,7 +42,7 @@ var headerItemStyles = /*#__PURE__*/css("display:block;font-size:1.8rem;font-wei
|
|
|
38
42
|
|
|
39
43
|
var HeaderItem = function HeaderItem(_ref3) {
|
|
40
44
|
var children = _ref3.children,
|
|
41
|
-
rest = _objectWithoutProperties(_ref3,
|
|
45
|
+
rest = _objectWithoutProperties(_ref3, _excluded3);
|
|
42
46
|
|
|
43
47
|
return ___EmotionJSX("div", _extends({
|
|
44
48
|
css: headerItemStyles
|
|
@@ -57,7 +61,7 @@ var linkItemStyles = /*#__PURE__*/css(menuItemStyles, " text-decoration:none;&:h
|
|
|
57
61
|
var LinkItem = function LinkItem(_ref4) {
|
|
58
62
|
var children = _ref4.children,
|
|
59
63
|
url = _ref4.url,
|
|
60
|
-
rest = _objectWithoutProperties(_ref4,
|
|
64
|
+
rest = _objectWithoutProperties(_ref4, _excluded4);
|
|
61
65
|
|
|
62
66
|
return ___EmotionJSX("a", _extends({
|
|
63
67
|
css: linkItemStyles,
|
package/nav-bar/NavBar.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
+
var _excluded = ["href", "className", "showLogo", "children"],
|
|
3
|
+
_excluded2 = ["children", "className", "href", "as"],
|
|
4
|
+
_excluded3 = ["children", "alignment", "menu", "onClick", "closeMenuOnClick"];
|
|
2
5
|
|
|
3
6
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
4
7
|
|
|
@@ -8,7 +11,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
11
|
|
|
9
12
|
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
13
|
|
|
11
|
-
function _iterableToArrayLimit(arr, i) {
|
|
14
|
+
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
15
|
|
|
13
16
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
17
|
|
|
@@ -50,7 +53,7 @@ var NavBar = function NavBar(_ref) {
|
|
|
50
53
|
className = _ref.className,
|
|
51
54
|
showLogo = _ref.showLogo,
|
|
52
55
|
children = _ref.children,
|
|
53
|
-
rest = _objectWithoutProperties(_ref,
|
|
56
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
54
57
|
|
|
55
58
|
return ___EmotionJSX(NavBarContainer, _extends({
|
|
56
59
|
className: className,
|
|
@@ -82,7 +85,7 @@ export var NavBarItem = function NavBarItem(_ref2) {
|
|
|
82
85
|
className = _ref2.className,
|
|
83
86
|
href = _ref2.href,
|
|
84
87
|
renderAs = _ref2.as,
|
|
85
|
-
rest = _objectWithoutProperties(_ref2,
|
|
88
|
+
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
86
89
|
|
|
87
90
|
return ___EmotionJSX(ItemAnchor, _extends({
|
|
88
91
|
as: renderAs,
|
|
@@ -124,7 +127,7 @@ export var NavBarIcon = function NavBarIcon(_ref3) {
|
|
|
124
127
|
onClick = _ref3.onClick,
|
|
125
128
|
_ref3$closeMenuOnClic = _ref3.closeMenuOnClick,
|
|
126
129
|
closeMenuOnClick = _ref3$closeMenuOnClic === void 0 ? true : _ref3$closeMenuOnClic,
|
|
127
|
-
rest = _objectWithoutProperties(_ref3,
|
|
130
|
+
rest = _objectWithoutProperties(_ref3, _excluded3);
|
|
128
131
|
|
|
129
132
|
var _useState = useState(false),
|
|
130
133
|
_useState2 = _slicedToArray(_useState, 2),
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Shared react components within DFDS",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "0.9.
|
|
6
|
+
"version": "0.9.2-alpha.818bb7a0",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"react-select": "^4.0.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dfds-ui/colors": "0.9.
|
|
22
|
-
"@dfds-ui/fonts": "0.9.
|
|
23
|
-
"@dfds-ui/hooks": "0.9.
|
|
24
|
-
"@dfds-ui/icons": "0.9.
|
|
25
|
-
"@dfds-ui/spacing": "0.9.
|
|
26
|
-
"@dfds-ui/theme": "0.9.
|
|
27
|
-
"@dfds-ui/typography": "0.9.
|
|
21
|
+
"@dfds-ui/colors": "0.9.2-alpha.818bb7a0",
|
|
22
|
+
"@dfds-ui/fonts": "0.9.2-alpha.818bb7a0",
|
|
23
|
+
"@dfds-ui/hooks": "0.9.2-alpha.818bb7a0",
|
|
24
|
+
"@dfds-ui/icons": "0.9.2-alpha.818bb7a0",
|
|
25
|
+
"@dfds-ui/spacing": "0.9.2-alpha.818bb7a0",
|
|
26
|
+
"@dfds-ui/theme": "0.9.2-alpha.818bb7a0",
|
|
27
|
+
"@dfds-ui/typography": "0.9.2-alpha.818bb7a0",
|
|
28
28
|
"@kunukn/react-collapse": "^2.2.9",
|
|
29
29
|
"@material-ui/core": "^4.12.3",
|
|
30
30
|
"@material-ui/lab": "4.0.0-alpha.60",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"react-hook-intersection-observer": "^0.1.0",
|
|
35
35
|
"uuid": "^3.3.2"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "818bb7a08f87972bdaf9a607999822da53ab9d09",
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
}
|
package/popper/Popper.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var _excluded = ["open", "children", "anchorEl", "id", "placement", "onClickAway", "className", "noMaxWidthRestriction"],
|
|
2
|
+
_excluded2 = ["children", "anchorEl", "id", "setAnchorEl", "placement", "popperRef"];
|
|
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; }
|
|
@@ -34,7 +37,7 @@ export var PopperBase = function PopperBase(_ref2) {
|
|
|
34
37
|
className = _ref2.className,
|
|
35
38
|
_ref2$noMaxWidthRestr = _ref2.noMaxWidthRestriction,
|
|
36
39
|
noMaxWidthRestriction = _ref2$noMaxWidthRestr === void 0 ? false : _ref2$noMaxWidthRestr,
|
|
37
|
-
rest = _objectWithoutProperties(_ref2,
|
|
40
|
+
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
38
41
|
|
|
39
42
|
return ___EmotionJSX(MaterialPopper, _extends({
|
|
40
43
|
placement: placement,
|
|
@@ -57,7 +60,7 @@ var Popper = function Popper(_ref3) {
|
|
|
57
60
|
setAnchorEl = _ref3.setAnchorEl,
|
|
58
61
|
placement = _ref3.placement,
|
|
59
62
|
popperRef = _ref3.popperRef,
|
|
60
|
-
rest = _objectWithoutProperties(_ref3,
|
|
63
|
+
rest = _objectWithoutProperties(_ref3, _excluded2);
|
|
61
64
|
|
|
62
65
|
var open = Boolean(anchorEl);
|
|
63
66
|
return ___EmotionJSX(PopperBase, _extends({
|
package/schedule/ScheduleList.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["items"];
|
|
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 _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; }
|
|
@@ -11,7 +13,7 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
|
11
13
|
|
|
12
14
|
var ScheduleList = function ScheduleList(_ref) {
|
|
13
15
|
var items = _ref.items,
|
|
14
|
-
rest = _objectWithoutProperties(_ref,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
17
|
|
|
16
18
|
var list = items.map(function (item, i) {
|
|
17
19
|
return ___EmotionJSX(ScheduleItem, {
|
package/side-sheet/SideSheet.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
var _templateObject, _templateObject2;
|
|
2
2
|
|
|
3
|
+
var _excluded = ["isOpen", "alignSideSheet", "zIndex", "variant", "largeMobileFullScreen", "smallMobileFullScreen", "className", "width"],
|
|
4
|
+
_excluded2 = ["variant", "className", "isOpen", "backdrop", "width", "header", "zIndex", "largeMobileFullScreen", "smallMobileFullScreen", "onRequestClose", "backdropEmphasis", "alignSideSheet", "children"];
|
|
5
|
+
|
|
3
6
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
4
7
|
|
|
5
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -8,7 +11,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
11
|
|
|
9
12
|
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
13
|
|
|
11
|
-
function _iterableToArrayLimit(arr, i) {
|
|
14
|
+
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
15
|
|
|
13
16
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
17
|
|
|
@@ -81,7 +84,7 @@ var SideSheetStyle = function SideSheetStyle(_ref6) {
|
|
|
81
84
|
smallMobileFullScreen = _ref6.smallMobileFullScreen,
|
|
82
85
|
className = _ref6.className,
|
|
83
86
|
width = _ref6.width,
|
|
84
|
-
rest = _objectWithoutProperties(_ref6,
|
|
87
|
+
rest = _objectWithoutProperties(_ref6, _excluded);
|
|
85
88
|
|
|
86
89
|
return ___EmotionJSX("div", _extends({
|
|
87
90
|
className: className,
|
|
@@ -135,7 +138,7 @@ var SideSheet = function SideSheet(_ref8) {
|
|
|
135
138
|
_ref8$alignSideSheet = _ref8.alignSideSheet,
|
|
136
139
|
alignSideSheet = _ref8$alignSideSheet === void 0 ? 'left' : _ref8$alignSideSheet,
|
|
137
140
|
children = _ref8.children,
|
|
138
|
-
rest = _objectWithoutProperties(_ref8,
|
|
141
|
+
rest = _objectWithoutProperties(_ref8, _excluded2);
|
|
139
142
|
|
|
140
143
|
var _useState = useState(false),
|
|
141
144
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["onRequestClose", "className", "icon", "size", "closeLabel"];
|
|
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 _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; }
|
|
@@ -19,7 +21,7 @@ export var SideSheetCloseButton = function SideSheetCloseButton(_ref) {
|
|
|
19
21
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
20
22
|
_ref$closeLabel = _ref.closeLabel,
|
|
21
23
|
closeLabel = _ref$closeLabel === void 0 ? 'Close' : _ref$closeLabel,
|
|
22
|
-
rest = _objectWithoutProperties(_ref,
|
|
24
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
23
25
|
|
|
24
26
|
return ___EmotionJSX(IconButton, _extends({
|
|
25
27
|
disableOverlay: true,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["children", "className"];
|
|
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 _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; }
|
|
@@ -11,7 +13,7 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
|
11
13
|
export var SideSheetContent = function SideSheetContent(_ref) {
|
|
12
14
|
var children = _ref.children,
|
|
13
15
|
className = _ref.className,
|
|
14
|
-
rest = _objectWithoutProperties(_ref,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
17
|
|
|
16
18
|
return ___EmotionJSX(Fragment, null, ___EmotionJSX("div", _extends({
|
|
17
19
|
className: className,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
var _excluded = ["children", "className"];
|
|
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 _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; }
|
|
@@ -11,7 +13,7 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
|
11
13
|
export var SideSheetFooter = function SideSheetFooter(_ref) {
|
|
12
14
|
var children = _ref.children,
|
|
13
15
|
className = _ref.className,
|
|
14
|
-
rest = _objectWithoutProperties(_ref,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
17
|
|
|
16
18
|
return ___EmotionJSX(Fragment, null, ___EmotionJSX("div", _extends({
|
|
17
19
|
className: className,
|