1
1
mirror of https://github.com/primer/css.git synced 2024-12-25 23:23:47 +03:00
Commit Graph

325 Commits

Author SHA1 Message Date
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
Vinicius Depizzol
9dd2a49e26
AppFrame component (#2147)
* Add AppFrame component

* Please stylelint

* Update src/layout/app-frame.scss

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

* Use tokens

* Add changeset

Co-authored-by: Katie Langerman <langermank@github.com>
2022-07-01 13:00:14 -07:00
GitHub Design Systems Bot
ee85a4b4f2
Version Packages (#2133)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30 14:45:49 -07:00
Katie Langerman
facb96823a
FormControl refactor/cleanup (#2114)
* checkbox animation adjustment

* radio styles

* disabled state

* pull styles from app header

* cleanup spacing/alignment

* add checkbox focus styles

* stories + radio focus styles

* convert to css check

* refactor to pure *CSS* :)

* configure multi radio story

* lint

* Create neat-sloths-march.md

* snappier animations

* adjust mask size for better scailing

* checkbox mask size

* lint

* Stylelint auto-fixes

* rename classes

* how many times will she refactor?

* slight refactor based on original api

* delete component file test

* Stylelint auto-fixes

* add comments around padding

* Stylelint auto-fixes

* undo changes to old forms

* increase touch target :)

* remove unused grid + cursor pointer

* Stylelint auto-fixes

* adjust disabled checked styles

* bump primitives

* Stylelint auto-fixes

* Update neat-sloths-march.md

* temp add prefix for testing

* test windows high contrast

* cleanup prefix for final build

Co-authored-by: Actions Auto Build <actions@github.com>
2022-06-30 14:37:27 -07:00
Katie Langerman
8984684470
Bug: ActionList-item disabled state (#2136)
* fix disabled state

* Create friendly-peaches-knock.md

* Stylelint auto-fixes

* lint

Co-authored-by: Actions Auto Build <actions@github.com>
2022-06-30 09:48:57 -07:00
Baoshuo Ren
544fb2773d
Add link to source code in Timeline's doc (#2130)
* Add link to source code in Timeline's doc

* Create gold-knives-cover.md

Co-authored-by: Jon Rohan <rohan@github.com>
2022-06-23 09:45:32 -07:00
Rengga Prakoso Nugroho
c898103e0e
docs: update deployment location of docs (#2132)
* docs: update deployment location of docs

* Create stale-penguins-teach.md

Co-authored-by: Jon Rohan <rohan@github.com>
2022-06-23 09:44:11 -07:00
GitHub Design Systems Bot
9b380249ac
Version Packages (#2096)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-20 13:49:32 -07:00
Cameron Dutro
2cc18d0348
Fix preview deploys (#2129) 2022-06-17 15:17:41 -07:00
Katie Langerman
f1b3e55f14
FormControl + Overlay bug fixes (#2124) 2022-06-17 14:44:28 -07:00
Matt Lynam
ab078a58c6
Fieldset disable (#2077)
* feat: style .form-control as disabled when parent fieldset is disabled

* docs: add the changeset

* refactor(fieldset[disable]): use scss parent + nested selector instead of mixin
2022-05-27 00:19:40 +00:00
GitHub Design Systems Bot
f59639fb8d
Version Packages (#2095)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-26 10:56:06 -07:00
Katie Langerman
9f576a3c33
FormControl + Autocomplete component updates (#2075)
* setup new tokens

* layout

* label positioning

* cleanup

* states

* cleanup

* convert label to use grid for caption text (start)

* begin checkbox/radio custom styles

* fix input grid (mostly)

* refactor + cleanup

* consolidate styles, start custom checkbox

* cleanup

* lint

* add disabled state to actionlist-item

* adjust trailing action grid

* Stylelint auto-fixes

* remove docs

* add indeterminate checkbox styles

* Create empty-drinks-report.md

Co-authored-by: Actions Auto Build <actions@github.com>
2022-05-26 10:39:49 -07:00
GitHub Design Systems Bot
46fb49cb92
Version Packages (#2092)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-25 15:50:34 -07:00
Cameron Dutro
33f799f13e
Add missing ToggleSwitch--checked styles (#2094)
* Add missing ToggleSwitch--checked styles

* Add rule to override Catalyst's display: block
2022-05-25 15:37:13 -07:00
Tobias Ahlin
f740d00827
Marketing: Bump font size of large buttons (#2091)
* Update button.scss

* Create plenty-windows-brush.md

* Update src/marketing/buttons/button.scss

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
2022-05-25 13:02:10 +00:00
GitHub Design Systems Bot
71dc4b9e26
Version Packages (#2088)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-24 15:46:51 -07:00
Cameron Dutro
5cfae2c219
Toggle switch styles (#2074)
* Add styles for the ToggleSwitch component

* Add changeset

* Disable stylelint temporarily; commit stylelint fixes

* Refactor CSS; add stories

* Clean up; rename ToggleSwitch-switch to ToggleSwitch-track

* Address a bunch of PR feedback:
* Rename ToggleSwitch-bg -> ToggleSwitch-icons
* Rename ToggleSwitch-label -> ToggleSwitch-status
* Collapse border-* styles into a single border-style property
* Replace CSS with touch target @include
* Remove unnecessary :after pseudo-element

* Remove sr-only span, as it's redundant

* Collapse border-* properties again (stylelint didn't like argument order last time)

Co-authored-by: Mike Perrotti <mperrotti@github.com>
2022-05-23 14:06:42 -07:00
Vinicius Depizzol
8354de5c5e
Fix layout sticky pane modifier name (#2087)
* Fix sticky pane modifier class name

* Set SplitPageLayout pane sticky by default

* Create nine-dragons-wave.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-05-20 18:06:05 +00:00
GitHub Design Systems Bot
d74a4a0744
Version Packages (#2079)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-19 11:46:38 -07:00