stalefish 8.1.15 → 8.1.17
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/components/panel.mjs +1 -1
- package/package.json +2 -2
package/components/panel.mjs
CHANGED
|
@@ -61,7 +61,7 @@ export default ({ chevronStyle = null, on = true, content, heading = '', collaps
|
|
|
61
61
|
</div>
|
|
62
62
|
${closeAction && !collapseToggleAction ? html`<div style="position: absolute; width: 20px; height: 20px; right: 5px; top: 5px; cursor: pointer;" onclick=${closeAction}><div style="display: flex; justify-content: center; align-items: center;">${close({ colour: '#22487e' })}</div></div>` : ''}
|
|
63
63
|
|
|
64
|
-
${collapseToggleAction ? html`<div
|
|
64
|
+
${collapseToggleAction ? html`<div style="position: absolute; width: 50px; height: 50px; right: 0; margin-top: -3px; top: 5px; cursor: pointer;${chevronStyle ? ` ${chevronStyle}` : ''}" onclick=${collapseToggleAction}><div style="display: flex; justify-content: center; align-items: center;">${chevronStyle ? down({ colour: light ? '#999' : '#22487e', width: '40px', height: '50px' }) : collapsed ? down({ colour: light ? '#999' : '#22487e', width: '40px', height: '50px' }) : up({ colour: light ? '#999' : '#22487e', width: '40px', height: '40px' })}</div></div>` : ''}
|
|
65
65
|
|
|
66
66
|
${collapsed === false ? typeof content === 'function' ? content() : content : ''}
|
|
67
67
|
</div>` : ''
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stalefish",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.17",
|
|
4
4
|
"description": "Simple function based component library for halfcab tagged template literals",
|
|
5
5
|
"main": "index.mjs",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/lorengreenfield/stalefish#readme",
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"halfcab": "^15.0.
|
|
34
|
+
"halfcab": "^15.0.6",
|
|
35
35
|
"standard": "^12.0.1"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|