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

6648 Commits

Author SHA1 Message Date
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
dependabot[bot]
bf7cba74c1
Bump tj-actions/changed-files from 22.1 to 23.1 (#2138)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 22.1 to 23.1.
- [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/v22.1...v23.1)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 13:16:37 -07:00
dependabot[bot]
da15f75d8a
Bump stylelint from 14.8.5 to 14.9.1 (#2139)
* Bump stylelint from 14.8.5 to 14.9.1

Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.8.5 to 14.9.1.
- [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.8.5...14.9.1)

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

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

* Update avatar-stack.scss

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-07-21 13:15:31 -07:00
dependabot[bot]
377be5c013
Bump @babel/core from 7.16.7 to 7.18.9 in /docs (#2165)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.7 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-core)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 13:13:07 -07:00
dependabot[bot]
f81c7a7d96
Bump globby from 13.1.1 to 13.1.2 (#2164)
Bumps [globby](https://github.com/sindresorhus/globby) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v13.1.1...v13.1.2)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 12:38:29 -07:00
dependabot[bot]
8f9b12bec9
Bump @storybook/manager-webpack5 from 6.5.0 to 6.5.9 in /docs (#2145)
Bumps [@storybook/manager-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.0 to 6.5.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/manager-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 12:36:35 -07:00
dependabot[bot]
b0b02470b0
Bump terser from 4.8.0 to 4.8.1 in /docs (#2154)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 12:36:08 -07:00
dependabot[bot]
8991c6b8ed
Bump moment from 2.29.2 to 2.29.4 in /docs (#2156)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 12:35:36 -07:00
dependabot[bot]
5e1747db82
Bump jest from 28.1.0 to 28.1.3 (#2157)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.0 to 28.1.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.1.3/packages/jest)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 12:35:08 -07:00
dependabot[bot]
643fece7f6
Bump eslint-plugin-jest from 26.1.5 to 26.6.0 (#2159)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.1.5 to 26.6.0.
- [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.1.5...v26.6.0)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 12:34:45 -07:00
dependabot[bot]
2f5e203122
Bump eslint from 8.18.0 to 8.20.0 (#2160)
Bumps [eslint](https://github.com/eslint/eslint) from 8.18.0 to 8.20.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.18.0...v8.20.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 12:33:59 -07:00