@epilot/base-elements 3.10.2 → 4.0.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.
Files changed (87) hide show
  1. package/dist/Accordion/AccordionSummary.d.ts +2 -2
  2. package/dist/Alert/Alert.d.ts +1 -1
  3. package/dist/Autocomplete/Autocomplete.d.ts +1 -1
  4. package/dist/Autocomplete/types.d.ts +4 -0
  5. package/dist/Avatar/Avatar.d.ts +2 -2
  6. package/dist/Avatar/AvatarGroup.d.ts +2 -2
  7. package/dist/Badge/Badge.d.ts +1 -1
  8. package/dist/Checkbox/Checkbox.d.ts +2 -2
  9. package/dist/Chip/Chip.d.ts +1 -1
  10. package/dist/Chip/RandomColoredChip.d.ts +1 -1
  11. package/dist/Chip360/Chip360.d.ts +4 -3
  12. package/dist/Chip360/Chip360.js +2 -2
  13. package/dist/Chip360/Chip360.js.map +1 -1
  14. package/dist/Chip360/types.d.ts +4 -0
  15. package/dist/Drawer360/ActionFooter.d.ts +1 -1
  16. package/dist/Drawer360/DiscardDialog.d.ts +1 -1
  17. package/dist/Drawer360/DiscardDialog.js +2 -2
  18. package/dist/Drawer360/DiscardDialog.js.map +1 -1
  19. package/dist/Drawer360/Drawer360.d.ts +2 -2
  20. package/dist/Drawer360/Drawer360.js +3 -3
  21. package/dist/Drawer360/Drawer360.js.map +1 -1
  22. package/dist/Drawer360/Drawer360Context.d.ts +1 -1
  23. package/dist/Drawer360/helpers.js +41 -22
  24. package/dist/Drawer360/helpers.js.map +1 -1
  25. package/dist/FeedbackMessage/FeedbackMessage.d.ts +1 -1
  26. package/dist/FeedbackRating/FeedbackRating.d.ts +1 -1
  27. package/dist/FeedbackRating/FeedbackRating.js +28 -7
  28. package/dist/FeedbackRating/FeedbackRating.js.map +1 -1
  29. package/dist/Icon/Icon.d.ts +2 -2
  30. package/dist/IconButton/IconButton.d.ts +3 -3
  31. package/dist/IconButton/types.d.ts +2 -2
  32. package/dist/IconButtonWithText/IconButtonWithText.d.ts +2 -2
  33. package/dist/IconButtonWithText/IconButtonWithText.js +48 -40
  34. package/dist/IconButtonWithText/IconButtonWithText.js.map +1 -1
  35. package/dist/Image/Image.d.ts +1 -1
  36. package/dist/List/List.d.ts +2 -2
  37. package/dist/Notification/Notification.d.ts +4 -4
  38. package/dist/Pagination/Pagination.d.ts +1 -1
  39. package/dist/Pagination/Pagination.js +1 -0
  40. package/dist/Pagination/Pagination.js.map +1 -1
  41. package/dist/Pickers/DatePicker.d.ts +3 -3
  42. package/dist/Pickers/DateTimePicker.d.ts +2 -2
  43. package/dist/Pickers/TimePicker.d.ts +2 -2
  44. package/dist/Radio/Radio.d.ts +1 -1
  45. package/dist/Rating/Rating.d.ts +1 -1
  46. package/dist/Select/Select.d.ts +1 -1
  47. package/dist/Select/Select.js +4 -4
  48. package/dist/Select/Select.js.map +1 -1
  49. package/dist/Spacing/Spacing.d.ts +6 -6
  50. package/dist/Stepper/Stepper.d.ts +1 -1
  51. package/dist/Switch/Switch.d.ts +1 -1
  52. package/dist/Table/ResizeTableCell/ResizeTableCell.d.ts +2 -2
  53. package/dist/Table/ResizeTableCell/ResizeTableCellStyles.d.ts +1 -1
  54. package/dist/Table/ResizeTableCell/ResizeTableContext.d.ts +1 -1
  55. package/dist/TableColumnSettings/TableColumnSettings.d.ts +2 -2
  56. package/dist/Tabs/Tabs.d.ts +2 -2
  57. package/dist/TextField/CurrencyTextField.d.ts +2 -2
  58. package/dist/TextField/InlineTextField.d.ts +1 -1
  59. package/dist/TextField/InlineTextField.js +19 -11
  60. package/dist/TextField/InlineTextField.js.map +1 -1
  61. package/dist/TextField/MaskedTextField.d.ts +2 -2
  62. package/dist/TextField/MaskedTextField.js +1 -1
  63. package/dist/TextField/MaskedTextField.js.map +1 -1
  64. package/dist/TextField/TextField.d.ts +5 -2
  65. package/dist/TextField/TextField.js +7 -5
  66. package/dist/TextField/TextField.js.map +1 -1
  67. package/dist/TextField/ValidatedTextField.d.ts +1 -1
  68. package/dist/TextField/styles.d.ts +1 -2
  69. package/dist/TextField/styles.js +1 -15
  70. package/dist/TextField/styles.js.map +1 -1
  71. package/dist/TextField/types.d.ts +4 -0
  72. package/dist/ThemeProvider/ThemeProvider.d.ts +2 -2
  73. package/dist/ThemeProvider/fonts.d.ts +2 -8
  74. package/dist/ThemeProvider/fonts.js +5 -18
  75. package/dist/ThemeProvider/fonts.js.map +1 -1
  76. package/dist/ThemeProvider/mapping.js +12 -0
  77. package/dist/ThemeProvider/mapping.js.map +1 -1
  78. package/dist/Tooltip/Tooltip.d.ts +1 -1
  79. package/dist/Tree/Tree.d.ts +4 -4
  80. package/dist/Typography/Typography.d.ts +11 -11
  81. package/dist/bundle.js +92 -157
  82. package/dist/bundle.js.map +1 -1
  83. package/dist/config.d.ts +1 -1
  84. package/dist/config.js +1 -3
  85. package/dist/config.js.map +1 -1
  86. package/dist/context/ClassPrefixContext.d.ts +1 -1
  87. package/package.json +14 -7
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { StepperProps } from './types';
3
3
  export { Step, StepLabel, StepContent, StepConnector } from '@material-ui/core';
