@oakjs/react-renderer 0.0.0-stage → 4.0.0-alpha.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.
- package/README.md +137 -2
- package/dist/index.cjs +460 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +438 -0
- package/dist/index.js.map +1 -0
- package/dist/oak-renderer.css +5 -0
- package/dist/oak-renderer.css.map +1 -0
- package/dist/server.cjs +331 -0
- package/dist/server.cjs.map +1 -0
- package/dist/server.js +312 -0
- package/dist/server.js.map +1 -0
- package/dist/types/components/Button/index.d.ts +7 -0
- package/dist/types/components/Button/index.d.ts.map +1 -0
- package/dist/types/components/Clickable/index.d.ts +7 -0
- package/dist/types/components/Clickable/index.d.ts.map +1 -0
- package/dist/types/components/Col/index.d.ts +8 -0
- package/dist/types/components/Col/index.d.ts.map +1 -0
- package/dist/types/components/EmptySpace/index.d.ts +7 -0
- package/dist/types/components/EmptySpace/index.d.ts.map +1 -0
- package/dist/types/components/Foldable/index.d.ts +7 -0
- package/dist/types/components/Foldable/index.d.ts.map +1 -0
- package/dist/types/components/HTMLContent.d.ts +14 -0
- package/dist/types/components/HTMLContent.d.ts.map +1 -0
- package/dist/types/components/Image/index.d.ts +7 -0
- package/dist/types/components/Image/index.d.ts.map +1 -0
- package/dist/types/components/Row/index.d.ts +7 -0
- package/dist/types/components/Row/index.d.ts.map +1 -0
- package/dist/types/components/Text/index.d.ts +7 -0
- package/dist/types/components/Text/index.d.ts.map +1 -0
- package/dist/types/components/Title/index.d.ts +7 -0
- package/dist/types/components/Title/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +17 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/server.d.ts +30 -0
- package/dist/types/server.d.ts.map +1 -0
- package/dist/types/types.d.ts +81 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/types/utils.d.ts +62 -0
- package/dist/types/utils.d.ts.map +1 -0
- package/lib/tailwind.css +49 -0
- package/package.json +65 -4
package/dist/index.js
ADDED
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useEffect, useMemo, useRef, useState } from "react";
|
|
3
|
+
import { classNames } from "@junipero/core";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
// lib/utils.ts
|
|
6
|
+
const BREAKPOINTS = [
|
|
7
|
+
"xs",
|
|
8
|
+
"sm",
|
|
9
|
+
"md",
|
|
10
|
+
"lg",
|
|
11
|
+
"xl"
|
|
12
|
+
];
|
|
13
|
+
/**
|
|
14
|
+
* Container widths (in px) at which each breakpoint starts.
|
|
15
|
+
* Responsive rules use container queries (not media queries) so that the
|
|
16
|
+
* content adapts to its container width: this allows builders to preview
|
|
17
|
+
* any screen size without resizing the window.
|
|
18
|
+
*/
|
|
19
|
+
const BREAKPOINT_WIDTHS = {
|
|
20
|
+
xs: 0,
|
|
21
|
+
sm: 576,
|
|
22
|
+
md: 768,
|
|
23
|
+
lg: 992,
|
|
24
|
+
xl: 1200
|
|
25
|
+
};
|
|
26
|
+
const HIDDEN_CLASSES = {
|
|
27
|
+
xs: "oak:@max-[575.98px]:hidden",
|
|
28
|
+
sm: "oak:@min-[576px]:@max-[767.98px]:hidden",
|
|
29
|
+
md: "oak:@min-[768px]:@max-[991.98px]:hidden",
|
|
30
|
+
lg: "oak:@min-[992px]:@max-[1199.98px]:hidden",
|
|
31
|
+
xl: "oak:@min-[1200px]:hidden"
|
|
32
|
+
};
|
|
33
|
+
const COL_VARIANTS = {
|
|
34
|
+
xs: "oak:",
|
|
35
|
+
sm: "oak:@min-[576px]:",
|
|
36
|
+
md: "oak:@min-[768px]:",
|
|
37
|
+
lg: "oak:@min-[992px]:",
|
|
38
|
+
xl: "oak:@min-[1200px]:"
|
|
39
|
+
};
|
|
40
|
+
const COL_VALUES = [
|
|
41
|
+
"fluid",
|
|
42
|
+
"auto",
|
|
43
|
+
"hide",
|
|
44
|
+
...Array.from({ length: 12 }, (_, i) => i + 1)
|
|
45
|
+
];
|
|
46
|
+
const isNumeric = (value) => typeof value === "number" || typeof value === "string" && /^-?\d+(\.\d+)?$/.test(value.trim());
|
|
47
|
+
/**
|
|
48
|
+
* Appends `px` to unitless numeric values, and returns undefined for empty
|
|
49
|
+
* values so they are omitted from the style object.
|
|
50
|
+
*/
|
|
51
|
+
const toCSSUnit = (value) => {
|
|
52
|
+
if (value === void 0 || value === null || value === "") return;
|
|
53
|
+
if (isNumeric(value)) return Number(value) === 0 ? "0" : `${value}px`.replace(/\s/g, "");
|
|
54
|
+
return String(value);
|
|
55
|
+
};
|
|
56
|
+
const SIDES = [
|
|
57
|
+
"Top",
|
|
58
|
+
"Right",
|
|
59
|
+
"Bottom",
|
|
60
|
+
"Left"
|
|
61
|
+
];
|
|
62
|
+
const CORNERS = [
|
|
63
|
+
"TopLeft",
|
|
64
|
+
"TopRight",
|
|
65
|
+
"BottomRight",
|
|
66
|
+
"BottomLeft"
|
|
67
|
+
];
|
|
68
|
+
const assignIfDefined = (target, key, value) => {
|
|
69
|
+
if (value !== void 0 && value !== null && value !== "") target[key] = value;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Converts oak's element styling settings (`element.styles`) into a react
|
|
73
|
+
* style object.
|
|
74
|
+
*/
|
|
75
|
+
const getElementStyle = (styles) => {
|
|
76
|
+
if (!styles || typeof styles !== "object") return {};
|
|
77
|
+
const style = {};
|
|
78
|
+
SIDES.forEach((side) => {
|
|
79
|
+
assignIfDefined(style, `padding${side}`, toCSSUnit(styles[`padding${side}`]));
|
|
80
|
+
assignIfDefined(style, `margin${side}`, toCSSUnit(styles[`margin${side}`]));
|
|
81
|
+
const borderWidth = toCSSUnit(styles[`border${side}`]);
|
|
82
|
+
if (borderWidth) {
|
|
83
|
+
style[`border${side}Width`] = borderWidth;
|
|
84
|
+
style[`border${side}Style`] = styles[`border${side}Style`] || "solid";
|
|
85
|
+
} else assignIfDefined(style, `border${side}Style`, styles[`border${side}Style`]);
|
|
86
|
+
assignIfDefined(style, `border${side}Color`, styles[`border${side}Color`]);
|
|
87
|
+
});
|
|
88
|
+
CORNERS.forEach((corner) => {
|
|
89
|
+
assignIfDefined(style, `border${corner}Radius`, toCSSUnit(styles[`border${corner}Radius`]));
|
|
90
|
+
});
|
|
91
|
+
assignIfDefined(style, "backgroundColor", styles.backgroundColor);
|
|
92
|
+
const backgroundImage = typeof styles.backgroundImage === "string" ? styles.backgroundImage : styles.backgroundImage?.url;
|
|
93
|
+
if (backgroundImage) {
|
|
94
|
+
style.backgroundImage = `url("${String(backgroundImage).replace(/"/g, "\\\"")}")`;
|
|
95
|
+
style.backgroundSize = styles.backgroundSize && styles.backgroundSize !== "default" ? styles.backgroundSize : void 0;
|
|
96
|
+
assignIfDefined(style, "backgroundPosition", styles.backgroundPosition);
|
|
97
|
+
assignIfDefined(style, "backgroundRepeat", styles.backgroundRepeat);
|
|
98
|
+
}
|
|
99
|
+
if ([
|
|
100
|
+
styles.boxShadowX,
|
|
101
|
+
styles.boxShadowY,
|
|
102
|
+
styles.boxShadowBlur,
|
|
103
|
+
styles.boxShadowSpread
|
|
104
|
+
].some((v) => v !== void 0 && v !== null && v !== "")) style.boxShadow = [
|
|
105
|
+
toCSSUnit(styles.boxShadowX) || "0",
|
|
106
|
+
toCSSUnit(styles.boxShadowY) || "0",
|
|
107
|
+
toCSSUnit(styles.boxShadowBlur) || "0",
|
|
108
|
+
toCSSUnit(styles.boxShadowSpread) || "0",
|
|
109
|
+
styles.boxShadowColor || "rgba(0, 0, 0, 0.25)"
|
|
110
|
+
].join(" ");
|
|
111
|
+
Object.keys(style).forEach((k) => style[k] === void 0 && delete style[k]);
|
|
112
|
+
return style;
|
|
113
|
+
};
|
|
114
|
+
const toKebabCase = (str) => str.replace(/[A-Z]/g, (m) => "-" + m.toLowerCase());
|
|
115
|
+
const escapeAttribute = (value) => String(value).replace(/["\\]/g, "\\$&");
|
|
116
|
+
/**
|
|
117
|
+
* Generates the css rules for interactive states (hover, active) that cannot
|
|
118
|
+
* be expressed through inline styles.
|
|
119
|
+
*/
|
|
120
|
+
const getElementStatesCSS = (element, { dark = false } = {}) => {
|
|
121
|
+
const rules = [];
|
|
122
|
+
["hover", "active"].forEach((state) => {
|
|
123
|
+
const style = {
|
|
124
|
+
...getElementStyle(element.styles?.[state]),
|
|
125
|
+
...dark && getElementStyle(element.styles?.dark?.[state])
|
|
126
|
+
};
|
|
127
|
+
const declarations = Object.entries(style).map(([k, v]) => `${toKebabCase(k)}:${v} !important`).join(";");
|
|
128
|
+
if (declarations) rules.push(`[data-oak-id="${escapeAttribute(String(element.id))}"]:${state}{${declarations}}`);
|
|
129
|
+
});
|
|
130
|
+
return rules.join("");
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Returns classes hiding the element on the breakpoints where it was set as
|
|
134
|
+
* hidden (`element.responsive[breakpoint] === 'hide'`).
|
|
135
|
+
*/
|
|
136
|
+
const getVisibilityClasses = (element) => classNames(BREAKPOINTS.filter((bp) => element.responsive?.[bp] === "hide").map((bp) => HIDDEN_CLASSES[bp]));
|
|
137
|
+
/**
|
|
138
|
+
* Returns the size classes of a column, for every breakpoint.
|
|
139
|
+
* The base size (`element.size`) is used for every breakpoint that doesn't
|
|
140
|
+
* declare a specific size in `element.responsive`.
|
|
141
|
+
*/
|
|
142
|
+
const getColClasses = (element) => {
|
|
143
|
+
const base = COL_VALUES.includes(element.size) ? element.size : "fluid";
|
|
144
|
+
const classes = [];
|
|
145
|
+
let previous = null;
|
|
146
|
+
BREAKPOINTS.forEach((bp) => {
|
|
147
|
+
const value = COL_VALUES.includes(element.responsive?.[bp]) ? element.responsive[bp] : base;
|
|
148
|
+
if (value !== previous) {
|
|
149
|
+
classes.push(`${COL_VARIANTS[bp]}colsize-${value}`);
|
|
150
|
+
previous = value;
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
return classNames(classes);
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Merges additional attributes into the attributes given by the renderer,
|
|
157
|
+
* concatenating classNames & merging styles.
|
|
158
|
+
*/
|
|
159
|
+
const mergeAttributes = (attributes, ...others) => others.reduce((res, other) => {
|
|
160
|
+
if (!other) return res;
|
|
161
|
+
return {
|
|
162
|
+
...res,
|
|
163
|
+
...other,
|
|
164
|
+
className: classNames(res.className, other.className) || void 0,
|
|
165
|
+
style: {
|
|
166
|
+
...other.style,
|
|
167
|
+
...res.style
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
}, { ...attributes });
|
|
171
|
+
/**
|
|
172
|
+
* DOM event dispatched (bubbling) by builders on an element that is hidden
|
|
173
|
+
* by one of its ancestors (e.g. inside a collapsed foldable) and needs to be
|
|
174
|
+
* displayed. Components hiding their children should listen to it on their
|
|
175
|
+
* root node and display the section containing `event.target`.
|
|
176
|
+
*/
|
|
177
|
+
const REVEAL_EVENT = "oak:reveal";
|
|
178
|
+
/**
|
|
179
|
+
* Attributes to put on the DOM node that directly wraps a list of child
|
|
180
|
+
* elements. Builders rely on them to know where elements can be dropped.
|
|
181
|
+
*/
|
|
182
|
+
const containerAttributes = (key) => ({ "data-oak-container": key });
|
|
183
|
+
/**
|
|
184
|
+
* Computes the attributes every rendered element should receive (see
|
|
185
|
+
* `RendererComponentProps.attributes`): data attributes, className (custom
|
|
186
|
+
* class & responsive visibility), style (from styling settings), dir & role.
|
|
187
|
+
*/
|
|
188
|
+
const getElementAttributes = (element, component, { dark = false } = {}) => {
|
|
189
|
+
const style = {
|
|
190
|
+
...getElementStyle(element?.styles),
|
|
191
|
+
...dark && getElementStyle(element?.styles?.dark)
|
|
192
|
+
};
|
|
193
|
+
return {
|
|
194
|
+
"data-oak-id": element?.id !== void 0 ? String(element.id) : void 0,
|
|
195
|
+
"data-oak-type": element?.type,
|
|
196
|
+
className: classNames(element?.settings?.className, dark && element?.settings?.dark?.className, !component?.oakHandlesResponsive && getVisibilityClasses(element)) || void 0,
|
|
197
|
+
...element?.settings?.dir && { dir: element.settings.dir },
|
|
198
|
+
...element?.settings?.role && { role: element.settings.role },
|
|
199
|
+
...Object.keys(style).length > 0 && { style }
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
// lib/components/HTMLContent.tsx
|
|
203
|
+
/**
|
|
204
|
+
* Renders a raw html string (usually coming from a rich text field), using
|
|
205
|
+
* the given sanitizer if any.
|
|
206
|
+
*/
|
|
207
|
+
const HTMLContent = ({ tag: Tag = "div", html, sanitizeHTML, ...rest }) => {
|
|
208
|
+
const content = useMemo(() => sanitizeHTML ? sanitizeHTML(html || "") : html || "", [html, sanitizeHTML]);
|
|
209
|
+
return /* @__PURE__ */ jsx(Tag, {
|
|
210
|
+
...rest,
|
|
211
|
+
dangerouslySetInnerHTML: { __html: content }
|
|
212
|
+
});
|
|
213
|
+
};
|
|
214
|
+
HTMLContent.displayName = "HTMLContent";
|
|
215
|
+
// lib/components/Button/index.tsx
|
|
216
|
+
const Button = ({ element, attributes, sanitizeHTML, onEvent, dark }) => {
|
|
217
|
+
const [hovered, setHovered] = useState(false);
|
|
218
|
+
const [active, setActive] = useState(false);
|
|
219
|
+
const isLink = (element.action || "link") === "link";
|
|
220
|
+
const settings = dark ? {
|
|
221
|
+
...element.settings,
|
|
222
|
+
...element.settings?.dark
|
|
223
|
+
} : element.settings;
|
|
224
|
+
const hasStateClasses = settings?.hoverClassName || settings?.activeClassName;
|
|
225
|
+
const onClick = (e) => {
|
|
226
|
+
if (isLink) return;
|
|
227
|
+
e.preventDefault();
|
|
228
|
+
onEvent?.(element.event, element);
|
|
229
|
+
};
|
|
230
|
+
return /* @__PURE__ */ jsx(HTMLContent, {
|
|
231
|
+
...mergeAttributes(attributes, { className: classNames("oak:inline-flex oak:items-center oak:justify-center", "oak:cursor-pointer oak:no-underline", (element.settings?.buttonType || "button") === "button" ? classNames("oak:px-5 oak:py-2 oak:rounded oak:border-0", dark ? "oak:bg-white oak:text-[#1A1A1A]" : "oak:bg-[#1A1A1A] oak:text-white") : "oak:underline oak:bg-transparent oak:border-0 oak:p-0", hovered && settings?.hoverClassName, active && settings?.activeClassName) }),
|
|
232
|
+
tag: isLink ? "a" : "button",
|
|
233
|
+
...isLink ? {
|
|
234
|
+
href: element.url || void 0,
|
|
235
|
+
target: element.target || void 0,
|
|
236
|
+
rel: element.target === "_blank" ? "noopener noreferrer" : void 0
|
|
237
|
+
} : { type: "button" },
|
|
238
|
+
...hasStateClasses && {
|
|
239
|
+
onMouseEnter: () => setHovered(true),
|
|
240
|
+
onMouseLeave: () => {
|
|
241
|
+
setHovered(false);
|
|
242
|
+
setActive(false);
|
|
243
|
+
},
|
|
244
|
+
onMouseDown: () => setActive(true),
|
|
245
|
+
onMouseUp: () => setActive(false)
|
|
246
|
+
},
|
|
247
|
+
onClick,
|
|
248
|
+
html: element.content,
|
|
249
|
+
sanitizeHTML
|
|
250
|
+
});
|
|
251
|
+
};
|
|
252
|
+
Button.displayName = "ButtonRenderer";
|
|
253
|
+
// lib/components/Clickable/index.tsx
|
|
254
|
+
const Clickable = ({ element, attributes, renderContainer, onEvent }) => {
|
|
255
|
+
const isLink = (element.action || "link") === "link";
|
|
256
|
+
const children = renderContainer("content");
|
|
257
|
+
const attrs = {
|
|
258
|
+
...mergeAttributes(attributes, {
|
|
259
|
+
className: "oak:block oak:cursor-pointer oak:no-underline",
|
|
260
|
+
style: { color: "inherit" }
|
|
261
|
+
}),
|
|
262
|
+
...containerAttributes("content")
|
|
263
|
+
};
|
|
264
|
+
if (isLink) return /* @__PURE__ */ jsx("a", {
|
|
265
|
+
...attrs,
|
|
266
|
+
href: element.url || void 0,
|
|
267
|
+
target: element.target || void 0,
|
|
268
|
+
rel: element.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
269
|
+
children
|
|
270
|
+
});
|
|
271
|
+
const onClick = (e) => {
|
|
272
|
+
e.preventDefault();
|
|
273
|
+
onEvent?.(element.event, element);
|
|
274
|
+
};
|
|
275
|
+
return /* @__PURE__ */ jsx("div", {
|
|
276
|
+
role: "button",
|
|
277
|
+
tabIndex: 0,
|
|
278
|
+
...attrs,
|
|
279
|
+
onClick,
|
|
280
|
+
children
|
|
281
|
+
});
|
|
282
|
+
};
|
|
283
|
+
Clickable.displayName = "ClickableRenderer";
|
|
284
|
+
// lib/components/Col/index.tsx
|
|
285
|
+
const Col = ({ element, attributes, renderContainer }) => /* @__PURE__ */ jsx("div", {
|
|
286
|
+
...mergeAttributes(attributes, { className: getColClasses(element) }),
|
|
287
|
+
...containerAttributes("content"),
|
|
288
|
+
children: renderContainer("content")
|
|
289
|
+
});
|
|
290
|
+
Col.displayName = "ColRenderer";
|
|
291
|
+
Col.oakHandlesResponsive = true;
|
|
292
|
+
// lib/components/EmptySpace/index.tsx
|
|
293
|
+
const EmptySpace = ({ element, attributes }) => /* @__PURE__ */ jsx("div", { ...mergeAttributes(attributes, { style: { height: toCSSUnit(element.settings?.height) || "32px" } }) });
|
|
294
|
+
EmptySpace.displayName = "EmptySpaceRenderer";
|
|
295
|
+
// lib/components/Foldable/index.tsx
|
|
296
|
+
/**
|
|
297
|
+
* Collapsed by default: displays the "see more" label, and its content (+ the
|
|
298
|
+
* "see less" label) once clicked. Every section is always rendered (inactive
|
|
299
|
+
* ones are `hidden`), so that hidden elements can be revealed (see
|
|
300
|
+
* `REVEAL_EVENT`).
|
|
301
|
+
*/
|
|
302
|
+
const Foldable = ({ element, attributes, renderContainer }) => {
|
|
303
|
+
const innerRef = useRef(null);
|
|
304
|
+
const seeMoreRef = useRef(null);
|
|
305
|
+
const [opened, setOpened] = useState(false);
|
|
306
|
+
const position = element.settings?.seeMorePosition || "after";
|
|
307
|
+
useEffect(() => {
|
|
308
|
+
const el = innerRef.current;
|
|
309
|
+
const onReveal = (e) => {
|
|
310
|
+
setOpened(!seeMoreRef.current?.contains(e.target));
|
|
311
|
+
};
|
|
312
|
+
el?.addEventListener(REVEAL_EVENT, onReveal);
|
|
313
|
+
return () => el?.removeEventListener(REVEAL_EVENT, onReveal);
|
|
314
|
+
}, []);
|
|
315
|
+
const toggle = () => setOpened((o) => !o);
|
|
316
|
+
const onKeyDown = (e) => {
|
|
317
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
318
|
+
e.preventDefault();
|
|
319
|
+
toggle();
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
const toggles = ["seeMore", "seeLess"].map((key) => /* @__PURE__ */ jsx("div", {
|
|
323
|
+
ref: key === "seeMore" ? seeMoreRef : void 0,
|
|
324
|
+
role: "button",
|
|
325
|
+
tabIndex: 0,
|
|
326
|
+
"aria-expanded": opened,
|
|
327
|
+
hidden: key === "seeMore" ? opened : !opened,
|
|
328
|
+
className: "oak:cursor-pointer",
|
|
329
|
+
onClick: toggle,
|
|
330
|
+
onKeyDown,
|
|
331
|
+
...containerAttributes(key),
|
|
332
|
+
children: renderContainer(key)
|
|
333
|
+
}, key));
|
|
334
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
335
|
+
ref: innerRef,
|
|
336
|
+
...attributes,
|
|
337
|
+
children: [
|
|
338
|
+
position === "before" && toggles,
|
|
339
|
+
/* @__PURE__ */ jsx("div", {
|
|
340
|
+
hidden: !opened,
|
|
341
|
+
...containerAttributes("content"),
|
|
342
|
+
children: renderContainer("content")
|
|
343
|
+
}),
|
|
344
|
+
position !== "before" && toggles
|
|
345
|
+
]
|
|
346
|
+
});
|
|
347
|
+
};
|
|
348
|
+
Foldable.displayName = "FoldableRenderer";
|
|
349
|
+
// lib/components/Image/index.tsx
|
|
350
|
+
const Image = ({ element, attributes, editing, dark }) => {
|
|
351
|
+
const size = element.settings?.size || "auto";
|
|
352
|
+
const imageStyle = size === "custom" ? {
|
|
353
|
+
width: toCSSUnit(element.settings?.width),
|
|
354
|
+
height: toCSSUnit(element.settings?.height),
|
|
355
|
+
maxWidth: "100%"
|
|
356
|
+
} : size === "full" ? { maxWidth: "none" } : {
|
|
357
|
+
maxWidth: "100%",
|
|
358
|
+
height: "auto"
|
|
359
|
+
};
|
|
360
|
+
return /* @__PURE__ */ jsx("div", {
|
|
361
|
+
...mergeAttributes(attributes, { style: { textAlign: element.settings?.textAlign || "left" } }),
|
|
362
|
+
children: element.url ? /* @__PURE__ */ jsx("img", {
|
|
363
|
+
className: "oak:inline-block oak:align-middle",
|
|
364
|
+
src: element.url,
|
|
365
|
+
alt: element.settings?.alt || "",
|
|
366
|
+
title: element.settings?.description || void 0,
|
|
367
|
+
style: imageStyle,
|
|
368
|
+
draggable: editing ? false : void 0
|
|
369
|
+
}) : editing ? /* @__PURE__ */ jsx("div", {
|
|
370
|
+
className: "oak:inline-flex oak:items-center oak:justify-center oak:w-full oak:h-32 oak:text-sm " + (dark ? "oak:bg-[#262626] oak:text-[#9097A3]" : "oak:bg-[#F3F3F3] oak:text-[#6B778C]"),
|
|
371
|
+
children: "No image"
|
|
372
|
+
}) : null
|
|
373
|
+
});
|
|
374
|
+
};
|
|
375
|
+
Image.displayName = "ImageRenderer";
|
|
376
|
+
// lib/components/Row/index.tsx
|
|
377
|
+
const Row = ({ element, attributes, renderContainer }) => {
|
|
378
|
+
const gap = toCSSUnit(element.settings?.gap);
|
|
379
|
+
const direction = element.settings?.flexDirection || "row";
|
|
380
|
+
return /* @__PURE__ */ jsx("div", {
|
|
381
|
+
...mergeAttributes(attributes, {
|
|
382
|
+
className: "oak:flex oak:flex-wrap oak:w-full",
|
|
383
|
+
style: {
|
|
384
|
+
flexDirection: direction,
|
|
385
|
+
justifyContent: element.settings?.justifyContent,
|
|
386
|
+
alignItems: element.settings?.alignItems || (/column/.test(direction) ? "stretch" : "flex-start"),
|
|
387
|
+
...gap && {
|
|
388
|
+
gap,
|
|
389
|
+
["--oak-col-gap"]: gap
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}),
|
|
393
|
+
...containerAttributes("cols"),
|
|
394
|
+
children: renderContainer("cols")
|
|
395
|
+
});
|
|
396
|
+
};
|
|
397
|
+
Row.displayName = "RowRenderer";
|
|
398
|
+
// lib/components/Text/index.tsx
|
|
399
|
+
const Text = ({ element, attributes, sanitizeHTML }) => /* @__PURE__ */ jsx(HTMLContent, {
|
|
400
|
+
...attributes,
|
|
401
|
+
html: element.content,
|
|
402
|
+
sanitizeHTML
|
|
403
|
+
});
|
|
404
|
+
Text.displayName = "TextRenderer";
|
|
405
|
+
// lib/components/Title/index.tsx
|
|
406
|
+
const HEADINGS = [
|
|
407
|
+
"h1",
|
|
408
|
+
"h2",
|
|
409
|
+
"h3",
|
|
410
|
+
"h4",
|
|
411
|
+
"h5",
|
|
412
|
+
"h6"
|
|
413
|
+
];
|
|
414
|
+
const Title = ({ element, attributes, sanitizeHTML }) => /* @__PURE__ */ jsx(HTMLContent, {
|
|
415
|
+
...attributes,
|
|
416
|
+
tag: HEADINGS.includes(element.headingLevel) ? element.headingLevel : "h1",
|
|
417
|
+
html: element.content,
|
|
418
|
+
sanitizeHTML
|
|
419
|
+
});
|
|
420
|
+
Title.displayName = "TitleRenderer";
|
|
421
|
+
// lib/components/index.ts
|
|
422
|
+
/**
|
|
423
|
+
* Renderers for oak's base components, keyed by component id
|
|
424
|
+
*/
|
|
425
|
+
const baseComponents = () => ({
|
|
426
|
+
row: Row,
|
|
427
|
+
col: Col,
|
|
428
|
+
"empty-space": EmptySpace,
|
|
429
|
+
title: Title,
|
|
430
|
+
text: Text,
|
|
431
|
+
image: Image,
|
|
432
|
+
button: Button,
|
|
433
|
+
foldable: Foldable,
|
|
434
|
+
clickable: Clickable
|
|
435
|
+
});
|
|
436
|
+
export { BREAKPOINTS, BREAKPOINT_WIDTHS, Button, Clickable, Col, EmptySpace, Foldable, HTMLContent, Image, REVEAL_EVENT, Row, Text, Title, baseComponents, containerAttributes, getColClasses, getElementAttributes, getElementStatesCSS, getElementStyle, getVisibilityClasses, mergeAttributes, toCSSUnit };
|
|
437
|
+
|
|
438
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../lib/utils.ts","../lib/components/HTMLContent.tsx","../lib/components/Button/index.tsx","../lib/components/Clickable/index.tsx","../lib/components/Col/index.tsx","../lib/components/EmptySpace/index.tsx","../lib/components/Foldable/index.tsx","../lib/components/Image/index.tsx","../lib/components/Row/index.tsx","../lib/components/Text/index.tsx","../lib/components/Title/index.tsx","../lib/components/index.ts"],"sourcesContent":["import type { CSSProperties } from 'react';\nimport { classNames } from '@junipero/core';\n\nimport type {\n Breakpoint,\n ElementObject,\n ElementAttributes,\n ElementRenderOptions,\n ElementStyles,\n RendererComponent,\n} from './types';\n\nexport const BREAKPOINTS: Breakpoint[] = ['xs', 'sm', 'md', 'lg', 'xl'];\n\n/**\n * Container widths (in px) at which each breakpoint starts.\n * Responsive rules use container queries (not media queries) so that the\n * content adapts to its container width: this allows builders to preview\n * any screen size without resizing the window.\n */\nexport const BREAKPOINT_WIDTHS: Record<Breakpoint, number> = {\n xs: 0,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n};\n\n// Class names must be written in full so that tailwind can find them\nconst HIDDEN_CLASSES: Record<Breakpoint, string> = {\n xs: 'oak:@max-[575.98px]:hidden',\n sm: 'oak:@min-[576px]:@max-[767.98px]:hidden',\n md: 'oak:@min-[768px]:@max-[991.98px]:hidden',\n lg: 'oak:@min-[992px]:@max-[1199.98px]:hidden',\n xl: 'oak:@min-[1200px]:hidden',\n};\n\n// Generated through @source inline() in tailwind.css\nconst COL_VARIANTS: Record<Breakpoint, string> = {\n xs: 'oak:',\n sm: 'oak:@min-[576px]:',\n md: 'oak:@min-[768px]:',\n lg: 'oak:@min-[992px]:',\n xl: 'oak:@min-[1200px]:',\n};\n\nconst COL_VALUES = [\n 'fluid', 'auto', 'hide', ...Array.from({ length: 12 }, (_, i) => i + 1),\n];\n\nconst isNumeric = (value: unknown) =>\n typeof value === 'number' ||\n (typeof value === 'string' && /^-?\\d+(\\.\\d+)?$/.test(value.trim()));\n\n/**\n * Appends `px` to unitless numeric values, and returns undefined for empty\n * values so they are omitted from the style object.\n */\nexport const toCSSUnit = (value: unknown): string | undefined => {\n if (value === undefined || value === null || value === '') {\n return undefined;\n }\n\n if (isNumeric(value)) {\n return Number(value) === 0 ? '0' : `${value}px`.replace(/\\s/g, '');\n }\n\n return String(value);\n};\n\nconst SIDES = ['Top', 'Right', 'Bottom', 'Left'] as const;\nconst CORNERS = ['TopLeft', 'TopRight', 'BottomRight', 'BottomLeft'] as const;\n\nconst assignIfDefined = (\n target: Record<string, any>,\n key: string,\n value: unknown,\n) => {\n if (value !== undefined && value !== null && value !== '') {\n target[key] = value;\n }\n};\n\n/**\n * Converts oak's element styling settings (`element.styles`) into a react\n * style object.\n */\nexport const getElementStyle = (styles?: ElementStyles): CSSProperties => {\n if (!styles || typeof styles !== 'object') {\n return {};\n }\n\n const style: Record<string, any> = {};\n\n SIDES.forEach(side => {\n assignIfDefined(style, `padding${side}`, toCSSUnit(styles[`padding${side}`]));\n assignIfDefined(style, `margin${side}`, toCSSUnit(styles[`margin${side}`]));\n\n const borderWidth = toCSSUnit(styles[`border${side}`]);\n\n if (borderWidth) {\n style[`border${side}Width`] = borderWidth;\n // A border width without style would be invisible\n style[`border${side}Style`] = styles[`border${side}Style`] || 'solid';\n } else {\n assignIfDefined(style, `border${side}Style`, styles[`border${side}Style`]);\n }\n\n assignIfDefined(style, `border${side}Color`, styles[`border${side}Color`]);\n });\n\n CORNERS.forEach(corner => {\n assignIfDefined(\n style,\n `border${corner}Radius`,\n toCSSUnit(styles[`border${corner}Radius`]),\n );\n });\n\n assignIfDefined(style, 'backgroundColor', styles.backgroundColor);\n\n const backgroundImage = typeof styles.backgroundImage === 'string'\n ? styles.backgroundImage\n : styles.backgroundImage?.url;\n\n if (backgroundImage) {\n style.backgroundImage = `url(\"${String(backgroundImage)\n .replace(/\"/g, '\\\\\"')}\")`;\n style.backgroundSize = styles.backgroundSize &&\n styles.backgroundSize !== 'default' ? styles.backgroundSize : undefined;\n assignIfDefined(style, 'backgroundPosition', styles.backgroundPosition);\n assignIfDefined(style, 'backgroundRepeat', styles.backgroundRepeat);\n }\n\n if (\n [\n styles.boxShadowX, styles.boxShadowY,\n styles.boxShadowBlur, styles.boxShadowSpread,\n ].some(v => v !== undefined && v !== null && v !== '')\n ) {\n style.boxShadow = [\n toCSSUnit(styles.boxShadowX) || '0',\n toCSSUnit(styles.boxShadowY) || '0',\n toCSSUnit(styles.boxShadowBlur) || '0',\n toCSSUnit(styles.boxShadowSpread) || '0',\n styles.boxShadowColor || 'rgba(0, 0, 0, 0.25)',\n ].join(' ');\n }\n\n Object.keys(style).forEach(k => style[k] === undefined && delete style[k]);\n\n return style;\n};\n\nconst toKebabCase = (str: string) =>\n str.replace(/[A-Z]/g, m => '-' + m.toLowerCase());\n\nconst escapeAttribute = (value: string) =>\n String(value).replace(/[\"\\\\]/g, '\\\\$&');\n\n/**\n * Generates the css rules for interactive states (hover, active) that cannot\n * be expressed through inline styles.\n */\nexport const getElementStatesCSS = (\n element: ElementObject,\n { dark = false }: ElementRenderOptions = {},\n): string => {\n const rules: string[] = [];\n\n (['hover', 'active'] as const).forEach(state => {\n const style = {\n ...getElementStyle(element.styles?.[state]),\n ...dark && getElementStyle(element.styles?.dark?.[state]),\n };\n const declarations = Object.entries(style)\n .map(([k, v]) => `${toKebabCase(k)}:${v} !important`)\n .join(';');\n\n if (declarations) {\n rules.push(\n `[data-oak-id=\"${escapeAttribute(String(element.id))}\"]:${state}` +\n `{${declarations}}`\n );\n }\n });\n\n return rules.join('');\n};\n\n/**\n * Returns classes hiding the element on the breakpoints where it was set as\n * hidden (`element.responsive[breakpoint] === 'hide'`).\n */\nexport const getVisibilityClasses = (element: ElementObject): string =>\n classNames(\n BREAKPOINTS\n .filter(bp => element.responsive?.[bp] === 'hide')\n .map(bp => HIDDEN_CLASSES[bp])\n );\n\n/**\n * Returns the size classes of a column, for every breakpoint.\n * The base size (`element.size`) is used for every breakpoint that doesn't\n * declare a specific size in `element.responsive`.\n */\nexport const getColClasses = (element: ElementObject): string => {\n const base = COL_VALUES.includes(element.size) ? element.size : 'fluid';\n const classes: string[] = [];\n let previous: string | number = null;\n\n BREAKPOINTS.forEach(bp => {\n const value = COL_VALUES.includes(element.responsive?.[bp])\n ? element.responsive[bp]\n : base;\n\n if (value !== previous) {\n classes.push(`${COL_VARIANTS[bp]}colsize-${value}`);\n previous = value;\n }\n });\n\n return classNames(classes);\n};\n\n/**\n * Merges additional attributes into the attributes given by the renderer,\n * concatenating classNames & merging styles.\n */\nexport const mergeAttributes = (\n attributes: ElementAttributes,\n ...others: (ElementAttributes | null | undefined | false)[]\n): ElementAttributes =>\n others.reduce<ElementAttributes>((res, other) => {\n if (!other) {\n return res;\n }\n\n return {\n ...res,\n ...other,\n className: classNames(res.className, other.className) || undefined,\n style: { ...other.style, ...res.style },\n };\n }, { ...attributes });\n\n/**\n * DOM event dispatched (bubbling) by builders on an element that is hidden\n * by one of its ancestors (e.g. inside a collapsed foldable) and needs to be\n * displayed. Components hiding their children should listen to it on their\n * root node and display the section containing `event.target`.\n */\nexport const REVEAL_EVENT = 'oak:reveal';\n\n/**\n * Attributes to put on the DOM node that directly wraps a list of child\n * elements. Builders rely on them to know where elements can be dropped.\n */\nexport const containerAttributes = (key: string) => ({\n 'data-oak-container': key,\n});\n\n/**\n * Computes the attributes every rendered element should receive (see\n * `RendererComponentProps.attributes`): data attributes, className (custom\n * class & responsive visibility), style (from styling settings), dir & role.\n */\nexport const getElementAttributes = (\n element: ElementObject,\n component?: RendererComponent,\n { dark = false }: ElementRenderOptions = {},\n): ElementAttributes => {\n const style = {\n ...getElementStyle(element?.styles),\n ...dark && getElementStyle(element?.styles?.dark),\n };\n\n return {\n 'data-oak-id': element?.id !== undefined ? String(element.id) : undefined,\n 'data-oak-type': element?.type,\n className: classNames(\n element?.settings?.className,\n dark && element?.settings?.dark?.className,\n !component?.oakHandlesResponsive && getVisibilityClasses(element),\n ) || undefined,\n ...element?.settings?.dir && { dir: element.settings.dir },\n ...element?.settings?.role && { role: element.settings.role },\n ...Object.keys(style).length > 0 && { style },\n };\n};\n","import { type ElementType, type HTMLAttributes, useMemo } from 'react';\n\nimport type { SanitizeHTMLCallback } from '../types';\n\nexport declare interface HTMLContentProps extends HTMLAttributes<HTMLElement> {\n tag?: ElementType;\n html: string;\n sanitizeHTML?: SanitizeHTMLCallback;\n [key: string]: any;\n}\n\n/**\n * Renders a raw html string (usually coming from a rich text field), using\n * the given sanitizer if any.\n */\nconst HTMLContent = ({\n tag: Tag = 'div',\n html,\n sanitizeHTML,\n ...rest\n}: HTMLContentProps) => {\n const content = useMemo(() => (\n sanitizeHTML ? sanitizeHTML(html || '') : html || ''\n ), [html, sanitizeHTML]);\n\n return <Tag { ...rest } dangerouslySetInnerHTML={{ __html: content }} />;\n};\n\nHTMLContent.displayName = 'HTMLContent';\n\nexport default HTMLContent;\n","import { type MouseEvent, useState } from 'react';\nimport { classNames } from '@junipero/core';\n\nimport type { RendererComponentProps } from '../../types';\nimport { mergeAttributes } from '../../utils';\nimport HTMLContent from '../HTMLContent';\n\nconst Button = ({\n element,\n attributes,\n sanitizeHTML,\n onEvent,\n dark,\n}: RendererComponentProps) => {\n const [hovered, setHovered] = useState(false);\n const [active, setActive] = useState(false);\n const isLink = (element.action || 'link') === 'link';\n const settings = dark\n ? { ...element.settings, ...element.settings?.dark }\n : element.settings;\n const hasStateClasses = settings?.hoverClassName ||\n settings?.activeClassName;\n\n const onClick = (e: MouseEvent<HTMLElement>) => {\n if (isLink) {\n return;\n }\n\n e.preventDefault();\n onEvent?.(element.event, element);\n };\n\n return (\n <HTMLContent\n { ...mergeAttributes(attributes, {\n className: classNames(\n 'oak:inline-flex oak:items-center oak:justify-center',\n 'oak:cursor-pointer oak:no-underline',\n (element.settings?.buttonType || 'button') === 'button'\n ? classNames(\n 'oak:px-5 oak:py-2 oak:rounded oak:border-0',\n dark\n ? 'oak:bg-white oak:text-[#1A1A1A]'\n : 'oak:bg-[#1A1A1A] oak:text-white',\n )\n : 'oak:underline oak:bg-transparent oak:border-0 oak:p-0',\n hovered && settings?.hoverClassName,\n active && settings?.activeClassName,\n ),\n }) }\n tag={isLink ? 'a' : 'button'}\n { ...isLink ? {\n href: element.url || undefined,\n target: element.target || undefined,\n rel: element.target === '_blank' ? 'noopener noreferrer' : undefined,\n } : { type: 'button' } }\n { ...hasStateClasses && {\n onMouseEnter: () => setHovered(true),\n onMouseLeave: () => { setHovered(false); setActive(false); },\n onMouseDown: () => setActive(true),\n onMouseUp: () => setActive(false),\n } }\n onClick={onClick}\n html={element.content as string}\n sanitizeHTML={sanitizeHTML}\n />\n );\n};\n\nButton.displayName = 'ButtonRenderer';\n\nexport default Button;\n","import type { MouseEvent } from 'react';\n\nimport type { RendererComponentProps } from '../../types';\nimport { containerAttributes, mergeAttributes } from '../../utils';\n\nconst Clickable = ({\n element,\n attributes,\n renderContainer,\n onEvent,\n}: RendererComponentProps) => {\n const isLink = (element.action || 'link') === 'link';\n const children = renderContainer('content');\n const attrs = {\n ...mergeAttributes(attributes, {\n className: 'oak:block oak:cursor-pointer oak:no-underline',\n style: { color: 'inherit' },\n }),\n ...containerAttributes('content'),\n };\n\n if (isLink) {\n return (\n <a\n { ...attrs }\n href={element.url || undefined}\n target={element.target || undefined}\n rel={element.target === '_blank' ? 'noopener noreferrer' : undefined}\n >\n { children }\n </a>\n );\n }\n\n const onClick = (e: MouseEvent<HTMLDivElement>) => {\n e.preventDefault();\n onEvent?.(element.event, element);\n };\n\n return (\n <div role=\"button\" tabIndex={0} { ...attrs } onClick={onClick}>\n { children }\n </div>\n );\n};\n\nClickable.displayName = 'ClickableRenderer';\n\nexport default Clickable;\n","import type { RendererComponentProps } from '../../types';\nimport {\n containerAttributes,\n getColClasses,\n mergeAttributes,\n} from '../../utils';\n\nconst Col = ({ element, attributes, renderContainer }: RendererComponentProps) => (\n <div\n { ...mergeAttributes(attributes, {\n className: getColClasses(element),\n }) }\n { ...containerAttributes('content') }\n >\n { renderContainer('content') }\n </div>\n);\n\nCol.displayName = 'ColRenderer';\nCol.oakHandlesResponsive = true;\n\nexport default Col;\n","import type { RendererComponentProps } from '../../types';\nimport { mergeAttributes, toCSSUnit } from '../../utils';\n\nconst EmptySpace = ({ element, attributes }: RendererComponentProps) => (\n <div\n { ...mergeAttributes(attributes, {\n style: { height: toCSSUnit(element.settings?.height) || '32px' },\n }) }\n />\n);\n\nEmptySpace.displayName = 'EmptySpaceRenderer';\n\nexport default EmptySpace;\n","import { type KeyboardEvent, useEffect, useRef, useState } from 'react';\n\nimport type { RendererComponentProps } from '../../types';\nimport { REVEAL_EVENT, containerAttributes } from '../../utils';\n\n/**\n * Collapsed by default: displays the \"see more\" label, and its content (+ the\n * \"see less\" label) once clicked. Every section is always rendered (inactive\n * ones are `hidden`), so that hidden elements can be revealed (see\n * `REVEAL_EVENT`).\n */\nconst Foldable = ({\n element,\n attributes,\n renderContainer,\n}: RendererComponentProps) => {\n const innerRef = useRef<HTMLDivElement>(null);\n const seeMoreRef = useRef<HTMLDivElement>(null);\n const [opened, setOpened] = useState(false);\n const position = element.settings?.seeMorePosition || 'after';\n\n // Open (or close) to display a hidden descendant asking to be revealed\n useEffect(() => {\n const el = innerRef.current;\n\n const onReveal = (e: Event) => {\n setOpened(!seeMoreRef.current?.contains(e.target as Node));\n };\n\n el?.addEventListener(REVEAL_EVENT, onReveal);\n\n return () => el?.removeEventListener(REVEAL_EVENT, onReveal);\n }, []);\n\n const toggle = () => setOpened(o => !o);\n\n const onKeyDown = (e: KeyboardEvent<HTMLDivElement>) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n toggle();\n }\n };\n\n const toggles = (['seeMore', 'seeLess'] as const).map(key => (\n <div\n key={key}\n ref={key === 'seeMore' ? seeMoreRef : undefined}\n role=\"button\"\n tabIndex={0}\n aria-expanded={opened}\n hidden={key === 'seeMore' ? opened : !opened}\n className=\"oak:cursor-pointer\"\n onClick={toggle}\n onKeyDown={onKeyDown}\n { ...containerAttributes(key) }\n >\n { renderContainer(key) }\n </div>\n ));\n\n return (\n <div ref={innerRef} { ...attributes }>\n { position === 'before' && toggles }\n <div hidden={!opened} { ...containerAttributes('content') }>\n { renderContainer('content') }\n </div>\n { position !== 'before' && toggles }\n </div>\n );\n};\n\nFoldable.displayName = 'FoldableRenderer';\n\nexport default Foldable;\n","import type { CSSProperties } from 'react';\n\nimport type { RendererComponentProps } from '../../types';\nimport { mergeAttributes, toCSSUnit } from '../../utils';\n\nconst Image = ({\n element,\n attributes,\n editing,\n dark,\n}: RendererComponentProps) => {\n const size = element.settings?.size || 'auto';\n const imageStyle: CSSProperties = size === 'custom'\n ? {\n width: toCSSUnit(element.settings?.width),\n height: toCSSUnit(element.settings?.height),\n maxWidth: '100%',\n }\n : size === 'full'\n ? { maxWidth: 'none' }\n : { maxWidth: '100%', height: 'auto' };\n\n return (\n <div\n { ...mergeAttributes(attributes, {\n style: { textAlign: element.settings?.textAlign || 'left' },\n }) }\n >\n { element.url ? (\n <img\n className=\"oak:inline-block oak:align-middle\"\n src={element.url}\n alt={element.settings?.alt || ''}\n title={element.settings?.description || undefined}\n style={imageStyle}\n draggable={editing ? false : undefined}\n />\n ) : editing ? (\n <div\n className={\n 'oak:inline-flex oak:items-center oak:justify-center ' +\n 'oak:w-full oak:h-32 oak:text-sm ' +\n (dark\n ? 'oak:bg-[#262626] oak:text-[#9097A3]'\n : 'oak:bg-[#F3F3F3] oak:text-[#6B778C]')\n }\n >\n No image\n </div>\n ) : null }\n </div>\n );\n};\n\nImage.displayName = 'ImageRenderer';\n\nexport default Image;\n","import type { RendererComponentProps } from '../../types';\nimport { containerAttributes, mergeAttributes, toCSSUnit } from '../../utils';\n\nconst Row = ({ element, attributes, renderContainer }: RendererComponentProps) => {\n const gap = toCSSUnit(element.settings?.gap);\n const direction = element.settings?.flexDirection || 'row';\n\n return (\n <div\n { ...mergeAttributes(attributes, {\n className: 'oak:flex oak:flex-wrap oak:w-full',\n style: {\n flexDirection: direction,\n justifyContent: element.settings?.justifyContent,\n alignItems: element.settings?.alignItems ||\n (/column/.test(direction) ? 'stretch' : 'flex-start'),\n ...gap && {\n gap,\n ['--oak-col-gap' as string]: gap,\n },\n },\n }) }\n { ...containerAttributes('cols') }\n >\n { renderContainer('cols') }\n </div>\n );\n};\n\nRow.displayName = 'RowRenderer';\n\nexport default Row;\n","import type { RendererComponentProps } from '../../types';\nimport HTMLContent from '../HTMLContent';\n\nconst Text = ({ element, attributes, sanitizeHTML }: RendererComponentProps) => (\n <HTMLContent\n { ...attributes }\n html={element.content as string}\n sanitizeHTML={sanitizeHTML}\n />\n);\n\nText.displayName = 'TextRenderer';\n\nexport default Text;\n","import type { RendererComponentProps } from '../../types';\nimport HTMLContent from '../HTMLContent';\n\nconst HEADINGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];\n\nconst Title = ({ element, attributes, sanitizeHTML }: RendererComponentProps) => (\n <HTMLContent\n { ...attributes }\n tag={HEADINGS.includes(element.headingLevel) ? element.headingLevel : 'h1'}\n html={element.content as string}\n sanitizeHTML={sanitizeHTML}\n />\n);\n\nTitle.displayName = 'TitleRenderer';\n\nexport default Title;\n","import type { RendererComponentsMap } from '../types';\nimport Button from './Button';\nimport Clickable from './Clickable';\nimport Col from './Col';\nimport EmptySpace from './EmptySpace';\nimport Foldable from './Foldable';\nimport Image from './Image';\nimport Row from './Row';\nimport Text from './Text';\nimport Title from './Title';\n\nexport {\n Button,\n Clickable,\n Col,\n EmptySpace,\n Foldable,\n Image,\n Row,\n Text,\n Title,\n};\n\nexport { default as HTMLContent, type HTMLContentProps } from './HTMLContent';\n\n/**\n * Renderers for oak's base components, keyed by component id\n */\nexport const baseComponents = (): RendererComponentsMap => ({\n row: Row,\n col: Col,\n 'empty-space': EmptySpace,\n title: Title,\n text: Text,\n image: Image,\n button: Button,\n foldable: Foldable,\n clickable: Clickable,\n});\n"],"mappings":";;;;;AAYA,MAAa,cAA4B;CAAC;CAAM;CAAM;CAAM;CAAM;AAAI;;;;;;;AAQtE,MAAa,oBAAgD;CAC3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B,MAAM,OAAO,EAAE,SAAS,YAAY,sBAA8C;CAChF,MAAM,MAAM,UAAU,QAAQ,UAAU,GAAG;CAC3C,MAAM,YAAY,QAAQ,UAAU,iBAAiB;CAErD,OACE,oBAAC,OAAD;EACE,GAAK,gBAAgB,YAAY;GAC/B,WAAW;GACX,OAAO;IACL,eAAe;IACf,gBAAgB,QAAQ,UAAU;IAClC,YAAY,QAAQ,UAAU,eAC3B,SAAS,KAAK,SAAS,IAAI,YAAY;IAC1C,GAAG,OAAO;KACR;MACC,kBAA4B;IAC/B;GACF;EACF,CAAC;EACD,GAAK,oBAAoB,MAAM;EAE7B,UAAA,gBAAgB,MAAM;CACrB,CAAA;AAET;AAEA,IAAI,cAAc;;AC1BlB,MAAM,QAAQ,EAAE,SAAS,YAAY,mBACnC,oBAAC,aAAD;CACE,GAAK;CACL,MAAM,QAAQ;CACA;AACf,CAAA;AAGH,KAAK,cAAc;;ACRnB,MAAM,WAAW;CAAC;CAAM;CAAM;CAAM;CAAM;CAAM;AAAI;AAEpD,MAAM,SAAS,EAAE,SAAS,YAAY,mBACpC,oBAAC,aAAD;CACE,GAAK;CACL,KAAK,SAAS,SAAS,QAAQ,YAAY,IAAI,QAAQ,eAAe;CACtE,MAAM,QAAQ;CACA;AACf,CAAA;AAGH,MAAM,cAAc;;;;;ACcpB,MAAa,wBAA+C;CAC1D,KAAK;CACL,KAAK;CACL,eAAe;CACf,OAAO;CACP,MAAM;CACN,OAAO;CACP,QAAQ;CACR,UAAU;CACV,WAAW;AACb"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}:root,:host{--oak-color-white:#fff;--oak-spacing:.25rem;--oak-text-sm:.875rem;--oak-text-sm--line-height:calc(1.25 / .875)}.oak\:\@container{container-type:inline-size}.oak\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\:block{display:block}.oak\:colsize-hide{display:none}.oak\:flex{display:flex}.oak\:inline-block{display:inline-block}.oak\:inline-flex{display:inline-flex}.oak\:h-32{height:calc(var(--oak-spacing) * 32)}.oak\:w-full{width:100%}.oak\:cursor-pointer{cursor:pointer}.oak\:flex-wrap{flex-wrap:wrap}.oak\:items-center{align-items:center}.oak\:justify-center{justify-content:center}.oak\:rounded{border-radius:.25rem}.oak\:border-0{border-style:var(--tw-border-style);border-width:0}.oak\:bg-\[\#1A1A1A\]{background-color:#1a1a1a}.oak\:bg-\[\#262626\]{background-color:#262626}.oak\:bg-\[\#F3F3F3\]{background-color:#f3f3f3}.oak\:bg-transparent{background-color:#0000}.oak\:bg-white{background-color:var(--oak-color-white)}.oak\:p-0{padding:0}.oak\:px-5{padding-inline:calc(var(--oak-spacing) * 5)}.oak\:py-2{padding-block:calc(var(--oak-spacing) * 2)}.oak\:align-middle{vertical-align:middle}.oak\:text-sm{font-size:var(--oak-text-sm);line-height:var(--tw-leading,var(--oak-text-sm--line-height))}.oak\:text-\[\#1A1A1A\]{color:#1a1a1a}.oak\:text-\[\#6B778C\]{color:#6b778c}.oak\:text-\[\#9097A3\]{color:#9097a3}.oak\:text-white{color:var(--oak-color-white)}.oak\:no-underline{text-decoration-line:none}.oak\:underline{text-decoration-line:underline}@container not (min-width:575.98px){.oak\:\@max-\[575\.98px\]\:hidden{display:none}}@container (min-width:576px){.oak\:\@min-\[576px\]\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\:\@min-\[576px\]\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\:\@min-\[576px\]\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\:\@min-\[576px\]\:colsize-hide{display:none}@container not (min-width:767.98px){.oak\:\@min-\[576px\]\:\@max-\[767\.98px\]\:hidden{display:none}}}@container (min-width:768px){.oak\:\@min-\[768px\]\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\:\@min-\[768px\]\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\:\@min-\[768px\]\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\:\@min-\[768px\]\:colsize-hide{display:none}@container not (min-width:991.98px){.oak\:\@min-\[768px\]\:\@max-\[991\.98px\]\:hidden{display:none}}}@container (min-width:992px){.oak\:\@min-\[992px\]\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\:\@min-\[992px\]\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\:\@min-\[992px\]\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\:\@min-\[992px\]\:colsize-hide{display:none}@container not (min-width:1199.98px){.oak\:\@min-\[992px\]\:\@max-\[1199\.98px\]\:hidden{display:none}}}@container (min-width:1200px){.oak\:\@min-\[1200px\]\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\:\@min-\[1200px\]\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\:\@min-\[1200px\]\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\:\@min-\[1200px\]\:colsize-hide,.oak\:\@min-\[1200px\]\:hidden{display:none}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
|
|
3
|
+
|
|
4
|
+
/*# sourceMappingURL=oak-renderer.css.map */
|
|
5
|
+
/*# sourceMappingURL=oak-renderer.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../lib/index.css"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,kBAAkB,kIAAoI,4BAA4B,uBAAuB,CAAC,CAAC,CAAC,YAAY,sBAAsB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,4CAA4C,CAAC,kBAAkB,0BAA0B,CAAC,gBAAgB,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,gBAAgB,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,gBAAgB,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,gBAAgB,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,gBAAgB,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,gBAAgB,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,gBAAgB,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,gBAAgB,qBAAqB,CAAC,qEAAqE,CAAC,WAAW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EAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,kCAAkC,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,kCAAkC,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,kCAAkC,qBAAqB,CAAC,qEAAqE,CAAC,WAAW,CAAC,sEAAsE,CAAC,YAAY,CAAC,mCAAmC,qBAAqB,CAAC,uEAAuE,CAAC,WAAW,CAAC,wEAAwE,CAAC,YAAY,CAAC,mCAAmC,qBAAqB,CAAC,uEAAuE,CAAC,WAAW,CAAC,wEAAwE,CAAC,YAAY,CAAC,mCAAmC,qBAAqB,CAAC,uEAAuE,CAAC,WAAW,CAAC,wEAAwE,CAAC,YAAY,CAAC,qCAAqC,qBAAqB,CAAC,SAAS,CAAC,WAAW,CAAC,cAAc,CAAC,YAAY,CAAC,sCAAsC,qBAAqB,CAAC,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC,YAAY,CAAC,oEAAoE,YAAY,CAAC,CAAC,4BAA4B,UAAU,CAAC,cAAc,CAAC,mBAAmB","file":"oak-renderer.css","sourcesContent":["/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}:root,:host{--oak-color-white:#fff;--oak-spacing:.25rem;--oak-text-sm:.875rem;--oak-text-sm--line-height:calc(1.25 / .875)}.oak\\:\\@container{container-type:inline-size}.oak\\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\\:block{display:block}.oak\\:colsize-hide{display:none}.oak\\:flex{display:flex}.oak\\:inline-block{display:inline-block}.oak\\:inline-flex{display:inline-flex}.oak\\:h-32{height:calc(var(--oak-spacing) * 32)}.oak\\:w-full{width:100%}.oak\\:cursor-pointer{cursor:pointer}.oak\\:flex-wrap{flex-wrap:wrap}.oak\\:items-center{align-items:center}.oak\\:justify-center{justify-content:center}.oak\\:rounded{border-radius:.25rem}.oak\\:border-0{border-style:var(--tw-border-style);border-width:0}.oak\\:bg-\\[\\#1A1A1A\\]{background-color:#1a1a1a}.oak\\:bg-\\[\\#262626\\]{background-color:#262626}.oak\\:bg-\\[\\#F3F3F3\\]{background-color:#f3f3f3}.oak\\:bg-transparent{background-color:#0000}.oak\\:bg-white{background-color:var(--oak-color-white)}.oak\\:p-0{padding:0}.oak\\:px-5{padding-inline:calc(var(--oak-spacing) * 5)}.oak\\:py-2{padding-block:calc(var(--oak-spacing) * 2)}.oak\\:align-middle{vertical-align:middle}.oak\\:text-sm{font-size:var(--oak-text-sm);line-height:var(--tw-leading,var(--oak-text-sm--line-height))}.oak\\:text-\\[\\#1A1A1A\\]{color:#1a1a1a}.oak\\:text-\\[\\#6B778C\\]{color:#6b778c}.oak\\:text-\\[\\#9097A3\\]{color:#9097a3}.oak\\:text-white{color:var(--oak-color-white)}.oak\\:no-underline{text-decoration-line:none}.oak\\:underline{text-decoration-line:underline}@container not (min-width:575.98px){.oak\\:\\@max-\\[575\\.98px\\]\\:hidden{display:none}}@container (min-width:576px){.oak\\:\\@min-\\[576px\\]\\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\\:\\@min-\\[576px\\]\\:colsize-hide{display:none}@container not (min-width:767.98px){.oak\\:\\@min-\\[576px\\]\\:\\@max-\\[767\\.98px\\]\\:hidden{display:none}}}@container (min-width:768px){.oak\\:\\@min-\\[768px\\]\\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\\:\\@min-\\[768px\\]\\:colsize-hide{display:none}@container not (min-width:991.98px){.oak\\:\\@min-\\[768px\\]\\:\\@max-\\[991\\.98px\\]\\:hidden{display:none}}}@container (min-width:992px){.oak\\:\\@min-\\[992px\\]\\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\\:\\@min-\\[992px\\]\\:colsize-hide{display:none}@container not (min-width:1199.98px){.oak\\:\\@min-\\[992px\\]\\:\\@max-\\[1199\\.98px\\]\\:hidden{display:none}}}@container (min-width:1200px){.oak\\:\\@min-\\[1200px\\]\\:colsize-1{flex-direction:column;flex:0 0 calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);min-width:0;max-width:calc(100% * 1 / 12 - var(--oak-col-gap,0px) * (12 - 1) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-2{flex-direction:column;flex:0 0 calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);min-width:0;max-width:calc(100% * 2 / 12 - var(--oak-col-gap,0px) * (12 - 2) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-3{flex-direction:column;flex:0 0 calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);min-width:0;max-width:calc(100% * 3 / 12 - var(--oak-col-gap,0px) * (12 - 3) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-4{flex-direction:column;flex:0 0 calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);min-width:0;max-width:calc(100% * 4 / 12 - var(--oak-col-gap,0px) * (12 - 4) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-5{flex-direction:column;flex:0 0 calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);min-width:0;max-width:calc(100% * 5 / 12 - var(--oak-col-gap,0px) * (12 - 5) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-6{flex-direction:column;flex:0 0 calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);min-width:0;max-width:calc(100% * 6 / 12 - var(--oak-col-gap,0px) * (12 - 6) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-7{flex-direction:column;flex:0 0 calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);min-width:0;max-width:calc(100% * 7 / 12 - var(--oak-col-gap,0px) * (12 - 7) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-8{flex-direction:column;flex:0 0 calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);min-width:0;max-width:calc(100% * 8 / 12 - var(--oak-col-gap,0px) * (12 - 8) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-9{flex-direction:column;flex:0 0 calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);min-width:0;max-width:calc(100% * 9 / 12 - var(--oak-col-gap,0px) * (12 - 9) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-10{flex-direction:column;flex:0 0 calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);min-width:0;max-width:calc(100% * 10 / 12 - var(--oak-col-gap,0px) * (12 - 10) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-11{flex-direction:column;flex:0 0 calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);min-width:0;max-width:calc(100% * 11 / 12 - var(--oak-col-gap,0px) * (12 - 11) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-12{flex-direction:column;flex:0 0 calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);min-width:0;max-width:calc(100% * 12 / 12 - var(--oak-col-gap,0px) * (12 - 12) / 12);display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-auto{flex-direction:column;flex:none;min-width:0;max-width:100%;display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-fluid{flex-direction:column;flex:1;min-width:0;max-width:100%;display:flex}.oak\\:\\@min-\\[1200px\\]\\:colsize-hide,.oak\\:\\@min-\\[1200px\\]\\:hidden{display:none}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}"]}
|