@facter/ds-core 1.34.0 → 1.34.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.mjs CHANGED
@@ -32,7 +32,7 @@ function cn(...inputs) {
32
32
  return twMerge(clsx(inputs));
33
33
  }
34
34
  var buttonVariants = cva(
35
- "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
35
+ "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-70",
36
36
  {
37
37
  variants: {
38
38
  variant: {
@@ -3853,7 +3853,9 @@ function SelectDropdown({
3853
3853
  collisionPadding: 16,
3854
3854
  className: "p-0 overflow-hidden flex flex-col",
3855
3855
  style: {
3856
- width: "var(--radix-popover-trigger-width)",
3856
+ minWidth: "var(--radix-popover-trigger-width)",
3857
+ width: "fit-content",
3858
+ maxWidth: "var(--radix-popover-content-available-width, 100%)",
3857
3859
  maxHeight: "min(340px, var(--radix-popover-content-available-height, 340px))"
3858
3860
  },
3859
3861
  onOpenAutoFocus: (e) => {
@@ -4196,7 +4198,9 @@ function MultiSelectDropdown({
4196
4198
  collisionPadding: 16,
4197
4199
  className: "p-0 overflow-hidden flex flex-col",
4198
4200
  style: {
4199
- width: "var(--radix-popover-trigger-width)",
4201
+ minWidth: "var(--radix-popover-trigger-width)",
4202
+ width: "fit-content",
4203
+ maxWidth: "var(--radix-popover-content-available-width, 100%)",
4200
4204
  maxHeight: "min(340px, var(--radix-popover-content-available-height, 340px))"
4201
4205
  },
4202
4206
  onOpenAutoFocus: (e) => {