@vygruppen/spor-react 12.24.1 → 12.24.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
3
  "type": "module",
4
- "version": "12.24.1",
4
+ "version": "12.24.2",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -47,7 +47,7 @@
47
47
  "react-swipeable": "^7.0.1",
48
48
  "usehooks-ts": "^3.1.0",
49
49
  "@vygruppen/spor-design-tokens": "4.3.2",
50
- "@vygruppen/spor-icon-react": "4.5.1",
50
+ "@vygruppen/spor-icon-react": "4.5.2",
51
51
  "@vygruppen/spor-loader": "0.7.0"
52
52
  },
53
53
  "devDependencies": {
@@ -113,7 +113,7 @@ export const Field = React.forwardRef<HTMLDivElement, FieldProps>(
113
113
  id={id}
114
114
  >
115
115
  {label && !floatingLabel && (
116
- <Label asChild={labelAsChild}>
116
+ <Label asChild={labelAsChild} aria-hidden>
117
117
  {renderLabelWithIndicator(label, labelAsChild)}
118
118
  </Label>
119
119
  )}
@@ -124,6 +124,7 @@ export const Field = React.forwardRef<HTMLDivElement, FieldProps>(
124
124
  <FloatingLabel
125
125
  data-float={shouldFloat ? true : undefined}
126
126
  asChild={labelAsChild}
127
+ aria-hidden
127
128
  >
128
129
  {renderLabelWithIndicator(label, labelAsChild)}
129
130
  </FloatingLabel>
@@ -98,7 +98,7 @@ export const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(
98
98
  shouldFloat={shouldFloat}
99
99
  position="relative"
100
100
  label={
101
- <Box id={labelId} aria-hidden>
101
+ <Box id={labelId}>
102
102
  <label ref={labelRef}>{label}</label>
103
103
  </Box>
104
104
  }
@@ -6,7 +6,7 @@ export const attachedInputsRecipe = defineRecipe({
6
6
  gap: "0.1rem",
7
7
  width: "100%",
8
8
  "& select": {
9
- borderEndRadius: 0,
9
+ borderEndRadius: "0 !important",
10
10
  },
11
11
 
12
12
  "& > *": {
@@ -22,13 +22,13 @@ export const attachedInputsRecipe = defineRecipe({
22
22
  horizontal: {
23
23
  flexDirection: "row",
24
24
  "& > *:first-of-type:not(:last-of-type) [data-attachable]": {
25
- borderEndRadius: 0,
25
+ borderEndRadius: "0 !important",
26
26
  },
27
27
  "& > *:not(:first-of-type):not(:last-of-type) [data-attachable]": {
28
- borderRadius: 0,
28
+ borderRadius: "0 !important",
29
29
  },
30
30
  "& > *:not(:first-of-type):last-of-type [data-attachable]": {
31
- borderStartRadius: 0,
31
+ borderStartRadius: "0 !important",
32
32
  },
33
33
 
34
34
  "&[data-with-flip-button]": {
@@ -45,13 +45,13 @@ export const attachedInputsRecipe = defineRecipe({
45
45
  vertical: {
46
46
  flexDirection: "column",
47
47
  "& > *:first-of-type:not(:last-of-type) [data-attachable]": {
48
- borderBottomRadius: 0,
48
+ borderBottomRadius: "0 !important",
49
49
  },
50
50
  "& > *:not(:first-of-type):not(:last-of-type) [data-attachable]": {
51
- borderRadius: 0,
51
+ borderRadius: "0 !important",
52
52
  },
53
53
  "& > *:not(:first-of-type):last-of-type [data-attachable]": {
54
- borderTopRadius: 0,
54
+ borderTopRadius: "0 !important",
55
55
  },
56
56
  },
57
57
  },