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/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) => /* @__PURE__ */ jsx3(
3972
- "button",
3973
- {
3974
- type: "button",
3975
- "data-gg-chip": "",
3976
- "data-gg-option": "",
3977
- onClick: () => {
3978
- logEvent("option_tap", option);
3979
- send(option, option === CONFIRM_OPTION);
3980
- },
3981
- style: {
3982
- border: `1px solid ${t.inputBorder}`,
3983
- background: "transparent",
3984
- color: t.textMuted,
3985
- borderRadius: "999px",
3986
- // Same 8px as the picker chips — one tap target size in
3987
- // this sheet, not two.
3988
- padding: "8px 12px",
3989
- fontSize: "12px",
3990
- fontFamily: "inherit",
3991
- cursor: "pointer",
3992
- textAlign: "left"
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
- children: option
3995
- },
3996
- option
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: [