@epilot/base-elements 4.0.1 → 4.0.2

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 (57) 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/Avatar/Avatar.d.ts +2 -2
  5. package/dist/Avatar/AvatarGroup.d.ts +2 -2
  6. package/dist/Badge/Badge.d.ts +1 -1
  7. package/dist/Checkbox/Checkbox.d.ts +2 -2
  8. package/dist/Chip/Chip.d.ts +1 -1
  9. package/dist/Chip/RandomColoredChip.d.ts +1 -1
  10. package/dist/Chip360/Chip360.d.ts +3 -3
  11. package/dist/Drawer360/ActionFooter.d.ts +1 -1
  12. package/dist/Drawer360/DiscardDialog.d.ts +1 -1
  13. package/dist/Drawer360/Drawer360.d.ts +2 -2
  14. package/dist/Drawer360/Drawer360Context.d.ts +1 -1
  15. package/dist/FeedbackMessage/FeedbackMessage.d.ts +1 -1
  16. package/dist/FeedbackRating/FeedbackRating.d.ts +1 -1
  17. package/dist/Icon/Icon.d.ts +2 -2
  18. package/dist/IconButton/IconButton.d.ts +3 -3
  19. package/dist/IconButtonWithText/IconButtonWithText.d.ts +2 -2
  20. package/dist/Image/Image.d.ts +1 -1
  21. package/dist/List/List.d.ts +2 -2
  22. package/dist/Notification/Notification.d.ts +4 -4
  23. package/dist/Pagination/Pagination.d.ts +1 -1
  24. package/dist/Pickers/DatePicker.d.ts +3 -3
  25. package/dist/Pickers/DateTimePicker.d.ts +2 -2
  26. package/dist/Pickers/TimePicker.d.ts +2 -2
  27. package/dist/Radio/Radio.d.ts +1 -1
  28. package/dist/Rating/Rating.d.ts +1 -1
  29. package/dist/Select/Select.d.ts +1 -1
  30. package/dist/Spacing/Spacing.d.ts +6 -6
  31. package/dist/Stepper/Stepper.d.ts +1 -1
  32. package/dist/Switch/Switch.d.ts +1 -1
  33. package/dist/Table/ResizeTableCell/ResizeTableCell.d.ts +2 -2
  34. package/dist/Table/ResizeTableCell/ResizeTableCellStyles.d.ts +1 -1
  35. package/dist/Table/ResizeTableCell/ResizeTableContext.d.ts +1 -1
  36. package/dist/TableColumnSettings/TableColumnSettings.d.ts +2 -2
  37. package/dist/Tabs/Tabs.d.ts +2 -2
  38. package/dist/Tabs/Tabs.js +4 -4
  39. package/dist/Tabs/Tabs.js.map +1 -1
  40. package/dist/TextField/CurrencyTextField.d.ts +2 -2
  41. package/dist/TextField/InlineTextField.d.ts +1 -1
  42. package/dist/TextField/InlineTextField.js +6 -4
  43. package/dist/TextField/InlineTextField.js.map +1 -1
  44. package/dist/TextField/MaskedTextField.d.ts +2 -2
  45. package/dist/TextField/TextField.d.ts +2 -2
  46. package/dist/TextField/ValidatedTextField.d.ts +1 -1
  47. package/dist/TextField/styles.d.ts +6 -0
  48. package/dist/TextField/styles.js +23 -18
  49. package/dist/TextField/styles.js.map +1 -1
  50. package/dist/ThemeProvider/ThemeProvider.d.ts +2 -2
  51. package/dist/Tooltip/Tooltip.d.ts +1 -1
  52. package/dist/Tree/Tree.d.ts +4 -4
  53. package/dist/Typography/Typography.d.ts +11 -11
  54. package/dist/bundle.js +47 -47
  55. package/dist/bundle.js.map +1 -1
  56. package/dist/context/ClassPrefixContext.d.ts +1 -1
  57. package/package.json +1 -1
@@ -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>>;
package/dist/Tabs/Tabs.js CHANGED
@@ -80,9 +80,9 @@ var useStyles = core_1.makeStyles(function (theme) {
80
80
  });
81
81
  });
