@cahyo-dimas/freeday 3.20.0 → 3.21.0

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 CHANGED
@@ -9,6 +9,56 @@ benar. Perubahan seperti itu ditulis di bawah `### Changed: BREAKING (types)`
9
9
  lama → tipe baru, dan cara menyempitkannya — bukan di bawah `### Added`, betapapun aditifnya dari
10
10
  sisi kit.
11
11
 
12
+ ## [3.21.0] - 2026-11-20
13
+
14
+ **Sebuah app memutuskan tampilannya sendiri.** Sebelum rilis ini kit hanya menawarkan palet primary,
15
+ dan semua abu-abu tetap slate yang kebiruan. App yang tidak mengubah apa pun tampil persis seperti
16
+ halaman docs kit, jadi keputusan tampilan sering tidak pernah diambil.
17
+
18
+ ### Added
19
+ - **`data-neutral="slate|grey|stone"`, sumbu kelima.** Ia mengarahkan ulang ramp alias `--neutral-*`
20
+ yang dibaca setiap abu-abu: permukaan, teks, border, kontrol, dan tinta `on-*`. `slate` tetap
21
+ bawaan. `grey` tanpa rona; `stone` hangat. Keduanya mempertahankan kecerahan slate di tiap shade,
22
+ jadi rasio kontras bergeser paling banyak sekitar 0,1 (terukur: grey 0,04, stone 0,11). Gerbang kontras mengukur semua
23
+ pasangan di kedua tema, `soft` dan `glass`, dan di bawah 18 palet. Ramp alias kini punya 14 shade
24
+ karena `slate` mendapat shade `850` (`#1c2130`, nilai `--color-border-muted` gelap yang dulu
25
+ literal).
26
+ - **Kontrak identitas di `USAGE.md` §0**: apa yang dimiliki app (sumbu, keluarga huruf, bobot, bentuk,
27
+ kedalaman, gerak) dan apa yang tidak, ditambah brief identitas yang diisi sebelum layar pertama.
28
+ - **Tabel komposisi di `USAGE.md` §7b.** Tabel 15 arketipe layout kini ikut terkirim di paket;
29
+ sebelumnya ia hanya ada di `reference/README.md`, yang tak pernah dikirim.
30
+
31
+ ### Changed
32
+ - **Blok onboarding di `docs/agent-onboarding.md` ditulis ulang**: app baru memutuskan tampilannya
33
+ sebelum layar pertama. Proyek yang menyalin blok itu perlu menggantinya seluruhnya.
34
+
35
+ ### Fixed (docs)
36
+ - **Klaim soal `data-primary` pada elemen bersarang dikoreksi.** Yang tertulis: palet bisa dipasang
37
+ di elemen mana pun untuk mengubah satu region. Yang benar: ramp `--primary-*` ikut berubah, tetapi
38
+ token semantic yang membacanya dihitung di `:root` dan tidak ikut turun. Region bersarang butuh
39
+ `data-theme` di elemen yang sama supaya token semantic dihitung ulang di sana. Dikoreksi di
40
+ `docs/index.html`, `tokens/build.mjs`, `USAGE.md` §5b, `COMPONENTS.md`, dan
41
+ `docs/agent-onboarding.md`, dan dijaga satu uji peramban.
42
+ - **Di wrapper polos, sumbu hanya setengah berlaku.** Palet menggeser tinta label tetapi tidak
43
+ fill-nya; netral menggeser tinta tone, border, stripe, dan border danger tetapi tidak
44
+ permukaannya. Jadi jangan pasang sumbu di wrapper polos: pasang di `<html>`, atau di region
45
+ bersama `data-theme`.
46
+ - **Batasan yang didokumentasikan:** island terbalik (`data-theme` di sebuah region) di app dengan
47
+ palet atau netral bukan-default harus mengulang `data-primary` dan `data-neutral` di elemen yang
48
+ sama. Tanpa itu, label di atas fill oranye, amber, lime, hijau, emerald, teal, atau cyan jatuh ke kisaran
49
+ 2 sampai 3,8:1 (lime 1,98:1 dan oranye 2,80:1 di island gelap; island terang di app gelap 3,09 sampai 3,77:1). Sudah begitu sejak 3.20.0; akar masalahnya dicatat di `NEXT-UP.md`.
50
+ - `noir` kini mengikuti netral yang dipilih, dan nama token `--bw` serta `--dur-base` di docs
51
+ dikoreksi.
52
+
53
+ ### Catatan
54
+ - **Tanpa `data-neutral`, keluarannya tidak berubah.** Setiap token bernilai sama dengan 3.20.0 di
55
+ terang, gelap, `soft`, `glass`, dan di bawah tiap palet. `test/token-snapshot.test.mjs` menjaganya
56
+ terhadap nilai yang direkam dari 3.20.0.
57
+ - **Tiga triple Tier-1 tidak lagi dikeluarkan**: `--slate-0-rgb`, `--slate-900-rgb`, dan
58
+ `--slate-950-rgb`. Pengganti bagi yang membacanya langsung: `--neutral-0-rgb`, `--neutral-900-rgb`,
59
+ `--neutral-950-rgb`. Nilainya sama di bawah slate.
60
+ - Tidak ada perubahan pada `src/components/*.css`, enhancer, atau pembungkus.
61
+
12
62
  ## [3.20.0] - 2026-11-19
