@astryxdesign/cli 0.7.15-canary.gbe99721 → 0.7.15-canary.gbef2f83

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.
Files changed (69) hide show
  1. package/README.md +2 -1
  2. package/api/integration/validate-integration.mjs +1 -1
  3. package/api/theme/_adapter.mjs +12 -9
  4. package/api/theme/build/build.d.mts +1 -21
  5. package/api/theme/build/build.mjs +105 -29
  6. package/api/theme/template/template.d.mts +2 -0
  7. package/api/theme/template/template.mjs +41 -12
  8. package/api/theme/theme.type.d.mts +4 -0
  9. package/api/theme/theme.type.mjs +2 -1
  10. package/api/theme/themeBuild.doc.mjs +3 -3
  11. package/api/theme/themeTemplate.doc.mjs +9 -3
  12. package/api/theme-edit/_adapter.d.mts +10 -0
  13. package/api/theme-edit/_adapter.mjs +76 -5
  14. package/api/theme-edit/_check.mjs +181 -50
  15. package/api/theme-edit/_color.d.mts +2 -8
  16. package/api/theme-edit/_color.mjs +126 -55
  17. package/api/theme-edit/_compiler.d.mts +1 -0
  18. package/api/theme-edit/_compiler.mjs +3 -0
  19. package/api/theme-edit/_context.d.mts +7 -0
  20. package/api/theme-edit/_context.mjs +34 -1
  21. package/api/theme-edit/_css.d.mts +21 -1
  22. package/api/theme-edit/_css.mjs +172 -13
  23. package/api/theme-edit/_edit.d.mts +9 -0
  24. package/api/theme-edit/_edit.mjs +377 -48
  25. package/api/theme-edit/_how-commands.d.mts +7 -26
  26. package/api/theme-edit/_how-commands.mjs +27 -1
  27. package/api/theme-edit/_how-question.mjs +330 -12
  28. package/api/theme-edit/_how.mjs +68 -26
  29. package/api/theme-edit/_palette.mjs +10 -0
  30. package/api/theme-edit/_parts.d.mts +16 -0
  31. package/api/theme-edit/_parts.mjs +49 -1
  32. package/api/theme-edit/_preview-app.mjs +176 -9
  33. package/api/theme-edit/_preview.mjs +7 -3
  34. package/api/theme-edit/_project.d.mts +11 -0
  35. package/api/theme-edit/_project.mjs +35 -9
  36. package/api/theme-edit/_settings.d.mts +46 -5
  37. package/api/theme-edit/_settings.mjs +217 -25
  38. package/api/theme-edit/theme-edit.type.d.mts +2 -1
  39. package/api/theme-edit/theme-edit.type.mjs +1 -1
  40. package/api/theme-edit/themeEditNew.doc.mjs +1 -1
  41. package/api/theme-edit/themeEditShow.doc.mjs +1 -1
  42. package/assets/docs/tree/tokens-and-setup.doc.mjs +39 -3
  43. package/assets/docs.generated.json +2 -2
  44. package/assets/preview-app/next.config.mjs +7 -1
  45. package/assets/self-audit.generated.json +1 -1
  46. package/assets/templates/blocks/components/Table/InfiniteScrollHookUsage.doc.mjs +14 -0
  47. package/assets/templates/blocks/components/Table/InfiniteScrollHookUsage.tsx +33 -0
  48. package/assets/templates/components.generated.json +1 -1
  49. package/clients/cli/build-id.generated.json +1 -1
  50. package/clients/cli/commands/experimental/theme.mjs +113 -34
  51. package/clients/cli/commands/experimental-theme-compile.doc.mjs +1 -1
  52. package/clients/cli/commands/experimental-theme-editor-new.doc.mjs +1 -1
  53. package/clients/cli/commands/experimental-theme-editor-show.doc.mjs +1 -1
  54. package/clients/cli/commands/experimental-theme-editor.doc.mjs +1 -1
  55. package/clients/cli/commands/experimental-theme-template.doc.mjs +1 -1
  56. package/clients/cli/commands/theme-build.doc.mjs +2 -2
  57. package/clients/cli/commands/theme-template.doc.mjs +3 -1
  58. package/clients/cli/commands/theme.mjs +82 -5
  59. package/clients/cli/manifest.generated.json +1 -1
  60. package/foundation/config/project.mjs +50 -14
  61. package/foundation/fs/gather-cache.mjs +4 -3
  62. package/foundation/fs/paths.d.mts +16 -0
  63. package/foundation/fs/paths.mjs +25 -0
  64. package/foundation/response/error-codes.d.mts +2 -1
  65. package/foundation/response/error-codes.d.ts +1 -0
  66. package/foundation/response/error-codes.doc.mjs +5 -0
  67. package/foundation/response/error-codes.mjs +3 -0
  68. package/foundation/response/response-types.doc.mjs +1 -1
  69. package/package.json +7 -6
@@ -11,6 +11,15 @@
11
11
  * @returns {Promise<import('./theme-edit.type.mjs').ThemeEditNewResponse>}
12
12
  */
13
13
  export function themeEditNew(name: string, options?: import("./theme-edit.type.mjs").ThemeEditNewOptions): Promise<import("./theme-edit.type.mjs").ThemeEditNewResponse>;
14
+ /**
15
+ * The options of a `new` as flags, in the order given (`new --help`'s order
16
+ * for the command): `--like`, each dial setting, then `--png`.
17
+ * @param {string | null | undefined} like none when null or undefined
18
+ * @param {Record<string, string | string[] | undefined>} settings
19
+ * @param {boolean} [png]
20
+ * @returns {string[]}
21
+ */
22
+ export function newFlagList(like: string | null | undefined, settings: Record<string, string | string[] | undefined>, png?: boolean): string[];
14
23
  /**
15
24
  * Change one thing in a theme: checked, built, previewed.
16
25
  * @experimental