From 2c870c029567486a031e5ebcf1dfe96eb397d047 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 4 Mar 2021 16:28:32 +0000 Subject: [PATCH] Version Packages --- .changeset/clever-islands-breathe.md | 5 -- .changeset/cuddly-suns-flow.md | 5 -- .changeset/cuddly-wolves-lay.md | 5 -- .changeset/fifty-peaches-ring.md | 5 -- .changeset/four-beers-scream.md | 5 -- .changeset/fuzzy-geese-decide.md | 5 -- .changeset/good-turkeys-give.md | 5 -- .changeset/itchy-squids-kick.md | 5 -- .changeset/itchy-toes-punch.md | 5 -- .changeset/moody-readers-warn.md | 5 -- .changeset/new-badgers-suffer.md | 5 -- .changeset/polite-geese-smile.md | 5 -- .changeset/purple-snakes-wait.md | 5 -- .changeset/rotten-countries-collect.md | 5 -- .changeset/sixty-adults-work.md | 5 -- .changeset/spicy-garlics-worry.md | 5 -- .changeset/tame-hats-reply.md | 5 -- .changeset/tender-ways-battle.md | 5 -- .changeset/tricky-humans-appear.md | 20 -------- .changeset/violet-months-give.md | 5 -- .changeset/warm-dryers-attack.md | 5 -- .changeset/wet-dryers-repeat.md | 5 -- .changeset/wild-bags-add.md | 5 -- CHANGELOG.md | 67 ++++++++++++++++++++++++++ package.json | 2 +- 25 files changed, 68 insertions(+), 131 deletions(-) delete mode 100644 .changeset/clever-islands-breathe.md delete mode 100644 .changeset/cuddly-suns-flow.md delete mode 100644 .changeset/cuddly-wolves-lay.md delete mode 100644 .changeset/fifty-peaches-ring.md delete mode 100644 .changeset/four-beers-scream.md delete mode 100644 .changeset/fuzzy-geese-decide.md delete mode 100644 .changeset/good-turkeys-give.md delete mode 100644 .changeset/itchy-squids-kick.md delete mode 100644 .changeset/itchy-toes-punch.md delete mode 100644 .changeset/moody-readers-warn.md delete mode 100644 .changeset/new-badgers-suffer.md delete mode 100644 .changeset/polite-geese-smile.md delete mode 100644 .changeset/purple-snakes-wait.md delete mode 100644 .changeset/rotten-countries-collect.md delete mode 100644 .changeset/sixty-adults-work.md delete mode 100644 .changeset/spicy-garlics-worry.md delete mode 100644 .changeset/tame-hats-reply.md delete mode 100644 .changeset/tender-ways-battle.md delete mode 100644 .changeset/tricky-humans-appear.md delete mode 100644 .changeset/violet-months-give.md delete mode 100644 .changeset/warm-dryers-attack.md delete mode 100644 .changeset/wet-dryers-repeat.md delete mode 100644 .changeset/wild-bags-add.md diff --git a/.changeset/clever-islands-breathe.md b/.changeset/clever-islands-breathe.md deleted file mode 100644 index 91a5bd18886..00000000000 --- a/.changeset/clever-islands-breathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in BaseStyles diff --git a/.changeset/cuddly-suns-flow.md b/.changeset/cuddly-suns-flow.md deleted file mode 100644 index bf5ea232677..00000000000 --- a/.changeset/cuddly-suns-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in BranchName diff --git a/.changeset/cuddly-wolves-lay.md b/.changeset/cuddly-wolves-lay.md deleted file mode 100644 index ffad1511699..00000000000 --- a/.changeset/cuddly-wolves-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in Caret, CircleBadge, Pagehead, ProgressBar, and Popover diff --git a/.changeset/fifty-peaches-ring.md b/.changeset/fifty-peaches-ring.md deleted file mode 100644 index 652b21af9e0..00000000000 --- a/.changeset/fifty-peaches-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Update SelectMenu and child components to use functional color variables diff --git a/.changeset/four-beers-scream.md b/.changeset/four-beers-scream.md deleted file mode 100644 index 7cd4f8a315e..00000000000 --- a/.changeset/four-beers-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in SideNav diff --git a/.changeset/fuzzy-geese-decide.md b/.changeset/fuzzy-geese-decide.md deleted file mode 100644 index 565587d5d44..00000000000 --- a/.changeset/fuzzy-geese-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in ButtonOutline diff --git a/.changeset/good-turkeys-give.md b/.changeset/good-turkeys-give.md deleted file mode 100644 index a977ffd8bf3..00000000000 --- a/.changeset/good-turkeys-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in TabNav diff --git a/.changeset/itchy-squids-kick.md b/.changeset/itchy-squids-kick.md deleted file mode 100644 index c8c407a3b81..00000000000 --- a/.changeset/itchy-squids-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in Timeline diff --git a/.changeset/itchy-toes-punch.md b/.changeset/itchy-toes-punch.md deleted file mode 100644 index f82e7800c88..00000000000 --- a/.changeset/itchy-toes-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in TextInput diff --git a/.changeset/moody-readers-warn.md b/.changeset/moody-readers-warn.md deleted file mode 100644 index 0dd34aa505e..00000000000 --- a/.changeset/moody-readers-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in ButtonPrimary diff --git a/.changeset/new-badgers-suffer.md b/.changeset/new-badgers-suffer.md deleted file mode 100644 index 765759711f6..00000000000 --- a/.changeset/new-badgers-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in Link diff --git a/.changeset/polite-geese-smile.md b/.changeset/polite-geese-smile.md deleted file mode 100644 index 3f9f384e0f2..00000000000 --- a/.changeset/polite-geese-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/components": major ---- - -Remove propTypes in favor of TypeScript types diff --git a/.changeset/purple-snakes-wait.md b/.changeset/purple-snakes-wait.md deleted file mode 100644 index ca8525cfa2f..00000000000 --- a/.changeset/purple-snakes-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in BorderBox diff --git a/.changeset/rotten-countries-collect.md b/.changeset/rotten-countries-collect.md deleted file mode 100644 index bf52a586b30..00000000000 --- a/.changeset/rotten-countries-collect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in Tooltip diff --git a/.changeset/sixty-adults-work.md b/.changeset/sixty-adults-work.md deleted file mode 100644 index fec9f9ecb88..00000000000 --- a/.changeset/sixty-adults-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in UnderlineNav diff --git a/.changeset/spicy-garlics-worry.md b/.changeset/spicy-garlics-worry.md deleted file mode 100644 index 3d611b50be1..00000000000 --- a/.changeset/spicy-garlics-worry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Forwards aria-label to correct component diff --git a/.changeset/tame-hats-reply.md b/.changeset/tame-hats-reply.md deleted file mode 100644 index 577be7dd3a3..00000000000 --- a/.changeset/tame-hats-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in SubNav diff --git a/.changeset/tender-ways-battle.md b/.changeset/tender-ways-battle.md deleted file mode 100644 index 06dc56fc2db..00000000000 --- a/.changeset/tender-ways-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in ButtonDanger diff --git a/.changeset/tricky-humans-appear.md b/.changeset/tricky-humans-appear.md deleted file mode 100644 index 7a0b98052d8..00000000000 --- a/.changeset/tricky-humans-appear.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@primer/components": major ---- - -Components no longer have a default `theme` prop. To ensure components still render correctly, you'll need pass the Primer theme to a [styled-components](https://styled-components.com/) `` at the root of your application: - -```jsx -import {ThemeProvider} from 'styled-components' -import {theme} from '@primer/components' - -funciton App(props) { - return ( -
- -
your app here
-
-
- ) -} -``` diff --git a/.changeset/violet-months-give.md b/.changeset/violet-months-give.md deleted file mode 100644 index 20450347680..00000000000 --- a/.changeset/violet-months-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in ButtonClose diff --git a/.changeset/warm-dryers-attack.md b/.changeset/warm-dryers-attack.md deleted file mode 100644 index 8c9e3f81363..00000000000 --- a/.changeset/warm-dryers-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in AvatarPair diff --git a/.changeset/wet-dryers-repeat.md b/.changeset/wet-dryers-repeat.md deleted file mode 100644 index fa3b5d55ccc..00000000000 --- a/.changeset/wet-dryers-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in AvatarStack diff --git a/.changeset/wild-bags-add.md b/.changeset/wild-bags-add.md deleted file mode 100644 index 38e9ca58d03..00000000000 --- a/.changeset/wild-bags-add.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/components': patch ---- - -Use functional color variables in StateLabel diff --git a/CHANGELOG.md b/CHANGELOG.md index 8975d54f2a2..61564142bc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,72 @@ # @primer/components +## 24.0.0 + +### Major Changes + +- [`b9d9d245`](https://github.com/primer/components/commit/b9d9d2450c3f726fa0e6bc8cb43ba678df0c60ad) [#1068](https://github.com/primer/components/pull/1068) Thanks [@colebemis](https://github.com/colebemis)! - Remove propTypes in favor of TypeScript types + +* [`beef075e`](https://github.com/primer/components/commit/beef075e0274396b77887adf0b912583fe564b3f) [#1094](https://github.com/primer/components/pull/1094) Thanks [@colebemis](https://github.com/colebemis)! - Components no longer have a default `theme` prop. To ensure components still render correctly, you'll need pass the Primer theme to a [styled-components](https://styled-components.com/) `` at the root of your application: + + ```jsx + import {ThemeProvider} from 'styled-components' + import {theme} from '@primer/components' + + funciton App(props) { + return ( +
+ +
your app here
+
+
+ ) + } + ``` + +### Patch Changes + +- [`fa106ea9`](https://github.com/primer/components/commit/fa106ea9a43a8451efb648d1e3ec9df87577379c) [#1090](https://github.com/primer/components/pull/1090) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in BaseStyles + +* [`fa106ea9`](https://github.com/primer/components/commit/fa106ea9a43a8451efb648d1e3ec9df87577379c) [#1090](https://github.com/primer/components/pull/1090) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in BranchName + +- [`e93cf268`](https://github.com/primer/components/commit/e93cf268b9b8b25fee535dc4aa7d31c0b015d420) [#1092](https://github.com/primer/components/pull/1092) Thanks [@bscofield](https://github.com/bscofield)! - Use functional color variables in Caret, CircleBadge, Pagehead, ProgressBar, and Popover + +* [`a886bbcf`](https://github.com/primer/components/commit/a886bbcf765659a4742245d37c9f8d1327daca7a) [#1098](https://github.com/primer/components/pull/1098) Thanks [@bscofield](https://github.com/bscofield)! - Update SelectMenu and child components to use functional color variables + +- [`f2c57794`](https://github.com/primer/components/commit/f2c57794dc8163eda974d37a4fbb939b631c82cc) [#1085](https://github.com/primer/components/pull/1085) Thanks [@VanAnderson](https://github.com/VanAnderson)! - Use functional color variables in SideNav + +* [`756191e7`](https://github.com/primer/components/commit/756191e7d20ea46c83a591fd2cf7b2ab9c3ed0fc) [#1100](https://github.com/primer/components/pull/1100) Thanks [@VanAnderson](https://github.com/VanAnderson)! - Use functional color variables in ButtonOutline + +- [`6b2dc95f`](https://github.com/primer/components/commit/6b2dc95f2b3e250e130ff7e36d18eda3cda94b4a) [#1085](https://github.com/primer/components/pull/1085) Thanks [@VanAnderson](https://github.com/VanAnderson)! - Use functional color variables in TabNav + +* [`51d180ac`](https://github.com/primer/components/commit/51d180ace3562569910a80557904f138677b3262) [#1089](https://github.com/primer/components/pull/1089) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in Timeline + +- [`51d180ac`](https://github.com/primer/components/commit/51d180ace3562569910a80557904f138677b3262) [#1089](https://github.com/primer/components/pull/1089) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in TextInput + +* [`8f2b4d2e`](https://github.com/primer/components/commit/8f2b4d2e434d1af2eb6d5d3c7f566fae147033ee) [#1100](https://github.com/primer/components/pull/1100) Thanks [@VanAnderson](https://github.com/VanAnderson)! - Use functional color variables in ButtonPrimary + +- [`51d180ac`](https://github.com/primer/components/commit/51d180ace3562569910a80557904f138677b3262) [#1089](https://github.com/primer/components/pull/1089) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in Link + +* [`fa106ea9`](https://github.com/primer/components/commit/fa106ea9a43a8451efb648d1e3ec9df87577379c) [#1090](https://github.com/primer/components/pull/1090) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in BorderBox + +- [`51d180ac`](https://github.com/primer/components/commit/51d180ace3562569910a80557904f138677b3262) [#1089](https://github.com/primer/components/pull/1089) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in Tooltip + +* [`51d180ac`](https://github.com/primer/components/commit/51d180ace3562569910a80557904f138677b3262) [#1089](https://github.com/primer/components/pull/1089) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in UnderlineNav + +- [`44aa68e2`](https://github.com/primer/components/commit/44aa68e2e725bdb2a3be349d7bec3e18b3f17809) [#1101](https://github.com/primer/components/pull/1101) Thanks [@emplums](https://github.com/emplums)! - Forwards aria-label to correct component + +* [`c44ee363`](https://github.com/primer/components/commit/c44ee363e9d663b873ea721e42dac8e5366ebcd1) [#1085](https://github.com/primer/components/pull/1085) Thanks [@VanAnderson](https://github.com/VanAnderson)! - Use functional color variables in SubNav + +- [`198e24ad`](https://github.com/primer/components/commit/198e24adef084b115441c72b80d3113f411a5fa5) [#1100](https://github.com/primer/components/pull/1100) Thanks [@VanAnderson](https://github.com/VanAnderson)! - Use functional color variables in ButtonDanger + +* [`92597504`](https://github.com/primer/components/commit/9259750429913d7977746c55da5a397d591a4f45) [#1100](https://github.com/primer/components/pull/1100) Thanks [@VanAnderson](https://github.com/VanAnderson)! - Use functional color variables in ButtonClose + +- [`fa106ea9`](https://github.com/primer/components/commit/fa106ea9a43a8451efb648d1e3ec9df87577379c) [#1090](https://github.com/primer/components/pull/1090) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in AvatarPair + +* [`fa106ea9`](https://github.com/primer/components/commit/fa106ea9a43a8451efb648d1e3ec9df87577379c) [#1090](https://github.com/primer/components/pull/1090) Thanks [@colebemis](https://github.com/colebemis)! - Use functional color variables in AvatarStack + +- [`4e19045e`](https://github.com/primer/components/commit/4e19045ec1ca46ece0c029a193ed1863a8994030) [#1085](https://github.com/primer/components/pull/1085) Thanks [@VanAnderson](https://github.com/VanAnderson)! - Use functional color variables in StateLabel + ## 23.2.1 ### Patch Changes diff --git a/package.json b/package.json index 056b3dde877..0648acf313c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/components", - "version": "23.2.1", + "version": "24.0.0", "description": "Primer react components", "main": "lib/index.js", "module": "lib-esm/index.js",