stalefish 8.1.16 → 8.1.18
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 +1 -1
- package/components/panel.mjs +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
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.18",
|
|
4
4
|
"description": "Simple function based component library for halfcab tagged template literals",
|
|
5
5
|
"main": "index.mjs",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"test": "npm run test:lint",
|
|
10
10
|
"test:lint": "standard \"**/*.mjs\"",
|
|
11
|
-
"npm-publish": "npm publish
|
|
11
|
+
"npm-publish": "npm publish",
|
|
12
12
|
"versionbump:fix": "npm version patch --no-git-tag-version",
|
|
13
13
|
"versionbump:feature": "npm version minor --no-git-tag-version",
|
|
14
14
|
"versionbump:breakingchanges": "npm version major --no-git-tag-version",
|
|
@@ -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.9",
|
|
35
35
|
"standard": "^12.0.1"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|