@toptal/picasso-application-update-notification 1.0.24-alpha-fx-5525-container-4ebd3caa7.27 → 2.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/dist-package/src/ApplicationUpdateNotification/ApplicationUpdateNotification.d.ts +1 -1
- package/dist-package/src/ApplicationUpdateNotification/ApplicationUpdateNotification.d.ts.map +1 -1
- package/dist-package/src/ApplicationUpdateNotification/ApplicationUpdateNotification.js +5 -16
- package/dist-package/src/ApplicationUpdateNotification/ApplicationUpdateNotification.js.map +1 -1
- package/dist-package/src/ApplicationUpdateNotificationCompound/index.d.ts +1 -1
- package/package.json +9 -10
- package/src/ApplicationUpdateNotification/ApplicationUpdateNotification.tsx +11 -23
- package/src/ApplicationUpdateNotification/__snapshots__/test.tsx.snap +25 -29
- package/LICENSE +0 -20
- package/dist-package/src/ApplicationUpdateNotification/styles.d.ts +0 -4
- package/dist-package/src/ApplicationUpdateNotification/styles.d.ts.map +0 -1
- package/dist-package/src/ApplicationUpdateNotification/styles.js +0 -27
- package/dist-package/src/ApplicationUpdateNotification/styles.js.map +0 -1
- package/src/ApplicationUpdateNotification/styles.ts +0 -29
|
@@ -13,6 +13,6 @@ export interface Props extends BaseProps {
|
|
|
13
13
|
/** On close click callback */
|
|
14
14
|
onClose?: () => void;
|
|
15
15
|
}
|
|
16
|
-
export declare const ApplicationUpdateNotification: React.ForwardRefExoticComponent<Props & React.RefAttributes<
|
|
16
|
+
export declare const ApplicationUpdateNotification: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
export default ApplicationUpdateNotification;
|
|
18
18
|
//# sourceMappingURL=ApplicationUpdateNotification.d.ts.map
|
package/dist-package/src/ApplicationUpdateNotification/ApplicationUpdateNotification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationUpdateNotification.d.ts","sourceRoot":"","sources":["../../../src/ApplicationUpdateNotification/ApplicationUpdateNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAqB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ApplicationUpdateNotification.d.ts","sourceRoot":"","sources":["../../../src/ApplicationUpdateNotification/ApplicationUpdateNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAMvD,MAAM,WAAW,KAAM,SAAQ,SAAS;IACtC,yBAAyB;IACzB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,mCAAmC;IACnC,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IAC7C,sDAAsD;IACtD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,eAAO,MAAM,6BAA6B,8EAoEzC,CAAA;AAWD,eAAe,6BAA6B,CAAA"}
|
|
@@ -10,33 +10,22 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import React, { forwardRef } from 'react';
|
|
13
|
-
import cx from 'classnames';
|
|
14
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
15
|
-
import { SnackbarContent } from '@material-ui/core';
|
|
16
13
|
import { Typography } from '@toptal/picasso-typography';
|
|
17
14
|
import { Container } from '@toptal/picasso-container';
|
|
18
15
|
import { Close16 } from '@toptal/picasso-icons';
|
|
19
16
|
import { ButtonCircular } from '@toptal/picasso-button';
|
|
20
|
-
import styles from './styles';
|
|
21
|
-
const useStyles = makeStyles(styles, {
|
|
22
|
-
name: 'ApplicationUpdateNotification',
|
|
23
|
-
});
|
|
24
17
|
export const ApplicationUpdateNotification = forwardRef(function ApplicationUpdateNotification(props, ref) {
|
|
25
18
|
const { title, description, actions = null, dismissable = false, onClose } = props, rest = __rest(props, ["title", "description", "actions", "dismissable", "onClose"]);
|
|
26
|
-
const classes = useStyles();
|
|
27
19
|
const notification = (React.createElement(Container, { flex: true, direction: 'column', gap: 'xsmall' },
|
|
28
|
-
React.createElement("svg", { className:
|
|
20
|
+
React.createElement("svg", { className: 'opacity-40 absolute -top-[0.4em] -left-[0.5em] fill-blue-700', viewBox: '0 0 105 105', width: '105', height: '105' },
|
|
29
21
|
React.createElement("path", { d: 'M8.364 72.364h32v8h-21.47c.829.99 1.701 1.942 2.614 2.855C29.641 91.353 40.63 96 52.364 96 76.464 96 96 76.463 96 52.364h8.727c0 28.92-23.444 52.363-52.363 52.363A52.192 52.192 0 0116.363 90.39v13.975h-8v-32zM52.364 0a52.192 52.192 0 0136 14.338V.364h8v32h-32v-8l21.469-.001a43.924 43.924 0 00-2.614-2.855c-8.133-8.133-19.12-12.78-30.855-12.78-24.1 0-43.637 19.536-43.637 43.636H0C0 23.444 23.444 0 52.364 0z' })),
|
|
30
22
|
React.createElement(Container, { flex: true, direction: 'row', alignItems: 'flex-start', justifyContent: 'space-between' },
|
|
31
|
-
React.createElement(Typography, { variant: 'heading', size: 'medium', color: 'inherit', className:
|
|
32
|
-
dismissable && (React.createElement(ButtonCircular, { "data-testid": 'btn-dismiss', className:
|
|
33
|
-
React.createElement(Container, { className:
|
|
23
|
+
React.createElement(Typography, { variant: 'heading', size: 'medium', color: 'inherit', className: 'relative' }, title),
|
|
24
|
+
dismissable && (React.createElement(ButtonCircular, { "data-testid": 'btn-dismiss', className: 'text-lg text-white inline-flex items-center font-semibold whitespace-nowrap', variant: 'transparent', icon: React.createElement(Close16, null), onClick: onClose }))),
|
|
25
|
+
React.createElement(Container, { className: 'relative' },
|
|
34
26
|
React.createElement(Typography, { size: 'medium', color: 'inherit' }, description)), actions === null || actions === void 0 ? void 0 :
|
|
35
27
|
actions(onClose)));
|
|
36
|
-
return (React.createElement(
|
|
37
|
-
root: cx([classes.root, classes.positionRelative]),
|
|
38
|
-
message: classes.message,
|
|
39
|
-
}, message: notification, ref: ref })));
|
|
28
|
+
return (React.createElement("div", Object.assign({}, rest, { className: 'relative flex flex-wrap text-lg/[1.43] items-center rounded-md bg-blue-600 shadow-3 w-[27.5em] text-white p-[1.5em] overflow-hidden', ref: ref, role: 'alert' }), notification));
|
|
40
29
|
});
|
|
41
30
|
ApplicationUpdateNotification.defaultProps = {
|
|
42
31
|
title: 'A New Update is Available',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationUpdateNotification.js","sourceRoot":"","sources":["../../../src/ApplicationUpdateNotification/ApplicationUpdateNotification.tsx"],"names":[],"mappings":";;;;;;;;;;;AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ApplicationUpdateNotification.js","sourceRoot":"","sources":["../../../src/ApplicationUpdateNotification/ApplicationUpdateNotification.tsx"],"names":[],"mappings":";;;;;;;;;;;AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAevD,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,CACrD,SAAS,6BAA6B,CAAC,KAAK,EAAE,GAAG;IAC/C,MAAM,EACJ,KAAK,EACL,WAAW,EACX,OAAO,GAAG,IAAI,EACd,WAAW,GAAG,KAAK,EACnB,OAAO,KAEL,KAAK,EADJ,IAAI,UACL,KAAK,EAPH,6DAOL,CAAQ,CAAA;IAET,MAAM,YAAY,GAAG,CACnB,oBAAC,SAAS,IAAC,IAAI,QAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,QAAQ;QAC7C,6BACE,SAAS,EAAC,8DAA8D,EACxE,OAAO,EAAC,aAAa,EACrB,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK;YAEZ,8BAAM,CAAC,EAAC,0ZAA0Z,GAAG,CACja;QAEN,oBAAC,SAAS,IACR,IAAI,QACJ,SAAS,EAAC,KAAK,EACf,UAAU,EAAC,YAAY,EACvB,cAAc,EAAC,eAAe;YAE9B,oBAAC,UAAU,IACT,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,SAAS,EACf,SAAS,EAAC,UAAU,IAEnB,KAAK,CACK;YACZ,WAAW,IAAI,CACd,oBAAC,cAAc,mBACD,aAAa,EACzB,SAAS,EAAC,6EAA6E,EACvF,OAAO,EAAC,aAAa,EACrB,IAAI,EAAE,oBAAC,OAAO,OAAG,EACjB,OAAO,EAAE,OAAO,GAChB,CACH,CACS;QAEZ,oBAAC,SAAS,IAAC,SAAS,EAAC,UAAU;YAC7B,oBAAC,UAAU,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,SAAS,IACtC,WAAW,CACD,CACH,EAEX,OAAO,aAAP,OAAO;QAAP,OAAO,CAAG,OAAO,CAAC,CACT,CACb,CAAA;IAED,OAAO,CACL,6CACM,IAAI,IACR,SAAS,EAAC,qIAAqI,EAC/I,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,OAAO,KAEX,YAAY,CACT,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,6BAA6B,CAAC,YAAY,GAAG;IAC3C,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,uHAAuH;IACzH,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;CAClB,CAAA;AAED,6BAA6B,CAAC,WAAW,GAAG,+BAA+B,CAAA;AAE3E,eAAe,6BAA6B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ApplicationUpdateNotificationCompound: import("react").ForwardRefExoticComponent<import("../ApplicationUpdateNotification").ApplicationUpdateNotificationProps & import("react").RefAttributes<
|
|
2
|
+
export declare const ApplicationUpdateNotificationCompound: import("react").ForwardRefExoticComponent<import("../ApplicationUpdateNotification").ApplicationUpdateNotificationProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
3
3
|
Actions: {
|
|
4
4
|
({ justifyContent, alignItems, children, }: import("../ApplicationUpdateNotificationActions").ApplicationUpdateNotificationActionsProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/picasso-application-update-notification",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Toptal UI components library - ApplicationUpdateNotification",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@toptal/picasso-button": "
|
|
26
|
-
"@toptal/picasso-container": "
|
|
27
|
-
"@toptal/picasso-icons": "1.
|
|
28
|
-
"@toptal/picasso-typography": "
|
|
29
|
-
"@toptal/picasso-utils": "1.0.
|
|
25
|
+
"@toptal/picasso-button": "3.0.0",
|
|
26
|
+
"@toptal/picasso-container": "2.0.0",
|
|
27
|
+
"@toptal/picasso-icons": "1.5.0",
|
|
28
|
+
"@toptal/picasso-typography": "3.0.0",
|
|
29
|
+
"@toptal/picasso-utils": "1.0.3",
|
|
30
30
|
"classnames": "^2.5.1"
|
|
31
31
|
},
|
|
32
32
|
"sideEffects": [
|
|
@@ -34,19 +34,18 @@
|
|
|
34
34
|
"**/styles.js"
|
|
35
35
|
],
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@
|
|
37
|
+
"@toptal/picasso-tailwind": ">=2.7",
|
|
38
38
|
"react": ">=16.12.0 < 19.0.0"
|
|
39
39
|
},
|
|
40
40
|
"exports": {
|
|
41
41
|
".": "./dist-package/src/index.js"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@toptal/picasso-test-utils": "1.1.
|
|
44
|
+
"@toptal/picasso-test-utils": "1.1.1"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"dist-package/**",
|
|
48
48
|
"!dist-package/tsconfig.tsbuildinfo",
|
|
49
49
|
"src"
|
|
50
|
-
]
|
|
51
|
-
"gitHead": "4ebd3caa763220e28d7bfe67e6a63a05ea37599a"
|
|
50
|
+
]
|
|
52
51
|
}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import type { ReactNode } from 'react'
|
|
2
2
|
import React, { forwardRef } from 'react'
|
|
3
|
-
import cx from 'classnames'
|
|
4
|
-
import type { Theme } from '@material-ui/core/styles'
|
|
5
|
-
import { makeStyles } from '@material-ui/core/styles'
|
|
6
|
-
import { SnackbarContent } from '@material-ui/core'
|
|
7
3
|
import type { BaseProps } from '@toptal/picasso-shared'
|
|
8
4
|
import { Typography } from '@toptal/picasso-typography'
|
|
9
5
|
import { Container } from '@toptal/picasso-container'
|
|
10
6
|
import { Close16 } from '@toptal/picasso-icons'
|
|
11
7
|
import { ButtonCircular } from '@toptal/picasso-button'
|
|
12
8
|
|
|
13
|
-
import styles from './styles'
|
|
14
|
-
|
|
15
9
|
export interface Props extends BaseProps {
|
|
16
10
|
/** Notification title */
|
|
17
11
|
title?: ReactNode
|
|
@@ -25,11 +19,7 @@ export interface Props extends BaseProps {
|
|
|
25
19
|
onClose?: () => void
|
|
26
20
|
}
|
|
27
21
|
|
|
28
|
-
const
|
|
29
|
-
name: 'ApplicationUpdateNotification',
|
|
30
|
-
})
|
|
31
|
-
|
|
32
|
-
export const ApplicationUpdateNotification = forwardRef<HTMLElement, Props>(
|
|
22
|
+
export const ApplicationUpdateNotification = forwardRef<HTMLDivElement, Props>(
|
|
33
23
|
function ApplicationUpdateNotification(props, ref) {
|
|
34
24
|
const {
|
|
35
25
|
title,
|
|
@@ -39,12 +29,11 @@ export const ApplicationUpdateNotification = forwardRef<HTMLElement, Props>(
|
|
|
39
29
|
onClose,
|
|
40
30
|
...rest
|
|
41
31
|
} = props
|
|
42
|
-
const classes = useStyles()
|
|
43
32
|
|
|
44
33
|
const notification = (
|
|
45
34
|
<Container flex direction='column' gap='xsmall'>
|
|
46
35
|
<svg
|
|
47
|
-
className=
|
|
36
|
+
className='opacity-40 absolute -top-[0.4em] -left-[0.5em] fill-blue-700'
|
|
48
37
|
viewBox='0 0 105 105'
|
|
49
38
|
width='105'
|
|
50
39
|
height='105'
|
|
@@ -62,14 +51,14 @@ export const ApplicationUpdateNotification = forwardRef<HTMLElement, Props>(
|
|
|
62
51
|
variant='heading'
|
|
63
52
|
size='medium'
|
|
64
53
|
color='inherit'
|
|
65
|
-
className=
|
|
54
|
+
className='relative'
|
|
66
55
|
>
|
|
67
56
|
{title}
|
|
68
57
|
</Typography>
|
|
69
58
|
{dismissable && (
|
|
70
59
|
<ButtonCircular
|
|
71
60
|
data-testid='btn-dismiss'
|
|
72
|
-
className=
|
|
61
|
+
className='text-lg text-white inline-flex items-center font-semibold whitespace-nowrap'
|
|
73
62
|
variant='transparent'
|
|
74
63
|
icon={<Close16 />}
|
|
75
64
|
onClick={onClose}
|
|
@@ -77,7 +66,7 @@ export const ApplicationUpdateNotification = forwardRef<HTMLElement, Props>(
|
|
|
77
66
|
)}
|
|
78
67
|
</Container>
|
|
79
68
|
|
|
80
|
-
<Container className=
|
|
69
|
+
<Container className='relative'>
|
|
81
70
|
<Typography size='medium' color='inherit'>
|
|
82
71
|
{description}
|
|
83
72
|
</Typography>
|
|
@@ -88,15 +77,14 @@ export const ApplicationUpdateNotification = forwardRef<HTMLElement, Props>(
|
|
|
88
77
|
)
|
|
89
78
|
|
|
90
79
|
return (
|
|
91
|
-
<
|
|
80
|
+
<div
|
|
92
81
|
{...rest}
|
|
93
|
-
|
|
94
|
-
root: cx([classes.root, classes.positionRelative]),
|
|
95
|
-
message: classes.message,
|
|
96
|
-
}}
|
|
97
|
-
message={notification}
|
|
82
|
+
className='relative flex flex-wrap text-lg/[1.43] items-center rounded-md bg-blue-600 shadow-3 w-[27.5em] text-white p-[1.5em] overflow-hidden'
|
|
98
83
|
ref={ref}
|
|
99
|
-
|
|
84
|
+
role='alert'
|
|
85
|
+
>
|
|
86
|
+
{notification}
|
|
87
|
+
</div>
|
|
100
88
|
)
|
|
101
89
|
}
|
|
102
90
|
)
|
|
@@ -6,43 +6,39 @@ exports[`ApplicationUpdateNotification renders 1`] = `
|
|
|
6
6
|
class="Picasso-root"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
9
|
-
class="
|
|
9
|
+
class="relative flex flex-wrap text-lg/[1.43] items-center rounded-md bg-blue shadow-3 w-[27.5em] text-white p-[1.5em] overflow-hidden"
|
|
10
10
|
role="alert"
|
|
11
11
|
>
|
|
12
12
|
<div
|
|
13
|
-
class="
|
|
13
|
+
class="gap-2 flex flex-col"
|
|
14
14
|
>
|
|
15
|
+
<svg
|
|
16
|
+
class="opacity-40 absolute -top -left fill-blue"
|
|
17
|
+
height="105"
|
|
18
|
+
viewBox="0 0 105 105"
|
|
19
|
+
width="105"
|
|
20
|
+
>
|
|
21
|
+
<path
|
|
22
|
+
d="M8.364 72.364h32v8h-21.47c.829.99 1.701 1.942 2.614 2.855C29.641 91.353 40.63 96 52.364 96 76.464 96 96 76.463 96 52.364h8.727c0 28.92-23.444 52.363-52.363 52.363A52.192 52.192 0 0116.363 90.39v13.975h-8v-32zM52.364 0a52.192 52.192 0 0136 14.338V.364h8v32h-32v-8l21.469-.001a43.924 43.924 0 00-2.614-2.855c-8.133-8.133-19.12-12.78-30.855-12.78-24.1 0-43.637 19.536-43.637 43.636H0C0 23.444 23.444 0 52.364 0z"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
15
25
|
<div
|
|
16
|
-
class="
|
|
26
|
+
class="items-start justify-between flex"
|
|
17
27
|
>
|
|
18
|
-
<
|
|
19
|
-
class="
|
|
20
|
-
height="105"
|
|
21
|
-
viewBox="0 0 105 105"
|
|
22
|
-
width="105"
|
|
23
|
-
>
|
|
24
|
-
<path
|
|
25
|
-
d="M8.364 72.364h32v8h-21.47c.829.99 1.701 1.942 2.614 2.855C29.641 91.353 40.63 96 52.364 96 76.464 96 96 76.463 96 52.364h8.727c0 28.92-23.444 52.363-52.363 52.363A52.192 52.192 0 0116.363 90.39v13.975h-8v-32zM52.364 0a52.192 52.192 0 0136 14.338V.364h8v32h-32v-8l21.469-.001a43.924 43.924 0 00-2.614-2.855c-8.133-8.133-19.12-12.78-30.855-12.78-24.1 0-43.637 19.536-43.637 43.636H0C0 23.444 23.444 0 52.364 0z"
|
|
26
|
-
/>
|
|
27
|
-
</svg>
|
|
28
|
-
<div
|
|
29
|
-
class="items-start justify-between flex"
|
|
28
|
+
<h3
|
|
29
|
+
class="m-0 text-lg text-inherit font-semibold relative"
|
|
30
30
|
>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<
|
|
38
|
-
class="
|
|
31
|
+
A New Update is Available
|
|
32
|
+
</h3>
|
|
33
|
+
</div>
|
|
34
|
+
<div
|
|
35
|
+
class="relative"
|
|
36
|
+
>
|
|
37
|
+
<p
|
|
38
|
+
class="m-0 text-md text-inherit font-regular"
|
|
39
39
|
>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
>
|
|
43
|
-
Get performance improvements and bug fixes with this update. Make sure to save any data on this page before updating.
|
|
44
|
-
</p>
|
|
45
|
-
</div>
|
|
40
|
+
Get performance improvements and bug fixes with this update. Make sure to save any data on this page before updating.
|
|
41
|
+
</p>
|
|
46
42
|
</div>
|
|
47
43
|
</div>
|
|
48
44
|
</div>
|
package/LICENSE
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021-2022 Toptal, LLC
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
-
this software and associated documentation files (the “Software”), to deal in
|
|
7
|
-
the Software without restriction, including without limitation the rights to
|
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
-
subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Theme } from '@material-ui/core/styles';
|
|
2
|
-
declare const _default: ({ palette, sizes, shadows }: Theme) => import("@material-ui/styles").StyleRules<{}, "root" | "icon" | "message" | "positionRelative">;
|
|
3
|
-
export default _default;
|
|
4
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/ApplicationUpdateNotification/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;sDAGR,KAAK;AAAlD,wBAyBI"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { createStyles } from '@material-ui/core/styles';
|
|
2
|
-
export default ({ palette, sizes, shadows }) => createStyles({
|
|
3
|
-
root: {
|
|
4
|
-
borderRadius: sizes.borderRadius.medium,
|
|
5
|
-
backgroundColor: palette.blue.dark,
|
|
6
|
-
boxShadow: shadows[3],
|
|
7
|
-
width: '27.5em',
|
|
8
|
-
color: palette.common.white,
|
|
9
|
-
overflow: 'hidden',
|
|
10
|
-
padding: '1.5em',
|
|
11
|
-
},
|
|
12
|
-
message: {
|
|
13
|
-
padding: 0,
|
|
14
|
-
flexDirection: 'column',
|
|
15
|
-
},
|
|
16
|
-
icon: {
|
|
17
|
-
opacity: 0.4,
|
|
18
|
-
position: 'absolute',
|
|
19
|
-
top: '-0.4em',
|
|
20
|
-
left: '-0.5em',
|
|
21
|
-
fill: palette.blue.darker,
|
|
22
|
-
},
|
|
23
|
-
positionRelative: {
|
|
24
|
-
position: 'relative',
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/ApplicationUpdateNotification/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEvD,eAAe,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAS,EAAE,EAAE,CACpD,YAAY,CAAC;IACX,IAAI,EAAE;QACJ,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,MAAM;QACvC,eAAe,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI;QAClC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;QACrB,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK;QAC3B,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,OAAO;KACjB;IACD,OAAO,EAAE;QACP,OAAO,EAAE,CAAC;QACV,aAAa,EAAE,QAAQ;KACxB;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,GAAG;QACZ,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,QAAQ;QACb,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;KAC1B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,UAAU;KACrB;CACF,CAAC,CAAA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { Theme } from '@material-ui/core/styles'
|
|
2
|
-
import { createStyles } from '@material-ui/core/styles'
|
|
3
|
-
|
|
4
|
-
export default ({ palette, sizes, shadows }: Theme) =>
|
|
5
|
-
createStyles({
|
|
6
|
-
root: {
|
|
7
|
-
borderRadius: sizes.borderRadius.medium,
|
|
8
|
-
backgroundColor: palette.blue.dark,
|
|
9
|
-
boxShadow: shadows[3],
|
|
10
|
-
width: '27.5em',
|
|
11
|
-
color: palette.common.white,
|
|
12
|
-
overflow: 'hidden',
|
|
13
|
-
padding: '1.5em',
|
|
14
|
-
},
|
|
15
|
-
message: {
|
|
16
|
-
padding: 0,
|
|
17
|
-
flexDirection: 'column',
|
|
18
|
-
},
|
|
19
|
-
icon: {
|
|
20
|
-
opacity: 0.4,
|
|
21
|
-
position: 'absolute',
|
|
22
|
-
top: '-0.4em',
|
|
23
|
-
left: '-0.5em',
|
|
24
|
-
fill: palette.blue.darker,
|
|
25
|
-
},
|
|
26
|
-
positionRelative: {
|
|
27
|
-
position: 'relative',
|
|
28
|
-
},
|
|
29
|
-
})
|