@getvitops/utils 1.0.0 → 2.0.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.d.mts CHANGED
@@ -225,6 +225,16 @@ declare function organizationGraph(options: OrganizationGraphOptions): Record<st
225
225
  * and map to the 'fa7' key. Other sets map to themselves.
226
226
  */
227
227
  declare const prefixToMapKey: Record<string, string>;
228
+ /**
229
+ * Sets whose weights are a name SUFFIX inside one collection rather than
230
+ * separate prefixed collections. Phosphor is the case that forced this:
231
+ * `ph:lightning`, `ph:lightning-bold`, `ph:lightning-fill` all live in `ph`,
232
+ * whereas Font Awesome splits the same idea across `fa7-solid`/`fa7-regular`/…
233
+ * (which is what `prefixToMapKey` collapses).
234
+ *
235
+ * The first entry is the unsuffixed default — asking for it adds nothing.
236
+ */
237
+ declare const WEIGHTED_SETS: Record<string, readonly string[]>;
228
238
  declare const iconMap: {
229
239
  readonly fa7: {
230
240
  readonly menu: "bars";
@@ -232,12 +242,14 @@ declare const iconMap: {
232
242
  readonly home: "home";
233
243
  readonly settings: "gear";
234
244
  readonly search: "magnifying-glass";
235
- readonly 'expand-more': "chevron-down";
236
- readonly 'expand-less': "chevron-up";
237
- readonly 'chevron-right': "chevron-right";
238
245
  readonly 'chevron-left': "chevron-left";
239
- readonly 'arrow-back': "arrow-left";
240
- readonly 'arrow-forward': "arrow-right";
246
+ readonly 'chevron-right': "chevron-right";
247
+ readonly 'chevron-up': "chevron-up";
248
+ readonly 'chevron-down': "chevron-down";
249
+ readonly 'arrow-left': "arrow-left";
250
+ readonly 'arrow-right': "arrow-right";
251
+ readonly 'arrow-up': "arrow-up";
252
+ readonly 'arrow-down': "arrow-down";
241
253
  readonly 'external-link': "arrow-up-right-from-square";
242
254
  readonly 'more-vert': "ellipsis-vertical";
243
255
  readonly 'more-horiz': "ellipsis";
@@ -255,8 +267,8 @@ declare const iconMap: {
255
267
  readonly bookmark: "bookmark";
256
268
  readonly favorite: "heart";
257
269
  readonly star: "star";
258
- readonly login: "login";
259
- readonly logout: "logout";
270
+ readonly login: "right-to-bracket";
271
+ readonly logout: "right-from-bracket";
260
272
  readonly email: "envelope";
261
273
  readonly phone: "phone";
262
274
  readonly location: "location-dot";
@@ -275,7 +287,7 @@ declare const iconMap: {
275
287
  readonly image: "image";
276
288
  readonly export: "file-export";
277
289
  readonly import: "file-import";
278
- readonly backup: "backup";
290
+ readonly backup: "cloud-arrow-up";
279
291
  readonly compress: "compress";
280
292
  readonly check: "check";
281
293
  readonly error: "circle-exclamation";
@@ -310,6 +322,7 @@ declare const iconMap: {
310
322
  readonly code: "code";
311
323
  readonly palette: "palette";
312
324
  readonly lightbulb: "lightbulb";
325
+ readonly lightning: "bolt";
313
326
  };
314
327
  readonly 'fa7-brands': {
315
328
  readonly facebook: "facebook";
@@ -400,12 +413,14 @@ declare const iconMap: {
400
413
  readonly home: "home";
401
414
  readonly settings: "settings";
402
415
  readonly search: "search";
403
- readonly 'expand-more': "expand-more";
404
- readonly 'expand-less': "expand-less";
405
- readonly 'chevron-right': "chevron-right";
406
416
  readonly 'chevron-left': "chevron-left";
407
- readonly 'arrow-back': "arrow-back";
408
- readonly 'arrow-forward': "arrow-forward";
417
+ readonly 'chevron-right': "chevron-right";
418
+ readonly 'chevron-up': "expand-less";
419
+ readonly 'chevron-down': "expand-more";
420
+ readonly 'arrow-left': "arrow-back";
421
+ readonly 'arrow-right': "arrow-forward";
422
+ readonly 'arrow-up': "arrow-upward";
423
+ readonly 'arrow-down': "arrow-downward";
409
424
  readonly 'external-link': "open-in-new";
410
425
  readonly 'more-vert': "more-vert";
411
426
  readonly 'more-horiz': "more-horiz";
@@ -478,6 +493,7 @@ declare const iconMap: {
478
493
  readonly code: "code";
479
494
  readonly palette: "palette";
480
495
  readonly lightbulb: "lightbulb";
496
+ readonly lightning: "bolt";
481
497
  };
482
498
  readonly lucide: {
483
499
  readonly menu: "menu";
@@ -485,12 +501,14 @@ declare const iconMap: {
485
501
  readonly home: "house";
486
502
  readonly settings: "settings";
487
503
  readonly search: "search";
488
- readonly 'expand-more': "chevron-down";
489
- readonly 'expand-less': "chevron-up";
490
- readonly 'chevron-right': "chevron-right";
491
504
  readonly 'chevron-left': "chevron-left";
492
- readonly 'arrow-back': "arrow-left";
493
- readonly 'arrow-forward': "arrow-right";
505
+ readonly 'chevron-right': "chevron-right";
506
+ readonly 'chevron-up': "chevron-up";
507
+ readonly 'chevron-down': "chevron-down";
508
+ readonly 'arrow-left': "arrow-left";
509
+ readonly 'arrow-right': "arrow-right";
510
+ readonly 'arrow-up': "arrow-up";
511
+ readonly 'arrow-down': "arrow-down";
494
512
  readonly 'external-link': "external-link";
495
513
  readonly 'more-vert': "ellipsis-vertical";
496
514
  readonly 'more-horiz': "ellipsis";
@@ -563,6 +581,95 @@ declare const iconMap: {
563
581
  readonly code: "code";
564
582
  readonly palette: "palette";
565
583
  readonly lightbulb: "lightbulb";
584
+ readonly lightning: "zap";
585
+ };
586
+ readonly ph: {
587
+ readonly menu: "list";
588
+ readonly close: "x";
589
+ readonly home: "house";
590
+ readonly settings: "gear";
591
+ readonly search: "magnifying-glass";
592
+ readonly 'chevron-left': "caret-left";
593
+ readonly 'chevron-right': "caret-right";
594
+ readonly 'chevron-up': "caret-up";
595
+ readonly 'chevron-down': "caret-down";
596
+ readonly 'arrow-left': "arrow-left";
597
+ readonly 'arrow-right': "arrow-right";
598
+ readonly 'arrow-up': "arrow-up";
599
+ readonly 'arrow-down': "arrow-down";
600
+ readonly 'external-link': "arrow-square-out";
601
+ readonly 'more-vert': "dots-three-vertical";
602
+ readonly 'more-horiz': "dots-three";
603
+ readonly add: "plus";
604
+ readonly remove: "minus";
605
+ readonly delete: "trash";
606
+ readonly edit: "pencil";
607
+ readonly save: "floppy-disk";
608
+ readonly copy: "copy";
609
+ readonly paste: "clipboard";
610
+ readonly attach: "paperclip";
611
+ readonly upload: "upload";
612
+ readonly download: "download";
613
+ readonly share: "share";
614
+ readonly bookmark: "bookmark";
615
+ readonly favorite: "heart";
616
+ readonly star: "star";
617
+ readonly login: "sign-in";
618
+ readonly logout: "sign-out";
619
+ readonly email: "envelope";
620
+ readonly phone: "phone";
621
+ readonly location: "map-pin";
622
+ readonly globe: "globe";
623
+ readonly link: "link";
624
+ readonly clock: "clock";
625
+ readonly calendar: "calendar";
626
+ readonly schedule: "calendar-dots";
627
+ readonly person: "person";
628
+ readonly group: "users";
629
+ readonly file: "file";
630
+ readonly 'file-add': "file-plus";
631
+ readonly folder: "folder";
632
+ readonly 'folder-open': "folder-open";
633
+ readonly 'folder-add': "folder-plus";
634
+ readonly image: "image";
635
+ readonly export: "upload-simple";
636
+ readonly import: "download-simple";
637
+ readonly backup: "cloud-arrow-up";
638
+ readonly compress: "arrows-in";
639
+ readonly check: "check";
640
+ readonly error: "warning-circle";
641
+ readonly warning: "warning";
642
+ readonly info: "info";
643
+ readonly help: "question";
644
+ readonly cart: "shopping-cart";
645
+ readonly tag: "tag";
646
+ readonly 'credit-card': "credit-card";
647
+ readonly receipt: "receipt";
648
+ readonly leaf: "leaf";
649
+ readonly tree: "tree";
650
+ readonly seedling: "plant";
651
+ readonly trowel: "shovel";
652
+ readonly droplet: "drop";
653
+ readonly snowflake: "snowflake";
654
+ readonly sun: "sun";
655
+ readonly cloud: "cloud";
656
+ readonly grid: "squares-four";
657
+ readonly list: "list";
658
+ readonly filter: "funnel";
659
+ readonly sort: "arrows-down-up";
660
+ readonly fullscreen: "corners-out";
661
+ readonly collapse: "corners-in";
662
+ readonly building: "building";
663
+ readonly video: "video";
664
+ readonly lock: "lock";
665
+ readonly unlock: "lock-open";
666
+ readonly eye: "eye";
667
+ readonly 'eye-off': "eye-slash";
668
+ readonly print: "printer";
669
+ readonly code: "code";
670
+ readonly palette: "palette";
671
+ readonly lightbulb: "lightbulb";
672
+ readonly lightning: "lightning";
566
673
  };
567
674
  };
568
675
  type IconSet = keyof typeof iconMap;
@@ -573,9 +680,15 @@ type BrandIcon = keyof (typeof iconMap)['simple-icons'];
573
680
  * Names containing ':' are returned as-is (pass-through for fully-qualified names).
574
681
  *
575
682
  * @param name - Semantic name ('email') or fully-qualified ('fa7-solid:envelope')
576
- * @param prefix - astro-icon prefix, e.g. 'fa7-solid', 'material-symbols', 'lucide'
683
+ * @param prefix - astro-icon prefix, e.g. 'fa7-solid', 'material-symbols', 'lucide', 'ph'
684
+ * @param opts.weight - Weight for suffix-weighted sets (see `WEIGHTED_SETS`), e.g.
685
+ * `resolveIcon('menu', 'ph', { weight: 'bold' })` → `'ph:list-bold'`. Ignored for
686
+ * sets that aren't suffix-weighted; an unknown weight throws rather than silently
687
+ * resolving to the regular glyph, which would be indistinguishable from a typo.
577
688
  */
578
- declare function resolveIcon(name: string, prefix: string): string;
689
+ declare function resolveIcon(name: string, prefix: string, opts?: {
690
+ weight?: string;
691
+ }): string;
579
692
  /**
580
693
  * Resolve a brand icon name to a fully-qualified astro-icon string.
581
694
  * Names containing ':' are returned as-is (pass-through).
@@ -600,9 +713,91 @@ declare function resolveBrandIcon(name: string, prefix: string): string;
600
713
  declare function generateIconInclude(iconsConfig?: {
601
714
  ui?: string;
602
715
  brand?: string;
716
+ weight?: string;
603
717
  semantic?: string[];
604
718
  [prefix: string]: string | string[] | undefined;
605
719
  }): Record<string, string[]>;
606
720
  //#endregion
607
- export { type ArticleAuthor, type ArticleGraphOptions, type Attrs, type BrandIcon, type BreadcrumbGraphOptions, type BreadcrumbItem, type ChildNode, type ContentNode, type El, type Elmnt, type FAQGraphOptions, type FAQItem, type FaviconLink, type FaviconOptions, type FaviconTagOptions, type IconSet, type ImageLink, type ImageRef, type Link, type Localizable, type OrganizationGraphOptions, type SemanticIcon, type StyleList, type StyleValue, type TextLink, type WebManifestOptions, articleGraph, breadcrumbGraph, faqGraph, faviconLinks, faviconManifest, generateFavicons, generateIconInclude, getAttribute, iconMap, isElmnt, isImageLink, isLink, isTextLink, nodesToHtml, organizationGraph, parseRenderedSlots, partAttrs, prefixToMapKey, resolveBrandIcon, resolveIcon, serialize, styleList, t, toHtml, writeFaviconManifest };
721
+ //#region src/scan.d.ts
722
+ /** A file the scanner found, with its contents already read. */
723
+ interface SourceFile {
724
+ path: string;
725
+ text: string;
726
+ }
727
+ interface ScanOptions {
728
+ /** File extensions to read. Defaults to `SCAN_EXT`. */
729
+ exts?: Iterable<string>;
730
+ /** Directory names to skip entirely. Defaults to `SCAN_SKIP`. */
731
+ skipDirs?: Iterable<string>;
732
+ }
733
+ /**
734
+ * Extensions worth scanning: every template language the framework's classes
735
+ * and icon names can appear in, plus the markdown that can embed them.
736
+ */
737
+ declare const SCAN_EXT: ReadonlySet<string>;
738
+ /** Directories that only ever hold dependencies or build output. */
739
+ declare const SCAN_SKIP: ReadonlySet<string>;
740
+ /**
741
+ * Recursively read every scannable file under `dir`.
742
+ *
743
+ * Dotfiles and dot-directories are skipped wholesale — they hold tooling config,
744
+ * not templates, and `.astro`/`.git` would otherwise be walked twice over.
745
+ */
746
+ declare function scanFiles(dir: string, opts?: ScanOptions): SourceFile[];
747
+ //#endregion
748
+ //#region src/icons-scan.d.ts
749
+ /**
750
+ * Find the icons a consumer's source actually uses.
751
+ *
752
+ * This exists for one reason: bundle size under `output: 'server'`. astro-icon
753
+ * is zero-config for static builds, but on a server/hybrid build it bundles
754
+ * EVERY icon in a set unless given an `include` map — so consumers hand-maintain
755
+ * a list, and hand-maintained lists rot. Scanning derives it instead.
756
+ *
757
+ * The judgement call throughout is the same one `vitops lint`'s `extractClasses`
758
+ * makes, and for the same reason: a template hole (`name={expr}`) is not a typo
759
+ * and must not be guessed at. An unresolvable reference is REPORTED, never
760
+ * invented — the caller warns and asks the author to declare it. Quietly
761
+ * inferring would produce an `include` that is confidently wrong, which is worse
762
+ * than one that is honestly incomplete.
763
+ */
764
+ /** How an icon reference was written. Useful for phrasing the warning. */
765
+ type IconRefKind = 'component' | 'prop' | 'object' | 'sprite';
766
+ /** A statically resolvable icon name. */
767
+ interface IconRef {
768
+ name: string;
769
+ kind: IconRefKind;
770
+ attr: string;
771
+ file: string;
772
+ line: number;
773
+ }
774
+ /** A reference whose name is computed at runtime and cannot be read statically. */
775
+ interface DynamicIconRef {
776
+ expr: string;
777
+ attr: string;
778
+ file: string;
779
+ line: number;
780
+ }
781
+ interface IconScanResult {
782
+ refs: IconRef[];
783
+ dynamic: DynamicIconRef[];
784
+ /** Unique static names, in first-seen order. */
785
+ names: string[];
786
+ }
787
+ interface IconScanOptions {
788
+ /** Extra prop names to treat as icon-bearing, beyond the defaults. */
789
+ props?: string[];
790
+ }
791
+ /** Extract every icon reference from one file's text. */
792
+ declare function extractIconRefs(src: string, file?: string, opts?: IconScanOptions): {
793
+ refs: IconRef[];
794
+ dynamic: DynamicIconRef[];
795
+ };
796
+ /** Run `extractIconRefs` across a file set and collect unique names. */
797
+ declare function collectIconRefs(files: readonly {
798
+ path: string;
799
+ text: string;
800
+ }[], opts?: IconScanOptions): IconScanResult;
801
+ //#endregion
802
+ export { type ArticleAuthor, type ArticleGraphOptions, type Attrs, type BrandIcon, type BreadcrumbGraphOptions, type BreadcrumbItem, type ChildNode, type ContentNode, type DynamicIconRef, type El, type Elmnt, type FAQGraphOptions, type FAQItem, type FaviconLink, type FaviconOptions, type FaviconTagOptions, type IconRef, type IconRefKind, type IconScanOptions, type IconScanResult, type IconSet, type ImageLink, type ImageRef, type Link, type Localizable, type OrganizationGraphOptions, SCAN_EXT, SCAN_SKIP, type ScanOptions, type SemanticIcon, type SourceFile, type StyleList, type StyleValue, type TextLink, WEIGHTED_SETS, type WebManifestOptions, articleGraph, breadcrumbGraph, collectIconRefs, extractIconRefs, faqGraph, faviconLinks, faviconManifest, generateFavicons, generateIconInclude, getAttribute, iconMap, isElmnt, isImageLink, isLink, isTextLink, nodesToHtml, organizationGraph, parseRenderedSlots, partAttrs, prefixToMapKey, resolveBrandIcon, resolveIcon, scanFiles, serialize, styleList, t, toHtml, writeFaviconManifest };
608
803
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/content.ts","../src/html.ts","../src/schema/article.ts","../src/schema/breadcrumb.ts","../src/schema/faq.ts","../src/schema/organization.ts","../src/icons.ts"],"mappings":";;;;;;;;AAWA;;;;KAAY,WAAA,YAAuB,MAAM;AAMzC;;;;AAAA,UAAiB,KAAA;EACf,KAAA;EAAA,CACC,IAAY;AAAA;;UAIE,QAAA;EACf,GAAA;EACA,GAAA,GAAM,WAAW;EAAA,CAChB,GAAA;AAAA;AAAW;AAAA,UAIG,QAAA;EACf,KAAA,EAAO,WAAA;EACP,IAAA;EACA,KAAA,GAAQ,KAAK;EAAA,CACZ,GAAA;AAAA;;UAIc,SAAA;EACf,KAAA,EAAO,QAAA;EACP,IAAA;EACA,KAAA,GAAQ,KAAK;EAAA,CACZ,GAAA;AAAA;;KAIS,IAAA,GAAO,QAAA,GAAW,SAAS;;;;;UAMtB,KAAA;EACf,IAAA;EACA,GAAA,GAAM,GAAA;EACN,KAAA,GAAQ,KAAA;EACR,OAAA,GAAU,CAAA;EAAA,CACT,GAAA;AAAA;;;AAXoC;AAMvC;KAYY,WAAA;EAGN,GAAA;EACA,KAAA,GAAQ,KAAA;EACR,IAAA,GAAO,WAAA;EACP,QAAA,GAAW,WAAA;AAAA;AAAA,iBAKD,OAAA,gCAAuC,IAAA,QAAY,IAAA,IAAQ,KAAA,CAAM,CAAA,EAAG,GAAA;AAAA,iBAIpE,MAAA,CAAO,IAAA,QAAY,IAAA,IAAQ,IAAI;AAAA,iBAI/B,UAAA,CAAW,IAAA,QAAY,IAAA,IAAQ,QAAQ;AAAA,iBAIvC,WAAA,CAAY,IAAA,QAAY,IAAA,IAAQ,SAAS;;;;;iBAUzC,CAAA,CAAE,KAAA,EAAO,WAAW,cAAc,MAAA,UAAgB,aAAA;;;;AAxCpD;iBAoDE,SAAA,CACd,OAAA;EAAW,KAAA,GAAQ,KAAA;EAAO,KAAA,GAAQ,MAAA,SAAe,KAAA;AAAA,eACjD,IAAA,WACC,KAAA;;;KCxGS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CAAoB,WAAA;EAClC,EAAA;EACA,KAAA;EACA,QAAA;EAAA,CACC,MAAA;AAAA,IACC,MAAM"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/content.ts","../src/html.ts","../src/schema/article.ts","../src/schema/breadcrumb.ts","../src/schema/faq.ts","../src/schema/organization.ts","../src/icons.ts","../src/scan.ts","../src/icons-scan.ts"],"mappings":";;;;;;;;AAWA;;;;KAAY,WAAA,YAAuB,MAAM;AAMzC;;;;AAAA,UAAiB,KAAA;EACf,KAAA;EAAA,CACC,IAAY;AAAA;;UAIE,QAAA;EACf,GAAA;EACA,GAAA,GAAM,WAAW;EAAA,CAChB,GAAA;AAAA;AAAW;AAAA,UAIG,QAAA;EACf,KAAA,EAAO,WAAA;EACP,IAAA;EACA,KAAA,GAAQ,KAAK;EAAA,CACZ,GAAA;AAAA;;UAIc,SAAA;EACf,KAAA,EAAO,QAAA;EACP,IAAA;EACA,KAAA,GAAQ,KAAK;EAAA,CACZ,GAAA;AAAA;;KAIS,IAAA,GAAO,QAAA,GAAW,SAAS;;;;;UAMtB,KAAA;EACf,IAAA;EACA,GAAA,GAAM,GAAA;EACN,KAAA,GAAQ,KAAA;EACR,OAAA,GAAU,CAAA;EAAA,CACT,GAAA;AAAA;;;AAXoC;AAMvC;KAYY,WAAA;EAGN,GAAA;EACA,KAAA,GAAQ,KAAA;EACR,IAAA,GAAO,WAAA;EACP,QAAA,GAAW,WAAA;AAAA;AAAA,iBAKD,OAAA,gCAAuC,IAAA,QAAY,IAAA,IAAQ,KAAA,CAAM,CAAA,EAAG,GAAA;AAAA,iBAIpE,MAAA,CAAO,IAAA,QAAY,IAAA,IAAQ,IAAI;AAAA,iBAI/B,UAAA,CAAW,IAAA,QAAY,IAAA,IAAQ,QAAQ;AAAA,iBAIvC,WAAA,CAAY,IAAA,QAAY,IAAA,IAAQ,SAAS;;;;;iBAUzC,CAAA,CAAE,KAAA,EAAO,WAAW,cAAc,MAAA,UAAgB,aAAA;;;;AAx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