@lolmath/ui 3.1.0 → 3.1.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/dist/index.cjs CHANGED
@@ -213,7 +213,7 @@ var tv = (0, import_tailwind_variants.createTV)({
213
213
  // src/components/button.tsx
214
214
  var import_jsx_runtime = require("react/jsx-runtime");
215
215
  var buttonBorder = tv({
216
- base: "bg-gradient-to-t outline-none transition-colors duration-200",
216
+ base: "bg-gradient-to-t p-0.5 outline-none transition-colors duration-200",
217
217
  variants: {
218
218
  preset: {
219
219
  primary: "",
@@ -241,6 +241,9 @@ var buttonBorder = tv({
241
241
  },
242
242
  isFocusVisible: {
243
243
  true: ""
244
+ },
245
+ thin: {
246
+ true: "p-px"
244
247
  }
245
248
  },
246
249
  compoundVariants: [
@@ -290,7 +293,7 @@ var buttonBorder = tv({
290
293
  ]
291
294
  });
292
295
  var button = tv({
293
- base: "text-lol-gold-300 font-beaufort block font-bold uppercase tracking-wide transition-colors duration-200",
296
+ base: "text-lol-gold-300 font-beaufort block h-full w-full font-bold uppercase tracking-wide transition-colors duration-200",
294
297
  variants: {
295
298
  preset: {
296
299
  primary: "from-lol-gold-600 via-lol-gold-600 to-lol-gold-700 bg-gradient-to-b",
@@ -318,9 +321,6 @@ var button = tv({
318
321
  round: "rounded-full",
319
322
  square: "",
320
323
  normal: ""
321
- },
322
- thin: {
323
- true: ""
324
324
  }
325
325
  },
326
326
  compoundVariants: [
@@ -332,16 +332,6 @@ var button = tv({
332
332
  preset: ["primary", "secondary", "hextech"],
333
333
  class: "bg-lol-grey-300"
334
334
  },
335
- {
336
- preset: ["primary", "secondary", "hextech", "dimmed"],
337
- thin: true,
338
- class: "m-px"
339
- },
340
- {
341
- preset: ["primary", "secondary", "hextech", "dimmed"],
342
- thin: false,
343
- class: "m-0.5"
344
- },
345
335
  {
346
336
  preset: ["hextech"],
347
337
  isHovered: true,
@@ -398,6 +388,7 @@ function _Button({
398
388
  className: resolveClassName(className, values),
399
389
  preset,
400
390
  shape,
391
+ thin,
401
392
  ...values
402
393
  });
403
394
  },
@@ -409,7 +400,6 @@ function _Button({
409
400
  className: resolveClassName(innerClassName, values),
410
401
  preset,
411
402
  shape,
412
- thin,
413
403
  ...values
414
404
  }),
415
405
  children: typeof children === "function" ? children(values) : children
@@ -1724,7 +1714,7 @@ function Label2({
1724
1714
  var import_react_aria_components17 = require("react-aria-components");
1725
1715
  var import_jsx_runtime18 = require("react/jsx-runtime");
1726
1716
  var toggleButtonBorder = tv({
1727
- base: "bg-gradient-to-t outline-none transition-colors duration-200",
1717
+ base: "bg-gradient-to-t p-0.5 outline-none transition-colors duration-200",
1728
1718
  variants: {
1729
1719
  preset: {
1730
1720
  gold: "",
@@ -1753,6 +1743,9 @@ var toggleButtonBorder = tv({
1753
1743
  },
1754
1744
  isSelected: {
1755
1745
  true: ""
1746
+ },
1747
+ thin: {
1748
+ true: "p-px"
1756
1749
  }
1757
1750
  },
1758
1751
  compoundVariants: [
@@ -1839,9 +1832,6 @@ var toggleButton = tv({
1839
1832
  round: "rounded-full",
1840
1833
  square: "",
1841
1834
  normal: ""
1842
- },
1843
- thin: {
1844
- true: ""
1845
1835
  }
1846
1836
  },
1847
1837
  compoundVariants: [
@@ -1849,16 +1839,6 @@ var toggleButton = tv({
1849
1839
  preset: ["gold", "hextech", "dimmed"],
1850
1840
  class: "px-4 py-2"
1851
1841
  },
1852
- {
1853
- preset: ["gold", "hextech", "dimmed"],
1854
- thin: true,
1855
- class: "m-px"
1856
- },
1857
- {
1858
- preset: ["gold", "hextech", "dimmed"],
1859
- thin: false,
1860
- class: "m-0.5"
1861
- },
1862
1842
  {
1863
1843
  preset: ["hextech"],
1864
1844
  isHovered: true,
@@ -1897,6 +1877,7 @@ function ToggleButton({
1897
1877
  ...values,
1898
1878
  preset,
1899
1879
  shape,
1880
+ thin,
1900
1881
  className: resolveClassName(className, values)
1901
1882
  }),
1902
1883
  children: (values) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
@@ -1907,7 +1888,6 @@ function ToggleButton({
1907
1888
  ...values,
1908
1889
  preset,
1909
1890
  shape,
1910
- thin,
1911
1891
  className: resolveClassName(innerProps.className, values)
1912
1892
  }),
1913
1893
  style: {