@duro-app/ui 0.14.0 → 0.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duro-app/ui",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,12 +24,13 @@ interface RootProps {
24
24
 
25
25
  function Root({disabled = false, gap = 'md', children}: RootProps) {
26
26
  return (
27
- <html.fieldset
28
- disabled={disabled}
27
+ <html.div
28
+ role="group"
29
+ aria-disabled={disabled || undefined}
29
30
  style={[styles.root, gapMap[gap], disabled && styles.disabled]}
30
31
  >
31
32
  {children}
32
- </html.fieldset>
33
+ </html.div>
33
34
  )
34
35
  }
35
36
 
@@ -39,7 +40,7 @@ interface LegendProps {
39
40
  }
40
41
 
41
42
  function Legend({children}: LegendProps) {
42
- return <html.legend style={styles.legend}>{children}</html.legend>
43
+ return <html.span style={styles.legend}>{children}</html.span>
43
44
  }
44
45
 
45
46
  export const Fieldset = {