diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..222b5f8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "posthtml-components"] + path = posthtml-components + url = https://github.com/posthtml/posthtml-components diff --git a/package.json b/package.json index 5c590b2..612f542 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@parcel/config-default": "^2.15.4", "parcel": "^2.15.4", "posthtml": "^0.16.6", - "posthtml-component": "^2.1.1", + "posthtml-component": "link:posthtml-components", "posthtml-include": "^2.0.1", "posthtml-markdownit": "^3.1.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e20d53..be9a4dd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,8 +31,8 @@ importers: specifier: ^0.16.6 version: 0.16.6 posthtml-component: - specifier: ^2.1.1 - version: 2.1.1 + specifier: link:posthtml-components + version: link:posthtml-components posthtml-include: specifier: ^2.0.1 version: 2.0.1 @@ -704,9 +704,6 @@ packages: htmx.org@1.9.12: resolution: {integrity: sha512-VZAohXyF7xPGS52IM8d1T1283y+X4D+Owf3qY1NZ9RuBypyu9l8cGsxUMAG5fEAb/DhT7rDoJ9Hpu5/HxFD3cw==} - inline-style-parser@0.2.4: - resolution: {integrity: sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==} - is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} @@ -798,9 +795,6 @@ packages: resolution: {integrity: sha512-9bMdFfc80S+vSldBmG3HOuLVHnxRdNTlpzR6QDnzqCQtCzGUEAGTzBKYMeIM+I/sU4oZfgbcbS7X7F65/z/oxQ==} hasBin: true - lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - markdown-it@14.1.0: resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} hasBin: true @@ -861,14 +855,6 @@ packages: postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - posthtml-attrs-parser@1.1.2: - resolution: {integrity: sha512-9Que9y4k8c33iv8h5QyTfHKlurmsJIscozy7oeFRxuWeX/osXjVGu9o9MKrmo4TI6Vr9a9vh9b4LYXqm3/GvhA==} - engines: {node: '>=16.0.0'} - - posthtml-component@2.1.1: - resolution: {integrity: sha512-8hkSDp0zJLnEcNiiUofsxmSn86IBgpZPtFoY8pJHrB71LRzvskhA3uNsIe6GiuxiM5xKjIfpsKoOfpqgC3tbVw==} - engines: {node: '>=18'} - posthtml-expressions@1.11.4: resolution: {integrity: sha512-tJI6KhKLcePRO0/i4d01MNXfcaBa2jIu4MuVLixvGwCRzxdY2D7LLm17ijNyQNQu3xOhCffBLtUMju0K64smmQ==} engines: {node: '>=10'} @@ -925,9 +911,6 @@ packages: engines: {node: '>=10'} hasBin: true - style-to-object@1.0.9: - resolution: {integrity: sha512-G4qppLgKu/k6FwRpHiGiKPaPTFcG3g4wNVX/Qsfu+RqQM30E7Tyu/TEgxcL9PNLF5pdRLwQdE3YKKf+KF2Dzlw==} - supports-color@7.2.0: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} @@ -1858,8 +1841,6 @@ snapshots: htmx.org@1.9.12: {} - inline-style-parser@0.2.4: {} - is-extglob@2.1.1: {} is-glob@4.0.3: @@ -1936,8 +1917,6 @@ snapshots: '@lmdb/lmdb-linux-x64': 2.8.5 '@lmdb/lmdb-win32-x64': 2.8.5 - lodash@4.17.21: {} - markdown-it@14.1.0: dependencies: argparse: 2.0.1 @@ -2018,18 +1997,6 @@ snapshots: postcss-value-parser@4.2.0: {} - posthtml-attrs-parser@1.1.2: {} - - posthtml-component@2.1.1: - dependencies: - lodash: 4.17.21 - posthtml: 0.16.6 - posthtml-attrs-parser: 1.1.2 - posthtml-expressions: 1.11.4 - posthtml-parser: 0.12.1 - posthtml-render: 3.0.0 - style-to-object: 1.0.9 - posthtml-expressions@1.11.4: dependencies: fclone: 1.0.11 @@ -2087,10 +2054,6 @@ snapshots: semver@7.7.2: {} - style-to-object@1.0.9: - dependencies: - inline-style-parser: 0.2.4 - supports-color@7.2.0: dependencies: has-flag: 4.0.0 diff --git a/posthtml-components b/posthtml-components new file mode 160000 index 0000000..75482e3 --- /dev/null +++ b/posthtml-components @@ -0,0 +1 @@ +Subproject commit 75482e317eba420972d3c0fac93761503ffbc2a9 diff --git a/src/components/marquee.html b/src/components/marquee.html index 72a8f18..725d7c4 100644 --- a/src/components/marquee.html +++ b/src/components/marquee.html @@ -4,4 +4,4 @@ - + \ No newline at end of file