react-asc 20.2.0 → 21.0.3

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 (238) hide show
  1. package/components/Alert/Alert.d.ts +11 -0
  2. package/components/Alert/index.d.ts +1 -0
  3. package/components/AppBar/AppBar.d.ts +9 -0
  4. package/components/AppBar/AppBarTitle.d.ts +5 -0
  5. package/components/AppBar/index.d.ts +2 -0
  6. package/components/AutoComplete/AutoComplete.d.ts +19 -0
  7. package/components/AutoComplete/index.d.ts +1 -0
  8. package/components/Backdrop/Backdrop.d.ts +7 -0
  9. package/components/Backdrop/index.d.ts +1 -0
  10. package/components/Badge/Badge.d.ts +7 -0
  11. package/components/Badge/index.d.ts +1 -0
  12. package/components/Breadcrumb/Breadcrumb.d.ts +5 -0
  13. package/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  14. package/components/Breadcrumb/index.d.ts +2 -0
  15. package/components/Button/Button.d.ts +13 -0
  16. package/components/Button/index.d.ts +1 -0
  17. package/components/ButtonGroup/ButtonGroup.d.ts +2 -0
  18. package/components/ButtonGroup/index.d.ts +1 -0
  19. package/components/Card/Card.d.ts +6 -0
  20. package/components/Card/CardBody.d.ts +2 -0
  21. package/components/Card/CardFooter.d.ts +2 -0
  22. package/components/Card/CardImage.d.ts +2 -0
  23. package/components/Card/CardSubtitle.d.ts +2 -0
  24. package/components/Card/CardText.d.ts +2 -0
  25. package/components/Card/CardTitle.d.ts +6 -0
  26. package/components/Card/index.d.ts +7 -0
  27. package/components/Checkbox/Checkbox.d.ts +7 -0
  28. package/components/Checkbox/index.d.ts +1 -0
  29. package/components/Chip/Chip.d.ts +11 -0
  30. package/components/Chip/index.d.ts +1 -0
  31. package/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
  32. package/components/ConditionalWrapper/index.d.ts +1 -0
  33. package/components/DateSelect/DateSelect.d.ts +17 -0
  34. package/components/DateSelect/DaySelect.d.ts +12 -0
  35. package/components/DateSelect/MonthSelect.d.ts +10 -0
  36. package/components/DateSelect/YearSelect.d.ts +12 -0
  37. package/components/DateSelect/index.d.ts +4 -0
  38. package/components/Drawer/Drawer.d.ts +9 -0
  39. package/components/Drawer/index.d.ts +1 -0
  40. package/components/ExpansionPanel/ExpansionPanel.d.ts +8 -0
  41. package/components/ExpansionPanel/ExpansionPanelContent.d.ts +5 -0
  42. package/components/ExpansionPanel/ExpansionPanelHeader.d.ts +7 -0
  43. package/components/ExpansionPanel/index.d.ts +3 -0
  44. package/components/FileInput/FileInput.d.ts +5 -0
  45. package/components/FileInput/index.d.ts +1 -0
  46. package/components/FloatingActionButton/FloatingActionButton.d.ts +12 -0
  47. package/components/FloatingActionButton/index.d.ts +1 -0
  48. package/components/Form/Form.d.ts +38 -0
  49. package/components/Form/FormError.d.ts +8 -0
  50. package/components/Form/FormGroup.d.ts +7 -0
  51. package/components/Form/FormHint/FormHint.d.ts +2 -0
  52. package/components/Form/FormHint/index.d.ts +1 -0
  53. package/components/Form/FormInput/FormInput.d.ts +29 -0
  54. package/components/Form/FormInput/index.d.ts +1 -0
  55. package/components/Form/FormLabel/FormLabel.d.ts +2 -0
  56. package/components/Form/FormLabel/index.d.ts +1 -0
  57. package/components/Form/form.interfaces.d.ts +42 -0
  58. package/components/Form/form.models.d.ts +12 -0
  59. package/components/Form/form.types.d.ts +2 -0
  60. package/components/Form/index.d.ts +10 -0
  61. package/components/Form/validators/EmailValidtor.d.ts +1 -0
  62. package/components/Form/validators/IsEmptyValidator.d.ts +1 -0
  63. package/components/Form/validators/IsEqualValidator.d.ts +1 -0
  64. package/components/Form/validators/index.d.ts +3 -0
  65. package/components/Grid/Column/Column.d.ts +10 -0
  66. package/components/Grid/Column/index.d.ts +1 -0
  67. package/components/Grid/Row/Row.d.ts +5 -0
  68. package/components/Grid/Row/index.d.ts +1 -0
  69. package/components/Grid/index.d.ts +2 -0
  70. package/components/Icon/Icon.d.ts +6 -0
  71. package/components/Icon/index.d.ts +1 -0
  72. package/components/IconButton/IconButton.d.ts +11 -0
  73. package/components/IconButton/index.d.ts +1 -0
  74. package/components/Link/Link.d.ts +2 -0
  75. package/components/Link/Link.test.d.ts +1 -0
  76. package/components/Link/index.d.ts +1 -0
  77. package/components/List/List.d.ts +5 -0
  78. package/components/List/ListItem.d.ts +9 -0
  79. package/components/List/ListItemAction.d.ts +2 -0
  80. package/components/List/ListItemAvatar.d.ts +6 -0
  81. package/components/List/ListItemIcon.d.ts +6 -0
  82. package/components/List/ListItemText.d.ts +7 -0
  83. package/components/List/index.d.ts +6 -0
  84. package/components/List/list.models.d.ts +8 -0
  85. package/components/LoadingIndicator/LoadingIndicator.d.ts +2 -0
  86. package/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +5 -0
  87. package/components/LoadingIndicator/index.d.ts +3 -0
  88. package/components/LoadingIndicator/loading-indicator.service.d.ts +11 -0
  89. package/components/Menu/Menu.d.ts +11 -0
  90. package/components/Menu/MenuBackdrop.d.ts +6 -0
  91. package/components/Menu/MenuBody.d.ts +12 -0
  92. package/components/Menu/MenuContext.d.ts +6 -0
  93. package/components/Menu/MenuDivider.d.ts +2 -0
  94. package/components/Menu/MenuItem.d.ts +8 -0
  95. package/components/Menu/MenuToggle.d.ts +6 -0
  96. package/components/Menu/index.d.ts +6 -0
  97. package/components/Menu/menu.types.d.ts +1 -0
  98. package/components/Modal/GlobalModal.d.ts +19 -0
  99. package/components/Modal/Modal.d.ts +14 -0
  100. package/components/Modal/ModalBody.d.ts +6 -0
  101. package/components/Modal/ModalFooter.d.ts +2 -0
  102. package/components/Modal/ModalHeader.d.ts +7 -0
  103. package/components/Modal/index.d.ts +8 -0
  104. package/components/Modal/modal.enum.d.ts +10 -0
  105. package/components/Modal/modal.interfaces.d.ts +12 -0
  106. package/components/Modal/modal.service.d.ts +21 -0
  107. package/components/NumberSelect/NumberSelect.d.ts +12 -0
  108. package/components/NumberSelect/index.d.ts +1 -0
  109. package/components/Select/Select.d.ts +16 -0
  110. package/components/Select/index.d.ts +1 -0
  111. package/components/Sidebar/Sidebar.d.ts +9 -0
  112. package/components/Sidebar/index.d.ts +2 -0
  113. package/components/Sidebar/sidebar.interfaces.d.ts +9 -0
  114. package/components/Sidebar/sidebar.models.d.ts +11 -0
  115. package/components/Snackbar/Snackbar.d.ts +8 -0
  116. package/components/Snackbar/index.d.ts +2 -0
  117. package/components/Snackbar/snackbar.service.d.ts +19 -0
  118. package/components/SpeedDial/SpeedDial.d.ts +7 -0
  119. package/components/SpeedDial/SpeedDialAction.d.ts +9 -0
  120. package/components/SpeedDial/SpeedDialActions.d.ts +2 -0
  121. package/components/SpeedDial/SpeedDialIcon.d.ts +5 -0
  122. package/components/SpeedDial/index.d.ts +3 -0
  123. package/components/Stepper/Step/Step.d.ts +19 -0
  124. package/components/Stepper/Step/index.d.ts +1 -0
  125. package/components/Stepper/StepConnector/StepConnector.d.ts +6 -0
  126. package/components/Stepper/StepPanel/StepPanel.d.ts +5 -0
  127. package/components/Stepper/Stepper.d.ts +16 -0
  128. package/components/Stepper/StepperActions/StepperActions.d.ts +12 -0
  129. package/components/Stepper/StepperActions/index.d.ts +1 -0
  130. package/components/Stepper/index.d.ts +3 -0
  131. package/components/Table/Table.d.ts +10 -0
  132. package/components/Table/index.d.ts +1 -0
  133. package/components/Tabs/Tab.d.ts +14 -0
  134. package/components/Tabs/TabIndicator.d.ts +10 -0
  135. package/components/Tabs/TabPanel.d.ts +6 -0
  136. package/components/Tabs/Tabs.d.ts +17 -0
  137. package/components/Tabs/index.d.ts +3 -0
  138. package/components/Textarea/Textarea.d.ts +5 -0
  139. package/components/Textarea/index.d.ts +1 -0
  140. package/components/TimeSelect/HourSelect.d.ts +10 -0
  141. package/components/TimeSelect/MilliSecondSelect.d.ts +11 -0
  142. package/components/TimeSelect/MinuteSelect.d.ts +10 -0
  143. package/components/TimeSelect/SecondSelect.d.ts +10 -0
  144. package/components/TimeSelect/TimeSelect.d.ts +20 -0
  145. package/components/TimeSelect/index.d.ts +5 -0
  146. package/components/Tooltip/Tooltip.d.ts +6 -0
  147. package/components/Tooltip/index.d.ts +1 -0
  148. package/components/TreeView/TreeItem.d.ts +14 -0
  149. package/components/TreeView/TreeView.d.ts +2 -0
  150. package/components/TreeView/index.d.ts +2 -0
  151. package/components/Typography/Typography.d.ts +10 -0
  152. package/components/Typography/index.d.ts +1 -0
  153. package/components/component.enums.d.ts +25 -0
  154. package/components/component.interfaces.d.ts +18 -0
  155. package/components/index.d.ts +41 -0
  156. package/hooks/index.d.ts +4 -0
  157. package/hooks/useConstructor.d.ts +1 -0
  158. package/hooks/useDebounce.d.ts +2 -0
  159. package/hooks/useHover.d.ts +2 -0
  160. package/hooks/useWindowSize.d.ts +4 -0
  161. package/icons/CaretDownSolidIcon.d.ts +2 -0
  162. package/icons/CheckSolidIcon.d.ts +2 -0
  163. package/icons/CheckSquareRegularIcon.d.ts +2 -0
  164. package/icons/ChevronDownSolidIcon.d.ts +2 -0
  165. package/icons/ChevronLeftSolidIcon.d.ts +2 -0
  166. package/icons/ChevronRightSolidIcon.d.ts +2 -0
  167. package/icons/ChevronUpSolidIcon.d.ts +2 -0
  168. package/icons/CircleSolidIcon.d.ts +2 -0
  169. package/icons/HomeSolidIcon.d.ts +2 -0
  170. package/icons/PlusSolidIcon.d.ts +2 -0
  171. package/icons/SpinnerSolidIcon.d.ts +2 -0
  172. package/icons/SquareRegularIcon.d.ts +2 -0
  173. package/icons/TimesCircleSolidIcon.d.ts +2 -0
  174. package/icons/TimesSolidIcon.d.ts +2 -0
  175. package/icons/index.d.ts +14 -0
  176. package/index.d.ts +3 -0
  177. package/index.es.js +2636 -0
  178. package/index.js +2752 -0
  179. package/package.json +1 -3
  180. package/react-asc.scss +160 -116
  181. package/readme.md +56 -60
  182. package/apple-touch-icon.png +0 -0
  183. package/assets/index.1f5e1902.js +0 -10
  184. package/assets/index.a1009f35.css +0 -1
  185. package/assets/vendor.d012860f.js +0 -57
  186. package/changelog.md +0 -919
  187. package/favicon-16x16.png +0 -0
  188. package/favicon-32x32.png +0 -0
  189. package/favicon.ico +0 -0
  190. package/favicon.svg +0 -23
  191. package/index.html +0 -27
  192. package/manifest.webmanifest +0 -1
  193. package/pwa-192x192.png +0 -0
  194. package/pwa-512x512.png +0 -0
  195. package/registerSW.js +0 -1
  196. package/robots.txt +0 -3
  197. package/showcase/alert.md +0 -3
  198. package/showcase/appbar.md +0 -8
  199. package/showcase/autocomplete.md +0 -53
  200. package/showcase/backdrop.md +0 -11
  201. package/showcase/badge.md +0 -8
  202. package/showcase/breadcrumb.md +0 -5
  203. package/showcase/button.md +0 -11
  204. package/showcase/buttongroup.md +0 -5
  205. package/showcase/card.md +0 -9
  206. package/showcase/checkbox.md +0 -7
  207. package/showcase/chip.md +0 -7
  208. package/showcase/dateselect.md +0 -8
  209. package/showcase/drawer.md +0 -13
  210. package/showcase/expansionpanel.md +0 -40
  211. package/showcase/fileinput.md +0 -6
  212. package/showcase/floatingactionbutton.md +0 -8
  213. package/showcase/form.md +0 -7
  214. package/showcase/grid.md +0 -5
  215. package/showcase/hookuseconstructor.md +0 -3
  216. package/showcase/hookusedebounce.md +0 -5
  217. package/showcase/hookusehover.md +0 -8
  218. package/showcase/hookusewindowsize.md +0 -5
  219. package/showcase/icon.md +0 -3
  220. package/showcase/iconbutton.md +0 -5
  221. package/showcase/link.md +0 -1
  222. package/showcase/list.md +0 -7
  223. package/showcase/loadingindicator.md +0 -18
  224. package/showcase/menu.md +0 -18
  225. package/showcase/modal.md +0 -17
  226. package/showcase/numberselect.md +0 -20
  227. package/showcase/select.md +0 -27
  228. package/showcase/snackbar.md +0 -22
  229. package/showcase/speeddial.md +0 -43
  230. package/showcase/stepper.md +0 -1
  231. package/showcase/table.md +0 -34
  232. package/showcase/tabs.md +0 -35
  233. package/showcase/timeselect.md +0 -1
  234. package/showcase/tooltip.md +0 -6
  235. package/showcase/treeview.md +0 -12
  236. package/showcase/typography.md +0 -6
  237. package/sw.js +0 -1
  238. package/workbox-6cd28afd.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-asc",
