@flipova/foundation 2.4.1 → 2.4.2-alpha.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/README.md CHANGED
@@ -154,4 +154,4 @@ cd docs && npm start
154
154
  ## License
155
155
 
156
156
  MIT © Flipova. Participation is governed by
157
- [the Code of Conduct](CODE_OF_CONDUCT.md).
157
+ [the Code of Conduct](.github/CODE_OF_CONDUCT.md).
@@ -459,28 +459,33 @@ wrappers) and are exposed as npm scripts:
459
459
  <content><![CDATA[
460
460
  # How to Contribute
461
461
 
462
- **One command runs the whole cycle.**
462
+ ## The channels
463
+
464
+ Work lands on `dev`, and travels the release ladder one branch at a time. Each
465
+ channel accepts only the one before it:
463
466
 
464
- ```bash
465
- npm run flow
467
+ ```
468
+ dev -> alpha -> beta -> rc -> main -> tag vX.Y.Z
466
469
  ```
467
470
 
468
- It walks, in order: the issue, the release decision, the branch, the checks, the
469
- commit, the push, the pull request, and the link back to the issue. It skips
470
- whatever is already done, so running it before and after your changes is the
471
- expected way to work.
471
+ `main` is production. For this repository the deliverable is the npm package, so
472
+ `main` publishes; in another repository it would be a site, an image, anything.
472
473
 
473
- You make four decisions. Everything else is generated:
474
+ 1. Branch off `dev` and open a pull request into `dev`: squash is the only merge
475
+ allowed for work branches, and one review is required.
476
+ 2. Promote from the **workspace**, not from this repository. `corral` walks the
477
+ ladder, waits for the checks, and never cuts a delivery short:
474
478
 
475
- | You decide | Flow asks for |
476
- | --- | --- |
477
- | what the issue is | a title and a template (`feature`, `bug`, `chore`, blank) |
478
- | whether this is a release | `major`, `minor`, `patch`, or `none` |
479
- | what the change says | one line, which becomes the changelog entry |
480
- | the commit subject | one line |
479
+ ```bash
480
+ corral promote v2.4.2-alpha.1 --repo foundation --merge # dev -> alpha, tag
481
+ corral promote v2.4.2-beta.1 --repo foundation --merge # alpha -> beta, tag
482
+ corral promote v2.4.2-rc.1 --repo foundation --merge # beta -> rc, tag
483
+ corral promote v2.4.2 --repo foundation --merge # rc -> main, tag
484
+ ```
481
485
 
482
- The `Issues:` trailer, the `Closes #n` line, the branch, the version file and the
483
- labels are all derived, never typed.
486
+ The tag is what publishes. `.github/workflows/release.yml` refuses a tag that
487
+ does not match the version in `package.json`, runs `npm run deploy`, and opens
488
+ the GitHub release with the notes GitHub generates for it.
484
489
 
485
490
  ## Designing in this repository
486
491
 
@@ -522,8 +527,8 @@ Four rules the tooling cannot check for you:
522
527
  families, shadows and z-index belong in the registries.
523
528
  3. **Never hand-edit a generated file** (`config.ts`, `tokens.js`,
524
529
  `docs/generated/**`). The next run overwrites it.
525
- 4. **Commit the sources and the regenerated output together**, or `flow verify`
526
- fails on drift.
530
+ 4. **Commit the sources and the regenerated output together**, or
531
+ `npm run design:gen:check` (run by CI) fails on drift.
527
532
 
528
533
  ### A theming change, in one line
529
534
 
@@ -535,52 +540,55 @@ follows on its own.
535
540
  ## The gate
536
541
 
537
542
  ```bash
538
- npm run flow verify
543
+ npm run design:pipeline # gen, check, verify, lint, doc
544
+ npm run typecheck
545
+ npm test
539
546
  ```
540
547
 
541
- Runs, in order: the changeset against its declaration, the generated files
542
- against the registries, the registry validation, and the types. It is a gate and
543
- not a formatter: nothing is rewritten, so a failure always means "look at this".
548
+ CI runs all of it on every pull request, plus `npm run format:check` and the
549
+ build: `.github/workflows/dev.yml` on `dev`, `staging.yml` for a pull request
550
+ into `staging`, and `release.yml` on the release channels and `main`. The design
551
+ gate is not a formatter — nothing is rewritten, so a failure always means "look
552
+ at this".
544
553
 
545
- For the full regeneration, `npm run design:pipeline` (`gen`, `check`, `verify`,
546
- `lint`, `doc`). If you touched a registry, `npm run design:canonical` and commit
554
+ If you touched a registry, run `npm run design:canonical` and commit
547
555
  `design/canonical.index.txt`.
548
556
 
549
557
  ## Versioning
550
558
 
551
559
  There is exactly **one** version in this repository: the root `package.json`,
552
560
  the one that actually gets published. The registries store no copy of it:
553
-
554
- - `npm run version:bump` (= `changeset version` **+** `flow release reset` **+**
555
- `npm run design:doc`) bumps `package.json`, returns the release declaration to
556
- `none`, and regenerates the documentation in one step. The release workflow
557
- uses that command, so the version pull request can never be inconsistent.
558
- - `design/manifest.xml` has **no** `<version>` element: the XSD would reject it,
559
- so a second copy cannot be reintroduced by accident.
560
-
561
- There is exactly one changeset too, `.changeset/release.md`, generated from
562
- `.github/flow/release.yml`. Declare the bump with `npm run flow -- release`;
563
- never edit the generated file and never add a second one.
561
+ `design/manifest.xml` has **no** `<version>` element, the XSD would reject it, so
562
+ a second copy cannot be reintroduced by accident. `corral promote` writes that
563
+ one version, and the release workflow refuses a tag that disagrees with it.
564
564
 
565
565
  ### The release path
566
566
 
567
567
  ```
568
568
  branch
569
569
  |
570
- v pull request (CI: typecheck, design gate, changeset required, flow state in sync)
571
- main
570
+ v pull request into dev (CI: lint, format, typecheck, tests, build, design gate)
571
+ dev
572
+ |
573
+ v promote (each merge waits for the checks to be green)
574
+ alpha
572
575
  |
573
- v changesets opens/updates the "chore: version packages" pull request
574
- "chore: version packages" <-- the only path that publishes
576
+ v promote
577
+ beta
578
+ |
579
+ v promote
580
+ rc
581
+ |
582
+ v promote
583
+ main
575
584
  |
576
- v merging it runs the release preflight, then publishes
585
+ v tag vX.Y.Z (the tag must match package.json)
577
586
  npm
578
587
  ```
579
588
 
580
- The preflight refuses to publish unless a changesets commit produced the version
581
- currently in `package.json`, so a release cannot happen by accident. A `hotfix`
582
- dispatch with a mandatory reason is the only exception, and the quality gates
583
- still run.
589
+ Nothing publishes from an ordinary commit: only a `v*` tag on `main` reaches the
590
+ registry, through the trusted publisher (OIDC) declared on npm, so there is no
591
+ token to rotate and no secret to leak.
584
592
  ]]> </content>
