@atomic-ui/ui-react 0.1.7 → 0.3.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/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * React bindings for `@impkt/ui`.\n *\n * ## Why a wrapper exists at all\n *\n * React 18 sets everything it does not recognise as an HTML *attribute*, which\n * means a prop holding an array or an object arrives at a custom element as\n * the string `[object Object]`. `impkt-radio-group`'s options are an array, so\n * without this the component that most needs structured data is the one that\n * cannot receive it. React 19 fixed that, and the wrapper stays regardless for\n * the second reason: custom events. `@lit/react` maps `impkt-change` onto an\n * `onUinChange` prop with a type, rather than leaving every consumer to reach\n * for a ref and `addEventListener`.\n *\n * ## Why these are written out rather than generated\n *\n * Generation needs a machine-readable description of each component, and that\n * is the Custom Elements Manifest the CMS palette will also be built from\n * (phase 2 of [the plan](../../../docs/SITE-BUILDER.md)). Until that pipeline\n * exists, generating from nothing would mean inventing a second source of\n * truth about the components. Eleven explicit calls are cheap, and they get\n * replaced wholesale when the manifest arrives.\n */\nimport * as React from 'react';\nimport { createComponent, type EventName } from '@lit/react';\nimport {\n ImpktButton,\n ImpktTextInput,\n ImpktSelect,\n ImpktCheckbox,\n ImpktRadioGroup,\n ImpktAlert,\n ImpktStack,\n ImpktCard,\n ImpktHeading,\n ImpktText,\n ImpktGrid,\n ImpktHelp,\n} from '@impkt/ui';\n\n/** What a control reports when its value changes. */\nexport type ImpktChangeEvent = CustomEvent<{ value: string }>;\n\nconst changeEvents = { onChange: 'impkt-change' as EventName<ImpktChangeEvent> };\n\nexport const Button = createComponent({\n react: React,\n tagName: 'impkt-button',\n elementClass: ImpktButton,\n events: { onClick: 'click' as EventName<MouseEvent> },\n});\n\nexport const TextInput = createComponent({\n react: React,\n tagName: 'impkt-text-input',\n elementClass: ImpktTextInput,\n events: changeEvents,\n});\n\nexport const Select = createComponent({\n react: React,\n tagName: 'impkt-select',\n elementClass: ImpktSelect,\n events: changeEvents,\n});\n\nexport const Checkbox = createComponent({\n react: React,\n tagName: 'impkt-checkbox',\n elementClass: ImpktCheckbox,\n events: changeEvents,\n});\n\nexport const RadioGroup = createComponent({\n react: React,\n tagName: 'impkt-radio-group',\n elementClass: ImpktRadioGroup,\n events: changeEvents,\n});\n\nexport const Alert = createComponent({ react: React, tagName: 'impkt-alert', elementClass: ImpktAlert });\nexport const Stack = createComponent({ react: React, tagName: 'impkt-stack', elementClass: ImpktStack });\nexport const Card = createComponent({ react: React, tagName: 'impkt-card', elementClass: ImpktCard });\nexport const Heading = createComponent({ react: React, tagName: 'impkt-heading', elementClass: ImpktHeading });\nexport const Text = createComponent({ react: React, tagName: 'impkt-text', elementClass: ImpktText });\n\nexport type { RadioOption, SelectOption, AlertTone, HelpKind } from '@impkt/ui';\n\nexport const Grid = createComponent({ react: React, tagName: 'impkt-grid', elementClass: ImpktGrid });\n\nexport const Help = createComponent({ react: React, tagName: 'impkt-help', elementClass: ImpktHelp });\n"],"mappings":";AAuBA,YAAY,WAAW;AACvB,SAAS,uBAAuC;AAChD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAKP,IAAM,eAAe,EAAE,UAAU,eAA8C;AAExE,IAAM,SAAS,gBAAgB;AAAA,EACpC,OAAO;AAAA,EACP,SAAS;AAAA,EACT,cAAc;AAAA,EACd,QAAQ,EAAE,SAAS,QAAiC;AACtD,CAAC;AAEM,IAAM,YAAY,gBAAgB;AAAA,EACvC,OAAO;AAAA,EACP,SAAS;AAAA,EACT,cAAc;AAAA,EACd,QAAQ;AACV,CAAC;AAEM,IAAM,SAAS,gBAAgB;AAAA,EACpC,OAAO;AAAA,EACP,SAAS;AAAA,EACT,cAAc;AAAA,EACd,QAAQ;AACV,CAAC;AAEM,IAAM,WAAW,gBAAgB;AAAA,EACtC,OAAO;AAAA,EACP,SAAS;AAAA,EACT,cAAc;AAAA,EACd,QAAQ;AACV,CAAC;AAEM,IAAM,aAAa,gBAAgB;AAAA,EACxC,OAAO;AAAA,EACP,SAAS;AAAA,EACT,cAAc;AAAA,EACd,QAAQ;AACV,CAAC;AAEM,IAAM,QAAQ,gBAAgB,EAAE,OAAO,OAAO,SAAS,eAAe,cAAc,WAAW,CAAC;AAChG,IAAM,QAAQ,gBAAgB,EAAE,OAAO,OAAO,SAAS,eAAe,cAAc,WAAW,CAAC;AAChG,IAAM,OAAO,gBAAgB,EAAE,OAAO,OAAO,SAAS,cAAc,cAAc,UAAU,CAAC;AAC7F,IAAM,UAAU,gBAAgB,EAAE,OAAO,OAAO,SAAS,iBAAiB,cAAc,aAAa,CAAC;AACtG,IAAM,OAAO,gBAAgB,EAAE,OAAO,OAAO,SAAS,cAAc,cAAc,UAAU,CAAC;AAI7F,IAAM,OAAO,gBAAgB,EAAE,OAAO,OAAO,SAAS,cAAc,cAAc,UAAU,CAAC;AAE7F,IAAM,OAAO,gBAAgB,EAAE,OAAO,OAAO,SAAS,cAAc,cAAc,UAAU,CAAC;","names":[]}
1
+ {"version":3,"sources":["../src/components.ts"],"sourcesContent":["// Generated by scripts/generate.mjs from @atomic-ui/ui's custom-elements.json. Do not edit: build the package again.\n\nimport * as React from 'react';\nimport { createComponent, type EventName } from '@lit/react';\nimport {\n ImpktAccordion,\n ImpktAddressLookup,\n ImpktAffordabilityCalculator,\n ImpktAlert,\n ImpktAnnouncement,\n ImpktAvatar,\n ImpktAvatarGroup,\n ImpktBadge,\n ImpktBeforeAfter,\n ImpktBranchList,\n ImpktBranchTimeline,\n ImpktBreadcrumbs,\n ImpktButton,\n ImpktCard,\n ImpktCardGrid,\n ImpktCarousel,\n ImpktCheckList,\n ImpktCheckbox,\n ImpktCheckboxGroup,\n ImpktChip,\n ImpktContactBlock,\n ImpktCtaBanner,\n ImpktDateInput,\n ImpktDialog,\n ImpktDivider,\n ImpktDocumentLink,\n ImpktDrawer,\n ImpktEmptyState,\n ImpktErrorSummary,\n ImpktEstimator,\n ImpktFeatureList,\n ImpktFieldset,\n ImpktFileUpload,\n ImpktGallery,\n ImpktGrid,\n ImpktHeading,\n ImpktHelp,\n ImpktHero,\n ImpktIcon,\n ImpktImage,\n ImpktLink,\n ImpktList,\n ImpktLocationCard,\n ImpktLogo,\n ImpktLogoCloud,\n ImpktMediaSplit,\n ImpktMenu,\n ImpktMoneyInput,\n ImpktMortgageCalculator,\n ImpktNav,\n ImpktNewsletter,\n ImpktPage,\n ImpktPagination,\n ImpktPlanComparison,\n ImpktPrice,\n ImpktProgress,\n ImpktQuote,\n ImpktRadioGroup,\n ImpktRangeInput,\n ImpktRegulatoryNotice,\n ImpktReleaseCard,\n ImpktReleaseList,\n ImpktReviews,\n ImpktScene,\n ImpktScrubber,\n ImpktSearchBar,\n ImpktSection,\n ImpktSelect,\n ImpktSiteFooter,\n ImpktSiteHeader,\n ImpktSitePlan,\n ImpktSlotPicker,\n ImpktSpacer,\n ImpktStack,\n ImpktStampDutyCalculator,\n ImpktStat,\n ImpktSteps,\n ImpktStickyBar,\n ImpktSummaryList,\n ImpktTable,\n ImpktTabs,\n ImpktTaskList,\n ImpktText,\n ImpktTextInput,\n ImpktTextarea,\n ImpktToast,\n ImpktVideo,\n ImpktVisuallyHidden,\n ImpktWordmark,\n} from '@atomic-ui/ui';\nimport type { EstimateResult, PlanItem, SitePlot, SortDirection } from '@atomic-ui/ui';\n\n/** `<impkt-accordion>` */\nexport const Accordion = createComponent({\n react: React,\n tagName: 'impkt-accordion',\n elementClass: ImpktAccordion,\n});\n\n/** `<impkt-address-lookup>` */\nexport const AddressLookup = createComponent({\n react: React,\n tagName: 'impkt-address-lookup',\n elementClass: ImpktAddressLookup,\n events: {\n onLookup: 'impkt-lookup' as EventName<CustomEvent<{ postcode: string }>>,\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-affordability-calculator>` */\nexport const AffordabilityCalculator = createComponent({\n react: React,\n tagName: 'impkt-affordability-calculator',\n elementClass: ImpktAffordabilityCalculator,\n});\n\n/** `<impkt-alert>` */\nexport const Alert = createComponent({\n react: React,\n tagName: 'impkt-alert',\n elementClass: ImpktAlert,\n});\n\n/** `<impkt-announcement>` */\nexport const Announcement = createComponent({\n react: React,\n tagName: 'impkt-announcement',\n elementClass: ImpktAnnouncement,\n});\n\n/** `<impkt-avatar>` */\nexport const Avatar = createComponent({\n react: React,\n tagName: 'impkt-avatar',\n elementClass: ImpktAvatar,\n});\n\n/** `<impkt-avatar-group>` */\nexport const AvatarGroup = createComponent({\n react: React,\n tagName: 'impkt-avatar-group',\n elementClass: ImpktAvatarGroup,\n});\n\n/** `<impkt-badge>` */\nexport const Badge = createComponent({\n react: React,\n tagName: 'impkt-badge',\n elementClass: ImpktBadge,\n});\n\n/** `<impkt-before-after>` */\nexport const BeforeAfter = createComponent({\n react: React,\n tagName: 'impkt-before-after',\n elementClass: ImpktBeforeAfter,\n});\n\n/** `<impkt-branch-list>` */\nexport const BranchList = createComponent({\n react: React,\n tagName: 'impkt-branch-list',\n elementClass: ImpktBranchList,\n});\n\n/** `<impkt-branch-timeline>` */\nexport const BranchTimeline = createComponent({\n react: React,\n tagName: 'impkt-branch-timeline',\n elementClass: ImpktBranchTimeline,\n});\n\n/** `<impkt-breadcrumbs>` */\nexport const Breadcrumbs = createComponent({\n react: React,\n tagName: 'impkt-breadcrumbs',\n elementClass: ImpktBreadcrumbs,\n});\n\n/** `<impkt-button>` */\nexport const Button = createComponent({\n react: React,\n tagName: 'impkt-button',\n elementClass: ImpktButton,\n events: {\n onClick: 'click' as EventName<MouseEvent>,\n },\n});\n\n/** `<impkt-card>` */\nexport const Card = createComponent({\n react: React,\n tagName: 'impkt-card',\n elementClass: ImpktCard,\n});\n\n/** `<impkt-card-grid>` */\nexport const CardGrid = createComponent({\n react: React,\n tagName: 'impkt-card-grid',\n elementClass: ImpktCardGrid,\n});\n\n/** `<impkt-carousel>` */\nexport const Carousel = createComponent({\n react: React,\n tagName: 'impkt-carousel',\n elementClass: ImpktCarousel,\n});\n\n/** `<impkt-check-list>` */\nexport const CheckList = createComponent({\n react: React,\n tagName: 'impkt-check-list',\n elementClass: ImpktCheckList,\n});\n\n/** `<impkt-checkbox>` */\nexport const Checkbox = createComponent({\n react: React,\n tagName: 'impkt-checkbox',\n elementClass: ImpktCheckbox,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-checkbox-group>` */\nexport const CheckboxGroup = createComponent({\n react: React,\n tagName: 'impkt-checkbox-group',\n elementClass: ImpktCheckboxGroup,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-chip>` */\nexport const Chip = createComponent({\n react: React,\n tagName: 'impkt-chip',\n elementClass: ImpktChip,\n});\n\n/** `<impkt-contact-block>` */\nexport const ContactBlock = createComponent({\n react: React,\n tagName: 'impkt-contact-block',\n elementClass: ImpktContactBlock,\n events: {\n onSubmit: 'impkt-submit' as EventName<CustomEvent<{ name: string; phone: string; when: string }>>,\n },\n});\n\n/** `<impkt-cta-banner>` */\nexport const CtaBanner = createComponent({\n react: React,\n tagName: 'impkt-cta-banner',\n elementClass: ImpktCtaBanner,\n});\n\n/** `<impkt-date-input>` */\nexport const DateInput = createComponent({\n react: React,\n tagName: 'impkt-date-input',\n elementClass: ImpktDateInput,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-dialog>` */\nexport const Dialog = createComponent({\n react: React,\n tagName: 'impkt-dialog',\n elementClass: ImpktDialog,\n events: {\n onClose: 'impkt-close' as EventName<CustomEvent<null>>,\n },\n});\n\n/** `<impkt-divider>` */\nexport const Divider = createComponent({\n react: React,\n tagName: 'impkt-divider',\n elementClass: ImpktDivider,\n});\n\n/** `<impkt-document-link>` */\nexport const DocumentLink = createComponent({\n react: React,\n tagName: 'impkt-document-link',\n elementClass: ImpktDocumentLink,\n});\n\n/** `<impkt-drawer>` */\nexport const Drawer = createComponent({\n react: React,\n tagName: 'impkt-drawer',\n elementClass: ImpktDrawer,\n events: {\n onClose: 'impkt-close' as EventName<CustomEvent<null>>,\n },\n});\n\n/** `<impkt-empty-state>` */\nexport const EmptyState = createComponent({\n react: React,\n tagName: 'impkt-empty-state',\n elementClass: ImpktEmptyState,\n});\n\n/** `<impkt-error-summary>` */\nexport const ErrorSummary = createComponent({\n react: React,\n tagName: 'impkt-error-summary',\n elementClass: ImpktErrorSummary,\n});\n\n/** `<impkt-estimator>` */\nexport const Estimator = createComponent({\n react: React,\n tagName: 'impkt-estimator',\n elementClass: ImpktEstimator,\n events: {\n onEstimate: 'impkt-estimate' as EventName<CustomEvent<EstimateResult>>,\n },\n});\n\n/** `<impkt-feature-list>` */\nexport const FeatureList = createComponent({\n react: React,\n tagName: 'impkt-feature-list',\n elementClass: ImpktFeatureList,\n});\n\n/** `<impkt-fieldset>` */\nexport const Fieldset = createComponent({\n react: React,\n tagName: 'impkt-fieldset',\n elementClass: ImpktFieldset,\n});\n\n/** `<impkt-file-upload>` */\nexport const FileUpload = createComponent({\n react: React,\n tagName: 'impkt-file-upload',\n elementClass: ImpktFileUpload,\n events: {\n onFiles: 'impkt-files' as EventName<CustomEvent<{ files: File[] }>>,\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-gallery>` */\nexport const Gallery = createComponent({\n react: React,\n tagName: 'impkt-gallery',\n elementClass: ImpktGallery,\n});\n\n/** `<impkt-grid>` */\nexport const Grid = createComponent({\n react: React,\n tagName: 'impkt-grid',\n elementClass: ImpktGrid,\n});\n\n/** `<impkt-heading>` */\nexport const Heading = createComponent({\n react: React,\n tagName: 'impkt-heading',\n elementClass: ImpktHeading,\n});\n\n/** `<impkt-help>` */\nexport const Help = createComponent({\n react: React,\n tagName: 'impkt-help',\n elementClass: ImpktHelp,\n});\n\n/** `<impkt-hero>` */\nexport const Hero = createComponent({\n react: React,\n tagName: 'impkt-hero',\n elementClass: ImpktHero,\n});\n\n/** `<impkt-icon>` */\nexport const Icon = createComponent({\n react: React,\n tagName: 'impkt-icon',\n elementClass: ImpktIcon,\n});\n\n/** `<impkt-image>` */\nexport const Image = createComponent({\n react: React,\n tagName: 'impkt-image',\n elementClass: ImpktImage,\n});\n\n/** `<impkt-link>` */\nexport const Link = createComponent({\n react: React,\n tagName: 'impkt-link',\n elementClass: ImpktLink,\n});\n\n/** `<impkt-list>` */\nexport const List = createComponent({\n react: React,\n tagName: 'impkt-list',\n elementClass: ImpktList,\n});\n\n/** `<impkt-location-card>` */\nexport const LocationCard = createComponent({\n react: React,\n tagName: 'impkt-location-card',\n elementClass: ImpktLocationCard,\n});\n\n/** `<impkt-logo>` */\nexport const Logo = createComponent({\n react: React,\n tagName: 'impkt-logo',\n elementClass: ImpktLogo,\n});\n\n/** `<impkt-logo-cloud>` */\nexport const LogoCloud = createComponent({\n react: React,\n tagName: 'impkt-logo-cloud',\n elementClass: ImpktLogoCloud,\n});\n\n/** `<impkt-media-split>` */\nexport const MediaSplit = createComponent({\n react: React,\n tagName: 'impkt-media-split',\n elementClass: ImpktMediaSplit,\n});\n\n/** `<impkt-menu>` */\nexport const Menu = createComponent({\n react: React,\n tagName: 'impkt-menu',\n elementClass: ImpktMenu,\n events: {\n onSelect: 'impkt-select' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-money-input>` */\nexport const MoneyInput = createComponent({\n react: React,\n tagName: 'impkt-money-input',\n elementClass: ImpktMoneyInput,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-mortgage-calculator>` */\nexport const MortgageCalculator = createComponent({\n react: React,\n tagName: 'impkt-mortgage-calculator',\n elementClass: ImpktMortgageCalculator,\n});\n\n/** `<impkt-nav>` */\nexport const Nav = createComponent({\n react: React,\n tagName: 'impkt-nav',\n elementClass: ImpktNav,\n});\n\n/** `<impkt-newsletter>` */\nexport const Newsletter = createComponent({\n react: React,\n tagName: 'impkt-newsletter',\n elementClass: ImpktNewsletter,\n events: {\n onSubmit: 'impkt-submit' as EventName<CustomEvent<{ email: string }>>,\n },\n});\n\n/** `<impkt-page>` */\nexport const Page = createComponent({\n react: React,\n tagName: 'impkt-page',\n elementClass: ImpktPage,\n});\n\n/** `<impkt-pagination>` */\nexport const Pagination = createComponent({\n react: React,\n tagName: 'impkt-pagination',\n elementClass: ImpktPagination,\n events: {\n onPage: 'impkt-page' as EventName<CustomEvent<{ page: number }>>,\n },\n});\n\n/** `<impkt-plan-comparison>` */\nexport const PlanComparison = createComponent({\n react: React,\n tagName: 'impkt-plan-comparison',\n elementClass: ImpktPlanComparison,\n events: {\n onSelect: 'impkt-select' as EventName<CustomEvent<{ plan: PlanItem }>>,\n },\n});\n\n/** `<impkt-price>` */\nexport const Price = createComponent({\n react: React,\n tagName: 'impkt-price',\n elementClass: ImpktPrice,\n});\n\n/** `<impkt-progress>` */\nexport const Progress = createComponent({\n react: React,\n tagName: 'impkt-progress',\n elementClass: ImpktProgress,\n});\n\n/** `<impkt-quote>` */\nexport const Quote = createComponent({\n react: React,\n tagName: 'impkt-quote',\n elementClass: ImpktQuote,\n});\n\n/** `<impkt-radio-group>` */\nexport const RadioGroup = createComponent({\n react: React,\n tagName: 'impkt-radio-group',\n elementClass: ImpktRadioGroup,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-range-input>` */\nexport const RangeInput = createComponent({\n react: React,\n tagName: 'impkt-range-input',\n elementClass: ImpktRangeInput,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-regulatory-notice>` */\nexport const RegulatoryNotice = createComponent({\n react: React,\n tagName: 'impkt-regulatory-notice',\n elementClass: ImpktRegulatoryNotice,\n});\n\n/** `<impkt-release-card>` */\nexport const ReleaseCard = createComponent({\n react: React,\n tagName: 'impkt-release-card',\n elementClass: ImpktReleaseCard,\n});\n\n/** `<impkt-release-list>` */\nexport const ReleaseList = createComponent({\n react: React,\n tagName: 'impkt-release-list',\n elementClass: ImpktReleaseList,\n});\n\n/** `<impkt-reviews>` */\nexport const Reviews = createComponent({\n react: React,\n tagName: 'impkt-reviews',\n elementClass: ImpktReviews,\n});\n\n/** `<impkt-scene>` */\nexport const Scene = createComponent({\n react: React,\n tagName: 'impkt-scene',\n elementClass: ImpktScene,\n events: {\n onSceneProgress: 'impkt-scene-progress' as EventName<CustomEvent<{ progress: number }>>,\n },\n});\n\n/** `<impkt-scrubber>` */\nexport const Scrubber = createComponent({\n react: React,\n tagName: 'impkt-scrubber',\n elementClass: ImpktScrubber,\n});\n\n/** `<impkt-search-bar>` */\nexport const SearchBar = createComponent({\n react: React,\n tagName: 'impkt-search-bar',\n elementClass: ImpktSearchBar,\n events: {\n onSubmit: 'impkt-submit' as EventName<CustomEvent<{ values: Record<string, string> }>>,\n },\n});\n\n/** `<impkt-section>` */\nexport const Section = createComponent({\n react: React,\n tagName: 'impkt-section',\n elementClass: ImpktSection,\n});\n\n/** `<impkt-select>` */\nexport const Select = createComponent({\n react: React,\n tagName: 'impkt-select',\n elementClass: ImpktSelect,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-site-footer>` */\nexport const SiteFooter = createComponent({\n react: React,\n tagName: 'impkt-site-footer',\n elementClass: ImpktSiteFooter,\n});\n\n/** `<impkt-site-header>` */\nexport const SiteHeader = createComponent({\n react: React,\n tagName: 'impkt-site-header',\n elementClass: ImpktSiteHeader,\n events: {\n onAction: 'impkt-action' as EventName<CustomEvent<null>>,\n },\n});\n\n/** `<impkt-site-plan>` */\nexport const SitePlan = createComponent({\n react: React,\n tagName: 'impkt-site-plan',\n elementClass: ImpktSitePlan,\n events: {\n onSelect: 'impkt-select' as EventName<CustomEvent<{ plot: SitePlot }>>,\n },\n});\n\n/** `<impkt-slot-picker>` */\nexport const SlotPicker = createComponent({\n react: React,\n tagName: 'impkt-slot-picker',\n elementClass: ImpktSlotPicker,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-spacer>` */\nexport const Spacer = createComponent({\n react: React,\n tagName: 'impkt-spacer',\n elementClass: ImpktSpacer,\n});\n\n/** `<impkt-stack>` */\nexport const Stack = createComponent({\n react: React,\n tagName: 'impkt-stack',\n elementClass: ImpktStack,\n});\n\n/** `<impkt-stamp-duty-calculator>` */\nexport const StampDutyCalculator = createComponent({\n react: React,\n tagName: 'impkt-stamp-duty-calculator',\n elementClass: ImpktStampDutyCalculator,\n});\n\n/** `<impkt-stat>` */\nexport const Stat = createComponent({\n react: React,\n tagName: 'impkt-stat',\n elementClass: ImpktStat,\n});\n\n/** `<impkt-steps>` */\nexport const Steps = createComponent({\n react: React,\n tagName: 'impkt-steps',\n elementClass: ImpktSteps,\n});\n\n/** `<impkt-sticky-bar>` */\nexport const StickyBar = createComponent({\n react: React,\n tagName: 'impkt-sticky-bar',\n elementClass: ImpktStickyBar,\n});\n\n/** `<impkt-summary-list>` */\nexport const SummaryList = createComponent({\n react: React,\n tagName: 'impkt-summary-list',\n elementClass: ImpktSummaryList,\n});\n\n/** `<impkt-table>` */\nexport const Table = createComponent({\n react: React,\n tagName: 'impkt-table',\n elementClass: ImpktTable,\n events: {\n onSort: 'impkt-sort' as EventName<CustomEvent<{ key: string; direction: SortDirection }>>,\n onSelection: 'impkt-selection' as EventName<CustomEvent<{ selected: string[] }>>,\n },\n});\n\n/** `<impkt-tabs>` */\nexport const Tabs = createComponent({\n react: React,\n tagName: 'impkt-tabs',\n elementClass: ImpktTabs,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-task-list>` */\nexport const TaskList = createComponent({\n react: React,\n tagName: 'impkt-task-list',\n elementClass: ImpktTaskList,\n});\n\n/** `<impkt-text>` */\nexport const Text = createComponent({\n react: React,\n tagName: 'impkt-text',\n elementClass: ImpktText,\n});\n\n/** `<impkt-text-input>` */\nexport const TextInput = createComponent({\n react: React,\n tagName: 'impkt-text-input',\n elementClass: ImpktTextInput,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-textarea>` */\nexport const Textarea = createComponent({\n react: React,\n tagName: 'impkt-textarea',\n elementClass: ImpktTextarea,\n events: {\n onChange: 'impkt-change' as EventName<CustomEvent<{ value: string }>>,\n },\n});\n\n/** `<impkt-toast>` */\nexport const Toast = createComponent({\n react: React,\n tagName: 'impkt-toast',\n elementClass: ImpktToast,\n events: {\n onClose: 'impkt-close' as EventName<CustomEvent<null>>,\n onAction: 'impkt-action' as EventName<CustomEvent<null>>,\n },\n});\n\n/** `<impkt-video>` */\nexport const Video = createComponent({\n react: React,\n tagName: 'impkt-video',\n elementClass: ImpktVideo,\n});\n\n/** `<impkt-visually-hidden>` */\nexport const VisuallyHidden = createComponent({\n react: React,\n tagName: 'impkt-visually-hidden',\n elementClass: ImpktVisuallyHidden,\n});\n\n/** `<impkt-wordmark>` */\nexport const Wordmark = createComponent({\n react: React,\n tagName: 'impkt-wordmark',\n elementClass: ImpktWordmark,\n});\n"],"mappings":";;;;AAEA,YAAY,WAAW;AACvB,SAAS,uBAAuC;AAChD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,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,IAAM,iBAAiB,gBAAgB;AAAA,EAC5C,OAAO;AAAA,EACP,SAAS;AAAA,EACT,cAAc;AAChB,CAAC;AAGM,IAAM,WAAW,gBAAgB;AAAA,EACtC,OAAO;AAAA,EACP,SAAS;AAAA,EACT,cAAc;AAChB,CAAC;","names":[]}
package/dist/jsx.d.ts ADDED
@@ -0,0 +1,228 @@
1
+ import type * as React from 'react';
2
+ import type { ImpktAccordion, ImpktAddressLookup, ImpktAffordabilityCalculator, ImpktAlert, ImpktAnnouncement, ImpktAvatar, ImpktAvatarGroup, ImpktBadge, ImpktBeforeAfter, ImpktBranchList, ImpktBranchTimeline, ImpktBreadcrumbs, ImpktButton, ImpktCard, ImpktCardGrid, ImpktCarousel, ImpktCheckList, ImpktCheckbox, ImpktCheckboxGroup, ImpktChip, ImpktContactBlock, ImpktCtaBanner, ImpktDateInput, ImpktDialog, ImpktDivider, ImpktDocumentLink, ImpktDrawer, ImpktEmptyState, ImpktErrorSummary, ImpktEstimator, ImpktFeatureList, ImpktFieldset, ImpktFileUpload, ImpktGallery, ImpktGrid, ImpktHeading, ImpktHelp, ImpktHero, ImpktIcon, ImpktImage, ImpktLink, ImpktList, ImpktLocationCard, ImpktLogo, ImpktLogoCloud, ImpktMediaSplit, ImpktMenu, ImpktMoneyInput, ImpktMortgageCalculator, ImpktNav, ImpktNewsletter, ImpktPage, ImpktPagination, ImpktPlanComparison, ImpktPrice, ImpktProgress, ImpktQuote, ImpktRadioGroup, ImpktRangeInput, ImpktRegulatoryNotice, ImpktReleaseCard, ImpktReleaseList, ImpktReviews, ImpktScene, ImpktScrubber, ImpktSearchBar, ImpktSection, ImpktSelect, ImpktSiteFooter, ImpktSiteHeader, ImpktSitePlan, ImpktSlotPicker, ImpktSpacer, ImpktStack, ImpktStampDutyCalculator, ImpktStat, ImpktSteps, ImpktStickyBar, ImpktSummaryList, ImpktTable, ImpktTabs, ImpktTaskList, ImpktText, ImpktTextInput, ImpktTextarea, ImpktToast, ImpktVideo, ImpktVisuallyHidden, ImpktWordmark } from '@atomic-ui/ui';
3
+ import type { EstimateResult, PlanItem, SitePlot, SortDirection } from '@atomic-ui/ui';
4
+ /**
5
+ * The props of a custom element written as a tag in JSX: the standard HTML props,
6
+ * the element's own properties, which React 19 sets as properties, its attributes
7
+ * by their HTML names, and its events as `on` plus the event's own name.
8
+ */
9
+ export type ImpktElementProps<E, Props extends keyof E, Attributes extends string, Events> = Omit<React.HTMLAttributes<E>, Props | Attributes | keyof Events> & React.RefAttributes<E> & {
10
+ key?: React.Key | null;
11
+ class?: string;
12
+ slot?: string;
13
+ } & {
14
+ [P in Props]?: E[P];
15
+ } & {
16
+ [A in Attributes]?: string | number | boolean;
17
+ } & {
18
+ [N in keyof Events]?: (event: Events[N]) => void;
19
+ };
20
+ /** Every element, by tag. */
21
+ export interface ImpktIntrinsicElements {
22
+ 'impkt-accordion': ImpktElementProps<ImpktAccordion, 'items' | 'headingLevel' | 'open' | 'multiple', 'heading-level', {}>;
23
+ 'impkt-address-lookup': ImpktElementProps<ImpktAddressLookup, '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', {
24
+ 'onimpkt-lookup': CustomEvent<{
25
+ postcode: string;
26
+ }>;
27
+ 'onimpkt-change': CustomEvent<{
28
+ value: string;
29
+ }>;
30
+ }>;
31
+ 'impkt-affordability-calculator': ImpktElementProps<ImpktAffordabilityCalculator, 'heading' | 'income' | 'secondIncome' | 'deposit' | 'timesIncome' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'second-income' | 'times-income' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
32
+ 'impkt-alert': ImpktElementProps<ImpktAlert, 'tone' | 'heading' | 'toneLabel', 'tone-label', {}>;
33
+ 'impkt-announcement': ImpktElementProps<ImpktAnnouncement, 'message' | 'linkText' | 'href', 'link-text', {}>;
34
+ 'impkt-avatar': ImpktElementProps<ImpktAvatar, 'fullName' | 'src' | 'size', 'full-name', {}>;
35
+ 'impkt-avatar-group': ImpktElementProps<ImpktAvatarGroup, 'items' | 'max' | 'size' | 'moreLabel', 'more-label', {}>;
36
+ 'impkt-badge': ImpktElementProps<ImpktBadge, 'tone' | 'icon', never, {}>;
37
+ 'impkt-before-after': ImpktElementProps<ImpktBeforeAfter, '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', {}>;
38
+ 'impkt-branch-list': ImpktElementProps<ImpktBranchList, 'items' | 'trunk' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
39
+ 'impkt-branch-timeline': ImpktElementProps<ImpktBranchTimeline, 'lanes' | 'marks' | 'span' | 'unit' | 'every' | 'release' | 'releaseAt' | 'label' | 'spaceAbove' | 'spaceBelow', 'release-at' | 'space-above' | 'space-below', {}>;
40
+ 'impkt-breadcrumbs': ImpktElementProps<ImpktBreadcrumbs, 'items' | 'label', never, {}>;
41
+ 'impkt-button': ImpktElementProps<ImpktButton, 'hideOn' | 'variant' | 'type' | 'disabled' | 'busy' | 'busyLabel' | 'full' | 'fullOnPhone' | 'size' | 'iconBefore' | 'iconAfter' | 'href', 'hide-on' | 'busy-label' | 'full-on-phone' | 'icon-before' | 'icon-after', {}>;
42
+ 'impkt-card': ImpktElementProps<ImpktCard, 'tone' | 'padding' | 'imageSrc' | 'imageAlt' | 'badge' | 'ratio' | 'raised' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'space-above' | 'space-below', {}>;
43
+ 'impkt-card-grid': ImpktElementProps<ImpktCardGrid, 'items' | 'columns' | 'headingLevel' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
44
+ 'impkt-carousel': ImpktElementProps<ImpktCarousel, 'label' | 'perView' | 'arrows' | 'autoplay' | 'seconds' | 'spaceAbove' | 'spaceBelow', 'per-view' | 'space-above' | 'space-below', {}>;
45
+ 'impkt-check-list': ImpktElementProps<ImpktCheckList, 'items' | 'summary' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
46
+ 'impkt-checkbox': ImpktElementProps<ImpktCheckbox, 'checked' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
47
+ 'onimpkt-change': CustomEvent<{
48
+ value: string;
49
+ }>;
50
+ }>;
51
+ 'impkt-checkbox-group': ImpktElementProps<ImpktCheckboxGroup, 'options' | 'values' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
52
+ 'onimpkt-change': CustomEvent<{
53
+ value: string;
54
+ }>;
55
+ }>;
56
+ 'impkt-chip': ImpktElementProps<ImpktChip, 'label' | 'meta' | 'icon' | 'tone' | 'look' | 'hideOn', 'hide-on', {}>;
57
+ 'impkt-contact-block': ImpktElementProps<ImpktContactBlock, 'heading' | 'phone' | 'hours' | 'email' | 'callbackHeading' | 'buttonText' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'callback-heading' | 'button-text' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', {
58
+ 'onimpkt-submit': CustomEvent<{
59
+ name: string;
60
+ phone: string;
61
+ when: string;
62
+ }>;
63
+ }>;
64
+ 'impkt-cta-banner': ImpktElementProps<ImpktCtaBanner, 'heading' | 'lead' | 'tone' | 'align' | 'imageSrc' | 'imageAlt' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'heading-level' | 'space-above' | 'space-below', {}>;
65
+ 'impkt-date-input': ImpktElementProps<ImpktDateInput, 'day' | 'month' | 'year' | 'autocompleteSection' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'autocomplete-section' | 'required-text', {
66
+ 'onimpkt-change': CustomEvent<{
67
+ value: string;
68
+ }>;
69
+ }>;
70
+ 'impkt-dialog': ImpktElementProps<ImpktDialog, 'open' | 'heading' | 'closeLabel' | 'dismissible' | 'phoneFullScreen', 'close-label' | 'phone-full-screen', {
71
+ 'onimpkt-close': CustomEvent<null>;
72
+ }>;
73
+ 'impkt-divider': ImpktElementProps<ImpktDivider, 'spacing' | 'tone', never, {}>;
74
+ 'impkt-document-link': ImpktElementProps<ImpktDocumentLink, 'href' | 'label' | 'fileType' | 'byteSize', 'file-type' | 'byte-size', {}>;
75
+ 'impkt-drawer': ImpktElementProps<ImpktDrawer, 'open' | 'heading' | 'side' | 'closeLabel', 'close-label', {
76
+ 'onimpkt-close': CustomEvent<null>;
77
+ }>;
78
+ 'impkt-empty-state': ImpktElementProps<ImpktEmptyState, 'icon' | 'heading' | 'lead' | 'framed' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
79
+ 'impkt-error-summary': ImpktElementProps<ImpktErrorSummary, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
80
+ 'impkt-estimator': ImpktElementProps<ImpktEstimator, 'questions' | 'teams' | 'ways' | 'phases' | 'low' | 'high' | 'minWeeks' | 'currency' | 'unit' | 'intro' | 'budgetLabel' | 'resultHeading' | 'teamText' | 'teamTextOne' | 'note' | 'contactHref' | 'sendLabel' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'min-weeks' | 'budget-label' | 'result-heading' | 'team-text' | 'team-text-one' | 'contact-href' | 'send-label' | 'heading-level' | 'space-above' | 'space-below', {
81
+ 'onimpkt-estimate': CustomEvent<EstimateResult>;
82
+ }>;
83
+ 'impkt-feature-list': ImpktElementProps<ImpktFeatureList, 'items' | 'columns' | 'headingLevel' | 'layout' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
84
+ 'impkt-fieldset': ImpktElementProps<ImpktFieldset, 'legend' | 'description' | 'error' | 'size', never, {}>;
85
+ 'impkt-file-upload': ImpktElementProps<ImpktFileUpload, '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', {
86
+ 'onimpkt-files': CustomEvent<{
87
+ files: File[];
88
+ }>;
89
+ 'onimpkt-change': CustomEvent<{
90
+ value: string;
91
+ }>;
92
+ }>;
93
+ 'impkt-gallery': ImpktElementProps<ImpktGallery, 'items' | 'layout' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
94
+ 'impkt-grid': ImpktElementProps<ImpktGrid, 'columns' | 'widths' | 'gap' | 'stackOn' | 'align' | 'spaceAbove' | 'spaceBelow', 'stack-on' | 'space-above' | 'space-below', {}>;
95
+ 'impkt-heading': ImpktElementProps<ImpktHeading, 'level' | 'size' | 'eyebrow' | 'align' | 'screenReaderOnly', 'screen-reader-only', {}>;
96
+ 'impkt-help': ImpktElementProps<ImpktHelp, 'mechanismId' | 'kind' | 'href' | 'label' | 'detail', 'mechanism-id', {}>;
97
+ 'impkt-hero': ImpktElementProps<ImpktHero, 'eyebrow' | 'heading' | 'lead' | 'level' | 'imageSrc' | 'imageAlt' | 'treatment' | 'ratingText' | 'eyebrowIcon' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'rating-text' | 'eyebrow-icon' | 'space-above' | 'space-below', {}>;
98
+ 'impkt-icon': ImpktElementProps<ImpktIcon, 'name' | 'label' | 'size' | 'tone', never, {}>;
99
+ 'impkt-image': ImpktElementProps<ImpktImage, 'hideOn' | 'src' | 'alt' | 'decorative' | 'width' | 'height' | 'focalX' | 'focalY' | 'loading' | 'ratio' | 'rounded', 'hide-on' | 'focal-x' | 'focal-y', {}>;
100
+ 'impkt-link': ImpktElementProps<ImpktLink, 'href' | 'external' | 'externalText' | 'variant' | 'icon', 'external-text', {}>;
101
+ 'impkt-list': ImpktElementProps<ImpktList, 'items' | 'look' | 'size' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
102
+ 'impkt-location-card': ImpktElementProps<ImpktLocationCard, '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', {}>;
103
+ 'impkt-logo': ImpktElementProps<ImpktLogo, 'src' | 'srcDark' | 'alt' | 'onDark' | 'height', 'src-dark' | 'on-dark', {}>;
104
+ 'impkt-logo-cloud': ImpktElementProps<ImpktLogoCloud, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
105
+ 'impkt-media-split': ImpktElementProps<ImpktMediaSplit, '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', {}>;
106
+ 'impkt-menu': ImpktElementProps<ImpktMenu, 'label' | 'icon' | 'items' | 'edge' | 'open', never, {
107
+ 'onimpkt-select': CustomEvent<{
108
+ value: string;
109
+ }>;
110
+ }>;
111
+ 'impkt-money-input': ImpktElementProps<ImpktMoneyInput, 'currency' | 'lowest' | 'highest' | 'pence' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
112
+ 'onimpkt-change': CustomEvent<{
113
+ value: string;
114
+ }>;
115
+ }>;
116
+ 'impkt-mortgage-calculator': ImpktElementProps<ImpktMortgageCalculator, 'heading' | 'price' | 'depositPercent' | 'rate' | 'years' | 'currency' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'deposit-percent' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
117
+ 'impkt-nav': ImpktElementProps<ImpktNav, 'links' | 'label' | 'menuText' | 'menuLook' | 'size' | 'align', 'menu-text' | 'menu-look', {}>;
118
+ 'impkt-newsletter': ImpktElementProps<ImpktNewsletter, 'heading' | 'lead' | 'label' | 'buttonText' | 'smallPrint' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'small-print' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', {
119
+ 'onimpkt-submit': CustomEvent<{
120
+ email: string;
121
+ }>;
122
+ }>;
123
+ 'impkt-page': ImpktElementProps<ImpktPage, 'width' | 'stickyHeader' | 'skipText', 'sticky-header' | 'skip-text', {}>;
124
+ 'impkt-pagination': ImpktElementProps<ImpktPagination, 'page' | 'pages' | 'hrefPattern' | 'label' | 'previousText' | 'nextText', 'href-pattern' | 'previous-text' | 'next-text', {
125
+ 'onimpkt-page': CustomEvent<{
126
+ page: number;
127
+ }>;
128
+ }>;
129
+ 'impkt-plan-comparison': ImpktElementProps<ImpktPlanComparison, 'heading' | 'plans' | 'rows' | 'buttonText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'heading-level' | 'space-above' | 'space-below', {
130
+ 'onimpkt-select': CustomEvent<{
131
+ plan: PlanItem;
132
+ }>;
133
+ }>;
134
+ 'impkt-price': ImpktElementProps<ImpktPrice, 'amount' | 'currency' | 'locale' | 'prefix' | 'period' | 'size' | 'pending', never, {}>;
135
+ 'impkt-progress': ImpktElementProps<ImpktProgress, 'steps' | 'current' | 'label', never, {}>;
136
+ 'impkt-quote': ImpktElementProps<ImpktQuote, 'quote' | 'person' | 'about' | 'imageSrc' | 'size' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'space-above' | 'space-below', {}>;
137
+ 'impkt-radio-group': ImpktElementProps<ImpktRadioGroup, 'options' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
138
+ 'onimpkt-change': CustomEvent<{
139
+ value: string;
140
+ }>;
141
+ }>;
142
+ 'impkt-range-input': ImpktElementProps<ImpktRangeInput, 'lowest' | 'highest' | 'step' | 'currency' | 'unit' | 'label' | 'value' | 'name' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
143
+ 'onimpkt-change': CustomEvent<{
144
+ value: string;
145
+ }>;
146
+ }>;
147
+ 'impkt-regulatory-notice': ImpktElementProps<ImpktRegulatoryNotice, 'kind' | 'heading' | 'text' | 'firm' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
148
+ 'impkt-release-card': ImpktElementProps<ImpktReleaseCard, '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', {}>;
149
+ 'impkt-release-list': ImpktElementProps<ImpktReleaseList, 'items' | 'columns' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
150
+ 'impkt-reviews': ImpktElementProps<ImpktReviews, 'summary' | 'rating' | 'items' | 'columns' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
151
+ 'impkt-scene': ImpktElementProps<ImpktScene, 'drive' | 'layout' | 'length' | 'duration' | 'label' | 'progress' | 'controls' | 'bleed' | 'hideOn', 'hide-on', {
152
+ 'onimpkt-scene-progress': CustomEvent<{
153
+ progress: number;
154
+ }>;
155
+ }>;
156
+ 'impkt-scrubber': ImpktElementProps<ImpktScrubber, 'label' | 'stops' | 'look' | 'hint' | 'value', never, {}>;
157
+ 'impkt-search-bar': ImpktElementProps<ImpktSearchBar, 'items' | 'buttonText' | 'action' | 'label' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'space-above' | 'space-below', {
158
+ 'onimpkt-submit': CustomEvent<{
159
+ values: Record<string, string>;
160
+ }>;
161
+ }>;
162
+ 'impkt-section': ImpktElementProps<ImpktSection, 'tone' | 'padding' | 'width' | 'bleed' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
163
+ 'impkt-select': ImpktElementProps<ImpktSelect, 'options' | 'placeholder' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
164
+ 'onimpkt-change': CustomEvent<{
165
+ value: string;
166
+ }>;
167
+ }>;
168
+ 'impkt-site-footer': ImpktElementProps<ImpktSiteFooter, 'brand' | 'log' | 'columns' | 'columnsOnPhone' | 'legal' | 'stripe' | 'headingLevel', 'columns-on-phone' | 'heading-level', {}>;
169
+ 'impkt-site-header': ImpktElementProps<ImpktSiteHeader, 'brand' | 'logoSrc' | 'logoAlt' | 'home' | 'badge' | 'meta' | 'links' | 'label' | 'menuText' | 'status' | 'statusMeta' | 'statusTone' | 'actionText' | 'actionHref', 'logo-src' | 'logo-alt' | 'menu-text' | 'status-meta' | 'status-tone' | 'action-text' | 'action-href', {
170
+ 'onimpkt-action': CustomEvent<null>;
171
+ }>;
172
+ 'impkt-site-plan': ImpktElementProps<ImpktSitePlan, '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', {
173
+ 'onimpkt-select': CustomEvent<{
174
+ plot: SitePlot;
175
+ }>;
176
+ }>;
177
+ 'impkt-slot-picker': ImpktElementProps<ImpktSlotPicker, 'days' | 'dayLabel' | 'timeLabel' | 'emptyText' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'day-label' | 'time-label' | 'empty-text' | 'required-text', {
178
+ 'onimpkt-change': CustomEvent<{
179
+ value: string;
180
+ }>;
181
+ }>;
182
+ 'impkt-spacer': ImpktElementProps<ImpktSpacer, 'size', never, {}>;
183
+ 'impkt-stack': ImpktElementProps<ImpktStack, 'gap' | 'align' | 'direction' | 'justify' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
184
+ 'impkt-stamp-duty-calculator': ImpktElementProps<ImpktStampDutyCalculator, 'heading' | 'price' | 'buyer' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
185
+ 'impkt-stat': ImpktElementProps<ImpktStat, 'size' | 'figure' | 'label' | 'note' | 'align', never, {}>;
186
+ 'impkt-steps': ImpktElementProps<ImpktSteps, 'items' | 'orientation' | 'look' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
187
+ 'impkt-sticky-bar': ImpktElementProps<ImpktStickyBar, 'label' | 'heading' | 'lead' | 'showOn' | 'revealAfter', 'show-on' | 'reveal-after', {}>;
188
+ 'impkt-summary-list': ImpktElementProps<ImpktSummaryList, 'rows' | 'changeText', 'change-text', {}>;
189
+ 'impkt-table': ImpktElementProps<ImpktTable, 'caption' | 'columns' | 'rows' | 'sortKey' | 'sortDirection' | 'manualSort' | 'selectable' | 'selected' | 'rowKey' | 'stack' | 'emptyText' | 'selectAllText' | 'selectRowText', 'sort-key' | 'sort-direction' | 'manual-sort' | 'row-key' | 'empty-text' | 'select-all-text' | 'select-row-text', {
190
+ 'onimpkt-sort': CustomEvent<{
191
+ key: string;
192
+ direction: SortDirection;
193
+ }>;
194
+ 'onimpkt-selection': CustomEvent<{
195
+ selected: string[];
196
+ }>;
197
+ }>;
198
+ 'impkt-tabs': ImpktElementProps<ImpktTabs, 'items' | 'selected' | 'label' | 'twoRows', 'two-rows', {
199
+ 'onimpkt-change': CustomEvent<{
200
+ value: string;
201
+ }>;
202
+ }>;
203
+ 'impkt-task-list': ImpktElementProps<ImpktTaskList, 'heading' | 'items' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
204
+ 'impkt-text': ImpktElementProps<ImpktText, 'size' | 'tone' | 'align' | 'look', never, {}>;
205
+ 'impkt-text-input': ImpktElementProps<ImpktTextInput, 'type' | 'placeholder' | 'autocomplete' | 'inputmode' | 'maxlength' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', {
206
+ 'onimpkt-change': CustomEvent<{
207
+ value: string;
208
+ }>;
209
+ }>;
210
+ 'impkt-textarea': ImpktElementProps<ImpktTextarea, 'rows' | 'maxlength' | 'fillFrom' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'fill-from' | 'required-text', {
211
+ 'onimpkt-change': CustomEvent<{
212
+ value: string;
213
+ }>;
214
+ }>;
215
+ 'impkt-toast': ImpktElementProps<ImpktToast, 'open' | 'message' | 'tone' | 'duration' | 'actionText' | 'closeLabel', 'action-text' | 'close-label', {
216
+ 'onimpkt-close': CustomEvent<null>;
217
+ 'onimpkt-action': CustomEvent<null>;
218
+ }>;
219
+ 'impkt-video': ImpktElementProps<ImpktVideo, 'videoSrc' | 'label' | 'posterSrc' | 'captionsSrc' | 'transcriptHref' | 'playText' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'video-src' | 'poster-src' | 'captions-src' | 'transcript-href' | 'play-text' | 'space-above' | 'space-below', {}>;
220
+ 'impkt-visually-hidden': ImpktElementProps<ImpktVisuallyHidden, never, never, {}>;
221
+ 'impkt-wordmark': ImpktElementProps<ImpktWordmark, 'text' | 'src' | 'alt' | 'href' | 'size' | 'hideOn', 'hide-on', {}>;
222
+ }
223
+ declare module 'react' {
224
+ namespace JSX {
225
+ interface IntrinsicElements extends ImpktIntrinsicElements {
226
+ }
227
+ }
228
+ }
package/dist/jsx.js ADDED
@@ -0,0 +1,2 @@
1
+ import "./chunk-NSAHEL6V.js";
2
+ //# sourceMappingURL=jsx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@atomic-ui/ui-react",
3
- "version": "0.1.7",
4
- "description": "React bindings for @atomic-ui/ui: typed props, typed events, and the attribute handling React 18 does not do for custom elements.",
3
+ "version": "0.3.0",
4
+ "description": "React bindings for @atomic-ui/ui: a typed component for every element, typed events, and JSX types for the tags themselves.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/matthill8286/impkt-design-system.git",
8
+ "directory": "packages/ui-react"
9
+ },
5
10
  "type": "module",
