@walkeros/explorer 4.8.0-next-1791441510508 → 4.8.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 +38 -5
- package/README.md +5 -5
- package/dist/design/base.css +11 -12
- package/dist/design/check.mjs +183 -10
- package/dist/design/components/index.cjs +494 -248
- package/dist/design/components/index.cjs.map +1 -1
- package/dist/design/components/index.d.cts +63 -6
- package/dist/design/components/index.d.ts +63 -6
- package/dist/design/components/index.mjs +490 -244
- package/dist/design/components/index.mjs.map +1 -1
- package/dist/design/index.cjs +67 -5
- package/dist/design/index.cjs.map +1 -1
- package/dist/design/index.d.cts +243 -12
- package/dist/design/index.d.ts +243 -12
- package/dist/design/index.mjs +67 -5
- package/dist/design/index.mjs.map +1 -1
- package/dist/design/tailwind.css +19 -0
- package/dist/design/tokens.css +35 -5
- package/dist/index.d.cts +160 -27
- package/dist/index.d.ts +160 -27
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +890 -62
- package/package.json +7 -7
|
@@ -63,8 +63,9 @@ interface EventLegendProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
63
63
|
*/
|
|
64
64
|
declare function EventLegend({ parts, className, ...rest }: EventLegendProps): react_jsx_runtime.JSX.Element;
|
|
65
65
|
|
|
66
|
+
type IconName = 'check' | 'copy' | 'lock' | 'reload' | 'bookmark' | 'warning';
|
|
66
67
|
interface IconProps extends Omit<SVGAttributes<SVGSVGElement>, 'name'> {
|
|
67
|
-
name:
|
|
68
|
+
name: IconName;
|
|
68
69
|
size?: number;
|
|
69
70
|
}
|
|
70
71
|
/** The design system's line glyphs, drawn in currentColor; a check is always primary. */
|
|
@@ -132,6 +133,15 @@ interface InstallCommandProps extends Omit<ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
132
133
|
*/
|
|
133
134
|
declare function InstallCommand({ command, className, 'aria-describedby': describedBy, ...rest }: InstallCommandProps): react_jsx_runtime.JSX.Element;
|
|
134
135
|
|
|
136
|
+
interface PhotoPlaceholderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
137
|
+
/** The word in the middle. */
|
|
138
|
+
label?: string;
|
|
139
|
+
/** `theme` follows dark and light; `viz` is the demos' look, dark in both. */
|
|
140
|
+
tone?: 'theme' | 'viz';
|
|
141
|
+
}
|
|
142
|
+
/** A striped stand-in for a photo, sized by the caller. */
|
|
143
|
+
declare function PhotoPlaceholder({ label, tone, className, ...rest }: PhotoPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
144
|
+
|
|
135
145
|
interface CheckListProps extends HTMLAttributes<HTMLUListElement> {
|
|
136
146
|
items: ReactNode[];
|
|
137
147
|
/** `inline` wraps in a row (16px checks); `stack` is a column (14px checks). */
|
|
@@ -215,12 +225,53 @@ interface HighlightCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title
|
|
|
215
225
|
label: string;
|
|
216
226
|
title: ReactNode;
|
|
217
227
|
children: ReactNode;
|
|
218
|
-
|
|
228
|
+
/** A secondary button below the text; omit for a card without one. */
|
|
229
|
+
cta?: CallToAction;
|
|
219
230
|
linkComponent?: LinkComponent;
|
|
220
231
|
}
|
|
221
|
-
/** A large card with a corner glow and
|
|
232
|
+
/** A large card with a corner glow and an optional secondary CTA: a direction to explore. */
|
|
222
233
|
declare function HighlightCard({ label, title, children, cta, linkComponent, className, ...rest }: HighlightCardProps): react_jsx_runtime.JSX.Element;
|
|
223
234
|
|
|
235
|
+
interface BrowserBookmark {
|
|
236
|
+
label: string;
|
|
237
|
+
url: string;
|
|
238
|
+
}
|
|
239
|
+
interface BrowserFrameProps extends HTMLAttributes<HTMLDivElement> {
|
|
240
|
+
/** Shown read-only in the address field. */
|
|
241
|
+
url: string;
|
|
242
|
+
/** A row of links under the address bar; the one whose `url` equals `url` is current. */
|
|
243
|
+
bookmarks?: ReadonlyArray<BrowserBookmark>;
|
|
244
|
+
/** Called with a bookmark's url on its click; without it the bookmarks are disabled. */
|
|
245
|
+
onNavigate?: (url: string) => void;
|
|
246
|
+
/** Adds a reload button. */
|
|
247
|
+
onReload?: () => void;
|
|
248
|
+
/** The caller's controls at the end of the address bar, after reload; a link or button there looks like reload. */
|
|
249
|
+
actions?: ReactNode;
|
|
250
|
+
/** The page: fills the viewport. An `iframe` takes its full size, borderless. */
|
|
251
|
+
children: ReactNode;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* A browser window around a page, on the site theme. The caller sizes it: give
|
|
255
|
+
* the root a height (and a width where it does not fill its parent) through
|
|
256
|
+
* `className` or `style`; the viewport takes what the bars leave.
|
|
257
|
+
*/
|
|
258
|
+
declare function BrowserFrame({ url, bookmarks, onNavigate, onReload, actions, children, className, ...rest }: BrowserFrameProps): react_jsx_runtime.JSX.Element;
|
|
259
|
+
|
|
260
|
+
interface QuickstartStep {
|
|
261
|
+
title: string;
|
|
262
|
+
text: string;
|
|
263
|
+
}
|
|
264
|
+
interface QuickstartStepsProps extends HTMLAttributes<HTMLDivElement> {
|
|
265
|
+
steps: ReadonlyArray<QuickstartStep>;
|
|
266
|
+
/** After the steps, aligned to their start: the link to the full guide. */
|
|
267
|
+
children?: ReactNode;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Numbered steps in a row joined by hand-drawn arrows, a column on narrow
|
|
271
|
+
* screens; the children follow below.
|
|
272
|
+
*/
|
|
273
|
+
declare function QuickstartSteps({ steps, children, className, ...rest }: QuickstartStepsProps): react_jsx_runtime.JSX.Element;
|
|
274
|
+
|
|
224
275
|
interface SectionProps extends HTMLAttributes<HTMLElement> {
|
|
225
276
|
children: ReactNode;
|
|
226
277
|
/** `alt` grounds the band in bg-2. */
|
|
@@ -253,9 +304,14 @@ interface ClusterProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
253
304
|
/** `actions` 12px apart; `links` 8px rows and 24px columns. */
|
|
254
305
|
gap?: 'actions' | 'links';
|
|
255
306
|
align?: 'start' | 'center';
|
|
307
|
+
/**
|
|
308
|
+
* Set apart from the content above by an extra heading gap, for a call to
|
|
309
|
+
* action below a section's content.
|
|
310
|
+
*/
|
|
311
|
+
separated?: boolean;
|
|
256
312
|
}
|
|
257
313
|
/** A wrapping row of buttons or links. */
|
|
258
|
-
declare function Cluster({ children, gap, align, className, ...rest }: ClusterProps): react_jsx_runtime.JSX.Element;
|
|
314
|
+
declare function Cluster({ children, gap, align, separated, className, ...rest }: ClusterProps): react_jsx_runtime.JSX.Element;
|
|
259
315
|
|
|
260
316
|
interface HeroProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
261
317
|
eyebrow: ReactNode;
|
|
@@ -318,8 +374,9 @@ interface ArticleTeaserTrackingProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
318
374
|
* Tagging demo: one ArticleTeaser tagged once, walked through atom, molecule,
|
|
319
375
|
* organisms and pages, showing how every instance inherits entity, action,
|
|
320
376
|
* properties, context and globals. Autoplays while the code is in view; shows
|
|
321
|
-
* the finished walk-through with reduced motion.
|
|
377
|
+
* the finished walk-through with reduced motion. A clicked step plays from its
|
|
378
|
+
* start and stays there.
|
|
322
379
|
*/
|
|
323
380
|
declare function ArticleTeaserTracking({ autoplay, speed, initialStep, ...rest }: ArticleTeaserTrackingProps): react_jsx_runtime.JSX.Element;
|
|
324
381
|
|
|
325
|
-
export { ArticleTeaserTracking, type ArticleTeaserTrackingProps, Button, type ButtonProps, type CallToAction, Card, CardGrid, type CardGridProps, type CardProps, CaseCard, type CaseCardProps, type CaseStat, CheckList, type CheckListProps, Cluster, type ClusterProps, type DataAttributes, DestinationMappingViz, type DestinationMappingVizProps, EventLegend, type EventLegendProps, Eyebrow, type EyebrowProps, FaqItem, type FaqItemProps, FeatureItem, type FeatureItemProps, Hero, type HeroProps, HeroTaggingViz, type HeroTaggingVizProps, HighlightCard, type HighlightCardProps, Icon, type IconProps, InlineCode, type InlineCodeProps, InstallCommand, type InstallCommandProps, type LinkComponent, PlanCard, type PlanCardProps, ProblemCard, type ProblemCardProps, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Split, type SplitProps, Stat, type StatProps, Text, TextLink, type TextLinkProps, type TextProps };
|
|
382
|
+
export { ArticleTeaserTracking, type ArticleTeaserTrackingProps, type BrowserBookmark, BrowserFrame, type BrowserFrameProps, Button, type ButtonProps, type CallToAction, Card, CardGrid, type CardGridProps, type CardProps, CaseCard, type CaseCardProps, type CaseStat, CheckList, type CheckListProps, Cluster, type ClusterProps, type DataAttributes, DestinationMappingViz, type DestinationMappingVizProps, EventLegend, type EventLegendProps, Eyebrow, type EyebrowProps, FaqItem, type FaqItemProps, FeatureItem, type FeatureItemProps, Hero, type HeroProps, HeroTaggingViz, type HeroTaggingVizProps, HighlightCard, type HighlightCardProps, Icon, type IconProps, InlineCode, type InlineCodeProps, InstallCommand, type InstallCommandProps, type LinkComponent, PhotoPlaceholder, type PhotoPlaceholderProps, PlanCard, type PlanCardProps, ProblemCard, type ProblemCardProps, type QuickstartStep, QuickstartSteps, type QuickstartStepsProps, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Split, type SplitProps, Stat, type StatProps, Text, TextLink, type TextLinkProps, type TextProps };
|
|
@@ -63,8 +63,9 @@ interface EventLegendProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
63
63
|
*/
|
|
64
64
|
declare function EventLegend({ parts, className, ...rest }: EventLegendProps): react_jsx_runtime.JSX.Element;
|
|
65
65
|
|
|
66
|
+
type IconName = 'check' | 'copy' | 'lock' | 'reload' | 'bookmark' | 'warning';
|
|
66
67
|
interface IconProps extends Omit<SVGAttributes<SVGSVGElement>, 'name'> {
|
|
67
|
-
name:
|
|
68
|
+
name: IconName;
|
|
68
69
|
size?: number;
|
|
69
70
|
}
|
|
70
71
|
/** The design system's line glyphs, drawn in currentColor; a check is always primary. */
|
|
@@ -132,6 +133,15 @@ interface InstallCommandProps extends Omit<ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
132
133
|
*/
|
|
133
134
|
declare function InstallCommand({ command, className, 'aria-describedby': describedBy, ...rest }: InstallCommandProps): react_jsx_runtime.JSX.Element;
|
|
134
135
|
|
|
136
|
+
interface PhotoPlaceholderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
137
|
+
/** The word in the middle. */
|
|
138
|
+
label?: string;
|
|
139
|
+
/** `theme` follows dark and light; `viz` is the demos' look, dark in both. */
|
|
140
|
+
tone?: 'theme' | 'viz';
|
|
141
|
+
}
|
|
142
|
+
/** A striped stand-in for a photo, sized by the caller. */
|
|
143
|
+
declare function PhotoPlaceholder({ label, tone, className, ...rest }: PhotoPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
144
|
+
|
|
135
145
|
interface CheckListProps extends HTMLAttributes<HTMLUListElement> {
|
|
136
146
|
items: ReactNode[];
|
|
137
147
|
/** `inline` wraps in a row (16px checks); `stack` is a column (14px checks). */
|
|
@@ -215,12 +225,53 @@ interface HighlightCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title
|
|
|
215
225
|
label: string;
|
|
216
226
|
title: ReactNode;
|
|
217
227
|
children: ReactNode;
|
|
218
|
-
|
|
228
|
+
/** A secondary button below the text; omit for a card without one. */
|
|
229
|
+
cta?: CallToAction;
|
|
219
230
|
linkComponent?: LinkComponent;
|
|
220
231
|
}
|
|
221
|
-
/** A large card with a corner glow and
|
|
232
|
+
/** A large card with a corner glow and an optional secondary CTA: a direction to explore. */
|
|
222
233
|
declare function HighlightCard({ label, title, children, cta, linkComponent, className, ...rest }: HighlightCardProps): react_jsx_runtime.JSX.Element;
|
|
223
234
|
|
|
235
|
+
interface BrowserBookmark {
|
|
236
|
+
label: string;
|
|
237
|
+
url: string;
|
|
238
|
+
}
|
|
239
|
+
interface BrowserFrameProps extends HTMLAttributes<HTMLDivElement> {
|
|
240
|
+
/** Shown read-only in the address field. */
|
|
241
|
+
url: string;
|
|
242
|
+
/** A row of links under the address bar; the one whose `url` equals `url` is current. */
|
|
243
|
+
bookmarks?: ReadonlyArray<BrowserBookmark>;
|
|
244
|
+
/** Called with a bookmark's url on its click; without it the bookmarks are disabled. */
|
|
245
|
+
onNavigate?: (url: string) => void;
|
|
246
|
+
/** Adds a reload button. */
|
|
247
|
+
onReload?: () => void;
|
|
248
|
+
/** The caller's controls at the end of the address bar, after reload; a link or button there looks like reload. */
|
|
249
|
+
actions?: ReactNode;
|
|
250
|
+
/** The page: fills the viewport. An `iframe` takes its full size, borderless. */
|
|
251
|
+
children: ReactNode;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* A browser window around a page, on the site theme. The caller sizes it: give
|
|
255
|
+
* the root a height (and a width where it does not fill its parent) through
|
|
256
|
+
* `className` or `style`; the viewport takes what the bars leave.
|
|
257
|
+
*/
|
|
258
|
+
declare function BrowserFrame({ url, bookmarks, onNavigate, onReload, actions, children, className, ...rest }: BrowserFrameProps): react_jsx_runtime.JSX.Element;
|
|
259
|
+
|
|
260
|
+
interface QuickstartStep {
|
|
261
|
+
title: string;
|
|
262
|
+
text: string;
|
|
263
|
+
}
|
|
264
|
+
interface QuickstartStepsProps extends HTMLAttributes<HTMLDivElement> {
|
|
265
|
+
steps: ReadonlyArray<QuickstartStep>;
|
|
266
|
+
/** After the steps, aligned to their start: the link to the full guide. */
|
|
267
|
+
children?: ReactNode;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Numbered steps in a row joined by hand-drawn arrows, a column on narrow
|
|
271
|
+
* screens; the children follow below.
|
|
272
|
+
*/
|
|
273
|
+
declare function QuickstartSteps({ steps, children, className, ...rest }: QuickstartStepsProps): react_jsx_runtime.JSX.Element;
|
|
274
|
+
|
|
224
275
|
interface SectionProps extends HTMLAttributes<HTMLElement> {
|
|
225
276
|
children: ReactNode;
|
|
226
277
|
/** `alt` grounds the band in bg-2. */
|
|
@@ -253,9 +304,14 @@ interface ClusterProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
253
304
|
/** `actions` 12px apart; `links` 8px rows and 24px columns. */
|
|
254
305
|
gap?: 'actions' | 'links';
|
|
255
306
|
align?: 'start' | 'center';
|
|
307
|
+
/**
|
|
308
|
+
* Set apart from the content above by an extra heading gap, for a call to
|
|
309
|
+
* action below a section's content.
|
|
310
|
+
*/
|
|
311
|
+
separated?: boolean;
|
|
256
312
|
}
|
|
257
313
|
/** A wrapping row of buttons or links. */
|
|
258
|
-
declare function Cluster({ children, gap, align, className, ...rest }: ClusterProps): react_jsx_runtime.JSX.Element;
|
|
314
|
+
declare function Cluster({ children, gap, align, separated, className, ...rest }: ClusterProps): react_jsx_runtime.JSX.Element;
|
|
259
315
|
|
|
260
316
|
interface HeroProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
261
317
|
eyebrow: ReactNode;
|
|
@@ -318,8 +374,9 @@ interface ArticleTeaserTrackingProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
318
374
|
* Tagging demo: one ArticleTeaser tagged once, walked through atom, molecule,
|
|
319
375
|
* organisms and pages, showing how every instance inherits entity, action,
|
|
320
376
|
* properties, context and globals. Autoplays while the code is in view; shows
|
|
321
|
-
* the finished walk-through with reduced motion.
|
|
377
|
+
* the finished walk-through with reduced motion. A clicked step plays from its
|
|
378
|
+
* start and stays there.
|
|
322
379
|
*/
|
|
323
380
|
declare function ArticleTeaserTracking({ autoplay, speed, initialStep, ...rest }: ArticleTeaserTrackingProps): react_jsx_runtime.JSX.Element;
|
|
324
381
|
|
|
325
|
-
export { ArticleTeaserTracking, type ArticleTeaserTrackingProps, Button, type ButtonProps, type CallToAction, Card, CardGrid, type CardGridProps, type CardProps, CaseCard, type CaseCardProps, type CaseStat, CheckList, type CheckListProps, Cluster, type ClusterProps, type DataAttributes, DestinationMappingViz, type DestinationMappingVizProps, EventLegend, type EventLegendProps, Eyebrow, type EyebrowProps, FaqItem, type FaqItemProps, FeatureItem, type FeatureItemProps, Hero, type HeroProps, HeroTaggingViz, type HeroTaggingVizProps, HighlightCard, type HighlightCardProps, Icon, type IconProps, InlineCode, type InlineCodeProps, InstallCommand, type InstallCommandProps, type LinkComponent, PlanCard, type PlanCardProps, ProblemCard, type ProblemCardProps, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Split, type SplitProps, Stat, type StatProps, Text, TextLink, type TextLinkProps, type TextProps };
|
|
382
|
+
export { ArticleTeaserTracking, type ArticleTeaserTrackingProps, type BrowserBookmark, BrowserFrame, type BrowserFrameProps, Button, type ButtonProps, type CallToAction, Card, CardGrid, type CardGridProps, type CardProps, CaseCard, type CaseCardProps, type CaseStat, CheckList, type CheckListProps, Cluster, type ClusterProps, type DataAttributes, DestinationMappingViz, type DestinationMappingVizProps, EventLegend, type EventLegendProps, Eyebrow, type EyebrowProps, FaqItem, type FaqItemProps, FeatureItem, type FeatureItemProps, Hero, type HeroProps, HeroTaggingViz, type HeroTaggingVizProps, HighlightCard, type HighlightCardProps, Icon, type IconProps, InlineCode, type InlineCodeProps, InstallCommand, type InstallCommandProps, type LinkComponent, PhotoPlaceholder, type PhotoPlaceholderProps, PlanCard, type PlanCardProps, ProblemCard, type ProblemCardProps, type QuickstartStep, QuickstartSteps, type QuickstartStepsProps, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Split, type SplitProps, Stat, type StatProps, Text, TextLink, type TextLinkProps, type TextProps };
|