@shopify/polaris@12.2.0
版本发布时间: 2023-12-06 23:48:19
Shopify/polaris最新发布版本:@shopify/polaris@13.9.0(2024-08-01 22:59:35)
Minor Changes
-
#11166
456f3da42
Thanks @sophschneider! - Added Card component default value for roundedAbove prop -
#11211
07aa5e979
Thanks @sophschneider! - Addedsize
prop withslim
andmedium
options toTextField
-
#11266
bf0593e20
Thanks @LauraAubin! - - FixedModal
activator
not regaining focus on close- Added an
activatorWrapper
prop toModal
to support setting the element that wraps theactivator
- Added an
-
#11201
eca971dca
Thanks @laurkim! - Added documentation forCard
examples to supportLegacyCard
compositions -
#11261
32cfbecb1
Thanks @lgriffee! - UpdatedAvatar
background and text colors -
#11219
97683ac05
Thanks @matallo! - - Bumpedcolor-text-magic-secondary
to purple 13- Added
tone
prop withmagic
value toSelect
- Added
magic
value totone
prop ofText
- Added
magic-subdued
value totone
prop ofText
- Added
-
#11264
773daaa0f
Thanks @ryanschingeck! - AddedmaxWidth
prop to SkeletonDisplayText component -
#11172
64ee75039
Thanks @yurm04! - Added thekey
prop toSelect
componentStrictOption
-
#11170
79cadcf4f
Thanks @laurkim! - Added support forpaddingInline
andpaddingBlock
onBox
component with updated documentation -
#11115
45deb1941
Thanks @fatimasajadi! - Fixed hover state ofIndexTable.Row
whenselectable
isfalse
-
#10633
53fe61479
Thanks @mattkubej! - Updated IndexTable, ResourceList, and DataTable to have built-in pagination props -
#10726
35d92bcd8
Thanks @mrcthms! - Updated Filters to not render or perform filters logic if the filters array is empty -
#10800
9159e5083
Thanks @sirgalleto! - Added support for anEditColumns
button rendered in theIndexFilters
deprecating theTabs
'sedit-columns
action.-
IndexFilters
- Added support for rendering an Edit Columns button using the
showEditColumnsButton
flag. - Added the edition
mode
to theonEditStart(mode)
callback.
- Added support for rendering an Edit Columns button using the
-
Tabs
- Removed the
edit-columns
action type.
- Removed the
-
-
#11221
799276156
Thanks @mrcthms! - Updated Pagination to be correct height of 40px when in the table variant -
#11263
04b8fb370
Thanks @alex-page! - Add storybook example for all icons in @shopify/polaris-icons -
#11094
2c5ca9900
Thanks @laurkim! - Added support forbodyXs
variant and fixed font weight forheadingLg
variant inText
component. Updated references to font tokens from Polaris v11 to v12 inText
component documentation -
#11036
1459f773d
Thanks @hughnguy! - FixedTextField
events not bubbling up whenmultiline
Patch Changes
-
#10987
00374f85a
Thanks @kyledurand! - SimplifiedButton
code -
#11211
07aa5e979
Thanks @sophschneider! - Fixed transparent background and wrapping inIndexFilters
on small screens -
#11211
07aa5e979
Thanks @sophschneider! - AddedSearchMinor
icon toFilters
search field whenmdUp
-
#11101
6297e524a
Thanks @AndrewMusgrave! - Fixed ref error inTabs
forCreateViewModal
and removed promoted bulk action warnings -
#11203
8b9ded242
Thanks @kyledurand! - Updated IndexTable documentation for when to hide bulk actions -
#11270
09df04ca5
Thanks @moraleslevi! - Remove scrollbars from TextField vertical content -
#11245
165c860c2
Thanks @matallo! - - FixedonFocus
andonBlur
events of Select component -
#11237
6b6e27ce0
Thanks @alex-page! - Remove unused custom icon from dropzone that was used in a test -
#11103
786ee94b4
Thanks @kyledurand! - Fixed Filters SearchField background in dark mode -
#11211
07aa5e979
Thanks @sophschneider! - FixedTextField
clear button to not render when hidden -
#11169
90de38843
Thanks @kyledurand! - Added expanded styling to Button -
#11206
0e8ab42b4
Thanks @sophschneider! - Fixed disjointed Navigation arrow on small screens -
#10804
fe8491507
Thanks @sam-b-rose! - Add support for using breakpoint tokens in CSS by using@custom-media
-
#11124
ad504d5be
Thanks @sarahill! - Removed bevel frompressed
Button
when focused -
#11281
b0edfbb92
Thanks @sirgalleto! - Restores the Tab'sedit-columns
action type -
#11238
2df27ed0b
Thanks @alex-page! - Conditionally render the accessibilityLabel when it is provided -
#11168
9c3dd913c
Thanks @mattkubej! - [Page] prevent vertical content shift of header with metadata and actions -
#11211
07aa5e979
Thanks @sophschneider! - Replaced customFilters
input with PolarisTextField
-
#11123
ac45afda8
Thanks @sarahill! - UpdatedButton
base state colors to usefill
tokens -
#10599
b7219863d
Thanks @oksanashopify! - Added child type to IndexTable row -
#11105
ecbd6c137
Thanks @sarahill! - FixedTag
icon and disabled state colors -
#11012
c25478fba
Thanks @chloerice! - FixedFormLayout
spacing -
#10753
c849ff468
Thanks @stephxshopify! - [Modal] Disallow vertical scroll with use of noScroll -
Updated dependencies [
c58632afa
,c3cad73cb
,0b1961c16
,32cfbecb1
,97683ac05
,fe8491507
]:- @shopify/polaris-tokens@8.2.0
- @shopify/polaris-icons@7.10.0