@glimstone/solid 4.5.0 → 4.5.2

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.
@@ -66,6 +66,8 @@ export interface InfoHelpCardProps {
66
66
  hint?: string;
67
67
  report: string;
68
68
  repoButton: string;
69
+ /** "Discord". Only drawn together with `discordUrl`. */
70
+ discordButton?: string;
69
71
  mailButton: string;
70
72
  mailSubject: string;
71
73
  /** "Bug report". Only drawn together with `onBugReport`. */
@@ -81,6 +83,11 @@ export interface InfoHelpCardProps {
81
83
  /** The mark on the repository button, passed for the same reason as the
82
84
  * give buttons' marks. */
83
85
  repoGlyph?: JSX.Element;
86
+ /** An invite to the app's Discord server, for an app that takes its
87
+ * questions there rather than by mail. */
88
+ discordUrl?: string;
89
+ /** `IconDiscord`, Discord's own mark. */
90
+ discordGlyph?: JSX.Element;
84
91
  /** The workshop's own mailbox. Omit it and the card offers no mail route. */
85
92
  mailAddress?: string;
86
93
  /** The envelope, `MAIL_SVG` from appMarks.ts, which opens under the pointer. */
@@ -98,7 +105,7 @@ export interface InfoHelpCardProps {
98
105
  openUrl?: OpenUrl;
99
106
  hueIndex?: number;
100
107
  }
101
- /** The second card: a sentence inviting a report, then GitHub, Email, the manual and the bug report. */
108
+ /** The second card: a sentence inviting a report, then GitHub, Discord, Email, the manual and the bug report. */
102
109
  export declare function InfoHelpCard(props: InfoHelpCardProps): JSX.Element;
103
110
  export interface InfoTileProps {
104
111
  version: Omit<InfoVersionCardProps, "hueIndex">;
@@ -129,6 +136,7 @@ export declare function AboutCard(props: {
129
136
  paypalButton?: string;
130
137
  report: string;
131
138
  repoButton: string;
139
+ discordButton?: string;
132
140
  mailButton: string;
133
141
  mailSubject: string;
134
142
  version: string;
@@ -147,6 +155,8 @@ export declare function AboutCard(props: {
147
155
  paypalGlyph?: JSX.Element;
148
156
  onPaypal?: () => void;
149
157
  onCrypto?: () => void;
158
+ discordUrl?: string;
159
+ discordGlyph?: JSX.Element;
150
160
  mailAddress?: string;
151
161
  mailGlyph?: JSX.Element;
152
162
  openUrl?: (url: string) => void;
package/dist/index.d.ts CHANGED
@@ -62,4 +62,4 @@ export * from "./useTipBubble.tsx";
62
62
  export * from "./Window.tsx";
63
63
  export * from "./WindowBar.tsx";
64
64
  export type { ToastAction } from "@glimstone/core";
65
- export { GLIMSTONE_VERSION } from "@glimstone/core";
65
+ export { GLIMSTONE_RELEASE_URL, GLIMSTONE_REPO, GLIMSTONE_VERSION } from "@glimstone/core";