1
1
mirror of https://github.com/primer/css.git synced 2024-12-24 14:42:26 +03:00
Commit Graph

6658 Commits

Author SHA1 Message Date
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
dependabot[bot]
26aea6606a
Bump stylelint from 14.10.0 to 14.11.0 (#2237)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.10.0 to 14.11.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.10.0...14.11.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 09:05:23 -07: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
dependabot[bot]
cbc0d3294a
Bump postcss-import from 14.1.0 to 15.0.0 (#2235)
Bumps [postcss-import](https://github.com/postcss/postcss-import) from 14.1.0 to 15.0.0.
- [Release notes](https://github.com/postcss/postcss-import/releases)
- [Changelog](https://github.com/postcss/postcss-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-import/compare/14.1.0...15.0.0)

---
updated-dependencies:
- dependency-name: postcss-import
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 16:26:56 +09: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
Jon Rohan
c47557440c
Update RELEASING.md 2022-08-23 09:20:49 -07:00
John Bohannon
7fd2adf6ca
Update linting.md (#2210) 2022-08-19 10:55:27 -07: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
Alec Breton
df81e6e812
Update margin.md with mt values for view (#2207) 2022-08-18 16:06:50 +00: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
Jon Rohan
2c0fec7b39 build css script 2022-08-12 22:17:56 +00:00
Jon Rohan
8f1f95c85c Adding build-css script for watching in dev mode 2022-08-12 21:52:28 +00: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
b91a1dc4dd fix broken segmetnedcontrol story 2022-08-11 17:27:05 +00: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
dependabot[bot]
6899cba697
Bump postcss from 8.4.14 to 8.4.16 (#2201)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.14 to 8.4.16.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.14...8.4.16)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:13:05 -07:00
dependabot[bot]
480c5b7c9b
Bump stylelint from 14.9.1 to 14.10.0 (#2200)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.9.1 to 14.10.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.9.1...14.10.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:08:00 -07:00
dependabot[bot]
5087470766
Bump autoprefixer from 10.4.7 to 10.4.8 (#2199)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.7 to 10.4.8.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.7...10.4.8)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:01:52 -07:00
dependabot[bot]
c6d591c279
Bump @changesets/cli from 2.23.2 to 2.24.2 (#2198)
Bumps [@changesets/cli](https://github.com/changesets/changesets) from 2.23.2 to 2.24.2.
- [Release notes](https://github.com/changesets/changesets/releases)
- [Changelog](https://github.com/changesets/changesets/blob/main/docs/modifying-changelog-format.md)
- [Commits](https://github.com/changesets/changesets/compare/@changesets/cli@2.23.2...@changesets/cli@2.24.2)

---
updated-dependencies:
- dependency-name: "@changesets/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:01:38 -07:00
dependabot[bot]
4f3320c3ce
Bump eslint-plugin-jest from 26.6.0 to 26.8.2 (#2197)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.6.0 to 26.8.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.6.0...v26.8.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:01:17 -07:00
dependabot[bot]
ddc8b45f72
Bump tj-actions/changed-files from 23.1 to 25 (#2196)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 23.1 to 25.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v23.1...v25)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 08:54:28 -07:00
dependabot[bot]
2fc030434f
Bump eslint-plugin-github from 4.3.6 to 4.3.7 (#2187)
Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 4.3.6 to 4.3.7.
- [Release notes](https://github.com/github/eslint-plugin-github/releases)
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.3.6...v4.3.7)

---
updated-dependencies:
- dependency-name: eslint-plugin-github
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 08:49:58 -07:00
dependabot[bot]
e1a4673613
Bump eslint from 8.20.0 to 8.21.0 (#2185)
Bumps [eslint](https://github.com/eslint/eslint) from 8.20.0 to 8.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.20.0...v8.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 08:43:27 -07:00
dependabot[bot]
acd598b68e
Bump @changesets/changelog-github from 0.4.5 to 0.4.6 (#2183)
Bumps [@changesets/changelog-github](https://github.com/changesets/changesets) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/changesets/changesets/releases)
- [Changelog](https://github.com/changesets/changesets/blob/main/docs/modifying-changelog-format.md)
- [Commits](https://github.com/changesets/changesets/compare/@changesets/changelog-github@0.4.5...@changesets/changelog-github@0.4.6)

---
updated-dependencies:
- dependency-name: "@changesets/changelog-github"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 08:42:38 -07:00
Jon Rohan
dc88aee9a1
Remove dependabot config for /docs 2022-08-11 08:39:17 -07:00
Rez
fceff722c8
restore contributor stats to docs footer (#2193) 2022-08-11 08:34:41 -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
Jon Rohan
ee73cf9e9a
Revert "Bump @babel/core from 7.16.7 to 7.18.9 in /docs (#2165)" (#2167)
This reverts commit 377be5c013.
2022-07-21 14:19:17 -07:00