@vollowx/seele 0.12.6 → 0.12.7
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 +27 -11
- package/custom-elements.json +3563 -1
- package/package.json +9 -15
- package/src/base/tab-group.js +3 -0
- package/src/base/tab-panel.js +0 -0
- package/src/base/tab.js +0 -0
- package/src/m3/checkbox/checkbox.js +1 -12
- package/src/m3/tooltip/tooltip.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vollowx/seele",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.7",
|
|
4
4
|
"description": "A extensible Web Components library, with Material Design 3 components pre-provided.",
|
|
5
5
|
"author": "vollowx",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,31 +38,25 @@
|
|
|
38
38
|
"build": "bun run build:styles && bun run build:compile",
|
|
39
39
|
"build:compile": "bun scripts/build.ts",
|
|
40
40
|
"build:styles": "bun scripts/build-styles.ts --minify",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"cleanup:styles": "bun scripts/cleanup.ts styles",
|
|
44
|
-
"prepublishOnly": "bun cleanup && bun run build",
|
|
41
|
+
"clean": "./scripts/clean.sh",
|
|
42
|
+
"prepublishOnly": "bun clean && bun run build",
|
|
45
43
|
"format": "prettier . --check",
|
|
46
|
-
"format:
|
|
47
|
-
"
|
|
48
|
-
"cem": "bunx cem analyze --litelement --globs 'src/m3/*.ts' --exclude 'src/m3/*.css.ts'"
|
|
44
|
+
"format:write": "prettier . --check --write",
|
|
45
|
+
"cem": "cem analyze --litelement --globs './src/m3/**/*.ts' --exclude './src/**/*.css.ts'"
|
|
49
46
|
},
|
|
50
47
|
"devDependencies": {
|
|
51
48
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
52
|
-
"@swc/core": "^1.15.
|
|
53
|
-
"@types/bun": "^1.3.
|
|
49
|
+
"@swc/core": "^1.15.40",
|
|
50
|
+
"@types/bun": "^1.3.14",
|
|
54
51
|
"@web/dev-server": "^0.4.6",
|
|
55
52
|
"@web/dev-server-esbuild": "^1.0.5",
|
|
56
53
|
"chokidar": "^5.0.0",
|
|
57
54
|
"lightningcss": "^1.32.0",
|
|
58
|
-
"postcss": "^8.5.10",
|
|
59
|
-
"postcss-cli": "^11.0.1",
|
|
60
|
-
"postcss-sorting": "^9.1.0",
|
|
61
55
|
"prettier": "^3.8.3"
|
|
62
56
|
},
|
|
63
57
|
"dependencies": {
|
|
64
58
|
"@floating-ui/dom": "^1.7.6",
|
|
65
|
-
"@swc/helpers": "^0.5.
|
|
66
|
-
"lit": "^3.3.
|
|
59
|
+
"@swc/helpers": "^0.5.23",
|
|
60
|
+
"lit": "^3.3.3"
|
|
67
61
|
}
|
|
68
62
|
}
|
|
File without changes
|
package/src/base/tab.js
ADDED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _ts_decorate } from "@swc/helpers/_/_ts_decorate";
|
|
2
2
|
import { html } from 'lit';
|
|
3
|
-
import { customElement, property
|
|
3
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
4
4
|
import { Checkbox } from '../../base/checkbox.js';
|
|
5
5
|
import '../focus-ring/focus-ring.js';
|
|
6
6
|
import { checkboxStyles } from './checkbox-styles.css.js';
|
|
@@ -29,14 +29,6 @@ export class M3Checkbox extends Checkbox {
|
|
|
29
29
|
</svg>
|
|
30
30
|
`;
|
|
31
31
|
}
|
|
32
|
-
connectedCallback() {
|
|
33
|
-
super.connectedCallback();
|
|
34
|
-
// TODO: Since Ripple is no longer rendered server-side, this might be unnecessary
|
|
35
|
-
// SSR'd <md-checkbox> components don't have their labels set up on time
|
|
36
|
-
this.updateComplete.then(()=>{
|
|
37
|
-
this.$ripple.attach(this, true);
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
32
|
constructor(...args){
|
|
41
33
|
super(...args), this.error = false;
|
|
42
34
|
}
|
|
@@ -47,9 +39,6 @@ _ts_decorate([
|
|
|
47
39
|
reflect: true
|
|
48
40
|
})
|
|
49
41
|
], M3Checkbox.prototype, "error", void 0);
|
|
50
|
-
_ts_decorate([
|
|
51
|
-
query('md-ripple')
|
|
52
|
-
], M3Checkbox.prototype, "$ripple", void 0);
|
|
53
42
|
M3Checkbox = _ts_decorate([
|
|
54
43
|
customElement('md-checkbox')
|
|
55
44
|
], M3Checkbox);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _ts_decorate } from "@swc/helpers/_/_ts_decorate";
|
|
2
|
-
import { customElement } from '
|
|
2
|
+
import { customElement } from '../../core/decorators.js';
|
|
3
3
|
import { Tooltip } from '../../base/tooltip.js';
|
|
4
4
|
import { tooltipStyles } from './tooltip-styles.css.js';
|
|
5
5
|
export class M3Tooltip extends Tooltip {
|
|
@@ -16,5 +16,5 @@ export class M3Tooltip extends Tooltip {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
M3Tooltip = _ts_decorate([
|
|
19
|
-
customElement('md-tooltip')
|
|
19
|
+
customElement('md-tooltip', false)
|
|
20
20
|
], M3Tooltip);
|