@astryxdesign/cli 0.7.15-canary.g79b95eb → 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 (152) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/README.md +64 -63
  3. package/api/build/_adapter.d.mts +4 -0
  4. package/api/build/_adapter.mjs +28 -2
  5. package/api/build/blocks/blocks.d.mts +10 -1
  6. package/api/build/blocks/blocks.mjs +84 -7
  7. package/api/build/build.mjs +6 -1
  8. package/api/build/tree.d.mts +4 -0
  9. package/api/build/tree.mjs +9 -2
  10. package/api/doctor/_adapter.d.mts +2 -1
  11. package/api/doctor/_adapter.mjs +6 -1
  12. package/api/doctor/doctor.mjs +2 -2
  13. package/api/doctor/theme-checks.mjs +56 -21
  14. package/api/integration/add-helpers.mjs +5 -0
  15. package/api/integration/add-theme.mjs +15 -110
  16. package/api/integration/validate-integration.mjs +18 -4
  17. package/api/integration/validateIntegration.doc.mjs +1 -1
  18. package/api/theme/_adapter.d.mts +37 -5
  19. package/api/theme/_adapter.mjs +372 -56
  20. package/api/theme/_fork.d.mts +90 -0
  21. package/api/theme/_fork.mjs +246 -0
  22. package/api/theme/build/build.d.mts +26 -22
  23. package/api/theme/build/build.mjs +447 -60
  24. package/api/theme/eject/eject.mjs +36 -15
  25. package/api/theme/list/list.mjs +3 -6
  26. package/api/theme/palette/generate/generator.d.mts +13 -0
  27. package/api/theme/palette/generate/generator.mjs +32 -2
  28. package/api/theme/targets/targets.mjs +10 -3
  29. package/api/theme/template/template.d.mts +2 -0
  30. package/api/theme/template/template.mjs +83 -8
  31. package/api/theme/theme.type.d.mts +12 -0
  32. package/api/theme/theme.type.mjs +7 -2
  33. package/api/theme/themeBuild.doc.mjs +4 -4
  34. package/api/theme/themeRemove.doc.mjs +5 -2
  35. package/api/theme/themeTemplate.doc.mjs +11 -5
  36. package/api/theme/themeUse.doc.mjs +8 -2
  37. package/api/theme-edit/_adapter.d.mts +10 -0
  38. package/api/theme-edit/_adapter.mjs +230 -38
  39. package/api/theme-edit/_catalog.d.mts +1 -6
  40. package/api/theme-edit/_catalog.mjs +5 -268
  41. package/api/theme-edit/_check.d.mts +3 -1
  42. package/api/theme-edit/_check.mjs +877 -321
  43. package/api/theme-edit/_color.d.mts +13 -0
  44. package/api/theme-edit/_color.mjs +350 -35
  45. package/api/theme-edit/_compiler.d.mts +2 -0
  46. package/api/theme-edit/_compiler.mjs +28 -0
  47. package/api/theme-edit/_context.d.mts +9 -0
  48. package/api/theme-edit/_context.mjs +117 -10
  49. package/api/theme-edit/_css.d.mts +104 -0
  50. package/api/theme-edit/_css.mjs +859 -0
  51. package/api/theme-edit/_edit.d.mts +9 -0
  52. package/api/theme-edit/_edit.mjs +738 -124
  53. package/api/theme-edit/_how-commands.d.mts +11 -25
  54. package/api/theme-edit/_how-commands.mjs +47 -14
  55. package/api/theme-edit/_how-question.d.mts +29 -0
  56. package/api/theme-edit/_how-question.mjs +1914 -205
  57. package/api/theme-edit/_how.mjs +357 -31
  58. package/api/theme-edit/_overview.mjs +2 -7
  59. package/api/theme-edit/_palette.d.mts +27 -5
  60. package/api/theme-edit/_palette.mjs +241 -97
  61. package/api/theme-edit/_parts.d.mts +58 -10
  62. package/api/theme-edit/_parts.mjs +272 -69
  63. package/api/theme-edit/_preview-app.d.mts +8 -0
  64. package/api/theme-edit/_preview-app.mjs +718 -98
  65. package/api/theme-edit/_preview.d.mts +7 -16
  66. package/api/theme-edit/_preview.mjs +82 -85
  67. package/api/theme-edit/_project.d.mts +31 -1
  68. package/api/theme-edit/_project.mjs +78 -22
  69. package/api/theme-edit/_settings.d.mts +138 -21
  70. package/api/theme-edit/_settings.mjs +847 -150
  71. package/api/theme-edit/_tables.d.mts +18 -12
  72. package/api/theme-edit/_tables.mjs +144 -147
  73. package/api/theme-edit/theme-edit.type.d.mts +11 -1
  74. package/api/theme-edit/theme-edit.type.mjs +3 -1
  75. package/api/theme-edit/themeEditNew.doc.mjs +2 -2
  76. package/api/theme-edit/themeEditPreviewAdd.doc.mjs +1 -1
  77. package/api/theme-edit/themeEditPreviewApp.doc.mjs +1 -1
  78. package/api/theme-edit/themeEditPreviewList.doc.mjs +2 -2
  79. package/api/theme-edit/themeEditSet.doc.mjs +1 -1
  80. package/api/theme-edit/themeEditShow.doc.mjs +1 -1
  81. package/api/theme-edit/themeEditUndo.doc.mjs +1 -1
  82. package/assets/docs/tree/checks.doc.mjs +22 -1
  83. package/assets/docs/tree/publishing.doc.mjs +1 -0
  84. package/assets/docs/tree/tokens-and-setup.doc.mjs +39 -3
  85. package/assets/docs.generated.json +2 -2
  86. package/assets/preview-app/next.config.mjs +7 -1
  87. package/assets/self-audit.generated.json +1 -1
  88. package/assets/templates/blocks/components/Table/InfiniteScrollHookUsage.doc.mjs +14 -0
  89. package/assets/templates/blocks/components/Table/InfiniteScrollHookUsage.tsx +33 -0
  90. package/assets/templates/components.generated.json +1 -1
  91. package/authoring/integration/integration.doc.mjs +8 -0
  92. package/authoring/integration/schema.d.mts +8 -0
  93. package/authoring/integration/schema.mjs +1 -0
  94. package/authoring/integration/type.ts +9 -0
  95. package/clients/cli/build-id.generated.json +1 -1
  96. package/clients/cli/commands/experimental/index.mjs +10 -10
  97. package/clients/cli/commands/experimental/theme.mjs +134 -36
  98. package/clients/cli/commands/experimental-theme-compile.doc.mjs +2 -2
  99. package/clients/cli/commands/experimental-theme-editor-new.doc.mjs +3 -3
  100. package/clients/cli/commands/experimental-theme-editor-show.doc.mjs +1 -1
  101. package/clients/cli/commands/experimental-theme-editor.doc.mjs +1 -1
  102. package/clients/cli/commands/experimental-theme-preview-add.doc.mjs +1 -1
  103. package/clients/cli/commands/experimental-theme-preview-app.doc.mjs +1 -1
  104. package/clients/cli/commands/experimental-theme-template.doc.mjs +1 -1
  105. package/clients/cli/commands/integration.mjs +8 -0
  106. package/clients/cli/commands/theme-build.doc.mjs +3 -3
  107. package/clients/cli/commands/theme-list.doc.mjs +1 -1
  108. package/clients/cli/commands/theme-template.doc.mjs +4 -2
  109. package/clients/cli/commands/theme.mjs +407 -53
  110. package/clients/cli/index.mjs +18 -3
  111. package/clients/cli/lib/cli-error.mjs +118 -3
  112. package/clients/cli/manifest.generated.json +1 -1
  113. package/foundation/config/project.mjs +84 -22
  114. package/foundation/config/theme-state.d.mts +16 -0
  115. package/foundation/config/theme-state.mjs +84 -13
  116. package/foundation/discovery/template-needs.d.mts +13 -0
  117. package/foundation/discovery/template-needs.mjs +30 -15
  118. package/foundation/discovery/theme-discovery.mjs +14 -2
  119. package/foundation/discovery/theme-imports.d.mts +16 -0
  120. package/foundation/discovery/theme-imports.mjs +30 -2
  121. package/foundation/doc-compiler/import.mjs +10 -4
  122. package/foundation/fs/gather-cache.mjs +94 -26
  123. package/foundation/fs/jiti-cache.d.mts +21 -0
  124. package/foundation/fs/jiti-cache.mjs +66 -0
  125. package/foundation/fs/module-loader.mjs +7 -2
  126. package/foundation/fs/paths.d.mts +16 -0
  127. package/foundation/fs/paths.mjs +25 -0
  128. package/foundation/fs/read-record.mjs +8 -2
  129. package/foundation/integrations/autolink.d.mts +1 -24
  130. package/foundation/integrations/autolink.mjs +7 -60
  131. package/foundation/integrations/declared-dependencies.d.mts +27 -0
  132. package/foundation/integrations/declared-dependencies.mjs +73 -0
  133. package/foundation/integrations/integrations.d.mts +8 -0
  134. package/foundation/integrations/integrations.mjs +4 -0
  135. package/foundation/integrations/may-have-integrations.d.mts +8 -0
  136. package/foundation/integrations/may-have-integrations.mjs +47 -0
  137. package/foundation/integrations/validate-contributions.d.mts +62 -1
  138. package/foundation/integrations/validate-contributions.mjs +452 -29
  139. package/foundation/release/cache.d.mts +21 -2
  140. package/foundation/release/cache.mjs +48 -8
  141. package/foundation/release/folder-lock.d.mts +7 -0
  142. package/foundation/release/folder-lock.mjs +60 -26
  143. package/foundation/release/lock-lease.d.mts +2 -1
  144. package/foundation/release/lock-lease.mjs +7 -2
  145. package/foundation/response/error-codes.d.mts +2 -1
  146. package/foundation/response/error-codes.d.ts +1 -0
  147. package/foundation/response/error-codes.doc.mjs +6 -1
  148. package/foundation/response/error-codes.mjs +3 -0
  149. package/foundation/response/response-types.doc.mjs +6 -6
  150. package/package.json +7 -6
  151. package/api/theme-edit/_css-properties.d.mts +0 -10
  152. package/api/theme-edit/_css-properties.mjs +0 -556
