@ponchia/ui 0.12.0 → 0.14.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 +91 -0
- package/README.md +4 -4
- package/behaviors/command.d.ts +34 -13
- package/behaviors/command.d.ts.map +1 -1
- package/behaviors/command.js +195 -129
- package/classes/classes.json +17 -2
- package/classes/index.d.ts +12 -0
- package/classes/index.js +14 -2
- package/classes/vscode.css-custom-data.json +64 -0
- package/css/base.css +2 -2
- package/css/blocknote.css +61 -0
- package/css/clamp.css +2 -2
- package/css/content.css +160 -1
- package/css/disclosure.css +10 -10
- package/css/feedback.css +95 -3
- package/css/fonts-inter.css +35 -0
- package/css/fonts-jetbrains-mono.css +49 -0
- package/css/forms.css +8 -8
- package/css/primitives.css +5 -6
- package/css/row.css +2 -2
- package/css/site.css +0 -31
- package/css/term.css +2 -2
- package/css/textref.css +2 -2
- package/css/toc.css +2 -2
- package/css/tokens.css +43 -0
- package/css/tool.css +29 -0
- package/css/workbench.css +2 -2
- package/dist/bronto.css +1 -1
- package/dist/css/base.css +1 -1
- package/dist/css/blocknote.css +1 -0
- package/dist/css/clamp.css +1 -1
- package/dist/css/content.css +1 -1
- package/dist/css/disclosure.css +1 -1
- package/dist/css/feedback.css +1 -1
- package/dist/css/fonts-inter.css +1 -0
- package/dist/css/fonts-jetbrains-mono.css +1 -0
- package/dist/css/forms.css +1 -1
- package/dist/css/report-kit.css +1 -1
- package/dist/css/row.css +1 -1
- package/dist/css/site.css +1 -1
- package/dist/css/term.css +1 -1
- package/dist/css/textref.css +1 -1
- package/dist/css/toc.css +1 -1
- package/dist/css/tokens.css +1 -1
- package/dist/css/tool.css +1 -0
- package/dist/css/workbench.css +1 -1
- package/docs/command.md +47 -7
- package/docs/compositions.md +2 -2
- package/docs/interop/blocknote.md +60 -0
- package/docs/package-contract.md +11 -2
- package/docs/reference.md +27 -1
- package/docs/reporting.md +8 -8
- package/docs/stability.md +5 -2
- package/docs/theming.md +56 -2
- package/docs/usage.md +55 -0
- package/fonts/OFL-Inter.txt +92 -0
- package/fonts/OFL-JetBrainsMono.txt +93 -0
- package/fonts/inter-variable-italic.woff2 +0 -0
- package/fonts/inter-variable.woff2 +0 -0
- package/fonts/jetbrains-mono-400-italic.woff2 +0 -0
- package/fonts/jetbrains-mono-400.woff2 +0 -0
- package/fonts/jetbrains-mono-700-italic.woff2 +0 -0
- package/fonts/jetbrains-mono-700.woff2 +0 -0
- package/llms.txt +1 -1
- package/package.json +18 -10
- package/tokens/figma.variables.json +240 -0
- package/tokens/index.d.ts +2 -2
- package/tokens/index.js +30 -2
- package/tokens/index.json +32 -0
- package/tokens/resolved.json +17 -1
- package/tokens/tokens.dtcg.json +190 -0
package/docs/theming.md
CHANGED
|
@@ -129,7 +129,10 @@ you change CSS `--accent` later.
|
|
|
129
129
|
|
|
130
130
|
- **Spacing** — override the `--space-2xs … --space-2xl` scale, or use a
|
|
131
131
|
preset: `data-density="compact"` / `data-density="comfortable"` on any
|
|
132
|
-
element (defaults to the middle scale).
|
|
132
|
+
element (defaults to the middle scale). Dense tool chrome also gets four half
|
|
133
|
+
steps on the 0.25rem unit that the t-shirt scale skips: `--space-0-5`,
|
|
134
|
+
`--space-0-75`, `--space-1-5` and `--space-2-5` (2, 3, 6 and 10px at a 16px
|
|
135
|
+
root). The density presets scale them with the rest.
|
|
133
136
|
|
|
134
137
|
**Read this before relying on the preset.** It re-points the `--space-*`
|
|
135
138
|
scale, and only components whose padding is *expressed in that scale* move
|
|
@@ -176,7 +179,14 @@ you change CSS `--accent` later.
|
|
|
176
179
|
convention: `inset-block-end: max(<your offset>, var(--safe-area-bottom))`.
|
|
177
180
|
- **Type** — `--display` (dot-matrix face), `--mono`, `--sans`. Override
|
|
178
181
|
to drop Doto or swap the body face; the token layer keeps working even
|
|
179
|
-
if you self-host fonts (see the `fonts.css` note in the README).
|
|
182
|
+
if you self-host fonts (see the `fonts.css` note in the README). The
|
|
183
|
+
default bundle ships Doto only. `--sans` names Inter first and `--mono`
|
|
184
|
+
JetBrains Mono, so without those faces each OS draws its own fallback.
|
|
185
|
+
Import `@ponchia/ui/css/fonts-inter.css` and
|
|
186
|
+
`@ponchia/ui/css/fonts-jetbrains-mono.css` to ship both (Inter 4.1 as
|
|
187
|
+
one variable face per style; JetBrains Mono 2.304 in regular, bold and
|
|
188
|
+
their italics; SIL OFL 1.1, licenses in `fonts/`). A browser downloads a
|
|
189
|
+
face only when text needs it.
|
|
180
190
|
- **Surfaces / lines / text** — the `--bg*`, `--panel*`, `--line*`,
|
|
181
191
|
`--text*` tokens are overridable for a bespoke palette, but you then
|
|
182
192
|
own their contrast. Prefer just `--accent` unless you need a full
|
|
@@ -189,6 +199,50 @@ you change CSS `--accent` later.
|
|
|
189
199
|
set `accent-color` yourself on them — this is the one accent surface
|
|
190
200
|
the framework can't tune for you.
|
|
191
201
|
|
|
202
|
+
## A tool over a canvas: layers and zoom
|
|
203
|
+
|
|
204
|
+
**Layers.** A page needs six stacking layers (`--z-base`, `--z-raised`,
|
|
205
|
+
`--z-sticky`, `--z-overlay`, `--z-popover`, `--z-toast`). A tool drawn over a
|
|
206
|
+
canvas needs named ones, lowest first:
|
|
207
|
+
|
|
208
|
+
| Token | Value | For |
|
|
209
|
+
| --- | --- | --- |
|
|
210
|
+
| `--z-canvas` | `--z-base` | the canvas plane; its nodes stack locally inside it |
|
|
211
|
+
| `--z-chrome` | `--z-sticky` | toolbars, headers and rails over the canvas |
|
|
212
|
+
| `--z-panel` | 25 | docked and floating panels |
|
|
213
|
+
| `--z-modal` | `--z-overlay` | dialogs and their scrim |
|
|
214
|
+
| `--z-menu` | `--z-popover` | menus and popovers, including those a dialog opens |
|
|
215
|
+
| `--z-toast` | 60 | toasts |
|
|
216
|
+
| `--z-tooltip` | 70 | tooltips |
|
|
217
|
+
| `--z-navigation` | 80 | presentation and tour chrome that drives the whole surface |
|
|
218
|
+
|
|
219
|
+
Where a workspace layer means the same as a page layer it is an alias, so the
|
|
220
|
+
two scales cannot disagree.
|
|
221
|
+
|
|
222
|
+
**Zoom.** A host that draws bronto UI inside a scaled surface, such as a
|
|
223
|
+
zoomable canvas, marks the scaled element with `data-ui-zoom` and sets
|
|
224
|
+
`--ui-zoom` to its scale there:
|
|
225
|
+
|
|
226
|
+
```css
|
|
227
|
+
.canvas-viewport {
|
|
228
|
+
--ui-zoom: var(--my-canvas-zoom);
|
|
229
|
+
}
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
```html
|
|
233
|
+
<div class="canvas-viewport" data-ui-zoom>…</div>
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Inside it `--ui-px` is one screen pixel (1px divided by the zoom, with the zoom
|
|
237
|
+
floored at 0.15), and `--hairline`, `--focus-ring-width` and
|
|
238
|
+
`--focus-ring-offset` are re-declared in it. Every bronto focus ring uses those
|
|
239
|
+
tokens, so a control inside a zoomed-out canvas keeps a 2px ring on screen.
|
|
240
|
+
Size your own canvas overlays the same way: `width: calc(1.5 * var(--ui-px))`.
|
|
241
|
+
|
|
242
|
+
The scope is an attribute rather than an inherited value on purpose. A custom
|
|
243
|
+
property that reads `--ui-zoom` resolves where it is declared, so a value set on
|
|
244
|
+
`:root` could not follow a zoomed subtree.
|
|
245
|
+
|
|
192
246
|
## Beyond accent: full re-skins
|
|
193
247
|
|
|
194
248
|
The "Nothing" look is the **default skin, not the architecture**. It is
|
package/docs/usage.md
CHANGED
|
@@ -165,6 +165,17 @@ data-viz palette tokens. Always wrap it in a `ui-report__figure` with a caption,
|
|
|
165
165
|
a `.ui-legend` key, and fallback data. Full LLM/static report cookbook:
|
|
166
166
|
[reporting.md](reporting.md).
|
|
167
167
|
|
|
168
|
+
## A tool: `@ponchia/ui/css/tool.css` instead of the default bundle
|
|
169
|
+
|
|
170
|
+
An application that draws on its own surface (a canvas, an editor, a
|
|
171
|
+
workbench) renders none of the site and app chrome: the theme toggle, the
|
|
172
|
+
content-site shell, data tables and the admin service shell. Import
|
|
173
|
+
`@ponchia/ui/css/tool.css` **instead of** `@ponchia/ui`. It is the default
|
|
174
|
+
bundle in the same cascade order without the `navigation`, `site`, `table` and
|
|
175
|
+
`app` leaves. Everything else, including the dot-matrix glyphs, motion and the
|
|
176
|
+
feedback, overlay and disclosure primitives, is unchanged. Add one of the four
|
|
177
|
+
back as its own leaf (`@ponchia/ui/css/table.css`) if a screen needs it.
|
|
178
|
+
|
|
168
179
|
## Buttons: variant and size
|
|
169
180
|
|
|
170
181
|
- **primary is the bare `ui-button`.** There is no `--primary` and no
|
|
@@ -253,6 +264,50 @@ Without the slots, every empty surface in an app re-invents these three parts
|
|
|
253
264
|
under a different name and they drift — one has a glyph, the next has two
|
|
254
265
|
sentences at the same weight, a third is a bare `<p>`.
|
|
255
266
|
|
|
267
|
+
## Small bodies: body state and band
|
|
268
|
+
|
|
269
|
+
A node, panel or card body of 200–400px has four things to say besides its
|
|
270
|
+
content: nothing is here, it is loading, it failed, it is out of date. A
|
|
271
|
+
page-level empty state or a boxed alert spends a third of such a body on its
|
|
272
|
+
frame, so a small body uses two compact shapes:
|
|
273
|
+
|
|
274
|
+
- **`ui-body-state`** *replaces the content*. It fills the body and centres
|
|
275
|
+
one short sentence, with an optional `ui-empty-state__hint` or an action. Use
|
|
276
|
+
`ui.bodyState()` for empty and loading, the plain state (put
|
|
277
|
+
`aria-busy="true"` on a loading region, and a `ui-dotspinner` or `ui-skeleton`
|
|
278
|
+
inside if you like); `ui.bodyState({ state: 'error' | 'stale' })` leads with a
|
|
279
|
+
tone dot.
|
|
280
|
+
- **`ui-alert--band`** *sits above content the body still shows*: a full-bleed
|
|
281
|
+
line of small type, the tone as a tint. Use `ui.alert({ tone, band: true })`
|
|
282
|
+
as the body's first child.
|
|
283
|
+
|
|
284
|
+
| State | Content gone | Content still shown |
|
|
285
|
+
| --- | --- | --- |
|
|
286
|
+
| empty | `ui.bodyState()` | — |
|
|
287
|
+
| loading | `ui.bodyState()` + `aria-busy` | `ui-skeleton` rows in place |
|
|
288
|
+
| error | `ui.bodyState({ state: 'error' })` | `ui.alert({ tone: 'danger', band: true })` |
|
|
289
|
+
| stale | `ui.bodyState({ state: 'stale' })` | `ui.alert({ tone: 'warning', band: true })` |
|
|
290
|
+
|
|
291
|
+
```html
|
|
292
|
+
<div class="node-body ui-cq">
|
|
293
|
+
<p class="ui-alert ui-alert--warning ui-alert--band" role="status">
|
|
294
|
+
Last synced 2 h ago
|
|
295
|
+
</p>
|
|
296
|
+
…the content, still readable…
|
|
297
|
+
</div>
|
|
298
|
+
|
|
299
|
+
<div class="node-body ui-cq">
|
|
300
|
+
<div class="ui-body-state ui-body-state--error" role="alert">
|
|
301
|
+
<p>Could not load the run</p>
|
|
302
|
+
<button class="ui-button ui-button--subtle ui-button--dense" type="button">Retry</button>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
Make the body a `ui-cq` container: below 15rem the body state tightens to the
|
|
308
|
+
smallest type and padding. The body itself should be a flex column or have a
|
|
309
|
+
height, so the state can fill it.
|
|
310
|
+
|
|
256
311
|
## Link vs link--cta
|
|
257
312
|
|
|
258
313
|
Plain `ui-link` for in-flow links. `ui-link--cta` is the accent
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
-----------------------------------------------------------
|
|
8
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
PREAMBLE
|
|
12
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
13
|
+
development of collaborative font projects, to support the font creation
|
|
14
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
15
|
+
open framework in which fonts may be shared and improved in partnership
|
|
16
|
+
with others.
|
|
17
|
+
|
|
18
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
19
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
20
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
21
|
+
redistributed and/or sold with any software provided that any reserved
|
|
22
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
23
|
+
however, cannot be released under any other type of license. The
|
|
24
|
+
requirement for fonts to remain under this license does not apply
|
|
25
|
+
to any document created using the fonts or their derivatives.
|
|
26
|
+
|
|
27
|
+
DEFINITIONS
|
|
28
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
29
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
30
|
+
include source files, build scripts and documentation.
|
|
31
|
+
|
|
32
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
33
|
+
copyright statement(s).
|
|
34
|
+
|
|
35
|
+
"Original Version" refers to the collection of Font Software components as
|
|
36
|
+
distributed by the Copyright Holder(s).
|
|
37
|
+
|
|
38
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
39
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
40
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
41
|
+
new environment.
|
|
42
|
+
|
|
43
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
44
|
+
writer or other person who contributed to the Font Software.
|
|
45
|
+
|
|
46
|
+
PERMISSION AND CONDITIONS
|
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
48
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
49
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
50
|
+
Software, subject to the following conditions:
|
|
51
|
+
|
|
52
|
+
1) Neither the Font Software nor any of its individual components,
|
|
53
|
+
in Original or Modified Versions, may be sold by itself.
|
|
54
|
+
|
|
55
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
56
|
+
redistributed and/or sold with any software, provided that each copy
|
|
57
|
+
contains the above copyright notice and this license. These can be
|
|
58
|
+
included either as stand-alone text files, human-readable headers or
|
|
59
|
+
in the appropriate machine-readable metadata fields within text or
|
|
60
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
61
|
+
|
|
62
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
63
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
64
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
65
|
+
presented to the users.
|
|
66
|
+
|
|
67
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
68
|
+
Software shall not be used to promote, endorse or advertise any
|
|
69
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
70
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
71
|
+
permission.
|
|
72
|
+
|
|
73
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
74
|
+
must be distributed entirely under this license, and must not be
|
|
75
|
+
distributed under any other license. The requirement for fonts to
|
|
76
|
+
remain under this license does not apply to any document created
|
|
77
|
+
using the Font Software.
|
|
78
|
+
|
|
79
|
+
TERMINATION
|
|
80
|
+
This license becomes null and void if any of the above conditions are
|
|
81
|
+
not met.
|
|
82
|
+
|
|
83
|
+
DISCLAIMER
|
|
84
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
85
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
86
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
87
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
88
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
89
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
90
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
91
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
92
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/llms.txt
CHANGED
|
@@ -45,7 +45,7 @@ the path changes from source `css/` to built `dist/css/`:
|
|
|
45
45
|
<!-- installed locally -->
|
|
46
46
|
<link rel="stylesheet" href="./node_modules/@ponchia/ui/dist/css/<leaf>.css" />
|
|
47
47
|
<!-- or from a CDN; pin the version (pre-1.0, breaking changes ship in the minor) -->
|
|
48
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ponchia/ui@0.
|
|
48
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ponchia/ui@0.14.0/dist/css/<leaf>.css" />
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
The flattened default bundle is `dist/bronto.css` (bundler shorthand
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ponchia/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CSS-first identity and UI layer for services, tools, sites, and reports — works in HTML, every framework, and PDF, no component runtime. Shared app shell, forms, tables, workflow chrome, plus opt-in analytical/report primitives. Monochrome with one rationed accent. Zero runtime dependencies.",
|
|
6
6
|
"keywords": [
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"docs/command.md",
|
|
107
107
|
"docs/interop/tailwind.md",
|
|
108
108
|
"docs/interop/react-flow.md",
|
|
109
|
+
"docs/interop/blocknote.md",
|
|
109
110
|
"docs/migrations/0.2-to-0.3.md",
|
|
110
111
|
"docs/migrations/0.3-to-0.4.md",
|
|
111
112
|
"docs/migrations/0.4-to-0.5.md",
|
|
@@ -164,7 +165,6 @@
|
|
|
164
165
|
"check:recipe-types": "node scripts/check-recipe-types.mjs",
|
|
165
166
|
"check:dead": "knip --treat-config-hints-as-errors",
|
|
166
167
|
"check:complexity": "node scripts/check-complexity.mjs",
|
|
167
|
-
"check:chain": "node scripts/check-chain.mjs",
|
|
168
168
|
"check:dts-emit": "node scripts/check-dts-emit.mjs",
|
|
169
169
|
"check:glyphs": "node scripts/check-glyphs.mjs",
|
|
170
170
|
"check:color-policy": "node scripts/check-color-policy.mjs",
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"check:publint": "publint --strict",
|
|
204
204
|
"check:attw": "attw --pack --ignore-rules no-resolution cjs-resolves-to-esm",
|
|
205
205
|
"check:workflows": "github-actionlint .github/workflows/*.yml",
|
|
206
|
-
"check": "
|
|
206
|
+
"check": "node scripts/run-checks.mjs",
|
|
207
207
|
"test": "node --test \"test/*.test.mjs\"",
|
|
208
208
|
"test:e2e": "playwright test",
|
|
209
209
|
"test:e2e:chromium": "playwright test --project=chromium",
|
|
@@ -222,16 +222,16 @@
|
|
|
222
222
|
"@axe-core/playwright": "^4.11.3",
|
|
223
223
|
"@playwright/test": "1.60.0",
|
|
224
224
|
"github-actionlint": "^1.7.12",
|
|
225
|
-
"jsdom": "^30.
|
|
226
|
-
"knip": "^6.
|
|
227
|
-
"pdfjs-dist": "^6.
|
|
228
|
-
"prettier": "^3.9.
|
|
229
|
-
"publint": "^0.3.
|
|
230
|
-
"stylelint": "^17.
|
|
225
|
+
"jsdom": "^30.1.1",
|
|
226
|
+
"knip": "^6.39.0",
|
|
227
|
+
"pdfjs-dist": "^6.3.289",
|
|
228
|
+
"prettier": "^3.9.9",
|
|
229
|
+
"publint": "^0.3.24",
|
|
230
|
+
"stylelint": "^17.16.0",
|
|
231
231
|
"stylelint-config-standard": "^40.0.0",
|
|
232
232
|
"stylelint-use-logical": "^2.1.3",
|
|
233
233
|
"typescript": "^6.0.3",
|
|
234
|
-
"vega": "^6.
|
|
234
|
+
"vega": "^6.4.0",
|
|
235
235
|
"vega-lite": "^6.4.3"
|
|
236
236
|
},
|
|
237
237
|
"exports": {
|
|
@@ -262,6 +262,9 @@
|
|
|
262
262
|
"./css/app.css": "./dist/css/app.css",
|
|
263
263
|
"./css/skins.css": "./dist/css/skins.css",
|
|
264
264
|
"./css/dataviz.css": "./dist/css/dataviz.css",
|
|
265
|
+
"./css/blocknote.css": "./dist/css/blocknote.css",
|
|
266
|
+
"./css/fonts-inter.css": "./dist/css/fonts-inter.css",
|
|
267
|
+
"./css/fonts-jetbrains-mono.css": "./dist/css/fonts-jetbrains-mono.css",
|
|
265
268
|
"./css/report.css": "./dist/css/report.css",
|
|
266
269
|
"./css/row.css": "./dist/css/row.css",
|
|
267
270
|
"./css/figure.css": "./dist/css/figure.css",
|
|
@@ -291,6 +294,7 @@
|
|
|
291
294
|
"./css/command.css": "./dist/css/command.css",
|
|
292
295
|
"./css/analytical.css": "./dist/css/analytical.css",
|
|
293
296
|
"./css/report-kit.css": "./dist/css/report-kit.css",
|
|
297
|
+
"./css/tool.css": "./dist/css/tool.css",
|
|
294
298
|
"./css/unlayered/tokens.css": "./css/tokens.css",
|
|
295
299
|
"./css/unlayered/fonts.css": "./css/fonts.css",
|
|
296
300
|
"./css/unlayered/base.css": "./css/base.css",
|
|
@@ -308,6 +312,9 @@
|
|
|
308
312
|
"./css/unlayered/app.css": "./css/app.css",
|
|
309
313
|
"./css/unlayered/skins.css": "./css/skins.css",
|
|
310
314
|
"./css/unlayered/dataviz.css": "./css/dataviz.css",
|
|
315
|
+
"./css/unlayered/blocknote.css": "./css/blocknote.css",
|
|
316
|
+
"./css/unlayered/fonts-inter.css": "./css/fonts-inter.css",
|
|
317
|
+
"./css/unlayered/fonts-jetbrains-mono.css": "./css/fonts-jetbrains-mono.css",
|
|
311
318
|
"./css/unlayered/report.css": "./css/report.css",
|
|
312
319
|
"./css/unlayered/row.css": "./css/row.css",
|
|
313
320
|
"./css/unlayered/figure.css": "./css/figure.css",
|
|
@@ -390,6 +397,7 @@
|
|
|
390
397
|
"./docs/command.md": "./docs/command.md",
|
|
391
398
|
"./docs/interop/tailwind.md": "./docs/interop/tailwind.md",
|
|
392
399
|
"./docs/interop/react-flow.md": "./docs/interop/react-flow.md",
|
|
400
|
+
"./docs/interop/blocknote.md": "./docs/interop/blocknote.md",
|
|
393
401
|
"./docs/migrations/0.2-to-0.3.md": "./docs/migrations/0.2-to-0.3.md",
|
|
394
402
|
"./docs/migrations/0.3-to-0.4.md": "./docs/migrations/0.3-to-0.4.md",
|
|
395
403
|
"./docs/migrations/0.4-to-0.5.md": "./docs/migrations/0.4-to-0.5.md",
|