4
- export declare const Stepper: React.ForwardRefExoticComponent<Pick<StepperProps, "security" | "style" | "title" | "translate" | "className" | "classes" | "innerRef" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "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" | "orientation" | "activeStep" | "connector" | "alignment"> & React.RefAttributes<unknown>>;
4
+ export declare const Stepper: React.ForwardRefExoticComponent<Pick<StepperProps, "security" | "style" | "title" | "translate" | "className" | "classes" | "innerRef" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "orientation" | "activeStep" | "connector" | "alignment"> & React.RefAttributes<unknown>>;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import type { SwitchProps } from './types';
3
- export declare const Switch: React.MemoExoticComponent<({ label, labelPlacement, ...props }: SwitchProps) => JSX.Element>;
3
+ export declare const Switch: React.MemoExoticComponent<({ label, labelPlacement, ...props }: SwitchProps) => React.JSX.Element>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TableCellProps } from '../..';
3
3
  export declare type ResizeTableCellProps = TableCellProps & {
4
4
  columnId: string;
@@ -9,4 +9,4 @@ export declare type ResizeTableCellProps = TableCellProps & {
9
9
  minWidth?: number;
10
10
  hasResizeDisabled?: boolean;
11
11
  };
12
- export declare const ResizeTableCell: ({ children, columnId, onDragStart, onDragEnd, onWidthChange, width, hasResizeDisabled, minWidth, style, className, ...restProps }: ResizeTableCellProps) => JSX.Element;
12
+ export declare const ResizeTableCell: ({ children, columnId, onDragStart, onDragEnd, onWidthChange, width, hasResizeDisabled, minWidth, style, className, ...restProps }: ResizeTableCellProps) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
- declare const useClasses: (props?: any) => Record<"content" | "container" | "hoverContainer" | "dragContainer" | "draggableContainer" | "draggableContainerActive" | "arrowLeft" | "arrowRight" | "bar", string>;
1
+ declare const useClasses: (props?: any) => Record<"content" | "bar" | "container" | "hoverContainer" | "dragContainer" | "draggableContainer" | "draggableContainerActive" | "arrowLeft" | "arrowRight", string>;
2
2
  export default useClasses;
@@ -8,5 +8,5 @@ interface ResizeTableContextValue {
8
8
  };
9
9
  }
10
10
  export declare const ResizeTableContext: React.Context<ResizeTableContextValue>;
11
- export declare const ResizeTableContextProvider: (props: Omit<ComponentProps<typeof ResizeTableContext.Provider>, 'value'>) => JSX.Element;
11
+ export declare const ResizeTableContextProvider: (props: Omit<ComponentProps<typeof ResizeTableContext.Provider>, 'value'>) => React.JSX.Element;
12
12
  export {};
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { TableColumnSettingsProps } from './types';
3
- export declare const TableColumnSettings: ({ columns, onColumnsChange, locales: _locales }: TableColumnSettingsProps) => JSX.Element;
3
+ export declare const TableColumnSettings: ({ columns, onColumnsChange, locales: _locales }: TableColumnSettingsProps) => React.JSX.Element;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import type { TabsProps } from './types';
3
3
  export { Tab } from '@material-ui/core';
4
4
  export { useTabContext, TabContext, TabPanel, TabList } from '@material-ui/lab';