82
82
  exports.Tabs = react_1.forwardRef(function (_a, ref) {
83
- var className = _a.className, _b = _a.buttonsVariant, buttonsVariant = _b === void 0 ? 'flat' : _b, props = tslib_1.__rest(_a, ["className", "buttonsVariant"]);
83
+ var className = _a.className, _b = _a.buttonsVariant, buttonsVariant = _b === void 0 ? 'flat' : _b, children = _a.children, props = tslib_1.__rest(_a, ["className", "buttonsVariant", "children"]);
84
84
  var classes = useStyles();
85
- return (react_1["default"].createElement(lab_1.TabList, tslib_1.__assign({ className: classnames_1["default"](buttonsVariant === '3d' ? classes.buttons3d : classes.buttonsFlat, className), ref: ref }, props)));
85
+ return (react_1["default"].createElement(lab_1.TabList, tslib_1.__assign({ className: classnames_1["default"](buttonsVariant === '3d' ? classes.buttons3d : classes.buttonsFlat, className), ref: ref }, props), react_1["default"].Children.toArray(children)));
86
86
  });
87
87
  exports.Tabs.displayName = 'Tabs';
88
88
  var useTabsStyles = core_1.makeStyles(function (theme) {
@@ -110,9 +110,9 @@ var useTabsStyles = core_1.makeStyles(function (theme) {
110
110
  });
111
111
  });
112
112
  exports.PrimaryTabs = react_1.forwardRef(function (_a, ref) {
113
- var className = _a.className, props = tslib_1.__rest(_a, ["className"]);
113
+ var className = _a.className, children = _a.children, props = tslib_1.__rest(_a, ["className", "children"]);
114
114
  var classes = useTabsStyles();
115
- return (react_1["default"].createElement(lab_1.TabList, tslib_1.__assign({ className: classnames_1["default"](classes.buttonsFlat, className), ref: ref }, props)));
115
+ return (react_1["default"].createElement(lab_1.TabList, tslib_1.__assign({ className: classnames_1["default"](classes.buttonsFlat, className), ref: ref }, props), react_1["default"].Children.toArray(children)));
116
116
  });
117
117
  exports.PrimaryTabs.displayName = 'PrimaryTabs';
118
118
  //# sourceMappingURL=Tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../src/Tabs/Tabs.tsx"],"names":[],"mappings":";;;;AAAA,0CAA4D;AAC5D,wCAAwD;AACxD,kEAAmC;AACnC,qDAAsE;AAMtE,0CAAuC;AAA9B,gDAAG;AACZ,wCAA+E;AAAtE,yDAAa;AAAE,sDAAU;AAAE,oDAAQ;AAAE,mDAAO;AAErD,IAAM,SAAS,GAAG,iBAAU,CAAC,UAAC,KAAkB;;IAC9C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d,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,YAAI,CAAC,WAAW,GAAG,MAAM,CAAA;AAEzB,IAAM,aAAa,GAAG,iBAAU,CAAC,UAAC,KAAkB;;IAClD,OAAA,mBAAY,CAAC;QACX,WAAW,EAAE;YACX,SAAS,EAAE;gBACT,SAAS,EAAE;oBACT,SAAS,EAAE,EAAE;oBACb,OAAO,EAAE;wBACP,SAAS,EAAE,EAAE;wBACb,UAAU,EAAE,GAAG;wBACf,QAAQ,EAAE,EAAE;wBACZ,KAAK,QAAE,KAAK,CAAC,OAAO,0CAAE,IAAI,CAAC,GAAG,CAAC;wBAC/B,QAAQ,EAAE,CAAC;wBACX,gBAAgB,EAAE;4BAChB,KAAK,cAAE,KAAK,CAAC,OAAO,0CAAE,IAAI,0CAAE,OAAO;4BACnC,UAAU,EAAE,GAAG;4BACf,eAAe,EAAE,wBAAwB;yBAC1C;qBACF;iBACF;aACF;SACF;KACF,CAAC,CAAA;CAAA,CACH,CAAA;AAEY,QAAA,WAAW,GAAG,kBAAU,CAGnC,UAAC,EAAiC,EAAE,GAAG;IAApC,IAAA,SAAS,eAAA,EAAE,QAAQ,cAAA,EAAK,KAAK,sBAA/B,yBAAiC,CAAF;IAChC,IAAM,OAAO,GAAG,aAAa,EAAE,CAAA;IAE/B,OAAO,CACL,iCAAC,aAAU,qBACT,SAAS,EAAE,uBAAU,CAAC,OAAO,CAAC,WAAW,EAAE,SAAS,CAAC,EACrD,GAAG,EAAE,GAAG,IACJ,KAAK,GAIR,kBAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CACtB,CACd,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,mBAAW,CAAC,WAAW,GAAG,aAAa,CAAA"}
