@smwb/ui-css 1.0.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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +45 -0
  3. package/dist/ui.css +6851 -0
  4. package/package.json +25 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 - Summerweb LLC
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 ADDED
@@ -0,0 +1,45 @@
1
+ # @smwb/ui-css
2
+
3
+ The **prebuilt aggregate stylesheet** for the `@smwb` design system — every component's CSS in one
4
+ file, compiled from [`@smwb/ui-styles`](https://www.npmjs.com/package/@smwb/ui-styles). Framework-
5
+ agnostic: the exact same stylesheet backs both [`@smwb/ui-react`](https://www.npmjs.com/package/@smwb/ui-react)
6
+ and [`@smwb/ui-solid`](https://www.npmjs.com/package/@smwb/ui-solid).
7
+
8
+ ![license](https://img.shields.io/badge/license-MIT-blue.svg)
9
+
10
+ ## Install
11
+
12
+ ```sh
13
+ npm install @smwb/ui-css
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```ts
19
+ import "@smwb/ui-css";
20
+ // or
21
+ import "@smwb/ui-css/ui.css";
22
+ ```
23
+
24
+ Optional CSS reset (from `@smwb/ui-styles`):
25
+
26
+ ```ts
27
+ import "@smwb/ui-styles/normalize.css";
28
+ ```
29
+
30
+ ## When to use it
31
+
32
+ - **CJS** consumers, or anytime you want a single global stylesheet with a fixed cascade order.
33
+ - Quick start / CDN-style usage where tree-shaking isn't set up.
34
+
35
+ If you import components from `@smwb/ui-react` / `@smwb/ui-solid` in an **ESM** build, each
36
+ component already pulls in its own CSS automatically (tree-shakeable) — you don't need this package.
37
+
38
+ ## How it's built
39
+
40
+ `lessc @smwb/ui-styles/less/components.less → dist/ui.css`. To customize the design tokens, override
41
+ them in `@smwb/ui-styles` (see its README) and recompile.
42
+
43
+ ## License
44
+
45
+ [MIT](./LICENSE)