13
63
 
14
64
  **Rentang tanggal dalam satu kolom.** `FdyDateRange` selama ini dua picker bersebelahan: makan dua
@@ -642,7 +692,7 @@ perbaikan ini terdengar jauh lebih mahal daripada yang ternyata.
642
692
 
643
693
  ### Catatan
644
694
  - `FdyAutocomplete` dan `FdyCfl` **di luar** aturan ini: keduanya merender `<input>` asli, jadi
645
- `required` native yang cocok. Belum ada prop yang mengeksposnya, dan atribut tak dikenal jatuh ke
695
+ `required` native yang cocok. Belum ada prop yang mengeksposnya, dan atribut tak dikenal jatuh ke kisaran
646
696
  AKAR wrapper bukan ke input di dalamnya, jadi hari ini keduanya tak bisa dijadikan wajib di stack
647
697
  mana pun. Dicatat terbuka di `NEXT-UP.md` alih-alih ditutup separuh: mengalirkannya lewat jalur
648
698
  kit akan memberi satu field dua sumber kebenaran.
@@ -1068,7 +1118,7 @@ mentok di iOS 15.
1068
1118
 
1069
1119
  Perbaikan pertama yang dicoba justru membuktikan sebabnya. Pola cadangan yang biasa dipakai orang,
1070
1120
  nilai statis dulu lalu `color-mix()` sesudahnya, tidak bekerja ketika deklarasinya memuat `var()`:
1071
- deklarasi itu sah saat parse dan baru gagal saat computed-value, dan di jalur itu properti jatuh ke
1121
+ deklarasi itu sah saat parse dan baru gagal saat computed-value, dan di jalur itu properti jatuh ke kisaran
1072
1122
  nilai initial, bukan ke baris sebelumnya. Untuk `border-color` nilai initial itu `currentColor`,
1073
1123
  yaitu hitam. Keluhan tentang garis hitam tebal di mana-mana itulah bukti mekanismenya. Jadi
1074
1124
  `color-mix()`-nya yang dibuang.
package/COMPONENTS.md CHANGED
@@ -22,7 +22,7 @@ live docs.
22
22
  2. **Never invent a class.** If it is not in this file, it does not exist. Freeday has no
23
23
  `fdy-grid`, no `fdy-flex`, no `fdy-mt-4`, no `fdy-primary`.
24
24
  3. **Never write a raw hex or px value** in app CSS. Use the tokens: `var(--color-primary)`,
