@tangle-network/sandbox-ui 0.129.0 → 0.129.1
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.
- package/dist/pages.js +13 -9
- package/package.json +1 -1
package/dist/pages.js
CHANGED
|
@@ -21,6 +21,13 @@ const C = {
|
|
|
21
21
|
inkHover: "hsl(var(--foreground, 222 47% 11%) / 0.88)",
|
|
22
22
|
onInk: "hsl(var(--background, 0 0% 100%))"
|
|
23
23
|
};
|
|
24
|
+
const CONTROL = {
|
|
25
|
+
boxSizing: "border-box",
|
|
26
|
+
height: "var(--control-height-lg, 2.75rem)",
|
|
27
|
+
borderRadius: "var(--radius-lg, 10px)",
|
|
28
|
+
fontSize: "var(--control-text-lg, 1rem)",
|
|
29
|
+
lineHeight: 1.5
|
|
30
|
+
};
|
|
24
31
|
function GithubIcon() {
|
|
25
32
|
return /* @__PURE__ */ jsx("svg", {
|
|
26
33
|
width: "18",
|
|
@@ -98,24 +105,22 @@ function AuthPage({ product, tagline, mode = "signin", tangleAuthUrl = "/auth/ta
|
|
|
98
105
|
justifyContent: "center",
|
|
99
106
|
gap: 10,
|
|
100
107
|
width: "100%",
|
|
101
|
-
padding: "
|
|
102
|
-
|
|
108
|
+
padding: "0 16px",
|
|
109
|
+
...CONTROL,
|
|
103
110
|
border: `1px solid ${C.border}`,
|
|
104
111
|
background: "transparent",
|
|
105
112
|
color: C.text,
|
|
106
|
-
fontSize: 14,
|
|
107
113
|
fontWeight: 500,
|
|
108
114
|
cursor: "pointer",
|
|
109
115
|
transition: "background 120ms"
|
|
110
116
|
};
|
|
111
117
|
const inputStyle = {
|
|
112
118
|
width: "100%",
|
|
113
|
-
padding: "
|
|
114
|
-
|
|
119
|
+
padding: "0 16px",
|
|
120
|
+
...CONTROL,
|
|
115
121
|
border: `1px solid ${C.border}`,
|
|
116
122
|
background: C.inputBg,
|
|
117
123
|
color: C.text,
|
|
118
|
-
fontSize: 14,
|
|
119
124
|
outline: "none"
|
|
120
125
|
};
|
|
121
126
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -164,12 +169,11 @@ function AuthPage({ product, tagline, mode = "signin", tangleAuthUrl = "/auth/ta
|
|
|
164
169
|
justifyContent: "center",
|
|
165
170
|
gap: 10,
|
|
166
171
|
width: "100%",
|
|
167
|
-
padding: "
|
|
168
|
-
|
|
172
|
+
padding: "0 16px",
|
|
173
|
+
...CONTROL,
|
|
169
174
|
background: buttonBg,
|
|
170
175
|
border: "1px solid transparent",
|
|
171
176
|
color: buttonFg,
|
|
172
|
-
fontSize: 14,
|
|
173
177
|
fontWeight: 600,
|
|
174
178
|
textDecoration: "none",
|
|
175
179
|
transition: "background 120ms"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.129.
|
|
3
|
+
"version": "0.129.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
6
6
|
"repository": {
|