@xyo-network/react-card 2.82.0 → 2.83.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. package/dist/browser/index.d.ts +52 -2
  2. package/package.json +9 -25
  3. package/xy.config.ts +12 -0
  4. package/dist/browser/components/CardContentEx.d.cts +0 -11
  5. package/dist/browser/components/CardContentEx.d.cts.map +0 -1
  6. package/dist/browser/components/CardContentEx.d.mts +0 -11
  7. package/dist/browser/components/CardContentEx.d.mts.map +0 -1
  8. package/dist/browser/components/CardContentEx.d.ts +0 -11
  9. package/dist/browser/components/CardContentEx.d.ts.map +0 -1
  10. package/dist/browser/components/CardEx.d.cts +0 -8
  11. package/dist/browser/components/CardEx.d.cts.map +0 -1
  12. package/dist/browser/components/CardEx.d.mts +0 -8
  13. package/dist/browser/components/CardEx.d.mts.map +0 -1
  14. package/dist/browser/components/CardEx.d.ts +0 -8
  15. package/dist/browser/components/CardEx.d.ts.map +0 -1
  16. package/dist/browser/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  17. package/dist/browser/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  18. package/dist/browser/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  19. package/dist/browser/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  20. package/dist/browser/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  21. package/dist/browser/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  22. package/dist/browser/components/FullWidthCard/index.d.cts +0 -2
  23. package/dist/browser/components/FullWidthCard/index.d.cts.map +0 -1
  24. package/dist/browser/components/FullWidthCard/index.d.mts +0 -2
  25. package/dist/browser/components/FullWidthCard/index.d.mts.map +0 -1
  26. package/dist/browser/components/FullWidthCard/index.d.ts +0 -2
  27. package/dist/browser/components/FullWidthCard/index.d.ts.map +0 -1
  28. package/dist/browser/components/PageCard.d.cts +0 -10
  29. package/dist/browser/components/PageCard.d.cts.map +0 -1
  30. package/dist/browser/components/PageCard.d.mts +0 -10
  31. package/dist/browser/components/PageCard.d.mts.map +0 -1
  32. package/dist/browser/components/PageCard.d.ts +0 -10
  33. package/dist/browser/components/PageCard.d.ts.map +0 -1
  34. package/dist/browser/components/SimpleCard/SimpleCard.d.cts +0 -16
  35. package/dist/browser/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  36. package/dist/browser/components/SimpleCard/SimpleCard.d.mts +0 -16
  37. package/dist/browser/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  38. package/dist/browser/components/SimpleCard/SimpleCard.d.ts +0 -16
  39. package/dist/browser/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  40. package/dist/browser/components/SimpleCard/index.d.cts +0 -2
  41. package/dist/browser/components/SimpleCard/index.d.cts.map +0 -1
  42. package/dist/browser/components/SimpleCard/index.d.mts +0 -2
  43. package/dist/browser/components/SimpleCard/index.d.mts.map +0 -1
  44. package/dist/browser/components/SimpleCard/index.d.ts +0 -2
  45. package/dist/browser/components/SimpleCard/index.d.ts.map +0 -1
  46. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -8
  47. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  48. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -8
  49. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  50. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -8
  51. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  52. package/dist/browser/components/SimpleCardGrid/index.d.cts +0 -2
  53. package/dist/browser/components/SimpleCardGrid/index.d.cts.map +0 -1
  54. package/dist/browser/components/SimpleCardGrid/index.d.mts +0 -2
  55. package/dist/browser/components/SimpleCardGrid/index.d.mts.map +0 -1
  56. package/dist/browser/components/SimpleCardGrid/index.d.ts +0 -2
  57. package/dist/browser/components/SimpleCardGrid/index.d.ts.map +0 -1
  58. package/dist/browser/components/index.d.cts +0 -6
  59. package/dist/browser/components/index.d.cts.map +0 -1
  60. package/dist/browser/components/index.d.mts +0 -6
  61. package/dist/browser/components/index.d.mts.map +0 -1
  62. package/dist/browser/components/index.d.ts +0 -6
  63. package/dist/browser/components/index.d.ts.map +0 -1
  64. package/dist/browser/index.cjs +0 -309
  65. package/dist/browser/index.cjs.map +0 -1
  66. package/dist/browser/index.d.cts +0 -2
  67. package/dist/browser/index.d.cts.map +0 -1
  68. package/dist/browser/index.d.mts +0 -2
  69. package/dist/browser/index.d.mts.map +0 -1
  70. package/dist/browser/index.d.ts.map +0 -1
  71. package/dist/neutral/components/CardContentEx.d.cts +0 -11
  72. package/dist/neutral/components/CardContentEx.d.cts.map +0 -1
  73. package/dist/neutral/components/CardContentEx.d.mts +0 -11
  74. package/dist/neutral/components/CardContentEx.d.mts.map +0 -1
  75. package/dist/neutral/components/CardContentEx.d.ts +0 -11
  76. package/dist/neutral/components/CardContentEx.d.ts.map +0 -1
  77. package/dist/neutral/components/CardEx.d.cts +0 -8
  78. package/dist/neutral/components/CardEx.d.cts.map +0 -1
  79. package/dist/neutral/components/CardEx.d.mts +0 -8
  80. package/dist/neutral/components/CardEx.d.mts.map +0 -1
  81. package/dist/neutral/components/CardEx.d.ts +0 -8
  82. package/dist/neutral/components/CardEx.d.ts.map +0 -1
  83. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  84. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  85. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  86. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  87. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  88. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  89. package/dist/neutral/components/FullWidthCard/index.d.cts +0 -2
  90. package/dist/neutral/components/FullWidthCard/index.d.cts.map +0 -1
  91. package/dist/neutral/components/FullWidthCard/index.d.mts +0 -2
  92. package/dist/neutral/components/FullWidthCard/index.d.mts.map +0 -1
  93. package/dist/neutral/components/FullWidthCard/index.d.ts +0 -2
  94. package/dist/neutral/components/FullWidthCard/index.d.ts.map +0 -1
  95. package/dist/neutral/components/PageCard.d.cts +0 -10
  96. package/dist/neutral/components/PageCard.d.cts.map +0 -1
  97. package/dist/neutral/components/PageCard.d.mts +0 -10
  98. package/dist/neutral/components/PageCard.d.mts.map +0 -1
  99. package/dist/neutral/components/PageCard.d.ts +0 -10
  100. package/dist/neutral/components/PageCard.d.ts.map +0 -1
  101. package/dist/neutral/components/SimpleCard/SimpleCard.d.cts +0 -16
  102. package/dist/neutral/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  103. package/dist/neutral/components/SimpleCard/SimpleCard.d.mts +0 -16
  104. package/dist/neutral/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  105. package/dist/neutral/components/SimpleCard/SimpleCard.d.ts +0 -16
  106. package/dist/neutral/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  107. package/dist/neutral/components/SimpleCard/index.d.cts +0 -2
  108. package/dist/neutral/components/SimpleCard/index.d.cts.map +0 -1
  109. package/dist/neutral/components/SimpleCard/index.d.mts +0 -2
  110. package/dist/neutral/components/SimpleCard/index.d.mts.map +0 -1
  111. package/dist/neutral/components/SimpleCard/index.d.ts +0 -2
  112. package/dist/neutral/components/SimpleCard/index.d.ts.map +0 -1
  113. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -8
  114. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  115. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -8
  116. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  117. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -8
  118. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  119. package/dist/neutral/components/SimpleCardGrid/index.d.cts +0 -2
  120. package/dist/neutral/components/SimpleCardGrid/index.d.cts.map +0 -1
  121. package/dist/neutral/components/SimpleCardGrid/index.d.mts +0 -2
  122. package/dist/neutral/components/SimpleCardGrid/index.d.mts.map +0 -1
  123. package/dist/neutral/components/SimpleCardGrid/index.d.ts +0 -2
  124. package/dist/neutral/components/SimpleCardGrid/index.d.ts.map +0 -1
  125. package/dist/neutral/components/index.d.cts +0 -6
  126. package/dist/neutral/components/index.d.cts.map +0 -1
  127. package/dist/neutral/components/index.d.mts +0 -6
  128. package/dist/neutral/components/index.d.mts.map +0 -1
  129. package/dist/neutral/components/index.d.ts +0 -6
  130. package/dist/neutral/components/index.d.ts.map +0 -1
  131. package/dist/neutral/index.cjs +0 -309
  132. package/dist/neutral/index.cjs.map +0 -1
  133. package/dist/neutral/index.d.cts +0 -2
  134. package/dist/neutral/index.d.cts.map +0 -1
  135. package/dist/neutral/index.d.mts +0 -2
  136. package/dist/neutral/index.d.mts.map +0 -1
  137. package/dist/neutral/index.d.ts +0 -2
  138. package/dist/neutral/index.d.ts.map +0 -1
  139. package/dist/neutral/index.mjs +0 -278
  140. package/dist/neutral/index.mjs.map +0 -1
  141. package/dist/node/components/CardContentEx.d.cts +0 -11
  142. package/dist/node/components/CardContentEx.d.cts.map +0 -1
  143. package/dist/node/components/CardContentEx.d.mts +0 -11
  144. package/dist/node/components/CardContentEx.d.mts.map +0 -1
  145. package/dist/node/components/CardContentEx.d.ts +0 -11
  146. package/dist/node/components/CardContentEx.d.ts.map +0 -1
  147. package/dist/node/components/CardEx.d.cts +0 -8
  148. package/dist/node/components/CardEx.d.cts.map +0 -1
  149. package/dist/node/components/CardEx.d.mts +0 -8
  150. package/dist/node/components/CardEx.d.mts.map +0 -1
  151. package/dist/node/components/CardEx.d.ts +0 -8
  152. package/dist/node/components/CardEx.d.ts.map +0 -1
  153. package/dist/node/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  154. package/dist/node/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  155. package/dist/node/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  156. package/dist/node/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  157. package/dist/node/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  158. package/dist/node/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  159. package/dist/node/components/FullWidthCard/index.d.cts +0 -2
  160. package/dist/node/components/FullWidthCard/index.d.cts.map +0 -1
  161. package/dist/node/components/FullWidthCard/index.d.mts +0 -2
  162. package/dist/node/components/FullWidthCard/index.d.mts.map +0 -1
  163. package/dist/node/components/FullWidthCard/index.d.ts +0 -2
  164. package/dist/node/components/FullWidthCard/index.d.ts.map +0 -1
  165. package/dist/node/components/PageCard.d.cts +0 -10
  166. package/dist/node/components/PageCard.d.cts.map +0 -1
  167. package/dist/node/components/PageCard.d.mts +0 -10
  168. package/dist/node/components/PageCard.d.mts.map +0 -1
  169. package/dist/node/components/PageCard.d.ts +0 -10
  170. package/dist/node/components/PageCard.d.ts.map +0 -1
  171. package/dist/node/components/SimpleCard/SimpleCard.d.cts +0 -16
  172. package/dist/node/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  173. package/dist/node/components/SimpleCard/SimpleCard.d.mts +0 -16
  174. package/dist/node/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  175. package/dist/node/components/SimpleCard/SimpleCard.d.ts +0 -16
  176. package/dist/node/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  177. package/dist/node/components/SimpleCard/index.d.cts +0 -2
  178. package/dist/node/components/SimpleCard/index.d.cts.map +0 -1
  179. package/dist/node/components/SimpleCard/index.d.mts +0 -2
  180. package/dist/node/components/SimpleCard/index.d.mts.map +0 -1
  181. package/dist/node/components/SimpleCard/index.d.ts +0 -2
  182. package/dist/node/components/SimpleCard/index.d.ts.map +0 -1
  183. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -8
  184. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  185. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -8
  186. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  187. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -8
  188. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  189. package/dist/node/components/SimpleCardGrid/index.d.cts +0 -2
  190. package/dist/node/components/SimpleCardGrid/index.d.cts.map +0 -1
  191. package/dist/node/components/SimpleCardGrid/index.d.mts +0 -2
  192. package/dist/node/components/SimpleCardGrid/index.d.mts.map +0 -1
  193. package/dist/node/components/SimpleCardGrid/index.d.ts +0 -2
  194. package/dist/node/components/SimpleCardGrid/index.d.ts.map +0 -1
  195. package/dist/node/components/index.d.cts +0 -6
  196. package/dist/node/components/index.d.cts.map +0 -1
  197. package/dist/node/components/index.d.mts +0 -6
  198. package/dist/node/components/index.d.mts.map +0 -1
  199. package/dist/node/components/index.d.ts +0 -6
  200. package/dist/node/components/index.d.ts.map +0 -1
  201. package/dist/node/index.cjs +0 -320
  202. package/dist/node/index.cjs.map +0 -1
  203. package/dist/node/index.d.cts +0 -2
  204. package/dist/node/index.d.cts.map +0 -1
  205. package/dist/node/index.d.mts +0 -2
  206. package/dist/node/index.d.mts.map +0 -1
  207. package/dist/node/index.d.ts +0 -2
  208. package/dist/node/index.d.ts.map +0 -1
  209. package/dist/node/index.mjs +0 -279
  210. package/dist/node/index.mjs.map +0 -1
