@wirecore/wirelayer-css 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +37 -2
- package/THIRD_PARTY_NOTICES.md +43 -0
- package/dist/components.css +8616 -0
- package/dist/fonts/OFL.txt +94 -0
- package/dist/fonts/jetbrains-mono-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-cyrillic-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-greek-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-vietnamese-wght-normal.woff2 +0 -0
- package/dist/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/schibsted-grotesk-latin-wght-normal.woff2 +0 -0
- package/dist/wirecore.css +4 -0
- package/package.json +48 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 WireCore GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
-
|
|
1
|
+
<img src="https://raw.githubusercontent.com/WireCore/WireLayer/main/assets/wirelayer.svg" alt="" width="56" height="56" />
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# @wirecore/wirelayer-css
|
|
4
|
+
|
|
5
|
+
The WireLayer components as plain CSS classes (`.wc-*`) for HTML and server templates (Blade, Twig, Astro …) – generated from the same recipes as the Vue and React components, for everything that works without JavaScript.
|
|
6
|
+
|
|
7
|
+
[Storybook](https://wirecore.github.io/WireLayer/) · [GitHub](https://github.com/WireCore/WireLayer) · [Changelog](./CHANGELOG.md)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
pnpm add @wirecore/wirelayer-css
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
Self-contained, without a build step – ship `dist/wirecore.css` and `dist/fonts/` side by side:
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<link rel="stylesheet" href="/assets/wirecore/wirecore.css" /> <button class="wc-button">Save</button>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
With your own Tailwind build:
|
|
24
|
+
|
|
25
|
+
```css
|
|
26
|
+
@import 'tailwindcss';
|
|
27
|
+
@import '@wirecore/wirelayer-tokens/theme.css';
|
|
28
|
+
@import '@wirecore/wirelayer-tokens/fonts.css';
|
|
29
|
+
@import '@wirecore/wirelayer-css/components.css';
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The bundled fonts are licensed under the SIL Open Font License 1.1 (`dist/fonts/OFL.txt`), see [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md).
|
|
33
|
+
|
|
34
|
+
Part of [WireLayer](https://github.com/WireCore/WireLayer) – one look and one API for Vue, React, React Native and HTML, accessible according to WCAG 2.2 AA.
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
[MIT](./LICENSE) – Copyright (c) 2026 WireCore GmbH
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Third-party notices for @wirecore/wirelayer-css
|
|
2
|
+
|
|
3
|
+
`@wirecore/wirelayer-css` is released under the MIT License (see `LICENSE`). Its build output contains third-party material
|
|
4
|
+
under the following licences.
|
|
5
|
+
|
|
6
|
+
## Fonts – SIL Open Font License 1.1
|
|
7
|
+
|
|
8
|
+
`dist/fonts/*.woff2` are Fontsource's unmodified subsets of
|
|
9
|
+
|
|
10
|
+
- **Schibsted Grotesk** – Copyright 2023 The Schibsted-Grotesk Project Authors
|
|
11
|
+
(https://github.com/schibsted/schibsted-grotesk)
|
|
12
|
+
- **JetBrains Mono** – Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
13
|
+
|
|
14
|
+
They are licensed under the SIL Open Font License, Version 1.1 – not under the MIT License. The licence text ships next
|
|
15
|
+
to the font files in `dist/fonts/OFL.txt`; keep it with the fonts when you copy them (e.g. into `public/`).
|
|
16
|
+
|
|
17
|
+
## Tailwind CSS – MIT License
|
|
18
|
+
|
|
19
|
+
`dist/wirecore.css` contains the preflight and theme layer of Tailwind CSS, compiled and minified.
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
MIT License
|
|
23
|
+
|
|
24
|
+
Copyright (c) Tailwind Labs, Inc.
|
|
25
|
+
|
|
26
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
27
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
28
|
+
in the Software without restriction, including without limitation the rights
|
|
29
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
30
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
31
|
+
furnished to do so, subject to the following conditions:
|
|
32
|
+
|
|
33
|
+
The above copyright notice and this permission notice shall be included in all
|
|
34
|
+
copies or substantial portions of the Software.
|
|
35
|
+
|
|
36
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
37
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
38
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
39
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
40
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
41
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
42
|
+
SOFTWARE.
|
|
43
|
+
```
|