@superdispatch/ui-lab 0.40.0 → 0.40.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { alpha } from '@material-ui/core';
|
|
1
2
|
import { Color, ColorDynamic, useUID } from '@superdispatch/ui';
|
|
2
3
|
import styled from 'styled-components';
|
|
3
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
5
|
export var NavbarBadge = /*#__PURE__*/styled.span.withConfig({
|
|
5
6
|
displayName: "NavbarItem__NavbarBadge",
|
|
6
7
|
componentId: "SD__sc-1pvzq3w-0"
|
|
7
|
-
})(["flex-shrink:0;padding:4px 6px;min-width:20px;line-height:12px;font-size:12px;font-weight:400;border-radius:10px;text-align:center;background
|
|
8
|
+
})(["flex-shrink:0;padding:4px 6px;min-width:20px;line-height:12px;font-size:12px;font-weight:400;border-radius:10px;text-align:center;background:", ";&[data-variant='primary']{color:", ";background:", ";}&[data-variant='danger']{color:", ";background:", ";}"], /*#__PURE__*/alpha(Color.White, 0.05), Color.White, ColorDynamic.Blue300, Color.White, ColorDynamic.Red300);
|
|
8
9
|
export var NavbarLabel = /*#__PURE__*/styled.span.withConfig({
|
|
9
10
|
displayName: "NavbarItem__NavbarLabel",
|
|
10
11
|
componentId: "SD__sc-1pvzq3w-1"
|
package/dist-web/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
7
7
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
8
8
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
9
9
|
import { CSSTransition } from 'react-transition-group';
|
|
10
|
-
import { ButtonBase, Typography, CircularProgress, SvgIcon, Link, Tooltip, IconButton, BottomNavigation, BottomNavigationAction, Accordion, AccordionSummary, useTheme, useMediaQuery, Drawer, Avatar, MenuItem, Menu as Menu$1, Toolbar, AppBar, Divider as Divider$1,
|
|
10
|
+
import { ButtonBase, Typography, CircularProgress, SvgIcon, Link, Tooltip, IconButton, BottomNavigation, BottomNavigationAction, alpha, Accordion, AccordionSummary, useTheme, useMediaQuery, Drawer, Avatar, MenuItem, Menu as Menu$1, Toolbar, AppBar, Divider as Divider$1, Checkbox } from '@material-ui/core';
|
|
11
11
|
import { formatDate } from '@superdispatch/dates';
|
|
12
12
|
import { Box as Box$1 } from '@superdispatch/ui-lab';
|
|
13
13
|
import { mdiUpload, mdiFilePdfBox, mdiTextBox } from '@mdi/js';
|
|
@@ -1217,7 +1217,7 @@ function NavbarBottomBar(_ref) {
|
|
|
1217
1217
|
var NavbarBadge = /*#__PURE__*/styled.span.withConfig({
|
|
1218
1218
|
displayName: "NavbarItem__NavbarBadge",
|
|
1219
1219
|
componentId: "SD__sc-1pvzq3w-0"
|
|
1220
|
-
})(["flex-shrink:0;padding:4px 6px;min-width:20px;line-height:12px;font-size:12px;font-weight:400;border-radius:10px;text-align:center;background
|
|
1220
|
+
})(["flex-shrink:0;padding:4px 6px;min-width:20px;line-height:12px;font-size:12px;font-weight:400;border-radius:10px;text-align:center;background:", ";&[data-variant='primary']{color:", ";background:", ";}&[data-variant='danger']{color:", ";background:", ";}"], /*#__PURE__*/alpha(Color.White, 0.05), Color.White, ColorDynamic.Blue300, Color.White, ColorDynamic.Red300);
|
|
1221
1221
|
var NavbarLabel = /*#__PURE__*/styled.span.withConfig({
|
|
1222
1222
|
displayName: "NavbarItem__NavbarLabel",
|
|
1223
1223
|
componentId: "SD__sc-1pvzq3w-1"
|