@onewelcome/react-lib-components 0.2.5 → 0.3.0

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.
@@ -4,6 +4,7 @@ import { Props as IconButtonProps } from "../Button/IconButton";
4
4
  import { Placement, Offset } from "../hooks/usePosition";
5
5
  export interface Props extends ComponentPropsWithRef<"div"> {
6
6
  trigger: ReactElement<ButtonProps> | ReactElement<IconButtonProps>;
7
+ decorativeElement?: ReactNode;
7
8
  children: ReactNode;
8
9
  placement?: Placement;
9
10
  transformOrigin?: Placement;
@@ -14,4 +15,4 @@ export interface Props extends ComponentPropsWithRef<"div"> {
14
15
  onShow?: () => void;
15
16
  onClose?: () => void;
16
17
  }
17
- export declare const ContextMenu: React.ForwardRefExoticComponent<Pick<Props, "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "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" | "children" | "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" | "trigger" | "show" | "onShow" | "onClose" | "placement" | "offset" | "transformOrigin" | "domRoot"> & React.RefAttributes<HTMLDivElement>>;
18
+ export declare const ContextMenu: React.ForwardRefExoticComponent<Pick<Props, "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "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" | "children" | "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" | "trigger" | "decorativeElement" | "show" | "onShow" | "onClose" | "placement" | "offset" | "transformOrigin" | "domRoot"> & React.RefAttributes<HTMLDivElement>>;
@@ -694,8 +694,8 @@ var Popover = /*#__PURE__*/React__default["default"].forwardRef(function (_ref,
694
694
  }, children));
695
695
  });
696
696
 
697
- var css$Q = ".ContextMenu_module_contextMenu__d1c1d796 {\n position: relative;\n display: inline-block;\n box-sizing: border-box;\n}\n\n.ContextMenu_module_menu__d1c1d796 {\n white-space: nowrap;\n margin: 1rem 0;\n list-style: none;\n padding: 0;\n min-width: 200px;\n}\n.ContextMenu_module_menu__d1c1d796 button {\n text-align: left;\n}";
698
- var modules_846e6042 = {"context-menu":"ContextMenu_module_contextMenu__d1c1d796","menu":"ContextMenu_module_menu__d1c1d796"};
697
+ var css$Q = ".ContextMenu_module_contextMenu__1be8f447 {\n position: relative;\n display: inline-block;\n box-sizing: border-box;\n}\n\n.ContextMenu_module_menu__1be8f447 {\n white-space: nowrap;\n margin: 1rem 0;\n list-style: none;\n padding: 0;\n min-width: 200px;\n}\n.ContextMenu_module_menu__1be8f447.ContextMenu_module_noMarginTop__1be8f447 {\n margin: 0 0 1rem;\n}\n.ContextMenu_module_menu__1be8f447 button {\n text-align: left;\n}\n\n.ContextMenu_module_decorativeElement__1be8f447 {\n margin-top: 1rem;\n}";
698
+ var modules_846e6042 = {"context-menu":"ContextMenu_module_contextMenu__1be8f447","menu":"ContextMenu_module_menu__1be8f447","no-margin-top":"ContextMenu_module_noMarginTop__1be8f447","decorative-element":"ContextMenu_module_decorativeElement__1be8f447"};
699
699
  n(css$Q,{"attributes":{"nonce":"DsPHCoJqXm4vKCqFrm03y1"}});
700
700
 
701
701
  var useBodyClick = function useBodyClick(checkFunction, callbackFunction, dependingStateVariable) {
@@ -713,10 +713,11 @@ var useBodyClick = function useBodyClick(checkFunction, callbackFunction, depend
713
713
  }, [dependingStateVariable]);
714
714
  };
715
715
 
716
- var _excluded$S = ["trigger", "children", "id", "show", "onShow", "onClose", "placement", "offset", "transformOrigin", "domRoot"];
716
+ var _excluded$S = ["trigger", "children", "decorativeElement", "id", "show", "onShow", "onClose", "placement", "offset", "transformOrigin", "domRoot"];
717
717
  var ContextMenu = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