25
- `var(--space-4)`, `var(--radius-md)`, `var(--shadow-1)`, `var(--dur-2)`. Spacing is a 4px scale
25
+ `var(--space-4)`, `var(--radius-md)`, `var(--shadow-1)`, `var(--dur-base)`. Spacing is a 4px scale
26
26
  (`--space-0`…`--space-24`); a loose value breaks density switching.
27
27
  4. **Freeday owns components + tokens, not layout.** The only layout it ships is the shell
28
28
  (`.fdy-app`, and `.fdy-standalone` for screens outside it), the composition primitives below, and `.fdy-hidden`/`.fdy-visually-hidden`.
@@ -525,10 +525,23 @@ without a reload.
525
525
  <script>try{var t=localStorage.getItem('fdy-theme');if(t==='light'||t==='dark')document.documentElement.setAttribute('data-theme',t)}catch(e){}</script>
526
526
  ```
527
527
 
528
+ **Neutral: `data-neutral`.** Three options for every grey in the kit (surfaces, borders, text
529
+ inks, the chart grid, and the `noir` palette): `slate` (the default, and what you get with no
530
+ attribute), `grey` (no hue) and `stone` (warm). Each shade keeps the lightness of the slate shade
531
+ with the same number, and every option is contrast-gated in both themes and under all 18 palettes.
532
+ Set it on `<html>`; on a region, only together with `data-theme`, because on a bare wrapper it half-applies (`USAGE.md` §5b).
533
+
534
+ ```html
535
+ <html data-neutral="stone" data-primary="noir">
536
+ ```
537
+
528
538
  **Primary palette: `data-primary`.** 18 options — `azure` (the default, and what you get with no
529
539
  attribute) · `sky` `blue` `indigo` `violet` `purple` `fuchsia` `pink` `rose` · `orange` `amber`
530
- `yellow` `lime` `green` `emerald` `teal` `cyan` · `noir`. Set it anywhere `data-theme` works,
531
- including on a wrapper to re-brand one region:
540
+ `yellow` `lime` `green` `emerald` `teal` `cyan` · `noir`. Set it on `<html>`. To re-brand one
541
+ region, put it on that region together with `data-theme`: the palette only reaches the semantic
542
+ tokens where `data-theme` re-declares them. On a bare wrapper it half-applies: the label ink
543
+ moves but the fill does not, so never do that. An inverted island (`data-theme` on a region) in an
544
+ app with a non-default look repeats `data-primary` and `data-neutral` beside its `data-theme`.
532
545
 
533
546
  ```html
534
547
  <html data-primary="emerald" data-theme="dark">
package/README.id.md CHANGED
@@ -5,7 +5,7 @@
5
5
  > **Lebih banyak _free day_ buat dev. UI kit-nya sudah siap pakai.**
6
6
 
