- #2426
78dd9dd
Thanks @camertron! - Fix typo in argument passed to event listener in ToolTip
-
#2378
81b5acc6
Thanks @keithamus! - Primer::Alpha::ActionList now uses popover -
#2340
b8d05407
Thanks @camertron! - Add group support to ActionMenu -
#2393
745eae0d
Thanks @camertron! - [ActionMenu] Don't allow previously hidden items to be checkable; add JavaScript API
-
#2414
48a2405a
Thanks @keithamus! - Prevent other Overlays closing when Escape is pressed while Tooltips are open -
#2379
2c59c33b
Thanks @mperrotti! - Updates 'inactive' state for buttons based on feedback from the a11y team:- inactive buttons need to meet the color contrast ratio minimum
- inactive buttons shouldn't have aria-disabled since they can still accept interactions such as:
- hover/focus to show a tooltip
- click/activate to show a dialog with more detailed info on why it's inactive
-
#2408
57586da4
Thanks @HDinger! - Fix: Allow month attribute for Primer::Beta::RelativeTime -
#2406
fb9bf257
Thanks @strackoverflow! - Fix an issue where multiple groups could not be paginated within the same NavList -
#2412
e7c9a6c6
Thanks @camertron! - Prevent Blankslates from having a zero width inside flex containers
-
#2367
b2acc97d
Thanks @camertron! - Add an ActionMenu form input -
#2335
684f9a51
Thanks @camertron! - Add a ClipboardCopyButton component -
#2365
314c0f1f
Thanks @camertron! - Remove touch target gaps between ActionBar items -
#2296
3374555e
Thanks @jonrohan! - Removing the button wrapperButton--withTooltip
when using a tooltip with a button. -
#2330
6bf8da54
Thanks @camertron! - Allow several font sizes for Subhead headings -
#2336
94db2c4b
Thanks @camertron! - Add Rails 7.1 support -
#2366
73d05613
Thanks @camertron! - Add missing 64px Avatar size -
#2377
482152ae
Thanks @gwwar! - Updates Primer::Alpha::TextField to support success inline validation messages and allows validation messages to contain html fragments.
-
#2360
94b7a445
Thanks @TylerJDev! - Removes redundantaria-disabled
from list item withinActionMenu
. -
#2337
0189b553
Thanks @mperrotti! - Adapts Blankslate to render proportionally in narrow areas -
#2383
7c2e6f6c
Thanks @strackoverflow! - Fix an issue where ActionMenu wouldn't scroll its contents -
#2384
2c778661
Thanks @camertron! - Re-introduce require 'primer/form_helper' for setups that rely on Rails eager load paths
-
#2331
4f8af24f
Thanks @camertron! - Prevent scrolling when activating ActionMenu form items via space -
#2323
c481ed2d
Thanks @keithamus! - Fix bug in ActionMenu/Tooltip/Overlay being always visible in Firefox on ios 17
-
#2326
4e05b7ec
Thanks @camertron! - Prevent scrolling when activating ActionMenu items via space -
#2324
cc44952c
Thanks @langermank! - Revert Tooltip caret removal
-
#2284
374d10fd
Thanks @langermank! - Update tooltip design- Removes caret
- Decrease offset
- Remove animation delay
- Use v8 color tokens
-
#2293
d7eafca0
Thanks @camertron! - Fix multi-select behavior when ActionMenus are embedded in dialogs -
#2291
725bbd95
Thanks @camertron! - Allow ActionMenu items to submit multiple values on form submission; fix keyboard handling for submit items
-
#2286
02e7f785
Thanks @langermank! - fix SegmentedControl alignment issues -
#2288
caf09967
Thanks @TylerJDev! - Fixes issue where sometimes a dialog cannot be closed if another is open -
#2292
46e3ff02
Thanks @jonrohan! - Fix ActionBar issue where left and end key don't loop around to end of the action bar items. -
#2290
f33eed35
Thanks @jonrohan! - Bug fix: Respect autofocus attributes inside of a Dialog when opening a modal-dialog. When the dialog was opening before it was always focusing the first focusable element which was always the close button.
-
#2283
da3bdb26
Thanks @mperrotti! - Adds an 'inactive' state to buttons. An inactive button looks disabled and has aria-disabled, but it can still be clicked and focused. This was added to support buttons that are broken due to availability issues, but can't be removed from the page. -
#2278
83b70dd7
Thanks @gwwar! - Add optional with_trailing_visual_label slot to Primer::Alpha::SegmentedControl::Item. Filling the slot will add a Primer::Beta::Label to the right of the item.
- #2281
46d5d9cb
Thanks @keithamus! - Fix tooltips opening when focus is removed while displaying
-
#2276
7184d76e
Thanks @jonrohan! - Adding option item_arguments hash argument to ActionBar::Item that will control the item system arguments -
#2259
a2fe6134
Thanks @TylerJDev! - * Includes ActionMenu in ActionBar focus trap when present.- Adjusts
focus_group.ts
to settabindex="0"
back to invoker if it is non-focusable. - Prevents popover invokers from being triggered with 'left' and 'right' arrow keys.
- Adjusts
-
#2260
b584a6b5
Thanks @camertron! - ActionMenu: hide the menu when focus leaves the component; focus the first list item when the menu is activated with the mouse; allow disabling list items while still permitting them to be focused with the keyboard
-
#2240
512fc39e
Thanks @camertron! - Allow anonymous forms, mostly useful for tests -
#2241
3f7e6198
Thanks @camertron! - Enable validation messages on radio button and check box groups -
#2247
09648632
Thanks @jonrohan! - Graduate NavList to beta status -
#2251
4a51102d
Thanks @camertron! - Add header variant to Dialog
-
#2256
fd17adfd
Thanks @langermank! - Fix disabled styles for radio -
#2250
66c4dd69
Thanks @langermank! - - Improve contrast for icons ininvisible
button on hover in dark mode (within v8 colors)- Fix disabled button styles (v8 colors)
- Bump Primitives to latest
-
#2242
bc254f13
Thanks @keithamus! - Remove background from anchored-position -
#2249
1209d241
Thanks @camertron! - Fix underline behavior in Link component -
#2254
cdb9fe4d
Thanks @keithamus! - Only supply aria-label on Overlays with a role assigned -
#2245
495f911c
Thanks @TylerJDev! - Fix bug in ActionMenu keyboard navigation, where items aren't skipped when they're functionally[hidden]
. -
#2244
3c5fb3a7
Thanks @camertron! - Fix race condition causing dotcom axe check failures for icon button tooltips -
#2248
9885a5d8
Thanks @keithamus! - Update popover support in older browsers.
-
#2205
88ac3095
Thanks @TylerJDev! - Add rubocop linter forIconButton
component -
#2223
00b7d5d7
Thanks @jonrohan! - Moving the render for the ActionBar::Item from the slot initializer to the call method.
-
#2227
bb336bb6
Thanks @jonrohan! - [Bug] Don't fill in the spinner circle svg path -
#2237
70a8336f
Thanks @jonrohan! - Fixing ActionBar more menu items including buttons with no type -
#2204
ed1644a2
Thanks @keithamus! - Fix errors in older browsers with :popover-open -
#2236
d663e450
Thanks @keithamus! - Centre anchored-position elements when their anchor is not present
-
#2215
827634e9
Thanks @mjimenez98! - Support SVGs as leading visuals inButton
component -
#2222
e196af7b
Thanks @jonrohan! - Replace dismiss button in Flash with IconButton
-
#2213
bc4b3340
Thanks @camertron! - Support Rails edge's custom deprecators -
#2212
3d0036ae
Thanks @keithamus! - Fix dialog invocation within deferred ActionMenus
-
#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
-
#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
-
#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
-
#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)
-
#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
-
#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
- #2153
b9871598
Thanks @langermank! - Update color fallback forUnderlineNav
counter
-
#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
- #2113
f4736349
Thanks @camertron! - Revert v8 color var fallbacks (#2083)
- #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.
- #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'
- #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
- #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
- #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
- #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
- #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
- #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
- #1955
ef9c7be2
Thanks @keithamus! - Add size argument to ActionMenu
- #1962
25a7ce9d
Thanks @camertron! - Action menu form input
- #1960
55e0d2c6
Thanks @joelhawksley! - Don't use to_sentence in ERB linters so they can be run outside of Rails.
- #1964
d6a46055
Thanks @langermank! - Upgrade Primitives and PCSS, rename tokens to pre-v8 release
- #1946
62e60565
Thanks @camertron! - Address NavList Axe violation
- #1949
f398971f
Thanks @langermank! - Use min-width for ActionMenu to fix visual regression with inline descriptions
- #1953
e64edfc4
Thanks @camertron! - Fix opening a dialog from an ActionMenu item
- #1951
90e32894
Thanks @camertron! - Fix ActionMenu's internal label
- #1830
d7e4f5d0
Thanks @langermank! - ActionMenu upstream from Experimental
- #1903
bb627a21
Thanks @joelhawksley! - Migrate usage of old Slots API in previews.
- #1900
9cd530ee
Thanks @keithamus! - Add the ability to pass an icon to Dialogwith_show_button
, which will turn it from a Beta::Button to a Beta::IconButton.
- #1932
5602fbbb
Thanks @joelhawksley! - Fix use of removed slots API in docs.
- #1829
bb54d982
Thanks @josepmartins! - Add responsive values forborder
andborder-radius
system argument
- #1897
eae7a7f8
Thanks @camertron! - Fix widths of text fields and multi inputs.
- #1895
e53f1995
Thanks @camertron! - Modify merge_aria to combine plural attributes; introduce merge_data
- #1894
5d118b0a
Thanks @mikekavouras! - Update Primer::Alpha::TextInput to support multiple target attributes
- #1887
9cc2f5bf
Thanks @camertron! - ActionList item and divider content
- #1892
d72334d1
Thanks @hrs! - Deprecate Primer::LayoutComponent in favor of Primer::Alpha::Layout, and add a migration guide
- #1891
5f48d6f8
Thanks @camertron! - Associate title with dialog
- #1889
dd1d382d
Thanks @langermank! - Bug fix: ActionListdanger
variant hover/active contrast
- #1880
7a160a4c
Thanks @camertron! - Allow consumers to set ActionList item content's tag
- #1869
53b99f6a
Thanks @keithamus! - Make Overlay headings optional
- #1873
125861b8
Thanks @camertron! - Remove ability to show trailing action buttons in ActionList and NavList on hover
- #1875
8bbeb72a
Thanks @camertron! - Allow ActionList dividers to be added manually
- #1871
6b1170ae
Thanks @camertron! - Deny tag argument for ActionList headings
- #1877
864fb98f
Thanks @hrs! - Deprecate Primer::Truncate in favor of Primer::Beta::Truncate, and adding a migration guide
- #1878
9c211ce2
Thanks @camertron! - Attach behavior to TextField's clear button
- #1864
1476b869
Thanks @simurai! - Fix underline of UnderlineNav being cut off when followed by a flash banner
- #1865
df8dcced
Thanks @keithamus! - Add aria attributes to Overlay show_button
- #1865
df8dcced
Thanks @keithamus! - Allow for IconButtons in overlay show_button
- #1828
4e6201d4
Thanks @camertron! - Address accessibility issues in NavList and ActionList
- #1730
8c77e133
Thanks @mxriverlynn! - Move Primer::Navigation::TabComponent to Primer::Alpha::Navigation::Tab
- #1850
a909eae0
Thanks @mayamessinger! - Fix beta button tooltip compatibility with display :block
- #1847
16b16264
Thanks @keithamus! - Remove animation from Overlay component
- #1401
f824d1d0
Thanks @keithamus! - Add Overlay component
- #1844
15869d48
Thanks @camertron! - Remove extra space between flash icon and message
- #1840
04b75c70
Thanks @camertron! - Fix issue causing NavList parents to appear selected
- #1845
98792bdd
Thanks @camertron! - Use system arguments instead of utility classes for NavList's "show more" item
- #1835
498191b4
Thanks @camertron! - Fix conditional inclusion of polymorphic slots module
- #1822
ad56ddef
Thanks @camertron! - Allow NavList selection/deselection by id/href in javascript
- #1818
c8fa002f
Thanks @camertron! - Fix issue in TabPanels causing extra content to render twice
- #1824
2a234537
Thanks @langermank! - ToggleSwitch and SegmentedControl visual updates + Primitives (PCSS) version bump
- #1595
f31bf3f9
Thanks @soberstadt! - Change engine to mount on ActionController::Base
- #1832
557ec8ba
Thanks @joelhawksley! - support ViewComponent v3.0.0.rc2
- #1821
c12ae8c5
Thanks @camertron! - Add a standalone FormControl component
- #1814
8090cda2
Thanks @camertron! - Expose additional form components
- #1827
c0545a65
Thanks @joelhawksley! - use lookbook 1.5.2
- #1833
a90e1554
Thanks @camertron! - Fix regression causing check boxes to always render enabled
- #1808
31544417
Thanks @joelhawksley! - Rename URLHelpers to UrlHelpers to fix console error.
- #1788
7ad70066
Thanks @camertron! - Document TextField's auto_check_src argument
-
#1784
3b830167
Thanks @jonrohan! - Remove unused deprecated component wrappers- "Primer::Dropdown::Menu::Item" - "Primer::Dropdown::Menu" - "Primer::Dropdown" - "Primer::HellipButton" - "Primer::LabelComponent" - "Primer::LinkComponent" - "Primer::Markdown" - "Primer::MenuComponent" - "Primer::OcticonComponent" - "Primer::OcticonSymbolsComponent" - "Primer::PopoverComponent" - "Primer::SpinnerComponent" - "Primer::StateComponent" - "Primer::SubheadComponent" - "Primer::TabContainerComponent" - "Primer::TimelineItemComponent::BadgeComponent" - "Primer::TimelineItemComponent"
- #1776
61b28872
Thanks @jonrohan! - Adding aria labeled by and described by check to SegmentedControl component. Marking as accessibility reviewed
- #1805
238328a7
Thanks @paulcsmith! - Update CloseButton to work with more aria-label types
- #1772
9dfec861
Thanks @jonrohan! - Removing deprecated Primer::ClipboardCopy component and clipboard_copy.rb file
- #1782
809d8d32
Thanks @jdennes! - Prefer Primer::Beta::Button in ERBLint::Linters::ButtonComponentMigrationCounter
- #1783
7337d5ef
Thanks @langermank! - Remove the deprecatedPrimer::DropdownMenuComponent
.
- #1768
fe8e7071
Thanks @jdennes! - Add RuboCop::Cop::Primer::TestSelector to encourage use of the test_selector argument
- #1780
49d27b22
Thanks @langermank! - Bug fix: Adjust the body tag padding-right when an overlay is open to avoid page shift
- #1767
cf28f5e4
Thanks @joelhawksley! - Use ViewComponent 3.0.0.rc1
- #1770
b8b0308d
Thanks @tomthorogood! - Fix incorrect typography descriptions
- #1760
fdd7bc1e
Thanks @camertron! - Show error messages when toggle switches fail
- #1757
9bc35cce
Thanks @camertron! - Bump view_component to v2.81.0 to fix issue with Rails main
- #1753
95df035a
Thanks @keithamus! - Updatewith_show_button
slot to usePrimer::Beta::Button
instead ofPrimer::ButtonComponent
.
- #1736
927a52c3
Thanks @dependabot! - Add format_style to RelativeTime component
- #1728
1c9981f4
Thanks @langermank! - Use a button tag for ActionList::Items
- #1756
280972cb
Thanks @langermank! - Fix media query typo in Button
- #1754
d662c1c7
Thanks @keithamus! - Fix bug where clicking inside dialog, but finishing click outside, dismisses dialog
- #1719
8e4b37bc
Thanks @joelhawksley! - Fix previews that used old slots API
- #1721
3cea518c
Thanks @joelhawksley! - fix more previews to use new Slots API
- #1718
f96b7edd
Thanks @joelhawksley! - fix missed Slots API changes
- #1716
9a4ad693
Thanks @mxriverlynn! - MovePrimer::StateComponent
toPrimer::Beta::State
and deprecate the original
- #1720
365048a3
Thanks @mxriverlynn! - MovePrimer::SubheadComponent
toPrimer::Beta::Subhead
and deprecate the original
- #1729
897b3524
Thanks @mxriverlynn! - Correctly deprecatePrimer::TimelineItemComponent::BadgeComponent
in favor ofPrimer::Beta::TimelineItem::Badge
- #1713
9b535d89
Thanks @joelhawksley! - Use new Slots API in previews.
- #1725
f84c7dda
Thanks @mxriverlynn! - MovePrimer::TabContainerComponent
toPrimer::Alpha::TabContainer
- #1699
14498234
Thanks @mxriverlynn! - Update component deprecation in CI to report as info instead of errors. Update the deprecation messages to always provide a replacement when possible.
- #1726
0b21fb75
Thanks @mxriverlynn! - MovePrimer::HellipButton
toPrimer::Alpha::HellipButton
- #1727
97a781a9
Thanks @mxriverlynn! - Move Primer::TimelineItemComponent to Primer::Beta::TimelineItem
- #1710
8e3390cd
Thanks @joelhawksley! - All components use newwith_*
Slots API.
- #1711
b39dd62c
Thanks @camertron! - Add option for controlling when form fields should be nested under their parent
- #1704
f54ee3f7
Thanks @camertron! - Add option to skip adding model scope to form inputs
- #1703
8103ec36
Thanks @joelhawksley! - Beta components use newwith_*
Slots API.
- #1667
ee7f476d
Thanks @camertron! - Make multi input a form control
- #1672
1a7daddb
Thanks @neall! - Add auto_check_src option to forms framework text fields to run server-side validation on field change
- #1698
29a5415e
Thanks @mxriverlynn! - MovePrimer::SpinnerComponent
toPrimer::Beta::Spinner
- #1697
4ff75a58
Thanks @joelhawksley! - ActionList, Alpha::AutoComplete, Banner, and Alpha::Dialog use new "with_*" Slots API.
- #1696
d709bae1
Thanks @mxriverlynn! - MovingPrimer::OcticonSymbolsComponent
toPrimer::Alpha::OcticonSymbols
, and deprecating the original
- #1694
b1fc5dfd
Thanks @camertron! - Fix sass variable in layout.pcss
- #1687
a5b6f02e
Thanks @mxriverlynn! - Deprecate Primer::LocalTime in favor of Primer::RelativeTime
- #1692
f50c77fe
Thanks @mxriverlynn! - Deprecating Primer::TimeAgo in favor of Primer::RelativeTime, and adding a migration guide
- #1690
c1845c65
Thanks @mxriverlynn! - MovePrimer::Beta::Octicon
toPrimer::Beta::Octicon
and deprecate the original
- #1688
988077aa
Thanks @manuelpuyol! - Fix tooltips not adding aria attributes when Turbo navigating
- #1691
ab416be9
Thanks @joelhawksley! - Start migration to new slots API. You may see warnings for using the non-with_
slot setter API.
- #1682
e5144a38
Thanks @mxriverlynn! - MovingPrimer::MenuComponent
toPrimer::Alpha::Menu
and deprecating the original
- #1693
219f5ef4
Thanks @camertron! - Use URL helpers in previews that interact with the server-side
- #1701
2c73c2f7
Thanks @camertron! - Properly scope Lookbook routes
- #1681
0c9611f5
Thanks @mxriverlynn! - Moving Primer::Markdown to Primer::Beta::Markdown, and deprecating the original
- #1650
2941ba2b
Thanks @keithamus! - Add RelativeTime component
- #1665
f9759ff0
Thanks @camertron! - Add a button input to the forms framework
- #1664
d56dfa60
Thanks @camertron! - Allow form inputs to be hidden
- #1666
5a7c5320
Thanks @camertron! - Add the primer_fields_for helper
- #1671
e0be2776
Thanks @mxriverlynn! - Add a migration guide for moving from Primer::DropdownMenuComponent to Primer::Beta::Dropdown
- #1635
653ac92b
Thanks @mxriverlynn! - Converting deprecations list to a .yml file, and updating all code around deprecations to use this new structure
- #1668
84cd95ed
Thanks @camertron! - Allow form components and entire forms to skip rendering
- #1643
7e20e148
Thanks @camertron! - Fix disabled ToggleSwitch behavior
- #1673
7a26cbb6
Thanks @camertron! - Ensure nested forms can be hidden independently of their radio button or check box
- #1674
a6c5bb52
Thanks @mxriverlynn! - MovingPrimer::ClipboardCopy
toPrimer::Beta::ClipboardCopy
, and deprecating the original
- #1663
15392142
Thanks @mxriverlynn! - Adding a migration guide and updating deprecation settings for Primer::ButtonComponent -> Primer::Beta::Button
- #1662
d2b33606
Thanks @jonrohan! - AddingPrimer::ViewComponents::AUDITED
variable to access when a component was last audited. Get's data from thestatic/audited_at.json
file.
- #1639
ddc30dd5
Thanks @mxriverlynn! - Adding "guide" to PVC deprecation configuration, and providing a much more detailed deprecation notice based on configuration for each component
- #1620
4898307e
Thanks @mxriverlynn! - adding css source for Marketing Button and Link, from Primer CSS
- #1632
7f1181be
Thanks @camertron! - Improve performance of the deny_* methods
-
#1625
3af9bf5e
Thanks @jonrohan! - Deprecate components and moving to new namespace:- Primer::Dropdown moving to Primer::Alpha::Dropdown
- Primer::Dropdown::Menu moving to Primer::Alpha::Dropdown::Menu
- Primer::Dropdown::Menu::Item moving to Primer::Alpha::Dropdown::Menu::Item
- #1629
a7527531
Thanks @jonrohan! - Deprecate Primer::PopoverComponent moving to Primer::Beta::Popover
- #1634
cdc13a18
Thanks @mxriverlynn! - Adding a custom erblint schema to allowseverity
in linter configuration
- #1623
7643e514
Thanks @jonrohan! - Deleting deprecated Primer::ProgressBarComponent in favor of Primer::Beta::ProgressBar
- #1605
63b40c1b
Thanks @jonrohan! - Remove the deprecatedPrimer::CounterComponet
and usePrimer::Beta::Counter
.
- #1611
047674c8
Thanks @safeforge! - Avoid double-registering of exported components
- #1608
75ad4765
Thanks @mxriverlynn! - testing to ensure CSS classes used by PVC components are valid, according to the available selectors
- #1583
a06f52cf
Thanks @jonrohan! - Migrating progress bar component to beta folder, and adding progress bar css.
- #1579
05e07bb1
Thanks @camertron! - Move Banner to alpha namespace
- #1574
b3e351d2
Thanks @mxriverlynn! - adding a test suite to show all component-specific selectors are used in previews, and updating various component previews for lookbook
- #1554
74db3db4
Thanks @mxriverlynn! - build the utilities.yml for PVC's classify utilities directly in PVC
- #1566
613f5697
Thanks @dependabot! - Allow arrow key navigation on aria-disabled elements in details-menu
- #1559
b5340016
Thanks @camertron! - Additional legacy flash/banner classes; fix data-target issue
- #1576
619a8f9a
Thanks @camertron! - Remove redundant data-show-dialog-id system_argument in dialog component
- #1560
8bc7d1c5
Thanks @safeforge! - Avoid double-registering of exported components
- #1539
c86d4785
Thanks @jonrohan! - Bug Fix: Fixing bad CSS in action-list.css and writing test to check for error
- #1538
03008a4a
Thanks @jonrohan! - Export component CSS selectors as json file for use in component CSS coverage tests, linters, etc.
- #1540
94c6b7fd
Thanks @jonrohan! -app/components/primer/alpha/action_list/action-list.pcss
was re-written toapp/components/primer/alpha/action_list.pcss
- #1548
c9b2c558
Thanks @camertron! - Include legacy flash classes in banners
- #1533
1ee5cc19
Thanks @camertron! - Introduce the Banner component
- #1532
d67dae0a
Thanks @mxriverlynn! - migrate Primer::LinkComponent to Primer::Beta::Link and mark the old one as deprecated
- #1395
488532ce
Thanks @josepmartins! - Add a11yreviewed variable in frontmatter
- #1527
595a6754
Thanks @mxriverlynn! - deprecating Primer::Image in favor of Primer::Alpha::Image
- #1225
c026577c
Thanks @jonrohan! - Creating newPrimer::Alpha::SegmentedControl
component. Design guidelines
- #1530
72866fc2
Thanks @mxriverlynn! - migrating Primer::LabelComponent to Primer::Beta::Label
- #1528
1724aa2b
Thanks @mxriverlynn! - migrating Primer::ImageCrop to Primer::Alpha::ImageCrop
- #1505
5d3448bb
Thanks @camertron! - Pass select list options to Rails form builder
- #1486
9a936bd1
Thanks @langermank! - Remove dead SCSS code from ActionList
- #1491
f43bd08a
Thanks @camertron! - Allow IconButton tooltips to be hidden
- #1476
f174b31c
Thanks @camertron! - Bump view_component to 2.74.1 to fix deadlock issues in Lookbook
- #1450
ef4498df
Thanks @camertron! - Don't export ToggleSwitchElement
- #1446
4f235520
Thanks @camertron! - Allow NavLists to define sub-items as well as a trailing visual
- #1445
493530ed
Thanks @camertron! - Remove unused instance variable in ActionList
- #1424
d7b277ef
Thanks @camertron! - Allow specifying an unchecked value for check box inputs
- #1439
56fae759
Thanks @camertron! - Support system arguments for ActionList item anchor tags
- #1438
b0329cda
Thanks @langermank! - ActionListItemline-height
bug fix
- #1435
8312e6ce
Thanks @camertron! - Allow NavList items to be selected by the current page
- #1428
b7b0c8be
Thanks @bolonio! - Remove external classes from the the button content<span>
inPrimer::beta::Button
- #1427
2139fa30
Thanks @langermank! - Beta::Button CSS bug fixes
- #1421
c35a5c32
Thanks @langermank! - Fix Beta::Button visual regressions- Add back link styles
- Ensure invisible buttons are blue when no visuals are present
- #1422
a129a4d1
Thanks @camertron! - Add SVG and custom content options to NavList's leading visual slot
- #1420
d6623553
Thanks @mxriverlynn! - un-deprecate Primer::ButtonComponent for now, due to inconsistencies and issues in migrating to Primer::Beta::Button
- #1268
f26afd94
Thanks @camertron! - Add the ActionList and NavList components
- #1412
cf548425
Thanks @owenniblock! - Change header tag to div onPrimer::Alpha::Dialog
- #1400
ae48b9fe
Thanks @langermank! - - Add Lookbook previews for Beta Button and IconButton- Tiny CSS bug fix
- #1402
7e50f6d9
Thanks @joelhawksley! - Move Octicon cache preload to initializer.
- #1396
e0c50dcb
Thanks @mxriverlynn! - mark Primer::ButtonComponent as deprecated in favor of Primer::Beta::Button
- #1393
5533f8e7
Thanks @camertron! - Add the Requested-With header to toggle switch requests
- #1382
6fd690c8
Thanks @kangarruu! - Docs change to fix typo and descriptions in dialog.rb
- #1397
1ad8cfa7
Thanks @mxriverlynn! - deprecated Primer::IconButton in favor of Primer::Beta::IconButton"
- #1392
1f424aab
Thanks @jonrohan! - Removingstatic/arguments.yml
and replacing withstatic/arguments.json
. The data output doesn't change.
- #1381
040148d8
Thanks @joelhawksley! - Simplify CI configuration to a single build per Ruby/Rails version.
- #1352
a02944bb
Thanks @jonrohan! - Update eslint custom-element rules so web components can match ruby component names
- #1364
e8714975
Thanks @mxriverlynn! - added Primer::Alpha::ToggleSwitch to the docs build task so it will build and deploy
- #1354
c1edd34f
Thanks @mxriverlynn! - consolidating deprecations into a single list, updating component status migrator for this change, and ensuring rubocop / erblint deprecation linters can be run against changed files only instead of all files
- #1214
33949aa9
Thanks @keithamus! - Adding Primer Dialog Component
- #1325
a54e5510
Thanks @langermank! - Adding Primer::Beta::Button and Primer::Beta::IconButton with visual refinements
- #1312
ff515aa4
Thanks @danielnc! - Fixing Primer::Forms::ActsAsComponent::TemplateParams keyword args
- #1330
b89ac4dd
Thanks @joelhawksley! - Rename test class names that collided
- #1321
f18ef0f0
Thanks @camertron! - Adding Primer::Alpha::ToggleSwitch component
- #1280
1337cd47
Thanks @mxriverlynn! - moving Primer::DetailsComponent to Primer::Beta::Details, and replacing the original with a deprecated component for backward compatibility
- #1303
16204453
Thanks @mxriverlynn! - moving Primer::Alpha::HiddenTextExpander to Primer::Alpha::HiddenTextExpander and replacing the original with a deprecated version
- #1314
9aef2dcb
Thanks @camertron! - Instruct terser to not mangle class names so Catalyst works
- #1308
b773b71c
Thanks @joelhawksley! - Update ViewComponent dependency to fix failing integration tests.
- #1297
c684d071
Thanks @mxriverlynn! - migrating Primer::HeadingComponent to Primer::Beta::Heading, and replacing original with deprecated version
- #1316
6241f130
Thanks @jonrohan! - Creating a primer_view_components.css bundle that will ship with the npm package
- #1290
cc81b54c
Thanks @mxriverlynn! - updating BorderBox slot use to the new.with_#{slot_name}
syntax
- #1294
52fed9a9
Thanks @mxriverlynn! - updating slot use for examples in all components in the root component folder
- #1292
28cdc994
Thanks @mxriverlynn! - updating slot use in examples, for allstatus :alpha
components
- #1293
4d1e8d29
Thanks @mxriverlynn! - updating slot use for components in the beta/ folder
fe709011
Thanks @mxriverlynn! - move the Primer::CloseButton component into Primer::Beta::CloseButton, update all references, create a deprecated Primer::CloseButton in place of the original
7da8c968
Thanks @mxriverlynn! - moving Primer::Counter to Primer::Beta::Counter, and replace original with a deprecated version"
- #1275
1e9ce95c
Thanks @mxriverlynn! - move Primer::ButtonGroup to Primer::Beta::ButtonGroup, update all references, and add deprecated Primer::ButtonGroup for backwards compatibility
- #1266
7d2949de
Thanks @mxriverlynn! - moving Primer::BoxComponent to Primer::Box and creating deprecated Primer::BoxComponent for backward compatibility
- #934
d638fefb
Thanks @pouretrebelle! - Refactor the LabelComponent API
- #1273
f38517ac
Thanks @camertron! - Revert removal of BlankslateComponent
- #1270
44919308
Thanks @camertron! - Use a custom form builder; introduce primer_form_for
- #1269
9ae9615f
Thanks @mxriverlynn! - updating component migrator script with improvements in component reference updates, deprecations, etc.
- #1276
759ea56f
Thanks @mxriverlynn! - correcting the updates to nav.yml in the component status migrator
- #1262
4a347b69
Thanks @mxriverlynn! - updating the component migrator to support--status stable
- #1256
544dd564
Thanks @khiga8! - Usevisibility: 'hidden'
instead ofhidden
attribute to hide tooltip
- #1238
204a8e4e
Thanks @camertron! - Merge primer/rails_forms into primer/view_components
- #1265
61a78c4f
Thanks @jonrohan! - Update IconButton and Button tooltips to be sibling instead of child
- #1255
3729a9bf
Thanks @mxriverlynn! - migratingPrimer::BorderBoxComponent
toPrimer::Beta::BorderBox
- #1062
4b673a6c
Thanks @hectahertz! - AddTooltip
support toIconButton
- #1261
8191b80d
Thanks @camertron! - Make all subdirs of docs/static in prepare script
- #1258
d3880f74
Thanks @camertron! - Replace YAML load with YAML safe load with allowed classes list
- #1254
fc2fbace
Thanks @mxriverlynn! - cleaning up the BlankSlate component to ensure it follows current standards for beta components
- #1239
bc9e8385
Thanks @langermank! - Remove deprecated params added for autocomplete beta
- #1189
ec3af746
Thanks @langermank! - Autocomplete design updates
- #1229
5631d286
Thanks @mxriverlynn! - component generator: correcting template and thor tasks to account for component status
- #1232
3a154bf4
Thanks @jonrohan! - Consolidating view_components previews into test/previews/ folder
- #1224
2fc38746
Thanks @camertron! - Add the ConditionalWrapper for conditionally wrapping content
- #1234
ee04a4a9
Thanks @mxriverlynn! - updating links in the contributing docs to point to correct locations
- #1227
85fdb403
Thanks @keithamus! - Upgrade JS packages
- #1216
e3de2bb4
Thanks @jonrohan! - Move lookbook previews from the lookbook folder to the main project
- #1211
047c6be6
Thanks @camertron! - Don't lint ERB files with Rubocop
- #1210
7b3d5941
Thanks @camertron! - Silence polymorphic slots warning message
- #1200
a6505054
Thanks @camertron! - Use Rubocop cops to lint .erb files
- #1201
de2c7d68
Thanks @camertron! - Add xsmall size for octicons
- #1192
d9440694
Thanks @camertron! - Fix sidebar link to the Flash component in docs
- #1199
3c16e7b3
Thanks @BlakeWilliams! - Prevent slot from overriding component system_arguments
- #1191
d82359d6
Thanks @camertron! - Fix PVC installation docs to mention correct Javascript include
- #1198
63977720
Thanks @camertron! - Add ActionList linter
- #1194
568f312c
Thanks @camertron! - Remove version manager files
- #1188
fb7218ac
Thanks @joelhawksley! - Revert leftover deprecated arguments from 1163.
- #1186
ff2c3fe1
Thanks @joelhawksley! - Revert #1163, as additional work will be needed to ship those changes to production successfully.
- #1185
66a15b1a
Thanks @joelhawksley! - Rename FlashComponent to Flash
- #1183
84b9e4ef
Thanks @camertron! - Remove trailing newlines from the output of LinkComponent
- #1182
33fc7907
Thanks @camertron! - Adjust DeprecatedArguments cop to handle boolean values
- #1179
aa7afef2
Thanks @maxbeizer! - Addrole
to system args docs.
- #1180
3dfcf015
Thanks @joelhawksley! - Upgrading view_component- Bump to latest release of view_component 2.56.0.
- Remove dependency on the now-changed private
@rendered_component
api.
- #1163
1fabdc63
Thanks @langermank! - Autocomplete design updates
- #1150
36702a8e
Thanks @jonrohan! - Adding changesets workflow to the repository for managing releases.
- #1153
8b21a680
Thanks @camertron! - Add a linter for calls to super in templates
- #1141
300f79a7
Thanks @maxbeizer! - AutoComplete component does not apply stacked label class if the label is not visible
-
Add conditional check for shadow root to avoid errors.
Kate Higa
-
Fix tooltip arrow being off-centered for
s
andn
. -
Revert tooltip arrow offset for
sw
,se
,nw
, andne
.Kate Higa
-
Adding lookbook dev server to the project.
Jon Rohan
-
Bump @primer/behaviors and remove dead code.
Kate Higa
-
Enable
eslint-plugin-custom-elements
linting rulesets.Kate Higa, Kristján Oddsson
-
Introduce
DeprecatedComponents
rubocop rule.Kate Higa
-
Fix alphabetization of components in docs.
David Wilson
-
Give codespaces more memory (4gb is not sufficient).
Lindsey Wild Cameron Dutro
-
Rewrite the documentation for deploying the Rails storybook.
Cameron Dutro
-
Ensure that no whitespace is added inside LinkComponent.
Sam Morrow
-
Update documentation to reflect deprecation of
require "view_component/engine"
Leo Correa
-
Add responsive values for
text_align
system argumentLukas Spieß
-
Add
Tooltip
support toButton
.Hector Garcia
-
Add
Tooltip
support toLink
.Hector Garcia
-
Bumps @primer/css to 19.7.1 Kate Higa
-
Bumps auto-complete package to 3.1.0
-
Updates AutoComplete API with optional clear button, restricted icon, and other argument restrictions
Lindsey Wild, Kate Higa, Owen Niblock
-
Check for the
gh
CLI tool in release scripts.Cameron Dutro
-
Ensure tooltip arrow position and tooltip width is correct.
Kate Higa
-
Fix
.eslintrc.json
.ts
files override.Hector Garcia
-
Add ability to attach custom CSS classes to items added to
Truncate
components.Cameron Dutro
-
Add
Primer::Alpha::Tooltip
componentKate Higa, Kristján Oddsson
-
Module for script/update-statuses-project.rb changed to
GitHub
Josh Soref
-
Spelling fixes
Josh Soref
-
Bump view_component in Gemfile.lock files
Cameron Dutro
-
Remove markdown file mistakenly checked in.
Kate Higa
-
Upgrade octicons to >= 17.0.0
Jon Rohan
-
Fix missing @primer/components dependency.
Hector Garcia
-
Add accessible labels to Search AutoComplete when provided with an icon.
Andri Alexandrou
-
Restricts children for AutoComplete API to prevent accessibility violations and misuse
Lindsey Wild
-
Migrate from Heroku to Azure for the Rails storybook server.
-
Build storybook static assets into Docker image.
Cameron Dutro
-
Remove CSS utilities from Blankslate
Hector Garcia
-
Improve last example on the PopoverComponent docs
Hector Garcia
-
Fix live reloading during local docs development.
Cameron Dutro
-
Fix sequence of content in Subhead.
Hector Garcia
-
Deprecate
Tooltip
component.Kate Higa
-
Updates README with missing
alt
attribute on imageKate Higa
-
Updates contributing docs
Lindsey Wild
-
Fix link in system arguments docs
Lukas Spieß
-
Updating octicons to
> 16
Jon Rohan
-
Revert optimization changes to utilities.
Josh Klina
-
Revert accessibility changes to
Spinner
introduced since 0.0.60.Charlotte Dann
-
Optimize logic for converting class names into args
Josh Klina
-
Deprecate
variant
in favor ofsize
inButtonComponent
andButtonGroup
.Manuel Puyol
-
Call
image_path
onPrimer::Image#src
.Manuel Puyol
-
Add
raise_on_invalid_aria
config option to silencearia-label
errors.Manuel Puyol
-
Add missing
border: 0
,font_size: 0
and responsiveflex
system arguments.Manuel Puyol
-
Rename
caret
argument todropdown
inButtonComponent
.Manuel Puyol
-
Remove
:large
variant fromButtonComponent
.Manuel Puyol
-
Update
Spinner
to add system arguments to outermost elementCharlotte Dann
-
Deprecate
icon
andcounter
slots inButtonComponent
in favor ofleading_visual
andtrailing_visual
.Manuel Puyol
-
Fix
PopoverComponent
, allowing to resetleft
andright
positioning.Manuel Puyol
-
Add linter for tracking deprecated
LayoutComponent
callsitesJosh Klina
-
Add functional
Label
schemes:accent
,attention
,severe
,done
andsponsors
.Manuel Puyol, Simon Luthi
-
Add linter to migrate from deprecated
Label
schemes to the new ones.Manuel Puyol
-
Update
Button
to add8px
spacing between icon, text and counter.Manuel Puyol
-
Update
BlankslateApiMigration
linter to support interpolations.Manuel Puyol
-
Change spacing in
Blankslate
:-
Between
description
andprimary_action
to32px
. -
Between
primary_action
andsecondary_action
to16px
.Manuel Puyol
-
-
Improve performance of
Classify#call
.Cameron Dutro
-
Add a warning to users if they try to use
tag:
parameters on a component where the tag is fixed.Owen Niblock
-
Updating to @primer/css@19.0.0 and @primer/primitives@7.1.0. Which removes support for deprecated system color arguments.
Jon Rohan
-
Prevent
aria-label
to be used with:div, :span, :p
tags without an explicitrole
.Manuel Puyol
-
Deprecate
Label
schemesinfo
andwarning
in favor ofaccent
andattention
.Manuel Puyol, Simon Luthi
-
Adding new Alpha component:
Layout
withmain
andsidebar
slotsCameron Dutro
-
Add a two-column layout linter.
Cameron Dutro
-
Add the
HellipButton
componentAmélia Chavot, Owen Niblock
-
Bump Storybook version to include Skip to Content links for keyboard auditors.
Katie Foster @inkblotty
-
Update the
HiddenTextExpander
component to use theHellipButton
.Amélia Chavot, Owen Niblock
-
Fix components not rendering in Storybook because of kebab case arguments.
Amélia Chavot, Manuel Puyol, Owen Niblock
-
Fix a typo on a command on the contribution page.
Amélia Chavot, Owen Niblock
-
Fix issue where tags were not self-closing when they are void elements.
Owen Niblock
-
Deprecate
Primer::BlankslateComponent
in favor ofPrimer::Beta::Blankslate
.Manuel Puyol
-
Require an
aria-label
to be provided for theHiddenTextExpander
component.Amélia Chavot, Owen Niblock
-
Rename
force_system_arguments
toraise_on_invalid_options
to better reflect its functionalityOwen Niblock
-
Renamed
Blankslate
title
slot toheading
.Manuel Puyol
-
Removed
Blankslate
large
variant.Manuel Puyol
-
Renamed
Blankslate
graphic
slot tovisual
.Manuel Puyol
-
Adding new Alpha component: BorderBox Header with optional
title
slotKatie Foster @inkblotty
-
Add note about
Breadcrumbs
not being responsive.Joel Hawksley
-
Handling arguments that aren't system arguments or string arguments in primer_octicon.
Jon Rohan, Manuel Puyol
-
Improvements to the Procfile so script/dev works as expected.
Cameron Dutro
-
Migrating grid classes to utilities.yml process
Jon Rohan
-
Adding new system color arguments, and deprecating old arguments.
Jon Rohan
-
Make
Spinner
more accessible by addingsr-only
loading text.Manuel Puyol
-
Make class name validation configurable instead of relying on the Rails env.
Cameron Dutro
-
Removes unwanted bottom border from active tab of
Alpha::TabNav
.Ned Schwartz
-
Add size restriction to
Avatar
.Kate Higa
-
Remove
square
attribute fromAvatar
in favor ofshape
. This change also affectsTimelineItem
avatar
slot.Manuel Puyol
-
Changed
ClipboardCopy
to usecopy
instead ofpaste
icon.Cole Bemis
-
Breadcrumbs
no longer accepts padding and font size system arguments.Joel Hawksley
-
Add accessibility section to
Breadcrumbs
page.Kate Higa
-
Improve performance of the Classify module, i.e.
Classify.call
.Cameron Dutro
-
Background arguments are now pulled in through the utilities class.
Jon Rohan
-
Border arguments are now pulled in through the utilities class.
Jon Rohan
-
bg:
system argument will no longer accept hex color strings, and deprecated color scale.Jon Rohan
-
Fix
ClipboardCopy
octicons not toggling correctly after first click.Manuel Puyol, Kristján Oddsson
-
Don't suggest empty colors for Octicons when autocorrecting.
Manuel Puyol
-
Octicon
linter will autocorrect colors.Manuel Puyol
-
Button
linter will autocorrect when button useshref
,name
,value
ortabindex
.Manuel Puyol
-
Flash
linter won't autocorrect flashes with ERB in their content.Manuel Puyol
-
Eager load components.
Cameron Dutro
-
Refactor some of the rubocop valid_node? logic into BaseCop class.
Jon Rohan
-
Fix validation checker to use Utilities for color-* classes.
Jon Rohan
-
Primer::Breadcrumbs
requireshref
s for all items and no longer accepts theselected
argument.Joel Hawksley
-
Split
TabNav
intoTabNav
andTabPanels
.Kate Higa
-
Use the allocation_stats gem to count object allocations in our benchmarks.
-
Improve performance of Octicon cache key construction.
Cameron Dutro
-
Update
@primer/css
to17.7.0
which includes a new argument forword_break
Jon Rohan
-
Clean up extra constants in
UnderlineNav
.Kate Higa
-
Rename
BreadcrumbComponent
toBeta::Breadcrumbs
.Joel Hawksley
-
Split
UnderlineNavComponent
intoAlpha::UnderlineNav
andAlpha::UnderlinePanels
.Kate Higa
-
Add autocorrection to
FlashComponent
linter when the context is basic text.Manuel Puyol
-
Linters won't mark offenses when the ignore count is correct unless explicitly configured to do so.
Manuel Puyol
-
Deprecating background and border color presentational arguments
Jon Rohan
-
Map the
for
argument when autofixingClipboardCopy
migrations.Kristján Oddsson
-
Add autocorrection for
CloseButton
linter.Manuel Puyol
-
Moving text color variables to Utilities class
Jon Rohan
-
Linters won't convert HTML special elements.
Manuel Puyol
-
Only run CHANGELOG CI on pull requests.
Manuel Puyol
-
Run CI actions on pushes to main.
Cameron Dutro
-
Get to 100% code coverage.
Cameron Dutro
-
Adding
Primer::Beta::Truncate
component to reflect changes in primer/css component Truncate.Jon Rohan
-
Add cop to look for deprecated system arguments and suggest replacements.
Jon Rohan
-
Add cop to use
primer_octicon
in favor ofocticon
.Manuel Puyol
-
Fix release script so it doesn't loop continuously.
Cameron Dutro
-
Promote
ClipboardCopy
to beta.Manuel Puyol
-
PrimerOcticon linter supports
aria-
anddata-
attributes.Manuel Puyol
-
Linters can:
-
convert values with ERB interpolations.
-
autocorrect cases with custom classes.
Manuel Puyol
-
-
Add a
scheme
option toBorderBoxComponent
rows.Cameron Dutro
-
Upgrade rubocop and support Ruby 3.0.
Cameron Dutro
-
Linters will not autocorrect cases where a required argument is missing.
Manuel Puyol
-
Update benchmarks to run in every supported Ruby version.
Manuel Puyol
-
Add a linter generator.
Manuel Puyol
-
Rename
width
andheight
System Arguments tow
andh
, resolving conflict with HTML attribute names.Manuel Puyol
-
SystemArgumentInsteadOfClass
linter will check for arguments in ViewHelpers.Manuel Puyol
-
Fix incorrect slots syntax in docs.
Joel Hawksley, Blake Williams
-
Add linter suggestions for
CloseButton
component.Manuel Puyol
-
Update to
octicons
v15
, removing open-ended dependency. See [https://github.com/primer/octicons/releases/tag/v15.0.0] for icon name changes in release.Joel Hawksley
-
Don't require
title
forLabel
.Manuel Puyol
-
Improve autocorrectable linters to convert known SystemArgument classes.
Manuel Puyol
-
Add support for
width: :full
andheight: :full
to System Arguments.Joel Hawksley
-
Update linters to not autocorrect attributes with ERB blocks.
Manuel Puyol
-
Fix
:height
and:width
docs to pull from UtilitiesJon Rohan
-
Add linter suggestions for
Label
component.Manuel Puyol
-
Add linter suggestions for
ClipboardCopy
component.Manuel Puyol
-
Update the
Truncate
component to accept:strong
as a tag.Amélia Chavot
-
Improve
Primer::Classify::Utilities.classes_to_hash
performance.Manuel Puyol
-
Require tab with panels to have
panel_id
soaria-controls
can be set.Kate Higa
-
Renames:
-
Primer::AvatarStackComponent
toPrimer::Beta::AvatarStack
.Manuel Puyol
-
-
Extract example tag parsing into helper.
Kate Higa
-
Generate a static constant JSON and use it when defining linters.
Manuel Puyol
-
Ensure panels in
Navigation::Tab
have a label.Kate Higa
-
Expose custom cops and default config for erblint.
Manuel Puyol
-
Fix double constant assign.
Manuel Puyol
-
Restrict tag for
Popover
to:div
andPopover
heading slot to headings.Kate Higa
-
Renames:
-
Primer::AutoComplete
toPrimer::Beta::AutoComplete
-
Primer::AutoComplete::Item
toPrimer::Beta::AutoComplete::Item
-
Primer::AvatarComponent
toPrimer::Beta::Avatar
Manuel Puyol
-
-
Update
doc_examples_axe_test
to exclude non-standalone components and fixMarkdown
example.Kate Higa
-
Update
DetailsComponent
examples.Manuel Puyol
-
Add linter to suggest system arguments instead of classes.
Manuel Puyol
-
Update component generator to create components in the right status module.
Manuel Puyol
-
Add example for truncating HTML to
Truncate
.Joel Hawksley
-
Update docs generation to point to the correct file sources.
Manuel Puyol
-
Add ENV flag to dump linter data into a file.
Manuel Puyol
-
Default to matching
name
andid
ofinput
.Kate Higa
-
Restrict usage of padding system arguments on BorderBox, recommending use of
padding
density instead.Joel Hawksley
-
Restrict
TabNav
andTab
tags.Kate Higa
-
Restrict
AvatarStack
body slot tag andImageCrop
spinner tag.Kate Higa
-
Restrict
Details
body slot tags andUnderlineNav
body slot tags.Kate Higa
-
Move Primer::Classify from
app/lib/
tolib/
. This requires an extrarequire "primer/classify"
statement for anywhere Classify is needed.Manuel Puyol, Jon Rohan
-
Restrict
Menu
heading slot tags to heading tags and requiretag
argument.Kate Higa
-
Adding animation, vertical_align, word_break, display, visibility, & position arguments to the utilities class.
animation: :grow
is nowanimation: :hover_grow
this was a change because we changed the class name in primer.Jon Rohan
-
Update contributing guidelines with release instructions.
Kate Higa
-
Prevent flexible tag syntax with rubocop rule.
Kate Higa
-
Update linter autocorrection to use
""
instead oftrue
for boolean attributes.Manuel Puyol
-
Update Storybook version.
Manuel Puyol
-
Add a changelog authoring guide to
CHANGELOG.md
.Amélia Chavot
-
Allow copying from elements using
for
inClipboardCopy
.Manuel Puyol
-
Remove
label
argument in favor ofaria-label
inClipboardCopy
.Manuel Puyol
-
Add autocorrect for button linters.
Manuel Puyol
-
Unify contributing guidelines.
Kate Higa
-
Rerun flaky system tests.
Manuel Puyol
-
Check if selector is a classify class in Utilities.
Jon Rohan
-
Allow
Dropdown
menu items to be rendered outside a list.Manuel Puyol
-
Require a label or
aria-label
to be provided forAutoComplete
component.Kate Higa
-
Renames:
-
DropdownComponent
toDropdown
. -
Dropdown::MenuComponent
toDropdown::Menu
. -
Primer::ButtonMarketingComponent
toPrimer::Alpha::ButtonMarketing
. -
Primer::TextComponent
toPrimer::Beta::Text
.Manuel Puyol
-
-
Removes
summary_classes
attribute in favor of thesummary
slot inDropdown
.Manuel Puyol
-
Replace Classify::Spacing class with pre-generated mappings.
Jon Rohan
-
Add linter suggestions for
Button
component.Manuel Puyol
-
Sort documentation arguments.
Jon Rohan
-
Add validations for docs generation.
Manuel Puyol, Kate Higa
-
Change docs header order.
Manuel Puyol, Kate Higa
-
Add preliminary criteria for new
alpha
components.Joel Hawksley
-
Add
clearfix
andcontainer
system arguments.Manuel Puyol
-
Promote
TabNav
component to beta.Manuel Puyol
-
Allow customizing
TabContainer
when usingTabNav
andUnderlineNav
components.Manuel Puyol
-
Restrict
col
system arguments to only accept values between 1 and 12.Manuel Puyol
-
Raise an error if
class
is used as a system argument.Manuel Puyol
-
Don't commit auto-generated component previews.
Kate Higa
-
Provide linters for component migrations.
Manuel Puyol
-
Update docs to accept multiline descriptions.
Manuel Puyol
-
Upgrade primer/css to 17.2.1
Jon Rohan
-
Add
font_family
,font_style
andtext_transform
system arguments.Manuel Puyol
-
Add more options for
font_size
andfont_weight
.Manuel Puyol
-
Add
align
option to theTabNav
extra slot to allow HTML ordering.Manuel Puyol
-
Auto-generate component previews from doc examples and run integration test checks.
Kate Higa, Joel Hawksley
-
Configure previews controller to allow view helper usage in preview template.
Kate Higa
-
Only include
ViewComponent::SlotableV2
ifViewComponent::Base
does not already include it.Manuel Puyol
-
Add
force_system_arguments
option to raise an error if a class is used instead of using System Arguments.Manuel Puyol
-
Restrict allowed tags for
Truncate
,Markdown
, andHiddenTextExpander
.Kate Higa
-
Create
LocalTime
component.Kristján Oddsson
-
Create
Image
component.Manuel Puyol
-
Add
extra
slot toTabNav
.Manuel Puyol
-
Do not raise error if Primer CSS class name is passed to component if
PRIMER_WARNINGS_DISABLED
is set.Joel Hawksley
-
Accept
aria-current="true"
in tabbed components.Manuel Puyol
-
Promote
Tooltip
component to beta.Manuel Puyol
-
Ensure that
ClipboardCopy
behaviors only target ViewComponents.Manuel Puyol
-
Ensure that the
rounded
attribute for<image-crop>
is represented as a boolean attribute.Kristján Oddsson
-
Rename
TooltipComponent
toTooltip
.Manuel Puyol
-
Don't allow
OcticonComponent
height/width values under 16pxJon Rohan
-
Remove
:large
size option fromOcticonComponent
and change:medium
to 24pxJon Rohan
-
Restrict
Label
tag tospan
,div
,a
,summary
.Kate Higa
-
Add a CI check for changes to the CHANGELOG file.
Kristján Oddsson
-
Create
ImageCrop
component.Kristján Oddsson
-
Promote
IconButton
to beta.Manuel Puyol
-
Add
box
argument toIconButton
.Manuel Puyol
-
Promote
Markdown
to beta.Manuel Puyol
-
Fix
IconButton
raising whenaria-label
was provided using an object.Manuel Puyol
-
Fix disabling of default styles for
SpinnerComponent
vianil
style parameter.Chris Wilson
-
Deprecate
Flex
in favor ofBoxComponent
.Manuel Puyol
-
Restrict
ButtonGroup
tag to:div
and update docs forText
tag.Kate Higa
-
Remove non-functional
width
andheight
:fill
option.Jon Rohan, Joel Hawksley
-
Restrict
Subhead
heading
slot tag todiv
andh1
-h6
.Kate Higa
-
Restrict
Blankslate
tag todiv
.Kate Higa
-
Explicitly limit tag for
AvatarStack
to:div
and:span
.Kate Higa
-
Rename
MarkdownComponent
toMarkdown
.Manuel Puyol
-
Promote
CloseButton
to beta.Manuel Puyol
-
Update
ClipboardCopy
to not toggle icons unless they both exist.Kristján Oddsson
-
Add
icon
andcounter
slots toButtonComponent
.Manuel Puyol
-
Create
IconButton
component.Manuel Puyol
-
Removing trailing whitespace from output of
class=""
Classify generation.Jon Rohan
-
Deprecate
FlexItem
in favor ofBoxComponent
.Manuel Puyol
-
Dropping requirement of
octicons_helper
and updatingOcticonComponent
to useocticon
gem directly.Jon Rohan
-
Breaking change: Remove
:overlay
option fromborder_color
.Simon Luthi
-
Extract
BaseButton
component.Manuel Puyol
-
Add default
aria-label
of "Close" toCloseButton
component.Kate Higa
-
Set button variants in the
ButtonGroup
parent.Manuel Puyol
-
Create
ClipboardCopy
component.Kristján Oddsson
-
Breaking change: Rename
ButtonGroupComponent
toButtonGroup
and promote it to beta.Manuel Puyol
-
Breaking change: Do not provide default for
Heading
and improve documentation.Kate Higa
-
Breaking change: Don't allow
StateComponent
to be a link.Kate Higa
-
Update NPM package to include subdirectory JS files.
Manuel Puyol
-
Add
block
flag toButtonComponent
.Manuel Puyol
-
Add
link
andinvisible
schemes toButtonComponent
.Manuel Puyol
-
Create
CloseButton
andHiddenTextExpander
component.Manuel Puyol
-
Breaking change: Rename
AutoCompleteComponent
toAutoComplete
andAutoCompleteItemComponent
toAutoComplete::Item
.Manuel Puyol
-
Breaking change: Rename
TruncateComponent
toTruncate
and promote it to beta.Manuel Puyol
-
Promote
AutoCompleteComponent
,AutoCompleteItemComponent
,AvatarStackComponent
andButtonComponent
to beta.Manuel Puyol
-
Allow
UnderlineNav
tabs to be rendered as a<ul><li>
list.Manuel Puyol
-
Accessibility: Don't add tab roles when
UnderlineNav
orTabNav
use link redirects.Manuel Puyol
-
Breaking change: Make
label
required forUnderlineNav
andTabNav
.Manuel Puyol
-
Add
p: :responsive
andm: :auto
system arguments.Manuel Puyol
-
Remove
my: :auto
and negativem:
system arguments.Manuel Puyol
-
Breaking change: Rename
FlashComponent
variant
argument toscheme
.Manuel Puyol
-
Breaking change: Rename
LinkComponent
variant
argument toscheme
.Manuel Puyol
-
Breaking change: Rename
ButtonComponent
button_type
argument toscheme
.Manuel Puyol
-
Breaking change: Rename
ButtonMarketing
button_type
argument toscheme
.Manuel Puyol
-
Breaking change: Rename
StateComponent
color
argument toscheme
.Manuel Puyol
-
Remove
TabbedComponent
validation requiring a tab to be selected.Manuel Puyol
-
Allow passing the icon name as a positional argument to
OcticonComponent
.Manuel Puyol
-
Promote
TimeAgoComponent
to beta.Manuel Puyol
-
Breaking change: Update
TabNav#tab
API to accept the tab content as a block and panel content as a slot.Manuel Puyol
-
Breaking change: Update
UnderlineNavComponent
API be more strict and supportTabContainer
.Manuel Puyol
-
Fix
Popover
bug where body was only returning the last line of the HTML.Manuel Puyol, Blake Williams
-
Make
color:
,bg:
andborder_color:
accept string values.Manuel Puyol
-
Add
primer_time_ago
helper.Simon Taranto
-
Add
silence_deprecations
config to suppress deprecation warnings.Manuel Puyol
-
Update
CounterComponent
to accept functional schemesprimary
andsecondary
. Deprecategray
andlight_gray
schemes.Manuel Puyol
-
Add
force_functional_colors
option to convert colors to functional. This change includes a deprecation warning in non-production environments that warns about non functional color usage.Manuel Puyol
-
Promote
DetailsComponent
,HeadingComponent
,TextComponent
,TimelineItemComponent
, andPopoverComponent
to beta status.Simon Taranto
-
Update
LinkComponent
:-
use
Link--muted
instead ofmuted-link
. -
accept
variant
andunderline
options. -
accept
:span
as a tag.Manuel Puyol
-
-
Add
AutoComplete
andAutoCompleteItem
components.Manuel Puyol
-
Publish types with npm package.
Keith Cirkel & Clay Miller
-
Fix
AvatarComponent
to apply classes to the link wrapper if present.Steve Richert
-
Fix
AvatarComponent
to apply theavatar-small
class rather thanavatar--small
.Steve Richert
-
Breaking change: Updates
PopoverComponent
to use Slots V2.Manuel Puyol
-
Promote
BreadcrumbComponent
andProgressBarComponent
to beta status.Simon Taranto
-
Fix
OcticonComponent
not renderingdata-test-selector
correctly.Manuel Puyol
-
Add
TimeAgo
component.Keith Cirkel
-
Breaking change: Updates
UnderlineNavComponent
to use Slots V2.Simon Taranto
-
Breaking change: Upgrade
LayoutComponent
to use Slots V2.Simon Taranto
-
Fix
DetailsComponent
summary always being rendered as abtn
.Manuel Puyol
-
Promote
BlankslateComponent
andBaseComponent
to beta status.Simon Taranto
-
Promote
SubheadComponent
to beta.Simon Taranto
-
Add deprecated
orange
andpurple
schemes toLabelComponent
.Manuel Puyol
-
Fix zeitwerk autoload integration.
Manuel Puyol
-
Breaking change: Upgrade
ProgressBarComponent
to use Slots V2.Simon Taranto
-
Breaking change: Upgrade
BreadcrumbComponent
to use Slots V2.Manuel Puyol
-
Remove node and yarn version requirements from
@primer/view-components
.Manuel Puyol
-
Breaking change: Upgrade
SubheadComponent
to use Slots V2.Simon Taranto
-
Breaking change: Update
LabelComponent
to use only functional color supportive scheme keys. The component no longer accepts colors (:gray
, for example) but only functional schemes (primary
, for example).LabelComponent
is promoted to beta status.Simon Taranto
-
Add view helpers to easily render Primer components.
Manuel Puyol
-
Add
TabContainer
andTabNav
components.Manuel Puyol
-
Promote
StateComponent
to beta.Simon Taranto
-
Breaking change: Upgrade
BorderBoxComponent
to use Slots V2.Manuel Puyol
-
Breaking change: Upgrade
StateComponent
to support functional colors. This change requires using @primer/css-next. The required changes will be upstreamed to @primer/css at a later date.Simon Taranto
-
Breaking change: Upgrade
DetailsComponent
to use Slots V2.Simon Taranto
-
Breaking change: Upgrade
FlashComponent
to use Slots V2.Joel Hawksley, Simon Taranto
-
Breaking change: Upgrade
BlankslateComponent
to use Slots V2.Manuel Puyol
-
Breaking change: Upgrade
TimelineItemComponent
to use Slots V2.Manuel Puyol
-
Fix bug when empty string was passed to Classify.
Manuel Puyol
-
Add support for functional colors to
color
system argument.Jake Shorty
-
Add
AvatarStack
,Dropdown
,Markdown
andMenu
components.Manuel Puyol
-
Deprecate
DropdownMenuComponent
.Manuel Puyol
-
Fix
Avatar
bug when used with links.Manuel Puyol
-
Add cache for common Primer values.
Blake Williams
-
Add support for
octicons_helper
v12.Cole Bemis
-
Add support for
border: true
to apply theborder
class.Simon Taranto
-
Promote
Avatar
,Link
, andCounter
components to beta.Simon Taranto
-
Breaking change: Drop support for Ruby 2.4.
Simon Taranto
-
Add
border_radius
system argument.Ash Guillaume
-
Add
animation
system argument.Manuel Puyol
-
Add
Truncate
,ButtonGroup
andButtonMarketing
components.Manuel Puyol
-
Add
Tooltip
component.Simon Taranto
-
Ensure all components support inline styles.
Joel Hawksley
-
Adding a
spinner
slot to theBlankslateComponent
that uses theSpinnerComponent
added in0.0.10
.Jon Rohan
-
Bumping node engine to version
15.x
Jon Rohan
-
Add ability to disable
limit
on Counter.Christian Giordano
-
Rename
v
system argument tovisibility
.Joel Hawksley
-
Add functional colors to Label.
Joel Hawksley
-
Add support for
xl
breakpoint.Joel Hawksley
-
Adds support for disabling inline box-sizing style for
SpinnerComponent
via style parameterPrimer::SpinnerComponent.new(style: nil)
.Chris Wilson
-
Renames DetailsComponent::OVERLAY_DEFAULT to DetailsComponent::NO_OVERLAY to more correctly describe its value.
Justin Kenyon
-
Add SpinnerComponent
Cole Bemis
-
BREAKING CHANGE: OcticonComponent no longer accepts
class
parameter; useclasses
instead.heynan0
-
Add support for border margins, such as:
border_top: 0
.Natasha Umer
-
Add FlashComponent and OcticonComponent.
Joel Hawksley
-
BREAKING CHANGE: BlankslateComponent accepts
icon_size
instead oficon_height
.Joel Hawksley
-
Use
octicons_helper
v11.0.0.Joel Hawksley
-
Updated the invalid class name error message
emplums
-
Updated README with testing instructions
emplums
-
Add large and spacious option to BlankslateComponent
simurai
-
Add option for
ButtonComponent
to render asummary
tagManuel Puyol
-
BREAKING CHANGE: Changed
DetailsComponent
summary and body to be slotsManuel Puyol
-
Add support for box_shadow
-
Add components:
-
Popover
Sarah Vessels
-
-
Added support for mx: and my: :auto.
Christian Giordano
-
Added support for custom layout sizes.
Manuel Puyol
-
Add support for responsive
float
system argument.Joel Hawksley
-
Add components:
-
Avatar
-
Blankslate
Manuel Puyol, Ben Emdon
-
-
Add initial gem configuration.
Manuel Puyol, Joel Hawksley
-
Add demo app and storybook to test
Manuel Puyol
-
Add Classify, FetchOrFallback and ClassName helpers
Manuel Puyol
-
Add components:
-
BorderBox
-
Box
-
Breadcrumb
-
Button
-
Counter
-
Details
-
Dropdown
-
Flex
-
FlexItem
-
Heading
-
Label
-
Layout
-
Link
-
ProgressBar
-
State
-
Subhead
-
Text
-
TimelineItem
-
UnderlineNav
Manuel Puyol
-