imbric-theme 0.3.2 → 0.3.5

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 (130) hide show
  1. package/.storybook/main.js +1 -1
  2. package/atoms/AlertModal/AlertModal.js +77 -0
  3. package/atoms/AlertModal/AlertModal.module.css +3 -0
  4. package/atoms/AlertModal/AlertModal.stories.js +30 -0
  5. package/atoms/AlertModal/constants.js +4 -0
  6. package/atoms/AlertModal/index.js +3 -0
  7. package/atoms/Button/Button.js +5 -2
  8. package/atoms/Button/Button.module.css +6 -3
  9. package/atoms/Checkbox/Checkbox.js +49 -0
  10. package/atoms/Checkbox/Checkbox.module.css +3 -0
  11. package/atoms/Checkbox/Checkbox.stories.js +28 -0
  12. package/atoms/Checkbox/constants.js +1 -0
  13. package/atoms/Checkbox/index.js +3 -0
  14. package/atoms/Heading/Heading.js +1 -1
  15. package/atoms/Heading/Heading.module.css +4 -0
  16. package/atoms/Heading/constants.js +1 -1
  17. package/atoms/Icon/constants.js +30 -6
  18. package/atoms/Input/Input.js +21 -5
  19. package/atoms/Input/Input.module.css +26 -6
  20. package/atoms/Input/Input.stories.js +8 -2
  21. package/atoms/Input/__snapshots__/Input.stories.js.snap +5 -5
  22. package/atoms/Input/constants.js +1 -1
  23. package/atoms/Label/Label.js +31 -0
  24. package/atoms/Label/Label.module.css +38 -0
  25. package/atoms/Label/Label.stories.js +26 -0
  26. package/atoms/Label/constants.js +1 -0
  27. package/atoms/Label/index.js +3 -0
  28. package/atoms/Paragraph/Paragraph.module.css +4 -0
  29. package/hook/useAddColumn.js +40 -0
  30. package/hook/useStateDate.js +25 -0
  31. package/hook/useTable.js +45 -0
  32. package/index.js +22 -1
  33. package/jest.config.js +1 -1
  34. package/layout/DynamicTable/DynamicTable.js +172 -0
  35. package/layout/DynamicTable/DynamicTable.module.css +63 -0
  36. package/layout/DynamicTable/DynamicTable.stories.js +77 -0
  37. package/layout/DynamicTable/constants.js +323 -0
  38. package/layout/DynamicTable/index.js +3 -0
  39. package/layout/Navbar/Navbar.js +19 -11
  40. package/layout/Navbar/Navbar.module.css +4 -2
  41. package/layout/Navbar/Navbar.stories.js +2 -1
  42. package/layout/Sidebar/Sidebar.js +6 -3
  43. package/layout/Sidebar/Sidebar.module.css +1 -10
  44. package/layout/Sidebar/Sidebar.stories.js +1 -1
  45. package/layout/Sidebar/constants.js +228 -205
  46. package/molecules/CheckList/CheckList.js +135 -0
  47. package/molecules/CheckList/CheckList.module.css +94 -0
  48. package/molecules/CheckList/CheckList.stories.js +25 -0
  49. package/molecules/CheckList/constants.js +23 -0
  50. package/molecules/CheckList/index.js +3 -0
  51. package/molecules/ColumnTable/ColumnTable.js +124 -0
  52. package/molecules/ColumnTable/ColumnTable.module.css +22 -0
  53. package/molecules/ColumnTable/ColumnTable.stories.js +26 -0
  54. package/molecules/ColumnTable/constants.js +111 -0
  55. package/molecules/ColumnTable/index.js +3 -0
  56. package/molecules/DatePicker/DatePicker.js +236 -0
  57. package/molecules/DatePicker/DatePicker.module.css +38 -0
  58. package/molecules/DatePicker/DatePicker.stories.js +23 -0
  59. package/molecules/DatePicker/constants.js +3 -0
  60. package/molecules/DatePicker/index.js +3 -0
  61. package/molecules/Dropdown/Dropdown.js +25 -22
  62. package/molecules/Dropdown/Dropdown.module.css +21 -3
  63. package/molecules/DynamicSelect/DynamicSelect.js +109 -0
  64. package/molecules/DynamicSelect/DynamicSelect.module.css +10 -0
  65. package/molecules/DynamicSelect/DynamicSelect.stories.js +32 -0
  66. package/molecules/DynamicSelect/constants.js +7 -0
  67. package/molecules/DynamicSelect/index.js +3 -0
  68. package/molecules/Error/Error.js +2 -2
  69. package/molecules/Error/Error.module.css +3 -2
  70. package/molecules/FooterTable/FooterTable.js +47 -0
  71. package/molecules/FooterTable/FooterTable.module.css +37 -0
  72. package/molecules/FooterTable/FooterTable.stories.js +23 -0
  73. package/molecules/FooterTable/constants.js +1 -0
  74. package/molecules/FooterTable/index.js +3 -0
  75. package/molecules/ItemMenu/ItemMenu.js +35 -24
  76. package/molecules/ItemMenu/ItemMenu.module.css +13 -4
  77. package/molecules/ItemMenu/ItemMenu.stories.js +2 -0
  78. package/molecules/ItemMenu/constants.js +3 -0
  79. package/molecules/RowTable/RowTable.js +68 -0
  80. package/molecules/RowTable/RowTable.module.css +22 -0
  81. package/molecules/RowTable/RowTable.stories.js +26 -0
  82. package/molecules/RowTable/constants.js +305 -0
  83. package/molecules/RowTable/index.js +3 -0
  84. package/package.json +11 -2
  85. package/pages/Login/Login.js +102 -0
  86. package/pages/Login/Login.module.css +5 -0
  87. package/pages/Login/Login.stories.js +23 -0
  88. package/pages/Login/constants.js +1 -0
  89. package/pages/Login/index.js +3 -0
  90. package/pages/Login/validation/loginSchema.js +5 -0
  91. package/public/static/logologin.svg +16 -0
  92. package/scripts/create-component.js +2 -1
  93. package/storybook-static/0.263f852f.iframe.bundle.js +1 -0
  94. package/storybook-static/0.91dbd3f3aa2099d25061.manager.bundle.js +1 -0
  95. package/storybook-static/1.17e9ac7e.iframe.bundle.js +3 -0
  96. package/storybook-static/1.17e9ac7e.iframe.bundle.js.LICENSE.txt +8 -0
  97. package/storybook-static/1.17e9ac7e.iframe.bundle.js.map +1 -0
  98. package/storybook-static/2.cc4000c2.iframe.bundle.js +1 -0
  99. package/storybook-static/3.e9f95d01.iframe.bundle.js +1 -0
  100. package/storybook-static/4.be0a752c9f5176d6eec1.manager.bundle.js +2 -0
  101. package/storybook-static/4.be0a752c9f5176d6eec1.manager.bundle.js.LICENSE.txt +8 -0
  102. package/storybook-static/5.8efdde123acaf8fbb100.manager.bundle.js +1 -0
  103. package/storybook-static/6.2f82294ae0b087aecb24.manager.bundle.js +2 -0
  104. package/storybook-static/6.2f82294ae0b087aecb24.manager.bundle.js.LICENSE.txt +12 -0
  105. package/storybook-static/7.97068037.iframe.bundle.js +1 -0
  106. package/storybook-static/7.fa9452d2609e8a00f314.manager.bundle.js +1 -0
  107. package/storybook-static/8.66f5ef1c66fc4628f127.manager.bundle.js +1 -0
  108. package/storybook-static/8.b545d602.iframe.bundle.js +3 -0
  109. package/storybook-static/8.b545d602.iframe.bundle.js.LICENSE.txt +12 -0
  110. package/storybook-static/8.b545d602.iframe.bundle.js.map +1 -0
  111. package/storybook-static/9.269ed917.iframe.bundle.js +1 -0
  112. package/storybook-static/favicon.ico +0 -0
  113. package/storybook-static/iframe.html +348 -0
  114. package/storybook-static/index.html +59 -0
  115. package/storybook-static/main.157061c9.iframe.bundle.js +1 -0
  116. package/storybook-static/main.5a07347846ccf2d7e5dc.manager.bundle.js +1 -0
  117. package/storybook-static/runtime~main.a14e6e62.iframe.bundle.js +1 -0
  118. package/storybook-static/runtime~main.f78c3fae275fc212c109.manager.bundle.js +1 -0
  119. package/storybook-static/static/logo.svg +19 -0
  120. package/storybook-static/static/logologin.svg +16 -0
  121. package/storybook-static/static/logotipo.svg +50 -0
  122. package/storybook-static/static/logotipoS.svg +26 -0
  123. package/storybook-static/vendors~main.720e76f4.iframe.bundle.js +3 -0
  124. package/storybook-static/vendors~main.720e76f4.iframe.bundle.js.LICENSE.txt +110 -0
  125. package/storybook-static/vendors~main.720e76f4.iframe.bundle.js.map +1 -0
  126. package/storybook-static/vendors~main.fcd0b2a3431ddf75f5f7.manager.bundle.js +2 -0
  127. package/storybook-static/vendors~main.fcd0b2a3431ddf75f5f7.manager.bundle.js.LICENSE.txt +101 -0
  128. package/styles/globals.css +592 -0
  129. package/styles/tokens.css +2 -1
  130. package/tokens/index.js +2 -1
