quirk-ui 0.0.650 → 0.0.652
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/assets/index31.css +1 -1
- package/dist/assets/index31.css.d.ts +4 -4
- package/dist/core/components/Table/index.cjs +1 -1
- package/dist/core/components/Table/index.mjs +19 -18
- package/dist/core.d.ts +2 -1
- package/dist/main.d.ts +2 -1
- package/dist/next/ui/PortableTextRenderer/index.cjs +1 -1
- package/dist/next/ui/PortableTextRenderer/index.mjs +139 -126
- package/dist/styles.css +2 -2
- package/dist/styles.css.d.ts +4 -4
- package/package.json +1 -1
package/dist/assets/index31.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._wrapper_v1s5j_1{overflow-x:auto}._table_v1s5j_5{width:100%;border-collapse:collapse;font-size:var(--font-size-sm)}th,td{padding:var(--spacing-sm) var(--spacing-md);text-align:left;border-bottom:1px solid var(--color-border);color:var(--color-text-primary)}th{background-color:var(--color-secondary-10);font-weight:var(--font-weight-semibold)}._empty_v1s5j_24{text-align:center;padding:var(--spacing-md);color:var(--color-text-primary)}._clickableRow_v1s5j_30{cursor:pointer}._clickableRow_v1s5j_30:hover{background-color:var(--color-primary-100)}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const styles: {
|
|
2
|
-
readonly "
|
|
3
|
-
readonly "
|
|
4
|
-
readonly "
|
|
5
|
-
readonly "
|
|
2
|
+
readonly "_clickableRow_v1s5j_30": string;
|
|
3
|
+
readonly "_empty_v1s5j_24": string;
|
|
4
|
+
readonly "_table_v1s5j_5": string;
|
|
5
|
+
readonly "_wrapper_v1s5j_1": string;
|
|
6
6
|
};
|
|
7
7
|
export = styles;
|
|
8
8
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index31.css');const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index31.css');const e=require("react/jsx-runtime"),h="_wrapper_v1s5j_1",j="_table_v1s5j_5",m="_empty_v1s5j_24",_="_clickableRow_v1s5j_30",t={wrapper:h,table:j,empty:m,clickableRow:_};function x({hasHeadingRow:n=!0,data:l,columns:c,emptyMessage:i="No data available",onRowClick:r,className:d,...p}){return e.jsx("div",{className:`${d??""} ${t.wrapper}`,children:e.jsxs("table",{className:t.table,...p,children:[n&&e.jsx("thead",{children:e.jsx("tr",{children:c.map(s=>e.jsx("th",{className:s.className,children:s.header},String(s.accessor)))})}),e.jsx("tbody",{children:l.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:c.length,className:t.empty,children:i})}):l.map((s,b)=>e.jsx("tr",{onClick:()=>r==null?void 0:r(s),className:r?t.clickableRow:"",children:c.map(a=>e.jsx("td",{className:a.className,children:a.cellRenderer?a.cellRenderer(s[a.accessor],s):String(s[a.accessor])},String(a.accessor)))},b))})]})})}exports.Table=x;
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import '../../../assets/index31.css';const
|
|
3
|
-
wrapper:
|
|
4
|
-
table:
|
|
5
|
-
empty:
|
|
6
|
-
clickableRow:
|
|
1
|
+
import { jsx as e, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import '../../../assets/index31.css';const b = "_wrapper_v1s5j_1", _ = "_table_v1s5j_5", N = "_empty_v1s5j_24", j = "_clickableRow_v1s5j_30", t = {
|
|
3
|
+
wrapper: b,
|
|
4
|
+
table: _,
|
|
5
|
+
empty: N,
|
|
6
|
+
clickableRow: j
|
|
7
7
|
};
|
|
8
8
|
function y({
|
|
9
|
+
hasHeadingRow: n = !0,
|
|
9
10
|
data: l,
|
|
10
|
-
columns:
|
|
11
|
-
emptyMessage:
|
|
12
|
-
onRowClick:
|
|
13
|
-
className:
|
|
14
|
-
...
|
|
11
|
+
columns: c,
|
|
12
|
+
emptyMessage: d = "No data available",
|
|
13
|
+
onRowClick: s,
|
|
14
|
+
className: p,
|
|
15
|
+
...i
|
|
15
16
|
}) {
|
|
16
|
-
return /* @__PURE__ */ e("div", { className: `${
|
|
17
|
-
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children:
|
|
18
|
-
/* @__PURE__ */ e("tbody", { children: l.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan:
|
|
17
|
+
return /* @__PURE__ */ e("div", { className: `${p ?? ""} ${t.wrapper}`, children: /* @__PURE__ */ m("table", { className: t.table, ...i, children: [
|
|
18
|
+
n && /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: c.map((a) => /* @__PURE__ */ e("th", { className: a.className, children: a.header }, String(a.accessor))) }) }),
|
|
19
|
+
/* @__PURE__ */ e("tbody", { children: l.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: c.length, className: t.empty, children: d }) }) : l.map((a, h) => /* @__PURE__ */ e(
|
|
19
20
|
"tr",
|
|
20
21
|
{
|
|
21
|
-
onClick: () =>
|
|
22
|
-
className:
|
|
23
|
-
children:
|
|
22
|
+
onClick: () => s == null ? void 0 : s(a),
|
|
23
|
+
className: s ? t.clickableRow : "",
|
|
24
|
+
children: c.map((r) => /* @__PURE__ */ e("td", { className: r.className, children: r.cellRenderer ? r.cellRenderer(a[r.accessor], a) : String(a[r.accessor]) }, String(r.accessor)))
|
|
24
25
|
},
|
|
25
|
-
|
|
26
|
+
h
|
|
26
27
|
)) })
|
|
27
28
|
] }) });
|
|
28
29
|
}
|
package/dist/core.d.ts
CHANGED
|
@@ -1167,7 +1167,7 @@ declare type SwitchProps = {
|
|
|
1167
1167
|
className?: string;
|
|
1168
1168
|
} & default_2.InputHTMLAttributes<HTMLInputElement>;
|
|
1169
1169
|
|
|
1170
|
-
export declare function Table<T>({ data, columns, emptyMessage, onRowClick, className, ...restProps }: TableProps<T>): JSX.Element;
|
|
1170
|
+
export declare function Table<T>({ hasHeadingRow, data, columns, emptyMessage, onRowClick, className, ...restProps }: TableProps<T>): JSX.Element;
|
|
1171
1171
|
|
|
1172
1172
|
export declare type TableColumn<T> = {
|
|
1173
1173
|
header: string;
|
|
@@ -1177,6 +1177,7 @@ export declare type TableColumn<T> = {
|
|
|
1177
1177
|
};
|
|
1178
1178
|
|
|
1179
1179
|
declare type TableProps<T> = {
|
|
1180
|
+
hasHeadingRow?: boolean;
|
|
1180
1181
|
data: T[];
|
|
1181
1182
|
columns: TableColumn<T>[];
|
|
1182
1183
|
emptyMessage?: string;
|
package/dist/main.d.ts
CHANGED
|
@@ -1323,7 +1323,7 @@ declare type SwitchProps = {
|
|
|
1323
1323
|
className?: string;
|
|
1324
1324
|
} & default_2.InputHTMLAttributes<HTMLInputElement>;
|
|
1325
1325
|
|
|
1326
|
-
export declare function Table<T>({ data, columns, emptyMessage, onRowClick, className, ...restProps }: TableProps<T>): JSX.Element;
|
|
1326
|
+
export declare function Table<T>({ hasHeadingRow, data, columns, emptyMessage, onRowClick, className, ...restProps }: TableProps<T>): JSX.Element;
|
|
1327
1327
|
|
|
1328
1328
|
export declare type TableColumn<T> = {
|
|
1329
1329
|
header: string;
|
|
@@ -1333,6 +1333,7 @@ export declare type TableColumn<T> = {
|
|
|
1333
1333
|
};
|
|
1334
1334
|
|
|
1335
1335
|
declare type TableProps<T> = {
|
|
1336
|
+
hasHeadingRow?: boolean;
|
|
1336
1337
|
data: T[];
|
|
1337
1338
|
columns: TableColumn<T>[];
|
|
1338
1339
|
emptyMessage?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index15.css');const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index15.css');const t=require("react/jsx-runtime"),k=require("react"),f=require("@portabletext/react"),H=require("../AnimatedSpan/index.cjs"),j=require("../../../core/components/Heading/index.cjs"),L=require("../../../core/components/Text/index.cjs"),M=require("../../../core/components/Table/index.cjs"),N=require("next/image"),S=require("../../hooks/useMediaQuery.cjs"),B="_container_1bbre_1",P="_divider_1bbre_15",z="_richTextImage_1bbre_33",I="_richTextLink_1bbre_41",R="_spacerSmall_1bbre_53",E="_spacerMedium_1bbre_58",C="_spacerLarge_1bbre_63",A="_codeBlock_1bbre_91",l={container:B,divider:P,richTextImage:z,richTextLink:I,spacerSmall:R,spacerMedium:E,spacerLarge:C,codeBlock:A},Q=n=>({normal:({children:s})=>t.jsx(L.Text,{className:n,children:s}),h1:({children:s})=>t.jsx(j.Heading,{className:n,level:1,children:s}),h2:({children:s})=>t.jsx(j.Heading,{className:n,level:2,children:s}),h3:({children:s})=>t.jsx(j.Heading,{className:n,level:3,children:s}),h4:({children:s})=>t.jsx(j.Heading,{className:n,level:4,children:s}),h5:({children:s})=>t.jsx(j.Heading,{className:n,level:5,children:s}),h6:({children:s})=>t.jsx(j.Heading,{className:n,level:6,children:s}),quote:({children:s})=>t.jsx("blockquote",{className:n,children:s}),code:({children:s})=>t.jsxs("pre",{className:`${n} ${l.codeBlock}`,children:[" ",t.jsx("code",{children:s})]})}),$=(n,i,s,p,u)=>{const T=Q(n);return{marks:{coloredText:({children:e,value:r})=>{if(!r)return t.jsx(t.Fragment,{children:e});const{colorClass:c}=r,o=i==null?void 0:i.current;return p&&s?t.jsx(H.AnimatedSpan,{className:c,text:s,prevText:o},"animated-span"):t.jsx("span",{className:c,children:e})},strong:({children:e})=>t.jsx("strong",{children:e}),em:({children:e})=>t.jsx("em",{children:e}),number:({children:e})=>t.jsx("span",{className:"inlineNumber",children:e}),left:({children:e})=>t.jsx("span",{className:"textLeft",children:e}),center:({children:e})=>t.jsx("span",{className:"textCenter",children:e}),right:({children:e})=>t.jsx("span",{className:"textRight",children:e}),link:({children:e,value:r})=>{var d;const{linkType:c,internalUrl:o,externalUrl:a,blank:g}=r;let x="#";c==="external"&&a?x=a:c==="internal"&&((d=o==null?void 0:o.slug)!=null&&d.current)&&(x=`/${o==null?void 0:o.slug.current}`);const m=c==="external";return t.jsx("a",{href:x,target:g?"_blank":void 0,rel:m?"noopener noreferrer":void 0,className:l.richTextLink,children:e})},textSize:({children:e,value:r})=>{const c=r!=null&&r.size?`text-${r.size}`:"";return t.jsx("span",{className:c,children:e})},inlineCode:({children:e})=>t.jsx("code",{children:e})},block:T,list:{bullet:({children:e=[]})=>{const r=k.Children.count(e);return t.jsx("ul",{style:{columnCount:u?1:r>7?2:1},className:n,children:e})}},types:{image:({value:e})=>{var c,o,a,g,x,m,d;if(!(e!=null&&e.imageUrls))return null;const r=((c=e.asset)==null?void 0:c.altText)||"Content image";return t.jsxs("figure",{className:`${n} ${l.richTextImage}`,children:[t.jsx(N,{src:e.imageUrls.medium,alt:r,width:1e3,height:800,style:{maxWidth:"100%",height:"auto"}}),(((o=e.asset)==null?void 0:o.title)||((a=e.asset)==null?void 0:a.description))&&t.jsxs("figcaption",{children:[((g=e.asset)==null?void 0:g.title)&&t.jsx("strong",{children:(x=e.asset)==null?void 0:x.title}),((m=e.asset)==null?void 0:m.description)&&t.jsx("p",{children:(d=e.asset)==null?void 0:d.description})]})]})},divider:()=>t.jsx("hr",{className:l.divider}),spacer:({value:e})=>{const r=(e==null?void 0:e.style)||"medium",c={small:l.spacerSmall,medium:l.spacerMedium,large:l.spacerLarge};return t.jsx("span",{className:`${c[r]??l.spacerMedium}`})},table:({value:e})=>{var m,d;if(!((m=e==null?void 0:e.rows)!=null&&m.length))return null;const{hasHeadingRow:r}=e,c=r?e.rows[0]:null,o=r?e.rows.slice(1):e.rows,a=c||o[0];if(!((d=a==null?void 0:a.cells)!=null&&d.length))return null;const g=a.cells.map((y,h)=>{var b;return{header:c?t.jsx(f.PortableText,{value:(b=c.cells[h])==null?void 0:b.content,components:$(n,i,s,p,u)}):`Column ${h+1}`,accessor:`col${h}`,cellRenderer:_=>_?t.jsx(f.PortableText,{value:_,components:$(n,i,s,p,u)}):null}}),x=o.map(y=>{var b;const h={};return(b=y.cells)==null||b.forEach((_,w)=>{h[`col${w}`]=_==null?void 0:_.content}),h});return t.jsx(M.Table,{hasHeadingRow:r,data:x,columns:g,className:`${n} ${r?"hasHeadingRow":""}`})}}}},U=({blocks:n,className:i,textOverride:s,animateText:p})=>{const u=S.useMediaQuery("(max-width: 767px)"),T=k.useRef(s);k.useEffect(()=>{T.current=s},[s]);const q=k.useMemo(()=>$(i,T,s,p,u),[i,T,s,p,u]);return n?typeof n=="string"?(console.warn("RichText component received a string. Expected PortableTextBlock[]"),t.jsx(L.Text,{className:i,children:n})):t.jsx("div",{className:`${l.container} portableTextContainer`,children:t.jsx(f.PortableText,{value:n,components:q})}):null};exports.RichText=U;
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { PortableText as
|
|
4
|
-
import { AnimatedSpan as
|
|
5
|
-
import { Heading as
|
|
6
|
-
import { Text as
|
|
7
|
-
import { Table as
|
|
8
|
-
import
|
|
9
|
-
import { useMediaQuery as
|
|
10
|
-
import '../../../assets/index15.css';const
|
|
11
|
-
container:
|
|
12
|
-
divider:
|
|
13
|
-
richTextImage:
|
|
14
|
-
richTextLink:
|
|
15
|
-
spacerSmall:
|
|
16
|
-
spacerMedium:
|
|
17
|
-
spacerLarge:
|
|
18
|
-
codeBlock:
|
|
19
|
-
},
|
|
20
|
-
normal: ({ children:
|
|
21
|
-
h1: ({ children:
|
|
22
|
-
h2: ({ children:
|
|
23
|
-
h3: ({ children:
|
|
24
|
-
h4: ({ children:
|
|
25
|
-
h5: ({ children:
|
|
26
|
-
h6: ({ children:
|
|
27
|
-
quote: ({ children:
|
|
28
|
-
code: ({ children:
|
|
1
|
+
import { jsx as t, jsxs as T, Fragment as B } from "react/jsx-runtime";
|
|
2
|
+
import S, { useRef as z, useEffect as E, useMemo as I } from "react";
|
|
3
|
+
import { PortableText as $ } from "@portabletext/react";
|
|
4
|
+
import { AnimatedSpan as R } from "../AnimatedSpan/index.mjs";
|
|
5
|
+
import { Heading as x } from "../../../core/components/Heading/index.mjs";
|
|
6
|
+
import { Text as y } from "../../../core/components/Text/index.mjs";
|
|
7
|
+
import { Table as j } from "../../../core/components/Table/index.mjs";
|
|
8
|
+
import C from "next/image";
|
|
9
|
+
import { useMediaQuery as H } from "../../hooks/useMediaQuery.mjs";
|
|
10
|
+
import '../../../assets/index15.css';const P = "_container_1bbre_1", q = "_divider_1bbre_15", U = "_richTextImage_1bbre_33", A = "_richTextLink_1bbre_41", F = "_spacerSmall_1bbre_53", Q = "_spacerMedium_1bbre_58", W = "_spacerLarge_1bbre_63", D = "_codeBlock_1bbre_91", m = {
|
|
11
|
+
container: P,
|
|
12
|
+
divider: q,
|
|
13
|
+
richTextImage: U,
|
|
14
|
+
richTextLink: A,
|
|
15
|
+
spacerSmall: F,
|
|
16
|
+
spacerMedium: Q,
|
|
17
|
+
spacerLarge: W,
|
|
18
|
+
codeBlock: D
|
|
19
|
+
}, G = (r) => ({
|
|
20
|
+
normal: ({ children: n }) => /* @__PURE__ */ t(y, { className: r, children: n }),
|
|
21
|
+
h1: ({ children: n }) => /* @__PURE__ */ t(x, { className: r, level: 1, children: n }),
|
|
22
|
+
h2: ({ children: n }) => /* @__PURE__ */ t(x, { className: r, level: 2, children: n }),
|
|
23
|
+
h3: ({ children: n }) => /* @__PURE__ */ t(x, { className: r, level: 3, children: n }),
|
|
24
|
+
h4: ({ children: n }) => /* @__PURE__ */ t(x, { className: r, level: 4, children: n }),
|
|
25
|
+
h5: ({ children: n }) => /* @__PURE__ */ t(x, { className: r, level: 5, children: n }),
|
|
26
|
+
h6: ({ children: n }) => /* @__PURE__ */ t(x, { className: r, level: 6, children: n }),
|
|
27
|
+
quote: ({ children: n }) => /* @__PURE__ */ t("blockquote", { className: r, children: n }),
|
|
28
|
+
code: ({ children: n }) => /* @__PURE__ */ T("pre", { className: `${r} ${m.codeBlock}`, children: [
|
|
29
29
|
" ",
|
|
30
|
-
/* @__PURE__ */ t("code", { children:
|
|
30
|
+
/* @__PURE__ */ t("code", { children: n })
|
|
31
31
|
] })
|
|
32
|
-
}),
|
|
33
|
-
const
|
|
32
|
+
}), L = (r, i, n, d, h) => {
|
|
33
|
+
const k = G(r);
|
|
34
34
|
return {
|
|
35
35
|
marks: {
|
|
36
36
|
coloredText: ({
|
|
37
37
|
children: e,
|
|
38
|
-
value:
|
|
38
|
+
value: c
|
|
39
39
|
}) => {
|
|
40
|
-
if (!
|
|
41
|
-
const { colorClass:
|
|
42
|
-
return
|
|
43
|
-
|
|
40
|
+
if (!c) return /* @__PURE__ */ t(B, { children: e });
|
|
41
|
+
const { colorClass: o } = c, s = i == null ? void 0 : i.current;
|
|
42
|
+
return d && n ? /* @__PURE__ */ t(
|
|
43
|
+
R,
|
|
44
44
|
{
|
|
45
|
-
className:
|
|
46
|
-
text:
|
|
45
|
+
className: o,
|
|
46
|
+
text: n,
|
|
47
47
|
prevText: s
|
|
48
48
|
},
|
|
49
49
|
"animated-span"
|
|
50
|
-
) : /* @__PURE__ */ t("span", { className:
|
|
50
|
+
) : /* @__PURE__ */ t("span", { className: o, children: e });
|
|
51
51
|
},
|
|
52
52
|
strong: ({ children: e }) => /* @__PURE__ */ t("strong", { children: e }),
|
|
53
53
|
em: ({ children: e }) => /* @__PURE__ */ t("em", { children: e }),
|
|
@@ -55,38 +55,38 @@ import '../../../assets/index15.css';const C = "_container_1bbre_1", P = "_divid
|
|
|
55
55
|
left: ({ children: e }) => /* @__PURE__ */ t("span", { className: "textLeft", children: e }),
|
|
56
56
|
center: ({ children: e }) => /* @__PURE__ */ t("span", { className: "textCenter", children: e }),
|
|
57
57
|
right: ({ children: e }) => /* @__PURE__ */ t("span", { className: "textRight", children: e }),
|
|
58
|
-
link: ({ children: e, value:
|
|
59
|
-
var
|
|
60
|
-
const { linkType:
|
|
61
|
-
let
|
|
62
|
-
return
|
|
58
|
+
link: ({ children: e, value: c }) => {
|
|
59
|
+
var p;
|
|
60
|
+
const { linkType: o, internalUrl: s, externalUrl: l, blank: g } = c;
|
|
61
|
+
let a = "#";
|
|
62
|
+
return o === "external" && l ? a = l : o === "internal" && ((p = s == null ? void 0 : s.slug) != null && p.current) && (a = `/${s == null ? void 0 : s.slug.current}`), /* @__PURE__ */ t(
|
|
63
63
|
"a",
|
|
64
64
|
{
|
|
65
|
-
href:
|
|
66
|
-
target:
|
|
67
|
-
rel:
|
|
68
|
-
className:
|
|
65
|
+
href: a,
|
|
66
|
+
target: g ? "_blank" : void 0,
|
|
67
|
+
rel: o === "external" ? "noopener noreferrer" : void 0,
|
|
68
|
+
className: m.richTextLink,
|
|
69
69
|
children: e
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
},
|
|
73
|
-
textSize: ({ children: e, value:
|
|
74
|
-
const
|
|
75
|
-
return /* @__PURE__ */ t("span", { className:
|
|
73
|
+
textSize: ({ children: e, value: c }) => {
|
|
74
|
+
const o = c != null && c.size ? `text-${c.size}` : "";
|
|
75
|
+
return /* @__PURE__ */ t("span", { className: o, children: e });
|
|
76
76
|
},
|
|
77
77
|
inlineCode: ({ children: e }) => /* @__PURE__ */ t("code", { children: e })
|
|
78
78
|
},
|
|
79
|
-
block:
|
|
79
|
+
block: k,
|
|
80
80
|
list: {
|
|
81
81
|
bullet: ({ children: e = [] }) => {
|
|
82
|
-
const
|
|
82
|
+
const c = S.Children.count(e);
|
|
83
83
|
return /* @__PURE__ */ t(
|
|
84
84
|
"ul",
|
|
85
85
|
{
|
|
86
86
|
style: {
|
|
87
|
-
columnCount:
|
|
87
|
+
columnCount: h ? 1 : c > 7 ? 2 : 1
|
|
88
88
|
},
|
|
89
|
-
className:
|
|
89
|
+
className: r,
|
|
90
90
|
children: e
|
|
91
91
|
}
|
|
92
92
|
);
|
|
@@ -94,101 +94,114 @@ import '../../../assets/index15.css';const C = "_container_1bbre_1", P = "_divid
|
|
|
94
94
|
},
|
|
95
95
|
types: {
|
|
96
96
|
image: ({ value: e }) => {
|
|
97
|
-
var
|
|
97
|
+
var o, s, l, g, a, u, p;
|
|
98
98
|
if (!(e != null && e.imageUrls)) return null;
|
|
99
|
-
const
|
|
100
|
-
return /* @__PURE__ */
|
|
99
|
+
const c = ((o = e.asset) == null ? void 0 : o.altText) || "Content image";
|
|
100
|
+
return /* @__PURE__ */ T("figure", { className: `${r} ${m.richTextImage}`, children: [
|
|
101
101
|
/* @__PURE__ */ t(
|
|
102
|
-
|
|
102
|
+
C,
|
|
103
103
|
{
|
|
104
104
|
src: e.imageUrls.medium,
|
|
105
|
-
alt:
|
|
105
|
+
alt: c,
|
|
106
106
|
width: 1e3,
|
|
107
107
|
height: 800,
|
|
108
108
|
style: { maxWidth: "100%", height: "auto" }
|
|
109
109
|
}
|
|
110
110
|
),
|
|
111
|
-
(((s = e.asset) == null ? void 0 : s.title) || ((
|
|
112
|
-
((
|
|
113
|
-
((
|
|
111
|
+
(((s = e.asset) == null ? void 0 : s.title) || ((l = e.asset) == null ? void 0 : l.description)) && /* @__PURE__ */ T("figcaption", { children: [
|
|
112
|
+
((g = e.asset) == null ? void 0 : g.title) && /* @__PURE__ */ t("strong", { children: (a = e.asset) == null ? void 0 : a.title }),
|
|
113
|
+
((u = e.asset) == null ? void 0 : u.description) && /* @__PURE__ */ t("p", { children: (p = e.asset) == null ? void 0 : p.description })
|
|
114
114
|
] })
|
|
115
115
|
] });
|
|
116
116
|
},
|
|
117
|
-
divider: () => /* @__PURE__ */ t("hr", { className:
|
|
117
|
+
divider: () => /* @__PURE__ */ t("hr", { className: m.divider }),
|
|
118
118
|
spacer: ({ value: e }) => {
|
|
119
|
-
const
|
|
120
|
-
small:
|
|
121
|
-
medium:
|
|
122
|
-
large:
|
|
119
|
+
const c = (e == null ? void 0 : e.style) || "medium", o = {
|
|
120
|
+
small: m.spacerSmall,
|
|
121
|
+
medium: m.spacerMedium,
|
|
122
|
+
large: m.spacerLarge
|
|
123
123
|
};
|
|
124
|
-
return /* @__PURE__ */ t("span", { className: `${c
|
|
124
|
+
return /* @__PURE__ */ t("span", { className: `${o[c] ?? m.spacerMedium}` });
|
|
125
125
|
},
|
|
126
126
|
table: ({ value: e }) => {
|
|
127
|
-
var
|
|
128
|
-
if (!((
|
|
129
|
-
const o = e.rows[0],
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
{
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
127
|
+
var u, p;
|
|
128
|
+
if (!((u = e == null ? void 0 : e.rows) != null && u.length)) return null;
|
|
129
|
+
const { hasHeadingRow: c } = e, o = c ? e.rows[0] : null, s = c ? e.rows.slice(1) : e.rows, l = o || s[0];
|
|
130
|
+
if (!((p = l == null ? void 0 : l.cells) != null && p.length)) return null;
|
|
131
|
+
const g = l.cells.map((N, _) => {
|
|
132
|
+
var b;
|
|
133
|
+
return {
|
|
134
|
+
header: o ? /* @__PURE__ */ t(
|
|
135
|
+
$,
|
|
136
|
+
{
|
|
137
|
+
value: (b = o.cells[_]) == null ? void 0 : b.content,
|
|
138
|
+
components: L(
|
|
139
|
+
r,
|
|
140
|
+
i,
|
|
141
|
+
n,
|
|
142
|
+
d,
|
|
143
|
+
h
|
|
144
|
+
)
|
|
145
|
+
}
|
|
146
|
+
) : `Column ${_ + 1}`,
|
|
147
|
+
accessor: `col${_}`,
|
|
148
|
+
cellRenderer: (f) => f ? /* @__PURE__ */ t(
|
|
149
|
+
$,
|
|
150
|
+
{
|
|
151
|
+
value: f,
|
|
152
|
+
components: L(
|
|
153
|
+
r,
|
|
154
|
+
i,
|
|
155
|
+
n,
|
|
156
|
+
d,
|
|
157
|
+
h
|
|
158
|
+
)
|
|
159
|
+
}
|
|
160
|
+
) : null
|
|
161
|
+
};
|
|
162
|
+
}), a = s.map((N) => {
|
|
163
|
+
var b;
|
|
164
|
+
const _ = {};
|
|
165
|
+
return (b = N.cells) == null || b.forEach((f, M) => {
|
|
166
|
+
_[`col${M}`] = f == null ? void 0 : f.content;
|
|
167
|
+
}), _;
|
|
163
168
|
});
|
|
164
|
-
return /* @__PURE__ */ t(
|
|
169
|
+
return /* @__PURE__ */ t(
|
|
170
|
+
j,
|
|
171
|
+
{
|
|
172
|
+
hasHeadingRow: c,
|
|
173
|
+
data: a,
|
|
174
|
+
columns: g,
|
|
175
|
+
className: `${r} ${c ? "hasHeadingRow" : ""}`
|
|
176
|
+
}
|
|
177
|
+
);
|
|
165
178
|
}
|
|
166
179
|
}
|
|
167
180
|
};
|
|
168
|
-
},
|
|
169
|
-
blocks:
|
|
170
|
-
className:
|
|
171
|
-
textOverride:
|
|
172
|
-
animateText:
|
|
181
|
+
}, ne = ({
|
|
182
|
+
blocks: r,
|
|
183
|
+
className: i,
|
|
184
|
+
textOverride: n,
|
|
185
|
+
animateText: d
|
|
173
186
|
}) => {
|
|
174
|
-
const
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}, [
|
|
178
|
-
const
|
|
179
|
-
() =>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
187
|
+
const h = H("(max-width: 767px)"), k = z(n);
|
|
188
|
+
E(() => {
|
|
189
|
+
k.current = n;
|
|
190
|
+
}, [n]);
|
|
191
|
+
const w = I(
|
|
192
|
+
() => L(
|
|
193
|
+
i,
|
|
194
|
+
k,
|
|
195
|
+
n,
|
|
196
|
+
d,
|
|
197
|
+
h
|
|
185
198
|
),
|
|
186
|
-
[
|
|
199
|
+
[i, k, n, d, h]
|
|
187
200
|
);
|
|
188
|
-
return
|
|
201
|
+
return r ? typeof r == "string" ? (console.warn(
|
|
189
202
|
"RichText component received a string. Expected PortableTextBlock[]"
|
|
190
|
-
), /* @__PURE__ */ t(
|
|
203
|
+
), /* @__PURE__ */ t(y, { className: i, children: r })) : /* @__PURE__ */ t("div", { className: `${m.container} portableTextContainer`, children: /* @__PURE__ */ t($, { value: r, components: w }) }) : null;
|
|
191
204
|
};
|
|
192
205
|
export {
|
|
193
|
-
|
|
206
|
+
ne as RichText
|
|
194
207
|
};
|
package/dist/styles.css
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
._animatedSpan_4rh7w_1{position:relative;display:inline-block;min-height:29px;height:100%;width:100%;margin-bottom:0!important}._previous_4rh7w_10,._current_4rh7w_11{display:block;position:absolute;top:0;left:0;width:100%;white-space:nowrap;transition:transform .3s ease-in-out,opacity .3s ease-in-out;color:var(--color-primary-100)}._previous_4rh7w_10:first-letter,._current_4rh7w_11:first-letter{text-transform:capitalize}._previous_4rh7w_10{opacity:1;transform:translate(0)}._current_4rh7w_11{opacity:0;transform:translate(100px)}._current_4rh7w_11>span:first-letter{display:block;text-transform:capitalize}._slideOff_4rh7w_44{opacity:0;transform:translate(-100px)}._slideOn_4rh7w_49{opacity:1;transform:translate(0)}._reset_4rh7w_54{opacity:0;transform:translate(100px);transition:none}
|
|
30
30
|
h1,h2,h3,h4,h5,h6,._h1_lse9h_7,._h2_lse9h_8,._h3_lse9h_9,._h4_lse9h_10,._h5_lse9h_11,._h6_lse9h_12{line-height:var(--line-height-tight);color:var(--color-heading)}h1[class*=bg],h2[class*=bg],h3[class*=bg],h4[class*=bg],h5[class*=bg],h6[class*=bg],._h1_lse9h_7[class*=bg],._h2_lse9h_8[class*=bg],._h3_lse9h_9[class*=bg],._h4_lse9h_10[class*=bg],._h5_lse9h_11[class*=bg],._h6_lse9h_12[class*=bg]{padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--radius-md)}h1,._h1_lse9h_7{font-size:var(--font-size-h1);font-weight:var(--font-weight-bold)}h2,._h2_lse9h_8{font-size:var(--font-size-h2);font-weight:var(--font-weight-bold)}h3,._h3_lse9h_9{font-size:var(--font-size-h3);font-weight:var(--font-weight-semibold)}h4,._h4_lse9h_10{font-size:var(--font-size-h4);font-weight:var(--font-weight-semibold)}h5,._h5_lse9h_11{font-size:var(--font-size-h5);font-weight:var(--font-weight-medium)}h6,._h6_lse9h_12{font-size:var(--font-size-h6);font-weight:var(--font-weight-medium)}
|
|
31
31
|
._text_lbugy_1{font-family:inherit;font-size:var(--font-size-md);line-height:var(--line-height-loose);color:var(--color-text-primary)}._text_lbugy_1 p{margin-bottom:var(--spacing-md)}._text_lbugy_1 h1,._text_lbugy_1 h2,._text_lbugy_1 h3,._text_lbugy_1 h4,._text_lbugy_1 h5,._text_lbugy_1 h6{font-weight:var(--font-weight-bold);line-height:var(--line-height-tight);margin-top:var(--spacing-lg);margin-bottom:var(--spacing-sm)}._text_lbugy_1 ul,._text_lbugy_1 ol{padding-left:var(--spacing-lg);margin-bottom:var(--spacing-md)}._text_lbugy_1 ul{list-style-type:disc}._text_lbugy_1 ol{list-style-type:decimal}._text_lbugy_1 li{margin-bottom:var(--spacing-xs)}._text_lbugy_1 a{color:var(--color-primary-100);text-decoration:underline}._text_lbugy_1 a:hover{text-decoration:none}._default_lbugy_55{font-size:1rem}._muted_lbugy_59{color:var(--color-primary-25)}._lead_lbugy_63{font-size:1.25rem;font-weight:500}._small_lbugy_68{font-size:.875rem}
|
|
32
|
-
.
|
|
32
|
+
._wrapper_v1s5j_1{overflow-x:auto}._table_v1s5j_5{width:100%;border-collapse:collapse;font-size:var(--font-size-sm)}th,td{padding:var(--spacing-sm) var(--spacing-md);text-align:left;border-bottom:1px solid var(--color-border);color:var(--color-text-primary)}th{background-color:var(--color-secondary-10);font-weight:var(--font-weight-semibold)}._empty_v1s5j_24{text-align:center;padding:var(--spacing-md);color:var(--color-text-primary)}._clickableRow_v1s5j_30{cursor:pointer}._clickableRow_v1s5j_30:hover{background-color:var(--color-primary-100)}
|
|
33
33
|
._tabs_tu4lq_1{display:flex;flex-direction:column;width:100%}._tabsList_tu4lq_7{display:flex;width:100%;background-color:var(--color-secondary-10);border-radius:calc(var(--radius-md) + 5px);position:relative;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}._tabsList_tu4lq_7::-webkit-scrollbar{display:none}._horizontal_tu4lq_24{flex-direction:column}._horizontal_tu4lq_24 ._tabsPanel_tu4lq_26{padding:var(--spacing-lg) var(--spacing-md)}._vertical_tu4lq_31{flex-direction:row;align-items:flex-start;gap:3rem}._vertical_tu4lq_31 ._tabsList_tu4lq_7{flex-direction:column;overflow-x:visible;flex:.25 0 150px}._vertical_tu4lq_31 ._tabsTrigger_tu4lq_42{white-space:normal;text-align:left}._vertical_tu4lq_31 ._tabsPanelWrapper_tu4lq_47{flex:1;width:100%}@media (max-width: 767px){._vertical_tu4lq_31{flex-direction:column}}._left_tu4lq_58{justify-content:flex-start}._center_tu4lq_62{justify-content:center}._right_tu4lq_66{justify-content:flex-end}._indicator_tu4lq_70{position:absolute;left:0;top:0;border-radius:var(--radius-md);transition:transform .3s ease-in-out,width .3s ease-in-out;z-index:0;border:5px solid var(--color-secondary-10)}._indicator_tu4lq_70:after{content:"";border-radius:var(--radius-md);background-color:var(--color-secondary-100);display:block;position:absolute;width:100%;height:100%}._tabsTrigger_tu4lq_42{padding:var(--spacing-md);border:none;background:none;cursor:pointer;color:var(--color-text-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);transition:color .3s ease;position:relative;z-index:1;white-space:nowrap;text-align:center;width:100%}._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}@media (max-width: 767px){._tabsList_tu4lq_7{flex-direction:column;overflow-x:visible}._tabsTrigger_tu4lq_42{white-space:normal;text-align:left}}._tabsPanelWrapper_tu4lq_47{position:relative;overflow:hidden;height:auto;transition:height .3s ease-in-out}._tabsPanel_tu4lq_26{animation:_fadeSlide_tu4lq_1 .3s ease both;position:relative;width:100%;color:var(--color-text-primary)}@keyframes _fadeSlide_tu4lq_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._default_tu4lq_161{background-color:transparent}._dark_tu4lq_165{background-color:var(--color-tab-background)}._dark_tu4lq_165 ._indicator_tu4lq_70{border:5px solid transparent}._dark_tu4lq_165 ._tabsTrigger_tu4lq_42{color:var(--color-primary-25)}._light_tu4lq_177{background-color:#fff}._light_tu4lq_177 ._indicator_tu4lq_70{border:5px solid transparent}._light_tu4lq_177 ._tabsList_tu4lq_7{background-color:#fff}._light_tu4lq_177 ._tabsTrigger_tu4lq_42{color:var(--color-text-primary)}._light_tu4lq_177 ._tabsTrigger_tu4lq_42:hover{color:var(--color-primary-100)}._light_tu4lq_177 ._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}._transparent_tu4lq_201{background-color:transparent}._transparent_tu4lq_201 ._indicator_tu4lq_70{border:5px solid transparent}._transparent_tu4lq_201 ._tabsList_tu4lq_7{background-color:transparent}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42{color:var(--color-text-primary)}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42:hover{color:var(--color-primary-100)}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}
|
|
34
34
|
._buttonGroup_y8omf_1{display:flex;gap:var(--spacing-md)}._buttonGroup_y8omf_1>*{align-self:center;justify-content:center}._left_y8omf_18{justify-content:flex-start}._center_y8omf_22{justify-content:center}._center_y8omf_22>*{align-self:center;justify-content:center}._right_y8omf_31{justify-content:flex-end}._vertical_y8omf_35{flex-direction:column}._horizontal_y8omf_39{flex-direction:row}@media (max-width: 480px){._buttonGroup_y8omf_1{flex-direction:row;flex-wrap:wrap}}
|
|
35
35
|
._overlay_tvjn5_1{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#00000080;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:1000;animation:_fadeIn_tvjn5_1 .3s ease}._modal_tvjn5_16{position:absolute;background-color:var(--color-background, #fff);border-radius:var(--radius-md, 4px);padding:var(--spacing-md, 1rem);width:min(90%,800px);max-width:100%;animation:_slideUp_tvjn5_1 .3s ease}._trigger_tvjn5_26{width:auto}@media (max-width: 767px){._trigger_tvjn5_26{width:100%}}._closeButton_tvjn5_34{color:var(--color-primary-100);position:absolute;top:var(--spacing-xs);right:var(--spacing-xs);background:none;border:none;cursor:pointer;padding:var(--spacing-sm)}._content_tvjn5_45{margin-top:var(--spacing-lg)}._content_tvjn5_45 video{width:100%;max-width:100%;height:auto;border-radius:var(--radius-md)}@keyframes _fadeIn_tvjn5_1{0%{opacity:0}to{opacity:1}}@keyframes _slideUp_tvjn5_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
|
|
@@ -102,7 +102,7 @@ ul._list_1fin2_1{list-style-type:none;padding:0;margin:0}ol._list_1fin2_1{list-s
|
|
|
102
102
|
._animatedSpan_4rh7w_1{position:relative;display:inline-block;min-height:29px;height:100%;width:100%;margin-bottom:0!important}._previous_4rh7w_10,._current_4rh7w_11{display:block;position:absolute;top:0;left:0;width:100%;white-space:nowrap;transition:transform .3s ease-in-out,opacity .3s ease-in-out;color:var(--color-primary-100)}._previous_4rh7w_10:first-letter,._current_4rh7w_11:first-letter{text-transform:capitalize}._previous_4rh7w_10{opacity:1;transform:translate(0)}._current_4rh7w_11{opacity:0;transform:translate(100px)}._current_4rh7w_11>span:first-letter{display:block;text-transform:capitalize}._slideOff_4rh7w_44{opacity:0;transform:translate(-100px)}._slideOn_4rh7w_49{opacity:1;transform:translate(0)}._reset_4rh7w_54{opacity:0;transform:translate(100px);transition:none}
|
|
103
103
|
h1,h2,h3,h4,h5,h6,._h1_lse9h_7,._h2_lse9h_8,._h3_lse9h_9,._h4_lse9h_10,._h5_lse9h_11,._h6_lse9h_12{line-height:var(--line-height-tight);color:var(--color-heading)}h1[class*=bg],h2[class*=bg],h3[class*=bg],h4[class*=bg],h5[class*=bg],h6[class*=bg],._h1_lse9h_7[class*=bg],._h2_lse9h_8[class*=bg],._h3_lse9h_9[class*=bg],._h4_lse9h_10[class*=bg],._h5_lse9h_11[class*=bg],._h6_lse9h_12[class*=bg]{padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--radius-md)}h1,._h1_lse9h_7{font-size:var(--font-size-h1);font-weight:var(--font-weight-bold)}h2,._h2_lse9h_8{font-size:var(--font-size-h2);font-weight:var(--font-weight-bold)}h3,._h3_lse9h_9{font-size:var(--font-size-h3);font-weight:var(--font-weight-semibold)}h4,._h4_lse9h_10{font-size:var(--font-size-h4);font-weight:var(--font-weight-semibold)}h5,._h5_lse9h_11{font-size:var(--font-size-h5);font-weight:var(--font-weight-medium)}h6,._h6_lse9h_12{font-size:var(--font-size-h6);font-weight:var(--font-weight-medium)}
|
|
104
104
|
._text_lbugy_1{font-family:inherit;font-size:var(--font-size-md);line-height:var(--line-height-loose);color:var(--color-text-primary)}._text_lbugy_1 p{margin-bottom:var(--spacing-md)}._text_lbugy_1 h1,._text_lbugy_1 h2,._text_lbugy_1 h3,._text_lbugy_1 h4,._text_lbugy_1 h5,._text_lbugy_1 h6{font-weight:var(--font-weight-bold);line-height:var(--line-height-tight);margin-top:var(--spacing-lg);margin-bottom:var(--spacing-sm)}._text_lbugy_1 ul,._text_lbugy_1 ol{padding-left:var(--spacing-lg);margin-bottom:var(--spacing-md)}._text_lbugy_1 ul{list-style-type:disc}._text_lbugy_1 ol{list-style-type:decimal}._text_lbugy_1 li{margin-bottom:var(--spacing-xs)}._text_lbugy_1 a{color:var(--color-primary-100);text-decoration:underline}._text_lbugy_1 a:hover{text-decoration:none}._default_lbugy_55{font-size:1rem}._muted_lbugy_59{color:var(--color-primary-25)}._lead_lbugy_63{font-size:1.25rem;font-weight:500}._small_lbugy_68{font-size:.875rem}
|
|
105
|
-
.
|
|
105
|
+
._wrapper_v1s5j_1{overflow-x:auto}._table_v1s5j_5{width:100%;border-collapse:collapse;font-size:var(--font-size-sm)}th,td{padding:var(--spacing-sm) var(--spacing-md);text-align:left;border-bottom:1px solid var(--color-border);color:var(--color-text-primary)}th{background-color:var(--color-secondary-10);font-weight:var(--font-weight-semibold)}._empty_v1s5j_24{text-align:center;padding:var(--spacing-md);color:var(--color-text-primary)}._clickableRow_v1s5j_30{cursor:pointer}._clickableRow_v1s5j_30:hover{background-color:var(--color-primary-100)}
|
|
106
106
|
._tabs_tu4lq_1{display:flex;flex-direction:column;width:100%}._tabsList_tu4lq_7{display:flex;width:100%;background-color:var(--color-secondary-10);border-radius:calc(var(--radius-md) + 5px);position:relative;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}._tabsList_tu4lq_7::-webkit-scrollbar{display:none}._horizontal_tu4lq_24{flex-direction:column}._horizontal_tu4lq_24 ._tabsPanel_tu4lq_26{padding:var(--spacing-lg) var(--spacing-md)}._vertical_tu4lq_31{flex-direction:row;align-items:flex-start;gap:3rem}._vertical_tu4lq_31 ._tabsList_tu4lq_7{flex-direction:column;overflow-x:visible;flex:.25 0 150px}._vertical_tu4lq_31 ._tabsTrigger_tu4lq_42{white-space:normal;text-align:left}._vertical_tu4lq_31 ._tabsPanelWrapper_tu4lq_47{flex:1;width:100%}@media (max-width: 767px){._vertical_tu4lq_31{flex-direction:column}}._left_tu4lq_58{justify-content:flex-start}._center_tu4lq_62{justify-content:center}._right_tu4lq_66{justify-content:flex-end}._indicator_tu4lq_70{position:absolute;left:0;top:0;border-radius:var(--radius-md);transition:transform .3s ease-in-out,width .3s ease-in-out;z-index:0;border:5px solid var(--color-secondary-10)}._indicator_tu4lq_70:after{content:"";border-radius:var(--radius-md);background-color:var(--color-secondary-100);display:block;position:absolute;width:100%;height:100%}._tabsTrigger_tu4lq_42{padding:var(--spacing-md);border:none;background:none;cursor:pointer;color:var(--color-text-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);transition:color .3s ease;position:relative;z-index:1;white-space:nowrap;text-align:center;width:100%}._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}@media (max-width: 767px){._tabsList_tu4lq_7{flex-direction:column;overflow-x:visible}._tabsTrigger_tu4lq_42{white-space:normal;text-align:left}}._tabsPanelWrapper_tu4lq_47{position:relative;overflow:hidden;height:auto;transition:height .3s ease-in-out}._tabsPanel_tu4lq_26{animation:_fadeSlide_tu4lq_1 .3s ease both;position:relative;width:100%;color:var(--color-text-primary)}@keyframes _fadeSlide_tu4lq_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._default_tu4lq_161{background-color:transparent}._dark_tu4lq_165{background-color:var(--color-tab-background)}._dark_tu4lq_165 ._indicator_tu4lq_70{border:5px solid transparent}._dark_tu4lq_165 ._tabsTrigger_tu4lq_42{color:var(--color-primary-25)}._light_tu4lq_177{background-color:#fff}._light_tu4lq_177 ._indicator_tu4lq_70{border:5px solid transparent}._light_tu4lq_177 ._tabsList_tu4lq_7{background-color:#fff}._light_tu4lq_177 ._tabsTrigger_tu4lq_42{color:var(--color-text-primary)}._light_tu4lq_177 ._tabsTrigger_tu4lq_42:hover{color:var(--color-primary-100)}._light_tu4lq_177 ._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}._transparent_tu4lq_201{background-color:transparent}._transparent_tu4lq_201 ._indicator_tu4lq_70{border:5px solid transparent}._transparent_tu4lq_201 ._tabsList_tu4lq_7{background-color:transparent}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42{color:var(--color-text-primary)}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42:hover{color:var(--color-primary-100)}._transparent_tu4lq_201 ._tabsTrigger_tu4lq_42._active_tu4lq_117{color:#fff}
|
|
107
107
|
._buttonGroup_y8omf_1{display:flex;gap:var(--spacing-md)}._buttonGroup_y8omf_1>*{align-self:center;justify-content:center}._left_y8omf_18{justify-content:flex-start}._center_y8omf_22{justify-content:center}._center_y8omf_22>*{align-self:center;justify-content:center}._right_y8omf_31{justify-content:flex-end}._vertical_y8omf_35{flex-direction:column}._horizontal_y8omf_39{flex-direction:row}@media (max-width: 480px){._buttonGroup_y8omf_1{flex-direction:row;flex-wrap:wrap}}
|
|
108
108
|
._overlay_tvjn5_1{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#00000080;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:1000;animation:_fadeIn_tvjn5_1 .3s ease}._modal_tvjn5_16{position:absolute;background-color:var(--color-background, #fff);border-radius:var(--radius-md, 4px);padding:var(--spacing-md, 1rem);width:min(90%,800px);max-width:100%;animation:_slideUp_tvjn5_1 .3s ease}._trigger_tvjn5_26{width:auto}@media (max-width: 767px){._trigger_tvjn5_26{width:100%}}._closeButton_tvjn5_34{color:var(--color-primary-100);position:absolute;top:var(--spacing-xs);right:var(--spacing-xs);background:none;border:none;cursor:pointer;padding:var(--spacing-sm)}._content_tvjn5_45{margin-top:var(--spacing-lg)}._content_tvjn5_45 video{width:100%;max-width:100%;height:auto;border-radius:var(--radius-md)}@keyframes _fadeIn_tvjn5_1{0%{opacity:0}to{opacity:1}}@keyframes _slideUp_tvjn5_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
|
package/dist/styles.css.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ declare const styles: {
|
|
|
100
100
|
readonly "_children_1c63q_96": string;
|
|
101
101
|
readonly "_circle_u21vc_22": string;
|
|
102
102
|
readonly "_clearSearch_1firg_102": string;
|
|
103
|
-
readonly "
|
|
103
|
+
readonly "_clickableRow_v1s5j_30": string;
|
|
104
104
|
readonly "_clickable_18z15_31": string;
|
|
105
105
|
readonly "_clickable_ti1qi_18": string;
|
|
106
106
|
readonly "_closeButton_1elr1_47": string;
|
|
@@ -203,7 +203,7 @@ declare const styles: {
|
|
|
203
203
|
readonly "_dragging_1mpje_25": string;
|
|
204
204
|
readonly "_drawer_55xty_1": string;
|
|
205
205
|
readonly "_dropZone_1mpje_7": string;
|
|
206
|
-
readonly "
|
|
206
|
+
readonly "_empty_v1s5j_24": string;
|
|
207
207
|
readonly "_enter_1elr1_18": string;
|
|
208
208
|
readonly "_enter_ucye1_15": string;
|
|
209
209
|
readonly "_errorMessage_1wm56_56": string;
|
|
@@ -638,7 +638,7 @@ declare const styles: {
|
|
|
638
638
|
readonly "_tabText_1n4lv_120": string;
|
|
639
639
|
readonly "_tableWrapper_1bbre_98": string;
|
|
640
640
|
readonly "_table_1bbre_98": string;
|
|
641
|
-
readonly "
|
|
641
|
+
readonly "_table_v1s5j_5": string;
|
|
642
642
|
readonly "_tabsContainer_1n4lv_69": string;
|
|
643
643
|
readonly "_tabsList_tu4lq_7": string;
|
|
644
644
|
readonly "_tabsPanelWrapper_tu4lq_47": string;
|
|
@@ -746,7 +746,7 @@ declare const styles: {
|
|
|
746
746
|
readonly "_wrapper_1wm56_1": string;
|
|
747
747
|
readonly "_wrapper_4yxo1_1": string;
|
|
748
748
|
readonly "_wrapper_560ee_1": string;
|
|
749
|
-
readonly "
|
|
749
|
+
readonly "_wrapper_v1s5j_1": string;
|
|
750
750
|
readonly "_wrapper_x8y4v_1": string;
|
|
751
751
|
readonly "_xl_171d6_21": string;
|
|
752
752
|
readonly "_xl_1ihs2_35": string;
|