Releases: StratoDem/sd-material-ui
Releases · StratoDem/sd-material-ui
v2.13.2
v2.13.1
Fixes
- Updates prop names internally in
CardText
forstyle
andcolor
to allowtextColor
andtextStyle
props to actually changeCardText
subcomponent
Added
- Adds
id
andheaderIconStyle
props toCardComponent
:id
as astring
to allow for callbacks assigned to the cardheaderIconStyle
to allow for styling the icon in theCardHeader
subcomponent
PR: #74
v2.13.0
v2.12.0
Changed
- Adds functionality to
AutoComplete
component to allow for sending backvalue
instead ofsearchText
Example
# SDAutoComplete with exactMatch
# This ships back 1 when the user types in 'magenta' exactly
# This ships back {'testKey': 'testVal'} when the user types in 'aqua' exactly
sd_material_ui.AutoComplete(
id='input-autocomplete-exactmatch',
anchorOrigin={'vertical': 'center', 'horizontal': 'middle'},
animated=True,
exactMatch=True,
dashCallbackDelay=3000,
dataSource=[
dict(label='pink', value=0),
dict(label='magenta', value=1),
dict(label='aqua', value={'testKey': 'testVal'}),
dict(label='aquamarine', value=3),
],
fullWidth=True,
floatingLabelText="Type here",
filter='caseSensitiveFilter')
v2.11.1
v2.11.0
Added
- Adds
containerClosedClassName
prop toDrawer
which applies additional
classes to the drawer when it is closed to allow for custom styling (like offsets or transitions)
Changed
- 📣 BREAKING Changes
containerclassName
prop tocontainerClassName
inDrawer
to matchmaterial-ui
prop naming format.
Example
# This has 'my-test-class my-closed-class' as the class name when closed
# and 'my-test-class' as the class name when open
sd_material_ui.Drawer(
open=False,
containerClassName='my-test-class',
containerClosedClassName='my-closed-class')