@@ -0,0 +1,101 @@
1
+ /*!
2
+ * Fuse.js v3.6.1 - Lightweight fuzzy-search (http://fusejs.io)
3
+ *
4
+ * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me)
5
+ * All Rights Reserved. Apache Software License 2.0
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ */
9
+
10
+ /*!
11
+ * https://github.com/es-shims/es5-shim
12
+ * @license es5-shim Copyright 2009-2020 by contributors, MIT License
13
+ * see https://github.com/es-shims/es5-shim/blob/master/LICENSE
14
+ */
15
+
16
+ /*!
17
+ * https://github.com/paulmillr/es6-shim
18
+ * @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com)
19
+ * and contributors, MIT License
20
+ * es6-shim: v0.35.4
21
+ * see https://github.com/paulmillr/es6-shim/blob/0.35.3/LICENSE
22
+ * Details and documentation:
23
+ * https://github.com/paulmillr/es6-shim/
24
+ */
25
+
26
+ /*!
27
+ * isobject <https://github.com/jonschlinkert/isobject>
28
+ *
29
+ * Copyright (c) 2014-2017, Jon Schlinkert.
30
+ * Released under the MIT License.
31
+ */
32
+
33
+ /**
34
+ * @license React
35
+ * react-dom.production.min.js
36
+ *
37
+ * Copyright (c) Facebook, Inc. and its affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */
42
+
43
+ /**
44
+ * @license React
45
+ * react.production.min.js
46
+ *
47
+ * Copyright (c) Facebook, Inc. and its affiliates.
48
+ *
49
+ * This source code is licensed under the MIT license found in the
50
+ * LICENSE file in the root directory of this source tree.
51
+ */
52
+
53
+ /**
54
+ * @license React
55
+ * scheduler.production.min.js
56
+ *
57
+ * Copyright (c) Facebook, Inc. and its affiliates.
58
+ *
59
+ * This source code is licensed under the MIT license found in the
60
+ * LICENSE file in the root directory of this source tree.
61
+ */
62
+
63
+ /**
64
+ * React Router DOM v6.3.0
65
+ *
66
+ * Copyright (c) Remix Software Inc.
67
+ *
68
+ * This source code is licensed under the MIT license found in the
69
+ * LICENSE.md file in the root directory of this source tree.
70
+ *
71
+ * @license MIT
72
+ */
73
+
74
+ /**
75
+ * React Router v6.3.0
76
+ *
77
+ * Copyright (c) Remix Software Inc.
78
+ *
79
+ * This source code is licensed under the MIT license found in the
80
+ * LICENSE.md file in the root directory of this source tree.
81
+ *
82
+ * @license MIT
83
+ */
84
+
85
+ /** @license React v16.13.1
86
+ * react-is.production.min.js
87
+ *
88
+ * Copyright (c) Facebook, Inc. and its affiliates.
89
+ *
90
+ * This source code is licensed under the MIT license found in the
91
+ * LICENSE file in the root directory of this source tree.
92
+ */
93
+
94
+ /** @license React v17.0.2
95
+ * react-is.production.min.js
96
+ *
97
+ * Copyright (c) Facebook, Inc. and its affiliates.
98
+ *
99
+ * This source code is licensed under the MIT license found in the
100
+ * LICENSE file in the root directory of this source tree.
101
+ */
@@ -8,3 +8,595 @@ body {
8
8
  #root {
9
9
  height: 100%;
10
10
  }
