@cirthcss/cirth 0.9.0 → 0.11.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/README.md +34 -13
- package/dist/cirth.classless.css +365 -224
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +353 -224
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +374 -272
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.scoped.css +365 -275
- package/dist/cirth.scoped.min.css +1 -1
- package/dist/presets/cobalt.css +39 -3
- package/dist/presets/cobalt.min.css +1 -1
- package/dist/presets/coral.css +41 -3
- package/dist/presets/coral.min.css +1 -1
- package/package.json +15 -8
package/README.md
CHANGED
|
@@ -55,8 +55,8 @@ Include one stylesheet and write ordinary semantic HTML.
|
|
|
55
55
|
```html
|
|
56
56
|
<link
|
|
57
57
|
rel="stylesheet"
|
|
58
|
-
href="https://cdn.jsdelivr.net/npm/@cirthcss/cirth@0.
|
|
59
|
-
integrity="sha384-
|
|
58
|
+
href="https://cdn.jsdelivr.net/npm/@cirthcss/cirth@0.11.0/dist/cirth.min.css"
|
|
59
|
+
integrity="sha384-gY1h03CuKKEHKTnH6uBur925Uk1yp4+5VW4BQoPN/UTG/dqjekX52Eg084QriHT4"
|
|
60
60
|
crossorigin="anonymous">
|
|
61
61
|
```
|
|
62
62
|
|
|
@@ -247,13 +247,16 @@ npm run docs:dev
|
|
|
247
247
|
[Dropdown](docs/src/pages/components/dropdown.md) ·
|
|
248
248
|
[Group](docs/src/pages/components/group.md) ·
|
|
249
249
|
[Loading](docs/src/pages/components/loading.md) ·
|
|
250
|
+
[Meter](docs/src/pages/components/meter.md) ·
|
|
250
251
|
[Modal](docs/src/pages/components/modal.md) ·
|
|
251
252
|
[Nav](docs/src/pages/components/nav.md) ·
|
|
252
|
-
[
|
|
253
|
-
[
|
|
253
|
+
[Popover](docs/src/pages/components/popover.md) ·
|
|
254
|
+
[Progress](docs/src/pages/components/progress.md)
|
|
254
255
|
- **Utilities** —
|
|
255
256
|
[Accessibility](docs/src/pages/utilities/accessibility.md) ·
|
|
256
|
-
[
|
|
257
|
+
[High contrast](docs/src/pages/utilities/high-contrast.md) ·
|
|
258
|
+
[Reduce motion](docs/src/pages/utilities/reduce-motion.md) ·
|
|
259
|
+
[Print](docs/src/pages/utilities/print.md)
|
|
257
260
|
- **Project** —
|
|
258
261
|
[Examples](docs/src/pages/examples.md) ·
|
|
259
262
|
[Contributions](docs/src/pages/contributions.md) ·
|
|
@@ -283,20 +286,38 @@ npm pack --dry-run
|
|
|
283
286
|
## Browser Support
|
|
284
287
|
|
|
285
288
|
Cirth is designed and tested for the latest stable Chrome, Edge, Firefox,
|
|
286
|
-
and Safari releases. The compiled CSS is processed
|
|
287
|
-
against this Browserslist target:
|
|
289
|
+
and Safari releases, on desktop and mobile. The compiled CSS is processed
|
|
290
|
+
with Lightning CSS against this Browserslist target:
|
|
288
291
|
|
|
289
292
|
```json
|
|
290
293
|
[
|
|
291
|
-
"Chrome >=
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
294
|
+
"Chrome >= 123",
|
|
295
|
+
"ChromeAndroid >= 123",
|
|
296
|
+
"Edge >= 123",
|
|
297
|
+
"Firefox >= 130",
|
|
298
|
+
"FirefoxAndroid >= 130",
|
|
299
|
+
"iOS >= 18.2",
|
|
300
|
+
"Opera >= 109",
|
|
301
|
+
"OperaMobile >= 73",
|
|
302
|
+
"Safari >= 18.2",
|
|
303
|
+
"Samsung >= 27"
|
|
296
304
|
]
|
|
297
305
|
```
|
|
298
306
|
|
|
299
|
-
|
|
307
|
+
Opera 109 and Samsung Internet 27 are the releases built on the same
|
|
308
|
+
Chromium as Chrome 123, so every entry above describes one engine floor,
|
|
309
|
+
not ten independent ones. Together they account for roughly 78% of global
|
|
310
|
+
browser usage, and the number rises on its own as old versions retire.
|
|
311
|
+
|
|
312
|
+
The floor is set by what the library needs, not by age: `popover`,
|
|
313
|
+
`@starting-style`, `transition-behavior: allow-discrete` and
|
|
314
|
+
`scrollbar-gutter` are what let components open, close and animate
|
|
315
|
+
without JavaScript, and `:has()`, `color-mix()` and `light-dark()` are
|
|
316
|
+
what let the theme express relationships instead of baking them.
|
|
317
|
+
|
|
318
|
+
No version of Internet Explorer is supported, and neither is the legacy
|
|
319
|
+
Android Browser — on any current Android device that name refers to
|
|
320
|
+
Chrome, which `ChromeAndroid` already covers.
|
|
300
321
|
|
|
301
322
|
## Design principles
|
|
302
323
|
|