@@ -1,309 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
9
- var __export = (target, all) => {
10
- for (var name in all)
11
- __defProp(target, name, { get: all[name], enumerable: true });
12
- };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from))
16
- if (!__hasOwnProp.call(to, key) && key !== except)
17
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
- }
19
- return to;
20
- };
21
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
- // If the importer is in node compatibility mode or this is not an ESM
23
- // file that has been converted to a CommonJS file using a Babel-
24
- // compatible transform (i.e. "__esModule" has not been set), then set
25
- // "default" to the CommonJS "module.exports" for node compatibility.
26
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
- mod
28
- ));
29
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
-
31
- // src/index.ts
32
- var src_exports = {};
33
- __export(src_exports, {
34
- CardContentEx: () => CardContentEx,
35
- CardContentExWithRef: () => CardContentExWithRef,
36
- CardEx: () => CardEx,
37
- CardExWithRef: () => CardExWithRef,
38
- FullWidthCard: () => FullWidthCard,
39
- PageCard: () => PageCard,
40
- SimpleCard: () => SimpleCard
41
- });
42
- module.exports = __toCommonJS(src_exports);
43
-
44
- // src/components/CardContentEx.tsx
45
- var import_material = require("@mui/material");
46
- var import_react_shared = require("@xyo-network/react-shared");
47
- var import_react = __toESM(require("react"), 1);
48
- var CardContentExRoot = (0, import_material.styled)(import_material.CardContent, {
49
- name: "CardContentEx",
50
- shouldForwardProp: /* @__PURE__ */ __name((prop) => ![
51
- "variant",
52
- "removePadding"
53
- ].includes(prop), "shouldForwardProp"),
54
- slot: "Root"
55
- })(({ variant, removePadding }) => ({
56
- ...(variant === "scrollable" || removePadding) && {
57
- [":last-child"]: {
58
- paddingBottom: 0
59
- },
60
- overflow: "auto",
61
- paddingTop: 0,
62
- ...removePadding && {
63
- padding: 0
64
- }
65
- }
66
- }));
67
- var CardContentExWithRef = /* @__PURE__ */ (0, import_react.forwardRef)(({ scrollToTop = 0, refreshRef = 0, ...props }, ref) => {
68
- const sharedRef = (0, import_react_shared.useShareForwardedRef)(ref, refreshRef);
69
- (0, import_react.useEffect)(() => {
70
- if (sharedRef && scrollToTop) {
71
- sharedRef.current?.scroll({
72
- behavior: "smooth",
73
- top: 0
74
- });
75
- }
76
- }, [
77
- sharedRef,
78
- scrollToTop
79
- ]);
80
- return /* @__PURE__ */ import_react.default.createElement(CardContentExRoot, {
81
- ref: sharedRef,
82
- ...props
83
- });
84
- });
85
- CardContentExWithRef.displayName = "CardContentEx";
86
- var CardContentEx = CardContentExWithRef;
87
-
88
- // src/components/CardEx.tsx
89
- var import_material2 = require("@mui/material");
90
- var import_react_shared2 = require("@xyo-network/react-shared");
91
- var import_react2 = __toESM(require("react"), 1);
92
- var CardExWithRef = /* @__PURE__ */ (0, import_react2.forwardRef)(({ style, gradient, ...props }, ref) => {
93
- const { styles } = (0, import_react_shared2.useGradientStyles)();
94
- const gradientStyle = gradient === "border" ? styles.border : gradient === "background" ? styles.background : {};
95
- return /* @__PURE__ */ import_react2.default.createElement(import_material2.Card, {
96
- style: {
97
- ...gradientStyle,
98
- ...style
99
- },
100
- ref,
101
- ...props
102
- });
103
- });
104
- CardExWithRef.displayName = "CardEx";
105
- var CardEx = CardExWithRef;
106
-
107
- // src/components/FullWidthCard/FullWidthCard.tsx
108
- var import_icons_material = require("@mui/icons-material");
109
- var import_material3 = require("@mui/material");
110
- var import_react_flexbox = require("@xylabs/react-flexbox");
111
- var import_react_shared3 = require("@xyo-network/react-shared");
112
- var import_react3 = __toESM(require("react"), 1);
113
- var import_react_router_dom = require("react-router-dom");
114
- var FullWidthCard = /* @__PURE__ */ __name(({ cardIsButton, desc, href, media, name, small, to, ...props }) => {
115
- const theme = (0, import_material3.useTheme)();
116
- const [raised, setRaised] = (0, import_react3.useState)(false);
117
- const navigate = (0, import_react_router_dom.useNavigate)();
118
- const isMobile = (0, import_react_shared3.useIsMobile)();
119
- const localRouteChange = /* @__PURE__ */ __name((to2) => {
120
- to2 ? navigate(to2) : navigate("/404");
121
- }, "localRouteChange");
122
- const externalRouteChange = /* @__PURE__ */ __name((href2) => {
123
- href2 ? window.open(href2) : navigate("/404");
124
- }, "externalRouteChange");
125
- return /* @__PURE__ */ import_react3.default.createElement(import_material3.Card, {
126
- elevation: raised ? 3 : 0,
127
- style: {
128
- height: "100%",
129
- width: "100%"
130
- },
131
- ...props,
132
- sx: {
133
- "&:hover": {
134
- cursor: "pointer"
135
- },
136
- "backgroundColor": (0, import_material3.alpha)(theme.palette.primary.light, 0.05)
137
- },
138
- onMouseEnter: /* @__PURE__ */ __name(() => isMobile ? null : cardIsButton ? setRaised(true) : null, "onMouseEnter"),
139
- onMouseLeave: /* @__PURE__ */ __name(() => isMobile ? null : cardIsButton ? setRaised(false) : null, "onMouseLeave"),
140
- onClick: /* @__PURE__ */ __name(() => cardIsButton ? href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404") : null, "onClick")
141
- }, media ? /* @__PURE__ */ import_react3.default.createElement(import_material3.CardMedia, {
142
- component: "img",
143
- height: "100",
144
- image: media,
145
- alt: ""
146
- }) : null, /* @__PURE__ */ import_react3.default.createElement(import_material3.CardContent, null, /* @__PURE__ */ import_react3.default.createElement(import_material3.Grid, {
147
- container: true,
148
- alignItems: "center",
149
- paddingY: 2,
150
- paddingX: 2
151
- }, /* @__PURE__ */ import_react3.default.createElement(import_material3.Grid, {
152
- item: true,
153
- xs: 12,
154
- md: 6
155
- }, typeof name === "string" ? /* @__PURE__ */ import_react3.default.createElement(import_material3.Typography, {
156
- fontWeight: 700,
157
- variant: "h2",
158
- textAlign: "left",
159
- paddingBottom: 1
160
- }, name) : name), /* @__PURE__ */ import_react3.default.createElement(import_material3.Grid, {
161
- item: true,
162
- xs: 12,
163
- md: 5
164
- }, /* @__PURE__ */ import_react3.default.createElement(import_material3.Typography, {
165
- variant: "body1",
166
- fontWeight: 400,
167
- textAlign: "left"
168
- }, desc)), /* @__PURE__ */ import_react3.default.createElement(import_material3.Grid, {
169
- item: true,
170
- xs: 1,
171
- display: isMobile ? "none" : "flex",
172
- justifyContent: "center"
173
- }, /* @__PURE__ */ import_react3.default.createElement(import_material3.Zoom, {
174
- in: raised
175
- }, /* @__PURE__ */ import_react3.default.createElement(import_material3.IconButton, {
176
- color: "primary",
177
- size: small ? "small" : "medium",
178
- onClick: /* @__PURE__ */ __name(() => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"), "onClick"),
179
- disableFocusRipple: true,
180
- disableRipple: true,
181
- disableTouchRipple: true
182
- }, /* @__PURE__ */ import_react3.default.createElement(import_icons_material.ArrowForwardRounded, {
183
- fontSize: small ? "small" : "medium"
184
- })))))), /* @__PURE__ */ import_react3.default.createElement(import_material3.CardActions, {
185
- sx: {
186
- display: {
187
- md: isMobile ? "flex" : "none"
188
- }
189
- }
190
- }, /* @__PURE__ */ import_react3.default.createElement(import_react_flexbox.FlexGrowCol, {
191
- alignItems: "flex-end"
192
- }, /* @__PURE__ */ import_react3.default.createElement(import_material3.IconButton, {
193
- color: "primary",
194
- size: small ? "small" : "medium",
195
- onClick: /* @__PURE__ */ __name(() => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"), "onClick"),
196
- disableFocusRipple: true,
197
- disableRipple: true,
198
- disableTouchRipple: true
199
- }, /* @__PURE__ */ import_react3.default.createElement(import_icons_material.ArrowForwardRounded, {
200
- fontSize: small ? "small" : "medium"
201
- })))));
202
- }, "FullWidthCard");
203
-
204
- // src/components/PageCard.tsx
205
- var import_icons_material2 = require("@mui/icons-material");
206
- var import_material4 = require("@mui/material");
207
- var import_react_shared4 = require("@xyo-network/react-shared");
208
- var import_react4 = __toESM(require("react"), 1);
209
- var PageCardWithRef = /* @__PURE__ */ (0, import_react4.forwardRef)(({ subheader, title, onRefresh, children, action, style, ...props }, ref) => {
210
- return /* @__PURE__ */ import_react4.default.createElement(CardEx, {
211
- style: {
212
- backgroundColor: "transparent",
213
- position: "relative",
214
- ...style
215
- },
216
- elevation: 0,
217
- ref,
218
- ...props
219
- }, /* @__PURE__ */ import_react4.default.createElement(import_material4.CardHeader, {
220
- title: /* @__PURE__ */ import_react4.default.createElement(import_react_shared4.TypographyEx, {
221
- variant: "h5",
222
- gutterBottom: true
223
- }, title),
224
- subheader: /* @__PURE__ */ import_react4.default.createElement(import_react_shared4.TypographyEx, {
225
- variant: "subtitle1"
226
- }, subheader),
227
- action: action ?? /* @__PURE__ */ import_react4.default.createElement(import_react4.default.Fragment, null, onRefresh ? /* @__PURE__ */ import_react4.default.createElement(import_material4.IconButton, {
228
- onClick: /* @__PURE__ */ __name(() => onRefresh?.(), "onClick")
229
- }, /* @__PURE__ */ import_react4.default.createElement(import_icons_material2.Refresh, null)) : null)
230
- }), children);
231
- });
232
- PageCardWithRef.displayName = "PageCard";
233
- var PageCard = PageCardWithRef;
234
-
235
- // src/components/SimpleCard/SimpleCard.tsx
236
- var import_icons_material3 = require("@mui/icons-material");
237
- var import_material5 = require("@mui/material");
238
- var import_react_flexbox2 = require("@xylabs/react-flexbox");
239
- var import_react_shared5 = require("@xyo-network/react-shared");
240
- var import_react5 = __toESM(require("react"), 1);
241
- var import_react_router_dom2 = require("react-router-dom");
242
- var SimpleCard = /* @__PURE__ */ __name(({ desc, iconImage, interactionVariant = "card", headline, href, media, small, subtitle, sx, to, ...props }) => {
243
- const theme = (0, import_material5.useTheme)();
244
- const [raised, setRaised] = (0, import_react5.useState)(false);
245
- const navigate = (0, import_react_router_dom2.useNavigate)();
246
- const isMobile = (0, import_react_shared5.useIsMobile)();
247
- const localRouteChange = /* @__PURE__ */ __name((to2) => {
248
- to2 ? navigate(to2) : navigate("/404");
249
- }, "localRouteChange");
250
- const externalRouteChange = /* @__PURE__ */ __name((href2) => {
251
- href2 ? window.open(href2) : navigate("/404");
252
- }, "externalRouteChange");
253
- return /* @__PURE__ */ import_react5.default.createElement(CardEx, {
254
- elevation: raised ? 3 : 0,
255
- sx: {
256
- "&:hover": {
257
- cursor: interactionVariant == "button" ? "pointer" : null
258
- },
259
- "backgroundColor": (0, import_material5.alpha)(theme.palette.primary.light, 0.05),
260
- ...sx
261
- },
262
- onMouseEnter: /* @__PURE__ */ __name(() => isMobile ? null : interactionVariant == "button" ? setRaised(true) : null, "onMouseEnter"),
263
- onMouseLeave: /* @__PURE__ */ __name(() => isMobile ? null : interactionVariant == "button" ? setRaised(false) : null, "onMouseLeave"),
264
- onClick: /* @__PURE__ */ __name(() => interactionVariant == "button" ? href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404") : null, "onClick"),
265
- ...props
266
- }, media ? /* @__PURE__ */ import_react5.default.createElement(import_material5.CardMedia, {
267
- component: "img",
268
- height: "100",
269
- image: media,
270
- alt: ""
271
- }) : null, /* @__PURE__ */ import_react5.default.createElement(import_material5.CardContent, {
272
- sx: {
273
- height: "100%"
274
- }
275
- }, /* @__PURE__ */ import_react5.default.createElement(import_react_flexbox2.FlexCol, {
276
- width: "100%",
277
- alignItems: "flex-start"
278
- }, iconImage ? /* @__PURE__ */ import_react5.default.createElement("img", {
279
- src: iconImage,
280
- height: "40px",
281
- style: {
282
- paddingBottom: "8px"
283
- }
284
- }) : null, typeof headline === "string" ? /* @__PURE__ */ import_react5.default.createElement(import_material5.Typography, {
285
- variant: small ? "body1" : "h6",
286
- textAlign: "left",
287
- gutterBottom: true
288
- }, headline) : headline, subtitle ? /* @__PURE__ */ import_react5.default.createElement(import_material5.Typography, {
289
- variant: "subtitle2",
290
- textAlign: "left",
291
- gutterBottom: true
292
- }, subtitle) : null, /* @__PURE__ */ import_react5.default.createElement(import_material5.Typography, {
293
- variant: small ? "caption" : "body1",
294
- textAlign: "left",
295
- gutterBottom: true
296
- }, desc))), interactionVariant == "button" ? /* @__PURE__ */ import_react5.default.createElement(import_material5.CardActions, null, /* @__PURE__ */ import_react5.default.createElement(import_react_flexbox2.FlexGrowCol, {
297
- alignItems: "flex-end"
298
- }, /* @__PURE__ */ import_react5.default.createElement(import_material5.IconButton, {
299
- color: raised ? "secondary" : "primary",
300
- size: small ? "small" : "medium",
301
- onClick: /* @__PURE__ */ __name(() => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"), "onClick"),
302
- disableFocusRipple: true,
303
- disableRipple: true,
304
- disableTouchRipple: true
305
- }, /* @__PURE__ */ import_react5.default.createElement(import_icons_material3.ArrowForwardRounded, {
306
- fontSize: small ? "small" : "medium"
307
- })))) : null);
308
- }, "SimpleCard");
309
- //# 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.ts'\n","import { CardContent, CardContentProps, styled } from '@mui/material'\nimport { useShareForwardedRef } from '@xyo-network/react-shared'\nimport React, { 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 React, { 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'\n ? styles.border\n : gradient === 'background'\n ? 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 React, { 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 // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n to ? navigate(to) : navigate('/404')\n }\n const externalRouteChange = (href: string | undefined) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\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\n ? null\n : cardIsButton\n ? setRaised(true)\n : null}\n onMouseLeave={() =>\n isMobile\n ? null\n : cardIsButton\n ? setRaised(false)\n : null}\n onClick={() =>\n cardIsButton\n ? href\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')\n : null}\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 ? (\n <Typography fontWeight={700} variant=\"h2\" textAlign=\"left\" paddingBottom={1}>\n {name}\n </Typography>\n )\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\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')}\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\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')}\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 React, { forwardRef, ReactNode } from 'react'\n\nimport { CardEx, CardExProps } from './CardEx.tsx'\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 ? (\n <IconButton onClick={() => onRefresh?.()}>\n <RefreshIcon />\n </IconButton>\n )\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 React, { ReactNode, useState } from 'react'\nimport { To, useNavigate } from 'react-router-dom'\n\nimport { CardEx, CardExProps } from '../CardEx.tsx'\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 // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n to ? navigate(to) : navigate('/404')\n }\n const externalRouteChange = (href: string | undefined) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\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\n ? null\n : interactionVariant == 'button'\n ? setRaised(true)\n : null}\n onMouseLeave={() =>\n isMobile\n ? null\n : interactionVariant == 'button'\n ? setRaised(false)\n : null}\n onClick={() =>\n interactionVariant == 'button'\n ? href\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')\n : null}\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 ? (\n <Typography variant={small ? 'body1' : 'h6'} textAlign=\"left\" gutterBottom>\n {headline}\n </Typography>\n )\n : headline}\n {subtitle\n ? (\n <Typography variant=\"subtitle2\" textAlign=\"left\" gutterBottom>\n {subtitle}\n </Typography>\n )\n : null}\n <Typography variant={small ? 'caption' : 'body1'} textAlign=\"left\" gutterBottom>\n {desc}\n </Typography>\n </FlexCol>\n </CardContent>\n {interactionVariant == 'button'\n ? (\n <CardActions>\n <FlexGrowCol alignItems=\"flex-end\">\n <IconButton\n color={raised ? 'secondary' : 'primary'}\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')}\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </I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,OAAM;IAAOC,YAAW;KAC9B1C,YACG,8BAAAuB,QAAA,cAACoB,OAAAA;IAAIC,KAAK5C;IAAWoC,QAAO;IAAOS,OAAO;MAAEC,eAAe;IAAM;OACjE,MACH,OAAO5C,aAAa,WAEf,8BAAAqB,QAAA,cAACwB,6BAAAA;IAAWC,SAAS3C,QAAQ,UAAU;IAAM4C,WAAU;IAAOC,cAAAA;KAC3DhD,QAAAA,IAGLA,UACHI,WAEK,8BAAAiB,QAAA,cAACwB,6BAAAA;IAAWC,SAAQ;IAAYC,WAAU;IAAOC,cAAAA;KAC9C5C,QAAAA,IAGL,MACJ,8BAAAiB,QAAA,cAACwB,6BAAAA;IAAWC,SAAS3C,QAAQ,YAAY;IAAS4C,WAAU;IAAOC,cAAAA;KAChEnD,IAAAA,CAAAA,CAAAA,GAINE,sBAAsB,WAEjB,8BAAAsB,QAAA,cAAC4B,8BAAAA,MACC,8BAAA5B,QAAA,cAAC6B,mCAAAA;IAAYV,YAAW;KACtB,8BAAAnB,QAAA,cAAC8B,6BAAAA;IACCC,OAAO1C,SAAS,cAAc;IAC9B2C,MAAMlD,QAAQ,UAAU;IACxB4B,SAAS,6BACP9B,OACIiB,oBAAoBjB,IAAAA,IACpBK,KACEW,iBAAiBX,EAAAA,IACjBO,SAAS,MAAA,GALR;IAMTyC,oBAAAA;IACAC,eAAAA;IACAC,oBAAAA;KAEA,8BAAAnC,QAAA,cAACoC,uBAAAA,qBAAAA;IAAwBC,UAAUvD,QAAQ,UAAU;UAK7D,IAAA;AAGV,GA9GqD;","names":["CardContentExRoot","styled","CardContent","name","shouldForwardProp","prop","includes","slot","variant","removePadding","paddingBottom","overflow","paddingTop","padding","CardContentExWithRef","forwardRef","scrollToTop","refreshRef","props","ref","sharedRef","useShareForwardedRef","useEffect","current","scroll","behavior","top","React","displayName","CardContentEx","import_material","import_react_shared","import_react","CardExWithRef","forwardRef","style","gradient","props","ref","styles","useGradientStyles","gradientStyle","border","background","React","Card","displayName","CardEx","import_material","import_react_shared","import_react","FullWidthCard","cardIsButton","desc","href","media","name","small","to","props","theme","useTheme","raised","setRaised","useState","navigate","useNavigate","isMobile","useIsMobile","localRouteChange","externalRouteChange","window","open","React","Card","elevation","style","height","width","sx","cursor","alpha","palette","primary","light","onMouseEnter","onMouseLeave","onClick","CardMedia","component","image","alt","CardContent","Grid","container","alignItems","paddingY","paddingX","item","xs","md","Typography","fontWeight","variant","textAlign","paddingBottom","display","justifyContent","Zoom","in","IconButton","color","size","disableFocusRipple","disableRipple","disableTouchRipple","ArrowForwardRoundedIcon","fontSize","CardActions","FlexGrowCol","import_icons_material","import_material","import_react_shared","import_react","PageCardWithRef","forwardRef","subheader","title","onRefresh","children","action","style","props","ref","React","CardEx","backgroundColor","position","elevation","CardHeader","TypographyEx","variant","gutterBottom","IconButton","onClick","RefreshIcon","displayName","PageCard","import_icons_material","import_material","import_react_flexbox","import_react_shared","import_react","import_react_router_dom","SimpleCard","desc","iconImage","interactionVariant","headline","href","media","small","subtitle","sx","to","props","theme","useTheme","raised","setRaised","useState","navigate","useNavigate","isMobile","useIsMobile","localRouteChange","externalRouteChange","window","open","React","CardEx","elevation","cursor","alpha","palette","primary","light","onMouseEnter","onMouseLeave","onClick","CardMedia","component","height","image","alt","CardContent","FlexCol","width","alignItems","img","src","style","paddingBottom","Typography","variant","textAlign","gutterBottom","CardActions","FlexGrowCol","IconButton","color","size","disableFocusRipple","disableRipple","disableTouchRipple","ArrowForwardRoundedIcon","fontSize"]}
@@ -1,2 +0,0 @@
1
- export * from './components/index.ts';
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.ts';
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"}
@@ -1,11 +0,0 @@
1
- import { CardContentProps } from '@mui/material';
2
- import React from 'react';
3
- export type CardContentExProps = CardContentProps & {
4
- refreshRef?: number;
5
- removePadding?: boolean;
6
- scrollToTop?: number;
7
- variant?: 'scrollable' | 'normal';
8
- };
9
- export declare const CardContentExWithRef: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
10
- export declare const CardContentEx: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
11
- //# sourceMappingURL=CardContentEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAErE,OAAO,KAAgC,MAAM,OAAO,CAAA;AAiBpD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,+GAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,+GAAuB,CAAA"}
@@ -1,11 +0,0 @@
1
- import { CardContentProps } from '@mui/material';
2
- import React from 'react';
3
- export type CardContentExProps = CardContentProps & {
4
- refreshRef?: number;
5
- removePadding?: boolean;
6
- scrollToTop?: number;
7
- variant?: 'scrollable' | 'normal';
8
- };
9
- export declare const CardContentExWithRef: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
10
- export declare const CardContentEx: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
11
- //# sourceMappingURL=CardContentEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAErE,OAAO,KAAgC,MAAM,OAAO,CAAA;AAiBpD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,+GAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,+GAAuB,CAAA"}
@@ -1,11 +0,0 @@
1
- import { CardContentProps } from '@mui/material';
2
- import React from 'react';
3
- export type CardContentExProps = CardContentProps & {
4
- refreshRef?: number;
5
- removePadding?: boolean;
6
- scrollToTop?: number;
7
- variant?: 'scrollable' | 'normal';
8
- };
9
- export declare const CardContentExWithRef: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
10
- export declare const CardContentEx: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
11
- //# sourceMappingURL=CardContentEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAErE,OAAO,KAAgC,MAAM,OAAO,CAAA;AAiBpD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,+GAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,+GAAuB,CAAA"}
@@ -1,8 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React from 'react';
3
- export interface CardExProps extends CardProps {
4
- gradient?: 'border' | 'background';
5
- }
6
- export declare const CardExWithRef: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export declare const CardEx: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- //# sourceMappingURL=CardEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,iGAkBxB,CAAA;AAIF,eAAO,MAAM,MAAM,iGAAgB,CAAA"}
@@ -1,8 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React from 'react';
3
- export interface CardExProps extends CardProps {
4
- gradient?: 'border' | 'background';
5
- }
6
- export declare const CardExWithRef: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export declare const CardEx: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- //# sourceMappingURL=CardEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,iGAkBxB,CAAA;AAIF,eAAO,MAAM,MAAM,iGAAgB,CAAA"}
@@ -1,8 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React from 'react';
3
- export interface CardExProps extends CardProps {
4
- gradient?: 'border' | 'background';
5
- }
6
- export declare const CardExWithRef: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export declare const CardEx: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- //# sourceMappingURL=CardEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,iGAkBxB,CAAA;AAIF,eAAO,MAAM,MAAM,iGAAgB,CAAA"}
@@ -1,15 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { To } from 'react-router-dom';
4
- export interface FullWidthCardProps extends CardProps {
5
- cardIsButton?: boolean;
6
- desc?: ReactNode;
7
- href?: string;
8
- linkText?: string;
9
- media?: string;
10
- name: ReactNode;
11
- small?: boolean;
12
- to?: To;
13
- }
14
- export declare const FullWidthCard: React.FC<FullWidthCardProps>;
15
- //# sourceMappingURL=FullWidthCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6GtD,CAAA"}
@@ -1,15 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { To } from 'react-router-dom';
4
- export interface FullWidthCardProps extends CardProps {
5
- cardIsButton?: boolean;
6
- desc?: ReactNode;
7
- href?: string;
8
- linkText?: string;
9
- media?: string;
10
- name: ReactNode;
11
- small?: boolean;
12
- to?: To;
13
- }
14
- export declare const FullWidthCard: React.FC<FullWidthCardProps>;
15
- //# sourceMappingURL=FullWidthCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6GtD,CAAA"}
@@ -1,15 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { To } from 'react-router-dom';
4
- export interface FullWidthCardProps extends CardProps {
5
- cardIsButton?: boolean;
6
- desc?: ReactNode;
7
- href?: string;
8
- linkText?: string;
9
- media?: string;
10
- name: ReactNode;
11
- small?: boolean;
12
- to?: To;
13
- }
14
- export declare const FullWidthCard: React.FC<FullWidthCardProps>;
15
- //# sourceMappingURL=FullWidthCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6GtD,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './FullWidthCard.tsx';
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,qBAAqB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './FullWidthCard.tsx';
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,qBAAqB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './FullWidthCard.tsx';
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,qBAAqB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.tsx';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: React.ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & 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,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,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;AAiCD,eAAO,MAAM,QAAQ,mGAAkB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.tsx';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: React.ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & 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,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,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;AAiCD,eAAO,MAAM,QAAQ,mGAAkB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.tsx';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: React.ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & 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,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,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;AAiCD,eAAO,MAAM,QAAQ,mGAAkB,CAAA"}
@@ -1,16 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { To } from 'react-router-dom';
3
- import { CardExProps } from '../CardEx.tsx';
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