@react95/core 5.5.0 → 5.7.1

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 (153) hide show
  1. package/@types/Alert/Alert.d.ts +1 -1
  2. package/@types/Avatar/Avatar.d.ts +8 -0
  3. package/@types/Avatar/index.d.ts +2 -0
  4. package/@types/List/ListItem.d.ts +1 -1
  5. package/@types/Modal/Modal.d.ts +1 -1
  6. package/@types/TextArea/TextArea.d.ts +1 -1
  7. package/@types/Tree/Node.d.ts +8 -8
  8. package/@types/Video/Video.d.ts +1 -0
  9. package/@types/Video/buttons/Fullscreen.d.ts +3 -0
  10. package/@types/Video/buttons/index.d.ts +2 -1
  11. package/@types/index.d.ts +2 -1
  12. package/@types/shared/test/utils.d.ts +1 -1
  13. package/README.md +4 -1
  14. package/cjs/Alert/Alert.js +11 -37
  15. package/cjs/Avatar/Avatar.js +63 -0
  16. package/cjs/Avatar/index.js +13 -0
  17. package/cjs/Button/Button.js +3 -11
  18. package/cjs/Checkbox/Checkbox.js +13 -59
  19. package/cjs/Dropdown/Dropdown.js +10 -26
  20. package/cjs/Fieldset/Fieldset.js +10 -26
  21. package/cjs/GlobalStyle/Borders.js +1 -1
  22. package/cjs/GlobalStyle/GlobalStyle.js +3 -11
  23. package/cjs/GlobalStyle/Scrollbar.js +1 -1
  24. package/cjs/Input/Input.js +3 -11
  25. package/cjs/List/List.js +3 -11
  26. package/cjs/List/ListDivider.js +3 -11
  27. package/cjs/List/ListItem.js +10 -26
  28. package/cjs/Modal/Modal.js +16 -82
  29. package/cjs/Modal/ModalProvider.js +6 -6
  30. package/cjs/ProgressBar/ProgressBar.js +13 -59
  31. package/cjs/RadioButton/RadioButton.js +13 -59
  32. package/cjs/Range/Range.js +7 -35
  33. package/cjs/Tabs/Tab.js +10 -26
  34. package/cjs/Tabs/Tabs.js +11 -27
  35. package/cjs/TaskBar/Clock.js +7 -15
  36. package/cjs/TaskBar/TaskBar.js +7 -15
  37. package/cjs/TaskBar/WindowButton.js +11 -37
  38. package/cjs/TextArea/TextArea.js +6 -14
  39. package/cjs/ThemeProvider/ThemeProvider.js +3 -3
  40. package/cjs/ThemeProvider/themes/azureOrange.js +5 -5
  41. package/cjs/ThemeProvider/themes/baseTheme.js +1 -1
  42. package/cjs/ThemeProvider/themes/bee.js +5 -5
  43. package/cjs/ThemeProvider/themes/blackAndWhite.js +5 -5
  44. package/cjs/ThemeProvider/themes/brick.js +5 -5
  45. package/cjs/ThemeProvider/themes/candy.js +5 -5
  46. package/cjs/ThemeProvider/themes/coldGray.js +5 -5
  47. package/cjs/ThemeProvider/themes/counterStrike.js +5 -5
  48. package/cjs/ThemeProvider/themes/eggplant.js +5 -5
  49. package/cjs/ThemeProvider/themes/highContrast.js +5 -5
  50. package/cjs/ThemeProvider/themes/lilac.js +5 -5
  51. package/cjs/ThemeProvider/themes/lilacRoseDark.js +5 -5
  52. package/cjs/ThemeProvider/themes/maple.js +5 -5
  53. package/cjs/ThemeProvider/themes/marine.js +5 -5
  54. package/cjs/ThemeProvider/themes/matrix.js +5 -5
  55. package/cjs/ThemeProvider/themes/millenium.js +5 -5
  56. package/cjs/ThemeProvider/themes/modernDark.js +5 -5
  57. package/cjs/ThemeProvider/themes/molecule.js +5 -5
  58. package/cjs/ThemeProvider/themes/ninjaTurtles.js +5 -5
  59. package/cjs/ThemeProvider/themes/olive.js +5 -5
  60. package/cjs/ThemeProvider/themes/pamelaAnderson.js +5 -5
  61. package/cjs/ThemeProvider/themes/plum.js +5 -5
  62. package/cjs/ThemeProvider/themes/rainyDay.js +5 -5
  63. package/cjs/ThemeProvider/themes/rose.js +5 -5
  64. package/cjs/ThemeProvider/themes/slate.js +5 -5
  65. package/cjs/ThemeProvider/themes/spruce.js +5 -5
  66. package/cjs/ThemeProvider/themes/storm.js +5 -5
  67. package/cjs/ThemeProvider/themes/theSixtiesUSA.js +5 -5
  68. package/cjs/ThemeProvider/themes/tokyoDark.js +5 -5
  69. package/cjs/ThemeProvider/themes/tooSexy.js +5 -5
  70. package/cjs/ThemeProvider/themes/travel.js +5 -5
  71. package/cjs/ThemeProvider/themes/vaporTeal.js +5 -5
  72. package/cjs/ThemeProvider/themes/vermillion.js +5 -5
  73. package/cjs/ThemeProvider/themes/violetDark.js +5 -5
  74. package/cjs/ThemeProvider/themes/water.js +5 -5
  75. package/cjs/ThemeProvider/themes/win95.js +5 -5
  76. package/cjs/TitleBar/TitleBar.js +9 -45
  77. package/cjs/Tooltip/Tooltip.js +11 -27
  78. package/cjs/Tree/Node.js +16 -72
  79. package/cjs/Tree/Tree.js +6 -4
  80. package/cjs/Video/Video.js +33 -96
  81. package/cjs/Video/buttons/Fullscreen.js +34 -0
  82. package/cjs/Video/buttons/Pause.js +3 -3
  83. package/cjs/Video/buttons/Play.js +3 -3
  84. package/cjs/Video/buttons/Stop.js +3 -3
  85. package/cjs/Video/buttons/index.js +10 -2
  86. package/cjs/index.js +38 -30
  87. package/esm/Alert/Alert.js +8 -34
  88. package/esm/Avatar/Avatar.js +43 -0
  89. package/esm/Avatar/index.js +2 -0
  90. package/esm/Button/Button.js +2 -10
  91. package/esm/Checkbox/Checkbox.js +10 -56
  92. package/esm/Dropdown/Dropdown.js +7 -23
  93. package/esm/Fieldset/Fieldset.js +7 -23
  94. package/esm/GlobalStyle/GlobalStyle.js +2 -10
  95. package/esm/Input/Input.js +2 -10
  96. package/esm/List/List.js +2 -10
  97. package/esm/List/ListDivider.js +2 -10
  98. package/esm/List/ListItem.js +7 -23
  99. package/esm/Modal/Modal.js +13 -79
  100. package/esm/Modal/ModalProvider.js +3 -3
  101. package/esm/ProgressBar/ProgressBar.js +10 -56
  102. package/esm/RadioButton/RadioButton.js +10 -56
  103. package/esm/Range/Range.js +4 -32
  104. package/esm/Tabs/Tab.js +7 -23
  105. package/esm/Tabs/Tabs.js +8 -24
  106. package/esm/TaskBar/Clock.js +4 -12
  107. package/esm/TaskBar/TaskBar.js +4 -12
  108. package/esm/TaskBar/WindowButton.js +8 -34
  109. package/esm/TextArea/TextArea.js +3 -11
  110. package/esm/ThemeProvider/themes/azureOrange.js +2 -2
  111. package/esm/ThemeProvider/themes/bee.js +2 -2
  112. package/esm/ThemeProvider/themes/blackAndWhite.js +2 -2
  113. package/esm/ThemeProvider/themes/brick.js +2 -2
  114. package/esm/ThemeProvider/themes/candy.js +2 -2
  115. package/esm/ThemeProvider/themes/coldGray.js +2 -2
  116. package/esm/ThemeProvider/themes/counterStrike.js +2 -2
  117. package/esm/ThemeProvider/themes/eggplant.js +2 -2
  118. package/esm/ThemeProvider/themes/highContrast.js +2 -2
  119. package/esm/ThemeProvider/themes/lilac.js +2 -2
  120. package/esm/ThemeProvider/themes/lilacRoseDark.js +2 -2
  121. package/esm/ThemeProvider/themes/maple.js +2 -2
  122. package/esm/ThemeProvider/themes/marine.js +2 -2
  123. package/esm/ThemeProvider/themes/matrix.js +2 -2
  124. package/esm/ThemeProvider/themes/millenium.js +2 -2
  125. package/esm/ThemeProvider/themes/modernDark.js +2 -2
  126. package/esm/ThemeProvider/themes/molecule.js +2 -2
  127. package/esm/ThemeProvider/themes/ninjaTurtles.js +2 -2
  128. package/esm/ThemeProvider/themes/olive.js +2 -2
  129. package/esm/ThemeProvider/themes/pamelaAnderson.js +2 -2
  130. package/esm/ThemeProvider/themes/plum.js +2 -2
  131. package/esm/ThemeProvider/themes/rainyDay.js +2 -2
  132. package/esm/ThemeProvider/themes/rose.js +2 -2
  133. package/esm/ThemeProvider/themes/slate.js +2 -2
  134. package/esm/ThemeProvider/themes/spruce.js +2 -2
  135. package/esm/ThemeProvider/themes/storm.js +2 -2
  136. package/esm/ThemeProvider/themes/theSixtiesUSA.js +2 -2
  137. package/esm/ThemeProvider/themes/tokyoDark.js +2 -2
  138. package/esm/ThemeProvider/themes/tooSexy.js +2 -2
  139. package/esm/ThemeProvider/themes/travel.js +2 -2
  140. package/esm/ThemeProvider/themes/vaporTeal.js +2 -2
  141. package/esm/ThemeProvider/themes/vermillion.js +2 -2
  142. package/esm/ThemeProvider/themes/violetDark.js +2 -2
  143. package/esm/ThemeProvider/themes/water.js +2 -2
  144. package/esm/ThemeProvider/themes/win95.js +2 -2
  145. package/esm/TitleBar/TitleBar.js +9 -45
  146. package/esm/Tooltip/Tooltip.js +8 -24
  147. package/esm/Tree/Node.js +12 -68
  148. package/esm/Tree/Tree.js +3 -1
  149. package/esm/Video/Video.js +31 -94
  150. package/esm/Video/buttons/Fullscreen.js +20 -0
  151. package/esm/Video/buttons/index.js +2 -1
  152. package/esm/index.js +2 -1
  153. package/package.json +4 -4
