From 18763f4f37c500382df1f83a5b4db9bbe5accd45 Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Thu, 14 Sep 2023 15:07:19 -0500 Subject: [PATCH] docs(rtl): update rtl docs for logical properties, remove rtlcss --- ...rtlcss-npm-4.0.0-9a056274ca-cd8fe72848.zip | Bin 20384 -> 0 bytes docs/developer-handbook.md | 25 ++++++++++++++++++ packages/carbon-components/docs/g11n.md | 13 --------- packages/react/docs/g11n.md | 9 +++++-- packages/react/package.json | 1 - yarn.lock | 15 ----------- 6 files changed, 32 insertions(+), 31 deletions(-) delete mode 100644 .yarn/cache/rtlcss-npm-4.0.0-9a056274ca-cd8fe72848.zip delete mode 100644 packages/carbon-components/docs/g11n.md diff --git a/.yarn/cache/rtlcss-npm-4.0.0-9a056274ca-cd8fe72848.zip b/.yarn/cache/rtlcss-npm-4.0.0-9a056274ca-cd8fe72848.zip deleted file mode 100644 index 2231e8646faf350901d100ab2a5bcc430b93665a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20384 zcmb5VV~{A_vMt)SZQHhO+qUgqZQHi7+O}=mw%zyJ_uTU$_KmmCi&s%mRX=9V85K1$ zXXeOJ3evzJC;vopQJCxM8I5+eE=^7q8s zs)%t=-yK|?)$j4`n|1#)(0by-27C3rwkgn!&7G|aG4r|y)Z|tdX3hay8rLGZ$DslJ z1L0~Nnj}l$#qiCnbA{m0hhON}eJO8{FE;ZIqir0;(T{(agh}JZZXk5m%nSh$^LMoI zx+p@#!zBmS0eyb7utS#ShCFp7(~i%XSK+<{OrEaAFPdQu0bCtf0;u+HXFVY*{qaoB zc1++%nQFdfFfMQ=K?P*C?_undJ-K<>{apJT*&N3JUo>J;K;ohkveUyjJc3Qw0K!1Q z)A&tRPesI%zD31-OQ}Fc*-GB7w`2Jk2OMwWhGqGETT8@aYYnk!`R`fh41YrB#%m0* z@;*4Oobf!)7e4oUdv50|;<29U944LpXm^T`bq5^WOAD*X2yT`?Eo?D?h!4Pwi^Kh(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vlN{*6nztGvg%6WqGj^xlP#LkWKWdz^ndgcb>WSzyyt0+k*|k0NYCtxs`iUds zU3Qs*@@&5t$L_k6IoJ`Gyd(_uvfbOFcJ4Jz+Osx;O59#h6+uZZ(9v2*F|;Ja=|-#& zJX4mHIhQw%DmrQWBCWJur<-tuXDy%yab}7lNs_B{FbHB+cH;>j$B1AFIpBy(PFHDl zk6=p3lma#Nvbh#GhN|nRSD$;3TNnK^XUF+jN8K!U(+9yrz(98A1Q8CxJ$sbL$#Q+A zV>=i{!f+^#z5*0xf2atHQDB#!)gAv}$~ppUT+?4WG{RWU-~rNbnHQ6%(rZCp>^Z z-IUJxWN{z}f*@Yd`^UbX_H=GA78mV0{>G+*n9)8||D|QtB4M>vB4bMOLe_Q{GjmiJF&-_n3sJ!Q%m$u{BH>7+puMEyYMKJBz$RM1~2zaqlK zqKI=rnlawTnGzz$e=2J4cXA+(G;gzyOA$F3M@-+47Dt-Q*rzp!9ZdU~(;$VBb`$nt zrgDFV{kOM3N+Vq%-lz2{{F(OO^MJ+OO-gp)M8Sq#+|?BJ7QXloJND G_wIiT+=4j( diff --git a/docs/developer-handbook.md b/docs/developer-handbook.md index 03e31b5745d0..6b473adc6c28 100644 --- a/docs/developer-handbook.md +++ b/docs/developer-handbook.md @@ -344,6 +344,31 @@ Avoid nesting selectors, this will make it easier to maintain in the future. } ``` +Use +[CSS logical properties and values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values) +for layout. These are impacted by the writing mode and provide support for +right-to-left styling out of the box. + +```scss +// Don't do this +.my-element { + padding-top: 2em; + padding-bottom: 2em; + margin-left: 2em; + position: relative; + top: 0.2em; +} + +// Do this instead +.my-element { + padding-block-start: 2em; + padding-block-end: 2em; + margin-inline-start: 2em; + position: relative; + inset-block-start: 0.2em; +} +``` + ### Sass documentation [SassDoc](http://sassdoc.com) is used to document the Carbon Sass source. diff --git a/packages/carbon-components/docs/g11n.md b/packages/carbon-components/docs/g11n.md deleted file mode 100644 index 45035114e2a4..000000000000 --- a/packages/carbon-components/docs/g11n.md +++ /dev/null @@ -1,13 +0,0 @@ -# Notes of globalization - -- `carbon-components` lets you define most of the markup, which contains most of - the translatable content: - - Ensure application content in the markup is translatable as needed. - - Make sure that list items in the application markup are correctly ordered. - - Make sure that date/time in the application markup are correctly formatted - considering different formats in different locales. -- Date picker component relies on the G11N features in - [`Flatpickr` library](<(https://chmln.github.io/flatpickr/)>). See - [here](../src/components/date-picker/README.md#localization) for more details. -- Some styles in our Sass code have directives of - [RTLCSS library](https://rtlcss.com/learn/usage-guide/control-directives/index.html). diff --git a/packages/react/docs/g11n.md b/packages/react/docs/g11n.md index e2e946000be3..081461ef0ec8 100644 --- a/packages/react/docs/g11n.md +++ b/packages/react/docs/g11n.md @@ -20,5 +20,10 @@ `dateFormat` props to fully utilize `Flatpickr` library's G11N features. If you are using date/time in other components, make sure they are correctly formatted considering different formats in different locales. -- Also refer to - [G11N considerations in our vanilla library](https://github.com/IBM/carbon-components/tree/main/docs/g11n.md). +- Styles provided through `@carbon/styles` (and therefore `@carbon/react` as + well) use CSS logical properties and values for layout, which is impacted by + the writing direction. This means that right-to-left styling is included out + of the box. In previous versions of carbon packages, RTLCSS had to be used by + consuming projects to output styles for right-to-left mode. RTLCSS is no + longer needed now that logical properties are used. See more in the + [original issue](https://github.com/carbon-design-system/carbon/issues/13619). diff --git a/packages/react/package.json b/packages/react/package.json index 853bdc896710..6c7c08d7edc0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -117,7 +117,6 @@ "rimraf": "^5.0.0", "rollup": "^2.79.1", "rollup-plugin-strip-banner": "^3.0.0", - "rtlcss": "^4.0.0", "sass": "^1.51.0", "sass-loader": "^13.0.0", "storybook": "^7.1.0", diff --git a/yarn.lock b/yarn.lock index 30b1079a3397..3095ebd079c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2207,7 +2207,6 @@ __metadata: rimraf: ^5.0.0 rollup: ^2.79.1 rollup-plugin-strip-banner: ^3.0.0 - rtlcss: ^4.0.0 sass: ^1.51.0 sass-loader: ^13.0.0 storybook: ^7.1.0 @@ -27876,20 +27875,6 @@ __metadata: languageName: node linkType: hard -"rtlcss@npm:^4.0.0": - version: 4.0.0 - resolution: "rtlcss@npm:4.0.0" - dependencies: - escalade: ^3.1.1 - picocolors: ^1.0.0 - postcss: ^8.4.6 - strip-json-comments: ^3.1.1 - bin: - rtlcss: bin/rtlcss.js - checksum: cd8fe728489cc8a066a58ea518ac2089c245dede9bda376c1b33ae0c119fa9dbdb6808eee27697ecad3bfed8f338d10bfeb42c1efa60c262a9def0246233484c - languageName: node - linkType: hard - "run-applescript@npm:^5.0.0": version: 5.0.0 resolution: "run-applescript@npm:5.0.0"