@sikka/hawa 0.0.1 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/.github/workflows/hawa-publish-push.yml +45 -0
  2. package/.github/workflows/hawa-publish.yml +45 -0
  3. package/.prettierrc +28 -28
  4. package/README.md +149 -119
  5. package/es/index.es.js +1 -0
  6. package/lib/index.js +1 -0
  7. package/package.json +59 -47
  8. package/rollup.config.js +30 -40
  9. package/src/Assets/images/card-background/1.jpeg +0 -0
  10. package/src/Assets/images/card-background/10.jpeg +0 -0
  11. package/src/Assets/images/card-background/11.jpeg +0 -0
  12. package/src/Assets/images/card-background/12.jpeg +0 -0
  13. package/src/Assets/images/card-background/13.jpeg +0 -0
  14. package/src/Assets/images/card-background/14.jpeg +0 -0
  15. package/src/Assets/images/card-background/15.jpeg +0 -0
  16. package/src/Assets/images/card-background/16.jpeg +0 -0
  17. package/src/Assets/images/card-background/17.jpeg +0 -0
  18. package/src/Assets/images/card-background/18.jpeg +0 -0
  19. package/src/Assets/images/card-background/19.jpeg +0 -0
  20. package/src/Assets/images/card-background/2.jpeg +0 -0
  21. package/src/Assets/images/card-background/20.jpeg +0 -0
  22. package/src/Assets/images/card-background/21.jpeg +0 -0
  23. package/src/Assets/images/card-background/22.jpeg +0 -0
  24. package/src/Assets/images/card-background/23.jpeg +0 -0
  25. package/src/Assets/images/card-background/24.jpeg +0 -0
  26. package/src/Assets/images/card-background/25.jpeg +0 -0
  27. package/src/Assets/images/card-background/3.jpeg +0 -0
  28. package/src/Assets/images/card-background/4.jpeg +0 -0
  29. package/src/Assets/images/card-background/5.jpeg +0 -0
  30. package/src/Assets/images/card-background/6.jpeg +0 -0
  31. package/src/Assets/images/card-background/7.jpeg +0 -0
  32. package/src/Assets/images/card-background/8.jpeg +0 -0
  33. package/src/Assets/images/card-background/9.jpeg +0 -0
  34. package/src/Assets/images/card-type/amex.png +0 -0
  35. package/src/Assets/images/card-type/diners.png +0 -0
  36. package/src/Assets/images/card-type/discover.png +0 -0
  37. package/src/Assets/images/card-type/mastercard.png +0 -0
  38. package/src/Assets/images/card-type/troy.png +0 -0
  39. package/src/Assets/images/card-type/unionpay.png +0 -0
  40. package/src/Assets/images/card-type/visa.png +0 -0
  41. package/src/blocks/Account/UserProfile.js +15 -0
  42. package/src/blocks/Account/UserSettings.js +15 -0
  43. package/src/blocks/Account/index.js +2 -0
  44. package/src/blocks/AuthForms/NewPasswordForm.js +17 -0
  45. package/src/blocks/AuthForms/ResetPasswordForm.js +14 -0
  46. package/src/blocks/AuthForms/SignInForm.js +19 -0
  47. package/src/blocks/AuthForms/SignUpForm.js +20 -0
  48. package/src/blocks/AuthForms/index.js +4 -0
  49. package/src/blocks/AuthForms/viaFacebook.js +0 -0
  50. package/src/blocks/AuthForms/viaGithub.js +0 -0
  51. package/src/blocks/AuthForms/viaGoogle.js +0 -0
  52. package/src/blocks/AuthForms/viaTwitter.js +0 -0
  53. package/src/blocks/Payment/Form/CForm.js +326 -0
  54. package/src/blocks/Payment/Form/Card.js +242 -0
  55. package/src/blocks/Payment/Gateway/GooglePay.js +251 -0
  56. package/src/blocks/Payment/Gateway/Payfort.js +90 -0
  57. package/src/blocks/Payment/Gateway/Paypal.js +138 -0
  58. package/src/blocks/Payment/Gateway/Wallet.js +149 -0
  59. package/src/blocks/Payment/PaymentMethod.js +132 -0
  60. package/src/blocks/index.js +13 -0
  61. package/src/index.js +2 -1
  62. package/src/layout/Box.js +25 -0
  63. package/src/layout/index.js +1 -0
  64. package/src/stories/ActionButton.stories.js +49 -0
  65. package/src/stories/AdaptiveButton.stories.js +80 -84
  66. package/src/stories/Alert.stories.js +41 -0
  67. package/src/stories/AuthForm.stories.js +79 -0
  68. package/src/stories/Box.stories.js +64 -0
  69. package/src/stories/CheckBox.stories.js +35 -33
  70. package/src/stories/GlobalVariables.stories.js +101 -108
  71. package/src/stories/HawaProvider.stories.js +23 -23
  72. package/src/stories/InputLabel.stories.js +92 -100
  73. package/src/stories/Introduction.stories.js +211 -0
  74. package/src/stories/RadioSelector.stories.js +69 -69
  75. package/src/stories/TextField.stories.js +50 -59
  76. package/src/stories/UserAccount.stories.js +46 -0
  77. package/src/styles.css +400 -403
  78. package/src/styles.scss +679 -0
  79. package/src/themes/HawaProvider.js +45 -0
  80. package/src/ui/ActionButton.js +15 -0
  81. package/src/{components/Hawa/AdaptiveButton/AdaptiveButton.jsx → ui/AdaptiveButton.js} +252 -261
  82. package/src/{components/Hawa/AutoCompleteField/AutoCompleteField.jsx → ui/AutoCompleteField.js} +33 -33
  83. package/src/{components/Hawa/Checkbox/Checkbox.jsx → ui/Checkbox.js} +21 -20
  84. package/src/{components/Hawa/DragDropImages/DragDropImages.jsx → ui/DragDropImages.js} +180 -180
  85. package/src/{components/Hawa/Hawa.jsx → ui/Hawa.js} +3 -3
  86. package/src/{components/Hawa/RadioBox/RadioBox.jsx → ui/RadioBox.js} +29 -29
  87. package/src/{components/Hawa/RadioSelector/RadioSelector.jsx → ui/RadioSelector.js} +51 -51
  88. package/src/ui/Row.js +21 -0
  89. package/src/{components/Hawa/SelectedField/SelectedField.jsx → ui/SelectedField.js} +46 -46
  90. package/src/ui/StyledAlert.js +30 -0
  91. package/src/ui/StyledInputLabel.js +19 -0
  92. package/src/ui/StyledTooltip.js +46 -0
  93. package/src/{components/Hawa/TabPanel/TabPanel.jsx → ui/TabPanel.js} +37 -38
  94. package/src/{components/Hawa/TextArea/TextArea.jsx → ui/TextArea.js} +38 -39
  95. package/src/ui/TextField.js +62 -0
  96. package/src/{components/Hawa → ui}/index.js +13 -11
  97. package/src/util.js +20 -0
  98. package/storybook-static/0.d3bc3395610cf5d3ee94.manager.bundle.js +1 -0
  99. package/storybook-static/0.dd3d47f5.iframe.bundle.js +1 -0
  100. package/storybook-static/1.4e43f671.iframe.bundle.js +3 -0
  101. package/storybook-static/{4.f6eb74f4.iframe.bundle.js.LICENSE.txt → 1.4e43f671.iframe.bundle.js.LICENSE.txt} +8 -8
  102. package/storybook-static/1.4e43f671.iframe.bundle.js.map +1 -0
  103. package/storybook-static/2.9a757207.iframe.bundle.js +1 -0
  104. package/storybook-static/3.c1dc7159.iframe.bundle.js +1 -0
  105. package/storybook-static/4.8c311a6b48cad9f29317.manager.bundle.js +2 -0
  106. package/storybook-static/{5.fa71488e730c5c7f885f.manager.bundle.js.LICENSE.txt → 4.8c311a6b48cad9f29317.manager.bundle.js.LICENSE.txt} +8 -8
  107. package/storybook-static/5.88fe62ee92ff5ca67829.manager.bundle.js +1 -0
  108. package/storybook-static/6.96d184f368dea006cb52.manager.bundle.js +2 -0
  109. package/storybook-static/{11.49c687eaa6261f8b7be2.manager.bundle.js.LICENSE.txt → 6.96d184f368dea006cb52.manager.bundle.js.LICENSE.txt} +12 -12
  110. package/storybook-static/{7.a806a38f.iframe.bundle.js → 7.5ec31f3702b08ab0b71c.manager.bundle.js} +1 -1
  111. package/storybook-static/7.69d2e532.iframe.bundle.js +1 -0
  112. package/storybook-static/8.5ce13be7612bd3a6b864.manager.bundle.js +1 -0
  113. package/storybook-static/8.68cd1217.iframe.bundle.js +3 -0
  114. package/storybook-static/{6.fbc7b90b.iframe.bundle.js.LICENSE.txt → 8.68cd1217.iframe.bundle.js.LICENSE.txt} +12 -12
  115. package/storybook-static/8.68cd1217.iframe.bundle.js.map +1 -0
  116. package/storybook-static/9.488e3969.iframe.bundle.js +1 -0
  117. package/storybook-static/iframe.html +348 -138
  118. package/storybook-static/index.html +59 -47
  119. package/storybook-static/main.65cb2769.iframe.bundle.js +1 -0
  120. package/storybook-static/main.7e391cf7bf72b0d18ea5.manager.bundle.js +1 -0
  121. package/storybook-static/runtime~main.6e2e1544.iframe.bundle.js +1 -0
  122. package/storybook-static/runtime~main.cc29f4c2175f187a3707.manager.bundle.js +1 -0
  123. package/storybook-static/vendors~main.d144d840.iframe.bundle.js +3 -0
  124. package/storybook-static/{vendors~main.73411ca9.iframe.bundle.js.LICENSE.txt → vendors~main.d144d840.iframe.bundle.js.LICENSE.txt} +148 -148
  125. package/storybook-static/vendors~main.d144d840.iframe.bundle.js.map +1 -0
  126. package/storybook-static/vendors~main.f228d62e92b69563cefb.manager.bundle.js +2 -0
  127. package/storybook-static/{vendors~main.d3455eed64b243c89325.manager.bundle.js.LICENSE.txt → vendors~main.f228d62e92b69563cefb.manager.bundle.js.LICENSE.txt} +104 -88
  128. package/tools/build-styles.js +17 -0
  129. package/yarn-error.log +10910 -0
  130. package/src/components/Hawa/AdaptiveButton/index.js +0 -1
  131. package/src/components/Hawa/AutoCompleteField/index.js +0 -1
  132. package/src/components/Hawa/Checkbox/index.js +0 -1
  133. package/src/components/Hawa/DragDropImages/index.js +0 -1
  134. package/src/components/Hawa/HawaProvider/HawaProvider.js +0 -19
  135. package/src/components/Hawa/HawaProvider/index.js +0 -1
  136. package/src/components/Hawa/InputLabel/StyledInputLabel.jsx +0 -36
  137. package/src/components/Hawa/InputLabel/index.js +0 -1
  138. package/src/components/Hawa/RadioBox/index.js +0 -1
  139. package/src/components/Hawa/RadioSelector/index.js +0 -1
  140. package/src/components/Hawa/Row/Row.jsx +0 -23
  141. package/src/components/Hawa/Row/index.js +0 -1
  142. package/src/components/Hawa/SelectedField/index.js +0 -1
  143. package/src/components/Hawa/TabPanel/index.js +0 -1
  144. package/src/components/Hawa/TextArea/index.js +0 -1
  145. package/src/components/Hawa/TextField/TextField.jsx +0 -41
  146. package/src/components/Hawa/TextField/index.js +0 -1
  147. package/storybook-static/0.86a7edfd.iframe.bundle.js +0 -1
  148. package/storybook-static/0.b73eaee9a88f178d62ed.manager.bundle.js +0 -1
  149. package/storybook-static/1.f296d183a17268696d73.manager.bundle.js +0 -1
  150. package/storybook-static/10.9998ba67d65d81d20896.manager.bundle.js +0 -1
  151. package/storybook-static/11.49c687eaa6261f8b7be2.manager.bundle.js +0 -2
  152. package/storybook-static/12.c9538ed3766c96f289e7.manager.bundle.js +0 -1
  153. package/storybook-static/4.f6eb74f4.iframe.bundle.js +0 -3
  154. package/storybook-static/4.f6eb74f4.iframe.bundle.js.map +0 -1
  155. package/storybook-static/5.ec6f37af.iframe.bundle.js +0 -1
  156. package/storybook-static/5.fa71488e730c5c7f885f.manager.bundle.js +0 -2
  157. package/storybook-static/6.8096ae4aadde0743697b.manager.bundle.js +0 -1
  158. package/storybook-static/6.fbc7b90b.iframe.bundle.js +0 -3
  159. package/storybook-static/6.fbc7b90b.iframe.bundle.js.map +0 -1
  160. package/storybook-static/7.b34baecbd082bc7b188d.manager.bundle.js +0 -1
  161. package/storybook-static/8.15577edffecf900a8de2.manager.bundle.js +0 -1
  162. package/storybook-static/9.d7d85aa0a49a98f17218.manager.bundle.js +0 -1
  163. package/storybook-static/main.355ffc59.iframe.bundle.js +0 -1
  164. package/storybook-static/main.ce406c7e93b98325390e.manager.bundle.js +0 -1
  165. package/storybook-static/runtime~main.3d81579b.iframe.bundle.js +0 -1
  166. package/storybook-static/runtime~main.909d038f912f063e8837.manager.bundle.js +0 -1
  167. package/storybook-static/vendors~main.73411ca9.iframe.bundle.js +0 -3
  168. package/storybook-static/vendors~main.73411ca9.iframe.bundle.js.map +0 -1
  169. package/storybook-static/vendors~main.d3455eed64b243c89325.manager.bundle.js +0 -2