@@ -7,7 +7,7 @@ export declare type AlertProps = Omit<ModalProps, 'closeModal'> & {
7
7
  hasSound?: boolean;
8
8
  type?: AlertType;
9
9
  };
10
- declare const Alert: React.ForwardRefExoticComponent<Pick<ModalProps, "menu" | "slot" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "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" | "icon" | "width" | "height" | "buttonsAlignment" | "hasWindowButton" | "buttons" | "defaultPosition"> & {
10
+ declare const Alert: React.ForwardRefExoticComponent<Pick<ModalProps, "menu" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "icon" | "width" | "height" | "buttonsAlignment" | "hasWindowButton" | "buttons" | "defaultPosition"> & {
11
11
  message: string;
12
12
  closeAlert: ModalProps['closeModal'];
13
13
  hasSound?: boolean | undefined;
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { FrameProps } from '../Frame/Frame';
3
+ export interface AvatarProps extends Omit<React.ImgHTMLAttributes<HTMLDivElement>, 'width' | 'color' | 'height'>, FrameProps {
4
+ circle?: boolean;
5
+ size?: number;
6
+ }
7
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
8
+ export default Avatar;
@@ -0,0 +1,2 @@
1
+ import Avatar from "./Avatar";
2
+ export default Avatar;
@@ -3,6 +3,6 @@ export declare type ListItemProps = {
3
3
  icon?: React.ReactElement;
4
4
  } & React.HtmlHTMLAttributes<HTMLLIElement>;
5
5
  declare const ListItem: React.ForwardRefExoticComponent<{
6
- icon?: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
6
+ icon?: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
7
7
  } & React.HtmlHTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
8
8
  export default ListItem;
@@ -31,7 +31,7 @@ export declare type ModalProps = {
31
31
  hasWindowButton?: boolean;
32
32
  } & Omit<WrapperProps, 'active'> & ButtonWrapperProps & React.HTMLAttributes<HTMLDivElement>;
33
33
  declare const Modal: React.ForwardRefExoticComponent<{
34
- icon?: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
34
+ icon?: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
35
35
  closeModal(event: React.MouseEvent): void;
36
36
  title: string;
37
37
  buttons?: ModalButtons[] | undefined;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { PaddingProps, BorderProps, ShadowProps } from 'styled-system';
3
3
  export declare type TextAreaProps = PaddingProps & BorderProps & ShadowProps & React.HTMLProps<HTMLTextAreaElement>;
4
- declare const TextArea: React.ForwardRefExoticComponent<Pick<TextAreaProps, "cite" | "data" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "default" | "type" | "name" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "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" | "manifest" | "list" | "step" | "width" | "height" | "size" | "boxShadow" | "textShadow" | "padding" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "px" | "py" | "max" | "media" | "method" | "min" | "target" | "crossOrigin" | "href" | "classID" | "useMap" | "wmode" | "download" | "hrefLang" | "rel" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "open" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "as" | "integrity" | "charSet" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "start" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "wrap" | "kind" | "srcLang" | "poster" | "paddingY" | "paddingX" | "border" | "borderX" | "borderY" | "borderWidth" | "borderTopWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderColor" | "borderTopColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft"> & React.RefAttributes<HTMLTextAreaElement>>;
4
+ declare const TextArea: React.ForwardRefExoticComponent<Pick<TextAreaProps, "cite" | "data" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "type" | "name" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "manifest" | "step" | "width" | "height" | "size" | "boxShadow" | "textShadow" | "padding" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "px" | "py" | "max" | "media" | "method" | "min" | "target" | "crossOrigin" | "href" | "classID" | "useMap" | "wmode" | "download" | "hrefLang" | "rel" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "open" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "as" | "integrity" | "charSet" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "start" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "wrap" | "kind" | "srcLang" | "poster" | "paddingY" | "paddingX" | "border" | "borderX" | "borderY" | "borderWidth" | "borderTopWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderColor" | "borderTopColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft"> & React.RefAttributes<HTMLTextAreaElement>>;
5
5
  export default TextArea;
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
2
  export declare const icons: {
3
- readonly FILE_MEDIA: React.FC<import("@react95/icons").MediaCdProps>;
4
- readonly FILE_TEXT: React.FC<import("@react95/icons").FileTextProps>;
5
- readonly FILE_UNKNOWN: React.FC<import("@react95/icons").BatProps>;
6
- readonly FILE_FONT: React.FC<import("@react95/icons").FileFont2Props>;
7
- readonly FILE_PEN: React.FC<import("@react95/icons").FilePenProps>;
8
- readonly FILE_SETTINGS: React.FC<import("@react95/icons").FileSettingsProps>;
9
- readonly FILE_TEXT_SETTINGS: React.FC<import("@react95/icons").FileTextSettingsProps>;
10
- readonly FILE_EXECUTABLE: React.FC<import("@react95/icons").BatExecProps>;
3
+ readonly FILE_MEDIA: React.FC<import("@react95/icons/src").MediaCdProps>;
4
+ readonly FILE_TEXT: React.FC<import("@react95/icons/src").FileTextProps>;
5
+ readonly FILE_UNKNOWN: React.FC<import("@react95/icons/src").BatProps>;
6
+ readonly FILE_FONT: React.FC<import("@react95/icons/src").FileFont2Props>;
7
+ readonly FILE_PEN: React.FC<import("@react95/icons/src").FilePenProps>;
8
+ readonly FILE_SETTINGS: React.FC<import("@react95/icons/src").FileSettingsProps>;
9
+ readonly FILE_TEXT_SETTINGS: React.FC<import("@react95/icons/src").FileTextSettingsProps>;
10
+ readonly FILE_EXECUTABLE: React.FC<import("@react95/icons/src").BatExecProps>;
11
11
  };
12
12
  export declare type NodeProps = {
13
13
  label: string;
@@ -12,6 +12,7 @@ export declare type VideoRefs = {
12
12
  wrapper: React.Ref<HTMLDivElement>;
13
13
  playpause: React.Ref<HTMLButtonElement>;
14
14
  stop: React.Ref<HTMLButtonElement>;
15
+ fullScreen: React.Ref<HTMLButtonElement>;
15
16
  };
16
17
  declare const Video: React.ForwardRefExoticComponent<{
17
18
  name?: string | undefined;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const Fullscreen: (props: React.HTMLAttributes<SVGElement>) => JSX.Element;
3
+ export default Fullscreen;
@@ -1,4 +1,5 @@
1
1
  import Play from './Play';
2
2
  import Pause from './Pause';
3
3
  import Stop from './Stop';
4
- export { Play, Pause, Stop };
4
+ import Fullscreen from './Fullscreen';
5
+ export { Play, Pause, Stop, Fullscreen };
package/@types/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Modal, ModalContext } from './Modal';
2
2
  import { Tab, Tabs } from './Tabs';
3
3
  import Alert from './Alert';
4
+ import Avatar from './Avatar';
4
5
  import Button from './Button';
5
6
  import Checkbox from './Checkbox';
6
7
  import Cursor from './Cursor';
@@ -20,4 +21,4 @@ import Tooltip from './Tooltip';
20
21
  import TitleBar from './TitleBar';
21
22
  import ThemeProvider from './ThemeProvider';
22
23
  import Video from './Video';
23
- export { Alert, Button, Checkbox, Cursor, Dropdown, Fieldset, Frame, GlobalStyle, Input, List, Modal, ModalContext, ProgressBar, RadioButton, Range, Tab, Tabs, TaskBar, TextArea, Tree, Tooltip, TitleBar, ThemeProvider, Video, };
24
+ export { Alert, Avatar, Button, Checkbox, Cursor, Dropdown, Fieldset, Frame, GlobalStyle, Input, List, Modal, ModalContext, ProgressBar, RadioButton, Range, Tab, Tabs, TaskBar, TextArea, Tree, Tooltip, TitleBar, ThemeProvider, Video, };
@@ -4,7 +4,7 @@ declare const customRender: (ui: React.ReactElement, options?: Pick<RenderOption
4
4
  declare const waitRender: (ui: React.ReactElement, options?: Pick<RenderOptions<typeof import("@testing-library/dom/types/queries")>, "container" | "baseElement" | "hydrate" | "wrapper"> | undefined) => Promise<{
5
5
  baseElement: HTMLElement;
6
6
  debug: (baseElement?: HTMLElement | DocumentFragment | (HTMLElement | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format/build/types").OptionsReceived | undefined) => void;
7
- rerender: (ui: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>) => void;
7
+ rerender: (ui: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>) => void;
8
8
  unmount: () => boolean;
9
9
  asFragment: () => DocumentFragment;
10
10
  getByLabelText: (text: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: unknown) => HTMLElement;
package/README.md CHANGED
@@ -62,7 +62,10 @@ steps:
62
62
 
63
63
  ```javascript
64
64
  const withFonts = require('next-fonts');
65
- const withTM = require('next-transpile-modules')(['@react95/core']);
65
+ const withTM = require('next-transpile-modules')([
66
+ '@react95/core',
67
+ '@react95/icons',
68
+ ]);
66
69
 
67
70
  module.exports = withTM(withFonts());
68
71
  ```
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -15,11 +15,15 @@ var _icons = require("@react95/icons");
15
15
 
16
16
  var _Modal = _interopRequireDefault(require("../Modal/Modal"));
17
17
 
18
+ var _excluded = ["type", "message", "closeAlert", "hasSound"];
19
+
20
+ var _templateObject, _templateObject2, _templateObject3;
21
+
18
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
23
 
20
- function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
24
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
25
 
22
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
27
 
24
28
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
29
 
@@ -27,36 +31,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
27
31
 
28
32
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
33
 
30
- function _templateObject3() {
31
- var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n"]);
32
-
33
- _templateObject3 = function _templateObject3() {
34
- return data;
35
- };
36
-
37
- return data;
38
- }
39
-
40
- function _templateObject2() {
41
- var data = _taggedTemplateLiteral(["\n padding: 7 15 7 7;\n"]);
42
-
43
- _templateObject2 = function _templateObject2() {
44
- return data;
45
- };
46
-
47
- return data;
48
- }
49
-
50
- function _templateObject() {
51
- var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n"]);
52
-
53
- _templateObject = function _templateObject() {
54
- return data;
55
- };
56
-
57
- return data;
58
- }
59
-
60
34
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
61
35
 
62
36
  /* babel-plugin-inline-import './assets/chord.mp3' */
@@ -89,11 +63,11 @@ var RenderImage = function RenderImage(_ref) {
89
63
  }
90
64
  };
91
65
 
92
- var Message = _styledComponents["default"].div(_templateObject());
66
+ var Message = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
93
67
 
94
- var IconWrapper = _styledComponents["default"].div(_templateObject2());
68
+ var IconWrapper = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding: 7 15 7 7;\n"])));
95
69
 
96
- var Dialog = _styledComponents["default"].div(_templateObject3());
70
+ var Dialog = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n"])));
97
71
 
98
72
  var Alert = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
99
73
  var _ref2$type = _ref2.type,
@@ -101,7 +75,7 @@ var Alert = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
101
75
  message = _ref2.message,
102
76
  closeAlert = _ref2.closeAlert,
103
77
  hasSound = _ref2.hasSound,
104
- rest = _objectWithoutProperties(_ref2, ["type", "message", "closeAlert", "hasSound"]);
78
+ rest = _objectWithoutProperties(_ref2, _excluded);
105
79
 
106
80
  if (hasSound) {
107
81
  (0, _react.useEffect)(function () {
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var React = _interopRequireWildcard(require("react"));
11
+
12
+ var _styledComponents = _interopRequireWildcard(require("@xstyled/styled-components"));
13
+
14
+ var _Frame = _interopRequireDefault(require("../Frame/Frame"));
15
+
16
+ var _excluded = ["src", "srcSet", "alt", "circle", "children"];
17
+
18
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
19
+
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
+
22
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
+
24
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
+
26
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27
+
28
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
29
+
30
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
31
+
32
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
33
+
34
+ var Image = _styledComponents["default"].img(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n max-width: 100%;\n"])));
35
+
36
+ var StyledAvatar = (0, _styledComponents["default"])(_Frame["default"])(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n font-weight: bold;\n overflow: hidden;\n margin-right: 1;\n margin-bottom: 1;\n\n box-shadow: unset;\n\n ", "\n\n ", "\n"])), function (_ref) {
37
+ var circle = _ref.circle,
38
+ _ref$size = _ref.size,
39
+ size = _ref$size === void 0 ? 48 : _ref$size;
40
+ return (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n border-radius: ", ";\n\n width: ", ";\n height: ", ";\n "])), circle ? '50%' : 0, size, size);
41
+ }, function (_ref2) {
42
+ var circle = _ref2.circle;
43
+ return circle ? (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n border-style: solid;\n border-width: 1;\n border-top-color: borderDark;\n border-right-color: borderLightest;\n border-bottom-color: borderLightest;\n border-left-color: borderDark;\n "]))) : (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n box-shadow: in;\n padding-left: 1;\n "])));
44
+ });
45
+ var Avatar = /*#__PURE__*/React.forwardRef(function (_ref3, ref) {
46
+ var src = _ref3.src,
47
+ srcSet = _ref3.srcSet,
48
+ alt = _ref3.alt,
49
+ circle = _ref3.circle,
50
+ children = _ref3.children,
51
+ otherProps = _objectWithoutProperties(_ref3, _excluded);
52
+
53
+ return /*#__PURE__*/React.createElement(StyledAvatar, _extends({
54
+ circle: circle,
55
+ ref: ref
56
+ }, otherProps), src || srcSet ? /*#__PURE__*/React.createElement(Image, {
57
+ src: src,
58
+ srcSet: srcSet,
59
+ alt: alt
60
+ }) : children);
61
+ });
62
+ var _default = Avatar;
63
+ exports["default"] = _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _Avatar = _interopRequireDefault(require("./Avatar"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+
12
+ var _default = _Avatar["default"];
13
+ exports["default"] = _default;
@@ -9,21 +9,13 @@ var _styledComponents = _interopRequireDefault(require("@xstyled/styled-componen
9
9
 
10
10
  var _system = require("@xstyled/system");
11
11
 
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
- function _templateObject() {
15
- var data = _taggedTemplateLiteral(["\n background-color: material;\n padding: 7 20 5;\n border: none;\n color: materialText;\n\n font-size: 12px;\n\n box-shadow: inset 1px 1px 0px 1px ", ",\n inset 0 0 0 1px ", ",\n 1px 1px 0 0px ", ";\n\n &:disabled {\n color: materialTextDisabled;\n }\n\n &:focus {\n outline: ", "px dotted ", ";\n outline-offset: -", "px;\n\n box-shadow: inset 1px 1px 0px 1px ", ",\n inset -0.5px -0.5px 0px 1px ", ",\n 1px 1px 0 1px ", ";\n }\n\n &:active {\n padding: 8 20 4;\n\n outline: ", "px dotted ", ";\n outline-offset: -", "px;\n\n box-shadow: inset 0 0 0 1px ", ",\n 0 0 0 1px ", ";\n }\n"]);
12
+ var _templateObject;
16
13
 
17
- _templateObject = function _templateObject() {
18
- return data;
19
- };
20
-
21
- return data;
22
- }
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
15
 
24
16
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
25
17
 
26
- var Button = _styledComponents["default"].button(_templateObject(), (0, _system.th)('colors.borderLightest'), (0, _system.th)('colors.borderDark'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('space.1'), (0, _system.th)('colors.materialText'), (0, _system.th)('space.5'), (0, _system.th)('colors.borderLightest'), (0, _system.th)('colors.borderDark'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('space.1'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('space.5'), (0, _system.th)('colors.borderDark'), (0, _system.th)('colors.borderDarkest'));
18
+ var Button = _styledComponents["default"].button(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background-color: material;\n padding: 7 20 5;\n border: none;\n color: materialText;\n\n font-size: 12px;\n\n box-shadow: inset 1px 1px 0px 1px ", ",\n inset 0 0 0 1px ", ",\n 1px 1px 0 0px ", ";\n\n &:disabled {\n color: materialTextDisabled;\n }\n\n &:focus {\n outline: ", "px dotted ", ";\n outline-offset: -", "px;\n\n box-shadow: inset 1px 1px 0px 1px ", ",\n inset -0.5px -0.5px 0px 1px ", ",\n 1px 1px 0 1px ", ";\n }\n\n &:active {\n padding: 8 20 4;\n\n outline: ", "px dotted ", ";\n outline-offset: -", "px;\n\n box-shadow: inset 0 0 0 1px ", ",\n 0 0 0 1px ", ";\n }\n"])), (0, _system.th)('colors.borderLightest'), (0, _system.th)('colors.borderDark'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('space.1'), (0, _system.th)('colors.materialText'), (0, _system.th)('space.5'), (0, _system.th)('colors.borderLightest'), (0, _system.th)('colors.borderDark'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('space.1'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('space.5'), (0, _system.th)('colors.borderDark'), (0, _system.th)('colors.borderDarkest'));
27
19
 
28
20
  Button.defaultProps = {
29
21
  children: 'Ok'
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -17,11 +17,15 @@ var _check = _interopRequireDefault(require("./imgs/check.svg"));
17
17
 
18
18
  var _checkDisabled = _interopRequireDefault(require("./imgs/check-disabled.svg"));
19
19
 
20
+ var _excluded = ["children", "style", "checked", "label", "disabled"];
21
+
22
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
23
+
20
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
25
 
22
- function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
26
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
27
 
24
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
28
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
29
 
26
30
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27
31
 
@@ -29,71 +33,21 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
29
33
 
30
34
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
31
35
 
32
- function _templateObject5() {
33
- var data = _taggedTemplateLiteral(["\n color: borderDark;\n text-shadow: 0.5px 0.5px ", ";\n "]);
34
-
35
- _templateObject5 = function _templateObject5() {
36
- return data;
37
- };
38
-
39
- return data;
40
- }
41
-
42
- function _templateObject4() {
43
- var data = _taggedTemplateLiteral(["\n display: inline-block;\n height: 15px;\n\n line-height: 1.5;\n\n position: relative;\n\n margin: 4 0;\n padding-left: 20;\n\n ", "\n"]);
44
-
45
- _templateObject4 = function _templateObject4() {
46
- return data;
47
- };
48
-
49
- return data;
50
- }
51
-
52
- function _templateObject3() {
53
- var data = _taggedTemplateLiteral(["\n width: 12px;\n height: 12px;\n\n margin: 0;\n\n position: absolute;\n top: 0;\n left: 0;\n\n opacity: 0;\n\n &:focus ~ ", ", &:active ~ ", " {\n border-width: 1;\n border-style: dotted;\n padding: 0;\n }\n\n &:checked + ", " {\n background-image: url('", "');\n }\n\n &:checked &:disabled + ", " {\n background-image: url('", "');\n background-size: 7px 7px, 1.9px 1.9px;\n }\n\n &:disabled + ", " {\n background-color: inputBackgroundDisabled;\n }\n"]);
54
-
55
- _templateObject3 = function _templateObject3() {
56
- return data;
57
- };
58
-
59
- return data;
60
- }
61
-
62
- function _templateObject2() {
63
- var data = _taggedTemplateLiteral(["\n padding: 1;\n user-select: none;\n"]);
64
-
65
- _templateObject2 = function _templateObject2() {
66
- return data;
67
- };
68
-
69
- return data;
70
- }
71
-
72
- function _templateObject() {
73
- var data = _taggedTemplateLiteral(["\n width: 12px;\n height: 12px;\n\n content: '';\n display: inline-block;\n\n position: absolute;\n left: 0;\n\n border-left: 1;\n border-left-color: borderDark;\n border-top: 1;\n border-top-color: borderDark;\n\n box-shadow: inset -1px -1px 0 0 ", ",\n inset 1px 1px 0 0 ", ",\n 0.5px 0.5px 0 0.5px ", ";\n\n background-color: inputBackground;\n\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 7px 7px;\n"]);
74
-
75
- _templateObject = function _templateObject() {
76
- return data;
77
- };
78
-
79
- return data;
80
- }
81
-
82
36
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
83
37
 
84
- var Icon = _styledComponents["default"].span(_templateObject(), (0, _system.th)('colors.material'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('colors.borderLightest'));
38
+ var Icon = _styledComponents["default"].span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 12px;\n height: 12px;\n\n content: '';\n display: inline-block;\n\n position: absolute;\n left: 0;\n\n border-left: 1;\n border-left-color: borderDark;\n border-top: 1;\n border-top-color: borderDark;\n\n box-shadow: inset -1px -1px 0 0 ", ",\n inset 1px 1px 0 0 ", ",\n 0.5px 0.5px 0 0.5px ", ";\n\n background-color: inputBackground;\n\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 7px 7px;\n"])), (0, _system.th)('colors.material'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('colors.borderLightest'));
85
39
 
86
- var Text = _styledComponents["default"].span(_templateObject2());
40
+ var Text = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding: 1;\n user-select: none;\n"])));
87
41
 
88
42
  var Field = _styledComponents["default"].input.attrs({
89
43
  type: 'checkbox'
90
- })(_templateObject3(), Text, Text, Icon, _check["default"], Icon, _checkDisabled["default"], Icon);
44
+ })(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 12px;\n height: 12px;\n\n margin: 0;\n\n position: absolute;\n top: 0;\n left: 0;\n\n opacity: 0;\n\n &:focus ~ ", ", &:active ~ ", " {\n border-width: 1;\n border-style: dotted;\n padding: 0;\n }\n\n &:checked + ", " {\n background-image: url('", "');\n }\n\n &:checked &:disabled + ", " {\n background-image: url('", "');\n background-size: 7px 7px, 1.9px 1.9px;\n }\n\n &:disabled + ", " {\n background-color: inputBackgroundDisabled;\n }\n"])), Text, Text, Icon, _check["default"], Icon, _checkDisabled["default"], Icon);
91
45
 
92
46
  Field.displayName = 'Field';
93
47
 
94
- var Label = _styledComponents["default"].label(_templateObject4(), function (_ref) {
48
+ var Label = _styledComponents["default"].label(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: inline-block;\n height: 15px;\n\n line-height: 1.5;\n\n position: relative;\n\n margin: 4 0;\n padding-left: 20;\n\n ", "\n"])), function (_ref) {
95
49
  var disabled = _ref.disabled;
96
- return disabled && (0, _styledComponents.css)(_templateObject5(), (0, _system.th)('colors.borderLight'));
50
+ return disabled && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n color: borderDark;\n text-shadow: 0.5px 0.5px ", ";\n "])), (0, _system.th)('colors.borderLight'));
97
51
  });
98
52
 
99
53
  var Checkbox = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
@@ -103,7 +57,7 @@ var Checkbox = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
103
57
  label = _ref2.label,
104
58
  _ref2$disabled = _ref2.disabled,
105
59
  disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
106
- rest = _objectWithoutProperties(_ref2, ["children", "style", "checked", "label", "disabled"]);
60
+ rest = _objectWithoutProperties(_ref2, _excluded);
107
61
 
108
62
  return /*#__PURE__*/_react["default"].createElement(Label, {
109
63
  style: style,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -15,11 +15,15 @@ var _system = require("@xstyled/system");
15
15
 
16
16
  var _downcaret = _interopRequireDefault(require("./imgs/downcaret.png"));
17
17
 
18
+ var _excluded = ["options"];
19
+
20
+ var _templateObject, _templateObject2;
21
+
18
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
23
 
20
- function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
24
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
25
 
22
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
27
 
24
28
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
29
 
@@ -27,35 +31,15 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
27
31
 
28
32
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
33
 
30
- function _templateObject2() {
31
- var data = _taggedTemplateLiteral(["\n position: relative;\n outline: none;\n border: none;\n border-radius: 0;\n width: 100%;\n height: 20px;\n\n padding: 3;\n\n color: materialText;\n background-color: inputBackground;\n\n border-left: 1;\n border-left-color: borderDark;\n border-top: 1;\n border-top-color: borderDark;\n\n box-shadow: inset -1px -1px 0 0 ", ",\n inset 1px 1px 0 0 ", ",\n 0.5px 0.5px 0 0.5px ", ";\n\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n"]);
32
-
33
- _templateObject2 = function _templateObject2() {
34
- return data;
35
- };
36
-
37
- return data;
38
- }
39
-
40
- function _templateObject() {
41
- var data = _taggedTemplateLiteral(["\n position: relative;\n width: 200px;\n height: 20px;\n\n &:after {\n display: flex;\n justify-content: center;\n width: 17px;\n height: 16px;\n font-size: 14px;\n line-height: 1.1;\n content: '';\n pointer-events: none;\n position: absolute;\n right: 1px;\n top: 2px;\n\n background-color: material;\n box-shadow: inset 0.5px 0.7px 0px 0.7px ", ",\n inset -1px 0px 0 1px ", ", inset 1.5px 1.5px 0px 1.5px ", ";\n\n border-right: 1;\n border-bottom: 1;\n\n background-image: url('", "');\n background-position: 60% 60%;\n background-repeat: no-repeat;\n }\n"]);
42
-
43
- _templateObject = function _templateObject() {
44
- return data;
45
- };
46
-
47
- return data;
48
- }
49
-
50
34
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
51
35
 
52
- var Wrapper = _styledComponents["default"].div(_templateObject(), (0, _system.th)('colors.material'), (0, _system.th)('colors.borderDark'), (0, _system.th)('colors.borderLightest'), _downcaret["default"]);
36
+ var Wrapper = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n width: 200px;\n height: 20px;\n\n &:after {\n display: flex;\n justify-content: center;\n width: 17px;\n height: 16px;\n font-size: 14px;\n line-height: 1.1;\n content: '';\n pointer-events: none;\n position: absolute;\n right: 1px;\n top: 2px;\n\n background-color: material;\n box-shadow: inset 0.5px 0.7px 0px 0.7px ", ",\n inset -1px 0px 0 1px ", ", inset 1.5px 1.5px 0px 1.5px ", ";\n\n border-right: 1;\n border-bottom: 1;\n\n background-image: url('", "');\n background-position: 60% 60%;\n background-repeat: no-repeat;\n }\n"])), (0, _system.th)('colors.material'), (0, _system.th)('colors.borderDark'), (0, _system.th)('colors.borderLightest'), _downcaret["default"]);
53
37
 
54
- var Select = _styledComponents["default"].select(_templateObject2(), (0, _system.th)('colors.material'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('colors.borderLightest'));
38
+ var Select = _styledComponents["default"].select(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n outline: none;\n border: none;\n border-radius: 0;\n width: 100%;\n height: 20px;\n\n padding: 3;\n\n color: materialText;\n background-color: inputBackground;\n\n border-left: 1;\n border-left-color: borderDark;\n border-top: 1;\n border-top-color: borderDark;\n\n box-shadow: inset -1px -1px 0 0 ", ",\n inset 1px 1px 0 0 ", ",\n 0.5px 0.5px 0 0.5px ", ";\n\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n"])), (0, _system.th)('colors.material'), (0, _system.th)('colors.borderDarkest'), (0, _system.th)('colors.borderLightest'));
55
39
 
56
40
  var Dropdown = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
57
41
  var options = _ref.options,
58
- rest = _objectWithoutProperties(_ref, ["options"]);
42
+ rest = _objectWithoutProperties(_ref, _excluded);
59
43
 
60
44
  return /*#__PURE__*/_react["default"].createElement(Wrapper, null, /*#__PURE__*/_react["default"].createElement(Select, _extends({}, rest, {
61
45
  ref: ref