File tree Expand file tree Collapse file tree 3 files changed +24
-26
lines changed
packages/unity-bootstrap-theme Expand file tree Collapse file tree 3 files changed +24
-26
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,11 @@ addons.register('local-addon', (api) => {
1010 type : types . PANEL ,
1111 paramKey : 'initFunc' ,
1212 render : ( { active, key} ) => {
13-
1413 return (
1514 < AddonPanel key = { key } active = { ! ! active } >
1615 < div style = { { padding : '20px' , fontSize : '1rem' } } >
17-
18- This component requires Javascript. < br /> < br />
19-
20- < a href = "./index.html?path=/docs/get-started-get-started--docs#-including-unity-in-your-project" > View the documentation</ a > { " " } on how to use the component in your project.
21-
16+ This component requires Javascript. < br /> < br />
17+ View the documentation on < a href = "./index.html?path=/docs/get-started-get-started--docs#-including-unity-in-your-project" > including unity in your project</ a >
2218 </ div >
2319 </ AddonPanel >
2420 ) } ,
Original file line number Diff line number Diff line change @@ -26,28 +26,30 @@ We bundle the necessary CSS and Javascript in the `dist/` folder. There are more
2626### Javascript
2727All you need to do is include the script on your page, the scripts will execute with the window load event.
2828We provide 3 formats ("UMD", "CJS", "ES").
29- * exports:
30- * ` initAnchorMenu ` ,
31- * ` initBlockquoteAnimation ` ,
32- * ` initCalendar ` ,
33- * ` initChart ` ,
34- * ` initDataLayer ` ,
35- * ` initFixedTable ` ,
36- * ` initGlobalHeader ` ,
37- * ` initHeroesVideo ` ,
38- * ` initImageParallax ` ,
39- * ` initModals ` ,
40- * ` initRankingCard ` ,
41- * ` initTabbedPanels ` ,
42- * ` initVideo ` ,
29+
4330* Unity File Formats
44- * dist/js/unity-bootstrap.umd.js (universal)
31+ * ` dist/js/unity-bootstrap.umd.js ` (universal)
4532 * creates a global variable ` unityBootstrap ` if you need to manaully call the init function ex: ` unityBootstrap.initAnchorMenu() `
46- * dist/js/unity-bootstrap.cjs.js (common js)
47- * dist/js/unity-bootstrap.es.js (module)
33+ * ` dist/js/unity-bootstrap.cjs.js ` (common js)
34+ * ` dist/js/unity-bootstrap.es.js ` (module)
4835* Vendor Files
49- * dist/js/bootstrap.bundle.min.js (unaltered bootstrap version)
50- * dist/js/chart.min.js (only needed if you are using the donut chart)
36+ * ` dist/js/bootstrap.bundle.min.js ` (unaltered bootstrap version)
37+ * ` dist/js/chart.min.js ` (only needed if you are using the donut chart)
38+
39+ * Exports:
40+ * ` initAnchorMenu `
41+ * ` initBlockquoteAnimation `
42+ * ` initCalendar `
43+ * ` initChart `
44+ * ` initDataLayer `
45+ * ` initFixedTable `
46+ * ` initGlobalHeader `
47+ * ` initHeroesVideo `
48+ * ` initImageParallax `
49+ * ` initModals `
50+ * ` initRankingCard `
51+ * ` initTabbedPanels `
52+ * ` initVideo `
5153
5254## ❯ How to use the Unity Storybook reference site
5355
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default defineConfig(
1212 plugins : [
1313 {
1414 name : "copy" ,
15- writeBundle ( ) {
15+ closeBundle ( ) {
1616 fs . mkdirSync ( resolve ( __dirname , "dist/js" ) , {
1717 recursive : true ,
1818 } ) ;
You can’t perform that action at this time.
0 commit comments