@dfds-ui/react-components 1.1.13 → 1.1.14-alpha.17d32fe3
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/app-bar/AppBarItem.d.ts +1 -1
- package/assertions/banner/Banner.js +11 -11
- package/assertions/toast/Toaster.d.ts +1 -1
- package/assertions/toast/Toaster.js +7 -3
- package/button/BaseButton.d.ts +1 -1
- package/button/IconButton.d.ts +1 -1
- package/button/button-style.d.ts +7 -7
- package/cjs/accordion/Accordion.js +1 -1
- package/cjs/accordion/AccordionSmall.js +1 -1
- package/cjs/app-bar/AppBarItem.d.ts +1 -1
- package/cjs/app-bar/AppBarItem.js +1 -1
- package/cjs/app-bar/index.js +16 -16
- package/cjs/assertions/banner/Banner.js +11 -11
- package/cjs/assertions/toast/Toaster.d.ts +1 -1
- package/cjs/assertions/toast/Toaster.js +2 -2
- package/cjs/button/BaseButton.d.ts +1 -1
- package/cjs/button/BaseButton.js +2 -1
- package/cjs/button/IconButton.d.ts +1 -1
- package/cjs/button/IconButton.js +1 -1
- package/cjs/button/button-style.d.ts +7 -7
- package/cjs/button/button-style.js +1 -1
- package/cjs/button/index.js +4 -4
- package/cjs/card/index.js +10 -10
- package/cjs/common/arrow.d.ts +1 -1
- package/cjs/common/utils.d.ts +3 -3
- package/cjs/common/utils.js +1 -1
- package/cjs/date-range-picker/DatePickerDefaultStyles.d.ts +1 -1
- package/cjs/date-range-picker/DatePickerDfdsStyles.d.ts +1 -1
- package/cjs/divider/Divider.d.ts +1 -1
- package/cjs/divider/Divider.js +1 -1
- package/cjs/dropdown-menu/MenuItem.d.ts +2 -2
- package/cjs/dropdown-menu/MenuItem.js +16 -16
- package/cjs/dropdown-menu/index.js +6 -6
- package/cjs/elevation/index.d.ts +1 -1
- package/cjs/flexbox/FlexBox.d.ts +1 -1
- package/cjs/flexbox/FlexBox.js +1 -1
- package/cjs/forms/checkbox/Checkbox.d.ts +1 -1
- package/cjs/forms/email-field/EmailField.d.ts +1 -1
- package/cjs/forms/index.js +32 -32
- package/cjs/forms/input/Input.d.ts +1 -1
- package/cjs/forms/input/InputComposition.d.ts +1 -1
- package/cjs/forms/input/InputComposition.js +1 -1
- package/cjs/forms/number-field/NumberField.d.ts +1 -1
- package/cjs/forms/password-field/PasswordField.d.ts +1 -1
- package/cjs/forms/radio/Radio.d.ts +1 -1
- package/cjs/forms/radio/Radio.js +1 -1
- package/cjs/forms/reactselect/ReactSelect.d.ts +1 -1
- package/cjs/forms/reactselect/ReactSelect.js +1 -1
- package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +1 -1
- package/cjs/forms/select/Select.d.ts +1 -1
- package/cjs/forms/select-field/SelectField.d.ts +1 -1
- package/cjs/forms/tel-field/TelField.d.ts +1 -1
- package/cjs/forms/text-field/TextField.d.ts +1 -1
- package/cjs/global-styles/GlobalStyles.js +1 -1
- package/cjs/global-styles/sanitize.d.ts +1 -1
- package/cjs/grid/index.js +4 -4
- package/cjs/index.js +8 -8
- package/cjs/lists/ListItem.d.ts +1 -1
- package/cjs/lists/ListItem.js +1 -1
- package/cjs/lists/index.js +16 -16
- package/cjs/loader/index.js +4 -4
- package/cjs/localization/locales.js +1 -1
- package/cjs/nav-bar/NavBar.js +1 -1
- package/cjs/pagination/Pagination.styles.d.ts +6 -6
- package/cjs/pagination/Pagination.styles.js +1 -1
- package/cjs/side-sheet/index.js +4 -4
- package/cjs/site-layout/SiteLayout.js +1 -1
- package/cjs/spinner/Spinner.js +2 -1
- package/cjs/step/Step.styles.d.ts +4 -4
- package/cjs/step/Step.styles.js +1 -1
- package/cjs/styles/index.js +4 -4
- package/cjs/styles/media.js +2 -1
- package/cjs/styles/style-helpers.d.ts +1 -1
- package/cjs/styles/theme.js +1 -1
- package/cjs/surface/Surface.d.ts +1 -1
- package/cjs/surface/Surface.js +4 -3
- package/cjs/tab/TabsContext.js +1 -1
- package/cjs/tab/index.js +6 -6
- package/cjs/table/Table.js +1 -1
- package/cjs/table/TableHead.d.ts +1 -1
- package/cjs/table/TableHead.js +1 -1
- package/cjs/table/TableHeaderCell.d.ts +1 -1
- package/cjs/table/TableHeaderCell.js +1 -1
- package/cjs/tooltip/Tooltip.js +4 -4
- package/cjs/typography/Headlines.d.ts +4 -4
- package/cjs/typography/Headlines.js +1 -1
- package/common/arrow.d.ts +1 -1
- package/common/utils.d.ts +3 -3
- package/date-range-picker/DatePickerDefaultStyles.d.ts +1 -1
- package/date-range-picker/DatePickerDfdsStyles.d.ts +1 -1
- package/divider/Divider.d.ts +1 -1
- package/dropdown-menu/MenuItem.d.ts +2 -2
- package/dropdown-menu/MenuItem.js +15 -15
- package/elevation/index.d.ts +1 -1
- package/flexbox/FlexBox.d.ts +1 -1
- package/forms/checkbox/Checkbox.d.ts +1 -1
- package/forms/email-field/EmailField.d.ts +1 -1
- package/forms/input/Input.d.ts +1 -1
- package/forms/input/InputComposition.d.ts +1 -1
- package/forms/number-field/NumberField.d.ts +1 -1
- package/forms/password-field/PasswordField.d.ts +1 -1
- package/forms/radio/Radio.d.ts +1 -1
- package/forms/reactselect/ReactSelect.d.ts +1 -1
- package/forms/searchable-select/AsyncSearchableSelect.d.ts +1 -1
- package/forms/select/Select.d.ts +1 -1
- package/forms/select-field/SelectField.d.ts +1 -1
- package/forms/tel-field/TelField.d.ts +1 -1
- package/forms/text-field/TextField.d.ts +1 -1
- package/global-styles/sanitize.d.ts +1 -1
- package/lists/ListItem.d.ts +1 -1
- package/package.json +13 -13
- package/pagination/Pagination.styles.d.ts +6 -6
- package/step/Step.styles.d.ts +4 -4
- package/styles/style-helpers.d.ts +1 -1
- package/surface/Surface.d.ts +1 -1
- package/table/TableHead.d.ts +1 -1
- package/table/TableHeaderCell.d.ts +1 -1
- package/tooltip/Tooltip.js +4 -4
- package/typography/Headlines.d.ts +4 -4
|
@@ -71,5 +71,5 @@ export declare const getDefaultIconButtonDimensions: (size: IconButtonSize) => {
|
|
|
71
71
|
height: string;
|
|
72
72
|
width: string;
|
|
73
73
|
};
|
|
74
|
-
declare const IconButton: React.ForwardRefExoticComponent<Pick<IconButtonProps, "type" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "
|
|
74
|
+
declare const IconButton: React.ForwardRefExoticComponent<Pick<IconButtonProps, "type" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "ariaLabel" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "disabled" | "size" | "icon" | "tooltip" | "as" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "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" | "css" | "disableOverlay" | "disableTooltip" | "hoverColor" | "activeColor" | "focusColor" | "overlayOptions"> & React.RefAttributes<HTMLButtonElement>>;
|
|
75
75
|
export default IconButton;
|
package/cjs/button/IconButton.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.getDefaultIconButtonIconSize = exports.getDefaultIconButtonDimensions = exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const baseButtonStyle: import("@emotion/
|
|
2
|
-
export declare const primaryButtonStyles: import("@emotion/
|
|
3
|
-
export declare const secondaryButtonStyles: import("@emotion/
|
|
4
|
-
export declare const outlinedButtonStyles: import("@emotion/
|
|
5
|
-
export declare const textButtonStyles: import("@emotion/
|
|
6
|
-
export declare const dangerButtonStyles: import("@emotion/
|
|
7
|
-
export declare const linkButtonStyles: import("@emotion/
|
|
1
|
+
export declare const baseButtonStyle: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const primaryButtonStyles: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const secondaryButtonStyles: import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const outlinedButtonStyles: import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const textButtonStyles: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const dangerButtonStyles: import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const linkButtonStyles: import("@emotion/utils").SerializedStyles;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.textButtonStyles = exports.secondaryButtonStyles = exports.primaryButtonStyles = exports.outlinedButtonStyles = exports.linkButtonStyles = exports.dangerButtonStyles = exports.baseButtonStyle = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
9
|
|
package/cjs/button/index.js
CHANGED
|
@@ -8,16 +8,16 @@ var _exportNames = {
|
|
|
8
8
|
Anchor: true,
|
|
9
9
|
IconButton: true
|
|
10
10
|
};
|
|
11
|
-
Object.defineProperty(exports, "
|
|
11
|
+
Object.defineProperty(exports, "Anchor", {
|
|
12
12
|
enumerable: true,
|
|
13
13
|
get: function get() {
|
|
14
|
-
return
|
|
14
|
+
return _LinkButton.default;
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
|
-
Object.defineProperty(exports, "
|
|
17
|
+
Object.defineProperty(exports, "Button", {
|
|
18
18
|
enumerable: true,
|
|
19
19
|
get: function get() {
|
|
20
|
-
return
|
|
20
|
+
return _Button.default;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "IconButton", {
|
package/cjs/card/index.js
CHANGED
|
@@ -9,16 +9,10 @@ Object.defineProperty(exports, "Card", {
|
|
|
9
9
|
return _Card.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports, "
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _CardMedia.default;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "CardTitle", {
|
|
12
|
+
Object.defineProperty(exports, "CardActions", {
|
|
19
13
|
enumerable: true,
|
|
20
14
|
get: function get() {
|
|
21
|
-
return
|
|
15
|
+
return _CardActions.default;
|
|
22
16
|
}
|
|
23
17
|
});
|
|
24
18
|
Object.defineProperty(exports, "CardContent", {
|
|
@@ -27,10 +21,10 @@ Object.defineProperty(exports, "CardContent", {
|
|
|
27
21
|
return _CardContent.default;
|
|
28
22
|
}
|
|
29
23
|
});
|
|
30
|
-
Object.defineProperty(exports, "
|
|
24
|
+
Object.defineProperty(exports, "CardMedia", {
|
|
31
25
|
enumerable: true,
|
|
32
26
|
get: function get() {
|
|
33
|
-
return
|
|
27
|
+
return _CardMedia.default;
|
|
34
28
|
}
|
|
35
29
|
});
|
|
36
30
|
Object.defineProperty(exports, "CardPriceTag", {
|
|
@@ -39,6 +33,12 @@ Object.defineProperty(exports, "CardPriceTag", {
|
|
|
39
33
|
return _CardPriceTag.default;
|
|
40
34
|
}
|
|
41
35
|
});
|
|
36
|
+
Object.defineProperty(exports, "CardTitle", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _CardTitle.default;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
42
|
|
|
43
43
|
var _Card = _interopRequireDefault(require("./Card"));
|
|
44
44
|
|
package/cjs/common/arrow.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export declare type ArrowPosition = 'top-left' | 'top-right' | 'bottom-left' | '
|
|
|
3
3
|
* Create css for an arrow
|
|
4
4
|
* A <div> tag must surround {children} to work
|
|
5
5
|
*/
|
|
6
|
-
export default function arrow(size: number, color: string, offset?: number, position?: ArrowPosition): import("@emotion/
|
|
6
|
+
export default function arrow(size: number, color: string, offset?: number, position?: ArrowPosition): import("@emotion/utils").SerializedStyles;
|
package/cjs/common/utils.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare function ie11MinHeightFix(minHeight?: string): import("@emotion/
|
|
2
|
-
export declare function onlyIE(strings: TemplateStringsArray, ...args: any): import("@emotion/
|
|
3
|
-
export declare function onlyChrome(strings: TemplateStringsArray, ...args: any): import("@emotion/
|
|
1
|
+
export declare function ie11MinHeightFix(minHeight?: string): import("@emotion/utils").SerializedStyles | undefined;
|
|
2
|
+
export declare function onlyIE(strings: TemplateStringsArray, ...args: any): import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare function onlyChrome(strings: TemplateStringsArray, ...args: any): import("@emotion/utils").SerializedStyles;
|
package/cjs/common/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const DatePickerDefaultStyles: import("@emotion/
|
|
1
|
+
declare const DatePickerDefaultStyles: import("@emotion/utils").SerializedStyles;
|
|
2
2
|
export default DatePickerDefaultStyles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const DatePickerStyles: import("@emotion/
|
|
1
|
+
declare const DatePickerStyles: import("@emotion/utils").SerializedStyles;
|
|
2
2
|
export default DatePickerStyles;
|
package/cjs/divider/Divider.d.ts
CHANGED
|
@@ -21,6 +21,6 @@ export declare type DividerProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
className?: string;
|
|
23
23
|
};
|
|
24
|
-
export declare const dividerBorder: (light?: boolean
|
|
24
|
+
export declare const dividerBorder: (light?: boolean, placement?: 'top' | 'bottom') => import("@emotion/utils").SerializedStyles;
|
|
25
25
|
export declare const Divider: ({ light, indent, margins, ...rest }: DividerProps) => JSX.Element;
|
|
26
26
|
export default Divider;
|
package/cjs/divider/Divider.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.dividerBorder = exports.default = exports.Divider = void 0;
|
|
7
7
|
|
|
8
8
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
9
|
|
|
@@ -39,7 +39,7 @@ export interface MenuItemProps {
|
|
|
39
39
|
className?: string;
|
|
40
40
|
children?: React.ReactNode;
|
|
41
41
|
}
|
|
42
|
-
export declare const getListItemStyle: (size?: DropdownSize
|
|
43
|
-
export declare const getListTextStyle: (size?: DropdownSize
|
|
42
|
+
export declare const getListItemStyle: (size?: DropdownSize, disabled?: boolean) => import("@emotion/utils").SerializedStyles;
|
|
43
|
+
export declare const getListTextStyle: (size?: DropdownSize) => import("@emotion/utils").SerializedStyles;
|
|
44
44
|
declare const MenuItem: ({ as, clickable, className, onClick, selected, disabled, children, color, iconLeft, iconRight, ...rest }: MenuItemProps) => JSX.Element;
|
|
45
45
|
export default MenuItem;
|