From 6f05995f24254f90632edae28d548a60027025f7 Mon Sep 17 00:00:00 2001 From: Lebaud Antoine Date: Mon, 12 Jun 2023 16:51:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8(react)=20make=20eof=20stylesheets?= =?UTF-8?q?=20consistent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some older tools misbehave if the last line of data in a text file is not terminated with a newline. It makes sure the last line was properly terminated. --- .changeset/sweet-carrots-cheer.md | 5 +++++ packages/react/src/components/Accessibility/index.scss | 2 +- packages/react/src/components/Forms/Checkbox/index.scss | 1 - packages/react/src/components/Forms/Field/index.scss | 3 +-- packages/react/src/components/Forms/Input/index.scss | 1 - packages/react/src/components/Forms/Radio/index.scss | 2 +- packages/react/src/components/Forms/Select/index.scss | 2 +- packages/react/src/components/Loader/index.scss | 2 +- packages/react/src/components/Pagination/index.scss | 2 +- packages/react/src/index.scss | 2 +- 10 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 .changeset/sweet-carrots-cheer.md diff --git a/.changeset/sweet-carrots-cheer.md b/.changeset/sweet-carrots-cheer.md new file mode 100644 index 0000000..7c2a11e --- /dev/null +++ b/.changeset/sweet-carrots-cheer.md @@ -0,0 +1,5 @@ +--- +"@openfun/cunningham-react": patch +--- + +make eof stylesheet consistent with a newline diff --git a/packages/react/src/components/Accessibility/index.scss b/packages/react/src/components/Accessibility/index.scss index 9f51320..ea15f64 100644 --- a/packages/react/src/components/Accessibility/index.scss +++ b/packages/react/src/components/Accessibility/index.scss @@ -9,4 +9,4 @@ clip-path: inset(50%); white-space: nowrap; border: 0; -} \ No newline at end of file +} diff --git a/packages/react/src/components/Forms/Checkbox/index.scss b/packages/react/src/components/Forms/Checkbox/index.scss index a48d39f..8475813 100644 --- a/packages/react/src/components/Forms/Checkbox/index.scss +++ b/packages/react/src/components/Forms/Checkbox/index.scss @@ -125,4 +125,3 @@ } } } - diff --git a/packages/react/src/components/Forms/Field/index.scss b/packages/react/src/components/Forms/Field/index.scss index 1338fb3..643255c 100644 --- a/packages/react/src/components/Forms/Field/index.scss +++ b/packages/react/src/components/Forms/Field/index.scss @@ -41,5 +41,4 @@ align-items: flex-start; width: auto; } - -} \ No newline at end of file +} diff --git a/packages/react/src/components/Forms/Input/index.scss b/packages/react/src/components/Forms/Input/index.scss index 5437cfc..b2d4974 100644 --- a/packages/react/src/components/Forms/Input/index.scss +++ b/packages/react/src/components/Forms/Input/index.scss @@ -106,4 +106,3 @@ } } } - diff --git a/packages/react/src/components/Forms/Radio/index.scss b/packages/react/src/components/Forms/Radio/index.scss index 0c45c2e..8b3c8e3 100644 --- a/packages/react/src/components/Forms/Radio/index.scss +++ b/packages/react/src/components/Forms/Radio/index.scss @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/react/src/components/Forms/Select/index.scss b/packages/react/src/components/Forms/Select/index.scss index 26fa25f..8fb6297 100644 --- a/packages/react/src/components/Forms/Select/index.scss +++ b/packages/react/src/components/Forms/Select/index.scss @@ -188,4 +188,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/react/src/components/Loader/index.scss b/packages/react/src/components/Loader/index.scss index c460a4d..258beba 100644 --- a/packages/react/src/components/Loader/index.scss +++ b/packages/react/src/components/Loader/index.scss @@ -31,4 +31,4 @@ 50% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)} 75% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)} 100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)} -} \ No newline at end of file +} diff --git a/packages/react/src/components/Pagination/index.scss b/packages/react/src/components/Pagination/index.scss index 90f3e38..ecbe743 100644 --- a/packages/react/src/components/Pagination/index.scss +++ b/packages/react/src/components/Pagination/index.scss @@ -20,4 +20,4 @@ width: 100px; } } -} \ No newline at end of file +} diff --git a/packages/react/src/index.scss b/packages/react/src/index.scss index 47d3838..7eb4842 100644 --- a/packages/react/src/index.scss +++ b/packages/react/src/index.scss @@ -16,4 +16,4 @@ * { font-family: var(--c--theme--font--families--base); -} \ No newline at end of file +}