@vibes.diy/base 14.3.355 → 14.3.357

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.
@@ -339,7 +339,7 @@ function CreditsPill({ account, nav }) {
339
339
  const checkout = action.checkout;
340
340
  if (checkout !== undefined) {
341
341
  const busy = checkout.busy === true;
342
- const member = account.credits.plan === "plus" || account.credits.plan === "pro";
342
+ const member = account.credits.plan !== null && account.credits.plan !== "free";
343
343
  return (React.createElement(React.Fragment, null,
344
344
  React.createElement(ActionPill, { label: busy ? (checkout.working ?? checkout.label) : checkout.label, busy: busy, disabled: busy, onClick: checkout.start, solo: checkout.notice === undefined, caption: checkout.notice }),
345
345
  (account.plus ?? null) === null || busy ? null : (React.createElement(TextButton, { label: member ? ACCOUNT_COPY.moreCreditWays : ACCOUNT_COPY.plusDetails, onClick: () => nav.onDrill({ drill: "plus" }) }))));
@@ -22,7 +22,7 @@ export declare function fixtureViewer(input: {
22
22
  }): ViewerSlice;
23
23
  export declare function fixtureAccount(input: {
24
24
  readonly handles: HandleSetName;
25
- readonly plan?: "free" | "plus" | "pro";
25
+ readonly plan?: "free" | "plus" | "pro" | "growth" | "business" | "enterprise";
26
26
  readonly activeHandle?: string;
27
27
  readonly over?: Partial<AccountSlice>;
28
28
  }): AccountSlice;
@@ -44,7 +44,7 @@ export interface AccountSlice {
44
44
  };
45
45
  onChangePicture(): void;
46
46
  credits: {
47
- plan: "free" | "plus" | "pro" | null;
47
+ plan: "free" | "plus" | "pro" | "growth" | "business" | "enterprise" | null;
48
48
  remaining: number | null;
49
49
  included: number | null;
50
50
  monthly?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/base",
3
- "version": "14.3.355",
3
+ "version": "14.3.357",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -10,10 +10,10 @@
10
10
  "dependencies": {
11
11
  "@adviser/cement": "~0.5.37",
12
12
  "@emotion/css": "~11.13.5",
13
- "@vibes.diy/api-types": "14.3.355",
14
- "@vibes.diy/use-vibes-types": "14.3.355",
15
- "@vibes.diy/vibe-runtime": "14.3.355",
16
- "@vibes.diy/vibe-types": "14.3.355",
13
+ "@vibes.diy/api-types": "14.3.357",
14
+ "@vibes.diy/use-vibes-types": "14.3.357",
15
+ "@vibes.diy/vibe-runtime": "14.3.357",
16
+ "@vibes.diy/vibe-types": "14.3.357",
17
17
  "arktype": "~2.2.9",
18
18
  "officeparser": "~8.7.1",
19
19
  "qrcode-generator": "~2.0.4",