@jack.winter/pancake-ui 0.1.2 → 0.2.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/foundations/tokens.d.ts +10 -8
- package/dist/index.js +19 -17
- package/dist/styles.css +1 -1
- package/dist/theme.css +13 -11
- package/docs/components.md +1 -1
- package/docs/installation.md +4 -4
- package/docs/styling.md +16 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
- Make the defaults compact. Text sits on a four-point line grid: body 14px on 20px lines, `bodyStrong` 14px (was 15px), `caption` 12px on 16px (was 11px), `title` 24px on 32px (was 25px), and every other role's line height moves to the grid. Button text uses `bodyStrong` instead of `label`, and buttons lose their 112px minimum width. Buttons default to 36px, size to their content, and take `size` 32, 36 or 40; the 48px size is removed. Fields are 40px with an 8px radius, checkboxes 20px, radios 16px, switches 40px by 24px, and tabs and menu items 36px.
|
|
6
|
+
- Tighten surfaces and overlays: 16px surface and popover padding, a 480px dialog with 20px padding and a 32px close button, smaller banners, chips, table cells, pagination and bottom navigation.
|
|
7
|
+
- Breaking: `size={48}` on `Button`, `ButtonLink` and `IconButton` no longer type-checks. Use 40 for the largest size.
|
|
8
|
+
|
|
3
9
|
## 0.1.2
|
|
4
10
|
|
|
5
11
|
- No component API or behaviour changes. Remove a Pagination hover rule that had nothing left to cancel, and drop the `Progress` and `sizing` doc comments from the type declarations; the guides carry those notes.
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ npm install @jack.winter/pancake-ui
|
|
|
17
17
|
for an unpublished change, download `pancake-ui-package` from a successful main-branch [Verify run](https://github.com/j4ckwinter/pancake-ui/actions/workflows/verify.yml). extract the ZIP into your app’s `vendor/pancake-ui/` folder, then install the archive:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
npm install ./vendor/pancake-ui/jack.winter-pancake-ui-0.
|
|
20
|
+
npm install ./vendor/pancake-ui/jack.winter-pancake-ui-0.2.0.tgz
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
use the filename you downloaded, and commit the archive, manifest, and app lockfile alongside `package.json`. see [installation and releases](docs/installation.md) for local builds, upgrades, and registry release setup.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentPropsWithRef } from "react";
|
|
2
2
|
export type ButtonProps = ComponentPropsWithRef<"button"> & {
|
|
3
3
|
variant?: "primary" | "secondary" | "destructive" | "ghost";
|
|
4
|
-
size?:
|
|
4
|
+
size?: 32 | 36 | 40;
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
};
|
|
7
7
|
export declare function Button({ variant, size, loading, disabled, type, className, children, ...props }: ButtonProps): import("react").JSX.Element;
|
|
@@ -35,6 +35,7 @@ export declare const spacing: Readonly<{
|
|
|
35
35
|
}>;
|
|
36
36
|
export type SpacingToken = keyof typeof spacing;
|
|
37
37
|
export declare const radii: Readonly<{
|
|
38
|
+
readonly radius4: 4;
|
|
38
39
|
readonly radius12: 12;
|
|
39
40
|
readonly radius16: 16;
|
|
40
41
|
readonly radius20: 20;
|
|
@@ -69,6 +70,7 @@ export declare const sizing: Readonly<{
|
|
|
69
70
|
readonly size104: 104;
|
|
70
71
|
readonly size112: 112;
|
|
71
72
|
readonly size320: 320;
|
|
73
|
+
readonly size480: 480;
|
|
72
74
|
readonly size560: 560;
|
|
73
75
|
}>;
|
|
74
76
|
export type SizingToken = keyof typeof sizing;
|
|
@@ -97,7 +99,7 @@ export declare const typography: Readonly<{
|
|
|
97
99
|
fontSize: number;
|
|
98
100
|
fontWeight: "400";
|
|
99
101
|
fontStyle: "normal";
|
|
100
|
-
lineHeight: "
|
|
102
|
+
lineHeight: "20px";
|
|
101
103
|
letterSpacing: number;
|
|
102
104
|
}>;
|
|
103
105
|
readonly bodyStrong: Readonly<{
|
|
@@ -105,7 +107,7 @@ export declare const typography: Readonly<{
|
|
|
105
107
|
fontSize: number;
|
|
106
108
|
fontWeight: "600";
|
|
107
109
|
fontStyle: "normal";
|
|
108
|
-
lineHeight: "
|
|
110
|
+
lineHeight: "20px";
|
|
109
111
|
letterSpacing: number;
|
|
110
112
|
}>;
|
|
111
113
|
readonly caption: Readonly<{
|
|
@@ -113,7 +115,7 @@ export declare const typography: Readonly<{
|
|
|
113
115
|
fontSize: number;
|
|
114
116
|
fontWeight: "400";
|
|
115
117
|
fontStyle: "normal";
|
|
116
|
-
lineHeight: "
|
|
118
|
+
lineHeight: "16px";
|
|
117
119
|
letterSpacing: number;
|
|
118
120
|
}>;
|
|
119
121
|
readonly display: Readonly<{
|
|
@@ -121,7 +123,7 @@ export declare const typography: Readonly<{
|
|
|
121
123
|
fontSize: number;
|
|
122
124
|
fontWeight: "700";
|
|
123
125
|
fontStyle: "normal";
|
|
124
|
-
lineHeight: "
|
|
126
|
+
lineHeight: "36px";
|
|
125
127
|
letterSpacing: number;
|
|
126
128
|
}>;
|
|
127
129
|
readonly heading: Readonly<{
|
|
@@ -129,7 +131,7 @@ export declare const typography: Readonly<{
|
|
|
129
131
|
fontSize: number;
|
|
130
132
|
fontWeight: "700";
|
|
131
133
|
fontStyle: "normal";
|
|
132
|
-
lineHeight: "
|
|
134
|
+
lineHeight: "24px";
|
|
133
135
|
letterSpacing: number;
|
|
134
136
|
}>;
|
|
135
137
|
readonly label: Readonly<{
|
|
@@ -137,7 +139,7 @@ export declare const typography: Readonly<{
|
|
|
137
139
|
fontSize: number;
|
|
138
140
|
fontWeight: "600";
|
|
139
141
|
fontStyle: "normal";
|
|
140
|
-
lineHeight: "
|
|
142
|
+
lineHeight: "16px";
|
|
141
143
|
letterSpacing: number;
|
|
142
144
|
}>;
|
|
143
145
|
readonly micro: Readonly<{
|
|
@@ -153,7 +155,7 @@ export declare const typography: Readonly<{
|
|
|
153
155
|
fontSize: number;
|
|
154
156
|
fontWeight: "700";
|
|
155
157
|
fontStyle: "normal";
|
|
156
|
-
lineHeight: "
|
|
158
|
+
lineHeight: "28px";
|
|
157
159
|
letterSpacing: number;
|
|
158
160
|
}>;
|
|
159
161
|
readonly title: Readonly<{
|
|
@@ -161,7 +163,7 @@ export declare const typography: Readonly<{
|
|
|
161
163
|
fontSize: number;
|
|
162
164
|
fontWeight: "700";
|
|
163
165
|
fontStyle: "normal";
|
|
164
|
-
lineHeight: "
|
|
166
|
+
lineHeight: "32px";
|
|
165
167
|
letterSpacing: number;
|
|
166
168
|
}>;
|
|
167
169
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -34,6 +34,7 @@ var d = Object.freeze({
|
|
|
34
34
|
space40: 40,
|
|
35
35
|
space8: 8
|
|
36
36
|
}), p = Object.freeze({
|
|
37
|
+
radius4: 4,
|
|
37
38
|
radius12: 12,
|
|
38
39
|
radius16: 16,
|
|
39
40
|
radius20: 20,
|
|
@@ -66,6 +67,7 @@ var d = Object.freeze({
|
|
|
66
67
|
size104: 104,
|
|
67
68
|
size112: 112,
|
|
68
69
|
size320: 320,
|
|
70
|
+
size480: 480,
|
|
69
71
|
size560: 560
|
|
70
72
|
}), h = Object.freeze({
|
|
71
73
|
borderDefault: 1,
|
|
@@ -79,23 +81,23 @@ var d = Object.freeze({
|
|
|
79
81
|
fontSize: 14,
|
|
80
82
|
fontWeight: "400",
|
|
81
83
|
fontStyle: "normal",
|
|
82
|
-
lineHeight: "
|
|
84
|
+
lineHeight: "20px",
|
|
83
85
|
letterSpacing: 0
|
|
84
86
|
}),
|
|
85
87
|
bodyStrong: v({
|
|
86
88
|
fontFamily: _,
|
|
87
|
-
fontSize:
|
|
89
|
+
fontSize: 14,
|
|
88
90
|
fontWeight: "600",
|
|
89
91
|
fontStyle: "normal",
|
|
90
|
-
lineHeight: "
|
|
92
|
+
lineHeight: "20px",
|
|
91
93
|
letterSpacing: 0
|
|
92
94
|
}),
|
|
93
95
|
caption: v({
|
|
94
96
|
fontFamily: _,
|
|
95
|
-
fontSize:
|
|
97
|
+
fontSize: 12,
|
|
96
98
|
fontWeight: "400",
|
|
97
99
|
fontStyle: "normal",
|
|
98
|
-
lineHeight: "
|
|
100
|
+
lineHeight: "16px",
|
|
99
101
|
letterSpacing: 0
|
|
100
102
|
}),
|
|
101
103
|
display: v({
|
|
@@ -103,7 +105,7 @@ var d = Object.freeze({
|
|
|
103
105
|
fontSize: 28,
|
|
104
106
|
fontWeight: "700",
|
|
105
107
|
fontStyle: "normal",
|
|
106
|
-
lineHeight: "
|
|
108
|
+
lineHeight: "36px",
|
|
107
109
|
letterSpacing: 0
|
|
108
110
|
}),
|
|
109
111
|
heading: v({
|
|
@@ -111,7 +113,7 @@ var d = Object.freeze({
|
|
|
111
113
|
fontSize: 18,
|
|
112
114
|
fontWeight: "700",
|
|
113
115
|
fontStyle: "normal",
|
|
114
|
-
lineHeight: "
|
|
116
|
+
lineHeight: "24px",
|
|
115
117
|
letterSpacing: 0
|
|
116
118
|
}),
|
|
117
119
|
label: v({
|
|
@@ -119,7 +121,7 @@ var d = Object.freeze({
|
|
|
119
121
|
fontSize: 12,
|
|
120
122
|
fontWeight: "600",
|
|
121
123
|
fontStyle: "normal",
|
|
122
|
-
lineHeight: "
|
|
124
|
+
lineHeight: "16px",
|
|
123
125
|
letterSpacing: 0
|
|
124
126
|
}),
|
|
125
127
|
micro: v({
|
|
@@ -135,15 +137,15 @@ var d = Object.freeze({
|
|
|
135
137
|
fontSize: 20,
|
|
136
138
|
fontWeight: "700",
|
|
137
139
|
fontStyle: "normal",
|
|
138
|
-
lineHeight: "
|
|
140
|
+
lineHeight: "28px",
|
|
139
141
|
letterSpacing: 0
|
|
140
142
|
}),
|
|
141
143
|
title: v({
|
|
142
144
|
fontFamily: _,
|
|
143
|
-
fontSize:
|
|
145
|
+
fontSize: 24,
|
|
144
146
|
fontWeight: "700",
|
|
145
147
|
fontStyle: "normal",
|
|
146
|
-
lineHeight: "
|
|
148
|
+
lineHeight: "32px",
|
|
147
149
|
letterSpacing: 0
|
|
148
150
|
})
|
|
149
151
|
});
|
|
@@ -155,7 +157,7 @@ function b({ className: e = "", ...n }) {
|
|
|
155
157
|
});
|
|
156
158
|
}
|
|
157
159
|
// src/components/Button/Button.tsx
|
|
158
|
-
function x({ variant: e = "primary", size: r =
|
|
160
|
+
function x({ variant: e = "primary", size: r = 36, loading: i = !1, disabled: a = !1, type: o = "button", className: s = "", children: c, ...l }) {
|
|
159
161
|
return /* @__PURE__ */ n("button", {
|
|
160
162
|
...l,
|
|
161
163
|
type: o,
|
|
@@ -623,7 +625,7 @@ function H({ label: e, children: n, loading: r = !1, className: i = "", ...a })
|
|
|
623
625
|
});
|
|
624
626
|
}
|
|
625
627
|
// src/components/Button/ButtonLink.tsx
|
|
626
|
-
function U({ variant: e = "primary", size: n =
|
|
628
|
+
function U({ variant: e = "primary", size: n = 36, className: r = "", ...i }) {
|
|
627
629
|
return /* @__PURE__ */ t("a", {
|
|
628
630
|
...i,
|
|
629
631
|
className: `pancake-button pancake-button--${e} pancake-button--${n} pancake-button-link ${r}`
|
|
@@ -666,7 +668,7 @@ function W({ open: e, onOpenChange: r, title: i, description: a, closeLabel: u =
|
|
|
666
668
|
}), /* @__PURE__ */ t(H, {
|
|
667
669
|
label: u,
|
|
668
670
|
variant: "ghost",
|
|
669
|
-
size:
|
|
671
|
+
size: 32,
|
|
670
672
|
onClick: () => r(!1),
|
|
671
673
|
children: "×"
|
|
672
674
|
})]
|
|
@@ -1118,14 +1120,14 @@ function me({ label: e, page: r, pageCount: i, labels: a = {}, getPageHref: o, o
|
|
|
1118
1120
|
let { count: d, current: f, pages: p } = pe(r, i), m = a.page ?? ((e) => `Page ${e}`), h = a.previous ?? "Previous", g = a.next ?? "Next", _ = (e, n, r, i = !1) => {
|
|
1119
1121
|
let a = e === f;
|
|
1120
1122
|
return o ? i ? /* @__PURE__ */ t("span", {
|
|
1121
|
-
className: "pancake-button pancake-button--secondary pancake-button--
|
|
1123
|
+
className: "pancake-button pancake-button--secondary pancake-button--32 pancake-pagination-control pancake-pagination-unavailable",
|
|
1122
1124
|
"aria-disabled": "true",
|
|
1123
1125
|
children: n
|
|
1124
1126
|
}) : /* @__PURE__ */ t(U, {
|
|
1125
1127
|
target: c?.target,
|
|
1126
1128
|
rel: c?.rel,
|
|
1127
1129
|
href: o(e),
|
|
1128
|
-
size:
|
|
1130
|
+
size: 32,
|
|
1129
1131
|
variant: a ? "primary" : "secondary",
|
|
1130
1132
|
className: "pancake-pagination-control",
|
|
1131
1133
|
"aria-label": r,
|
|
@@ -1133,7 +1135,7 @@ function me({ label: e, page: r, pageCount: i, labels: a = {}, getPageHref: o, o
|
|
|
1133
1135
|
children: n
|
|
1134
1136
|
}) : /* @__PURE__ */ t(x, {
|
|
1135
1137
|
type: "button",
|
|
1136
|
-
size:
|
|
1138
|
+
size: 32,
|
|
1137
1139
|
variant: a ? "primary" : "secondary",
|
|
1138
1140
|
className: "pancake-pagination-control",
|
|
1139
1141
|
disabled: i,
|
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer theme,base;@layer components{.pancake-button{min-width:var(--spacing-pancake-112);border-radius:var(--radius-pancake-full);padding-inline:var(--spacing-pancake-24);font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);appearance:none;box-sizing:border-box;justify-content:center;align-items:center;gap:var(--spacing-pancake-8);cursor:pointer;padding-block:var(--spacing-pancake-8);text-align:center;border:0;display:inline-flex}.pancake-button--40{min-height:var(--spacing-pancake-40)}.pancake-button--48{min-height:var(--spacing-pancake-48)}.pancake-button--primary{background-color:var(--color-pancake-accent)}.pancake-button--secondary{background-color:var(--color-pancake-surface)}.pancake-button--destructive{background-color:var(--color-pancake-danger)}.pancake-button--ghost{background-color:var(--color-pancake-canvas)}.pancake-button--primary:hover:not(:disabled):not([aria-disabled=true]),.pancake-button--primary:active:not(:disabled):not([aria-disabled=true]){background-color:var(--color-pancake-surface-accent)}.pancake-button--secondary:hover:not(:disabled):not([aria-disabled=true]),.pancake-button--ghost:hover:not(:disabled):not([aria-disabled=true]){background-color:var(--color-pancake-surface-muted)}.pancake-button--destructive:hover:not(:disabled):not([aria-disabled=true]){background-color:var(--color-pancake-danger-hover)}.pancake-button:disabled{opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-button:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:var(--spacing-pancake-4)}@media (forced-colors:active){.pancake-button{border:1px solid buttontext}}.pancake-checkbox:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:var(--spacing-pancake-4)}.pancake-checkbox-label{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);align-items:center;gap:var(--spacing-pancake-12);cursor:pointer;display:inline-flex}.pancake-checkbox-label:has(.pancake-checkbox:disabled){opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-checkbox{border-radius:var(--radius-pancake-8);background-color:var(--color-pancake-surface);color:var(--color-pancake-ink);appearance:none;box-sizing:border-box;width:var(--spacing-pancake-40);height:var(--spacing-pancake-40);border:var(--pancake-border-default) solid var(--color-pancake-control-border);cursor:inherit;flex:none;place-content:center;margin:0;display:grid}.pancake-checkbox:checked{background-color:var(--color-pancake-accent)}.pancake-checkbox:checked:before{content:"";width:var(--spacing-pancake-8);height:var(--spacing-pancake-16);border:solid;border-width:0 var(--pancake-focus-ring-width) var(--pancake-focus-ring-width) 0;transform:translateY(-2px)rotate(45deg)}.pancake-checkbox:disabled{background-color:var(--color-pancake-surface-muted)}@media (forced-colors:active){.pancake-checkbox{appearance:auto}.pancake-checkbox:before{display:none}}.pancake-field{font-family:var(--font-pancake);color:var(--color-pancake-ink);width:100%;min-width:0}.pancake-field-label{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-text-secondary);margin-bottom:var(--spacing-pancake-8);display:block}.pancake-field-input{border-radius:var(--radius-pancake-12);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);box-sizing:border-box;width:100%;min-height:var(--spacing-pancake-52);padding:var(--spacing-pancake-8) var(--spacing-pancake-16);border:var(--pancake-border-default) solid var(--color-pancake-control-border)}.pancake-field-input::placeholder{color:var(--color-pancake-muted);opacity:1}.pancake-field-input:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:2px;border-color:var(--color-pancake-focus-ring)}.pancake-field-input[aria-invalid=true]{border-color:var(--color-pancake-error-strong);border-width:2px}.pancake-field-input:disabled{opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-field-input:read-only{background:var(--color-pancake-surface-muted)}.pancake-field-description{font-size:var(--text-pancake-caption);line-height:var(--tw-leading,var(--text-pancake-caption--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-caption--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-caption--font-weight));margin:var(--spacing-pancake-4) 0 0}.pancake-stack,.pancake-inline{box-sizing:border-box;min-width:0;display:flex}.pancake-stack{flex-direction:column}.pancake-inline{flex-direction:row}.pancake-text{overflow-wrap:anywhere;margin:0}.pancake-avatar{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-info);font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);box-sizing:border-box;vertical-align:middle;flex:none;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.pancake-avatar img{object-fit:cover;width:100%;height:100%}.pancake-avatar-group{gap:var(--spacing-pancake-4);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.pancake-avatar-group li{display:flex}.pancake-avatar-overflow{background-color:var(--color-pancake-surface-muted)}.pancake-status-chip{border-radius:var(--radius-pancake-full);font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);box-sizing:border-box;min-height:var(--spacing-pancake-36);padding:var(--spacing-pancake-4) var(--spacing-pancake-12);overflow-wrap:anywhere;justify-content:center;align-items:center;display:inline-flex}.pancake-tone-neutral{background-color:var(--color-pancake-surface-muted)}.pancake-tone-success{background-color:var(--color-pancake-surface-accent)}.pancake-tone-warning{background-color:var(--color-pancake-warning)}.pancake-tone-danger{background-color:var(--color-pancake-danger)}.pancake-tone-info{background-color:var(--color-pancake-info)}.pancake-banner{border-radius:var(--radius-pancake-16);font-family:var(--font-pancake);color:var(--color-pancake-ink);box-sizing:border-box;align-items:center;gap:var(--spacing-pancake-8);padding:var(--spacing-pancake-12);min-height:var(--spacing-pancake-72);width:100%;display:flex}.pancake-banner-copy{overflow-wrap:anywhere;flex:1;min-width:0}.pancake-banner-title{font-size:var(--text-pancake-body-strong);line-height:var(--tw-leading,var(--text-pancake-body-strong--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body-strong--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body-strong--font-weight));display:block}.pancake-banner-description{font-size:var(--text-pancake-caption);line-height:var(--tw-leading,var(--text-pancake-caption--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-caption--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-caption--font-weight));color:var(--color-pancake-text-secondary);margin-top:var(--spacing-pancake-4)}.pancake-banner-dismiss{border-radius:var(--radius-pancake-full);font-family:var(--font-pancake);color:var(--color-pancake-ink);cursor:pointer;min-width:var(--spacing-pancake-44);min-height:var(--spacing-pancake-44);background:0 0;border:none;flex:none;font-size:24px}.pancake-banner-dismiss:hover{background-color:var(--color-pancake-surface)}.pancake-banner-dismiss:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:2px}.pancake-empty-state{font-family:var(--font-pancake);color:var(--color-pancake-ink);text-align:center;padding:var(--spacing-pancake-24);overflow-wrap:anywhere}.pancake-empty-icon{margin-bottom:var(--spacing-pancake-16)}.pancake-empty-title{font-size:var(--text-pancake-heading);line-height:var(--tw-leading,var(--text-pancake-heading--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-heading--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-heading--font-weight));margin:0}.pancake-empty-description{font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-text-secondary);margin-top:var(--spacing-pancake-8)}.pancake-empty-action{margin-top:var(--spacing-pancake-20)}.pancake-section-header,.pancake-app-header{font-family:var(--font-pancake);color:var(--color-pancake-ink);justify-content:space-between;align-items:center;gap:var(--spacing-pancake-16);min-height:var(--spacing-pancake-44);flex-wrap:wrap;display:flex}.pancake-app-header{border-radius:var(--radius-pancake-20);background-color:var(--color-pancake-canvas);min-height:var(--spacing-pancake-88);padding:var(--spacing-pancake-16);box-sizing:border-box}.pancake-header-copy{overflow-wrap:anywhere;flex:160px;min-width:0}.pancake-section-title{font-size:var(--text-pancake-heading);line-height:var(--tw-leading,var(--text-pancake-heading--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-heading--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-heading--font-weight));margin:0}.pancake-app-title{font-size:var(--text-pancake-title);line-height:var(--tw-leading,var(--text-pancake-title--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-title--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-title--font-weight));margin:0}.pancake-header-description{font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-text-secondary);margin:var(--spacing-pancake-8) 0 0}.pancake-header-action{flex:0 auto;max-width:100%}.pancake-bottom-navigation{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);color:var(--color-pancake-ink);border:var(--pancake-border-default) solid var(--color-pancake-border)}.pancake-bottom-navigation ul{box-sizing:border-box;padding:var(--spacing-pancake-8);gap:var(--spacing-pancake-4);flex-wrap:wrap;margin:0;list-style:none;display:flex}.pancake-bottom-navigation li{flex:80px;min-width:0;display:flex}.pancake-bottom-navigation a{border-radius:var(--radius-pancake-12);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-text-secondary);justify-content:center;align-items:center;gap:var(--spacing-pancake-4);padding:var(--spacing-pancake-8);min-height:var(--spacing-pancake-48);box-sizing:border-box;text-align:center;overflow-wrap:anywhere;flex-direction:column;flex:1;text-decoration:none;display:flex}.pancake-bottom-navigation a[aria-current=page]{background-color:var(--color-pancake-accent);color:var(--color-pancake-ink)}.pancake-bottom-navigation a:hover{text-decoration:underline}.pancake-bottom-navigation a:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:2px}.pancake-segmented-control{font-family:var(--font-pancake);color:var(--color-pancake-ink);border:0;min-width:0;margin:0;padding:0}.pancake-segmented-control legend{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));margin-bottom:var(--spacing-pancake-8);padding:0}.pancake-segments{border-radius:var(--radius-pancake-20);background-color:var(--color-pancake-surface-muted);gap:var(--spacing-pancake-4);padding:var(--spacing-pancake-4);flex-wrap:wrap;display:flex}.pancake-segment{cursor:pointer;flex:80px;min-width:0;display:flex;position:relative}.pancake-segment input{opacity:0;width:100%;height:100%;cursor:inherit;margin:0;position:absolute;inset:0}.pancake-segment>span{border-radius:var(--radius-pancake-20);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));box-sizing:border-box;width:100%;min-height:var(--spacing-pancake-48);padding:var(--spacing-pancake-8) var(--spacing-pancake-12);text-align:center;overflow-wrap:anywhere;border:var(--pancake-border-default) solid transparent;justify-content:center;align-items:center;display:flex}.pancake-segment input:checked+span{text-underline-offset:var(--spacing-pancake-4);background-color:var(--color-pancake-surface);text-decoration:underline}.pancake-segment input:focus-visible+span{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:2px}.pancake-segment input:disabled{cursor:not-allowed}.pancake-segment input:disabled+span{opacity:var(--pancake-opacity-disabled)}.pancake-step-progress{font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);gap:var(--spacing-pancake-16);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.pancake-step-progress li{align-items:center;gap:var(--spacing-pancake-8);overflow-wrap:anywhere;min-width:0;display:flex}.pancake-step-number{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-surface-muted);width:var(--spacing-pancake-32);height:var(--spacing-pancake-32);flex:none;place-items:center;display:grid}.pancake-step-progress [data-complete] .pancake-step-number{background-color:var(--color-pancake-accent)}.pancake-step-progress [aria-current=step] .pancake-step-number{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep)}.pancake-navigation-sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (forced-colors:active){.pancake-segment input:checked+span{border:2px solid highlight}.pancake-bottom-navigation a[aria-current=page]{outline:2px solid highlight}}.pancake-surface{border-radius:var(--radius-pancake-16);background-color:var(--color-pancake-surface);padding:var(--spacing-pancake-24);font-family:var(--font-pancake);color:var(--color-pancake-ink);box-sizing:border-box}.pancake-textarea{resize:vertical;display:block}.pancake-select-control{position:relative}.pancake-select{appearance:none;padding-inline-end:var(--spacing-pancake-40)}.pancake-select:read-only{background:var(--color-pancake-surface)}.pancake-select-control .pancake-select:disabled+.pancake-select-chevron{opacity:var(--pancake-opacity-disabled)}.pancake-select-chevron{pointer-events:none;inset-inline-end:var(--spacing-pancake-16);align-items:center;display:flex;position:absolute;top:0;bottom:0}.pancake-icon-button{flex-shrink:0;min-width:0;padding:0}.pancake-icon-button.pancake-button--40{width:var(--spacing-pancake-40);height:var(--spacing-pancake-40)}.pancake-icon-button.pancake-button--48{width:var(--spacing-pancake-48);height:var(--spacing-pancake-48)}.pancake-icon-button-icon{width:var(--spacing-pancake-24);height:var(--spacing-pancake-24);justify-content:center;align-items:center;display:inline-flex}.pancake-button-link{overflow-wrap:anywhere;max-width:100%;text-decoration:none}.pancake-dialog{border-radius:var(--radius-pancake-16);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);color:var(--color-pancake-ink);box-sizing:border-box;width:calc(100% - var(--spacing-pancake-48));max-width:var(--spacing-pancake-560);max-height:calc(100% - var(--spacing-pancake-48));padding:var(--spacing-pancake-24);border:var(--pancake-border-default) solid var(--color-pancake-border);overflow-wrap:anywhere;overflow:auto}.pancake-dialog::backdrop{background:var(--color-pancake-deep);opacity:var(--pancake-opacity-overlay)}.pancake-radio-group{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);border:0;min-width:0;margin:0;padding:0}.pancake-radio-legend{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));margin-bottom:var(--spacing-pancake-8);padding:0}.pancake-radio-options{gap:var(--spacing-pancake-8);display:grid}.pancake-radio-option{align-items:center;gap:var(--spacing-pancake-12);min-height:var(--spacing-pancake-40);cursor:pointer;display:flex}.pancake-radio-input{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-surface);appearance:none;box-sizing:border-box;border:var(--pancake-border-default) solid var(--color-pancake-control-border);width:var(--spacing-pancake-24);height:var(--spacing-pancake-24);margin:var(--spacing-pancake-8);cursor:inherit;flex:none;place-content:center;display:grid}.pancake-radio-input:checked{background-color:var(--color-pancake-accent)}.pancake-radio-input:checked:before{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-deep);content:"";width:var(--spacing-pancake-12);height:var(--spacing-pancake-12)}.pancake-radio-input:focus{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:var(--spacing-pancake-4)}.pancake-radio-option:has(.pancake-radio-input:disabled){opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-radio-copy{overflow-wrap:anywhere;min-width:0;display:grid}.pancake-radio-description{font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-muted);margin-top:var(--spacing-pancake-4);display:block}@media (forced-colors:active){.pancake-radio-input{appearance:auto}.pancake-radio-input:before{display:none}}.pancake-switch-label{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);align-items:center;gap:var(--spacing-pancake-12);cursor:pointer;display:inline-flex}.pancake-switch{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-surface-muted);appearance:none;box-sizing:border-box;width:var(--spacing-pancake-64);height:var(--spacing-pancake-40);border:var(--pancake-border-default) solid var(--color-pancake-control-border);cursor:inherit;flex:none;margin:0;position:relative}.pancake-switch:before{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-deep);content:"";width:var(--spacing-pancake-24);height:var(--spacing-pancake-24);position:absolute;inset-block-start:calc(var(--spacing-pancake-8) - var(--pancake-border-default));inset-inline-start:calc(var(--spacing-pancake-8) - var(--pancake-border-default))}.pancake-switch:checked{background-color:var(--color-pancake-accent)}.pancake-switch:checked:before{inset-inline-start:calc(var(--spacing-pancake-32) - var(--pancake-border-default))}.pancake-switch:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:var(--spacing-pancake-4)}.pancake-switch-label:has(.pancake-switch:disabled){opacity:var(--pancake-opacity-disabled);cursor:not-allowed}@media (forced-colors:active){.pancake-switch{appearance:auto}.pancake-switch:before{display:none}}.pancake-tabs{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);min-width:0}.pancake-tabs-list{gap:var(--spacing-pancake-8);padding:var(--spacing-pancake-8);flex-wrap:wrap;display:flex}.pancake-tabs-list--vertical{flex-direction:column;align-items:stretch}.pancake-tabs-tab{border-radius:var(--radius-pancake-12);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);min-height:var(--spacing-pancake-48);min-width:0;max-width:100%;padding:var(--spacing-pancake-12) var(--spacing-pancake-16);border:var(--pancake-border-default) solid transparent;cursor:pointer;overflow-wrap:anywhere}.pancake-tabs-tab[aria-selected=true]{background-color:var(--color-pancake-accent);text-underline-offset:var(--spacing-pancake-4);text-decoration:underline}.pancake-tabs-tab:hover:not(:disabled){background-color:var(--color-pancake-surface-muted)}.pancake-tabs-tab[aria-selected=true]:hover:not(:disabled){background-color:var(--color-pancake-surface-accent)}.pancake-tabs-tab:disabled{opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-tabs-tab:focus-visible,.pancake-tabs-panel:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:var(--spacing-pancake-4)}.pancake-tabs-panel{padding:var(--spacing-pancake-16) var(--spacing-pancake-8);overflow-wrap:anywhere}.pancake-disclosure{border-radius:var(--radius-pancake-16);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);border:var(--pancake-border-default) solid var(--color-pancake-border);overflow-wrap:anywhere;min-width:0}.pancake-disclosure-summary{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));padding:var(--spacing-pancake-16);cursor:pointer}.pancake-disclosure-summary:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:var(--spacing-pancake-4)}.pancake-disclosure-content{padding:0 var(--spacing-pancake-16) var(--spacing-pancake-16)}.pancake-progress-field{gap:var(--spacing-pancake-8);min-width:0;display:grid}.pancake-progress-label{font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);overflow-wrap:anywhere}.pancake-progress{width:100%;height:var(--spacing-pancake-16);accent-color:var(--color-pancake-deep)}.pancake-loading-indicator{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);align-items:center;gap:var(--spacing-pancake-8);overflow-wrap:anywhere;display:flex}.pancake-loading-dots{gap:var(--spacing-pancake-4);flex-shrink:0;display:inline-flex}.pancake-loading-dot{border-radius:var(--radius-pancake-full);width:var(--spacing-pancake-4);height:var(--spacing-pancake-4);background:currentColor}.pancake-file-field{min-width:0}.pancake-file-field:read-only{background:var(--color-pancake-surface)}.pancake-file-field::file-selector-button{border-radius:var(--radius-pancake-full);font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);background:var(--color-pancake-surface-muted);padding:var(--spacing-pancake-8) var(--spacing-pancake-12);cursor:pointer;border:none;margin-inline-end:var(--spacing-pancake-8)}.pancake-file-field:disabled::file-selector-button{cursor:not-allowed}.pancake-popover{border-radius:var(--radius-pancake-16);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);color:var(--color-pancake-ink);box-sizing:border-box;position-anchor:auto;position-area:block-end;position-try-fallbacks:flip-block;position-try-order:most-height;margin:var(--spacing-pancake-8);width:var(--spacing-pancake-320);max-width:calc(100% - var(--spacing-pancake-32));max-height:calc(100% - var(--spacing-pancake-32));padding:var(--spacing-pancake-24);border:var(--pancake-border-default) solid var(--color-pancake-border);overflow-wrap:anywhere;position:fixed;inset:auto;overflow:auto}.pancake-dropdown-menu{padding:var(--spacing-pancake-8)}.pancake-dropdown-menu-item{border-radius:var(--radius-pancake-8);background-color:var(--color-pancake-transparent);font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);box-sizing:border-box;width:100%;min-height:var(--spacing-pancake-40);padding:var(--spacing-pancake-12) var(--spacing-pancake-8);border:var(--spacing-pancake-0);text-align:start;overflow-wrap:anywhere;cursor:pointer;text-decoration:none;display:block}.pancake-dropdown-menu-item:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:var(--pancake-focus-ring-width)}.pancake-dropdown-menu-item:hover{background-color:var(--color-pancake-surface-muted)}.pancake-dropdown-menu-item[aria-disabled=true]{opacity:var(--pancake-opacity-disabled);cursor:default}.pancake-tooltip-anchor{align-self:flex-start;display:inline-flex}.pancake-tooltip{border-radius:var(--radius-pancake-8);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));width:max-content;max-width:min(var(--spacing-pancake-320), calc(100% - var(--spacing-pancake-32)));padding:var(--spacing-pancake-8);margin:0}.pancake-table-scroll{min-width:0;max-width:100%;overflow:auto}.pancake-table-scroll:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:var(--pancake-focus-ring-width)}.pancake-table{background-color:var(--color-pancake-surface);font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);border-collapse:collapse;text-align:start;width:100%}.pancake-table>caption{font-size:var(--text-pancake-heading);line-height:var(--tw-leading,var(--text-pancake-heading--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-heading--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-heading--font-weight));padding-block:var(--spacing-pancake-16);text-align:start}.pancake-table>thead{background-color:var(--color-pancake-surface-muted)}.pancake-table>thead>tr>th,.pancake-table>tbody>tr>th,.pancake-table>tfoot>tr>th{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));text-align:start}.pancake-table>thead>tr>th,.pancake-table>thead>tr>td,.pancake-table>tbody>tr>th,.pancake-table>tbody>tr>td,.pancake-table>tfoot>tr>th,.pancake-table>tfoot>tr>td{min-width:var(--spacing-pancake-112);padding:var(--spacing-pancake-16);border-bottom:var(--pancake-border-default) solid var(--color-pancake-border);vertical-align:top}.pancake-pagination{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);min-width:0}.pancake-pagination-list{align-items:center;gap:var(--spacing-pancake-8);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.pancake-pagination-list>li{min-width:0;max-width:100%;display:flex}.pancake-pagination-control{min-width:var(--spacing-pancake-40);max-width:100%;padding-inline:var(--spacing-pancake-12);overflow-wrap:anywhere}.pancake-pagination-unavailable{opacity:var(--pancake-opacity-disabled);cursor:default}.pancake-pagination-gap{padding-inline:var(--spacing-pancake-4)}}@layer utilities;:root,:host{--color-pancake-accent:#ade533;--color-pancake-accent-disabled-layer:#ade533cc;--color-pancake-border:#edede8;--color-pancake-canvas:#fbf8f0;--color-pancake-control-border:#7e8c70;--color-pancake-control-focus:#647a45;--color-pancake-error-strong:#a34c3e;--color-pancake-danger:#ffd6d6;--color-pancake-danger-hover:#ffc2c2;--color-pancake-deep:#384540;--color-pancake-info:#d6edfa;--color-pancake-ink:#0e1716;--color-pancake-muted:#636b6e;--color-pancake-olive:#636657;--color-pancake-surface:#fff;--color-pancake-surface-accent:#d1f28a;--color-pancake-surface-muted:#f0f0eb;--color-pancake-text-secondary:#3b4742;--color-pancake-transparent:transparent;--color-pancake-warning:#ffeb9e;--color-pancake-focus-ring:#ade533;--spacing-pancake-0:0px;--spacing-pancake-4:4px;--spacing-pancake-8:8px;--spacing-pancake-12:12px;--spacing-pancake-16:16px;--spacing-pancake-20:20px;--spacing-pancake-24:24px;--spacing-pancake-28:28px;--spacing-pancake-32:32px;--spacing-pancake-36:36px;--spacing-pancake-40:40px;--spacing-pancake-44:44px;--spacing-pancake-48:48px;--spacing-pancake-52:52px;--spacing-pancake-56:56px;--spacing-pancake-64:64px;--spacing-pancake-72:72px;--spacing-pancake-76:76px;--spacing-pancake-80:80px;--spacing-pancake-88:88px;--spacing-pancake-92:92px;--spacing-pancake-104:104px;--spacing-pancake-112:112px;--spacing-pancake-320:320px;--spacing-pancake-560:560px;--radius-pancake-12:12px;--radius-pancake-16:16px;--radius-pancake-20:20px;--radius-pancake-28:28px;--radius-pancake-36:36px;--radius-pancake-8:8px;--radius-pancake-full:999px;--font-pancake:Inter, sans-serif;--text-pancake-body:14px;--text-pancake-body--line-height:16.8px;--text-pancake-body--font-weight:400;--text-pancake-body--letter-spacing:0px;--text-pancake-body-strong:15px;--text-pancake-body-strong--line-height:18px;--text-pancake-body-strong--font-weight:600;--text-pancake-body-strong--letter-spacing:0px;--text-pancake-caption:11px;--text-pancake-caption--line-height:13.2px;--text-pancake-caption--font-weight:400;--text-pancake-caption--letter-spacing:0px;--text-pancake-display:28px;--text-pancake-display--line-height:33.6px;--text-pancake-display--font-weight:700;--text-pancake-display--letter-spacing:0px;--text-pancake-heading:18px;--text-pancake-heading--line-height:21.6px;--text-pancake-heading--font-weight:700;--text-pancake-heading--letter-spacing:0px;--text-pancake-label:12px;--text-pancake-label--line-height:14.4px;--text-pancake-label--font-weight:600;--text-pancake-label--letter-spacing:0px;--text-pancake-micro:10px;--text-pancake-micro--line-height:12px;--text-pancake-micro--font-weight:600;--text-pancake-micro--letter-spacing:0px;--text-pancake-section:20px;--text-pancake-section--line-height:24px;--text-pancake-section--font-weight:700;--text-pancake-section--letter-spacing:0px;--text-pancake-title:25px;--text-pancake-title--line-height:30px;--text-pancake-title--font-weight:700;--text-pancake-title--letter-spacing:0px;--pancake-border-default:1px;--pancake-focus-ring-width:2px;--pancake-opacity-disabled:.4;--pancake-opacity-overlay:.5}
|
|
2
|
+
@layer theme,base;@layer components{.pancake-button{border-radius:var(--radius-pancake-full);padding-inline:var(--spacing-pancake-12);font-family:var(--font-pancake);font-size:var(--text-pancake-body-strong);line-height:var(--tw-leading,var(--text-pancake-body-strong--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body-strong--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body-strong--font-weight));color:var(--color-pancake-ink);appearance:none;box-sizing:border-box;justify-content:center;align-items:center;gap:var(--spacing-pancake-8);cursor:pointer;padding-block:var(--spacing-pancake-4);text-align:center;border:0;display:inline-flex}.pancake-button--32{min-height:var(--spacing-pancake-32)}.pancake-button--36{min-height:var(--spacing-pancake-36)}.pancake-button--40{min-height:var(--spacing-pancake-40);padding-inline:var(--spacing-pancake-16)}.pancake-button--primary{background-color:var(--color-pancake-accent)}.pancake-button--secondary{background-color:var(--color-pancake-surface)}.pancake-button--destructive{background-color:var(--color-pancake-danger)}.pancake-button--ghost{background-color:var(--color-pancake-canvas)}.pancake-button--primary:hover:not(:disabled):not([aria-disabled=true]),.pancake-button--primary:active:not(:disabled):not([aria-disabled=true]){background-color:var(--color-pancake-surface-accent)}.pancake-button--secondary:hover:not(:disabled):not([aria-disabled=true]),.pancake-button--ghost:hover:not(:disabled):not([aria-disabled=true]){background-color:var(--color-pancake-surface-muted)}.pancake-button--destructive:hover:not(:disabled):not([aria-disabled=true]){background-color:var(--color-pancake-danger-hover)}.pancake-button:disabled{opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-button:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:var(--spacing-pancake-4)}@media (forced-colors:active){.pancake-button{border:1px solid buttontext}}.pancake-checkbox:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:var(--spacing-pancake-4)}.pancake-checkbox-label{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);align-items:center;gap:var(--spacing-pancake-8);min-height:var(--spacing-pancake-24);cursor:pointer;display:inline-flex}.pancake-checkbox-label:has(.pancake-checkbox:disabled){opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-checkbox{border-radius:var(--radius-pancake-4);background-color:var(--color-pancake-surface);color:var(--color-pancake-ink);appearance:none;box-sizing:border-box;width:var(--spacing-pancake-20);height:var(--spacing-pancake-20);border:var(--pancake-border-default) solid var(--color-pancake-control-border);cursor:inherit;flex:none;place-content:center;margin:0;display:grid}.pancake-checkbox:checked{background-color:var(--color-pancake-accent)}.pancake-checkbox:checked:before{content:"";width:var(--spacing-pancake-4);height:var(--spacing-pancake-8);border:solid;border-width:0 var(--pancake-focus-ring-width) var(--pancake-focus-ring-width) 0;transform:translateY(-2px)rotate(45deg)}.pancake-checkbox:disabled{background-color:var(--color-pancake-surface-muted)}@media (forced-colors:active){.pancake-checkbox{appearance:auto}.pancake-checkbox:before{display:none}}.pancake-field{font-family:var(--font-pancake);color:var(--color-pancake-ink);width:100%;min-width:0}.pancake-field-label{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-text-secondary);margin-bottom:var(--spacing-pancake-4);display:block}.pancake-field-input{border-radius:var(--radius-pancake-8);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);box-sizing:border-box;width:100%;min-height:var(--spacing-pancake-40);padding:var(--spacing-pancake-8) var(--spacing-pancake-12);border:var(--pancake-border-default) solid var(--color-pancake-control-border)}.pancake-field-input::placeholder{color:var(--color-pancake-muted);opacity:1}.pancake-field-input:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:2px;border-color:var(--color-pancake-focus-ring)}.pancake-field-input[aria-invalid=true]{border-color:var(--color-pancake-error-strong);border-width:2px}.pancake-field-input:disabled{opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-field-input:read-only{background:var(--color-pancake-surface-muted)}.pancake-field-description{font-size:var(--text-pancake-caption);line-height:var(--tw-leading,var(--text-pancake-caption--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-caption--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-caption--font-weight));margin:var(--spacing-pancake-4) 0 0}.pancake-stack,.pancake-inline{box-sizing:border-box;min-width:0;display:flex}.pancake-stack{flex-direction:column}.pancake-inline{flex-direction:row}.pancake-text{overflow-wrap:anywhere;margin:0}.pancake-avatar{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-info);font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);box-sizing:border-box;vertical-align:middle;flex:none;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.pancake-avatar img{object-fit:cover;width:100%;height:100%}.pancake-avatar-group{gap:var(--spacing-pancake-4);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.pancake-avatar-group li{display:flex}.pancake-avatar-overflow{background-color:var(--color-pancake-surface-muted)}.pancake-status-chip{border-radius:var(--radius-pancake-full);font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);box-sizing:border-box;min-height:var(--spacing-pancake-24);padding:var(--spacing-pancake-4) var(--spacing-pancake-8);overflow-wrap:anywhere;justify-content:center;align-items:center;display:inline-flex}.pancake-tone-neutral{background-color:var(--color-pancake-surface-muted)}.pancake-tone-success{background-color:var(--color-pancake-surface-accent)}.pancake-tone-warning{background-color:var(--color-pancake-warning)}.pancake-tone-danger{background-color:var(--color-pancake-danger)}.pancake-tone-info{background-color:var(--color-pancake-info)}.pancake-banner{border-radius:var(--radius-pancake-12);font-family:var(--font-pancake);color:var(--color-pancake-ink);box-sizing:border-box;align-items:center;gap:var(--spacing-pancake-8);padding:var(--spacing-pancake-8) var(--spacing-pancake-12);min-height:var(--spacing-pancake-48);width:100%;display:flex}.pancake-banner-copy{overflow-wrap:anywhere;flex:1;min-width:0}.pancake-banner-title{font-size:var(--text-pancake-body-strong);line-height:var(--tw-leading,var(--text-pancake-body-strong--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body-strong--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body-strong--font-weight));display:block}.pancake-banner-description{font-size:var(--text-pancake-caption);line-height:var(--tw-leading,var(--text-pancake-caption--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-caption--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-caption--font-weight));color:var(--color-pancake-text-secondary)}.pancake-banner-dismiss{border-radius:var(--radius-pancake-full);font-family:var(--font-pancake);color:var(--color-pancake-ink);cursor:pointer;min-width:var(--spacing-pancake-32);min-height:var(--spacing-pancake-32);background:0 0;border:none;flex:none;font-size:24px}.pancake-banner-dismiss:hover{background-color:var(--color-pancake-surface)}.pancake-banner-dismiss:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:2px}.pancake-empty-state{font-family:var(--font-pancake);color:var(--color-pancake-ink);text-align:center;padding:var(--spacing-pancake-24);overflow-wrap:anywhere}.pancake-empty-icon{margin-bottom:var(--spacing-pancake-12)}.pancake-empty-title{font-size:var(--text-pancake-heading);line-height:var(--tw-leading,var(--text-pancake-heading--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-heading--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-heading--font-weight));margin:0}.pancake-empty-description{font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-text-secondary);margin-top:var(--spacing-pancake-4)}.pancake-empty-action{margin-top:var(--spacing-pancake-16)}.pancake-section-header,.pancake-app-header{font-family:var(--font-pancake);color:var(--color-pancake-ink);justify-content:space-between;align-items:center;gap:var(--spacing-pancake-12);min-height:var(--spacing-pancake-36);flex-wrap:wrap;display:flex}.pancake-app-header{border-radius:var(--radius-pancake-16);background-color:var(--color-pancake-canvas);min-height:var(--spacing-pancake-64);padding:var(--spacing-pancake-12) var(--spacing-pancake-16);box-sizing:border-box}.pancake-header-copy{overflow-wrap:anywhere;flex:160px;min-width:0}.pancake-section-title{font-size:var(--text-pancake-heading);line-height:var(--tw-leading,var(--text-pancake-heading--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-heading--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-heading--font-weight));margin:0}.pancake-app-title{font-size:var(--text-pancake-title);line-height:var(--tw-leading,var(--text-pancake-title--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-title--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-title--font-weight));margin:0}.pancake-header-description{font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-text-secondary);margin:var(--spacing-pancake-4) 0 0}.pancake-header-action{flex:0 auto;max-width:100%}.pancake-bottom-navigation{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);color:var(--color-pancake-ink);border:var(--pancake-border-default) solid var(--color-pancake-border)}.pancake-bottom-navigation ul{box-sizing:border-box;padding:var(--spacing-pancake-4);gap:var(--spacing-pancake-4);flex-wrap:wrap;margin:0;list-style:none;display:flex}.pancake-bottom-navigation li{flex:80px;min-width:0;display:flex}.pancake-bottom-navigation a{border-radius:var(--radius-pancake-12);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-text-secondary);justify-content:center;align-items:center;gap:var(--spacing-pancake-4);padding:var(--spacing-pancake-4) var(--spacing-pancake-8);min-height:var(--spacing-pancake-40);box-sizing:border-box;text-align:center;overflow-wrap:anywhere;flex-direction:column;flex:1;text-decoration:none;display:flex}.pancake-bottom-navigation a[aria-current=page]{background-color:var(--color-pancake-accent);color:var(--color-pancake-ink)}.pancake-bottom-navigation a:hover{text-decoration:underline}.pancake-bottom-navigation a:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:2px}.pancake-segmented-control{font-family:var(--font-pancake);color:var(--color-pancake-ink);border:0;min-width:0;margin:0;padding:0}.pancake-segmented-control legend{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));margin-bottom:var(--spacing-pancake-4);padding:0}.pancake-segments{border-radius:var(--radius-pancake-20);background-color:var(--color-pancake-surface-muted);gap:var(--spacing-pancake-4);padding:var(--spacing-pancake-4);flex-wrap:wrap;display:flex}.pancake-segment{cursor:pointer;flex:80px;min-width:0;display:flex;position:relative}.pancake-segment input{opacity:0;width:100%;height:100%;cursor:inherit;margin:0;position:absolute;inset:0}.pancake-segment>span{border-radius:var(--radius-pancake-20);font-size:var(--text-pancake-body-strong);line-height:var(--tw-leading,var(--text-pancake-body-strong--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body-strong--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body-strong--font-weight));box-sizing:border-box;width:100%;min-height:var(--spacing-pancake-32);padding:var(--spacing-pancake-4) var(--spacing-pancake-12);text-align:center;overflow-wrap:anywhere;border:var(--pancake-border-default) solid transparent;justify-content:center;align-items:center;display:flex}.pancake-segment input:checked+span{text-underline-offset:var(--spacing-pancake-4);background-color:var(--color-pancake-surface);text-decoration:underline}.pancake-segment input:focus-visible+span{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:2px}.pancake-segment input:disabled{cursor:not-allowed}.pancake-segment input:disabled+span{opacity:var(--pancake-opacity-disabled)}.pancake-step-progress{font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);gap:var(--spacing-pancake-12);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.pancake-step-progress li{align-items:center;gap:var(--spacing-pancake-8);overflow-wrap:anywhere;min-width:0;display:flex}.pancake-step-number{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-surface-muted);width:var(--spacing-pancake-24);height:var(--spacing-pancake-24);flex:none;place-items:center;display:grid}.pancake-step-progress [data-complete] .pancake-step-number{background-color:var(--color-pancake-accent)}.pancake-step-progress [aria-current=step] .pancake-step-number{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep)}.pancake-navigation-sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (forced-colors:active){.pancake-segment input:checked+span{border:2px solid highlight}.pancake-bottom-navigation a[aria-current=page]{outline:2px solid highlight}}.pancake-surface{border-radius:var(--radius-pancake-16);background-color:var(--color-pancake-surface);padding:var(--spacing-pancake-16);font-family:var(--font-pancake);color:var(--color-pancake-ink);box-sizing:border-box}.pancake-textarea{resize:vertical;display:block}.pancake-select-control{position:relative}.pancake-select{appearance:none;padding-inline-end:var(--spacing-pancake-32)}.pancake-select:read-only{background:var(--color-pancake-surface)}.pancake-select-control .pancake-select:disabled+.pancake-select-chevron{opacity:var(--pancake-opacity-disabled)}.pancake-select-chevron{pointer-events:none;inset-inline-end:var(--spacing-pancake-12);align-items:center;display:flex;position:absolute;top:0;bottom:0}.pancake-icon-button{flex-shrink:0;padding:0}.pancake-icon-button.pancake-button--32{width:var(--spacing-pancake-32);height:var(--spacing-pancake-32)}.pancake-icon-button.pancake-button--36{width:var(--spacing-pancake-36);height:var(--spacing-pancake-36)}.pancake-icon-button.pancake-button--40{width:var(--spacing-pancake-40);height:var(--spacing-pancake-40)}.pancake-icon-button-icon{width:var(--spacing-pancake-20);height:var(--spacing-pancake-20);justify-content:center;align-items:center;display:inline-flex}.pancake-button-link{overflow-wrap:anywhere;max-width:100%;text-decoration:none}.pancake-dialog{border-radius:var(--radius-pancake-16);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);color:var(--color-pancake-ink);box-sizing:border-box;width:calc(100% - var(--spacing-pancake-32));max-width:var(--spacing-pancake-480);max-height:calc(100% - var(--spacing-pancake-32));padding:var(--spacing-pancake-20);border:var(--pancake-border-default) solid var(--color-pancake-border);overflow-wrap:anywhere;overflow:auto}.pancake-dialog::backdrop{background:var(--color-pancake-deep);opacity:var(--pancake-opacity-overlay)}.pancake-radio-group{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);border:0;min-width:0;margin:0;padding:0}.pancake-radio-legend{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));margin-bottom:var(--spacing-pancake-4);padding:0}.pancake-radio-options{gap:var(--spacing-pancake-4);display:grid}.pancake-radio-option{align-items:center;gap:var(--spacing-pancake-4);min-height:var(--spacing-pancake-28);cursor:pointer;display:flex}.pancake-radio-input{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-surface);appearance:none;box-sizing:border-box;border:var(--pancake-border-default) solid var(--color-pancake-control-border);width:var(--spacing-pancake-16);height:var(--spacing-pancake-16);margin:var(--spacing-pancake-4);cursor:inherit;flex:none;place-content:center;display:grid}.pancake-radio-input:checked{background-color:var(--color-pancake-accent)}.pancake-radio-input:checked:before{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-deep);content:"";width:var(--spacing-pancake-8);height:var(--spacing-pancake-8)}.pancake-radio-input:focus{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:var(--spacing-pancake-4)}.pancake-radio-option:has(.pancake-radio-input:disabled){opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-radio-copy{overflow-wrap:anywhere;min-width:0;display:grid}.pancake-radio-description{font-size:var(--text-pancake-caption);line-height:var(--tw-leading,var(--text-pancake-caption--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-caption--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-caption--font-weight));color:var(--color-pancake-muted);display:block}@media (forced-colors:active){.pancake-radio-input{appearance:auto}.pancake-radio-input:before{display:none}}.pancake-switch-label{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);align-items:center;gap:var(--spacing-pancake-8);cursor:pointer;display:inline-flex}.pancake-switch{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-surface-muted);appearance:none;box-sizing:border-box;width:var(--spacing-pancake-40);height:var(--spacing-pancake-24);border:var(--pancake-border-default) solid var(--color-pancake-control-border);cursor:inherit;flex:none;margin:0;position:relative}.pancake-switch:before{border-radius:var(--radius-pancake-full);background-color:var(--color-pancake-deep);content:"";width:var(--spacing-pancake-16);height:var(--spacing-pancake-16);position:absolute;inset-block-start:calc(var(--spacing-pancake-4) - var(--pancake-border-default));inset-inline-start:calc(var(--spacing-pancake-4) - var(--pancake-border-default))}.pancake-switch:checked{background-color:var(--color-pancake-accent)}.pancake-switch:checked:before{inset-inline-start:calc(var(--spacing-pancake-20) - var(--pancake-border-default))}.pancake-switch:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:var(--spacing-pancake-4)}.pancake-switch-label:has(.pancake-switch:disabled){opacity:var(--pancake-opacity-disabled);cursor:not-allowed}@media (forced-colors:active){.pancake-switch{appearance:auto}.pancake-switch:before{display:none}}.pancake-tabs{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);min-width:0}.pancake-tabs-list{gap:var(--spacing-pancake-4);padding:var(--spacing-pancake-4);flex-wrap:wrap;display:flex}.pancake-tabs-list--vertical{flex-direction:column;align-items:stretch}.pancake-tabs-tab{border-radius:var(--radius-pancake-8);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);font-size:var(--text-pancake-body-strong);line-height:var(--tw-leading,var(--text-pancake-body-strong--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body-strong--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body-strong--font-weight));color:var(--color-pancake-ink);min-height:var(--spacing-pancake-36);min-width:0;max-width:100%;padding:var(--spacing-pancake-4) var(--spacing-pancake-12);border:var(--pancake-border-default) solid transparent;cursor:pointer;overflow-wrap:anywhere}.pancake-tabs-tab[aria-selected=true]{background-color:var(--color-pancake-accent);text-underline-offset:var(--spacing-pancake-4);text-decoration:underline}.pancake-tabs-tab:hover:not(:disabled){background-color:var(--color-pancake-surface-muted)}.pancake-tabs-tab[aria-selected=true]:hover:not(:disabled){background-color:var(--color-pancake-surface-accent)}.pancake-tabs-tab:disabled{opacity:var(--pancake-opacity-disabled);cursor:not-allowed}.pancake-tabs-tab:focus-visible,.pancake-tabs-panel:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:var(--spacing-pancake-4)}.pancake-tabs-panel{padding:var(--spacing-pancake-12) var(--spacing-pancake-4);overflow-wrap:anywhere}.pancake-disclosure{border-radius:var(--radius-pancake-12);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);border:var(--pancake-border-default) solid var(--color-pancake-border);overflow-wrap:anywhere;min-width:0}.pancake-disclosure-summary{font-size:var(--text-pancake-body-strong);line-height:var(--tw-leading,var(--text-pancake-body-strong--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body-strong--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body-strong--font-weight));padding:var(--spacing-pancake-8) var(--spacing-pancake-12);cursor:pointer}.pancake-disclosure-summary:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-control-focus);outline-offset:var(--spacing-pancake-4)}.pancake-disclosure-content{padding:0 var(--spacing-pancake-12) var(--spacing-pancake-12)}.pancake-progress-field{gap:var(--spacing-pancake-4);min-width:0;display:grid}.pancake-progress-label{font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);overflow-wrap:anywhere}.pancake-progress{width:100%;height:var(--spacing-pancake-8);accent-color:var(--color-pancake-deep)}.pancake-loading-indicator{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);align-items:center;gap:var(--spacing-pancake-8);overflow-wrap:anywhere;display:flex}.pancake-loading-dots{gap:var(--spacing-pancake-4);flex-shrink:0;display:inline-flex}.pancake-loading-dot{border-radius:var(--radius-pancake-full);width:var(--spacing-pancake-4);height:var(--spacing-pancake-4);background:currentColor}.pancake-file-field{min-width:0;padding-block:var(--spacing-pancake-4)}.pancake-file-field:read-only{background:var(--color-pancake-surface)}.pancake-file-field::file-selector-button{border-radius:var(--radius-pancake-full);font-family:var(--font-pancake);font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));color:var(--color-pancake-ink);background:var(--color-pancake-surface-muted);padding:var(--spacing-pancake-4) var(--spacing-pancake-8);cursor:pointer;border:none;margin-inline-end:var(--spacing-pancake-8)}.pancake-file-field:disabled::file-selector-button{cursor:not-allowed}.pancake-popover{border-radius:var(--radius-pancake-16);background-color:var(--color-pancake-surface);font-family:var(--font-pancake);color:var(--color-pancake-ink);box-sizing:border-box;position-anchor:auto;position-area:block-end;position-try-fallbacks:flip-block;position-try-order:most-height;margin:var(--spacing-pancake-8);width:var(--spacing-pancake-320);max-width:calc(100% - var(--spacing-pancake-32));max-height:calc(100% - var(--spacing-pancake-32));padding:var(--spacing-pancake-16);border:var(--pancake-border-default) solid var(--color-pancake-border);overflow-wrap:anywhere;position:fixed;inset:auto;overflow:auto}.pancake-dropdown-menu{border-radius:var(--radius-pancake-12);padding:var(--spacing-pancake-4)}.pancake-dropdown-menu-item{border-radius:var(--radius-pancake-8);background-color:var(--color-pancake-transparent);font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);box-sizing:border-box;width:100%;min-height:var(--spacing-pancake-36);padding:var(--spacing-pancake-8);border:var(--spacing-pancake-0);text-align:start;overflow-wrap:anywhere;cursor:pointer;text-decoration:none;display:block}.pancake-dropdown-menu-item:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:var(--pancake-focus-ring-width)}.pancake-dropdown-menu-item:hover{background-color:var(--color-pancake-surface-muted)}.pancake-dropdown-menu-item[aria-disabled=true]{opacity:var(--pancake-opacity-disabled);cursor:default}.pancake-tooltip-anchor{align-self:flex-start;display:inline-flex}.pancake-tooltip{border-radius:var(--radius-pancake-8);font-size:var(--text-pancake-caption);line-height:var(--tw-leading,var(--text-pancake-caption--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-caption--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-caption--font-weight));width:max-content;max-width:min(var(--spacing-pancake-320), calc(100% - var(--spacing-pancake-32)));padding:var(--spacing-pancake-4) var(--spacing-pancake-8);margin:0}.pancake-table-scroll{min-width:0;max-width:100%;overflow:auto}.pancake-table-scroll:focus-visible{outline:var(--pancake-focus-ring-width) solid var(--color-pancake-deep);outline-offset:var(--pancake-focus-ring-width)}.pancake-table{background-color:var(--color-pancake-surface);font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);border-collapse:collapse;text-align:start;width:100%}.pancake-table>caption{font-size:var(--text-pancake-heading);line-height:var(--tw-leading,var(--text-pancake-heading--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-heading--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-heading--font-weight));padding-block:var(--spacing-pancake-12);text-align:start}.pancake-table>thead{background-color:var(--color-pancake-surface-muted)}.pancake-table>thead>tr>th,.pancake-table>tbody>tr>th,.pancake-table>tfoot>tr>th{font-size:var(--text-pancake-label);line-height:var(--tw-leading,var(--text-pancake-label--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-label--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-label--font-weight));text-align:start}.pancake-table>thead>tr>th,.pancake-table>thead>tr>td,.pancake-table>tbody>tr>th,.pancake-table>tbody>tr>td,.pancake-table>tfoot>tr>th,.pancake-table>tfoot>tr>td{min-width:var(--spacing-pancake-112);padding:var(--spacing-pancake-8) var(--spacing-pancake-12);border-bottom:var(--pancake-border-default) solid var(--color-pancake-border);vertical-align:top}.pancake-pagination{font-family:var(--font-pancake);font-size:var(--text-pancake-body);line-height:var(--tw-leading,var(--text-pancake-body--line-height));letter-spacing:var(--tw-tracking,var(--text-pancake-body--letter-spacing));font-weight:var(--tw-font-weight,var(--text-pancake-body--font-weight));color:var(--color-pancake-ink);min-width:0}.pancake-pagination-list{align-items:center;gap:var(--spacing-pancake-4);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.pancake-pagination-list>li{min-width:0;max-width:100%;display:flex}.pancake-pagination-control{min-width:var(--spacing-pancake-32);max-width:100%;padding-inline:var(--spacing-pancake-8);overflow-wrap:anywhere}.pancake-pagination-unavailable{opacity:var(--pancake-opacity-disabled);cursor:default}.pancake-pagination-gap{padding-inline:var(--spacing-pancake-4)}}@layer utilities;:root,:host{--color-pancake-accent:#ade533;--color-pancake-accent-disabled-layer:#ade533cc;--color-pancake-border:#edede8;--color-pancake-canvas:#fbf8f0;--color-pancake-control-border:#7e8c70;--color-pancake-control-focus:#647a45;--color-pancake-error-strong:#a34c3e;--color-pancake-danger:#ffd6d6;--color-pancake-danger-hover:#ffc2c2;--color-pancake-deep:#384540;--color-pancake-info:#d6edfa;--color-pancake-ink:#0e1716;--color-pancake-muted:#636b6e;--color-pancake-olive:#636657;--color-pancake-surface:#fff;--color-pancake-surface-accent:#d1f28a;--color-pancake-surface-muted:#f0f0eb;--color-pancake-text-secondary:#3b4742;--color-pancake-transparent:transparent;--color-pancake-warning:#ffeb9e;--color-pancake-focus-ring:#ade533;--spacing-pancake-0:0px;--spacing-pancake-4:4px;--spacing-pancake-8:8px;--spacing-pancake-12:12px;--spacing-pancake-16:16px;--spacing-pancake-20:20px;--spacing-pancake-24:24px;--spacing-pancake-28:28px;--spacing-pancake-32:32px;--spacing-pancake-36:36px;--spacing-pancake-40:40px;--spacing-pancake-44:44px;--spacing-pancake-48:48px;--spacing-pancake-52:52px;--spacing-pancake-56:56px;--spacing-pancake-64:64px;--spacing-pancake-72:72px;--spacing-pancake-76:76px;--spacing-pancake-80:80px;--spacing-pancake-88:88px;--spacing-pancake-92:92px;--spacing-pancake-104:104px;--spacing-pancake-112:112px;--spacing-pancake-320:320px;--spacing-pancake-480:480px;--spacing-pancake-560:560px;--radius-pancake-4:4px;--radius-pancake-12:12px;--radius-pancake-16:16px;--radius-pancake-20:20px;--radius-pancake-28:28px;--radius-pancake-36:36px;--radius-pancake-8:8px;--radius-pancake-full:999px;--font-pancake:Inter, sans-serif;--text-pancake-body:14px;--text-pancake-body--line-height:20px;--text-pancake-body--font-weight:400;--text-pancake-body--letter-spacing:0px;--text-pancake-body-strong:14px;--text-pancake-body-strong--line-height:20px;--text-pancake-body-strong--font-weight:600;--text-pancake-body-strong--letter-spacing:0px;--text-pancake-caption:12px;--text-pancake-caption--line-height:16px;--text-pancake-caption--font-weight:400;--text-pancake-caption--letter-spacing:0px;--text-pancake-display:28px;--text-pancake-display--line-height:36px;--text-pancake-display--font-weight:700;--text-pancake-display--letter-spacing:0px;--text-pancake-heading:18px;--text-pancake-heading--line-height:24px;--text-pancake-heading--font-weight:700;--text-pancake-heading--letter-spacing:0px;--text-pancake-label:12px;--text-pancake-label--line-height:16px;--text-pancake-label--font-weight:600;--text-pancake-label--letter-spacing:0px;--text-pancake-micro:10px;--text-pancake-micro--line-height:12px;--text-pancake-micro--font-weight:600;--text-pancake-micro--letter-spacing:0px;--text-pancake-section:20px;--text-pancake-section--line-height:28px;--text-pancake-section--font-weight:700;--text-pancake-section--letter-spacing:0px;--text-pancake-title:24px;--text-pancake-title--line-height:32px;--text-pancake-title--font-weight:700;--text-pancake-title--letter-spacing:0px;--pancake-border-default:1px;--pancake-focus-ring-width:2px;--pancake-opacity-disabled:.4;--pancake-opacity-overlay:.5}
|
|
3
3
|
/*$vite$:1*/
|
package/dist/theme.css
CHANGED
|
@@ -45,7 +45,9 @@
|
|
|
45
45
|
--spacing-pancake-104: 104px;
|
|
46
46
|
--spacing-pancake-112: 112px;
|
|
47
47
|
--spacing-pancake-320: 320px;
|
|
48
|
+
--spacing-pancake-480: 480px;
|
|
48
49
|
--spacing-pancake-560: 560px;
|
|
50
|
+
--radius-pancake-4: 4px;
|
|
49
51
|
--radius-pancake-12: 12px;
|
|
50
52
|
--radius-pancake-16: 16px;
|
|
51
53
|
--radius-pancake-20: 20px;
|
|
@@ -55,27 +57,27 @@
|
|
|
55
57
|
--radius-pancake-full: 999px;
|
|
56
58
|
--font-pancake: Inter, sans-serif;
|
|
57
59
|
--text-pancake-body: 14px;
|
|
58
|
-
--text-pancake-body--line-height:
|
|
60
|
+
--text-pancake-body--line-height: 20px;
|
|
59
61
|
--text-pancake-body--font-weight: 400;
|
|
60
62
|
--text-pancake-body--letter-spacing: 0px;
|
|
61
|
-
--text-pancake-body-strong:
|
|
62
|
-
--text-pancake-body-strong--line-height:
|
|
63
|
+
--text-pancake-body-strong: 14px;
|
|
64
|
+
--text-pancake-body-strong--line-height: 20px;
|
|
63
65
|
--text-pancake-body-strong--font-weight: 600;
|
|
64
66
|
--text-pancake-body-strong--letter-spacing: 0px;
|
|
65
|
-
--text-pancake-caption:
|
|
66
|
-
--text-pancake-caption--line-height:
|
|
67
|
+
--text-pancake-caption: 12px;
|
|
68
|
+
--text-pancake-caption--line-height: 16px;
|
|
67
69
|
--text-pancake-caption--font-weight: 400;
|
|
68
70
|
--text-pancake-caption--letter-spacing: 0px;
|
|
69
71
|
--text-pancake-display: 28px;
|
|
70
|
-
--text-pancake-display--line-height:
|
|
72
|
+
--text-pancake-display--line-height: 36px;
|
|
71
73
|
--text-pancake-display--font-weight: 700;
|
|
72
74
|
--text-pancake-display--letter-spacing: 0px;
|
|
73
75
|
--text-pancake-heading: 18px;
|
|
74
|
-
--text-pancake-heading--line-height:
|
|
76
|
+
--text-pancake-heading--line-height: 24px;
|
|
75
77
|
--text-pancake-heading--font-weight: 700;
|
|
76
78
|
--text-pancake-heading--letter-spacing: 0px;
|
|
77
79
|
--text-pancake-label: 12px;
|
|
78
|
-
--text-pancake-label--line-height:
|
|
80
|
+
--text-pancake-label--line-height: 16px;
|
|
79
81
|
--text-pancake-label--font-weight: 600;
|
|
80
82
|
--text-pancake-label--letter-spacing: 0px;
|
|
81
83
|
--text-pancake-micro: 10px;
|
|
@@ -83,11 +85,11 @@
|
|
|
83
85
|
--text-pancake-micro--font-weight: 600;
|
|
84
86
|
--text-pancake-micro--letter-spacing: 0px;
|
|
85
87
|
--text-pancake-section: 20px;
|
|
86
|
-
--text-pancake-section--line-height:
|
|
88
|
+
--text-pancake-section--line-height: 28px;
|
|
87
89
|
--text-pancake-section--font-weight: 700;
|
|
88
90
|
--text-pancake-section--letter-spacing: 0px;
|
|
89
|
-
--text-pancake-title:
|
|
90
|
-
--text-pancake-title--line-height:
|
|
91
|
+
--text-pancake-title: 24px;
|
|
92
|
+
--text-pancake-title--line-height: 32px;
|
|
91
93
|
--text-pancake-title--font-weight: 700;
|
|
92
94
|
--text-pancake-title--letter-spacing: 0px;
|
|
93
95
|
--pancake-border-default: 1px;
|
package/docs/components.md
CHANGED
|
@@ -19,7 +19,7 @@ import { Button, Checkbox, TextField } from "@jack.winter/pancake-ui";
|
|
|
19
19
|
</form>;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
`Button` defaults to `type="button"` to prevent accidental form submission. Its `variant` is `primary`, `secondary`, `destructive`, or `ghost`; `size` is
|
|
22
|
+
`Button` defaults to `type="button"` to prevent accidental form submission. Its `variant` is `primary`, `secondary`, `destructive`, or `ghost`; `size` is 32, 36, or 40, and defaults to 36. `loading` sets `aria-busy` and disables activation while preserving the label. All variants support disabled/loading states at every size.
|
|
23
23
|
|
|
24
24
|
`TextField` requires a visible `label`; supports text, email, password, search, tel, and URL inputs; and uses ordinary `value`/`defaultValue` and `onChange` props. `helperText` and `error` link to the input's accessible description. An error sets `aria-invalid`; application validation remains the caller's responsibility. `className` and `ref` target the input. Password visibility toggles and explicit search-clear actions are not built in.
|
|
25
25
|
|
package/docs/installation.md
CHANGED
|
@@ -10,7 +10,7 @@ Use React and React DOM 19.2+ within React 19, Node 22.18+, and an ESM bundler s
|
|
|
10
10
|
npm install @jack.winter/pancake-ui
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Commit the app’s `package.json` and lockfile. For an exact version, use `npm install --save-exact @jack.winter/pancake-ui@0.
|
|
13
|
+
Commit the app’s `package.json` and lockfile. For an exact version, use `npm install --save-exact @jack.winter/pancake-ui@0.2.0`.
|
|
14
14
|
|
|
15
15
|
### Install a verified archive
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ Successful **push runs on main** in [Verify](https://github.com/j4ckwinter/panca
|
|
|
20
20
|
2. Install the **`.tgz` inside the ZIP**, from your app's root:
|
|
21
21
|
|
|
22
22
|
```sh
|
|
23
|
-
npm install ./vendor/pancake-ui/jack.winter-pancake-ui-0.
|
|
23
|
+
npm install ./vendor/pancake-ui/jack.winter-pancake-ui-0.2.0.tgz
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Use the filename from your download if its version differs. The app needs React and React DOM installed; an existing React app normally already has them. No library clone, Playwright, Tailwind or library build is needed.
|
|
@@ -29,7 +29,7 @@ With [GitHub CLI](https://cli.github.com/) installed and authenticated, you can
|
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
31
|
gh run download RUN_ID --repo j4ckwinter/pancake-ui --name pancake-ui-package --dir vendor/pancake-ui
|
|
32
|
-
npm install ./vendor/pancake-ui/jack.winter-pancake-ui-0.
|
|
32
|
+
npm install ./vendor/pancake-ui/jack.winter-pancake-ui-0.2.0.tgz
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
Commit the downloaded archive, `packed.json`, your app's `package.json`, and its lockfile. Fresh clones can then use `npm ci` without GitHub credentials. Record the source run URL when upgrading, use a new package version, and do not overwrite an archive already used by an app. GitHub artifacts expire after 90 days (or earlier if deleted); keeping the archive in your app makes it independent of that retention period. See [GitHub's artifact download instructions](https://docs.github.com/en/actions/how-tos/manage-workflow-runs/download-workflow-artifacts).
|
|
@@ -111,7 +111,7 @@ npx playwright install chromium firefox webkit
|
|
|
111
111
|
npm run release:local
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
This runs full verification and produces `artifacts/jack.winter-pancake-ui-0.
|
|
114
|
+
This runs full verification and produces `artifacts/jack.winter-pancake-ui-0.2.0.tgz`, its SHA-256 checksum and a release manifest recording the source commit and whether the working tree was dirty. Copy the archive into the consuming app's `vendor/pancake-ui/` directory and install it as above. Ordinary `npm pack` builds an archive but does not run the full verification suite.
|
|
115
115
|
|
|
116
116
|
## Versioning releases
|
|
117
117
|
|
package/docs/styling.md
CHANGED
|
@@ -17,24 +17,24 @@ Pancake UI uses shared tokens and namespaced component styles. New components sh
|
|
|
17
17
|
## Choose values by their role
|
|
18
18
|
|
|
19
19
|
- Use `src/foundations/tokens.ts` as the source of design values and CSS variables in component styles. Run `npm run tokens` after changing tokens. Do not edit the generated `src/foundations/theme.css`. The `sizing` tokens hold fixed UI geometry on the shared four-point grid.
|
|
20
|
-
- Use 4px
|
|
21
|
-
- Preserve component-family sizing: buttons use
|
|
22
|
-
- Numeric and temporal TextField modes retain native browser controls within the
|
|
23
|
-
- Textarea uses the field styles with four native text rows by default and vertical resizing; Select retains native selection with a decorative chevron and a
|
|
24
|
-
- Table uses body typography,
|
|
25
|
-
- Tooltip reuses native Popover anchoring with
|
|
26
|
-
- DropdownMenu reuses Popover anchoring, with
|
|
27
|
-
- Popover uses a 320px width token,
|
|
28
|
-
- Dialog uses a
|
|
29
|
-
- RadioGroup uses
|
|
30
|
-
- Progress retains the native browser bar at
|
|
31
|
-
- Tabs use
|
|
32
|
-
- Choose a typography role instead of assigning separate font metrics.
|
|
33
|
-
- Use existing radius roles: pill shapes for buttons and chips,
|
|
20
|
+
- The defaults are compact: 14px text on 20px lines, 36px buttons, menu items and tabs, and 40px fields. Use 4px between a label or supporting text and its control, 8px between a control and its inline label, 16px for ordinary vertical composition, and 16px for surface padding. Use `Stack`, `Inline`, and `Text` when composing components. Choose another existing spacing token when the composition calls for it.
|
|
21
|
+
- Preserve component-family sizing: buttons use 32px, 36px, or 40px minimum heights with 12px inline padding (16px at 40px) and size to their content. Icon buttons are squares of the same heights with a 20px icon box. Fields (including Select) use 40px, segments 32px inside a 40px control, checkboxes 20px within a 24px label row, status chips 24px, and notification dismiss targets 32px. These are current defaults, not a requirement to force every control to one height. New families need an explicit sizing choice in review.
|
|
22
|
+
- Numeric and temporal TextField modes retain native browser controls within the 40px field family. FileField uses the same field shell and native file selector, with token-based button padding and typography.
|
|
23
|
+
- Textarea uses the field styles with four native text rows by default and vertical resizing; Select retains native selection with a decorative chevron and a 40px minimum height.
|
|
24
|
+
- Table uses body typography, 8px by 12px cell padding and a 112px minimum cell content width inside a keyboard-scrollable wrapper. This keeps embedded controls and status labels readable; narrow layouts scroll instead of compressing columns into letter fragments. Pagination uses the 32px button family, 4px gaps, wrapping and shared current/focus states.
|
|
25
|
+
- Tooltip reuses native Popover anchoring with caption typography, 4px by 8px padding and an 8px radius. Its trigger retains the original component styling.
|
|
26
|
+
- DropdownMenu reuses Popover anchoring, with 4px panel padding, a 12px panel radius, 36px minimum item heights and shared focus/disabled tokens. Long labels wrap within the panel.
|
|
27
|
+
- Popover uses a 320px width token, 16px padding, 16px radius and 8px anchor spacing. Native CSS anchor positioning chooses the side with more room; viewport constraints and overflow scrolling keep long content reachable.
|
|
28
|
+
- Dialog uses a 480px maximum-width sizing token, 20px surface padding, 16px radius, a 32px close button, and a dedicated 50% backdrop-opacity token. Viewport margins and scrolling keep content reachable on narrow screens.
|
|
29
|
+
- RadioGroup uses 16px styled native radio inputs within 28px rows, with caption-sized option descriptions. Its outline applies on focus, including pointer focus, to retain a visible indicator during WebKit native arrow navigation. Switch uses a 40px by 24px track and a 16px thumb, with the existing focus and disabled tokens.
|
|
30
|
+
- Progress retains the native browser bar at an 8px height with a deep accent and a 4px label gap. LoadingIndicator uses static 4px decorative dots, body typography and an 8px text gap; status feedback does not depend on animation.
|
|
31
|
+
- Tabs use 36px minimum button heights with an 8px radius and the shared focus/selection tokens. Disclosure uses a native summary marker, 8px by 12px summary padding and a 12px radius.
|
|
32
|
+
- Choose a typography role instead of assigning separate font metrics. Line heights sit on a four-point grid: 12px text on 16px lines, 14px on 20px, 18px on 24px, 20px on 28px, 24px on 32px, and 28px on 36px.
|
|
33
|
+
- Use existing radius roles: pill shapes for buttons and chips, 4px for checkboxes, 8px for fields, tabs, and menu items, 12px for menus, banners, and disclosures, and 16px for surfaces. Other established components can use their existing radius tokens.
|
|
34
34
|
- Form controls and Disclosure use the olive `controlFocus` outline; other focus outlines use `deep`. Both use 2px width. Buttons and checkboxes use a 4px offset; other existing interactive controls use 2px. The lime `focusRing` token currently accents the focused input border, not its outline.
|
|
35
35
|
- Disabled controls use the shared disabled opacity. Preserve native disabled behaviour and visible keyboard focus.
|
|
36
36
|
|
|
37
|
-
These
|
|
37
|
+
These are the current defaults. Changing them is a design change and should include before/after visual review.
|
|
38
38
|
|
|
39
39
|
## Automated checks
|
|
40
40
|
|
|
@@ -87,6 +87,6 @@ The workspace registers `@apply` and `@theme` through `.vscode/tailwind.css-data
|
|
|
87
87
|
|
|
88
88
|
Use soft fills for button hover and the border token for decorative panel edges and table dividers. Selected tabs and segments use a label underline as well as a fill, keeping selection distinct from keyboard focus even in forced colours. Preserve focus outlines and form-control boundaries.
|
|
89
89
|
|
|
90
|
-
Bottom navigation sizes to its contents:
|
|
90
|
+
Bottom navigation sizes to its contents: 4px list padding surrounds links with a minimum 40px target height. Links fill their row when icons or wrapping labels make neighbouring items taller; do not add a fixed list minimum height.
|
|
91
91
|
|
|
92
92
|
Form controls share the olive `controlBorder` token for their default boundaries. Keep it distinct from the faint decorative `border` token. Invalid fields use `errorStrong` with the existing thicker border and error message. Checkbox, radio and switch selection retains a checkmark, dot or thumb position as well as the lime fill; forced-colour mode restores native rendering.
|