glitchgrab 1.61.2 → 1.62.0
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/README.md +20 -0
- package/dist/index.js +30 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -26
- package/dist/index.mjs.map +1 -1
- package/dist/server.d.mts +124 -1
- package/dist/server.d.ts +124 -1
- package/dist/server.js +132 -0
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +127 -0
- package/dist/server.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3968,33 +3968,37 @@ function AssistSheet({
|
|
|
3968
3968
|
gap: "6px",
|
|
3969
3969
|
paddingLeft: "32px"
|
|
3970
3970
|
},
|
|
3971
|
-
children: options.map((option) =>
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3971
|
+
children: options.map((option) => {
|
|
3972
|
+
const primary = option === CONFIRM_OPTION;
|
|
3973
|
+
return /* @__PURE__ */ jsx3(
|
|
3974
|
+
"button",
|
|
3975
|
+
{
|
|
3976
|
+
type: "button",
|
|
3977
|
+
"data-gg-chip": "",
|
|
3978
|
+
"data-gg-option": "",
|
|
3979
|
+
onClick: () => {
|
|
3980
|
+
logEvent("option_tap", option);
|
|
3981
|
+
send(option, option === CONFIRM_OPTION);
|
|
3982
|
+
},
|
|
3983
|
+
style: {
|
|
3984
|
+
border: primary ? "1px solid transparent" : `1px solid ${t.inputBorder}`,
|
|
3985
|
+
background: primary ? t.accent : "transparent",
|
|
3986
|
+
color: primary ? t.accentText : t.textMuted,
|
|
3987
|
+
fontWeight: primary ? 600 : void 0,
|
|
3988
|
+
borderRadius: "999px",
|
|
3989
|
+
// Same 8px as the picker chips — one tap target size in
|
|
3990
|
+
// this sheet, not two.
|
|
3991
|
+
padding: "8px 12px",
|
|
3992
|
+
fontSize: "12px",
|
|
3993
|
+
fontFamily: "inherit",
|
|
3994
|
+
cursor: "pointer",
|
|
3995
|
+
textAlign: "left"
|
|
3996
|
+
},
|
|
3997
|
+
children: option
|
|
3993
3998
|
},
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
))
|
|
3999
|
+
option
|
|
4000
|
+
);
|
|
4001
|
+
})
|
|
3998
4002
|
}
|
|
3999
4003
|
),
|
|
4000
4004
|
busy && /* @__PURE__ */ jsxs3("div", { style: { display: "flex", gap: "8px", minWidth: 0 }, role: "status", "aria-label": "Thinking", children: [
|