@qhealth-design-system/core 1.22.2 → 1.23.0

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.
Files changed (78) hide show
  1. package/.storybook/assets/image-position-demo-portrait.svg +54 -0
  2. package/.storybook/assets/image-position-demo.svg +55 -0
  3. package/.storybook/globals.js +9 -0
  4. package/.storybook/preview.js +8 -1
  5. package/CHANGELOG.md +2 -0
  6. package/README.md +0 -6
  7. package/package.json +13 -33
  8. package/src/assets/img/svg-icons.svg +154 -154
  9. package/src/component-loader.js +11 -2
  10. package/src/components/_global/css/admin/component.scss +1 -0
  11. package/src/components/_global/css/btn/component.scss +9 -0
  12. package/src/components/_global/css/img/image-position-utility-classes.scss +30 -0
  13. package/src/components/_global/css/img/image-ratio-utility-classes.scss +41 -0
  14. package/src/components/_global/css/img/images.scss +74 -5
  15. package/src/components/_global/css/modal/component.scss +1 -0
  16. package/src/components/_global/js/animate/global.js +272 -294
  17. package/src/components/_global/js/collapsible.js +3 -3
  18. package/src/components/_global/js/global.js +304 -316
  19. package/src/components/_global/js/legacyGlobal.js +63 -0
  20. package/src/components/_global/js/modal/global.js +218 -223
  21. package/src/components/_global/js/popover/controller.js +4 -4
  22. package/src/components/_global/js/tabs/global.js +264 -276
  23. package/src/components/a-z_listing/js/global.js +106 -92
  24. package/src/components/accordion/css/component.scss +24 -41
  25. package/src/components/accordion/html/component.hbs +23 -5
  26. package/src/components/accordion/js/global.js +5 -10
  27. package/src/components/basic_search/js/global.js +0 -7
  28. package/src/components/code/js/global.js +6 -12
  29. package/src/components/file_upload/js/global.js +1 -5
  30. package/src/components/internal_navigation/css/component.scss +2 -2
  31. package/src/components/internal_navigation/html/component.hbs +16 -1
  32. package/src/components/main_navigation/js/global.js +341 -335
  33. package/src/components/overflow_menu/css/component.scss +1 -0
  34. package/src/components/search_box/css/component.scss +0 -1
  35. package/src/components/tab/js/global.js +5 -10
  36. package/src/components/toggle_tip/js/global.js +0 -6
  37. package/src/components/tool_tip/js/global.js +0 -6
  38. package/src/components/video_player/css/component.scss +27 -9
  39. package/src/components/video_player/html/component.hbs +32 -6
  40. package/src/components/video_player/js/global.js +8 -1
  41. package/src/index.js +4 -0
  42. package/src/stories/Accordion/accordion.stories.js +1 -0
  43. package/src/stories/Banner/bannerContained.stories.js +123 -0
  44. package/src/stories/Flexbox/Flexbox.stories.js +316 -0
  45. package/src/stories/Image/Image.stories.js +182 -0
  46. package/src/stories/Templates/ContentPage.stories.js +101 -0
  47. package/src/stories/Templates/LandingPage.stories.js +193 -0
  48. package/src/stories/Templates/templateHelpers.js +102 -0
  49. package/src/stories/VideoPlayer/VideoPlayer.stories.js +16 -0
  50. package/src/styles/imports/utilities.scss +15 -25
  51. package/src/styles/imports/variables.scss +26 -0
  52. package/src/components/_global/html/head.html +0 -22
  53. package/src/components/_global/html/scripts.html +0 -28
  54. package/src/components/_global/js/_polyfills/global.js +0 -19
  55. package/src/components/_template/html/component-page.html +0 -75
  56. package/src/components/_template/js/global.js +0 -3
  57. package/src/components/accordion/html/accordion-group.html +0 -163
  58. package/src/components/accordion/html/default.html +0 -99
  59. package/src/components/banner_basic/js/global.js +0 -3
  60. package/src/components/loading_spinner/js/global.js +0 -3
  61. package/src/components/pagination/html/default.html +0 -39
  62. package/src/components/search_box/html/component.html +0 -26
  63. package/src/data/current.json +0 -400
  64. package/src/data/current_admin.json +0 -305
  65. package/src/data/model_component.js +0 -14
  66. package/src/data/site.json +0 -977
  67. package/src/externals/tinymce_classes.css +0 -62
  68. package/src/html/component-global-elements.html +0 -2857
  69. package/src/html/component-horizontal_rule.html +0 -647
  70. package/src/html/component-internal_navigation.html +0 -583
  71. package/src/html/component-left_hand_navigation.html +0 -57
  72. package/src/html/component-main_navigation.html +0 -583
  73. package/src/html/component-multi_column.html +0 -582
  74. package/src/html/components.html +0 -354
  75. package/src/html/home.html +0 -1898
  76. package/src/html/index.html +0 -129
  77. package/src/html/inner-with-nav.html +0 -605
  78. package/src/html/inner.html +0 -618
