@colisweb/rescript-toolkit 4.9.1 → 4.9.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.9.1",
3
+ "version": "4.9.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -18,7 +18,7 @@ type color = [
18
18
  ]
19
19
 
20
20
  let baseStyle = () =>
21
- "font-sans font-semibold rounded inline-flex items-center justify-center transition duration-150 ease-in-out relative focus:z30"
21
+ "font-sans font-semibold rounded inline-flex gap-2 items-center justify-center transition duration-150 ease-in-out relative focus:z30"
22
22
 
23
23
  let colorStyle = (~color: color, ~variant, ~disabled) =>
24
24
  switch variant {
@@ -178,7 +178,7 @@ let make = (
178
178
  {leftIcon->Option.mapWithDefault(React.null, icon => {
179
179
  let module(Icon) = icon
180
180
 
181
- <span className="mr-2">
181
+ <span>
182
182
  <Icon
183
183
  size={switch size {
184
184
  | #xs => 12
@@ -196,7 +196,7 @@ let make = (
196
196
  {rightIcon->Option.mapWithDefault(React.null, icon => {
197
197
  let module(Icon) = icon
198
198
 
199
- <span className="ml-2">
199
+ <span>
200
200
  <Icon
201
201
  size={switch size {
202
202
  | #xs => 14
@@ -208,7 +208,7 @@ let make = (
208
208
  />
209
209
  </span>
210
210
  })}
211
- {isLoading ? <Spinner size=#sm color=#current className="ml-2" /> : React.null}
211
+ {isLoading ? <Spinner size=#sm color=#current /> : React.null}
212
212
  </button>
213
213
  </Toolkit__Ui_Spread>
214
214
  }