@astryxdesign/cli 0.7.5-canary.fd0aba8 → 0.7.6-canary.00507ba
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/CHANGELOG.md +88 -0
- package/assets/codemods/__tests__/registry.test.mjs +1 -0
- package/assets/codemods/registry.mjs +1 -0
- package/assets/codemods/transforms/next/index.mjs +1 -11
- package/assets/codemods/transforms/v0.7.5/index.mjs +20 -0
- package/assets/docs/author-a-theme.doc.mjs +3 -3
- package/assets/docs/motion.doc.mjs +39 -3
- package/assets/docs/tree/tokens-duration.doc.mjs +2 -2
- package/assets/docs/tree/tokens-ease.doc.mjs +10 -2
- package/assets/docs/tree/tokens.doc.mjs +1 -1
- package/assets/theme.template.ts +20 -5
- package/clients/cli/commands/import-hint-correctness.test.mjs +20 -1
- package/foundation/config/theme-private-vars.mjs +26 -6
- package/foundation/config/theme-private-vars.test.mjs +21 -0
- package/foundation/env/package-manager.test.mjs +14 -1
- package/foundation/integrations/public-imports.test.mjs +43 -18
- package/package.json +9 -9
- /package/assets/codemods/transforms/{next → v0.7.5}/__tests__/migrate-codeblock-tokenizer-to-language.test.mjs +0 -0
- /package/assets/codemods/transforms/{next → v0.7.5}/migrate-codeblock-tokenizer-to-language.mjs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
# @xds/cli
|
|
2
2
|
|
|
3
|
+
# 0.7.5
|
|
4
|
+
|
|
5
|
+
#### Experimental APIs
|
|
6
|
+
|
|
7
|
+
- New command `astryx experimental render <page>` turns a page built with your installed Astryx components into one self-contained HTML file. The file needs no network and no scripts, follows light and dark mode, and carries the page's source; `astryx experimental render --reverse <file.html>` writes that source back. Warnings point out anything that may not look as intended. Experimental commands may change or be removed in any patch release. Guide: `astryx docs cli/experimental/render-pages`.
|
|
8
|
+
- Building an icon-set package from an icon library takes fewer steps and fewer guesses. Only the experimental icon commands, the icon-set guide, and `astryx template` in a project that sets `experimental.iconSet` change; without that opt-in, stable commands behave as before, and only the `experimental` group's summary in `astryx help` and `astryx manifest` now mentions icon sets.
|
|
9
|
+
- **`experimental icon new-set`.** `--from` maps a definition only when an icon has its exact name and lists those for review; likely matches come back as at most three suggestions each, never written. It saves the library and version, copies the library's license notices, keeps your `--exclude` list across refreshes, and its receipt names the package entry, peer dependencies, and `typecheck` script to add. `--variants`, `--default-variant`, `--display-name`, and `--description` fill in the set. A refresh changes only the icons that library supplies, keeps each icon's export name, and lists renamed icons. A 1,600-icon library is read in about two seconds.
|
|
10
|
+
- **`experimental icon add` and `map`.** `add --variant <name> --from <module> --all` adds a variant for every icon at once, and `map --pairs a=b,c=d` writes many entries in one checked step.
|
|
11
|
+
- Icon commands now refuse options that conflict instead of silently ignoring one (`ERR_INVALID_OPTION`), leave every file as it was when they fail partway (`ERR_WRITE_FAILED`), and report a missing or withdrawn set the same way everywhere (`ERR_NOT_FOUND`).
|
|
12
|
+
- `experimental icon --set <set> --all-icons` lists every icon in a set, and `--definitions` lists every Astryx icon definition.
|
|
13
|
+
- Templates drop a mapped icon library's sizing props (`size`, `strokeWidth`, `absoluteStrokeWidth`) and keep comments on rewritten imports.
|
|
14
|
+
- Thirteen new icon definitions: `rotate`, `flipHorizontal`, `flipVertical`, `alignStart`, `alignCenter`, `alignEnd`, `panelLeft`, `panelRight`, `gitBranch`, `gitFork`, `scale`, `cpu`, and `textCase`. Definitions gain common glyph names as search words; seven optional definitions lose a word that named a different thing: `star` (`bookmark`), `database` (`table`), `raiseHand` (`stop`), `redo` (`forward`), `activity` (`monitor`), `archive` (`store`), `mobile` (`device`).
|
|
15
|
+
- `integration check` suggests icons by the same rule, describes each optional definition, and its version-drift warning gives the refresh command.
|
|
16
|
+
|
|
17
|
+
#### New Features
|
|
18
|
+
|
|
19
|
+
- Status colors are readable everywhere they appear, and Info is a status of its own. Each status (info, success, warning, error) now has a strong fill (`--color-<status>`) with content on it (`--color-on-<status>`, at least 4.5:1), a pale fill (`--color-<status>-muted`) with its content (`--color-on-<status>-muted`), and readable text for the page and cards (`--color-text-<status>`). Status icons (`--color-icon-<status>`) and borders (`--color-border-<status>`) default to the readable text color. The Info roles (`--color-info`, `--color-on-info`, `--color-info-muted`, …) are new and no longer borrow your accent color.
|
|
20
|
+
|
|
21
|
+
`--color-success`, `--color-warning`, and `--color-error` and `bg-<status>` keep their meaning as the strong fills. In Tailwind, `bg-info`, `bg-info-muted`, `text-on-<status>`, `text-on-<status>-muted`, and `text-status-<status>` are new; `text-`, `decoration-`, `placeholder-`, and `caret-<status>` now use the readable text shade, and `border-`, `divide-`, `outline-`, and `ring-<status>` use the border shade, while `bg-`, `accent-`, `fill-`, `stroke-<status>`, shadows, and gradients keep the strong fill. For example, Core's light `text-warning` is now `#753F07` instead of `#E9AF08`. To keep the fill color on text, write `text-[var(--color-warning)]`.
|
|
22
|
+
|
|
23
|
+
What changes on screen:
|
|
24
|
+
|
|
25
|
+
- Core's dark Error content (`--color-on-error`) is now `#0A1317` instead of white, so text on dark-mode error fills reaches 4.5:1. Core's Info Badge uses `#0064E0` instead of the accent (`#2694FE` in dark mode).
|
|
26
|
+
- Status icons (Icon `color="info|success|warning|error"`), Stepper status glyphs, and Chat tool-call status icons use the readable shades. Core's light success icon is now `#09441F` instead of `#0D8626`.
|
|
27
|
+
- Input and FileInput status borders use the border shades. Core's light warning border is now `#753F07` instead of `#E9AF08`, and Butter's light success and warning input borders reach 3:1.
|
|
28
|
+
- Banner draws its title, description, icon, and controls in the on-muted colors, and fills Info with `--color-info-muted`.
|
|
29
|
+
- Status fills keep a visible edge in forced-colors mode.
|
|
30
|
+
- Content on Chocolate and Matcha success and error fills, and on Stone success, warning, and error fills, now reaches 4.5:1.
|
|
31
|
+
- Every first-party theme sets a blue Info. Chocolate and Matcha Info Badges move from the accent to that blue; Butter keeps its own Info Badge colors.
|
|
32
|
+
- Neutral's `--color-success`, `--color-warning`, and `--color-error` are now the fills its Badges already showed, and its `--color-info` is `#0074E2` (`#6D9CFE` in dark mode). Its Badges, StatusDots, progress fills, and Stepper badges look the same; its accent ProgressBar, StatusDot, and Stepper now use Neutral's accent instead of blue.
|
|
33
|
+
- Neutral no longer defines its undocumented local status tokens. Use the standard roles instead: `--astryx-theme-neutral-color-status-fill-success`, `-status-fill-warning`, and `-status-fill-error` → `--color-success`, `--color-warning`, `--color-error`; `-status-muted-accent` → `--color-info-muted`; `-on-tint-neutral` → `--color-neutral`; the `-on-tint-overlay-*` and `-destructive-overlay-*` tokens → `--color-overlay-hover` and `--color-overlay-pressed`. `--astryx-theme-neutral-color-status-fill-accent` keeps its value but is deprecated.
|
|
34
|
+
|
|
35
|
+
Custom themes get the content and text roles they don't set: they are derived from the theme's status fills. To keep a component's previous color, set the matching role, for example `--color-icon-success` to your old `--color-success`.
|
|
36
|
+
|
|
37
|
+
- CodeBlock's `tokenizer` prop is deprecated in favor of a custom language: pass `language={createCodeLanguage({name, identifiers, tokenize})}` with the same function. The prop still works. `astryx upgrade` rewrites it when the block has a fixed `language`, and leaves a TODO comment where it can't safely rewrite it.
|
|
38
|
+
- `Icon` takes an optional `variant` to ask the active theme for alternate artwork, for example `<Icon icon="info" variant="filled" />`. The theme's icon receives the variant only when the theme lists it in `iconVariants`; otherwise it draws its normal artwork. Icons you pass as components never receive `variant`, and it is never written to the page. Icons without `variant` render as before.
|
|
39
|
+
- A theme icon can now pick its artwork by size: an entry in `defineTheme({icons})` or `registerIcons()` can be a function of `{size, variant}`, and `Icon` calls it with the size it renders at. Returning `null` draws no icon. `getIcon`, `getExtendedIcon`, `getIconRegistry`, `useIcon`, and a theme's `icons` field still return nodes, reading a function at `{size: 'md'}`. Existing icon entries are unchanged.
|
|
40
|
+
- A theme can list the icon variants it supports, such as `filled`, with `defineTheme({iconVariants})`, and read them back from `theme.iconVariants`. Child themes inherit the list unless they set their own. `@astryxdesign/core/Icon` exports `IconVariantMap` and `IconVariant` for typing variants. Themes without `iconVariants` are unchanged.
|
|
41
|
+
- `astryx theme build` keeps function icons and icon variant lists, so a built theme draws each icon at the same size and variant as the live theme, including icons inherited from another theme. A theme that lists `iconVariants` gets matching types in `<theme>.variants.d.ts`. Themes without these features build exactly as before.
|
|
42
|
+
- Themes can set the real size of each Icon size: `width` and `height` in `px` or `rem` on `components.icon['size:sm']` (or `xsm`, `md`, `lg`) now resize the glyph itself, for named icons and SVG components, in live and built themes. Before, they sized only the box around the icon. Sizes a theme does not style still render at 12, 16, 20, or 24px at a 16px root. `astryx docs theme` gains an Icon sizes section.
|
|
43
|
+
- New `--ease-exit` motion token for things leaving the screen, beside `--ease-standard` for things arriving. BottomSheet already closes on it, so nothing looks different, but a theme can now tune the exit. `astryx docs motion` and the theme template list it.
|
|
44
|
+
- `astryx upgrade` finishes instead of failing when it finds code it can't migrate safely: each spot is listed in `declinedCandidates` with its file, line, and a reason starting `manual migration needed (<codemod>):`, and the run exits 0. Generated files that need rebuilding, such as stale theme CSS, are listed in a new `regenerate` field with their rebuild command until they are rebuilt; a `hooks.postCodemod` that rebuilds them clears the entry. Protected generated files still stop the run as before, now with the rebuild command listed.
|
|
45
|
+
- The two Bottom Sheet flow templates (`BottomSheetSwitcherShowcase`, `BottomSheetSwitcherReviewFlow`) now show the standalone-step pattern that replaces `BottomSheetSwitcher`, and are also listed under `BottomSheet`. Template names and ids are unchanged.
|
|
46
|
+
|
|
47
|
+
#### Fixes
|
|
48
|
+
|
|
49
|
+
- Projects that compile StyleX with `@stylexjs/unplugin` (the standard Vite setup) are detected as StyleX projects.
|
|
50
|
+
- The `Tokenizer` showcase template's search returns matching tags again, so the live example on the Tokenizer docs page works.
|
|
51
|
+
- `astryx integration verify` no longer fails with "npm pack failed" when another `npm` wrapper comes first on your PATH.
|
|
52
|
+
- `astryx upgrade` skips vendored, generated, or ignored files it can't parse, lists them in `declinedCandidates`, and finishes the rest of the upgrade.
|
|
53
|
+
- `astryx upgrade` no longer spends minutes reading symlinked `node_modules` folders or package stores.
|
|
54
|
+
- `astryx upgrade --from` a version before 0.7.0 no longer fails on `var(--color-data-*)` without a fallback. Source builds that read raw data colors should import `dataVars` from `@astryxdesign/core/theme/dataTokens.stylex`.
|
|
55
|
+
- Tools that call the CLI API repeatedly, such as a docs site search, now see doc edits without restarting.
|
|
56
|
+
- Component families list the same members whether or not the package has been built, so Lab's `TourStep` now appears in the official package list.
|
|
57
|
+
- `astryx upgrade` handles an `astryx.config` written as `const config = {...}; export default config;`.
|
|
58
|
+
- `astryx component <name>` suggests the right component when you type a wrapped or prefixed name.
|
|
59
|
+
- When `astryx component`, `astryx template`, or `astryx docs` finds nothing, its suggestions stop where the matches get weak instead of listing unrelated entries.
|
|
60
|
+
- `astryx upgrade` to 0.7 no longer turns your own MetadataList class into a `data-columns` selector that never matches.
|
|
61
|
+
- `astryx discover` lists the experimental MobilePowerSearch component from `@astryxdesign/lab`.
|
|
62
|
+
- `astryx theme build` reports a theme file that fails to load instead of guessing the theme from its text.
|
|
63
|
+
- `astryx theme build` fails with a clear error when your project's `@astryxdesign/core` can't load, instead of silently building with the CLI's own copy.
|
|
64
|
+
- `astryx upgrade` to 0.7 leaves other libraries' theme objects alone.
|
|
65
|
+
- A failed `astryx upgrade` now lists the files it already changed: its `--json` error includes a `receipt` with `modifiedFiles`, `errors`, `protectedFiles`, `complete: false`, and `errorCode`. The error code and exit code are unchanged.
|
|
66
|
+
|
|
67
|
+
#### Documentation
|
|
68
|
+
|
|
69
|
+
- The Tokenizer templates size their field to fit phone screens.
|
|
70
|
+
- The CodeBlock snippet example shows one-line commands with Copy beside them.
|
|
71
|
+
- Package links now point to the project's GitHub home, `meta/astryx`.
|
|
72
|
+
- TabList's description no longer promises a built-in "more" menu (a narrow tab strip scrolls), and the library page template describes `MobileNav` as the slide-out drawer it is.
|
|
73
|
+
- The theme guide and generated theme files explain that an extending theme's `motion` settings inherit field by field.
|
|
74
|
+
- The disabled Thumbnail template now describes its buttons correctly: they stay focusable and are announced as disabled.
|
|
75
|
+
|
|
76
|
+
#### Contributors
|
|
77
|
+
|
|
78
|
+
Thanks to everyone who contributed to this release:
|
|
79
|
+
|
|
80
|
+
- @cixzhang
|
|
81
|
+
- @ejhammond
|
|
82
|
+
- @imdreamrunner
|
|
83
|
+
- @josephfarina
|
|
84
|
+
- @kentonquatman
|
|
85
|
+
- @nbozidarevic
|
|
86
|
+
- @rubyycheung
|
|
87
|
+
- @vjeux
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
3
91
|
# 0.7.4
|
|
4
92
|
|
|
5
93
|
#### Experimental APIs
|
|
@@ -33,6 +33,7 @@ const registry = new Map([
|
|
|
33
33
|
['0.6.7', () => import('./transforms/v0.6.7/index.mjs')],
|
|
34
34
|
['0.7.0', () => import('./transforms/v0.7.0/index.mjs')],
|
|
35
35
|
['0.7.2', () => import('./transforms/v0.7.2/index.mjs')],
|
|
36
|
+
['0.7.5', () => import('./transforms/v0.7.5/index.mjs')],
|
|
36
37
|
]);
|
|
37
38
|
|
|
38
39
|
// Re-export from the shared utility so registry callers and other consumers
|
|
@@ -7,14 +7,4 @@
|
|
|
7
7
|
* this file into the resolved version folder.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
meta as migrateCodeBlockTokenizerToLanguageMeta,
|
|
12
|
-
} from './migrate-codeblock-tokenizer-to-language.mjs';
|
|
13
|
-
|
|
14
|
-
export default [
|
|
15
|
-
{
|
|
16
|
-
name: 'migrate-codeblock-tokenizer-to-language',
|
|
17
|
-
transform: migrateCodeBlockTokenizerToLanguage,
|
|
18
|
-
meta: migrateCodeBlockTokenizerToLanguageMeta,
|
|
19
|
-
},
|
|
20
|
-
];
|
|
10
|
+
export default [];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @file next transform manifest
|
|
5
|
+
*
|
|
6
|
+
* Staged codemods for the next release. The Version Packages PR promotes
|
|
7
|
+
* this file into the resolved version folder.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import migrateCodeBlockTokenizerToLanguage, {
|
|
11
|
+
meta as migrateCodeBlockTokenizerToLanguageMeta,
|
|
12
|
+
} from './migrate-codeblock-tokenizer-to-language.mjs';
|
|
13
|
+
|
|
14
|
+
export default [
|
|
15
|
+
{
|
|
16
|
+
name: 'migrate-codeblock-tokenizer-to-language',
|
|
17
|
+
transform: migrateCodeBlockTokenizerToLanguage,
|
|
18
|
+
meta: migrateCodeBlockTokenizerToLanguageMeta,
|
|
19
|
+
},
|
|
20
|
+
];
|
|
@@ -41,7 +41,7 @@ export const docs = {
|
|
|
41
41
|
['typography.scale', '--text-heading-*-size/weight/leading, --text-body-size/weight/leading', 'base (px), ratio'],
|
|
42
42
|
['typography.body/heading/code', '--font-family-body, --font-family-heading, --font-family-code', 'family, fallbacks?, url?, weight?'],
|
|
43
43
|
['radius', '--radius-inner, --radius-element, --radius-container, --radius-page, --radius-chat', 'base (px), multiplier (0–2)'],
|
|
44
|
-
['motion', '--duration
|
|
44
|
+
['motion', 'Every --duration-* token, --ease-entrance and --ease-move (springs don\'t read them yet)', 'tempo? (0.75–1.5), character? (crisp|standard|expressive); and/or a duration scale: fast (ms), medium (ms), ratio, slow?, easing?. The scale wins over tempo for the durations it sets, and explicit tokens win over both. Fixed whatever the knobs say: drags and momentum, rubber band, keyboard, press onset/cancel/flash, hover intent, gesture thresholds, Spinner/Skeleton loops, the 200 ms Reduce Motion cap. See {@link generic:motion}.'],
|
|
45
45
|
]},
|
|
46
46
|
{type: 'prose', text: 'For dark mode tuples in token values, see the Dark mode section of {@link generic:use-a-theme}.'},
|
|
47
47
|
],
|
|
@@ -58,7 +58,7 @@ export const docs = {
|
|
|
58
58
|
['iconVariants', 'Replaced, never merged: a child that sets iconVariants replaces the base list; a child that omits it inherits the list.'],
|
|
59
59
|
['indicators', 'Shallow-merged: child indicators override matching names from the base.'],
|
|
60
60
|
['onDark, onLight', "Deep-merged per surface: the base's resolved surface first, then the child's overrides."],
|
|
61
|
-
['motion', "Field by field: the child's `fast`, `medium` and `ratio` regenerate the fast and medium duration tokens; `slow` and `easing` left unset keep the base theme's tokens, so an inherited slow band stays at the base's ratio."],
|
|
61
|
+
['motion', "Field by field: the child's `fast`, `medium` and `ratio` regenerate the fast and medium duration tokens; `slow` and `easing` left unset keep the base theme's tokens, so an inherited slow band stays at the base's ratio. Each knob (`tempo`, `character`) the child leaves unset keeps the base's."],
|
|
62
62
|
['typography, radius, color', 'Child config replaces base entirely (these are scale inputs, not additive).'],
|
|
63
63
|
['adaptations', 'Width-breakpoint overrides merge by fixed name. Inherited ordered rules keep their relative order; child rules append and re-resolve against the child root axes.'],
|
|
64
64
|
]},
|
|
@@ -106,7 +106,7 @@ export const docs = {
|
|
|
106
106
|
{type: 'prose', text: "Precedence follows rule order. Root theme values apply first, then every matching rule in declaration order. A later rule may deliberately restore a root value. `onDark` and `onLight` media-surface overrides apply after adaptations and win on the same leaf."},
|
|
107
107
|
{type: 'prose', text: "`extends` preserves the base rule order and appends child rules. Inherited conditions use the child's effective breakpoint map. An empty child rule is a no-op, not a removal operator."},
|
|
108
108
|
{type: 'prose', text: "A rule may replace a theme-local token only when the exact name is already enrolled by root `localTokens` or an enrolled base. Component writes in a rule are validated exactly like root `components`: same targets, axes, and value domains. The one addition is that a rule may not be the only place a custom value is enrolled: a value that is valid only because a theme enrolls it generates unconditional type augmentation, so declare it on the root theme first and let rules restyle it. Built-in values need no root declaration. When rules can match together, their ordered portable and local token writes are validated as one effective graph; any reachable cycle fails before CSS is emitted."},
|
|
109
|
-
{type: 'prose', text:
|
|
109
|
+
{type: 'prose', text: "Adaptations compile to CSS media queries with no resize listener or styling rerender. Runtime and `{@command theme build}` use the same compiler, but only a built theme is present at first paint in an SSR app."},
|
|
110
110
|
],
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -50,7 +50,7 @@ export const docs = {
|
|
|
50
50
|
content: [
|
|
51
51
|
{
|
|
52
52
|
type: 'prose',
|
|
53
|
-
text:
|
|
53
|
+
text: "Four easing curves. `--ease-standard` decelerates, for state changes. `--ease-entrance` is for things arriving and `--ease-move` for things moving on screen; a theme's `character` sets both, and at `standard` they equal `--ease-standard`. `--ease-exit` accelerates, for things leaving: it moves off from rest and leaves fast, so the travel stays visible for the whole duration, and it is the same at every `character`.",
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
type: 'token-ref',
|
|
@@ -120,7 +120,7 @@ export const docs = {
|
|
|
120
120
|
content: [
|
|
121
121
|
{
|
|
122
122
|
type: 'prose',
|
|
123
|
-
text:
|
|
123
|
+
text: "Set transition durations and easing from the motion tokens, so a theme that retunes motion retunes your animations too. Ease something arriving on `--ease-entrance` and something moving on screen on `--ease-move`, so it follows the theme's `character`, and something leaving on `--ease-exit`, which stays the same at every `character`.",
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
type: 'code',
|
|
@@ -137,12 +137,48 @@ const styles = stylex.create({
|
|
|
137
137
|
slideUp: {
|
|
138
138
|
transitionProperty: 'transform, opacity',
|
|
139
139
|
transitionDuration: durationVars['--duration-medium'],
|
|
140
|
-
transitionTimingFunction: easeVars['--ease-
|
|
140
|
+
transitionTimingFunction: easeVars['--ease-entrance'],
|
|
141
141
|
},
|
|
142
142
|
});`,
|
|
143
143
|
},
|
|
144
144
|
],
|
|
145
145
|
},
|
|
146
|
+
{
|
|
147
|
+
id: 'theme-motion',
|
|
148
|
+
title: 'Tune motion from the theme',
|
|
149
|
+
category: 'foundations',
|
|
150
|
+
content: [
|
|
151
|
+
{
|
|
152
|
+
type: 'prose',
|
|
153
|
+
text: "A theme sets how motion feels with two knobs in `defineTheme`'s `motion`. They drive the CSS motion tokens; the springs of touch motion don't read them yet. Every theme follows each person's Reduce Motion setting; no theme loosens it.",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
type: 'list',
|
|
157
|
+
style: 'unordered',
|
|
158
|
+
items: [
|
|
159
|
+
"`tempo` scales every motion duration: 1 is Astryx's own, 0.75 the quickest and 1.5 the slowest (values outside are clamped).",
|
|
160
|
+
"`character` sets how lively motion is: `'crisp'` decelerates without overshoot, `'standard'` is Astryx's own, and `'expressive'` overshoots slightly on entrances and moves. Exits and fades never overshoot.",
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: 'code',
|
|
165
|
+
lang: 'ts',
|
|
166
|
+
label: 'A quicker, crisper theme',
|
|
167
|
+
code: `export const brandTheme = defineTheme({
|
|
168
|
+
name: 'brand',
|
|
169
|
+
motion: {tempo: 0.85, character: 'crisp'},
|
|
170
|
+
});`,
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
type: 'prose',
|
|
174
|
+
text: "Some motion never follows the knobs, because it tracks a finger or the system: finger tracking, momentum and the rubber band, the on-screen keyboard, the press model's onset delay, cancel distance and tap flash (its release fade follows tempo), hover-intent delays, gesture thresholds, the loops of busy indicators such as Spinner and Skeleton, and the 200 ms Reduce Motion cross-fade.",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
type: 'prose',
|
|
178
|
+
text: 'Precedence, lowest to highest: the knobs, then a duration scale (`fast`, `medium`, `slow`, `ratio`) for the durations it sets, then explicit `tokens`. A theme with no `motion` renders exactly as before.',
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
},
|
|
146
182
|
{
|
|
147
183
|
title: 'Best Practices',
|
|
148
184
|
category: 'foundations',
|
|
@@ -17,14 +17,14 @@ export const docs = {
|
|
|
17
17
|
"order": 100
|
|
18
18
|
},
|
|
19
19
|
"category": "foundations",
|
|
20
|
-
"description": "Motion duration primitives. Three bands: fast (micro-interactions), medium (entrance/exit), slow (continuous). Min/max variants derive from base × ratio.",
|
|
20
|
+
"description": "Motion duration primitives. Three bands: fast (micro-interactions), medium (entrance/exit), slow (continuous). Min/max variants derive from base × ratio. Of a theme's two `motion` knobs, `tempo` (0.75–1.5) scales every duration here; `character` leaves durations alone. A duration scale beats `tempo` for the bands it sets, and explicit `tokens` beat both. `tempo` leaves these unscaled: finger tracking, momentum, the rubber band, the on-screen keyboard, the press's onset delay, cancel distance and tap flash, hover-intent delays, gesture thresholds, Spinner's and Skeleton's loops, and the 200 ms Reduce Motion cap.",
|
|
21
21
|
"sections": [
|
|
22
22
|
{
|
|
23
23
|
"title": "Duration Tokens",
|
|
24
24
|
"content": [
|
|
25
25
|
{
|
|
26
26
|
"type": "prose",
|
|
27
|
-
"text": "Motion duration primitives. Three bands: fast (micro-interactions), medium (entrance/exit), slow (continuous). Min/max variants derive from base × ratio."
|
|
27
|
+
"text": "Motion duration primitives. Three bands: fast (micro-interactions), medium (entrance/exit), slow (continuous). Min/max variants derive from base × ratio. Of a theme's two `motion` knobs, `tempo` (0.75–1.5) scales every duration here; `character` leaves durations alone. A duration scale beats `tempo` for the bands it sets, and explicit `tokens` beat both. `tempo` leaves these unscaled: finger tracking, momentum, the rubber band, the on-screen keyboard, the press's onset delay, cancel distance and tap flash, hover-intent delays, gesture thresholds, Spinner's and Skeleton's loops, and the 200 ms Reduce Motion cap."
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"type": "table",
|
|
@@ -17,14 +17,14 @@ export const docs = {
|
|
|
17
17
|
"order": 110
|
|
18
18
|
},
|
|
19
19
|
"category": "foundations",
|
|
20
|
-
"description": "Easing curves for animations and transitions.",
|
|
20
|
+
"description": "Easing curves for animations and transitions. Of a theme's two `motion` knobs, `character` sets `--ease-entrance` and `--ease-move`: `crisp` decelerates without overshoot, `expressive` overshoots slightly, and at `standard` both equal `--ease-standard`; `--ease-exit` keeps its own curve at every character. `tempo` leaves curves alone. A duration scale's own fields win over the knobs, and explicit `tokens` win over everything. No curve here shapes motion that follows a finger or the system (dragging, momentum, the rubber band, the on-screen keyboard), and the press's clocks, hover-intent delays and gesture thresholds keep their timing whatever the character.",
|
|
21
21
|
"sections": [
|
|
22
22
|
{
|
|
23
23
|
"title": "Easing Tokens",
|
|
24
24
|
"content": [
|
|
25
25
|
{
|
|
26
26
|
"type": "prose",
|
|
27
|
-
"text": "Easing curves for animations and transitions."
|
|
27
|
+
"text": "Easing curves for animations and transitions. Of a theme's two `motion` knobs, `character` sets `--ease-entrance` and `--ease-move`: `crisp` decelerates without overshoot, `expressive` overshoots slightly, and at `standard` both equal `--ease-standard`; `--ease-exit` keeps its own curve at every character. `tempo` leaves curves alone. A duration scale's own fields win over the knobs, and explicit `tokens` win over everything. No curve here shapes motion that follows a finger or the system (dragging, momentum, the rubber band, the on-screen keyboard), and the press's clocks, hover-intent delays and gesture thresholds keep their timing whatever the character."
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"type": "table",
|
|
@@ -37,6 +37,14 @@ export const docs = {
|
|
|
37
37
|
"--ease-standard",
|
|
38
38
|
"cubic-bezier(0.24, 1, 0.4, 1)"
|
|
39
39
|
],
|
|
40
|
+
[
|
|
41
|
+
"--ease-entrance",
|
|
42
|
+
"cubic-bezier(0.24, 1, 0.4, 1)"
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
"--ease-move",
|
|
46
|
+
"cubic-bezier(0.24, 1, 0.4, 1)"
|
|
47
|
+
],
|
|
40
48
|
[
|
|
41
49
|
"--ease-exit",
|
|
42
50
|
"cubic-bezier(0.3, 0, 0.6, 0.6)"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// AUTO-GENERATED — do not edit manually.
|
|
4
4
|
// Run: node scripts/generate-token-docs.mjs
|
|
5
|
-
// Total:
|
|
5
|
+
// Total: 285 tokens across 15 categories.
|
|
6
6
|
|
|
7
7
|
/** @type {import('@astryxdesign/cli/authoring').NamespaceDoc} */
|
|
8
8
|
export const docs = {
|
package/assets/theme.template.ts
CHANGED
|
@@ -181,12 +181,26 @@ export const myTheme = defineTheme({
|
|
|
181
181
|
radius: {base: 4, multiplier: 1},
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
184
|
+
* Motion. Two knobs set how its CSS feels (touch springs don't read them
|
|
185
|
+
* yet):
|
|
186
|
+
* tempo — 1 is Astryx's own; 0.75 the quickest, 1.5 the slowest.
|
|
187
|
+
* character — 'crisp' | 'standard' | 'expressive': the entrance and move
|
|
188
|
+
* curves (--ease-entrance, --ease-move). --ease-exit, the curve for
|
|
189
|
+
* something leaving, is the same at every character; exits and fades
|
|
190
|
+
* never overshoot.
|
|
191
|
+
* e.g. motion: {tempo: 0.85, character: 'crisp'}
|
|
192
|
+
* Finger tracking, momentum, the rubber band, the on-screen keyboard,
|
|
193
|
+
* hover-intent delays, gesture thresholds, the press's onset delay, cancel
|
|
194
|
+
* distance and tap flash, and busy loops never follow them; the press
|
|
195
|
+
* release fade follows tempo, up to the 200 ms Reduce Motion cap.
|
|
196
|
+
*
|
|
197
|
+
* A duration scale in ms wins over tempo for the durations it sets. Each of
|
|
198
|
+
* fast/medium/slow also gets a -min and -max sibling computed with `ratio`
|
|
199
|
+
* (min = base × ratio, max = base ÷ ratio), so a component can pick a longer
|
|
200
|
+
* or shorter variant of the same tempo.
|
|
187
201
|
* Snappy {fast: 100, medium: 250} · Default {fast: 175, medium: 410, slow: 975}
|
|
188
202
|
* Cinematic {fast: 200, medium: 500, slow: 1200}
|
|
189
|
-
* `easing` overrides --ease-standard.
|
|
203
|
+
* `easing` overrides --ease-standard. Explicit `tokens` win over both.
|
|
190
204
|
*
|
|
191
205
|
* Reference: `astryx docs motion`.
|
|
192
206
|
*/
|
|
@@ -217,7 +231,8 @@ export const myTheme = defineTheme({
|
|
|
217
231
|
// --radius-* none · inner · element · container · page · chat · full
|
|
218
232
|
// --shadow-* low/med/high + inset-{hover,selected,success,warning,error}
|
|
219
233
|
// --duration-* {fast,medium,slow} × {-min, base, -max}
|
|
220
|
-
// --ease-* standard (
|
|
234
|
+
// --ease-* standard (state) · entrance (arriving) · move (on
|
|
235
|
+
// screen) · exit (leaving)
|
|
221
236
|
// --font-family-* body · heading · code
|
|
222
237
|
// --font-size-* 4xs … 5xl
|
|
223
238
|
// --font-weight-* normal · medium · semibold · bold
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import {describe, it, expect} from 'vitest';
|
|
17
17
|
import * as fs from 'node:fs';
|
|
18
|
+
import * as os from 'node:os';
|
|
18
19
|
import * as path from 'node:path';
|
|
19
20
|
import {fileURLToPath} from 'node:url';
|
|
20
21
|
import {
|
|
@@ -129,8 +130,10 @@ describe('import hint correctness', () => {
|
|
|
129
130
|
* @returns {string} the fixture's project root (pass as runCli's cwd)
|
|
130
131
|
*/
|
|
131
132
|
function createIntegrationFixture({exports: pkgExports} = {}) {
|
|
133
|
+
// Outside the source tree: a scan of the repo's docs (docs-drift)
|
|
134
|
+
// running at the same time must never find this fixture's doc.
|
|
132
135
|
const fixtureDir = fs.mkdtempSync(
|
|
133
|
-
path.join(
|
|
136
|
+
path.join(os.tmpdir(), 'astryx-import-hint-integration-'),
|
|
134
137
|
);
|
|
135
138
|
|
|
136
139
|
fs.mkdirSync(path.join(fixtureDir, 'packages'), {recursive: true});
|
|
@@ -209,6 +212,22 @@ describe('import hint correctness', () => {
|
|
|
209
212
|
fs.rmSync(fixtureDir, {recursive: true, force: true});
|
|
210
213
|
}
|
|
211
214
|
});
|
|
215
|
+
|
|
216
|
+
it('builds its fixture where a scan of the repo\u2019s docs running at the same time never finds it', async () => {
|
|
217
|
+
// The docs-drift scan walks packages/cli/clients/cli/commands for
|
|
218
|
+
// .doc.mjs files. A fixture built there handed it this test's Widget
|
|
219
|
+
// doc, which could vanish before the scan imported it.
|
|
220
|
+
const fixtureDir = createIntegrationFixture();
|
|
221
|
+
try {
|
|
222
|
+
const {collectDocs} = await import('../../../test/drift/docs-drift.mjs');
|
|
223
|
+
const found = (await collectDocs())
|
|
224
|
+
.map(({file}) => path.resolve(REPO_ROOT, file))
|
|
225
|
+
.filter(file => file.startsWith(fixtureDir + path.sep));
|
|
226
|
+
expect(found).toEqual([]);
|
|
227
|
+
} finally {
|
|
228
|
+
fs.rmSync(fixtureDir, {recursive: true, force: true});
|
|
229
|
+
}
|
|
230
|
+
});
|
|
212
231
|
});
|
|
213
232
|
|
|
214
233
|
describe('group names do NOT resolve to incorrect import paths', () => {
|
|
@@ -6,18 +6,35 @@
|
|
|
6
6
|
* this check.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* The authored adaptation rule values: a defined theme's normalized rules keep
|
|
11
|
+
* them, while its resolved `__adaptationRules` hold compiler output.
|
|
12
|
+
* @param {Record<string, any>} themeDef
|
|
13
|
+
*/
|
|
10
14
|
function adaptationRuleValues(themeDef) {
|
|
11
|
-
if (Array.isArray(themeDef.__adaptationRules)) {
|
|
12
|
-
return themeDef.__adaptationRules;
|
|
13
|
-
}
|
|
14
15
|
const rules = themeDef.adaptations?.rules ?? themeDef.__adaptations?.rules;
|
|
15
|
-
if (!Array.isArray(rules))
|
|
16
|
+
if (!Array.isArray(rules)) {
|
|
17
|
+
return Array.isArray(themeDef.__adaptationRules)
|
|
18
|
+
? themeDef.__adaptationRules
|
|
19
|
+
: [];
|
|
20
|
+
}
|
|
16
21
|
return rules
|
|
17
22
|
.map(/** @param {any} rule */ rule => rule?.value)
|
|
18
23
|
.filter(Boolean);
|
|
19
24
|
}
|
|
20
25
|
|
|
26
|
+
/**
|
|
27
|
+
* The tokens a surface's author wrote. A defined theme's `tokens` are
|
|
28
|
+
* resolved, with the private vars the compiler derives (the motion knobs'
|
|
29
|
+
* `--_astryx-*`, `spec:AST-108` FR4), so its authored ones are
|
|
30
|
+
* `__inputTokens`; a built module is compiler output, checked when built.
|
|
31
|
+
* @param {Record<string, any>} value
|
|
32
|
+
*/
|
|
33
|
+
function authoredTokens(value) {
|
|
34
|
+
if ('__built' in value) return undefined;
|
|
35
|
+
return '__inputTokens' in value ? value.__inputTokens : value.tokens;
|
|
36
|
+
}
|
|
37
|
+
|
|
21
38
|
/**
|
|
22
39
|
* Every named theme-input surface that can contain token or component writes.
|
|
23
40
|
* @param {Record<string, any>} themeDef
|
|
@@ -54,7 +71,10 @@ export function validatePrivateVars(themeDef) {
|
|
|
54
71
|
|
|
55
72
|
for (const surface of inputSurfaces(themeDef)) {
|
|
56
73
|
for (const field of ['tokens', 'localTokens']) {
|
|
57
|
-
const values =
|
|
74
|
+
const values =
|
|
75
|
+
field === 'tokens'
|
|
76
|
+
? authoredTokens(surface.value)
|
|
77
|
+
: surface.value[field];
|
|
58
78
|
if (!values || typeof values !== 'object' || Array.isArray(values)) {
|
|
59
79
|
continue;
|
|
60
80
|
}
|
|
@@ -17,6 +17,27 @@ describe('validatePrivateVars', () => {
|
|
|
17
17
|
).toEqual([]);
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
+
it('checks a defined theme’s authored input, not the private vars its motion knobs derive (spec:AST-108 FR4)', async () => {
|
|
21
|
+
const {defineTheme} = await import('@astryxdesign/core/theme');
|
|
22
|
+
const derived = defineTheme({
|
|
23
|
+
name: 'motion-knobs',
|
|
24
|
+
motion: {fast: 125, medium: 300, slow: 700, ratio: 0.75, tempo: 1.2},
|
|
25
|
+
adaptations: {
|
|
26
|
+
rules: [{when: {pointer: 'coarse'}, value: {motion: {fast: 100}}}],
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
expect(
|
|
30
|
+
Object.keys(derived.tokens).some(name => name.startsWith('--_')),
|
|
31
|
+
).toBe(true);
|
|
32
|
+
expect(validatePrivateVars(derived)).toEqual([]);
|
|
33
|
+
const authored = defineTheme({
|
|
34
|
+
name: 'authored',
|
|
35
|
+
motion: {tempo: 1.2},
|
|
36
|
+
tokens: {'--_astryx-motion-tempo': '3'},
|
|
37
|
+
});
|
|
38
|
+
expect(validatePrivateVars(authored)).toHaveLength(1);
|
|
39
|
+
});
|
|
40
|
+
|
|
20
41
|
it('reports direct private keys on every authored input surface', () => {
|
|
21
42
|
const errors = validatePrivateVars({
|
|
22
43
|
name: 'private-inputs',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
2
|
|
|
3
|
-
import {describe, it, expect, afterEach, vi} from 'vitest';
|
|
3
|
+
import {describe, it, expect, afterEach, beforeAll, vi} from 'vitest';
|
|
4
4
|
import {spawnSync} from 'node:child_process';
|
|
5
5
|
import * as fs from 'node:fs';
|
|
6
6
|
import * as path from 'node:path';
|
|
@@ -847,6 +847,19 @@ describe('commandInFolder', () => {
|
|
|
847
847
|
);
|
|
848
848
|
|
|
849
849
|
describe.runIf(PWSH)('in PowerShell, where it is installed', () => {
|
|
850
|
+
// The first `pwsh` a job starts pays PowerShell's cold start, which on a
|
|
851
|
+
// busy runner has outlasted a test's 30 s. `spawnSync` blocks, so that
|
|
852
|
+
// start landed on the first test's clock. Starting it once here, on the
|
|
853
|
+
// hook's own timeout, leaves each test's clock to its command.
|
|
854
|
+
beforeAll(() => {
|
|
855
|
+
const warm = spawnSync(
|
|
856
|
+
/** @type {string} */ (PWSH),
|
|
857
|
+
['-NoProfile', '-NonInteractive', '-Command', 'exit 0'],
|
|
858
|
+
{encoding: 'utf8'},
|
|
859
|
+
);
|
|
860
|
+
expect(warm.status, warm.stderr).toBe(0);
|
|
861
|
+
}, 120_000);
|
|
862
|
+
|
|
850
863
|
it('runs in the folder with every argument unchanged', () => {
|
|
851
864
|
const root = makeTmpDir();
|
|
852
865
|
const project = path.join(root, 'it\'s Macy’s ‘q’ $5 %x% !y `z` "q" [1]');
|
|
@@ -85,6 +85,14 @@ const BLOCK = () =>
|
|
|
85
85
|
|
|
86
86
|
beforeEach(() => {
|
|
87
87
|
dir = fs.mkdtempSync(path.join(process.cwd(), '.astryx-public-imports-'));
|
|
88
|
+
// The fixture is a package with its own TypeScript config, scoped to its
|
|
89
|
+
// own files. Without one, the prop check reads the repository's root
|
|
90
|
+
// config, as `tsc` would for a folder inside it, and compiles every
|
|
91
|
+
// declaration in the repository for each check.
|
|
92
|
+
fs.writeFileSync(
|
|
93
|
+
path.join(dir, 'tsconfig.json'),
|
|
94
|
+
`${JSON.stringify({extends: '../tsconfig.json', include: ['**/*']})}\n`,
|
|
95
|
+
);
|
|
88
96
|
write(
|
|
89
97
|
'package.json',
|
|
90
98
|
JSON.stringify({
|
|
@@ -282,25 +290,42 @@ describe('public imports: component doc import', () => {
|
|
|
282
290
|
);
|
|
283
291
|
});
|
|
284
292
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
293
|
+
// One whole check per case, so each has the full test budget: the four
|
|
294
|
+
// run back to back took most of one budget alone and timed out under load.
|
|
295
|
+
describe('lists its findings only: neither validate nor --strict counts or fails on them', () => {
|
|
296
|
+
beforeEach(() => {
|
|
297
|
+
pkg(p => {
|
|
298
|
+
delete p.exports['./components/AcmeWidget'];
|
|
299
|
+
});
|
|
300
|
+
write(
|
|
301
|
+
'templates/account-card.tsx',
|
|
302
|
+
"import {X} from '../components/AcmeWidget';\nexport default function A() {\n return <X />;\n}\n",
|
|
303
|
+
);
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
it('validate lists them as notes, with no severity, and counts none as an issue', async () => {
|
|
307
|
+
const validated = await validateLocalIntegration(dir);
|
|
308
|
+
const notes = (validated.notes ?? []).filter(note =>
|
|
309
|
+
CODES.has(note.code),
|
|
310
|
+
);
|
|
311
|
+
expect(notes.length).toBeGreaterThan(2);
|
|
312
|
+
expect(notes.every(note => !('severity' in note))).toBe(true);
|
|
313
|
+
expect(validated.issues.filter(issue => CODES.has(issue.code))).toEqual(
|
|
314
|
+
[],
|
|
315
|
+
);
|
|
316
|
+
});
|
|
317
|
+
|
|
318
|
+
it('the integration check counts none of them', async () => {
|
|
319
|
+
const plain = await integrationCheck({cwd: dir});
|
|
320
|
+
expect(plain.data.errors).toBe(0);
|
|
321
|
+
expect(plain.data.warnings).toBe(0);
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
it('--strict fails on none of them', async () => {
|
|
325
|
+
const strict = await integrationCheck({cwd: dir, strict: true});
|
|
326
|
+
expect(strict.data.failed).toBe(false);
|
|
327
|
+
expect(strict.data.failures).toEqual([]);
|
|
288
328
|
});
|
|
289
|
-
write(
|
|
290
|
-
'templates/account-card.tsx',
|
|
291
|
-
"import {X} from '../components/AcmeWidget';\nexport default function A() {\n return <X />;\n}\n",
|
|
292
|
-
);
|
|
293
|
-
const issues = await found();
|
|
294
|
-
expect(issues.length).toBeGreaterThan(2);
|
|
295
|
-
expect(issues.every(i => !('severity' in i))).toBe(true);
|
|
296
|
-
const validated = await validateLocalIntegration(dir);
|
|
297
|
-
expect(validated.issues.filter(issue => CODES.has(issue.code))).toEqual([]);
|
|
298
|
-
const plain = await integrationCheck({cwd: dir});
|
|
299
|
-
expect(plain.data.errors).toBe(0);
|
|
300
|
-
expect(plain.data.warnings).toBe(0);
|
|
301
|
-
const strict = await integrationCheck({cwd: dir, strict: true});
|
|
302
|
-
expect(strict.data.failed).toBe(false);
|
|
303
|
-
expect(strict.data.failures).toEqual([]);
|
|
304
329
|
});
|
|
305
330
|
|
|
306
331
|
it('flags a require-only condition', async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6-canary.00507ba",
|
|
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",
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
"zod": "^4.4.3"
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
|
-
"@astryxdesign/charts": "0.7.
|
|
115
|
-
"@astryxdesign/core": "0.7.
|
|
116
|
-
"@astryxdesign/lab": "0.7.
|
|
117
|
-
"@astryxdesign/theme-neutral": "0.7.
|
|
114
|
+
"@astryxdesign/charts": "0.7.6-canary.00507ba",
|
|
115
|
+
"@astryxdesign/core": "0.7.6-canary.00507ba",
|
|
116
|
+
"@astryxdesign/lab": "0.7.6-canary.00507ba",
|
|
117
|
+
"@astryxdesign/theme-neutral": "0.7.6-canary.00507ba"
|
|
118
118
|
},
|
|
119
119
|
"peerDependenciesMeta": {
|
|
120
120
|
"@astryxdesign/charts": {
|
|
@@ -131,10 +131,10 @@
|
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
"devDependencies": {
|
|
134
|
-
"@astryxdesign/charts": "0.7.
|
|
135
|
-
"@astryxdesign/core": "0.7.
|
|
136
|
-
"@astryxdesign/lab": "0.7.
|
|
137
|
-
"@astryxdesign/theme-neutral": "0.7.
|
|
134
|
+
"@astryxdesign/charts": "0.7.6-canary.00507ba",
|
|
135
|
+
"@astryxdesign/core": "0.7.6-canary.00507ba",
|
|
136
|
+
"@astryxdesign/lab": "0.7.6-canary.00507ba",
|
|
137
|
+
"@astryxdesign/theme-neutral": "0.7.6-canary.00507ba",
|
|
138
138
|
"@heroicons/react": "^2.2.0",
|
|
139
139
|
"@stylexjs/stylex": "^0.19.0",
|
|
140
140
|
"@types/babel__core": "^7.20.5",
|
|
File without changes
|
/package/assets/codemods/transforms/{next → v0.7.5}/migrate-codeblock-tokenizer-to-language.mjs
RENAMED
|
File without changes
|