@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,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
|
+
}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"components-inputs-atltoggle": {
|
|
4
|
+
"id": "components-inputs-atltoggle",
|
|
5
|
+
"name": "AtlToggle",
|
|
6
|
+
"path": "./libs/angular/src/lib/toggle/atl-toggle.stories.ts",
|
|
7
|
+
"description": "On/off switch for a setting that takes effect immediately. Renders a switch control bound to a boolean form value.\n\nAccessible toggle (switch) component for use with Angular Signal Forms.\nPresents as a pill-shaped on/off slider instead of a checkbox box,\nbut has identical boolean semantics and implements FormCheckboxControl.\n\nUsage:\n```html\n<atl-toggle [(checked)]=\"enabled\">Enable notifications</atl-toggle>\n<atl-toggle [formField]=\"form.enabled\">Enable</atl-toggle>\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
|
+
"checked": {
|
|
26
|
+
"name": "checked",
|
|
27
|
+
"description": "The checked state. Bound by [formField] directive. Supports [(checked)] two-way binding.",
|
|
28
|
+
"type": {
|
|
29
|
+
"name": "boolean"
|
|
30
|
+
},
|
|
31
|
+
"table": {
|
|
32
|
+
"category": "inputs",
|
|
33
|
+
"type": {
|
|
34
|
+
"summary": "boolean"
|
|
35
|
+
},
|
|
36
|
+
"defaultValue": {
|
|
37
|
+
"summary": false
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"disabled": {
|
|
42
|
+
"name": "disabled",
|
|
43
|
+
"description": "Whether the toggle 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 generated id — set this\nwhen something outside the component (an external `<label for>`, or\n`aria-describedby` from elsewhere on the page) needs a stable id 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 toggle 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": "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
|
+
"required": {
|
|
123
|
+
"name": "required",
|
|
124
|
+
"description": "Whether the toggle is required. Bound by [formField] directive.",
|
|
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
|
+
"touched": {
|
|
139
|
+
"name": "touched",
|
|
140
|
+
"description": "Whether the user has interacted with the input. 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
|
+
"checkedChange": {
|
|
155
|
+
"name": "checkedChange",
|
|
156
|
+
"description": "The checked state. Bound by [formField] directive. Supports [(checked)] two-way binding.",
|
|
157
|
+
"type": {
|
|
158
|
+
"name": "other",
|
|
159
|
+
"value": "void"
|
|
160
|
+
},
|
|
161
|
+
"action": "checkedChange",
|
|
162
|
+
"table": {
|
|
163
|
+
"category": "outputs",
|
|
164
|
+
"type": {
|
|
165
|
+
"summary": "(e: boolean) => void"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"touchedChange": {
|
|
170
|
+
"name": "touchedChange",
|
|
171
|
+
"description": "Whether the user has interacted with the input. Bound by [formField] directive.",
|
|
172
|
+
"type": {
|
|
173
|
+
"name": "other",
|
|
174
|
+
"value": "void"
|
|
175
|
+
},
|
|
176
|
+
"action": "touchedChange",
|
|
177
|
+
"table": {
|
|
178
|
+
"category": "outputs",
|
|
179
|
+
"type": {
|
|
180
|
+
"summary": "(e: boolean) => void"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"apiDescription": "## Inputs\n\n```\nexport type AtlToggleInputs = {\n /**\n * The checked state. Bound by [formField] directive. Supports [(checked)] two-way binding.\n *\n * @default false\n */\n checked?: boolean; // two-way: [(checked)]\n /**\n * Whether the toggle 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 generated id — set this\n * when something outside the component (an external `<label for>`, or\n * `aria-describedby` from elsewhere on the page) needs a stable id to point at.\n *\n * @default ''\n */\n id?: string;\n /**\n * Whether the toggle has validation errors. Bound by [formField] directive.\n *\n * @default false\n */\n invalid?: boolean;\n /**\n * The input's name attribute. Bound by [formField] directive.\n *\n * @default ''\n */\n name?: string;\n /**\n * Whether the toggle 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```\n\n## Outputs\n\n```\nexport type AtlToggleOutputs = {\n /** The checked state. Bound by [formField] directive. Supports [(checked)] two-way binding. */\n checkedChange: (e: boolean) => void;\n /** Whether the user has interacted with the input. Bound by [formField] directive. */\n touchedChange: (e: boolean) => void;\n}\n```",
|
|
186
|
+
"renderer": "angular",
|
|
187
|
+
"angularComponentMeta": {
|
|
188
|
+
"name": "AtlToggle",
|
|
189
|
+
"selector": "atl-toggle",
|
|
190
|
+
"standalone": true,
|
|
191
|
+
"inputs": [
|
|
192
|
+
"checked",
|
|
193
|
+
"disabled",
|
|
194
|
+
"errors",
|
|
195
|
+
"id",
|
|
196
|
+
"invalid",
|
|
197
|
+
"name",
|
|
198
|
+
"required",
|
|
199
|
+
"touched"
|
|
200
|
+
],
|
|
201
|
+
"outputs": [
|
|
202
|
+
"checkedChange",
|
|
203
|
+
"touchedChange"
|
|
204
|
+
],
|
|
205
|
+
"enums": []
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"components-navigation-atlbreadcrumbs": {
|
|
4
|
+
"id": "components-navigation-atlbreadcrumbs",
|
|
5
|
+
"name": "AtlBreadcrumbs",
|
|
6
|
+
"path": "./libs/angular/src/lib/breadcrumbs/atl-breadcrumbs.stories.ts",
|
|
7
|
+
"description": "Hierarchical location trail. Renders the path from a root section down to the current page so users can see and jump back through the hierarchy.\n\nAccessible breadcrumb navigation. Wrap `atl-breadcrumb-item` elements inside.\nThe last item is automatically marked as the current page, unless an item sets\n`current` itself. If any item does, only explicit values count: `[current]=\"true\"`\non the item that is the page, or `[current]=\"false\"` for a trail with no current\npage.\n\nUsage:\n```html\n<atl-breadcrumbs>\n <atl-breadcrumb-item href=\"/home\">Home</atl-breadcrumb-item>\n <atl-breadcrumb-item href=\"/products\">Products</atl-breadcrumb-item>\n <atl-breadcrumb-item>Widget X</atl-breadcrumb-item>\n</atl-breadcrumbs>\n```",
|
|
8
|
+
"jsDocTags": {},
|
|
9
|
+
"argTypes": {
|
|
10
|
+
"separatorCssVar": {
|
|
11
|
+
"name": "separatorCssVar",
|
|
12
|
+
"type": {
|
|
13
|
+
"name": "other",
|
|
14
|
+
"value": "empty-enum"
|
|
15
|
+
},
|
|
16
|
+
"table": {
|
|
17
|
+
"category": "properties",
|
|
18
|
+
"type": {
|
|
19
|
+
"summary": "Signal<string>"
|
|
20
|
+
},
|
|
21
|
+
"defaultValue": {}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"separator": {
|
|
25
|
+
"name": "separator",
|
|
26
|
+
"description": "Separator character shown between breadcrumb items. Default `/`.",
|
|
27
|
+
"type": {
|
|
28
|
+
"name": "string"
|
|
29
|
+
},
|
|
30
|
+
"table": {
|
|
31
|
+
"category": "inputs",
|
|
32
|
+
"type": {
|
|
33
|
+
"summary": "string"
|
|
34
|
+
},
|
|
35
|
+
"defaultValue": {
|
|
36
|
+
"summary": "/"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"apiDescription": "## Inputs\n\n```\nexport type AtlBreadcrumbsInputs = {\n /**\n * Separator character shown between breadcrumb items. Default `/`.\n *\n * @default /\n */\n separator?: string;\n}\n```",
|
|
42
|
+
"renderer": "angular",
|
|
43
|
+
"angularComponentMeta": {
|
|
44
|
+
"name": "AtlBreadcrumbs",
|
|
45
|
+
"selector": "atl-breadcrumbs",
|
|
46
|
+
"standalone": true,
|
|
47
|
+
"inputs": [
|
|
48
|
+
"separator"
|
|
49
|
+
],
|
|
50
|
+
"outputs": [],
|
|
51
|
+
"enums": []
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"components-navigation-atlmenu": {
|
|
4
|
+
"id": "components-navigation-atlmenu",
|
|
5
|
+
"name": "AtlMenu",
|
|
6
|
+
"path": "./libs/angular/src/lib/menu/atl-menu.stories.ts",
|
|
7
|
+
"description": "Floating list of actions attached to a trigger. Renders a temporary surface of menu items the user opens, navigates with the keyboard, and dismisses after picking one.\n\nAccessible dropdown menu panel.\nUses `@angular/cdk/menu` for keyboard navigation, focus management, and ARIA.\n\nUsage:\n```html\n<button atl-button [atlMenuTriggerFor]=\"actions\">Actions</button>\n<ng-template #actions>\n <atl-menu>\n <atl-menu-item (triggered)=\"onCopy()\">Copy</atl-menu-item>\n <atl-menu-separator />\n <atl-menu-item [disabled]=\"true\">Paste</atl-menu-item>\n </atl-menu>\n</ng-template>\n```",
|
|
8
|
+
"jsDocTags": {},
|
|
9
|
+
"argTypes": {
|
|
10
|
+
"variant": {
|
|
11
|
+
"name": "variant",
|
|
12
|
+
"description": "Visual variant. `compact` reduces font size and padding.",
|
|
13
|
+
"type": {
|
|
14
|
+
"name": "enum",
|
|
15
|
+
"value": [
|
|
16
|
+
"default",
|
|
17
|
+
"compact"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"table": {
|
|
21
|
+
"category": "inputs",
|
|
22
|
+
"type": {
|
|
23
|
+
"summary": "\"default\" | \"compact\""
|
|
24
|
+
},
|
|
25
|
+
"defaultValue": {
|
|
26
|
+
"summary": "default"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"apiDescription": "## Inputs\n\n```\nexport type AtlMenuInputs = {\n /**\n * Visual variant. `compact` reduces font size and padding.\n *\n * @default default\n */\n variant?: \"default\" | \"compact\";\n}\n```",
|
|
32
|
+
"renderer": "angular",
|
|
33
|
+
"angularComponentMeta": {
|
|
34
|
+
"name": "AtlMenu",
|
|
35
|
+
"selector": "atl-menu",
|
|
36
|
+
"standalone": true,
|
|
37
|
+
"inputs": [
|
|
38
|
+
"variant"
|
|
39
|
+
],
|
|
40
|
+
"outputs": [],
|
|
41
|
+
"enums": []
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|