@colisweb/rescript-toolkit 2.56.2 → 2.57.0

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.
package/locale/fr.json CHANGED
@@ -94,6 +94,11 @@
94
94
  "defaultMessage": "Doit être un entier positif ou un nombre a virgule",
95
95
  "message": "Doit être un entier positif ou un nombre a virgule"
96
96
  },
97
+ {
98
+ "id": "_e5c29cb8",
99
+ "defaultMessage": "(Optionnel)",
100
+ "message": "(Optionnel)"
101
+ },
97
102
  {
98
103
  "id": "_e6b5a42a",
99
104
  "defaultMessage": "Nbr colis",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "2.56.2",
3
+ "version": "2.57.0",
4
4
  "scripts": {
5
5
  "clean": "rescript clean",
6
6
  "build": "rescript build -with-deps",
@@ -27,7 +27,7 @@
27
27
  "@colisweb/bs-react-intl-extractor-bin": "0.12.2",
28
28
  "@colisweb/react-day-picker": "7.4.16",
29
29
  "@colisweb/restorative": "0.5.1",
30
- "@datadog/browser-rum": "4.21.1",
30
+ "@datadog/browser-rum": "4.26.0",
31
31
  "@reach/accordion": "0.17.0",
32
32
  "@reach/alert-dialog": "0.17.0",
33
33
  "@reach/auto-id": "0.17.0",
@@ -43,12 +43,12 @@
43
43
  "@reach/visually-hidden": "0.17.0",
44
44
  "@rescript/react": "0.10.3",
45
45
  "@tailwindcss/line-clamp": "0.4.2",
46
- "autoprefixer": "10.4.12",
46
+ "autoprefixer": "10.4.13",
47
47
  "axios": "0.24.0",
48
48
  "bs-axios": "0.0.43",
49
49
  "case": "1.6.3",
50
50
  "click-outside-hook": "1.1.0",
51
- "copy-to-clipboard": "3.3.2",
51
+ "copy-to-clipboard": "3.3.3",
52
52
  "date-fns": "2.29.3",
53
53
  "decco": "1.6.0",
54
54
  "dedent": "0.7.0",
@@ -56,19 +56,19 @@
56
56
  "lenses-ppx": "6.1.10",
57
57
  "list-selectors": "2.0.1",
58
58
  "lodash": "4.17.21",
59
- "postcss": "8.4.17",
59
+ "postcss": "8.4.19",
60
60
  "postcss-loader": "4.2.0",
61
61
  "postcss-preset-env": "6.7.0",
62
62
  "prismjs": "1.29.0",
63
63
  "react": "18.2.0",
64
- "react-big-calendar": "1.5.0",
64
+ "react-big-calendar": "1.5.2",
65
65
  "react-datepicker": "3.8.0",
66
66
  "react-dom": "18.2.0",
67
67
  "react-error-boundary": "3.1.4",
68
68
  "react-helmet": "6.1.0",
69
- "react-icons": "4.4.0",
70
- "react-intl": "6.1.2",
71
- "react-select": "5.4.0",
69
+ "react-icons": "4.7.1",
70
+ "react-intl": "6.2.5",
71
+ "react-select": "5.7.0",
72
72
  "react-table": "7.8.0",
73
73
  "react-use": "17.4.0",
74
74
  "reason-promise": "1.1.5",
@@ -82,7 +82,7 @@
82
82
  "tailwindcss": "3.2.4"
83
83
  },
84
84
  "devDependencies": {
85
- "@babel/core": "7.18.6",
85
+ "@babel/core": "7.20.5",
86
86
  "@storybook/addon-actions": "6.1.21",
87
87
  "@storybook/addon-essentials": "6.1.21",
88
88
  "@storybook/addon-knobs": "6.1.21",
@@ -91,11 +91,11 @@
91
91
  "@storybook/react": "6.1.21",
92
92
  "@storybook/theming": "6.1.21",
93
93
  "babel-loader": "8.2.5",
94
- "highlight.js": "11.3.1",
95
- "husky": "8.0.1",
94
+ "highlight.js": "11.7.0",
95
+ "husky": "8.0.2",
96
96
  "is-ci": "3.0.1",
97
97
  "raw-loader": "4.0.2",
98
- "react-is": "17.0.2",
99
- "sass": "1.45.0"
98
+ "react-is": "18.2.0",
99
+ "sass": "1.56.1"
100
100
  }
101
101
  }
package/src/ui/styles.css CHANGED
@@ -111,7 +111,7 @@ body,
111
111
  background-color: #1bb0c4;
112
112
  }
113
113
 