5
- export declare const Tabs: React.ForwardRefExoticComponent<Pick<TabsProps, "key" | "type" | "security" | "style" | "title" | "translate" | "className" | "classes" | "innerRef" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "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" | "action" | "disabled" | "name" | "orientation" | "value" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "variant" | "centered" | "scrollButtons" | "indicatorColor" | "ScrollButtonComponent" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "buttonsVariant"> & React.RefAttributes<HTMLButtonElement>>;
6
- export declare const PrimaryTabs: React.ForwardRefExoticComponent<Pick<import("@material-ui/core/OverridableComponent").OverrideProps<import("@material-ui/lab").TabListTypeMap<{}, import("@material-ui/core").ExtendButtonBase<import("@material-ui/core").ButtonBaseTypeMap<{}, "button">>>, import("@material-ui/core").ExtendButtonBase<import("@material-ui/core").ButtonBaseTypeMap<{}, "button">>>, "key" | "type" | "security" | "style" | "title" | "translate" | "className" | "classes" | "innerRef" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "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" | "action" | "disabled" | "name" | "orientation" | "value" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "variant" | "centered" | "scrollButtons" | "indicatorColor" | "ScrollButtonComponent" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor"> & React.RefAttributes<HTMLButtonElement>>;
5
+ export declare const Tabs: React.ForwardRefExoticComponent<Pick<TabsProps, "key" | "type" | "security" | "style" | "title" | "translate" | "className" | "classes" | "innerRef" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "disabled" | "name" | "orientation" | "value" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "variant" | "centered" | "scrollButtons" | "indicatorColor" | "ScrollButtonComponent" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "buttonsVariant"> & React.RefAttributes<HTMLButtonElement>>;
6
+ export declare const PrimaryTabs: React.ForwardRefExoticComponent<Pick<import("@material-ui/core/OverridableComponent").OverrideProps<import("@material-ui/lab").TabListTypeMap<{}, import("@material-ui/core").ExtendButtonBase<import("@material-ui/core").ButtonBaseTypeMap<{}, "button">>>, import("@material-ui/core").ExtendButtonBase<import("@material-ui/core").ButtonBaseTypeMap<{}, "button">>>, "key" | "type" | "security" | "style" | "title" | "translate" | "className" | "classes" | "innerRef" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "disabled" | "name" | "orientation" | "value" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "variant" | "centered" | "scrollButtons" | "indicatorColor" | "ScrollButtonComponent" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor"> & React.RefAttributes<HTMLButtonElement>>;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { CurrencyTextFieldProps } from './types';
3
- export declare const CurrencyTextField: (props: CurrencyTextFieldProps) => JSX.Element;
3
+ export declare const CurrencyTextField: (props: CurrencyTextFieldProps) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import type { InlineTextFieldProps } from './types';
3
- export declare const InlineTextField: React.MemoExoticComponent<(props: InlineTextFieldProps) => JSX.Element>;
3
+ export declare const InlineTextField: React.MemoExoticComponent<(props: InlineTextFieldProps) => React.JSX.Element>;
@@ -30,7 +30,7 @@ var countAdjustedLength = function (string) {
30
30
  return length + 1;
31
31
  };
