Releases: primer/view_components
v0.7.0
Minor Changes
-
#2200
1b770f90
Thanks @TylerJDev! - Add rubocop linter forTruncate
component -
#2207
ba01f4e9
Thanks @langermank! - Bump Primitives v7.12.0 -
#2210
aded2aa4
Thanks @khiga8! - Fix accessibility bug of missing accessible name onPrimer::Alpha::Dialog
Patch Changes
-
#2203
3f504021
Thanks @orhantoy! - Fix guide URLs (in lib/primer/deprecations.yml) -
#2192
73fc40bb
Thanks @camertron! - ActionMenu: Don't allow items to be unchecked in single-select mode -
#2211
9623ab63
Thanks @jonrohan! - Updating tooltip migration linter link to correct url -
#2202
d7da4012
Thanks @camertron! - Label BorderBox lists with their header -
#2190
0a9bcda2
Thanks @radglob! - Updates Primer::Beta::Button.with_tooltip to not accept:label
type. -
#2201
ba90a43d
Thanks @kintner! - add aria-invalid when fields are invalid
v0.6.0
Minor Changes
-
#2187
ce2011e6
Thanks @camertron! - Expose ActionList's #build_item and #build_avatar_item externally to facilitate parent-less item construction -
#2188
5950afea
Thanks @camertron! - Allow disabling submit buttons -
#2165
1b8ff1b7
Thanks @camertron! - Add an accessible avatar item to ActionList, NavList, and ActionMenu -
#2186
eab82c07
Thanks @camertron! - On dismiss, allow banners to be hidden instead of removed from DOM
Patch Changes
-
#2164
93344455
Thanks @camertron! - Allow form buttons to be disabled on click with data-disable-with -
#2158
0afaecc6
Thanks @jonrohan! - Fix bug in ActionMenu button where return doesn't trigger menu -
#2168
45822328
Thanks @keithamus! - Guard tooltip popover calls fromFailed to execute 'showPopover' on 'HTMLElement': Not supported on elements that do not have a valid value for the 'popover' attribute.
-
#2160
8464823b
Thanks @langermank! - Fix Dialog backdrop color fallback -
#2163
e3aeda1f
Thanks @langermank! - Add fallbacks for primary Button -
#2170
4391873d
Thanks @Tonkpils! - Add support for capitalize to text-transform -
#2169
4f11f5e3
Thanks @camertron! - Fix color contrast issues for action list hover state (danger style)
v0.5.1
Patch Changes
-
#2156
5f809724
Thanks @langermank! - Add correct fallbacks toState
label -
#2151
78e0d175
Thanks @jdrush89! - Checking document scrollbar width before making dialog backdrop visible to fix issue with document padding on mobile screens. -
#2154
9005b5cd
Thanks @langermank! - Add color declaration for Dialogtitle
v0.5.0
Minor Changes
-
#2148
cbd5c84d
Thanks @keithamus! - Add a linter discouraging use of in favor of Primer::Alpha::ActionMenu -
#2123
f9119d95
Thanks @langermank! - - Use Primitive v8 color tokens- Add tests for compiled CSS to ensure CSS color variables have a fallback
Patch Changes
- #2153
b9871598
Thanks @langermank! - Update color fallback forUnderlineNav
counter
v0.4.0
Minor Changes
-
#2111
6ee6d774
Thanks @keithamus! - refactor Primer::Alpha::Tooltip to use popoverChanged components: Primer::Alpha::Tooltip
-
#2034
707a1fa3
Thanks @radglob! - Partially address a11y issues in Link component.Links can no longer be rendered as
<span>
s. -
#1941
a8cc5ba2
Thanks @jonrohan! - 🆕 New component!The
Primer::Alpha::ActionBar
component is used to create a toolbar of buttons that will fold into an ActionMenu when the space is smaller. Design details
v0.3.1
Patch Changes
- #2113
f4736349
Thanks @camertron! - Revert v8 color var fallbacks (#2083)
v0.3.0
Minor Changes
-
#2079
f36ecc39
Thanks @camertron! - Additional NavList accessibility improvements -
#2086
10abe7a0
Thanks @khiga8! - Add lint rule against .tooltipped and introduce accessibility.yml config -
#2088
b79fec8e
Thanks @jonrohan! - Separating<anchored-position>
web component and the .Overlay class into separate markup.
Patch Changes
-
#2083
e38ae1ec
Thanks @langermank! - Update colors to use Primitive v8 CSS vars -
#2078
6bd439da
Thanks @camertron! - ToggleSwitch: Remove @debounce annotation in favor of a boolean flag to prevent confusing screen reader output -
#2089
4acf85d0
Thanks @camertron! - Change the 'skip changelog' label to 'skip changeset'
v0.2.0
Minor Changes
-
#2060
bc40f586
Thanks @camertron! - ActionMenu: Move aria-checked to button -
#2042
9c53f8e0
Thanks @camertron! - Use polymorphic slots in ActionList and NavList -
#2070
04fc4f1b
Thanks @camertron! - Fix disabled button behavior -
#2074
b39eae8c
Thanks @camertron! - Allow Beta::Details to be disabled
Patch Changes
-
#2055
5911ff9c
Thanks @keithamus! - Tweak Overlay CSS to account for cases where the browser supports :open, :popover-open, both, or neither. -
#2008
53190440
Thanks @langermank! - Update color vars forButton
with counter -
#2021
7abf0965
Thanks @keithamus! - dont open dialog if button is aria-disabled -
#2006
7282911b
Thanks @keithamus! - Fix ActionMenu staying open when focus moved, in browsers with native popover -
#2075
2eb286f2
Thanks @camertron! - NavList: Add aria-current to active nav item -
#2077
fe578c16
Thanks @camertron! - Don't use aria-disabled for buttons -
#2013
b7207d27
Thanks @langermank! - UpdateButtonGroup
to useBeta::Button
-
#2073
c4ada3b1
Thanks @camertron! - Fix text_field.pcss to use flex-start instead of start -
#2032
607889bc
Thanks @langermank! - Bug fix: Text field validation wrap styles -
#2069
532095e9
Thanks @jalafel! - Add event.stopPropogation to enter event -
#2071
c0fa71ec
Thanks @camertron! - ActionMenu: don't swallow events attached via addEventListener -
#2059
bf60d7d7
Thanks @camertron! - Fix keyboard functionality with deferred loading in ActionMenu -
#2027
f6d9fe97
Thanks @keithamus! - ActionMenu: enable focussing first element on space activation -
#2058
3e50e06c
Thanks @jonrohan! - - Remove manual fallbacks for CSS vars- Update PostCSS plugin to add fallbacks at build time
-
#2072
70086f5e
Thanks @jonrohan! - ButtonGroup: Change reset selector to use .Button class -
#2025
2d1f5074
Thanks @strackoverflow! - Preserve aria-label whenPrimer::Beta::IconButton
show_tooltip
is false -
#2023
b47a3781
Thanks @camertron! - Bump popover-polyfill to latest version -
#2033
54ed872b
Thanks @langermank! - Add@primer/primitives
dependency to docs
v0.1.9
Patch Changes
-
#1967
20890415
Thanks @camertron! - Toggle switch accessibility fixes -
#2009
65745bf4
Thanks @camertron! - Fix embedded example in SelectInput docs -
#2011
a1ca6fd0
Thanks @camertron! - Make ActionList leading visual icons the same color as the item text. -
#1998
a23d5533
Thanks @keithamus! - Fix style bug in popovers using native popover -
#1996
aeb9d2aa
Thanks @keithamus! - Fix Dialogs aria-disabled attribute -
#2003
52ba2505
Thanks @keithamus! - Fix positioning for native popovers -
#1994
064b0dea
Thanks @keithamus! - Fix Overlay close buttons -
#1995
546df103
Thanks @keithamus! - Prevent page scrolling when using arrow keys in an ActionMenu -
#1990
15553fa9
Thanks @jonrohan! - Add custom properties fallback plugin to fallback primitives v8 colors -
#1987
01ad9325
Thanks @langermank! - add padding back to autocomplete -
#2002
ef2540a1
Thanks @keithamus! - Fix focus groups when using nativepopover
-
#2004
0cc69107
Thanks @keithamus! - Fix bug where dialogs aren't shown due to keydown and pointer events firing
v0.1.8
Patch Changes
-
#1969
37174d1b
Thanks @jhunschejones! - Don't show segmented control item separator on first item -
#1943
40912f6a
Thanks @camertron! - Additional accessibility fixes for NavList and ActionList -
#1965
cd6d5ed4
Thanks @langermank! - Adjust background color for Button with Counter, fix small and large TextField visual alignment bugs