@@ -1,129 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--[if lt IE 8]>
3
- <html class="no-js lt-ie8 lt-ie9" lang="en">
4
- <![endif]-->
5
- <!--[if IE 8]>
6
- <html class="no-js lt-ie9 ie8" lang="en">
7
- <![endif]-->
8
- <!--[if IE 9]>
9
- <html class="no-js ie9" lang="en">
10
- <![endif]-->
11
- <!--[if !(IE)]><!-->
12
- <html class="no-js" lang="en">
13
- <!--<![endif]-->
14
-
15
- <head>
16
- <title>Queensland Design System</title>
17
- ${require('../components/_global/html/head.html')}
18
- </head>
19
-
20
- <body class="qld__grid">
21
- <!--noindex-->
22
- ${require('../components/header/html/component.hbs')({ "site":require('/src/data/site.json') })}
23
- <!--endnoindex-->
24
- ${require('../components/mega_main_navigation/html/component.hbs')({ "site":require('/src/data/site.json') })}
25
-
26
- <main class="main landing" role="main">
27
- <h1 class="sr-only">Index</h1>
28
- <section class="qld__body qld__body--full-width">
29
- <div class="container-fluid">
30
- <div class="row">
31
- <div class="col-lg-6">
32
- <h2>Pages</h2>
33
- <ul class="qld__list">
34
- <li>
35
- <a href="home.html">Home</a>
36
- </li>
37
- <li>
38
- <a href="components.html">Components</a>
39
- </li>
40
- <li>
41
- <a href="inner.html">Inner</a>
42
- </li>
43
- <li>
44
- <a href="inner-with-nav.html">Inner page with Left Navigation</a>
45
- </li>
46
- <li>
47
- <a href="component-forms.html">Forms</a>
48
- </li>
49
- <li>
50
- <a href="location_service_search.html">Location Service Search</a>
51
- </li>
52
- <li>
53
- <a href="location_service_details.html">Location Service Details</a>
54
- </li>
55
- <li>
56
- News & Articles
57
- <ul>
58
- <li>
59
- <a href="article_home.html">Article Home</a>
60
- </li>
61
- <li>
62
- <a href="article_index.html">Article Index</a>
63
- </li>
64
- <li>
65
- <a href="article.html">Article</a>
66
- </li>
67
- <li>
68
- <a href="news_feed.html">News Feed</a>
69
- </li>
70
- <li>
71
- <a href="feature-article.html">Feature Article</a>
72
- </li>
73
- </ul>
74
- </li>
75
- <li>
76
- <a href="sf_service_finder.html">Service Finder</a>
77
- <ul>
78
- <li>
79
- <a href="sf_services_a-z.html">Services A-Z</a>
80
- </li>
81
- <li>
82
- <a href="sf_service_search.html">Service Search</a>
83
- <ul>
84
- <li>
85
- <a href="sf_service_search_v2.html">Service Search -- V2</a>
86
- </li>
87
- </ul>
88
- </li>
89
- <li>
90
- <a href="sf_service_page.html">Service Page</a>
91
- </li>
92
- <li>
93
- <a href="sf_service_location_page.html">Service Location Page</a>
94
- </li>
95
- <li>
96
- <a href="sf_facility_page.html">Facility Page</a>
97
- </li>
98
- </ul>
99
- </li>
100
- <li>
101
- Service Finder - Admin
102
- <ul>
103
- <li>
104
- <a href="sf_admin_list.html">List View</a>
105
- </li>
106
- <li>
107
- <a href="sf_admin_details.html">View Document</a>
108
- </li>
109
- <li>
110
- <a href="sf_admin_form.html">Create/Update Form</a>
111
- </li>
112
- </ul>
113
- </li>
114
- </ul>
115
- </div>
116
- </div>
117
- </div>
118
- </section>
119
- <!-- Page Footer Info -->
120
- ${require('../components/prefooter/html/component.hbs')({ "site":require('/src/data/site.json'), "current":require('/src/data/current.json') })}
121
- </main>
122
- <!-- END MAIN BODY -->
123
-
124
- <!-- FOOTER-->
125
- ${require('../components/footer/html/component.hbs')({ "site":require('/src/data/site.json') })}
126
-
127
- <div class="footer-scripts" id="footer_js" style="display: none !important">${require('../components/_global/html/scripts.html')}</div>
128
- </body>
129
- </html>