package/CHANGELOG.md CHANGED
@@ -3088,8 +3088,8 @@ Thanks to everyone who contributed to this release:
3088
3088
 
3089
3089
  ```
3090
3090
 
3091
- - Remove the internal `drop-xds-meta-prefix` codemod from the OSS repo (#2970)
3092
- This codemod has been moved to its own package's tooling, where it belongs. It was registered as an optional, version-independent transform and is not part of any standard upgrade path, so removing it does not affect the public `0.0.13 → 0.0.15` migration.
3091
+ - Remove an internal-only codemod from the public repository (#2970)
3092
+ It was an optional, version-independent transform and not part of any standard upgrade path, so removing it does not affect the public `0.0.13 → 0.0.15` migration.
3093
3093
  - Rename the npm package scope from `@xds/*` to `@astryxdesign/*`
3094
3094
  All published packages move to the new `@astryxdesign` scope (e.g. `@xds/core` → `@astryxdesign/core`), along with the workspace lockfile, build/runtime scope-directory scans, and docsite slug derivation. Consumers must update their imports and dependency names. The internal ESLint plugin namespace (`@xds/*` rules) is intentionally untouched and tracked separately. Existing `@xds/*` codemods continue to target the old scope so projects still on `@xds/*` can migrate.
3095
3095
 
@@ -3106,7 +3106,7 @@ Thanks to everyone who contributed to this release:
3106
3106
 
3107
3107
  #### Breaking Changes
3108
3108
 
3109
- - **New `astryx upgrade` codemods** — This release ships codemods for the DatePicker→Input rename (`rename-date-picker-to-input`), Stack `element`→`as` (`rename-stack-element-to-as`), Chat `isStreaming`→`isStopShown` (`rename-isStreaming-to-isStopShown`), imperative `ref`→`handleRef` (`rename-imperative-ref-to-handleRef`), the menu/selector `children`→`endContent` move (`migrate-item-children-to-endcontent`), and the selector function-children→`renderOption` move (`migrate-selector-children-to-render-option`). The bare-name migration (`drop-xds-prefix-imports`, `drop-xds-meta-prefix`) and the theme `migrate-theme-selectors-to-data-attrs` codemod ship as optional, run them explicitly. (#2879, #2957)
3109
+ - **New `astryx upgrade` codemods** — This release ships codemods for the DatePicker→Input rename (`rename-date-picker-to-input`), Stack `element`→`as` (`rename-stack-element-to-as`), Chat `isStreaming`→`isStopShown` (`rename-isStreaming-to-isStopShown`), imperative `ref`→`handleRef` (`rename-imperative-ref-to-handleRef`), the menu/selector `children`→`endContent` move (`migrate-item-children-to-endcontent`), and the selector function-children→`renderOption` move (`migrate-selector-children-to-render-option`). The bare-name migration (`drop-xds-prefix-imports`) and the theme `migrate-theme-selectors-to-data-attrs` codemod ship as optional, run them explicitly. (#2879, #2957)
3110
3110
 
3111
3111
  #### Upgrade
3112
3112