@colisweb/rescript-toolkit 5.10.1 → 5.10.3

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.10.1",
3
+ "version": "5.10.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -55,7 +55,7 @@ module Core = {
55
55
  <div className={cx([className, "flex flex-auto w-full overflow-x-auto relative"])}>
56
56
  <Toolkit__Ui_Spread props={table.getTableProps()}>
57
57
  <table className="border-b border-gray-300 w-full h-full">
58
- <thead className="block xl:h-20">
58
+ <thead className="block">
59
59
  <tr className="flex">
60
60
  {table.headers
61
61
  ->Array.mapWithIndex((index, column) => {
@@ -20,6 +20,7 @@ let make = (
20
20
  ~className="",
21
21
  ~variant=#plain,
22
22
  ~tooltipLabel: option<React.element>=?,
23
+ ~tooltipClassName=?,
23
24
  ~children,
24
25
  ) => {
25
26
  let sizeStyle = x =>
@@ -60,7 +61,8 @@ let make = (
60
61
 
61
62
  <Toolkit__Ui_Tooltip
62
63
  canBeShowed={tooltipLabel->Option.isSome}
63
- label={tooltipLabel->Option.getWithDefault(React.null)}>
64
+ label={tooltipLabel->Option.getWithDefault(React.null)}
65
+ ?tooltipClassName>
64
66
  <div
65
67
  className={cx([
66
68
  className,
@@ -20,5 +20,6 @@ let make: (
20
20
  ~className: string=?,
21
21
  ~variant: variant=?,
22
22
  ~tooltipLabel: React.element=?,
23
+ ~tooltipClassName: string=?,
23
24
  ~children: React.element,
24
25
  ) => React.element