Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(card): add missing footer slot to docs #1344

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/swift-pans-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@astrouxds/astro-web-components": patch
"angular-workspace": patch
"@astrouxds/angular": patch
"astro-angular": patch
"astro-react": patch
"astro-vue": patch
"@astrouxds/react": patch
---

Added missing footer slot documentation to storybook
1 change: 1 addition & 0 deletions packages/web-components/src/components/rux-card/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
| Slot | Description |
| ------------- | ------------------ |
| `"(default)"` | The card's content |
| `"footer"` | The cards footer |
| `"header"` | The card's header |


Expand Down
4 changes: 3 additions & 1 deletion packages/web-components/src/components/rux-card/rux-card.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { State, Element, Component, Host, h } from '@stencil/core'
import { Component, Element, Host, State, h } from '@stencil/core'

import { hasSlot } from '../../utils/utils'
/**
* @slot (default) - The card's content
* @slot header - The card's header
* @slot footer - The cards footer
* @part container - The card's outtermost container
* @part header - The card's outside header element
* @part body - The card's outside body element
Expand Down
Loading