@astral/ui 0.10.2 → 0.13.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/Badge/styled.d.ts +3 -3
- package/Button/styled.d.ts +3 -3
- package/ButtonBase/styled.d.ts +3 -3
- package/FormHelperText/styled.d.ts +8 -8
- package/Grid/Grid.d.ts +1 -1
- package/Grid/Grid.js +2 -2
- package/Grid/styled.d.ts +1 -1
- package/Grid/types.d.ts +4 -3
- package/IconButton/styled.d.ts +3 -3
- package/ListItem/styled.d.ts +3 -3
- package/ListItemButton/styled.d.ts +1 -1
- package/MaskField/MaskField.d.ts +3 -0
- package/MaskField/MaskField.js +42 -0
- package/MaskField/index.d.ts +1 -0
- package/MaskField/index.js +13 -0
- package/MaskField/types.d.ts +8 -0
- package/MaskField/types.js +2 -0
- package/MenuList/styled.d.ts +1 -1
- package/Placeholder/Placeholder.d.ts +3 -0
- package/Placeholder/Placeholder.js +21 -0
- package/Placeholder/index.d.ts +1 -0
- package/Placeholder/index.js +13 -0
- package/Placeholder/styled.d.ts +27 -0
- package/Placeholder/styled.js +34 -0
- package/Placeholder/types.d.ts +8 -0
- package/Placeholder/types.js +2 -0
- package/Radio/Radio.d.ts +1 -1
- package/Select/styled.d.ts +1 -1
- package/Tag/styled.d.ts +4 -4
- package/TextArea/TextArea.d.ts +1 -1
- package/TextField/TextField.d.ts +1 -1
- package/Tooltip/Tooltip.d.ts +1 -1
- package/Tooltip/styled.d.ts +1 -1
- package/esm/Badge/styled.d.ts +3 -3
- package/esm/Button/styled.d.ts +3 -3
- package/esm/ButtonBase/styled.d.ts +3 -3
- package/esm/FormHelperText/styled.d.ts +8 -8
- package/esm/Grid/Grid.d.ts +1 -1
- package/esm/Grid/Grid.js +2 -2
- package/esm/Grid/styled.d.ts +1 -1
- package/esm/Grid/types.d.ts +4 -3
- package/esm/IconButton/styled.d.ts +3 -3
- package/esm/ListItem/styled.d.ts +3 -3
- package/esm/ListItemButton/styled.d.ts +1 -1
- package/esm/MaskField/MaskField.d.ts +3 -0
- package/esm/MaskField/MaskField.js +38 -0
- package/esm/MaskField/index.d.ts +1 -0
- package/esm/MaskField/index.js +1 -0
- package/esm/MaskField/types.d.ts +8 -0
- package/esm/MaskField/types.js +1 -0
- package/esm/MenuList/styled.d.ts +1 -1
- package/esm/Placeholder/Placeholder.d.ts +3 -0
- package/esm/Placeholder/Placeholder.js +17 -0
- package/esm/Placeholder/index.d.ts +1 -0
- package/esm/Placeholder/index.js +1 -0
- package/esm/Placeholder/styled.d.ts +27 -0
- package/esm/Placeholder/styled.js +31 -0
- package/esm/Placeholder/types.d.ts +8 -0
- package/esm/Placeholder/types.js +1 -0
- package/esm/Radio/Radio.d.ts +1 -1
- package/esm/Select/styled.d.ts +1 -1
- package/esm/Tag/styled.d.ts +4 -4
- package/esm/TextArea/TextArea.d.ts +1 -1
- package/esm/TextField/TextField.d.ts +1 -1
- package/esm/Tooltip/Tooltip.d.ts +1 -1
- package/esm/Tooltip/styled.d.ts +1 -1
- package/esm/index.d.ts +22 -23
- package/esm/index.js +22 -23
- package/index.d.ts +22 -23
- package/index.js +22 -23
- package/package.json +4 -3
package/Badge/styled.d.ts
CHANGED
|
@@ -19,10 +19,10 @@ export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
|
|
|
19
19
|
overlapRectangular?: string | undefined;
|
|
20
20
|
overlapCircular?: string | undefined;
|
|
21
21
|
}) | undefined;
|
|
22
|
-
color?: "
|
|
22
|
+
color?: "error" | "default" | "primary" | "secondary" | "info" | "success" | "warning" | undefined;
|
|
23
23
|
overlap?: "circular" | "rectangular" | undefined;
|
|
24
24
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
25
|
-
variant?: "
|
|
25
|
+
variant?: "dot" | "standard" | undefined;
|
|
26
26
|
} & {
|
|
27
27
|
anchorOrigin?: import("@mui/base").BadgeOrigin | undefined;
|
|
28
28
|
components?: {
|
|
@@ -42,7 +42,7 @@ export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
|
|
|
42
42
|
variant?: string | undefined;
|
|
43
43
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
44
44
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
45
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "
|
|
45
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "color" | "max" | "components" | "componentsProps" | "invisible" | "anchorOrigin" | "overlap" | "badgeContent" | "showZero"> & {
|
|
46
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
47
47
|
} & Omit<BadgeProps, "color"> & {
|
|
48
48
|
customColor: BadgeColor;
|
package/Button/styled.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "
|
|
3
|
-
color?: "
|
|
4
|
-
variant?: "link" | "
|
|
2
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "variant" | "color" | "size"> & {
|
|
3
|
+
color?: "error" | "primary" | "success" | "warning" | undefined;
|
|
4
|
+
variant?: "link" | "text" | "light" | "contained" | undefined;
|
|
5
5
|
size?: "large" | "medium" | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
package/ButtonBase/styled.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ export declare const StyledButtonBase: import("@emotion/styled").StyledComponent
|
|
|
20
20
|
component?: import("react").ElementType<any> | undefined;
|
|
21
21
|
}, string | number | symbol> & import("react").RefAttributes<any> & {
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
-
} & Omit<BaseButtonProps, "
|
|
24
|
-
customColor?: "
|
|
25
|
-
customVariant?: "link" | "
|
|
23
|
+
} & Omit<BaseButtonProps, "variant" | "color"> & {
|
|
24
|
+
customColor?: "error" | "primary" | "success" | "warning" | undefined;
|
|
25
|
+
customVariant?: "link" | "text" | "light" | "contained" | undefined;
|
|
26
26
|
}, {}, {}>;
|
|
27
27
|
export {};
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
export declare const SuccessIcon: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
4
|
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
5
|
-
color?: "
|
|
6
|
-
fontSize?: "
|
|
5
|
+
color?: "disabled" | "error" | "inherit" | "action" | "primary" | "secondary" | "info" | "success" | "warning" | undefined;
|
|
6
|
+
fontSize?: "small" | "inherit" | "large" | "medium" | undefined;
|
|
7
7
|
htmlColor?: string | undefined;
|
|
8
8
|
inheritViewBox?: boolean | undefined;
|
|
9
9
|
shapeRendering?: string | undefined;
|
|
10
10
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
11
|
titleAccess?: string | undefined;
|
|
12
12
|
viewBox?: string | undefined;
|
|
13
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "
|
|
13
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "className" | "style" | "children" | "clipPath" | "filter" | "mask" | "path" | "key" | "id" | "lang" | "tabIndex" | "role" | "color" | "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" | "fontSize" | "shapeRendering" | "viewBox" | "height" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
14
14
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
15
|
-
},
|
|
15
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "color" | "fontSize" | "htmlColor" | "inheritViewBox" | "shapeRendering" | "titleAccess" | "viewBox"> & {
|
|
16
16
|
children?: import("react").ReactNode;
|
|
17
17
|
} & {
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -20,17 +20,17 @@ export declare const SuccessIcon: import("@emotion/styled").StyledComponent<{
|
|
|
20
20
|
export declare const ErrorIcon: import("@emotion/styled").StyledComponent<{
|
|
21
21
|
children?: import("react").ReactNode;
|
|
22
22
|
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
23
|
-
color?: "
|
|
24
|
-
fontSize?: "
|
|
23
|
+
color?: "disabled" | "error" | "inherit" | "action" | "primary" | "secondary" | "info" | "success" | "warning" | undefined;
|
|
24
|
+
fontSize?: "small" | "inherit" | "large" | "medium" | undefined;
|
|
25
25
|
htmlColor?: string | undefined;
|
|
26
26
|
inheritViewBox?: boolean | undefined;
|
|
27
27
|
shapeRendering?: string | undefined;
|
|
28
28
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
29
29
|
titleAccess?: string | undefined;
|
|
30
30
|
viewBox?: string | undefined;
|
|
31
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "
|
|
31
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "className" | "style" | "children" | "clipPath" | "filter" | "mask" | "path" | "key" | "id" | "lang" | "tabIndex" | "role" | "color" | "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" | "fontSize" | "shapeRendering" | "viewBox" | "height" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
32
32
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
33
|
-
},
|
|
33
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "color" | "fontSize" | "htmlColor" | "inheritViewBox" | "shapeRendering" | "titleAccess" | "viewBox"> & {
|
|
34
34
|
children?: import("react").ReactNode;
|
|
35
35
|
} & {
|
|
36
36
|
theme?: import("@emotion/react").Theme | undefined;
|
package/Grid/Grid.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GridProps } from './types';
|
|
3
|
-
export declare const Grid: ({ container, templateColumns, templateRows, templateAreas, columnSpacing, rowSpacing, spacing, autoColumns, autoRows, autoFlow, column, row, area, children, ...props }: GridProps) => JSX.Element;
|
|
3
|
+
export declare const Grid: ({ container, templateColumns, templateRows, templateAreas, columnSpacing, rowSpacing, spacing, autoColumns, autoRows, autoFlow, column, row, area, component, children, ...props }: GridProps) => JSX.Element;
|
package/Grid/Grid.js
CHANGED
|
@@ -26,7 +26,7 @@ exports.Grid = void 0;
|
|
|
26
26
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
27
|
var styled_1 = require("./styled");
|
|
28
28
|
var Grid = function (_a) {
|
|
29
|
-
var _b = _a.container, container = _b === void 0 ? false : _b, templateColumns = _a.templateColumns, templateRows = _a.templateRows, templateAreas = _a.templateAreas, columnSpacing = _a.columnSpacing, rowSpacing = _a.rowSpacing, spacing = _a.spacing, autoColumns = _a.autoColumns, autoRows = _a.autoRows, autoFlow = _a.autoFlow, column = _a.column, row = _a.row, area = _a.area, children = _a.children, props = __rest(_a, ["container", "templateColumns", "templateRows", "templateAreas", "columnSpacing", "rowSpacing", "spacing", "autoColumns", "autoRows", "autoFlow", "column", "row", "area", "children"]);
|
|
30
|
-
return ((0, jsx_runtime_1.jsx)(styled_1.StyledGrid, __assign({ container: container, gridTemplateColumns: templateColumns, gridTemplateRows: templateRows, gridTemplateAreas: templateAreas, columnGap: columnSpacing, rowGap: rowSpacing, gap: spacing, gridAutoColumns: autoColumns, gridAutoRows: autoRows, gridAutoFlow: autoFlow, gridColumn: column, gridRow: row, gridArea: area }, props, { children: children }), void 0));
|
|
29
|
+
var _b = _a.container, container = _b === void 0 ? false : _b, templateColumns = _a.templateColumns, templateRows = _a.templateRows, templateAreas = _a.templateAreas, columnSpacing = _a.columnSpacing, rowSpacing = _a.rowSpacing, spacing = _a.spacing, autoColumns = _a.autoColumns, autoRows = _a.autoRows, autoFlow = _a.autoFlow, column = _a.column, row = _a.row, area = _a.area, _c = _a.component, component = _c === void 0 ? 'div' : _c, children = _a.children, props = __rest(_a, ["container", "templateColumns", "templateRows", "templateAreas", "columnSpacing", "rowSpacing", "spacing", "autoColumns", "autoRows", "autoFlow", "column", "row", "area", "component", "children"]);
|
|
30
|
+
return ((0, jsx_runtime_1.jsx)(styled_1.StyledGrid, __assign({ container: container, gridTemplateColumns: templateColumns, gridTemplateRows: templateRows, gridTemplateAreas: templateAreas, columnGap: columnSpacing, rowGap: rowSpacing, gap: spacing, gridAutoColumns: autoColumns, gridAutoRows: autoRows, gridAutoFlow: autoFlow, gridColumn: column, gridRow: row, gridArea: area, component: component }, props, { children: children }), void 0));
|
|
31
31
|
};
|
|
32
32
|
exports.Grid = Grid;
|
package/Grid/styled.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const StyledGrid: import("@emotion/styled").StyledComponent<impor
|
|
|
6
6
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
7
7
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("
|
|
9
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("margin" | "p" | "color" | "fontSize" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "component"> & {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
} & {
|
|
12
12
|
container: boolean;
|
package/Grid/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { Breakpoint } from '@mui/material/styles';
|
|
3
|
-
declare type StyleCSSType<Type extends keyof
|
|
3
|
+
declare type StyleCSSType<Type extends keyof CSSProperties> = CSSProperties[Type] | Partial<Record<Breakpoint, CSSProperties[Type]>>;
|
|
4
4
|
export declare type GridContainerProps = {
|
|
5
5
|
container?: boolean;
|
|
6
6
|
templateColumns?: StyleCSSType<'gridTemplateColumns'>;
|
|
@@ -16,6 +16,7 @@ export declare type GridContainerProps = {
|
|
|
16
16
|
autoColumns?: StyleCSSType<'gridAutoColumns'>;
|
|
17
17
|
autoRows?: StyleCSSType<'gridAutoRows'>;
|
|
18
18
|
autoFlow?: StyleCSSType<'gridAutoFlow'>;
|
|
19
|
+
component?: ElementType;
|
|
19
20
|
};
|
|
20
21
|
export declare type GridElementsProps = {
|
|
21
22
|
column?: StyleCSSType<'gridColumn'>;
|
|
@@ -25,6 +26,6 @@ export declare type GridElementsProps = {
|
|
|
25
26
|
alignSelf?: StyleCSSType<'alignSelf'>;
|
|
26
27
|
};
|
|
27
28
|
export declare type GridProps = GridContainerProps & GridElementsProps & {
|
|
28
|
-
children?:
|
|
29
|
+
children?: ReactNode;
|
|
29
30
|
};
|
|
30
31
|
export {};
|
package/IconButton/styled.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ declare type StyledIconButtonThemeProps = ButtonProps & {
|
|
|
5
5
|
theme: Theme;
|
|
6
6
|
};
|
|
7
7
|
export declare const getButtonHeight: ({ size, }: StyledIconButtonThemeProps) => string;
|
|
8
|
-
export declare const StyledIconButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "
|
|
9
|
-
color?: "
|
|
10
|
-
variant?: "link" | "
|
|
8
|
+
export declare const StyledIconButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "variant" | "color" | "size"> & {
|
|
9
|
+
color?: "error" | "primary" | "success" | "warning" | undefined;
|
|
10
|
+
variant?: "link" | "text" | "light" | "contained" | undefined;
|
|
11
11
|
size?: "large" | "medium" | undefined;
|
|
12
12
|
} & {
|
|
13
13
|
theme?: import("@emotion/react").Theme | undefined;
|
package/ListItem/styled.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const getColor: ({ theme, selected, listItemState, }: import("@mu
|
|
|
15
15
|
} | undefined;
|
|
16
16
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
17
17
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
18
|
-
}, "
|
|
18
|
+
}, "className" | "style" | "classes" | "children" | "disabled" | "sx" | "autoFocus" | "selected" | "alignItems" | "dense" | "components" | "componentsProps" | "divider" | "disableGutters" | "disablePadding" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & {
|
|
19
19
|
theme: Theme;
|
|
20
20
|
} & {
|
|
21
21
|
listItemState: ListItemStates;
|
|
@@ -31,9 +31,9 @@ export declare const StyledListItem: import("@emotion/styled").StyledComponent<{
|
|
|
31
31
|
} | undefined;
|
|
32
32
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
33
33
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
34
|
-
}, "
|
|
34
|
+
}, "className" | "style" | "classes" | "children" | "disabled" | "sx" | "button" | "autoFocus" | "selected" | "alignItems" | "dense" | "components" | "componentsProps" | "divider" | "disableGutters" | "disablePadding" | "ContainerComponent" | "ContainerProps" | "secondaryAction"> & {
|
|
35
35
|
theme?: import("@emotion/react").Theme | undefined;
|
|
36
36
|
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
|
|
37
37
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
38
|
-
}, "
|
|
38
|
+
}, "className" | "style" | "classes" | "children" | "disabled" | "sx" | "autoFocus" | "selected" | "alignItems" | "dense" | "components" | "componentsProps" | "divider" | "disableGutters" | "disablePadding" | "ContainerComponent" | "ContainerProps" | "secondaryAction">, {}, {}>;
|
|
39
39
|
export {};
|
|
@@ -29,7 +29,7 @@ export declare const StyledListItemButton: import("@emotion/styled").StyledCompo
|
|
|
29
29
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
30
30
|
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
31
31
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
32
|
-
}, "
|
|
32
|
+
}, "className" | "style" | "classes" | "children" | "disabled" | "sx" | "tabIndex" | "autoFocus" | "action" | "selected" | "alignItems" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "divider" | "disableGutters"> & {
|
|
33
33
|
theme?: import("@emotion/react").Theme | undefined;
|
|
34
34
|
} & ListItemButtonProps, {}, {}>;
|
|
35
35
|
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.MaskField = void 0;
|
|
26
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
+
var react_imask_1 = require("react-imask");
|
|
28
|
+
var TextField_1 = require("../TextField");
|
|
29
|
+
var MaskedTextField = (0, react_imask_1.IMaskMixin)(function (_a) {
|
|
30
|
+
var inputRef = _a.inputRef, onChange = _a.onChange, props = __rest(_a, ["inputRef", "onChange"]);
|
|
31
|
+
var textFieldProps = props;
|
|
32
|
+
return (0, jsx_runtime_1.jsx)(TextField_1.TextField, __assign({ inputRef: inputRef }, textFieldProps), void 0);
|
|
33
|
+
});
|
|
34
|
+
var MaskField = function (_a) {
|
|
35
|
+
var onChange = _a.onChange, props = __rest(_a, ["onChange"]);
|
|
36
|
+
var maskFieldProps = props;
|
|
37
|
+
var handleMaskFieldAccept = function (value) {
|
|
38
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(value);
|
|
39
|
+
};
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)(MaskedTextField, __assign({}, maskFieldProps, { onAccept: handleMaskFieldAccept }), void 0));
|
|
41
|
+
};
|
|
42
|
+
exports.MaskField = MaskField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MaskField';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./MaskField"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IMaskInputProps } from 'react-imask/dist/mixin';
|
|
2
|
+
import type { TextFieldProps } from '../TextField/types';
|
|
3
|
+
declare type MaskProps = IMaskInputProps<IMask.AnyMaskedOptions, boolean, string, HTMLInputElement>;
|
|
4
|
+
export declare type MaskFieldProps = Omit<MaskProps & TextFieldProps, 'onChange'> & {
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare type MaskFieldValue = string;
|
|
8
|
+
export {};
|
package/MenuList/styled.d.ts
CHANGED
|
@@ -15,6 +15,6 @@ export declare const StyledMenuList: import("@emotion/styled").StyledComponent<{
|
|
|
15
15
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
16
16
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "key" | keyof import("react").HTMLAttributes<HTMLUListElement>> & {
|
|
17
17
|
ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
|
|
18
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "
|
|
18
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "autoFocus" | "dense" | "disabledItemsFocusable" | "disableListWrap" | "subheader" | "disablePadding" | "autoFocusItem"> & {
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
20
|
}, {}, {}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Placeholder = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var styled_1 = require("./styled");
|
|
17
|
+
var Placeholder = function (_a) {
|
|
18
|
+
var title = _a.title, imgSrc = _a.imgSrc, imgAlt = _a.imgAlt, description = _a.description, Actions = _a.Actions;
|
|
19
|
+
return ((0, jsx_runtime_1.jsxs)(styled_1.StyledContainer, { children: [(0, jsx_runtime_1.jsxs)(styled_1.StyledInnerContainer, { children: [imgSrc && (0, jsx_runtime_1.jsx)(styled_1.StyledImage, { src: imgSrc, alt: imgAlt }, void 0), title && (0, jsx_runtime_1.jsx)(styled_1.StyledTitle, __assign({ variant: "h4" }, { children: title }), void 0), description && ((0, jsx_runtime_1.jsx)(styled_1.StyledDescription, __assign({ variant: "ui" }, { children: description }), void 0))] }, void 0), Actions && (0, jsx_runtime_1.jsx)(styled_1.StyledActions, { children: Actions }, void 0)] }, void 0));
|
|
20
|
+
};
|
|
21
|
+
exports.Placeholder = Placeholder;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Placeholder';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./Placeholder"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const StyledInnerContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const StyledImage: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any> | undefined;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
14
|
+
export declare const StyledTitle: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyProps<"span", {}>, "variant"> & {
|
|
15
|
+
variant?: "link" | "small" | "code" | "pointer" | import("@mui/material").TypographyVariant | "h7" | "h8" | "h9" | "ui" | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
export declare const StyledDescription: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyProps<"span", {}>, "variant"> & {
|
|
20
|
+
variant?: "link" | "small" | "code" | "pointer" | import("@mui/material").TypographyVariant | "h7" | "h8" | "h9" | "ui" | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export declare const StyledActions: import("@emotion/styled").StyledComponent<{
|
|
25
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
+
as?: import("react").ElementType<any> | undefined;
|
|
27
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.StyledActions = exports.StyledDescription = exports.StyledTitle = exports.StyledImage = exports.StyledInnerContainer = exports.StyledContainer = void 0;
|
|
8
|
+
var styles_1 = require("../styles");
|
|
9
|
+
var Typography_1 = require("../Typography");
|
|
10
|
+
exports.StyledContainer = styles_1.styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n padding: ", ";\n\n background-color: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n padding: ", ";\n\n background-color: ", ";\n"])), function (_a) {
|
|
11
|
+
var theme = _a.theme;
|
|
12
|
+
return theme.spacing(4);
|
|
13
|
+
}, function (_a) {
|
|
14
|
+
var theme = _a.theme;
|
|
15
|
+
return theme.palette.background.paper;
|
|
16
|
+
});
|
|
17
|
+
exports.StyledInnerContainer = styles_1.styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 384px;\n"], ["\n width: 384px;\n"])));
|
|
18
|
+
exports.StyledImage = styles_1.styled.img(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n width: auto;\n height: 162px;\n margin: auto;\n margin-bottom: ", ";\n"], ["\n display: block;\n width: auto;\n height: 162px;\n margin: auto;\n margin-bottom: ", ";\n"])), function (_a) {
|
|
19
|
+
var theme = _a.theme;
|
|
20
|
+
return theme.spacing(8);
|
|
21
|
+
});
|
|
22
|
+
exports.StyledTitle = (0, styles_1.styled)(Typography_1.Typography)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin-bottom: ", ";\n\n text-align: center;\n"], ["\n margin-bottom: ", ";\n\n text-align: center;\n"])), function (_a) {
|
|
23
|
+
var theme = _a.theme;
|
|
24
|
+
return theme.spacing(4);
|
|
25
|
+
});
|
|
26
|
+
exports.StyledDescription = (0, styles_1.styled)(Typography_1.Typography)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: block;\n\n text-align: center;\n"], ["\n display: block;\n\n text-align: center;\n"])));
|
|
27
|
+
exports.StyledActions = styles_1.styled.footer(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin-top: ", ";\n\n > * {\n margin: ", ";\n }\n"], ["\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin-top: ", ";\n\n > * {\n margin: ", ";\n }\n"])), function (_a) {
|
|
28
|
+
var theme = _a.theme;
|
|
29
|
+
return theme.spacing(5);
|
|
30
|
+
}, function (_a) {
|
|
31
|
+
var theme = _a.theme;
|
|
32
|
+
return theme.spacing(1);
|
|
33
|
+
});
|
|
34
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|