585
593
  </article>
586
594
  </section>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flipova/foundation",
3
- "version": "2.4.1",
3
+ "version": "2.4.2-alpha.1",
4
4
  "description": "gluestack-ui components for React Native (iOS, Android) and Web, with a registry-driven theming pipeline (XML tokens/themes to gluestack config + Tailwind theme)",
5
5
  "author": "Flipova",
6
6
  "license": "MIT",
@@ -47,7 +47,6 @@
47
47
  "components",
48
48
  "design",
49
49
  "README.md",
50
- "CHANGELOG.md",
51
50
  "LICENSE"
52
51
  ],
53
52
  "scripts": {
@@ -95,7 +94,6 @@
95
94
  }
96
95
  },
97
96
  "devDependencies": {
98
- "@changesets/changelog-github": "^0.6.0",
99
97
  "@eslint/js": "^9.0.0",
100
98
  "eslint": "^9.0.0",
101
99
  "eslint-config-prettier": "^9.1.0",
@@ -103,7 +101,6 @@
103
101
  "eslint-plugin-react-hooks": "^5.0.0",
104
102
  "prettier": "^3.3.0",
105
103
  "typescript-eslint": "^8.0.0",
106
- "@changesets/cli": "^2.30.0",
107
104
  "@react-native/assets-registry": "^0.79.7",
108
105
  "@testing-library/dom": "^10.4.2",
109
106
  "@testing-library/react": "^16.3.2",
package/CHANGELOG.md DELETED
@@ -1,409 +0,0 @@
1
- # Changelog
2
-
3
- ## 2.3.0
4
-
5
- ### Minor Changes
6
-
7
- - f614759: Themes can be declared as light/dark variant pairs in design/themes.xml, and the provider takes a variant prop that is resolved against mode at runtime.
8
-
9
- ## 2.2.1
10
-
11
- ### Patch Changes
12
-
13
- - cce3ac0: the provider publishes its theme colours in a context and useGluestackColors reads the mounted theme first, so an app that adopted the registries reads its own branding and not the package palette
14
-
15
- ## 2.2.0
16
-
17
- ### Minor Changes
18
-
19
- - cce3ac0: flipova-design adopt: an app copies the design registries into design/ (and only the registries), the manifest outputs are rewritten to theme/config.ts and theme/tokens.js, and theme/provider.tsx is created
20
- createGluestackUIProvider(theme) is exported from @flipova/foundation/ui, so an app mounts a provider built from its own generated theme; GluestackUIProvider remains the package theme
21
- design.js resolves the Python sources from the package instead of the registry directory, so an adopted copy without tools/ has a working generator
22
-
23
- ## 2.1.1
24
-
25
- ### Patch Changes
26
-
27
- - 39083f9: align the optional expo-glass-effect peer with the expo peer: >=55.0.0 instead of >=57.0.0, so an Expo SDK 55 app can resolve the tree
28
-
29
- ## 2.1.0
30
-
31
- ### Minor Changes
32
-
33
- - 39083f9: flipova-design no longer copies the registries into the consumer project: it drives the toolchain already installed in node_modules/@flipova/foundation/design
34
- init/inject inject only the app-level files (tailwind.config.js, postcss.config.js, globals.css) plus the design:\* npm scripts, and never overwrite what exists unless --force
35
- new where prints the resolved registries and artifacts, inject replays the wiring without the toolchain
36
- a project design/manifest.xml stays supported as an explicit fork, and gen then writes into the project
37
- design.js honours FOUNDATION_VENV and FOUNDATION_DOCS_OUT, and probes the project venv or any python on PATH that can import lxml
38
-
39
- ## 2.0.5
40
-
41
- ### Patch Changes
42
-
43
- - 6b211df: release chain observability: flow status and flow release status report npm, the Release run announces its decision, flow merge names the next step, and flow is a menu in a terminal
44
-
45
- ## 2.0.4
46
-
47
- ### Patch Changes
48
-
49
- - 7e14947: Gate the release on the changelog entry instead of a commit subject.
50
-
51
- ## 2.0.3
52
-
53
- ### Patch Changes
54
-
55
- - 592f9a1: Check the OIDC capability where id-token: write actually is.
56
-
57
- ## 2.0.2
58
-
59
- ### Patch Changes
60
-
61
- - 6e4b031: Fix the release path, which could not complete a release at all.
62
-
63
- Merging the 2.0.1 version pull request failed twice, for two unrelated reasons.
64
-
65
- - The version pull request was red: `flow release check` wanted
66
- `.changeset/release.md`, which `changeset version` had already consumed.
67
- Deleting the changeset is what that command does, so a declaration still
68
- saying `patch` made the invariant "a real bump implies the file exists" false
69
- on the version pull request and on `main`. `flow release reset`, wired into
70
- `npm run version:bump`, returns the declaration to `none` in the same step
71
- that consumes the changeset, so the state is consistent everywhere with no
72
- special case in the check.
73
- - `main` refused to publish. The preflight read `git log -1 --pretty=%s` and
74
- required a `chore: version packages` subject; on a repository that merges
75
- pull requests the tip is always `Merge pull request #N from ...`, so the
76
- check could never succeed. It now asks which commit **wrote the current
77
- version** into `package.json`, with `git log -S`, and treats a version
78
- already on the registry as nothing-to-do rather than as a failure.
79
-
80
- Also here:
81
-
82
- - `flow verify` runs the gate a contributor would otherwise forget: changeset
83
- drift, generated files against the registries, registry validation, types.
84
- It is a gate and not a formatter, so a failure always means "look at this".
85
- - CONTRIBUTING is now organised around `npm run flow`: the cycle, the four
86
- decisions you actually make, and what the tool handles for you.
87
- - `flow issue new` writes the body as a literal YAML block. A Markdown body
88
- dumped as a folded scalar doubles every blank line in it.
89
- - the generated "How to Contribute" page had drifted from CONTRIBUTING: it is
90
- generated from `design/documentation.xml`, not from the Markdown file, so it
91
- still described the manual procedure. Both are now organised around
92
- `npm run flow`.
93
-
94
- ## 2.0.1
95
-
96
- ### Patch Changes
97
-
98
- - 47775ca: Make the contribution flow enforceable rather than advisory, and give the
99
- repository one entry point for the whole cycle: issue, changeset, branch,
100
- commit, pull request.
101
-
102
- ### A single changeset, declared once
103
-
104
- `.github/flow/release.yml` declares the bump and the summary for the cycle,
105
- and `.changeset/release.md` is generated from it. `.changeset/` holds exactly
106
- one file, and `flow release check` reports any drift between the declaration
107
- and what `changeset version` actually reads. The version decision is one
108
- reviewable file instead of a dozen that individually mean very little.
109
-
110
- A changeset with malformed frontmatter used to stop the whole release with an
111
- error naming neither the file nor the line. `flow release consolidate` folds
112
- every existing changeset into the single one, and names the files it cannot
113
- read instead of failing later.
114
-
115
- ### The cycle, end to end
116
-
117
- `node .github/scripts/flow.mjs` walks the cycle in order and skips whatever is
118
- already done: declare or adopt an issue, declare the release, branch, commit
119
- with the `Issues:` trailer, push, open the pull request, link the issue. Every
120
- step is also usable on its own, and a non-interactive run falls back to the
121
- documented defaults instead of blocking on a prompt.
122
-
123
- ### Issues declared in the repository
124
-
125
- `.github/issues/<id>.yml` declares one issue per file - id, title, labels,
126
- body - and syncs it to GitHub, so a tracker entry is reviewable like any other
127
- source file. `flow issue link <n>` adopts an issue that already exists on the
128
- tracker. `flow link` resolves the local ids and writes `Closes #n` into the
129
- pull request, refusing to reference a pull request, because GitHub shares one
130
- numbering between issues and pull requests.
131
-
132
- ### Labels
133
-
134
- `.github/labels.yml` declares every automation label with its colour, its
135
- description and the paths that trigger it; `.github/labeler.yml` is generated
136
- from it and checked for drift. The five labels left over from the removed
137
- architecture (`blocks`, `hooks`, `layout`, `primitives`, `studio`) are gone.
138
-
139
- ### Release path
140
-
141
- `package.json` is the single source of the version. The release workflow
142
- refuses anything unexpected, authenticates against the registry before
143
- uploading, and names the likely cause of a failure - missing, expired,
144
- classic, or wrong-registry token - instead of failing with a bare `E404`. A
145
- `hotfix` dispatch with a mandatory reason is the only way to skip the version
146
- pull request.
147
-
148
- ### CI
149
-
150
- - the issue-linkage failure now names the pull request and the two ways out:
151
- link an issue, or label the pull request `no-issue`;
152
- - labelling a pull request `changeset:major|minor|patch|none` makes the guard
153
- write the changeset, commit it to the branch and explain itself;
154
- - the design registry gate runs on every pull request and on `main`;
155
- - line endings are normalised (`.gitattributes`), so a generated file can no
156
- longer look out of date only on Windows.
157
-
158
- ## 2.0.0
159
-
160
- ### Major Changes
161
-
162
- - 387bd75: The design system is now a **single registry-driven pipeline**: the XML registries
163
- are the only source of truth, and they generate the entire gluestack/nativewind
164
- theme.
165
-
166
- ```
167
- design/tokens.xml ┐
168
- ├─> components/ui/gluestack-ui-provider/config.ts (colour vars, light/dark)
169
- design/themes.xml ┘ components/ui/gluestack-ui-provider/tokens.js (the whole Tailwind theme)
170
- ```
171
-
172
- Role ids in `themes.xml` are now the gluestack CSS variable names
173
- (`primary-foreground`, `card-foreground`, ...), emitted as space-separated RGB
174
- triplets so Tailwind opacity modifiers (`bg-primary/50`) keep working.
175
-
176
- ## Breaking changes
177
-
178
- - **The XML element generator is gone.** `uiElement` / `uiHook` definitions, the
179
- 5-files-per-element output, the generated `foundation/**` tree, the showroom
180
- pages and the generated vitest suites are removed. The component source under
181
- `components/ui` is now edited directly. `design/schema.xsd` only declares
182
- `foundationRegistry`, `documentation`, `tokens` and `themes`.
183
- - **`tailwind.config.js` no longer contains design values.** Consumers must wire
184
- the generated theme themselves:
185
- ```js
186
- const tokens = require("@flipova/foundation/tokens");
187
- module.exports = {
188
- presets: [require("nativewind/preset")],
189
- theme: { extend: tokens.theme },
190
- };
191
- ```
192
- `tailwind.config.js`, `globals.css` and `postcss.config.js` are app-level files
193
- and are not published; see the Installation page for the three-file setup.
194
- - **Removed Tailwind aliases** (all unused in `components/`): colours
195
- `chart-1..5`, `sidebar-*`, `typography-*`; font families `inter`, `georgia`,
196
- `melno`, `andika`, `outfit`; font weight `extrablack`.
197
- - **`font-mono` / `font-serif` now resolve from the registry** (literal stacks)
198
- instead of `var(--font-mono)` / `var(--font-serif)`.
199
- - Apps must define `--font-sans` (used by `font-sans` / `font-body`) and
200
- `--font-heading` if those families are used; otherwise the text falls back to
201
- the inherited font. `font-system`, `font-mono` and `font-serif` need no
202
- variable.
203
-
204
- ## Added
205
-
206
- - New `@flipova/foundation/tokens` export (typed) exposing the generated Tailwind
207
- theme, so the design tokens are reachable by package name.
208
- - Semantic colours `success`, `warning`, `error`, `info` and every
209
- `*-foreground` counterpart are now available as utilities
210
- (`bg-success`, `text-error-foreground`, ...) - the variables existed but were
211
- not mapped in Tailwind.
212
- - `font-roboto` now resolves (it was previously absent from the Tailwind config
213
- and silently produced nothing).
214
- - Scale tokens are exposed as utilities: `spacing`, `borderRadius`, `screens`
215
- (`xs:` `md:` `lg:` `2xl:`), `fontSize` (including `text-2xs`), `fontWeight`,
216
- `lineHeight`, `letterSpacing`, `boxShadow` (including `shadow-hard-*` /
217
- `shadow-soft-*`), `zIndex` (`z-modal`, `z-toast`, ...), `opacity`,
218
- `transitionDuration` and `transitionTimingFunction`.
219
-
220
- ## 1.14.0
221
-
222
- ### Minor Changes
223
-
224
- - 33523d8: Add comprehensive guide and documentation for integrating Flipova Foundation design tokens and theming system with external React Web component libraries (shadcn/ui, Radix UI, Material UI, Tailwind CSS).
225
-
226
- ## 1.13.0
227
-
228
- ### Minor Changes
229
-
230
- - 7b2dc77: Redesign documentation portal with Apple-style aesthetic, translate codebase comments to English, reorganize sidebar, and add comprehensive guides.
231
-
232
- ## 1.12.0
233
-
234
- ### Minor Changes
235
-
236
- - 7682c7f: Refactor: Remove Flipova Studio, finalize English translations, and fix Docusaurus build issues.
237
-
238
- ## 1.11.0
239
-
240
- ### Minor Changes
241
-
242
- - eddf500: **feat(sso): add `@flipova/foundation/sso` SDK**
243
-
244
- New sub-package providing a lightweight, framework-agnostic OAuth2 PKCE SSO SDK for React web applications.
245
-
246
- - `SSOProvider` — React context provider (handles login callback, token persistence, auto-refresh)
247
- - `useSSOAuth()` — Hook exposing `user`, `tokens`, `login`, `logout`, `refreshToken`, `isLoading`, `isAuthenticated`
248
- - `withSSO(Component)` — HOC to protect pages/routes
249
- - `createSSOClient(config)` — Low-level client for custom flows
250
- - Built-in support for **Flipova Accounts** and **Google OAuth** with PKCE
251
- - Fully extensible with `provider: "custom"` + arbitrary endpoints
252
-
253
- **fix(build): eliminate native dependency leaks from web bundles**
254
-
255
- Extracted all native/Expo package references into a dedicated `nativeExternal` list and ensured they are marked `external` in ALL tsup build targets (including `layout/index`). The problematic `chunk-32VWREEH.mjs` (which imported `@expo/vector-icons`, `react-native-gesture-handler`, `react-native-reanimated`, `expo-camera`) no longer leaks into consumer web bundles.
256
-
257
- Web projects importing `@flipova/foundation/layout` no longer need to provide shims for native packages.
258
-
259
- **fix(cli): remove broken `flipova-studio` bin entry**
260
-
261
- The `bin` field pointed to `./dist/studio-v2/cli/index.js` which did not exist (studio-v2 CLI not yet implemented). The entry has been removed to prevent `npx flipova-studio` from crashing with `MODULE_NOT_FOUND`.
262
-
263
- **chore(studio-v1): remove studio v1 directory**
264
-
265
- Studio v1 (`studio/`) has been superseded by studio-v2 and is no longer maintained or referenced. Removed from the repository.
266
-
267
- **chore(build): clean up tsup.config.ts and package.json scripts**
268
-
269
- - Removed studio-v1 and studio-v2 build/dev scripts that no longer apply
270
- - Removed broken `studio-v2/cli/index` tsup entry
271
- - Added `sso/index` build entry (browser platform, pure ESM+CJS)
272
-
273
- ## 1.10.1
274
-
275
- ### Patch Changes
276
-
277
- - ccd4d90: Fix: react-native no longer imported in web bundle
278
-
279
- Split tsup build into two configs: platform-agnostic entries (index, tokens, theme, layout, config) and a browser-platform web entry. With `platform:"browser"`, esbuild resolves `useColorScheme.web.ts` (window.matchMedia) instead of the React Native version, so `react-native` is never bundled into web consumers.
280
-
281
- ## 1.10.0
282
-
283
- ### Minor Changes
284
-
285
- - a7083e6: Complete Docusaurus documentation rewrite for v1.10
286
-
287
- - New homepage with hero, features grid, and module cards
288
- - Improved CSS design: dark mode, typography, code blocks, tables, admonitions
289
- - Getting Started: separate RN and Web quick-start paths
290
- - Theming: ColorScheme keys reference, custom theme example, system color scheme
291
- - Design Tokens: full token reference with all values (spacing, radii, colors, shadows, typography, motion, z-index)
292
- - Components: accurate props tables for every exported component
293
- - Layouts: full primitive API (Box props table) + all layout components
294
- - Web: new dedicated guide for the /web entry point (Vite, Next.js, Tailwind, dark mode, SSR)
295
- - Studio: updated architecture diagram, WebSocket events table, project file format
296
- - API Reference: complete export reference for all sub-modules and types
297
- - Sidebar updated to include the new Web guide
298
-
299
- ## 1.9.0
300
-
301
- ### Minor Changes
302
-
303
- - 6e5e021: Refactor Flipova Studio UI to use unified Foundation primitives for elegant, centralized design.
304
-
305
- ## 1.8.0
306
-
307
- ### Minor Changes
308
-
309
- - 909f5aa: Add isomorphic React Web support directly via the `@flipova/foundation/web` entry point without requiring native dependencies. Added GitHub Packages dual-publishing support.
310
-
311
- ## 1.7.0
312
-
313
- ### Minor Changes
314
-
315
- - 9771d1d: Add multi-platform Docker support (linux/amd64, linux/arm64) to release workflow
316
-
317
- ## 1.6.0
318
-
319
- ### Minor Changes
320
-
321
- - 3b33f1c: Unified release workflow in release.yml with clear steps for npm, Docker, archive, and CLI releases. Removed publish.yml
322
-
323
- ## 1.5.0
324
-
325
- ### Minor Changes
326
-
327
- - 30fce61: Reorganize GitHub workflows with structured pipeline, concurrency handling, and workflow_run triggers. Remove duplicate npm publish from publish workflow (handled by release workflow)
328
-
329
- ## 1.4.1
330
-
331
- ### Patch Changes
332
-
333
- - 8ae1798: Create new branch for multi-format releases
334
-
335
- Design Docker image build workflow
336
-
337
- Design additional release formats (e.g., standalone binaries, archives)
338
-
339
- Create GitHub workflow for Docker releases
340
-
341
- Create GitHub workflow for other release formats
342
-
343
- Update documentation for new release formats
344
-
345
- Add changeset for multi-format releases
346
-
347
- ## 1.4.0
348
-
349
- ### Minor Changes
350
-
351
- - 751d13e: Added Dockerfile
352
-
353
- ## 1.3.2
354
-
355
- ### Patch Changes
356
-
357
- - 0e0f75f: Restyling of documentation interface
358
-
359
- ## 1.3.1
360
-
361
- ### Patch Changes
362
-
363
- - c1377f2: documentation updates
364
-
365
- ## 1.3.0
366
-
367
- ### Minor Changes
368
-
369
- - 8922e28: Add comprehensive documentation including Getting Started, Theming, Components, Layouts, Design Tokens, and Studio guides. Complete user documentation with examples, best practices, and API references.
370
-
371
- ## 1.2.0
372
-
373
- ### Minor Changes
374
-
375
- - 6fb7929: Fix TypeScript errors in TriggerBlock.tsx and LogicPanel.items.test.tsx. Improve CONTRIBUTING.md with comprehensive Git workflow and version management documentation.
376
-
377
- ## 1.1.0
378
-
379
- ### Minor Changes
380
-
381
- - 9599f87: Add Flipova Studio — visual app builder integrated into foundation.
382
-
383
- - Studio server (Express + WebSocket) with REST API for project, pages, registry, and code generation
384
- - Document tree engine with immutable operations (create, insert, remove, move, update)
385
- - Code generator that produces clean React Native .tsx files importing from @flipova/foundation
386
- - Project generator that scaffolds screens, navigation, theme config, services, and App.tsx
387
- - Web UI with device frame preview, drag & drop from registry, props panel, layers panel, and Expo Snack integration
388
- - CLI: `npx flipova-studio` to start, `npx flipova-studio generate` for headless codegen
389
- - Component registry with 10 base components (Button, TextInput, TextArea, Checkbox, Switch, Badge, Avatar, IconButton, Chip, Spinner)
390
- - Block registry with 7 functional blocks (AuthFormBlock, AvatarBlock, HeaderBlock, SearchBarBlock, StatCardBlock, EmptyStateBlock, ListItemBlock)
391
- - Foundation config system with defineConfig(), FoundationProvider, and token/theme overrides
392
-
393
- ## 1.0.0 (2025-04-03)
394
-
395
- ### Features
396
-
397
- - Design tokens: spacing, breakpoints, radii, shadows, colors, typography, motion, opacity, z-index
398
- - Theme system: 9 built-in themes (light, dark, neon, spring, summer, autumn, winter, halloween, christmas)
399
- - `createTheme()` helper for custom themes
400
- - `FoundationProvider` with `defineConfig()` for project-level token and theme overrides
401
- - Layout primitives: Box, Stack, Inline, Center, Scroll, Divider
402
- - 23 layout components with centralized registry (props, defaults, variants, constants, theme mapping)
403
- - Base UI components: Button, TextInput (with variant and size support)
404
- - Functional blocks: AuthFormBlock, HeaderBlock
405
- - Component and block registries for UI builder integration
406
- - `useBreakpoint()` hook with derived helpers (isMobile, isTablet, isDesktop)
407
- - `useAdaptiveValue()` hook for responsive prop selection
408
- - `usePlatformInfo()` hook for platform detection
409
- - Utility functions: resolveLayoutPadding, resolveBackground