718
718
  var trigger = _ref.trigger,
719
719
  children = _ref.children,
720
+ decorativeElement = _ref.decorativeElement,
720
721
  id = _ref.id,
721
722
  _ref$show = _ref.show,
722
723
  show = _ref$show === void 0 ? false : _ref$show,
@@ -889,8 +890,10 @@ var ContextMenu = /*#__PURE__*/React__default["default"].forwardRef(function (_r
889
890
  offset: offset,
890
891
  anchorEl: anchorEl,
891
892
  show: showContextMenu
892
- }, React__default["default"].createElement("ul", {
893
- className: modules_846e6042["menu"],
893
+ }, decorativeElement && React__default["default"].createElement("div", {
894
+ className: modules_846e6042["decorative-element"]
895
+ }, decorativeElement), React__default["default"].createElement("ul", {
896
+ className: modules_846e6042["menu"] + " " + (decorativeElement ? modules_846e6042["no-margin-top"] : ""),
894
897
  id: id + "-menu",
895
898
  "aria-describedby": id,
896
899
  role: "menu"
@@ -1668,8 +1671,8 @@ var css$C = ".Pagination_module_paginationWrapper__fb0017ac {\n font-family: va
1668
1671
  var modules_e3c5bce1 = {"pagination-wrapper":"Pagination_module_paginationWrapper__fb0017ac","form-element":"Pagination_module_formElement__fb0017ac","total":"Pagination_module_total__fb0017ac","pagination":"Pagination_module_pagination__fb0017ac","previous":"Pagination_module_previous__fb0017ac","next":"Pagination_module_next__fb0017ac","per-page":"Pagination_module_perPage__fb0017ac","page":"Pagination_module_page__fb0017ac","page-size-select":"Pagination_module_pageSizeSelect__fb0017ac","current-value-input":"Pagination_module_currentValueInput__fb0017ac"};
1669
1672
  n(css$C,{"attributes":{"nonce":"DsPHCoJqXm4vKCqFrm03y1"}});
1670
1673
 
1671
- var css$B = ".Input_module_srOnly__765c4484 {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n.Input_module_hidden__765c4484 {\n display: none;\n}\n\n.Input_module_slideIn__765c4484 {\n animation: Input_module_slideIn__765c4484 0.5s forwards;\n}\n\n.Input_module_slideOut__765c4484 {\n animation: Input_module_slideOut__765c4484 0.5s forwards;\n}\n\n@keyframes Input_module_slideIn__765c4484 {\n 0% {\n transform: translateY(100vh);\n }\n 100% {\n transform: translateY(0%);\n }\n}\n@keyframes Input_module_slideOut__765c4484 {\n 0% {\n transform: translateY(0%);\n }\n 100% {\n transform: translateY(100vh);\n }\n}\n.Input_module_inputWrapper__765c4484 {\n position: relative;\n display: flex;\n align-items: center;\n height: 4rem;\n border: 0;\n border-radius: var(--input-border-radius);\n background-color: var(--input-background-color);\n padding: 0 1.25rem;\n transition: all 0.2s ease-in-out;\n}\n.Input_module_inputWrapper__765c4484:hover .Input_module_outline__765c4484 {\n border-color: var(--default);\n}\n.Input_module_inputWrapper__765c4484 .Input_module_outline__765c4484.Input_module_disabled__765c4484 {\n border-color: #fff;\n}\n.Input_module_inputWrapper__765c4484 .Input_module_outline__765c4484.Input_module_error__765c4484 {\n border-color: var(--error);\n}\n.Input_module_inputWrapper__765c4484 .Input_module_outline__765c4484.Input_module_focus__765c4484 {\n border-width: var(--input-border-width-focus);\n}\n.Input_module_inputWrapper__765c4484 .Input_module_outline__765c4484.Input_module_focus__765c4484:not(.Input_module_error__765c4484) {\n border-color: var(--color-primary);\n}\n\n.Input_module_input__765c4484 {\n padding: 0;\n height: 4rem;\n color: var(--greyed-out);\n font-size: var(--font-size);\n font-family: var(--font-family);\n width: 100%;\n box-sizing: border-box;\n border: 0;\n border-radius: var(--input-border-radius);\n}\n.Input_module_input__765c4484:disabled {\n background-color: var(--disabled);\n cursor: not-allowed;\n}\n.Input_module_input__765c4484:focus:not(:disabled) {\n outline: none;\n}\n\n.Input_module_outline__765c4484 {\n pointer-events: none;\n position: absolute;\n margin: 0;\n padding: 0;\n inset: 0;\n border-color: var(--input-border-color);\n border-style: var(--input-border-style);\n border-width: var(--input-border-width);\n border-radius: var(--input-border-radius);\n transition: all 0.2s ease-in-out;\n}\n\n.Input_module_error__765c4484 input {\n color: var(--error);\n padding-right: 3.5rem;\n}\n.Input_module_error__765c4484 input.Input_module_removeExtraIndent__765c4484 {\n padding-right: 0rem;\n}\n\n.Input_module_warning__765c4484 {\n color: var(--error);\n position: absolute;\n height: 100%;\n width: 1.25rem;\n right: 1.25rem;\n top: 0px;\n font-size: 1.125rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.Input_module_warning__765c4484:before {\n height: 1.3125rem;\n}\n.Input_module_warning__765c4484.Input_module_extraIndent__765c4484 {\n right: 3.75rem;\n}\n\n.Input_module_inputWrapper__765c4484 [data-prefix],\n.Input_module_inputWrapper__765c4484 [data-suffix] {\n transition: all 0.2s ease-in-out;\n display: block;\n z-index: 1;\n}";
1672
- var modules_23691de0 = {"sr-only":"Input_module_srOnly__765c4484","hidden":"Input_module_hidden__765c4484","slide-in":"Input_module_slideIn__765c4484","slide-out":"Input_module_slideOut__765c4484","input-wrapper":"Input_module_inputWrapper__765c4484","outline":"Input_module_outline__765c4484","disabled":"Input_module_disabled__765c4484","error":"Input_module_error__765c4484","focus":"Input_module_focus__765c4484","input":"Input_module_input__765c4484","remove-extra-indent":"Input_module_removeExtraIndent__765c4484","warning":"Input_module_warning__765c4484","extra-indent":"Input_module_extraIndent__765c4484"};
1674
+ var css$B = ".Input_module_srOnly__b0539019 {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n.Input_module_hidden__b0539019 {\n display: none;\n}\n\n.Input_module_slideIn__b0539019 {\n animation: Input_module_slideIn__b0539019 0.5s forwards;\n}\n\n.Input_module_slideOut__b0539019 {\n animation: Input_module_slideOut__b0539019 0.5s forwards;\n}\n\n@keyframes Input_module_slideIn__b0539019 {\n 0% {\n transform: translateY(100vh);\n }\n 100% {\n transform: translateY(0%);\n }\n}\n@keyframes Input_module_slideOut__b0539019 {\n 0% {\n transform: translateY(0%);\n }\n 100% {\n transform: translateY(100vh);\n }\n}\n.Input_module_inputWrapper__b0539019 {\n position: relative;\n display: flex;\n align-items: center;\n height: 4rem;\n border: 0;\n border-radius: var(--input-border-radius);\n background-color: var(--input-background-color);\n padding: 0 1.25rem;\n transition: all 0.2s ease-in-out;\n}\n.Input_module_inputWrapper__b0539019:hover .Input_module_outline__b0539019 {\n border-color: var(--default);\n}\n.Input_module_inputWrapper__b0539019 .Input_module_outline__b0539019.Input_module_disabled__b0539019 {\n border-color: #fff;\n}\n.Input_module_inputWrapper__b0539019 .Input_module_outline__b0539019.Input_module_error__b0539019 {\n border-color: var(--error);\n}\n.Input_module_inputWrapper__b0539019 .Input_module_outline__b0539019.Input_module_focus__b0539019 {\n border-width: var(--input-border-width-focus);\n}\n.Input_module_inputWrapper__b0539019 .Input_module_outline__b0539019.Input_module_focus__b0539019:not(.Input_module_error__b0539019) {\n border-color: var(--color-primary);\n}\n\n.Input_module_input__b0539019 {\n padding: 0;\n height: 4rem;\n color: var(--greyed-out);\n font-size: var(--font-size);\n font-family: var(--font-family);\n width: 100%;\n box-sizing: border-box;\n border: 0;\n border-radius: var(--input-border-radius);\n transition: all 0.2s ease-in-out;\n}\n.Input_module_input__b0539019:disabled {\n background-color: var(--disabled);\n cursor: not-allowed;\n}\n.Input_module_input__b0539019:focus:not(:disabled) {\n outline: none;\n}\n\n.Input_module_outline__b0539019 {\n pointer-events: none;\n position: absolute;\n margin: 0;\n padding: 0;\n inset: 0;\n border-color: var(--input-border-color);\n border-style: var(--input-border-style);\n border-width: var(--input-border-width);\n border-radius: var(--input-border-radius);\n transition: all 0.2s ease-in-out;\n}\n\n.Input_module_error__b0539019 input {\n color: var(--error);\n padding-right: 3.5rem;\n}\n.Input_module_error__b0539019 input.Input_module_removeExtraIndent__b0539019 {\n padding-right: 0rem;\n}\n\n.Input_module_warning__b0539019 {\n color: var(--error);\n position: absolute;\n height: 100%;\n width: 1.25rem;\n right: 1.25rem;\n top: 0px;\n font-size: 1.125rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.Input_module_warning__b0539019:before {\n height: 1.3125rem;\n}\n.Input_module_warning__b0539019.Input_module_extraIndent__b0539019 {\n right: 3.75rem;\n}\n\n.Input_module_inputWrapper__b0539019 [data-prefix],\n.Input_module_inputWrapper__b0539019 [data-suffix] {\n transition: all 0.2s ease-in-out;\n display: block;\n z-index: 1;\n}";
1675
+ var modules_23691de0 = {"sr-only":"Input_module_srOnly__b0539019","hidden":"Input_module_hidden__b0539019","slide-in":"Input_module_slideIn__b0539019","slide-out":"Input_module_slideOut__b0539019","input-wrapper":"Input_module_inputWrapper__b0539019","outline":"Input_module_outline__b0539019","disabled":"Input_module_disabled__b0539019","error":"Input_module_error__b0539019","focus":"Input_module_focus__b0539019","input":"Input_module_input__b0539019","remove-extra-indent":"Input_module_removeExtraIndent__b0539019","warning":"Input_module_warning__b0539019","extra-indent":"Input_module_extraIndent__b0539019"};
1673
1676
  n(css$B,{"attributes":{"nonce":"DsPHCoJqXm4vKCqFrm03y1"}});
1674
1677
 
1675
1678
  var _excluded$F = ["error", "className", "name", "style", "wrapperProps", "type", "labeledBy", "prefix", "suffix", "disabled", "onFocus", "onBlur"];
@@ -3669,8 +3672,8 @@ var FormControl = /*#__PURE__*/React__default["default"].forwardRef(function (_r
3669
3672
  }), renderChildren());
3670
3673
  });
3671
3674
 
3672
- var css$g = ".InputWrapper_module_srOnly__e331d9b4 {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n.InputWrapper_module_hidden__e331d9b4 {\n display: none;\n}\n\n.InputWrapper_module_slideIn__e331d9b4 {\n animation: InputWrapper_module_slideIn__e331d9b4 0.5s forwards;\n}\n\n.InputWrapper_module_slideOut__e331d9b4 {\n animation: InputWrapper_module_slideOut__e331d9b4 0.5s forwards;\n}\n\n@keyframes InputWrapper_module_slideIn__e331d9b4 {\n 0% {\n transform: translateY(100vh);\n }\n 100% {\n transform: translateY(0%);\n }\n}\n@keyframes InputWrapper_module_slideOut__e331d9b4 {\n 0% {\n transform: translateY(0%);\n }\n 100% {\n transform: translateY(100vh);\n }\n}\nlabel.InputWrapper_module_inputLabel__e331d9b4.InputWrapper_module_focus__e331d9b4 {\n color: var(--color-primary);\n}\n\ninput.InputWrapper_module_floatingLabel__e331d9b4 {\n padding-top: 0.625rem;\n}\n\n.InputWrapper_module_inputWrapperHelper__e331d9b4 {\n margin-top: 0.25rem;\n}\n\n.InputWrapper_module_inputWrapper__e331d9b4 [data-icon]:before {\n transition: 0.2s ease-in-out;\n transform: translateY(0px);\n font-size: 1.125rem;\n}\n\n.InputWrapper_module_inputWrapper__e331d9b4 .InputWrapper_module_floatingLabelActive__e331d9b4 [data-icon]:before {\n transform: translateY(5px);\n}\n\n.InputWrapper_module_inputWrapper__e331d9b4 [data-prefix],\n.InputWrapper_module_inputWrapper__e331d9b4 [data-suffix] {\n transform: translateY(-0.125rem);\n}\n\n.InputWrapper_module_floatingLabelActive__e331d9b4 [data-prefix],\n.InputWrapper_module_floatingLabelActive__e331d9b4 [data-suffix] {\n padding-top: 0.5rem;\n transform: translateY(0);\n}";
3673
- var modules_bc06a1ad = {"sr-only":"InputWrapper_module_srOnly__e331d9b4","hidden":"InputWrapper_module_hidden__e331d9b4","slide-in":"InputWrapper_module_slideIn__e331d9b4","slide-out":"InputWrapper_module_slideOut__e331d9b4","input-label":"InputWrapper_module_inputLabel__e331d9b4","focus":"InputWrapper_module_focus__e331d9b4","floating-label":"InputWrapper_module_floatingLabel__e331d9b4","input-wrapper-helper":"InputWrapper_module_inputWrapperHelper__e331d9b4","input-wrapper":"InputWrapper_module_inputWrapper__e331d9b4","floating-label-active":"InputWrapper_module_floatingLabelActive__e331d9b4"};
3675
+ var css$g = ".InputWrapper_module_srOnly__080e0af7 {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n.InputWrapper_module_hidden__080e0af7 {\n display: none;\n}\n\n.InputWrapper_module_slideIn__080e0af7 {\n animation: InputWrapper_module_slideIn__080e0af7 0.5s forwards;\n}\n\n.InputWrapper_module_slideOut__080e0af7 {\n animation: InputWrapper_module_slideOut__080e0af7 0.5s forwards;\n}\n\n@keyframes InputWrapper_module_slideIn__080e0af7 {\n 0% {\n transform: translateY(100vh);\n }\n 100% {\n transform: translateY(0%);\n }\n}\n@keyframes InputWrapper_module_slideOut__080e0af7 {\n 0% {\n transform: translateY(0%);\n }\n 100% {\n transform: translateY(100vh);\n }\n}\nlabel.InputWrapper_module_inputLabel__080e0af7.InputWrapper_module_focus__080e0af7 {\n color: var(--color-primary);\n}\n\ninput.InputWrapper_module_floatingLabel__080e0af7 {\n padding-top: 0.625rem;\n}\n\n.InputWrapper_module_inputWrapperHelper__080e0af7 {\n margin-top: 0.25rem;\n}\n\n.InputWrapper_module_inputWrapper__080e0af7 [data-icon]:before {\n transition: 0.2s ease-in-out;\n transform: translateY(0px);\n font-size: 1.125rem;\n}\n.InputWrapper_module_inputWrapper__080e0af7 .InputWrapper_module_floatingLabelActive__080e0af7 [data-icon]:before {\n transform: translateY(5px);\n}\n.InputWrapper_module_inputWrapper__080e0af7 [data-prefix],\n.InputWrapper_module_inputWrapper__080e0af7 [data-suffix] {\n transform: translateY(-0.125rem);\n}\n.InputWrapper_module_inputWrapper__080e0af7 .InputWrapper_module_disabled__080e0af7 {\n background-color: var(--disabled);\n cursor: not-allowed;\n}\n\n.InputWrapper_module_floatingLabelActive__080e0af7 [data-prefix],\n.InputWrapper_module_floatingLabelActive__080e0af7 [data-suffix] {\n padding-top: 0.5rem;\n transform: translateY(0);\n}";
3676
+ var modules_bc06a1ad = {"sr-only":"InputWrapper_module_srOnly__080e0af7","hidden":"InputWrapper_module_hidden__080e0af7","slide-in":"InputWrapper_module_slideIn__080e0af7","slide-out":"InputWrapper_module_slideOut__080e0af7","input-label":"InputWrapper_module_inputLabel__080e0af7","focus":"InputWrapper_module_focus__080e0af7","floating-label":"InputWrapper_module_floatingLabel__080e0af7","input-wrapper-helper":"InputWrapper_module_inputWrapperHelper__080e0af7","input-wrapper":"InputWrapper_module_inputWrapper__080e0af7","floating-label-active":"InputWrapper_module_floatingLabelActive__080e0af7","disabled":"InputWrapper_module_disabled__080e0af7"};
3674
3677
  n(css$g,{"attributes":{"nonce":"DsPHCoJqXm4vKCqFrm03y1"}});
3675
3678
 
3676
3679
  var css$f = ".FormGroup_module_formGroup__65001d8c {\n position: relative;\n}\n\n.FormGroup_module_error__65001d8c {\n color: var(--error);\n}\n\n.FormGroup_module_errorMessage__65001d8c {\n display: flex;\n align-items: flex-end;\n}\n\n.FormGroup_module_errorIcon__65001d8c {\n margin-right: 0.5rem;\n font-size: 1.25rem;\n}\n.FormGroup_module_errorIconBefore__65001d8c {\n margin-right: 0.5rem;\n}\n.FormGroup_module_errorIconAfter__65001d8c {\n margin-left: 0.5rem;\n}\n\n.FormGroup_module_defaultHelper__65001d8c {\n font-size: 0.75rem;\n}";
@@ -3718,8 +3721,8 @@ var FormGroup = /*#__PURE__*/React__default["default"].forwardRef(function (_ref
3718
3721
  })))));