7
7
  [![Live docs](https://img.shields.io/badge/docs-live-2050d8?style=flat-square)](https://cahyo-dimas.github.io/freeday-ui-kit/)
8
- [![Release](https://img.shields.io/badge/release-v3.20.0-0078d4?style=flat-square)](https://github.com/cahyo-dimas/freeday-ui-kit/tree/v3.20.0)
8
+ [![Release](https://img.shields.io/badge/release-v3.21.0-0078d4?style=flat-square)](https://github.com/cahyo-dimas/freeday-ui-kit/tree/v3.21.0)
9
9
 
10
10
  UI KIT yang token-driven & framework-agnostic. Satu sumber kebenaran untuk warna, tipografi,
11
11
  spasi, dan komponen. Blueprint: `docs/superpowers/specs/2026-07-21-freeday-ui-kit-design.md`.
@@ -143,7 +143,7 @@ Tabel lebar (banyak kolom) butuh wrapper untuk scroll horizontal: bungkus `.fdy-
143
143
  border/shadow-nya sudah ada sendiri). Tanpa salah satu wrapper ini, tabel lebar akan overflow
144
144
  container-nya, bukan scroll sendiri.
145
145
 
146
- ### 3. Theming: 3 sumbu lewat `data-*` di root
146
+ ### 3. Theming: 5 sumbu lewat `data-*` di root
147
147
  - `data-theme="light|dark"` me-redefinisi token semantic (bind ke state tema app-mu).
148
148
  Berlaku di **ancestor mana pun**, tak harus root: `<section data-theme="dark">` membalik region itu
149
149
  dan semua komponen di dalamnya ikut (lihat [`USAGE.md`](USAGE.md) §5b).
@@ -151,7 +151,9 @@ container-nya, bukan scroll sendiri.
151
151
  Ini auto-apply hanya ke kontrol bawaan Freeday (button, input, combo, dst); komponen
152
152
  custom/hand-built harus baca `--control-h` sendiri (mis. `height: var(--control-h)`) supaya ikut
153
153
  menyusut/melebar saat `data-density` berubah.
154
- - (roadmap) `data-style` untuk varian visual lain.
154
+ - `data-style="soft|glass"` memilih gaya visual, `data-primary` satu dari 18 palet primary, dan
155
+ `data-neutral="slate|grey|stone"` keluarga semua abu-abu. Pasang dua yang terakhir di `<html>`;
156
+ di sebuah region hanya bersama `data-theme` (lihat [`USAGE.md`](USAGE.md) §0 dan §5b).
155
157
  - Skala breakpoint (`sm`/`md`/`lg`/`xl` = 600/960/1280/1920px, sama dengan utilitas
156
158
  `src/components/breakpoints.css`) tersedia untuk app-mu dalam dua bahasa: `import { breakpoints }
157
159
  from '@cahyo-dimas/freeday/breakpoints'` untuk JS (`matchMedia`, varian utility), dan `@import
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  > **More free days for devs. The UI kit is ready to use.**
6
6
 
7
7
  [![Live docs](https://img.shields.io/badge/docs-live-2050d8?style=flat-square)](https://cahyo-dimas.github.io/freeday-ui-kit/)
8
- [![Release](https://img.shields.io/badge/release-v3.20.0-0078d4?style=flat-square)](https://github.com/cahyo-dimas/freeday-ui-kit/tree/v3.20.0)
8
+ [![Release](https://img.shields.io/badge/release-v3.21.0-0078d4?style=flat-square)](https://github.com/cahyo-dimas/freeday-ui-kit/tree/v3.21.0)
9
9
 
10
10
  A token-driven, framework-agnostic UI kit. One source of truth for color, typography,
11
11
  spacing, and components. Blueprint: `docs/superpowers/specs/2026-07-21-freeday-ui-kit-design.md`.
@@ -145,7 +145,7 @@ Wide tables (many columns) need a wrapper for horizontal scroll: wrap `.fdy-tabl
145
145
  border/shadow shell). Without one of these wrappers, a wide table overflows its container instead
146
146
  of scrolling.
147
147
 
148
- ### 3. Theming: 3 axes via `data-*` on the root
148
+ ### 3. Theming: 5 axes via `data-*` on the root
149
149
  - `data-theme="light|dark"` redefines the semantic tokens (bind it to your app's theme state).
150
150
  Works on **any ancestor**, not just the root: `<section data-theme="dark">` inverts that region
151
151
  and every component inside it follows (see [`USAGE.md`](USAGE.md) §5b).
@@ -153,7 +153,9 @@ of scrolling.
153
153
  This auto-applies only to Freeday's built-in controls (button, input, combo, etc.);
154
154
  custom/hand-built components must read `--control-h` themselves (e.g. `height: var(--control-h)`)
155
155
  to shrink or grow when `data-density` changes.
156
- - (roadmap) `data-style` for alternative visual variants.
156
+ - `data-style="soft|glass"` picks the visual style, `data-primary` one of 18 primary palettes, and
157
+ `data-neutral="slate|grey|stone"` the family of every grey. Set the last two on `<html>`; on a
158
+ region only beside `data-theme` (see [`USAGE.md`](USAGE.md) §0 and §5b).
157
159
  - The breakpoint scale (`sm`/`md`/`lg`/`xl` = 600/960/1280/1920px, matching the
158
160
  `src/components/breakpoints.css` utilities) is available to your app in both languages: `import
159
161
  { breakpoints } from '@cahyo-dimas/freeday/breakpoints'` for JS (`matchMedia`, utility variants),
package/USAGE.md CHANGED
@@ -10,6 +10,73 @@ but start here, not from a blank page.
10
10
 
11
11
  ---
12
12
 
13
+ ## 0. App identity: what the app decides
14
+
15
+ Freeday supplies components and tokens. How an app looks is the app's decision, made inside the
16
+ contract below. An app that changes nothing looks like the kit's docs page. That suits the docs
17
+ page and wastes the decision everywhere else.
18
+
19
+ The look lives in two places: the `data-*` attributes on `<html>`, and one file,
20
+ `app.identity.css`, loaded after the Freeday bundle.
21
+
22
+ | The app owns | Where |
23
+ |---|---|
24
+ | Palette (18), neutral (`slate`, `grey`, `stone`), style, density, default theme | `data-primary`, `data-neutral`, `data-style`, `data-density`, `data-theme` on `<html>` |
25
+ | Type families: `--font-display`, `--font-body`, `--font-mono` | `app.identity.css` |
26
+ | Weights and tracking: `--weight-*`, `--tracking-*` | `app.identity.css` |
27
+ | Shape: `--radius-xs` to `--radius-xl` | `app.identity.css` |
28
+ | Depth: `--shadow-1` to `--shadow-4`, `--shadow-lift`, `--shadow-lift-hover` | `app.identity.css`, light and dark |
29
+ | Motion: `--dur-*`, `--ease-*` | `app.identity.css` |
30
+ | One component, locally: `--fdy-<component>-<property>` | your own CSS |
31
+
32
+ Everything else stays with the kit. Colour reaches an app only through the attributes, because
33
+ the attributes are what the contrast gate tests, so your CSS carries no `--color-*`, `--tone-*` or
34
+ `--chart-*`. Spacing (`--space-*`) and control size (`--control-*`) carry density. The type size
35
+ scale (`--text-*`, `--leading-*`) sets control heights and table density, so a screen that wants
36
+ big type uses `var(--text-xl)` and up in its own content. `--radius-full`, `--bw` and the focus
37
+ ring are accessibility contracts.
38
+
39
+ `app.identity.css` is the one file where literal values belong, and only as values of the tokens
40
+ in the table. Shadows need four blocks in this order, because the kit sets dark shadows in three
41
+ scopes and a lone `:root` rule loses to one of them in each dark mode:
42
+
43
+ ```css
44
+ /* app.identity.css: load after @cahyo-dimas/freeday/css. Owned tokens only. */
45
+ :root {
46
+ --font-display: 'Fraunces', ui-serif, Georgia, serif;
47
+ --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
48
+ --radius-sm: 2px;
49
+ --radius-md: 4px;
50
+ --shadow-1: 0 1px 0 rgba(0,0,0,.06);
51
+ }
52
+ @media (prefers-color-scheme: dark) {
53
+ :root:not([data-theme="light"]) { --shadow-1: 0 1px 0 rgba(0,0,0,.5); }
54
+ }
55
+ [data-theme="dark"] { --shadow-1: 0 1px 0 rgba(0,0,0,.5); }
56
+ [data-theme="light"] { --shadow-1: 0 1px 0 rgba(0,0,0,.06); }
57
+ ```
58
+
59
+ Fonts, radius and motion have no dark value and need only the `:root` block. The file loads its
60
+ own fonts. A replacement body or display font needs tabular figures (the OpenType `tnum` feature):
61
+ stat values, calendar days, chart values and the slider readout set `tabular-nums`, and without
62
+ it their digits shift as they change.
63
+
64
+ Decide before the first screen. A new app starts with a short brief in its own `DESIGN.md`,
65
+ then `app.identity.css`, then the attributes. Leaving an axis at its default is fine when the
66
+ brief says why.
67
+
68
+ ```markdown
69
+ ## Design brief
70
+ - Who uses this, and the one task they do most:
71
+ - Density: comfortable | compact, and why
72
+ - Mood, in three words (not "clean", "modern" or "intuitive"):
73
+ - Axes: data-primary=… data-neutral=… data-style=… default theme=…
74
+ - Type: display / body / mono, and why they suit these users
75
+ - Shape and depth: radius scale, shadow scale
76
+ - Screens and their archetype (§7b):
77
+ - One thing this app has that a default Freeday app does not:
78
+ ```
79
+
13
80
  ## 1. Type roles: three title levels, not eleven
14
81
 
15
82
  Do **not** reuse `.fdy-card__title` for a page title. Collapsing page/section/card into one style is
@@ -170,6 +237,17 @@ restating colours per element.
170
237
  The **system** default (`@media (prefers-color-scheme: dark)`) stays root-scoped on purpose: that
171
238
  rule is about the document, and un-rooting it would re-darken the children of a light island.
172
239
 
240
+ `data-primary` and `data-neutral` follow the same selectors, with one difference. They re-point
241
+ an alias ramp, and the semantic tokens resolve that ramp where they are declared: on `<html>`, or
242
+ on an element that carries `data-theme`. So put them on `<html>`. To re-brand or re-tint a single
243
+ region, put the axis on that region together with `data-theme`. Never put either axis on a bare
244
+ wrapper: it half-applies. A palette moves the label ink (`--color-on-primary`) but not the fill, so
245
+ orange, amber, lime, green, emerald, teal and cyan leave dark ink on the azure fill (2.87:1 for orange); a neutral moves
246
+ the tone inks, borders, stripe and danger border but not the surfaces. An inverted island inside an app
247
+ with a non-default look must repeat `data-primary` and `data-neutral` beside its `data-theme`.
248
+ Otherwise the island keeps the app's fill but takes the default label ink, and white labels on
249
+ those fills drop to between 2:1 and 3.8:1 (lime 1.98:1 and orange 2.80:1 in a dark island).
250
+
173
251
  ## 6. Density: `compact` for data-dense screens
174
252
 
175
253
  `data-density="compact"` tightens control height **and** the mid-range spacing scale
@@ -241,7 +319,43 @@ own language; for the rest (grids, one-off spacing), pair a utility framework ru
241
319
  preflight-off**, and build its theme on `var(--space-N)` so the two systems agree. See
242
320
  `docs/getting-started.md` §Core concepts.
243
321
 
244
- ---
245
-
246
322
  *Layout classes here live in `src/components/composition.css`. If a screen needs a primitive that
247
323
  isn't here, it probably belongs here. Open an issue rather than re-inventing it per screen.*
324
+
325
+ ## 7b. Composition: pick the screen's shape first
326
+
327
+ Decide what kind of screen this is before reaching for components. Freeday owns components and
328
+ tokens, not layout, so for most shapes the frame is yours and the kit fills it. This table splits
329
+ the work for 15 common web-app archetypes:
330
+
331
+ | # | Archetype | Freeday gives you | You build |
332
+ |---|---|---|---|
333
+ | 1 | **Dashboard / admin** | `.fdy-app` · `.fdy-page` · `.fdy-stats`/`.fdy-stat` · `.fdy-card` · `data-fdy-chart` · `.fdy-datatable` | nothing, fully covered; see [`docs/reference-screen.html`](docs/reference-screen.html) |
334
+ | 2 | **Master-detail** | list = `.fdy-datatable` + `.fdy-table__row--activatable`; detail = `.fdy-card` + `.fdy-dl` + `.fdy-tabs`; narrow screens = `.fdy-drawer` | the two-pane split |
335
+ | 3 | **Kanban board** | cards = `.fdy-card--interactive` / `--button`; labels = `.fdy-chip--tone-N`; counts = `.fdy-badge` | the column grid **and** drag-and-drop (no DnD in the kit) |
336
+ | 4 | **Feed / timeline** | `.fdy-timeline` (event feed) · `.fdy-card` (items) · `.fdy-avatar` · `.fdy-skeleton` while loading | the column widths |
337
+ | 5 | **Chat / messaging** | conversation list = `.fdy-nav`; unread = `.fdy-badge-ov`; composer = `.fdy-textarea` + `.fdy-btn`; `.fdy-avatar` | the bubbles and the scroll-to-bottom behaviour |
338
+ | 6 | **Canvas / whiteboard** | chrome only: `.fdy-appbar` · `.fdy-btn-group` · `.fdy-fab` · `.fdy-menu` · `.fdy-tooltip` | the canvas itself |
339
+ | 7 | **Calendar / scheduler** | range filter = `.fdy-daterange`; events = `.fdy-chip` / `.fdy-badge`; day detail = `.fdy-drawer` | the month grid: there is **no** calendar-view component (`.fdy-cal__grid` / `.fdy-cal__day` are datepicker internals, not public layout) |
340
+ | 8 | **Document editor** | `.fdy-app` shell · outline = `.fdy-tree` · `.fdy-toolbar` + `.fdy-btn-group` · `.fdy-kbd` for shortcuts | the editing surface |
341
+ | 9 | **Media / streaming** | tiles = `.fdy-card` · rails = `.fdy-carousel` · `.fdy-skeleton` · playback = `.fdy-progress` | the poster grid |
342
+ | 10 | **E-commerce account** | `.fdy-page-section` · `.fdy-dl` · orders = `.fdy-table` · status = `.fdy-badge` · `.fdy-accordion` | nothing much, mostly covered |
343
+ | 11 | **Analytics / BI** | `.fdy-stats` · `data-fdy-chart` (sparkline/bar/line/area/donut, palette `--chart-1`…`8`) · `.fdy-filterbar` · `.fdy-daterange` | the tile grid |
344
+ | 12 | **Point of sale** | `.fdy-app--nav-collapsed` for screen space · product tiles = `.fdy-card--button` · cart = `.fdy-table` + `.fdy-table__num` · totals = `.fdy-stat` · `.fdy-fab` to pay · `data-density="compact"` | the two-column till layout |
345
+ | 13 | **Wizard / multi-step** | `.fdy-stepper` · `.fdy-step-panels` · `.fdy-step-nav` · `.fdy-form-grid` | nothing, fully covered |
346
+ | 14 | **File manager** | folders = `.fdy-tree` · upload = `.fdy-dropzone` + `.fdy-filelist` + `.fdy-file` · actions = `.fdy-menu` · `.fdy-breadcrumb` | the icon grid |
347
+ | 15 | **Community / forum** | threads = `.fdy-card` · `.fdy-avatar--tone-N` · tags = `.fdy-chip` · `.fdy-pagination` · replies = `.fdy-timeline` | the thread list layout |
348
+
349
+ If a shape needs something the kit has no component for, build the shape and fill it with kit
350
+ components. Never invent an `fdy-` class for it; the complete list is `COMPONENTS.md`.
351
+
352
+ Three habits make every app look like the same template, so avoid them:
353
+
354
+ - **A stats row on top of every screen.** `.fdy-stats` belongs on a screen whose job is the
355
+ numbers. On a list or a form it pushes the work below the fold.
356
+ - **A page that is a grid of identical cards.** See §3: one raised element that matters, the rest
357
+ flat.
358
+ - **A sidebar for a handful of destinations.** An app with only a few places to go reads better
359
+ with `.fdy-nav.fdy-nav--horizontal` in the app bar (§6b), and gets the width back.
360
+
361
+ ---