@astryxdesign/lab 0.2.0-canary.ca77e27 → 0.2.0-canary.dfccd57

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 (45) hide show
  1. package/dist/BottomSheet/BottomSheet.d.ts.map +1 -1
  2. package/dist/BottomSheet/BottomSheet.js +2 -2
  3. package/dist/Stepper/Step.d.ts +1 -1
  4. package/dist/Stepper/Step.js +1 -1
  5. package/dist/Stepper/Stepper.d.ts +1 -1
  6. package/dist/Stepper/Stepper.js +1 -1
  7. package/package.json +3 -2
  8. package/src/BottomSheet/BottomSheet.doc.mjs +2 -2
  9. package/src/BottomSheet/BottomSheet.test.tsx +13 -0
  10. package/src/BottomSheet/BottomSheet.tsx +4 -2
  11. package/src/BottomSheet/useSheetGestures.doc.mjs +1 -1
  12. package/src/Chart/ChartArea.doc.mjs +1 -1
  13. package/src/Chart/ChartBar.doc.mjs +1 -1
  14. package/src/Chart/ChartCandlestick.doc.mjs +1 -1
  15. package/src/Chart/ChartDot.doc.mjs +1 -1
  16. package/src/Chart/ChartDotGL.doc.mjs +1 -1
  17. package/src/Chart/ChartDotGLInteractive.doc.mjs +1 -1
  18. package/src/Chart/ChartHeatmapGL.doc.mjs +1 -1
  19. package/src/Chart/ChartLine.doc.mjs +1 -1
  20. package/src/Chart/ChartStreamGL.doc.mjs +1 -1
  21. package/src/Chat/ChatEmojiPicker.doc.mjs +1 -1
  22. package/src/Chat/ChatReactionBar.doc.mjs +1 -1
  23. package/src/Chat/ChatTypingIndicator.doc.mjs +1 -1
  24. package/src/Chat/ChatUnreadDivider.doc.mjs +1 -1
  25. package/src/ChatReasoning/ChatReasoning.doc.mjs +1 -1
  26. package/src/CircularProgress/CircularProgress.doc.mjs +3 -3
  27. package/src/CodeEditor/CodeEditor.doc.mjs +1 -1
  28. package/src/Drawer/Drawer.doc.mjs +3 -3
  29. package/src/InfoTip/InfoTip.doc.mjs +3 -3
  30. package/src/LogStream/LogStream.doc.mjs +1 -1
  31. package/src/Radial/RadialChart.doc.mjs +1 -1
  32. package/src/RichTextEditor/RichTextEditor.doc.mjs +1 -1
  33. package/src/SVGIcon/SVGIcon.doc.mjs +1 -1
  34. package/src/Sankey/SankeyChart.doc.mjs +1 -1
  35. package/src/Schedule/Schedule.doc.mjs +1 -1
  36. package/src/Stat/Stat.doc.mjs +3 -3
  37. package/src/Stepper/Step.doc.mjs +1 -1
  38. package/src/Stepper/Step.tsx +1 -1
  39. package/src/Stepper/Stepper.doc.mjs +3 -3
  40. package/src/Stepper/Stepper.tsx +1 -1
  41. package/src/ThreeD/3DBar.doc.mjs +1 -1
  42. package/src/ThreeD/3DChart.doc.mjs +1 -1
  43. package/src/ThreeD/3DScatter.doc.mjs +1 -1
  44. package/src/ThreeD/3DScatterGL.doc.mjs +1 -1
  45. package/src/ThreeD/3DSurface.doc.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../src/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAiC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAErE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAqBlD;;;;;;GAMG;AACH,QAAA,MAAM,cAAc;;;;CAIV,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,cAAc,CAAC;AAuJ5D,MAAM,WAAW,gBAAiB,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IACpE,wDAAwD;IACxD,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAEnC,8EAA8E;IAC9E,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAExC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,0EAA0E;IAC1E,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;IAE7C,oCAAoC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,MAAM,EACN,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,MAAiB,EACjB,MAAM,EACN,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAyKlB;yBAlLe,WAAW"}
