@xyo-network/react-card 2.81.10 → 2.83.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. package/dist/browser/index.d.ts +52 -2
  2. package/dist/browser/index.mjs +278 -0
  3. package/dist/browser/index.mjs.map +1 -0
  4. package/package.json +14 -30
  5. package/src/components/CardContentEx.stories.tsx +8 -7
  6. package/src/components/CardContentEx.tsx +1 -1
  7. package/src/components/CardEx.tsx +7 -5
  8. package/src/components/FullWidthCard/FullWidthCard.stories.tsx +3 -3
  9. package/src/components/FullWidthCard/FullWidthCard.tsx +41 -32
  10. package/src/components/FullWidthCard/index.ts +1 -1
  11. package/src/components/PageCard.stories.tsx +6 -5
  12. package/src/components/PageCard.tsx +11 -9
  13. package/src/components/SimpleCard/SimpleCard.stories.tsx +4 -4
  14. package/src/components/SimpleCard/SimpleCard.tsx +65 -53
  15. package/src/components/SimpleCard/index.ts +1 -1
  16. package/src/components/SimpleCardGrid/SimpleCardGrid.stories.tsx +4 -4
  17. package/src/components/SimpleCardGrid/SimpleCardGrid.tsx +2 -1
  18. package/src/components/SimpleCardGrid/index.ts +1 -1
  19. package/src/components/index.ts +5 -5
  20. package/src/index.ts +1 -1
  21. package/xy.config.ts +12 -0
  22. package/dist/browser/components/CardContentEx.d.cts +0 -10
  23. package/dist/browser/components/CardContentEx.d.cts.map +0 -1
  24. package/dist/browser/components/CardContentEx.d.mts +0 -10
  25. package/dist/browser/components/CardContentEx.d.mts.map +0 -1
  26. package/dist/browser/components/CardContentEx.d.ts +0 -10
  27. package/dist/browser/components/CardContentEx.d.ts.map +0 -1
  28. package/dist/browser/components/CardEx.d.cts +0 -7
  29. package/dist/browser/components/CardEx.d.cts.map +0 -1
  30. package/dist/browser/components/CardEx.d.mts +0 -7
  31. package/dist/browser/components/CardEx.d.mts.map +0 -1
  32. package/dist/browser/components/CardEx.d.ts +0 -7
  33. package/dist/browser/components/CardEx.d.ts.map +0 -1
  34. package/dist/browser/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  35. package/dist/browser/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  36. package/dist/browser/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  37. package/dist/browser/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  38. package/dist/browser/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  39. package/dist/browser/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  40. package/dist/browser/components/FullWidthCard/index.d.cts +0 -2
  41. package/dist/browser/components/FullWidthCard/index.d.cts.map +0 -1
  42. package/dist/browser/components/FullWidthCard/index.d.mts +0 -2
  43. package/dist/browser/components/FullWidthCard/index.d.mts.map +0 -1
  44. package/dist/browser/components/FullWidthCard/index.d.ts +0 -2
  45. package/dist/browser/components/FullWidthCard/index.d.ts.map +0 -1
  46. package/dist/browser/components/PageCard.d.cts +0 -10
  47. package/dist/browser/components/PageCard.d.cts.map +0 -1
  48. package/dist/browser/components/PageCard.d.mts +0 -10
  49. package/dist/browser/components/PageCard.d.mts.map +0 -1
  50. package/dist/browser/components/PageCard.d.ts +0 -10
  51. package/dist/browser/components/PageCard.d.ts.map +0 -1
  52. package/dist/browser/components/SimpleCard/SimpleCard.d.cts +0 -16
  53. package/dist/browser/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  54. package/dist/browser/components/SimpleCard/SimpleCard.d.mts +0 -16
  55. package/dist/browser/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  56. package/dist/browser/components/SimpleCard/SimpleCard.d.ts +0 -16
  57. package/dist/browser/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  58. package/dist/browser/components/SimpleCard/index.d.cts +0 -2
  59. package/dist/browser/components/SimpleCard/index.d.cts.map +0 -1
  60. package/dist/browser/components/SimpleCard/index.d.mts +0 -2
  61. package/dist/browser/components/SimpleCard/index.d.mts.map +0 -1
  62. package/dist/browser/components/SimpleCard/index.d.ts +0 -2
  63. package/dist/browser/components/SimpleCard/index.d.ts.map +0 -1
  64. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -7
  65. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  66. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -7
  67. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  68. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -7
  69. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  70. package/dist/browser/components/SimpleCardGrid/index.d.cts +0 -2
  71. package/dist/browser/components/SimpleCardGrid/index.d.cts.map +0 -1
  72. package/dist/browser/components/SimpleCardGrid/index.d.mts +0 -2
  73. package/dist/browser/components/SimpleCardGrid/index.d.mts.map +0 -1
  74. package/dist/browser/components/SimpleCardGrid/index.d.ts +0 -2
  75. package/dist/browser/components/SimpleCardGrid/index.d.ts.map +0 -1
  76. package/dist/browser/components/index.d.cts +0 -6
  77. package/dist/browser/components/index.d.cts.map +0 -1
  78. package/dist/browser/components/index.d.mts +0 -6
  79. package/dist/browser/components/index.d.mts.map +0 -1
  80. package/dist/browser/components/index.d.ts +0 -6
  81. package/dist/browser/components/index.d.ts.map +0 -1
  82. package/dist/browser/index.cjs +0 -248
  83. package/dist/browser/index.cjs.map +0 -1
  84. package/dist/browser/index.d.cts +0 -2
  85. package/dist/browser/index.d.cts.map +0 -1
  86. package/dist/browser/index.d.mts +0 -2
  87. package/dist/browser/index.d.mts.map +0 -1
  88. package/dist/browser/index.d.ts.map +0 -1
  89. package/dist/browser/index.js +0 -225
  90. package/dist/browser/index.js.map +0 -1
  91. package/dist/neutral/components/CardContentEx.d.cts +0 -10
  92. package/dist/neutral/components/CardContentEx.d.cts.map +0 -1
  93. package/dist/neutral/components/CardContentEx.d.mts +0 -10
  94. package/dist/neutral/components/CardContentEx.d.mts.map +0 -1
  95. package/dist/neutral/components/CardContentEx.d.ts +0 -10
  96. package/dist/neutral/components/CardContentEx.d.ts.map +0 -1
  97. package/dist/neutral/components/CardEx.d.cts +0 -7
  98. package/dist/neutral/components/CardEx.d.cts.map +0 -1
  99. package/dist/neutral/components/CardEx.d.mts +0 -7
  100. package/dist/neutral/components/CardEx.d.mts.map +0 -1
  101. package/dist/neutral/components/CardEx.d.ts +0 -7
  102. package/dist/neutral/components/CardEx.d.ts.map +0 -1
  103. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  104. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  105. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  106. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  107. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  108. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  109. package/dist/neutral/components/FullWidthCard/index.d.cts +0 -2
  110. package/dist/neutral/components/FullWidthCard/index.d.cts.map +0 -1
  111. package/dist/neutral/components/FullWidthCard/index.d.mts +0 -2
  112. package/dist/neutral/components/FullWidthCard/index.d.mts.map +0 -1
  113. package/dist/neutral/components/FullWidthCard/index.d.ts +0 -2
  114. package/dist/neutral/components/FullWidthCard/index.d.ts.map +0 -1
  115. package/dist/neutral/components/PageCard.d.cts +0 -10
  116. package/dist/neutral/components/PageCard.d.cts.map +0 -1
  117. package/dist/neutral/components/PageCard.d.mts +0 -10
  118. package/dist/neutral/components/PageCard.d.mts.map +0 -1
  119. package/dist/neutral/components/PageCard.d.ts +0 -10
  120. package/dist/neutral/components/PageCard.d.ts.map +0 -1
  121. package/dist/neutral/components/SimpleCard/SimpleCard.d.cts +0 -16
  122. package/dist/neutral/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  123. package/dist/neutral/components/SimpleCard/SimpleCard.d.mts +0 -16
  124. package/dist/neutral/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  125. package/dist/neutral/components/SimpleCard/SimpleCard.d.ts +0 -16
  126. package/dist/neutral/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  127. package/dist/neutral/components/SimpleCard/index.d.cts +0 -2
  128. package/dist/neutral/components/SimpleCard/index.d.cts.map +0 -1
  129. package/dist/neutral/components/SimpleCard/index.d.mts +0 -2
  130. package/dist/neutral/components/SimpleCard/index.d.mts.map +0 -1
  131. package/dist/neutral/components/SimpleCard/index.d.ts +0 -2
  132. package/dist/neutral/components/SimpleCard/index.d.ts.map +0 -1
  133. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -7
  134. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  135. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -7
  136. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  137. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -7
  138. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  139. package/dist/neutral/components/SimpleCardGrid/index.d.cts +0 -2
  140. package/dist/neutral/components/SimpleCardGrid/index.d.cts.map +0 -1
  141. package/dist/neutral/components/SimpleCardGrid/index.d.mts +0 -2
  142. package/dist/neutral/components/SimpleCardGrid/index.d.mts.map +0 -1
  143. package/dist/neutral/components/SimpleCardGrid/index.d.ts +0 -2
  144. package/dist/neutral/components/SimpleCardGrid/index.d.ts.map +0 -1
  145. package/dist/neutral/components/index.d.cts +0 -6
  146. package/dist/neutral/components/index.d.cts.map +0 -1
  147. package/dist/neutral/components/index.d.mts +0 -6
  148. package/dist/neutral/components/index.d.mts.map +0 -1
  149. package/dist/neutral/components/index.d.ts +0 -6
  150. package/dist/neutral/components/index.d.ts.map +0 -1
  151. package/dist/neutral/index.cjs +0 -248
  152. package/dist/neutral/index.cjs.map +0 -1
  153. package/dist/neutral/index.d.cts +0 -2
  154. package/dist/neutral/index.d.cts.map +0 -1
  155. package/dist/neutral/index.d.mts +0 -2
  156. package/dist/neutral/index.d.mts.map +0 -1
  157. package/dist/neutral/index.d.ts +0 -2
  158. package/dist/neutral/index.d.ts.map +0 -1
  159. package/dist/neutral/index.js +0 -225
  160. package/dist/neutral/index.js.map +0 -1
  161. package/dist/node/components/CardContentEx.d.cts +0 -10
  162. package/dist/node/components/CardContentEx.d.cts.map +0 -1
  163. package/dist/node/components/CardContentEx.d.mts +0 -10
  164. package/dist/node/components/CardContentEx.d.mts.map +0 -1
  165. package/dist/node/components/CardContentEx.d.ts +0 -10
  166. package/dist/node/components/CardContentEx.d.ts.map +0 -1
  167. package/dist/node/components/CardEx.d.cts +0 -7
  168. package/dist/node/components/CardEx.d.cts.map +0 -1
  169. package/dist/node/components/CardEx.d.mts +0 -7
  170. package/dist/node/components/CardEx.d.mts.map +0 -1
  171. package/dist/node/components/CardEx.d.ts +0 -7
  172. package/dist/node/components/CardEx.d.ts.map +0 -1
  173. package/dist/node/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  174. package/dist/node/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  175. package/dist/node/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  176. package/dist/node/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  177. package/dist/node/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  178. package/dist/node/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  179. package/dist/node/components/FullWidthCard/index.d.cts +0 -2
  180. package/dist/node/components/FullWidthCard/index.d.cts.map +0 -1
  181. package/dist/node/components/FullWidthCard/index.d.mts +0 -2
  182. package/dist/node/components/FullWidthCard/index.d.mts.map +0 -1
  183. package/dist/node/components/FullWidthCard/index.d.ts +0 -2
  184. package/dist/node/components/FullWidthCard/index.d.ts.map +0 -1
  185. package/dist/node/components/PageCard.d.cts +0 -10
  186. package/dist/node/components/PageCard.d.cts.map +0 -1
  187. package/dist/node/components/PageCard.d.mts +0 -10
  188. package/dist/node/components/PageCard.d.mts.map +0 -1
  189. package/dist/node/components/PageCard.d.ts +0 -10
  190. package/dist/node/components/PageCard.d.ts.map +0 -1
  191. package/dist/node/components/SimpleCard/SimpleCard.d.cts +0 -16
  192. package/dist/node/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  193. package/dist/node/components/SimpleCard/SimpleCard.d.mts +0 -16
  194. package/dist/node/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  195. package/dist/node/components/SimpleCard/SimpleCard.d.ts +0 -16
  196. package/dist/node/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  197. package/dist/node/components/SimpleCard/index.d.cts +0 -2
  198. package/dist/node/components/SimpleCard/index.d.cts.map +0 -1
  199. package/dist/node/components/SimpleCard/index.d.mts +0 -2
  200. package/dist/node/components/SimpleCard/index.d.mts.map +0 -1
  201. package/dist/node/components/SimpleCard/index.d.ts +0 -2
  202. package/dist/node/components/SimpleCard/index.d.ts.map +0 -1
  203. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -7
  204. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  205. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -7
  206. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  207. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -7
  208. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  209. package/dist/node/components/SimpleCardGrid/index.d.cts +0 -2
  210. package/dist/node/components/SimpleCardGrid/index.d.cts.map +0 -1
  211. package/dist/node/components/SimpleCardGrid/index.d.mts +0 -2
  212. package/dist/node/components/SimpleCardGrid/index.d.mts.map +0 -1
  213. package/dist/node/components/SimpleCardGrid/index.d.ts +0 -2
  214. package/dist/node/components/SimpleCardGrid/index.d.ts.map +0 -1
  215. package/dist/node/components/index.d.cts +0 -6
  216. package/dist/node/components/index.d.cts.map +0 -1
  217. package/dist/node/components/index.d.mts +0 -6
  218. package/dist/node/components/index.d.mts.map +0 -1
  219. package/dist/node/components/index.d.ts +0 -6
  220. package/dist/node/components/index.d.ts.map +0 -1
  221. package/dist/node/index.cjs +0 -259
  222. package/dist/node/index.cjs.map +0 -1
  223. package/dist/node/index.d.cts +0 -2
  224. package/dist/node/index.d.cts.map +0 -1
  225. package/dist/node/index.d.mts +0 -2
  226. package/dist/node/index.d.mts.map +0 -1
  227. package/dist/node/index.d.ts +0 -2
  228. package/dist/node/index.d.ts.map +0 -1
  229. package/dist/node/index.js +0 -226
  230. package/dist/node/index.js.map +0 -1
