1
1
mirror of https://github.com/primer/css.git synced 2024-11-25 18:26:14 +03:00
Commit Graph

444 Commits

Author SHA1 Message Date
GitHub Design Systems Bot
a65f103b17
Version Packages (#2469)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-22 11:35:49 +01:00
Keith Cirkel
c6d5d1dfd3
Revert "Add ::selection to root color vars" (#2468)
* Revert "Add `::selection` to root color vars (#2437)"

This reverts commit 616c89354b.

* changeset
2023-06-22 11:26:10 +01:00
GitHub Design Systems Bot
00c76451c0
Version Packages (#2467)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-21 14:04:51 -07:00
Katie Langerman
9204701416
Use @primer/primitives v8 colors with fallbacks (#2466)
* bump

* run stylelint

* lint

* bump release

* Create tidy-brooms-search.md
2023-06-21 13:56:27 -07:00
GitHub Design Systems Bot
5ac76ee9a1
Version Packages (#2458)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-13 15:43:15 -07:00
Katie Langerman
abc8965913
Add default ::selection color (#2461)
* add color

* Create happy-brooms-lick.md
2023-06-13 08:04:42 -07:00
Katie Langerman
352ed7b755
Add new PostCSS fallback config (#2457)
* add new fallback config

* Create swift-moles-jump.md
2023-06-09 11:13:04 -07:00
Dylan Smith
344224fccd
Add width utility to limit line length for readability (#2410)
* Add class to limit max-width to 65ch

* Update layout.md with example of new class

* Update layout.scss

* Create .changeset/shy-cats-hug.md

---------

Co-authored-by: simurai <simurai@github.com>
2023-06-09 10:40:23 -07:00
GitHub Design Systems Bot
f5607983b7
Version Packages (#2428)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-31 11:24:27 -07:00
Katie Langerman
fe17ba05ac
Bump primitives v7.11.10 (#2439)
* bump

* Create fair-horses-roll.md

* bump

* add plugin

* remove test

* Rebuild lock

* fix docs dep

* Update fair-horses-roll.md

---------

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2023-05-31 11:09:16 -07:00
Katie Langerman
616c89354b
Add ::selection to root color vars (#2437)
* add selection selector

* Create quiet-wasps-care.md

---------

Co-authored-by: Cameron Dutro <camertron@gmail.com>
2023-05-16 12:19:38 -07:00
Katie Langerman
abdb3a93f1
Add utility typography CSS vars to main bundle (#2438)
* update main bundle

* Create small-nails-matter.md
2023-05-03 09:12:45 -07:00
Katie Langerman
c415172fca
Remove duplicate font-weight fallbacks from utilities (#2430)
* remove double fallbacks

* Create wicked-bananas-hammer.md
2023-04-27 08:56:17 -07:00
Katie Langerman
713d9a5921
Add mktg CSS vars to PCSS (#2426)
* add color vars to pcss

* Create spotty-carpets-complain.md
2023-04-25 09:36:05 -07:00
GitHub Design Systems Bot
7dc4d9f43a
Version Packages (#2420)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-21 10:20:00 -07:00
Katie Langerman
718f1aa6a6
Update size tokens to Primitives pre-v8 release (#2425)
* use new size tokens

* Create wild-wombats-doubt.md

* fix import

* Update wild-wombats-doubt.md
2023-04-21 10:02:59 -07:00
simurai
bce38dee01
Make list type selector case sensitive (#2418)
* Make list type selector case sensitive

* Create .changeset/quiet-lamps-smile.md
2023-04-06 12:03:06 +09:00
simurai
7dfcb0c595
Bump @primer/primitives to 7.11.5 (#2421)
* yarn add @primer/primitives@^7.11.5

* Create .changeset/chatty-elephants-fry.md
2023-04-06 12:02:31 +09:00
Katie Langerman
ae9d71b117
Add font-size to html tag to make rem units "safe" (#2404)
* safeguard rem units

* Create .changeset/popular-wasps-compare.md
2023-04-04 12:53:32 -07:00
GitHub Design Systems Bot
2221a294e3 Version Packages (#2392)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-31 19:11:04 +09:00
simurai
cf38a932e7
Bump @primer/primitives to 7.11.3 (#2409)
* yarn add @primer/primitives@^7.11.3

* Create .changeset/little-snails-hammer.md
2023-03-30 14:56:26 +02:00
simurai
607337cce5
Bump @primer/primitives to 7.11.2 (#2407)
* yarn add @primer/primitives@^7.11.2

* Create .changeset/clever-walls-wait.md
2023-03-29 11:13:05 +02:00
simurai
c6e214b75b
Remove form-validation.scss (#2402)
* Move `.form-group label`

* Remove `form-validation.scss`

* Create .changeset/poor-hotels-roll.md

* Lint
2023-03-29 08:27:35 +09:00
simurai
85f31cc8f8
Remove ActionList (#2405)
* Remove ActionList from src/

* Remove `ActionList` from docs/

* Create .changeset/quick-wasps-kick.md
2023-03-29 08:25:30 +09:00
Lukas Oppermann
256affcf34
remove DiffStat component (#2403) 2023-03-27 15:38:01 +02:00
simurai
95ab0d0f48
Prevent .show-on-focus to change width/height (#2391)
* Update `.show-on-focus` to not reset width/height

* Add `ShowOnFocus` story

* Create .changeset/shy-pumpkins-walk.md
2023-02-28 15:00:42 +09:00
GitHub Design Systems Bot
54f90b5a45
Version Packages (#2387)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-24 11:42:38 +09:00
simurai
73ae8ec45b
Remove autocheck + status-indicator styles (#2390)
* Remove autocheck styles

* Remove `status-indicator`

* Create beige-badgers-perform.md

* Lint
2023-02-24 11:15:09 +09:00
Arelia Jones
3ceb19648b
update default for flex wrap styles (#2388)
* update default for flex wrap styles

* Create .changeset/perfect-foxes-compete.md

---------

Co-authored-by: Jon Rohan <jonrohan@github.com>
2023-02-22 19:51:59 +00:00
simurai
55f35e1d0f
Fix code block color inside a <blockquote> (#2378)
* Set default color for code blocks

* Create .changeset/pink-geese-invite.md
2023-02-20 16:32:56 +09:00
Josep Martins
1b53e23ed3
Add rounded responsive stories (#2386)
* Add rounded responsive stories
2023-02-17 09:45:03 +01:00
GitHub Design Systems Bot
7eb38522d3
Version Packages (#2381)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-10 12:11:05 -08:00
Katie Langerman
3010e199bb
Bump Primitives v7.11.1 (#2380)
* bump

* Create .changeset/twelve-clocks-glow.md

* we still use yarn up in here?
2023-02-10 11:59:17 -08:00
GitHub Design Systems Bot
969cbb2df8
Version Packages (#2352)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-31 10:57:09 -08:00
Jack Brewer
4b94fbb759
Remove trailing margin from HTML elements within markdown tables (#2365)
* Remove trailing margin from last-child within a markdown table cell

* Add changeset

* Move new styles to table-specific file

* Disable `selector-max-compound-selectors` stylelint

Co-authored-by: simurai <simurai@github.com>
2023-01-24 13:21:28 +09:00
Jon Rohan
1b6694c409
Updating to Primer View Components v0.0.117 (#2351)
* Updating to primer view components 0.0.117

* Create strange-tables-repeat.md

* Move Link import to pvc
2022-12-30 12:05:22 +09:00
GitHub Design Systems Bot
07d8f58915
Version Packages (#2324)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-16 11:11:08 +09:00
Jeremy Danyow
f76e785807
normalize: use --color-fg-default on mark (#2309)
* normalize: use --color-fg-default on mark

* Create chatty-squids-think.md

Co-authored-by: simurai <simulus@gmail.com>
2022-12-16 00:27:00 +00:00
simurai
ecbcbb1b04
Import Layout from PVC (#2340)
* Import Layout styles from PVC

* Bump `@primer/view-components` to `0.0.115`

* Bump `@primer/view-components` to `0.0.115`

Again! After solving merge conflicts

* Rename `menu_component` import to `alpha/menu`

* Create mighty-forks-occur.md
2022-12-15 11:40:15 +09:00
Jon Rohan
d7a4c343ab
Create chilled-elephants-occur.md 2022-12-02 09:27:45 -08:00
simurai
8cf13e984c
Move some form styles to base.scss (#2327)
* Move fieldset + label styles to base.scss

* Create giant-boxes-vanish.md

* Move ::placeholder
2022-12-02 10:59:15 +09:00
Steven Laidlaw
83250f8275
Fix inline code collapsing spaces (#2330)
* Updated to prevent spaces from collapsing while inside inline code blocks

* Added changeset

* Add comment

Co-authored-by: simurai <simulus@gmail.com>
2022-11-30 11:37:08 +09:00
Jon Rohan
aee4b6f571
Import blankslate styles from primer/view-components (#2318)
* Adding PVC to dependencies

* Import blankslate from PVC

* Don't need the support import anymore here

* Create quiet-impalas-drive.md

* Update quiet-impalas-drive.md
2022-11-22 10:21:09 -08:00
GitHub Design Systems Bot
0a9e6d8cc6
Version Packages (#2323)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-22 10:14:45 -08:00
Katie Langerman
1259ddd408
Followup design token swaps (#2322)
* teeny tiny

* Create rare-garlics-vanish.md
2022-11-22 10:06:07 -08:00
GitHub Design Systems Bot
bdab25e9b1
Version Packages (#2320)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-21 14:06:04 -08:00
langermank
46016601e8 add missing changeset 2022-11-21 13:51:22 -08:00
Katie Langerman
412d78208b
Convert typography to use rem units with px fallbacks (#2302)
* add temp vars

* base styles

* lint

* cleanup

* lint

* Create nervous-experts-camp.md

* lint

* Stylelint auto-fixes

* Update nervous-experts-camp.md

Co-authored-by: Actions Auto Build <actions@github.com>
2022-11-21 09:35:33 -08:00
Katie Langerman
3b397d985c
Convert margin utilities to rem units with fallbacks (#2311)
* add rem units

* Stylelint auto-fixes

* Create beige-dragons-appear.md

* fix negative utils

Co-authored-by: Actions Auto Build <actions@github.com>
2022-11-21 09:34:17 -08:00
GitHub Design Systems Bot
8c532bddc0
Version Packages (#2312)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-21 08:29:54 -08:00
Katie Langerman
f3acb2b116
Increase Checkbox/Radio border contrast (#2316)
* increase border contrast

* Create quiet-otters-care.md

* Stylelint auto-fixes

* Update quiet-otters-care.md

Co-authored-by: Actions Auto Build <actions@github.com>
2022-11-18 15:50:44 -08:00
Jeremy Danyow
551492ebf4
dropdown: update class attr hover selector (#2310)
* dropdown: update class attr hover selector

* Create strange-buckets-count.md

Co-authored-by: simurai <simulus@gmail.com>
2022-11-18 07:14:08 +00:00
Katie Langerman
c8100be771
[Bug] Radio checked + focus state fixes (#2314)
* use border instead of pseudo element

* Stylelint auto-fixes

* Create rude-ears-tie.md

Co-authored-by: Actions Auto Build <actions@github.com>
2022-11-17 12:02:59 -08:00
Vinicius Depizzol
12355f87ac
Add upper-roman and upper-alpha list types (#2305)
* Add upper-roman and upper-alpha list types

* Create beige-files-move.md
2022-11-16 12:42:47 -08:00
Jon Rohan
0370244f49
Bugfix: Adding whitespace normal to Overlay element (#2307)
* Adding whitespace normal to Overlay

* Stylelint auto-fixes

* Create chilled-dragons-sin.md

Co-authored-by: Actions Auto Build <actions@github.com>
2022-11-15 09:48:34 -08:00
GitHub Design Systems Bot
ae5a7ac88b
Version Packages (#2304)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-15 11:21:15 +09:00
simurai
5a0b9b2939
Add Noto Sans to the body font stack (#2300)
* Add `Noto Sans` to the font stack

To better support Linux.

* Create lucky-emus-teach.md
2022-11-07 17:17:02 +09:00
GitHub Design Systems Bot
6cf2c06b4d
Version Packages (#2293)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-31 13:29:07 -07:00
Cameron Dutro
9a4f2ff780
Add additional :not selectors for flash classes (#2292) 2022-10-31 13:26:12 -07:00
GitHub Design Systems Bot
b4207b4d04
Version Packages (#2290)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-28 13:39:01 -07:00
Cameron Dutro
c23346b9a4
Don't apply flash* classes to banners (#2289) 2022-10-27 15:58:02 -07:00
GitHub Design Systems Bot
7079b1a482
Version Packages (#2287)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-20 08:04:55 +09:00
Kristján Oddsson
8336334d12
Remove action list item animation (#2284)
* Remove action list item animation

Co-authored-by: Katie Langerman <langermank@github.com>

* Create strange-bags-protect.md

Co-authored-by: Katie Langerman <langermank@github.com>
2022-10-20 08:01:53 +09:00
GitHub Design Systems Bot
fb716d2b44
Version Packages (#2267)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-14 09:43:36 +09:00
Vinicius Depizzol
27266fcd21
Fix Overlay easing animation (#2269)
* Fix overlay easing animation

* Create empty-hornets-kick.md

Co-authored-by: Katie Langerman <langermank@github.com>
2022-09-30 11:24:26 -07:00
simurai
2e2bc71b78
Set FormControl color (#2268)
* Set FormControl color

* Create quick-seas-tickle.md
2022-09-30 09:22:27 +09:00
simurai
b087282e50
Improve AvatarStack when hovering (#2228)
* Add rounded corners to `AvatarStack-body`

* Create brave-turtles-design.md

* Lint
2022-09-28 04:22:46 +00:00
simurai
6569fb3a04
Fix nested <ul> in footnotes (#2260)
* Fix nested `<ul>` in footnotes

* Stylelint auto-fixes

* Create fresh-llamas-stare.md

Co-authored-by: Actions Auto Build <actions@github.com>
2022-09-28 04:20:20 +00:00
GitHub Design Systems Bot
b5e009778e
Version Packages (#2257)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-26 12:00:54 -07:00
Katie Langerman
c28cdf7eff
Remove scrollbar CSS property from Overlay (#2266)
* remove placeholder for scrollbar

* Create cool-ligers-yell.md

* format issues
2022-09-26 10:26:50 -07:00
Joshua Rush
1a9a668931
Fixing ActionList Item hover focus style (#2255)
* Fixing ActionList Item hover focus style

* Create plenty-papayas-reflect.md

Co-authored-by: Katie Langerman <langermank@github.com>
2022-09-16 10:42:37 -07:00
Kristján Oddsson
81083778a7
Make sure to apply backdrops only to one Overlay (#2249)
* Make sure to apply backdrops only to one Overlay

* Update overlay.scss

* Create stale-drinks-arrive.md

* Update stale-drinks-arrive.md

Co-authored-by: Katie Langerman <langermank@github.com>
Co-authored-by: Josep Martins <josepmartins@github.com>
2022-09-15 13:58:14 +02:00
GitHub Design Systems Bot
9781779643
Version Packages (#2244)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-08 12:34:06 -07:00
Josh Bowden
ef31fd988d
479-user-pics-misaligned-in-issues-assignment-view (#2242)
* 479-user-pics-misaligned-in-issues-assignment-view

* Update avatar-stack.scss

- Not last child means that each stacking avatar would remove the border-right which is necessary to stack correctly. The presentational order is right to left not left to right.

* Create smooth-crabs-protect.md

* Update avatar-stack.scss

- Fixed pointer to the anchor element

* Update .changeset/smooth-crabs-protect.md

- removed branch name from changeset

Co-authored-by: Jon Rohan <yes@jonrohan.codes>

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-09-07 15:07:12 -03:00
GitHub Design Systems Bot
f5b0a5b605
Version Packages (#2212)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 14:03:27 -07:00
Jon Rohan
8a4c087885
ActionList hide the first divider if there's hidden items in front of it. (#2229)
* Hiding divider if the item in front of it is hidden

* Create rich-boxes-crash.md
2022-08-30 12:48:23 -07:00
Katie Langerman
56ea4ab176
Overlay updates for Alpha::Dialog (#2225)
* add size

* Stylelint auto-fixes

* update animations

* Create swift-icons-stare.md

* format

* Stylelint auto-fixes

* Update swift-icons-stare.md

* i am so confused with git rn

* please work

* lint

* Update src/overlay/overlay.scss

Co-authored-by: Jon Rohan <yes@jonrohan.codes>

Co-authored-by: Actions Auto Build <actions@github.com>
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-08-30 12:45:46 -07:00
Reece Atkinson
1a8e7db5f6
Update Marketing Typography (marketing-type.md) (#2220)
* Update Marketing Typography (marketing-type.md)

Changed a description so it made more sense, changed heading text to make it more useful.

* Create fuzzy-cows-drum.md

Co-authored-by: Tobias Ahlin <tobiasahlin@github.com>
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-08-29 21:05:47 -07:00
Katie Langerman
6205337b4c
Add styling for readonly, fix AutoComplete inset focus background color (#2218)
Co-authored-by: Eric Bailey <ericwbailey@users.noreply.github.com>
Co-authored-by: Actions Auto Build <actions@github.com>
2022-08-29 12:57:34 -04:00
John Bohannon
8e5f622441
Remove outline reset of .SelectMenu-closeButton (#2211)
* Update select-menu.scss

* Create clean-wombats-run.md

Co-authored-by: Katie Langerman <langermank@github.com>
2022-08-24 17:01:07 +09:00
GitHub Design Systems Bot
4afbb38bc7
Version Packages (#2203)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-19 09:03:08 -07:00
Josep Martins
e175f69dd8
Bump @primer/gatsby-theme-doctocat from 3.1.1 to 4.0.0 in /docs (#2191)
* Bump @primer/gatsby-theme-doctocat from 3.1.1 to 4.0.0 in /docs

* Create spicy-numbers-invent.md

* Move section titles as new NavItems

* Update docs/src/@primer/gatsby-theme-doctocat/nav.yml

Co-authored-by: Cole Bemis <colebemis@github.com>

Co-authored-by: Cole Bemis <colebemis@github.com>
2022-08-19 10:46:03 +02:00
Jon Rohan
83e43486d8
Moving segmented_control.css to primer_view_components (#2208)
* Moving segmented_control to primer_view_components

* Create cuddly-months-greet.md
2022-08-17 18:58:01 -07:00
Jon Rohan
b74e78b253
Rename SegmentedControl--iconOnly-whenNarrow to SegmentedControl-button--iconOnly-whenNarrow and place on button (#2202)
* Rename whenNarrow so it's a class on the button

* Create silent-crews-pay.md
2022-08-15 09:44:28 -07:00
GitHub Design Systems Bot
f824882e7f
Version Packages (#2181)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-11 11:47:36 -07:00
Jon Rohan
f9e5db5e4a
Segmented control list (#2195)
* Updatging SegmentedControl to a role="list"

* Remove SegmentedControl-button--selected class

* Stylelint auto-fixes

* Create two-gifts-yawn.md

Co-authored-by: Actions Auto Build <actions@github.com>
2022-08-11 09:35:06 -07:00
Jon Rohan
5ee33acac5
Adding position relative to SegmentedControl (#2194)
* Adding position relative to SegmentedControl

* Create smooth-ears-rush.md

* Stylelint auto-fixes

Co-authored-by: Actions Auto Build <actions@github.com>
2022-08-09 10:04:59 -07:00
Dusty Greif
c71e7df03b
Fail dist build when for postcss warnings (#2180)
* Fail dist build when for postcss warnings

* Create rotten-phones-ring.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-07-29 13:26:30 -07:00
GitHub Design Systems Bot
370c8a286d
Version Packages (#2179)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-29 10:47:37 -07:00
Jon Rohan
2df5977613
Fix: autoprefix giving a warning about align-content (#2178)
* Fix: autoprefix giving a warning about align-content

* Create good-colts-jam.md
2022-07-29 10:45:24 -07:00
GitHub Design Systems Bot
37deef3a07
Version Packages (#2173)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-27 18:22:07 -07:00
simurai
97f178d7de
Prevent SegmentedControl-text from wrapping (#2174)
* Prevent SegmentedControl-text from wrapping

* Create poor-dots-play.md

Co-authored-by: Katie Langerman <langermank@github.com>
2022-07-27 18:14:57 -07:00
Katie Langerman
add769c971
Autocomplete item selected state (#2177)
* for real though

* Create mighty-toes-nail.md

* Stylelint auto-fixes

* Update mighty-toes-nail.md

Co-authored-by: Actions Auto Build <actions@github.com>
2022-07-27 18:06:31 -07:00
Katie Langerman
d8c218aba8
Add aria-selected to ActionList-item for Autocomplete (#2176)
* add aria-selected for autocomplete

* Create tricky-mangos-nail.md

* Stylelint auto-fixes

* stylelint

Co-authored-by: Actions Auto Build <actions@github.com>
2022-07-27 17:20:15 -07:00
Luckz
8016e3c507
Remove article (#2090)
* Remove article

The 'the' is superfluous / wrong. unpkg doesn't refer to itself as "the unpkg" or anything.

* Create violet-humans-care.md

Co-authored-by: Katie Langerman <langermank@github.com>
2022-07-26 13:03:02 +09:00
Vinicius Depizzol
edac9edbcf
Add Stack component (#2152)
* Add Stack component

* Stylelint auto-fixes

* Ongoing Stack component implementation

* Add Stack dividers, responsive props, examples

* Implement align, alignWrap, and spread props

* Code cleanup

* Wrap responsive props under narrow+regular queries

* Fix structure comment

* Address rendering bugs, add docs

* typo

* Cleanup

* typo

* Please stylelint

* Update docs/src/stories/components/Layout/Stack.stories.jsx

Co-authored-by: Mike Perrotti <mperrotti@github.com>

* Simplify jsx

* Simplify Stack CSS, add Stack-item

* Add Stack feature stories

* Stylelint auto-fixes

* Remove `none` from dividerAriaRole property

* add wide viewport support

* Stylelint auto-fixes

* Add changeset

* Hide custom gap support

* Use Sass comments instead

Co-authored-by: Actions Auto Build <actions@github.com>
Co-authored-by: Mike Perrotti <mperrotti@github.com>
2022-07-25 14:09:14 -07:00
Owen Niblock
a52afe7e7d
Increase z-index for .show-on-focus (#2168)
* Increase z-index for .show-on-focus

* Adds changeset for this change
2022-07-25 09:39:20 +01:00
GitHub Design Systems Bot
9e72967858
Version Packages (#2148)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-22 15:30:15 -07:00
Kate Higa
d2b4d69888
Add .tooltipped to deprecations json (#2171)
* Add .tooltipped to deprecations json

* Create new-jars-complain.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-07-22 22:21:37 +00:00
simurai
13be7ef18d
SegmentedControl (#2083)
* Add SegmentedControl

* Fix dividers

* Follow Figma spec

* Create famous-moles-bow.md

* Rename item to button

* Rename visual to icon

* Rename text to label

* Use new size and typography tokens

* Support IconOnly

* Add icon only when narrow variant

* Increase touch target

* Add disabled state

* Avoid size increase when item becomes bold

* Add loading state

* Lint

* Add more templates

* Use Primitives

* Lint

* Use variable

* yarn add @primer/primitives@0.0.0-20220604151305

* Update Primitives

* Address accessibility feedback

* Remove loading state

* Rename to leadingVisual

* Rename label to text

* Remove shadow

* Change to inset

* Update transitions

* Use SegmentedControl-button--selected class instead of aria

* Remove disabled prop

* Keep $width-md for now

* Add min-width

* Fix divider for selected item

* Add inset hover style

* Keep dividers

* Disable hover/active state when selected

* Fix a few more things

* Lint

* yarn add @primer/primitives@0.0.0-20220720082700

* yarn add @primer/primitives@^7.9.0
2022-07-22 12:06:11 +09:00