@atomic-ui/ui-vue 0.2.0 → 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/README.md +33 -6
- package/dist/components.d.ts +791 -0
- package/dist/index.d.ts +15 -178
- package/dist/index.js +257 -27
- package/dist/index.js.map +1 -1
- package/dist/wrap.d.ts +32 -0
- package/package.json +9 -6
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * Vue bindings for `@atomic-ui/ui`.\n *\n * ## What Vue needs, and what it does not\n *\n * Vue 3 renders unknown tags as custom elements once the compiler is told to\n * leave them alone, and it is better at this than React was: given a render\n * function, the `.` prefix binds a value as a DOM **property** rather than an\n * attribute, so an array of options arrives as an array.\n *\n * So the wrapper is thin on purpose. Its job is to spare every consumer from\n * remembering the `.` and from typing `@impkt-change` by hand, and to give\n * editors real prop types. It is not a reimplementation, and it adds no\n * behaviour — a Vue app that would rather write `<impkt-text-input>` directly\n * can, and only needs the build config below.\n *\n * ## One piece of configuration the wrapper cannot do for you\n *\n * In `vite.config.ts`:\n *\n * ```ts\n * vue({ template: { compilerOptions: { isCustomElement: (tag) => tag.startsWith('impkt-') } } })\n * ```\n *\n * Without it Vue warns about an unresolved component on every element, and\n * binds everything as attributes — which is the array problem again.\n */\nimport { defineComponent, h, type PropType, type SlotsType, type VNode } from 'vue';\nimport '@atomic-ui/ui';\nimport type { RadioOption, SelectOption, CheckboxOption, SummaryRow, TableColumn, AccordionItem, ProgressStep, HelpKind } from '@atomic-ui/ui';\n\n/** What a control reports when its value changes. */\nexport type ImpktChangeEvent = CustomEvent<{ value: string }>;\n\ntype Props = Record<string, unknown>;\n\n/**\n * Build a Vue component around one element.\n *\n * `domProps` names the props that must be bound as properties rather than\n * attributes — anything that is not a string or a boolean. Everything else\n * goes through as an attribute, which is what a custom element expects and\n * what keeps the rendered markup readable.\n */\nfunction wrap(tag: string, domProps: string[] = [], events: Record<string, string> = {}) {\n return defineComponent({\n name: tag.replace(/(^|-)(\\w)/g, (_, __, c: string) => c.toUpperCase()),\n inheritAttrs: false,\n slots: Object as SlotsType<{ default?: () => VNode[] }>,\n setup(_, { attrs, slots, emit }) {\n return () => {\n const bound: Props = {};\n for (const [key, value] of Object.entries(attrs)) {\n bound[domProps.includes(key) ? `.${key}` : key] = value;\n }\n for (const [eventName, vueName] of Object.entries(events)) {\n bound[`on${eventName.replace(/(^|-)(\\w)/g, (_, __, c: string) => c.toUpperCase())}`] =\n (e: Event) => emit(vueName, e);\n }\n return h(tag, bound, slots.default?.());\n };\n },\n emits: Object.values(events),\n });\n}\n\nconst CHANGE = { 'impkt-change': 'change' };\n\nexport const ImpktButton = wrap('impkt-button');\nexport const ImpktLink = wrap('impkt-link');\nexport const ImpktAlert = wrap('impkt-alert');\nexport const ImpktStack = wrap('impkt-stack');\nexport const ImpktCard = wrap('impkt-card');\nexport const ImpktHeading = wrap('impkt-heading');\nexport const ImpktText = wrap('impkt-text');\nexport const ImpktImage = wrap('impkt-image');\nexport const ImpktLogo = wrap('impkt-logo');\nexport const ImpktDocumentLink = wrap('impkt-document-link');\nexport const ImpktPrice = wrap('impkt-price');\nexport const ImpktDialog = wrap('impkt-dialog', [], { 'impkt-close': 'close' });\n\nexport const ImpktTextInput = wrap('impkt-text-input', [], CHANGE);\nexport const ImpktTextarea = wrap('impkt-textarea', [], CHANGE);\nexport const ImpktCheckbox = wrap('impkt-checkbox', [], CHANGE);\nexport const ImpktSelect = wrap('impkt-select', ['options'], CHANGE);\nexport const ImpktRadioGroup = wrap('impkt-radio-group', ['options'], CHANGE);\nexport const ImpktCheckboxGroup = wrap('impkt-checkbox-group', ['options', 'values'], CHANGE);\nexport const ImpktDateInput = wrap('impkt-date-input', [], CHANGE);\n\nexport const ImpktSummaryList = wrap('impkt-summary-list', ['rows']);\nexport const ImpktTable = wrap('impkt-table', ['columns', 'rows']);\nexport const ImpktAccordion = wrap('impkt-accordion', ['items', 'open']);\nexport const ImpktProgress = wrap('impkt-progress', ['steps']);\n\nexport type {\n RadioOption, SelectOption, CheckboxOption, SummaryRow, TableColumn, AccordionItem, ProgressStep, HelpKind,\n PropType,\n};\n\nexport const ImpktGrid = wrap('impkt-grid');\n\n// Every help prop is a string, so none has to be bound as a DOM property. A\n// `kind` of phone or email builds its own link from `detail`, so `href` is\n// only passed for a link (see `HelpKind`).\nexport const ImpktHelp = wrap('impkt-help');\n"],"mappings":";AA2BA,SAAS,iBAAiB,SAAoD;AAC9E,OAAO;AAgBP,SAAS,KAAK,KAAa,WAAqB,CAAC,GAAG,SAAiC,CAAC,GAAG;AACvF,SAAO,gBAAgB;AAAA,IACrB,MAAM,IAAI,QAAQ,cAAc,CAAC,GAAG,IAAI,MAAc,EAAE,YAAY,CAAC;AAAA,IACrE,cAAc;AAAA,IACd,OAAO;AAAA,IACP,MAAM,GAAG,EAAE,OAAO,OAAO,KAAK,GAAG;AAC/B,aAAO,MAAM;AACX,cAAM,QAAe,CAAC;AACtB,mBAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,KAAK,GAAG;AAChD,gBAAM,SAAS,SAAS,GAAG,IAAI,IAAI,GAAG,KAAK,GAAG,IAAI;AAAA,QACpD;AACA,mBAAW,CAAC,WAAW,OAAO,KAAK,OAAO,QAAQ,MAAM,GAAG;AACzD,gBAAM,KAAK,UAAU,QAAQ,cAAc,CAACA,IAAG,IAAI,MAAc,EAAE,YAAY,CAAC,CAAC,EAAE,IACjF,CAAC,MAAa,KAAK,SAAS,CAAC;AAAA,QACjC;AACA,eAAO,EAAE,KAAK,OAAO,MAAM,UAAU,CAAC;AAAA,MACxC;AAAA,IACF;AAAA,IACA,OAAO,OAAO,OAAO,MAAM;AAAA,EAC7B,CAAC;AACH;AAEA,IAAM,SAAS,EAAE,gBAAgB,SAAS;AAEnC,IAAM,cAAc,KAAK,cAAc;AACvC,IAAM,YAAY,KAAK,YAAY;AACnC,IAAM,aAAa,KAAK,aAAa;AACrC,IAAM,aAAa,KAAK,aAAa;AACrC,IAAM,YAAY,KAAK,YAAY;AACnC,IAAM,eAAe,KAAK,eAAe;AACzC,IAAM,YAAY,KAAK,YAAY;AACnC,IAAM,aAAa,KAAK,aAAa;AACrC,IAAM,YAAY,KAAK,YAAY;AACnC,IAAM,oBAAoB,KAAK,qBAAqB;AACpD,IAAM,aAAa,KAAK,aAAa;AACrC,IAAM,cAAc,KAAK,gBAAgB,CAAC,GAAG,EAAE,eAAe,QAAQ,CAAC;AAEvE,IAAM,iBAAiB,KAAK,oBAAoB,CAAC,GAAG,MAAM;AAC1D,IAAM,gBAAgB,KAAK,kBAAkB,CAAC,GAAG,MAAM;AACvD,IAAM,gBAAgB,KAAK,kBAAkB,CAAC,GAAG,MAAM;AACvD,IAAM,cAAc,KAAK,gBAAgB,CAAC,SAAS,GAAG,MAAM;AAC5D,IAAM,kBAAkB,KAAK,qBAAqB,CAAC,SAAS,GAAG,MAAM;AACrE,IAAM,qBAAqB,KAAK,wBAAwB,CAAC,WAAW,QAAQ,GAAG,MAAM;AACrF,IAAM,iBAAiB,KAAK,oBAAoB,CAAC,GAAG,MAAM;AAE1D,IAAM,mBAAmB,KAAK,sBAAsB,CAAC,MAAM,CAAC;AAC5D,IAAM,aAAa,KAAK,eAAe,CAAC,WAAW,MAAM,CAAC;AAC1D,IAAM,iBAAiB,KAAK,mBAAmB,CAAC,SAAS,MAAM,CAAC;AAChE,IAAM,gBAAgB,KAAK,kBAAkB,CAAC,OAAO,CAAC;AAOtD,IAAM,YAAY,KAAK,YAAY;AAKnC,IAAM,YAAY,KAAK,YAAY;","names":["_"]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/wrap.ts","../src/components.ts"],"sourcesContent":["/**\n * Vue bindings for `@atomic-ui/ui`.\n *\n * ## What Vue needs, and what it does not\n *\n * Vue 3 renders unknown tags as custom elements once the compiler is told to\n * leave them alone, and it is better at this than React was: given a render\n * function, the `.` prefix binds a value as a DOM **property** rather than an\n * attribute, so an array of options arrives as an array.\n *\n * So the wrapper is thin on purpose. Its job is to spare every consumer from\n * remembering the `.` and from typing `@impkt-change` by hand, and to give\n * editors real prop types. It is not a reimplementation, and it adds no\n * behaviour — a Vue app that would rather write `<impkt-text-input>` directly\n * can, and only needs the build config below.\n *\n * ## Generated from the manifest\n *\n * Every element has a component, written by `scripts/generate.mjs` from the\n * Custom Elements Manifest that `@atomic-ui/ui` builds from its own source, so a\n * component cannot drift from its element. Each is named after the element's\n * class (`ImpktTextInput`), and each `impkt-` event is an emit without the\n * prefix (`impkt-change` is `@change`). The same file adds every component and\n * every bare tag to Vue's `GlobalComponents`, so a template is type-checked\n * whichever it uses, and `AtomicUI` registers them all with `app.use`.\n *\n * ## One piece of configuration the wrapper cannot do for you\n *\n * In `vite.config.ts`:\n *\n * ```ts\n * vue({ template: { compilerOptions: { isCustomElement: (tag) => tag.startsWith('impkt-') } } })\n * ```\n *\n * Without it Vue warns about an unresolved component on every element, and\n * binds everything as attributes — which is the array problem again.\n */\nimport type { PropType } from 'vue';\nimport '@atomic-ui/ui';\n\nexport * from './components';\nexport { wrap, type ImpktComponent } from './wrap';\n\n/** What a control reports when its value changes. */\nexport type ImpktChangeEvent = CustomEvent<{ value: string }>;\n\nexport type {\n RadioOption, SelectOption, CheckboxOption, SummaryRow, TableColumn, AccordionItem, ProgressStep, HelpKind,\n SortDirection, TabItem, TaskItem, ErrorItem, MenuItem, StepItem, AvatarItem, NavLink, CardItem,\n} from '@atomic-ui/ui';\nexport type { PropType };\n","import { defineComponent, h, type DefineSetupFnComponent, type SlotsType, type VNode } from 'vue';\n\ntype Props = Record<string, unknown>;\n\n/** The emits of a wrapper, from its events: `{ change: CustomEvent<…> }` gives a typed `@change`. */\ntype EmitsOf<Events> = { [K in keyof Events]: (event: Events[K]) => true };\n\n/**\n * A Vue component around one element, typed: its props are the element's own\n * properties, and attributes by their HTML names, and its events are typed emits.\n */\nexport type ImpktComponent<E, K extends keyof E, Attributes extends string, Events> = DefineSetupFnComponent<\n { [P in K]?: E[P] } & { [A in Attributes]?: string | number | boolean },\n EmitsOf<Events>,\n SlotsType<{ default?: () => VNode[] }>\n>;\n\n/**\n * Build a Vue component around one element.\n *\n * `domProps` names the props that must be bound as properties rather than\n * attributes — anything that is not a string, a number or a boolean. Everything\n * else goes through as an attribute, which is what a custom element expects and\n * what keeps the rendered markup readable.\n */\nexport function wrap(tag: string, domProps: string[] = [], events: Record<string, string> = {}) {\n return defineComponent({\n name: tag.replace(/(^|-)(\\w)/g, (_, __, c: string) => c.toUpperCase()),\n inheritAttrs: false,\n slots: Object as SlotsType<{ default?: () => VNode[] }>,\n setup(_, { attrs, slots, emit }) {\n return () => {\n const bound: Props = {};\n for (const [key, value] of Object.entries(attrs)) {\n bound[domProps.includes(key) ? `.${key}` : key] = value;\n }\n for (const [eventName, vueName] of Object.entries(events)) {\n bound[`on${eventName.replace(/(^|-)(\\w)/g, (_, __, c: string) => c.toUpperCase())}`] =\n (e: Event) => emit(vueName, e);\n }\n return h(tag, bound, slots.default?.());\n };\n },\n emits: Object.values(events),\n });\n}\n","// Generated by scripts/generate.mjs from @atomic-ui/ui's custom-elements.json. Do not edit: build the package again.\n\nimport type { App, Plugin } from 'vue';\nimport type {\n ImpktAccordion as ImpktAccordionElement,\n ImpktAddressLookup as ImpktAddressLookupElement,\n ImpktAffordabilityCalculator as ImpktAffordabilityCalculatorElement,\n ImpktAlert as ImpktAlertElement,\n ImpktAnnouncement as ImpktAnnouncementElement,\n ImpktAvatar as ImpktAvatarElement,\n ImpktAvatarGroup as ImpktAvatarGroupElement,\n ImpktBadge as ImpktBadgeElement,\n ImpktBeforeAfter as ImpktBeforeAfterElement,\n ImpktBranchList as ImpktBranchListElement,\n ImpktBranchTimeline as ImpktBranchTimelineElement,\n ImpktBreadcrumbs as ImpktBreadcrumbsElement,\n ImpktButton as ImpktButtonElement,\n ImpktCard as ImpktCardElement,\n ImpktCardGrid as ImpktCardGridElement,\n ImpktCarousel as ImpktCarouselElement,\n ImpktCheckList as ImpktCheckListElement,\n ImpktCheckbox as ImpktCheckboxElement,\n ImpktCheckboxGroup as ImpktCheckboxGroupElement,\n ImpktChip as ImpktChipElement,\n ImpktContactBlock as ImpktContactBlockElement,\n ImpktCtaBanner as ImpktCtaBannerElement,\n ImpktDateInput as ImpktDateInputElement,\n ImpktDialog as ImpktDialogElement,\n ImpktDivider as ImpktDividerElement,\n ImpktDocumentLink as ImpktDocumentLinkElement,\n ImpktDrawer as ImpktDrawerElement,\n ImpktEmptyState as ImpktEmptyStateElement,\n ImpktErrorSummary as ImpktErrorSummaryElement,\n ImpktEstimator as ImpktEstimatorElement,\n ImpktFeatureList as ImpktFeatureListElement,\n ImpktFieldset as ImpktFieldsetElement,\n ImpktFileUpload as ImpktFileUploadElement,\n ImpktGallery as ImpktGalleryElement,\n ImpktGrid as ImpktGridElement,\n ImpktHeading as ImpktHeadingElement,\n ImpktHelp as ImpktHelpElement,\n ImpktHero as ImpktHeroElement,\n ImpktIcon as ImpktIconElement,\n ImpktImage as ImpktImageElement,\n ImpktLink as ImpktLinkElement,\n ImpktList as ImpktListElement,\n ImpktLocationCard as ImpktLocationCardElement,\n ImpktLogo as ImpktLogoElement,\n ImpktLogoCloud as ImpktLogoCloudElement,\n ImpktMediaSplit as ImpktMediaSplitElement,\n ImpktMenu as ImpktMenuElement,\n ImpktMoneyInput as ImpktMoneyInputElement,\n ImpktMortgageCalculator as ImpktMortgageCalculatorElement,\n ImpktNav as ImpktNavElement,\n ImpktNewsletter as ImpktNewsletterElement,\n ImpktPage as ImpktPageElement,\n ImpktPagination as ImpktPaginationElement,\n ImpktPlanComparison as ImpktPlanComparisonElement,\n ImpktPrice as ImpktPriceElement,\n ImpktProgress as ImpktProgressElement,\n ImpktQuote as ImpktQuoteElement,\n ImpktRadioGroup as ImpktRadioGroupElement,\n ImpktRangeInput as ImpktRangeInputElement,\n ImpktRegulatoryNotice as ImpktRegulatoryNoticeElement,\n ImpktReleaseCard as ImpktReleaseCardElement,\n ImpktReleaseList as ImpktReleaseListElement,\n ImpktReviews as ImpktReviewsElement,\n ImpktScene as ImpktSceneElement,\n ImpktScrubber as ImpktScrubberElement,\n ImpktSearchBar as ImpktSearchBarElement,\n ImpktSection as ImpktSectionElement,\n ImpktSelect as ImpktSelectElement,\n ImpktSiteFooter as ImpktSiteFooterElement,\n ImpktSiteHeader as ImpktSiteHeaderElement,\n ImpktSitePlan as ImpktSitePlanElement,\n ImpktSlotPicker as ImpktSlotPickerElement,\n ImpktSpacer as ImpktSpacerElement,\n ImpktStack as ImpktStackElement,\n ImpktStampDutyCalculator as ImpktStampDutyCalculatorElement,\n ImpktStat as ImpktStatElement,\n ImpktSteps as ImpktStepsElement,\n ImpktStickyBar as ImpktStickyBarElement,\n ImpktSummaryList as ImpktSummaryListElement,\n ImpktTable as ImpktTableElement,\n ImpktTabs as ImpktTabsElement,\n ImpktTaskList as ImpktTaskListElement,\n ImpktText as ImpktTextElement,\n ImpktTextInput as ImpktTextInputElement,\n ImpktTextarea as ImpktTextareaElement,\n ImpktToast as ImpktToastElement,\n ImpktVideo as ImpktVideoElement,\n ImpktVisuallyHidden as ImpktVisuallyHiddenElement,\n ImpktWordmark as ImpktWordmarkElement,\n} from '@atomic-ui/ui';\nimport type { EstimateResult, PlanItem, SitePlot, SortDirection } from '@atomic-ui/ui';\nimport { wrap, type ImpktComponent } from './wrap';\n\n/** `<impkt-accordion>` */\nexport const ImpktAccordion = wrap('impkt-accordion', ['items', 'open'], {}) as unknown as ImpktComponent<ImpktAccordionElement, 'items' | 'headingLevel' | 'open' | 'multiple', 'heading-level', {}>;\n\n/** `<impkt-address-lookup>` */\nexport const ImpktAddressLookup = wrap('impkt-address-lookup', ['addresses'], { 'impkt-lookup': 'lookup', 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktAddressLookupElement, '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', { 'lookup': CustomEvent<{ postcode: string }>; 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-affordability-calculator>` */\nexport const ImpktAffordabilityCalculator = wrap('impkt-affordability-calculator', ['headingLevel', 'spaceAbove', 'spaceBelow'], {}) as unknown as ImpktComponent<ImpktAffordabilityCalculatorElement, 'heading' | 'income' | 'secondIncome' | 'deposit' | 'timesIncome' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'second-income' | 'times-income' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-alert>` */\nexport const ImpktAlert = wrap('impkt-alert', ['tone'], {}) as unknown as ImpktComponent<ImpktAlertElement, 'tone' | 'heading' | 'toneLabel', 'tone-label', {}>;\n\n/** `<impkt-announcement>` */\nexport const ImpktAnnouncement = wrap('impkt-announcement', [], {}) as unknown as ImpktComponent<ImpktAnnouncementElement, 'message' | 'linkText' | 'href', 'link-text', {}>;\n\n/** `<impkt-avatar>` */\nexport const ImpktAvatar = wrap('impkt-avatar', [], {}) as unknown as ImpktComponent<ImpktAvatarElement, 'fullName' | 'src' | 'size', 'full-name', {}>;\n\n/** `<impkt-avatar-group>` */\nexport const ImpktAvatarGroup = wrap('impkt-avatar-group', ['items'], {}) as unknown as ImpktComponent<ImpktAvatarGroupElement, 'items' | 'max' | 'size' | 'moreLabel', 'more-label', {}>;\n\n/** `<impkt-badge>` */\nexport const ImpktBadge = wrap('impkt-badge', [], {}) as unknown as ImpktComponent<ImpktBadgeElement, 'tone' | 'icon', never, {}>;\n\n/** `<impkt-before-after>` */\nexport const ImpktBeforeAfter = wrap('impkt-before-after', [], {}) as unknown as ImpktComponent<ImpktBeforeAfterElement, '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', {}>;\n\n/** `<impkt-branch-list>` */\nexport const ImpktBranchList = wrap('impkt-branch-list', ['items', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktBranchListElement, 'items' | 'trunk' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-branch-timeline>` */\nexport const ImpktBranchTimeline = wrap('impkt-branch-timeline', ['lanes', 'marks'], {}) as unknown as ImpktComponent<ImpktBranchTimelineElement, 'lanes' | 'marks' | 'span' | 'unit' | 'every' | 'release' | 'releaseAt' | 'label' | 'spaceAbove' | 'spaceBelow', 'release-at' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-breadcrumbs>` */\nexport const ImpktBreadcrumbs = wrap('impkt-breadcrumbs', ['items'], {}) as unknown as ImpktComponent<ImpktBreadcrumbsElement, 'items' | 'label', never, {}>;\n\n/** `<impkt-button>` */\nexport const ImpktButton = wrap('impkt-button', [], {}) as unknown as ImpktComponent<ImpktButtonElement, 'hideOn' | 'variant' | 'type' | 'disabled' | 'busy' | 'busyLabel' | 'full' | 'fullOnPhone' | 'size' | 'iconBefore' | 'iconAfter' | 'href', 'hide-on' | 'busy-label' | 'full-on-phone' | 'icon-before' | 'icon-after', {}>;\n\n/** `<impkt-card>` */\nexport const ImpktCard = wrap('impkt-card', [], {}) as unknown as ImpktComponent<ImpktCardElement, 'tone' | 'padding' | 'imageSrc' | 'imageAlt' | 'badge' | 'ratio' | 'raised' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-card-grid>` */\nexport const ImpktCardGrid = wrap('impkt-card-grid', ['items', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktCardGridElement, 'items' | 'columns' | 'headingLevel' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-carousel>` */\nexport const ImpktCarousel = wrap('impkt-carousel', [], {}) as unknown as ImpktComponent<ImpktCarouselElement, 'label' | 'perView' | 'arrows' | 'autoplay' | 'seconds' | 'spaceAbove' | 'spaceBelow', 'per-view' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-check-list>` */\nexport const ImpktCheckList = wrap('impkt-check-list', ['items'], {}) as unknown as ImpktComponent<ImpktCheckListElement, 'items' | 'summary' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-checkbox>` */\nexport const ImpktCheckbox = wrap('impkt-checkbox', [], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktCheckboxElement, 'checked' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-checkbox-group>` */\nexport const ImpktCheckboxGroup = wrap('impkt-checkbox-group', ['options', 'values'], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktCheckboxGroupElement, 'options' | 'values' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-chip>` */\nexport const ImpktChip = wrap('impkt-chip', ['tone'], {}) as unknown as ImpktComponent<ImpktChipElement, 'label' | 'meta' | 'icon' | 'tone' | 'look' | 'hideOn', 'hide-on', {}>;\n\n/** `<impkt-contact-block>` */\nexport const ImpktContactBlock = wrap('impkt-contact-block', ['headingLevel', 'spaceAbove', 'spaceBelow'], { 'impkt-submit': 'submit' }) as unknown as ImpktComponent<ImpktContactBlockElement, 'heading' | 'phone' | 'hours' | 'email' | 'callbackHeading' | 'buttonText' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'callback-heading' | 'button-text' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', { 'submit': CustomEvent<{ name: string; phone: string; when: string }> }>;\n\n/** `<impkt-cta-banner>` */\nexport const ImpktCtaBanner = wrap('impkt-cta-banner', ['headingLevel'], {}) as unknown as ImpktComponent<ImpktCtaBannerElement, 'heading' | 'lead' | 'tone' | 'align' | 'imageSrc' | 'imageAlt' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-date-input>` */\nexport const ImpktDateInput = wrap('impkt-date-input', [], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktDateInputElement, 'day' | 'month' | 'year' | 'autocompleteSection' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'autocomplete-section' | 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-dialog>` */\nexport const ImpktDialog = wrap('impkt-dialog', [], { 'impkt-close': 'close' }) as unknown as ImpktComponent<ImpktDialogElement, 'open' | 'heading' | 'closeLabel' | 'dismissible' | 'phoneFullScreen', 'close-label' | 'phone-full-screen', { 'close': CustomEvent<null> }>;\n\n/** `<impkt-divider>` */\nexport const ImpktDivider = wrap('impkt-divider', [], {}) as unknown as ImpktComponent<ImpktDividerElement, 'spacing' | 'tone', never, {}>;\n\n/** `<impkt-document-link>` */\nexport const ImpktDocumentLink = wrap('impkt-document-link', [], {}) as unknown as ImpktComponent<ImpktDocumentLinkElement, 'href' | 'label' | 'fileType' | 'byteSize', 'file-type' | 'byte-size', {}>;\n\n/** `<impkt-drawer>` */\nexport const ImpktDrawer = wrap('impkt-drawer', [], { 'impkt-close': 'close' }) as unknown as ImpktComponent<ImpktDrawerElement, 'open' | 'heading' | 'side' | 'closeLabel', 'close-label', { 'close': CustomEvent<null> }>;\n\n/** `<impkt-empty-state>` */\nexport const ImpktEmptyState = wrap('impkt-empty-state', ['headingLevel'], {}) as unknown as ImpktComponent<ImpktEmptyStateElement, 'icon' | 'heading' | 'lead' | 'framed' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-error-summary>` */\nexport const ImpktErrorSummary = wrap('impkt-error-summary', ['items'], {}) as unknown as ImpktComponent<ImpktErrorSummaryElement, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-estimator>` */\nexport const ImpktEstimator = wrap('impkt-estimator', ['questions', 'teams', 'ways', 'phases'], { 'impkt-estimate': 'estimate' }) as unknown as ImpktComponent<ImpktEstimatorElement, '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', { 'estimate': CustomEvent<EstimateResult> }>;\n\n/** `<impkt-feature-list>` */\nexport const ImpktFeatureList = wrap('impkt-feature-list', ['items', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktFeatureListElement, 'items' | 'columns' | 'headingLevel' | 'layout' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-fieldset>` */\nexport const ImpktFieldset = wrap('impkt-fieldset', [], {}) as unknown as ImpktComponent<ImpktFieldsetElement, 'legend' | 'description' | 'error' | 'size', never, {}>;\n\n/** `<impkt-file-upload>` */\nexport const ImpktFileUpload = wrap('impkt-file-upload', [], { 'impkt-files': 'files', 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktFileUploadElement, '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', { 'files': CustomEvent<{ files: File[] }>; 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-gallery>` */\nexport const ImpktGallery = wrap('impkt-gallery', ['items'], {}) as unknown as ImpktComponent<ImpktGalleryElement, 'items' | 'layout' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-grid>` */\nexport const ImpktGrid = wrap('impkt-grid', [], {}) as unknown as ImpktComponent<ImpktGridElement, 'columns' | 'widths' | 'gap' | 'stackOn' | 'align' | 'spaceAbove' | 'spaceBelow', 'stack-on' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-heading>` */\nexport const ImpktHeading = wrap('impkt-heading', ['level'], {}) as unknown as ImpktComponent<ImpktHeadingElement, 'level' | 'size' | 'eyebrow' | 'align' | 'screenReaderOnly', 'screen-reader-only', {}>;\n\n/** `<impkt-help>` */\nexport const ImpktHelp = wrap('impkt-help', [], {}) as unknown as ImpktComponent<ImpktHelpElement, 'mechanismId' | 'kind' | 'href' | 'label' | 'detail', 'mechanism-id', {}>;\n\n/** `<impkt-hero>` */\nexport const ImpktHero = wrap('impkt-hero', ['level'], {}) as unknown as ImpktComponent<ImpktHeroElement, 'eyebrow' | 'heading' | 'lead' | 'level' | 'imageSrc' | 'imageAlt' | 'treatment' | 'ratingText' | 'eyebrowIcon' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'rating-text' | 'eyebrow-icon' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-icon>` */\nexport const ImpktIcon = wrap('impkt-icon', [], {}) as unknown as ImpktComponent<ImpktIconElement, 'name' | 'label' | 'size' | 'tone', never, {}>;\n\n/** `<impkt-image>` */\nexport const ImpktImage = wrap('impkt-image', [], {}) as unknown as ImpktComponent<ImpktImageElement, 'hideOn' | 'src' | 'alt' | 'decorative' | 'width' | 'height' | 'focalX' | 'focalY' | 'loading' | 'ratio' | 'rounded', 'hide-on' | 'focal-x' | 'focal-y', {}>;\n\n/** `<impkt-link>` */\nexport const ImpktLink = wrap('impkt-link', [], {}) as unknown as ImpktComponent<ImpktLinkElement, 'href' | 'external' | 'externalText' | 'variant' | 'icon', 'external-text', {}>;\n\n/** `<impkt-list>` */\nexport const ImpktList = wrap('impkt-list', ['items'], {}) as unknown as ImpktComponent<ImpktListElement, 'items' | 'look' | 'size' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-location-card>` */\nexport const ImpktLocationCard = wrap('impkt-location-card', ['nearby', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktLocationCardElement, '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', {}>;\n\n/** `<impkt-logo>` */\nexport const ImpktLogo = wrap('impkt-logo', [], {}) as unknown as ImpktComponent<ImpktLogoElement, 'src' | 'srcDark' | 'alt' | 'onDark' | 'height', 'src-dark' | 'on-dark', {}>;\n\n/** `<impkt-logo-cloud>` */\nexport const ImpktLogoCloud = wrap('impkt-logo-cloud', ['items'], {}) as unknown as ImpktComponent<ImpktLogoCloudElement, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-media-split>` */\nexport const ImpktMediaSplit = wrap('impkt-media-split', ['points', 'level'], {}) as unknown as ImpktComponent<ImpktMediaSplitElement, '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', {}>;\n\n/** `<impkt-menu>` */\nexport const ImpktMenu = wrap('impkt-menu', ['items'], { 'impkt-select': 'select' }) as unknown as ImpktComponent<ImpktMenuElement, 'label' | 'icon' | 'items' | 'edge' | 'open', never, { 'select': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-money-input>` */\nexport const ImpktMoneyInput = wrap('impkt-money-input', [], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktMoneyInputElement, 'currency' | 'lowest' | 'highest' | 'pence' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-mortgage-calculator>` */\nexport const ImpktMortgageCalculator = wrap('impkt-mortgage-calculator', ['headingLevel'], {}) as unknown as ImpktComponent<ImpktMortgageCalculatorElement, 'heading' | 'price' | 'depositPercent' | 'rate' | 'years' | 'currency' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'deposit-percent' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-nav>` */\nexport const ImpktNav = wrap('impkt-nav', ['links'], {}) as unknown as ImpktComponent<ImpktNavElement, 'links' | 'label' | 'menuText' | 'menuLook' | 'size' | 'align', 'menu-text' | 'menu-look', {}>;\n\n/** `<impkt-newsletter>` */\nexport const ImpktNewsletter = wrap('impkt-newsletter', ['headingLevel'], { 'impkt-submit': 'submit' }) as unknown as ImpktComponent<ImpktNewsletterElement, 'heading' | 'lead' | 'label' | 'buttonText' | 'smallPrint' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'small-print' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', { 'submit': CustomEvent<{ email: string }> }>;\n\n/** `<impkt-page>` */\nexport const ImpktPage = wrap('impkt-page', [], {}) as unknown as ImpktComponent<ImpktPageElement, 'width' | 'stickyHeader' | 'skipText', 'sticky-header' | 'skip-text', {}>;\n\n/** `<impkt-pagination>` */\nexport const ImpktPagination = wrap('impkt-pagination', [], { 'impkt-page': 'page' }) as unknown as ImpktComponent<ImpktPaginationElement, 'page' | 'pages' | 'hrefPattern' | 'label' | 'previousText' | 'nextText', 'href-pattern' | 'previous-text' | 'next-text', { 'page': CustomEvent<{ page: number }> }>;\n\n/** `<impkt-plan-comparison>` */\nexport const ImpktPlanComparison = wrap('impkt-plan-comparison', ['plans', 'rows', 'headingLevel', 'spaceAbove', 'spaceBelow'], { 'impkt-select': 'select' }) as unknown as ImpktComponent<ImpktPlanComparisonElement, 'heading' | 'plans' | 'rows' | 'buttonText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'heading-level' | 'space-above' | 'space-below', { 'select': CustomEvent<{ plan: PlanItem }> }>;\n\n/** `<impkt-price>` */\nexport const ImpktPrice = wrap('impkt-price', [], {}) as unknown as ImpktComponent<ImpktPriceElement, 'amount' | 'currency' | 'locale' | 'prefix' | 'period' | 'size' | 'pending', never, {}>;\n\n/** `<impkt-progress>` */\nexport const ImpktProgress = wrap('impkt-progress', ['steps'], {}) as unknown as ImpktComponent<ImpktProgressElement, 'steps' | 'current' | 'label', never, {}>;\n\n/** `<impkt-quote>` */\nexport const ImpktQuote = wrap('impkt-quote', [], {}) as unknown as ImpktComponent<ImpktQuoteElement, 'quote' | 'person' | 'about' | 'imageSrc' | 'size' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-radio-group>` */\nexport const ImpktRadioGroup = wrap('impkt-radio-group', ['options'], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktRadioGroupElement, 'options' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-range-input>` */\nexport const ImpktRangeInput = wrap('impkt-range-input', [], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktRangeInputElement, 'lowest' | 'highest' | 'step' | 'currency' | 'unit' | 'label' | 'value' | 'name' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-regulatory-notice>` */\nexport const ImpktRegulatoryNotice = wrap('impkt-regulatory-notice', ['spaceAbove', 'spaceBelow'], {}) as unknown as ImpktComponent<ImpktRegulatoryNoticeElement, 'kind' | 'heading' | 'text' | 'firm' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-release-card>` */\nexport const ImpktReleaseCard = wrap('impkt-release-card', ['items', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktReleaseCardElement, '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', {}>;\n\n/** `<impkt-release-list>` */\nexport const ImpktReleaseList = wrap('impkt-release-list', ['items', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktReleaseListElement, 'items' | 'columns' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-reviews>` */\nexport const ImpktReviews = wrap('impkt-reviews', ['items'], {}) as unknown as ImpktComponent<ImpktReviewsElement, 'summary' | 'rating' | 'items' | 'columns' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-scene>` */\nexport const ImpktScene = wrap('impkt-scene', [], { 'impkt-scene-progress': 'scene-progress' }) as unknown as ImpktComponent<ImpktSceneElement, 'drive' | 'layout' | 'length' | 'duration' | 'label' | 'progress' | 'controls' | 'bleed' | 'hideOn', 'hide-on', { 'scene-progress': CustomEvent<{ progress: number }> }>;\n\n/** `<impkt-scrubber>` */\nexport const ImpktScrubber = wrap('impkt-scrubber', ['stops'], {}) as unknown as ImpktComponent<ImpktScrubberElement, 'label' | 'stops' | 'look' | 'hint' | 'value', never, {}>;\n\n/** `<impkt-search-bar>` */\nexport const ImpktSearchBar = wrap('impkt-search-bar', ['items'], { 'impkt-submit': 'submit' }) as unknown as ImpktComponent<ImpktSearchBarElement, 'items' | 'buttonText' | 'action' | 'label' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'space-above' | 'space-below', { 'submit': CustomEvent<{ values: Record<string, string> }> }>;\n\n/** `<impkt-section>` */\nexport const ImpktSection = wrap('impkt-section', [], {}) as unknown as ImpktComponent<ImpktSectionElement, 'tone' | 'padding' | 'width' | 'bleed' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-select>` */\nexport const ImpktSelect = wrap('impkt-select', ['options'], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktSelectElement, 'options' | 'placeholder' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-site-footer>` */\nexport const ImpktSiteFooter = wrap('impkt-site-footer', ['log', 'columns', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktSiteFooterElement, 'brand' | 'log' | 'columns' | 'columnsOnPhone' | 'legal' | 'stripe' | 'headingLevel', 'columns-on-phone' | 'heading-level', {}>;\n\n/** `<impkt-site-header>` */\nexport const ImpktSiteHeader = wrap('impkt-site-header', ['links', 'statusTone'], { 'impkt-action': 'action' }) as unknown as ImpktComponent<ImpktSiteHeaderElement, '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', { 'action': CustomEvent<null> }>;\n\n/** `<impkt-site-plan>` */\nexport const ImpktSitePlan = wrap('impkt-site-plan', ['plots'], { 'impkt-select': 'select' }) as unknown as ImpktComponent<ImpktSitePlanElement, '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', { 'select': CustomEvent<{ plot: SitePlot }> }>;\n\n/** `<impkt-slot-picker>` */\nexport const ImpktSlotPicker = wrap('impkt-slot-picker', ['days'], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktSlotPickerElement, 'days' | 'dayLabel' | 'timeLabel' | 'emptyText' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'day-label' | 'time-label' | 'empty-text' | 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-spacer>` */\nexport const ImpktSpacer = wrap('impkt-spacer', [], {}) as unknown as ImpktComponent<ImpktSpacerElement, 'size', never, {}>;\n\n/** `<impkt-stack>` */\nexport const ImpktStack = wrap('impkt-stack', [], {}) as unknown as ImpktComponent<ImpktStackElement, 'gap' | 'align' | 'direction' | 'justify' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n\n/** `<impkt-stamp-duty-calculator>` */\nexport const ImpktStampDutyCalculator = wrap('impkt-stamp-duty-calculator', ['headingLevel', 'spaceAbove', 'spaceBelow'], {}) as unknown as ImpktComponent<ImpktStampDutyCalculatorElement, 'heading' | 'price' | 'buyer' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-stat>` */\nexport const ImpktStat = wrap('impkt-stat', [], {}) as unknown as ImpktComponent<ImpktStatElement, 'size' | 'figure' | 'label' | 'note' | 'align', never, {}>;\n\n/** `<impkt-steps>` */\nexport const ImpktSteps = wrap('impkt-steps', ['items', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktStepsElement, 'items' | 'orientation' | 'look' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-sticky-bar>` */\nexport const ImpktStickyBar = wrap('impkt-sticky-bar', [], {}) as unknown as ImpktComponent<ImpktStickyBarElement, 'label' | 'heading' | 'lead' | 'showOn' | 'revealAfter', 'show-on' | 'reveal-after', {}>;\n\n/** `<impkt-summary-list>` */\nexport const ImpktSummaryList = wrap('impkt-summary-list', ['rows'], {}) as unknown as ImpktComponent<ImpktSummaryListElement, 'rows' | 'changeText', 'change-text', {}>;\n\n/** `<impkt-table>` */\nexport const ImpktTable = wrap('impkt-table', ['columns', 'rows', 'sortDirection', 'selected'], { 'impkt-sort': 'sort', 'impkt-selection': 'selection' }) as unknown as ImpktComponent<ImpktTableElement, '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', { 'sort': CustomEvent<{ key: string; direction: SortDirection }>; 'selection': CustomEvent<{ selected: string[] }> }>;\n\n/** `<impkt-tabs>` */\nexport const ImpktTabs = wrap('impkt-tabs', ['items'], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktTabsElement, 'items' | 'selected' | 'label' | 'twoRows', 'two-rows', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-task-list>` */\nexport const ImpktTaskList = wrap('impkt-task-list', ['items', 'headingLevel'], {}) as unknown as ImpktComponent<ImpktTaskListElement, 'heading' | 'items' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-text>` */\nexport const ImpktText = wrap('impkt-text', [], {}) as unknown as ImpktComponent<ImpktTextElement, 'size' | 'tone' | 'align' | 'look', never, {}>;\n\n/** `<impkt-text-input>` */\nexport const ImpktTextInput = wrap('impkt-text-input', [], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktTextInputElement, 'type' | 'placeholder' | 'autocomplete' | 'inputmode' | 'maxlength' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-textarea>` */\nexport const ImpktTextarea = wrap('impkt-textarea', [], { 'impkt-change': 'change' }) as unknown as ImpktComponent<ImpktTextareaElement, 'rows' | 'maxlength' | 'fillFrom' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'fill-from' | 'required-text', { 'change': CustomEvent<{ value: string }> }>;\n\n/** `<impkt-toast>` */\nexport const ImpktToast = wrap('impkt-toast', [], { 'impkt-close': 'close', 'impkt-action': 'action' }) as unknown as ImpktComponent<ImpktToastElement, 'open' | 'message' | 'tone' | 'duration' | 'actionText' | 'closeLabel', 'action-text' | 'close-label', { 'close': CustomEvent<null>; 'action': CustomEvent<null> }>;\n\n/** `<impkt-video>` */\nexport const ImpktVideo = wrap('impkt-video', ['spaceAbove', 'spaceBelow'], {}) as unknown as ImpktComponent<ImpktVideoElement, 'videoSrc' | 'label' | 'posterSrc' | 'captionsSrc' | 'transcriptHref' | 'playText' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'video-src' | 'poster-src' | 'captions-src' | 'transcript-href' | 'play-text' | 'space-above' | 'space-below', {}>;\n\n/** `<impkt-visually-hidden>` */\nexport const ImpktVisuallyHidden = wrap('impkt-visually-hidden', [], {}) as unknown as ImpktComponent<ImpktVisuallyHiddenElement, never, never, {}>;\n\n/** `<impkt-wordmark>` */\nexport const ImpktWordmark = wrap('impkt-wordmark', [], {}) as unknown as ImpktComponent<ImpktWordmarkElement, 'text' | 'src' | 'alt' | 'href' | 'size' | 'hideOn', 'hide-on', {}>;\n\n/** Every component, by name, for `app.use(AtomicUI)`. */\nexport const COMPONENTS = {\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} as const;\n\n/** Registers every component globally, so a template can write `<ImpktTable>` or `<impkt-table>` without importing it. */\nexport const AtomicUI: Plugin = {\n install(app: App) {\n for (const [name, component] of Object.entries(COMPONENTS)) app.component(name, component);\n },\n};\n\ndeclare module 'vue' {\n interface GlobalComponents {\n ImpktAccordion: typeof ImpktAccordion;\n ImpktAddressLookup: typeof ImpktAddressLookup;\n ImpktAffordabilityCalculator: typeof ImpktAffordabilityCalculator;\n ImpktAlert: typeof ImpktAlert;\n ImpktAnnouncement: typeof ImpktAnnouncement;\n ImpktAvatar: typeof ImpktAvatar;\n ImpktAvatarGroup: typeof ImpktAvatarGroup;\n ImpktBadge: typeof ImpktBadge;\n ImpktBeforeAfter: typeof ImpktBeforeAfter;\n ImpktBranchList: typeof ImpktBranchList;\n ImpktBranchTimeline: typeof ImpktBranchTimeline;\n ImpktBreadcrumbs: typeof ImpktBreadcrumbs;\n ImpktButton: typeof ImpktButton;\n ImpktCard: typeof ImpktCard;\n ImpktCardGrid: typeof ImpktCardGrid;\n ImpktCarousel: typeof ImpktCarousel;\n ImpktCheckList: typeof ImpktCheckList;\n ImpktCheckbox: typeof ImpktCheckbox;\n ImpktCheckboxGroup: typeof ImpktCheckboxGroup;\n ImpktChip: typeof ImpktChip;\n ImpktContactBlock: typeof ImpktContactBlock;\n ImpktCtaBanner: typeof ImpktCtaBanner;\n ImpktDateInput: typeof ImpktDateInput;\n ImpktDialog: typeof ImpktDialog;\n ImpktDivider: typeof ImpktDivider;\n ImpktDocumentLink: typeof ImpktDocumentLink;\n ImpktDrawer: typeof ImpktDrawer;\n ImpktEmptyState: typeof ImpktEmptyState;\n ImpktErrorSummary: typeof ImpktErrorSummary;\n ImpktEstimator: typeof ImpktEstimator;\n ImpktFeatureList: typeof ImpktFeatureList;\n ImpktFieldset: typeof ImpktFieldset;\n ImpktFileUpload: typeof ImpktFileUpload;\n ImpktGallery: typeof ImpktGallery;\n ImpktGrid: typeof ImpktGrid;\n ImpktHeading: typeof ImpktHeading;\n ImpktHelp: typeof ImpktHelp;\n ImpktHero: typeof ImpktHero;\n ImpktIcon: typeof ImpktIcon;\n ImpktImage: typeof ImpktImage;\n ImpktLink: typeof ImpktLink;\n ImpktList: typeof ImpktList;\n ImpktLocationCard: typeof ImpktLocationCard;\n ImpktLogo: typeof ImpktLogo;\n ImpktLogoCloud: typeof ImpktLogoCloud;\n ImpktMediaSplit: typeof ImpktMediaSplit;\n ImpktMenu: typeof ImpktMenu;\n ImpktMoneyInput: typeof ImpktMoneyInput;\n ImpktMortgageCalculator: typeof ImpktMortgageCalculator;\n ImpktNav: typeof ImpktNav;\n ImpktNewsletter: typeof ImpktNewsletter;\n ImpktPage: typeof ImpktPage;\n ImpktPagination: typeof ImpktPagination;\n ImpktPlanComparison: typeof ImpktPlanComparison;\n ImpktPrice: typeof ImpktPrice;\n ImpktProgress: typeof ImpktProgress;\n ImpktQuote: typeof ImpktQuote;\n ImpktRadioGroup: typeof ImpktRadioGroup;\n ImpktRangeInput: typeof ImpktRangeInput;\n ImpktRegulatoryNotice: typeof ImpktRegulatoryNotice;\n ImpktReleaseCard: typeof ImpktReleaseCard;\n ImpktReleaseList: typeof ImpktReleaseList;\n ImpktReviews: typeof ImpktReviews;\n ImpktScene: typeof ImpktScene;\n ImpktScrubber: typeof ImpktScrubber;\n ImpktSearchBar: typeof ImpktSearchBar;\n ImpktSection: typeof ImpktSection;\n ImpktSelect: typeof ImpktSelect;\n ImpktSiteFooter: typeof ImpktSiteFooter;\n ImpktSiteHeader: typeof ImpktSiteHeader;\n ImpktSitePlan: typeof ImpktSitePlan;\n ImpktSlotPicker: typeof ImpktSlotPicker;\n ImpktSpacer: typeof ImpktSpacer;\n ImpktStack: typeof ImpktStack;\n ImpktStampDutyCalculator: typeof ImpktStampDutyCalculator;\n ImpktStat: typeof ImpktStat;\n ImpktSteps: typeof ImpktSteps;\n ImpktStickyBar: typeof ImpktStickyBar;\n ImpktSummaryList: typeof ImpktSummaryList;\n ImpktTable: typeof ImpktTable;\n ImpktTabs: typeof ImpktTabs;\n ImpktTaskList: typeof ImpktTaskList;\n ImpktText: typeof ImpktText;\n ImpktTextInput: typeof ImpktTextInput;\n ImpktTextarea: typeof ImpktTextarea;\n ImpktToast: typeof ImpktToast;\n ImpktVideo: typeof ImpktVideo;\n ImpktVisuallyHidden: typeof ImpktVisuallyHidden;\n ImpktWordmark: typeof ImpktWordmark;\n 'impkt-accordion': ImpktComponent<ImpktAccordionElement, 'items' | 'headingLevel' | 'open' | 'multiple', 'heading-level', {}>;\n 'impkt-address-lookup': ImpktComponent<ImpktAddressLookupElement, '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', { 'impkt-lookup': CustomEvent<{ postcode: string }>; 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-affordability-calculator': ImpktComponent<ImpktAffordabilityCalculatorElement, 'heading' | 'income' | 'secondIncome' | 'deposit' | 'timesIncome' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'second-income' | 'times-income' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-alert': ImpktComponent<ImpktAlertElement, 'tone' | 'heading' | 'toneLabel', 'tone-label', {}>;\n 'impkt-announcement': ImpktComponent<ImpktAnnouncementElement, 'message' | 'linkText' | 'href', 'link-text', {}>;\n 'impkt-avatar': ImpktComponent<ImpktAvatarElement, 'fullName' | 'src' | 'size', 'full-name', {}>;\n 'impkt-avatar-group': ImpktComponent<ImpktAvatarGroupElement, 'items' | 'max' | 'size' | 'moreLabel', 'more-label', {}>;\n 'impkt-badge': ImpktComponent<ImpktBadgeElement, 'tone' | 'icon', never, {}>;\n 'impkt-before-after': ImpktComponent<ImpktBeforeAfterElement, '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', {}>;\n 'impkt-branch-list': ImpktComponent<ImpktBranchListElement, 'items' | 'trunk' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-branch-timeline': ImpktComponent<ImpktBranchTimelineElement, 'lanes' | 'marks' | 'span' | 'unit' | 'every' | 'release' | 'releaseAt' | 'label' | 'spaceAbove' | 'spaceBelow', 'release-at' | 'space-above' | 'space-below', {}>;\n 'impkt-breadcrumbs': ImpktComponent<ImpktBreadcrumbsElement, 'items' | 'label', never, {}>;\n 'impkt-button': ImpktComponent<ImpktButtonElement, 'hideOn' | 'variant' | 'type' | 'disabled' | 'busy' | 'busyLabel' | 'full' | 'fullOnPhone' | 'size' | 'iconBefore' | 'iconAfter' | 'href', 'hide-on' | 'busy-label' | 'full-on-phone' | 'icon-before' | 'icon-after', {}>;\n 'impkt-card': ImpktComponent<ImpktCardElement, 'tone' | 'padding' | 'imageSrc' | 'imageAlt' | 'badge' | 'ratio' | 'raised' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'space-above' | 'space-below', {}>;\n 'impkt-card-grid': ImpktComponent<ImpktCardGridElement, 'items' | 'columns' | 'headingLevel' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-carousel': ImpktComponent<ImpktCarouselElement, 'label' | 'perView' | 'arrows' | 'autoplay' | 'seconds' | 'spaceAbove' | 'spaceBelow', 'per-view' | 'space-above' | 'space-below', {}>;\n 'impkt-check-list': ImpktComponent<ImpktCheckListElement, 'items' | 'summary' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-checkbox': ImpktComponent<ImpktCheckboxElement, 'checked' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-checkbox-group': ImpktComponent<ImpktCheckboxGroupElement, 'options' | 'values' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-chip': ImpktComponent<ImpktChipElement, 'label' | 'meta' | 'icon' | 'tone' | 'look' | 'hideOn', 'hide-on', {}>;\n 'impkt-contact-block': ImpktComponent<ImpktContactBlockElement, 'heading' | 'phone' | 'hours' | 'email' | 'callbackHeading' | 'buttonText' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'callback-heading' | 'button-text' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', { 'impkt-submit': CustomEvent<{ name: string; phone: string; when: string }> }>;\n 'impkt-cta-banner': ImpktComponent<ImpktCtaBannerElement, 'heading' | 'lead' | 'tone' | 'align' | 'imageSrc' | 'imageAlt' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-date-input': ImpktComponent<ImpktDateInputElement, 'day' | 'month' | 'year' | 'autocompleteSection' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'autocomplete-section' | 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-dialog': ImpktComponent<ImpktDialogElement, 'open' | 'heading' | 'closeLabel' | 'dismissible' | 'phoneFullScreen', 'close-label' | 'phone-full-screen', { 'impkt-close': CustomEvent<null> }>;\n 'impkt-divider': ImpktComponent<ImpktDividerElement, 'spacing' | 'tone', never, {}>;\n 'impkt-document-link': ImpktComponent<ImpktDocumentLinkElement, 'href' | 'label' | 'fileType' | 'byteSize', 'file-type' | 'byte-size', {}>;\n 'impkt-drawer': ImpktComponent<ImpktDrawerElement, 'open' | 'heading' | 'side' | 'closeLabel', 'close-label', { 'impkt-close': CustomEvent<null> }>;\n 'impkt-empty-state': ImpktComponent<ImpktEmptyStateElement, 'icon' | 'heading' | 'lead' | 'framed' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-error-summary': ImpktComponent<ImpktErrorSummaryElement, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-estimator': ImpktComponent<ImpktEstimatorElement, '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', { 'impkt-estimate': CustomEvent<EstimateResult> }>;\n 'impkt-feature-list': ImpktComponent<ImpktFeatureListElement, 'items' | 'columns' | 'headingLevel' | 'layout' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-fieldset': ImpktComponent<ImpktFieldsetElement, 'legend' | 'description' | 'error' | 'size', never, {}>;\n 'impkt-file-upload': ImpktComponent<ImpktFileUploadElement, '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', { 'impkt-files': CustomEvent<{ files: File[] }>; 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-gallery': ImpktComponent<ImpktGalleryElement, 'items' | 'layout' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-grid': ImpktComponent<ImpktGridElement, 'columns' | 'widths' | 'gap' | 'stackOn' | 'align' | 'spaceAbove' | 'spaceBelow', 'stack-on' | 'space-above' | 'space-below', {}>;\n 'impkt-heading': ImpktComponent<ImpktHeadingElement, 'level' | 'size' | 'eyebrow' | 'align' | 'screenReaderOnly', 'screen-reader-only', {}>;\n 'impkt-help': ImpktComponent<ImpktHelpElement, 'mechanismId' | 'kind' | 'href' | 'label' | 'detail', 'mechanism-id', {}>;\n 'impkt-hero': ImpktComponent<ImpktHeroElement, 'eyebrow' | 'heading' | 'lead' | 'level' | 'imageSrc' | 'imageAlt' | 'treatment' | 'ratingText' | 'eyebrowIcon' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'rating-text' | 'eyebrow-icon' | 'space-above' | 'space-below', {}>;\n 'impkt-icon': ImpktComponent<ImpktIconElement, 'name' | 'label' | 'size' | 'tone', never, {}>;\n 'impkt-image': ImpktComponent<ImpktImageElement, 'hideOn' | 'src' | 'alt' | 'decorative' | 'width' | 'height' | 'focalX' | 'focalY' | 'loading' | 'ratio' | 'rounded', 'hide-on' | 'focal-x' | 'focal-y', {}>;\n 'impkt-link': ImpktComponent<ImpktLinkElement, 'href' | 'external' | 'externalText' | 'variant' | 'icon', 'external-text', {}>;\n 'impkt-list': ImpktComponent<ImpktListElement, 'items' | 'look' | 'size' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-location-card': ImpktComponent<ImpktLocationCardElement, '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', {}>;\n 'impkt-logo': ImpktComponent<ImpktLogoElement, 'src' | 'srcDark' | 'alt' | 'onDark' | 'height', 'src-dark' | 'on-dark', {}>;\n 'impkt-logo-cloud': ImpktComponent<ImpktLogoCloudElement, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-media-split': ImpktComponent<ImpktMediaSplitElement, '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', {}>;\n 'impkt-menu': ImpktComponent<ImpktMenuElement, 'label' | 'icon' | 'items' | 'edge' | 'open', never, { 'impkt-select': CustomEvent<{ value: string }> }>;\n 'impkt-money-input': ImpktComponent<ImpktMoneyInputElement, 'currency' | 'lowest' | 'highest' | 'pence' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-mortgage-calculator': ImpktComponent<ImpktMortgageCalculatorElement, 'heading' | 'price' | 'depositPercent' | 'rate' | 'years' | 'currency' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'deposit-percent' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-nav': ImpktComponent<ImpktNavElement, 'links' | 'label' | 'menuText' | 'menuLook' | 'size' | 'align', 'menu-text' | 'menu-look', {}>;\n 'impkt-newsletter': ImpktComponent<ImpktNewsletterElement, 'heading' | 'lead' | 'label' | 'buttonText' | 'smallPrint' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'small-print' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', { 'impkt-submit': CustomEvent<{ email: string }> }>;\n 'impkt-page': ImpktComponent<ImpktPageElement, 'width' | 'stickyHeader' | 'skipText', 'sticky-header' | 'skip-text', {}>;\n 'impkt-pagination': ImpktComponent<ImpktPaginationElement, 'page' | 'pages' | 'hrefPattern' | 'label' | 'previousText' | 'nextText', 'href-pattern' | 'previous-text' | 'next-text', { 'impkt-page': CustomEvent<{ page: number }> }>;\n 'impkt-plan-comparison': ImpktComponent<ImpktPlanComparisonElement, 'heading' | 'plans' | 'rows' | 'buttonText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'heading-level' | 'space-above' | 'space-below', { 'impkt-select': CustomEvent<{ plan: PlanItem }> }>;\n 'impkt-price': ImpktComponent<ImpktPriceElement, 'amount' | 'currency' | 'locale' | 'prefix' | 'period' | 'size' | 'pending', never, {}>;\n 'impkt-progress': ImpktComponent<ImpktProgressElement, 'steps' | 'current' | 'label', never, {}>;\n 'impkt-quote': ImpktComponent<ImpktQuoteElement, 'quote' | 'person' | 'about' | 'imageSrc' | 'size' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'space-above' | 'space-below', {}>;\n 'impkt-radio-group': ImpktComponent<ImpktRadioGroupElement, 'options' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-range-input': ImpktComponent<ImpktRangeInputElement, 'lowest' | 'highest' | 'step' | 'currency' | 'unit' | 'label' | 'value' | 'name' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-regulatory-notice': ImpktComponent<ImpktRegulatoryNoticeElement, 'kind' | 'heading' | 'text' | 'firm' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-release-card': ImpktComponent<ImpktReleaseCardElement, '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', {}>;\n 'impkt-release-list': ImpktComponent<ImpktReleaseListElement, 'items' | 'columns' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-reviews': ImpktComponent<ImpktReviewsElement, 'summary' | 'rating' | 'items' | 'columns' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-scene': ImpktComponent<ImpktSceneElement, 'drive' | 'layout' | 'length' | 'duration' | 'label' | 'progress' | 'controls' | 'bleed' | 'hideOn', 'hide-on', { 'impkt-scene-progress': CustomEvent<{ progress: number }> }>;\n 'impkt-scrubber': ImpktComponent<ImpktScrubberElement, 'label' | 'stops' | 'look' | 'hint' | 'value', never, {}>;\n 'impkt-search-bar': ImpktComponent<ImpktSearchBarElement, 'items' | 'buttonText' | 'action' | 'label' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'space-above' | 'space-below', { 'impkt-submit': CustomEvent<{ values: Record<string, string> }> }>;\n 'impkt-section': ImpktComponent<ImpktSectionElement, 'tone' | 'padding' | 'width' | 'bleed' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-select': ImpktComponent<ImpktSelectElement, 'options' | 'placeholder' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-site-footer': ImpktComponent<ImpktSiteFooterElement, 'brand' | 'log' | 'columns' | 'columnsOnPhone' | 'legal' | 'stripe' | 'headingLevel', 'columns-on-phone' | 'heading-level', {}>;\n 'impkt-site-header': ImpktComponent<ImpktSiteHeaderElement, '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', { 'impkt-action': CustomEvent<null> }>;\n 'impkt-site-plan': ImpktComponent<ImpktSitePlanElement, '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', { 'impkt-select': CustomEvent<{ plot: SitePlot }> }>;\n 'impkt-slot-picker': ImpktComponent<ImpktSlotPickerElement, 'days' | 'dayLabel' | 'timeLabel' | 'emptyText' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'day-label' | 'time-label' | 'empty-text' | 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-spacer': ImpktComponent<ImpktSpacerElement, 'size', never, {}>;\n 'impkt-stack': ImpktComponent<ImpktStackElement, 'gap' | 'align' | 'direction' | 'justify' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;\n 'impkt-stamp-duty-calculator': ImpktComponent<ImpktStampDutyCalculatorElement, 'heading' | 'price' | 'buyer' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-stat': ImpktComponent<ImpktStatElement, 'size' | 'figure' | 'label' | 'note' | 'align', never, {}>;\n 'impkt-steps': ImpktComponent<ImpktStepsElement, 'items' | 'orientation' | 'look' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-sticky-bar': ImpktComponent<ImpktStickyBarElement, 'label' | 'heading' | 'lead' | 'showOn' | 'revealAfter', 'show-on' | 'reveal-after', {}>;\n 'impkt-summary-list': ImpktComponent<ImpktSummaryListElement, 'rows' | 'changeText', 'change-text', {}>;\n 'impkt-table': ImpktComponent<ImpktTableElement, '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', { 'impkt-sort': CustomEvent<{ key: string; direction: SortDirection }>; 'impkt-selection': CustomEvent<{ selected: string[] }> }>;\n 'impkt-tabs': ImpktComponent<ImpktTabsElement, 'items' | 'selected' | 'label' | 'twoRows', 'two-rows', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-task-list': ImpktComponent<ImpktTaskListElement, 'heading' | 'items' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;\n 'impkt-text': ImpktComponent<ImpktTextElement, 'size' | 'tone' | 'align' | 'look', never, {}>;\n 'impkt-text-input': ImpktComponent<ImpktTextInputElement, 'type' | 'placeholder' | 'autocomplete' | 'inputmode' | 'maxlength' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-textarea': ImpktComponent<ImpktTextareaElement, 'rows' | 'maxlength' | 'fillFrom' | 'width' | 'label' | 'name' | 'value' | 'description' | 'error' | 'required' | 'disabled' | 'readonly' | 'requiredText', 'fill-from' | 'required-text', { 'impkt-change': CustomEvent<{ value: string }> }>;\n 'impkt-toast': ImpktComponent<ImpktToastElement, 'open' | 'message' | 'tone' | 'duration' | 'actionText' | 'closeLabel', 'action-text' | 'close-label', { 'impkt-close': CustomEvent<null>; 'impkt-action': CustomEvent<null> }>;\n 'impkt-video': ImpktComponent<ImpktVideoElement, 'videoSrc' | 'label' | 'posterSrc' | 'captionsSrc' | 'transcriptHref' | 'playText' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'video-src' | 'poster-src' | 'captions-src' | 'transcript-href' | 'play-text' | 'space-above' | 'space-below', {}>;\n 'impkt-visually-hidden': ImpktComponent<ImpktVisuallyHiddenElement, never, never, {}>;\n 'impkt-wordmark': ImpktComponent<ImpktWordmarkElement, 'text' | 'src' | 'alt' | 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ACA;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,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;AACF;AAGO,IAAM,WAAmB;AAAA,EAC9B,QAAQ,KAAU;AAChB,eAAW,CAAC,MAAM,SAAS,KAAK,OAAO,QAAQ,UAAU,EAAG,KAAI,UAAU,MAAM,SAAS;AAAA,EAC3F;AACF;","names":["_"]}
|
package/dist/wrap.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type DefineSetupFnComponent, type SlotsType, type VNode } from 'vue';
|
|
2
|
+
/** The emits of a wrapper, from its events: `{ change: CustomEvent<…> }` gives a typed `@change`. */
|
|
3
|
+
type EmitsOf<Events> = {
|
|
4
|
+
[K in keyof Events]: (event: Events[K]) => true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* A Vue component around one element, typed: its props are the element's own
|
|
8
|
+
* properties, and attributes by their HTML names, and its events are typed emits.
|
|
9
|
+
*/
|
|
10
|
+
export type ImpktComponent<E, K extends keyof E, Attributes extends string, Events> = DefineSetupFnComponent<{
|
|
11
|
+
[P in K]?: E[P];
|
|
12
|
+
} & {
|
|
13
|
+
[A in Attributes]?: string | number | boolean;
|
|
14
|
+
}, EmitsOf<Events>, SlotsType<{
|
|
15
|
+
default?: () => VNode[];
|
|
16
|
+
}>>;
|
|
17
|
+
/**
|
|
18
|
+
* Build a Vue component around one element.
|
|
19
|
+
*
|
|
20
|
+
* `domProps` names the props that must be bound as properties rather than
|
|
21
|
+
* attributes — anything that is not a string, a number or a boolean. Everything
|
|
22
|
+
* else goes through as an attribute, which is what a custom element expects and
|
|
23
|
+
* what keeps the rendered markup readable.
|
|
24
|
+
*/
|
|
25
|
+
export declare function wrap(tag: string, domProps?: string[], events?: Record<string, string>): import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
28
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}>, {}, SlotsType<{
|
|
30
|
+
default?: () => VNode[];
|
|
31
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atomic-ui/ui-vue",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Vue bindings for @atomic-ui/ui: typed props bound as DOM properties, and
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Vue bindings for @atomic-ui/ui: a typed component for every element, props bound as DOM properties, typed events, and GlobalComponents types.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/matthill8286/impkt-design-system.git",
|
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@atomic-ui/ui": "^0.
|
|
20
|
+
"@atomic-ui/ui": "^0.3.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": "^3.4.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
+
"happy-dom": "^21.0.4",
|
|
26
27
|
"typescript": "^5.5.0",
|
|
28
|
+
"vitest": "^2.0.0",
|
|
27
29
|
"vue": "^3.4.0"
|
|
28
30
|
},
|
|
29
31
|
"files": [
|
|
@@ -35,8 +37,9 @@
|
|
|
35
37
|
"access": "public"
|
|
36
38
|
},
|
|
37
39
|
"scripts": {
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
40
|
+
"generate": "node scripts/generate.mjs",
|
|
41
|
+
"build": "node scripts/generate.mjs && tsc -p tsconfig.json",
|
|
42
|
+
"typecheck": "node scripts/generate.mjs --check && tsc -p tsconfig.json",
|
|
43
|
+
"test": "vitest run"
|
|
41
44
|
}
|
|
42
45
|
}
|