@statistikzh/leu 0.5.0 → 0.5.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/CHANGELOG.md +8 -0
- package/dist/{Button-da11d064.d.ts → Button-5326c982.d.ts} +1 -1
- package/dist/{Button-da11d064.d.ts.map → Button-5326c982.d.ts.map} +1 -1
- package/dist/{Button-da11d064.js → Button-5326c982.js} +14 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +1 -1
- package/dist/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown.js +6 -1
- package/dist/Pagination.js +1 -1
- package/dist/ScrollTop.js +1 -1
- package/dist/Select.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/{index.js.d.ts → index.d.ts} +2 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/{index.js.js → index.js} +1 -1
- package/dist/leu-button.d.ts +1 -1
- package/dist/leu-button.js +1 -1
- package/dist/leu-dropdown.js +1 -1
- package/dist/leu-pagination.js +1 -1
- package/dist/leu-scroll-top.js +1 -1
- package/dist/leu-select.js +1 -1
- package/dist/leu-table.js +1 -1
- package/dist/vscode.html-custom-data.json +579 -0
- package/dist/vue/index.d.ts +678 -0
- package/dist/web-types.json +1076 -0
- package/package.json +2 -2
- package/rollup.config.js +1 -1
- package/src/components/button/Button.js +1 -1
- package/src/components/button/button.css +13 -0
- package/src/components/dropdown/Dropdown.js +1 -0
- package/src/components/dropdown/dropdown.css +4 -0
- package/dist/index.js.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "UI component library of the canton of zurich",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "statistikzh",
|
|
6
|
-
"version": "0.5.
|
|
6
|
+
"version": "0.5.1",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"module": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"homepage": "https://github.com/statistikzh/leu/",
|
|
25
25
|
"scripts": {
|
|
26
26
|
"analyze": "cem analyze --config custom-elements-manifest.config.js",
|
|
27
|
-
"build": "rimraf dist && npm run build:js && npm run build:types && npm run build:css",
|
|
27
|
+
"build": "rimraf dist && npm run build:js && npm run build:types && npm run build:css && npm run analyze",
|
|
28
28
|
"build:js": "rollup -c rollup.config.js",
|
|
29
29
|
"build:types": "tsc -p tsconfig.build.json",
|
|
30
30
|
"build:css": "postcss src/styles/theme.css -o dist/theme.css && cp dist/theme.css .storybook/static/",
|
package/rollup.config.js
CHANGED
|
@@ -10,11 +10,24 @@ button {
|
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
border: 1px solid transparent;
|
|
12
12
|
border-radius: 2px;
|
|
13
|
+
|
|
14
|
+
max-width: 100%;
|
|
13
15
|
display: flex;
|
|
14
16
|
align-items: center;
|
|
15
17
|
column-gap: 8px;
|
|
16
18
|
}
|
|
17
19
|
|
|
20
|
+
.label {
|
|
21
|
+
flex: 1 1 0;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
text-overflow: ellipsis;
|
|
24
|
+
white-space: nowrap;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.icon .label {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
18
31
|
button.round {
|
|
19
32
|
border-radius: 50%;
|
|
20
33
|
}
|
package/dist/index.js.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js.d.ts","sourceRoot":"","sources":["index.js.js"],"names":[],"mappings":""}
|