6
11
  "main": "./dist/index.js",
7
12
  "types": "./dist/index.d.ts",
@@ -9,30 +14,40 @@
9
14
  ".": {
10
15
  "types": "./dist/index.d.ts",
11
16
  "import": "./dist/index.js"
17
+ },
18
+ "./jsx": {
19
+ "types": "./dist/jsx.d.ts",
20
+ "import": "./dist/jsx.js"
12
21
  }
13
22
  },
14
23
  "dependencies": {
15
24
  "@lit/react": "^1.0.8",
16
- "@atomic-ui/ui": "0.1.7"
25
+ "@atomic-ui/ui": "^0.3.0"
17
26
  },
18
27
  "peerDependencies": {
19
28
  "react": "^18.3.0 || ^19.0.0"
20
29
  },
21
30
  "devDependencies": {
22
- "@types/react": "^18.3.0",
23
- "react": "^18.3.0",
24
- "typescript": "^5.5.0"
31
+ "@types/react": "^19.0.0",
32
+ "@types/react-dom": "^19.0.0",
33
+ "happy-dom": "^21.0.4",
34
+ "react": "^19.0.0",
35
+ "react-dom": "^19.0.0",
36
+ "typescript": "^5.5.0",
37
+ "vitest": "^2.0.0"
25
38
  },
26
39
  "files": [
27
40
  "dist",
28
41
  "README.md"
29
42
  ],
30
43
  "publishConfig": {
44
+ "registry": "https://registry.npmjs.org",
31
45
  "access": "public"
32
46
  },
33
47
  "scripts": {
34
- "build": "tsc -p tsconfig.json",
35
- "typecheck": "tsc -p tsconfig.json",
36
- "test": "echo \"(covered by @impkt/ui; wrappers are generated shape, not behaviour)\""
48
+ "generate": "node scripts/generate.mjs",
49
+ "build": "node scripts/generate.mjs && tsc -p tsconfig.json",
50
+ "typecheck": "node scripts/generate.mjs --check && tsc -p tsconfig.json",
51
+ "test": "vitest run"
37
52
  }
38
- }
53
+ }