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

Toast Service: Convert Toast to internal functional component and allow render function instead of description string #5477

Merged
merged 14 commits into from
Oct 25, 2023

Conversation

sdvg
Copy link
Member

@sdvg sdvg commented Oct 25, 2023

No description provided.

…nt and allow render function instead of description string
…-description-in-toasterservice

* 'develop' of github.com:public-ui/kolibri: (22 commits)
  chore: update deps
  fix: this commit makes the label optional for label
  Remove stray bracket...
  Fix tests
  Update snapshots
  Add missing text decoration
  zoll-v3: Adjust pagination
  zoll-v2: Adjust pagination
  mapz: Adjust pagination
  mapz: Add css tags
  ITZBund: Adjust pagination
  ITZBund: Add css tags
  ECL EU: Adjust pagination
  ECL EC: Add css tags
  ECL: Add css tags
  Pagination: Adjust bzst theme
  bzst: Add css tags
  Pagination: Adjust default theme
  Pagination: Adjust default and BMF styles
  Add classnames to button component
  ...
@sdvg sdvg linked an issue Oct 25, 2023 that may be closed by this pull request
@sdvg sdvg changed the title 5442 help description in toasterservice Toast Service: Convert Toast to internal functional component and allow render function instead of description string Oct 25, 2023
onClose: () => void;
key: string;
};
export const ToastFC = ({ toastState, onClose, key }: Props) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empfehlung: InternalToast - Das Kol wird uns von der WebComponent-Spezifikation vorgegeben. Internal-wäre für alle glasklar, wenn Sie so was importieren, dass das keine gute Idee wäre.

description: `Toasty`,
render: (element: HTMLElement, { close }) => {
getRoot(element).render(
<>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: @Chrisdo82

@deleonio deleonio merged commit d13d068 into develop Oct 25, 2023
2 checks passed
@deleonio deleonio deleted the 5442-help-description-in-toasterservice branch October 25, 2023 12:38
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📖 Help: description in ToasterService
2 participants