From d1dc8669310697cd0b1daf61806c63174e843bbd Mon Sep 17 00:00:00 2001
From: Carolina Menezes <60782333+carolinamenezes@users.noreply.github.com>
Date: Tue, 21 Dec 2021 19:08:02 -0300
Subject: [PATCH] docs: Add Release Notes for December (#1087)
---
docs/blog/2021-12-22-faststore.md | 203 ++++++++++++++++++
.../reference/ui/molecules/PaymentMethods.mdx | 16 +-
.../components/LatestUpdates/LatestUpdates.js | 7 -
.../LatestUpdates/LatestUpdates.module.css | 14 +-
docs/static/data/releases.json | 13 +-
docs/static/img/releases/yarn-generate.gif | Bin 0 -> 1167934 bytes
6 files changed, 220 insertions(+), 33 deletions(-)
create mode 100644 docs/blog/2021-12-22-faststore.md
create mode 100644 docs/static/img/releases/yarn-generate.gif
diff --git a/docs/blog/2021-12-22-faststore.md b/docs/blog/2021-12-22-faststore.md
new file mode 100644
index 0000000000..8e55e97ee0
--- /dev/null
+++ b/docs/blog/2021-12-22-faststore.md
@@ -0,0 +1,203 @@
+---
+title: December, 2021
+description: FastStore Release Notes
+tags: [faststore]
+hide_table_of_contents: false
+---
+
+# December 2021
+
+## General
+
+- 🎉 **New FastStore Documentation Portal**. - [#1061](https://github.com/vtex/faststore/pull/1061)
+
+ The first iteration of the FastStore Documentation Portal is now available at [https://faststore.dev](https://faststore.dev). Send feedback and open documentation requests via [GitHub issues](https://github.com/vtex/faststore/issues/new/choose). *Bear in mind that this is still a work in progress.*
+
+
+
+## FastStore UI
+
+### Label
+
+- 🎉 **New [Label](/reference/ui/atoms/label) component.** - [#1001](https://github.com/vtex/faststore/pull/1001)
+ Use the `Label` component to identify text fields, checkboxes, radio buttons, and drop-down menus.
+
+ ```tsx live
+
+ ```
+
+### Alert
+
+- 🎉 **New [Alert](/reference/ui/molecules/alert) component.** - [#1020](https://github.com/vtex/faststore/pull/1020)
+ Use the `Alert` component to display short messages related to the behavior of a system, feature or page.
+
+ ```tsx live
+ function Component() {
+ const styles = {
+ warning: {
+ backgroundColor: '#fff2d4',
+ color: "#eea236",
+ borderRadius: "0.5rem",
+ padding: "1rem"
+ },
+ }
+
+ return (
+
{item.product}
- )} - {item.product === "WebOps" && ( -{item.product}
- )}{item.description}
diff --git a/docs/src/components/LatestUpdates/LatestUpdates.module.css b/docs/src/components/LatestUpdates/LatestUpdates.module.css index 659f7b934c..048970aca6 100644 --- a/docs/src/components/LatestUpdates/LatestUpdates.module.css +++ b/docs/src/components/LatestUpdates/LatestUpdates.module.css @@ -21,17 +21,9 @@ font-weight: 600; } -.changelogTitle p { - @apply inline-block px-2 rounded-full align-middle uppercase tracking-widest; - font-size: 10px; -} - -.faststore { - @apply bg-seriousBlack text-white; -} - -.webops { - @apply bg-rebelPink text-white; +.changelogList li:first-child h4::after { + content: "NEW"; + @apply px-2 py-1 rounded-md uppercase tracking-widest bg-green-50 text-green-500 text-xs ml-2; } .descriptionChangelog { diff --git a/docs/static/data/releases.json b/docs/static/data/releases.json index aeb309ffbe..67d9810763 100644 --- a/docs/static/data/releases.json +++ b/docs/static/data/releases.json @@ -1,5 +1,10 @@ [ - + { + "title": "December", + "product": "FastStore", + "fileName": "2021-12-22-faststore", + "description": "New FastStore Documentation Portal and enhanced contributing processes for FastStore UI. Also, new components are now available in the FastStore UI." + }, { "title": "November", "product": "FastStore", @@ -11,11 +16,5 @@ "product": "FastStore", "fileName": "2021-10-08-faststore", "description": "We've created a new plugin to source products and collections into the Gatsby's GraphQL layer! Also, you can now send and receive custom events via the Analytics module." - }, - { - "title": "September", - "product": "FastStore", - "fileName": "2021-09-01-faststore", - "description": "FastStore UI was reduced to 10kb! We've also enabled the analytics layer to be fully integrated with Google Analytics 4. " } ] \ No newline at end of file diff --git a/docs/static/img/releases/yarn-generate.gif b/docs/static/img/releases/yarn-generate.gif new file mode 100644 index 0000000000000000000000000000000000000000..6e54f08b5d3392bb5a496e7c61e8dd71f748bcfe GIT binary patch literal 1167934 zcmWiec|6q5AICp?->f57XkBaF>j+U=_mN|%P*h9KkR?}AeRi!gX^VtZOG1Rros@MZ zsiZ9
zn6^HCdOUgQst{jk{>b@RZ1GaboNJ}U*kku#tW;rouL?RO%z8$zj=6Zkr!~@S6TE-B
zm(rk{6={{Ow?m;W7r__eqcVG}x{ZsTDt4g*X)m%}n#$y!RymjrzQ|2pzDXk7c5-wX
zxm3JdPI0^K;xjl>(7t?&dj7U+sLRXZiRB9Or?(xhuDb^yjWQVihqZV4c5Z*;5E`M2
z_MBYf`N-!dJ^n4gehG6-(>KZZ%E*ANRP}f!|EggSYJ4BLj5ZYix)bJBb8yVXd0WVq
z3(RYpyYd_zQl1&W+nY2|=e&1sy?v1ai66vVkamO)-31B0G}J3T+hJ0O49<*{CtJT6
zJU9x?D@;Y0SZ3_-EohKI*M?c{IrubtrK!rT_L$F;iP83zX8!rw$k07+CpITmTH2o0
z9#4Go_Wj06tAJ3)%-AzIt+3kG_33NKmEUh>3#RUJqu_*BA`lToJmci20pW6X`$9)a
zd#(+DZ12V$?ZemM!=UCo4P}MyLW#~tYfkU^urabqTzgu7da35f?~TfBTjdujGZ0GFGB?-dB~XrN61a~HA1JKmx_+PY<*
ziK2P{qz~Ao?fpWO?e}L|?s;3k*|V5KTRViL&9z4=-{B6fLYUa5xpl>kf$vK9e!pu!
zw;E9~@`|mn(t&w*6c)?Olz(M07Rt2O4TPL8y+1t`%C*%S>{>oJF!i~^3Wncj9lw94
zqEP91`)F(3xBZ#Zij0i3@c