@clubmed/trident-ui 1.0.0-beta.11 → 1.0.0-beta.13
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/fonts/Actions/tui-actions.css +6 -6
- package/fonts/Actions/tui-actions.eot +0 -0
- package/fonts/Actions/tui-actions.less +6 -6
- package/fonts/Actions/tui-actions.module.less +6 -6
- package/fonts/Actions/tui-actions.scss +6 -6
- package/fonts/Actions/tui-actions.styl +6 -6
- package/fonts/Actions/tui-actions.ttf +0 -0
- package/fonts/Actions/tui-actions.woff +0 -0
- package/fonts/Actions/tui-actions.woff2 +0 -0
- package/fonts/Activities/tui-activities.css +6 -6
- package/fonts/Activities/tui-activities.eot +0 -0
- package/fonts/Activities/tui-activities.less +6 -6
- package/fonts/Activities/tui-activities.module.less +6 -6
- package/fonts/Activities/tui-activities.scss +6 -6
- package/fonts/Activities/tui-activities.styl +6 -6
- package/fonts/Activities/tui-activities.ttf +0 -0
- package/fonts/Activities/tui-activities.woff +0 -0
- package/fonts/Activities/tui-activities.woff2 +0 -0
- package/fonts/Brand/tui-brand.css +6 -6
- package/fonts/Brand/tui-brand.eot +0 -0
- package/fonts/Brand/tui-brand.less +6 -6
- package/fonts/Brand/tui-brand.module.less +6 -6
- package/fonts/Brand/tui-brand.scss +6 -6
- package/fonts/Brand/tui-brand.styl +6 -6
- package/fonts/Brand/tui-brand.ttf +0 -0
- package/fonts/Brand/tui-brand.woff +0 -0
- package/fonts/Brand/tui-brand.woff2 +0 -0
- package/fonts/Covid/tui-covid.css +6 -6
- package/fonts/Covid/tui-covid.eot +0 -0
- package/fonts/Covid/tui-covid.less +6 -6
- package/fonts/Covid/tui-covid.module.less +6 -6
- package/fonts/Covid/tui-covid.scss +6 -6
- package/fonts/Covid/tui-covid.styl +6 -6
- package/fonts/Covid/tui-covid.ttf +0 -0
- package/fonts/Covid/tui-covid.woff +0 -0
- package/fonts/Covid/tui-covid.woff2 +0 -0
- package/fonts/Food/tui-food.css +6 -6
- package/fonts/Food/tui-food.eot +0 -0
- package/fonts/Food/tui-food.less +6 -6
- package/fonts/Food/tui-food.module.less +6 -6
- package/fonts/Food/tui-food.scss +6 -6
- package/fonts/Food/tui-food.styl +6 -6
- package/fonts/Food/tui-food.ttf +0 -0
- package/fonts/Food/tui-food.woff +0 -0
- package/fonts/Food/tui-food.woff2 +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.css +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.eot +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.less +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.module.less +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.scss +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.styl +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.ttf +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.woff +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.woff2 +0 -0
- package/fonts/Places/tui-places.css +6 -6
- package/fonts/Places/tui-places.eot +0 -0
- package/fonts/Places/tui-places.less +6 -6
- package/fonts/Places/tui-places.module.less +6 -6
- package/fonts/Places/tui-places.scss +6 -6
- package/fonts/Places/tui-places.styl +6 -6
- package/fonts/Places/tui-places.ttf +0 -0
- package/fonts/Places/tui-places.woff +0 -0
- package/fonts/Places/tui-places.woff2 +0 -0
- package/fonts/Room/tui-room.css +6 -6
- package/fonts/Room/tui-room.eot +0 -0
- package/fonts/Room/tui-room.less +6 -6
- package/fonts/Room/tui-room.module.less +6 -6
- package/fonts/Room/tui-room.scss +6 -6
- package/fonts/Room/tui-room.styl +6 -6
- package/fonts/Room/tui-room.ttf +0 -0
- package/fonts/Room/tui-room.woff +0 -0
- package/fonts/Room/tui-room.woff2 +0 -0
- package/fonts/Services/tui-services.css +6 -6
- package/fonts/Services/tui-services.eot +0 -0
- package/fonts/Services/tui-services.less +6 -6
- package/fonts/Services/tui-services.module.less +6 -6
- package/fonts/Services/tui-services.scss +6 -6
- package/fonts/Services/tui-services.styl +6 -6
- package/fonts/Services/tui-services.ttf +0 -0
- package/fonts/Services/tui-services.woff +0 -0
- package/fonts/Services/tui-services.woff2 +0 -0
- package/fonts/Socials/tui-socials.css +6 -6
- package/fonts/Socials/tui-socials.eot +0 -0
- package/fonts/Socials/tui-socials.less +6 -6
- package/fonts/Socials/tui-socials.module.less +6 -6
- package/fonts/Socials/tui-socials.scss +6 -6
- package/fonts/Socials/tui-socials.styl +6 -6
- package/fonts/Socials/tui-socials.ttf +0 -0
- package/fonts/Socials/tui-socials.woff +0 -0
- package/fonts/Socials/tui-socials.woff2 +0 -0
- package/fonts/Transports/tui-transports.css +6 -6
- package/fonts/Transports/tui-transports.eot +0 -0
- package/fonts/Transports/tui-transports.less +6 -6
- package/fonts/Transports/tui-transports.module.less +6 -6
- package/fonts/Transports/tui-transports.scss +6 -6
- package/fonts/Transports/tui-transports.styl +6 -6
- package/fonts/Transports/tui-transports.ttf +0 -0
- package/fonts/Transports/tui-transports.woff +0 -0
- package/fonts/Transports/tui-transports.woff2 +0 -0
- package/fonts/Utilities/tui-utilities.css +6 -6
- package/fonts/Utilities/tui-utilities.eot +0 -0
- package/fonts/Utilities/tui-utilities.less +6 -6
- package/fonts/Utilities/tui-utilities.module.less +6 -6
- package/fonts/Utilities/tui-utilities.scss +6 -6
- package/fonts/Utilities/tui-utilities.styl +6 -6
- package/fonts/Utilities/tui-utilities.ttf +0 -0
- package/fonts/Utilities/tui-utilities.woff +0 -0
- package/fonts/Utilities/tui-utilities.woff2 +0 -0
- package/molecules/Popin.d.ts +12 -4
- package/molecules/Popin.js +38 -34
- package/package.json +1 -1
@@ -1,11 +1,11 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: "tui-utilities";
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
src: url('tui-utilities.eot?t=
|
5
|
-
url("tui-utilities.woff2?t=
|
6
|
-
url("tui-utilities.woff?t=
|
7
|
-
url('tui-utilities.ttf?t=
|
8
|
-
url('tui-utilities.svg?t=
|
3
|
+
src: url('tui-utilities.eot?t=1718809683540'); /* IE9*/
|
4
|
+
src: url('tui-utilities.eot?t=1718809683540#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
5
|
+
url("tui-utilities.woff2?t=1718809683540") format("woff2"),
|
6
|
+
url("tui-utilities.woff?t=1718809683540") format("woff"),
|
7
|
+
url('tui-utilities.ttf?t=1718809683540') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
8
|
+
url('tui-utilities.svg?t=1718809683540#tui-utilities') format('svg'); /* iOS 4.1- */
|
9
9
|
}
|
10
10
|
|
11
11
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
Binary file
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1718809683540'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1718809683540#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1718809683540") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1718809683540") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1718809683540') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1718809683540#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1718809683540'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1718809683540#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1718809683540") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1718809683540") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1718809683540') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1718809683540#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1718809683540'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1718809683540#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1718809683540") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1718809683540") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1718809683540') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1718809683540#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1718809683540'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1718809683540#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1718809683540") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1718809683540") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1718809683540') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1718809683540#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
Binary file
|
Binary file
|
Binary file
|
package/molecules/Popin.d.ts
CHANGED
@@ -1,9 +1,17 @@
|
|
1
|
-
import { FunctionComponent, PropsWithChildren } from 'react';
|
2
|
-
|
3
|
-
|
1
|
+
import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
|
2
|
+
export type ClosePopinCallback = () => void;
|
3
|
+
interface PopinFooterProps {
|
4
4
|
closeLabel: string;
|
5
|
-
onClose:
|
5
|
+
onClose: ClosePopinCallback;
|
6
|
+
}
|
7
|
+
export interface PopinProps {
|
8
|
+
title: ReactNode;
|
9
|
+
closeLabel: string;
|
10
|
+
onClose: ClosePopinCallback;
|
6
11
|
isVisible: boolean;
|
12
|
+
className?: string;
|
13
|
+
showCloseButton?: boolean;
|
14
|
+
Footer?: FunctionComponent<PopinFooterProps> | false;
|
7
15
|
}
|
8
16
|
export declare const Popin: FunctionComponent<PropsWithChildren<PopinProps>>;
|
9
17
|
export {};
|
package/molecules/Popin.js
CHANGED
@@ -1,47 +1,51 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { c as
|
3
|
-
import { Backdrop as
|
4
|
-
import { Button as
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
2
|
+
import { c as f, b as p, d as x } from "../react-spring_web.modern-BPtZcx1z.js";
|
3
|
+
import { Backdrop as h } from "./Backdrop.js";
|
4
|
+
import { Button as u } from "./Buttons/Button.js";
|
5
|
+
import { c as v } from "../index-Cu0xwYjD.js";
|
6
|
+
const b = ({ closeLabel: e, onClose: o }) => /* @__PURE__ */ t(
|
7
|
+
u,
|
8
|
+
{
|
9
|
+
theme: "black",
|
10
|
+
variant: "icon",
|
11
|
+
icon: "CrossDefault",
|
12
|
+
className: "mx-auto",
|
13
|
+
label: e,
|
14
|
+
onClick: o
|
15
|
+
}
|
16
|
+
), j = ({
|
17
|
+
title: e,
|
18
|
+
children: o,
|
19
|
+
closeLabel: s,
|
20
|
+
onClose: r,
|
21
|
+
isVisible: a,
|
22
|
+
className: c = "sm:w-360",
|
23
|
+
Footer: n = b
|
11
24
|
}) => {
|
12
|
-
const i =
|
25
|
+
const i = f(a, {
|
13
26
|
from: { scale: 0.3, opacity: 0.3 },
|
14
27
|
enter: { scale: 1, opacity: 1 },
|
15
28
|
leave: { scale: 0, opacity: 0 },
|
16
|
-
config:
|
29
|
+
config: a ? { tension: 120, friction: 20 } : x.gentle
|
17
30
|
});
|
18
|
-
return /* @__PURE__ */
|
19
|
-
(
|
20
|
-
|
31
|
+
return /* @__PURE__ */ t(h, { isVisible: a, onClose: r, children: i(
|
32
|
+
(m, l) => l && /* @__PURE__ */ t(
|
33
|
+
p.div,
|
21
34
|
{
|
22
|
-
className:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
/* @__PURE__ */
|
30
|
-
|
31
|
-
{
|
32
|
-
theme: "black",
|
33
|
-
variant: "icon",
|
34
|
-
icon: "CrossDefault",
|
35
|
-
className: "mx-auto",
|
36
|
-
label: n,
|
37
|
-
onClick: a
|
38
|
-
}
|
39
|
-
)
|
35
|
+
className: v(
|
36
|
+
"border-lightGrey rounded-16 pointer-events-auto mx-20 w-full border bg-white",
|
37
|
+
c
|
38
|
+
),
|
39
|
+
style: m,
|
40
|
+
children: /* @__PURE__ */ d("div", { className: "p-40 text-center max-h-[90vh] flex flex-col", children: [
|
41
|
+
e && /* @__PURE__ */ t("div", { className: "mt-12 text-h5 text-start font-serif", children: e }),
|
42
|
+
/* @__PURE__ */ t("div", { className: "mt-12 mb-40 last:mb-0 text-start overflow-auto", children: o }),
|
43
|
+
n && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(n, { closeLabel: s, onClose: r }) })
|
40
44
|
] })
|
41
45
|
}
|
42
46
|
)
|
43
47
|
) });
|
44
48
|
};
|
45
49
|
export {
|
46
|
-
|
50
|
+
j as Popin
|
47
51
|
};
|