@hazem3500/komo 0.9.25 → 0.9.27
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/dist/chunk-4KEVPMJJ.js +1 -0
- package/dist/chunk-HHG6KWKR.js +1 -0
- package/dist/{chunk-G2QGDYNV.js → chunk-ZSDIMEPV.js} +1 -1
- package/dist/design-comment-W2OVUWBL.js +1 -0
- package/dist/design-export-JEWGQH3R.js +1 -0
- package/dist/design-mode-styles.d.ts +1 -1
- package/dist/design-mode.js +1 -1
- package/dist/{design-panel-KZCDP47N.js → design-panel-KHZDEA36.js} +1 -1
- package/dist/design-popup.d.ts +11 -0
- package/dist/design-preview.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/{inline-text-editor-JSJVHPMM.js → inline-text-editor-F4CSRB4G.js} +1 -1
- package/dist/node.mjs +1 -1
- package/dist/react-props-panel-MN5XOAGL.js +1 -0
- package/dist/react.js +1 -1
- package/dist/select-menu-QH7IVM7P.js +1 -0
- package/dist/select-menu.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/setup.js +1 -1
- package/dist/token-adapter.d.ts +1 -0
- package/dist/token-picker-RHPT7HCK.js +1 -0
- package/dist/token-picker.d.ts +2 -0
- package/package.json +1 -1
- package/server/setup-client.txt +44 -45
- package/dist/design-comment-K2JCM7IT.js +0 -1
- package/dist/design-export-LA5VVR5Z.js +0 -1
- package/dist/react-props-panel-PV3SKNTA.js +0 -1
- package/dist/select-menu-IY5BJMFM.js +0 -1
- package/dist/token-picker-XXX4L3Y7.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=".komo-select,.komo-tokens{position:absolute;z-index:20;box-sizing:border-box;border-radius:10px;background:#232323;box-shadow:0 0 0 1px #ffffff14,0 12px 32px #0008;color:#d9d6d1;font-size:11px;font-weight:400;line-height:1.25;text-align:left;cursor:default;transform-origin:top;animation:komo-popup-in var(--duration-fast,250ms) var(--ease-smooth-out,cubic-bezier(.22,1,.36,1)) backwards}.komo-select[data-up],.komo-tokens[data-up]{transform-origin:bottom}@keyframes komo-popup-in{from{opacity:0;transform:scale(.97)}}@media (prefers-reduced-motion:reduce){.komo-select,.komo-tokens{animation:none}}";function o(t){let o={top:0,left:0,bottom:innerHeight,right:innerWidth};for(let e=t.parentElement;e;e=e.parentElement)if(/auto|scroll|hidden/.test(getComputedStyle(e).overflowY)){let t=e.getBoundingClientRect();return{top:Math.max(t.top,0),left:Math.max(t.left,0),bottom:Math.min(t.bottom,o.bottom),right:Math.min(t.right,o.right)}}return o}function e(t,o,e){let n=t.getRootNode();n.addEventListener("komo-preview-cancel",o,{signal:e});let i=new MutationObserver(()=>{t.isConnected||o()});i.observe(document,{childList:!0,subtree:!0}),n instanceof ShadowRoot&&i.observe(n,{childList:!0,subtree:!0}),e.addEventListener("abort",()=>i.disconnect(),{once:!0})}export{t as a,o as b,e as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-RPY7OOOR.js";function e(t){t.style.length||(t.getAttribute("style"),t.removeAttribute("style"))}function r(r,o,i){if(!t(r))return()=>{};let s=r.style.getPropertyValue(o),y=r.style.getPropertyPriority(o),n=!r.hasAttribute("style");return r.style.setProperty(o,i,y),()=>{s?r.style.setProperty(o,s,y):r.style.removeProperty(o),n&&e(r)}}var o=new WeakMap;function i(t,r,i,s=!1,y=!1){let n=o.get(t);n&&(clearTimeout(n.timer),n.restore());let l=t.style.getPropertyValue("transition"),a=t.style.getPropertyPriority("transition"),p=s?[...r].map(t=>`${t} .3s cubic-bezier(.22,1,.36,1)`).join():"none";t.style.setProperty("transition",p,"important");let u=t.style.getPropertyValue("transition"),P=()=>{o.delete(t),t.style.getPropertyValue("transition")===u&&"important"===t.style.getPropertyPriority("transition")&&(l?t.style.setProperty("transition",l,a):t.style.removeProperty("transition"),y&&e(t))};i(),s?o.set(t,{restore:P,timer:window.setTimeout(P,320)}):(getComputedStyle(t).color,P())}export{e as a,r as b,i as c};
|