@atomic-ui/ui-react 0.13.2 → 0.15.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 CHANGED
@@ -7,9 +7,9 @@ pnpm add @atomic-ui/ui @atomic-ui/ui-react
7
7
  ```
8
8
 
9
9
  ```tsx
10
- import { Table, Pagination, TextInput, Tabs } from '@atomic-ui/ui-react';
10
+ import { Table, TextInput } from '@atomic-ui/ui-react';
11
11
 
12
- export function Cases({ rows, page, pages }: Props) {
12
+ export function Cases({ rows }: Props) {
13
13
  return (
14
14
  <>
15
15
  <TextInput label="Search cases" type="search" onChange={(e) => setQuery(e.detail.value)} />
@@ -23,7 +23,6 @@ export function Cases({ rows, page, pages }: Props) {
23
23
  onSort={(e) => sortBy(e.detail.key, e.detail.direction)}
24
24
  onSelection={(e) => setSelected(e.detail.selected)}
25
25
  />
26
- <Pagination page={page} pages={pages} onPage={(e) => setPage(e.detail.page)} />
27
26
  </>
28
27
  );
29
28
  }
@@ -40,20 +39,20 @@ pnpm add @atomic-ui/ui @atomic-ui/blocks @atomic-ui/ui-react
40
39
  ```
41
40
 
42
41
  ```tsx
43
- import { Hero, CardGrid, SiteHeader, MortgageCalculator } from '@atomic-ui/ui-react/blocks';
42
+ import { SectionHead, WorkList, SiteHeader } from '@atomic-ui/ui-react/blocks';
44
43
 
45
- <SiteHeader brand="Larkfield" links={links} actionText="Book a visit" onAction={book} />
46
- <Hero heading="Homes made for the way you live" />
47
- <CardGrid items={developments} columns="three" />
44
+ <SiteHeader brand="Impakt" links={links} actionText="Book a call" onAction={book} />
45
+ <SectionHead label="Services" heading="Six ways we help." />
46
+ <WorkList label="Selected work" items={work} />
48
47
  ```
49
48
 
50
49
  They are generated from `@atomic-ui/blocks`'s manifest by the same script and named the same way, and importing the entry types the blocks' tags for JSX, as `ImpaktBlocksIntrinsicElements`. The main entry holds the product components only, so an app that uses no blocks never loads them. `@atomic-ui/blocks` is an optional peer dependency.
51
50
 
52
51
  ## Names
53
52
 
54
- Every element has a component named after its tag without `impakt-`: `impakt-table` is `Table`, `impakt-text-input` is `TextInput` and `impakt-error-summary` is `ErrorSummary`. Its props are the element's own properties, typed from the element. Each event is a prop named `on` and the rest of the event's name: `impakt-change` is `onChange`, `impakt-sort` is `onSort` and `impakt-close` is `onClose`, and the handler receives the event with its typed `detail`. `Button` keeps `onClick`.
53
+ Every element has a component named after its tag without `impakt-`: `impakt-table` is `Table`, `impakt-text-input` is `TextInput` and `impakt-file-upload` is `FileUpload`. Its props are the element's own properties, typed from the element. Each event is a prop named `on` and the rest of the event's name: `impakt-change` is `onChange`, `impakt-sort` is `onSort` and `impakt-close` is `onClose`, and the handler receives the event with its typed `detail`. `Button` keeps `onClick`.
55
54
 
56
- The components are generated from the component manifest when the package builds, by `scripts/generate.mjs`, so they always match the elements. The twelve components 0.2.0 had keep their names, props and events.
55
+ The components are generated from the component manifest when the package builds, by `scripts/generate.mjs`, so they always match the elements. The components 0.2.0 had keep their names, props and events, apart from `Stack`, `Grid` and `Help`, whose elements were removed in 0.14.0.
57
56
 
58
57
  ## Writing the tags in React 19
59
58
 
@@ -1,38 +1,14 @@
1
1
  import { type EventName } from '@lit/react';
2
- import { ImpaktAffordabilityCalculator, ImpaktAnnouncement, ImpaktBeforeAfter, ImpaktBranchList, ImpaktBranchTimeline, ImpaktBrowserFrame, ImpaktCallout, ImpaktCardGrid, ImpaktCarousel, ImpaktCheckList, ImpaktColumnList, ImpaktContactBlock, ImpaktCtaBanner, ImpaktCursor, ImpaktEstimator, ImpaktFacts, ImpaktFaq, ImpaktFeatureList, ImpaktFlow, ImpaktGallery, ImpaktHandNote, ImpaktHero, ImpaktHighlight, ImpaktHypothesisCard, ImpaktJourneyButton, ImpaktLocationCard, ImpaktLogoCloud, ImpaktMediaSplit, ImpaktMortgageCalculator, ImpaktNewsletter, ImpaktNumberedList, ImpaktOffer, ImpaktOfficeCard, ImpaktPlanComparison, ImpaktPostCard, ImpaktProcessLine, ImpaktQuote, ImpaktRegulatoryNotice, ImpaktReleaseCard, ImpaktReleaseList, ImpaktReviews, ImpaktScene, ImpaktScrubber, ImpaktSearchBar, ImpaktSectionHead, ImpaktServiceCard, ImpaktSiteFooter, ImpaktSiteHeader, ImpaktSiteMenu, ImpaktSitePlan, ImpaktStageTag, ImpaktStampDutyCalculator, ImpaktStat, ImpaktStatRow, ImpaktSteps, ImpaktStickyBar, ImpaktVideo, ImpaktWeekStrip, ImpaktWordmark, ImpaktWorkList } from '@atomic-ui/blocks';
3
- import type { EstimateResult, JourneyStage, PlanItem, SitePlot } from '@atomic-ui/blocks';
4
- /** `<impakt-affordability-calculator>` */
5
- export declare const AffordabilityCalculator: import("@lit/react").ReactWebComponent<ImpaktAffordabilityCalculator, {}>;
6
- /** `<impakt-announcement>` */
7
- export declare const Announcement: import("@lit/react").ReactWebComponent<ImpaktAnnouncement, {}>;
8
- /** `<impakt-before-after>` */
9
- export declare const BeforeAfter: import("@lit/react").ReactWebComponent<ImpaktBeforeAfter, {}>;
2
+ import { ImpaktBranchList, ImpaktBrowserFrame, ImpaktCallout, ImpaktColumnList, ImpaktCursor, ImpaktEstimator, ImpaktFacts, ImpaktFaq, ImpaktFeatureList, ImpaktFlow, ImpaktHighlight, ImpaktHypothesisCard, ImpaktJourneyButton, ImpaktNumberedList, ImpaktOffer, ImpaktOfficeCard, ImpaktPlanComparison, ImpaktPostCard, ImpaktProcessLine, ImpaktSectionHead, ImpaktServiceCard, ImpaktSiteFooter, ImpaktSiteHeader, ImpaktStageTag, ImpaktStatRow, ImpaktSteps, ImpaktVideo, ImpaktWeekStrip, ImpaktWorkList } from '@atomic-ui/blocks';
3
+ import type { EstimateResult, JourneyStage, PlanItem } from '@atomic-ui/blocks';
10
4
  /** `<impakt-branch-list>` */
11
5
  export declare const BranchList: import("@lit/react").ReactWebComponent<ImpaktBranchList, {}>;
12
- /** `<impakt-branch-timeline>` */
13
- export declare const BranchTimeline: import("@lit/react").ReactWebComponent<ImpaktBranchTimeline, {}>;
14
6
  /** `<impakt-browser-frame>` */
15
7
  export declare const BrowserFrame: import("@lit/react").ReactWebComponent<ImpaktBrowserFrame, {}>;
16
8
  /** `<impakt-callout>` */
17
9
  export declare const Callout: import("@lit/react").ReactWebComponent<ImpaktCallout, {}>;
18
- /** `<impakt-card-grid>` */
19
- export declare const CardGrid: import("@lit/react").ReactWebComponent<ImpaktCardGrid, {}>;
20
- /** `<impakt-carousel>` */
21
- export declare const Carousel: import("@lit/react").ReactWebComponent<ImpaktCarousel, {}>;
22
- /** `<impakt-check-list>` */
23
- export declare const CheckList: import("@lit/react").ReactWebComponent<ImpaktCheckList, {}>;
24
10
  /** `<impakt-column-list>` */
25
11
  export declare const ColumnList: import("@lit/react").ReactWebComponent<ImpaktColumnList, {}>;
26
- /** `<impakt-contact-block>` */
27
- export declare const ContactBlock: import("@lit/react").ReactWebComponent<ImpaktContactBlock, {
28
- onSubmit: EventName<CustomEvent<{
29
- name: string;
30
- phone: string;
31
- when: string;
32
- }>>;
33
- }>;
34
- /** `<impakt-cta-banner>` */
35
- export declare const CtaBanner: import("@lit/react").ReactWebComponent<ImpaktCtaBanner, {}>;
36
12
  /** `<impakt-cursor>` */
37
13
  export declare const Cursor: import("@lit/react").ReactWebComponent<ImpaktCursor, {}>;
38
14
  /** `<impakt-estimator>` */
@@ -47,12 +23,6 @@ export declare const Faq: import("@lit/react").ReactWebComponent<ImpaktFaq, {}>;
47
23
  export declare const FeatureList: import("@lit/react").ReactWebComponent<ImpaktFeatureList, {}>;
48
24
  /** `<impakt-flow>` */
49
25
  export declare const Flow: import("@lit/react").ReactWebComponent<ImpaktFlow, {}>;
50
- /** `<impakt-gallery>` */
51
- export declare const Gallery: import("@lit/react").ReactWebComponent<ImpaktGallery, {}>;
52
- /** `<impakt-hand-note>` */
53
- export declare const HandNote: import("@lit/react").ReactWebComponent<ImpaktHandNote, {}>;
54
- /** `<impakt-hero>` */
55
- export declare const Hero: import("@lit/react").ReactWebComponent<ImpaktHero, {}>;
56
26
  /** `<impakt-highlight>` */
57
27
  export declare const Highlight: import("@lit/react").ReactWebComponent<ImpaktHighlight, {}>;
58
28
  /** `<impakt-hypothesis-card>` */
@@ -63,20 +33,6 @@ export declare const JourneyButton: import("@lit/react").ReactWebComponent<Impak
63
33
  stage: JourneyStage;
64
34
  }>>;
65
35
  }>;
66
- /** `<impakt-location-card>` */
67
- export declare const LocationCard: import("@lit/react").ReactWebComponent<ImpaktLocationCard, {}>;
68
- /** `<impakt-logo-cloud>` */
69
- export declare const LogoCloud: import("@lit/react").ReactWebComponent<ImpaktLogoCloud, {}>;
70
- /** `<impakt-media-split>` */
71
- export declare const MediaSplit: import("@lit/react").ReactWebComponent<ImpaktMediaSplit, {}>;
72
- /** `<impakt-mortgage-calculator>` */
73
- export declare const MortgageCalculator: import("@lit/react").ReactWebComponent<ImpaktMortgageCalculator, {}>;
74
- /** `<impakt-newsletter>` */
75
- export declare const Newsletter: import("@lit/react").ReactWebComponent<ImpaktNewsletter, {
76
- onSubmit: EventName<CustomEvent<{
77
- email: string;
78
- }>>;
79
- }>;
80
36
  /** `<impakt-numbered-list>` */
81
37
  export declare const NumberedList: import("@lit/react").ReactWebComponent<ImpaktNumberedList, {}>;
82
38
  /** `<impakt-offer>` */
@@ -93,30 +49,6 @@ export declare const PlanComparison: import("@lit/react").ReactWebComponent<Impa
93
49
  export declare const PostCard: import("@lit/react").ReactWebComponent<ImpaktPostCard, {}>;
94
50
  /** `<impakt-process-line>` */
95
51
  export declare const ProcessLine: import("@lit/react").ReactWebComponent<ImpaktProcessLine, {}>;
96
- /** `<impakt-quote>` */
97
- export declare const Quote: import("@lit/react").ReactWebComponent<ImpaktQuote, {}>;
98
- /** `<impakt-regulatory-notice>` */
99
- export declare const RegulatoryNotice: import("@lit/react").ReactWebComponent<ImpaktRegulatoryNotice, {}>;
100
- /** `<impakt-release-card>` */
101
- export declare const ReleaseCard: import("@lit/react").ReactWebComponent<ImpaktReleaseCard, {}>;
102
- /** `<impakt-release-list>` */
103
- export declare const ReleaseList: import("@lit/react").ReactWebComponent<ImpaktReleaseList, {}>;
104
- /** `<impakt-reviews>` */
105
- export declare const Reviews: import("@lit/react").ReactWebComponent<ImpaktReviews, {}>;
106
- /** `<impakt-scene>` */
107
- export declare const Scene: import("@lit/react").ReactWebComponent<ImpaktScene, {
108
- onSceneProgress: EventName<CustomEvent<{
109
- progress: number;
110
- }>>;
111
- }>;
112
- /** `<impakt-scrubber>` */
113
- export declare const Scrubber: import("@lit/react").ReactWebComponent<ImpaktScrubber, {}>;
114
- /** `<impakt-search-bar>` */
115
- export declare const SearchBar: import("@lit/react").ReactWebComponent<ImpaktSearchBar, {
116
- onSubmit: EventName<CustomEvent<{
117
- values: Record<string, string>;
118
- }>>;
119
- }>;
120
52
  /** `<impakt-section-head>` */
121
53
  export declare const SectionHead: import("@lit/react").ReactWebComponent<ImpaktSectionHead, {}>;
122
54
  /** `<impakt-service-card>` */
@@ -127,33 +59,15 @@ export declare const SiteFooter: import("@lit/react").ReactWebComponent<ImpaktSi
127
59
  export declare const SiteHeader: import("@lit/react").ReactWebComponent<ImpaktSiteHeader, {
128
60
  onAction: EventName<CustomEvent<null>>;
129
61
  }>;
130
- /** `<impakt-site-menu>` */
131
- export declare const SiteMenu: import("@lit/react").ReactWebComponent<ImpaktSiteMenu, {
132
- onClose: EventName<CustomEvent<null>>;
133
- }>;
134
- /** `<impakt-site-plan>` */
135
- export declare const SitePlan: import("@lit/react").ReactWebComponent<ImpaktSitePlan, {
136
- onSelect: EventName<CustomEvent<{
137
- plot: SitePlot;
138
- }>>;
139
- }>;
140
62
  /** `<impakt-stage-tag>` */
141
63
  export declare const StageTag: import("@lit/react").ReactWebComponent<ImpaktStageTag, {}>;
142
- /** `<impakt-stamp-duty-calculator>` */
143
- export declare const StampDutyCalculator: import("@lit/react").ReactWebComponent<ImpaktStampDutyCalculator, {}>;
144
- /** `<impakt-stat>` */
145
- export declare const Stat: import("@lit/react").ReactWebComponent<ImpaktStat, {}>;
146
64
  /** `<impakt-stat-row>` */
147
65
  export declare const StatRow: import("@lit/react").ReactWebComponent<ImpaktStatRow, {}>;
148
66
  /** `<impakt-steps>` */
149
67
  export declare const Steps: import("@lit/react").ReactWebComponent<ImpaktSteps, {}>;
150
- /** `<impakt-sticky-bar>` */
151
- export declare const StickyBar: import("@lit/react").ReactWebComponent<ImpaktStickyBar, {}>;
152
68
  /** `<impakt-video>` */
153
69
  export declare const Video: import("@lit/react").ReactWebComponent<ImpaktVideo, {}>;
154
70
  /** `<impakt-week-strip>` */
155
71
  export declare const WeekStrip: import("@lit/react").ReactWebComponent<ImpaktWeekStrip, {}>;
156
- /** `<impakt-wordmark>` */
157
- export declare const Wordmark: import("@lit/react").ReactWebComponent<ImpaktWordmark, {}>;
158
72
  /** `<impakt-work-list>` */
159
73
  export declare const WorkList: import("@lit/react").ReactWebComponent<ImpaktWorkList, {}>;
@@ -1,27 +1,12 @@
1
- import type { ImpaktAffordabilityCalculator, ImpaktAnnouncement, ImpaktBeforeAfter, ImpaktBranchList, ImpaktBranchTimeline, ImpaktBrowserFrame, ImpaktCallout, ImpaktCardGrid, ImpaktCarousel, ImpaktCheckList, ImpaktColumnList, ImpaktContactBlock, ImpaktCtaBanner, ImpaktCursor, ImpaktEstimator, ImpaktFacts, ImpaktFaq, ImpaktFeatureList, ImpaktFlow, ImpaktGallery, ImpaktHandNote, ImpaktHero, ImpaktHighlight, ImpaktHypothesisCard, ImpaktJourneyButton, ImpaktLocationCard, ImpaktLogoCloud, ImpaktMediaSplit, ImpaktMortgageCalculator, ImpaktNewsletter, ImpaktNumberedList, ImpaktOffer, ImpaktOfficeCard, ImpaktPlanComparison, ImpaktPostCard, ImpaktProcessLine, ImpaktQuote, ImpaktRegulatoryNotice, ImpaktReleaseCard, ImpaktReleaseList, ImpaktReviews, ImpaktScene, ImpaktScrubber, ImpaktSearchBar, ImpaktSectionHead, ImpaktServiceCard, ImpaktSiteFooter, ImpaktSiteHeader, ImpaktSiteMenu, ImpaktSitePlan, ImpaktStageTag, ImpaktStampDutyCalculator, ImpaktStat, ImpaktStatRow, ImpaktSteps, ImpaktStickyBar, ImpaktVideo, ImpaktWeekStrip, ImpaktWordmark, ImpaktWorkList } from '@atomic-ui/blocks';
2
- import type { EstimateResult, JourneyStage, PlanItem, SitePlot } from '@atomic-ui/blocks';
1
+ import type { ImpaktBranchList, ImpaktBrowserFrame, ImpaktCallout, ImpaktColumnList, ImpaktCursor, ImpaktEstimator, ImpaktFacts, ImpaktFaq, ImpaktFeatureList, ImpaktFlow, ImpaktHighlight, ImpaktHypothesisCard, ImpaktJourneyButton, ImpaktNumberedList, ImpaktOffer, ImpaktOfficeCard, ImpaktPlanComparison, ImpaktPostCard, ImpaktProcessLine, ImpaktSectionHead, ImpaktServiceCard, ImpaktSiteFooter, ImpaktSiteHeader, ImpaktStageTag, ImpaktStatRow, ImpaktSteps, ImpaktVideo, ImpaktWeekStrip, ImpaktWorkList } from '@atomic-ui/blocks';
2
+ import type { EstimateResult, JourneyStage, PlanItem } from '@atomic-ui/blocks';
3
3
  import type { ImpaktElementProps } from './jsx';
4
4
  /** Every element, by tag. */
5
5
  export interface ImpaktBlocksIntrinsicElements {
6
- 'impakt-affordability-calculator': ImpaktElementProps<ImpaktAffordabilityCalculator, 'heading' | 'income' | 'secondIncome' | 'deposit' | 'timesIncome' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'second-income' | 'times-income' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
7
- 'impakt-announcement': ImpaktElementProps<ImpaktAnnouncement, 'message' | 'linkText' | 'href', 'link-text', {}>;
8
- 'impakt-before-after': ImpaktElementProps<ImpaktBeforeAfter, 'beforeSrc' | 'beforeAlt' | 'afterSrc' | 'afterAlt' | 'beforeLabel' | 'afterLabel' | 'label' | 'position' | 'spaceAbove' | 'spaceBelow', 'before-src' | 'before-alt' | 'after-src' | 'after-alt' | 'before-label' | 'after-label' | 'space-above' | 'space-below', {}>;
9
6
  'impakt-branch-list': ImpaktElementProps<ImpaktBranchList, 'items' | 'trunk' | 'look' | 'current' | 'currentText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'current-text' | 'heading-level' | 'space-above' | 'space-below', {}>;
10
- 'impakt-branch-timeline': ImpaktElementProps<ImpaktBranchTimeline, 'lanes' | 'marks' | 'span' | 'unit' | 'every' | 'release' | 'releaseAt' | 'label' | 'spaceAbove' | 'spaceBelow', 'release-at' | 'space-above' | 'space-below', {}>;
11
7
  'impakt-browser-frame': ImpaktElementProps<ImpaktBrowserFrame, 'caption' | 'ratio', never, {}>;
12
8
  'impakt-callout': ImpaktElementProps<ImpaktCallout, 'label' | 'text', never, {}>;
13
- 'impakt-card-grid': ImpaktElementProps<ImpaktCardGrid, 'items' | 'columns' | 'headingLevel' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
14
- 'impakt-carousel': ImpaktElementProps<ImpaktCarousel, 'label' | 'perView' | 'arrows' | 'autoplay' | 'seconds' | 'spaceAbove' | 'spaceBelow', 'per-view' | 'space-above' | 'space-below', {}>;
15
- 'impakt-check-list': ImpaktElementProps<ImpaktCheckList, 'items' | 'summary' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
16
9
  'impakt-column-list': ImpaktElementProps<ImpaktColumnList, 'columns' | 'headingLevel', 'heading-level', {}>;
17
- 'impakt-contact-block': ImpaktElementProps<ImpaktContactBlock, 'heading' | 'phone' | 'hours' | 'email' | 'callbackHeading' | 'buttonText' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'callback-heading' | 'button-text' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', {
18
- 'onimpakt-submit': CustomEvent<{
19
- name: string;
20
- phone: string;
21
- when: string;
22
- }>;
23
- }>;
24
- 'impakt-cta-banner': ImpaktElementProps<ImpaktCtaBanner, 'heading' | 'lead' | 'tone' | 'align' | 'imageSrc' | 'imageAlt' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'heading-level' | 'space-above' | 'space-below', {}>;
25
10
  'impakt-cursor': ImpaktElementProps<ImpaktCursor, 'name' | 'variant' | 'drift', never, {}>;
26
11
  'impakt-estimator': ImpaktElementProps<ImpaktEstimator, 'questions' | 'teams' | 'ways' | 'phases' | 'low' | 'high' | 'minWeeks' | 'currency' | 'unit' | 'intro' | 'budgetLabel' | 'resultHeading' | 'teamText' | 'teamTextOne' | 'note' | 'contactHref' | 'sendLabel' | 'layout' | 'wayLabel' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'min-weeks' | 'budget-label' | 'result-heading' | 'team-text' | 'team-text-one' | 'contact-href' | 'send-label' | 'way-label' | 'heading-level' | 'space-above' | 'space-below', {
27
12
  'onimpakt-estimate': CustomEvent<EstimateResult>;
@@ -30,26 +15,14 @@ export interface ImpaktBlocksIntrinsicElements {
30
15
  'impakt-faq': ImpaktElementProps<ImpaktFaq, 'eyebrow' | 'heading' | 'lead' | 'items' | 'headingLevel' | 'open' | 'multiple' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
31
16
  'impakt-feature-list': ImpaktElementProps<ImpaktFeatureList, 'items' | 'columns' | 'headingLevel' | 'layout' | 'look' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
32
17
  'impakt-flow': ImpaktElementProps<ImpaktFlow, 'steps' | 'size' | 'onInk' | 'headingLevel' | 'label', 'on-ink' | 'heading-level', {}>;
33
- 'impakt-gallery': ImpaktElementProps<ImpaktGallery, 'items' | 'layout' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
34
- 'impakt-hand-note': ImpaktElementProps<ImpaktHandNote, 'text' | 'arrow' | 'decorative', never, {}>;
35
- 'impakt-hero': ImpaktElementProps<ImpaktHero, 'eyebrow' | 'heading' | 'lead' | 'level' | 'imageSrc' | 'imageAlt' | 'treatment' | 'ratingText' | 'eyebrowIcon' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'rating-text' | 'eyebrow-icon' | 'space-above' | 'space-below', {}>;
36
- 'impakt-highlight': ImpaktElementProps<ImpaktHighlight, 'label' | 'cursor' | 'hideLabelOn', 'hide-label-on', {}>;
18
+ 'impakt-highlight': ImpaktElementProps<ImpaktHighlight, 'label' | 'labelPhone' | 'cursor' | 'hideLabelOn', 'label-phone' | 'hide-label-on', {}>;
37
19
  'impakt-hypothesis-card': ImpaktElementProps<ImpaktHypothesisCard, 'number' | 'statement' | 'metric' | 'impact' | 'impactLabel', 'impact-label', {}>;
38
- 'impakt-journey-button': ImpaktElementProps<ImpaktJourneyButton, 'stage' | 'label' | 'href' | 'decorative' | 'track' | 'travel' | 'code' | 'annotations' | 'captions' | 'marginNote' | 'specs' | 'markWidth' | 'markHeight' | 'progress', 'margin-note' | 'mark-width' | 'mark-height', {
20
+ 'impakt-journey-button': ImpaktElementProps<ImpaktJourneyButton, 'stage' | 'label' | 'href' | 'decorative' | 'track' | 'travel' | 'code' | 'annotations' | 'captions' | 'marginNote' | 'marginNoteShown' | 'specs' | 'markWidth' | 'markHeight' | 'progress', 'margin-note' | 'margin-note-shown' | 'mark-width' | 'mark-height', {
39
21
  'onimpakt-journey-stage': CustomEvent<{
40
22
  stage: JourneyStage;
41
23
  }>;
42
24
  }>;
43
- 'impakt-location-card': ImpaktElementProps<ImpaktLocationCard, 'heading' | 'address' | 'hours' | 'phone' | 'mapSrc' | 'mapAlt' | 'directionsText' | 'directionsHref' | 'nearby' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'map-src' | 'map-alt' | 'directions-text' | 'directions-href' | 'heading-level' | 'space-above' | 'space-below', {}>;
44
- 'impakt-logo-cloud': ImpaktElementProps<ImpaktLogoCloud, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
45
- 'impakt-media-split': ImpaktElementProps<ImpaktMediaSplit, 'eyebrow' | 'heading' | 'lead' | 'points' | 'level' | 'imageSrc' | 'imageAlt' | 'insetSrc' | 'insetAlt' | 'imageSide' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'inset-src' | 'inset-alt' | 'image-side' | 'space-above' | 'space-below', {}>;
46
- 'impakt-mortgage-calculator': ImpaktElementProps<ImpaktMortgageCalculator, 'heading' | 'price' | 'depositPercent' | 'rate' | 'years' | 'currency' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'deposit-percent' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
47
- 'impakt-newsletter': ImpaktElementProps<ImpaktNewsletter, 'heading' | 'lead' | 'label' | 'buttonText' | 'smallPrint' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'small-print' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', {
48
- 'onimpakt-submit': CustomEvent<{
49
- email: string;
50
- }>;
51
- }>;
52
- 'impakt-numbered-list': ImpaktElementProps<ImpaktNumberedList, 'items' | 'start' | 'headingLevel' | 'label', 'heading-level', {}>;
25
+ 'impakt-numbered-list': ImpaktElementProps<ImpaktNumberedList, 'items' | 'split' | 'start' | 'headingLevel' | 'label', 'heading-level', {}>;
53
26
  'impakt-offer': ImpaktElementProps<ImpaktOffer, 'eyebrow' | 'heading' | 'lead' | 'points' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
54
27
  'impakt-office-card': ImpaktElementProps<ImpaktOfficeCard, 'hours' | 'name' | 'region' | 'text' | 'tag' | 'headingLevel', 'heading-level', {}>;
55
28
  'impakt-plan-comparison': ImpaktElementProps<ImpaktPlanComparison, 'heading' | 'plans' | 'rows' | 'buttonText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'heading-level' | 'space-above' | 'space-below', {
@@ -59,45 +32,17 @@ export interface ImpaktBlocksIntrinsicElements {
59
32
  }>;
60
33
  'impakt-post-card': ImpaktElementProps<ImpaktPostCard, 'heading' | 'text' | 'meta' | 'href' | 'linkText' | 'headingLevel', 'link-text' | 'heading-level', {}>;
61
34
  'impakt-process-line': ImpaktElementProps<ImpaktProcessLine, 'nodes' | 'lineLabel' | 'label', 'line-label', {}>;
62
- 'impakt-quote': ImpaktElementProps<ImpaktQuote, 'quote' | 'person' | 'about' | 'imageSrc' | 'size' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'space-above' | 'space-below', {}>;
63
- 'impakt-regulatory-notice': ImpaktElementProps<ImpaktRegulatoryNotice, 'kind' | 'heading' | 'text' | 'firm' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
64
- 'impakt-release-card': ImpaktElementProps<ImpaktReleaseCard, 'label' | 'heading' | 'text' | 'beforeSrc' | 'beforeAlt' | 'afterSrc' | 'afterAlt' | 'items' | 'href' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'before-src' | 'before-alt' | 'after-src' | 'after-alt' | 'heading-level' | 'space-above' | 'space-below', {}>;
65
- 'impakt-release-list': ImpaktElementProps<ImpaktReleaseList, 'items' | 'columns' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
66
- 'impakt-reviews': ImpaktElementProps<ImpaktReviews, 'summary' | 'rating' | 'items' | 'columns' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
67
- 'impakt-scene': ImpaktElementProps<ImpaktScene, 'drive' | 'layout' | 'length' | 'duration' | 'label' | 'progress' | 'controls' | 'bleed' | 'hideOn', 'hide-on', {
68
- 'onimpakt-scene-progress': CustomEvent<{
69
- progress: number;
70
- }>;
71
- }>;
72
- 'impakt-scrubber': ImpaktElementProps<ImpaktScrubber, 'label' | 'stops' | 'look' | 'hint' | 'value', never, {}>;
73
- 'impakt-search-bar': ImpaktElementProps<ImpaktSearchBar, 'items' | 'buttonText' | 'action' | 'label' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'space-above' | 'space-below', {
74
- 'onimpakt-submit': CustomEvent<{
75
- values: Record<string, string>;
76
- }>;
77
- }>;
78
35
  'impakt-section-head': ImpaktElementProps<ImpaktSectionHead, 'label' | 'heading' | 'lead' | 'size' | 'level' | 'leadPosition' | 'stage' | 'stageOnInk' | 'spaceAbove' | 'spaceBelow' | 'aside', 'lead-position' | 'stage-on-ink' | 'space-above' | 'space-below', {}>;
79
- 'impakt-service-card': ImpaktElementProps<ImpaktServiceCard, 'number' | 'heading' | 'text' | 'tags' | 'href' | 'linkText' | 'headingLevel' | 'featured', 'link-text' | 'heading-level', {}>;
36
+ 'impakt-service-card': ImpaktElementProps<ImpaktServiceCard, 'number' | 'heading' | 'text' | 'tags' | 'href' | 'linkText' | 'headingLevel' | 'featured' | 'size' | 'look', 'link-text' | 'heading-level', {}>;
80
37
  'impakt-site-footer': ImpaktElementProps<ImpaktSiteFooter, 'brand' | 'brandSize' | 'log' | 'columns' | 'columnsOnPhone' | 'legal' | 'stripe' | 'headingLevel' | 'actionText' | 'actionHref' | 'tagline', 'brand-size' | 'columns-on-phone' | 'heading-level' | 'action-text' | 'action-href', {}>;
81
38
  'impakt-site-header': ImpaktElementProps<ImpaktSiteHeader, 'brand' | 'logoSrc' | 'logoAlt' | 'home' | 'badge' | 'meta' | 'links' | 'label' | 'menuText' | 'status' | 'statusMeta' | 'statusTone' | 'actionText' | 'actionHref' | 'fold' | 'mark' | 'context' | 'statusAt' | 'navLook' | 'current' | 'presence' | 'look' | 'menuActionText' | 'menuActionHref' | 'menuNote' | 'menuEmail' | 'currentText' | 'closeText', 'logo-src' | 'logo-alt' | 'menu-text' | 'status-meta' | 'status-tone' | 'action-text' | 'action-href' | 'status-at' | 'nav-look' | 'menu-action-text' | 'menu-action-href' | 'menu-note' | 'menu-email' | 'current-text' | 'close-text', {
82
39
  'onimpakt-action': CustomEvent<null>;
83
40
  }>;
84
- 'impakt-site-menu': ImpaktElementProps<ImpaktSiteMenu, 'open' | 'links' | 'current' | 'brand' | 'mark' | 'home' | 'label' | 'closeText' | 'currentText', 'close-text' | 'current-text', {
85
- 'onimpakt-close': CustomEvent<null>;
86
- }>;
87
- 'impakt-site-plan': ImpaktElementProps<ImpaktSitePlan, 'imageSrc' | 'imageAlt' | 'plots' | 'selectedPlot' | 'panel' | 'hint' | 'plotWord' | 'actionText' | 'availableText' | 'reservedText' | 'soldText' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'selected-plot' | 'plot-word' | 'action-text' | 'available-text' | 'reserved-text' | 'sold-text' | 'space-above' | 'space-below', {
88
- 'onimpakt-select': CustomEvent<{
89
- plot: SitePlot;
90
- }>;
91
- }>;
92
41
  'impakt-stage-tag': ImpaktElementProps<ImpaktStageTag, 'stage' | 'index' | 'phase' | 'label' | 'onInk' | 'announce', 'on-ink', {}>;
93
- 'impakt-stamp-duty-calculator': ImpaktElementProps<ImpaktStampDutyCalculator, 'heading' | 'price' | 'buyer' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
94
- 'impakt-stat': ImpaktElementProps<ImpaktStat, 'size' | 'figure' | 'label' | 'note' | 'align', never, {}>;
95
42
  'impakt-stat-row': ImpaktElementProps<ImpaktStatRow, 'items' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
96
43
  'impakt-steps': ImpaktElementProps<ImpaktSteps, 'items' | 'orientation' | 'look' | 'tones' | 'current' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
97
- 'impakt-sticky-bar': ImpaktElementProps<ImpaktStickyBar, 'label' | 'heading' | 'lead' | 'showOn' | 'revealAfter', 'show-on' | 'reveal-after', {}>;
98
44
  'impakt-video': ImpaktElementProps<ImpaktVideo, 'videoSrc' | 'label' | 'posterSrc' | 'captionsSrc' | 'transcriptHref' | 'playText' | 'ratio' | 'look' | 'caption' | 'duration' | 'transcript' | 'transcriptText' | 'spaceAbove' | 'spaceBelow', 'video-src' | 'poster-src' | 'captions-src' | 'transcript-href' | 'play-text' | 'transcript-text' | 'space-above' | 'space-below', {}>;
99
45
  'impakt-week-strip': ImpaktElementProps<ImpaktWeekStrip, 'days' | 'headingLevel' | 'label', 'heading-level', {}>;
100
- 'impakt-wordmark': ImpaktElementProps<ImpaktWordmark, 'text' | 'src' | 'alt' | 'href' | 'size' | 'hideOn', 'hide-on', {}>;
101
46
  'impakt-work-list': ImpaktElementProps<ImpaktWorkList, 'items' | 'headingLevel' | 'start' | 'label' | 'columns' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
102
47
  }
103
48
  declare module 'react' {
package/dist/blocks.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * React bindings for `@atomic-ui/blocks`, the section blocks Impakt sites are built from.
3
3
  *
4
- * import { Hero, CardGrid, SiteHeader } from '@atomic-ui/ui-react/blocks';
4
+ * import { SectionHead, WorkList, SiteHeader } from '@atomic-ui/ui-react/blocks';
5
5
  *
6
6
  * They are made exactly as the product components in `@atomic-ui/ui-react` are,
7
7
  * by `scripts/generate.mjs`, from `@atomic-ui/blocks`'s Custom Elements Manifest:
@@ -16,4 +16,4 @@
16
16
  import './blocks-jsx';
17
17
  export * from './blocks-components';
18
18
  export type { ImpaktBlocksIntrinsicElements } from './blocks-jsx';
19
- export type { FeatureItem, SearchField, CardItem, GalleryItem, LogoItem, StepItem, ReviewItem, SitePlot, NearbyItem, PlanItem, PlanRow, EstimatorQuestion, EstimatorChoice, EstimatorBand, EstimatorPhase, EstimateResult, FooterLogLine, FooterColumn, SceneDrive, SceneLayout, ScrubberStop, DiffLine, ReleaseItem, Branch, CheckItem, TimelineLane, TimelineMark, } from '@atomic-ui/blocks';
19
+ export type { FeatureItem, StepItem, PlanItem, PlanRow, EstimatorQuestion, EstimatorChoice, EstimatorBand, EstimatorPhase, EstimateResult, FooterLogLine, FooterColumn, DiffLine, Branch, } from '@atomic-ui/blocks';