@atelier-ui/mcp 0.0.0-stage → 0.4.13
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,257 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"components-inputs-atlselect": {
|
|
4
|
+
"id": "components-inputs-atlselect",
|
|
5
|
+
"name": "AtlSelect",
|
|
6
|
+
"path": "./libs/angular/src/lib/select/atl-select.stories.ts",
|
|
7
|
+
"description": "Dropdown picker for one value from a known list. React and Vue render a native `<select>`; Angular renders a combobox button with a CDK listbox. Option children declare the available values.\n\nAccessible dropdown select component for use with Angular Signal Forms.\nUses the CDK Overlay for viewport-aware panel positioning.\n\nUsage:\n```html\n<atl-select [(value)]=\"country\" placeholder=\"Select a country\">\n <atl-option optionValue=\"us\">United States</atl-option>\n <atl-option optionValue=\"ca\">Canada</atl-option>\n</atl-select>\n\n<!-- With Signal Forms -->\n<atl-select [formField]=\"form.country\" placeholder=\"Select a country\">\n <atl-option optionValue=\"us\">United States</atl-option>\n</atl-select>\n\n<atl-select label=\"Country\" [(value)]=\"country\" placeholder=\"Select a country\">\n <atl-option optionValue=\"us\">United States</atl-option>\n</atl-select>\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 trigger button, for when there is no visible\n`label`. An aliased input rather than a plain host attribute — see\n`atl-input.ts`'s identical `ariaLabel` for why.",
|
|
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 select 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
|
+
"invalid": {
|
|
75
|
+
"name": "invalid",
|
|
76
|
+
"description": "Whether the select has validation errors. Bound by [formField] directive.",
|
|
77
|
+
"type": {
|
|
78
|
+
"name": "boolean"
|
|
79
|
+
},
|
|
80
|
+
"table": {
|
|
81
|
+
"category": "inputs",
|
|
82
|
+
"type": {
|
|
83
|
+
"summary": "boolean"
|
|
84
|
+
},
|
|
85
|
+
"defaultValue": {
|
|
86
|
+
"summary": false
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"label": {
|
|
91
|
+
"name": "label",
|
|
92
|
+
"description": "Visible caption rendered as a `<label>` associated with the trigger\nbutton via `for`/`id`. Omit it when the field is captioned some other\nway (an external `<label>`, or `aria-label`) — without one of these the\nselect has no accessible name (this is the L1 backlog item: a select\nwith neither produces exactly that).",
|
|
93
|
+
"type": {
|
|
94
|
+
"name": "string"
|
|
95
|
+
},
|
|
96
|
+
"table": {
|
|
97
|
+
"category": "inputs",
|
|
98
|
+
"type": {
|
|
99
|
+
"summary": "string"
|
|
100
|
+
},
|
|
101
|
+
"defaultValue": {
|
|
102
|
+
"summary": ""
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"name": {
|
|
107
|
+
"name": "name",
|
|
108
|
+
"description": "The input's name attribute. 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
|
+
"placeholder": {
|
|
123
|
+
"name": "placeholder",
|
|
124
|
+
"description": "Placeholder text shown when no option is selected.",
|
|
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
|
+
"required": {
|
|
139
|
+
"name": "required",
|
|
140
|
+
"description": "Whether the select 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
|
+
"ngOnDestroy": {
|
|
217
|
+
"name": "ngOnDestroy",
|
|
218
|
+
"type": {
|
|
219
|
+
"name": "other",
|
|
220
|
+
"value": "void"
|
|
221
|
+
},
|
|
222
|
+
"table": {
|
|
223
|
+
"category": "methods",
|
|
224
|
+
"type": {
|
|
225
|
+
"summary": "() => void"
|
|
226
|
+
},
|
|
227
|
+
"defaultValue": {}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"apiDescription": "## Inputs\n\n```\nexport type AtlSelectInputs = {\n /**\n * Accessible name for the trigger button, for when there is no visible\n * `label`. An aliased input rather than a plain host attribute — see\n * `atl-input.ts`'s identical `ariaLabel` for why.\n *\n * @default ''\n */\n \"aria-label\"?: string;\n /**\n * Whether the select 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 select 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 trigger\n * button via `for`/`id`. Omit it when the field is captioned some other\n * way (an external `<label>`, or `aria-label`) — without one of these the\n * select has no accessible name (this is the L1 backlog item: a select\n * with neither produces exactly that).\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 no option is selected.\n *\n * @default ''\n */\n placeholder?: string;\n /**\n * Whether the select 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 AtlSelectOutputs = {\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```",
|
|
232
|
+
"renderer": "angular",
|
|
233
|
+
"angularComponentMeta": {
|
|
234
|
+
"name": "AtlSelect",
|
|
235
|
+
"selector": "atl-select",
|
|
236
|
+
"standalone": true,
|
|
237
|
+
"inputs": [
|
|
238
|
+
"aria-label",
|
|
239
|
+
"disabled",
|
|
240
|
+
"errors",
|
|
241
|
+
"invalid",
|
|
242
|
+
"label",
|
|
243
|
+
"name",
|
|
244
|
+
"placeholder",
|
|
245
|
+
"required",
|
|
246
|
+
"touched",
|
|
247
|
+
"value"
|
|
248
|
+
],
|
|
249
|
+
"outputs": [
|
|
250
|
+
"touchedChange",
|
|
251
|
+
"valueChange"
|
|
252
|
+
],
|
|
253
|
+
"enums": []
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"components-inputs-atltextarea": {
|
|
4
|
+
"id": "components-inputs-atltextarea",
|
|
5
|
+
"name": "AtlTextarea",
|
|
6
|
+
"path": "./libs/angular/src/lib/textarea/atl-textarea.stories.ts",
|
|
7
|
+
"description": "Multi-line text field. Renders a `<textarea>` sized for wrapping prose, with optional auto-resize as content grows.\n\nAccessible multiline text input component for use with Angular Signal Forms.\n\nUsage:\n```html\n<atl-textarea placeholder=\"Enter a description\" [(value)]=\"description\" />\n<atl-textarea [formField]=\"form.bio\" [rows]=\"4\" />\n<atl-textarea label=\"Bio\" [(value)]=\"bio\" />\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 textarea, for when there is no visible\n`label`. An aliased input rather than a plain host attribute — see\n`atl-input.ts`'s identical `ariaLabel` for why.",
|
|
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
|
+
"autoResize": {
|
|
42
|
+
"name": "autoResize",
|
|
43
|
+
"description": "Whether to auto-resize the textarea height to fit its content.",
|
|
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
|
+
"disabled": {
|
|
58
|
+
"name": "disabled",
|
|
59
|
+
"description": "Whether the textarea 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
|
+
"id": {
|
|
91
|
+
"name": "id",
|
|
92
|
+
"description": "Explicit id for the native textarea. Wins over the auto-generated id —\nset this when something outside this component (an external\n`<label for>`, or `aria-describedby` from elsewhere on the page) needs a\nknown, stable id to point at.",
|
|
93
|
+
"type": {
|
|
94
|
+
"name": "string"
|
|
95
|
+
},
|
|
96
|
+
"table": {
|
|
97
|
+
"category": "inputs",
|
|
98
|
+
"type": {
|
|
99
|
+
"summary": "string"
|
|
100
|
+
},
|
|
101
|
+
"defaultValue": {
|
|
102
|
+
"summary": ""
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"invalid": {
|
|
107
|
+
"name": "invalid",
|
|
108
|
+
"description": "Whether the textarea has validation errors. Bound by [formField] directive.",
|
|
109
|
+
"type": {
|
|
110
|
+
"name": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"table": {
|
|
113
|
+
"category": "inputs",
|
|
114
|
+
"type": {
|
|
115
|
+
"summary": "boolean"
|
|
116
|
+
},
|
|
117
|
+
"defaultValue": {
|
|
118
|
+
"summary": false
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"label": {
|
|
123
|
+
"name": "label",
|
|
124
|
+
"description": "Visible caption rendered as a `<label>` associated with the textarea 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 textarea\nhas no accessible name.",
|
|
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
|
+
"name": {
|
|
139
|
+
"name": "name",
|
|
140
|
+
"description": "The textarea's name attribute. Bound by [formField] directive.",
|
|
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
|
+
"placeholder": {
|
|
155
|
+
"name": "placeholder",
|
|
156
|
+
"description": "Placeholder text shown when the textarea is empty.",
|
|
157
|
+
"type": {
|
|
158
|
+
"name": "string"
|
|
159
|
+
},
|
|
160
|
+
"table": {
|
|
161
|
+
"category": "inputs",
|
|
162
|
+
"type": {
|
|
163
|
+
"summary": "string"
|
|
164
|
+
},
|
|
165
|
+
"defaultValue": {
|
|
166
|
+
"summary": ""
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"readonly": {
|
|
171
|
+
"name": "readonly",
|
|
172
|
+
"description": "Whether the textarea is read-only. 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
|
+
"required": {
|
|
187
|
+
"name": "required",
|
|
188
|
+
"description": "Whether the textarea is required. 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
|
+
"rows": {
|
|
203
|
+
"name": "rows",
|
|
204
|
+
"description": "Number of visible text rows.",
|
|
205
|
+
"type": {
|
|
206
|
+
"name": "number"
|
|
207
|
+
},
|
|
208
|
+
"table": {
|
|
209
|
+
"category": "inputs",
|
|
210
|
+
"type": {
|
|
211
|
+
"summary": "number"
|
|
212
|
+
},
|
|
213
|
+
"defaultValue": {
|
|
214
|
+
"summary": 3
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"touched": {
|
|
219
|
+
"name": "touched",
|
|
220
|
+
"description": "Whether the user has interacted with the textarea. Bound by [formField] directive.",
|
|
221
|
+
"type": {
|
|
222
|
+
"name": "boolean"
|
|
223
|
+
},
|
|
224
|
+
"table": {
|
|
225
|
+
"category": "inputs",
|
|
226
|
+
"type": {
|
|
227
|
+
"summary": "boolean"
|
|
228
|
+
},
|
|
229
|
+
"defaultValue": {
|
|
230
|
+
"summary": false
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"value": {
|
|
235
|
+
"name": "value",
|
|
236
|
+
"description": "The current textarea value. Supports [(value)] two-way binding.",
|
|
237
|
+
"type": {
|
|
238
|
+
"name": "string"
|
|
239
|
+
},
|
|
240
|
+
"table": {
|
|
241
|
+
"category": "inputs",
|
|
242
|
+
"type": {
|
|
243
|
+
"summary": "string"
|
|
244
|
+
},
|
|
245
|
+
"defaultValue": {
|
|
246
|
+
"summary": ""
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"touchedChange": {
|
|
251
|
+
"name": "touchedChange",
|
|
252
|
+
"description": "Whether the user has interacted with the textarea. Bound by [formField] directive.",
|
|
253
|
+
"type": {
|
|
254
|
+
"name": "other",
|
|
255
|
+
"value": "void"
|
|
256
|
+
},
|
|
257
|
+
"action": "touchedChange",
|
|
258
|
+
"table": {
|
|
259
|
+
"category": "outputs",
|
|
260
|
+
"type": {
|
|
261
|
+
"summary": "(e: boolean) => void"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"valueChange": {
|
|
266
|
+
"name": "valueChange",
|
|
267
|
+
"description": "The current textarea value. Supports [(value)] two-way binding.",
|
|
268
|
+
"type": {
|
|
269
|
+
"name": "other",
|
|
270
|
+
"value": "void"
|
|
271
|
+
},
|
|
272
|
+
"action": "valueChange",
|
|
273
|
+
"table": {
|
|
274
|
+
"category": "outputs",
|
|
275
|
+
"type": {
|
|
276
|
+
"summary": "(e: string) => void"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"apiDescription": "## Inputs\n\n```\nexport type AtlTextareaInputs = {\n /**\n * Accessible name for the native textarea, for when there is no visible\n * `label`. An aliased input rather than a plain host attribute — see\n * `atl-input.ts`'s identical `ariaLabel` for why.\n *\n * @default ''\n */\n \"aria-label\"?: string;\n /**\n * Whether to auto-resize the textarea height to fit its content.\n *\n * @default false\n */\n autoResize?: boolean;\n /**\n * Whether the textarea 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 textarea. Wins over the auto-generated id —\n * set this when something outside this component (an external\n * `<label for>`, or `aria-describedby` from elsewhere on the page) needs a\n * known, stable id to point at.\n *\n * @default ''\n */\n id?: string;\n /**\n * Whether the textarea 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 textarea 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 textarea\n * has no accessible name.\n *\n * @default ''\n */\n label?: string;\n /**\n * The textarea's name attribute. Bound by [formField] directive.\n *\n * @default ''\n */\n name?: string;\n /**\n * Placeholder text shown when the textarea is empty.\n *\n * @default ''\n */\n placeholder?: string;\n /**\n * Whether the textarea is read-only. Bound by [formField] directive.\n *\n * @default false\n */\n readonly?: boolean;\n /**\n * Whether the textarea is required. Bound by [formField] directive.\n *\n * @default false\n */\n required?: boolean;\n /**\n * Number of visible text rows.\n *\n * @default 3\n */\n rows?: number;\n /**\n * Whether the user has interacted with the textarea. Bound by [formField] directive.\n *\n * @default false\n */\n touched?: boolean; // two-way: [(touched)]\n /**\n * The current textarea value. Supports [(value)] two-way binding.\n *\n * @default ''\n */\n value?: string; // two-way: [(value)]\n}\n```\n\n## Outputs\n\n```\nexport type AtlTextareaOutputs = {\n /** Whether the user has interacted with the textarea. Bound by [formField] directive. */\n touchedChange: (e: boolean) => void;\n /** The current textarea value. Supports [(value)] two-way binding. */\n valueChange: (e: string) => void;\n}\n```",
|
|
282
|
+
"renderer": "angular",
|
|
283
|
+
"angularComponentMeta": {
|
|
284
|
+
"name": "AtlTextarea",
|
|
285
|
+
"selector": "atl-textarea",
|
|
286
|
+
"standalone": true,
|
|
287
|
+
"inputs": [
|
|
288
|
+
"aria-label",
|
|
289
|
+
"autoResize",
|
|
290
|
+
"disabled",
|
|
291
|
+
"errors",
|
|
292
|
+
"id",
|
|
293
|
+
"invalid",
|
|
294
|
+
"label",
|
|
295
|
+
"name",
|
|
296
|
+
"placeholder",
|
|
297
|
+
"readonly",
|
|
298
|
+
"required",
|
|
299
|
+
"rows",
|
|
300
|
+
"touched",
|
|
301
|
+
"value"
|
|
302
|
+
],
|
|
303
|
+
"outputs": [
|
|
304
|
+
"touchedChange",
|
|
305
|
+
"valueChange"
|
|
306
|
+
],
|
|
307
|
+
"enums": []
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|