1
+ {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../src/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAiC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAErE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAqBlD;;;;;;GAMG;AACH,QAAA,MAAM,cAAc;;;;CAIV,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,cAAc,CAAC;AAyJ5D,MAAM,WAAW,gBAAiB,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IACpE,wDAAwD;IACxD,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAEnC,8EAA8E;IAC9E,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAExC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,0EAA0E;IAC1E,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;IAE7C,oCAAoC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,MAAM,EACN,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,MAAiB,EACjB,MAAM,EACN,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAyKlB;yBAlLe,WAAW"}
@@ -248,10 +248,10 @@ export function BottomSheet({
248
248
  return /*#__PURE__*/_jsx("dialog", {
249
249
  ...{
250
250
  0: {
251
- className: "xixxii4 x10a8y8t x1o6l61p xtdtrs8 x1x1rfll x7ab17h x1ghz6dp x1717udv xjbqb8w x1rea2x4 x47corl x1s85apg x1a2a7pz xnixb3f x1abwkk1 xni466t xxiuuzi xc0dz0a xft5bk6 x15h3t91 x142juwg x1viac0w"
251
+ className: "xixxii4 x10a8y8t x1o6l61p xtdtrs8 x1x1rfll x7ab17h x1ghz6dp x1717udv xjbqb8w x1rea2x4 x1s85apg x1a2a7pz xnixb3f x1abwkk1 xni466t xxiuuzi xc0dz0a xft5bk6 x15h3t91 x142juwg x1viac0w"
252
252
  },
253
253
  1: {
254
- className: "xixxii4 x10a8y8t x1o6l61p xtdtrs8 x1x1rfll x7ab17h x1ghz6dp x1717udv xjbqb8w x1rea2x4 x47corl x1a2a7pz x1lliihq xnixb3f x1abwkk1 xni466t xxiuuzi xc0dz0a xft5bk6 x15h3t91 x142juwg x1viac0w"
254
+ className: "xixxii4 x10a8y8t x1o6l61p xtdtrs8 x1x1rfll x7ab17h x1ghz6dp x1717udv xjbqb8w x1rea2x4 x1a2a7pz x1lliihq xnixb3f x1abwkk1 xni466t xxiuuzi xc0dz0a xft5bk6 x15h3t91 x142juwg x1viac0w"
255
255
  }
256
256
  }[!!isOpen << 0],
257
257
  ref: mergeRefs(ref, dialogRef),
@@ -9,7 +9,7 @@
9
9
  * - /packages/lab/src/Stepper/Stepper.test.tsx
10
10
  * - /packages/lab/src/Stepper/index.ts
11
11
  * - /apps/storybook/stories/Stepper.stories.tsx
12
- * - /packages/cli/templates/blocks/components/Stepper/ (showcase blocks)
12
+ * - /packages/cli/assets/templates/blocks/components/Stepper/ (showcase blocks)
13
13
  */
14
14
  import { type ReactNode } from 'react';
15
15
  import type { BaseProps } from '@astryxdesign/core';
@@ -13,7 +13,7 @@
13
13
  * - /packages/lab/src/Stepper/Stepper.test.tsx
14
14
  * - /packages/lab/src/Stepper/index.ts
15
15
  * - /apps/storybook/stories/Stepper.stories.tsx
16
- * - /packages/cli/templates/blocks/components/Stepper/ (showcase blocks)
16
+ * - /packages/cli/assets/templates/blocks/components/Stepper/ (showcase blocks)
17
17
  */
18
18
  import * as stylex from '@stylexjs/stylex';
19
19
  import '@astryxdesign/core/theme/tokens.stylex';
@@ -9,7 +9,7 @@
9
9
  * - /packages/lab/src/Stepper/Stepper.test.tsx (tests for new/changed behavior)
10
10
  * - /packages/lab/src/Stepper/index.ts (exports if types change)
11
11
  * - /apps/storybook/stories/Stepper.stories.tsx (storybook stories)
12
- * - /packages/cli/templates/blocks/components/Stepper/ (showcase blocks)
12
+ * - /packages/cli/assets/templates/blocks/components/Stepper/ (showcase blocks)
13
13
  */
14
14
  import { type ReactNode } from 'react';
15
15
  import type { BaseProps } from '@astryxdesign/core';
@@ -13,7 +13,7 @@
13
13
  * - /packages/lab/src/Stepper/Stepper.test.tsx (tests for new/changed behavior)
14
14
  * - /packages/lab/src/Stepper/index.ts (exports if types change)
15
15
  * - /apps/storybook/stories/Stepper.stories.tsx (storybook stories)
16
- * - /packages/cli/templates/blocks/components/Stepper/ (showcase blocks)
16
+ * - /packages/cli/assets/templates/blocks/components/Stepper/ (showcase blocks)
17
17
  */
18
18
  import { Children, useMemo } from 'react';
19
19
  import * as stylex from '@stylexjs/stylex';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/lab",
3
- "version": "0.2.0-canary.ca77e27",
3
+ "version": "0.2.0-canary.dfccd57",
4
4
  "description": "Experimental Astryx components — published to npm only under the @canary dist-tag for early testing; never released as a stable (latest) version.",
5
5
  "author": "Meta Open Source",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@stylexjs/stylex": ">=0.10.0",
48
- "@astryxdesign/core": "0.2.0-canary.ca77e27",
48
+ "@astryxdesign/core": "0.2.0-canary.dfccd57",
49
49
  "react": ">=19.0.0",
50
50
  "react-dom": ">=19.0.0",
51
51
  "lexical": "^0.46.0",
@@ -65,6 +65,7 @@
65
65
  "d3-shape": "^3.2.0"
66
66
  },
67
67
  "devDependencies": {
68
+ "@astryxdesign/cli": "0.2.0-canary.dfccd57",
68
69
  "@lexical/code": "^0.46.0",
69
70
  "@lexical/headless": "^0.46.0",
70
71
  "@lexical/html": "^0.46.0",
@@ -1,5 +1,5 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
2
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
3
3
 
4
4
  export const docs = {
5
5
  name: 'BottomSheet',
@@ -90,7 +90,7 @@ export const docs = {
90
90
  ],
91
91
  };
92
92
 
93
- /** @type {import('../../../core/src/docs-types').TranslationDoc} */
93
+ /** @type {import('@astryxdesign/cli/authoring').ComponentTranslationDoc} */
94
94
  export const docsDense = {
95
95
  description: 'mobile touch sheet rising from the bottom edge (native modal <dialog>): grab handle, drag-to-resize snap points, swipe-to-dismiss, named height scale',
96
96
  usage: {
@@ -134,6 +134,19 @@ describe('BottomSheet', () => {
134
134
  expect(onOpenChange).toHaveBeenCalledWith(false);
135
135
  });
136
136
 
137
+ it('does not dismiss when the sheet surface itself is clicked', () => {
138
+ const onOpenChange = vi.fn();
139
+ render(
140
+ <BottomSheet isOpen onOpenChange={onOpenChange} label="Filters">
141
+ Content
142
+ </BottomSheet>,
143
+ );
144
+ // Only a click that lands on the dialog (the transparent area) dismisses;
145
+ // clicks bubbling up from the sheet must not.
146
+ fireEvent.click(screen.getByText('Content'));
147
+ expect(onOpenChange).not.toHaveBeenCalled();
148
+ });
149
+
137
150
  describe('grab handle', () => {
138
151
  it('renders a decorative handle hidden from assistive tech', () => {
139
152
  render(
@@ -89,7 +89,10 @@ function defaultSnapHeights(): number[] {
89
89
  const styles = stylex.create({
90
90
  // A full-viewport transparent shell: it supplies the top layer, focus trap,
91
91
  // and ::backdrop scrim but paints nothing and doesn't clip, so the sheet can
92
- // translate past fully-open without hitting a fixed dialog edge.
92
+ // translate past fully-open without hitting a fixed dialog edge. It stays
93
+ // hit-testable (no pointer-events:none) so taps on the transparent area
94
+ // reach onClick and dismiss the sheet — the positioner below passes those
95
+ // taps through to here, while the sheet itself re-enables pointer events.
93
96
  dialog: {
94
97
  position: 'fixed',
95
98
  inset: 0,
@@ -102,7 +105,6 @@ const styles = stylex.create({
102
105
  border: 'none',
103
106
  backgroundColor: 'transparent',
104
107
  overflow: 'visible',
105
- pointerEvents: 'none',
106
108
  display: 'none',
107
109
  outline: 'none',
108
110
  },
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').HookDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').HookDoc} */
4
4
  export const docs = {
5
5
  name: 'useSheetGestures',
6
6
  displayName: 'useSheetGestures',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartArea',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartBar',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartCandlestick',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartDot',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartDotGL',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartDotGLInteractive',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartHeatmapGL',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartLine',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChartStreamGL',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChatEmojiPicker',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChatReactionBar',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChatTypingIndicator',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChatUnreadDivider',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'ChatReasoning',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'CircularProgress',
@@ -117,7 +117,7 @@ export const docs = {
117
117
  ],
118
118
  };
119
119
 
120
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
120
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
121
121
  export const docsZh = {
122
122
  name: 'CircularProgress',
123
123
  displayName: 'Circular Progress',
@@ -212,7 +212,7 @@ export const docsZh = {
212
212
  },
213
213
  };
214
214
 
215
- /** @type {import('../../../core/src/docs-types').TranslationDoc} */
215
+ /** @type {import('@astryxdesign/cli/authoring').ComponentTranslationDoc} */
216
216
  export const docsDense = {
217
217
  description:
218
218
  'Circular/radial progress indicator showing completion as a ring arc.',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'CodeEditor',
@@ -1,5 +1,5 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
2
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
3
3
 
4
4
  export const docs = {
5
5
  name: 'Drawer',
@@ -123,7 +123,7 @@ const [lineItem, setLineItem] = useState(null);
123
123
  ],
124
124
  };
125
125
 
126
- /** @type {import('../../../core/src/docs-types').TranslationDoc} */
126
+ /** @type {import('@astryxdesign/cli/authoring').ComponentTranslationDoc} */
127
127
  export const docsZh = {
128
128
  usage: {
129
129
  description: '用于检查器、详情视图和面板的边缘浮层——"点击表格行查看详情"的模式。按 Escape 关闭抽屉,焦点返回到打开它的元素。滑入/滑出动画遵循 prefers-reduced-motion。堆叠约定:同级抽屉后开的在上层,Escape 只关闭最上层的,关闭顺序由内向外——请以同级方式渲染,切勿嵌套。',
@@ -139,7 +139,7 @@ export const docsZh = {
139
139
  },
140
140
  };
141
141
 
142
- /** @type {import('../../../core/src/docs-types').TranslationDoc} */
142
+ /** @type {import('@astryxdesign/cli/authoring').ComponentTranslationDoc} */
143
143
  export const docsDense = {
144
144
  description: 'edge-anchored overlay (native <dialog>): start/end side panel or top/bottom sheet',
145
145
  usage: {
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'InfoTip',
@@ -39,7 +39,7 @@ export const docs = {
39
39
  },
40
40
  };
41
41
 
42
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
42
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
43
43
  export const docsZh = {
44
44
  name: 'InfoTip',
45
45
  displayName: 'Info Tip',
@@ -75,7 +75,7 @@ export const docsZh = {
75
75
  },
76
76
  };
77
77
 
78
- /** @type {import('../../../core/src/docs-types').TranslationDoc} */
78
+ /** @type {import('@astryxdesign/cli/authoring').ComponentTranslationDoc} */
79
79
  export const docsDense = {
80
80
  description:
81
81
  'Inline info-icon help affordance: accessible "i" button trigger pre-wired into a Tooltip.',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'LogStream',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'RadialChart',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'RichTextEditor',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'SVGIcon',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'SankeyChart',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'Schedule',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'Stat',
@@ -70,7 +70,7 @@ export const docs = {
70
70
  },
71
71
  };
72
72
 
73
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
73
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
74
74
  export const docsZh = {
75
75
  name: 'Stat',
76
76
  displayName: 'Stat',
@@ -136,7 +136,7 @@ export const docsZh = {
136
136
  },
137
137
  };
138
138
 
139
- /** @type {import('../../../core/src/docs-types').TranslationDoc} */
139
+ /** @type {import('@astryxdesign/cli/authoring').ComponentTranslationDoc} */
140
140
  export const docsDense = {
141
141
  description: 'KPI/metric display: label, large tabular-nums value, sentiment-aware delta, and trend media slot.',
142
142
  usage: {
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'Step',
@@ -13,7 +13,7 @@
13
13
  * - /packages/lab/src/Stepper/Stepper.test.tsx
14
14
  * - /packages/lab/src/Stepper/index.ts
15
15
  * - /apps/storybook/stories/Stepper.stories.tsx
16
- * - /packages/cli/templates/blocks/components/Stepper/ (showcase blocks)
16
+ * - /packages/cli/assets/templates/blocks/components/Stepper/ (showcase blocks)
17
17
  */
18
18
 
19
19
  import {type ReactNode} from 'react';
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: 'Stepper',
@@ -165,7 +165,7 @@ export const docs = {
165
165
  },
166
166
  };
167
167
 
168
- /** @type {import('../../../core/src/docs-types').TranslationDoc} */
168
+ /** @type {import('@astryxdesign/cli/authoring').ComponentTranslationDoc} */
169
169
  export const docsDense = {
170
170
  description: 'numbered step sequence for multi-step workflows',
171
171
  usage: {
@@ -212,7 +212,7 @@ export const docsDense = {
212
212
  ],
213
213
  };
214
214
 
215
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
215
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
216
216
  export const docsZh = {
217
217
  name: 'Stepper',
218
218
  displayName: 'Stepper',
@@ -13,7 +13,7 @@
13
13
  * - /packages/lab/src/Stepper/Stepper.test.tsx (tests for new/changed behavior)
14
14
  * - /packages/lab/src/Stepper/index.ts (exports if types change)
15
15
  * - /apps/storybook/stories/Stepper.stories.tsx (storybook stories)
16
- * - /packages/cli/templates/blocks/components/Stepper/ (showcase blocks)
16
+ * - /packages/cli/assets/templates/blocks/components/Stepper/ (showcase blocks)
17
17
  */
18
18
 
19
19
  import {Children, useMemo, type ReactNode} from 'react';
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: '3DBar',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: '3DChart',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: '3DScatter',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: '3DScatterGL',
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Meta Platforms, Inc. and affiliates.
2
2
 
3
- /** @type {import('../../../core/src/docs-types').ComponentDoc} */
3
+ /** @type {import('@astryxdesign/cli/authoring').ComponentDoc} */
4
4
 
5
5
  export const docs = {
6
6
  name: '3DSurface',