@troychaplin/parlour-ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +328 -0
- package/dist/_shared/client-CLAcY4nN.cjs +1 -0
- package/dist/_shared/client-CsCPbj42.mjs +93 -0
- package/dist/_shared/rolldown-runtime-BocRIvOZ.cjs +1 -0
- package/dist/_shared/shared-B07rlYN8.cjs +1 -0
- package/dist/_shared/shared-DZTw1JIu.mjs +400 -0
- package/dist/components/Article/Article.d.ts +7 -0
- package/dist/components/Article/Article.d.ts.map +1 -0
- package/dist/components/Article/index.cjs +1 -0
- package/dist/components/Article/index.d.ts +9 -0
- package/dist/components/Article/index.d.ts.map +1 -0
- package/dist/components/Article/index.mjs +6 -0
- package/dist/components/Aside/Aside.d.ts +9 -0
- package/dist/components/Aside/Aside.d.ts.map +1 -0
- package/dist/components/Aside/index.cjs +1 -0
- package/dist/components/Aside/index.d.ts +12 -0
- package/dist/components/Aside/index.d.ts.map +1 -0
- package/dist/components/Aside/index.mjs +22 -0
- package/dist/components/Aside/styles.css +3 -0
- package/dist/components/Aside/styles.scss +3 -0
- package/dist/components/Body/Body.d.ts +7 -0
- package/dist/components/Body/Body.d.ts.map +1 -0
- package/dist/components/Body/index.cjs +1 -0
- package/dist/components/Body/index.d.ts +9 -0
- package/dist/components/Body/index.d.ts.map +1 -0
- package/dist/components/Body/index.mjs +9 -0
- package/dist/components/Button/Button.d.ts +24 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/index.cjs +1 -0
- package/dist/components/Button/index.d.ts +35 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Button/index.mjs +2 -0
- package/dist/components/Button/styles.css +120 -0
- package/dist/components/Button/styles.scss +120 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +10 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/dist/components/ButtonGroup/index.cjs +1 -0
- package/dist/components/ButtonGroup/index.d.ts +17 -0
- package/dist/components/ButtonGroup/index.d.ts.map +1 -0
- package/dist/components/ButtonGroup/index.mjs +2 -0
- package/dist/components/ButtonGroup/styles.css +22 -0
- package/dist/components/ButtonGroup/styles.scss +22 -0
- package/dist/components/Card/Card.d.ts +16 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Card/index.cjs +1 -0
- package/dist/components/Card/index.d.ts +48 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Card/index.mjs +21 -0
- package/dist/components/Card/styles.css +133 -0
- package/dist/components/Card/styles.scss +133 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +12 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/dist/components/CodeBlock/index.cjs +1 -0
- package/dist/components/CodeBlock/index.d.ts +29 -0
- package/dist/components/CodeBlock/index.d.ts.map +1 -0
- package/dist/components/CodeBlock/index.mjs +20 -0
- package/dist/components/CodeBlock/styles.css +53 -0
- package/dist/components/CodeBlock/styles.scss +53 -0
- package/dist/components/Column/Column.d.ts +23 -0
- package/dist/components/Column/Column.d.ts.map +1 -0
- package/dist/components/Column/ColumnContent.d.ts +10 -0
- package/dist/components/Column/ColumnContent.d.ts.map +1 -0
- package/dist/components/Column/index.cjs +1 -0
- package/dist/components/Column/index.d.ts +33 -0
- package/dist/components/Column/index.d.ts.map +1 -0
- package/dist/components/Column/index.mjs +21 -0
- package/dist/components/Column/styles.css +74 -0
- package/dist/components/Column/styles.scss +74 -0
- package/dist/components/Container/Container.d.ts +16 -0
- package/dist/components/Container/Container.d.ts.map +1 -0
- package/dist/components/Container/index.cjs +1 -0
- package/dist/components/Container/index.d.ts +51 -0
- package/dist/components/Container/index.d.ts.map +1 -0
- package/dist/components/Container/index.mjs +2 -0
- package/dist/components/Container/styles.css +126 -0
- package/dist/components/Container/styles.scss +126 -0
- package/dist/components/Figure/Figure.d.ts +12 -0
- package/dist/components/Figure/Figure.d.ts.map +1 -0
- package/dist/components/Figure/index.cjs +1 -0
- package/dist/components/Figure/index.d.ts +14 -0
- package/dist/components/Figure/index.d.ts.map +1 -0
- package/dist/components/Figure/index.mjs +23 -0
- package/dist/components/Figure/styles.css +78 -0
- package/dist/components/Figure/styles.scss +78 -0
- package/dist/components/FlexGroup/FlexGroup.d.ts +21 -0
- package/dist/components/FlexGroup/FlexGroup.d.ts.map +1 -0
- package/dist/components/FlexGroup/index.cjs +1 -0
- package/dist/components/FlexGroup/index.d.ts +69 -0
- package/dist/components/FlexGroup/index.d.ts.map +1 -0
- package/dist/components/FlexGroup/index.mjs +2 -0
- package/dist/components/FlexGroup/styles.css +197 -0
- package/dist/components/FlexGroup/styles.scss +197 -0
- package/dist/components/GridGroup/GridGroup.d.ts +16 -0
- package/dist/components/GridGroup/GridGroup.d.ts.map +1 -0
- package/dist/components/GridGroup/index.cjs +1 -0
- package/dist/components/GridGroup/index.d.ts +46 -0
- package/dist/components/GridGroup/index.d.ts.map +1 -0
- package/dist/components/GridGroup/index.mjs +22 -0
- package/dist/components/GridGroup/styles.css +144 -0
- package/dist/components/GridGroup/styles.scss +144 -0
- package/dist/components/Hero/Hero.d.ts +7 -0
- package/dist/components/Hero/Hero.d.ts.map +1 -0
- package/dist/components/Hero/index.cjs +1 -0
- package/dist/components/Hero/index.d.ts +9 -0
- package/dist/components/Hero/index.d.ts.map +1 -0
- package/dist/components/Hero/index.mjs +23 -0
- package/dist/components/Hero/styles.css +27 -0
- package/dist/components/Hero/styles.scss +27 -0
- package/dist/components/HeroHeader/HeroHeader.d.ts +11 -0
- package/dist/components/HeroHeader/HeroHeader.d.ts.map +1 -0
- package/dist/components/HeroHeader/index.cjs +1 -0
- package/dist/components/HeroHeader/index.d.ts +14 -0
- package/dist/components/HeroHeader/index.d.ts.map +1 -0
- package/dist/components/HeroHeader/index.mjs +30 -0
- package/dist/components/HeroHeader/styles.css +39 -0
- package/dist/components/HeroHeader/styles.scss +39 -0
- package/dist/components/InfoBar/InfoBar.d.ts +8 -0
- package/dist/components/InfoBar/InfoBar.d.ts.map +1 -0
- package/dist/components/InfoBar/index.cjs +1 -0
- package/dist/components/InfoBar/index.d.ts +10 -0
- package/dist/components/InfoBar/index.d.ts.map +1 -0
- package/dist/components/InfoBar/index.mjs +44 -0
- package/dist/components/InfoBar/styles.css +11 -0
- package/dist/components/InfoBar/styles.scss +11 -0
- package/dist/components/LinkProvider/LinkContext.d.ts +4 -0
- package/dist/components/LinkProvider/LinkContext.d.ts.map +1 -0
- package/dist/components/LinkProvider/index.cjs +1 -0
- package/dist/components/LinkProvider/index.d.ts +16 -0
- package/dist/components/LinkProvider/index.d.ts.map +1 -0
- package/dist/components/LinkProvider/index.mjs +11 -0
- package/dist/components/LinkProvider/useLinkContext.d.ts +2 -0
- package/dist/components/LinkProvider/useLinkContext.d.ts.map +1 -0
- package/dist/components/Main/Main.d.ts +8 -0
- package/dist/components/Main/Main.d.ts.map +1 -0
- package/dist/components/Main/index.cjs +1 -0
- package/dist/components/Main/index.d.ts +10 -0
- package/dist/components/Main/index.d.ts.map +1 -0
- package/dist/components/Main/index.mjs +20 -0
- package/dist/components/Main/styles.css +19 -0
- package/dist/components/Main/styles.scss +19 -0
- package/dist/components/SectionHeader/SectionHeader.d.ts +9 -0
- package/dist/components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/dist/components/SectionHeader/index.cjs +1 -0
- package/dist/components/SectionHeader/index.d.ts +12 -0
- package/dist/components/SectionHeader/index.d.ts.map +1 -0
- package/dist/components/SectionHeader/index.mjs +19 -0
- package/dist/components/SectionHeader/styles.css +29 -0
- package/dist/components/SectionHeader/styles.scss +29 -0
- package/dist/components/SiteHeader/SiteHeader.d.ts +9 -0
- package/dist/components/SiteHeader/SiteHeader.d.ts.map +1 -0
- package/dist/components/SiteHeader/index.cjs +1 -0
- package/dist/components/SiteHeader/index.d.ts +11 -0
- package/dist/components/SiteHeader/index.d.ts.map +1 -0
- package/dist/components/SiteHeader/index.mjs +73 -0
- package/dist/components/SiteHeader/styles.css +47 -0
- package/dist/components/SiteHeader/styles.scss +47 -0
- package/dist/components/_shared/Button-CAFrgdq8.mjs +28 -0
- package/dist/components/_shared/Button-CQIUEu-m.cjs +1 -0
- package/dist/components/_shared/ButtonGroup-B0V_8y-2.mjs +9 -0
- package/dist/components/_shared/ButtonGroup-ChqwMTps.cjs +1 -0
- package/dist/components/_shared/Container-Bl4f1ZwJ.cjs +1 -0
- package/dist/components/_shared/Container-OGjfScEb.mjs +26 -0
- package/dist/components/_shared/FlexGroup-CgPbyEha.cjs +1 -0
- package/dist/components/_shared/FlexGroup-CnOrx2MF.mjs +24 -0
- package/dist/components/_shared/parlour-tokens-BT0frVnY.cjs +1 -0
- package/dist/components/_shared/parlour-tokens-CHt4gBUd.mjs +245 -0
- package/dist/components/_shared/propClasses-CLbmpfVJ.cjs +1 -0
- package/dist/components/_shared/propClasses-R9s_eOfA.mjs +40 -0
- package/dist/components/_shared/rolldown-runtime-BocRIvOZ.cjs +1 -0
- package/dist/components/_shared/useLinkContext-CJko6HGf.mjs +6 -0
- package/dist/components/_shared/useLinkContext-DwwV1iqK.cjs +1 -0
- package/dist/components/tokens/index.cjs +1 -0
- package/dist/components/tokens/index.d.ts +5 -0
- package/dist/components/tokens/index.d.ts.map +1 -0
- package/dist/components/tokens/index.mjs +2 -0
- package/dist/data/ArticleData.d.ts +2 -0
- package/dist/data/ArticleData.d.ts.map +1 -0
- package/dist/data/CodeData.d.ts +3 -0
- package/dist/data/CodeData.d.ts.map +1 -0
- package/dist/data/ImageData.d.ts +5 -0
- package/dist/data/ImageData.d.ts.map +1 -0
- package/dist/data/NewsData.d.ts +11 -0
- package/dist/data/NewsData.d.ts.map +1 -0
- package/dist/data/SampleContent.d.ts +9 -0
- package/dist/data/SampleContent.d.ts.map +1 -0
- package/dist/data-images/attend-1-thumb.jpg +0 -0
- package/dist/data-images/attend-2-thumb.jpg +0 -0
- package/dist/data-images/attend-3-thumb.jpg +0 -0
- package/dist/data-images/attend-4-thumb.jpg +0 -0
- package/dist/data-images/event-1-thumb.jpg +0 -0
- package/dist/data-images/event-2-thumb.jpg +0 -0
- package/dist/data-images/event-3-thumb.jpg +0 -0
- package/dist/data-images/event-4-thumb.jpg +0 -0
- package/dist/data-images/story-1-thumb.jpg +0 -0
- package/dist/data-images/story-2-thumb.jpg +0 -0
- package/dist/data-images/story-3-thumb.jpg +0 -0
- package/dist/data-images/story-4-thumb.jpg +0 -0
- package/dist/docs/stylebook/components/BorderRadiusSamples.d.ts +7 -0
- package/dist/docs/stylebook/components/BorderRadiusSamples.d.ts.map +1 -0
- package/dist/docs/stylebook/components/ColorSwatches.d.ts +9 -0
- package/dist/docs/stylebook/components/ColorSwatches.d.ts.map +1 -0
- package/dist/docs/stylebook/components/ShadowSamples.d.ts +7 -0
- package/dist/docs/stylebook/components/ShadowSamples.d.ts.map +1 -0
- package/dist/docs/stylebook/components/SpacingScale.d.ts +8 -0
- package/dist/docs/stylebook/components/SpacingScale.d.ts.map +1 -0
- package/dist/docs/stylebook/components/TypographyScale.d.ts +23 -0
- package/dist/docs/stylebook/components/TypographyScale.d.ts.map +1 -0
- package/dist/fonts/inter-tight/inter-tight-variable-italic.woff2 +0 -0
- package/dist/fonts/inter-tight/inter-tight-variable-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-variable-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-variable-normal.woff2 +0 -0
- package/dist/fonts/source-serif-4/source-serif-4-variable-italic.woff2 +0 -0
- package/dist/fonts/source-serif-4/source-serif-4-variable-normal.woff2 +0 -0
- package/dist/fonts.css +43 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +3 -0
- package/dist/sample-imgs/event-img.jpg +0 -0
- package/dist/sample-imgs/news-img.jpg +0 -0
- package/dist/sample-imgs/page-img.jpg +0 -0
- package/dist/sample-imgs/people-img.jpg +0 -0
- package/dist/style.css +43 -0
- package/dist/styles/_parlour-variables.scss +83 -0
- package/dist/styles/c2b/parlour-tokens.d.ts +19 -0
- package/dist/styles/parlour-base-styles.css +72 -0
- package/dist/styles/parlour-base-styles.scss +72 -0
- package/dist/styles/parlour-layout.css +50 -0
- package/dist/styles/parlour-layout.scss +50 -0
- package/dist/styles/parlour-tokens.css +129 -0
- package/dist/styles/parlour-tokens.d.ts +19 -0
- package/dist/styles/parlour-tokens.js +148 -0
- package/dist/styles/parlour-tokens.scss +129 -0
- package/dist/styles/parlour-typography.css +29 -0
- package/dist/styles/parlour-typography.scss +29 -0
- package/dist/utils/propClasses.d.ts +101 -0
- package/dist/utils/propClasses.d.ts.map +1 -0
- package/dist/wordpress/block-theme.css +157 -0
- package/dist/wordpress/hybrid-theme.css +324 -0
- package/dist/wordpress/integrate.php +139 -0
- package/dist/wordpress/theme-parlour.json +581 -0
- package/package.json +154 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.parlour-site-header {
|
|
2
|
+
padding-block: var(--parlour--spacing-medium);
|
|
3
|
+
padding-inline: var(--parlour--root-padding-x);
|
|
4
|
+
background-color: var(--parlour--color-white);
|
|
5
|
+
border-bottom: 1px solid var(--parlour--color-neutral-400);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.parlour-site-header__branding p {
|
|
9
|
+
font-family: var(--parlour--font-family-source-serif-4);
|
|
10
|
+
font-size: var(--parlour--font-size-large);
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
.parlour-site-header__branding p span {
|
|
15
|
+
font-style: italic;
|
|
16
|
+
color: var(--parlour--color-accent-secondary);
|
|
17
|
+
}
|
|
18
|
+
.parlour-site-header__branding p a {
|
|
19
|
+
font-weight: var(--parlour--font-weight-normal);
|
|
20
|
+
color: var(--parlour--color-neutral-900);
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
}
|
|
23
|
+
.parlour-site-header__branding p a:hover, .parlour-site-header__branding p a:focus-visible {
|
|
24
|
+
color: var(--parlour--color-accent-secondary);
|
|
25
|
+
}
|
|
26
|
+
.parlour-site-header__branding p a:hover span.parlour-site-header__title-accent, .parlour-site-header__branding p a:focus-visible span.parlour-site-header__title-accent {
|
|
27
|
+
color: var(--parlour--color-neutral-900);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.parlour-site-header__nav ul {
|
|
31
|
+
list-style: none;
|
|
32
|
+
padding: 0;
|
|
33
|
+
margin: 0;
|
|
34
|
+
display: flex;
|
|
35
|
+
gap: var(--parlour--spacing-medium);
|
|
36
|
+
}
|
|
37
|
+
.parlour-site-header__nav ul li {
|
|
38
|
+
font-family: var(--parlour--font-family-inter-tight);
|
|
39
|
+
font-size: var(--parlour--font-size-small);
|
|
40
|
+
padding: 0;
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
.parlour-site-header__nav ul li a {
|
|
44
|
+
font-weight: var(--parlour--font-weight-normal);
|
|
45
|
+
color: var(--parlour--color-neutral-950);
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.parlour-site-header {
|
|
2
|
+
padding-block: var(--parlour--spacing-medium);
|
|
3
|
+
padding-inline: var(--parlour--root-padding-x);
|
|
4
|
+
background-color: var(--parlour--color-white);
|
|
5
|
+
border-bottom: 1px solid var(--parlour--color-neutral-400);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.parlour-site-header__branding p {
|
|
9
|
+
font-family: var(--parlour--font-family-source-serif-4);
|
|
10
|
+
font-size: var(--parlour--font-size-large);
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
.parlour-site-header__branding p span {
|
|
15
|
+
font-style: italic;
|
|
16
|
+
color: var(--parlour--color-accent-secondary);
|
|
17
|
+
}
|
|
18
|
+
.parlour-site-header__branding p a {
|
|
19
|
+
font-weight: var(--parlour--font-weight-normal);
|
|
20
|
+
color: var(--parlour--color-neutral-900);
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
}
|
|
23
|
+
.parlour-site-header__branding p a:hover, .parlour-site-header__branding p a:focus-visible {
|
|
24
|
+
color: var(--parlour--color-accent-secondary);
|
|
25
|
+
}
|
|
26
|
+
.parlour-site-header__branding p a:hover span.parlour-site-header__title-accent, .parlour-site-header__branding p a:focus-visible span.parlour-site-header__title-accent {
|
|
27
|
+
color: var(--parlour--color-neutral-900);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.parlour-site-header__nav ul {
|
|
31
|
+
list-style: none;
|
|
32
|
+
padding: 0;
|
|
33
|
+
margin: 0;
|
|
34
|
+
display: flex;
|
|
35
|
+
gap: var(--parlour--spacing-medium);
|
|
36
|
+
}
|
|
37
|
+
.parlour-site-header__nav ul li {
|
|
38
|
+
font-family: var(--parlour--font-family-inter-tight);
|
|
39
|
+
font-size: var(--parlour--font-size-small);
|
|
40
|
+
padding: 0;
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
.parlour-site-header__nav ul li a {
|
|
44
|
+
font-weight: var(--parlour--font-weight-normal);
|
|
45
|
+
color: var(--parlour--color-neutral-950);
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "./useLinkContext-CJko6HGf.mjs";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/Button/Button.tsx
|
|
5
|
+
var n = ({ text: n = "Button", color: r = "medium", rounded: i = "sm", type: a = "button", isSmall: o = !1, isFull: s = !1, isOutline: c = !1, disabled: l = !1, className: u, ...d }) => {
|
|
6
|
+
let f = e(), p = [
|
|
7
|
+
"parlour-button",
|
|
8
|
+
l ? "parlour-button--disabled" : `parlour-button--${r}`,
|
|
9
|
+
i && `parlour-button--radius-${i}`,
|
|
10
|
+
c && !l && "parlour-button--outline",
|
|
11
|
+
o && "parlour-button--small",
|
|
12
|
+
s && "parlour-button--full",
|
|
13
|
+
u
|
|
14
|
+
].filter(Boolean).join(" ");
|
|
15
|
+
return d.href === void 0 ? /* @__PURE__ */ t("button", {
|
|
16
|
+
type: a,
|
|
17
|
+
className: p,
|
|
18
|
+
disabled: l,
|
|
19
|
+
...d,
|
|
20
|
+
children: n
|
|
21
|
+
}) : /* @__PURE__ */ t(f, {
|
|
22
|
+
className: p,
|
|
23
|
+
...d,
|
|
24
|
+
children: n
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { n as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("./useLinkContext-DwwV1iqK.cjs");let t=require("react/jsx-runtime");var n=({text:n=`Button`,color:r=`medium`,rounded:i=`sm`,type:a=`button`,isSmall:o=!1,isFull:s=!1,isOutline:c=!1,disabled:l=!1,className:u,...d})=>{let f=e.t(),p=[`parlour-button`,l?`parlour-button--disabled`:`parlour-button--${r}`,i&&`parlour-button--radius-${i}`,c&&!l&&`parlour-button--outline`,o&&`parlour-button--small`,s&&`parlour-button--full`,u].filter(Boolean).join(` `);return d.href===void 0?(0,t.jsx)(`button`,{type:a,className:p,disabled:l,...d,children:n}):(0,t.jsx)(f,{className:p,...d,children:n})};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/ButtonGroup/ButtonGroup.tsx
|
|
4
|
+
var t = ({ children: t, align: n = "start" }) => /* @__PURE__ */ e("div", {
|
|
5
|
+
className: `parlour-buttongroup parlour-buttongroup--justify-${n}`,
|
|
6
|
+
children: t
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-BocRIvOZ.cjs");let t=require("react");t=e.t(t,1);let n=require("react/jsx-runtime");var r=({children:e,align:t=`start`})=>(0,n.jsx)(`div`,{className:`parlour-buttongroup parlour-buttongroup--justify-${t}`,children:e});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e=require("react/jsx-runtime");var t=({children:t,as:n=`div`,maxWidth:r=`aligncontent`,contentWidth:i=`aligncontent`,color:a,className:o,borderRadius:s=`md`,...c})=>{let l=n,u=[`parlour-layout parlour-container`,`is-layout-constrained`,r,a&&`parlour-container--no-gap parlour-container--${a}`,s&&`parlour-container--radius-${s}`,o].filter(Boolean).join(` `),d=[`has-global-padding`,i,a&&`has-root-padding`].filter(Boolean).join(` `);return(0,e.jsx)(l,{className:u,...c,children:(0,e.jsx)(`div`,{className:d,children:t})})};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
//#region src/components/Container/Container.tsx
|
|
3
|
+
var t = ({ children: t, as: n = "div", maxWidth: r = "aligncontent", contentWidth: i = "aligncontent", color: a, className: o, borderRadius: s = "md", ...c }) => {
|
|
4
|
+
let l = n, u = [
|
|
5
|
+
"parlour-layout parlour-container",
|
|
6
|
+
"is-layout-constrained",
|
|
7
|
+
r,
|
|
8
|
+
a && `parlour-container--no-gap parlour-container--${a}`,
|
|
9
|
+
s && `parlour-container--radius-${s}`,
|
|
10
|
+
o
|
|
11
|
+
].filter(Boolean).join(" "), d = [
|
|
12
|
+
"has-global-padding",
|
|
13
|
+
i,
|
|
14
|
+
a && "has-root-padding"
|
|
15
|
+
].filter(Boolean).join(" ");
|
|
16
|
+
return /* @__PURE__ */ e(l, {
|
|
17
|
+
className: u,
|
|
18
|
+
...c,
|
|
19
|
+
children: /* @__PURE__ */ e("div", {
|
|
20
|
+
className: d,
|
|
21
|
+
children: t
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./propClasses-CLbmpfVJ.cjs");let t=require("react/jsx-runtime");var n=({children:n,as:r=`div`,direction:i=`row`,wrap:a=`wrap`,justify:o,align:s,gap:c,padding:l,margin:u,maxWidth:d,className:f,...p})=>{let m=r,h=[`parlour-layout parlour-flex-group`,`parlour-flex-group--${i}`,`parlour-flex-group--${a}`,d&&e.o[d],o&&`parlour-flex-group--justify-${e.i[o]}`,s&&`parlour-flex-group--align-${e.r[s]}`,c&&`parlour-flex-group--gap-${e.s[c]}`,l&&`parlour-flex-group--padding-${e.s[l]}`,u&&`parlour-flex-group--margin-${e.s[u]}`,f].filter(Boolean).join(` `);return(0,t.jsx)(m,{className:h,...p,children:n})};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { i as e, o as t, r as n, s as r } from "./propClasses-R9s_eOfA.mjs";
|
|
2
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/FlexGroup/FlexGroup.tsx
|
|
4
|
+
var a = ({ children: a, as: o = "div", direction: s = "row", wrap: c = "wrap", justify: l, align: u, gap: d, padding: f, margin: p, maxWidth: m, className: h, ...g }) => {
|
|
5
|
+
let _ = o, v = [
|
|
6
|
+
"parlour-layout parlour-flex-group",
|
|
7
|
+
`parlour-flex-group--${s}`,
|
|
8
|
+
`parlour-flex-group--${c}`,
|
|
9
|
+
m && t[m],
|
|
10
|
+
l && `parlour-flex-group--justify-${e[l]}`,
|
|
11
|
+
u && `parlour-flex-group--align-${n[u]}`,
|
|
12
|
+
d && `parlour-flex-group--gap-${r[d]}`,
|
|
13
|
+
f && `parlour-flex-group--padding-${r[f]}`,
|
|
14
|
+
p && `parlour-flex-group--margin-${r[p]}`,
|
|
15
|
+
h
|
|
16
|
+
].filter(Boolean).join(" ");
|
|
17
|
+
return /* @__PURE__ */ i(_, {
|
|
18
|
+
className: v,
|
|
19
|
+
...g,
|
|
20
|
+
children: a
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { a as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={color:{black:`#191919`,white:`#ffffff`,accentPrimary:`#a34f3e`,accentSecondary:`#ca2135`,neutral50:`#f9f7f3`,neutral100:`#f2f0ea`,neutral200:`#efeae2`,neutral300:`#e0d6c8`,neutral400:`#d8d5cf`,neutral500:`#8d7661`,neutral600:`#766051`,neutral700:`#5e4c42`,neutral800:`#51413a`,neutral900:`#473a35`,neutral950:`#271f1c`,info:`#2571eb`,success:`#16a34a`,warning:`#fff154`,error:`#dc2626`,linkedin:`#0A66C2`,facebook:`#1877F2`,bluesky:`#1185FE`,twitter:`#000000`,instagram:`#E4405F`,youtube:`#FF0000`,tiktok:`#010101`},gradient:{whiteToNeutral50:`linear-gradient(135deg,rgb(250,250,250) 0%,rgb(249, 247, 243) 90%)`},spacing:{x3Small:`0.175rem`,x2Small:`0.25rem`,xSmall:`0.5rem`,small:`clamp(0.625rem, 0.625rem + ((1vw - 0.2rem) * 0.240), 0.75rem)`,normal:`clamp(0.8125rem, 0.8125rem + ((1vw - 0.2rem) * 0.361), 1rem)`,medium:`clamp(0.9375rem, 0.9375rem + ((1vw - 0.2rem) * 0.601), 1.25rem)`,large:`clamp(1.0625rem, 1.0625rem + ((1vw - 0.2rem) * 0.841), 1.5rem)`,xLarge:`clamp(1.1875rem, 1.1875rem + ((1vw - 0.2rem) * 1.563), 2rem)`,x2Large:`clamp(1.3125rem, 1.3125rem + ((1vw - 0.2rem) * 2.284), 2.5rem)`,x3Large:`clamp(1.4375rem, 1.4375rem + ((1vw - 0.2rem) * 3.005), 3rem)`,x4Large:`clamp(1.625rem, 1.625rem + ((1vw - 0.2rem) * 4.567), 4rem)`,x5Large:`clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 6.250), 5rem)`},fontFamily:{interTight:`'Inter Tight', system-ui, 'Segoe UI', roboto, sans-serif`,sourceSerif4:`'Source Serif 4', ui-serif, georgia, serif`,jetbrainsMono:`'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace`},fontSize:{x2Small:`clamp(0.6875rem, 0.6875rem + ((1vw - 0.2rem) * 0.12), 0.75rem)`,xSmall:`clamp(0.8125rem, 0.8125rem + ((1vw - 0.2rem) * 0.12), 0.875rem)`,small:`clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.24), 1rem)`,medium:`clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.481), 1.25rem)`,large:`clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.962), 1.5rem)`,xLarge:`clamp(1.4375rem, 1.4375rem + ((1vw - 0.2rem) * 1.082), 2rem)`,x2Large:`clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 1.803), 2.6875rem)`,x3Large:`clamp(2.0625rem, 2.0625rem + ((1vw - 0.2rem) * 2.885), 3.5625rem)`,x4Large:`clamp(2.5rem, 2.5rem + ((1vw - 0.2rem) * 4.327), 4.75rem)`,x5Large:`clamp(2.375rem, 2.375rem + ((1vw - 0.2rem) * 6.418), 5.7125rem)`,hero:`clamp(3.5625rem, 3.5625rem + ((1vw - 0.2rem) * 9.375), 8.4375rem)`,headingSmall:`clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.962), 1.5rem)`,headingMedium:`clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 0.962), 1.75rem)`,headingLarge:`clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 1.442), 2.25rem)`,headingXLarge:`clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 1.442), 2.5rem)`,headingPrimary:`clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 2.404), 3rem)`},shadow:{natural:`6px 6px 9px rgba(0, 0, 0, 0.2)`,deep:`12px 12px 50px rgba(0, 0, 0, 0.4)`,sharp:`6px 6px 0px rgba(0, 0, 0, 0.2)`,outlined:`6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0)`,crisp:`6px 6px 0px rgb(0, 0, 0)`},fontWeight:{thin:`100`,extraLight:`200`,light:`300`,normal:`400`,medium:`500`,semibold:`600`,bold:`700`,extraBold:`800`,black:`900`},lineHeight:{tight:`1.3`,normal:`1.6`,loose:`1.8`},radius:{sm:`2px`,md:`4px`,lg:`8px`,xl:`12px`,full:`9999px`},transition:{fast:`150ms ease`,base:`250ms ease`},z:{100:`100`,200:`200`,500:`500`},layout:{contentSize:`768px`,wideSize:`1152px`,smallSize:`600px`,fullSize:`100vw`},viewport:{mobile:`600px`,tablet:`768px`},root:{paddingX:`var(--parlour--spacing-x-large)`,paddingY:`0`,paddingTop:`var(--parlour--root-padding-y)`,paddingRight:`var(--parlour--root-padding-x)`,paddingBottom:`var(--parlour--root-padding-y)`,paddingLeft:`var(--parlour--root-padding-x)`,blockGap:`0`}},t={color:{black:`black`,white:`white`,"accent-primary":`accent-primary`,"accent-secondary":`accent-secondary`,"neutral-50":`neutral-50`,"neutral-100":`neutral-100`,"neutral-200":`neutral-200`,"neutral-300":`neutral-300`,"neutral-400":`neutral-400`,"neutral-500":`neutral-500`,"neutral-600":`neutral-600`,"neutral-700":`neutral-700`,"neutral-800":`neutral-800`,"neutral-900":`neutral-900`,"neutral-950":`neutral-950`,info:`info`,success:`success`,warning:`warning`,error:`error`,linkedin:`linkedin`,facebook:`facebook`,bluesky:`bluesky`,twitter:`twitter`,instagram:`instagram`,youtube:`youtube`,tiktok:`tiktok`},gradient:{"white-to-neutral-50":`white-to-neutral-50`},spacing:{"3-x-small":`3-x-small`,"2-x-small":`2-x-small`,"x-small":`x-small`,small:`small`,normal:`normal`,medium:`medium`,large:`large`,"x-large":`x-large`,"2-x-large":`2-x-large`,"3-x-large":`3-x-large`,"4-x-large":`4-x-large`,"5-x-large":`5-x-large`},fontFamily:{"inter-tight":`inter-tight`,"source-serif-4":`source-serif-4`,"jetbrains-mono":`jetbrains-mono`},fontSize:{"2-x-small":`2-x-small`,"x-small":`x-small`,small:`small`,medium:`medium`,large:`large`,"x-large":`x-large`,"2-x-large":`2-x-large`,"3-x-large":`3-x-large`,"4-x-large":`4-x-large`,"5-x-large":`5-x-large`,hero:`hero`,"heading-small":`heading-small`,"heading-medium":`heading-medium`,"heading-large":`heading-large`,"heading-x-large":`heading-x-large`,"heading-primary":`heading-primary`},shadow:{natural:`natural`,deep:`deep`,sharp:`sharp`,outlined:`outlined`,crisp:`crisp`},fontWeight:{thin:`thin`,"extra-light":`extra-light`,light:`light`,normal:`normal`,medium:`medium`,semibold:`semibold`,bold:`bold`,"extra-bold":`extra-bold`,black:`black`},lineHeight:{tight:`tight`,normal:`normal`,loose:`loose`},radius:{sm:`sm`,md:`md`,lg:`lg`,xl:`xl`,full:`full`},transition:{fast:`fast`,base:`base`},z:{100:`100`,200:`200`,500:`500`},layout:{"content-size":`content-size`,"wide-size":`wide-size`,"small-size":`small-size`,"full-size":`full-size`},viewport:{mobile:`mobile`,tablet:`tablet`}};Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
//#region src/styles/c2b/parlour-tokens.js
|
|
2
|
+
var e = {
|
|
3
|
+
color: {
|
|
4
|
+
black: "#191919",
|
|
5
|
+
white: "#ffffff",
|
|
6
|
+
accentPrimary: "#a34f3e",
|
|
7
|
+
accentSecondary: "#ca2135",
|
|
8
|
+
neutral50: "#f9f7f3",
|
|
9
|
+
neutral100: "#f2f0ea",
|
|
10
|
+
neutral200: "#efeae2",
|
|
11
|
+
neutral300: "#e0d6c8",
|
|
12
|
+
neutral400: "#d8d5cf",
|
|
13
|
+
neutral500: "#8d7661",
|
|
14
|
+
neutral600: "#766051",
|
|
15
|
+
neutral700: "#5e4c42",
|
|
16
|
+
neutral800: "#51413a",
|
|
17
|
+
neutral900: "#473a35",
|
|
18
|
+
neutral950: "#271f1c",
|
|
19
|
+
info: "#2571eb",
|
|
20
|
+
success: "#16a34a",
|
|
21
|
+
warning: "#fff154",
|
|
22
|
+
error: "#dc2626",
|
|
23
|
+
linkedin: "#0A66C2",
|
|
24
|
+
facebook: "#1877F2",
|
|
25
|
+
bluesky: "#1185FE",
|
|
26
|
+
twitter: "#000000",
|
|
27
|
+
instagram: "#E4405F",
|
|
28
|
+
youtube: "#FF0000",
|
|
29
|
+
tiktok: "#010101"
|
|
30
|
+
},
|
|
31
|
+
gradient: { whiteToNeutral50: "linear-gradient(135deg,rgb(250,250,250) 0%,rgb(249, 247, 243) 90%)" },
|
|
32
|
+
spacing: {
|
|
33
|
+
x3Small: "0.175rem",
|
|
34
|
+
x2Small: "0.25rem",
|
|
35
|
+
xSmall: "0.5rem",
|
|
36
|
+
small: "clamp(0.625rem, 0.625rem + ((1vw - 0.2rem) * 0.240), 0.75rem)",
|
|
37
|
+
normal: "clamp(0.8125rem, 0.8125rem + ((1vw - 0.2rem) * 0.361), 1rem)",
|
|
38
|
+
medium: "clamp(0.9375rem, 0.9375rem + ((1vw - 0.2rem) * 0.601), 1.25rem)",
|
|
39
|
+
large: "clamp(1.0625rem, 1.0625rem + ((1vw - 0.2rem) * 0.841), 1.5rem)",
|
|
40
|
+
xLarge: "clamp(1.1875rem, 1.1875rem + ((1vw - 0.2rem) * 1.563), 2rem)",
|
|
41
|
+
x2Large: "clamp(1.3125rem, 1.3125rem + ((1vw - 0.2rem) * 2.284), 2.5rem)",
|
|
42
|
+
x3Large: "clamp(1.4375rem, 1.4375rem + ((1vw - 0.2rem) * 3.005), 3rem)",
|
|
43
|
+
x4Large: "clamp(1.625rem, 1.625rem + ((1vw - 0.2rem) * 4.567), 4rem)",
|
|
44
|
+
x5Large: "clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 6.250), 5rem)"
|
|
45
|
+
},
|
|
46
|
+
fontFamily: {
|
|
47
|
+
interTight: "'Inter Tight', system-ui, 'Segoe UI', roboto, sans-serif",
|
|
48
|
+
sourceSerif4: "'Source Serif 4', ui-serif, georgia, serif",
|
|
49
|
+
jetbrainsMono: "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"
|
|
50
|
+
},
|
|
51
|
+
fontSize: {
|
|
52
|
+
x2Small: "clamp(0.6875rem, 0.6875rem + ((1vw - 0.2rem) * 0.12), 0.75rem)",
|
|
53
|
+
xSmall: "clamp(0.8125rem, 0.8125rem + ((1vw - 0.2rem) * 0.12), 0.875rem)",
|
|
54
|
+
small: "clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.24), 1rem)",
|
|
55
|
+
medium: "clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.481), 1.25rem)",
|
|
56
|
+
large: "clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.962), 1.5rem)",
|
|
57
|
+
xLarge: "clamp(1.4375rem, 1.4375rem + ((1vw - 0.2rem) * 1.082), 2rem)",
|
|
58
|
+
x2Large: "clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 1.803), 2.6875rem)",
|
|
59
|
+
x3Large: "clamp(2.0625rem, 2.0625rem + ((1vw - 0.2rem) * 2.885), 3.5625rem)",
|
|
60
|
+
x4Large: "clamp(2.5rem, 2.5rem + ((1vw - 0.2rem) * 4.327), 4.75rem)",
|
|
61
|
+
x5Large: "clamp(2.375rem, 2.375rem + ((1vw - 0.2rem) * 6.418), 5.7125rem)",
|
|
62
|
+
hero: "clamp(3.5625rem, 3.5625rem + ((1vw - 0.2rem) * 9.375), 8.4375rem)",
|
|
63
|
+
headingSmall: "clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.962), 1.5rem)",
|
|
64
|
+
headingMedium: "clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 0.962), 1.75rem)",
|
|
65
|
+
headingLarge: "clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 1.442), 2.25rem)",
|
|
66
|
+
headingXLarge: "clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 1.442), 2.5rem)",
|
|
67
|
+
headingPrimary: "clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 2.404), 3rem)"
|
|
68
|
+
},
|
|
69
|
+
shadow: {
|
|
70
|
+
natural: "6px 6px 9px rgba(0, 0, 0, 0.2)",
|
|
71
|
+
deep: "12px 12px 50px rgba(0, 0, 0, 0.4)",
|
|
72
|
+
sharp: "6px 6px 0px rgba(0, 0, 0, 0.2)",
|
|
73
|
+
outlined: "6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0)",
|
|
74
|
+
crisp: "6px 6px 0px rgb(0, 0, 0)"
|
|
75
|
+
},
|
|
76
|
+
fontWeight: {
|
|
77
|
+
thin: "100",
|
|
78
|
+
extraLight: "200",
|
|
79
|
+
light: "300",
|
|
80
|
+
normal: "400",
|
|
81
|
+
medium: "500",
|
|
82
|
+
semibold: "600",
|
|
83
|
+
bold: "700",
|
|
84
|
+
extraBold: "800",
|
|
85
|
+
black: "900"
|
|
86
|
+
},
|
|
87
|
+
lineHeight: {
|
|
88
|
+
tight: "1.3",
|
|
89
|
+
normal: "1.6",
|
|
90
|
+
loose: "1.8"
|
|
91
|
+
},
|
|
92
|
+
radius: {
|
|
93
|
+
sm: "2px",
|
|
94
|
+
md: "4px",
|
|
95
|
+
lg: "8px",
|
|
96
|
+
xl: "12px",
|
|
97
|
+
full: "9999px"
|
|
98
|
+
},
|
|
99
|
+
transition: {
|
|
100
|
+
fast: "150ms ease",
|
|
101
|
+
base: "250ms ease"
|
|
102
|
+
},
|
|
103
|
+
z: {
|
|
104
|
+
100: "100",
|
|
105
|
+
200: "200",
|
|
106
|
+
500: "500"
|
|
107
|
+
},
|
|
108
|
+
layout: {
|
|
109
|
+
contentSize: "768px",
|
|
110
|
+
wideSize: "1152px",
|
|
111
|
+
smallSize: "600px",
|
|
112
|
+
fullSize: "100vw"
|
|
113
|
+
},
|
|
114
|
+
viewport: {
|
|
115
|
+
mobile: "600px",
|
|
116
|
+
tablet: "768px"
|
|
117
|
+
},
|
|
118
|
+
root: {
|
|
119
|
+
paddingX: "var(--parlour--spacing-x-large)",
|
|
120
|
+
paddingY: "0",
|
|
121
|
+
paddingTop: "var(--parlour--root-padding-y)",
|
|
122
|
+
paddingRight: "var(--parlour--root-padding-x)",
|
|
123
|
+
paddingBottom: "var(--parlour--root-padding-y)",
|
|
124
|
+
paddingLeft: "var(--parlour--root-padding-x)",
|
|
125
|
+
blockGap: "0"
|
|
126
|
+
}
|
|
127
|
+
}, t = {
|
|
128
|
+
color: {
|
|
129
|
+
black: "black",
|
|
130
|
+
white: "white",
|
|
131
|
+
"accent-primary": "accent-primary",
|
|
132
|
+
"accent-secondary": "accent-secondary",
|
|
133
|
+
"neutral-50": "neutral-50",
|
|
134
|
+
"neutral-100": "neutral-100",
|
|
135
|
+
"neutral-200": "neutral-200",
|
|
136
|
+
"neutral-300": "neutral-300",
|
|
137
|
+
"neutral-400": "neutral-400",
|
|
138
|
+
"neutral-500": "neutral-500",
|
|
139
|
+
"neutral-600": "neutral-600",
|
|
140
|
+
"neutral-700": "neutral-700",
|
|
141
|
+
"neutral-800": "neutral-800",
|
|
142
|
+
"neutral-900": "neutral-900",
|
|
143
|
+
"neutral-950": "neutral-950",
|
|
144
|
+
info: "info",
|
|
145
|
+
success: "success",
|
|
146
|
+
warning: "warning",
|
|
147
|
+
error: "error",
|
|
148
|
+
linkedin: "linkedin",
|
|
149
|
+
facebook: "facebook",
|
|
150
|
+
bluesky: "bluesky",
|
|
151
|
+
twitter: "twitter",
|
|
152
|
+
instagram: "instagram",
|
|
153
|
+
youtube: "youtube",
|
|
154
|
+
tiktok: "tiktok"
|
|
155
|
+
},
|
|
156
|
+
gradient: { "white-to-neutral-50": "white-to-neutral-50" },
|
|
157
|
+
spacing: {
|
|
158
|
+
"3-x-small": "3-x-small",
|
|
159
|
+
"2-x-small": "2-x-small",
|
|
160
|
+
"x-small": "x-small",
|
|
161
|
+
small: "small",
|
|
162
|
+
normal: "normal",
|
|
163
|
+
medium: "medium",
|
|
164
|
+
large: "large",
|
|
165
|
+
"x-large": "x-large",
|
|
166
|
+
"2-x-large": "2-x-large",
|
|
167
|
+
"3-x-large": "3-x-large",
|
|
168
|
+
"4-x-large": "4-x-large",
|
|
169
|
+
"5-x-large": "5-x-large"
|
|
170
|
+
},
|
|
171
|
+
fontFamily: {
|
|
172
|
+
"inter-tight": "inter-tight",
|
|
173
|
+
"source-serif-4": "source-serif-4",
|
|
174
|
+
"jetbrains-mono": "jetbrains-mono"
|
|
175
|
+
},
|
|
176
|
+
fontSize: {
|
|
177
|
+
"2-x-small": "2-x-small",
|
|
178
|
+
"x-small": "x-small",
|
|
179
|
+
small: "small",
|
|
180
|
+
medium: "medium",
|
|
181
|
+
large: "large",
|
|
182
|
+
"x-large": "x-large",
|
|
183
|
+
"2-x-large": "2-x-large",
|
|
184
|
+
"3-x-large": "3-x-large",
|
|
185
|
+
"4-x-large": "4-x-large",
|
|
186
|
+
"5-x-large": "5-x-large",
|
|
187
|
+
hero: "hero",
|
|
188
|
+
"heading-small": "heading-small",
|
|
189
|
+
"heading-medium": "heading-medium",
|
|
190
|
+
"heading-large": "heading-large",
|
|
191
|
+
"heading-x-large": "heading-x-large",
|
|
192
|
+
"heading-primary": "heading-primary"
|
|
193
|
+
},
|
|
194
|
+
shadow: {
|
|
195
|
+
natural: "natural",
|
|
196
|
+
deep: "deep",
|
|
197
|
+
sharp: "sharp",
|
|
198
|
+
outlined: "outlined",
|
|
199
|
+
crisp: "crisp"
|
|
200
|
+
},
|
|
201
|
+
fontWeight: {
|
|
202
|
+
thin: "thin",
|
|
203
|
+
"extra-light": "extra-light",
|
|
204
|
+
light: "light",
|
|
205
|
+
normal: "normal",
|
|
206
|
+
medium: "medium",
|
|
207
|
+
semibold: "semibold",
|
|
208
|
+
bold: "bold",
|
|
209
|
+
"extra-bold": "extra-bold",
|
|
210
|
+
black: "black"
|
|
211
|
+
},
|
|
212
|
+
lineHeight: {
|
|
213
|
+
tight: "tight",
|
|
214
|
+
normal: "normal",
|
|
215
|
+
loose: "loose"
|
|
216
|
+
},
|
|
217
|
+
radius: {
|
|
218
|
+
sm: "sm",
|
|
219
|
+
md: "md",
|
|
220
|
+
lg: "lg",
|
|
221
|
+
xl: "xl",
|
|
222
|
+
full: "full"
|
|
223
|
+
},
|
|
224
|
+
transition: {
|
|
225
|
+
fast: "fast",
|
|
226
|
+
base: "base"
|
|
227
|
+
},
|
|
228
|
+
z: {
|
|
229
|
+
100: "100",
|
|
230
|
+
200: "200",
|
|
231
|
+
500: "500"
|
|
232
|
+
},
|
|
233
|
+
layout: {
|
|
234
|
+
"content-size": "content-size",
|
|
235
|
+
"wide-size": "wide-size",
|
|
236
|
+
"small-size": "small-size",
|
|
237
|
+
"full-size": "full-size"
|
|
238
|
+
},
|
|
239
|
+
viewport: {
|
|
240
|
+
mobile: "mobile",
|
|
241
|
+
tablet: "tablet"
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
//#endregion
|
|
245
|
+
export { e as n, t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./parlour-tokens-BT0frVnY.cjs");var t={alignsmall:`alignsmall`,aligncontent:`aligncontent`,alignwide:`alignwide`,alignfull:`alignfull`},n={1:`one`,2:`two`,3:`three`,4:`four`,"1/3":`one-third`,"2/3":`two-thirds`};({...e.t.color});var r={none:`none`,...e.t.spacing},i={none:`none`,...e.t.radius},a={start:`start`,center:`center`,end:`end`,"space-between":`space-between`},o={start:`start`,center:`center`,end:`end`,stretch:`stretch`},s={light:`light`,medium:`medium`,dark:`dark`,white:`white`};Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as e } from "./parlour-tokens-CHt4gBUd.mjs";
|
|
2
|
+
//#region src/utils/propClasses.tsx
|
|
3
|
+
var t = {
|
|
4
|
+
alignsmall: "alignsmall",
|
|
5
|
+
aligncontent: "aligncontent",
|
|
6
|
+
alignwide: "alignwide",
|
|
7
|
+
alignfull: "alignfull"
|
|
8
|
+
}, n = {
|
|
9
|
+
1: "one",
|
|
10
|
+
2: "two",
|
|
11
|
+
3: "three",
|
|
12
|
+
4: "four",
|
|
13
|
+
"1/3": "one-third",
|
|
14
|
+
"2/3": "two-thirds"
|
|
15
|
+
};
|
|
16
|
+
({ ...e.color });
|
|
17
|
+
var r = {
|
|
18
|
+
none: "none",
|
|
19
|
+
...e.spacing
|
|
20
|
+
}, i = {
|
|
21
|
+
none: "none",
|
|
22
|
+
...e.radius
|
|
23
|
+
}, a = {
|
|
24
|
+
start: "start",
|
|
25
|
+
center: "center",
|
|
26
|
+
end: "end",
|
|
27
|
+
"space-between": "space-between"
|
|
28
|
+
}, o = {
|
|
29
|
+
start: "start",
|
|
30
|
+
center: "center",
|
|
31
|
+
end: "end",
|
|
32
|
+
stretch: "stretch"
|
|
33
|
+
}, s = {
|
|
34
|
+
light: "light",
|
|
35
|
+
medium: "medium",
|
|
36
|
+
dark: "dark",
|
|
37
|
+
white: "white"
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { n as a, a as i, i as n, t as o, o as r, r as s, s as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";let e=require("react"),t=require("react/jsx-runtime");var n=(0,e.createContext)(e=>(0,t.jsx)(`a`,{...e})),r=()=>(0,e.useContext)(n);Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../_shared/parlour-tokens-BT0frVnY.cjs");exports.parlourTokens=e.n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const ArticleData = "\n <h2>Article Heading</h2>\n\n <p>\n Aliquet nec orci mattis amet quisque ullamcorper neque, nibh\n sem. At arcu, sit dui mi, nibh dui, diam eget aliquam. Quisque\n id at vitae feugiat egestas ac. Diam nulla orci at in viverra\n scelerisque eget. Eleifend egestas fringilla sapien.\n </p>\n\n <p>\n Faucibus commodo massa rhoncus, volutpat.\n <strong>Dignissim</strong> sed <strong>eget risus enim</strong>.\n Mattis mauris semper sed amet vitae sed turpis id. Id dolor\n praesent donec est. Odio penatibus risus viverra tellus varius\n sit neque erat velit. Faucibus commodo massa rhoncus, volutpat.\n Dignissim sed eget risus enim.\n <a href=\"#\">Mattis mauris semper</a> sed amet vitae sed turpis\n id.\n </p>\n\n <ul>\n <li>Quis elit egestas venenatis mattis dignissim.</li>\n <li>\n Cras cras lobortis vitae vivamus ultricies facilisis tempus.\n </li>\n <li>Orci in sit morbi dignissim metus diam arcu pretium.</li>\n </ul>\n\n <p>\n Quis semper vulputate aliquam venenatis egestas sagittis quisque\n orci. Donec commodo sit viverra aliquam porttitor ultrices\n gravida eu. Tincidunt leo, elementum mattis elementum ut nisl,\n justo, amet, mattis. Nunc purus, diam commodo tincidunt turpis.\n Amet, duis sed elit interdum dignissim.\n </p>\n\n <h3>H3 Heading</h3>\n\n <p>\n Id orci tellus laoreet id ac. Dolor, aenean leo, ac etiam\n consequat in. Convallis arcu ipsum urna nibh. Pharetra, euismod\n vitae interdum mauris enim, consequat vulputate nibh. Maecenas\n pellentesque id sed tellus mauris, ultrices mauris. Tincidunt\n enim cursus ridiculus mi. Pellentesque nam sed nullam sed diam\n turpis ipsum eu a sed convallis diam.\n </p>\n\n <blockquote>\n <p>\n Sagittis scelerisque nulla cursus in enim consectetur quam.\n Dictum urna sed consectetur neque tristique pellentesque.\n Blandit amet, sed aenean erat arcu morbi.\n </p>\n </blockquote>\n <p>\n Faucibus commodo massa rhoncus, volutpat. Dignissim sed eget\n risus enim. Mattis mauris semper sed amet vitae sed turpis id.\n Id dolor praesent donec est. Odio penatibus risus viverra tellus\n varius sit neque erat velit.\n </p>\n\n <h4>H4 Heading</h4>\n <p>\n Purus morbi dignissim senectus mattis <a href=\"#\">adipiscing</a>\n . Amet, massa quam varius orci dapibus volutpat cras. In amet eu\n ridiculus leo sodales cursus tristique. Tincidunt sed tempus ut\n viverra ridiculus non molestie. Gravida quis fringilla amet eget\n dui tempor dignissim. Facilisis auctor venenatis varius nunc,\n congue erat ac. Cras fermentum convallis quam.\n </p>\n\n <p>\n Faucibus commodo massa rhoncus, volutpat. Dignissim sed eget\n risus enim. Mattis mauris semper sed amet vitae sed turpis id.\n Id dolor praesent donec est. Odio penatibus risus viverra tellus\n varius sit neque erat velit.\n </p>\n\n <ol>\n <li>Quis elit egestas venenatis mattis dignissim.</li>\n <li>Cras cras lobortis vitae vivamus ultricies facilisis tempus.\n </li>\n <li>Orci in sit morbi dignissim metus diam arcu pretium.</li>\n </ol>\n\n <p>\n Faucibus commodo massa rhoncus, volutpat. Dignissim sed eget\n risus enim. Mattis mauris semper sed amet vitae sed turpis id.\n Id dolor praesent donec est. Odio penatibus risus viverra tellus\n varius sit neque erat velit.\n </p>\n";
|
|
2
|
+
//# sourceMappingURL=ArticleData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArticleData.d.ts","sourceRoot":"","sources":["../../src/data/ArticleData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,i5GA4FvB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const CodeDataPhp = "private function init_allowed_blocks(): void {\n add_filter(\n 'allowed_block_types_all',\n [ $this, 'filter_allowed_blocks' ],\n 10,\n 2\n );\n}";
|
|
2
|
+
export declare const CodeDataReact = "export const Main = ({ children, hasPadding = true, className, ...rest }: MainProps) => {\n const rootClasses = ['parlour-main', hasPadding && 'parlour-main--padding', className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <main className={rootClasses} {...rest}>\n <div className=\"alignfull has-global-padding is-layout-constrained entry-content\">\n {children}\n </div>\n </main>\n );\n};";
|
|
3
|
+
//# sourceMappingURL=CodeData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeData.d.ts","sourceRoot":"","sources":["../../src/data/CodeData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,wLAOtB,CAAC;AAEH,eAAO,MAAM,aAAa,0dAYvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageData.d.ts","sourceRoot":"","sources":["../../src/data/ImageData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;GAUrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewsData.d.ts","sourceRoot":"","sources":["../../src/data/NewsData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;GAyQpB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const SingleParagraph: ({ index }: {
|
|
2
|
+
index?: number;
|
|
3
|
+
}) => import('react').JSX.Element;
|
|
4
|
+
export declare const MultiParagraph: ({ count }: {
|
|
5
|
+
count?: number;
|
|
6
|
+
}) => import('react').JSX.Element;
|
|
7
|
+
export declare const UnorderedList: () => import('react').JSX.Element;
|
|
8
|
+
export declare const OrderedList: () => import('react').JSX.Element;
|
|
9
|
+
//# sourceMappingURL=SampleContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SampleContent.d.ts","sourceRoot":"","sources":["../../src/data/SampleContent.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe,GAAI,WAAe;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,gCAEhE,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,WAAe;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,gCAM/D,CAAC;AAEF,eAAO,MAAM,aAAa,mCA0BzB,CAAC;AAEF,eAAO,MAAM,WAAW,mCA0BvB,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type BorderRadiusSamplesProps = {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function BorderRadiusSamples({ title, description }: BorderRadiusSamplesProps): import('react').JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=BorderRadiusSamples.d.ts.map
|