@lightsparkdev/ui 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/chunk-3EVAP5JT.js +67 -0
  3. package/dist/{chunk-IQFU7CM5.js → chunk-3GS5EFXV.js} +1 -1
  4. package/dist/{chunk-CLU2FRJZ.js → chunk-55OQPFLF.js} +1 -1
  5. package/dist/{chunk-N2RDQJQ5.js → chunk-5POPBNPS.js} +1 -1
  6. package/dist/{chunk-WWFDI534.js → chunk-7C4MHI6Q.js} +13 -6
  7. package/dist/{chunk-3CZOYF3X.js → chunk-7T36JGTC.js} +2 -2
  8. package/dist/chunk-A4FQBEYU.js +163 -0
  9. package/dist/chunk-ATUH6SXK.js +233 -0
  10. package/dist/chunk-DQRN4E5G.js +25 -0
  11. package/dist/{chunk-RTUZVKPK.js → chunk-E3AOYBY5.js} +1 -1
  12. package/dist/{chunk-I74XQIVV.js → chunk-EEFNW7NS.js} +3 -3
  13. package/dist/{chunk-UO6U7AYM.js → chunk-FCZJILMW.js} +1 -1
  14. package/dist/{chunk-2WYVO6B2.js → chunk-H3RW6JSU.js} +1 -1
  15. package/dist/chunk-IPAXAP6K.js +119 -0
  16. package/dist/{chunk-NGS4OSWT.js → chunk-J4FJQ3FN.js} +1 -1
  17. package/dist/{chunk-RFGKH3R6.js → chunk-JK4BP73A.js} +39 -38
  18. package/dist/{chunk-T33SBHYI.js → chunk-KMR5C25B.js} +3 -1
  19. package/dist/{chunk-JYWYEOM6.js → chunk-NFSAJ5GJ.js} +23 -10
  20. package/dist/{chunk-G2PZZFJL.js → chunk-NM7UW54G.js} +21 -24
  21. package/dist/{chunk-M56R3RJ7.js → chunk-OGSDZTHM.js} +7 -3
  22. package/dist/chunk-P3EUPXFA.js +150 -0
  23. package/dist/chunk-PBRN7MJY.js +315 -0
  24. package/dist/{chunk-NH25O7PC.js → chunk-PVQCLQNA.js} +1 -1
  25. package/dist/{chunk-NZJCJJH5.js → chunk-RWIZ7Q74.js} +1 -1
  26. package/dist/{chunk-TAI352I3.js → chunk-VE7J2N47.js} +1 -1
  27. package/dist/{chunk-K7D7A34K.js → chunk-XP2MX2AA.js} +1 -1
  28. package/dist/{chunk-23SR7TFO.js → chunk-XZR237JJ.js} +1 -1
  29. package/dist/{chunk-VBWTKANQ.js → chunk-Y37DCY7Y.js} +3 -3
  30. package/dist/{chunk-SVQELXFK.js → chunk-Z5TPS2BO.js} +1 -1
  31. package/dist/{chunk-FKETYVPP.js → chunk-ZANLDY2W.js} +87 -43
  32. package/dist/components/Badge.cjs +1346 -0
  33. package/dist/components/Badge.d.cts +10 -0
  34. package/dist/components/Badge.d.ts +10 -0
  35. package/dist/components/Badge.js +13 -0
  36. package/dist/components/Button.cjs +235 -107
  37. package/dist/components/Button.d.cts +3 -1
  38. package/dist/components/Button.d.ts +3 -1
  39. package/dist/components/Button.js +8 -7
  40. package/dist/components/ButtonRow.cjs +254 -110
  41. package/dist/components/ButtonRow.d.cts +6 -2
  42. package/dist/components/ButtonRow.d.ts +6 -2
  43. package/dist/components/ButtonRow.js +14 -11
  44. package/dist/components/CardPage.cjs +1921 -0
  45. package/dist/components/CardPage.d.cts +54 -0
  46. package/dist/components/CardPage.d.ts +54 -0
  47. package/dist/components/CardPage.js +33 -0
  48. package/dist/components/Collapsible.cjs +38 -54
  49. package/dist/components/Collapsible.js +4 -5
  50. package/dist/components/ContentTable.cjs +38 -54
  51. package/dist/components/ContentTable.js +3 -4
  52. package/dist/components/CopyToClipboardButton.cjs +161 -65
  53. package/dist/components/CopyToClipboardButton.js +6 -5
  54. package/dist/components/CurrencyAmount.cjs +38 -54
  55. package/dist/components/CurrencyAmount.js +3 -4
  56. package/dist/components/FileInput.cjs +1959 -0
  57. package/dist/components/FileInput.d.cts +21 -0
  58. package/dist/components/FileInput.d.ts +21 -0
  59. package/dist/components/FileInput.js +113 -0
  60. package/dist/components/GradientCardHeader.cjs +177 -0
  61. package/dist/components/GradientCardHeader.d.cts +10 -0
  62. package/dist/components/GradientCardHeader.d.ts +10 -0
  63. package/dist/components/GradientCardHeader.js +8 -0
  64. package/dist/components/Icon.cjs +38 -54
  65. package/dist/components/Icon.js +2 -3
  66. package/dist/components/LightTooltip.cjs +1428 -0
  67. package/dist/components/LightTooltip.d.cts +9 -0
  68. package/dist/components/LightTooltip.d.ts +9 -0
  69. package/dist/components/LightTooltip.js +12 -0
  70. package/dist/components/LightboxImage.cjs +1 -1
  71. package/dist/components/LightboxImage.js +2 -2
  72. package/dist/components/LightsparkProvider.cjs +41 -57
  73. package/dist/components/LightsparkProvider.js +3 -4
  74. package/dist/components/Loading.cjs +38 -54
  75. package/dist/components/Loading.js +3 -4
  76. package/dist/components/Modal.cjs +251 -145
  77. package/dist/components/Modal.js +12 -11
  78. package/dist/components/Pill.cjs +1717 -0
  79. package/dist/components/Pill.d.cts +19 -0
  80. package/dist/components/Pill.d.ts +19 -0
  81. package/dist/components/Pill.js +16 -0
  82. package/dist/components/ProgressBar.cjs +38 -56
  83. package/dist/components/ProgressBar.js +2 -3
  84. package/dist/components/SecretContainer.cjs +162 -66
  85. package/dist/components/SecretContainer.js +7 -6
  86. package/dist/components/TextIconAligner.cjs +38 -54
  87. package/dist/components/TextIconAligner.js +3 -4
  88. package/dist/components/UnstyledButton.cjs +38 -54
  89. package/dist/components/UnstyledButton.js +2 -3
  90. package/dist/components/documentation/AnchorLinkHeader.cjs +38 -56
  91. package/dist/components/documentation/AnchorLinkHeader.js +3 -4
  92. package/dist/components/documentation/index.cjs +38 -56
  93. package/dist/components/documentation/index.js +3 -4
  94. package/dist/components/index.cjs +1191 -358
  95. package/dist/components/index.d.cts +7 -1
  96. package/dist/components/index.d.ts +7 -1
  97. package/dist/components/index.js +63 -32
  98. package/dist/icons/ArrowCornerDownRight.cjs +49 -0
  99. package/dist/icons/ArrowCornerDownRight.d.cts +5 -0
  100. package/dist/icons/ArrowCornerDownRight.d.ts +5 -0
  101. package/dist/icons/ArrowCornerDownRight.js +30 -0
  102. package/dist/icons/Copy.cjs +4 -3
  103. package/dist/icons/Copy.js +4 -3
  104. package/dist/icons/Download.cjs +22 -11
  105. package/dist/icons/Download.js +23 -12
  106. package/dist/icons/Sort.cjs +48 -0
  107. package/dist/icons/Sort.d.cts +5 -0
  108. package/dist/icons/Sort.d.ts +5 -0
  109. package/dist/icons/Sort.js +29 -0
  110. package/dist/icons/Upload.cjs +22 -11
  111. package/dist/icons/Upload.js +23 -12
  112. package/dist/icons/index.cjs +38 -54
  113. package/dist/icons/index.js +2 -3
  114. package/dist/router.cjs +7 -3
  115. package/dist/router.js +1 -1
  116. package/dist/styles/common.cjs +38 -66
  117. package/dist/styles/common.d.cts +10 -11
  118. package/dist/styles/common.d.ts +10 -11
  119. package/dist/styles/common.js +1 -14
  120. package/dist/styles/fields.cjs +117 -61
  121. package/dist/styles/fields.d.cts +12 -5
  122. package/dist/styles/fields.d.ts +12 -5
  123. package/dist/styles/fields.js +28 -164
  124. package/dist/styles/fonts/typography/Article.cjs +38 -54
  125. package/dist/styles/fonts/typography/Article.js +5 -6
  126. package/dist/styles/fonts/typography/index.cjs +38 -54
  127. package/dist/styles/fonts/typography/index.js +5 -6
  128. package/dist/styles/global.cjs +41 -57
  129. package/dist/styles/global.js +2 -3
  130. package/dist/styles/type.cjs +38 -54
  131. package/dist/styles/type.js +8 -145
  132. package/dist/styles/utils.cjs +38 -54
  133. package/dist/styles/utils.js +2 -3
  134. package/dist/styles/z-index.cjs +1 -1
  135. package/dist/styles/z-index.d.cts +1 -1
  136. package/dist/styles/z-index.d.ts +1 -1
  137. package/dist/styles/z-index.js +1 -1
  138. package/dist/types/index.d.cts +2 -0
  139. package/dist/types/index.d.ts +2 -0
  140. package/dist/utils/toReactNodes.cjs +7 -3
  141. package/dist/utils/toReactNodes.js +2 -2
  142. package/package.json +10 -6
