@atomic-ui/ui-react 0.13.1 → 0.14.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.
@@ -35,7 +35,7 @@ export interface ImpaktBlocksIntrinsicElements {
35
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
36
  'impakt-highlight': ImpaktElementProps<ImpaktHighlight, 'label' | 'cursor' | 'hideLabelOn', 'hide-label-on', {}>;
37
37
  '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', 'margin-note' | 'mark-width' | 'mark-height', {
38
+ '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
39
  'onimpakt-journey-stage': CustomEvent<{
40
40
  stage: JourneyStage;
41
41
  }>;
@@ -49,7 +49,7 @@ export interface ImpaktBlocksIntrinsicElements {
49
49
  email: string;
50
50
  }>;
51
51
  }>;
52
- 'impakt-numbered-list': ImpaktElementProps<ImpaktNumberedList, 'items' | 'start' | 'headingLevel' | 'label', 'heading-level', {}>;
52
+ 'impakt-numbered-list': ImpaktElementProps<ImpaktNumberedList, 'items' | 'split' | 'start' | 'headingLevel' | 'label', 'heading-level', {}>;
53
53
  'impakt-offer': ImpaktElementProps<ImpaktOffer, 'eyebrow' | 'heading' | 'lead' | 'points' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
54
54
  'impakt-office-card': ImpaktElementProps<ImpaktOfficeCard, 'hours' | 'name' | 'region' | 'text' | 'tag' | 'headingLevel', 'heading-level', {}>;
55
55
  'impakt-plan-comparison': ImpaktElementProps<ImpaktPlanComparison, 'heading' | 'plans' | 'rows' | 'buttonText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'heading-level' | 'space-above' | 'space-below', {
@@ -75,10 +75,10 @@ export interface ImpaktBlocksIntrinsicElements {
75
75
  values: Record<string, string>;
76
76
  }>;
77
77
  }>;
78
- 'impakt-section-head': ImpaktElementProps<ImpaktSectionHead, 'label' | 'heading' | 'lead' | 'size' | 'level' | 'leadPosition' | 'stage' | 'stageOnInk' | 'spaceAbove' | 'spaceBelow', 'lead-position' | 'stage-on-ink' | 'space-above' | 'space-below', {}>;
78
+ '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
79
  'impakt-service-card': ImpaktElementProps<ImpaktServiceCard, 'number' | 'heading' | 'text' | 'tags' | 'href' | 'linkText' | 'headingLevel' | 'featured', 'link-text' | 'heading-level', {}>;
80
80
  '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
- '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', 'logo-src' | 'logo-alt' | 'menu-text' | 'status-meta' | 'status-tone' | 'action-text' | 'action-href' | 'status-at' | 'nav-look', {
81
+ '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
82
  'onimpakt-action': CustomEvent<null>;
83
83
  }>;