32
32
  exports.InlineTextField = react_1.memo(function (props) {
33
- var initialValue = props.value, onChange = props.onChange, containerStyle = props.containerStyle, isLabel = props.isLabel, compact = props.compact, _a = props.inputProps, inputProps = _a === void 0 ? {} : _a, labelStyle = props.labelStyle, _b = props.clickAwayAction, clickAwayAction = _b === void 0 ? 'ABORT' : _b, _c = props.size, size = _c === void 0 ? 'medium' : _c, _d = props.showEndAdornment, showEndAdornment = _d === void 0 ? true : _d, rest = tslib_1.__rest(props, ["value", "onChange", "containerStyle", "isLabel", "compact", "inputProps", "labelStyle", "clickAwayAction", "size", "showEndAdornment"]);
33
+ var initialValue = props.value, onChange = props.onChange, containerStyle = props.containerStyle, isLabel = props.isLabel, compact = props.compact, _a = props.inputProps, inputProps = _a === void 0 ? {} : _a, labelStyle = props.labelStyle, _b = props.clickAwayAction, clickAwayAction = _b === void 0 ? 'ABORT' : _b, _c = props.size, size = _c === void 0 ? 'medium' : _c, _d = props.showEndAdornment, showEndAdornment = _d === void 0 ? true : _d, shouldRenderControlsOutsideForm = props.shouldRenderControlsOutsideForm, rest = tslib_1.__rest(props, ["value", "onChange", "containerStyle", "isLabel", "compact", "inputProps", "labelStyle", "clickAwayAction", "size", "showEndAdornment", "shouldRenderControlsOutsideForm"]);
34
34
  var style = inputProps.style, restinputProps = tslib_1.__rest(inputProps, ["style"]);
35
35
  var classes = styles_2.useInlineTextFieldStyles(props);
36
36
  var _e = react_1.useState(false), showControls = _e[0], setShowControls = _e[1];
@@ -77,20 +77,28 @@ exports.InlineTextField = react_1.memo(function (props) {
77
77
  }
78
78
  };
79
79
  var sizeInLetters = countAdjustedLength(typeof value === 'string' ? value : '');
80
- return (react_1["default"].createElement("form", { className: classes.form, onSubmit: onFormSubmit, style: containerStyle },
81
- react_1["default"].createElement(core_1.TextField, tslib_1.__assign({ InputProps: {
82
- endAdornment: showEndAdornment && (react_1["default"].createElement(Icon_1.EIcon, { color: "secondary", name: "pencil2", style: {
83
- visibility: showEditingIcon && !showControls ? 'visible' : 'hidden'
84
- } }))
85
- }, className: classnames_1["default"](classes.sizes, isLabel && classes.withLabel), inputProps: tslib_1.__assign(tslib_1.__assign({ size: compact && typeof value === 'string' ? sizeInLetters : undefined, maxLength: compact && typeof value === 'string' ? 'auto' : undefined }, restinputProps), { style: tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, style), labelStyle), { color: showControls || showEditingIcon
86
- ? theme.palette.text.primary
87
- : (labelStyle === null || labelStyle === void 0 ? void 0 : labelStyle.color) || (style === null || style === void 0 ? void 0 : style.color) }) }), onBlur: clickAwayAction === 'ABORT' ? handleClickCancel : handleClickCheck, onChange: function (e) { return setValue(e.target.value); }, onFocus: function () { return setShowControls(true); }, onKeyDown: handleKeyDown, onMouseEnter: function () { return setShowEditingIcon(true); }, onMouseLeave: function () { return setShowEditingIcon(false); }, value: value, variant: "outlined" }, rest)),
88
- showControls && (react_1["default"].createElement(Controls, { onClickCancel: handleClickCancel, onClickCheck: handleClickCheck }))));
80
+ return (react_1["default"].createElement(react_1["default"].Fragment, null,
81
+ react_1["default"].createElement("form", { className: classes.form, onSubmit: onFormSubmit, style: containerStyle },
82
+ react_1["default"].createElement(core_1.TextField, tslib_1.__assign({ InputProps: {
83
+ endAdornment: showEndAdornment && (react_1["default"].createElement(Icon_1.EIcon, { color: "secondary", name: "pencil2", style: {
84
+ visibility: showEditingIcon && !showControls ? 'visible' : 'hidden'
85
+ } }))
86
+ }, className: classnames_1["default"](classes.sizes, isLabel && classes.withLabel), inputProps: tslib_1.__assign(tslib_1.__assign({ size: compact && typeof value === 'string' ? sizeInLetters : undefined, maxLength: compact && typeof value === 'string' ? 'auto' : undefined }, restinputProps), { style: tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, style), labelStyle), { color: showControls || showEditingIcon
87
+ ? theme.palette.text.primary
88
+ : (labelStyle === null || labelStyle === void 0 ? void 0 : labelStyle.color) || (style === null || style === void 0 ? void 0 : style.color) }) }), onBlur: clickAwayAction === 'ABORT' ? handleClickCancel : handleClickCheck, onChange: function (e) { return setValue(e.target.value); }, onFocus: function () { return setShowControls(true); }, onKeyDown: handleKeyDown, onMouseEnter: function () { return setShowEditingIcon(true); }, onMouseLeave: function () { return setShowEditingIcon(false); }, value: value, variant: "outlined" }, rest)),
89
+ !shouldRenderControlsOutsideForm && showControls && (react_1["default"].createElement(Controls, { onClickCancel: handleClickCancel, onClickCheck: handleClickCheck }))),
90
+ shouldRenderControlsOutsideForm && showControls && (react_1["default"].createElement(Controls, { onClickCancel: handleClickCancel, onClickCheck: handleClickCheck }))));
89
91
  });
90
92
  exports.InlineTextField.displayName = 'InlineTextField';