3
- "version": "20.2.0",
3
+ "version": "21.0.3",
4
4
  "description": "handcrafted react components",
5
5
  "main": "index.js",
6
6
  "module": "index.es.js",
@@ -10,7 +10,6 @@
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@popperjs/core": "2.9.2",
13
- "bootstrap": "5.1.3",
14
13
  "react": "17.0.2",
15
14
  "react-dom": "17.0.2",
16
15
  "modern-normalize": "^1.1.0"
@@ -24,7 +23,6 @@
24
23
  "ui library",
25
24
  "components",
26
25
  "library",
27
- "bootstrap",
28
26
  "material"
29
27
  ]
30
28
  }
package/react-asc.scss CHANGED
@@ -1,3 +1,17 @@
1
+ :root {
2
+ --breakpoint-xs: 0;
3
+ --breakpoint-sm: 576px;
4
+ --breakpoint-md: 768px;
5
+ --breakpoint-lg: 992px;
6
+ --breakpoint-xl: 1200px;
7
+ --breakpoint-xxl: 1400px;
8
+ }
9
+
10
+ :root {
11
+ --buttonMinWidth: 62px;
12
+ --buttonPadding: 11px 15px;
13
+ }
14
+
1
15
  :root {
2
16
  --primary-light: #6573c3;
3
17
  --primary: #3f51b5;
@@ -35,121 +49,182 @@
35
49
  --bodyBg: white;
36
50
  --bodyColor: #212529;
37
51
 
38
- --borderRadius: 5px;
52
+ --highlight: rgba(204, 216, 224, 0.2); // ???
53
+
39
54
  --shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
40
- 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
55
+ 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
41
56
 
42
- --buttonMinWidth: 62px;
43
- --buttonPadding: 11px 15px;
57
+ --muted: #6c757d !important;
58
+ }
44
59
 