11
+
12
+ .rdrDefinedRangesWrapper {
13
+ width: 170px !important;
14
+ }
15
+
16
+ /* DATE RANGE */
17
+
18
+ .rdrCalendarWrapper {
19
+ box-sizing: border-box;
20
+ background: #ffffff;
21
+ display: inline-flex;
22
+ flex-direction: column;
23
+ -webkit-user-select: none;
24
+ -moz-user-select: none;
25
+ -ms-user-select: none;
26
+ user-select: none;
27
+ }
28
+
29
+ .rdrDateDisplay{
30
+ display: flex;
31
+ justify-content: space-between;
32
+ }
33
+
34
+ .rdrDateDisplayItem{
35
+ flex: 1 1;
36
+ width: 0;
37
+ text-align: center;
38
+ color: inherit;
39
+ }
40
+
41
+ .rdrDateDisplayItem + .rdrDateDisplayItem{
42
+ margin-left: 0.833em;
43
+ }
44
+
45
+ .rdrDateDisplayItem input{
46
+ text-align: inherit
47
+ }
48
+
49
+ .rdrDateDisplayItem input:disabled{
50
+ cursor: default;
51
+ }
52
+
53
+ .rdrDateDisplayItemActive{}
54
+
55
+ .rdrMonthAndYearWrapper {
56
+ box-sizing: inherit;
57
+ display: flex;
58
+ justify-content: space-between;
59
+ }
60
+
61
+ .rdrMonthAndYearPickers{
62
+ flex: 1 1 auto;
63
+ display: flex;
64
+ justify-content: center;
65
+ align-items: center;
66
+ }
67
+
68
+ .rdrMonthPicker{}
69
+
70
+ .rdrYearPicker{}
71
+
72
+ .rdrNextPrevButton {
73
+ box-sizing: inherit;
74
+ cursor: pointer;
75
+ outline: none;
76
+ }
77
+
78
+ .rdrPprevButton {}
79
+
80
+ .rdrNextButton {}
81
+
82
+ .rdrMonths{
83
+ display: flex;
84
+ }
85
+
86
+ .rdrMonthsVertical{
87
+ flex-direction: column;
88
+ }
89
+
90
+ .rdrMonthsHorizontal > div > div > div{
91
+ display: flex;
92
+ flex-direction: row;
93
+ }
94
+
95
+ .rdrMonth{
96
+ width: 27.667em;
97
+ }
98
+
99
+ .rdrWeekDays{
100
+ display: flex;
101
+ }
102
+
103
+ .rdrWeekDay {
104
+ flex-basis: calc(100% / 7);
105
+ box-sizing: inherit;
106
+ text-align: center;
107
+ }
108
+
109
+ .rdrDays{
110
+ display: flex;
111
+ flex-wrap: wrap;
112
+ }
113
+
114
+ .rdrDateDisplayWrapper{}
115
+
116
+ .rdrMonthName{}
117
+
118
+ .rdrInfiniteMonths{
119
+ overflow: auto;
120
+ }
121
+
122
+ .rdrDateRangeWrapper{
123
+ -webkit-user-select: none;
124
+ -moz-user-select: none;
125
+ -ms-user-select: none;
126
+ user-select: none;
127
+ }
128
+
129
+ .rdrDateInput {
130
+ position: relative;
131
+ }
132
+
133
+ .rdrDateInput input {
134
+ outline: none;
135
+ }
136
+
137
+ .rdrDateInput .rdrWarning {
138
+ position: absolute;
139
+ font-size: 1.6em;
140
+ line-height: 1.6em;
141
+ top: 0;
142
+ right: .25em;
143
+ color: #FF0000;
144
+ }
145
+
146
+ .rdrDay {
147
+ box-sizing: inherit;
148
+ width: calc(100% / 7);
149
+ position: relative;
150
+ font: inherit;
151
+ cursor: pointer;
152
+ }
153
+
154
+ .rdrDayNumber {
155
+ display: block;
156
+ position: relative;
157
+ }
158
+
159
+ .rdrDayNumber span{
160
+ color: #1d2429;
161
+ }
162
+
163
+ .rdrDayDisabled {
164
+ cursor: not-allowed;
165
+ }
166
+
167
+ @supports (-ms-ime-align: auto) {
168
+ .rdrDay {
169
+ flex-basis: 14.285% !important;
170
+ }
171
+ }
172
+
173
+ .rdrSelected, .rdrInRange, .rdrStartEdge, .rdrEndEdge{
174
+ pointer-events: none;
175
+ }
176
+
177
+ .rdrInRange{}
178
+
179
+ .rdrDayStartPreview, .rdrDayInPreview, .rdrDayEndPreview{
180
+ pointer-events: none;
181
+ }
182
+
183
+ .rdrDayHovered{}
184
+
185
+ .rdrDayActive{}
186
+
187
+ .rdrDateRangePickerWrapper{
188
+ display: inline-flex;
189
+ -webkit-user-select: none;
190
+ -moz-user-select: none;
191
+ -ms-user-select: none;
192
+ user-select: none;
193
+ }
194
+
195
+ .rdrDefinedRangesWrapper{}
196
+
197
+ .rdrStaticRanges{
198
+ display: flex;
199
+ flex-direction: column;
200
+ }
201
+
202
+ .rdrStaticRange{
203
+ font-size: inherit;
204
+ }
205
+
206
+ .rdrStaticRangeLabel{}
207
+
208
+ .rdrInputRanges{}
209
+
210
+ .rdrInputRange{
211
+ display: flex;
212
+ }
213
+
214
+ .rdrInputRangeInput{}
215
+
216
+
217
+ .rdrCalendarWrapper{
218
+ color: #000000;
219
+ font-size: 12px;
220
+ }
221
+
222
+ .rdrDateDisplayWrapper{
223
+ background-color: rgb(239, 242, 247);
224
+ }
225
+
226
+ .rdrDateDisplay{
227
+ margin: 0.833em;
228
+ }
229
+
230
+ .rdrDateDisplayItem{
231
+ border-radius: 4px;
232
+ background-color: rgb(255, 255, 255);
233
+ box-shadow: 0 1px 2px 0 rgba(35, 57, 66, 0.21);
234
+ border: 1px solid transparent;
235
+ }
236
+
237
+ .rdrDateDisplayItem input{
238
+ cursor: pointer;
239
+ height: 2.5em;
240
+ line-height: 2.5em;
241
+ border: 0px;
242
+ background: transparent;
243
+ width: 100%;
244
+ color: #849095;
245
+ }
246
+
247
+ .rdrDateDisplayItemActive{
248
+ border-color: currentColor;
249
+ }
250
+
251
+ .rdrDateDisplayItemActive input{
252
+ color: #7d888d
253
+ }
254
+
255
+ .rdrMonthAndYearWrapper {
256
+ align-items: center;
257
+ height: 60px;
258
+ padding-top: 10px;
259
+ }
260
+
261
+ .rdrMonthAndYearPickers{
262
+ font-weight: 600;
263
+ }
264
+
265
+ .rdrMonthAndYearPickers select{
266
+ -moz-appearance: none;
267
+ appearance: none;
268
+ -webkit-appearance: none;
269
+ border: 0;
270
+ background: transparent;
271
+ padding: 10px 30px 10px 10px;
272
+ border-radius: 4px;
273
+ outline: 0;
274
+ color: #3e484f;
275
+ background: url("data:image/svg+xml;utf8,<svg width='9px' height='6px' viewBox='0 0 9 6' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Artboard' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' transform='translate(-636.000000, -171.000000)' fill-opacity='0.368716033'><g id='input' transform='translate(172.000000, 37.000000)' fill='%230E242F' fill-rule='nonzero'><g id='Group-9' transform='translate(323.000000, 127.000000)'><path d='M142.280245,7.23952813 C141.987305,6.92353472 141.512432,6.92361662 141.219585,7.23971106 C140.926739,7.5558055 140.926815,8.06821394 141.219755,8.38420735 L145.498801,13 L149.780245,8.38162071 C150.073185,8.0656273 150.073261,7.55321886 149.780415,7.23712442 C149.487568,6.92102998 149.012695,6.92094808 148.719755,7.23694149 L145.498801,10.7113732 L142.280245,7.23952813 Z' id='arrow'></path></g></g></g></svg>") no-repeat;
276
+ background-position: right 8px center;
277
+ cursor: pointer;
278
+ text-align: center
279
+ }
280
+
281
+ .rdrMonthAndYearPickers select:hover{
282
+ background-color: rgba(0,0,0,0.07);
283
+ }
284
+
285
+ .rdrMonthPicker, .rdrYearPicker{
286
+ margin: 0 5px
287
+ }
288
+
289
+ .rdrNextPrevButton {
290
+ display: block;
291
+ width: 24px;
292
+ height: 24px;
293
+ margin: 0 0.833em;
294
+ padding: 0;
295
+ border: 0;
296
+ border-radius: 5px;
297
+ background: #EFF2F7
298
+ }
299
+
300
+ .rdrNextPrevButton:hover{
301
+ background: #E1E7F0;
302
+ }
303
+
304
+ .rdrNextPrevButton i {
305
+ display: block;
306
+ width: 0;
307
+ height: 0;
308
+ padding: 0;
309
+ text-align: center;
310
+ border-style: solid;
311
+ margin: auto;
312
+ transform: translate(-3px, 0px);
313
+ }
314
+
315
+ .rdrPprevButton i {
316
+ border-width: 4px 6px 4px 4px;
317
+ border-color: transparent rgb(52, 73, 94) transparent transparent;
318
+ transform: translate(-3px, 0px);
319
+ }
320
+
321
+ .rdrNextButton i {
322
+ margin: 0 0 0 7px;
323
+ border-width: 4px 4px 4px 6px;
324
+ border-color: transparent transparent transparent rgb(52, 73, 94);
325
+ transform: translate(3px, 0px);
326
+ }
327
+
328
+ .rdrWeekDays {
329
+ padding: 0 0.833em;
330
+ }
331
+
332
+ .rdrMonth{
333
+ padding: 0 0.833em 1.666em 0.833em;
334
+ }
335
+
336
+ .rdrMonth .rdrWeekDays {
337
+ padding: 0;
338
+ }
339
+
340
+ .rdrMonths.rdrMonthsVertical .rdrMonth:first-child .rdrMonthName{
341
+ display: none;
342
+ }
343
+
344
+ .rdrWeekDay {
345
+ font-weight: 400;
346
+ line-height: 2.667em;
347
+ color: rgb(132, 144, 149);
348
+ }
349
+
350
+ .rdrDay {
351
+ background: transparent;
352
+ -webkit-user-select: none;
353
+ -moz-user-select: none;
354
+ -ms-user-select: none;
355
+ user-select: none;
356
+ border: 0;
357
+ padding: 0;
358
+ line-height: 3.000em;
359
+ height: 3.000em;
360
+ text-align: center;
361
+ color: #1d2429
362
+ }
363
+
364
+ .rdrDay:focus {
365
+ outline: 0;
366
+ }
367
+
368
+ .rdrDayNumber {
369
+ outline: 0;
370
+ font-weight: 300;
371
+ position: absolute;
372
+ left: 0;
373
+ right: 0;
374
+ top: 0;
375
+ bottom: 0;
376
+ top: 5px;
377
+ bottom: 5px;
378
+ display: flex;
379
+ align-items: center;
380
+ justify-content: center;
381
+ }
382
+
383
+ .rdrDayToday .rdrDayNumber span{
384
+ font-weight: 500
385
+ }
386
+
387
+ .rdrDayToday .rdrDayNumber span:after{
388
+ content: '';
389
+ position: absolute;
390
+ bottom: 4px;
391
+ left: 50%;
392
+ transform: translate(-50%, 0);
393
+ width: 18px;
394
+ height: 2px;
395
+ border-radius: 2px;
396
+ background: #3d91ff;
397
+ }
398
+
399
+ .rdrDayToday:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span:after,.rdrDayToday:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span:after,.rdrDayToday:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span:after,.rdrDayToday:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span:after{
400
+ background: #fff;
401
+ }
402
+
403
+ .rdrDay:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span,.rdrDay:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span,.rdrDay:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span,.rdrDay:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span{
404
+ color: rgba(255, 255, 255, 0.85);
405
+ }
406
+
407
+ .rdrSelected, .rdrInRange, .rdrStartEdge, .rdrEndEdge{
408
+ background: currentColor;
409
+ position: absolute;
410
+ top: 5px;
411
+ left: 0;
412
+ right: 0;
413
+ bottom: 5px;
414
+ }
415
+
416
+ .rdrSelected{
417
+ left: 2px;
418
+ right: 2px;
419
+ }
420
+
421
+ .rdrInRange{}
422
+
423
+ .rdrStartEdge{
424
+ border-top-left-radius: 1.042em;
425
+ border-bottom-left-radius: 1.042em;
426
+ left: 2px;
427
+ }
428
+
429
+ .rdrEndEdge{
430
+ border-top-right-radius: 1.042em;
431
+ border-bottom-right-radius: 1.042em;
432
+ right: 2px;
433
+ }
434
+
435
+ .rdrSelected{
436
+ border-radius: 1.042em;
437
+ }
438
+
439
+ .rdrDayStartOfMonth .rdrInRange, .rdrDayStartOfMonth .rdrEndEdge, .rdrDayStartOfWeek .rdrInRange, .rdrDayStartOfWeek .rdrEndEdge{
440
+ border-top-left-radius: 1.042em;
441
+ border-bottom-left-radius: 1.042em;
442
+ left: 2px;
443
+ }
444
+
445
+ .rdrDayEndOfMonth .rdrInRange, .rdrDayEndOfMonth .rdrStartEdge, .rdrDayEndOfWeek .rdrInRange, .rdrDayEndOfWeek .rdrStartEdge{
446
+ border-top-right-radius: 1.042em;
447
+ border-bottom-right-radius: 1.042em;
448
+ right: 2px;
449
+ }
450
+
451
+ .rdrDayStartOfMonth .rdrDayInPreview, .rdrDayStartOfMonth .rdrDayEndPreview, .rdrDayStartOfWeek .rdrDayInPreview, .rdrDayStartOfWeek .rdrDayEndPreview{
452
+ border-top-left-radius: 1.333em;
453
+ border-bottom-left-radius: 1.333em;
454
+ border-left-width: 1px;
455
+ left: 0px;
456
+ }
457
+
458
+ .rdrDayEndOfMonth .rdrDayInPreview, .rdrDayEndOfMonth .rdrDayStartPreview, .rdrDayEndOfWeek .rdrDayInPreview, .rdrDayEndOfWeek .rdrDayStartPreview{
459
+ border-top-right-radius: 1.333em;
460
+ border-bottom-right-radius: 1.333em;
461
+ border-right-width: 1px;
462
+ right: 0px;
463
+ }
464
+
465
+ .rdrDayStartPreview, .rdrDayInPreview, .rdrDayEndPreview{
466
+ background: rgba(255, 255, 255, 0.09);
467
+ position: absolute;
468
+ top: 3px;
469
+ left: 0px;
470
+ right: 0px;
471
+ bottom: 3px;
472
+ pointer-events: none;
473
+ border: 0px solid currentColor;
474
+ z-index: 1;
475
+ }
476
+
477
+ .rdrDayStartPreview{
478
+ border-top-width: 1px;
479
+ border-left-width: 1px;
480
+ border-bottom-width: 1px;
481
+ border-top-left-radius: 1.333em;
482
+ border-bottom-left-radius: 1.333em;
483
+ left: 0px;
484
+ }
485
+
486
+ .rdrDayInPreview{
487
+ border-top-width: 1px;
488
+ border-bottom-width: 1px;
489
+ }
490
+
491
+ .rdrDayEndPreview{
492
+ border-top-width: 1px;
493
+ border-right-width: 1px;
494
+ border-bottom-width: 1px;
495
+ border-top-right-radius: 1.333em;
496
+ border-bottom-right-radius: 1.333em;
497
+ right: 2px;
498
+ right: 0px;
499
+ }
500
+
501
+ .rdrDefinedRangesWrapper{
502
+ font-size: 12px;
503
+ width: 226px;
504
+ border-right: solid 1px #eff2f7;
505
+ background: #fff;
506
+ }
507
+
508
+ .rdrDefinedRangesWrapper .rdrStaticRangeSelected{
509
+ color: currentColor;
510
+ font-weight: 600;
511
+ }
512
+
513
+ .rdrStaticRange{
514
+ border: 0;
515
+ cursor: pointer;
516
+ display: block;
517
+ outline: 0;
518
+ border-bottom: 1px solid #eff2f7;
519
+ padding: 0;
520
+ background: #fff
521
+ }
522
+
523
+ .rdrStaticRange:hover .rdrStaticRangeLabel,.rdrStaticRange:focus .rdrStaticRangeLabel{
524
+ background: #eff2f7;
525
+ }
526
+
527
+ .rdrStaticRangeLabel{
528
+ display: block;
529
+ outline: 0;
530
+ line-height: 18px;
531
+ padding: 10px 20px;
532
+ text-align: left;
533
+ }
534
+
535
+ .rdrInputRanges{
536
+ padding: 10px 0;
537
+ }
538
+
539
+ .rdrInputRange{
540
+ align-items: center;
541
+ padding: 5px 20px;
542
+ }
543
+
544
+ .rdrInputRangeInput{
545
+ width: 30px;
546
+ height: 30px;
547
+ line-height: 30px;
548
+ border-radius: 4px;
549
+ text-align: center;
550
+ border: solid 1px rgb(222, 231, 235);
551
+ margin-right: 10px;
552
+ color: rgb(108, 118, 122)
553
+ }
554
+
555
+ .rdrInputRangeInput:focus, .rdrInputRangeInput:hover{
556
+ border-color: rgb(180, 191, 196);
557
+ outline: 0;
558
+ color: #333;
559
+ }
560
+
561
+ .rdrCalendarWrapper:not(.rdrDateRangeWrapper) .rdrDayHovered .rdrDayNumber:after{
562
+ content: '';
563
+ border: 1px solid currentColor;
564
+ border-radius: 1.333em;
565
+ position: absolute;
566
+ top: -2px;
567
+ bottom: -2px;
568
+ left: 0px;
569
+ right: 0px;
570
+ background: transparent;
571
+ }
572
+
573
+ .rdrDayPassive{
574
+ pointer-events: none;
575
+ }
576
+
577
+ .rdrDayPassive .rdrDayNumber span{
578
+ color: #d5dce0;
579
+ }
580
+
581
+ .rdrDayPassive .rdrInRange, .rdrDayPassive .rdrStartEdge, .rdrDayPassive .rdrEndEdge, .rdrDayPassive .rdrSelected, .rdrDayPassive .rdrDayStartPreview, .rdrDayPassive .rdrDayInPreview, .rdrDayPassive .rdrDayEndPreview{
582
+ display: none;
583
+ }
584
+
585
+ .rdrDayDisabled {
586
+ background-color: rgb(248, 248, 248);
587
+ }
588
+
589
+ .rdrDayDisabled .rdrDayNumber span{
590
+ color: #aeb9bf;
591
+ }
592
+
593
+ .rdrDayDisabled .rdrInRange, .rdrDayDisabled .rdrStartEdge, .rdrDayDisabled .rdrEndEdge, .rdrDayDisabled .rdrSelected, .rdrDayDisabled .rdrDayStartPreview, .rdrDayDisabled .rdrDayInPreview, .rdrDayDisabled .rdrDayEndPreview{
594
+ filter: grayscale(100%) opacity(60%);
595
+ }
596
+
597
+ .rdrMonthName{
598
+ text-align: left;
599
+ font-weight: 600;
600
+ color: #849095;
601
+ padding: 0.833em;
602
+ }
package/styles/tokens.css CHANGED
@@ -270,6 +270,7 @@
270
270
  --font-family-sans: Exo, Arial, sans-serif;