3719
3722
  });
3720
3723
 
3721
- var css$e = ".Wrapper_module_floatingWrapper__7d8bd865 {\n position: relative;\n}\n\n.Wrapper_module_floatingLabel__7d8bd865 {\n font-family: var(--font-family);\n font-size: 1rem;\n position: absolute;\n z-index: 1;\n top: 1.3125rem;\n left: 1.25rem;\n transform-origin: left top;\n transition: all 0.2s ease-in-out;\n pointer-events: none;\n}\n.Wrapper_module_floatingLabel__7d8bd865.Wrapper_module_floatingLabelActive__7d8bd865 {\n font-size: 0.75rem;\n transform: translateY(-0.75rem);\n color: var(--default);\n}\n.Wrapper_module_floatingLabel__7d8bd865.Wrapper_module_error__7d8bd865 {\n color: var(--error);\n}\n\n.Wrapper_module_wrapper__7d8bd865 + fieldset,\n.Wrapper_module_wrapper__7d8bd865 + .Wrapper_module_wrapper__7d8bd865 {\n margin-top: 1rem;\n}\n\n.Wrapper_module_required__7d8bd865:after {\n content: \" *\";\n}";
3722
- var modules_e401a244 = {"floating-wrapper":"Wrapper_module_floatingWrapper__7d8bd865","floating-label":"Wrapper_module_floatingLabel__7d8bd865","floating-label-active":"Wrapper_module_floatingLabelActive__7d8bd865","error":"Wrapper_module_error__7d8bd865","wrapper":"Wrapper_module_wrapper__7d8bd865","required":"Wrapper_module_required__7d8bd865"};
3724
+ var css$e = ".Wrapper_module_floatingWrapper__0b777b2e {\n position: relative;\n}\n\n.Wrapper_module_floatingLabel__0b777b2e {\n font-family: var(--font-family);\n font-size: 1rem;\n position: absolute;\n z-index: 1;\n top: 1.3125rem;\n left: 1.25rem;\n transform-origin: left top;\n transition: all 0.2s ease-in-out;\n pointer-events: none;\n}\n.Wrapper_module_floatingLabel__0b777b2e.Wrapper_module_floatingLabelActive__0b777b2e {\n font-size: 0.75rem;\n transform: translateY(-0.75rem);\n color: var(--default);\n}\n.Wrapper_module_floatingLabel__0b777b2e.Wrapper_module_error__0b777b2e {\n color: var(--error);\n}\n.Wrapper_module_floatingLabel__0b777b2e.Wrapper_module_disabled__0b777b2e {\n color: var(--greyed-out);\n}\n\n.Wrapper_module_wrapper__0b777b2e + fieldset,\n.Wrapper_module_wrapper__0b777b2e + .Wrapper_module_wrapper__0b777b2e {\n margin-top: 1rem;\n}\n\n.Wrapper_module_required__0b777b2e:after {\n content: \" *\";\n}";
3725
+ var modules_e401a244 = {"floating-wrapper":"Wrapper_module_floatingWrapper__0b777b2e","floating-label":"Wrapper_module_floatingLabel__0b777b2e","floating-label-active":"Wrapper_module_floatingLabelActive__0b777b2e","error":"Wrapper_module_error__0b777b2e","disabled":"Wrapper_module_disabled__0b777b2e","wrapper":"Wrapper_module_wrapper__0b777b2e","required":"Wrapper_module_required__0b777b2e"};
3723
3726
  n(css$e,{"attributes":{"nonce":"DsPHCoJqXm4vKCqFrm03y1"}});
