@atelic-action/ui 8.1.0 → 8.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/README.md +72 -28
- package/dist/monitoring/server.d.ts +51 -1
- package/dist/monitoring/server.js +102 -1
- package/package.json +1 -1
- package/src/chrome/BrandLockup.tsx +12 -3
- package/src/chrome/ContactDock.tsx +16 -2
- package/src/chrome/Footer.tsx +2 -5
- package/src/chrome/NavMegaPanel.tsx +6 -12
- package/src/chrome/SiteHeader.tsx +39 -17
- package/src/chrome/SiteMenu.tsx +207 -75
- package/src/chrome/SiteShell.tsx +3 -1
- package/src/chrome/StickyCTABar.tsx +12 -0
- package/src/chrome/index.ts +2 -0
- package/src/lib/phoneText.tsx +9 -0
- package/src/monitoring/ErrorCatcherScript.tsx +17 -6
- package/src/monitoring/index.ts +1 -1
- package/src/monitoring/server.ts +125 -1
- package/src/primitives/Button.tsx +2 -2
- package/src/routing/index.ts +10 -32
- package/src/routing/routerErrors.tsx +57 -0
- package/src/routing/staticNotFound.tsx +64 -0
- package/src/scripts/check-sentry.ts +22 -1
- package/src/sections/CalloutPanel.tsx +4 -1
- package/src/sections/ContactInfoCard.tsx +1 -1
- package/src/sections/Hero.tsx +2 -2
- package/src/sections/LogoMarquee.tsx +1 -1
- package/src/sections/PricingBand.tsx +1 -1
- package/src/sections/ProcessSteps.tsx +1 -1
- package/src/sections/siteConfig.ts +32 -0
- package/src/styles/base.css +23 -17
- package/src/styles/chrome.css +250 -32
- package/src/styles/defaults.css +59 -3
- package/src/styles/primitives.css +9 -3
- package/src/styles/sections.css +30 -10
- package/src/types.ts +32 -1
package/src/types.ts
CHANGED
|
@@ -205,8 +205,33 @@ export interface NavFeature {
|
|
|
205
205
|
|
|
206
206
|
/** A number the header shows, with the words that say whose line it is. */
|
|
207
207
|
export interface HeaderPhone extends Phone {
|
|
208
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* Printed small over the number in the desktop bar's phone pill and read
|
|
210
|
+
* with it, e.g. "Mountain office". The phone menu's line falls back to it.
|
|
211
|
+
*/
|
|
209
212
|
label?: string;
|
|
213
|
+
/**
|
|
214
|
+
* The phone menu's words for this number, when they should differ from
|
|
215
|
+
* the bar's `label`, e.g. "Call or text" for a line that answers texts.
|
|
216
|
+
* Defaults to `label`, then to "Call".
|
|
217
|
+
*/
|
|
218
|
+
menuLabel?: string;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The phone menu's sheet: `dark`, the full screen sheet on the dark surface
|
|
223
|
+
* with large light links, or `light`, the page's own ground with the lockup
|
|
224
|
+
* and a round close button across the top, the entries as rows, and the call
|
|
225
|
+
* to action and the numbers in a foot on the alternate ground.
|
|
226
|
+
*/
|
|
227
|
+
export type SiteMenuSurface = "dark" | "light";
|
|
228
|
+
|
|
229
|
+
/** How the burger that opens the phone menu is drawn. */
|
|
230
|
+
export interface MenuBurgerStyle {
|
|
231
|
+
/** Sets the three lines before the words (`menuLabel`) rather than after them. Off by default. */
|
|
232
|
+
labelAfter?: boolean;
|
|
233
|
+
/** Draws the burger inside an outlined pill. Off by default. */
|
|
234
|
+
outlined?: boolean;
|
|
210
235
|
}
|
|
211
236
|
|
|
212
237
|
/** A conversion action rendered as a button link. */
|
|
@@ -217,6 +242,12 @@ export interface CallToAction {
|
|
|
217
242
|
external?: boolean;
|
|
218
243
|
/** The header's button carries the arrow a hero's primary button shows. Off by default. */
|
|
219
244
|
arrow?: boolean;
|
|
245
|
+
/**
|
|
246
|
+
* The phone menu's words for the action, when they should differ from
|
|
247
|
+
* `label` (a fuller "Order ahead for Saturday" where the bar says "Order
|
|
248
|
+
* ahead"). Defaults to `label`.
|
|
249
|
+
*/
|
|
250
|
+
menuLabel?: string;
|
|
220
251
|
}
|
|
221
252
|
|
|
222
253
|
/** A footer or legal link that may open in a new tab. */
|