@trebired/frontend 29.0.0 → 29.2.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 +27 -7
- package/README.md +32 -0
- package/dist/actions/copy-components.js +1 -1
- package/dist/actions/copy-components.js.map +1 -1
- package/dist/config/containers.d.ts +2 -1
- package/dist/config/containers.d.ts.map +1 -1
- package/dist/config/containers.js +16 -2
- package/dist/config/containers.js.map +1 -1
- package/dist/config/default/component-tokens.d.ts +2 -0
- package/dist/config/default/component-tokens.d.ts.map +1 -1
- package/dist/config/default/component-tokens.js +1 -0
- package/dist/config/default/component-tokens.js.map +1 -1
- package/dist/config/default/config.d.ts.map +1 -1
- package/dist/config/default/config.js +1 -0
- package/dist/config/default/config.js.map +1 -1
- package/dist/config/default/primitive-tokens.d.ts +1 -0
- package/dist/config/default/primitive-tokens.d.ts.map +1 -1
- package/dist/config/default/primitive-tokens.js +1 -0
- package/dist/config/default/primitive-tokens.js.map +1 -1
- package/dist/config/normalize.d.ts.map +1 -1
- package/dist/config/normalize.js +12 -5
- package/dist/config/normalize.js.map +1 -1
- package/dist/config/scss.d.ts.map +1 -1
- package/dist/config/scss.js +8 -1
- package/dist/config/scss.js.map +1 -1
- package/dist/config/titles.d.ts +28 -0
- package/dist/config/titles.d.ts.map +1 -0
- package/dist/config/titles.js +178 -0
- package/dist/config/titles.js.map +1 -0
- package/dist/config/types/containers.d.ts +2 -0
- package/dist/config/types/containers.d.ts.map +1 -1
- package/dist/config/types/design.d.ts +3 -0
- package/dist/config/types/design.d.ts.map +1 -1
- package/dist/config/types.d.ts +2 -0
- package/dist/config/types.d.ts.map +1 -1
- package/dist/document/components/index.js +1 -1
- package/dist/document/components/index.js.map +1 -1
- package/dist/editor/components/surface.js +1 -1
- package/dist/editor/components/surface.js.map +1 -1
- package/dist/entity/list.js +1 -1
- package/dist/entity/list.js.map +1 -1
- package/dist/entries/react/02.d.ts +1 -1
- package/dist/entries/react/02.d.ts.map +1 -1
- package/dist/entries/react/02.js +1 -1
- package/dist/entries/react/02.js.map +1 -1
- package/dist/entries/root/03.d.ts +1 -0
- package/dist/entries/root/03.d.ts.map +1 -1
- package/dist/entries/root/03.js +1 -0
- package/dist/entries/root/03.js.map +1 -1
- package/dist/frost/index.d.ts +4 -0
- package/dist/frost/index.d.ts.map +1 -0
- package/dist/frost/index.js +110 -0
- package/dist/frost/index.js.map +1 -0
- package/dist/graph/advanced/graph/details.js +1 -1
- package/dist/graph/advanced/graph/details.js.map +1 -1
- package/dist/heading/glyphs.d.ts +7 -0
- package/dist/heading/glyphs.d.ts.map +1 -0
- package/dist/heading/glyphs.js +79 -0
- package/dist/heading/glyphs.js.map +1 -0
- package/dist/heading/index.d.ts +3 -1
- package/dist/heading/index.d.ts.map +1 -1
- package/dist/heading/index.js +19 -4
- package/dist/heading/index.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/inputs/styles/primitives.scss +7 -2
- package/dist/language/source/modal.js +1 -1
- package/dist/language/source/modal.js.map +1 -1
- package/dist/language/source/visualizer.js +1 -1
- package/dist/language/source/visualizer.js.map +1 -1
- package/dist/layout/components/outline.d.ts +20 -4
- package/dist/layout/components/outline.d.ts.map +1 -1
- package/dist/layout/components/outline.js +147 -70
- package/dist/layout/components/outline.js.map +1 -1
- package/dist/layout/components/outline_dock.d.ts +5 -0
- package/dist/layout/components/outline_dock.d.ts.map +1 -0
- package/dist/layout/components/outline_dock.js +139 -0
- package/dist/layout/components/outline_dock.js.map +1 -0
- package/dist/layout/components/site/category.d.ts +11 -0
- package/dist/layout/components/site/category.d.ts.map +1 -0
- package/dist/layout/components/site/category.js +9 -0
- package/dist/layout/components/site/category.js.map +1 -0
- package/dist/layout/components/site/footer.d.ts.map +1 -1
- package/dist/layout/components/site/footer.js +2 -1
- package/dist/layout/components/site/footer.js.map +1 -1
- package/dist/layout/components/site/header/groups.d.ts.map +1 -1
- package/dist/layout/components/site/header/groups.js +3 -2
- package/dist/layout/components/site/header/groups.js.map +1 -1
- package/dist/layout/scroll.js +3 -3
- package/dist/layout/scroll.js.map +1 -1
- package/dist/layout/styles/index.scss +1 -0
- package/dist/layout/styles/outline.scss +126 -0
- package/dist/layout/styles/site/category.scss +16 -0
- package/dist/layout/styles/site/footer.scss +1 -11
- package/dist/layout/styles/site/menu.scss +5 -12
- package/dist/layout/styles/site/sheet.scss +20 -15
- package/dist/logs/view/detail_modal.js +1 -1
- package/dist/logs/view/detail_modal.js.map +1 -1
- package/dist/popover/index.js +3 -3
- package/dist/popover/index.js.map +1 -1
- package/dist/primitives/components/index.d.ts +1 -0
- package/dist/primitives/components/index.d.ts.map +1 -1
- package/dist/primitives/components/index.js +1 -0
- package/dist/primitives/components/index.js.map +1 -1
- package/dist/primitives/components/quote.d.ts +9 -0
- package/dist/primitives/components/quote.d.ts.map +1 -0
- package/dist/primitives/components/quote.js +16 -0
- package/dist/primitives/components/quote.js.map +1 -0
- package/dist/primitives/styles/_link.scss +5 -1
- package/dist/primitives/styles/_quote.scss +34 -0
- package/dist/primitives/styles/index.scss +1 -0
- package/dist/src/actions/copy-components.js +1 -1
- package/dist/src/actions/copy-components.js.map +1 -1
- package/dist/src/config/containers.d.ts +2 -1
- package/dist/src/config/containers.d.ts.map +1 -1
- package/dist/src/config/containers.js +16 -2
- package/dist/src/config/containers.js.map +1 -1
- package/dist/src/config/default/component-tokens.d.ts +2 -0
- package/dist/src/config/default/component-tokens.d.ts.map +1 -1
- package/dist/src/config/default/component-tokens.js +1 -0
- package/dist/src/config/default/component-tokens.js.map +1 -1
- package/dist/src/config/default/config.d.ts.map +1 -1
- package/dist/src/config/default/config.js +1 -0
- package/dist/src/config/default/config.js.map +1 -1
- package/dist/src/config/default/primitive-tokens.d.ts +1 -0
- package/dist/src/config/default/primitive-tokens.d.ts.map +1 -1
- package/dist/src/config/default/primitive-tokens.js +1 -0
- package/dist/src/config/default/primitive-tokens.js.map +1 -1
- package/dist/src/config/normalize.d.ts.map +1 -1
- package/dist/src/config/normalize.js +12 -5
- package/dist/src/config/normalize.js.map +1 -1
- package/dist/src/config/scss.d.ts.map +1 -1
- package/dist/src/config/scss.js +8 -1
- package/dist/src/config/scss.js.map +1 -1
- package/dist/src/config/titles.d.ts +28 -0
- package/dist/src/config/titles.d.ts.map +1 -0
- package/dist/src/config/titles.js +178 -0
- package/dist/src/config/titles.js.map +1 -0
- package/dist/src/config/types/containers.d.ts +2 -0
- package/dist/src/config/types/containers.d.ts.map +1 -1
- package/dist/src/config/types/design.d.ts +3 -0
- package/dist/src/config/types/design.d.ts.map +1 -1
- package/dist/src/config/types.d.ts +2 -0
- package/dist/src/config/types.d.ts.map +1 -1
- package/dist/src/document/components/index.js +1 -1
- package/dist/src/document/components/index.js.map +1 -1
- package/dist/src/editor/components/surface.js +1 -1
- package/dist/src/editor/components/surface.js.map +1 -1
- package/dist/src/entity/list.js +1 -1
- package/dist/src/entity/list.js.map +1 -1
- package/dist/src/entries/react/02.d.ts +1 -1
- package/dist/src/entries/react/02.d.ts.map +1 -1
- package/dist/src/entries/react/02.js +1 -1
- package/dist/src/entries/react/02.js.map +1 -1
- package/dist/src/entries/root/03.d.ts +1 -0
- package/dist/src/entries/root/03.d.ts.map +1 -1
- package/dist/src/entries/root/03.js +1 -0
- package/dist/src/entries/root/03.js.map +1 -1
- package/dist/src/frost/index.d.ts +4 -0
- package/dist/src/frost/index.d.ts.map +1 -0
- package/dist/src/frost/index.js +110 -0
- package/dist/src/frost/index.js.map +1 -0
- package/dist/src/graph/advanced/graph/details.js +1 -1
- package/dist/src/graph/advanced/graph/details.js.map +1 -1
- package/dist/src/heading/glyphs.d.ts +7 -0
- package/dist/src/heading/glyphs.d.ts.map +1 -0
- package/dist/src/heading/glyphs.js +79 -0
- package/dist/src/heading/glyphs.js.map +1 -0
- package/dist/src/heading/index.d.ts +3 -1
- package/dist/src/heading/index.d.ts.map +1 -1
- package/dist/src/heading/index.js +19 -4
- package/dist/src/heading/index.js.map +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/language/source/modal.js +1 -1
- package/dist/src/language/source/modal.js.map +1 -1
- package/dist/src/language/source/visualizer.js +1 -1
- package/dist/src/language/source/visualizer.js.map +1 -1
- package/dist/src/layout/components/outline.d.ts +20 -4
- package/dist/src/layout/components/outline.d.ts.map +1 -1
- package/dist/src/layout/components/outline.js +147 -70
- package/dist/src/layout/components/outline.js.map +1 -1
- package/dist/src/layout/components/outline_dock.d.ts +5 -0
- package/dist/src/layout/components/outline_dock.d.ts.map +1 -0
- package/dist/src/layout/components/outline_dock.js +139 -0
- package/dist/src/layout/components/outline_dock.js.map +1 -0
- package/dist/src/layout/components/site/category.d.ts +11 -0
- package/dist/src/layout/components/site/category.d.ts.map +1 -0
- package/dist/src/layout/components/site/category.js +9 -0
- package/dist/src/layout/components/site/category.js.map +1 -0
- package/dist/src/layout/components/site/footer.d.ts.map +1 -1
- package/dist/src/layout/components/site/footer.js +2 -1
- package/dist/src/layout/components/site/footer.js.map +1 -1
- package/dist/src/layout/components/site/header/groups.d.ts.map +1 -1
- package/dist/src/layout/components/site/header/groups.js +3 -2
- package/dist/src/layout/components/site/header/groups.js.map +1 -1
- package/dist/src/layout/scroll.js +3 -3
- package/dist/src/layout/scroll.js.map +1 -1
- package/dist/src/logs/view/detail_modal.js +1 -1
- package/dist/src/logs/view/detail_modal.js.map +1 -1
- package/dist/src/popover/index.js +3 -3
- package/dist/src/popover/index.js.map +1 -1
- package/dist/src/primitives/components/index.d.ts +1 -0
- package/dist/src/primitives/components/index.d.ts.map +1 -1
- package/dist/src/primitives/components/index.js +1 -0
- package/dist/src/primitives/components/index.js.map +1 -1
- package/dist/src/primitives/components/quote.d.ts +9 -0
- package/dist/src/primitives/components/quote.d.ts.map +1 -0
- package/dist/src/primitives/components/quote.js +16 -0
- package/dist/src/primitives/components/quote.js.map +1 -0
- package/dist/src/steps/panel.js +1 -1
- package/dist/src/steps/panel.js.map +1 -1
- package/dist/steps/panel.js +1 -1
- package/dist/steps/panel.js.map +1 -1
- package/dist/styles/tokens.scss +1 -0
- package/dist/styles/utils/_frost.scss +30 -0
- package/dist/styles/utils/text/core.scss +6 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
All notable changes to `@trebired/frontend` will be documented here.
|
|
4
|
+
|
|
5
|
+
This project follows semantic versioning once published.
|
|
6
|
+
|
|
7
|
+
## 29.2.0
|
|
8
|
+
|
|
9
|
+
- Added frost. `frost: true` on a container, a part or a variant blurs whatever lies behind the body text inside it, so text stays readable over a print or a photo without a colour, an outline or a box. Each paragraph, list item, quote, caption and definition gets a backdrop blur shaped around its own lines, with an uneven, soft edge, so the frost sits only behind the words and never fills the block's width. Titles are left alone. `--tbf-ui-frost-blur` and `--tbf-ui-frost-feather` adjust it.
|
|
10
|
+
- Changed the optional `@trebired/overprint` peer to `^0.6.0`.
|
|
11
|
+
|
|
12
|
+
## 29.1.0
|
|
13
|
+
|
|
14
|
+
- Fixed a popover close button doing nothing after its `PopoverPanel` moved into the layer root. The panel renders in place on the server and is portaled after hydration, and the close listener stayed on the element it replaced. Close buttons are now matched against the popover's current element.
|
|
15
|
+
- Added the outline dock. Below 1024px, where the page outline's rail is hidden, `PageOutlineLayout` shows a small button in the bottom corner with the current section's name. It is a popover: it opens the same outline the rail shows, with its line and moving marker, above the button, and choosing a section scrolls there and closes it, as does a tap outside or Escape. When the current section changes, its name slides in from the direction the reader is moving and the button's width follows it. The button is opaque in every state, hovered, focused and open included, on the same surface as popovers, so the page never shows through it; both stop for readers who prefer reduced motion. The dock slides away when the document leaves the screen, for example as the footer scrolls in, and comes back when it returns. The dock and the rail share one current section, and a boot script copies the rail's restored section into the dock before the first paint, so on load, reload and back navigation the dock shows the same section as the rail without a jump or an animation. `PageOutlineDock` renders it on its own, and `components.shell.outline.dock*` tokens set its inset, width, height and motion.
|
|
16
|
+
- Fixed focus rings cut off inside an open `Disclosure`. The panel clips what overflows it so it can animate open and shut, and a control that filled its width, such as the search input in the header's mobile menu, lost the sides of its focus ring. The panel now clips `--tbf-focus-bleed` further out (the focus ring's width plus its offset plus 1px) without moving its content: it is padded by that much and pulled back out by the same amount.
|
|
17
|
+
- Added `SiteLinkCategory`, the heading and links of a footer group and of a section in the header's mobile menu, so both are laid out the same. `components.shell.category.gap` and `linksGap` set its spacing and fall back to the footer's `column.gap` and `links.gap`, so a footer configured before keeps its spacing and the menu now matches it. The menu section no longer uses `menu.linksGap` between its heading and links, and categories that follow each other in the menu are spaced like the groups of a footer column (`components.shell.category.spacing`).
|
|
18
|
+
- Changed the space between the links in a header sheet column from `gap-sm` to `gap-xs2`. Each link now holds its underline inside its own box, so the links need less space between them.
|
|
19
|
+
- Changed the text link to hold its underline inside its own box. The link reserves the space the underline takes below the text, whether the underline shows or not, so showing it moves nothing and it is never cut off by a container that clips what overflows it. The distance between the text and the underline is unchanged.
|
|
20
|
+
- Changed a header sheet entry so only its label is the text link. The whole entry is still one link and now reaches the full width of its column, so the row is clickable to its end, but hovering it underlines and colours the label alone; the description under it keeps its colour and gets no underline.
|
|
21
|
+
- Added title fit. With `design.titles.fit` set, every `Title` on a narrow screen is set as big as its width allows on as few lines as it can: it tries one line, then two and more with the words split evenly, takes the fewest lines that keep the title at least its own size, and sizes that split so its longest line fills the width, never bigger than the title's size on a wide screen. The package reads the title font's character widths from its Fontsource WOFF file when it generates the CSS and declares them as `--tbf-glyph-*` variables, and `Title` writes each word and each split as sums of them, so the server markup is fitted on the first paint. `below` names the breakpoint and `font` and `weight` choose the font when the heading semantics do not name a configured one. `Title` takes `level={1}`, `text` for children that are not plain text and `fit={false}`; the package's modal, panel, editor, log and list titles do not fit.
|
|
22
|
+
- Added `Quote`. A quotation sits behind a rule down its start edge with a quote mark above it and its source, from `cite`, at the end under the words. It renders as a `figure` with a `blockquote` and a `figcaption`; `components.primitives.quote` sets its rule, inset, spacing, mark, words and source.
|
|
23
|
+
- Fixed selected outline text rounding its corners. The outline drawn for a selection is laid on a square of offsets instead of a circle, so a selected letter keeps the square corners of its stroke.
|
|
24
|
+
- Changed the optional `@trebired/overprint` peer to `^0.5.0`.
|
|
25
|
+
- Fixed the text link's underline hanging half a line under its text. It was placed from the bottom of the link's box, so in body text with a tall line height it sat closer to the next line than to its own words, and it grew with the line height as well as with the text. It now sits a set distance under the baseline: `textLink.root.underlineGap`, `0.35em` plus `0.375rem` by default, so it grows with the text but less than in proportion. `textLink.root.underlineMidline` is half the font's ascent minus its descent, `0.325em` by default. `textLink.root.underlineOffset` still replaces the whole position when an application sets it.
|
|
26
|
+
- Changed the footer tagline to the medium text size, the app's `md` step. `components.shell.footer.tagline.fontSize` sets it.
|
|
27
|
+
- Fixed the header sheet closing under the pointer while it opened. The sheet wiped open with a `clip-path` on itself, and a clipped area takes no pointer, so a reader who moved down into it quickly and stopped on a part the wipe had not reached yet was outside the header as far as the browser could tell, and the sheet closed 180 ms later; a press there landed on the page underneath. The wipe, the background, the border and the shadow are now on the sheet's body, and the sheet itself covers its whole area from the first frame of the wipe.
|
|
28
|
+
- Fixed `PageOutline` showing two sections as current, or the wrong one. Its boot script saved the section it had marked when the page loaded, kept that node after a soft navigation replaced it, and saved it under the address the page was first loaded at, so a reload could restore a section from another visit; hydration then left the restored link marked beside the one React marked. The section is now read from the live outline when the page is left and stored under the address it is left from, and React takes over the section the script marked instead of starting from the first one. The bar moves under the current link before the first paint and whenever the list changes size, and a section chosen from the outline stays current while the page scrolls to it. At the end of a page whose last section is too short to reach the reading line, the last section is current. The scroll boot script stores its position under the address the page is left from too.
|
|
29
|
+
|
|
3
30
|
## 29.0.0
|
|
4
31
|
|
|
5
32
|
**Breaking: the site chrome reads its links from the config.** An application declares every link once under `links` in the frontend config: a key, an `href`, the `site` a path belongs to and whether it is `external`, grouped into `categories` and listed per site in `sets`, with labels, descriptions and headings per locale in `messages`. `SiteHeader`, its sitemap sheet and `SiteFooter` read that declaration, so a link is labelled, targeted and marked the same way wherever it appears. `SiteHeader` no longer takes `links`; `SiteFooter` no longer takes `columns`, and its `site` band no longer takes `links`. Hand the config to `configureSiteLinks(links, { set, origins })` in the server and client entries.
|
|
@@ -296,7 +323,6 @@ This is the accessibility release. The package held a claim it could not support
|
|
|
296
323
|
|
|
297
324
|
- The header trigger look is one definition. `styles/utils/chrome-trigger` holds the base, square and hover mixins that the locale trigger and the accessibility trigger both include, so the two cannot drift. It reads `--tbf-shell-chrome-trigger-*` and falls back to the existing `--tbf-shell-language-trigger-*`, so a site that already themed the language trigger themes both and nothing moves.
|
|
298
325
|
|
|
299
|
-
|
|
300
326
|
## 24.0.0
|
|
301
327
|
|
|
302
328
|
- The minimal scrollbar is grey instead of black. `tbf-scroll-min` painted its thumb solid `#000` and its track solid `#fff`, which is a bar heavy enough to read as part of the layout and a track that is wrong on anything but a white surface. The thumb now defaults to the current colour at 26% and the track to nothing, so it takes the tone of whatever it sits on and stays quiet. `--scroll-thumb` and `--scroll-track` still override it.
|
|
@@ -994,10 +1020,6 @@ Not yet namespaced: the package's `data-*` attributes. 189 of them (`data-dropdo
|
|
|
994
1020
|
- `labels.loading` and `labels.error` override the built-in English strings, and `onState` reports `loading`, `ready` or `error` to the host.
|
|
995
1021
|
- `MapEmbed` now renders through `EmbedFrame`, so existing map embeds get the loading, timeout and failure handling without a code change. It gained optional `labels` and `timeoutMs`.
|
|
996
1022
|
|
|
997
|
-
All notable changes to `@trebired/frontend` will be documented here.
|
|
998
|
-
|
|
999
|
-
This project follows semantic versioning once published.
|
|
1000
|
-
|
|
1001
1023
|
## 13.14.0
|
|
1002
1024
|
|
|
1003
1025
|
- Select cards now select. `card_select` rendered a selected and an excluded state but nothing switched it, so every page wired its own clicks, and one that looked only for native buttons left the cards dead. The input runtime now owns them: a click or Enter/Space selects a card, arrow keys move the selection and skip disabled cards, and the `selected`/`excluded` classes, `aria-selected`, the card data attributes and the roving `tabindex` follow. A change fires `SELECT_CARD_EVENT` once, with the chosen value.
|
|
@@ -2280,8 +2302,6 @@ This project follows semantic versioning once published.
|
|
|
2280
2302
|
|
|
2281
2303
|
- Updated shared utilities to `@trebired/utils@^0.4.4`.
|
|
2282
2304
|
|
|
2283
|
-
All notable package changes are documented here.
|
|
2284
|
-
|
|
2285
2305
|
## 7.1.16
|
|
2286
2306
|
|
|
2287
2307
|
- Updated shared utilities to `@trebired/utils@^0.4.3`.
|
package/README.md
CHANGED
|
@@ -96,6 +96,20 @@ Heading levels come from where a heading sits, not from the call site. Render ti
|
|
|
96
96
|
|
|
97
97
|
Pass `level` to `Title` (or `titleAs` to a copy card) only for a page hero title, which is `h2`. `HeadingScope` sets the depth explicitly, for markup rendered on its own, such as a fragment swapped into a card later.
|
|
98
98
|
|
|
99
|
+
### Title Fit
|
|
100
|
+
|
|
101
|
+
With `design.titles.fit` set, every `Title` on a narrow screen is set as big as its width allows on as few lines as it can. The package tries the title on one line, then two, three and more, each time splitting the words into lines of even length, and takes the fewest lines that keep the title at least its own size; that split's longest line then fills the width, and the lines are balanced. No word is ever wider than the title's box and the title is never bigger than its size on a wide screen. Above the breakpoint nothing changes.
|
|
102
|
+
|
|
103
|
+
```ts
|
|
104
|
+
design: {
|
|
105
|
+
titles: { fit: { below: "md" } },
|
|
106
|
+
},
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
`below` names a design breakpoint (`md` by default). The title font is the configured font family named first in `design.semantics.heading.fontFamily`, at `design.semantics.heading.fontWeight`; `font` (a key of `assets.fonts.families`) and `weight` choose another. The package reads that font's latin WOFF file from its Fontsource package when it generates the CSS and declares each character's width as a `--tbf-glyph-<code>` variable, with the heading's `textTransform` and `letterSpacing` applied.
|
|
110
|
+
|
|
111
|
+
`Title` writes each word and each candidate split as sums of those variables, so the server markup is already fitted on the first paint and hydration sees the same markup. A letter with a diacritic is measured as its base letter, and a character outside printable ASCII as the average letter. Pass `text` when the children are not plain text (a title built from styled spans), and `fit={false}` for a title that must keep its size, such as a modal's or a panel's; the package's own interface titles already do. `level` takes `1` for a page title. A title's ceiling is its `tbf-text-*` step from `design.scales.textSize`, or for a bare heading the largest size in its `design.semantics.h<level>.fontSize`.
|
|
112
|
+
|
|
99
113
|
### Boot
|
|
100
114
|
|
|
101
115
|
One call builds every script a shell needs before the page runs:
|
|
@@ -188,6 +202,16 @@ The first token after the marker is the href and is required. `tab` opens a new
|
|
|
188
202
|
It is not a markdown renderer and will not become one. Bold, lists and headings stay out, because the moment copy carries markup the component that renders it owns a format, and a format has to be documented, versioned and escaped. A second annotation gets added when something needs one, not in advance.
|
|
189
203
|
|
|
190
204
|
|
|
205
|
+
### Quote
|
|
206
|
+
|
|
207
|
+
`Quote` sets a quotation apart from the text around it: a quote mark at the top, the words in a real `blockquote` behind a rule down the start edge, and the source, when `cite` is given, at the end under them.
|
|
208
|
+
|
|
209
|
+
```tsx
|
|
210
|
+
<Quote cite="- Edward Snowden, 2015">Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say.</Quote>
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
It renders as a `figure` with the source in its `figcaption`, so the words and their source stay together for screen readers. `components.primitives.quote` sets the rule (`root.borderWidth`, `root.borderColor`), the inset (`root.px`), the spacing (`root.gap`), the mark (`mark.size`, `mark.color`), the words (`text.fontSize`, `text.lineHeight`) and the source (`cite.color`, `cite.fontSize`, `cite.fontWeight`).
|
|
214
|
+
|
|
191
215
|
### Text Document Body
|
|
192
216
|
|
|
193
217
|
`TextDocumentBody` takes a document from `parseTextDocument` and renders the whole page body: `PageOutlineLayout` with one outline entry per section, a `<section>` per chapter with its heading and id, and the parts as prose articles or as disclosure cards when the document declares `parts: disclosure`. Paragraphs render through `ProseText`, so the inline link annotations work without the application touching them; pass `paragraph` to wrap each one in your own element. `minOutlineSections` decides how long a document has to be before it gets a rail, three by default, and a document that writes `outline: false` in its front matter gets none at all.
|
|
@@ -228,6 +252,8 @@ parts: disclosure
|
|
|
228
252
|
`PageOutline` takes `items` of `{ id, label }`, lists the sections of a page and marks the one being read. `PageOutlineLayout` takes the same `items` and the page content, and lays them out side by side: the list in a column on the left, the content beside it, the column sticking to the top of the viewport while the reader scrolls. A click scrolls smoothly to the section, instantly under reduced motion, moves focus to it so the keyboard carries on from there, and replaces the fragment in the address bar rather than stacking a history entry per jump. The column appears from 1024px, where there is room beside the content; below that the layout is a single column and the list renders nothing, because the page is still read by scrolling. Called with no items the layout renders the content alone.
|
|
229
253
|
|
|
230
254
|
|
|
255
|
+
|
|
256
|
+
Below 1024px the rail is hidden and the outline becomes a dock: a small button in the bottom corner shows the current section and opens the same outline in a popover above it, and slides away when the document leaves the screen. Choosing a section, tapping outside or pressing Escape closes it. When the current section changes, its name slides in from the direction the reader is moving. It needs at least two sections. `PageOutlineDock` renders it on its own.
|
|
231
257
|
### Site Links
|
|
232
258
|
|
|
233
259
|
Every link in the site chrome is declared once, under `links` in the frontend config, and the header, its sitemap sheet and the footer all read that one declaration. A link is a key, an `href`, and whether it is `external`; a label never lives in a component. An external link opens in a new tab with `rel="noopener noreferrer"`, never soft-navigates, and carries the external-link icon after its label in the bar, the sheet, the menu and the footer alike.
|
|
@@ -266,6 +292,10 @@ export const links: FrontendLinksConfig = {
|
|
|
266
292
|
|
|
267
293
|
The config is checked when it is read: a key a set or category names that no link defines, a link, category or group without a label in some locale, or a header group with neither links nor the sitemap is refused with the path that is wrong. At runtime the application hands the same object to `configureSiteLinks(links, { set, origins })` once, in its server entry and its client entry, the way it hands over its language and money config. `set` names the set this site renders. A link whose `site` is not the set's own is written with that site's origin from `origins`, and with the reader's locale handed over, so a product site's footer can link to the organization site that builds it.
|
|
268
294
|
|
|
295
|
+
### Link Categories
|
|
296
|
+
|
|
297
|
+
A footer group and a section in the header's mobile menu are the same link category: a heading and the links under it. Both render `SiteLinkCategory`, so the space between the heading and its links and the space between the links are the same in both places. `components.shell.category.gap` sets the first and `components.shell.category.linksGap` the second; without them the category reads `components.shell.footer.column.gap` and `components.shell.footer.links.gap`, and then `gap-sm`. Categories that follow each other in the menu are spaced like the groups in a footer column: `components.shell.category.spacing`, else `components.shell.footer.column.groups.gap`, else `gap-lg`.
|
|
298
|
+
|
|
269
299
|
### Site Footer
|
|
270
300
|
|
|
271
301
|
`SiteFooter` takes a `brand`, a `tagline`, `social` links and a `note`; its columns of links, the links of a site band and the links beside the note come from the links config (see Site Links). On a site that stands for itself they fill the whole footer: the brand on the left, the columns on the right. A site that belongs to someone else passes `site` as well, carrying that site's own `brand`, `tagline` and `social`, and its set lists the site's own links under `footer.site`. That becomes a band above the first, with a rule between them: this site on top, and under it the owner's mark, one line saying who builds the site, and the columns that belong to the organization rather than to the product. One footer, one ground, two parts.
|
|
@@ -362,6 +392,8 @@ Two prefixes, because there are two kinds of ownership. `tbf-` is what the packa
|
|
|
362
392
|
|
|
363
393
|
`tone: "light"` or `tone: "dark"` on a container, a part or a variant gives it the package's own palette for that tone, the same mixin the package uses internally. A light surface inside a dark band says `tone: "light"` and stays readable; nothing is copied.
|
|
364
394
|
|
|
395
|
+
`frost: true` on a container, a part or a variant frosts the body text inside it: every paragraph, plain list item (one without a class, so a list of cards is not frosted), quote, caption and definition gets a blur of whatever lies behind it, so a print or a photo under the words turns into soft tone there while the text keeps its own colour. The blur adds no colour and has no box: after hydration the runtime reads the lines of each frosted block and shapes the blur around the words themselves, a soft band along every line that a little turbulence makes uneven, so it reaches about half an em past the text and fades out irregularly, the way frost would, instead of filling the block's whole width with a straight edge. It shapes the blur again when the block resizes, its text changes or the fonts load. Until then, and without the runtime, the blur fills the block and fades out over `1.5rem` at its edges. It is written at no specificity, as an `::after` on each text block that sits in the lowest layer of the surrounding stacking context, under every piece of text there, so it blurs only the background and the art beneath and never another block's words; art that should be frosted sits below the text, at a negative `z-index` or in a layer under a text wrapper that is its own stacking context, and a block inside a list item, a quote, a caption or a definition is not frosted twice. Titles are never frosted. `--tbf-ui-frost-blur` sets the blur (6px) and `--tbf-ui-frost-feather` the fade (1.5rem). A block with an opacity below 1, a filter, a mask or a blend mode sees nothing behind itself, so frosted text is dimmed with its colour, for example `color-mix(in srgb, currentcolor 78%, transparent)`, never with `opacity`.
|
|
396
|
+
|
|
365
397
|
Every value comes from the config token helpers, and a package token written as a string is refused when the config is read:
|
|
366
398
|
|
|
367
399
|
```ts
|
|
@@ -25,7 +25,7 @@ function copyCardRowsId(props) {
|
|
|
25
25
|
}
|
|
26
26
|
function copyCardTitle(props) {
|
|
27
27
|
const override = /^h[2-6]$/u.test(String(props.titleAs || "")) ? Number(String(props.titleAs).slice(1)) : undefined;
|
|
28
|
-
return _jsx(Title, { level: override, children: props.title });
|
|
28
|
+
return _jsx(Title, { fit: false, level: override, children: props.title });
|
|
29
29
|
}
|
|
30
30
|
function copyCardHeader(props, target) {
|
|
31
31
|
const canCopy = Boolean(target || typeof props.value === "string");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-components.js","sourceRoot":"","sources":["../../../src/actions/copy-components.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,GAEvB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,eAAe,CAAC;AA0CvE,SAAS,QAAQ,CAAC,MAAc,EAAE,IAAY;IAC5C,IAAI,IAAI,GAAG,CAAC,CAAC;IACb,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QACpD,IAAI,GAAG,CAAC,IAAI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 @@
|
|
|
1
1
|
import type { FrontendContainersConfig, NormalizedFrontendConfig, NormalizedFrontendContainers } from "./types.js";
|
|
2
2
|
declare const TONE_NAMESPACE = "tone";
|
|
3
|
+
declare const FROST_NAMESPACE = "frost";
|
|
3
4
|
declare function defineContainers<const T extends FrontendContainersConfig>(containers: T): T;
|
|
4
5
|
declare function normalizeContainersConfig(value: unknown, breakpoints: readonly string[]): NormalizedFrontendContainers;
|
|
5
6
|
declare function renderContainerClassRules(config: NormalizedFrontendConfig): string[];
|
|
6
|
-
export { TONE_NAMESPACE, defineContainers, normalizeContainersConfig, renderContainerClassRules };
|
|
7
|
+
export { FROST_NAMESPACE, TONE_NAMESPACE, defineContainers, normalizeContainersConfig, renderContainerClassRules };
|
|
7
8
|
//# sourceMappingURL=containers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../../../src/config/containers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,wBAAwB,EAGxB,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,YAAY,CAAC;AAMpB,QAAA,MAAM,cAAc,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../../../src/config/containers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,wBAAwB,EAGxB,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,YAAY,CAAC;AAMpB,QAAA,MAAM,cAAc,SAAS,CAAC;AAC9B,QAAA,MAAM,eAAe,UAAU,CAAC;AAmIhC,iBAAS,gBAAgB,CAAC,KAAK,CAAC,CAAC,SAAS,wBAAwB,EAAE,UAAU,EAAE,CAAC,GAAG,CAAC,CAEpF;AAED,iBAAS,yBAAyB,CAChC,KAAK,EAAE,OAAO,EACd,WAAW,EAAE,SAAS,MAAM,EAAE,GAC7B,4BAA4B,CAS9B;AA2CD,iBAAS,yBAAyB,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM,EAAE,CAc7E;AAED,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -3,9 +3,11 @@ import { breakpointEntries } from "./breakpoints.js";
|
|
|
3
3
|
import { invalidConfig, isCssToken } from "./shared.js";
|
|
4
4
|
const NAME_PATTERN = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/u;
|
|
5
5
|
const PROPERTY_PATTERN = /^-{0,2}[a-zA-Z][a-zA-Z0-9-]*$/u;
|
|
6
|
-
const DEFINITION_FIELDS = ["at", "on", "parts", "style", "tone", "variants"];
|
|
6
|
+
const DEFINITION_FIELDS = ["at", "frost", "on", "parts", "style", "tone", "variants"];
|
|
7
7
|
const TONES = ["dark", "light"];
|
|
8
8
|
const TONE_NAMESPACE = "tone";
|
|
9
|
+
const FROST_NAMESPACE = "frost";
|
|
10
|
+
const FROST_TEXT = ":where(p, li:not([class]), blockquote, figcaption, dd):not(:where(li, blockquote, figcaption, dd) *)";
|
|
9
11
|
const RAW_TOKEN_PATTERN = new RegExp(`var\\(\\s*--${FRONTEND_PREFIX}-`, "u");
|
|
10
12
|
function isPlainRecord(value) {
|
|
11
13
|
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
@@ -74,6 +76,16 @@ function normalizeTone(value, label) {
|
|
|
74
76
|
}
|
|
75
77
|
return value;
|
|
76
78
|
}
|
|
79
|
+
function normalizeFrost(value, label) {
|
|
80
|
+
if (value === undefined)
|
|
81
|
+
return false;
|
|
82
|
+
if (typeof value !== "boolean")
|
|
83
|
+
throw invalidConfig(`${label} must be true or false`);
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
function frostRule(selector, frost) {
|
|
87
|
+
return frost ? [`:where(${selector}) ${FROST_TEXT} {`, ` @include ${FROST_NAMESPACE}.text;`, "}"] : [];
|
|
88
|
+
}
|
|
77
89
|
function toneDeclarations(tone) {
|
|
78
90
|
return tone ? [` @include ${TONE_NAMESPACE}.on-${tone};`] : [];
|
|
79
91
|
}
|
|
@@ -90,6 +102,7 @@ function normalizeDefinition(value, label, nested, breakpoints) {
|
|
|
90
102
|
}
|
|
91
103
|
const definition = {
|
|
92
104
|
at: normalizeStyleMap(value.at, `${label}.at`, breakpoints),
|
|
105
|
+
frost: normalizeFrost(value.frost, `${label}.frost`),
|
|
93
106
|
on: normalizeStyleMap(value.on, `${label}.on`),
|
|
94
107
|
parts: {},
|
|
95
108
|
style: value.style === undefined ? {} : normalizeStyle(value.style, `${label}.style`),
|
|
@@ -141,6 +154,7 @@ function renderDefinition(selector, definition, breakpoints) {
|
|
|
141
154
|
const tone = toneDeclarations(definition.tone);
|
|
142
155
|
const body = [...tone, ...declarations(definition.style)];
|
|
143
156
|
const lines = body.length ? [`${selector} {`, ...body, "}"] : [];
|
|
157
|
+
lines.push(...frostRule(selector, definition.frost));
|
|
144
158
|
for (const [state, style] of Object.entries(definition.on)) {
|
|
145
159
|
lines.push(...ruleFor(stateSelector(selector, state), style));
|
|
146
160
|
}
|
|
@@ -170,5 +184,5 @@ function renderContainerClassRules(config) {
|
|
|
170
184
|
}
|
|
171
185
|
return lines;
|
|
172
186
|
}
|
|
173
|
-
export { TONE_NAMESPACE, defineContainers, normalizeContainersConfig, renderContainerClassRules };
|
|
187
|
+
export { FROST_NAMESPACE, TONE_NAMESPACE, defineContainers, normalizeContainersConfig, renderContainerClassRules };
|
|
174
188
|
//# sourceMappingURL=containers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containers.js","sourceRoot":"","sources":["../../../src/config/containers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAUxD,MAAM,YAAY,GAAG,kCAAkC,CAAC;A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AAI,EAAE,CAAC;QACzD,KAAK,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC,QAAQ,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;QACnE,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;YAC9D,KAAK,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC,GAAG,QAAQ,KAAK,IAAI,EAAE,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;QAC/E,CAAC;QACD,KAAK,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpE,KAAK,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC,GAAG,QAAQ,KAAK,OAAO,EAAE,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;QAClF,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -316,6 +316,7 @@ declare const DEFAULT_FRONTEND_COMPONENTS_CONFIG: Readonly<{
|
|
|
316
316
|
}>;
|
|
317
317
|
pill: Readonly<{}>;
|
|
318
318
|
progress: Readonly<{}>;
|
|
319
|
+
quote: Readonly<{}>;
|
|
319
320
|
tabs: Readonly<{
|
|
320
321
|
list: {
|
|
321
322
|
gap: string;
|
|
@@ -459,6 +460,7 @@ declare const DEFAULT_FRONTEND_COMPONENTS_CONFIG: Readonly<{
|
|
|
459
460
|
fontSize: "0.875rem";
|
|
460
461
|
}>;
|
|
461
462
|
bottomBar: Readonly<{}>;
|
|
463
|
+
category: Readonly<{}>;
|
|
462
464
|
footer: Readonly<{
|
|
463
465
|
brand: {};
|
|
464
466
|
column: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-tokens.d.ts","sourceRoot":"","sources":["../../../../src/config/default/component-tokens.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"component-tokens.d.ts","sourceRoot":"","sources":["../../../../src/config/default/component-tokens.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmLS,CAAC;AAElD,OAAO,EAAE,kCAAkC,EAAE,CAAC"}
|
|
@@ -96,6 +96,7 @@ const DEFAULT_FRONTEND_COMPONENTS_CONFIG = Object.freeze({
|
|
|
96
96
|
shell: Object.freeze({
|
|
97
97
|
breadcrumb: Object.freeze({ fontSize: "0.875rem" }),
|
|
98
98
|
bottomBar: Object.freeze({}),
|
|
99
|
+
category: Object.freeze({}),
|
|
99
100
|
footer: Object.freeze({
|
|
100
101
|
brand: {}, column: {}, columns: {}, heading: {}, inner: {}, links: {}, note: {},
|
|
101
102
|
root: { border: "0" }, site: { links: {} }, tagline: {}, tone: { inverse: {}, muted: {} },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-tokens.js","sourceRoot":"","sources":["../../../../src/config/default/component-tokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,mCAAmC,EAAE,MAAM,uBAAuB,CAAC;AAE5E,MAAM,kCAAkC,GAAG,MAAM,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;QAC5G,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;KAChF,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;YACjB,SAAS,EAAE;gBACT,UAAU,EAAE,aAAa;gBACzB,MAAM,EAAE,wBAAwB;gBAChC,KAAK,EAAE,cAAc;gBACrB,OAAO,EAAE,WAAW;gBACpB,MAAM,EAAE,GAAG;aACZ;YACD,OAAO,E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B,EA6BpC,CAAC;AAEF,QAAA,MAAM,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/config/default/config.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAEnG,QAAA,MAAM,oBAAoB,kBAA4B,CAAC;AAEvD,QAAA,MAAM,oBAAoB,EAAE,gBAAgB,EAAkC,CAAC;AAE/E,QAAA,MAAM,YAAY,EAAE,iBAAiB,EA6BpC,CAAC;AAEF,QAAA,MAAM,uBAAuB,EAAE,wBAmE7B,CAAC;AAEH,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -86,6 +86,7 @@ const DEFAULT_FRONTEND_CONFIG = Object.freeze({
|
|
|
86
86
|
scales: DEFAULT_FRONTEND_SCALES_CONFIG,
|
|
87
87
|
scrollBehavior: "smooth",
|
|
88
88
|
semantics: Object.freeze({}),
|
|
89
|
+
titles: Object.freeze({ fit: null }),
|
|
89
90
|
}),
|
|
90
91
|
forVersion: PACKAGE_VERSION,
|
|
91
92
|
language: EMPTY_LANGUAGE_CONFIG,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/config/default/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAA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AAEA,QAAA,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"primitive-tokens.d.ts","sourceRoot":"","sources":["../../../../src/config/default/primitive-tokens.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqMvC,CAAC;AAEH,OAAO,EAAE,mCAAmC,EAAE,CAAC"}
|
|
@@ -88,6 +88,7 @@ const DEFAULT_PRIMITIVE_COMPONENTS_CONFIG = Object.freeze({
|
|
|
88
88
|
separator: { fontSize: "1em", opacity: "0.45" }, track: { duration: "38s" } }),
|
|
89
89
|
pill: Object.freeze({}),
|
|
90
90
|
progress: Object.freeze({}),
|
|
91
|
+
quote: Object.freeze({}),
|
|
91
92
|
tabs: Object.freeze({
|
|
92
93
|
list: { gap: "0.5rem" },
|
|
93
94
|
responsive: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitive-tokens.js","sourceRoot":"","sources":["../../../../src/config/default/primitive-tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,mCAAmC,GAAG,MAAM,CAAC,MAAM,CAAC;IACtD,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,aAAa;YACzB,QAAQ,EAAE,SAA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AC,QAAQ,CAAC,SAAS;YAClG,KAAK,EAAE,OAAO,cAAc,CAAC,MAAM,CAAC,SAAS;YAC7C,GAAG,EAAE,SAAS;YACd,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,OAAO,cAAc,CAAC,QAAQ,CAAC,MAAM;YAC7C,MAAM,EAAE;gBACN,IAAI,EAAE;oBACJ,UAAU,EAAE,OAAO,cAAc,CAAC,SAAS,CAAC,SAAS;oBACrD,WAAW,EAAE,OAAO,cAAc,CAAC,OAAO,CAAC,SAAS;iBACrD;gBACD,QAAQ,EAAE;oBACR,WAAW,EAAE,OAAO;iBACrB;aACF;SACF;KACJ,CAAC;CACL,CAAC,CAAC;AAEH,OAAO,EAAE,mCAAmC,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../src/config/normalize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAsBxH,OAAO,KAAK,EACV,wBAAwB,EAMzB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../src/config/normalize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAsBxH,OAAO,KAAK,EACV,wBAAwB,EAMzB,MAAM,YAAY,CAAC;AAGpB,KAAK,gBAAgB,GAAG;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,oBAAoB,QAAuB,CAAC;AA4MlD,iBAAS,uBAAuB,CAC9B,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,gBAAqB,GAC7B,wBAAwB,CAoB1B;AAgBD,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,GACxB,CAAC"}
|
package/dist/config/normalize.js
CHANGED
|
@@ -18,6 +18,7 @@ import { frontendConfigPath, PACKAGE_VERSION, } from "./package.js";
|
|
|
18
18
|
import { normalizeContainersConfig } from "./containers.js";
|
|
19
19
|
import { normalizeIconAliasKey, normalizeIconAliasSpec } from "../icons/catalog.js";
|
|
20
20
|
import { resolveForVersion } from "@trebired/utils";
|
|
21
|
+
import { normalizeTitlesConfig } from "./titles.js";
|
|
21
22
|
const FRONTEND_CONFIG_PATH = frontendConfigPath();
|
|
22
23
|
const TOP_LEVEL_FIELDS = [
|
|
23
24
|
"a11y",
|
|
@@ -42,6 +43,7 @@ const DESIGN_FIELDS = [
|
|
|
42
43
|
"scales",
|
|
43
44
|
"scrollBehavior",
|
|
44
45
|
"semantics",
|
|
46
|
+
"titles",
|
|
45
47
|
];
|
|
46
48
|
const SCROLL_BEHAVIORS = ["auto", "smooth"];
|
|
47
49
|
const RUNTIME_FIELDS = ["layer", "layout", "progress", "theme"];
|
|
@@ -161,19 +163,23 @@ function normalizeRuntimeConfig(value) {
|
|
|
161
163
|
theme: normalizeThemeConfig(source.theme),
|
|
162
164
|
};
|
|
163
165
|
}
|
|
164
|
-
function normalizeDesignConfig(value, modeKeys) {
|
|
166
|
+
function normalizeDesignConfig(value, modeKeys, fonts) {
|
|
165
167
|
const source = value === undefined
|
|
166
168
|
? {}
|
|
167
169
|
: assertPlainObject(value, "design");
|
|
168
170
|
assertKnownFields(source, DESIGN_FIELDS, "design");
|
|
171
|
+
const breakpoints = normalizeBreakpointsConfig(source.breakpoints);
|
|
172
|
+
const semantics = normalizeThemeTokens(source.semantics, "design.semantics");
|
|
173
|
+
const heading = (semantics.heading || {});
|
|
169
174
|
return {
|
|
170
|
-
breakpoints
|
|
175
|
+
breakpoints,
|
|
171
176
|
glass: normalizeGlassConfig(source.glass),
|
|
172
177
|
interactions: normalizeInteractionsConfig(source.interactions),
|
|
173
178
|
palette: normalizePaletteConfig(source.palette, modeKeys),
|
|
174
179
|
scales: normalizeScalesConfig(source.scales),
|
|
175
180
|
scrollBehavior: normalizeScrollBehavior(source.scrollBehavior),
|
|
176
|
-
semantics
|
|
181
|
+
semantics,
|
|
182
|
+
titles: normalizeTitlesConfig(source.titles, { breakpoints, fonts, heading }),
|
|
177
183
|
};
|
|
178
184
|
}
|
|
179
185
|
function normalizeScrollBehavior(value) {
|
|
@@ -205,10 +211,11 @@ function normalizeFrontendConfig(config = {}, options = {}) {
|
|
|
205
211
|
const source = assertPlainObject(config, "config");
|
|
206
212
|
assertKnownFields(source, TOP_LEVEL_FIELDS, "config");
|
|
207
213
|
const runtime = normalizeRuntimeConfig(source.runtime);
|
|
208
|
-
const
|
|
214
|
+
const assets = normalizeAssetsConfig(source.assets);
|
|
215
|
+
const design = normalizeDesignConfig(source.design, runtime.theme.modes.map((mode) => mode.key), assets.fonts);
|
|
209
216
|
return {
|
|
210
217
|
a11y: normalizeA11yConfig(source.a11y),
|
|
211
|
-
assets
|
|
218
|
+
assets,
|
|
212
219
|
components: normalizeComponentsConfig(source.components),
|
|
213
220
|
containers: normalizeContainersConfig(source.containers, Object.keys(design.breakpoints)),
|
|
214
221
|
design,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.js","sourceRoot":"","sources":["../../../src/config/normalize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACxH,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAA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ACtC,OAAO;QACP,OAAO,EAAE,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC;KAC1C,CAAC;AACJ,CAAC;AAED,SAAS,mBAAmB,CAC1B,MAA+B,EAC/B,OAAyB;IAEzB,OAAO,iBAAiB,CAAC;QACrB,MAAM;QACN,UAAU,EAAE,OAAO,CAAC,UAAU;QAC9B,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,KAAK,EAAE,UAAU;QACjB,cAAc,EAAE,eAAe;QAC/B,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;KAC/C,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,GACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scss.d.ts","sourceRoot":"","sources":["../../../src/config/scss.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scss.d.ts","sourceRoot":"","sources":["../../../src/config/scss.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EACV,wBAAwB,EAExB,cAAc,EAEf,MAAM,YAAY,CAAC;AAoPpB,iBAAS,oBAAoB,CAC3B,WAAW,EAAE,cAAc,GAAG,wBAAwB,GACrD,MAAM,CAmCR;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|