@colisweb/rescript-toolkit 2.59.0 → 2.59.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "2.59.0",
3
+ "version": "2.59.2",
4
4
  "scripts": {
5
5
  "clean": "rescript clean",
6
6
  "build": "rescript build -with-deps",
@@ -120,7 +120,7 @@ module.exports = {
120
120
  400: "#FFC161",
121
121
  500: "#FFAD2D",
122
122
  600: "#FA9800",
123
- 700: "#C77900",
123
+ 700: "#DD8803",
124
124
  },
125
125
  danger: {
126
126
  50: "#FFF3F0",
@@ -348,8 +348,17 @@ module FormattedTimeParts = {
348
348
 
349
349
  module FormattedTimeWithSeparator = {
350
350
  @react.component
351
- let make = (~value: Js.Date.t, ~separator=?, ~minute=?, ~second=?, ~timeZone=?, ~hour12=?) => {
352
- <FormattedTimeParts value ?minute ?second ?timeZone ?hour12>
351
+ let make = (
352
+ ~value: Js.Date.t,
353
+ ~separator=?,
354
+ ~month=?,
355
+ ~hour=?,
356
+ ~minute=?,
357
+ ~second=?,
358
+ ~timeZone=?,
359
+ ~hour12=?,
360
+ ) => {
361
+ <FormattedTimeParts value ?month ?hour ?minute ?second ?timeZone ?hour12>
353
362
  {(~formattedTimeParts) => {
354
363
  let (hours, sep, minutes) = formattedTimeParts->Obj.magic
355
364