@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 CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  Front end development library (SCSS, JS, Vue)
4
4
 
5
- [SCSS Documentation](https://jscherbe.github.io/frontend/scss/)
6
-
7
- [JS Documentation](https://jscherbe.github.io/frontend/js/)
5
+ [Documentation](https://jscherbe.github.io/frontend/)
8
6
 
9
7
  ## SCSS Library
10
8
 
@@ -1,23 +1,21 @@
1
1
  /**
2
- * @module css-breakpoint
2
+ * @module helpers/css-breakpoint
3
3
  */
4
4
 
5
- // Description: Pass breakpoints from CSS to stylesheet, use this to attach
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
- * Resize Handler to update breakpoints for all instances (Called after resize finished)
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 {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module file-save
2
+ * @module helpers/file-save
3
3
  */
4
4
 
5
5
  // Description: Simple script that is useful for testing. It will:
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module node-data-manager
2
+ * @module helpers/node-data-manager
3
3
  */
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module pause-youtube-video
2
+ * @module helpers/pause-youtube-video
3
3
  */
4
4
 
5
5
  // Version: 1.0.4
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module scrollbar-width-property
2
+ * @module helpers/scrollbar-width-property
3
3
  */
4
4
 
5
5
  /**
package/js/ui/flipcard.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module flipcard
2
+ * @module ui/flipcard
3
3
  */
4
4
 
5
5
  // =============================================================================
package/js/ui/grid.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module grid
2
+ * @module ui/grid
3
3
  */
4
4
 
5
5
  import { getName } from "../events/index.js";
package/js/ui/modals.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module modals
2
+ * @module ui/modals
3
3
  */
4
4
  // Version: 1.0.4
5
5
  // Changes:
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module overflow-scroller-pager
2
+ * @module ui/overflow-scroller-pager
3
3
  */
4
4
  /**
5
5
  * Function to be used in overflow scrollers "amount" option. This function will
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module overflow-scroller
2
+ * @module ui/overflow-scroller
3
3
  */
4
4
  /**
5
5
  * @todo - Need to have scroll handler check scroll position
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module programmatic-modal
2
+ * @module ui/programmatic-modal
3
3
  */
4
4
  // =============================================================================
5
5
  // Grabs Breakpoint from CSS
package/js/ui/resizer.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module resizer
2
+ * @module ui/resizer
3
3
  */
4
4
  // =============================================================================
5
5
  // Element Resizer
package/js/ui/slider.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module slider
2
+ * @module ui/slider
3
3
  */
4
4
  // =============================================================================
5
5
  // Slider
package/js/ui/tabs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module tabs
2
+ * @module ui/tabs
3
3
  */
4
4
  // =============================================================================
5
5
  // Tabs
package/js/ui/tooltip.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module tooltip
2
+ * @module ui/tooltip
3
3
  */
4
4
  // =============================================================================
5
5
  // Tooltip
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @module logger
2
+ * @module utils/logger
3
3
  */
4
4
  // Goal: minimzing console conditions for nessasary production log statements
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.0.6",
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": "node_modules/.bin/jsdoc -c jsdoc.json"
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
  }