@loomidev/floating-panel 0.3.0 → 0.4.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../src/generated/styles.css.ts"],"names":[],"mappings":"AAGA,+EAA+E;AAC/E,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../src/generated/styles.css.ts"],"names":[],"mappings":"AAGA,+EAA+E;AAC/E,eAAO,MAAM,eAAe,yBAA0xG,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by @loomidev/floating-panel — do not edit by hand. Run `pnpm build` to regenerate.
|
|
2
2
|
import { unsafeCSS } from "lit";
|
|
3
3
|
/** Compiled, Shadow-DOM-scoped styles. Colors resolve via `var(--loomi-*)`. */
|
|
4
|
-
export const componentStyles = unsafeCSS("/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n@layer theme,base,components,utilities;:host{box-sizing:border-box;background:var(--loomi-surface);width:22rem;max-width:100dvw;height:26rem;max-height:100dvh;color:var(--loomi-text);border:1px solid var(--loomi-surface-border);border-radius:var(--loomi-panel-radius,.75rem);box-shadow:var(--loomi-shadow-elevated);z-index:var(--loomi-floating-panel-z-index,2147480000);animation:loomi-pop-in var(--loomi-floating-panel-duration,var(--loomi-motion-duration)) var(--loomi-motion-ease);flex-direction:column;display:none;position:fixed}:host([open]){display:flex}:host(.is-centered){animation-name:loomi-floating-panel-pop-centered;top:50%;left:50%;transform:translate(-50%,-50%)}:host(.is-dragging),:host(.is-resizing){-webkit-user-select:none;user-select:none;animation:none}:host([minimized]){height:auto!important}:host([minimized]) .loomi-body,:host([minimized]) .loomi-resize{display:none}:host([maximized]){border-radius:0;width:100dvw!important;height:100dvh!important;top:0!important;left:0!important}:host([maximized]) .loomi-resize{display:none}.loomi-header{border-bottom:1px solid var(--loomi-surface-border);touch-action:none;flex:none;align-items:center;gap:.35rem;padding:.65rem .5rem .65rem .9rem;display:flex}.loomi-header:not(.has-grip){cursor:move}.loomi-header:not(.has-grip):focus-visible{outline:2px solid var(--loomi-focus-ring-color);outline-offset:-2px}.loomi-grip{color:var(--loomi-text-faint);cursor:move;border-radius:.375rem;flex:none;justify-content:center;align-items:center;margin-
|
|
4
|
+
export const componentStyles = unsafeCSS("/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n@layer theme,base,components,utilities;:host{box-sizing:border-box;background:var(--loomi-surface);width:22rem;max-width:100dvw;height:26rem;max-height:100dvh;color:var(--loomi-text);border:1px solid var(--loomi-surface-border);border-radius:var(--loomi-panel-radius,.75rem);box-shadow:var(--loomi-shadow-elevated);z-index:var(--loomi-floating-panel-z-index,2147480000);animation:loomi-pop-in var(--loomi-floating-panel-duration,var(--loomi-motion-duration)) var(--loomi-motion-ease);flex-direction:column;display:none;position:fixed}:host([open]){display:flex}:host(.is-centered){animation-name:loomi-floating-panel-pop-centered;top:50%;left:50%;transform:translate(-50%,-50%)}:host(.is-dragging),:host(.is-resizing){-webkit-user-select:none;user-select:none;animation:none}:host([minimized]){height:auto!important}:host([minimized]) .loomi-body,:host([minimized]) .loomi-resize{display:none}:host([maximized]){border-radius:0;width:100dvw!important;height:100dvh!important;top:0!important;left:0!important}:host([maximized]) .loomi-resize{display:none}.loomi-header{border-bottom:1px solid var(--loomi-surface-border);touch-action:none;flex:none;align-items:center;gap:.35rem;padding:.65rem .5rem .65rem .9rem;display:flex}.loomi-header:not(.has-grip){cursor:move}.loomi-header:not(.has-grip):focus-visible{outline:2px solid var(--loomi-focus-ring-color);outline-offset:-2px}.loomi-grip{color:var(--loomi-text-faint);cursor:move;border-radius:.375rem;flex:none;justify-content:center;align-items:center;margin-inline-start:-.3rem;padding:.3rem;display:inline-flex}.loomi-grip svg{width:1rem;height:1rem}.loomi-grip:focus-visible{outline:2px solid var(--loomi-focus-ring-color);outline-offset:-2px}.loomi-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.95rem;font-weight:600;line-height:1.4;overflow:hidden}.loomi-header-actions{flex:none;align-items:center;gap:.1rem;display:flex}.loomi-header-btn{color:var(--loomi-text-faint);cursor:pointer;background:0 0;border:0;border-radius:.375rem;flex:none;justify-content:center;align-items:center;padding:.3rem;line-height:0;display:inline-flex}.loomi-header-btn:hover{color:var(--loomi-text-secondary);background:var(--loomi-surface-hover)}.loomi-header-btn:focus-visible{outline:2px solid var(--loomi-focus-ring-color);outline-offset:2px}.loomi-body{min-height:0;color:var(--loomi-text-secondary);flex:1;padding:1rem;line-height:1.6;overflow:auto}.loomi-resize{z-index:1;position:absolute}.loomi-resize:focus-visible{outline:2px solid var(--loomi-focus-ring-color);outline-offset:-2px;border-radius:.2rem}.dir-n,.dir-s{cursor:ns-resize;height:.5rem;left:.5rem;right:.5rem}.dir-n{top:-.25rem}.dir-s{bottom:-.25rem}.dir-e,.dir-w{cursor:ew-resize;width:.5rem;top:.5rem;bottom:.5rem}.dir-e{right:-.25rem}.dir-w{left:-.25rem}.dir-ne,.dir-nw,.dir-se,.dir-sw{width:.9rem;height:.9rem}.dir-ne{cursor:nesw-resize;top:-.25rem;right:-.25rem}.dir-nw{cursor:nwse-resize;top:-.25rem;left:-.25rem}.dir-se{cursor:nwse-resize;bottom:-.25rem;right:-.25rem}.dir-sw{cursor:nesw-resize;bottom:-.25rem;left:-.25rem}@media (max-width:30rem){.loomi-header{padding:.5rem .4rem .5rem .75rem}.loomi-body{padding:.75rem}}@keyframes loomi-floating-panel-pop-centered{0%{opacity:0;transform:translate(-50%,-50%)scale(.98)}}");
|
|
5
5
|
//# sourceMappingURL=styles.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.js","sourceRoot":"","sources":["../../src/generated/styles.css.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEhC,+EAA+E;AAC/E,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.css.js","sourceRoot":"","sources":["../../src/generated/styles.css.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEhC,+EAA+E;AAC/E,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC,4wGAA4wG,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loomidev/floating-panel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "<loomi-floating-panel> — a draggable, resizable panel that floats above the page.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@loomidev/
|
|
34
|
-
"@loomidev/
|
|
33
|
+
"@loomidev/core": "^0.4.0",
|
|
34
|
+
"@loomidev/icon": "^0.4.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"lit": "^3.0.0"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"lit": "^3.3.3",
|
|
42
42
|
"tailwindcss": "^4.0.0",
|
|
43
43
|
"typescript": "^5.6.3",
|
|
44
|
-
"@loomidev/theme": "^0.
|
|
44
|
+
"@loomidev/theme": "^0.4.0"
|
|
45
45
|
},
|
|
46
46
|
"keywords": [
|
|
47
47
|
"web-components",
|