3724
3727
 
3725
3728
  var _excluded$h = ["children", "className", "error", "errorMessage", "errorId", "errorMessageIcon", "errorMessageIconPosition", "helperText", "helperId", "floatingLabel", "floatingLabelActive", "required", "helperProps", "helperIndent", "labelProps", "label", "disabled", "name", "innerClassName"];
@@ -3760,9 +3763,10 @@ var Wrapper = /*#__PURE__*/React__default["default"].forwardRef(function (_ref,
3760
3763
  (labelProps == null ? void 0 : labelProps.className) && labelClasses.push(labelProps.className);
3761
3764
  required && labelClasses.push(modules_e401a244["required"]);
3762
3765
  error && labelClasses.push(modules_e401a244["error"]);
3766
+ disabled && labelClasses.push(modules_e401a244["disabled"]);
3763
3767
  return React__default["default"].createElement("div", _extends({}, rest, {
3764
3768
  ref: ref,
3765
- className: modules_e401a244.wrapper + " " + (className ? className : "")
3769
+ className: modules_e401a244.wrapper + " " + (className != null ? className : "")
3766
3770
  }), React__default["default"].createElement(FormGroup, {
3767
3771
  error: error,
3768
3772
  errorMessage: errorMessage,
@@ -3822,7 +3826,7 @@ var useWrapper = function useWrapper(value, placeholder, type) {
3822
3826
  };
3823
3827
  };
3824
3828
 
3825
- var _excluded$g = ["type", "name", "inputProps", "helperText", "helperProps", "value", "className", "error", "onChange", "onBlur", "onFocus"];
3829
+ var _excluded$g = ["type", "name", "inputProps", "helperText", "helperProps", "value", "className", "error", "onChange", "onBlur", "onFocus", "disabled"];
3826
3830
 
3827
3831
  var useLabelOffset = function useLabelOffset(input, floatingLabelActive, prefix) {
3828
3832
  var _useState = React.useState({}),
@@ -3854,7 +3858,7 @@ var useLabelOffset = function useLabelOffset(input, floatingLabelActive, prefix)
3854
3858
  };
3855
3859
 
3856
3860
  var InputWrapper = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
3857
- var _helperProps$classNam, _inputProps$wrapperPr, _inputProps$wrapperPr2, _inputProps$className;
3861
+ var _inputProps$wrapperPr, _inputProps$wrapperPr2, _helperProps$classNam, _inputProps$className;
3858
3862
 
3859
3863
  var type = _ref.type,
3860
3864
  name = _ref.name,
@@ -3867,6 +3871,7 @@ var InputWrapper = /*#__PURE__*/React__default["default"].forwardRef(function (_
3867
3871
  onChange = _ref.onChange,
3868
3872
  _onBlur = _ref.onBlur,
3869
3873
  _onFocus = _ref.onFocus,
3874
+ disabled = _ref.disabled,
3870
3875
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$g);
3871
3876
 
3872
3877
  var _useWrapper = useWrapper(value, inputProps == null ? void 0 : inputProps.placeholder, type),
@@ -3884,12 +3889,16 @@ var InputWrapper = /*#__PURE__*/React__default["default"].forwardRef(function (_
3884
3889
 
3885
3890
  var input = React.useRef(null);
3886
3891
  var hasValueOrActiveFloatingLabel = !!value || floatingLabelActive;
3887
- var labelClasses = [modules_bc06a1ad["input-label"]];
3888
3892
 
3889
3893
  var _useLabelOffset = useLabelOffset(inputProps && inputProps.ref || input, floatingLabelActive, prefix),
3890
3894
  labelOffset = _useLabelOffset.labelOffset;
3891
3895
 
3896
+ var labelClasses = [modules_bc06a1ad["input-label"]];
3892
3897
  hasFocus && labelClasses.push(modules_bc06a1ad["focus"]);
3898
+ var inputWrapperClasses = [];
3899
+ floatingLabelActive && inputWrapperClasses.push(modules_bc06a1ad["floating-label-active"]);
3900
+ (inputProps == null ? void 0 : (_inputProps$wrapperPr = inputProps.wrapperProps) == null ? void 0 : _inputProps$wrapperPr.className) && inputWrapperClasses.push(inputProps == null ? void 0 : (_inputProps$wrapperPr2 = inputProps.wrapperProps) == null ? void 0 : _inputProps$wrapperPr2.className);
3901
+ disabled && inputWrapperClasses.push(modules_bc06a1ad["disabled"]);
3893
3902
  return React__default["default"].createElement(Wrapper, _extends({}, rest, {
3894
3903
  ref: ref,
3895
3904
  name: name,
@@ -3907,12 +3916,13 @@ var InputWrapper = /*#__PURE__*/React__default["default"].forwardRef(function (_
3907
3916
  helperProps: _extends({}, helperProps, {
3908
3917
  className: modules_bc06a1ad["input-wrapper-helper"] + " " + ((_helperProps$classNam = helperProps == null ? void 0 : helperProps.className) != null ? _helperProps$classNam : "") + " "
3909
3918
  }),
3910
- helperIndent: 20
3919
+ helperIndent: 20,
3920
+ disabled: disabled
3911
3921
  }), React__default["default"].createElement(Input, _extends({}, inputProps, {
3912
3922
  prefix: hasValueOrActiveFloatingLabel ? prefix : "",
3913
3923
  suffix: hasValueOrActiveFloatingLabel ? suffix : "",
3914
3924
  wrapperProps: {
3915
- className: (floatingLabelActive ? modules_bc06a1ad["floating-label-active"] : "") + " " + ((_inputProps$wrapperPr = inputProps == null ? void 0 : (_inputProps$wrapperPr2 = inputProps.wrapperProps) == null ? void 0 : _inputProps$wrapperPr2.className) != null ? _inputProps$wrapperPr : "")
3925
+ className: inputWrapperClasses.join(" ")
3916
3926
  },
3917
3927
  ref: inputProps && inputProps.ref || input,
3918
3928
  "aria-labelledby": labelId,