## Description - Move [ADS](https://github.com/appsmithorg/design-system) to local packages - Fix ADS stories according of Storybook 8 - Fix type errors - Update Storybook to latest version to be able to run `test-storybook` - Remove unused files(components, tests, stories) from ADS-old(design-system-old) Following steps: - Merge `ads-old` and `widgets-old`, only 1 package should remain - Rename packages https://github.com/appsmithorg/appsmith/issues/27658 - Use `importSvg` `importRemixIcon` from ADS remove this functionality from `ads-old` Fixes #34252 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/10114839347> > Commit: 64cdfec4d2acd45ca955cc0d19c3cb582e1ac0ad > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10114839347&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Fri, 26 Jul 2024 17:49:25 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
66 lines
1.8 KiB
Handlebars
66 lines
1.8 KiB
Handlebars
import { Canvas, Meta } from '@storybook/blocks';
|
|
|
|
import * as {{capitalize name}}Stories from './{{capitalize name}}.stories';
|
|
|
|
<Meta of={ {{capitalize name}}Stories} />
|
|
|
|
# {{capitalize name}}
|
|
|
|
<!--Add a short sentence here describing the general use of this component.-->
|
|
|
|
<Canvas of={ {{capitalize name}}Stories.{{capitalize name}}Story} />
|
|
|
|
## Anatomy
|
|
|
|

|
|
|
|
<!-- Describe the various parts of the component here. Number them correctly as per the diagram.-->
|
|
|
|
1. **Header:** Text title accompanied by an optional close button
|
|
2. **Content** Container for the main content of the modal; the content can be text, forms, lists, cards, or other elements.
|
|
4. **Footer:** Container for buttons related to the content of the modal
|
|
|
|
## Spacing
|
|

|
|
|
|
## Kind
|
|
|
|
### Kind 1
|
|
<!-- A line indicating what are the specific usages of kind 1 alone-->
|
|
<Canvas of={ {{capitalize name}}Stories.Kind1{{capitalize name}} } />
|
|
|
|
### Kind 2
|
|
<!-- A line indicating what are the specific usages of kind 2 alone-->
|
|
<Canvas of={ {{capitalize name}}Stories.Kind2{{capitalize name}} } />
|
|
|
|
|
|
## Size
|
|
|
|
### Size 1
|
|
<!-- A line indicating what are the specific usages of size 1 alone-->
|
|
<Canvas of={ {{capitalize name}}Stories.Size1{{capitalize name}} } />
|
|
|
|
|
|
### Size 2
|
|
<!-- A line indicating what are the specific usages of size 2 alone-->
|
|
<Canvas of={ {{capitalize name}}Stories.Size2{{capitalize name}} } />
|
|
|
|
|
|
## Usage
|
|
|
|
### When to use
|
|
|
|
### When not to use
|
|
|
|
### Example: confirmation
|
|
|
|
### Programmatically control
|
|
|
|
|
|
---
|
|
## Resources
|
|
<!-- Add links to external documentation to the underlying library, the HTMl tag, the typescript construct used - anything that will give developers more context.-->
|
|
|
|
## References
|
|
<!-- Add design and documentation references here. -->
|