@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
|
@@ -24,12 +24,13 @@ interface RootProps {
|
|
|
24
24
|
|
|
25
25
|
function Root({disabled = false, gap = 'md', children}: RootProps) {
|
|
26
26
|
return (
|
|
27
|
-
<html.
|
|
28
|
-
|
|
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.
|
|
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.
|
|
43
|
+
return <html.span style={styles.legend}>{children}</html.span>
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
export const Fieldset = {
|