@vygruppen/spor-react 12.6.2 → 12.6.4

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
@@ -2661,7 +2661,8 @@ var Combobox = (props) => {
2661
2661
  emptyContent,
2662
2662
  inputRef: externalInputRef,
2663
2663
  children,
2664
- variant
2664
+ variant,
2665
+ ...restProps
2665
2666
  } = props;
2666
2667
  const { contains } = useFilter({ sensitivity: "base" });
2667
2668
  const fallbackInputRef = useRef(null);
@@ -2709,6 +2710,7 @@ var Combobox = (props) => {
2709
2710
  /* @__PURE__ */ jsx(
2710
2711
  Input,
2711
2712
  {
2713
+ ...restProps,
2712
2714
  ...styleProps(comboBoxProps),
2713
2715
  "aria-haspopup": "listbox",
2714
2716
  ref: inputRef,
@@ -5536,8 +5538,6 @@ var buttonRecipe = defineRecipe({
5536
5538
  cursor: "pointer",
5537
5539
  textWrap: "wrap",
5538
5540
  width: "fit-content",
5539
- paddingX: 3,
5540
- paddingY: 1,
5541
5541
  _disabled: {
5542
5542
  cursor: "not-allowed",
5543
5543
  pointerEvents: "none",
@@ -5617,27 +5617,30 @@ var buttonRecipe = defineRecipe({
5617
5617
  xs: {
5618
5618
  minHeight: 5,
5619
5619
  minWidth: 5,
5620
- paddingY: 0.5,
5621
- fontSize: "xs",
5620
+ paddingX: 1.5,
5621
+ fontSize: "mobile.xs",
5622
5622
  fontWeight: "normal"
5623
5623
  },
5624
5624
  sm: {
5625
5625
  minHeight: 6,
5626
5626
  minWidth: 6,
5627
- fontSize: "xs",
5627
+ paddingX: 2,
5628
+ fontSize: "mobile.sm",
5628
5629
  fontWeight: "normal"
5629
5630
  },
5630
5631
  md: {
5631
5632
  minHeight: 7,
5632
5633
  minWidth: 7,
5633
- fontSize: "sm",
5634
- fontWeight: "bold"
5634
+ fontSize: "mobile.md",
5635
+ fontWeight: "bold",
5636
+ paddingX: 3
5635
5637
  },
5636
5638
  lg: {
5637
5639
  minHeight: 8,
5638
5640
  minWidth: 8,
5639
- fontSize: "sm",
5640
- fontWeight: "bold"
5641
+ fontSize: "mobile.md",
5642
+ fontWeight: "bold",
5643
+ paddingX: 3
5641
5644
  }
5642
5645
  }
5643
5646
  },
@@ -7274,37 +7277,43 @@ var dialogSlotRecipe = defineSlotRecipe({
7274
7277
  size: {
7275
7278
  xs: {
7276
7279
  content: {
7277
- maxWidth: "sm"
7280
+ maxWidth: "sm",
7281
+ height: "auto"
7278
7282
  }
7279
7283
  },
7280
7284
  sm: {
7281
7285
  content: {
7282
- maxWidth: "md"
7286
+ maxWidth: "md",
7287
+ height: "auto"
7283
7288
  }
7284
7289
  },
7285
7290
  md: {
7286
7291
  content: {
7287
- maxWidth: "lg"
7292
+ maxWidth: "lg",
7293
+ height: "auto"
7288
7294
  }
7289
7295
  },
7290
7296
  lg: {
7291
7297
  content: {
7292
- maxWidth: "2xl"
7298
+ maxWidth: "2xl",
7299
+ height: "auto"
7293
7300
  }
7294
7301
  },
7295
7302
  xl: {
7296
7303
  content: {
7297
- maxWidth: "4xl"
7304
+ maxWidth: "4xl",
7305
+ height: "auto"
7298
7306
  }
7299
7307
  },
7300
7308
  cover: {
7301
7309
  positioner: {
7302
- padding: "10"
7310
+ padding: "4"
7303
7311
  },
7304
7312
  content: {
7305
7313
  width: "100%",
7306
7314
  height: "100%",
7307
- "--dialog-margin": "0"
7315
+ "--dialog-margin": "0",
7316
+ margin: "0"
7308
7317
  }
7309
7318
  }
7310
7319
  },
@@ -7583,15 +7592,13 @@ var fieldSlotRecipe = defineSlotRecipe({
7583
7592
  _after: {
7584
7593
  content: "''",
7585
7594
  position: "absolute",
7586
- marginTop: "-0.45em",
7595
+ top: 0,
7587
7596
  left: "1em",
7588
- width: 0,
7589
- height: 0,
7590
- transform: "rotate(45deg)",
7591
- borderLeft: "0.5em solid transparent",
7592
- borderRight: "0.5em solid transparent",
7593
- borderBottom: "0.5em solid",
7594
- borderColor: "lightRed"
7597
+ width: "0.5rem",
7598
+ height: "0.5rem",
7599
+ backgroundColor: "lightRed",
7600
+ transform: "translateY(-50%) rotate(45deg)",
7601
+ pointerEvents: "none"
7595
7602
  }
7596
7603
  }
7597
7604
  }
@@ -9541,7 +9548,10 @@ var tabsSlotRecipe = defineSlotRecipe({
9541
9548
  },
9542
9549
  _selected: {
9543
9550
  backgroundColor: "brand.surface",
9544
- color: "brand.text"
9551
+ color: "brand.text",
9552
+ _hover: {
9553
+ outline: "none"
9554
+ }
9545
9555
  },
9546
9556
  _disabled: {
9547
9557
  backgroundColor: "surface.disabled",
@@ -9572,7 +9582,8 @@ var tabsSlotRecipe = defineSlotRecipe({
9572
9582
  color: "brand.text",
9573
9583
  _hover: {
9574
9584
  backgroundColor: "brand.surface.hover",
9575
- color: "brand.text"
9585
+ color: "brand.text",
9586
+ outline: "none"
9576
9587
  }
9577
9588
  }
9578
9589
  }