@react95/core 5.7.3 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/Alert/Alert.d.ts +2 -2
- package/@types/Button/Button.d.ts +1 -1
- package/@types/Cursor/Cursor.d.ts +1 -1
- package/@types/Dropdown/Dropdown.d.ts +1 -1
- package/@types/Frame/Frame.d.ts +3 -3
- package/@types/Input/Input.d.ts +1 -1
- package/@types/List/List.d.ts +1 -1
- package/@types/List/ListDivider.d.ts +1 -1
- package/@types/List/ListItem.d.ts +1 -1
- package/@types/Modal/Modal.d.ts +2 -2
- package/@types/Range/Range.d.ts +1 -1
- package/@types/TextArea/TextArea.d.ts +1 -1
- package/@types/TitleBar/TitleBar.d.ts +2 -2
- package/@types/Tree/Node.d.ts +8 -8
- package/@types/shared/test/utils.d.ts +53 -53
- package/cjs/Frame/Frame.js +4 -7
- package/cjs/TaskBar/TaskBar.js +4 -4
- package/cjs/Video/Video.js +3 -3
- package/esm/Frame/Frame.js +5 -8
- package/esm/TaskBar/TaskBar.js +4 -4
- package/esm/Video/Video.js +3 -3
- package/package.json +10 -11
package/@types/Alert/Alert.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ export declare type AlertProps = Omit<ModalProps, 'closeModal'> & {
|
|
|
7
7
|
hasSound?: boolean;
|
|
8
8
|
type?: AlertType;
|
|
9
9
|
};
|
|
10
|
-
declare const Alert: React.ForwardRefExoticComponent<
|
|
10
|
+
declare const Alert: React.ForwardRefExoticComponent<Omit<ModalProps, "closeModal"> & {
|
|
11
11
|
message: string;
|
|
12
12
|
closeAlert: ModalProps['closeModal'];
|
|
13
13
|
hasSound?: boolean | undefined;
|
|
14
|
-
type?:
|
|
14
|
+
type?: AlertType | undefined;
|
|
15
15
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export default Alert;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Button: import("styled-components").StyledComponent<"button", import("
|
|
1
|
+
declare const Button: import("styled-components").StyledComponent<"button", import("@xstyled/system").Theme, {}, never>;
|
|
2
2
|
export default Button;
|
|
@@ -34,5 +34,5 @@ declare const cursors: {
|
|
|
34
34
|
ZoomOut: any;
|
|
35
35
|
};
|
|
36
36
|
export declare type ICursor = Record<keyof typeof cursors, Property.Cursor>;
|
|
37
|
-
declare const Cursor:
|
|
37
|
+
declare const Cursor: ICursor;
|
|
38
38
|
export default Cursor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const Dropdown: React.ForwardRefExoticComponent<{
|
|
3
|
-
options?:
|
|
3
|
+
options?: (string | number)[] | undefined;
|
|
4
4
|
} & React.HTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>>;
|
|
5
5
|
export default Dropdown;
|
package/@types/Frame/Frame.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface FrameProps extends
|
|
1
|
+
import { SystemProps } from '@xstyled/system';
|
|
2
|
+
export interface FrameProps extends SystemProps {
|
|
3
3
|
}
|
|
4
|
-
declare const Frame: import("styled-components").StyledComponent<"div", import("
|
|
4
|
+
declare const Frame: import("styled-components").StyledComponent<"div", import("@xstyled/system").Theme, FrameProps, never>;
|
|
5
5
|
export default Frame;
|
package/@types/Input/Input.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PaddingProps, BorderProps, ShadowProps } from 'styled-system';
|
|
3
3
|
export declare type InputProps = PaddingProps & BorderProps & ShadowProps & React.HTMLAttributes<HTMLInputElement>;
|
|
4
|
-
declare const Input: import("styled-components").StyledComponent<"input", import("styled-
|
|
4
|
+
declare const Input: import("styled-components").StyledComponent<"input", import("@xstyled/system").Theme, PaddingProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & React.HTMLAttributes<HTMLInputElement>, never>;
|
|
5
5
|
export default Input;
|
package/@types/List/List.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import Divider from './ListDivider';
|
|
|
3
3
|
declare type ListProps = {
|
|
4
4
|
width?: number;
|
|
5
5
|
};
|
|
6
|
-
declare const StyledList: import("styled-components").StyledComponent<"ul", import("
|
|
6
|
+
declare const StyledList: import("styled-components").StyledComponent<"ul", import("@xstyled/system").Theme, ListProps, never>;
|
|
7
7
|
export declare type IListProps = typeof StyledList & {
|
|
8
8
|
Item: typeof ListItem;
|
|
9
9
|
Divider: typeof Divider;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Divider: import("styled-components").StyledComponent<"li", import("
|
|
1
|
+
declare const Divider: import("styled-components").StyledComponent<"li", import("@xstyled/system").Theme, {}, never>;
|
|
2
2
|
export default Divider;
|
|
@@ -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 |
|
|
6
|
+
icon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
7
7
|
} & React.HtmlHTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
|
|
8
8
|
export default ListItem;
|
package/@types/Modal/Modal.d.ts
CHANGED
|
@@ -31,12 +31,12 @@ 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 |
|
|
34
|
+
icon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
35
35
|
closeModal(event: React.MouseEvent): void;
|
|
36
36
|
title: string;
|
|
37
37
|
buttons?: ModalButtons[] | undefined;
|
|
38
38
|
menu?: ModalMenu[] | undefined;
|
|
39
39
|
defaultPosition?: ModalDefaultPosition | undefined;
|
|
40
40
|
hasWindowButton?: boolean | undefined;
|
|
41
|
-
} &
|
|
41
|
+
} & Omit<WrapperProps, "active"> & ButtonWrapperProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
42
42
|
export default Modal;
|
package/@types/Range/Range.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const Range: import("styled-components").StyledComponent<"input", import("
|
|
1
|
+
declare const Range: import("styled-components").StyledComponent<"input", import("@xstyled/system").Theme, {
|
|
2
2
|
type: "range";
|
|
3
3
|
}, "type">;
|
|
4
4
|
export default Range;
|
|
@@ -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" | "
|
|
4
|
+
declare const TextArea: React.ForwardRefExoticComponent<Pick<TextAreaProps, "cite" | "data" | "form" | "label" | "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" | "sizes" | "manifest" | "as" | "width" | "step" | "checked" | "start" | "wrap" | "content" | "size" | "open" | "multiple" | "height" | "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" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "async" | "accept" | "capture" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | keyof PaddingProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
5
5
|
export default TextArea;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FrameProps } from '../Frame/Frame';
|
|
3
|
-
declare const OptionsBox: import("styled-components").StyledComponent<"ul", import("
|
|
4
|
-
declare const Option: import("styled-components").StyledComponent<"button", import("
|
|
3
|
+
declare const OptionsBox: import("styled-components").StyledComponent<"ul", import("@xstyled/system").Theme, {}, never>;
|
|
4
|
+
declare const Option: import("styled-components").StyledComponent<"button", import("@xstyled/system").Theme, {
|
|
5
5
|
as: string;
|
|
6
6
|
}, "as">;
|
|
7
7
|
interface TitleBarBackgroundProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, FrameProps {
|
package/@types/Tree/Node.d.ts
CHANGED
|
@@ -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
|
|
4
|
-
readonly FILE_TEXT: React.FC<import("@react95/icons
|
|
5
|
-
readonly FILE_UNKNOWN: React.FC<import("@react95/icons
|
|
6
|
-
readonly FILE_FONT: React.FC<import("@react95/icons
|
|
7
|
-
readonly FILE_PEN: React.FC<import("@react95/icons
|
|
8
|
-
readonly FILE_SETTINGS: React.FC<import("@react95/icons
|
|
9
|
-
readonly FILE_TEXT_SETTINGS: React.FC<import("@react95/icons
|
|
10
|
-
readonly FILE_EXECUTABLE: React.FC<import("@react95/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>;
|
|
11
11
|
};
|
|
12
12
|
export declare type NodeProps = {
|
|
13
13
|
label: string;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RenderOptions } from '@testing-library/react';
|
|
3
|
-
declare const customRender: (ui: React.ReactElement, options?:
|
|
4
|
-
declare const waitRender: (ui: React.ReactElement, options?:
|
|
3
|
+
declare const customRender: (ui: React.ReactElement, options?: Omit<RenderOptions<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>, "queries"> | undefined) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
|
|
4
|
+
declare const waitRender: (ui: React.ReactElement, options?: Omit<RenderOptions<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>, "queries"> | undefined) => Promise<{
|
|
5
5
|
baseElement: HTMLElement;
|
|
6
|
-
debug: (baseElement?:
|
|
7
|
-
rerender: (ui: import("react").ReactElement<any, string |
|
|
8
|
-
unmount: () =>
|
|
6
|
+
debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
|
|
7
|
+
rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
|
|
8
|
+
unmount: () => void;
|
|
9
9
|
asFragment: () => DocumentFragment;
|
|
10
|
-
getByLabelText: (
|
|
11
|
-
getAllByLabelText: (
|
|
12
|
-
queryByLabelText: (
|
|
13
|
-
queryAllByLabelText: (
|
|
14
|
-
findByLabelText: (
|
|
15
|
-
findAllByLabelText: (
|
|
16
|
-
getByPlaceholderText: (
|
|
17
|
-
getAllByPlaceholderText: (
|
|
18
|
-
queryByPlaceholderText: (
|
|
19
|
-
queryAllByPlaceholderText: (
|
|
20
|
-
findByPlaceholderText: (
|
|
21
|
-
findAllByPlaceholderText: (
|
|
22
|
-
getByText: (
|
|
23
|
-
getAllByText: (
|
|
24
|
-
queryByText: (
|
|
25
|
-
queryAllByText: (
|
|
26
|
-
findByText: (
|
|
27
|
-
findAllByText: (
|
|
28
|
-
getByAltText: (
|
|
29
|
-
getAllByAltText: (
|
|
30
|
-
queryByAltText: (
|
|
31
|
-
queryAllByAltText: (
|
|
32
|
-
findByAltText: (
|
|
33
|
-
findAllByAltText: (
|
|
34
|
-
getByTitle: (
|
|
35
|
-
getAllByTitle: (
|
|
36
|
-
queryByTitle: (
|
|
37
|
-
queryAllByTitle: (
|
|
38
|
-
findByTitle: (
|
|
39
|
-
findAllByTitle: (
|
|
40
|
-
getByDisplayValue: (
|
|
41
|
-
getAllByDisplayValue: (
|
|
42
|
-
queryByDisplayValue: (
|
|
43
|
-
queryAllByDisplayValue: (
|
|
44
|
-
findByDisplayValue: (
|
|
45
|
-
findAllByDisplayValue: (
|
|
46
|
-
getByRole: (
|
|
47
|
-
getAllByRole: (
|
|
48
|
-
queryByRole: (
|
|
49
|
-
queryAllByRole: (
|
|
50
|
-
findByRole: (
|
|
51
|
-
findAllByRole: (
|
|
52
|
-
getByTestId: (
|
|
53
|
-
getAllByTestId: (
|
|
54
|
-
queryByTestId: (
|
|
55
|
-
queryAllByTestId: (
|
|
56
|
-
findByTestId: (
|
|
57
|
-
findAllByTestId: (
|
|
10
|
+
getByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
|
|
11
|
+
getAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
12
|
+
queryByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
13
|
+
queryAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
14
|
+
findByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
15
|
+
findAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
16
|
+
getByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
17
|
+
getAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
18
|
+
queryByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
19
|
+
queryAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
20
|
+
findByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
21
|
+
findAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
22
|
+
getByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
|
|
23
|
+
getAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
24
|
+
queryByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
25
|
+
queryAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
26
|
+
findByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
27
|
+
findAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
28
|
+
getByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
29
|
+
getAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
30
|
+
queryByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
31
|
+
queryAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
32
|
+
findByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
33
|
+
findAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
34
|
+
getByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
35
|
+
getAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
36
|
+
queryByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
37
|
+
queryAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
38
|
+
findByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
39
|
+
findAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
40
|
+
getByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
41
|
+
getAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
42
|
+
queryByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
43
|
+
queryAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
44
|
+
findByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
45
|
+
findAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
46
|
+
getByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement;
|
|
47
|
+
getAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[];
|
|
48
|
+
queryByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement | null;
|
|
49
|
+
queryAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[];
|
|
50
|
+
findByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
51
|
+
findAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
52
|
+
getByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
53
|
+
getAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
54
|
+
queryByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
55
|
+
queryAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
56
|
+
findByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
57
|
+
findAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
58
58
|
container: HTMLElement;
|
|
59
59
|
}>;
|
|
60
60
|
export * from '@testing-library/react';
|
package/cjs/Frame/Frame.js
CHANGED
|
@@ -5,20 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
|
|
8
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _styledComponents = _interopRequireDefault(require("@xstyled/styled-components"));
|
|
9
9
|
|
|
10
10
|
var _system = require("@xstyled/system");
|
|
11
11
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
13
|
|
|
14
|
-
var Frame = _styledComponents["default"].div.
|
|
15
|
-
displayName: "Frame",
|
|
16
|
-
componentId: "sc-1g3ndsf-0"
|
|
17
|
-
})(["", " ", " ", " ", " ", " ", " ", " ", ""], _system.backgrounds, _system.color, _system.flexboxes, _system.layout, _system.positioning, _system.shadows, _system.space, _system.overflow);
|
|
14
|
+
var Frame = _styledComponents["default"].div(_system.system);
|
|
18
15
|
|
|
19
16
|
Frame.defaultProps = {
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
w: 'auto',
|
|
18
|
+
h: 'auto',
|
|
22
19
|
bg: 'material',
|
|
23
20
|
boxShadow: 'out'
|
|
24
21
|
};
|
package/cjs/TaskBar/TaskBar.js
CHANGED
|
@@ -70,14 +70,14 @@ var TaskBar = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
70
70
|
right: 0,
|
|
71
71
|
display: "flex",
|
|
72
72
|
justifyContent: "space-between",
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
h: 28,
|
|
74
|
+
w: "100%",
|
|
75
75
|
padding: 2,
|
|
76
76
|
zIndex: "taskbar",
|
|
77
77
|
ref: ref
|
|
78
78
|
}, showList && /*#__PURE__*/_react["default"].createElement(_Frame["default"], {
|
|
79
79
|
position: "absolute",
|
|
80
|
-
bottom: 28,
|
|
80
|
+
bottom: "28",
|
|
81
81
|
onClick: function onClick() {
|
|
82
82
|
toggleActiveStart(false);
|
|
83
83
|
toggleShowList(false);
|
|
@@ -95,7 +95,7 @@ var TaskBar = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
95
95
|
}
|
|
96
96
|
}, "Start"), /*#__PURE__*/_react["default"].createElement(_Frame["default"], {
|
|
97
97
|
boxShadow: "none",
|
|
98
|
-
|
|
98
|
+
w: "100%",
|
|
99
99
|
paddingLeft: 0,
|
|
100
100
|
ml: 2,
|
|
101
101
|
display: "flex"
|
package/cjs/Video/Video.js
CHANGED
|
@@ -229,13 +229,13 @@ var VideoRenderer = function VideoRenderer(_ref5, ref) {
|
|
|
229
229
|
marginBottom: 2
|
|
230
230
|
}
|
|
231
231
|
}), /*#__PURE__*/React.createElement(ResetFrame, {
|
|
232
|
-
maxWidth: 250,
|
|
232
|
+
maxWidth: "250",
|
|
233
233
|
mx: "auto",
|
|
234
234
|
mb: 4
|
|
235
235
|
}, /*#__PURE__*/React.createElement(CountDownContainer, null, /*#__PURE__*/React.createElement(ResetFrame, {
|
|
236
236
|
display: "flex",
|
|
237
237
|
flexDirection: "column",
|
|
238
|
-
|
|
238
|
+
w: "40%"
|
|
239
239
|
}, /*#__PURE__*/React.createElement(VideoFont, {
|
|
240
240
|
style: {
|
|
241
241
|
marginTop: 'auto'
|
|
@@ -247,7 +247,7 @@ var VideoRenderer = function VideoRenderer(_ref5, ref) {
|
|
|
247
247
|
}, !loadeddata && 'Openning')), /*#__PURE__*/React.createElement(ResetFrame, {
|
|
248
248
|
display: "flex",
|
|
249
249
|
flexDirection: "column",
|
|
250
|
-
|
|
250
|
+
w: "40%"
|
|
251
251
|
}, /*#__PURE__*/React.createElement(VideoFont, {
|
|
252
252
|
style: {
|
|
253
253
|
marginTop: 'auto',
|
package/esm/Frame/Frame.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
import {
|
|
3
|
-
var Frame = styled.div
|
|
4
|
-
displayName: "Frame",
|
|
5
|
-
componentId: "sc-1g3ndsf-0"
|
|
6
|
-
})(["", " ", " ", " ", " ", " ", " ", " ", ""], backgrounds, color, flexboxes, layout, positioning, shadows, space, overflow);
|
|
1
|
+
import styled from '@xstyled/styled-components';
|
|
2
|
+
import { system } from '@xstyled/system';
|
|
3
|
+
var Frame = styled.div(system);
|
|
7
4
|
Frame.defaultProps = {
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
w: 'auto',
|
|
6
|
+
h: 'auto',
|
|
10
7
|
bg: 'material',
|
|
11
8
|
boxShadow: 'out'
|
|
12
9
|
};
|
package/esm/TaskBar/TaskBar.js
CHANGED
|
@@ -48,14 +48,14 @@ var TaskBar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
48
48
|
right: 0,
|
|
49
49
|
display: "flex",
|
|
50
50
|
justifyContent: "space-between",
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
h: 28,
|
|
52
|
+
w: "100%",
|
|
53
53
|
padding: 2,
|
|
54
54
|
zIndex: "taskbar",
|
|
55
55
|
ref: ref
|
|
56
56
|
}, showList && /*#__PURE__*/React.createElement(Frame, {
|
|
57
57
|
position: "absolute",
|
|
58
|
-
bottom: 28,
|
|
58
|
+
bottom: "28",
|
|
59
59
|
onClick: function onClick() {
|
|
60
60
|
toggleActiveStart(false);
|
|
61
61
|
toggleShowList(false);
|
|
@@ -73,7 +73,7 @@ var TaskBar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
73
73
|
}
|
|
74
74
|
}, "Start"), /*#__PURE__*/React.createElement(Frame, {
|
|
75
75
|
boxShadow: "none",
|
|
76
|
-
|
|
76
|
+
w: "100%",
|
|
77
77
|
paddingLeft: 0,
|
|
78
78
|
ml: 2,
|
|
79
79
|
display: "flex"
|
package/esm/Video/Video.js
CHANGED
|
@@ -200,13 +200,13 @@ var VideoRenderer = function VideoRenderer(_ref5, ref) {
|
|
|
200
200
|
marginBottom: 2
|
|
201
201
|
}
|
|
202
202
|
}), /*#__PURE__*/React.createElement(ResetFrame, {
|
|
203
|
-
maxWidth: 250,
|
|
203
|
+
maxWidth: "250",
|
|
204
204
|
mx: "auto",
|
|
205
205
|
mb: 4
|
|
206
206
|
}, /*#__PURE__*/React.createElement(CountDownContainer, null, /*#__PURE__*/React.createElement(ResetFrame, {
|
|
207
207
|
display: "flex",
|
|
208
208
|
flexDirection: "column",
|
|
209
|
-
|
|
209
|
+
w: "40%"
|
|
210
210
|
}, /*#__PURE__*/React.createElement(VideoFont, {
|
|
211
211
|
style: {
|
|
212
212
|
marginTop: 'auto'
|
|
@@ -218,7 +218,7 @@ var VideoRenderer = function VideoRenderer(_ref5, ref) {
|
|
|
218
218
|
}, !loadeddata && 'Openning')), /*#__PURE__*/React.createElement(ResetFrame, {
|
|
219
219
|
display: "flex",
|
|
220
220
|
flexDirection: "column",
|
|
221
|
-
|
|
221
|
+
w: "40%"
|
|
222
222
|
}, /*#__PURE__*/React.createElement(VideoFont, {
|
|
223
223
|
style: {
|
|
224
224
|
marginTop: 'auto',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react95/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Windows 95 styleguide",
|
|
5
5
|
"main": "./cjs",
|
|
6
6
|
"repository": {
|
|
@@ -11,20 +11,19 @@
|
|
|
11
11
|
"author": "ggdaltoso <ggdaltoso@gmail.com>",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@react95/icons": "^2.0.
|
|
15
|
-
"@
|
|
16
|
-
"@
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"react-draggable": "^4.3.1",
|
|
14
|
+
"@react95/icons": "^2.0.5",
|
|
15
|
+
"@types/react-virtualized": "^9.21.20",
|
|
16
|
+
"@xstyled/styled-components": "^3.5.1",
|
|
17
|
+
"csstype": "^3.0.11",
|
|
18
|
+
"nanoid": "^3.3.1",
|
|
19
|
+
"react-draggable": "^4.4.4",
|
|
21
20
|
"styled-system": "^5.1.5",
|
|
22
|
-
"typescript": "^
|
|
21
|
+
"typescript": "^4.6.2"
|
|
23
22
|
},
|
|
24
23
|
"peerDependencies": {
|
|
25
24
|
"react": "^16.14.0",
|
|
26
25
|
"react-dom": "^16.14.0",
|
|
27
|
-
"styled-components": "^5.
|
|
26
|
+
"styled-components": "^5.3.3"
|
|
28
27
|
},
|
|
29
28
|
"publishConfig": {
|
|
30
29
|
"access": "public",
|
|
@@ -33,7 +32,7 @@
|
|
|
33
32
|
"sideEffects": [
|
|
34
33
|
"**/*.{woff2,woff,ttf,eot}"
|
|
35
34
|
],
|
|
36
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "ce77184b22f46c18b61b45c59b80f69b68be3759",
|
|
37
36
|
"module": "./esm",
|
|
38
37
|
"private": false,
|
|
39
38
|
"types": "@types"
|