@allxsmith/bestax-bulma 5.36.0 → 5.36.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.
@@ -29,6 +29,7 @@ export interface MenuLabelProps extends Omit<React.HTMLAttributes<HTMLParagraphE
29
29
  export declare const MenuLabel: React.FC<MenuLabelProps>;
30
30
  /**
31
31
  * Props for the MenuList component.
32
+ * @extraProp {React.AriaRole} [role] - Ignored: every level renders `role="list"` in its place, so a menu or tree role can't go here.
32
33
  */
33
34
  export interface MenuListProps extends Omit<React.HTMLAttributes<HTMLUListElement>, keyof BulmaClassesProps>, BulmaClassesProps {
34
35
  /** Additional CSS classes. */
@@ -39,6 +40,10 @@ export interface MenuListProps extends Omit<React.HTMLAttributes<HTMLUListElemen
39
40
  /**
40
41
  * MenuList applies `menu-list` class only at the top level (not for nested lists).
41
42
  *
43
+ * Every level renders `role="list"`, which Safari needs: WebKit stops
44
+ * exposing a `<ul>` as a list once its markers are hidden, and Bulma's reset
45
+ * hides them.
46
+ *
42
47
  * @function
43
48
  * @param {MenuListProps} props - Props for the MenuList component.
44
49
  * @returns {JSX.Element} The rendered menu list.
@@ -29,6 +29,7 @@ export interface MenuLabelProps extends Omit<React.HTMLAttributes<HTMLParagraphE
29
29
  export declare const MenuLabel: React.FC<MenuLabelProps>;
30
30
  /**
31
31
  * Props for the MenuList component.
32
+ * @extraProp {React.AriaRole} [role] - Ignored: every level renders `role="list"` in its place, so a menu or tree role can't go here.
32
33
  */
33
34
  export interface MenuListProps extends Omit<React.HTMLAttributes<HTMLUListElement>, keyof BulmaClassesProps>, BulmaClassesProps {
34
35
  /** Additional CSS classes. */
@@ -39,6 +40,10 @@ export interface MenuListProps extends Omit<React.HTMLAttributes<HTMLUListElemen
39
40
  /**
40
41
  * MenuList applies `menu-list` class only at the top level (not for nested lists).
41
42
  *
43
+ * Every level renders `role="list"`, which Safari needs: WebKit stops
44
+ * exposing a `<ul>` as a list once its markers are hidden, and Bulma's reset
45
+ * hides them.
46
+ *
42
47
  * @function
43
48
  * @param {MenuListProps} props - Props for the MenuList component.
44
49
  * @returns {JSX.Element} The rendered menu list.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allxsmith/bestax-bulma",
3
- "version": "5.36.0",
3
+ "version": "5.36.1",
4
4
  "description": "A fully-typed React component library for the Bulma CSS framework. Build modern UIs quickly with reusable, accessible, and customizable Bulma-based React components.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.esm.js",