@@ -0,0 +1,45 @@
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
+
4
+ name: Hawa Publish Package
5
+
6
+ on:
7
+ push:
8
+ branches: [ main ]
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - uses: actions/setup-node@v2
16
+ with:
17
+ node-version: 16
18
+ - run: |
19
+ if [ -e 'package-lock.json' ]; then
20
+ npm ci
21
+ else
22
+ npm install
23
+ fi
24
+ #- run: npm test
25
+
26
+ publish-npm:
27
+ needs: build
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - uses: actions/checkout@v2
31
+ - uses: actions/setup-node@v2
32
+ with:
33
+ node-version: 16
34
+ registry-url: https://registry.npmjs.org/
35
+ - run: |
36
+ if [ -e 'package-lock.json' ]; then
37
+ npm ci
38
+ else
39
+ npm install
40
+ fi
41
+ - run: npm run build-lib
42
+ - run: npm run build:styles
43
+ - run: npm publish
44
+ env:
45
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -0,0 +1,45 @@
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
+
4
+ name: Hawa Publish Package
5
+
6
+ on:
7
+ release:
8
+ types: [created]
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - uses: actions/setup-node@v2
16
+ with:
17
+ node-version: 16
18
+ - run: |
19
+ if [ -e 'package-lock.json' ]; then
20
+ npm ci
21
+ else
22
+ npm install
23
+ fi
24
+ #- run: npm test
25
+
26
+ publish-npm:
27
+ needs: build
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - uses: actions/checkout@v2
31
+ - uses: actions/setup-node@v2
32
+ with:
33
+ node-version: 16
34
+ registry-url: https://registry.npmjs.org/
35
+ - run: |
36
+ if [ -e 'package-lock.json' ]; then
37
+ npm ci
38
+ else
39
+ npm install
40
+ fi
41
+ - run: npm run build-lib
42
+ - run: npm run build:styles
43
+ - run: npm publish
44
+ env:
45
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/.prettierrc CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "semi": false,
3
- "overrides": [
4
- {
5
- "files": ["*.jsx", "*.js"],
6
- "options": {
7
- "arrowParens": "always",
8
- "bracketSpacing": true,
9
- "endOfLine": "lf",
10
- "htmlWhitespaceSensitivity": "css",
11
- "insertPragma": false,
12
- "jsxBracketSameLine": false,
13
- "jsxSingleQuote": false,
14
- "printWidth": 80,
15
- "proseWrap": "preserve",
16
- "quoteProps": "as-needed",
17
- "requirePragma": false,
18
- "semi": true,
19
- "singleQuote": false,
20
- "tabWidth": 2,
21
- "trailingComma": "none",
22
- "useTabs": false,
23
- "vueIndentScriptAndStyle": false,
24
- "parser": "babel"
25
- }
26
- }
27
- ]
28
- }
1
+ {
2
+ "semi": false,
3
+ "overrides": [
4
+ {
5
+ "files": ["*.jsx", "*.js"],
6
+ "options": {
7
+ "arrowParens": "always",
8
+ "bracketSpacing": true,
9
+ "endOfLine": "lf",
10
+ "htmlWhitespaceSensitivity": "css",
11
+ "insertPragma": false,
12
+ "jsxBracketSameLine": false,
13
+ "jsxSingleQuote": false,
14
+ "printWidth": 80,
15
+ "proseWrap": "preserve",
16
+ "quoteProps": "as-needed",
17
+ "requirePragma": false,
18
+ "semi": true,
19
+ "singleQuote": false,
20
+ "tabWidth": 2,
21
+ "trailingComma": "none",
22
+ "useTabs": false,
23
+ "vueIndentScriptAndStyle": false,
24
+ "parser": "babel"
25
+ }
26
+ }
27
+ ]
28
+ }
package/README.md CHANGED
@@ -1,119 +1,149 @@
1
- <!-- ![Hawa | هواء](https://xakher-images.s3.ap-southeast-1.amazonaws.com/hawa-logo.png) -->
2
-
3
- <p align="center">
4
- <img src="https://xakher-images.s3.ap-southeast-1.amazonaws.com/hawa-logo.png" alt="Hawa | هواء" />
5
- </p>
6
-
7
-
8
-
9
- # Hawa | هواء
10
-
11
- [![NPM](https://img.shields.io/npm/v/@sikka/hawa.svg)](https://www.npmjs.com/package/@sikka/hawa)
12
- [![NPM](https://img.shields.io/npm/dt/@sikka/hawa.svg)](https://www.npmjs.com/package/@sikka/hawa)
13
- [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
14
-
15
- > Opinionated UI Kit for web apps and websites.
16
-
17
- # Concept
18
-
19
- # Features
20
- - [ ] Change borders and margin, padding in one place
21
- - [ ] Drag and drop tool to create a layout of boxes
22
-
23
-
24
- ## Boxes
25
- Most components will live inside **boxes**. Windows can show anything. It can show a video, image, form, iFrame, etc. Boxes make out the layout of your website or application. Boxes can be arranged in different layouts
26
-
27
- <p align="center">
28
- <img src="https://user-images.githubusercontent.com/46135573/143972102-0c104239-b8f6-4a7b-9aad-54f6d91a8906.png" alt="layout-types" />
29
- </p>
30
-
31
- Points
32
- - The content inside each box can be scrollable (vertical/horizontal/Both) with one prop
33
- - you can control the spacing of the content inside each box with one prop
34
- - you can also control the spacing of all the box in the layout
35
- - some boxes can float (animation of open and close modal)
36
- - some boxes can go full screen (animation to transition)
37
-
38
-
39
- ## Install
40
-
41
- ```bash
42
-
43
- npm install --save @sikka/hawa
44
-
45
- ```
46
-
47
- ## Components
48
-
49
- - [ ] Layout
50
- - [ ] Box
51
- - [ ] TextField
52
- - [ ] TextArea
53
- - [ ] Radio Selector
54
- - [ ] PasswordField
55
- - [ ] Autocomplete
56
- - [ ] Tabs
57
-
58
- ## Usage
59
-
60
- ```jsx
61
-
62
- //example coming soon inshallah
63
-
64
- ```
65
-
66
- ## Contributing
67
-
68
- To contribute, clone this github repository and run the development server
69
-
70
- - clone repository
71
-
72
- ```bash
73
- git clone git@github.com:sikka-software/hawa.git
74
- cd hawa
75
- npm install
76
- ```
77
-
78
- ## TESTING
79
-
80
- - Run development server
81
-
82
- ```bash
83
- git clone git@github.com:sikka-software/hawa.git
84
- cd hawa
85
- npm install
86
- npm run storybook
87
- ```
88
-
89
- - Edit **Hawa/src/stories/Hawa.stories.js_** file
90
-
91
- - Add your custom testing component in **Hawa.stories.js** file
92
-
93
- - Or you can preview without running development server. [See Preview](https://sikka-software.github.io/Hawa/storybook-static/)
94
-
95
- ```jsx
96
-
97
- //example coming soon inshallah
98
-
99
- ```
100
-
101
- ## Deployment
102
-
103
- ```bash
104
- npm run build-storybook
105
- ```
106
-
107
- ## Publishing (Admin)
108
-
109
- ```bash
110
- npm version [major | minor | patch]
111
- npm run build-lib
112
- npm publish --access public
113
- ```
114
-
115
- ## License
116
-
117
- <!-- https://github.com/react-component/drawer -->
118
-
119
- MIT © [SIKKA SOFTWARE](https://sikka.sa)
1
+ <p align="center">
2
+ <img src="https://xakher-images.s3.ap-southeast-1.amazonaws.com/hawa-logo.png" alt="Hawa | هواء" />
3
+ </p>
4
+
5
+ # Hawa | هواء
6
+
7
+ [![NPM](https://img.shields.io/npm/v/@sikka/hawa.svg?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/@sikka/hawa)
8
+ [![NPM](https://img.shields.io/npm/dt/@sikka/hawa.svg?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/@sikka/hawa)
9
+
10
+
11
+
12
+ > Opinionated UI Kit for web apps and websites.
13
+
14
+ # Concept
15
+
16
+ ### Components
17
+
18
+ The smallest elements of this UI kit are the typical low-level components. Examples of components:
19
+
20
+ - InputField
21
+ - Checkboxes
22
+ - Modal
23
+ - Drag-Drop Image(s)
24
+ - Button
25
+ - etc ...
26
+
27
+ ### Blocks
28
+
29
+ Blocks are commonly used collection of components. Examples of blocks:
30
+
31
+ - Sign-In
32
+ - Sign-Up
33
+ - Reset Password
34
+ - SaaS Pricing Plans
35
+ - Payment Methods Block (to list saved methods)
36
+ - Account Block (to edit account info)
37
+ - etc ...
38
+
39
+ ### Boxes
40
+
41
+ Most components and blocks will live inside **boxes**. Windows can show anything. It can show a video, image, form, iFrame, etc. Boxes make out the layout of your website or application. Boxes can be arranged in different layouts
42
+
43
+ <p align="center">
44
+ <img src="https://user-images.githubusercontent.com/46135573/143972102-0c104239-b8f6-4a7b-9aad-54f6d91a8906.png" alt="layout-types" />
45
+ </p>
46
+
47
+ Points
48
+
49
+ - The content inside each box can be scrollable (vertical/horizontal/Both) with one prop
50
+ - you can control the spacing of the content inside each box with one prop
51
+ - you can also control the spacing of all the box in the layout
52
+ - some boxes can float (animation of open and close modal)
53
+ - some boxes can go full screen (animation to transition)
54
+
55
+ ### Utilities
56
+
57
+ - [x] **getTextColor(bgColor)**
58
+ determine if text should be black or white based on the contrast of `bgColor`
59
+
60
+ - [ ] **darkenColor(color,percent)**
61
+ darken a given `color` by a given `percent`
62
+
63
+ - [ ] **lightenColor(color,percent)**
64
+ lighten a given `color` by a given `percent`
65
+
66
+ # Features
67
+
68
+ - [ ] Change borders and margin, padding in one place
69
+ - [ ] Drag and drop tool to create a layout of boxes
70
+
71
+ ## Components
72
+
73
+ - [ ] Layout
74
+ - [ ] Box
75
+ - [ ] TextField
76
+ - [ ] TextArea
77
+ - [ ] Radio Selector
78
+ - [ ] PasswordField
79
+ - [ ] Autocomplete
80
+ - [ ] Tabs
81
+ - [ ] Alerts
82
+ - [ ] Badges
83
+
84
+ ## Install
85
+
86
+ ```bash
87
+
88
+ npm install --save @sikka/hawa
89
+
90
+ ```
91
+
92
+ ## Usage
93
+
94
+ ```jsx
95
+ //example coming soon inshallah
96
+ ```
97
+
98
+ ## Contributing
99
+
100
+ To contribute, clone this github repository and run the development server
101
+
102
+ - clone repository
103
+
104
+ ```bash
105
+ git clone git@github.com:sikka-software/hawa.git
106
+ cd hawa
107
+ npm install
108
+ ```
109
+
110
+ ## TESTING
111
+
112
+ - Run development server
113
+
114
+ ```bash
115
+ git clone git@github.com:sikka-software/hawa.git
116
+ cd hawa
117
+ npm install
118
+ npm run storybook
119
+ ```
120
+
121
+ - Edit **Hawa/src/stories/Hawa.stories.js\_** file
122
+
123
+ - Add your custom testing component in **Hawa.stories.js** file
124
+
125
+ - Or you can preview without running development server. [See Preview](https://sikka-software.github.io/Hawa/storybook-static/)
126
+
127
+ ```jsx
128
+ //example coming soon inshallah
129
+ ```
130
+
131
+ ## Deployment
132
+
133
+ ```bash
134
+ npm run build-storybook
135
+ ```
136
+
137
+ ## Publishing (Admin)
138
+
139
+ ```bash
140
+ npm version [major | minor | patch]
141
+ npm run build-lib
142
+ npm publish --access public
143
+ ```
144
+
145
+ ## License
146
+
147
+ <!-- https://github.com/react-component/drawer -->
148
+
149
+ MIT © [SIKKA SOFTWARE](https://sikka.sa)