@colisweb/rescript-toolkit 4.21.0 → 4.21.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": "4.21.0",
3
+ "version": "4.21.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -27,10 +27,10 @@ let make = (~worker: Msw.worker, ~workerOptions: Msw.startOptions={}, ~className
27
27
  <React.Suspense fallback={<Toolkit__Ui_SpinnerFullScreen />}>
28
28
  <label
29
29
  className={cx([
30
- "fixed top-2 left-1/2 flex flex-row gap-2 items-center justify-center",
30
+ "fixed top-2 left-1/2 flex flex-row gap-2 items-center justify-center z-50",
31
31
  mockEnabled
32
32
  ? "bg-success-100 border-success-400 text-success-700"
33
- : "bg-neutral-100 p-1 border rounded-lg z-50 cursor-pointer",
33
+ : "bg-neutral-100 p-1 border rounded-lg cursor-pointer",
34
34
  className,
35
35
  ])}>
36
36
  <span> {"Mock"->React.string} </span>
@@ -44,6 +44,7 @@ let make = (
44
44
  ~startOfWeek: option<Js.Date.t>=?,
45
45
  ~selectedDay: option<Js.Date.t>=?,
46
46
  ~className="",
47
+ ~containerClassName="",
47
48
  ~counters: option<dayCounter>=?,
48
49
  ~periodLength=7,
49
50
  ~children,
@@ -119,8 +120,8 @@ let make = (
119
120
  )
120
121
  let intl = useIntl()
121
122
 
122
- <div className>
123
- <div className="border-neutral-300 flex justify-center items-center py-3">
123
+ <div className={containerClassName}>
124
+ <div className={cx(["border-neutral-300 flex justify-center items-center py-3", className])}>
124
125
  <Toolkit__Ui_IconButton
125
126
  size=#xs
126
127
  variant=#outline