@superdispatch/ui-lab 0.38.1 → 0.38.3
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/dist-src/alert/Alert.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckCircle, Error, Info,
|
|
1
|
+
import { CheckCircle, Error, Info, WarningRounded } from '@material-ui/icons';
|
|
2
2
|
import { Alert as MaterialAlert } from '@material-ui/lab';
|
|
3
3
|
import { ColorDynamic } from '@superdispatch/ui';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
@@ -18,7 +18,7 @@ var iconMapping = {
|
|
|
18
18
|
success: /*#__PURE__*/_jsx(CheckCircle, {}),
|
|
19
19
|
info: /*#__PURE__*/_jsx(Info, {}),
|
|
20
20
|
error: /*#__PURE__*/_jsx(Error, {}),
|
|
21
|
-
warning: /*#__PURE__*/_jsx(
|
|
21
|
+
warning: /*#__PURE__*/_jsx(WarningRounded, {})
|
|
22
22
|
};
|
|
23
23
|
export var Alert = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
24
24
|
var {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
|
2
2
|
import { Drawer, useMediaQuery, useTheme } from '@material-ui/core';
|
|
3
|
-
import { useResponsiveValue } from '@superdispatch/ui';
|
|
3
|
+
import { ColorDynamic, useResponsiveValue } from '@superdispatch/ui';
|
|
4
4
|
import { useMemo, useState } from 'react';
|
|
5
5
|
import styled from 'styled-components';
|
|
6
6
|
import { NavbarBottomBar } from "./NavbarBottomBar.js";
|
|
@@ -10,7 +10,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
10
10
|
var Aside = /*#__PURE__*/styled.aside.withConfig({
|
|
11
11
|
displayName: "Navbar__Aside",
|
|
12
12
|
componentId: "SD__sc-1oiqig8-0"
|
|
13
|
-
})(["display:flex;flex-direction:column;overflow:auto;"]);
|
|
13
|
+
})(["display:flex;flex-direction:column;overflow:auto;border-right:1px solid ", ";"], ColorDynamic.Silver400);
|
|
14
14
|
var Main = /*#__PURE__*/styled.main.withConfig({
|
|
15
15
|
displayName: "Navbar__Main",
|
|
16
16
|
componentId: "SD__sc-1oiqig8-1"
|
package/dist-types/index.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ interface BaseButtonProps<T extends HTMLElement> extends Pick<AriaAttributes, 'a
|
|
|
112
112
|
onClick?: MouseEventHandler<T>;
|
|
113
113
|
onFocus?: FocusEventHandler<T>;
|
|
114
114
|
onBlur?: FocusEventHandler<T>;
|
|
115
|
+
form?: string;
|
|
115
116
|
}
|
|
116
117
|
interface ButtonProps extends BaseButtonProps<HTMLButtonElement> {
|
|
117
118
|
type?: 'button' | 'submit';
|
package/dist-web/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckCircle, Info, Error as Error$1,
|
|
1
|
+
import { CheckCircle, Info, Error as Error$1, WarningRounded, Image, Refresh, Delete, Menu, ExpandMore, MenuOpen, ArrowBack, OpenInNew } from '@material-ui/icons';
|
|
2
2
|
import { Alert as Alert$1 } from '@material-ui/lab';
|
|
3
3
|
import { ColorDynamic, parseResponsiveProp, isColorDynamicProp, parseSpaceProp, Stack, Color, Inline, mergeRefs, useUID, isEmptyReactNode, Columns, Column, CardButton, useResponsiveValue, ColorDark, useCollapseBreakpoint } from '@superdispatch/ui';
|
|
4
4
|
import { forwardRef, useState, useEffect, Children, useRef, useLayoutEffect, Suspense, memo, useContext, createContext, useMemo, createElement } from 'react';
|
|
@@ -29,7 +29,7 @@ var iconMapping = {
|
|
|
29
29
|
success: /*#__PURE__*/jsx(CheckCircle, {}),
|
|
30
30
|
info: /*#__PURE__*/jsx(Info, {}),
|
|
31
31
|
error: /*#__PURE__*/jsx(Error$1, {}),
|
|
32
|
-
warning: /*#__PURE__*/jsx(
|
|
32
|
+
warning: /*#__PURE__*/jsx(WarningRounded, {})
|
|
33
33
|
};
|
|
34
34
|
var Alert = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
35
35
|
var {
|
|
@@ -1481,7 +1481,7 @@ function NavbarList(_ref6) {
|
|
|
1481
1481
|
var Aside = /*#__PURE__*/styled.aside.withConfig({
|
|
1482
1482
|
displayName: "Navbar__Aside",
|
|
1483
1483
|
componentId: "SD__sc-1oiqig8-0"
|
|
1484
|
-
})(["display:flex;flex-direction:column;overflow:auto;"]);
|
|
1484
|
+
})(["display:flex;flex-direction:column;overflow:auto;border-right:1px solid ", ";"], ColorDynamic.Silver400);
|
|
1485
1485
|
var Main = /*#__PURE__*/styled.main.withConfig({
|
|
1486
1486
|
displayName: "Navbar__Main",
|
|
1487
1487
|
componentId: "SD__sc-1oiqig8-1"
|