File tree 3 files changed +33
-2
lines changed
3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "." : " 2.6 .0"
2
+ "." : " 3.0 .0"
3
3
}
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 3.0.0] ( https://github.com/infodusha/define-html/compare/v2.6.0...v3.0.0 ) (2024-07-30)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * shadow DOM is always used
9
+ * data-shadow is always open
10
+ * data-selector is obsolete, just always use filename
11
+ * shadow dom now has global styles inside
12
+ * no need to write type for component scripts
13
+ * instead of data-global just paste your styles and script into the page
14
+
15
+ ### Features
16
+
17
+ * add appendStyle method ([ 8a02f5b] ( https://github.com/infodusha/define-html/commit/8a02f5b7daca802e076ffe821662d26f998ab18f ) )
18
+ * all scripts are ES modules now ([ 519c8d7] ( https://github.com/infodusha/define-html/commit/519c8d72f55da02026da2d9e5c91dcf617af1e0d ) )
19
+ * data-selector is not used anymore ([ 0b7ee2d] ( https://github.com/infodusha/define-html/commit/0b7ee2d93dd7fe4944b5e505cf8e177bf6f00b11 ) )
20
+ * data-shadow don't need a value anymore ([ 11a7e73] ( https://github.com/infodusha/define-html/commit/11a7e7376d4fadc426df872d89a5e50314fb668a ) )
21
+ * group component styles ([ ca9b396] ( https://github.com/infodusha/define-html/commit/ca9b396dfd52570ae58cb73e26582c93447c86eb ) )
22
+ * no more data-global attribute ([ b99d785] ( https://github.com/infodusha/define-html/commit/b99d785a936d6653e7ce5cdcb7163e460cbb9df3 ) )
23
+ * ** runtime:** handle load errors ([ 1ca4834] ( https://github.com/infodusha/define-html/commit/1ca48343e8f1493f068b4559bde2300a9078aa52 ) )
24
+ * shadow DOM is always used ([ 4cf5a49] ( https://github.com/infodusha/define-html/commit/4cf5a49c99211a0ecaa97d9558bd05d3590cb6a4 ) )
25
+ * updates + shadow works as expected ([ 9eb730f] ( https://github.com/infodusha/define-html/commit/9eb730f9c731c3eed596bd203f3548c2568cb771 ) )
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * copy global styles ([ baf3d25] ( https://github.com/infodusha/define-html/commit/baf3d25ca9b53500f32ac40f1c4e2f7de6f183f6 ) )
31
+ * tests ([ 359f8ea] ( https://github.com/infodusha/define-html/commit/359f8ea524bff7ceb5f616f84155bf65ac2c291f ) )
32
+ * update package json ([ f405ce7] ( https://github.com/infodusha/define-html/commit/f405ce7604402d1fc44210a531dd5a1d1f471218 ) )
33
+
3
34
## [ 2.6.0] ( https://github.com/infodusha/define-html/compare/v2.5.0...v2.6.0 ) (2024-07-22)
4
35
5
36
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " define-html" ,
3
- "version" : " 2.6 .0" ,
3
+ "version" : " 3.0 .0" ,
4
4
"description" : " Define custom element to import in html" ,
5
5
"main" : " dist/index.js" ,
6
6
"type" : " module" ,
You can’t perform that action at this time.
0 commit comments