@@ -0,0 +1,21 @@
1
+ import * as _emotion_styled from '@emotion/styled';
2
+ import * as react from 'react';
3
+ import * as _emotion_react from '@emotion/react';
4
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
5
+
6
+ type FileInputProps = {
7
+ name: string;
8
+ onChange: (fileContent: string) => void;
9
+ filePurpose?: string;
10
+ onRemoveFile: () => void;
11
+ };
12
+ declare function FileInput({ name, onChange, filePurpose, onRemoveFile, }: FileInputProps): _emotion_react_jsx_runtime.JSX.Element;
13
+ type StyledFileInputProps = {
14
+ hasValidFileSet: boolean;
15
+ };
16
+ declare const StyledFileInput: _emotion_styled.StyledComponent<{
17
+ theme?: _emotion_react.Theme;
18
+ as?: react.ElementType<any>;
19
+ } & StyledFileInputProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
+
21
+ export { FileInput, StyledFileInput };
@@ -0,0 +1,21 @@
1
+ import * as _emotion_styled from '@emotion/styled';
2
+ import * as react from 'react';
3
+ import * as _emotion_react from '@emotion/react';
4
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
5
+
6
+ type FileInputProps = {
7
+ name: string;
8
+ onChange: (fileContent: string) => void;
9
+ filePurpose?: string;
10
+ onRemoveFile: () => void;
11
+ };
12
+ declare function FileInput({ name, onChange, filePurpose, onRemoveFile, }: FileInputProps): _emotion_react_jsx_runtime.JSX.Element;
13
+ type StyledFileInputProps = {
14
+ hasValidFileSet: boolean;
15
+ };
16
+ declare const StyledFileInput: _emotion_styled.StyledComponent<{
17
+ theme?: _emotion_react.Theme;
18
+ as?: react.ElementType<any>;
19
+ } & StyledFileInputProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
+
21
+ export { FileInput, StyledFileInput };
@@ -0,0 +1,113 @@
1
+ import {
2
+ InputSubtext,
3
+ inputBlockStyle
4
+ } from "../chunk-ATUH6SXK.js";
5
+ import {
6
+ Pill
7
+ } from "../chunk-A4FQBEYU.js";
8
+ import "../chunk-J4FJQ3FN.js";
9
+ import "../chunk-3GS5EFXV.js";
10
+ import "../chunk-55OQPFLF.js";
11
+ import "../chunk-FCZJILMW.js";
12
+ import {
13
+ Icon
14
+ } from "../chunk-RWIZ7Q74.js";
15
+ import "../chunk-LAMQKQU3.js";
16
+ import "../chunk-JK4BP73A.js";
17
+ import "../chunk-2VBDEO6M.js";
18
+ import "../chunk-E4EXM4SY.js";
19
+ import "../chunk-JSGRNWSB.js";
20
+ import "../chunk-CIGAQ47A.js";
21
+
22
+ // src/components/FileInput.tsx
23
+ import styled from "@emotion/styled";
24
+ import { Fragment, useRef, useState } from "react";
25
+ import { jsx, jsxs } from "@emotion/react/jsx-runtime";
26
+ function FileInput({
27
+ name,
28
+ onChange,
29
+ filePurpose = "",
30
+ onRemoveFile
31
+ }) {
32
+ const [fileName, setFileName] = useState();
33
+ const [fileContent, setFileContent] = useState();
34
+ const [fileErrorMsg, setFileErrorMsg] = useState();
35
+ const fileInputRef = useRef(null);
36
+ const handleChange = (changeEvent) => {
37
+ var _a;
38
+ const file = (_a = changeEvent.target.files) == null ? void 0 : _a[0];
39
+ if (!file) {
40
+ return;
41
+ }
42
+ const reader = new FileReader();
43
+ reader.onload = (readEvent) => {
44
+ var _a2;
45
+ let fileContent2 = (_a2 = readEvent == null ? void 0 : readEvent.target) == null ? void 0 : _a2.result;
46
+ setFileName(file.name);
47
+ if (!fileContent2) {
48
+ setFileErrorMsg("Unable to read file");
49
+ return;
50
+ }
51
+ if (typeof fileContent2 !== "string") {
52
+ fileContent2 = new TextDecoder().decode(fileContent2);
53
+ }
54
+ setFileErrorMsg(void 0);
55
+ setFileContent(fileContent2);
56
+ onChange(fileContent2);
57
+ };
58
+ reader.readAsText(file);
59
+ };
60
+ function handleRemoveFile() {
61
+ if (fileInputRef.current) {
62
+ fileInputRef.current.value = "";
63
+ }
64
+ setFileName(void 0);
65
+ setFileContent(void 0);
66
+ setFileErrorMsg(void 0);
67
+ onRemoveFile();
68
+ }
69
+ return /* @__PURE__ */ jsxs(StyledFileInputContainer, { children: [
70
+ /* @__PURE__ */ jsxs(StyledFileInput, { hasValidFileSet: Boolean(fileName && fileContent), children: [
71
+ /* @__PURE__ */ jsx("label", { htmlFor: name, children: fileName && fileContent ? /* @__PURE__ */ jsx(
72
+ Pill,
73
+ {
74
+ text: fileName,
75
+ cursor: "pointer",
76
+ onDeleteMouseDown: handleRemoveFile,
77
+ onDeleteFromKeyboard: handleRemoveFile
78
+ }
79
+ ) : /* @__PURE__ */ jsxs(Fragment, { children: [
80
+ /* @__PURE__ */ jsx(Icon, { name: "Upload", width: 26, tutorialStep: 6 }),
81
+ "Upload ",
82
+ filePurpose || "",
83
+ " file"
84
+ ] }) }),
85
+ /* @__PURE__ */ jsx(
86
+ "input",
87
+ {
88
+ type: "file",
89
+ id: name,
90
+ onChange: handleChange,
91
+ ref: fileInputRef
92
+ }
93
+ )
94
+ ] }),
95
+ fileErrorMsg ? /* @__PURE__ */ jsx(InputSubtext, { text: fileErrorMsg, hasError: true }) : null
96
+ ] });
97
+ }
98
+ var StyledFileInputContainer = styled.div``;
99
+ var StyledFileInput = styled.div`
100
+ input[type="file"] {
101
+ display: none;
102
+ }
103
+
104
+ label {
105
+ display: block;
106
+ cursor: pointer;
107
+ ${({ theme, hasValidFileSet }) => inputBlockStyle({ theme, hasValue: hasValidFileSet, hasError: false })}
108
+ }
109
+ `;
110
+ export {
111
+ FileInput,
112
+ StyledFileInput
113
+ };
@@ -0,0 +1,177 @@
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 __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/components/GradientCardHeader.tsx
31
+ var GradientCardHeader_exports = {};
32
+ __export(GradientCardHeader_exports, {
33
+ GradientCardHeader: () => GradientCardHeader
34
+ });
35
+ module.exports = __toCommonJS(GradientCardHeader_exports);
36
+ var import_styled = __toESM(require("@emotion/styled"), 1);
37
+
38
+ // src/styles/z-index.tsx
39
+ var z = {
40
+ card: 1,
41
+ fieldError: 1,
42
+ textInput: 2,
43
+ select: 3,
44
+ selectFocused: 4,
45
+ walletActionPreviewTopGradient: 1,
46
+ headerContainer: 99,
47
+ smBanner: 99,
48
+ headerTop: 100,
49
+ navMenu: 100,
50
+ smNavMenu: 100,
51
+ navAction: 101,
52
+ smNavAction: 100,
53
+ // keep under navDropdown
54
+ notificationBanner: 170,
55
+ qrReaderVideo: 180,
56
+ qrReaderOverlay: 181,
57
+ modalOverlay: 190,
58
+ modalContainer: 191,
59
+ dropdown: 192,
60
+ tooltip: 193,
61
+ toast: 200
62
+ };
63
+
64
+ // src/components/GradientCardHeader.tsx
65
+ var import_jsx_runtime = require("@emotion/react/jsx-runtime");
66
+ function GradientCardHeader(props) {
67
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardHeaderWrapper, { children: [
68
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Gradients, {}),
69
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
70
+ props.status,
71
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardHeaderTitle, { children: props.title })
72
+ ] }),
73
+ props.children
74
+ ] });
75
+ }
76
+ var CardHeaderWrapper = import_styled.default.div`
77
+ position: relative;
78
+ display: flex;
79
+ flex-direction: column;
80
+ justify-content: space-between;
81
+ padding: 40px 32px 24px 32px;
82
+ background-color: black;
83
+ color: white;
84
+ height: 264px;
85
+ `;
86
+ var CardHeaderTitle = import_styled.default.h3`
87
+ font-size: 21px;
88
+ font-weight: 800;
89
+ color: white;
90
+ margin: 0;
91
+ z-index: ${z.headerContainer} - 1;
92
+ position: relative;
93
+ `;
94
+ var Gradients = () => {
95
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0 }, children: [
96
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BackgroundGradients, {}),
97
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AccentGradients, {})
98
+ ] });
99
+ };
100
+ var BackgroundGradients = import_styled.default.div`
101
+ &:before,
102
+ &:after {
103
+ content: "";
104
+ position: absolute;
105
+ margin: auto;
106
+ filter: blur(38.5px);
107
+ }
108
+ &:before {
109
+ z-index: ${z.walletActionPreviewTopGradient};
110
+ right: -280px;
111
+ top: -340px;
112
+ width: 704px;
113
+ height: 619px;
114
+ background: radial-gradient(
115
+ 31.57% 32.06% at 50.1% 49.9%,
116
+ #0032ff 0%,
117
+ rgb(0 121 255 / 31%) 97%,
118
+ rgba(0, 102, 255, 0.05) 100%
119
+ );
120
+ }
121
+ &:after {
122
+ z-index: ${z.walletActionPreviewTopGradient - 1};
123
+ width: 636px;
124
+ height: 552px;
125
+ top: -400px;
126
+ right: -280px;
127
+ background: radial-gradient(
128
+ 31.57% 32.06% at 50.1% 49.9%,
129
+ rgb(255 114 104) 0%,
130
+ rgb(191 9 255 / 14%) 90%,
131
+ rgb(191 9 255 / 5%) 100%
132
+ );
133
+ }
134
+ `;
135
+ var AccentGradients = import_styled.default.div`
136
+ position: absolute;
137
+ top: 0;
138
+ left: 0;
139
+ width: 100%;
140
+ height: 100%;
141
+ right: 0;
142
+ bottom: 0;
143
+ z-index: ${z.walletActionPreviewTopGradient - 1};
144
+ &:before,
145
+ &:after {
146
+ content: "";
147
+ position: absolute;
148
+ margin: auto;
149
+ filter: blur(38.5px);
150
+ }
151
+ &:before {
152
+ right: -70px;
153
+ top: -100px;
154
+ width: 169px;
155
+ height: 323px;
156
+ background: radial-gradient(
157
+ 31.57% 32.06% at 50.1% 49.9%,
158
+ #ff8c28,
159
+ rgba(191, 9, 255, 0.1) 100%
160
+ );
161
+ }
162
+ &:after {
163
+ right: -22px;
164
+ top: -140px;
165
+ width: 225px;
166
+ height: 190px;
167
+ background: radial-gradient(
168
+ 41.57% 62.06% at 53.1% 49.9%,
169
+ rgb(255 119 0),
170
+ rgb(255 106 9 / 55%) 100%
171
+ );
172
+ }
173
+ `;
174
+ // Annotate the CommonJS export names for ESM import in node:
175
+ 0 && (module.exports = {
176
+ GradientCardHeader
177
+ });
@@ -0,0 +1,10 @@
1
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
2
+
3
+ type GradientCardHeaderProps = {
4
+ children: React.ReactNode;
5
+ status?: React.ReactNode;
6
+ title?: string;
7
+ };
8
+ declare function GradientCardHeader(props: GradientCardHeaderProps): _emotion_react_jsx_runtime.JSX.Element;
9
+
10
+ export { GradientCardHeader };
@@ -0,0 +1,10 @@
1
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
2
+
3
+ type GradientCardHeaderProps = {
4
+ children: React.ReactNode;
5
+ status?: React.ReactNode;
6
+ title?: string;
7
+ };
8
+ declare function GradientCardHeader(props: GradientCardHeaderProps): _emotion_react_jsx_runtime.JSX.Element;
9
+
10
+ export { GradientCardHeader };
@@ -0,0 +1,8 @@
1
+ import {
2
+ GradientCardHeader
3
+ } from "../chunk-IPAXAP6K.js";
4
+ import "../chunk-55OQPFLF.js";
5
+ import "../chunk-CIGAQ47A.js";
6
+ export {
7
+ GradientCardHeader
8
+ };
@@ -77,7 +77,6 @@ var import_react5 = require("react");
77
77
  // src/styles/common.tsx
