opui-css 1.2.6 → 2.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.
- package/LICENSE +21 -21
- package/README.md +32 -25
- package/dist/op+ui.css +4195 -4195
- package/dist/ui.css +4197 -4197
- package/package.json +3 -3
- package/src/components/accordion.css +172 -172
- package/src/components/alert.css +85 -85
- package/src/components/avatar.css +68 -68
- package/src/components/badge.css +101 -101
- package/src/components/button-group.css +69 -69
- package/src/components/button.css +267 -267
- package/src/components/card.css +82 -82
- package/src/components/checkbox-radio.css +123 -123
- package/src/components/chip.css +135 -135
- package/src/components/definition-list.css +65 -65
- package/src/components/dialog.css +59 -59
- package/src/components/divider.css +7 -7
- package/src/components/field-group.css +83 -83
- package/src/components/field.css +494 -494
- package/src/components/icon-button.css +40 -40
- package/src/components/list.css +317 -317
- package/src/components/progress.css +83 -83
- package/src/components/range.css +121 -121
- package/src/components/rich-text.css +210 -210
- package/src/components/select.css +163 -163
- package/src/components/snackbar.css +148 -148
- package/src/components/spinner.css +38 -38
- package/src/components/switch.css +189 -189
- package/src/components/tab-buttons.css +120 -120
- package/src/components/table.css +107 -107
- package/src/components/text-field.css +57 -57
- package/src/components/textarea.css +25 -25
- package/src/components/toggle-button-group.css +139 -139
- package/src/components/tooltip.css +94 -94
- package/src/components/typography.css +209 -209
- package/src/core/normalize.css +194 -194
- package/src/core/theme.css +160 -160
- package/src/core/utils.css +60 -60
- package/src/main.css +13 -13
- /package/src/{index.css → opui.css} +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c)
|
|
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.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Felix Bohlin
|
|
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,25 +1,32 @@
|
|
|
1
|
-
# Open Props UI
|
|
2
|
-
|
|
3
|
-
A CSS UI library exploring how next-gen HTML & CSS features can change the way we create components. Designed to be used by professional teams as well as tinkering hobbyists. Everything is made with **ease-of-use** and **scalability** in mind. Last but not least - you **copy and paste** the components into your repo. It's the best way to have a complete **understanding** and **ownership** over your stuff.
|
|
4
|
-
|
|
5
|
-
https://open-props-ui.netlify.app/
|
|
6
|
-
|
|
7
|
-
## Getting started
|
|
8
|
-
|
|
9
|
-
Check out the [getting started guide](https://open-props-ui.netlify.app/guide/getting-started.html).
|
|
10
|
-
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
# Open Props UI
|
|
2
|
+
|
|
3
|
+
A CSS UI library exploring how next-gen HTML & CSS features can change the way we create components. Designed to be used by professional teams as well as tinkering hobbyists. Everything is made with **ease-of-use** and **scalability** in mind. Last but not least - you **copy and paste** the components into your repo. It's the best way to have a complete **understanding** and **ownership** over your stuff.
|
|
4
|
+
|
|
5
|
+
https://open-props-ui.netlify.app/
|
|
6
|
+
|
|
7
|
+
## Getting started
|
|
8
|
+
|
|
9
|
+
Check out the [getting started guide](https://open-props-ui.netlify.app/guide/getting-started.html).
|
|
10
|
+
|
|
11
|
+
## Development
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
pnpm i
|
|
15
|
+
pnpm dev:css
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Backstory
|
|
19
|
+
|
|
20
|
+
Practically all established UI libraries need to take older browser versions into account. Some have only just dropped Internet Explorer. Some have barely discovered the power of CSS grid. Open Props UI starts from a blank slate and re-imagines how a component library could be built if you used the most modern features.
|
|
21
|
+
|
|
22
|
+
## The goal of the component library
|
|
23
|
+
|
|
24
|
+
> "If you only use the latest features, that means this is can never enter production"
|
|
25
|
+
|
|
26
|
+
Yes and no. Right now that's true for most components. The point is to let the spec and the components mature alongside each other and in time the library will be ready for production.
|
|
27
|
+
|
|
28
|
+
- Have sensible defaults without sacrificing flexibility and control
|
|
29
|
+
- Use modern HTML & CSS features
|
|
30
|
+
- Follow accessibility guidelines
|
|
31
|
+
- Serve as an inspiration
|
|
32
|
+
- Be scalable
|