@ulu/frontend 0.0.6 → 0.0.7
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/README.md +1 -3
- package/js/helpers/css-breakpoint.js +7 -7
- package/js/helpers/file-save.js +1 -1
- package/js/helpers/node-data-manager.js +1 -1
- package/js/helpers/pause-youtube-video.js +1 -1
- package/js/helpers/scrollbar-width-property.js +1 -1
- package/js/ui/flipcard.js +1 -1
- package/js/ui/grid.js +1 -1
- package/js/ui/modals.js +1 -1
- package/js/ui/overflow-scroller-pager.js +1 -1
- package/js/ui/overflow-scroller.js +1 -1
- package/js/ui/programmatic-modal.js +1 -1
- package/js/ui/resizer.js +1 -1
- package/js/ui/slider.js +1 -1
- package/js/ui/tabs.js +1 -1
- package/js/ui/tooltip.js +1 -1
- package/js/utils/logger.js +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @module css-breakpoint
|
|
2
|
+
* @module helpers/css-breakpoint
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
// behaviors on breakpoints
|
|
7
|
-
|
|
5
|
+
// Pass breakpoints from CSS to stylesheet, use this to attach behaviors on breakpoints
|
|
8
6
|
import { debounce } from "@ulu/utils/performance";
|
|
9
7
|
import { removeArrayElement } from "@ulu/utils/array";
|
|
10
8
|
import { getName } from "../events/index.js";
|
|
11
9
|
import { log, logError } from "../utils/logger.js";
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
11
|
+
|
|
12
|
+
// Resize Handler to update breakpoints for all instances (Called after resize finished)
|
|
16
13
|
window.addEventListener(getName("pageResized"), () => {
|
|
17
14
|
CssBreakpoints.instances.forEach(i => i.update());
|
|
18
15
|
});
|
|
19
16
|
|
|
20
17
|
/**
|
|
18
|
+
* @class
|
|
21
19
|
* Class that provides method for retrieving and acting on breakpoints passed
|
|
22
20
|
* from CSS (using element psuedo content prop)
|
|
23
21
|
*/
|
|
@@ -112,6 +110,7 @@ export class CssBreakpoints {
|
|
|
112
110
|
}
|
|
113
111
|
}
|
|
114
112
|
/**
|
|
113
|
+
* @class
|
|
115
114
|
* Used to handle a breakpoints direction's handler and state
|
|
116
115
|
*/
|
|
117
116
|
class BreakpointDirection {
|
|
@@ -180,6 +179,7 @@ class BreakpointDirection {
|
|
|
180
179
|
}
|
|
181
180
|
}
|
|
182
181
|
/**
|
|
182
|
+
* @class
|
|
183
183
|
* Single breakpoint management
|
|
184
184
|
*/
|
|
185
185
|
class Breakpoint {
|
package/js/helpers/file-save.js
CHANGED
package/js/ui/flipcard.js
CHANGED
package/js/ui/grid.js
CHANGED
package/js/ui/modals.js
CHANGED
package/js/ui/resizer.js
CHANGED
package/js/ui/slider.js
CHANGED
package/js/ui/tabs.js
CHANGED
package/js/ui/tooltip.js
CHANGED
package/js/utils/logger.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulu/frontend",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Theming library",
|
|
5
5
|
"browser": "js/index.js",
|
|
6
6
|
"main": "index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"docs:preview": "vitepress preview docs-src",
|
|
16
16
|
"docs:update:scss": "node ./docs-src/.vitepress/sassdoc.js",
|
|
17
17
|
"docs:update:scss:debug": "node --inspect-brk ./docs-src/.vitepress/sassdoc.js",
|
|
18
|
-
"docs:build:js": "
|
|
18
|
+
"docs:build:js": "node ./docs-src/.vitepress/jsdoc.js"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
@@ -37,10 +37,13 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/Jscherbe/frontend#readme",
|
|
39
39
|
"devDependencies": {
|
|
40
|
+
"@ulu/utils": "^0.0.4",
|
|
40
41
|
"@ulu/vitepress-auto-menus": "^0.0.3",
|
|
41
42
|
"@ulu/vitepress-sassdoc": "^0.0.6",
|
|
42
43
|
"clean-jsdoc-theme": "^4.2.17",
|
|
44
|
+
"fs-extra": "^11.2.0",
|
|
43
45
|
"jsdoc": "^4.0.2",
|
|
46
|
+
"jsdoc-to-markdown": "^8.0.0",
|
|
44
47
|
"sass": "^1.51.0",
|
|
45
48
|
"vitepress": "^1.0.0-rc.27"
|
|
46
49
|
}
|