@@ -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>;
@@ -2,10 +2,10 @@
2
2
  exports.__esModule = true;
3
3
  exports.InlineTextField = void 0;
4
4
  var tslib_1 = require("tslib");
5
+ var icons_1 = require("@epilot360/icons");
5
6
  var core_1 = require("@material-ui/core");
6
7
  var classnames_1 = tslib_1.__importDefault(require("classnames"));
7
8
  var react_1 = tslib_1.__importStar(require("react"));
8
- var Icon_1 = require("../Icon");
9
9
  var IconButton_1 = require("../IconButton");
10
10
  var styles_1 = require("../styles");
11
11
  var styles_2 = require("./styles");
@@ -80,7 +80,8 @@ exports.InlineTextField = react_1.memo(function (props) {
80
80
  return (react_1["default"].createElement(react_1["default"].Fragment, null,
81
81
  react_1["default"].createElement("form", { className: classes.form, onSubmit: onFormSubmit, style: containerStyle },
82
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: {
83
+ endAdornment: showEndAdornment && (react_1["default"].createElement(icons_1.Edit, { size: styles_2.getEndAdornmentIconSize(size), style: {
84
+ color: theme.palette.secondary.main,
84
85
  visibility: showEditingIcon && !showControls ? 'visible' : 'hidden'
85
86
  } }))
86
87
  }, 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
@@ -92,6 +93,7 @@ exports.InlineTextField = react_1.memo(function (props) {
92
93
  exports.InlineTextField.displayName = 'InlineTextField';
93
94
  var Controls = function (_a) {
94
95
  var onClickCheck = _a.onClickCheck, onClickCancel = _a.onClickCancel;
96
+ var theme = styles_1.useTheme();
95
97
  return (react_1["default"].createElement("span", { className: "input-controls", style: {
96
98
  position: 'absolute',
97
99
  top: '100%',
@@ -100,8 +102,8 @@ var Controls = function (_a) {
100
102
  right: 0
101
103
  } },
102
104
  react_1["default"].createElement(IconButton_1.ElevatedIconButton, { onMouseDown: onClickCheck, style: { zIndex: 999 }, variant: "rounded" },
103
- react_1["default"].createElement(Icon_1.EIcon, { color: "secondary", fontSize: 16, name: "check" })),
105
+ react_1["default"].createElement(icons_1.Check, { size: 16, style: { color: theme.palette.secondary.main } })),
104
106
  react_1["default"].createElement(IconButton_1.ElevatedIconButton, { onMouseDown: onClickCancel, style: { marginLeft: 4, zIndex: 999 }, variant: "rounded" },
105
- react_1["default"].createElement(Icon_1.EIcon, { fontSize: 16, name: "x" }))));
107
+ react_1["default"].createElement(icons_1.Close, { size: 16 }))));
106
108
  };
107
109
  //# sourceMappingURL=InlineTextField.js.map
@@ -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,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YAC7B,MAAM,IAAI,GAAG,CAAA;SACd;aAAM,IAAI,IA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,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,GAAI,CAChD;QACrB,iCAAC,+BAAkB,IACjB,WAAW,EAAE,aAAa,EAC1B,KAAK,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,EACrC,OAAO,EAAC,SAAS;YAEjB,iCAAC,aAAK,IAAC,IAAI,EAAE,EAAE,GAAI,CACA,CAChB,CACR,CAAA;AACH,CAAC,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;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { TextFieldProps } from './types';
3
3
  export declare const TextField: {
4
- ({ InputProps, inputProps, customBackgroundColor, readOnly, ...props }: TextFieldProps): JSX.Element;
4
+ ({ InputProps, inputProps, customBackgroundColor, readOnly, ...props }: TextFieldProps): React.JSX.Element;
5
5
  displayName: string;
6
6
  };
@@ -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,2 +1,8 @@
1
1
  import type { InlineTextFieldProps } from './types';
2
2
  export declare const useInlineTextFieldStyles: (props: InlineTextFieldProps) => Record<"form" | "sizes" | "withLabel", string>;
3
+ /**
4
+ * Pixel size for the pencil end-adornment icon, per field `size`. Mirrors the
5
+ * sizing `getSizeStyle` used to force via a `& i { fontSize }` CSS override
6
+ * back when the icon was an `<i>` glyph rather than an `@epilot360/icons` SVG.
7
+ */
8
+ export declare function getEndAdornmentIconSize(size: InlineTextFieldProps['size']): 24 | 8 | 16 | 12;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- exports.useInlineTextFieldStyles = void 0;
3
+ exports.getEndAdornmentIconSize = exports.useInlineTextFieldStyles = void 0;
4
4
  var core_1 = require("@material-ui/core");
5
5
  exports.useInlineTextFieldStyles = core_1.makeStyles(function () {
6
6
  return core_1.createStyles({
@@ -35,9 +35,6 @@ function getSizeStyle(size) {
35
35
  height: 40,
36
36
  '& input': {
37
37
  paddingLeft: 10
38
- },
39
- '& i': {
40
- fontSize: '12px !important'
41
38
  }
42
39
  };
43
40
  case 'small':
@@ -47,28 +44,19 @@ function getSizeStyle(size) {
47
44
  height: 32,
48
45
  '& input': {
49
46
  paddingLeft: 8
50
- },
51
- '& i': {
52
- fontSize: '12px !important'
53
47
  }
54
48
  };
55
49
  case 'large':
56
50
  return {
57
51
  paddingRight: 14,
58
52
  fontSize: 16,
59
- height: 48,
60
- '& i': {
61
- fontSize: '12px !important'
62
- }
53
+ height: 48
63
54
  };
64
55
  case 'veryLarge':
65
56
  return {
66
57
  paddingRight: 16,
67
58
  fontSize: 20,
68
- height: 56,
69
- '& i': {
70
- fontSize: '16px !important'
71
- }
59
+ height: 56
72
60
  };
73
61
  case 'verySmall':
74
62
  return {
@@ -77,13 +65,30 @@ function getSizeStyle(size) {
77
65
  height: 24,
78
66
  '& input': {
79
67
  paddingLeft: 8
80
- },
81
- '& i': {
82
- fontSize: '8px !important'
83
68
  }
84
69
  };
85
70
  default:
86
71
  return {};
87
72
  }
88
73
  }
74
+ /**
75
+ * Pixel size for the pencil end-adornment icon, per field `size`. Mirrors the
76
+ * sizing `getSizeStyle` used to force via a `& i { fontSize }` CSS override
77
+ * back when the icon was an `<i>` glyph rather than an `@epilot360/icons` SVG.
78
+ */
79
+ function getEndAdornmentIconSize(size) {
80
+ switch (size) {
81
+ case 'medium':
82
+ case 'small':
83
+ case 'large':
84
+ return 12;
85
+ case 'veryLarge':
86
+ return 16;
87
+ case 'verySmall':
88
+ return 8;
89
+ default:
90
+ return 24;
91
+ }
92
+ }
93
+ exports.getEndAdornmentIconSize = getEndAdornmentIconSize;
89
94
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/TextField/styles.ts"],"names":[],"mappings":";;;AAAA,0CAA4D;AAI/C,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;QAFyC,CAEzC;KACH,CAAC;AAlBF,CAkBE,CACH,CAAA;AAED,SAAS,YAAY,CAAC,IAAkC;IACtD,QAAQ,IAAI,EAAE;QACZ,KAAK,QAAQ;YACX,OAAO;gBACL,YAAY,EAAE,EAAE;gBAChB,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,EAAE;gBACV,SAAS,EAAE;oBACT,WAAW,EAAE,EAAE;iBAChB;gBACD,KAAK,EAAE;oBACL,QAAQ,EAAE,iBAAiB;iBAC5B;aACF,CAAA;QACH,KAAK,OAAO;YACV,OAAO;gBACL,YAAY,EAAE,EAAE;gBAChB,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,EAAE;gBACV,SAAS,EAAE;oBACT,WAAW,EAAE,CAAC;iBACf;gBACD,KAAK,EAAE;oBACL,QAAQ,EAAE,iBAAiB;iBAC5B;aACF,CAAA;QACH,KAAK,OAAO;YACV,OAAO;gBACL,YA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EAAE,EAAE;gBAChB,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,EAAE;gBACV,SAAS,EAAE;oBACT,WAAW,EAAE,EAAE;iBAChB;aACF,CAAA;QACH,KAAK,OAAO;YACV,OAAO;gBACL,YAAY,EAAE,EAAE;gBAChB,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,EAAE;gBACV,SAAS,EAAE;oBACT,WAAW,EAAE,CAAC;iBACf;aACF,CAAA;QACH,KAAK,OAAO;YACV,OAAO;gBACL,YAAY,EAAE,EAAE;gBAChB,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,EAAE;aACX,CAAA;QACH,KAAK,WAAW;YACd,OAAO;gBACL,YAAY,EAAE,EAAE;gBAChB,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,EAAE;aACX,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;aACF,CAAA;QACH;YACE,OAAO,EAAE,CAAA;KACZ;AACH,CAAC;AAED;;;;GAIG;AACH,SAAgB,uBAAuB,CAAC,IAAkC;IACxE,QAAQ,IAAI,EAAE;QACZ,KAAK,QAAQ,CAAC;QACd,KAAK,OAAO,CAAC;QACb,KAAK,OAAO;YACV,OAAO,EAAE,CAAA;QACX,KAAK,WAAW;YACd,OAAO,EAAE,CAAA;QACX,KAAK,WAAW;YACd,OAAO,CAAC,CAAA;QACV;YACE,OAAO,EAAE,CAAA;KACZ;AACH,CAAC;AAbD,0DAaC"}
@@ -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,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import type { TooltipProps } from './types';
3
- export declare const Tooltip: React.MemoExoticComponent<({ mode, ...props }: TooltipProps) => JSX.Element>;
3
+ export declare const Tooltip: React.MemoExoticComponent<({ mode, ...props }: TooltipProps) => React.JSX.Element>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- export declare function TreeItem(props: any): JSX.Element;
3
- export declare function TreeView(props: any): JSX.Element;
4
- export declare const useTreeItemStyles: (props?: any) => Record<"group" | "label" | "root" | "selected" | "content" | "expanded", string>;
1
+ import React from 'react';
2
+ export declare function TreeItem(props: any): React.JSX.Element;
3
+ export declare function TreeView(props: any): React.JSX.Element;
4
+ export declare const useTreeItemStyles: (props?: any) => Record<"group" | "label" | "content" | "root" | "selected" | "expanded", string>;
@@ -1,43 +1,43 @@
1
- /// <reference types="react" />
2
1
  export { Typography } from '@material-ui/core';
2
+ import React from 'react';
3
3
  import type { TypographyProps } from './types';
4
4
  export declare const H1: {
5
- (props: TypographyProps): JSX.Element;
5
+ (props: TypographyProps): React.JSX.Element;
6
6
  displayName: string;
7
7
  };
8
8
  export declare const H2: {
9
- (props: TypographyProps): JSX.Element;
9
+ (props: TypographyProps): React.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  export declare const H3: {
13
- (props: TypographyProps): JSX.Element;
13
+ (props: TypographyProps): React.JSX.Element;
14
14
  displayName: string;
15
15
  };
16
16
  export declare const H4: {
17
- (props: TypographyProps): JSX.Element;
17
+ (props: TypographyProps): React.JSX.Element;
18
18
  displayName: string;
19
19
  };
20
20
  export declare const H5: {
21
- (props: TypographyProps): JSX.Element;
21
+ (props: TypographyProps): React.JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  export declare const H6: {
25
- (props: TypographyProps): JSX.Element;
25
+ (props: TypographyProps): React.JSX.Element;
26
26
  displayName: string;
27
27
  };
28
28
  export declare const DisplayText: {
29
- (props: TypographyProps): JSX.Element;
29
+ (props: TypographyProps): React.JSX.Element;
30
30
  defaultName: string;
31
31
  };
32
32
  export declare const LargeText: {
33
- (props: TypographyProps): JSX.Element;
33
+ (props: TypographyProps): React.JSX.Element;
34
34
  displayName: string;
35
35
  };
36
36
  export declare const BodyText: {
37
- (props: TypographyProps): JSX.Element;
37
+ (props: TypographyProps): React.JSX.Element;
38
38
  displayName: string;
39
39
  };
40
40
  export declare const SmallText: {
41
- (props: TypographyProps): JSX.Element;
41
+ (props: TypographyProps): React.JSX.Element;
42
42
  displayName: string;
43
43
  };