114
- .searchListBox [aria-selected=true] {
114
+ .searchListBox [aria-selected="true"] {
115
115
  background-color: #1bb0c4 !important;
116
116
  }
117
117
 
@@ -140,12 +140,16 @@ textarea:not([disabled]):not([tabindex="-1"]):focus,
140
140
  button:not([disabled]):not([tabindex="-1"]):focus,
141
141
  iframe:not([tabindex="-1"]):focus,
142
142
  [tabindex]:not([tabindex="-1"]):focus,
143
- [contentEditable=true]:not([tabindex="-1"]):focus,
143
+ [contentEditable="true"]:not([tabindex="-1"]):focus,
144
144
  .focus {
145
145
  outline: none !important;
146
146
  box-shadow: rgba(66, 153, 225, 0.9) 0px 0px 0px 3px;
147
147
  }
148
148
 
149
+ .react-select__control input:not([disabled]):not([tabindex="-1"]):focus {
150
+ box-shadow: none !important;
151
+ }
152
+
149
153
  .no-focus {
150
154
  outline: none !important;
151
155
  box-shadow: none !important;
@@ -159,7 +163,8 @@ iframe:not([tabindex="-1"]):focus,
159
163
  @apply bg-info-500;
160
164
  }
161
165
 
162
- .input-range .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) {
166
+ .input-range
167
+ .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) {
163
168
  background-color: #f0f8ff !important;
164
169
  color: #4a90e2;
165
170
  }
@@ -215,7 +220,8 @@ iframe:not([tabindex="-1"]):focus,
215
220
  @apply shadow-none !important;
216
221
  }
217
222
 
218
- .Selectable .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) {
223
+ .Selectable
224
+ .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) {
219
225
  background-color: #f0f8ff !important;
220
226
  color: #4a90e2;
221
227
  }
@@ -260,12 +266,13 @@ iframe:not([tabindex="-1"]):focus,
260
266
  @apply h-10 text-xl;
261
267
  }
262
268
 
263
- [data-reach-accordion-item][data-state=open] .cw-accordion-icon {
269
+ [data-reach-accordion-item][data-state="open"] .cw-accordion-icon {
264
270
  display: block;
265
271
  transform: rotate(90deg);
266
272
  }
267
273
 
268
- [data-reach-accordion-item][data-state=collapsed] .cw-accordion-collapsed-hide {
274
+ [data-reach-accordion-item][data-state="collapsed"]
275
+ .cw-accordion-collapsed-hide {
269
276
  display: none !important;
270
277
  }
271
278
 
@@ -321,7 +328,7 @@ input::-webkit-inner-spin-button {
321
328
  }
322
329
 
323
330
  /* Firefox */
324
- input[type=number] {
331
+ input[type="number"] {
325
332
  -moz-appearance: textfield;
326
333
  }
327
334
 
@@ -333,7 +340,8 @@ input[type=number] {
333
340
  .DayPicker .DayPicker-Day--selected {
334
341
  border-radius: 0 !important;
335
342
  }
336
- .DayPicker .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end) {
343
+ .DayPicker
344
+ .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end) {
337
345
  background-color: #e7edf3 !important;
338
346
  color: #15373a;
339
347
  }
@@ -352,11 +360,13 @@ input[type=number] {
352
360
  .DayPicker .DayPicker-Day--closed {
353
361
  border-radius: 0 !important;
354
362
  }
355
- .DayPicker .DayPicker-Day--closed:not(.DayPicker-Day--start):not(.DayPicker-Day--end) {
363
+ .DayPicker
364
+ .DayPicker-Day--closed:not(.DayPicker-Day--start):not(.DayPicker-Day--end) {
356
365
  background-color: #ff634b !important;
357
366
  color: #15373a;
358
367
  }
359
- .DayPicker .DayPicker-Day--closed.DayPicker-Day--start:not(.DayPicker-Day--end) {
368
+ .DayPicker
369
+ .DayPicker-Day--closed.DayPicker-Day--start:not(.DayPicker-Day--end) {
360
370
  border-top-left-radius: 50% !important;
361
371
  border-bottom-left-radius: 50% !important;
362
372
  border-top-right-radius: 0 !important;
@@ -364,7 +374,8 @@ input[type=number] {
364
374
  background-color: #ff904b !important;
365
375
  color: #15373a;
366
376
  }
367
- .DayPicker .DayPicker-Day--closed.DayPicker-Day--end:not(.DayPicker-Day--start) {
377
+ .DayPicker
378
+ .DayPicker-Day--closed.DayPicker-Day--end:not(.DayPicker-Day--start) {
368
379
  border-top-right-radius: 50% !important;
369
380
  border-bottom-right-radius: 50% !important;
370
381
  border-top-left-radius: 0 !important;
@@ -378,10 +389,10 @@ input[type=number] {
378
389
  }
379
390
 
380
391
  .cw-ButtonGroup > button {
381
- @apply whitespace-nowrap h-full px-3 md:px-4 flex items-center justify-center rounded-3xl py-3
392
+ @apply whitespace-nowrap h-full px-3 md:px-4 flex items-center justify-center rounded-3xl py-3;
382
393
  }
383
394
  .cw-ButtonGroup > button:hover {
384
- @apply bg-primary-300
395
+ @apply bg-primary-300;
385
396
  }
386
397
 
387
398
  .cw-ButtonGroup > button.selected {
@@ -390,7 +401,7 @@ input[type=number] {
390
401
  }
391
402
 
392
403
  .cw-Checkbox > input:checked + .checkmark > * {
393
- @apply opacity-100
404
+ @apply opacity-100;
394
405
  }
395
406
 
396
- /* purgecss end ignore */
407
+ /* purgecss end ignore */