You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Named Size Validation**: Managed flyouts must use named sizes (s, m, l). If not provided, defaults to 'm'.
58
-
-**Size Combination Rules**: Parent and child can't both be 'm', parent can't be 'l' with child
57
+
-**Named Size Validation**: Child flyouts must use named sizes (s, m, l, fill). Main flyouts can use named sizes or custom values (e.g., '400px'). If size is not provided, main flyouts default to 'm' and child flyouts default to 's'.
58
+
-**Size Combination Rules**: Parent and child can't both be 'm', parent and child can't both be 'fill', and 'l' can only be used if the other flyout is 'fill'
59
59
-**Title**: Must be provided either through `flyoutMenuProps` or `aria-label`
60
60
-**Error Handling**: Comprehensive error messages for invalid configurations
'The size of the child flyout. If the main is `s`, the child can be `s`, or `m`. If the main is `m`, the child can only be `s`.',
74
+
'The size of the child flyout. Valid combinations: both cannot be "m", both cannot be "fill", and "l" can only be used if the other flyout is "fill".',
description: 'The maximum width of the child flyout.',
84
84
},
85
85
mainSize: {
86
-
options: ['s','m','fill'],
86
+
options: ['s','m','l','fill','400px'],
87
87
control: {type: 'radio'},
88
88
description:
89
-
'The size of the main (parent) flyout. If `m`, the child must be `s`. If `s`, the child can be `s`, or `m`.',
89
+
'The size of the main (parent) flyout. Can use named sizes (s, m, l, fill) or custom values like "400px". Valid combinations: both cannot be "m", both cannot be "fill", and "l" can only be used if the other flyout is "fill".',
0 commit comments