271
271
  --font-family-mono: 'Roboto Mono', 'Courier New', monospace;
272
272
 
273
+ --font-size-mini: 12px;
273
274
  --font-size-base: 14px;
274
275
  --font-size-xs: 1.2rem;
275
276
  --font-size-sm: 1.4rem;
@@ -363,7 +364,7 @@
363
364
  --input-max-width: 400px;
364
365
  --input-background: #fff;
365
366
  --input-border-radius: 30px;
366
- --input-font-size: 1.4rem;
367
+ --input-font-size: 1.2rem;
367
368
 
368
369
  --paragraph-font-size-xs: 14px;
369
370
  --paragraph-font-size-sm: 1.2rem;
package/tokens/index.js CHANGED
@@ -321,6 +321,7 @@ const choices = {
321
321
  mono: ["'Roboto Mono'", "'Courier New'", 'monospace'],
322
322
  },
323
323
  fontSize: {
324
+ mini: '12px',
324
325
  base: '14px',
325
326
  xs: '1.2rem',
326
327
  sm: '1.4rem',
@@ -431,7 +432,7 @@ const decisions = {
431
432
  maxWidth: '400px',
432
433
  background: choices.color.base.white,
433
434
  borderRadius: choices.borderRadius.lg,
434
- fontSize: choices.fontSize.sm,
435
+ fontSize: choices.fontSize.xs,
435
436
  },
436
437
  paragraph: {
437
438
  fontSize: {