@astryxdesign/cli 0.1.1-canary.9846a62 → 0.1.1-canary.b6ade74

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/cli",
3
- "version": "0.1.1-canary.9846a62",
3
+ "version": "0.1.1-canary.b6ade74",
4
4
  "displayName": "CLI",
5
5
  "description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
6
6
  "author": "Meta Open Source",
@@ -54,9 +54,9 @@
54
54
  "jscodeshift": "^17.3.0"
55
55
  },
56
56
  "peerDependencies": {
57
- "@astryxdesign/core": "0.1.1-canary.9846a62",
58
- "@astryxdesign/lab": "0.1.1-canary.9846a62",
59
- "@astryxdesign/theme-neutral": "0.1.1-canary.9846a62"
57
+ "@astryxdesign/core": "0.1.1-canary.b6ade74",
58
+ "@astryxdesign/lab": "0.1.1-canary.b6ade74",
59
+ "@astryxdesign/theme-neutral": "0.1.1-canary.b6ade74"
60
60
  },
61
61
  "peerDependenciesMeta": {
62
62
  "@astryxdesign/core": {
@@ -70,9 +70,9 @@
70
70
  }
71
71
  },
72
72
  "devDependencies": {
73
- "@astryxdesign/core": "0.1.1-canary.9846a62",
74
- "@astryxdesign/lab": "0.1.1-canary.9846a62",
75
- "@astryxdesign/theme-neutral": "0.1.1-canary.9846a62"
73
+ "@astryxdesign/core": "0.1.1-canary.b6ade74",
74
+ "@astryxdesign/lab": "0.1.1-canary.b6ade74",
75
+ "@astryxdesign/theme-neutral": "0.1.1-canary.b6ade74"
76
76
  },
77
77
  "scripts": {
78
78
  "astryx": "node bin/astryx.mjs",
@@ -1,15 +0,0 @@
1
- // Copyright (c) Meta Platforms, Inc. and affiliates.
2
-
3
- /** @type {import('../../../../../core/src/docs-types').TemplateDoc} */
4
- export const doc = {
5
- type: 'block',
6
- exampleFor: 'CommandPaletteEmpty',
7
- name: 'CommandPaletteEmpty',
8
- displayName: 'Command Palette Empty',
9
- description:
10
- 'Command palette empty state shown when no commands are available.',
11
- isReady: true,
12
- isShowcase: true,
13
- aspectRatio: 4 / 3,
14
- componentsUsed: ['CommandPalette', 'CommandPaletteEmpty', 'Text'],
15
- };
@@ -1,26 +0,0 @@
1
- // Copyright (c) Meta Platforms, Inc. and affiliates.
2
-
3
- 'use client';
4
-
5
- import {useMemo} from 'react';
6
- import {CommandPalette} from '@astryxdesign/core/CommandPalette';
7
- import {Text} from '@astryxdesign/core/Text';
8
- import {createStaticSource} from '@astryxdesign/core/Typeahead';
9
-
10
- export default function CommandPaletteEmptyShowcase() {
11
- const emptySource = useMemo(() => createStaticSource([]), []);
12
-
13
- return (
14
- <CommandPalette
15
- isOpen
16
- isInline
17
- onOpenChange={() => {}}
18
- searchSource={emptySource}
19
- emptyBootstrapText={
20
- <Text type="supporting" color="secondary">
21
- No commands available yet
22
- </Text>
23
- }
24
- />
25
- );
26
- }