- deprecated
<ToastProvider>
component andtoaster
utility - renamed
<Toast>
component to<Notification>
- no need to import
@specialdoom/proi-ui/variables.css
anymore because the css variables have fallback values - if you want to use theming (light or dark) you need to wrap your app using
<Theme>
component e.g.
<script>
import Theme from "@specialdoom/proi-ui/Theme.svelte";
</script>
<Theme theme="light">
<slot />
</Theme>
- import
@specialdoom/proi-ui/variables.css
for styling - use default import for components (import what you need):
<script>
import Accordion from "@specialdoom/proi-ui/Accordion.svelte";
</script>
- import
@specialdoom/proi-ui/variables.css
for styling - Alert component
type
has becomevariant
; options are:success
,error
,warning
,info
; default variant issuccess
slot
is used for alert descriptiontitle
🆕 prop representing title of alert; required- usage:
<Alert variant='success' closable> Alert description </Alert>
- Avatar component
type
has becomevariant
; options areflame
,vivid
,mikado
,tufts
,neutral
,pine
; default variant ispine
title
prop has been removedinitials
🆕 prop representing initials of avatar- usage:
<Avatar initials="PI" variant="pine" />
- Button component
type
has becomevariant
; options are:primary
,secondary
andghost
; default variant isprimary
outlined
andsmall
props has been removed;small
props will be addded in future changes regarding v3
- Modal component (:wastebasket:) has been removed and replaced with Dialog component
- Dropdown component
title
prop has been removederror
🆕 prop representing error state of dropdownplaceholder
🆕 prop representing placeholder of dropdown- removed
className
andlistClassName
(:wastebasket:); will be added in future changes regarding v3
- Input component has been removed
- Progress component
className
prop has been removed; will be added in future changes regardin v3
- Spinner component
small
props has been removed
- Tag component has been removed
- Toast component and toaster