@atelier-ui/mcp 0.0.0-stage → 0.4.12
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 +25 -2
- package/bin/atelier-mcp.mjs +9 -0
- package/package.json +45 -4
- package/snapshot/knowledge/components.json +1 -0
- package/snapshot/knowledge/patterns.json +1 -0
- package/snapshot/knowledge/tokens.json +1 -0
- package/snapshot/manifests/components.json +355 -0
- package/snapshot/manifests/docs.json +37 -0
- package/snapshot/services/addon-docs/mdx/foundation-colors--docs.json +18 -0
- package/snapshot/services/addon-docs/mdx/foundation-spacing--docs.json +18 -0
- package/snapshot/services/addon-docs/mdx/foundation-typography--docs.json +18 -0
- package/snapshot/services/addon-docs/mdx/introduction--docs.json +18 -0
- package/snapshot/services/core/docgen/components-ai-atlchat.json +158 -0
- package/snapshot/services/core/docgen/components-display-atlavatar.json +144 -0
- package/snapshot/services/core/docgen/components-display-atlbadge.json +97 -0
- package/snapshot/services/core/docgen/components-display-atlcard.json +103 -0
- package/snapshot/services/core/docgen/components-display-atlcodeblock.json +165 -0
- package/snapshot/services/core/docgen/components-display-atlicon.json +172 -0
- package/snapshot/services/core/docgen/components-display-atlprogress.json +177 -0
- package/snapshot/services/core/docgen/components-display-atlskeleton.json +125 -0
- package/snapshot/services/core/docgen/components-display-atltable.json +100 -0
- package/snapshot/services/core/docgen/components-feedback-atlaccordiongroup.json +105 -0
- package/snapshot/services/core/docgen/components-feedback-atlalert.json +124 -0
- package/snapshot/services/core/docgen/components-inputs-atlbutton.json +153 -0
- package/snapshot/services/core/docgen/components-inputs-atlcheckbox.json +226 -0
- package/snapshot/services/core/docgen/components-inputs-atlcombobox.json +244 -0
- package/snapshot/services/core/docgen/components-inputs-atlinput.json +302 -0
- package/snapshot/services/core/docgen/components-inputs-atlradio.json +114 -0
- package/snapshot/services/core/docgen/components-inputs-atlradiogroup.json +243 -0
- package/snapshot/services/core/docgen/components-inputs-atlselect.json +257 -0
- package/snapshot/services/core/docgen/components-inputs-atltextarea.json +311 -0
- package/snapshot/services/core/docgen/components-inputs-atltoggle.json +209 -0
- package/snapshot/services/core/docgen/components-navigation-atlbreadcrumbs.json +55 -0
- package/snapshot/services/core/docgen/components-navigation-atlmenu.json +45 -0
- package/snapshot/services/core/docgen/components-navigation-atlpagination.json +193 -0
- package/snapshot/services/core/docgen/components-navigation-atlstepper.json +156 -0
- package/snapshot/services/core/docgen/components-navigation-atltabgroup.json +79 -0
- package/snapshot/services/core/docgen/components-overlay-atldialog.json +216 -0
- package/snapshot/services/core/docgen/components-overlay-atldrawer.json +190 -0
- package/snapshot/services/core/docgen/components-overlay-atltoast.json +145 -0
- package/snapshot/services/core/docgen/components-overlay-atltooltip.json +128 -0
- package/snapshot/services/core/docgen/cookbook.json +3 -0
- package/snapshot/services/core/docgen/showcase-all-components.json +191 -0
- package/snapshot/services/core/docgen/showcase-kitchen-sink.json +20 -0
- package/snapshot/services/core/story-docs/components-ai-atlchat.json +73 -0
- package/snapshot/services/core/story-docs/components-display-atlavatar.json +61 -0
- package/snapshot/services/core/story-docs/components-display-atlbadge.json +61 -0
- package/snapshot/services/core/story-docs/components-display-atlcard.json +61 -0
- package/snapshot/services/core/story-docs/components-display-atlcodeblock.json +41 -0
- package/snapshot/services/core/story-docs/components-display-atlicon.json +52 -0
- package/snapshot/services/core/story-docs/components-display-atlprogress.json +41 -0
- package/snapshot/services/core/story-docs/components-display-atlskeleton.json +46 -0
- package/snapshot/services/core/story-docs/components-display-atltable.json +65 -0
- package/snapshot/services/core/story-docs/components-feedback-atlaccordiongroup.json +56 -0
- package/snapshot/services/core/story-docs/components-feedback-atlalert.json +51 -0
- package/snapshot/services/core/story-docs/components-inputs-atlbutton.json +76 -0
- package/snapshot/services/core/story-docs/components-inputs-atlcheckbox.json +57 -0
- package/snapshot/services/core/story-docs/components-inputs-atlcombobox.json +41 -0
- package/snapshot/services/core/story-docs/components-inputs-atlinput.json +70 -0
- package/snapshot/services/core/story-docs/components-inputs-atlradio.json +35 -0
- package/snapshot/services/core/story-docs/components-inputs-atlradiogroup.json +59 -0
- package/snapshot/services/core/story-docs/components-inputs-atlselect.json +65 -0
- package/snapshot/services/core/story-docs/components-inputs-atltextarea.json +65 -0
- package/snapshot/services/core/story-docs/components-inputs-atltoggle.json +52 -0
- package/snapshot/services/core/story-docs/components-navigation-atlbreadcrumbs.json +37 -0
- package/snapshot/services/core/story-docs/components-navigation-atlmenu.json +37 -0
- package/snapshot/services/core/story-docs/components-navigation-atlpagination.json +41 -0
- package/snapshot/services/core/story-docs/components-navigation-atlstepper.json +37 -0
- package/snapshot/services/core/story-docs/components-navigation-atltabgroup.json +47 -0
- package/snapshot/services/core/story-docs/components-overlay-atldialog.json +59 -0
- package/snapshot/services/core/story-docs/components-overlay-atldrawer.json +59 -0
- package/snapshot/services/core/story-docs/components-overlay-atltoast.json +56 -0
- package/snapshot/services/core/story-docs/components-overlay-atltooltip.json +42 -0
- package/snapshot/services/core/story-docs/cookbook.json +39 -0
- package/snapshot/services/core/story-docs/showcase-all-components.json +17 -0
- package/snapshot/services/core/story-docs/showcase-kitchen-sink.json +17 -0
- package/src/instructions.mjs +29 -0
- package/src/knowledge.mjs +24 -0
- package/src/layer-composition.mjs +77 -0
- package/src/layer-purpose.mjs +70 -0
- package/src/layer-tokens.mjs +133 -0
- package/src/layers.mjs +80 -0
- package/src/manifest-provider.mjs +58 -0
- package/src/server.mjs +71 -0
- package/src/version-check.mjs +50 -0
- package/storybook/.atelier-inputs.json +1 -0
- package/storybook/angular-logo.jpg +0 -0
- package/storybook/artelier-logo.png +0 -0
- package/storybook/assets/Color-6AOWCN3U-BRruRKIt.js +1 -0
- package/storybook/assets/DocsRenderer-JROSPFPF-BqCGyKpa.js +10 -0
- package/storybook/assets/WithTooltip-CDUNV5IS-B5RANF3w.js +9 -0
- package/storybook/assets/_a11y-module-chunk-kh2BWFEb.js +20 -0
- package/storybook/assets/_array-chunk-jnVVFUvi.js +1 -0
- package/storybook/assets/_focus-key-manager-chunk-Czlxh_qX.js +1 -0
- package/storybook/assets/_focus-monitor-chunk-CHxlrCHn.js +1 -0
- package/storybook/assets/_id-generator-chunk-B9zuB3qN.js +1 -0
- package/storybook/assets/_list-key-manager-chunk-K-6zSVll.js +1 -0
- package/storybook/assets/_overlay-module-chunk-CwW5mIh4.js +140 -0
- package/storybook/assets/_style-loader-chunk-CjoWl1jk.js +1 -0
- package/storybook/assets/_unique-selection-dispatcher-chunk-Xqv9LIWR.js +1 -0
- package/storybook/assets/a11y-dev-warn-BbRozqAf.js +1 -0
- package/storybook/assets/angular-platform-ChS-QjTV.js +23 -0
- package/storybook/assets/async-CzUT0aHo.js +1 -0
- package/storybook/assets/atl-accordion-dZ-zVPC1.js +37 -0
- package/storybook/assets/atl-accordion.stories-CTKEKqfF.js +379 -0
- package/storybook/assets/atl-alert-BnnQXl74.js +18 -0
- package/storybook/assets/atl-alert.stories-WOsUlWre.js +88 -0
- package/storybook/assets/atl-avatar-NUYXSZhH.js +20 -0
- package/storybook/assets/atl-avatar.stories-GM0sQR9h.js +281 -0
- package/storybook/assets/atl-badge-BUEz7duN.js +6 -0
- package/storybook/assets/atl-badge.stories-BZ-58GLo.js +102 -0
- package/storybook/assets/atl-breadcrumbs-nQEvjjLz.js +22 -0
- package/storybook/assets/atl-breadcrumbs.stories-CFFrRRcs.js +161 -0
- package/storybook/assets/atl-button-BzQndwCt.js +6 -0
- package/storybook/assets/atl-button.stories-D8MwkQrM.js +138 -0
- package/storybook/assets/atl-card-WY9a7AGL.js +1 -0
- package/storybook/assets/atl-card.stories-DqUwE2Lw.js +195 -0
- package/storybook/assets/atl-chat.stories-BhfNwpcy.js +717 -0
- package/storybook/assets/atl-checkbox-C-oNMpz8.js +25 -0
- package/storybook/assets/atl-checkbox.stories-tfTegOD3.js +60 -0
- package/storybook/assets/atl-code-block-CWbd7cP-.js +34 -0
- package/storybook/assets/atl-code-block.stories-BPKM1keU.js +104 -0
- package/storybook/assets/atl-combobox.stories-DUHRpNOg.js +153 -0
- package/storybook/assets/atl-dialog-B2-2GVTo.js +27 -0
- package/storybook/assets/atl-dialog.stories-DGZaeKea.js +442 -0
- package/storybook/assets/atl-drawer-87lAgOgh.js +27 -0
- package/storybook/assets/atl-drawer.stories-Bo48zu1P.js +377 -0
- package/storybook/assets/atl-icon-ChO59f9V.js +16 -0
- package/storybook/assets/atl-icon.stories-D__7KUC6.js +114 -0
- package/storybook/assets/atl-input-CiyTZXDL.js +32 -0
- package/storybook/assets/atl-input.stories-CAorMMo9.js +95 -0
- package/storybook/assets/atl-menu-CyZvGLYl.js +6 -0
- package/storybook/assets/atl-menu.stories-DW8fQ-KN.js +168 -0
- package/storybook/assets/atl-option-o6FHvhn_.js +67 -0
- package/storybook/assets/atl-pagination-BFumZjwB.js +75 -0
- package/storybook/assets/atl-pagination.stories-hcbOcm5L.js +136 -0
- package/storybook/assets/atl-progress-CEvOvPrm.js +5 -0
- package/storybook/assets/atl-progress.stories-IPzUxTop.js +130 -0
- package/storybook/assets/atl-radio-C-KjJXL1.js +25 -0
- package/storybook/assets/atl-radio-group.stories-B-LXwjaI.js +135 -0
- package/storybook/assets/atl-radio.stories-BPeNuZ5i.js +70 -0
- package/storybook/assets/atl-select.stories-BlnLgKMb.js +133 -0
- package/storybook/assets/atl-showcase.stories-DEEN9_7E.js +563 -0
- package/storybook/assets/atl-skeleton-LlrKrRul.js +1 -0
- package/storybook/assets/atl-skeleton.stories-BjntxCgy.js +109 -0
- package/storybook/assets/atl-stepper.stories-TlX9iAtl.js +259 -0
- package/storybook/assets/atl-table-9yowirTt.js +71 -0
- package/storybook/assets/atl-table.stories-Da-Cdx4f.js +699 -0
- package/storybook/assets/atl-tabs-C3TYjTt4.js +34 -0
- package/storybook/assets/atl-tabs.stories-fnuIid_J.js +220 -0
- package/storybook/assets/atl-textarea-CaajGH3D.js +60 -0
- package/storybook/assets/atl-textarea.stories-BHLuood4.js +71 -0
- package/storybook/assets/atl-toast-C8wfEw8o.js +23 -0
- package/storybook/assets/atl-toast.stories-DuabFeLE.js +141 -0
- package/storybook/assets/atl-toggle-DufKJw7U.js +29 -0
- package/storybook/assets/atl-toggle.stories-C9TIh6EI.js +49 -0
- package/storybook/assets/atl-tooltip-DHtMg2_a.js +1 -0
- package/storybook/assets/atl-tooltip.stories-BtN7RqXO.js +126 -0
- package/storybook/assets/auditTime-D5qIDf8P.js +1 -0
- package/storybook/assets/axe-DB4aLaTh.js +20 -0
- package/storybook/assets/blocks-CwmsPXDF.js +192 -0
- package/storybook/assets/chunk-242VQQM5-D6GShWaB.js +1 -0
- package/storybook/assets/chunk-7PIQR4A3-BhwBlWeH.js +1 -0
- package/storybook/assets/chunk-DRQKCCAG-BwzuojA1.js +1 -0
- package/storybook/assets/chunk-IMSF75WX-CZt3_hro.js +6 -0
- package/storybook/assets/chunk-QQBDHPVZ-0u620C8G.js +1 -0
- package/storybook/assets/chunk-RDNWKK3U-DhgVKaEi.js +15 -0
- package/storybook/assets/chunk-UAWMPV5J-CVFtGjk9.js +1 -0
- package/storybook/assets/chunk-W22LQPXL-nedkz_O_.js +18 -0
- package/storybook/assets/colors-BtTAbCUR.js +34 -0
- package/storybook/assets/components-DUcVPgtb.js +92 -0
- package/storybook/assets/cookbook.stories-Cvcwdpgq.js +913 -0
- package/storybook/assets/debounceTime-CPR6CVzN.js +1 -0
- package/storybook/assets/dist-BfbfS1eq.js +28 -0
- package/storybook/assets/empty-C9s5w39U.js +1 -0
- package/storybook/assets/filter-CCMzlFeO.js +1 -0
- package/storybook/assets/formatter-L2YTDE3Q-De5wWUxX.js +1 -0
- package/storybook/assets/iframe-BYbOm3Rx.js +1 -0
- package/storybook/assets/iframe-BvjIbyPm.css +1 -0
- package/storybook/assets/iframe-h-GGOSFN.js +1131 -0
- package/storybook/assets/introduction-bzJGqrr1.js +51 -0
- package/storybook/assets/kitchen-sink.stories-DgdRp06g.js +155 -0
- package/storybook/assets/matchers-JIUQ3HVY-1Tc8fpol.js +28 -0
- package/storybook/assets/preload-helper-BLE838kL.js +1 -0
- package/storybook/assets/radio.metadata-D1zBdRKO.js +1 -0
- package/storybook/assets/react-CFS0r9Lk.js +1 -0
- package/storybook/assets/react-NI1vexfW.js +1 -0
- package/storybook/assets/rolldown-runtime-D_-wTCJc.js +1 -0
- package/storybook/assets/spacing-CVdkEC7L.js +23 -0
- package/storybook/assets/syntaxhighlighter-4REYKNEV-CaO5n5UG.js +6 -0
- package/storybook/assets/theming-6wiCKx_Z.js +39 -0
- package/storybook/assets/typography-B6Dotum2.js +49 -0
- package/storybook/favicon-wrapper.svg +46 -0
- package/storybook/favicon.svg +1 -0
- package/storybook/iframe.html +756 -0
- package/storybook/index.html +170 -0
- package/storybook/index.json +1 -0
- package/storybook/manifests/components.html +12595 -0
- package/storybook/manifests/components.json +355 -0
- package/storybook/manifests/docs.json +37 -0
- package/storybook/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook/nunito-sans-bold.woff2 +0 -0
- package/storybook/nunito-sans-italic.woff2 +0 -0
- package/storybook/nunito-sans-regular.woff2 +0 -0
- package/storybook/package.json +32 -0
- package/storybook/project.json +1 -0
- package/storybook/react-logo.png +0 -0
- package/storybook/sb-addons/a11y-2/manager-bundle.js +57 -0
- package/storybook/sb-addons/designs-3/register-panel-bundle.js +1009 -0
- package/storybook/sb-addons/designs-3/register-panel-bundle.js.LEGAL.txt +8 -0
- package/storybook/sb-addons/docs-4/manager-bundle.js +18 -0
- package/storybook/sb-addons/libs-angular-storybook-6/manager-bundle.js +3 -0
- package/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +632 -0
- package/storybook/sb-addons/themes-5/manager-bundle.js +3 -0
- package/storybook/sb-addons/vitest-1/manager-bundle.js +3 -0
- package/storybook/sb-common-assets/favicon-wrapper.svg +46 -0
- package/storybook/sb-common-assets/favicon.svg +1 -0
- package/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook/sb-manager/globals-runtime.js +79132 -0
- package/storybook/sb-manager/globals.js +24 -0
- package/storybook/sb-manager/manager-stores.js +23 -0
- package/storybook/sb-manager/runtime.js +28317 -0
- package/storybook/services/addon-docs/mdx/foundation-colors--docs.json +18 -0
- package/storybook/services/addon-docs/mdx/foundation-spacing--docs.json +18 -0
- package/storybook/services/addon-docs/mdx/foundation-typography--docs.json +18 -0
- package/storybook/services/addon-docs/mdx/introduction--docs.json +18 -0
- package/storybook/services/core/docgen/components-ai-atlchat.json +158 -0
- package/storybook/services/core/docgen/components-display-atlavatar.json +144 -0
- package/storybook/services/core/docgen/components-display-atlbadge.json +97 -0
- package/storybook/services/core/docgen/components-display-atlcard.json +103 -0
- package/storybook/services/core/docgen/components-display-atlcodeblock.json +165 -0
- package/storybook/services/core/docgen/components-display-atlicon.json +172 -0
- package/storybook/services/core/docgen/components-display-atlprogress.json +177 -0
- package/storybook/services/core/docgen/components-display-atlskeleton.json +125 -0
- package/storybook/services/core/docgen/components-display-atltable.json +100 -0
- package/storybook/services/core/docgen/components-feedback-atlaccordiongroup.json +105 -0
- package/storybook/services/core/docgen/components-feedback-atlalert.json +124 -0
- package/storybook/services/core/docgen/components-inputs-atlbutton.json +153 -0
- package/storybook/services/core/docgen/components-inputs-atlcheckbox.json +226 -0
- package/storybook/services/core/docgen/components-inputs-atlcombobox.json +244 -0
- package/storybook/services/core/docgen/components-inputs-atlinput.json +302 -0
- package/storybook/services/core/docgen/components-inputs-atlradio.json +114 -0
- package/storybook/services/core/docgen/components-inputs-atlradiogroup.json +243 -0
- package/storybook/services/core/docgen/components-inputs-atlselect.json +257 -0
- package/storybook/services/core/docgen/components-inputs-atltextarea.json +311 -0
- package/storybook/services/core/docgen/components-inputs-atltoggle.json +209 -0
- package/storybook/services/core/docgen/components-navigation-atlbreadcrumbs.json +55 -0
- package/storybook/services/core/docgen/components-navigation-atlmenu.json +45 -0
- package/storybook/services/core/docgen/components-navigation-atlpagination.json +193 -0
- package/storybook/services/core/docgen/components-navigation-atlstepper.json +156 -0
- package/storybook/services/core/docgen/components-navigation-atltabgroup.json +79 -0
- package/storybook/services/core/docgen/components-overlay-atldialog.json +216 -0
- package/storybook/services/core/docgen/components-overlay-atldrawer.json +190 -0
- package/storybook/services/core/docgen/components-overlay-atltoast.json +145 -0
- package/storybook/services/core/docgen/components-overlay-atltooltip.json +128 -0
- package/storybook/services/core/docgen/cookbook.json +3 -0
- package/storybook/services/core/docgen/showcase-all-components.json +191 -0
- package/storybook/services/core/docgen/showcase-kitchen-sink.json +20 -0
- package/storybook/services/core/story-docs/components-ai-atlchat.json +73 -0
- package/storybook/services/core/story-docs/components-display-atlavatar.json +61 -0
- package/storybook/services/core/story-docs/components-display-atlbadge.json +61 -0
- package/storybook/services/core/story-docs/components-display-atlcard.json +61 -0
- package/storybook/services/core/story-docs/components-display-atlcodeblock.json +41 -0
- package/storybook/services/core/story-docs/components-display-atlicon.json +52 -0
- package/storybook/services/core/story-docs/components-display-atlprogress.json +41 -0
- package/storybook/services/core/story-docs/components-display-atlskeleton.json +46 -0
- package/storybook/services/core/story-docs/components-display-atltable.json +65 -0
- package/storybook/services/core/story-docs/components-feedback-atlaccordiongroup.json +56 -0
- package/storybook/services/core/story-docs/components-feedback-atlalert.json +51 -0
- package/storybook/services/core/story-docs/components-inputs-atlbutton.json +76 -0
- package/storybook/services/core/story-docs/components-inputs-atlcheckbox.json +57 -0
- package/storybook/services/core/story-docs/components-inputs-atlcombobox.json +41 -0
- package/storybook/services/core/story-docs/components-inputs-atlinput.json +70 -0
- package/storybook/services/core/story-docs/components-inputs-atlradio.json +35 -0
- package/storybook/services/core/story-docs/components-inputs-atlradiogroup.json +59 -0
- package/storybook/services/core/story-docs/components-inputs-atlselect.json +65 -0
- package/storybook/services/core/story-docs/components-inputs-atltextarea.json +65 -0
- package/storybook/services/core/story-docs/components-inputs-atltoggle.json +52 -0
- package/storybook/services/core/story-docs/components-navigation-atlbreadcrumbs.json +37 -0
- package/storybook/services/core/story-docs/components-navigation-atlmenu.json +37 -0
- package/storybook/services/core/story-docs/components-navigation-atlpagination.json +41 -0
- package/storybook/services/core/story-docs/components-navigation-atlstepper.json +37 -0
- package/storybook/services/core/story-docs/components-navigation-atltabgroup.json +47 -0
- package/storybook/services/core/story-docs/components-overlay-atldialog.json +59 -0
- package/storybook/services/core/story-docs/components-overlay-atldrawer.json +59 -0
- package/storybook/services/core/story-docs/components-overlay-atltoast.json +56 -0
- package/storybook/services/core/story-docs/components-overlay-atltooltip.json +42 -0
- package/storybook/services/core/story-docs/cookbook.json +39 -0
- package/storybook/services/core/story-docs/showcase-all-components.json +17 -0
- package/storybook/services/core/story-docs/showcase-kitchen-sink.json +17 -0
- package/storybook/vite-inject-mocker-entry.js +2 -0
- package/storybook/vue-logo.jpeg +0 -0
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"components-inputs-atlinput": {
|
|
4
|
+
"id": "components-inputs-atlinput",
|
|
5
|
+
"name": "AtlInput",
|
|
6
|
+
"path": "./libs/angular/src/lib/input/atl-input.stories.ts",
|
|
7
|
+
"description": "Single-line text field. Renders an `<input>` bound to a form value with the standard validation and disabled states.\n\nAccessible text input component for use with Angular Signal Forms.\n\nUsage:\n```html\n<atl-input type=\"email\" placeholder=\"you@example.com\" [(value)]=\"email\" />\n<atl-input [formField]=\"loginForm.email\" placeholder=\"Email\" />\n<atl-input label=\"Email\" type=\"email\" [(value)]=\"email\" />\n```",
|
|
8
|
+
"jsDocTags": {},
|
|
9
|
+
"argTypes": {
|
|
10
|
+
"showErrors": {
|
|
11
|
+
"name": "showErrors",
|
|
12
|
+
"description": "The message renders when there is a message. Gating it on `touched` as well was\nan Angular-only rule: `touched` is not in the spec contract and React and Vue have\nno equivalent, so the same four fields showed their errors at three different\nmoments depending on the framework. Deciding *when* to pass errors belongs to the\nform layer, which is where `touched` lives (ADR-0055).",
|
|
13
|
+
"type": {
|
|
14
|
+
"name": "other",
|
|
15
|
+
"value": "empty-enum"
|
|
16
|
+
},
|
|
17
|
+
"table": {
|
|
18
|
+
"category": "properties",
|
|
19
|
+
"type": {
|
|
20
|
+
"summary": "Signal<boolean>"
|
|
21
|
+
},
|
|
22
|
+
"defaultValue": {}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"aria-label": {
|
|
26
|
+
"name": "aria-label",
|
|
27
|
+
"description": "Accessible name for the native input, for when there is no visible\n`label`. An aliased input rather than a plain host attribute: an\nunrecognized `aria-label=\"…\"` on `<atl-input>` would sit on the host\nelement, which has no role, leaving the actual control unnamed.",
|
|
28
|
+
"type": {
|
|
29
|
+
"name": "string"
|
|
30
|
+
},
|
|
31
|
+
"table": {
|
|
32
|
+
"category": "inputs",
|
|
33
|
+
"type": {
|
|
34
|
+
"summary": "string"
|
|
35
|
+
},
|
|
36
|
+
"defaultValue": {
|
|
37
|
+
"summary": ""
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"disabled": {
|
|
42
|
+
"name": "disabled",
|
|
43
|
+
"description": "Whether the input is disabled. Bound by [formField] directive.",
|
|
44
|
+
"type": {
|
|
45
|
+
"name": "boolean"
|
|
46
|
+
},
|
|
47
|
+
"table": {
|
|
48
|
+
"category": "inputs",
|
|
49
|
+
"type": {
|
|
50
|
+
"summary": "boolean"
|
|
51
|
+
},
|
|
52
|
+
"defaultValue": {
|
|
53
|
+
"summary": false
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"errors": {
|
|
58
|
+
"name": "errors",
|
|
59
|
+
"description": "Validation errors from the form system. Bound by [formField] directive.",
|
|
60
|
+
"type": {
|
|
61
|
+
"name": "other",
|
|
62
|
+
"value": "empty-enum"
|
|
63
|
+
},
|
|
64
|
+
"table": {
|
|
65
|
+
"category": "inputs",
|
|
66
|
+
"type": {
|
|
67
|
+
"summary": "readonly WithOptionalFieldTree<ValidationError>[]"
|
|
68
|
+
},
|
|
69
|
+
"defaultValue": {
|
|
70
|
+
"summary": "[]"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"id": {
|
|
75
|
+
"name": "id",
|
|
76
|
+
"description": "Explicit id for the native input. Wins over the auto-generated id — set\nthis when something outside this component (an external `<label for>`,\nor `aria-describedby` from elsewhere on the page) needs a known, stable\nid to point at.",
|
|
77
|
+
"type": {
|
|
78
|
+
"name": "string"
|
|
79
|
+
},
|
|
80
|
+
"table": {
|
|
81
|
+
"category": "inputs",
|
|
82
|
+
"type": {
|
|
83
|
+
"summary": "string"
|
|
84
|
+
},
|
|
85
|
+
"defaultValue": {
|
|
86
|
+
"summary": ""
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"invalid": {
|
|
91
|
+
"name": "invalid",
|
|
92
|
+
"description": "Whether the input has validation errors. Bound by [formField] directive.",
|
|
93
|
+
"type": {
|
|
94
|
+
"name": "boolean"
|
|
95
|
+
},
|
|
96
|
+
"table": {
|
|
97
|
+
"category": "inputs",
|
|
98
|
+
"type": {
|
|
99
|
+
"summary": "boolean"
|
|
100
|
+
},
|
|
101
|
+
"defaultValue": {
|
|
102
|
+
"summary": false
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"label": {
|
|
107
|
+
"name": "label",
|
|
108
|
+
"description": "Visible caption rendered as a `<label>` associated with the input via\n`for`/`id`. Omit it when the field is captioned some other way (an\nexternal `<label>`, or `aria-label`) — without one of these the input\nhas no accessible name.",
|
|
109
|
+
"type": {
|
|
110
|
+
"name": "string"
|
|
111
|
+
},
|
|
112
|
+
"table": {
|
|
113
|
+
"category": "inputs",
|
|
114
|
+
"type": {
|
|
115
|
+
"summary": "string"
|
|
116
|
+
},
|
|
117
|
+
"defaultValue": {
|
|
118
|
+
"summary": ""
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"name": {
|
|
123
|
+
"name": "name",
|
|
124
|
+
"description": "The input's name attribute. Bound by [formField] directive.",
|
|
125
|
+
"type": {
|
|
126
|
+
"name": "string"
|
|
127
|
+
},
|
|
128
|
+
"table": {
|
|
129
|
+
"category": "inputs",
|
|
130
|
+
"type": {
|
|
131
|
+
"summary": "string"
|
|
132
|
+
},
|
|
133
|
+
"defaultValue": {
|
|
134
|
+
"summary": ""
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"placeholder": {
|
|
139
|
+
"name": "placeholder",
|
|
140
|
+
"description": "Placeholder text shown when the input is empty.",
|
|
141
|
+
"type": {
|
|
142
|
+
"name": "string"
|
|
143
|
+
},
|
|
144
|
+
"table": {
|
|
145
|
+
"category": "inputs",
|
|
146
|
+
"type": {
|
|
147
|
+
"summary": "string"
|
|
148
|
+
},
|
|
149
|
+
"defaultValue": {
|
|
150
|
+
"summary": ""
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"readonly": {
|
|
155
|
+
"name": "readonly",
|
|
156
|
+
"description": "Whether the input is read-only. Bound by [formField] directive.",
|
|
157
|
+
"type": {
|
|
158
|
+
"name": "boolean"
|
|
159
|
+
},
|
|
160
|
+
"table": {
|
|
161
|
+
"category": "inputs",
|
|
162
|
+
"type": {
|
|
163
|
+
"summary": "boolean"
|
|
164
|
+
},
|
|
165
|
+
"defaultValue": {
|
|
166
|
+
"summary": false
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": {
|
|
171
|
+
"name": "required",
|
|
172
|
+
"description": "Whether the input is required. Bound by [formField] directive.",
|
|
173
|
+
"type": {
|
|
174
|
+
"name": "boolean"
|
|
175
|
+
},
|
|
176
|
+
"table": {
|
|
177
|
+
"category": "inputs",
|
|
178
|
+
"type": {
|
|
179
|
+
"summary": "boolean"
|
|
180
|
+
},
|
|
181
|
+
"defaultValue": {
|
|
182
|
+
"summary": false
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"touched": {
|
|
187
|
+
"name": "touched",
|
|
188
|
+
"description": "Whether the user has interacted with the input. Bound by [formField] directive.",
|
|
189
|
+
"type": {
|
|
190
|
+
"name": "boolean"
|
|
191
|
+
},
|
|
192
|
+
"table": {
|
|
193
|
+
"category": "inputs",
|
|
194
|
+
"type": {
|
|
195
|
+
"summary": "boolean"
|
|
196
|
+
},
|
|
197
|
+
"defaultValue": {
|
|
198
|
+
"summary": false
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"type": {
|
|
203
|
+
"name": "type",
|
|
204
|
+
"description": "The type of input field.",
|
|
205
|
+
"type": {
|
|
206
|
+
"name": "enum",
|
|
207
|
+
"value": [
|
|
208
|
+
"text",
|
|
209
|
+
"email",
|
|
210
|
+
"password",
|
|
211
|
+
"number",
|
|
212
|
+
"tel",
|
|
213
|
+
"url"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"table": {
|
|
217
|
+
"category": "inputs",
|
|
218
|
+
"type": {
|
|
219
|
+
"summary": "\"text\" | \"email\" | \"password\" | \"number\" | \"tel\" | \"url\""
|
|
220
|
+
},
|
|
221
|
+
"defaultValue": {
|
|
222
|
+
"summary": "text"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"value": {
|
|
227
|
+
"name": "value",
|
|
228
|
+
"description": "The current input value. Bound by [formField] directive. Supports [(value)] two-way binding.",
|
|
229
|
+
"type": {
|
|
230
|
+
"name": "string"
|
|
231
|
+
},
|
|
232
|
+
"table": {
|
|
233
|
+
"category": "inputs",
|
|
234
|
+
"type": {
|
|
235
|
+
"summary": "string"
|
|
236
|
+
},
|
|
237
|
+
"defaultValue": {
|
|
238
|
+
"summary": ""
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"touchedChange": {
|
|
243
|
+
"name": "touchedChange",
|
|
244
|
+
"description": "Whether the user has interacted with the input. Bound by [formField] directive.",
|
|
245
|
+
"type": {
|
|
246
|
+
"name": "other",
|
|
247
|
+
"value": "void"
|
|
248
|
+
},
|
|
249
|
+
"action": "touchedChange",
|
|
250
|
+
"table": {
|
|
251
|
+
"category": "outputs",
|
|
252
|
+
"type": {
|
|
253
|
+
"summary": "(e: boolean) => void"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"valueChange": {
|
|
258
|
+
"name": "valueChange",
|
|
259
|
+
"description": "The current input value. Bound by [formField] directive. Supports [(value)] two-way binding.",
|
|
260
|
+
"type": {
|
|
261
|
+
"name": "other",
|
|
262
|
+
"value": "void"
|
|
263
|
+
},
|
|
264
|
+
"action": "valueChange",
|
|
265
|
+
"table": {
|
|
266
|
+
"category": "outputs",
|
|
267
|
+
"type": {
|
|
268
|
+
"summary": "(e: string) => void"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"apiDescription": "## Inputs\n\n```\nexport type AtlInputInputs = {\n /**\n * Accessible name for the native input, for when there is no visible\n * `label`. An aliased input rather than a plain host attribute: an\n * unrecognized `aria-label=\"…\"` on `<atl-input>` would sit on the host\n * element, which has no role, leaving the actual control unnamed.\n *\n * @default ''\n */\n \"aria-label\"?: string;\n /**\n * Whether the input is disabled. Bound by [formField] directive.\n *\n * @default false\n */\n disabled?: boolean;\n /**\n * Validation errors from the form system. Bound by [formField] directive.\n *\n * @default []\n */\n errors?: readonly WithOptionalFieldTree<ValidationError>[];\n /**\n * Explicit id for the native input. Wins over the auto-generated id — set\n * this when something outside this component (an external `<label for>`,\n * or `aria-describedby` from elsewhere on the page) needs a known, stable\n * id to point at.\n *\n * @default ''\n */\n id?: string;\n /**\n * Whether the input has validation errors. Bound by [formField] directive.\n *\n * @default false\n */\n invalid?: boolean;\n /**\n * Visible caption rendered as a `<label>` associated with the input via\n * `for`/`id`. Omit it when the field is captioned some other way (an\n * external `<label>`, or `aria-label`) — without one of these the input\n * has no accessible name.\n *\n * @default ''\n */\n label?: string;\n /**\n * The input's name attribute. Bound by [formField] directive.\n *\n * @default ''\n */\n name?: string;\n /**\n * Placeholder text shown when the input is empty.\n *\n * @default ''\n */\n placeholder?: string;\n /**\n * Whether the input is read-only. Bound by [formField] directive.\n *\n * @default false\n */\n readonly?: boolean;\n /**\n * Whether the input is required. Bound by [formField] directive.\n *\n * @default false\n */\n required?: boolean;\n /**\n * Whether the user has interacted with the input. Bound by [formField] directive.\n *\n * @default false\n */\n touched?: boolean; // two-way: [(touched)]\n /**\n * The type of input field.\n *\n * @default text\n */\n type?: \"text\" | \"email\" | \"password\" | \"number\" | \"tel\" | \"url\";\n /**\n * The current input value. Bound by [formField] directive. Supports [(value)] two-way binding.\n *\n * @default ''\n */\n value?: string; // two-way: [(value)]\n}\n```\n\n## Outputs\n\n```\nexport type AtlInputOutputs = {\n /** Whether the user has interacted with the input. Bound by [formField] directive. */\n touchedChange: (e: boolean) => void;\n /** The current input value. Bound by [formField] directive. Supports [(value)] two-way binding. */\n valueChange: (e: string) => void;\n}\n```",
|
|
274
|
+
"renderer": "angular",
|
|
275
|
+
"angularComponentMeta": {
|
|
276
|
+
"name": "AtlInput",
|
|
277
|
+
"selector": "atl-input",
|
|
278
|
+
"standalone": true,
|
|
279
|
+
"inputs": [
|
|
280
|
+
"aria-label",
|
|
281
|
+
"disabled",
|
|
282
|
+
"errors",
|
|
283
|
+
"id",
|
|
284
|
+
"invalid",
|
|
285
|
+
"label",
|
|
286
|
+
"name",
|
|
287
|
+
"placeholder",
|
|
288
|
+
"readonly",
|
|
289
|
+
"required",
|
|
290
|
+
"touched",
|
|
291
|
+
"type",
|
|
292
|
+
"value"
|
|
293
|
+
],
|
|
294
|
+
"outputs": [
|
|
295
|
+
"touchedChange",
|
|
296
|
+
"valueChange"
|
|
297
|
+
],
|
|
298
|
+
"enums": []
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"components-inputs-atlradio": {
|
|
4
|
+
"id": "components-inputs-atlradio",
|
|
5
|
+
"name": "AtlRadio",
|
|
6
|
+
"path": "./libs/angular/src/lib/radio/atl-radio.stories.ts",
|
|
7
|
+
"description": "Single-select control. RadioGroup owns the bound value; each Radio child contributes one mutually exclusive option.\n\nIndividual radio button. Must be placed inside an `atl-radio-group`.\n\nUsage:\n```html\n<atl-radio-group [(value)]=\"selected\" name=\"plan\">\n <atl-radio radioValue=\"free\">Free</atl-radio>\n <atl-radio radioValue=\"pro\">Pro</atl-radio>\n</atl-radio-group>\n```",
|
|
8
|
+
"jsDocTags": {},
|
|
9
|
+
"argTypes": {
|
|
10
|
+
"disabled": {
|
|
11
|
+
"name": "disabled",
|
|
12
|
+
"description": "Whether this specific radio is individually disabled (stacked with group disabled).",
|
|
13
|
+
"type": {
|
|
14
|
+
"name": "boolean"
|
|
15
|
+
},
|
|
16
|
+
"table": {
|
|
17
|
+
"category": "inputs",
|
|
18
|
+
"type": {
|
|
19
|
+
"summary": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"defaultValue": {
|
|
22
|
+
"summary": false
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"radioValue": {
|
|
27
|
+
"name": "radioValue",
|
|
28
|
+
"description": "The value this radio option represents within the group.",
|
|
29
|
+
"type": {
|
|
30
|
+
"name": "string",
|
|
31
|
+
"required": true
|
|
32
|
+
},
|
|
33
|
+
"table": {
|
|
34
|
+
"category": "inputs",
|
|
35
|
+
"type": {
|
|
36
|
+
"summary": "string"
|
|
37
|
+
},
|
|
38
|
+
"defaultValue": {}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"ngOnDestroy": {
|
|
42
|
+
"name": "ngOnDestroy",
|
|
43
|
+
"type": {
|
|
44
|
+
"name": "other",
|
|
45
|
+
"value": "void"
|
|
46
|
+
},
|
|
47
|
+
"table": {
|
|
48
|
+
"category": "methods",
|
|
49
|
+
"type": {
|
|
50
|
+
"summary": "() => void"
|
|
51
|
+
},
|
|
52
|
+
"defaultValue": {}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"ngOnInit": {
|
|
56
|
+
"name": "ngOnInit",
|
|
57
|
+
"type": {
|
|
58
|
+
"name": "other",
|
|
59
|
+
"value": "void"
|
|
60
|
+
},
|
|
61
|
+
"table": {
|
|
62
|
+
"category": "methods",
|
|
63
|
+
"type": {
|
|
64
|
+
"summary": "() => void"
|
|
65
|
+
},
|
|
66
|
+
"defaultValue": {}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"onChange": {
|
|
70
|
+
"name": "onChange",
|
|
71
|
+
"type": {
|
|
72
|
+
"name": "other",
|
|
73
|
+
"value": "void"
|
|
74
|
+
},
|
|
75
|
+
"table": {
|
|
76
|
+
"category": "methods",
|
|
77
|
+
"type": {
|
|
78
|
+
"summary": "() => void"
|
|
79
|
+
},
|
|
80
|
+
"defaultValue": {}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"onClick": {
|
|
84
|
+
"name": "onClick",
|
|
85
|
+
"description": "readonly is enforced by cancelling the click, not only by the group's\n`select()` guard: HTML ignores `readonly` on a radio, so the input would flip\nits own DOM state while the model stayed put — and with OnPush nothing\nre-renders to correct it. See ADR-0045.",
|
|
86
|
+
"type": {
|
|
87
|
+
"name": "other",
|
|
88
|
+
"value": "void"
|
|
89
|
+
},
|
|
90
|
+
"table": {
|
|
91
|
+
"category": "methods",
|
|
92
|
+
"type": {
|
|
93
|
+
"summary": "(event: Event) => void"
|
|
94
|
+
},
|
|
95
|
+
"defaultValue": {}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"apiDescription": "## Inputs\n\n```\nexport type AtlRadioInputs = {\n /**\n * Whether this specific radio is individually disabled (stacked with group disabled).\n *\n * @default false\n */\n disabled?: boolean;\n /** The value this radio option represents within the group. */\n radioValue: string;\n}\n```",
|
|
100
|
+
"renderer": "angular",
|
|
101
|
+
"angularComponentMeta": {
|
|
102
|
+
"name": "AtlRadio",
|
|
103
|
+
"selector": "atl-radio",
|
|
104
|
+
"standalone": true,
|
|
105
|
+
"inputs": [
|
|
106
|
+
"disabled",
|
|
107
|
+
"radioValue"
|
|
108
|
+
],
|
|
109
|
+
"outputs": [],
|
|
110
|
+
"enums": []
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"components-inputs-atlradiogroup": {
|
|
4
|
+
"id": "components-inputs-atlradiogroup",
|
|
5
|
+
"name": "AtlRadioGroup",
|
|
6
|
+
"path": "./libs/angular/src/lib/radio-group/atl-radio-group.stories.ts",
|
|
7
|
+
"description": "Single-select control. RadioGroup owns the bound value; each Radio child contributes one mutually exclusive option.\n\nContainer for a group of radio buttons. Manages keyboard navigation, shared name,\nand Signal Forms integration.\n\nUsage:\n```html\n<atl-radio-group [(value)]=\"size\" name=\"size\">\n <atl-radio radioValue=\"sm\">Small</atl-radio>\n <atl-radio radioValue=\"md\">Medium</atl-radio>\n <atl-radio radioValue=\"lg\">Large</atl-radio>\n</atl-radio-group>\n\n<!-- Accessible name: a group has no <label for>, so pass `aria-label` or\n `aria-labelledby` (static or bound with [aria-label]); dev mode warns\n when both are missing (ADR-0171). -->\n<atl-radio-group aria-label=\"Plan size\" [(value)]=\"size\"> … </atl-radio-group>\n\n<!-- With Signal Forms -->\n<atl-radio-group [formField]=\"form.size\">\n <atl-radio radioValue=\"sm\">Small</atl-radio>\n</atl-radio-group>\n```",
|
|
8
|
+
"jsDocTags": {},
|
|
9
|
+
"argTypes": {
|
|
10
|
+
"showErrors": {
|
|
11
|
+
"name": "showErrors",
|
|
12
|
+
"description": "The message renders when there is a message. Gating it on `touched` as well was\nan Angular-only rule: `touched` is not in the spec contract and React and Vue have\nno equivalent, so the same four fields showed their errors at three different\nmoments depending on the framework. Deciding *when* to pass errors belongs to the\nform layer, which is where `touched` lives (ADR-0055).",
|
|
13
|
+
"type": {
|
|
14
|
+
"name": "other",
|
|
15
|
+
"value": "empty-enum"
|
|
16
|
+
},
|
|
17
|
+
"table": {
|
|
18
|
+
"category": "properties",
|
|
19
|
+
"type": {
|
|
20
|
+
"summary": "Signal<boolean>"
|
|
21
|
+
},
|
|
22
|
+
"defaultValue": {}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"aria-label": {
|
|
26
|
+
"name": "aria-label",
|
|
27
|
+
"description": "Accessible name of the group, written as `aria-label` on the host, which\ncarries `role=\"radiogroup\"`. A `<label for>` cannot name a group, so a group\nneeds this or `aria-labelledby`. An aliased input rather than a plain host\nattribute, so it is declared, bindable (`[aria-label]`) and in the spec\ncontract; see `atl-input.ts`'s identical `ariaLabel`.",
|
|
28
|
+
"type": {
|
|
29
|
+
"name": "string"
|
|
30
|
+
},
|
|
31
|
+
"table": {
|
|
32
|
+
"category": "inputs",
|
|
33
|
+
"type": {
|
|
34
|
+
"summary": "string"
|
|
35
|
+
},
|
|
36
|
+
"defaultValue": {
|
|
37
|
+
"summary": ""
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"aria-labelledby": {
|
|
42
|
+
"name": "aria-labelledby",
|
|
43
|
+
"description": "Id of the visible caption that names the group. Use instead of `aria-label`\nwhen the text is on screen.",
|
|
44
|
+
"type": {
|
|
45
|
+
"name": "string"
|
|
46
|
+
},
|
|
47
|
+
"table": {
|
|
48
|
+
"category": "inputs",
|
|
49
|
+
"type": {
|
|
50
|
+
"summary": "string"
|
|
51
|
+
},
|
|
52
|
+
"defaultValue": {
|
|
53
|
+
"summary": ""
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"disabled": {
|
|
58
|
+
"name": "disabled",
|
|
59
|
+
"description": "Whether the group is disabled. Bound by [formField] directive.",
|
|
60
|
+
"type": {
|
|
61
|
+
"name": "boolean"
|
|
62
|
+
},
|
|
63
|
+
"table": {
|
|
64
|
+
"category": "inputs",
|
|
65
|
+
"type": {
|
|
66
|
+
"summary": "boolean"
|
|
67
|
+
},
|
|
68
|
+
"defaultValue": {
|
|
69
|
+
"summary": false
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"errors": {
|
|
74
|
+
"name": "errors",
|
|
75
|
+
"description": "Validation errors from the form system. Bound by [formField] directive.",
|
|
76
|
+
"type": {
|
|
77
|
+
"name": "other",
|
|
78
|
+
"value": "empty-enum"
|
|
79
|
+
},
|
|
80
|
+
"table": {
|
|
81
|
+
"category": "inputs",
|
|
82
|
+
"type": {
|
|
83
|
+
"summary": "readonly WithOptionalFieldTree<ValidationError>[]"
|
|
84
|
+
},
|
|
85
|
+
"defaultValue": {
|
|
86
|
+
"summary": "[]"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"invalid": {
|
|
91
|
+
"name": "invalid",
|
|
92
|
+
"description": "Whether the group has validation errors. Bound by [formField] directive.",
|
|
93
|
+
"type": {
|
|
94
|
+
"name": "boolean"
|
|
95
|
+
},
|
|
96
|
+
"table": {
|
|
97
|
+
"category": "inputs",
|
|
98
|
+
"type": {
|
|
99
|
+
"summary": "boolean"
|
|
100
|
+
},
|
|
101
|
+
"defaultValue": {
|
|
102
|
+
"summary": false
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"name": {
|
|
107
|
+
"name": "name",
|
|
108
|
+
"description": "Shared name attribute propagated to all child radio inputs. Bound by [formField] directive.",
|
|
109
|
+
"type": {
|
|
110
|
+
"name": "string"
|
|
111
|
+
},
|
|
112
|
+
"table": {
|
|
113
|
+
"category": "inputs",
|
|
114
|
+
"type": {
|
|
115
|
+
"summary": "string"
|
|
116
|
+
},
|
|
117
|
+
"defaultValue": {
|
|
118
|
+
"summary": ""
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"readonly": {
|
|
123
|
+
"name": "readonly",
|
|
124
|
+
"description": "Whether the selection can be read but not changed. Enforced by the guards in\n`select()` and `onKeydown()`: HTML ignores `readonly` on a radio input, so the\ngroup has to block the change itself. See ADR-0045.",
|
|
125
|
+
"type": {
|
|
126
|
+
"name": "boolean"
|
|
127
|
+
},
|
|
128
|
+
"table": {
|
|
129
|
+
"category": "inputs",
|
|
130
|
+
"type": {
|
|
131
|
+
"summary": "boolean"
|
|
132
|
+
},
|
|
133
|
+
"defaultValue": {
|
|
134
|
+
"summary": false
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": {
|
|
139
|
+
"name": "required",
|
|
140
|
+
"description": "Whether the group is required. Bound by [formField] directive.",
|
|
141
|
+
"type": {
|
|
142
|
+
"name": "boolean"
|
|
143
|
+
},
|
|
144
|
+
"table": {
|
|
145
|
+
"category": "inputs",
|
|
146
|
+
"type": {
|
|
147
|
+
"summary": "boolean"
|
|
148
|
+
},
|
|
149
|
+
"defaultValue": {
|
|
150
|
+
"summary": false
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"touched": {
|
|
155
|
+
"name": "touched",
|
|
156
|
+
"description": "Whether the user has interacted. Bound by [formField] directive.",
|
|
157
|
+
"type": {
|
|
158
|
+
"name": "boolean"
|
|
159
|
+
},
|
|
160
|
+
"table": {
|
|
161
|
+
"category": "inputs",
|
|
162
|
+
"type": {
|
|
163
|
+
"summary": "boolean"
|
|
164
|
+
},
|
|
165
|
+
"defaultValue": {
|
|
166
|
+
"summary": false
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"value": {
|
|
171
|
+
"name": "value",
|
|
172
|
+
"description": "The selected value. Bound by [formField] directive. Supports [(value)] two-way binding.",
|
|
173
|
+
"type": {
|
|
174
|
+
"name": "string"
|
|
175
|
+
},
|
|
176
|
+
"table": {
|
|
177
|
+
"category": "inputs",
|
|
178
|
+
"type": {
|
|
179
|
+
"summary": "string"
|
|
180
|
+
},
|
|
181
|
+
"defaultValue": {
|
|
182
|
+
"summary": ""
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"touchedChange": {
|
|
187
|
+
"name": "touchedChange",
|
|
188
|
+
"description": "Whether the user has interacted. Bound by [formField] directive.",
|
|
189
|
+
"type": {
|
|
190
|
+
"name": "other",
|
|
191
|
+
"value": "void"
|
|
192
|
+
},
|
|
193
|
+
"action": "touchedChange",
|
|
194
|
+
"table": {
|
|
195
|
+
"category": "outputs",
|
|
196
|
+
"type": {
|
|
197
|
+
"summary": "(e: boolean) => void"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"valueChange": {
|
|
202
|
+
"name": "valueChange",
|
|
203
|
+
"description": "The selected value. Bound by [formField] directive. Supports [(value)] two-way binding.",
|
|
204
|
+
"type": {
|
|
205
|
+
"name": "other",
|
|
206
|
+
"value": "void"
|
|
207
|
+
},
|
|
208
|
+
"action": "valueChange",
|
|
209
|
+
"table": {
|
|
210
|
+
"category": "outputs",
|
|
211
|
+
"type": {
|
|
212
|
+
"summary": "(e: string) => void"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"apiDescription": "## Inputs\n\n```\nexport type AtlRadioGroupInputs = {\n /**\n * Accessible name of the group, written as `aria-label` on the host, which\n * carries `role=\"radiogroup\"`. A `<label for>` cannot name a group, so a group\n * needs this or `aria-labelledby`. An aliased input rather than a plain host\n * attribute, so it is declared, bindable (`[aria-label]`) and in the spec\n * contract; see `atl-input.ts`'s identical `ariaLabel`.\n *\n * @default ''\n */\n \"aria-label\"?: string;\n /**\n * Id of the visible caption that names the group. Use instead of `aria-label`\n * when the text is on screen.\n *\n * @default ''\n */\n \"aria-labelledby\"?: string;\n /**\n * Whether the group is disabled. Bound by [formField] directive.\n *\n * @default false\n */\n disabled?: boolean;\n /**\n * Validation errors from the form system. Bound by [formField] directive.\n *\n * @default []\n */\n errors?: readonly WithOptionalFieldTree<ValidationError>[];\n /**\n * Whether the group has validation errors. Bound by [formField] directive.\n *\n * @default false\n */\n invalid?: boolean;\n /**\n * Shared name attribute propagated to all child radio inputs. Bound by [formField] directive.\n *\n * @default ''\n */\n name?: string;\n /**\n * Whether the selection can be read but not changed. Enforced by the guards in\n * `select()` and `onKeydown()`: HTML ignores `readonly` on a radio input, so the\n * group has to block the change itself. See ADR-0045.\n *\n * @default false\n */\n readonly?: boolean;\n /**\n * Whether the group is required. Bound by [formField] directive.\n *\n * @default false\n */\n required?: boolean;\n /**\n * Whether the user has interacted. Bound by [formField] directive.\n *\n * @default false\n */\n touched?: boolean; // two-way: [(touched)]\n /**\n * The selected value. Bound by [formField] directive. Supports [(value)] two-way binding.\n *\n * @default ''\n */\n value?: string; // two-way: [(value)]\n}\n```\n\n## Outputs\n\n```\nexport type AtlRadioGroupOutputs = {\n /** Whether the user has interacted. Bound by [formField] directive. */\n touchedChange: (e: boolean) => void;\n /** The selected value. Bound by [formField] directive. Supports [(value)] two-way binding. */\n valueChange: (e: string) => void;\n}\n```",
|
|
218
|
+
"renderer": "angular",
|
|
219
|
+
"angularComponentMeta": {
|
|
220
|
+
"name": "AtlRadioGroup",
|
|
221
|
+
"selector": "atl-radio-group",
|
|
222
|
+
"standalone": true,
|
|
223
|
+
"inputs": [
|
|
224
|
+
"aria-label",
|
|
225
|
+
"aria-labelledby",
|
|
226
|
+
"disabled",
|
|
227
|
+
"errors",
|
|
228
|
+
"invalid",
|
|
229
|
+
"name",
|
|
230
|
+
"readonly",
|
|
231
|
+
"required",
|
|
232
|
+
"touched",
|
|
233
|
+
"value"
|
|
234
|
+
],
|
|
235
|
+
"outputs": [
|
|
236
|
+
"touchedChange",
|
|
237
|
+
"valueChange"
|
|
238
|
+
],
|
|
239
|
+
"enums": []
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|