@colisweb/rescript-toolkit 4.14.0 → 4.14.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
|
@@ -110,14 +110,19 @@ let make = (
|
|
|
110
110
|
label={switch selectedOption {
|
|
111
111
|
| None =>
|
|
112
112
|
<p className="flex flex-row gap-2 w-full items-center relative">
|
|
113
|
-
<span
|
|
113
|
+
<span> {placeholder} </span>
|
|
114
114
|
<span className="absolute inset-y-0 right-0 flex items-center">
|
|
115
115
|
<ReactIcons.FaAngleDown />
|
|
116
116
|
</span>
|
|
117
117
|
</p>
|
|
118
|
-
| Some(
|
|
119
|
-
<div className="table table-fixed w-full" title={label}>
|
|
120
|
-
<span className="table-cell truncate text-left">
|
|
118
|
+
| Some(selectedOption) =>
|
|
119
|
+
<div className="table table-fixed w-full" title={selectedOption.label}>
|
|
120
|
+
<span className="table-cell truncate text-left">
|
|
121
|
+
{selectedOption.itemLabel->Option.getWithDefault(selectedOption.label->React.string)}
|
|
122
|
+
</span>
|
|
123
|
+
<span className="absolute inset-y-0 right-2 flex items-center">
|
|
124
|
+
<ReactIcons.FaAngleDown />
|
|
125
|
+
</span>
|
|
121
126
|
</div>
|
|
122
127
|
}}>
|
|
123
128
|
<div className="py-2 pl-2 pr-1 max-h-[300px] overflow-y-scroll">
|
|
@@ -6117,6 +6117,10 @@ module FaExternalLinkAlt = {
|
|
|
6117
6117
|
external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
|
|
6118
6118
|
"FaExternalLinkAlt"
|
|
6119
6119
|
}
|
|
6120
|
+
module FaPlay = {
|
|
6121
|
+
@module("react-icons/fa") @react.component
|
|
6122
|
+
external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element = "FaPlay"
|
|
6123
|
+
}
|
|
6120
6124
|
|
|
6121
6125
|
module BiTestTube = {
|
|
6122
6126
|
@module("react-icons/bi") @react.component
|