@@ -1,2 +0,0 @@
1
- export * from './FullWidthCard.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.js';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: import("react").ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
- //# sourceMappingURL=PageCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,EAAU,WAAW,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AA+BD,eAAO,MAAM,QAAQ,uHAAkB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.js';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: import("react").ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
- //# sourceMappingURL=PageCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,EAAU,WAAW,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AA+BD,eAAO,MAAM,QAAQ,uHAAkB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.js';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: import("react").ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
- //# sourceMappingURL=PageCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,EAAU,WAAW,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AA+BD,eAAO,MAAM,QAAQ,uHAAkB,CAAA"}
@@ -1,16 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { To } from 'react-router-dom';
3
- import { CardExProps } from '../CardEx.js';
4
- export interface SimpleCardProps extends CardExProps {
5
- desc?: ReactNode;
6
- headline?: ReactNode;
7
- href?: string;
8
- iconImage?: string;
9
- interactionVariant?: 'button' | 'card';
10
- media?: string;
11
- small?: boolean;
12
- subtitle?: string;
13
- to?: To;
14
- }
15
- export declare const SimpleCard: React.FC<SimpleCardProps>;
16
- //# sourceMappingURL=SimpleCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkGhD,CAAA"}
@@ -1,16 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { To } from 'react-router-dom';
3
- import { CardExProps } from '../CardEx.js';
4
- export interface SimpleCardProps extends CardExProps {
5
- desc?: ReactNode;
6
- headline?: ReactNode;
7
- href?: string;
8
- iconImage?: string;
9
- interactionVariant?: 'button' | 'card';
10
- media?: string;
11
- small?: boolean;
12
- subtitle?: string;
13
- to?: To;
14
- }
15
- export declare const SimpleCard: React.FC<SimpleCardProps>;
16
- //# sourceMappingURL=SimpleCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkGhD,CAAA"}
@@ -1,16 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { To } from 'react-router-dom';
3
- import { CardExProps } from '../CardEx.js';
4
- export interface SimpleCardProps extends CardExProps {
5
- desc?: ReactNode;
6
- headline?: ReactNode;
7
- href?: string;
8
- iconImage?: string;
9
- interactionVariant?: 'button' | 'card';
10
- media?: string;
11
- small?: boolean;
12
- subtitle?: string;
13
- to?: To;
14
- }
15
- export declare const SimpleCard: React.FC<SimpleCardProps>;
16
- //# sourceMappingURL=SimpleCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkGhD,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './SimpleCard.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './SimpleCard.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './SimpleCard.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -1,7 +0,0 @@
1
- import { GridProps } from '@mui/material';
2
- import { SimpleCardProps } from '../SimpleCard/index.js';
3
- export interface SimpleCardGridProps extends GridProps {
4
- cards?: SimpleCardProps[];
5
- }
6
- export declare const SimpleCardGrid: React.FC<SimpleCardGridProps>;
7
- //# sourceMappingURL=SimpleCardGrid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCardGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/SimpleCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAc,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,KAAK,CAAC,EAAE,eAAe,EAAE,CAAA;CAC1B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { GridProps } from '@mui/material';
2
- import { SimpleCardProps } from '../SimpleCard/index.js';
3
- export interface SimpleCardGridProps extends GridProps {
4
- cards?: SimpleCardProps[];
5
- }
6
- export declare const SimpleCardGrid: React.FC<SimpleCardGridProps>;
7
- //# sourceMappingURL=SimpleCardGrid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCardGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/SimpleCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAc,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,KAAK,CAAC,EAAE,eAAe,EAAE,CAAA;CAC1B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { GridProps } from '@mui/material';
2
- import { SimpleCardProps } from '../SimpleCard/index.js';
3
- export interface SimpleCardGridProps extends GridProps {
4
- cards?: SimpleCardProps[];
5
- }
6
- export declare const SimpleCardGrid: React.FC<SimpleCardGridProps>;
7
- //# sourceMappingURL=SimpleCardGrid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCardGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/SimpleCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAc,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,KAAK,CAAC,EAAE,eAAe,EAAE,CAAA;CAC1B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './SimpleCardGrid.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './SimpleCardGrid.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './SimpleCardGrid.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './CardContentEx.js';
2
- export * from './CardEx.js';
3
- export * from './FullWidthCard/index.js';
4
- export * from './PageCard.js';
5
- export * from './SimpleCard/index.js';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './CardContentEx.js';
2
- export * from './CardEx.js';
3
- export * from './FullWidthCard/index.js';
4
- export * from './PageCard.js';
5
- export * from './SimpleCard/index.js';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './CardContentEx.js';
2
- export * from './CardEx.js';
3
- export * from './FullWidthCard/index.js';
4
- export * from './PageCard.js';
5
- export * from './SimpleCard/index.js';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA"}
@@ -1,248 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- CardContentEx: () => CardContentEx,
24
- CardContentExWithRef: () => CardContentExWithRef,
25
- CardEx: () => CardEx,
26
- CardExWithRef: () => CardExWithRef,
27
- FullWidthCard: () => FullWidthCard,
28
- PageCard: () => PageCard,
29
- SimpleCard: () => SimpleCard
30
- });
31
- module.exports = __toCommonJS(src_exports);
32
-
33
- // src/components/CardContentEx.tsx
34
- var import_material = require("@mui/material");
35
- var import_react_shared = require("@xyo-network/react-shared");
36
- var import_react = require("react");
37
- var import_jsx_runtime = require("react/jsx-runtime");
38
- var CardContentExRoot = (0, import_material.styled)(import_material.CardContent, {
39
- name: "CardContentEx",
40
- shouldForwardProp: (prop) => !["variant", "removePadding"].includes(prop),
41
- slot: "Root"
42
- })(({ variant, removePadding }) => ({
43
- ...(variant === "scrollable" || removePadding) && {
44
- [":last-child"]: {
45
- paddingBottom: 0
46
- },
47
- overflow: "auto",
48
- paddingTop: 0,
49
- ...removePadding && { padding: 0 }
50
- }
51
- }));
52
- var CardContentExWithRef = (0, import_react.forwardRef)(({ scrollToTop = 0, refreshRef = 0, ...props }, ref) => {
53
- const sharedRef = (0, import_react_shared.useShareForwardedRef)(ref, refreshRef);
54
- (0, import_react.useEffect)(() => {
55
- if (sharedRef && scrollToTop) {
56
- sharedRef.current?.scroll({ behavior: "smooth", top: 0 });
57
- }
58
- }, [sharedRef, scrollToTop]);
59
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardContentExRoot, { ref: sharedRef, ...props });
60
- });
61
- CardContentExWithRef.displayName = "CardContentEx";
62
- var CardContentEx = CardContentExWithRef;
63
-
64
- // src/components/CardEx.tsx
65
- var import_material2 = require("@mui/material");
66
- var import_react_shared2 = require("@xyo-network/react-shared");
67
- var import_react2 = require("react");
68
- var import_jsx_runtime2 = require("react/jsx-runtime");
69
- var CardExWithRef = (0, import_react2.forwardRef)(({ style, gradient, ...props }, ref) => {
70
- const { styles } = (0, import_react_shared2.useGradientStyles)();
71
- const gradientStyle = gradient === "border" ? styles.border : gradient === "background" ? styles.background : {};
72
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
73
- import_material2.Card,
74
- {
75
- style: {
76
- ...gradientStyle,
77
- ...style
78
- },
79
- ref,
80
- ...props
81
- }
82
- );
83
- });
84
- CardExWithRef.displayName = "CardEx";
85
- var CardEx = CardExWithRef;
86
-
87
- // src/components/FullWidthCard/FullWidthCard.tsx
88
- var import_icons_material = require("@mui/icons-material");
89
- var import_material3 = require("@mui/material");
90
- var import_react_flexbox = require("@xylabs/react-flexbox");
91
- var import_react_shared3 = require("@xyo-network/react-shared");
92
- var import_react3 = require("react");
93
- var import_react_router_dom = require("react-router-dom");
94
- var import_jsx_runtime3 = require("react/jsx-runtime");
95
- var FullWidthCard = ({ cardIsButton, desc, href, media, name, small, to, ...props }) => {
96
- const theme = (0, import_material3.useTheme)();
97
- const [raised, setRaised] = (0, import_react3.useState)(false);
98
- const navigate = (0, import_react_router_dom.useNavigate)();
99
- const isMobile = (0, import_react_shared3.useIsMobile)();
100
- const localRouteChange = (to2) => {
101
- to2 ? navigate(to2) : navigate("/404");
102
- };
103
- const externalRouteChange = (href2) => {
104
- href2 ? window.open(href2) : navigate("/404");
105
- };
106
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
107
- import_material3.Card,
108
- {
109
- elevation: raised ? 3 : 0,
110
- style: { height: "100%", width: "100%" },
111
- ...props,
112
- sx: {
113
- "&:hover": {
114
- cursor: "pointer"
115
- },
116
- backgroundColor: (0, import_material3.alpha)(theme.palette.primary.light, 0.05)
117
- },
118
- onMouseEnter: () => isMobile ? null : cardIsButton ? setRaised(true) : null,
119
- onMouseLeave: () => isMobile ? null : cardIsButton ? setRaised(false) : null,
120
- onClick: () => cardIsButton ? href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404") : null,
121
- children: [
122
- media ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.CardMedia, { component: "img", height: "100", image: media, alt: "" }) : null,
123
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.CardContent, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_material3.Grid, { container: true, alignItems: "center", paddingY: 2, paddingX: 2, children: [
124
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Grid, { item: true, xs: 12, md: 6, children: typeof name === "string" ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Typography, { fontWeight: 700, variant: "h2", textAlign: "left", paddingBottom: 1, children: name }) : name }),
125
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Grid, { item: true, xs: 12, md: 5, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Typography, { variant: "body1", fontWeight: 400, textAlign: "left", children: desc }) }),
126
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Grid, { item: true, xs: 1, display: isMobile ? "none" : "flex", justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Zoom, { in: raised, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
127
- import_material3.IconButton,
128
- {
129
- color: "primary",
130
- size: small ? "small" : "medium",
131
- onClick: () => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"),
132
- disableFocusRipple: true,
133
- disableRipple: true,
134
- disableTouchRipple: true,
135
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_icons_material.ArrowForwardRounded, { fontSize: small ? "small" : "medium" })
136
- }
137
- ) }) })
138
- ] }) }),
139
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.CardActions, { sx: { display: { md: isMobile ? "flex" : "none" } }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_flexbox.FlexGrowCol, { alignItems: "flex-end", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
140
- import_material3.IconButton,
141
- {
142
- color: "primary",
143
- size: small ? "small" : "medium",
144
- onClick: () => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"),
145
- disableFocusRipple: true,
146
- disableRipple: true,
147
- disableTouchRipple: true,
148
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_icons_material.ArrowForwardRounded, { fontSize: small ? "small" : "medium" })
149
- }
150
- ) }) })
151
- ]
152
- }
153
- );
154
- };
155
-
156
- // src/components/PageCard.tsx
157
- var import_icons_material2 = require("@mui/icons-material");
158
- var import_material4 = require("@mui/material");
159
- var import_react_shared4 = require("@xyo-network/react-shared");
160
- var import_react4 = require("react");
161
- var import_jsx_runtime4 = require("react/jsx-runtime");
162
- var PageCardWithRef = (0, import_react4.forwardRef)(({ subheader, title, onRefresh, children, action, style, ...props }, ref) => {
163
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(CardEx, { style: { backgroundColor: "transparent", position: "relative", ...style }, elevation: 0, ref, ...props, children: [
164
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
165
- import_material4.CardHeader,
166
- {
167
- title: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_shared4.TypographyEx, { variant: "h5", gutterBottom: true, children: title }),
168
- subheader: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_shared4.TypographyEx, { variant: "subtitle1", children: subheader }),
169
- action: action ?? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: onRefresh ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material4.IconButton, { onClick: () => onRefresh?.(), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_icons_material2.Refresh, {}) }) : null })
170
- }
171
- ),
172
- children
173
- ] });
174
- });
175
- PageCardWithRef.displayName = "PageCard";
176
- var PageCard = PageCardWithRef;
177
-
178
- // src/components/SimpleCard/SimpleCard.tsx
179
- var import_icons_material3 = require("@mui/icons-material");
180
- var import_material5 = require("@mui/material");
181
- var import_react_flexbox2 = require("@xylabs/react-flexbox");
182
- var import_react_shared5 = require("@xyo-network/react-shared");
183
- var import_react5 = require("react");
184
- var import_react_router_dom2 = require("react-router-dom");
185
- var import_jsx_runtime5 = require("react/jsx-runtime");
186
- var SimpleCard = ({
187
- desc,
188
- iconImage,
189
- interactionVariant = "card",
190
- headline,
191
- href,
192
- media,
193
- small,
194
- subtitle,
195
- sx,
196
- to,
197
- ...props
198
- }) => {
199
- const theme = (0, import_material5.useTheme)();
200
- const [raised, setRaised] = (0, import_react5.useState)(false);
201
- const navigate = (0, import_react_router_dom2.useNavigate)();
202
- const isMobile = (0, import_react_shared5.useIsMobile)();
203
- const localRouteChange = (to2) => {
204
- to2 ? navigate(to2) : navigate("/404");
205
- };
206
- const externalRouteChange = (href2) => {
207
- href2 ? window.open(href2) : navigate("/404");
208
- };
209
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
210
- CardEx,
211
- {
212
- elevation: raised ? 3 : 0,
213
- sx: {
214
- "&:hover": {
215
- cursor: interactionVariant == "button" ? "pointer" : null
216
- },
217
- backgroundColor: (0, import_material5.alpha)(theme.palette.primary.light, 0.05),
218
- ...sx
219
- },
220
- onMouseEnter: () => isMobile ? null : interactionVariant == "button" ? setRaised(true) : null,
221
- onMouseLeave: () => isMobile ? null : interactionVariant == "button" ? setRaised(false) : null,
222
- onClick: () => interactionVariant == "button" ? href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404") : null,
223
- ...props,
224
- children: [
225
- media ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material5.CardMedia, { component: "img", height: "100", image: media, alt: "" }) : null,
226
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material5.CardContent, { sx: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_react_flexbox2.FlexCol, { width: "100%", alignItems: "flex-start", children: [
227
- iconImage ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src: iconImage, height: "40px", style: { paddingBottom: "8px" } }) : null,
228
- typeof headline === "string" ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material5.Typography, { variant: small ? "body1" : "h6", textAlign: "left", gutterBottom: true, children: headline }) : headline,
229
- subtitle ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material5.Typography, { variant: "subtitle2", textAlign: "left", gutterBottom: true, children: subtitle }) : null,
230
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material5.Typography, { variant: small ? "caption" : "body1", textAlign: "left", gutterBottom: true, children: desc })
231
- ] }) }),
232
- interactionVariant == "button" ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material5.CardActions, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_flexbox2.FlexGrowCol, { alignItems: "flex-end", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
233
- import_material5.IconButton,
234
- {
235
- color: raised ? "secondary" : "primary",
236
- size: small ? "small" : "medium",
237
- onClick: () => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"),
238
- disableFocusRipple: true,
239
- disableRipple: true,
240
- disableTouchRipple: true,
241
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_icons_material3.ArrowForwardRounded, { fontSize: small ? "small" : "medium" })
242
- }
243
- ) }) }) : null
244
- ]
245
- }
246
- );
247
- };
248
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/components/CardContentEx.tsx","../../src/components/CardEx.tsx","../../src/components/FullWidthCard/FullWidthCard.tsx","../../src/components/PageCard.tsx","../../src/components/SimpleCard/SimpleCard.tsx"],"sourcesContent":["export * from './components/index.js'\n","import { CardContent, CardContentProps, styled } from '@mui/material'\nimport { useShareForwardedRef } from '@xyo-network/react-shared'\nimport { forwardRef, useEffect } from 'react'\n\nconst CardContentExRoot = styled(CardContent, {\n name: 'CardContentEx',\n shouldForwardProp: (prop: string) => !['variant', 'removePadding'].includes(prop),\n slot: 'Root',\n})<CardContentExProps>(({ variant, removePadding }) => ({\n ...((variant === 'scrollable' || removePadding) && {\n [':last-child']: {\n paddingBottom: 0,\n },\n overflow: 'auto',\n paddingTop: 0,\n ...(removePadding && { padding: 0 }),\n }),\n}))\n\nexport type CardContentExProps = CardContentProps & {\n refreshRef?: number\n removePadding?: boolean\n scrollToTop?: number\n variant?: 'scrollable' | 'normal'\n}\n\nexport const CardContentExWithRef = forwardRef<HTMLDivElement | null, CardContentExProps>(({ scrollToTop = 0, refreshRef = 0, ...props }, ref) => {\n const sharedRef = useShareForwardedRef<HTMLDivElement>(ref, refreshRef)\n\n useEffect(() => {\n if (sharedRef && scrollToTop) {\n sharedRef.current?.scroll({ behavior: 'smooth', top: 0 })\n }\n }, [sharedRef, scrollToTop])\n\n return <CardContentExRoot ref={sharedRef} {...props} />\n})\n\nCardContentExWithRef.displayName = 'CardContentEx'\n\nexport const CardContentEx = CardContentExWithRef\n","import { Card, CardProps } from '@mui/material'\nimport { useGradientStyles } from '@xyo-network/react-shared'\nimport { forwardRef } from 'react'\n\nexport interface CardExProps extends CardProps {\n gradient?: 'border' | 'background'\n}\n\nexport const CardExWithRef = forwardRef<HTMLDivElement, CardExProps>(({ style, gradient, ...props }, ref) => {\n const { styles } = useGradientStyles()\n const gradientStyle =\n gradient === 'border' ? styles.border\n : gradient === 'background' ? styles.background\n : {}\n return (\n <Card\n style={{\n ...gradientStyle,\n ...style,\n }}\n ref={ref}\n {...props}\n />\n )\n})\n\nCardExWithRef.displayName = 'CardEx'\n\nexport const CardEx = CardExWithRef\n","import { ArrowForwardRounded as ArrowForwardRoundedIcon } from '@mui/icons-material'\nimport { alpha, Card, CardActions, CardContent, CardMedia, CardProps, Grid, IconButton, Typography, useTheme, Zoom } from '@mui/material'\nimport { FlexGrowCol } from '@xylabs/react-flexbox'\nimport { useIsMobile } from '@xyo-network/react-shared'\nimport { ReactNode, useState } from 'react'\nimport { To, useNavigate } from 'react-router-dom'\n\nexport interface FullWidthCardProps extends CardProps {\n cardIsButton?: boolean\n desc?: ReactNode\n href?: string\n linkText?: string\n media?: string\n name: ReactNode\n small?: boolean\n to?: To\n}\n\nexport const FullWidthCard: React.FC<FullWidthCardProps> = ({ cardIsButton, desc, href, media, name, small, to, ...props }) => {\n const theme = useTheme()\n const [raised, setRaised] = useState(false)\n const navigate = useNavigate()\n const isMobile = useIsMobile()\n\n const localRouteChange = (to: To | undefined) => {\n to ? navigate(to) : navigate('/404')\n }\n const externalRouteChange = (href: string | undefined) => {\n href ? window.open(href) : navigate('/404')\n }\n\n return (\n <Card\n elevation={raised ? 3 : 0}\n style={{ height: '100%', width: '100%' }}\n {...props}\n sx={{\n '&:hover': {\n cursor: 'pointer',\n },\n backgroundColor: alpha(theme.palette.primary.light, 0.05),\n }}\n onMouseEnter={() =>\n isMobile ? null\n : cardIsButton ? setRaised(true)\n : null\n }\n onMouseLeave={() =>\n isMobile ? null\n : cardIsButton ? setRaised(false)\n : null\n }\n onClick={() =>\n cardIsButton ?\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n : null\n }\n >\n {media ?\n <CardMedia component=\"img\" height=\"100\" image={media} alt=\"\" />\n : null}\n\n <CardContent>\n <Grid container alignItems=\"center\" paddingY={2} paddingX={2}>\n <Grid item xs={12} md={6}>\n {typeof name === 'string' ?\n <Typography fontWeight={700} variant=\"h2\" textAlign=\"left\" paddingBottom={1}>\n {name}\n </Typography>\n : name}\n </Grid>\n <Grid item xs={12} md={5}>\n <Typography variant=\"body1\" fontWeight={400} textAlign=\"left\">\n {desc}\n </Typography>\n </Grid>\n <Grid item xs={1} display={isMobile ? 'none' : 'flex'} justifyContent=\"center\">\n <Zoom in={raised}>\n <IconButton\n color=\"primary\"\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n }\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </Zoom>\n </Grid>\n </Grid>\n </CardContent>\n <CardActions sx={{ display: { md: isMobile ? 'flex' : 'none' } }}>\n <FlexGrowCol alignItems=\"flex-end\">\n <IconButton\n color=\"primary\"\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n }\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </FlexGrowCol>\n </CardActions>\n </Card>\n )\n}\n","import { Refresh as RefreshIcon } from '@mui/icons-material'\nimport { CardHeader, CardHeaderProps, IconButton } from '@mui/material'\nimport { TypographyEx } from '@xyo-network/react-shared'\nimport { forwardRef, ReactNode } from 'react'\n\nimport { CardEx, CardExProps } from './CardEx.js'\n\nexport interface PageCardProps extends CardExProps {\n action?: ReactNode\n onRefresh?: () => void\n subheader?: CardHeaderProps['subheader']\n}\n\nconst PageCardWithRef = forwardRef<HTMLDivElement, PageCardProps>(({ subheader, title, onRefresh, children, action, style, ...props }, ref) => {\n return (\n <CardEx style={{ backgroundColor: 'transparent', position: 'relative', ...style }} elevation={0} ref={ref} {...props}>\n <CardHeader\n title={\n <TypographyEx variant=\"h5\" gutterBottom>\n {title}\n </TypographyEx>\n }\n subheader={<TypographyEx variant=\"subtitle1\">{subheader}</TypographyEx>}\n action={\n action ?? (\n <>\n {onRefresh ?\n <IconButton onClick={() => onRefresh?.()}>\n <RefreshIcon />\n </IconButton>\n : null}\n </>\n )\n }\n />\n {children}\n </CardEx>\n )\n})\n\nPageCardWithRef.displayName = 'PageCard'\n\nexport const PageCard = PageCardWithRef\n","import { ArrowForwardRounded as ArrowForwardRoundedIcon } from '@mui/icons-material'\nimport { alpha, CardActions, CardContent, CardMedia, IconButton, Typography, useTheme } from '@mui/material'\nimport { FlexCol, FlexGrowCol } from '@xylabs/react-flexbox'\nimport { useIsMobile } from '@xyo-network/react-shared'\nimport { ReactNode, useState } from 'react'\nimport { To, useNavigate } from 'react-router-dom'\n\nimport { CardEx, CardExProps } from '../CardEx.js'\n\nexport interface SimpleCardProps extends CardExProps {\n desc?: ReactNode\n headline?: ReactNode\n href?: string\n iconImage?: string\n interactionVariant?: 'button' | 'card'\n media?: string\n small?: boolean\n subtitle?: string\n to?: To\n}\n\nexport const SimpleCard: React.FC<SimpleCardProps> = ({\n desc,\n iconImage,\n interactionVariant = 'card',\n headline,\n href,\n media,\n small,\n subtitle,\n sx,\n to,\n ...props\n}) => {\n const theme = useTheme()\n const [raised, setRaised] = useState(false)\n const navigate = useNavigate()\n const isMobile = useIsMobile()\n const localRouteChange = (to: To | undefined) => {\n to ? navigate(to) : navigate('/404')\n }\n const externalRouteChange = (href: string | undefined) => {\n href ? window.open(href) : navigate('/404')\n }\n return (\n <CardEx\n elevation={raised ? 3 : 0}\n sx={{\n '&:hover': {\n cursor: interactionVariant == 'button' ? 'pointer' : null,\n },\n backgroundColor: alpha(theme.palette.primary.light, 0.05),\n ...sx,\n }}\n onMouseEnter={() =>\n isMobile ? null\n : interactionVariant == 'button' ? setRaised(true)\n : null\n }\n onMouseLeave={() =>\n isMobile ? null\n : interactionVariant == 'button' ? setRaised(false)\n : null\n }\n onClick={() =>\n interactionVariant == 'button' ?\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n : null\n }\n {...props}\n >\n {media ?\n <CardMedia component=\"img\" height=\"100\" image={media} alt=\"\" />\n : null}\n\n <CardContent sx={{ height: '100%' }}>\n <FlexCol width=\"100%\" alignItems=\"flex-start\">\n {iconImage ?\n <img src={iconImage} height=\"40px\" style={{ paddingBottom: '8px' }} />\n : null}\n {typeof headline === 'string' ?\n <Typography variant={small ? 'body1' : 'h6'} textAlign=\"left\" gutterBottom>\n {headline}\n </Typography>\n : headline}\n {subtitle ?\n <Typography variant=\"subtitle2\" textAlign=\"left\" gutterBottom>\n {subtitle}\n </Typography>\n : null}\n <Typography variant={small ? 'caption' : 'body1'} textAlign=\"left\" gutterBottom>\n {desc}\n </Typography>\n </FlexCol>\n </CardContent>\n {interactionVariant == 'button' ?\n <CardActions>\n <FlexGrowCol alignItems=\"flex-end\">\n <IconButton\n color={raised ? 'secondary' : 'primary'}\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n }\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </FlexGrowCol>\n </CardActions>\n : null}\n </CardEx>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAAsD;AACtD,0BAAqC;AACrC,mBAAsC;AAiC7B;AA/BT,IAAM,wBAAoB,wBAAO,6BAAa;AAAA,EAC5C,MAAM;AAAA,EACN,mBAAmB,CAAC,SAAiB,CAAC,CAAC,WAAW,eAAe,E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,MAAM;AAAA,YAEnB,oBAAkB;AAAA,YAClB,eAAa;AAAA,YACb,oBAAkB;AAAA,YAElB,uDAAC,uBAAAC,qBAAA,EAAwB,UAAU,QAAQ,UAAU,UAAU;AAAA;AAAA,QACjE,GACF,GACF,IACA;AAAA;AAAA;AAAA,EACJ;AAEJ;","names":["import_material","import_react_shared","import_react","import_jsx_runtime","import_material","import_react_shared","import_react","import_jsx_runtime","to","href","ArrowForwardRoundedIcon","import_icons_material","import_material","import_react_shared","import_react","import_jsx_runtime","RefreshIcon","import_icons_material","import_material","import_react_flexbox","import_react_shared","import_react","import_react_router_dom","import_jsx_runtime","to","href","ArrowForwardRoundedIcon"]}
@@ -1,2 +0,0 @@
1
- export * from './components/index.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './components/index.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}