@vaneui/ui 0.2.1-alpha.20250810082253.4d2c8c2 → 0.2.1-alpha.20250810102219.51053cf

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.esm.js CHANGED
@@ -4689,7 +4689,7 @@ const defaultCheckboxWrapperTheme = new ComponentTheme("span", "", {
4689
4689
  justifyCenter: true,
4690
4690
  }, CHECKBOX_CATEGORIES);
4691
4691
 
4692
- const defaultLabelTheme = new ComponentTheme("label", "cursor-pointer", {
4692
+ const defaultLabelTheme = new ComponentTheme("label", "has-[input]:cursor-pointer cursor-default", {
4693
4693
  size: {
4694
4694
  text: new SizeTheme(textSizeClasses),
4695
4695
  gap: new GapTheme({ xs: 'gap-1.5', sm: 'gap-2', md: 'gap-2.5', lg: 'gap-3', xl: 'gap-3' }),
package/dist/index.js CHANGED
@@ -4691,7 +4691,7 @@ const defaultCheckboxWrapperTheme = new ComponentTheme("span", "", {
4691
4691
  justifyCenter: true,
4692
4692
  }, CHECKBOX_CATEGORIES);
4693
4693
 
4694
- const defaultLabelTheme = new ComponentTheme("label", "cursor-pointer", {
4694
+ const defaultLabelTheme = new ComponentTheme("label", "has-[input]:cursor-pointer cursor-default", {
4695
4695
  size: {
4696
4696
  text: new SizeTheme(textSizeClasses),
4697
4697
  gap: new GapTheme({ xs: 'gap-1.5', sm: 'gap-2', md: 'gap-2.5', lg: 'gap-3', xl: 'gap-3' }),
package/dist/ui.css CHANGED
@@ -531,6 +531,9 @@
531
531
  .animate-pulse {
532
532
  animation: var(--animate-pulse);
533
533
  }
534
+ .cursor-default {
535
+ cursor: default;
536
+ }
534
537
  .cursor-pointer {
535
538
  cursor: pointer;
536
539
  }
@@ -824,6 +827,9 @@
824
827
  .border-blue-300 {
825
828
  border-color: var(--color-blue-300);
826
829
  }
830
+ .border-gray-300 {
831
+ border-color: var(--color-gray-300);
832
+ }
827
833
  .border-green-200 {
828
834
  border-color: var(--color-green-200);
829
835
  }
@@ -974,6 +980,9 @@
974
980
  .p-0 {
975
981
  padding: calc(var(--spacing) * 0);
976
982
  }
983
+ .p-2 {
984
+ padding: calc(var(--spacing) * 2);
985
+ }
977
986
  .px-0 {
978
987
  padding-inline: calc(var(--spacing) * 0);
979
988
  }
@@ -1948,6 +1957,11 @@
1948
1957
  --tw-ring-inset: inset;
1949
1958
  }
1950
1959
  }
1960
+ .has-\[input\]\:cursor-pointer {
1961
+ &:has(*:is(input)) {
1962
+ cursor: pointer;
1963
+ }
1964
+ }
1951
1965
  .max-xl\:hidden {
1952
1966
  @media (width < 80rem) {
1953
1967
  display: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaneui/ui",
3
- "version": "0.2.1-alpha.20250810082253.4d2c8c2",
3
+ "version": "0.2.1-alpha.20250810102219.51053cf",
4
4
  "description": "A simple and lightweight UI component library for React, built with Tailwind CSS.",
5
5
  "author": "",
6
6
  "license": "ISC",