From d906ef371ca16282e628b6c4840e9bbaea2f4027 Mon Sep 17 00:00:00 2001 From: zaaakher Date: Fri, 1 Dec 2023 06:41:04 +0300 Subject: [PATCH] SIKKA-5822[closed] --- CHANGELOG.md | 22 ++++++++++++++-------- README.md | 9 ++++++--- components/elements/Sheet.tsx | 11 ++++++++++- package.json | 2 +- stories/ElementsStories/Sheet.stories.tsx | 22 ++++++++++++++++++++-- 5 files changed, 51 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 029b408d2..b9c4f97ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,20 @@ # @sikka/hawa +## 0.20.1 + +### Patch Changes + +- Fixed close button in `Sheet` + ## 0.20.0 ### Minor Changes -- - Added `ContactForm` - - Fixed `Textarea` placeholder text color - - Removed all shadows of `FeedbackForm` and `ContactForm` when `cardless` prop is true - - exporting `TextInputType` - - General cleanup +- Added `ContactForm` +- Fixed `Textarea` placeholder text color +- Removed all shadows of `FeedbackForm` and `ContactForm` when `cardless` prop is true +- exporting `TextInputType` +- General cleanup ## 0.19.41 @@ -26,9 +32,9 @@ ### Patch Changes -- - Added background to `Radio` - - Fixed responsiveness of `PricingPlans` - - Added priceless option to `PricingCard` +- Added background to `Radio` +- Fixed responsiveness of `PricingPlans` +- Added priceless option to `PricingCard` ## 0.19.38 diff --git a/README.md b/README.md index 05aaa370d..19e488ae5 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@

- Documentation - + Documentation - + Changelog

@@ -64,7 +64,6 @@ npm install @sikka/hawa
- # Contributing To contribute, clone this github repository and run the development server @@ -75,11 +74,15 @@ npm run storybook // To run the landing pages npm run dev ``` + To build the library to /dist + ``` npm run build-lib ``` + To generate /dist/index.css + ``` npm run build-css ``` diff --git a/components/elements/Sheet.tsx b/components/elements/Sheet.tsx index d1c38de9c..47adfdc95 100644 --- a/components/elements/Sheet.tsx +++ b/components/elements/Sheet.tsx @@ -69,7 +69,16 @@ const SheetContent = React.forwardRef< > {children} {!hideCloseButton && ( - +
+
setSide("bottom")}>Bottom Sheet
- + Are you sure absolutely sure? This action cannot be undone. This will permanently delete your account and remove your data from our servers. +
+ Lorem, ipsum dolor sit amet consectetur adipisicing elit. Vero + ipsum saepe quaerat, voluptatem molestias hic porro sit fuga + beatae tempora est dolore quod alias cum debitis animi maxime + provident laboriosam! +
+
+ {/*
+
Item
+
Item
+
Item
+
Item
+
Item
+
Item
+
Item
+
Item
+
Item
+
*/}