elbe-ui 2.0.8 → 2.0.9
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
CHANGED
|
@@ -41,8 +41,8 @@ as of now, this is mainly a personal project for different stuff I built. So thi
|
|
|
41
41
|
- [x] adjustable text size
|
|
42
42
|
- [x] adjustable UI size
|
|
43
43
|
- [x] responsive design
|
|
44
|
-
- [
|
|
45
|
-
- [
|
|
46
|
-
- [
|
|
47
|
-
- [ ]
|
|
44
|
+
- [x] label fields with `label` tag
|
|
45
|
+
- [x] add `aria-*` attributes
|
|
46
|
+
- [x] add `role` attributes
|
|
47
|
+
- [ ] improve `tabindex` attributes
|
|
48
48
|
- [ ] force alt text for images
|
|
@@ -7,7 +7,7 @@ import { ElbeChild, ElbeChildren, MarkdownString } from "../..";
|
|
|
7
7
|
* - `children` (ElbeChildren | undefined): The content to be displayed within the section.
|
|
8
8
|
* - `actions` (ElbeChild[] | undefined): An array of action elements to be displayed in the section header.
|
|
9
9
|
* - `bordered` (boolean | undefined): If true, the section box will have a border.
|
|
10
|
-
* - `collapsed` (boolean | undefined): If true, the section content will be initially collapsed.
|
|
10
|
+
* - `collapsed` (boolean | undefined): If true, the section content will be initially collapsed. If undefined, the section will not be collapsible.
|
|
11
11
|
*
|
|
12
12
|
* **Usage:**
|
|
13
13
|
* ```tsx
|
|
@@ -11,7 +11,7 @@ import { useApp } from "../app/app_ctxt";
|
|
|
11
11
|
* - `children` (ElbeChildren | undefined): The content to be displayed within the section.
|
|
12
12
|
* - `actions` (ElbeChild[] | undefined): An array of action elements to be displayed in the section header.
|
|
13
13
|
* - `bordered` (boolean | undefined): If true, the section box will have a border.
|
|
14
|
-
* - `collapsed` (boolean | undefined): If true, the section content will be initially collapsed.
|
|
14
|
+
* - `collapsed` (boolean | undefined): If true, the section content will be initially collapsed. If undefined, the section will not be collapsible.
|
|
15
15
|
*
|
|
16
16
|
* **Usage:**
|
|
17
17
|
* ```tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "elbe-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"author": "Robin Naumann",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"build:css": "sass -q style/elbe-util.scss dist/elbe.css",
|
|
25
25
|
"build": "rm -rf ./dist && bun run build:ts && bun run build:dts && bun run build:css ",
|
|
26
26
|
"dev": "bun run build && (cd example && bun run dev)",
|
|
27
|
-
"pub": "npm login && bun run build && npm publish"
|
|
27
|
+
"pub": "npm login && bun run build && npm publish && bun run pub:example",
|
|
28
|
+
"pub:example": "bun run build && (cd example && bun run build) && open example/dist"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@types/bun": "^1.3.4",
|