@clubmed/trident-ui 1.0.0-alpha.49 → 1.0.0-alpha.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/atoms/Icons/Icon.js +11 -6
  3. package/atoms/Icons/hooks/useIcon.d.ts +1 -2
  4. package/fonts/Actions/tui-actions.css +6 -6
  5. package/fonts/Actions/tui-actions.eot +0 -0
  6. package/fonts/Actions/tui-actions.less +6 -6
  7. package/fonts/Actions/tui-actions.module.less +6 -6
  8. package/fonts/Actions/tui-actions.scss +6 -6
  9. package/fonts/Actions/tui-actions.styl +6 -6
  10. package/fonts/Actions/tui-actions.ttf +0 -0
  11. package/fonts/Actions/tui-actions.woff +0 -0
  12. package/fonts/Actions/tui-actions.woff2 +0 -0
  13. package/fonts/Activities/tui-activities.css +6 -6
  14. package/fonts/Activities/tui-activities.eot +0 -0
  15. package/fonts/Activities/tui-activities.less +6 -6
  16. package/fonts/Activities/tui-activities.module.less +6 -6
  17. package/fonts/Activities/tui-activities.scss +6 -6
  18. package/fonts/Activities/tui-activities.styl +6 -6
  19. package/fonts/Activities/tui-activities.ttf +0 -0
  20. package/fonts/Activities/tui-activities.woff +0 -0
  21. package/fonts/Activities/tui-activities.woff2 +0 -0
  22. package/fonts/Brand/tui-brand.css +6 -6
  23. package/fonts/Brand/tui-brand.eot +0 -0
  24. package/fonts/Brand/tui-brand.less +6 -6
  25. package/fonts/Brand/tui-brand.module.less +6 -6
  26. package/fonts/Brand/tui-brand.scss +6 -6
  27. package/fonts/Brand/tui-brand.styl +6 -6
  28. package/fonts/Brand/tui-brand.ttf +0 -0
  29. package/fonts/Brand/tui-brand.woff +0 -0
  30. package/fonts/Brand/tui-brand.woff2 +0 -0
  31. package/fonts/Covid/tui-covid.css +6 -6
  32. package/fonts/Covid/tui-covid.eot +0 -0
  33. package/fonts/Covid/tui-covid.less +6 -6
  34. package/fonts/Covid/tui-covid.module.less +6 -6
  35. package/fonts/Covid/tui-covid.scss +6 -6
  36. package/fonts/Covid/tui-covid.styl +6 -6
  37. package/fonts/Covid/tui-covid.ttf +0 -0
  38. package/fonts/Covid/tui-covid.woff +0 -0
  39. package/fonts/Covid/tui-covid.woff2 +0 -0
  40. package/fonts/Food/tui-food.css +6 -6
  41. package/fonts/Food/tui-food.eot +0 -0
  42. package/fonts/Food/tui-food.less +6 -6
  43. package/fonts/Food/tui-food.module.less +6 -6
  44. package/fonts/Food/tui-food.scss +6 -6
  45. package/fonts/Food/tui-food.styl +6 -6
  46. package/fonts/Food/tui-food.ttf +0 -0
  47. package/fonts/Food/tui-food.woff +0 -0
  48. package/fonts/Food/tui-food.woff2 +0 -0
  49. package/fonts/HappyToCare/tui-happy-to-care.css +6 -6
  50. package/fonts/HappyToCare/tui-happy-to-care.eot +0 -0
  51. package/fonts/HappyToCare/tui-happy-to-care.less +6 -6
  52. package/fonts/HappyToCare/tui-happy-to-care.module.less +6 -6
  53. package/fonts/HappyToCare/tui-happy-to-care.scss +6 -6
  54. package/fonts/HappyToCare/tui-happy-to-care.styl +6 -6
  55. package/fonts/HappyToCare/tui-happy-to-care.ttf +0 -0
  56. package/fonts/HappyToCare/tui-happy-to-care.woff +0 -0
  57. package/fonts/HappyToCare/tui-happy-to-care.woff2 +0 -0
  58. package/fonts/Places/tui-places.css +6 -6
  59. package/fonts/Places/tui-places.eot +0 -0
  60. package/fonts/Places/tui-places.less +6 -6
  61. package/fonts/Places/tui-places.module.less +6 -6
  62. package/fonts/Places/tui-places.scss +6 -6
  63. package/fonts/Places/tui-places.styl +6 -6
  64. package/fonts/Places/tui-places.ttf +0 -0
  65. package/fonts/Places/tui-places.woff +0 -0
  66. package/fonts/Places/tui-places.woff2 +0 -0
  67. package/fonts/Room/tui-room.css +6 -6
  68. package/fonts/Room/tui-room.eot +0 -0
  69. package/fonts/Room/tui-room.less +6 -6
  70. package/fonts/Room/tui-room.module.less +6 -6
  71. package/fonts/Room/tui-room.scss +6 -6
  72. package/fonts/Room/tui-room.styl +6 -6
  73. package/fonts/Room/tui-room.ttf +0 -0
  74. package/fonts/Room/tui-room.woff +0 -0
  75. package/fonts/Room/tui-room.woff2 +0 -0
  76. package/fonts/Services/tui-services.css +6 -6
  77. package/fonts/Services/tui-services.eot +0 -0
  78. package/fonts/Services/tui-services.less +6 -6
  79. package/fonts/Services/tui-services.module.less +6 -6
  80. package/fonts/Services/tui-services.scss +6 -6
  81. package/fonts/Services/tui-services.styl +6 -6
  82. package/fonts/Services/tui-services.ttf +0 -0
  83. package/fonts/Services/tui-services.woff +0 -0
  84. package/fonts/Services/tui-services.woff2 +0 -0
  85. package/fonts/Socials/tui-socials.css +6 -6
  86. package/fonts/Socials/tui-socials.eot +0 -0
  87. package/fonts/Socials/tui-socials.less +6 -6
  88. package/fonts/Socials/tui-socials.module.less +6 -6
  89. package/fonts/Socials/tui-socials.scss +6 -6
  90. package/fonts/Socials/tui-socials.styl +6 -6
  91. package/fonts/Socials/tui-socials.ttf +0 -0
  92. package/fonts/Socials/tui-socials.woff +0 -0
  93. package/fonts/Socials/tui-socials.woff2 +0 -0
  94. package/fonts/Transports/tui-transports.css +6 -6
  95. package/fonts/Transports/tui-transports.eot +0 -0
  96. package/fonts/Transports/tui-transports.less +6 -6
  97. package/fonts/Transports/tui-transports.module.less +6 -6
  98. package/fonts/Transports/tui-transports.scss +6 -6
  99. package/fonts/Transports/tui-transports.styl +6 -6
  100. package/fonts/Transports/tui-transports.ttf +0 -0
  101. package/fonts/Transports/tui-transports.woff +0 -0
  102. package/fonts/Transports/tui-transports.woff2 +0 -0
  103. package/fonts/Utilities/tui-utilities.css +6 -6
  104. package/fonts/Utilities/tui-utilities.eot +0 -0
  105. package/fonts/Utilities/tui-utilities.less +6 -6
  106. package/fonts/Utilities/tui-utilities.module.less +6 -6
  107. package/fonts/Utilities/tui-utilities.scss +6 -6
  108. package/fonts/Utilities/tui-utilities.styl +6 -6
  109. package/fonts/Utilities/tui-utilities.ttf +0 -0
  110. package/fonts/Utilities/tui-utilities.woff +0 -0
  111. package/fonts/Utilities/tui-utilities.woff2 +0 -0
  112. package/molecules/Popin.d.ts +9 -0
  113. package/molecules/Popin.js +47 -0
  114. package/package.json +6 -6
