@mittwald/flow-react-components 1.1.0-next.9 → 1.1.1
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/AGENTS.md +1 -1
- package/MIGRATION.md +430 -145
- package/README.md +2 -1
- package/USAGE.md +14 -13
- package/dist/assets/component-index.json +1 -1
- package/dist/assets/doc-properties.json +1 -1
- package/dist/js/packages/components/src/lib/theming/hooks/useDesignTokens.mjs +2 -2
- package/dist/js/packages/components/src/lib/theming/hooks/useDesignTokens.mjs.map +1 -1
- package/dist/js/packages/components/src/lib/tokens/CategoricalColors.mjs +1 -1
- package/dist/js/packages/components/src/lib/tokens/CategoricalColors.mjs.map +1 -1
- package/dist/js/packages/design-tokens/dist/json-runtime/all-dark.mjs +5789 -0
- package/dist/js/packages/design-tokens/dist/json-runtime/all-dark.mjs.map +1 -0
- package/dist/js/packages/design-tokens/dist/json-runtime/all-light.mjs +5789 -0
- package/dist/js/packages/design-tokens/dist/json-runtime/all-light.mjs.map +1 -0
- package/dist/types/lib/theming/hooks/useDesignTokens.d.ts +526 -19583
- package/dist/types/lib/theming/hooks/useDesignTokens.d.ts.map +1 -1
- package/dist/types/lib/theming/types.d.ts +1 -1
- package/dist/types/lib/theming/types.d.ts.map +1 -1
- package/dist/types/lib/tokens/CategoricalColors.d.ts +1 -1
- package/dist/types/lib/tokens/CategoricalColors.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/js/packages/design-tokens/dist/json/all-dark.mjs +0 -17519
- package/dist/js/packages/design-tokens/dist/json/all-dark.mjs.map +0 -1
- package/dist/js/packages/design-tokens/dist/json/all-light.mjs +0 -17519
- package/dist/js/packages/design-tokens/dist/json/all-light.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -37,7 +37,8 @@ import { Button } from "@mittwald/flow-react-components";
|
|
|
37
37
|
- <https://storybook.flow-components.de> — Storybook.
|
|
38
38
|
- `@mittwald/flow-react-components/component-index` — a JSON index of every
|
|
39
39
|
public component with its lifecycle status and props.
|
|
40
|
-
- [MIGRATION.md](./MIGRATION.md) — upgrade notes.
|
|
40
|
+
- [MIGRATION.md](./MIGRATION.md) — upgrade notes. The codemods among them run
|
|
41
|
+
from one command: `npx @mittwald/flow-codemods@latest upgrade`.
|
|
41
42
|
|
|
42
43
|
## Contributing
|
|
43
44
|
|
package/USAGE.md
CHANGED
|
@@ -11,12 +11,12 @@ The prose that decides most questions — which component covers a use case, how
|
|
|
11
11
|
spacing is composed, which pattern applies — lives on the docs site and is
|
|
12
12
|
published for machine consumption:
|
|
13
13
|
|
|
14
|
-
| URL | What it is
|
|
15
|
-
| ---------------------------------------- |
|
|
16
|
-
| `https://flow.mittwald.de/llms.txt` | Index of every page, grouped by section
|
|
17
|
-
| `https://flow.mittwald.de/llms.json` | Manifest: title, description, page URL, Markdown URL per page
|
|
18
|
-
| `https://flow.mittwald.de/raw/<path>.md` | One page as Markdown, e.g. `/raw/
|
|
19
|
-
| `https://flow.mittwald.de/llms-full.txt` | Every page in one file (~1.7 MB)
|
|
14
|
+
| URL | What it is |
|
|
15
|
+
| ---------------------------------------- | -------------------------------------------------------------- |
|
|
16
|
+
| `https://flow.mittwald.de/llms.txt` | Index of every page, grouped by section |
|
|
17
|
+
| `https://flow.mittwald.de/llms.json` | Manifest: title, description, page URL, Markdown URL per page |
|
|
18
|
+
| `https://flow.mittwald.de/raw/<path>.md` | One page as Markdown, e.g. `/raw/components/actions/button.md` |
|
|
19
|
+
| `https://flow.mittwald.de/llms-full.txt` | Every page in one file (~1.7 MB) |
|
|
20
20
|
|
|
21
21
|
**Fetch a page before answering a design question.** The pages are **written in
|
|
22
22
|
German**; component names and design-system terms (Variants, Colors, Sizes,
|
|
@@ -24,12 +24,12 @@ States, Props) are not translated.
|
|
|
24
24
|
|
|
25
25
|
Start with these:
|
|
26
26
|
|
|
27
|
-
- `/raw/
|
|
28
|
-
|
|
29
|
-
- `/raw/
|
|
27
|
+
- `/raw/foundations/structure/layout.md` and `spacing.md` — how layout and
|
|
28
|
+
spacing are meant to be composed
|
|
29
|
+
- `/raw/patterns/patterns/forms.md`, `detail-page.md`, `errorhandling.md`,
|
|
30
30
|
`list-tile-table.md` — the recurring flows
|
|
31
|
-
- `/raw/
|
|
32
|
-
- `/raw/
|
|
31
|
+
- `/raw/foundations/content-guidelines/sprach-guide.md` — UI wording
|
|
32
|
+
- `/raw/get-started/versioning.md` — what you may depend on
|
|
33
33
|
|
|
34
34
|
## Setup
|
|
35
35
|
|
|
@@ -148,7 +148,7 @@ not a value to hard-code.
|
|
|
148
148
|
|
|
149
149
|
The version contract deliberately leaves several surfaces unguaranteed. They can
|
|
150
150
|
change in **any** release (see
|
|
151
|
-
`https://flow.mittwald.de/raw/
|
|
151
|
+
`https://flow.mittwald.de/raw/get-started/versioning.md`):
|
|
152
152
|
|
|
153
153
|
- **CSS class names** (`.flow--button`, …) — never write selectors against them.
|
|
154
154
|
- **Design-token names and values** (`--size-px--m`, `--color--gray--500`) —
|
|
@@ -190,4 +190,5 @@ Also:
|
|
|
190
190
|
- Documentation — <https://flow.mittwald.de>
|
|
191
191
|
- Storybook — <https://storybook.flow-components.de>
|
|
192
192
|
- Source and issues — <https://github.com/mittwald/flow>
|
|
193
|
-
- Upgrade notes — [MIGRATION.md](./MIGRATION.md)
|
|
193
|
+
- Upgrade notes — [MIGRATION.md](./MIGRATION.md), applied by
|
|
194
|
+
`npx @mittwald/flow-codemods@latest upgrade`
|