poon-choi 1.0.1 → 1.1.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,5 +1,5 @@
1
1
  {
2
- "date": "2026-11-16T10:04:07.917Z",
2
+ "date": "2026-11-23T01:41:31.006Z",
3
3
  "preset": "node-server",
4
4
  "framework": {
5
5
  "name": "nitro",
@@ -0,0 +1 @@
1
+ .wrap{max-width:980px;margin:0 auto}h1{margin-bottom:4px;font-size:20px;font-weight:600}.sub{color:#888;font-size:13px}.stage{aspect-ratio:2.35;background:#fff;width:100%;position:relative;overflow:hidden;box-shadow:0 2px 12px #00000014}#preview{width:100%;height:100%;display:block}.dropzone{color:#9aa1ad;cursor:pointer;background:#fafbfc;border:2px dashed #c7ccd6;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:8px;transition:border-color .15s,background .15s,color .15s;display:flex;position:absolute;inset:0}.dropzone:hover,.dropzone.hover{color:#4a90e2;background:#f0f6ff;border-color:#4a90e2}.dropzone svg{opacity:.7;width:40px;height:40px}.dropzone .hint{font-size:15px;font-weight:500}.dropzone .subhint{opacity:.8;font-size:12px}.stage.dragover .dropzone{color:#4a90e2;background:#f0f6ff;border-color:#4a90e2}.stage.has-image .dropzone{color:#0000;pointer-events:auto;cursor:pointer;background:0 0;border-color:#0000}.stage.has-image .dropzone svg,.stage.has-image .dropzone .hint,.stage.has-image .dropzone .subhint{opacity:0}.stage.has-image .dropzone:hover{background:#4a90e20f}.strip{flex-wrap:wrap;gap:10px;min-height:0;display:flex}.thumb{cursor:grab;background:#e9ecf1;border:2px solid #0000;border-radius:6px;flex:none;width:92px;height:62px;transition:border-color .12s,opacity .12s,transform .12s;position:relative;overflow:hidden}.thumb img{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.thumb.dragging{opacity:.4}.thumb.drop-target{border-color:#4a90e2}.thumb .idx{color:#fff;background:#0000008c;border-radius:4px;padding:3px 5px;font-size:10px;line-height:1;position:absolute;top:3px;left:3px}.thumb .remove{color:#fff;cursor:pointer;opacity:0;background:#0000008c;border:none;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:12px;line-height:1;transition:opacity .12s;display:flex;position:absolute;top:3px;right:3px}.thumb:hover .remove{opacity:1}.thumb .move{justify-content:space-between;display:none;position:absolute;bottom:3px;left:3px;right:3px}.thumb .move button{color:#fff;cursor:pointer;background:#0000008c;border:none;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;display:flex}@media (pointer:coarse){.thumb .move{display:flex}.thumb .remove{opacity:1}.thumb{cursor:default}}.thumb.add-more{color:#9aa1ad;cursor:pointer;background:#f0f2f5;border:2px dashed #c7ccd6;justify-content:center;align-items:center;font-size:26px;display:flex}.thumb.add-more:hover{color:#4a90e2;background:#f0f6ff;border-color:#4a90e2}.actions{flex-wrap:wrap;gap:12px;margin-top:20px}button.btn{cursor:pointer;border:none;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:background .12s,opacity .12s}button.btn:disabled{opacity:.4;cursor:not-allowed}.btn-primary{color:#fff;background:#4a90e2}.btn-primary:not(:disabled):hover{background:#3a7bc8}.btn-secondary{color:#333;background:#fff;border:1px solid #d5dae2}.btn-secondary:not(:disabled):hover{background:#f5f6f8}.btn-danger{color:#fff;background:#f5222d}.btn-danger:not(:disabled):hover{background:#e01a1f}.spacer{flex:1}#toasts{z-index:100;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toast{color:#fff;background:#1e222aeb;border-radius:8px;max-width:80vw;padding:9px 16px;font-size:13px;animation:.18s ease-out fadein}@keyframes fadein{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.spinner{vertical-align:middle;border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}input[type=file]{display:none}