quirk-ui 0.1.211 → 0.1.212

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
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index38.css');const t=require("react/jsx-runtime"),i=require("react"),M=require("react-dom"),P=require("../../../x-Dft9NVe_.cjs"),F="_overlay_1pts1_2",K="_fadeIn_1pts1_1",X="_fadeOut_1pts1_1",G="_closing_1pts1_14",H="_container_1pts1_20",J="_modal_1pts1_50",Q="_slideUp_1pts1_1",V="_closeButton_1pts1_61",W="_content_1pts1_86",Y="_intro_1pts1_105",Z="_title_1pts1_112",O="_trigger_1pts1_122",ee="_slideUpSheet_1pts1_1",te="_slideDownSheet_1pts1_1",s={overlay:F,fadeIn:K,fadeOut:X,closing:G,container:H,"size-sm":"_size-sm_1pts1_27","size-md":"_size-md_1pts1_31","size-lg":"_size-lg_1pts1_35","size-xl":"_size-xl_1pts1_39","size-full":"_size-full_1pts1_43",modal:J,slideUp:Q,closeButton:V,content:W,intro:Y,title:Z,trigger:O,slideUpSheet:ee,slideDownSheet:te};function se({content:p,trigger:w,isOpen:v,onOpen:l,onClose:c,size:k="md",closeOnEscape:g=!0,closeOnOverlayClick:S=!0,showCloseButton:$=!0,className:j,overlayClassName:I,style:T,formData:y,renderForm:h}){const[B,b]=i.useState(!1),[_,x]=i.useState(!1),f=i.useRef(null),z=i.useRef(null),m=v!==void 0,n=m?v:B,R=n||_,q=()=>{z.current=document.activeElement,m||b(!0),l==null||l()},d=()=>{x(!0),setTimeout(()=>{var e;x(!1),m||b(!1),c==null||c(),(e=z.current)==null||e.focus()},300)},N=()=>n?d():q(),U=()=>{S&&d()};i.useEffect(()=>{if(!g||!n)return;const e=r=>{r.key==="Escape"&&d()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n,g]),i.useEffect(()=>{if(typeof document>"u")return;const e=document.getElementById("__next")??document.getElementById("root")??document.body.firstElementChild;if(!(!e||e===document.body))return n?(e.setAttribute("inert",""),e.style.overflow="hidden"):(e.removeAttribute("inert"),e.style.overflow=""),()=>{e.removeAttribute("inert"),e.style.overflow=""}},[n]),i.useEffect(()=>{if(!n||!f.current)return;const e=f.current;e.scrollTop=0;const r=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),o=r[0],a=r[r.length-1],E=u=>{u.key==="Tab"&&(u.shiftKey?document.activeElement===o&&(u.preventDefault(),a==null||a.focus()):document.activeElement===a&&(u.preventDefault(),o==null||o.focus()))};e.addEventListener("keydown",E);const L=setTimeout(()=>o==null?void 0:o.focus(),50);return()=>{e.removeEventListener("keydown",E),clearTimeout(L)}},[n]);const D=s[`size-${k}`]??"",A=p!==void 0?p:t.jsx(t.Fragment,{children:y&&h?h(y):null}),C=R?t.jsx("div",{className:`${s.overlay} ${_?s.closing:""} ${I??""}`.trim(),onClick:U,role:"dialog","aria-modal":"true",children:t.jsxs("div",{className:`${D} ${s.container} ${_?s.closing:""}`,children:[$&&t.jsx("button",{"aria-label":"Close",className:s.closeButton,onClick:d,type:"button",children:t.jsx(P.X,{size:20})}),t.jsx("div",{ref:f,className:`${s.modal} ${j??""}`.trim(),style:T,onClick:e=>e.stopPropagation(),children:t.jsx("div",{className:s.content,children:A})})]})}):null;return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:s.trigger,onClick:N,children:w}),typeof window<"u"&&M.createPortal(C,document.body)]})}exports.Modal=se;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index38.css');const t=require("react/jsx-runtime"),o=require("react"),M=require("react-dom"),P=require("../../../x-Dft9NVe_.cjs"),F="_overlay_1unsl_2",K="_fadeIn_1unsl_1",X="_fadeOut_1unsl_1",G="_closing_1unsl_14",H="_container_1unsl_20",J="_modal_1unsl_50",Q="_slideUp_1unsl_1",V="_closeButton_1unsl_63",W="_content_1unsl_90",Y="_intro_1unsl_109",Z="_title_1unsl_116",O="_trigger_1unsl_126",ee="_slideUpSheet_1unsl_1",te="_slideDownSheet_1unsl_1",n={overlay:F,fadeIn:K,fadeOut:X,closing:G,container:H,"size-sm":"_size-sm_1unsl_27","size-md":"_size-md_1unsl_31","size-lg":"_size-lg_1unsl_35","size-xl":"_size-xl_1unsl_39","size-full":"_size-full_1unsl_43",modal:J,slideUp:Q,closeButton:V,content:W,intro:Y,title:Z,trigger:O,slideUpSheet:ee,slideDownSheet:te};function ne({content:v,trigger:w,isOpen:g,onOpen:i,onClose:c,size:k="md",closeOnEscape:y=!0,closeOnOverlayClick:S=!0,showCloseButton:$=!0,className:j,overlayClassName:I,style:T,formData:h,renderForm:b}){const[B,x]=o.useState(!1),[_,p]=o.useState(!1),f=o.useRef(null),z=o.useRef(null),m=g!==void 0,s=m?g:B,R=s||_,q=()=>{z.current=document.activeElement,m||x(!0),i==null||i()},u=()=>{p(!0),setTimeout(()=>{var e;p(!1),m||x(!1),c==null||c(),(e=z.current)==null||e.focus()},300)},N=()=>s?u():q(),U=()=>{S&&u()};o.useEffect(()=>{if(!y||!s)return;const e=r=>{r.key==="Escape"&&u()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s,y]),o.useEffect(()=>{if(typeof document>"u")return;const e=document.getElementById("__next")??document.getElementById("root")??document.body.firstElementChild;if(!(!e||e===document.body))return s?(e.setAttribute("inert",""),e.style.overflow="hidden"):(e.removeAttribute("inert"),e.style.overflow=""),()=>{e.removeAttribute("inert"),e.style.overflow=""}},[s]),o.useEffect(()=>{if(!s||!f.current)return;const e=f.current;e.scrollTop=0;const r=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),l=r[0],d=r[r.length-1],E=a=>{a.key==="Tab"&&(a.shiftKey?document.activeElement===l&&(a.preventDefault(),d==null||d.focus()):document.activeElement===d&&(a.preventDefault(),l==null||l.focus()))};e.addEventListener("keydown",E);const L=setTimeout(()=>l==null?void 0:l.focus(),50);return()=>{e.removeEventListener("keydown",E),clearTimeout(L)}},[s]);const D=n[`size-${k}`]??"",A=v!==void 0?v:t.jsx(t.Fragment,{children:h&&b?b(h):null}),C=R?t.jsx("div",{className:`${n.overlay} ${_?n.closing:""} ${I??""}`.trim(),onClick:U,role:"dialog","aria-modal":"true",children:t.jsx("div",{className:`${D} ${n.container} ${_?n.closing:""}`,children:t.jsxs("div",{ref:f,className:`${n.modal} ${j??""}`.trim(),style:T,onClick:e=>e.stopPropagation(),children:[$&&t.jsx("button",{"aria-label":"Close",className:n.closeButton,onClick:u,type:"button",children:t.jsx(P.X,{size:20})}),t.jsx("div",{className:n.content,children:A})]})})}):null;return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:n.trigger,onClick:N,children:w}),typeof window<"u"&&M.createPortal(C,document.body)]})}exports.Modal=ne;
@@ -1,124 +1,124 @@
1
- import { jsx as o, Fragment as E, jsxs as x } from "react/jsx-runtime";
1
+ import { jsx as l, Fragment as E, jsxs as x } from "react/jsx-runtime";
2
2
  import { useState as $, useRef as I, useEffect as f } from "react";