84
84
  'impakt-site-menu': ImpaktElementProps<ImpaktSiteMenu, 'open' | 'links' | 'current' | 'brand' | 'mark' | 'home' | 'label' | 'closeText' | 'currentText', 'close-text' | 'current-text', {
package/dist/jsx.d.ts CHANGED
@@ -20,7 +20,7 @@ export type ImpaktElementProps<E, Props extends keyof E, Attributes extends stri
20
20
  /** Every element, by tag. */
21
21
  export interface ImpaktIntrinsicElements {
22
22
  'impakt-accordion': ImpaktElementProps<ImpaktAccordion, 'items' | 'headingLevel' | 'open' | 'multiple' | 'look', 'heading-level', {}>;
23
- 'impakt-address-lookup': ImpaktElementProps<ImpaktAddressLookup, 'postcodeLabel' | 'findText' | 'chooseLabel' | 'manualText' | 'notFoundText' | 'lookupUrl' | 'addresses' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'postcode-label' | 'find-text' | 'choose-label' | 'manual-text' | 'not-found-text' | 'lookup-url' | 'required-text', {
23
+ 'impakt-address-lookup': ImpaktElementProps<ImpaktAddressLookup, 'postcodeLabel' | 'findText' | 'chooseLabel' | 'manualText' | 'notFoundText' | 'lookupUrl' | 'addresses' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'postcode-label' | 'find-text' | 'choose-label' | 'manual-text' | 'not-found-text' | 'lookup-url' | 'required-text', {
24
24
  'onimpakt-lookup': CustomEvent<{
25
25
  postcode: string;
26
26
  }>;
@@ -37,12 +37,12 @@ export interface ImpaktIntrinsicElements {
37
37
  'impakt-breadcrumbs': ImpaktElementProps<ImpaktBreadcrumbs, 'look' | 'items' | 'label', never, {}>;
38
38
  'impakt-button': ImpaktElementProps<ImpaktButton, 'hideOn' | 'variant' | 'spread' | 'centred' | 'type' | 'disabled' | 'busy' | 'busyLabel' | 'full' | 'fullOnPhone' | 'size' | 'iconBefore' | 'iconAfter' | 'href' | 'icon' | 'label', 'hide-on' | 'busy-label' | 'full-on-phone' | 'icon-before' | 'icon-after', {}>;
39
39
  'impakt-card': ImpaktElementProps<ImpaktCard, 'tone' | 'padding' | 'imageSrc' | 'imageAlt' | 'badge' | 'ratio' | 'raised' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'space-above' | 'space-below', {}>;
40
- 'impakt-checkbox': ImpaktElementProps<ImpaktCheckbox, 'checked' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
40
+ 'impakt-checkbox': ImpaktElementProps<ImpaktCheckbox, 'checked' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'required-text', {
41
41
  'onimpakt-change': CustomEvent<{
42
42
  value: string;
43
43
  }>;
44
44
  }>;
45
- 'impakt-checkbox-group': ImpaktElementProps<ImpaktCheckboxGroup, 'options' | 'values' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
45
+ 'impakt-checkbox-group': ImpaktElementProps<ImpaktCheckboxGroup, 'options' | 'values' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'required-text', {
46
46
  'onimpakt-change': CustomEvent<{
47
47
  value: string;
48
48
  }>;
@@ -55,7 +55,7 @@ export interface ImpaktIntrinsicElements {
55
55
  }>;
56
56
  }>;
57
57
  'impakt-code-diff': ImpaktElementProps<ImpaktCodeDiff, 'removed' | 'added' | 'lines' | 'label' | 'removedText' | 'addedText', 'removed-text' | 'added-text', {}>;
58
- 'impakt-date-input': ImpaktElementProps<ImpaktDateInput, 'day' | 'month' | 'year' | 'autocompleteSection' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'autocomplete-section' | 'required-text', {
58
+ 'impakt-date-input': ImpaktElementProps<ImpaktDateInput, 'day' | 'month' | 'year' | 'autocompleteSection' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'autocomplete-section' | 'required-text', {
59
59
  'onimpakt-change': CustomEvent<{
60
60
  value: string;
61
61
  }>;
@@ -72,7 +72,7 @@ export interface ImpaktIntrinsicElements {
72
72
  'impakt-empty-state': ImpaktElementProps<ImpaktEmptyState, 'icon' | 'heading' | 'lead' | 'framed' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
73
73
  'impakt-error-summary': ImpaktElementProps<ImpaktErrorSummary, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
74
74
  'impakt-fieldset': ImpaktElementProps<ImpaktFieldset, 'legend' | 'description' | 'error' | 'size', never, {}>;
75
- 'impakt-file-upload': ImpaktElementProps<ImpaktFileUpload, 'accept' | 'manyFiles' | 'maxSizeMb' | 'chooseText' | 'dropText' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'many-files' | 'max-size-mb' | 'choose-text' | 'drop-text' | 'required-text', {
75
+ 'impakt-file-upload': ImpaktElementProps<ImpaktFileUpload, 'accept' | 'manyFiles' | 'maxSizeMb' | 'chooseText' | 'dropText' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'many-files' | 'max-size-mb' | 'choose-text' | 'drop-text' | 'required-text', {
76
76
  'onimpakt-files': CustomEvent<{
77
77
  files: File[];
78
78
  }>;
@@ -100,7 +100,7 @@ export interface ImpaktIntrinsicElements {
100
100
  }>;
101
101
  }>;
102
102
  'impakt-meter': ImpaktElementProps<ImpaktMeter, 'label' | 'value' | 'min' | 'max' | 'valueText' | 'showValue', 'value-text' | 'show-value', {}>;
103
- 'impakt-money-input': ImpaktElementProps<ImpaktMoneyInput, 'currency' | 'lowest' | 'highest' | 'pence' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
103
+ 'impakt-money-input': ImpaktElementProps<ImpaktMoneyInput, 'currency' | 'lowest' | 'highest' | 'pence' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'required-text', {
104
104
  'onimpakt-change': CustomEvent<{
105
105
  value: string;
106
106
  }>;
@@ -114,12 +114,12 @@ export interface ImpaktIntrinsicElements {
114
114
  }>;
115
115
  'impakt-price': ImpaktElementProps<ImpaktPrice, 'amount' | 'currency' | 'locale' | 'prefix' | 'period' | 'size' | 'pending', never, {}>;
116
116
  'impakt-progress': ImpaktElementProps<ImpaktProgress, 'steps' | 'current' | 'label' | 'look' | 'doneText' | 'hideLabels', 'done-text' | 'hide-labels', {}>;
117
- 'impakt-radio-group': ImpaktElementProps<ImpaktRadioGroup, 'options' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
117
+ 'impakt-radio-group': ImpaktElementProps<ImpaktRadioGroup, 'options' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'required-text', {
118
118
  'onimpakt-change': CustomEvent<{
119
119
  value: string;
120
120
  }>;
121
121
  }>;
122
- 'impakt-range-input': ImpaktElementProps<ImpaktRangeInput, 'lowest' | 'highest' | 'step' | 'currency' | 'unit' | 'label' | 'value' | 'name' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
122
+ 'impakt-range-input': ImpaktElementProps<ImpaktRangeInput, 'lowest' | 'highest' | 'step' | 'currency' | 'unit' | 'label' | 'value' | 'name' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'required-text', {
123
123
  'onimpakt-change': CustomEvent<{
124
124
  value: string;
125
125
  }>;
@@ -128,12 +128,12 @@ export interface ImpaktIntrinsicElements {
128
128
  'impakt-row': ImpaktElementProps<ImpaktRow, 'heading' | 'meta' | 'href' | 'divided' | 'muted' | 'selected', never, {}>;
129
129
  'impakt-score-bars': ImpaktElementProps<ImpaktScoreBars, 'label' | 'items' | 'max', never, {}>;
130
130
  'impakt-section': ImpaktElementProps<ImpaktSection, 'tone' | 'padding' | 'width' | 'bleed' | 'pattern' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
131
- 'impakt-segmented-control': ImpaktElementProps<ImpaktSegmentedControl, 'options' | 'hideLabel' | 'full' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'hide-label' | 'required-text', {
131
+ 'impakt-segmented-control': ImpaktElementProps<ImpaktSegmentedControl, 'options' | 'hideLabel' | 'full' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'hide-label' | 'required-text', {
132
132
  'onimpakt-change': CustomEvent<{
133
133
  value: string;
134
134
  }>;
135
135
  }>;
136
- 'impakt-select': ImpaktElementProps<ImpaktSelect, 'options' | 'hideLabel' | 'placeholder' | 'width' | 'size' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'hide-label' | 'required-text', {
136
+ 'impakt-select': ImpaktElementProps<ImpaktSelect, 'options' | 'hideLabel' | 'placeholder' | 'width' | 'size' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'hide-label' | 'required-text', {
137
137
  'onimpakt-change': CustomEvent<{
138
138
  value: string;
139
139
  }>;
@@ -144,7 +144,7 @@ export interface ImpaktIntrinsicElements {
144
144
  id: string;
145
145
  }>;
146
146
  }>;
147
- 'impakt-slot-picker': ImpaktElementProps<ImpaktSlotPicker, 'days' | 'dayLabel' | 'timeLabel' | 'emptyText' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'day-label' | 'time-label' | 'empty-text' | 'required-text', {
147
+ 'impakt-slot-picker': ImpaktElementProps<ImpaktSlotPicker, 'days' | 'dayLabel' | 'timeLabel' | 'emptyText' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'day-label' | 'time-label' | 'empty-text' | 'required-text', {
148
148
  'onimpakt-change': CustomEvent<{
149
149
  value: string;
150
150
  }>;
@@ -160,7 +160,7 @@ export interface ImpaktIntrinsicElements {
160
160
  'impakt-stat-tile': ImpaktElementProps<ImpaktStatTile, 'label' | 'value' | 'caption' | 'href' | 'tone' | 'size' | 'status' | 'statusTone', 'status-tone', {}>;
161
161
  'impakt-status': ImpaktElementProps<ImpaktStatus, 'tone' | 'label' | 'size' | 'live', never, {}>;
162
162
  'impakt-summary-list': ImpaktElementProps<ImpaktSummaryList, 'rows' | 'changeText', 'change-text', {}>;
163
- 'impakt-switch': ImpaktElementProps<ImpaktSwitch, 'checked' | 'hideLabel' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'hide-label' | 'required-text', {
163
+ 'impakt-switch': ImpaktElementProps<ImpaktSwitch, 'checked' | 'hideLabel' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'hide-label' | 'required-text', {
164
164
  'onimpakt-change': CustomEvent<{
165
165
  value: string;
166
166
  checked: boolean;
@@ -192,12 +192,12 @@ export interface ImpaktIntrinsicElements {
192
192
  }>;
193
193
  'impakt-task-list': ImpaktElementProps<ImpaktTaskList, 'heading' | 'items' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
194
194
  'impakt-text': ImpaktElementProps<ImpaktText, 'size' | 'tone' | 'align' | 'look', never, {}>;
195
- 'impakt-text-input': ImpaktElementProps<ImpaktTextInput, 'type' | 'hideLabel' | 'placeholder' | 'autocomplete' | 'inputmode' | 'maxlength' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'hide-label' | 'required-text', {
195
+ 'impakt-text-input': ImpaktElementProps<ImpaktTextInput, 'type' | 'hideLabel' | 'placeholder' | 'autocomplete' | 'inputmode' | 'maxlength' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'hide-label' | 'required-text', {
196
196
  'onimpakt-change': CustomEvent<{
197
197
  value: string;
198
198
  }>;
199
199
  }>;
200
- 'impakt-textarea': ImpaktElementProps<ImpaktTextarea, 'rows' | 'maxlength' | 'fillFrom' | 'placeholder' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'fill-from' | 'required-text', {
200
+ 'impakt-textarea': ImpaktElementProps<ImpaktTextarea, 'rows' | 'maxlength' | 'fillFrom' | 'placeholder' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText' | 'look', 'fill-from' | 'required-text', {
201
201
  'onimpakt-change': CustomEvent<{
202
202
  value: string;
203
203
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomic-ui/ui-react",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "description": "React bindings for @atomic-ui/ui and @atomic-ui/blocks: a typed component for every element, typed events, and JSX types for the tags themselves.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,11 +26,11 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@lit/react": "^1.0.8",
29
- "@atomic-ui/ui": "^0.13.1"
29
+ "@atomic-ui/ui": "^0.14.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^18.3.0 || ^19.0.0",
33
- "@atomic-ui/blocks": "^0.13.1"
33
+ "@atomic-ui/blocks": "^0.14.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/react": "^19.0.0",
@@ -40,7 +40,7 @@
40
40
  "react-dom": "^19.0.0",
41
41
  "typescript": "^5.5.0",
42
42
  "vitest": "^2.0.0",
43
- "@atomic-ui/blocks": "^0.13.1"
43
+ "@atomic-ui/blocks": "^0.14.0"
44
44
  },
45
45
  "files": [
46
46
  "dist",