@allxsmith/bestax-bulma 5.66.0 → 5.66.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/dist/bestax.css +1 -1
- package/dist/bestax.css.map +1 -1
- package/dist/esm/components/Navbar.js +1 -1
- package/dist/esm/components/Navbar.js.map +1 -1
- package/dist/extras.css +1 -1
- package/dist/extras.css.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/types/components/Navbar.d.ts +11 -1
- package/dist/types-cjs/components/Navbar.d.ts +11 -1
- package/dist/versions/bestax-no-dark-mode.css +1 -1
- package/dist/versions/bestax-no-dark-mode.css.map +1 -1
- package/dist/versions/bestax-no-helpers-prefixed.css +1 -1
- package/dist/versions/bestax-no-helpers-prefixed.css.map +1 -1
- package/dist/versions/bestax-no-helpers.css +1 -1
- package/dist/versions/bestax-no-helpers.css.map +1 -1
- package/dist/versions/bestax-prefixed.css +1 -1
- package/dist/versions/bestax-prefixed.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/components/_pagination.scss +31 -2
- package/src/scss/components/_tooltip.scss +19 -0
- package/src/scss/elements/_button.scss +27 -3
|
@@ -96,7 +96,17 @@ export interface NavbarItemOwnProps extends Omit<BulmaClassesProps, 'color' | 'b
|
|
|
96
96
|
backgroundColor?: never;
|
|
97
97
|
/** Additional CSS classes. */
|
|
98
98
|
className?: string;
|
|
99
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* Marks the item as the current one. It adds Bulma's `is-active` class, and
|
|
101
|
+
* `aria-current="page"` on the element `as` renders, so assistive tech can
|
|
102
|
+
* tell which item is current too. An `aria-current` you pass wins, even
|
|
103
|
+
* `undefined`: use it to say something else (`"location"` for a section of
|
|
104
|
+
* one page, say), or `aria-current={false}` to turn it off. An `active` item
|
|
105
|
+
* that isn't navigation takes `aria-current={false}`: an `as="button"`
|
|
106
|
+
* control, say, or a `has-dropdown` container like the
|
|
107
|
+
* `<Navbar.Item as="div" className="has-dropdown" active>` older
|
|
108
|
+
* bestax-migrate versions wrote. That one can be a `Navbar.Dropdown` instead.
|
|
109
|
+
*/
|
|
100
110
|
active?: boolean;
|
|
101
111
|
/** Text color for the item. */
|
|
102
112
|
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
@@ -96,7 +96,17 @@ export interface NavbarItemOwnProps extends Omit<BulmaClassesProps, 'color' | 'b
|
|
|
96
96
|
backgroundColor?: never;
|
|
97
97
|
/** Additional CSS classes. */
|
|
98
98
|
className?: string;
|
|
99
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* Marks the item as the current one. It adds Bulma's `is-active` class, and
|
|
101
|
+
* `aria-current="page"` on the element `as` renders, so assistive tech can
|
|
102
|
+
* tell which item is current too. An `aria-current` you pass wins, even
|
|
103
|
+
* `undefined`: use it to say something else (`"location"` for a section of
|
|
104
|
+
* one page, say), or `aria-current={false}` to turn it off. An `active` item
|
|
105
|
+
* that isn't navigation takes `aria-current={false}`: an `as="button"`
|
|
106
|
+
* control, say, or a `has-dropdown` container like the
|
|
107
|
+
* `<Navbar.Item as="div" className="has-dropdown" active>` older
|
|
108
|
+
* bestax-migrate versions wrote. That one can be a `Navbar.Dropdown` instead.
|
|
109
|
+
*/
|
|
100
110
|
active?: boolean;
|
|
101
111
|
/** Text color for the item. */
|
|
102
112
|
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|