3
3
  import { createPortal as X } from "react-dom";
4
4
  import { X as G } from "../../../x-CnsEH4Ox.js";
5
- import '../../../index38.css';const H = "_overlay_1pts1_2", J = "_fadeIn_1pts1_1", Q = "_fadeOut_1pts1_1", V = "_closing_1pts1_14", W = "_container_1pts1_20", Y = "_modal_1pts1_50", Z = "_slideUp_1pts1_1", O = "_closeButton_1pts1_61", ee = "_content_1pts1_86", te = "_intro_1pts1_105", se = "_title_1pts1_112", ne = "_trigger_1pts1_122", oe = "_slideUpSheet_1pts1_1", ie = "_slideDownSheet_1pts1_1", t = {
5
+ import '../../../index38.css';const H = "_overlay_1unsl_2", J = "_fadeIn_1unsl_1", Q = "_fadeOut_1unsl_1", V = "_closing_1unsl_14", W = "_container_1unsl_20", Y = "_modal_1unsl_50", Z = "_slideUp_1unsl_1", O = "_closeButton_1unsl_63", ee = "_content_1unsl_90", te = "_intro_1unsl_109", ne = "_title_1unsl_116", se = "_trigger_1unsl_126", le = "_slideUpSheet_1unsl_1", oe = "_slideDownSheet_1unsl_1", t = {
6
6
  overlay: H,
7
7
  fadeIn: J,
8
8
  fadeOut: Q,
9
9
  closing: V,
10
10
  container: W,
11
- "size-sm": "_size-sm_1pts1_27",
12
- "size-md": "_size-md_1pts1_31",
13
- "size-lg": "_size-lg_1pts1_35",
14
- "size-xl": "_size-xl_1pts1_39",
15
- "size-full": "_size-full_1pts1_43",
11
+ "size-sm": "_size-sm_1unsl_27",
12
+ "size-md": "_size-md_1unsl_31",
13
+ "size-lg": "_size-lg_1unsl_35",
14
+ "size-xl": "_size-xl_1unsl_39",
15
+ "size-full": "_size-full_1unsl_43",
16
16
  modal: Y,
17
17
  slideUp: Z,
18
18
  closeButton: O,
19
19
  content: ee,
20
20
  intro: te,
21
- title: se,
22
- trigger: ne,
23
- slideUpSheet: oe,
24
- slideDownSheet: ie
21
+ title: ne,
22
+ trigger: se,
23
+ slideUpSheet: le,
24
+ slideDownSheet: oe
25
25
  };
26
- function ae({
27
- content: p,
26
+ function de({
27
+ content: v,
28
28
  trigger: S,
29
- isOpen: v,
30
- onOpen: i,
31
- onClose: l,
29
+ isOpen: y,
30
+ onOpen: o,
31
+ onClose: i,
32
32
  size: B = "md",
33
- closeOnEscape: y = !0,
33
+ closeOnEscape: g = !0,
34
34
  closeOnOverlayClick: T = !0,
35
35
  showCloseButton: N = !0,
36
36
  className: U,
37
37
  overlayClassName: A,
38
38
  style: C,
39
- formData: g,
40
- renderForm: h
39
+ formData: h,
40
+ renderForm: p
41
41
  }) {
42
- const [D, b] = $(!1), [u, z] = $(!1), _ = I(null), w = I(null), m = v !== void 0, s = m ? v : D, L = s || u, R = () => {
43
- w.current = document.activeElement, m || b(!0), i == null || i();
42
+ const [D, b] = $(!1), [a, z] = $(!1), _ = I(null), w = I(null), m = y !== void 0, n = m ? y : D, L = n || a, R = () => {
43
+ w.current = document.activeElement, m || b(!0), o == null || o();
44
44
  }, c = () => {
45
45
  z(!0), setTimeout(() => {
46
46
  var e;
47
- z(!1), m || b(!1), l == null || l(), (e = w.current) == null || e.focus();
47
+ z(!1), m || b(!1), i == null || i(), (e = w.current) == null || e.focus();
48
48
  }, 300);
49
- }, j = () => s ? c() : R(), P = () => {
49
+ }, j = () => n ? c() : R(), P = () => {
50
50
  T && c();
51
51
  };
52
52
  f(() => {
53
- if (!y || !s) return;
53
+ if (!g || !n) return;
54
54
  const e = (r) => {
55
55
  r.key === "Escape" && c();
56
56
  };
57
57
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
58
- }, [s, y]), f(() => {
58
+ }, [n, g]), f(() => {
59
59
  if (typeof document > "u") return;
60
60
  const e = document.getElementById("__next") ?? document.getElementById("root") ?? document.body.firstElementChild;
61
61
  if (!(!e || e === document.body))
62
- return s ? (e.setAttribute("inert", ""), e.style.overflow = "hidden") : (e.removeAttribute("inert"), e.style.overflow = ""), () => {
62
+ return n ? (e.setAttribute("inert", ""), e.style.overflow = "hidden") : (e.removeAttribute("inert"), e.style.overflow = ""), () => {
63
63
  e.removeAttribute("inert"), e.style.overflow = "";
64
64
  };
65
- }, [s]), f(() => {
66
- if (!s || !_.current) return;
65
+ }, [n]), f(() => {
66
+ if (!n || !_.current) return;
67
67
  const e = _.current;
68
68
  e.scrollTop = 0;
69
69
  const r = e.querySelectorAll(
70
70
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
71
- ), n = r[0], d = r[r.length - 1], k = (a) => {
72
- a.key === "Tab" && (a.shiftKey ? document.activeElement === n && (a.preventDefault(), d == null || d.focus()) : document.activeElement === d && (a.preventDefault(), n == null || n.focus()));
71
+ ), s = r[0], u = r[r.length - 1], k = (d) => {
72
+ d.key === "Tab" && (d.shiftKey ? document.activeElement === s && (d.preventDefault(), u == null || u.focus()) : document.activeElement === u && (d.preventDefault(), s == null || s.focus()));
73
73
  };
74
74
  e.addEventListener("keydown", k);
75
- const M = setTimeout(() => n == null ? void 0 : n.focus(), 50);
75
+ const M = setTimeout(() => s == null ? void 0 : s.focus(), 50);
76
76
  return () => {
77
77
  e.removeEventListener("keydown", k), clearTimeout(M);
78
78
  };
79
- }, [s]);
80
- const q = t[`size-${B}`] ?? "", F = p !== void 0 ? p : /* @__PURE__ */ o(E, { children: g && h ? h(g) : null }), K = L ? /* @__PURE__ */ o(
79
+ }, [n]);
80
+ const q = t[`size-${B}`] ?? "", F = v !== void 0 ? v : /* @__PURE__ */ l(E, { children: h && p ? p(h) : null }), K = L ? /* @__PURE__ */ l(
81
81
  "div",
82
82
  {
83
- className: `${t.overlay} ${u ? t.closing : ""} ${A ?? ""}`.trim(),
83
+ className: `${t.overlay} ${a ? t.closing : ""} ${A ?? ""}`.trim(),
84
84
  onClick: P,
85
85
  role: "dialog",
86
86
  "aria-modal": "true",
87
- children: /* @__PURE__ */ x(
87
+ children: /* @__PURE__ */ l(
88
88
  "div",
89
89
  {
90
- className: `${q} ${t.container} ${u ? t.closing : ""}`,
91
- children: [
92
- N && /* @__PURE__ */ o(
93
- "button",
94
- {
95
- "aria-label": "Close",
96
- className: t.closeButton,
97
- onClick: c,
98
- type: "button",
99
- children: /* @__PURE__ */ o(G, { size: 20 })
100
- }
101
- ),
102
- /* @__PURE__ */ o(
103
- "div",
104
- {
105
- ref: _,
106
- className: `${t.modal} ${U ?? ""}`.trim(),
107
- style: C,
108
- onClick: (e) => e.stopPropagation(),
109
- children: /* @__PURE__ */ o("div", { className: t.content, children: F })
110
- }
111
- )
112
- ]
90
+ className: `${q} ${t.container} ${a ? t.closing : ""}`,
91
+ children: /* @__PURE__ */ x(
92
+ "div",
93
+ {
94
+ ref: _,
95
+ className: `${t.modal} ${U ?? ""}`.trim(),
96
+ style: C,
97
+ onClick: (e) => e.stopPropagation(),
98
+ children: [
99
+ N && /* @__PURE__ */ l(
100
+ "button",
101
+ {
102
+ "aria-label": "Close",
103
+ className: t.closeButton,
104
+ onClick: c,
105
+ type: "button",
106
+ children: /* @__PURE__ */ l(G, { size: 20 })
107
+ }
108
+ ),
109
+ /* @__PURE__ */ l("div", { className: t.content, children: F })
110
+ ]
111
+ }
112
+ )
113
113
  }
114
114
  )
115
115
  }
116
116
  ) : null;
117
117
  return /* @__PURE__ */ x(E, { children: [
118
- /* @__PURE__ */ o("div", { className: t.trigger, onClick: j, children: S }),
118
+ /* @__PURE__ */ l("div", { className: t.trigger, onClick: j, children: S }),
119
119
  typeof window < "u" && X(K, document.body)
120
120
  ] });
121
121
  }
122
122
  export {
123
- ae as Modal
123
+ de as Modal
124
124
  };
package/dist/index38.css CHANGED
@@ -1 +1 @@
1
- ._overlay_1pts1_2{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:var(--spacing-md, 1rem);overflow-y:auto;animation:_fadeIn_1pts1_1 .2s ease forwards}._overlay_1pts1_2._closing_1pts1_14{animation:_fadeOut_1pts1_1 .28s ease forwards}._container_1pts1_20{position:relative;display:flex;flex-direction:column}._size-sm_1pts1_27{width:90%;max-width:400px}._size-md_1pts1_31{width:90%;max-width:600px}._size-lg_1pts1_35{width:90%;max-width:800px}._size-xl_1pts1_39{width:90%;max-width:1200px}._size-full_1pts1_43{width:95%;height:95dvh;max-height:95dvh}._modal_1pts1_50{position:relative;background-color:var(--color-background, #fff);border-radius:var(--radius-lg, .5rem);padding:var(--spacing-xl, 2rem);max-height:90dvh;overflow-y:auto;animation:_slideUp_1pts1_1 .3s ease forwards}._closeButton_1pts1_61{background:none;border:none;cursor:pointer;padding:var(--spacing-xs, .25rem);margin-bottom:var(--spacing-xs);border-radius:var(--radius-sm, .25rem);color:#fff;transition:all .2s ease;display:flex;align-items:center;justify-content:center;align-self:flex-end}._closeButton_1pts1_61:hover{background-color:var(--color-secondary-10, rgba(255, 255, 255, .15))}._closeButton_1pts1_61:focus-visible{outline:2px solid var(--color-primary-100, #007bff);outline-offset:2px}._content_1pts1_86{color:var(--color-text-primary, #333);line-height:var(--line-height-normal, 1.5);display:flex;flex-direction:column;gap:var(--spacing-lg)}._content_1pts1_86 video,._content_1pts1_86 img{max-width:100%;height:auto;border-radius:var(--radius-md, .5rem)}._content_1pts1_86 video{width:100%}._intro_1pts1_105{margin-bottom:var(--spacing-lg, 1.5rem);padding-bottom:var(--spacing-lg, 1.5rem);border-bottom:1px solid var(--color-border, #e5e7eb)}._title_1pts1_112{font-size:var(--font-size-xl, 1.5rem);font-weight:var(--font-weight-bold, 700);color:var(--color-heading, #111);margin-bottom:var(--spacing-lg, 1.5rem);padding-right:var(--spacing-xl, 2rem);line-height:var(--line-height-heading, 1.2)}._trigger_1pts1_122{width:auto;display:inline-block;cursor:pointer}@keyframes _fadeIn_1pts1_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1pts1_1{0%{opacity:1}to{opacity:0}}@keyframes _slideUp_1pts1_1{0%{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media (max-width: 767px){._overlay_1pts1_2{align-items:flex-end;padding:0;overflow:hidden}._overlay_1pts1_2._closing_1pts1_14{animation:_fadeOut_1pts1_1 .28s ease forwards}._container_1pts1_20{width:100%;max-width:100%;max-height:92dvh;display:flex;flex-direction:column;border-radius:var(--radius-lg, .5rem) var(--radius-lg, .5rem) 0 0;background-color:var(--color-background, #fff);animation:_slideUpSheet_1pts1_1 .32s cubic-bezier(.32,.72,0,1) forwards;padding-bottom:env(safe-area-inset-bottom)}._container_1pts1_20._closing_1pts1_14{animation:_slideDownSheet_1pts1_1 .28s cubic-bezier(.32,.72,0,1) forwards}._size-sm_1pts1_27,._size-md_1pts1_31,._size-lg_1pts1_35,._size-xl_1pts1_39,._size-full_1pts1_43{width:100%;max-width:100%;max-height:92dvh;height:auto}._closeButton_1pts1_61{color:var(--color-text-primary, #333);flex-shrink:0;align-self:flex-end;margin:var(--spacing-sm) var(--spacing-sm) 0}._modal_1pts1_50{animation:none;border-radius:0;padding:var(--spacing-sm) var(--spacing-lg) var(--spacing-lg);flex:1;min-height:0;max-height:none;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;position:absolute;height:100%}._content_1pts1_86{width:100%}._title_1pts1_112{font-size:var(--font-size-lg, 1.25rem);padding-right:0}}@keyframes _slideUpSheet_1pts1_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _slideDownSheet_1pts1_1{0%{transform:translateY(0)}to{transform:translateY(110%)}}
1
+ ._overlay_1unsl_2{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:var(--spacing-md, 1rem);overflow-y:auto;animation:_fadeIn_1unsl_1 .2s ease forwards}._overlay_1unsl_2._closing_1unsl_14{animation:_fadeOut_1unsl_1 .28s ease forwards}._container_1unsl_20{position:relative;display:flex;flex-direction:column}._size-sm_1unsl_27{width:90%;max-width:400px}._size-md_1unsl_31{width:90%;max-width:600px}._size-lg_1unsl_35{width:90%;max-width:800px}._size-xl_1unsl_39{width:90%;max-width:1200px}._size-full_1unsl_43{width:95%;height:95dvh;max-height:95dvh}._modal_1unsl_50{position:relative;background-color:var(--color-background, #fff);border-radius:var(--radius-lg, .5rem);padding:var(--spacing-xl, 2rem);padding-top:calc(var(--spacing-xl, 2rem) + 1.5rem);max-height:90dvh;overflow-y:auto;animation:_slideUp_1unsl_1 .3s ease forwards}._closeButton_1unsl_63{position:absolute;top:var(--spacing-sm, .5rem);right:var(--spacing-sm, .5rem);background:none;border:none;cursor:pointer;padding:var(--spacing-xs, .25rem);border-radius:var(--radius-sm, .25rem);color:#fff;transition:all .2s ease;display:flex;align-items:center;justify-content:center;z-index:1}._closeButton_1unsl_63:hover{background-color:#ffffff26}._closeButton_1unsl_63:focus-visible{outline:2px solid var(--color-primary-100, #007bff);outline-offset:2px}._content_1unsl_90{color:var(--color-text-primary, #333);line-height:var(--line-height-normal, 1.5);display:flex;flex-direction:column;gap:var(--spacing-lg)}._content_1unsl_90 video,._content_1unsl_90 img{max-width:100%;height:auto;border-radius:var(--radius-md, .5rem)}._content_1unsl_90 video{width:100%}._intro_1unsl_109{margin-bottom:var(--spacing-lg, 1.5rem);padding-bottom:var(--spacing-lg, 1.5rem);border-bottom:1px solid var(--color-border, #e5e7eb)}._title_1unsl_116{font-size:var(--font-size-xl, 1.5rem);font-weight:var(--font-weight-bold, 700);color:var(--color-heading, #111);margin-bottom:var(--spacing-lg, 1.5rem);padding-right:var(--spacing-xl, 2rem);line-height:var(--line-height-heading, 1.2)}._trigger_1unsl_126{width:auto;display:inline-block;cursor:pointer}@keyframes _fadeIn_1unsl_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1unsl_1{0%{opacity:1}to{opacity:0}}@keyframes _slideUp_1unsl_1{0%{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media (max-width: 767px){._overlay_1unsl_2{align-items:flex-end;padding:0;overflow:hidden}._overlay_1unsl_2._closing_1unsl_14{animation:_fadeOut_1unsl_1 .28s ease forwards}._container_1unsl_20{width:100%;max-width:100%;max-height:92dvh;display:flex;flex-direction:column;border-radius:var(--radius-lg, .5rem) var(--radius-lg, .5rem) 0 0;background-color:var(--color-background, #fff);animation:_slideUpSheet_1unsl_1 .32s cubic-bezier(.32,.72,0,1) forwards;padding-bottom:env(safe-area-inset-bottom)}._container_1unsl_20._closing_1unsl_14{animation:_slideDownSheet_1unsl_1 .28s cubic-bezier(.32,.72,0,1) forwards}._size-sm_1unsl_27,._size-md_1unsl_31,._size-lg_1unsl_35,._size-xl_1unsl_39,._size-full_1unsl_43{width:100%;max-width:100%;max-height:92dvh;height:auto}._closeButton_1unsl_63{color:var(--color-text-primary, #333)}._modal_1unsl_50{animation:none;border-radius:0;padding:var(--spacing-sm) var(--spacing-lg) var(--spacing-lg);flex:1;min-height:0;max-height:none;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}._content_1unsl_90{width:100%}._title_1unsl_116{font-size:var(--font-size-lg, 1.25rem);padding-right:0}}@keyframes _slideUpSheet_1unsl_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _slideDownSheet_1unsl_1{0%{transform:translateY(0)}to{transform:translateY(110%)}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.1.211",
4
+ "version": "0.1.212",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {