@lets-ship/site 3.6.1 → 3.7.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.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The names of the block icons, with no icon code: a program that checks content (a block
3
+ * contract, a lint) reads the names here, and only a view loads the icons (\`icons.tsx\`).
4
+ */
5
+ export declare const BLOCK_ICON_NAMES: readonly ["app-store", "arrow-left", "arrow-right", "bell", "calendar", "chart-line", "chat", "check-circle", "clock", "close", "cloud", "code", "credit-card", "database", "envelope", "gear", "github", "google-play", "globe", "heart", "home", "instagram", "leaf", "lightbulb", "lightning", "linkedin", "list", "lock", "map-pin", "package", "phone", "plugs", "rocket", "search", "shield-check", "sliders", "sparkle", "star", "target", "trend-up", "truck", "users", "wrench", "x"];
6
+ export type BlockIconName = (typeof BLOCK_ICON_NAMES)[number];
7
+ //# sourceMappingURL=icon-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-names.d.ts","sourceRoot":"","sources":["../../../src/website/blocks/icon-names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,gBAAgB,geA6CnB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * The names of the block icons, with no icon code: a program that checks content (a block
3
+ * contract, a lint) reads the names here, and only a view loads the icons (\`icons.tsx\`).
4
+ */
5
+ export const BLOCK_ICON_NAMES = [
6
+ "app-store",
7
+ "arrow-left",
8
+ "arrow-right",
9
+ "bell",
10
+ "calendar",
11
+ "chart-line",
12
+ "chat",
13
+ "check-circle",
14
+ "clock",
15
+ "close",
16
+ "cloud",
17
+ "code",
18
+ "credit-card",
19
+ "database",
20
+ "envelope",
21
+ "gear",
22
+ "github",
23
+ "google-play",
24
+ "globe",
25
+ "heart",
26
+ "home",
27
+ "instagram",
28
+ "leaf",
29
+ "lightbulb",
30
+ "lightning",
31
+ "linkedin",
32
+ "list",
33
+ "lock",
34
+ "map-pin",
35
+ "package",
36
+ "phone",
37
+ "plugs",
38
+ "rocket",
39
+ "search",
40
+ "shield-check",
41
+ "sliders",
42
+ "sparkle",
43
+ "star",
44
+ "target",
45
+ "trend-up",
46
+ "truck",
47
+ "users",
48
+ "wrench",
49
+ "x",
50
+ ];
51
+ //# sourceMappingURL=icon-names.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-names.js","sourceRoot":"","sources":["../../../src/website/blocks/icon-names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,WAAW;IACX,YAAY;IACZ,aAAa;IACb,MAAM;IACN,UAAU;IACV,YAAY;IACZ,MAAM;IACN,cAAc;IACd,OAAO;IACP,OAAO;IACP,OAAO;IACP,MAAM;IACN,aAAa;IACb,UAAU;IACV,UAAU;IACV,MAAM;IACN,QAAQ;IACR,aAAa;IACb,OAAO;IACP,OAAO;IACP,MAAM;IACN,WAAW;IACX,MAAM;IACN,WAAW;IACX,WAAW;IACX,UAAU;IACV,MAAM;IACN,MAAM;IACN,SAAS;IACT,SAAS;IACT,OAAO;IACP,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,cAAc;IACd,SAAS;IACT,SAAS;IACT,MAAM;IACN,QAAQ;IACR,UAAU;IACV,OAAO;IACP,OAAO;IACP,QAAQ;IACR,GAAG;CACM,CAAC"}
@@ -5,6 +5,7 @@
5
5
  */
6
6
  import type { Icon } from "@phosphor-icons/react/dist/lib/types";
7
7
  import type { ReactElement } from "react";
8
+ import { type BlockIconName as IconName } from "./icon-names.js";
8
9
  export declare const BLOCK_ICONS: {
9
10
  readonly "app-store": Icon;
10
11
  readonly "arrow-left": Icon;
@@ -51,8 +52,9 @@ export declare const BLOCK_ICONS: {
51
52
  readonly wrench: Icon;
52
53
  readonly x: Icon;
53
54
  };
54
- export type BlockIconName = keyof typeof BLOCK_ICONS;
55
- export declare const BLOCK_ICON_NAMES: BlockIconName[];
55
+ /** The names live in `icon-names.ts`, which loads no icon; this module still exports them for npm consumers. */
56
+ export type BlockIconName = IconName;
57
+ export declare const BLOCK_ICON_NAMES: readonly BlockIconName[];
56
58
  /** An icon name the set does not have. */
57
59
  export declare class BlockIconError extends Error {
58
60
  constructor(name: string);
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/website/blocks/icons.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AA+CjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C2B,CAAC;AAEpD,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,WAAW,CAAC;AAErD,eAAO,MAAM,gBAAgB,EAA+B,aAAa,EAAE,CAAC;AAE5E,0CAA0C;AAC1C,qBAAa,cAAe,SAAQ,KAAK;gBAC5B,IAAI,EAAE,MAAM;CAIxB;AAID,0FAA0F;AAC1F,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,YAAY,CAInH"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/website/blocks/icons.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AA+CjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAkC,KAAK,aAAa,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEjG,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C6B,CAAC;AAEtD,gHAAgH;AAChH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;AACrC,eAAO,MAAM,gBAAgB,EAAE,SAAS,aAAa,EAAe,CAAC;AAErE,0CAA0C;AAC1C,qBAAa,cAAe,SAAQ,KAAK;gBAC5B,IAAI,EAAE,MAAM;CAIxB;AAID,0FAA0F;AAC1F,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,YAAY,CAInH"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { AppStoreLogo, ArrowLeft, ArrowRight, Bell, Calendar, ChartLine, ChatCircle, CheckCircle, Clock, Cloud, Code, CreditCard, Database, EnvelopeSimple, Gear, GithubLogo, Globe, GooglePlayLogo, Heart, House, InstagramLogo, Leaf, Lightbulb, Lightning, LinkedinLogo, List, Lock, MagnifyingGlass, MapPin, Package, Phone, Plugs, Rocket, ShieldCheck, Sliders, Sparkle, Star, Target, TrendUp, Truck, Users, Wrench, X, XLogo, } from "@phosphor-icons/react/dist/ssr";
3
+ import { BLOCK_ICON_NAMES as ICON_NAMES } from "./icon-names.js";
3
4
  export const BLOCK_ICONS = {
4
5
  "app-store": AppStoreLogo,
5
6
  "arrow-left": ArrowLeft,
@@ -46,7 +47,7 @@ export const BLOCK_ICONS = {
46
47
  wrench: Wrench,
47
48
  x: XLogo,
48
49
  };
49
- export const BLOCK_ICON_NAMES = Object.keys(BLOCK_ICONS);
50
+ export const BLOCK_ICON_NAMES = ICON_NAMES;
50
51
  /** An icon name the set does not have. */
51
52
  export class BlockIconError extends Error {
52
53
  constructor(name) {
@@ -1 +1 @@
1
- {"version":3,"file":"icons.js","sourceRoot":"","sources":["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C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-ship/site",
3
- "version": "3.6.1",
3
+ "version": "3.7.0",
4
4
  "type": "module",
5
5
  "description": "The white-label site engine of SHIP Sites: a website, blog and docs on Next.js and fumadocs, themed entirely by a brand DNA.",
6
6
  "license": "MIT",