Binary file
@@ -1,11 +1,11 @@
1
1
  @font-face {
2
2
  font-family: "tui-utilities";
3
- src: url('tui-utilities.eot?t=1715762298915'); /* IE9*/
4
- src: url('tui-utilities.eot?t=1715762298915#iefix') format('embedded-opentype'), /* IE6-IE8 */
5
- url("tui-utilities.woff2?t=1715762298915") format("woff2"),
6
- url("tui-utilities.woff?t=1715762298915") format("woff"),
7
- url('tui-utilities.ttf?t=1715762298915') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
8
- url('tui-utilities.svg?t=1715762298915#tui-utilities') format('svg'); /* iOS 4.1- */
3
+ src: url('tui-utilities.eot?t=1716303438268'); /* IE9*/
4
+ src: url('tui-utilities.eot?t=1716303438268#iefix') format('embedded-opentype'), /* IE6-IE8 */
5
+ url("tui-utilities.woff2?t=1716303438268") format("woff2"),
6
+ url("tui-utilities.woff?t=1716303438268") format("woff"),
7
+ url('tui-utilities.ttf?t=1716303438268') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
8
+ url('tui-utilities.svg?t=1716303438268#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=1715762298915'); /* IE9*/
3
- src: url('tui-utilities.eot?t=1715762298915#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
- url("tui-utilities.woff2?t=1715762298915") format("woff2"),
5
- url("tui-utilities.woff?t=1715762298915") format("woff"),
6
- url('tui-utilities.ttf?t=1715762298915') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7
- url('tui-utilities.svg?t=1715762298915#tui-utilities') format('svg'); /* iOS 4.1- */
2
+ src: url('tui-utilities.eot?t=1716303438268'); /* IE9*/
3
+ src: url('tui-utilities.eot?t=1716303438268#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
+ url("tui-utilities.woff2?t=1716303438268") format("woff2"),
5
+ url("tui-utilities.woff?t=1716303438268") format("woff"),
6
+ url('tui-utilities.ttf?t=1716303438268') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7
+ url('tui-utilities.svg?t=1716303438268#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=1715762298915'); /* IE9*/
3
- src: url('tui-utilities.eot?t=1715762298915#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
- url("tui-utilities.woff2?t=1715762298915") format("woff2"),
5
- url("tui-utilities.woff?t=1715762298915") format("woff"),
6
- url('tui-utilities.ttf?t=1715762298915') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7
- url('tui-utilities.svg?t=1715762298915#tui-utilities') format('svg'); /* iOS 4.1- */
2
+ src: url('tui-utilities.eot?t=1716303438268'); /* IE9*/
3
+ src: url('tui-utilities.eot?t=1716303438268#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
+ url("tui-utilities.woff2?t=1716303438268") format("woff2"),
5
+ url("tui-utilities.woff?t=1716303438268") format("woff"),
6
+ url('tui-utilities.ttf?t=1716303438268') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7
+ url('tui-utilities.svg?t=1716303438268#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=1715762298915'); /* IE9*/
3
- src: url('tui-utilities.eot?t=1715762298915#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
- url("tui-utilities.woff2?t=1715762298915") format("woff2"),
5
- url("tui-utilities.woff?t=1715762298915") format("woff"),
6
- url('tui-utilities.ttf?t=1715762298915') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7
- url('tui-utilities.svg?t=1715762298915#tui-utilities') format('svg'); /* iOS 4.1- */
2
+ src: url('tui-utilities.eot?t=1716303438268'); /* IE9*/
3
+ src: url('tui-utilities.eot?t=1716303438268#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
+ url("tui-utilities.woff2?t=1716303438268") format("woff2"),
5
+ url("tui-utilities.woff?t=1716303438268") format("woff"),
6
+ url('tui-utilities.ttf?t=1716303438268') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7
+ url('tui-utilities.svg?t=1716303438268#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=1715762298915'); /* IE9*/
3
- src: url('tui-utilities.eot?t=1715762298915#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
- url("tui-utilities.woff2?t=1715762298915") format("woff2"),
5
- url("tui-utilities.woff?t=1715762298915") format("woff"),
6
- url('tui-utilities.ttf?t=1715762298915') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7
- url('tui-utilities.svg?t=1715762298915#tui-utilities') format('svg'); /* iOS 4.1- */
2
+ src: url('tui-utilities.eot?t=1716303438268'); /* IE9*/
3
+ src: url('tui-utilities.eot?t=1716303438268#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
+ url("tui-utilities.woff2?t=1716303438268") format("woff2"),
5
+ url("tui-utilities.woff?t=1716303438268") format("woff"),
6
+ url('tui-utilities.ttf?t=1716303438268') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7
+ url('tui-utilities.svg?t=1716303438268#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
@@ -0,0 +1,9 @@
1
+ import { FunctionComponent, PropsWithChildren } from 'react';
2
+ interface PopinProps {
3
+ title: string;
4
+ closeLabel: string;
5
+ onClose: () => void;
6
+ isVisible: boolean;
7
+ }
8
+ export declare const Popin: FunctionComponent<PropsWithChildren<PopinProps>>;
9
+ export {};
@@ -0,0 +1,47 @@
1
+ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
+ import { c as m, b as d, d as p } from "../react-spring_web.modern-BPtZcx1z.js";
3
+ import { Backdrop as f } from "./Backdrop.js";
4
+ import { Button as h } from "./Buttons/Button.js";
5
+ const g = ({
6
+ title: o,
7
+ children: c,
8
+ closeLabel: n,
9
+ onClose: a,
10
+ isVisible: t
11
+ }) => {
12
+ const i = m(t, {
13
+ from: { scale: 0.3, opacity: 0.3 },
14
+ enter: { scale: 1, opacity: 1 },
15
+ leave: { scale: 0, opacity: 0 },
16
+ config: t ? { tension: 120, friction: 20 } : p.gentle
17
+ });
18
+ return /* @__PURE__ */ e(f, { isVisible: t, onClose: a, children: i(
19
+ (s, l) => l && /* @__PURE__ */ e(
20
+ d.div,
21
+ {
22
+ className: "border-lightGrey rounded-16 sm:w-360 pointer-events-auto mx-20 w-full border bg-white",
23
+ style: s,
24
+ children: /* @__PURE__ */ r("div", { className: "space-y-40 p-40 text-center", children: [
25
+ /* @__PURE__ */ r("div", { className: "space-y-12 text-start", children: [
26
+ /* @__PURE__ */ e("div", { className: "text-h5 font-serif", children: o }),
27
+ c
28
+ ] }),
29
+ /* @__PURE__ */ e(
30
+ h,
31
+ {
32
+ theme: "black",
33
+ variant: "icon",
34
+ icon: "CrossDefault",
35
+ className: "mx-auto",
36
+ label: n,
37
+ onClick: a
38
+ }
39
+ )
40
+ ] })
41
+ }
42
+ )
43
+ ) });
44
+ };
45
+ export {
46
+ g as Popin
47
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clubmed/trident-ui",
3
- "version": "1.0.0-alpha.49",
3
+ "version": "1.0.0-alpha.51",
4
4
  "type": "module",
5
5
  "description": "Shared ClubMed React UI components",
6
6
  "keywords": [
@@ -56,16 +56,16 @@
56
56
  "import": "./molecules/Forms/Checkboxes/index.js",
57
57
  "default": "./molecules/Forms/Checkboxes/index.js"
58
58
  },
59
- "./molecules/Forms/Radios": {
60
- "types": "./molecules/Forms/Radios/index.d.ts",
61
- "import": "./molecules/Forms/Radios/index.js",
62
- "default": "./molecules/Forms/Radios/index.js"
63
- },
64
59
  "./molecules/Forms/Password": {
65
60
  "types": "./molecules/Forms/Password/index.d.ts",
66
61
  "import": "./molecules/Forms/Password/index.js",
67
62
  "default": "./molecules/Forms/Password/index.js"
68
63
  },
64
+ "./molecules/Forms/Radios": {
65
+ "types": "./molecules/Forms/Radios/index.d.ts",
66
+ "import": "./molecules/Forms/Radios/index.js",
67
+ "default": "./molecules/Forms/Radios/index.js"
68
+ },
69
69
  "./fonts/*": "./fonts/*",
70
70
  "./atoms/*": {
71
71
  "types": "./atoms/*.d.ts",