@bubo-squared/ui-framework 0.1.81 → 0.1.91

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
@@ -130,8 +130,8 @@ var buttonTextVariants = (0, import_class_variance_authority.cva)("flex text-cen
130
130
  size: {
131
131
  sm: ["text-xl", "leading-7"],
132
132
  md: ["text-2xl", "leading-8"],
133
- lg: ["h-10", "text-3xl", "leading-9"],
134
- xl: ["h-11", "text-4xl", "leading-10"]
133
+ lg: ["text-3xl", "leading-9"],
134
+ xl: ["text-4xl", "leading-11"]
135
135
  }
136
136
  }
137
137
  });
@@ -601,7 +601,7 @@ var React8 = __toESM(require("react"), 1);
601
601
  var import_class_variance_authority8 = require("class-variance-authority");
602
602
  var import_jsx_runtime10 = require("react/jsx-runtime");
603
603
  var badgeDigitVariants = (0, import_class_variance_authority8.cva)(
604
- "inline-flex items-center justify-center leading-none whitespace-nowrap text-(--text-primary-inverse)",
604
+ "inline-flex items-center justify-center leading-none whitespace-nowrap text-(--color-b-white)",
605
605
  {
606
606
  variants: {
607
607
  size: {
@@ -1972,7 +1972,7 @@ var FlagComponent = ({ country, countryName }) => {
1972
1972
  var React27 = __toESM(require("react"), 1);
1973
1973
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
1974
1974
  var import_jsx_runtime29 = require("react/jsx-runtime");
1975
- var wrapperBase = "flex flex-col gap-2 items-start min-w-[343px]";
1975
+ var wrapperBase = "flex flex-col gap-2 items-start";
1976
1976
  var RadioGroup = ({
1977
1977
  label,
1978
1978
  hint,
@@ -2045,7 +2045,7 @@ var RadioGroup = ({
2045
2045
  "group-data-[state=unchecked]:group-hover:border-(--border-secondary-hover)",
2046
2046
  // 4: enabled, checked, hovered, unfocused
2047
2047
  "group-data-[state=checked]:group-hover:border-(--border-brand-hover)",
2048
- "group-data-[state=checked]:group-hover:shadow-[0_0_0_var(--focus-ring-spread)_var(--color-b-100)]",
2048
+ "group-data-[state=checked]:group-hover:shadow-[0_0_0_var(--focus-ring-spread)_var(--focus-secondary)]",
2049
2049
  // 5: enabled, unchecked, focused (override 1/3)
2050
2050
  "group-data-[state=unchecked]:group-focus-visible:border-(--border-secondary-hover)",
2051
2051
  // 6: enabled, checked, focused (override 2/4)
@@ -2557,11 +2557,12 @@ Slider.displayName = "Slider";
2557
2557
  var React30 = __toESM(require("react"), 1);
2558
2558
  var import_icons10 = require("@bubo-squared/icons");
2559
2559
  var import_jsx_runtime32 = require("react/jsx-runtime");
2560
- var wrapperBase3 = "flex flex-col gap-2 items-start min-w-[343px]";
2560
+ var wrapperBase3 = "flex flex-col gap-2 items-start w-full";
2561
2561
  var TextArea = (props) => {
2562
2562
  const {
2563
2563
  label,
2564
2564
  hint,
2565
+ hideHint,
2565
2566
  status = "default",
2566
2567
  type = "responsive",
2567
2568
  maxLength,
@@ -2726,7 +2727,7 @@ var TextArea = (props) => {
2726
2727
  ]
2727
2728
  }
2728
2729
  ) }),
2729
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2730
+ hint && !hideHint && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2730
2731
  "p",
2731
2732
  {
2732
2733
  id: hint ? hintId : void 0,