Skip to content

Commit

Permalink
style(sp): correct spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDJM committed Nov 11, 2024
1 parent 0ed3794 commit c27777c
Show file tree
Hide file tree
Showing 23 changed files with 330 additions and 310 deletions.
4 changes: 2 additions & 2 deletions dist/accessible-menu-bs5.cjs.js

Large diffs are not rendered by default.

168 changes: 86 additions & 82 deletions dist/accessible-menu-bs5.es.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/accessible-menu-bs5.iife.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/disclosure-menu-bs5.cjs.js

Large diffs are not rendered by default.

84 changes: 44 additions & 40 deletions dist/disclosure-menu-bs5.es.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/disclosure-menu-bs5.iife.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/menubar-bs5.cjs.js

Large diffs are not rendered by default.

108 changes: 56 additions & 52 deletions dist/menubar-bs5.es.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/menubar-bs5.iife.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/top-link-disclosure-menu-bs5.cjs.js

Large diffs are not rendered by default.

82 changes: 43 additions & 39 deletions dist/top-link-disclosure-menu-bs5.es.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/top-link-disclosure-menu-bs5.iife.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/treeview-bs5.cjs.js

Large diffs are not rendered by default.

82 changes: 43 additions & 39 deletions dist/treeview-bs5.es.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/treeview-bs5.iife.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
},
"homepage": "https://github.com/NickDJM/accessible-menu-bootstrap-5#readme",
"dependencies": {
"accessible-menu": "github:NickDJM/accessible-menu#4.x"
"accessible-menu": "^4.2.0"
},
"devDependencies": {
"@babel/core": "^7.22.5",
Expand Down
16 changes: 8 additions & 8 deletions src/bootstrap5DisclosureMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Bootstrap5DisclosureMenu extends DisclosureMenu {
_pseudoDropdownElement = document.createElement("div");

/**
* Bootstrap events that need to be intercepted to disbale dropdowns.
* Bootstrap events that need to be intercepted to disable dropdowns.
*
* @type {string[]}
*
Expand All @@ -81,7 +81,7 @@ class Bootstrap5DisclosureMenu extends DisclosureMenu {
_pseudoCollapseElement = document.createElement("div");

/**
* Bootstrap events that need to be intercepted to disbale collapses.
* Bootstrap events that need to be intercepted to disable collapses.
*
* @type {string[]}
*
Expand Down Expand Up @@ -122,15 +122,15 @@ class Bootstrap5DisclosureMenu extends DisclosureMenu {
* @param {(string|string[]|null)} [options.openClass = show] - The class to apply when a menu is "open".
* @param {(string|string[]|null)} [options.closeClass = collapse] - The class to apply when a menu is "closed".
* @param {?(string|string[])} [options.transitionClass = collapsing] - The class to apply when a menu is transitioning between "open" and "closed" states.
* @param {number} [options.transitionDuration = 350] - The duration of the transition between "open" and "closed" states (in miliseconds).
* @param {number} [options.transitionDuration = 350] - The duration of the transition between "open" and "closed" states (in milliseconds).
* @param {boolean} [options.openDuration = -1] - The duration of the transition from "closed" to "open" states (in milliseconds).
* @param {boolean} [options.closeDuration = -1] - The duration of the transition from "open" to "closed" states (in milliseconds).
* @param {boolean} [options.isTopLevel = false] - A flag to mark the root menu.
* @param {(Bootstrap5DisclosureMenu|null)} [options.parentMenu = null] - The parent menu to this menu.
* @param {string} [options.hoverType = off] - The type of hoverability a menu has.
* @param {number} [options.hoverDelay = 250] - The delay for closing menus if the menu is hoverable (in miliseconds).
* @param {number} [options.enterDelay = -1] - The delay for opening a menu if the menu is focusable (in miliseconds).
* @param {number} [options.leaveDelay = -1] - The delay for closing a menu if the menu is focusable (in miliseconds).
* @param {number} [options.hoverDelay = 250] - The delay for closing menus if the menu is hoverable (in milliseconds).
* @param {number} [options.enterDelay = -1] - The delay for opening a menu if the menu is focusable (in milliseconds).
* @param {number} [options.leaveDelay = -1] - The delay for closing a menu if the menu is focusable (in milliseconds).
* @param {boolean} [options.optionalKeySupport = false] - A flag to add optional keyboard support (Arrow keys, Home, and End) to the menu.
* @param {?string} [options.prefix = am-] - The prefix to use for CSS custom properties.
* @param {boolean} [options.bootstrapTransitions = true] - A flag to emulate bootstrap's transitions for dropdowns and collapses.
Expand Down Expand Up @@ -261,7 +261,7 @@ class Bootstrap5DisclosureMenu extends DisclosureMenu {
}

/**
* Bootstrap events that need to be intercepted to disbale dropdowns.
* Bootstrap events that need to be intercepted to disable dropdowns.
*
* @readonly
*
Expand All @@ -287,7 +287,7 @@ class Bootstrap5DisclosureMenu extends DisclosureMenu {
}

/**
* Bootstrap events that need to be intercepted to disbale collapses.
* Bootstrap events that need to be intercepted to disable collapses.
*
* @readonly
*
Expand Down
18 changes: 9 additions & 9 deletions src/bootstrap5Menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Bootstrap5Menubar extends Menubar {
_pseudoDropdownElement = document.createElement("div");

/**
* Bootstrap events that need to be intercepted to disbale dropdowns.
* Bootstrap events that need to be intercepted to disable dropdowns.
*
* @type {string[]}
*
Expand All @@ -79,7 +79,7 @@ class Bootstrap5Menubar extends Menubar {
_pseudoCollapseElement = document.createElement("div");

/**
* Bootstrap events that need to be intercepted to disbale collapses.
* Bootstrap events that need to be intercepted to disable collapses.
*
* @type {string[]}
*
Expand Down Expand Up @@ -120,15 +120,15 @@ class Bootstrap5Menubar extends Menubar {
* @param {(string|string[]|null)} [options.openClass = show] - The class to apply when a menu is "open".
* @param {(string|string[]|null)} [options.closeClass = collapse] - The class to apply when a menu is "closed".
* @param {?(string|string[])} [options.transitionClass = collapsing] - The class to apply when a menu is transitioning between "open" and "closed" states.
* @param {number} [options.transitionDuration = 350] - The duration of the transition between "open" and "closed" states (in miliseconds).
* @param {number} [options.transitionDuration = 350] - The duration of the transition between "open" and "closed" states (in milliseconds).
* @param {boolean} [options.openDuration = -1] - The duration of the transition from "closed" to "open" states (in milliseconds).
* @param {boolean} [options.closeDuration = -1] - The duration of the transition from "open" to "closed" states (in millise
* @param {boolean} [options.closeDuration = -1] - The duration of the transition from "open" to "closed" states (in milliseconds).
* @param {boolean} [options.isTopLevel = false] - A flag to mark the root menu.
* @param {(Bootstrap5Menubar|null)} [options.parentMenu = null] - The parent menu to this menu.
* @param {string} [options.hoverType = off] - The type of hoverability a menu has.
* @param {number} [options.hoverDelay = 250] - The delay for closing menus if the menu is hoverable (in miliseconds).
* @param {number} [options.enterDelay = -1] - The delay for opening a menu if the menu is focusable (in miliseconds).
* @param {number} [options.leaveDelay = -1] - The delay for closing a menu if the menu is focusable (in miliseconds).
* @param {number} [options.hoverDelay = 250] - The delay for closing menus if the menu is hoverable (in milliseconds).
* @param {number} [options.enterDelay = -1] - The delay for opening a menu if the menu is focusable (in milliseconds).
* @param {number} [options.leaveDelay = -1] - The delay for closing a menu if the menu is focusable (in milliseconds).
* @param {?string} [options.prefix = am-] - The prefix to use for CSS custom properties.
* @param {boolean} [options.bootstrapTransitions = true] - A flag to emulate bootstrap's transitions for dropdowns and collapses.
* @param {boolean} [options.disableBootstrap = true] - A flag to disable bootstrap's dropdown behaviour by making their events target a pseudo element.
Expand Down Expand Up @@ -256,7 +256,7 @@ class Bootstrap5Menubar extends Menubar {
}

/**
* Bootstrap events that need to be intercepted to disbale dropdowns.
* Bootstrap events that need to be intercepted to disable dropdowns.
*
* @readonly
*
Expand All @@ -282,7 +282,7 @@ class Bootstrap5Menubar extends Menubar {
}

/**
* Bootstrap events that need to be intercepted to disbale collapses.
* Bootstrap events that need to be intercepted to disable collapses.
*
* @readonly
*
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap5MenubarToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Bootstrap5MenubarToggle extends MenubarToggle {
*
* @property {HTMLElement} toggle - The menu toggle.
* @property {HTMLElement} parent - The menu containing this toggle.
* @property {HTMLElement} container - The element that controlls the visibility of the child menu.
* @property {HTMLElement} container - The element that controls the visibility of the child menu.
* @protected
*/
_dom = {
Expand Down
16 changes: 8 additions & 8 deletions src/bootstrap5TopLinkDisclosureMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Bootstrap5TopLinkDisclosureMenu extends TopLinkDisclosureMenu {
_pseudoDropdownElement = document.createElement("div");

/**
* Bootstrap events that need to be intercepted to disbale dropdowns.
* Bootstrap events that need to be intercepted to disable dropdowns.
*
* @type {string[]}
*
Expand All @@ -81,7 +81,7 @@ class Bootstrap5TopLinkDisclosureMenu extends TopLinkDisclosureMenu {
_pseudoCollapseElement = document.createElement("div");

/**
* Bootstrap events that need to be intercepted to disbale collapses.
* Bootstrap events that need to be intercepted to disable collapses.
*
* @type {string[]}
*
Expand Down Expand Up @@ -123,15 +123,15 @@ class Bootstrap5TopLinkDisclosureMenu extends TopLinkDisclosureMenu {
* @param {(string|string[]|null)} [options.openClass = show] - The class to apply when a menu is "open".
* @param {(string|string[]|null)} [options.closeClass = collapse] - The class to apply when a menu is "closed".
* @param {?(string|string[])} [options.transitionClass = collapsing] - The class to apply when a menu is transitioning between "open" and "closed" states.
* @param {number} [options.transitionDuration = 350] - The duration of the transition between "open" and "closed" states (in miliseconds).
* @param {number} [options.transitionDuration = 350] - The duration of the transition between "open" and "closed" states (in milliseconds).
* @param {boolean} [options.openDuration = -1] - The duration of the transition from "closed" to "open" states (in milliseconds).
* @param {boolean} [options.closeDuration = -1] - The duration of the transition from "open" to "closed" states (in milliseconds).
* @param {boolean} [options.isTopLevel = false] - A flag to mark the root menu.
* @param {(Bootstrap5TopLinkDisclosureMenu|null)} [options.parentMenu = null] - The parent menu to this menu.
* @param {string} [options.hoverType = off] - The type of hoverability a menu has.
* @param {number} [options.hoverDelay = 250] - The delay for closing menus if the menu is hoverable (in miliseconds).
* @param {number} [options.enterDelay = -1] - The delay for opening a menu if the menu is focusable (in miliseconds).
* @param {number} [options.leaveDelay = -1] - The delay for closing a menu if the menu is focusable (in miliseconds).
* @param {number} [options.hoverDelay = 250] - The delay for closing menus if the menu is hoverable (in milliseconds).
* @param {number} [options.enterDelay = -1] - The delay for opening a menu if the menu is focusable (in milliseconds).
* @param {number} [options.leaveDelay = -1] - The delay for closing a menu if the menu is focusable (in milliseconds).
* @param {boolean} [options.optionalKeySupport = false] - A flag to add optional keyboard support (Arrow keys, Home, and End) to the menu.
* @param {?string} [options.prefix = am-] - The prefix to use for CSS custom properties.
* @param {boolean} [options.disableBootstrap = true] - A flag to disable bootstrap's dropdown behaviour by making their events target a pseudo element.
Expand Down Expand Up @@ -264,7 +264,7 @@ class Bootstrap5TopLinkDisclosureMenu extends TopLinkDisclosureMenu {
}

/**
* Bootstrap events that need to be intercepted to disbale dropdowns.
* Bootstrap events that need to be intercepted to disable dropdowns.
*
* @readonly
*
Expand All @@ -290,7 +290,7 @@ class Bootstrap5TopLinkDisclosureMenu extends TopLinkDisclosureMenu {
}

/**
* Bootstrap events that need to be intercepted to disbale collapses.
* Bootstrap events that need to be intercepted to disable collapses.
*
* @readonly
*
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap5TopLinkDisclosureMenuToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Bootstrap5TopLinkDisclosureMenuToggle extends TopLinkDisclosureMenuToggle
*
* @property {HTMLElement} toggle - The menu toggle.
* @property {HTMLElement} parent - The menu containing this toggle.
* @property {HTMLElement} container - The element that controlls the visibility of the child menu.
* @property {HTMLElement} container - The element that controls the visibility of the child menu.
* @protected
*/
_dom = {
Expand Down
18 changes: 9 additions & 9 deletions src/bootstrap5Treeview.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Bootstrap5Treeview extends Treeview {
_pseudoDropdownElement = document.createElement("div");

/**
* Bootstrap events that need to be intercepted to disbale dropdowns.
* Bootstrap events that need to be intercepted to disable dropdowns.
*
* @type {string[]}
*
Expand All @@ -79,7 +79,7 @@ class Bootstrap5Treeview extends Treeview {
_pseudoCollapseElement = document.createElement("div");

/**
* Bootstrap events that need to be intercepted to disbale collapses.
* Bootstrap events that need to be intercepted to disable collapses.
*
* @type {string[]}
*
Expand Down Expand Up @@ -120,15 +120,15 @@ class Bootstrap5Treeview extends Treeview {
* @param {(string|string[]|null)} [options.openClass = show] - The class to apply when a menu is "open".
* @param {(string|string[]|null)} [options.closeClass = collapse] - The class to apply when a menu is "closed".
* @param {?(string|string[])} [options.transitionClass = collapsing] - The class to apply when a menu is transitioning between "open" and "closed" states.
* @param {number} [options.transitionDuration = 350] - The duration of the transition between "open" and "closed" states (in miliseconds).
* @param {number} [options.transitionDuration = 350] - The duration of the transition between "open" and "closed" states (in milliseconds).
* @param {boolean} [options.openDuration = -1] - The duration of the transition from "closed" to "open" states (in milliseconds).
* @param {boolean} [options.closeDuration = -1] - The duration of the transition from "open" to "closed" states (in millisec
* @param {boolean} [options.closeDuration = -1] - The duration of the transition from "open" to "closed" states (in milliseconds).
* @param {boolean} [options.isTopLevel = false] - A flag to mark the root menu.
* @param {(Bootstrap5Treeview|null)} [options.parentMenu = null] - The parent menu to this menu.
* @param {string} [options.hoverType = off] - The type of hoverability a menu has.
* @param {number} [options.hoverDelay = 250] - The delay for closing menus if the menu is hoverable (in miliseconds).
* @param {number} [options.enterDelay = -1] - The delay for opening a menu if the menu is focusable (in miliseconds).
* @param {number} [options.leaveDelay = -1] - The delay for closing a menu if the menu is focusable (in miliseconds).
* @param {number} [options.hoverDelay = 250] - The delay for closing menus if the menu is hoverable (in milliseconds).
* @param {number} [options.enterDelay = -1] - The delay for opening a menu if the menu is focusable (in milliseconds).
* @param {number} [options.leaveDelay = -1] - The delay for closing a menu if the menu is focusable (in milliseconds).
* @param {?string} [options.prefix = am-] - The prefix to use for CSS custom properties.
* @param {boolean} [options.bootstrapTransitions = true] - A flag to emulate bootstrap's transitions for dropdowns and collapses.
* @param {boolean} [options.disableBootstrap = true] - A flag to disable bootstrap's dropdown behaviour by making their events target a pseudo element.
Expand Down Expand Up @@ -255,7 +255,7 @@ class Bootstrap5Treeview extends Treeview {
}

/**
* Bootstrap events that need to be intercepted to disbale dropdowns.
* Bootstrap events that need to be intercepted to disable dropdowns.
*
* @readonly
*
Expand All @@ -281,7 +281,7 @@ class Bootstrap5Treeview extends Treeview {
}

/**
* Bootstrap events that need to be intercepted to disbale collapses.
* Bootstrap events that need to be intercepted to disable collapses.
*
* @readonly
*
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap5TreeviewToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Bootstrap5TreeviewToggle extends TreeviewToggle {
*
* @property {HTMLElement} toggle - The menu toggle.
* @property {HTMLElement} parent - The menu containing this toggle.
* @property {HTMLElement} container - The element that controlls the visibility of the child menu.
* @property {HTMLElement} container - The element that controls the visibility of the child menu.
* @protected
*/
_dom = {
Expand Down

0 comments on commit c27777c

Please sign in to comment.