@colisweb/rescript-toolkit 5.47.0 → 5.47.1

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": "5.47.0",
3
+ "version": "5.47.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -3,6 +3,7 @@ module.exports = {
3
3
  extend: {
4
4
  screens: {
5
5
  print: { raw: "print" },
6
+ largeDesktop: "1900px",
6
7
  },
7
8
  inset: {
8
9
  "1/2": "50%",
@@ -23,10 +23,11 @@ let make = (
23
23
  <Dialog.Content
24
24
  side={Right}
25
25
  className={cx([
26
- "bg-white p-4 shadow-lg w-2/3 h-full relative data-[state=open]:animate-slideInLeft data-[state=close]:animate-slideOutRight",
26
+ "bg-white shadow-lg w-3/4 xl:w-2/3 2xl:w-1/2 h-full relative data-[state=open]:animate-slideInLeft data-[state=close]:animate-slideOutRight overflow-auto",
27
27
  className,
28
28
  ])}>
29
- <header className={cx(["flex items-center justify-between gap-4"])}>
29
+ <header
30
+ className={cx(["flex items-center justify-between gap-4 sticky bg-white top-0 p-4"])}>
30
31
  {title->Option.mapWithDefault(React.null, title =>
31
32
  <Dialog.Title
32
33
  className={cx([
@@ -46,7 +47,7 @@ let make = (
46
47
  <ReactIcons.MdClose size=28 />
47
48
  </button>
48
49
  </header>
49
- <div className="mt-4"> children </div>
50
+ <div className="p-4"> children </div>
50
51
  </Dialog.Content>
51
52
  </div>
52
53
  </Dialog.Portal>