91
93
  var Controls = function (_a) {
92
94
  var onClickCheck = _a.onClickCheck, onClickCancel = _a.onClickCancel;
93
- return (react_1["default"].createElement("span", { style: { position: 'absolute', top: '100%', marginTop: 4, lineHeight: 1 } },
95
+ return (react_1["default"].createElement("span", { className: "input-controls", style: {
96
+ position: 'absolute',
97
+ top: '100%',
98
+ marginTop: 4,
99
+ lineHeight: 1,
100
+ right: 0
101
+ } },
94
102
  react_1["default"].createElement(IconButton_1.ElevatedIconButton, { onMouseDown: onClickCheck, style: { zIndex: 999 }, variant: "rounded" },
95
103
  react_1["default"].createElement(Icon_1.EIcon, { color: "secondary", fontSize: 16, name: "check" })),
96
104
  react_1["default"].createElement(IconButton_1.ElevatedIconButton, { onMouseDown: onClickCancel, style: { marginLeft: 4, zIndex: 999 }, variant: "rounded" },
@@ -1 +1 @@
1
- {"version":3,"file":"InlineTextField.js","sourceRoot":"","sources":["../../src/TextField/InlineTextField.tsx"],"names":[],"mappings":";;;;AAAA,0CAA6C;AAC7C,kEAAmC;AACnC,qDASc;AAEd,gCAA+B;AAC/B,4CAAkD;AAClD,oCAAoC;AAEpC,mCAAmD;AAGnD,IAAM,mBAAmB,GAAG,UAAC,MAAc;IACzC,IAAI,MAAM,GAAG,CAAC,CAAA;IACd,IAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;IAE9B,KAAmB,UAAK,EAAL,eAAK,EAAL,mBAAK,EAAL,IAAK,EAAE;QAArB,IAAM,IAAI,cAAA;QACb,IAAI,CA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EAAE,EAAE,IAAI,EAAC,GAAG,GAAG,CACb,CAChB,CACR;AA1BK,CA0BL,CAAA"}
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { MaskedTextFieldProps } from './types';
3
- export declare function MaskedTextField(props: MaskedTextFieldProps): JSX.Element;
3
+ export declare function MaskedTextField(props: MaskedTextFieldProps): React.JSX.Element;
@@ -8,7 +8,7 @@ var TextField_1 = require("./TextField");
8
8
  function MaskedTextField(props) {
9
9
  var textFieldProps = props.textFieldProps, required = props.required, inputRef = props.inputRef, rest = tslib_1.__rest(props, ["textFieldProps", "required", "inputRef"]);
10
10
  var onChange = textFieldProps.onChange, onMouseDown = textFieldProps.onMouseDown, onFocus = textFieldProps.onFocus, onBlur = textFieldProps.onBlur, value = textFieldProps.value, disabled = textFieldProps.disabled, otherTextFieldProps = tslib_1.__rest(textFieldProps, ["onChange", "onMouseDown", "onFocus", "onBlur", "value", "disabled"]);
11
- return (react_1["default"].createElement(react_input_mask_1["default"], tslib_1.__assign({ disabled: disabled, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onMouseDown: onMouseDown, value: value }, rest), function () { return (react_1["default"].createElement(TextField_1.TextField, tslib_1.__assign({ inputRef: inputRef, required: required }, otherTextFieldProps))); }));
11
+ return (react_1["default"].createElement(react_input_mask_1["default"], tslib_1.__assign({ disabled: disabled, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onMouseDown: onMouseDown, value: value }, rest), (function () { return (react_1["default"].createElement(TextField_1.TextField, tslib_1.__assign({ inputRef: inputRef, required: required }, otherTextFieldProps))); })));
12
12
  }
13
13
  exports.MaskedTextField = MaskedTextField;
14
14
  //# sourceMappingURL=MaskedTextField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MaskedTextField.js","sourceRoot":"","sources":["../../src/TextField/MaskedTextField.tsx"],"names":[],"mappings":";;;;AAAA,wDAAyB;AACzB,8EAAwC;AAExC,yCAAuC;AAGvC,SAAgB,eAAe,CAA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X,EACL,QAAQ,GAEN,cAAc,SAFR,EACL,mBAAmB,kBACpB,cAAc,EARZ,qEAQL,CADuB,CACN;IAElB,OAAO,CACL,iCAAC,6BAAS,qBACR,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAoC,IACvC,IAAI,GAON,CAAC,cAAM,OAAA,CACL,iCAAC,qBAAS,qBACR,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,IACd,mBAAmB,EACvB,CACH,EANM,CAMN,CAAyB,CAElB,CACb,CAAA;AACH,CAAC;AArCD,0CAqCC"}
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
- import { TextFieldProps } from './types';
3
- export declare const TextField: React.MemoExoticComponent<({ InputProps, inputProps, customBackgroundColor, readOnly, ...props }: TextFieldProps) => JSX.Element>;
2
+ import type { TextFieldProps } from './types';
3
+ export declare const TextField: {
4
+ ({ InputProps, inputProps, customBackgroundColor, readOnly, ...props }: TextFieldProps): React.JSX.Element;
5
+ displayName: string;
6
+ };
@@ -4,11 +4,13 @@ exports.TextField = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
6
  var react_1 = tslib_1.__importStar(require("react"));
7
- var styles_1 = require("./styles");
8
- exports.TextField = react_1.memo(function (_a) {
7
+ var TextField = function (_a) {
9
8
  var InputProps = _a.InputProps, inputProps = _a.inputProps, customBackgroundColor = _a.customBackgroundColor, readOnly = _a.readOnly, props = tslib_1.__rest(_a, ["InputProps", "inputProps", "customBackgroundColor", "readOnly"]);
10
- var classes = styles_1.useTextFieldStyles(tslib_1.__assign({ customBackgroundColor: customBackgroundColor }, props));
11
- return (react_1["default"].createElement(core_1.TextField, tslib_1.__assign({ InputProps: tslib_1.__assign({ classes: classes }, InputProps), inputProps: tslib_1.__assign({ readOnly: readOnly }, inputProps) }, props)));
12
- });
9
+ var mergedInputProps = react_1.useMemo(function () { return (tslib_1.__assign(tslib_1.__assign({}, InputProps), { style: customBackgroundColor
10
+ ? tslib_1.__assign({ backgroundColor: customBackgroundColor }, InputProps === null || InputProps === void 0 ? void 0 : InputProps.style) : InputProps === null || InputProps === void 0 ? void 0 : InputProps.style })); }, [customBackgroundColor, InputProps]);
11
+ var mergedInputPropsLowercase = react_1.useMemo(function () { return (tslib_1.__assign({ readOnly: readOnly }, inputProps)); }, [readOnly, inputProps]);
12
+ return (react_1["default"].createElement(core_1.TextField, tslib_1.__assign({ InputProps: mergedInputProps, inputProps: mergedInputPropsLowercase }, props)));
13
+ };
14
+ exports.TextField = TextField;
13
15
  exports.TextField.displayName = 'TextField';
14
16
  //# sourceMappingURL=TextField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.js","sourceRoot":"","sources":["../../src/TextField/TextField.tsx"],"names":[],"mappings":";;;;AAAA,0CAA6D;AAC7D,qDAAmC;AAEnC,mCAA6C;AAGhC,QAAA,SAAS,GAAG,YAAI,CAC3B,UAAC,EAMgB;IALf,IAAA,UAAU,gBAAA,EACV,UAAU,gBAAA,EACV,qBAAqB,2BAAA,EACrB,QAAQ,cAAA,EACL,KAAK,sBALT,iEAMA,CADS;IAER,IAAM,OAAO,GAAG,2BAAkB,oBAAG,qBAAqB,uBAAA,IAAK,KAAK,EAAG,CAAA;IAEvE,OAAO,CACL,iCAAC,gBAAY,qBACX,UAAU,qBAAI,OAAO,SAAA,IAAK,UAAU,GACpC,UAAU,qBAAI,QAAQ,UAAA,IAAK,UAAU,KACjC,KAAK,EACT,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,iBAAS,CAAC,WAAW,GAAG,WAAW,CAAA"}
1
+ {"version":3,"file":"TextField.js","sourceRoot":"","sources":["../../src/TextField/TextField.tsx"],"names":[],"mappings":";;;;AAAA,0CAA6D;AAC7D,qDAAsC;AAI/B,IAAM,SAAS,GAAG,UAAC,EAMT;IALf,IAAA,UAAU,gBAAA,EACV,UAAU,gBAAA,EACV,qBAAqB,2BAAA,EACrB,QAAQ,cAAA,EACL,KAAK,sBALgB,iEAMzB,CADS;IAER,IAAM,gBAAgB,GAAG,eAAO,CAC9B,cAAM,OAAA,uCACD,UAAU,KACb,KAAK,EAAE,qBAAqB;YAC1B,CAAC,oBAAG,eAAe,EAAE,qBAAqB,IAAK,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,EAChE,CAAC,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,IACrB,EALI,CAKJ,EACF,CAAC,qBAAqB,EAAE,UAAU,CAAC,CACpC,CAAA;IAED,IAAM,yBAAyB,GAAG,eAAO,CACvC,cAAM,OAAA,oBAAG,QAAQ,UAAA,IAAK,UAAU,EAAG,EAA7B,CAA6B,EACnC,CAAC,QAAQ,EAAE,UAAU,CAAC,CACvB,CAAA;IAED,OAAO,CACL,iCAAC,gBAAY,qBACX,UAAU,EAAE,gBAAgB,EAC5B,UAAU,EAAE,yBAAyB,IACjC,KAAK,EACT,CACH,CAAA;AACH,CAAC,CAAA;AA7BY,QAAA,SAAS,aA6BrB;AAED,iBAAS,CAAC,WAAW,GAAG,WAAW,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { ValidatedTextFieldProps } from './types';
3
- export declare const ValidatedTextField: React.MemoExoticComponent<(props: ValidatedTextFieldProps) => JSX.Element>;
3
+ export declare const ValidatedTextField: React.MemoExoticComponent<(props: ValidatedTextFieldProps) => React.JSX.Element>;
@@ -1,3 +1,2 @@
1
- import { InlineTextFieldProps, TextFieldProps } from './types';
2
- export declare const useTextFieldStyles: (props: TextFieldProps) => Record<"root", string>;
1
+ import type { InlineTextFieldProps } from './types';
3
2
  export declare const useInlineTextFieldStyles: (props: InlineTextFieldProps) => Record<"form" | "sizes" | "withLabel", string>;
@@ -1,21 +1,7 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- exports.useInlineTextFieldStyles = exports.useTextFieldStyles = void 0;
3
+ exports.useInlineTextFieldStyles = void 0;
4
4
  var core_1 = require("@material-ui/core");
5
- exports.useTextFieldStyles = core_1.makeStyles(function () {
6
- return core_1.createStyles({
7
- root: {
8
- backgroundColor: function (props) {
9
- return props.customBackgroundColor + " !important";
10
- },
11
- '&:hover, &:active, &:focus': {
12
- backgroundColor: function (props) {
13
- return props.customBackgroundColor + " !important";
14
- }
15
- }
16
- }
17
- });
18
- });
19
5
  exports.useInlineTextFieldStyles = core_1.makeStyles(function () {
20
6
  return core_1.createStyles({
21
7
  withLabel: {
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/TextField/styles.ts"],"names":[],"mappings":";;;AAAA,0CAA4D;AAI/C,QAAA,kBAAkB,GAAG,iBAAU,CAAC;IAC3C,OAAA,mBAAY,CAAC;QACX,IAAI,EAAE;YACJ,eAAe,EAAE,UAAC,KAAqB;gBACrC,OAAG,KAAK,CAAC,qBAAqB,gBAAa;YAA3C,CAA2C;YAE7C,4BAA4B,EAAE;gBAC5B,eAAe,EAAE,UAAC,KAAqB;oBACrC,OAAG,KAAK,CAAC,qBAAqB,gBAAa;gBAA3C,CAA2C;aAC9C;SACF;KACF,CAAC;AAVF,CAUE,CACH,CAAA;AAEY,QAAA,wBAAwB,GAAG,iBAAU,CAAC;IACjD,OAAA,mBAAY,CAAC;QACX,SAAS,EAAE;YACT,OAAO,EAAE;gBACP,eAAe,EAAE,aAAa;gBAC9B,YAAY,EAAE;oBACZ,WAAW,EAAE,CAAC;iBACf;aACF;SACF;QACD,IAAI,EAAE;YACJ,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,aAAa;YACtB,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,UAAU;SACvB;QACD,KAAK,EAAE,UAAC,EAA8B;gBAA5B,IAAI,UAAA;YAA6B,OAAA,CAAC;gBAC1C,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC;aAC5B,CAAC;QA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AAE,EAAE;gBACV,KAAK,EAAE;oBACL,QAAQ,EAAE,iBAAiB;iBAC5B;aACF,CAAA;QACH,KAAK,WAAW;YACd,OAAO;gBACL,YAAY,EAAE,CAAC;gBACf,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,EAAE;gBACV,SAAS,EAAE;oBACT,WAAW,EAAE,CAAC;iBACf;gBACD,KAAK,EAAE;oBACL,QAAQ,EAAE,gBAAgB;iBAC3B;aACF,CAAA;QACH;YACE,OAAO,EAAE,CAAA;KACZ;AACH,CAAC"}
@@ -69,4 +69,8 @@ export declare type InlineTextFieldProps = Omit<TextFieldProps, 'onChange' | 'si
69
69
  * @default true
70
70
  */
71
71
  showEndAdornment?: boolean;
72
+ /**
73
+ * Allows to position controls outside of form
74
+ */
75
+ shouldRenderControlsOutsideForm?: boolean;
72
76
  };
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
1
  import '../global.css';
2
+ import React from 'react';
3
3
  import { ThemeProviderProps } from './types';
4
- export declare function ThemeProvider({ children, theme, classPrefix, isMuiTheme }: ThemeProviderProps): JSX.Element;
4
+ export declare function ThemeProvider({ children, theme, classPrefix, isMuiTheme }: ThemeProviderProps): React.JSX.Element;
@@ -1,13 +1,7 @@
1
- declare const _default: ({
2
- fontWeight: string;
3
- src: string;
4
- fontFamily: string;
5
- fontStyle: string;
6
- fontDisplay: string;
7
- } | {
1
+ declare const _default: {
8
2
  fontFamily: string;
9
3
  fontStyle: string;
10
4
  fontWeight: number;
11
5
  src: string;
12
- })[];
6
+ }[];
13
7
  export default _default;
@@ -1,27 +1,14 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- var tslib_1 = require("tslib");
4
3
  var config_1 = require("../config");
5
- var proximaNova = {
6
- fontFamily: 'ProximaNova',
7
- fontStyle: 'normal',
8
- fontDisplay: 'swap'
9
- };
10
- var proximaNovaRegular = tslib_1.__assign(tslib_1.__assign({}, proximaNova), { fontWeight: 400, src: "local('Proxima Nova Regular'), local('ProximaNova-Regular'), url('" + config_1.STATIC_ASSETS_URL + "/fonts/ProximaNova-Regular.woff')" });
11
- var proximaNovaSemiBold = tslib_1.__assign(tslib_1.__assign({}, proximaNova), { fontWeight: 600, src: "local('Proxima Nova Semibold'), local('ProximaNova-Semibold'), url('" + config_1.STATIC_ASSETS_URL + "/fonts/ProximaNova-Semibold.woff')" });
12
- var proximaNovaBold800 = tslib_1.__assign(tslib_1.__assign({}, proximaNova), { fontWeight: 800, src: "local('Proxima Nova Bold'), local('ProximaNova-Bold'), url('" + config_1.STATIC_ASSETS_URL + "/fonts/ProximaNova-Bold.woff')" });
13
- var proximaNovaBold = tslib_1.__assign(tslib_1.__assign({}, proximaNova), { fontWeight: 'bold', src: "local('Proxima Nova Bold'), local('ProximaNova-Bold'), url('" + config_1.STATIC_ASSETS_URL + "/fonts/ProximaNova-Bold.woff')" });
4
+ // Note: ProximaNova fonts are loaded via fonts.css in epilot360-root-config.
5
+ // They were removed from here to prevent duplicate/conflicting @font-face declarations
6
+ // which caused font jitter issues (see: https://epilot.slack.com/archives/CG5GDRC77/p1773994200647609).
14
7
  var materialIcons = {
15
8
  fontFamily: 'Material Icons',
16
9
  fontStyle: 'normal',
17
10
  fontWeight: 400,
18
- src: "local('Material Icons'), url('" + config_1.STATIC_ASSETS_URL + "/icons-font/material-icons.woff2'), url('https://fonts.googleapis.com/icon?family=Material+Icons')"
11
+ src: "local('Material Icons'), url('" + config_1.STATIC_ASSETS_URL + "/fonts/material-icons/material-icons.woff2')"
19
12
  };
20
- exports["default"] = [
21
- proximaNovaRegular,
22
- proximaNovaSemiBold,
23
- proximaNovaBold800,
24
- proximaNovaBold,
25
- materialIcons
26
- ];
13
+ exports["default"] = [materialIcons];
27
14
  //# sourceMappingURL=fonts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fonts.js","sourceRoot":"","sources":["../../src/ThemeProvider/fonts.ts"],"names":[],"mappings":";;;AAAA,oCAA6C;AAE7C,IAAM,WAAW,GAAG;IAClB,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,QAAQ;IACnB,WAAW,EAAE,MAAM;CACpB,CAAA;AACD,IAAM,kBAAkB,yCACnB,WAAW,KACd,UAAU,EAAE,GAAG,EACf,GAAG,EAAE,uEAAqE,0BAAiB,sCAAmC,GAC/H,CAAA;AACD,IAAM,mBAAmB,yCACpB,WAAW,KACd,UAAU,EAAE,GAAG,EACf,GAAG,EAAE,yEAAuE,0BAAiB,uCAAoC,GAClI,CAAA;AACD,IAAM,kBAAkB,yCACnB,WAAW,KACd,UAAU,EAAE,GAAG,EACf,GAAG,EAAE,iEAA+D,0BAAiB,mCAAgC,GACtH,CAAA;AACD,IAAM,eAAe,yCAChB,WAAW,KACd,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,iEAA+D,0BAAiB,mCAAgC,GACtH,CAAA;AAED,IAAM,aAAa,GAAG;IACpB,UAAU,EAAE,gBAAgB;IAC5B,SAAS,EAAE,QAAQ;IACnB,UAAU,EAAE,GAAG;IACf,GAAG,EAAE,mCAAiC,0BAAiB,uGAAoG;CAC5J,CAAA;AAED,qBAAe;IACb,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,eAAe;IACf,aAAa;CACd,CAAA"}
1
+ {"version":3,"file":"fonts.js","sourceRoot":"","sources":["../../src/ThemeProvider/fonts.ts"],"names":[],"mappings":";;AAAA,oCAA6C;AAE7C,6EAA6E;AAC7E,uFAAuF;AACvF,wGAAwG;AAExG,IAAM,aAAa,GAAG;IACpB,UAAU,EAAE,gBAAgB;IAC5B,SAAS,EAAE,QAAQ;IACnB,UAAU,EAAE,GAAG;IACf,GAAG,EAAE,mCAAiC,0BAAiB,iDAA8C;CACtG,CAAA;AAED,qBAAe,CAAC,aAAa,CAAC,CAAA"}
@@ -763,6 +763,18 @@ function parseMuiTheme(params, classPrefix) {
763
763
  boxShadow: elevation8
764
764
  }
765
765
  },
766
+ MuiMenu: {
767
+ paper: {
768
+ boxShadow: '0 0 24px 0 rgba(21, 43, 66, 0.12)',
769
+ border: '1px solid var(--neutral-variant-90, #E0E2EC)'
770
+ }
771
+ },
772
+ MuiPopover: {
773
+ paper: {
774
+ boxShadow: '0 0 24px 0 rgba(21, 43, 66, 0.12)',
775
+ border: '1px solid var(--neutral-variant-90, #E0E2EC)'
776
+ }
777
+ },
766
778
  MuiCssBaseline: tslib_1.__assign({ '@global': {
767
779
  '@font-face': extFonts,
768
780
  '.material-icons': {