78
78
  var import_react4 = require("@emotion/react");
79
79
  var import_styled = __toESM(require("@emotion/styled"), 1);
80
- var import_react_tooltip = require("react-tooltip");
81
80
 
82
81
  // src/styles/breakpoints.tsx
83
82
  var import_react = require("@emotion/react");
@@ -1283,59 +1282,47 @@ function hexToRGB(hex) {
1283
1282
  ] : [0, 0, 0];
1284
1283
  }
1285
1284
 
1286
- // src/styles/z-index.tsx
1287
- var z = {
1288
- card: 1,
1289
- fieldError: 1,
1290
- textInput: 2,
1291
- select: 3,
1292
- selectFocused: 4,
1293
- walletActionPreviewTopGradient: 1,
1294
- headerContainer: 99,
1295
- smBanner: 99,
1296
- headerTop: 100,
1297
- navMenu: 100,
1298
- smNavMenu: 100,
1299
- navAction: 101,
1300
- smNavAction: 100,
1301
- // keep under navDropdown
1302
- tooltip: 160,
1303
- notificationBanner: 170,
1304
- qrReaderVideo: 180,
1305
- qrReaderOverlay: 181,
1306
- modalOverlay: 190,
1307
- modalContainer: 191,
1308
- dropdown: 192,
1309
- toast: 200
1310
- };
1311
-
1312
1285
  // src/styles/common.tsx