60
+ :root {
45
61
  --fontFamily: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
46
62
  sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
47
63
  --fontSize: 16px;
48
64
  --fontWeight: 400;
49
65
 
50
- --highlight: rgba(204, 216, 224, 0.2); // ???
66
+ --fontLineHeight: 1.5;
67
+ }
51
68
 
52
- --breakpointMd: 768px;
69
+ :root {
70
+ .ml-0 {
71
+ margin-left: var(--0);
72
+ }
53
73
 
54
- --bodyLineHeight: 1.5;
74
+ .ml-1 {
75
+ margin-left: var(--1);
76
+ }
55
77
 
56
- --breakpoint-xs: 0;
57
- --breakpoint-sm: 576px;
58
- --breakpoint-md: 768px;
59
- --breakpoint-lg: 992px;
60
- --breakpoint-xl: 1200px;
61
- --breakpoint-xxl: 1400px;
62
- }
78
+ .ml-2 {
79
+ margin-left: var(--2);
80
+ }
63
81
 
64
- .input-group-append {
65
- .btn {
66
- min-width: auto;
82
+ .ml-3 {
83
+ margin-left: var(--3);
84
+ }
67
85
 
68
- .svg-icon {
69
- margin-left: 0;
70
- margin-right: 0;
71
- }
86
+ .ml-auto {
87
+ margin-left: var(--auto);
72
88
  }
73
- }
74
89
 
75
- .text-muted {
76
- color: #6c757d !important;
77
- }
90
+ .mr-0 {
91
+ margin-right: var(--0);
92
+ }
78
93
 
79
- .ml-0 {
80
- margin-left: 0px !important;
81
- }
94
+ .mr-1 {
95
+ margin-right: var(--1);
96
+ }
82
97
 
83
- .ml-1 {
84
- margin-left: 10px !important;
85
- }
98
+ .mr-2 {
99
+ margin-right: var(--2);
100
+ }
86
101
 
87
- .ml-2 {
88
- margin-left: 20px !important;
89
- }
102
+ .mr-3 {
103
+ margin-right: var(--3);
104
+ }
90
105
 
91
- .ml-3 {
92
- margin-left: 30px !important;
93
- }
106
+ .mr-auto {
107
+ margin-right: var(--auto);
108
+ }
94
109
 
95
- .ml-auto {
96
- margin-left: auto !important;
97
- }
110
+ .mt-0 {
111
+ margin-top: var(--0);
112
+ }
98
113
 
99
- .mr-0 {
100
- margin-right: 0px !important;
101
- }
114
+ .mt-1 {
115
+ margin-top: var(--1);
116
+ }
102
117
 
103
- .mr-1 {
104
- margin-right: 10px !important;
105
- }
118
+ .mt-2 {
119
+ margin-top: var(--2);
120
+ }
106
121
 
107
- .mr-2 {
108
- margin-right: 20px !important;
109
- }
122
+ .mt-3 {
123
+ margin-top: var(--3);
124
+ }
110
125
 
111
- .mr-3 {
112
- margin-right: 30px !important;
113
- }
126
+ .mt-4 {
127
+ margin-top: var(--4);
128
+ }
114
129
 
115
- .mr-auto {
116
- margin-right: auto !important;
117
- }
130
+ .mb-0 {
131
+ margin-bottom: var(--0);
132
+ }
118
133
 
119
- .mt-0 {
120
- margin-top: 0px !important;
121
- }
134
+ .mb-1 {
135
+ margin-bottom: var(--1);
136
+ }
122
137
 
123
- .mt-1 {
124
- margin-top: 10px !important;
125
- }
138
+ .mb-2 {
139
+ margin-bottom: var(--2);
140
+ }
126
141
 
127
- .mt-2 {
128
- margin-top: 20px !important;
142
+ .mb-3 {
143
+ margin-bottom: var(--3);
144
+ }
129
145
  }
130
146
 
131
- .mt-3 {
132
- margin-top: 30px !important;
133
- }
147
+ :root {
148
+ .pt-1 {
149
+ padding-top: var(--1);
150
+ }
134
151
 
135
- .mt-4 {
136
- margin-top: 40px!important;
137
- }
152
+ .pt-2 {
153
+ padding-top: var(--2);
154
+ }
155
+
156
+ .pt-3 {
157
+ padding-top: var(--3);
158
+ }
159
+
160
+ .pb-1 {
161
+ padding-bottom: var(--1);
162
+ }
163
+
164
+ .pb-2 {
165
+ padding-bottom: var(--2);
166
+ }
138
167
 
139
- .mb-0 {
140
- margin-bottom: 0px !important;
168
+ .pb-3 {
169
+ padding-bottom: var(--3);
170
+ }
171
+
172
+ .pb-4 {
173
+ padding-bottom: var(--4);
174
+ }
175
+
176
+ .p-3 {
177
+ padding: var(--3);
178
+ }
179
+
180
+ .p-1 {
181
+ padding: var(--1);
182
+ }
183
+
184
+ .p-2 {
185
+ padding: var(--2);
186
+ }
187
+
188
+ .p-3 {
189
+ padding: var(--3);
190
+ }
191
+
192
+ .p-4 {
193
+ padding: var(--3);
194
+ }
195
+
196
+ .pt-0 {
197
+ padding-top: var(--0);
198
+ }
199
+
200
+ .pb-0 {
201
+ padding-bottom: var(--0);
202
+ }
141
203
  }
142
204
 
143
- .mb-1 {
144
- margin-bottom: 10px !important;
205
+ :root {
206
+ --borderRadius: 5px;
207
+ --0: 0px !important;
208
+ --1: 15px !important;
209
+ --2: 25px !important;
210
+ --3: 35px !important;
211
+ --4: 45px !important;
212
+ --auto: auto !important;
145
213
  }
146
214
 
147
- .mb-2 {
148
- margin-bottom: 20px !important;
215
+ .input-group-append {
216
+ .btn {
217
+ min-width: auto;
218
+
219
+ .svg-icon {
220
+ margin-left: 0;
221
+ margin-right: 0;
222
+ }
223
+ }
149
224
  }
150
225
 
151
- .mb-3 {
152
- margin-bottom: 30px !important;
226
+ .text-muted {
227
+ color: var(--muted);
153
228
  }
154
229
 
155
230
  .d-flex {
@@ -171,12 +246,15 @@
171
246
  .flex-row {
172
247
  flex-direction: row;
173
248
  }
249
+
174
250
  .flex-row-reverse {
175
251
  flex-direction: row-reverse;
176
252
  }
253
+
177
254
  .flex-column {
178
255
  flex-direction: column;
179
256
  }
257
+
180
258
  .flex-column-reverse {
181
259
  flex-direction: column-reverse;
182
260
  }
@@ -189,50 +267,16 @@
189
267
  height: 100%;
190
268
  }
191
269
 
192
- .pt-1 {
193
- padding-top: 10px !important;
194
- }
195
270
 
196
- .pt-2 {
197
- padding-top: 20px !important;
198
- }
199
271
 
200
- .pt-3 {
201
- padding-top: 30px !important;
202
- }
203
-
204
-
205
-
206
- .pb-1 {
207
- padding-bottom: 10px !important;
208
- }
209
-
210
- .pb-2 {
211
- padding-bottom: 20px !important;
212
- }
213
-
214
- .pb-3 {
215
- padding-bottom: 30px !important;
216
- }
217
-
218
- .p-3 {
219
- padding: 1rem!important;
220
- }
221
-
222
- .pt-0 {
223
- padding-top: 0px !important;
224
- }
225
-
226
-
227
- .pb-0 {
228
- padding-bottom: 0px !important;
272
+ .text-center {
273
+ text-align: center;
229
274
  }
230
275
 
231
276
  .rounded-pill {
232
- border-radius: 50rem!important;
277
+ border-radius: 50rem !important;
233
278
  }
234
279
 
235
-
236
280
  @media (max-width: 576px) {
237
281
  .flex-row {
238
282
  flex-direction: column !important;
@@ -240,10 +284,10 @@
240
284
  }
241
285
  @media (min-width: 768px) {
242
286
  .justify-content-md-center {
243
- justify-content: center!important;
287
+ justify-content: center !important;
244
288
  }
245
289
  .align-items-md-center {
246
- align-items: center!important;
290
+ align-items: center !important;
247
291
  }
248
292
  }
249
293
 
package/readme.md CHANGED
@@ -1,87 +1,83 @@
1
1
  # react-asc
2
- handcrafted components inspired by Material Design and bundled with rollup.
3
2
 
3
+ handcrafted components inspired by Material Design and bundled with rollup.
4
4
 
5
5
  ## showcase
6
- react-asc interactive showcase [link](https://react-asc.netlify.app)
7
6
 
7
+ react-asc interactive showcase [link](https://react-asc.netlify.app)
8
8
 
9
9
  ## usage
10
10
 
11
11
  ### install package
12
- `npm install react-asc`
13
-
14
12
 
15
- ### install twitter bootstrap 5
16
- react-asc aims to get rid of bootstrap - but for now you need Bootstrap
13
+ `npm install react-asc`
17
14
 
18
- `npm install bootstrap`
15
+ ### install modern-normalize
19
16
 
17
+ `npm install modern-normalize`
20
18
 
21
- ### Include needed scss files
19
+ ### Include styles
22
20
 
23
21
  ```scss
24
- @import "~bootstrap/scss/bootstrap";
22
+ @import "modern-normalize";
25
23
  @import "react-asc/react-asc.scss";
26
24
  ```
27
25
 
26
+ ### Usage
28
27
 
29
- ### Start using it
30
28
  ```js
31
- import React from 'react';
32
- import { Button } from 'react-asc';
29
+ import React from "react";
30
+ import { Button } from "react-asc";
33
31
 
34
32
  const MyApp = () => {
35
- return (
36
- <Button>some button</Button>
37
- )
38
- }
33
+ return <Button>some button</Button>;
34
+ };
39
35
  ```
40
36
 
41
-
42
- ## Included
43
-
44
- - Alert (beta)
45
- - AppBar
46
- - AutoComplete (beta)
47
- - Backdrop
48
- - Badge
49
- - Button
50
- - ButtonGroup
51
- - Breadcrumb
52
- - Card
53
- - Checkbox
54
- - Chip
55
- - ConditionalWrapper
56
- - DateSelect
57
- - Drawer
58
- - ExpansionPanel
59
- - FileInput
60
- - FloatingActionButton
61
- - Form (beta)
62
- - Grid
63
- - Icon
64
- - IconButton
65
- - Link
66
- - List
67
- - LoadingIndicator
68
- - Modal + ModalService
69
- - Menu
70
- - NumberSelect
71
- - Select
72
- - Snackbar + SnackbarService
73
- - SpeedDial
74
- - Stepper (beta)
75
- - Table (beta)
76
- - Tabs
77
- - TimeSelect
78
- - Textarea
79
- - Tooltip
80
- - TreeView (beta)
81
- - Typography
82
-
83
-
84
- ## Credit
37
+ ## Included Components
38
+
39
+ - Alert (beta)
40
+ - AppBar
41
+ - AutoComplete (beta)
42
+ - Backdrop
43
+ - Badge
44
+ - Breadcrumb
45
+ - Button
46
+ - ButtonGroup
47
+ - Card
48
+ - Checkbox
49
+ - Chip
50
+ - ConditionalWrapper
51
+ - DateSelect
52
+ - Drawer
53
+ - ExpansionPanel
54
+ - FileInput
55
+ - FloatingActionButton
56
+ - Form (beta)
57
+ - Grid
58
+ - Icon
59
+ - IconButton
60
+ - Link
61
+ - List
62
+ - LoadingIndicator
63
+ - Menu
64
+ - Modal + ModalService
65
+ - NumberSelect
66
+ - Select
67
+ - Sidebar
68
+ - Snackbar + SnackbarService
69
+ - SpeedDial
70
+ - Stepper (beta)
71
+ - Table (beta)
72
+ - Tabs
73
+ - Textarea
74
+ - TimeSelect
75
+ - Tooltip
76
+ - TreeView (beta)
77
+ - Typography
78
+
79
+
80
+ ## Credit
85
81
 
86
82
  uses fontawesome icons as SVGs
87
83
  https://fontawesome.com/license
Binary file