1313
1286
  var rootFontSizePx = 12;
1314
1287
  var rootFontSizeRems = rootFontSizePx / 16;
1315
- var standardContentInsetPx = 32;
1316
- var standardContentInsetMdPx = 24;
1317
- var standardContentInsetSmPx = 16;
1318
- var smContentInset = import_react4.css`
1319
- ${bp.sm(`
1320
- margin-left: auto;
1321
- margin-right: auto;
1322
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1323
- `)}
1324
- `;
1325
- var minSmMaxLgContentInset = import_react4.css`
1326
- ${bp.minSmMaxLg(`
1327
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1328
- `)}
1329
- `;
1330
- var standardContentInset = import_react4.css`
1331
- margin-left: auto;
1332
- margin-right: auto;
1333
- width: calc(100% - ${standardContentInsetPx * 2}px);
1334
- max-width: 1280px;
1335
-
1336
- ${smContentInset}
1337
- ${minSmMaxLgContentInset}
1338
- `;
1288
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1289
+ const smCSS = import_react4.css`
1290
+ ${bp.sm(`
1291
+ margin-left: auto;
1292
+ margin-right: auto;
1293
+ width: calc(100% - ${smPx * 2}px);
1294
+ `)}
1295
+ `;
1296
+ const minSmMaxLgCSS = import_react4.css`
1297
+ ${bp.minSmMaxLg(`
1298
+ margin-left: auto;
1299
+ margin-right: auto;
1300
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1301
+ `)}
1302
+ `;
1303
+ const lgCSS = import_react4.css`
1304
+ ${bp.lg(`
1305
+ margin-left: auto;
1306
+ margin-right: auto;
1307
+ width: calc(100% - ${lgPx * 2}px);
1308
+ max-width: 1280px;
1309
+ `)}
1310
+ `;
1311
+ return {
1312
+ smPx,
1313
+ minSmMaxLgPx,
1314
+ lgPx,
1315
+ smCSS,
1316
+ minSmMaxLgCSS,
1317
+ lgCSS,
1318
+ css: import_react4.css`
1319
+ ${lgCSS}
1320
+ ${smCSS}
1321
+ ${minSmMaxLgCSS}
1322
+ `
1323
+ };
1324
+ }
1325
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1339
1326
  var standardCardShadow = import_react4.css`
1340
1327
  box-shadow:
1341
1328
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1355,9 +1342,6 @@ var Subtext = import_styled.default.div`
1355
1342
  var darkGradientBg = import_react4.css`
1356
1343
  background: ${darkGradient};
1357
1344
  `;
1358
- var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
1359
- z-index: ${z.modalOverlay};
1360
- `;
1361
1345
 
1362
1346
  // src/utils/strings.tsx
1363
1347
  function isString(str) {
@@ -1,13 +1,12 @@
1
1
  import {
2
2
  Icon,
3
3
  IconContainer
4
- } from "../chunk-NZJCJJH5.js";
4
+ } from "../chunk-RWIZ7Q74.js";
5
5
  import "../chunk-LAMQKQU3.js";
6
- import "../chunk-RFGKH3R6.js";
6
+ import "../chunk-JK4BP73A.js";
7
7
  import "../chunk-2VBDEO6M.js";
8
8
  import "../chunk-E4EXM4SY.js";
9
9
  import "../chunk-JSGRNWSB.js";
10
- import "../chunk-CLU2FRJZ.js";
11
10
  import "../chunk-CIGAQ47A.js";
12
11
  export {
13
12
  Icon,