@qhealth-design-system/core 1.0.47 → 1.0.49
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/CHANGELOG.md +4 -0
- package/dist/component-tab.html +62 -2
- package/dist/components/_global/import.xml +22 -22
- package/dist/components/_template/import.xml +76 -76
- package/dist/components/abstract/import.xml +58 -58
- package/dist/components/accordion/import.xml +502 -502
- package/dist/components/banner/import.xml +22 -22
- package/dist/components/banner_advanced/import.xml +498 -498
- package/dist/components/banner_basic/import.xml +226 -226
- package/dist/components/banner_intermediate/import.xml +374 -374
- package/dist/components/body/import.xml +84 -84
- package/dist/components/breadcrumbs/import.xml +22 -22
- package/dist/components/callout/import.xml +240 -240
- package/dist/components/card_feature/import.xml +558 -558
- package/dist/components/card_multi_action/import.xml +386 -386
- package/dist/components/card_no_action/import.xml +364 -364
- package/dist/components/card_single_action/import.xml +386 -386
- package/dist/components/code/import.xml +164 -164
- package/dist/components/footer/import.xml +22 -22
- package/dist/components/global_alert/import.xml +22 -22
- package/dist/components/header/import.xml +22 -22
- package/dist/components/horizontal_rule/import.xml +138 -138
- package/dist/components/in_page_navigation/import.xml +62 -62
- package/dist/components/internal_navigation/import.xml +22 -22
- package/dist/components/left_hand_navigation/import.xml +76 -76
- package/dist/components/main_navigation/import.xml +22 -22
- package/dist/components/mega_main_navigation/import.xml +22 -22
- package/dist/components/multi_column/import.xml +414 -414
- package/dist/components/page_alert/import.xml +120 -120
- package/dist/components/pagination/import.xml +22 -22
- package/dist/components/tab/import.xml +894 -578
- package/dist/components/tab/manifest.json +40 -0
- package/dist/components/tab/presentation.js +342 -157
- package/dist/components/tab/static.html +12 -0
- package/dist/components/updated_date/import.xml +22 -22
- package/dist/components/widgets/import.xml +22 -22
- package/dist/inner-with-nav.html +12 -0
- package/dist/main.css +1 -1
- package/dist/main.css.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/components/_global/css/admin/component.scss +65 -1
- package/src/components/_global/css/body/component.scss +4 -0
- package/src/components/_global/css/table/component.scss +2 -2
- package/src/components/mega_main_navigation/css/component.scss +6 -0
- package/src/components/tab/css/component.scss +8 -1
- package/src/components/tab/html/component.hbs +47 -0
- package/src/components/tab/js/manifest.json +40 -0
- package/src/styles/imports/Untitled-1.html +39 -0
package/package-lock.json
CHANGED
package/package.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
background-position: right 10px center;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.qld__table .qld__table__cell.qld__admin_row-actions {
|
|
40
|
+
.qld__table .qld__table__cell.qld__admin_row-actions, table .qld__table__cell.qld__admin_row-actions {
|
|
41
41
|
text-align: right;
|
|
42
42
|
.qld__btn {
|
|
43
43
|
margin: 3px 0;
|
|
@@ -79,4 +79,68 @@
|
|
|
79
79
|
position: absolute;
|
|
80
80
|
opacity: 0;
|
|
81
81
|
}
|
|
82
|
+
|
|
83
|
+
.flatpickr {
|
|
84
|
+
display: flex;
|
|
85
|
+
position: relative;
|
|
86
|
+
|
|
87
|
+
.date-list {
|
|
88
|
+
position: static;
|
|
89
|
+
opacity: 1;
|
|
90
|
+
min-height: 3rem;
|
|
91
|
+
height: auto;
|
|
92
|
+
width: 9.5rem;
|
|
93
|
+
|
|
94
|
+
span {
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
line-height: 1.5rem;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.remove-date {
|
|
101
|
+
background-color: transparent;
|
|
102
|
+
border: 0;
|
|
103
|
+
padding: 0;
|
|
104
|
+
margin-left: pxToRem(16);
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
|
|
107
|
+
&:hover, &:focus {
|
|
108
|
+
opacity: 0.5;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
svg {
|
|
112
|
+
height: pxToRem(13);
|
|
113
|
+
width: pxToRem(13);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.multiple {
|
|
119
|
+
input[type=text] {
|
|
120
|
+
position: absolute;
|
|
121
|
+
opacity: 0;
|
|
122
|
+
height: 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.date-button {
|
|
127
|
+
background: transparent;
|
|
128
|
+
border-radius: 4px;
|
|
129
|
+
cursor: pointer;
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
padding: 0 pxToRem(12);
|
|
133
|
+
max-height: pxToRem(48);
|
|
134
|
+
margin-left: pxToRem(7);
|
|
135
|
+
|
|
136
|
+
&:hover,&:focus {
|
|
137
|
+
background: #dee0e2;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
svg {
|
|
141
|
+
height: 1.125rem;
|
|
142
|
+
width: 1.125rem;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
82
146
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// - globals
|
|
8
8
|
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
9
9
|
|
|
10
|
-
.qld__table {
|
|
10
|
+
.qld__table, table {
|
|
11
11
|
border-collapse: collapse;
|
|
12
12
|
border-spacing: 0;
|
|
13
13
|
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.qld__table.qld__table--striped{
|
|
66
|
+
.qld__table.qld__table--striped, table.qld__table--striped{
|
|
67
67
|
|
|
68
68
|
.qld__table__body,
|
|
69
69
|
tbody{
|
|
@@ -324,6 +324,8 @@
|
|
|
324
324
|
background-color: var(--QLD-color-light-background);
|
|
325
325
|
text-decoration: underline;
|
|
326
326
|
|
|
327
|
+
|
|
328
|
+
|
|
327
329
|
.qld__main-nav__sub-item-text .qld__icon{
|
|
328
330
|
@include QLD-space(margin, 0 -4px 0 1unit);
|
|
329
331
|
color: var(--QLD-color-light-alt-button__hover);
|
|
@@ -365,6 +367,10 @@
|
|
|
365
367
|
border-color: var(--QLD-color-light-button);
|
|
366
368
|
background-color: var(--QLD-color-light-background);
|
|
367
369
|
|
|
370
|
+
@include QLD-media(lg) {
|
|
371
|
+
background-color: transparent;
|
|
372
|
+
}
|
|
373
|
+
|
|
368
374
|
.qld__main-nav__sub-item-text .qld__icon{
|
|
369
375
|
@include QLD-space(margin, 0 -4px 0 1unit);
|
|
370
376
|
color: var(--QLD-color-light-alt-button__hover);
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
4
|
|
|
5
5
|
.qld__tab {
|
|
6
|
+
|
|
7
|
+
&-intro{
|
|
8
|
+
@include QLD-space(padding-bottom, 1.5unit);
|
|
9
|
+
@include QLD-media(lg) {
|
|
10
|
+
@include QLD-space(padding-bottom, 2unit);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
6
13
|
|
|
7
14
|
&s {
|
|
8
15
|
display: flex;
|
|
@@ -396,7 +403,7 @@
|
|
|
396
403
|
}
|
|
397
404
|
}
|
|
398
405
|
|
|
399
|
-
|
|
406
|
+
*:not(.row) + .qld__tab-container {
|
|
400
407
|
margin-top: 32px;
|
|
401
408
|
}
|
|
402
409
|
|
|
@@ -2,6 +2,53 @@
|
|
|
2
2
|
{{#with component.data}}
|
|
3
3
|
<section class="qld__body{{#if metadata.theme.value}} qld__body--{{metadata.theme.value}}{{/if}}{{#ifCond metadata.display.value '==' 'full'}} qld__body--full-width tab-section{{/ifCond}}" id="{{#if metadata.id_field.value}}{{metadata.id_field.value}}{{else}}tag-{{assetid}}{{/if}}">
|
|
4
4
|
<div class="container-fluid">
|
|
5
|
+
|
|
6
|
+
{{#if metadata.intro_heading.value}}
|
|
7
|
+
<div class="row">
|
|
8
|
+
|
|
9
|
+
<div class="qld__tab-intro col-xs-12 {{metadata.intro_width.value}}">
|
|
10
|
+
|
|
11
|
+
{{#ifCond metadata.intro_heading_level.value '==' 'h5'}}
|
|
12
|
+
<h5>{{metadata.intro_heading.value}}</h5>
|
|
13
|
+
{{else ifCond metadata.intro_heading_level.value '==' 'h4'}}
|
|
14
|
+
<h4>{{metadata.intro_heading.value}}</h4>
|
|
15
|
+
{{else ifCond metadata.intro_heading_level.value '==' 'h3'}}
|
|
16
|
+
<h3>{{metadata.intro_heading.value}}</h3>
|
|
17
|
+
{{else}}
|
|
18
|
+
<h2>{{metadata.intro_heading.value}}</h2>
|
|
19
|
+
{{/ifCond}}
|
|
20
|
+
|
|
21
|
+
{{#if metadata.intro_body.value}}
|
|
22
|
+
{{{metadata.intro_body.value}}}
|
|
23
|
+
{{/if}}
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
{{else}}
|
|
28
|
+
{{#if metadata.intro_body.value}}
|
|
29
|
+
<div class="row">
|
|
30
|
+
|
|
31
|
+
<div class="qld__tab-intro col-xs-12 {{metadata.intro_width.value}}">
|
|
32
|
+
|
|
33
|
+
{{#if metadata.intro_heading.value}}
|
|
34
|
+
{{#ifCond metadata.intro_heading_level.value '==' 'h5'}}
|
|
35
|
+
<h5>{{metadata.intro_heading.value}}</h5>
|
|
36
|
+
{{else ifCond metadata.intro_heading_level.value '==' 'h4'}}
|
|
37
|
+
<h4>{{metadata.intro_heading.value}}</h4>
|
|
38
|
+
{{else ifCond metadata.intro_heading_level.value '==' 'h3'}}
|
|
39
|
+
<h3>{{metadata.intro_heading.value}}</h3>
|
|
40
|
+
{{else}}
|
|
41
|
+
<h2>{{metadata.intro_heading.value}}</h2>
|
|
42
|
+
{{/ifCond}}
|
|
43
|
+
{{/if}}
|
|
44
|
+
|
|
45
|
+
{{{metadata.intro_body.value}}}
|
|
46
|
+
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
{{/if}}
|
|
50
|
+
{{/if}}
|
|
51
|
+
|
|
5
52
|
<div class="qld__tab-container{{#if metadata.theme.value}} qld__tab-container--{{metadata.theme.value}}{{/if}} qld__tab-container__fixed" id="tab-{{assetid}}">
|
|
6
53
|
<button class="qld__tab-nav__item-scroll tab-overflow-nav-button-left" aria-hidden="true" aria-label="Scroll tab buttons left" tabindex="-1"><i class="fa-solid fa-chevron-left"></i></button>
|
|
7
54
|
<button class="qld__tab-nav__item-scroll tab-overflow-nav-button-right" aria-hidden="true" aria-label="Scroll tab buttons right" tabindex="-1"><i class="fa-solid fa-chevron-right"></i></button>
|
|
@@ -33,6 +33,46 @@
|
|
|
33
33
|
"required": false,
|
|
34
34
|
"editable": true
|
|
35
35
|
},
|
|
36
|
+
"intro_width": {
|
|
37
|
+
"type": "metadata_field_select",
|
|
38
|
+
"description": "",
|
|
39
|
+
"friendly_name": "Intro width",
|
|
40
|
+
"value": "col-md-6",
|
|
41
|
+
"options": {
|
|
42
|
+
"col-md-6": "Half width",
|
|
43
|
+
"col-md-12": "Full width"
|
|
44
|
+
},
|
|
45
|
+
"required": false,
|
|
46
|
+
"editable": true
|
|
47
|
+
},
|
|
48
|
+
"intro_heading": {
|
|
49
|
+
"type": "metadata_field_text",
|
|
50
|
+
"description": "",
|
|
51
|
+
"friendly_name": "Intro heading",
|
|
52
|
+
"value": "Intro heading",
|
|
53
|
+
"required": false,
|
|
54
|
+
"editable": true
|
|
55
|
+
},
|
|
56
|
+
"intro_heading_level": {
|
|
57
|
+
"type": "metadata_field_select",
|
|
58
|
+
"description": "",
|
|
59
|
+
"friendly_name": "Intro heading level",
|
|
60
|
+
"value": "h2",
|
|
61
|
+
"options": {
|
|
62
|
+
"h2": "h2",
|
|
63
|
+
"h3": "h3",
|
|
64
|
+
"h4": "h4",
|
|
65
|
+
"h5": "h5"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"intro_body": {
|
|
69
|
+
"type": "metadata_field_wysiwyg",
|
|
70
|
+
"description": "",
|
|
71
|
+
"friendly_name": "Intro body",
|
|
72
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
73
|
+
"required": false,
|
|
74
|
+
"editable": true
|
|
75
|
+
},
|
|
36
76
|
"type": {
|
|
37
77
|
"type": "metadata_field_select",
|
|
38
78
|
"description": "",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<table style="width: 100%">
|
|
2
|
+
<tbody class="qld__table__body">
|
|
3
|
+
<tr class="qld__table__row">
|
|
4
|
+
<td class="qld__table__cell"><p>Time</p></td>
|
|
5
|
+
<td class="qld__table__cell"><p>Fee</p></td>
|
|
6
|
+
<td class="qld__table__cell"><p>Concession</p></td>
|
|
7
|
+
</tr>
|
|
8
|
+
<tr class="qld__table__row">
|
|
9
|
+
<td class="qld__table__cell"><p>Less than 20 minutes</p></td>
|
|
10
|
+
<td class="qld__table__cell"><p>Free</p></td>
|
|
11
|
+
<td class="qld__table__cell"><p>Free</p></td>
|
|
12
|
+
</tr>
|
|
13
|
+
<tr class="qld__table__row">
|
|
14
|
+
<td class="qld__table__cell"><p>20 mins to 1 hour</p></td>
|
|
15
|
+
<td class="qld__table__cell"><p>$2.00</p></td>
|
|
16
|
+
<td class="qld__table__cell"><p>$2.00</p></td>
|
|
17
|
+
</tr>
|
|
18
|
+
<tr class="qld__table__row">
|
|
19
|
+
<td class="qld__table__cell"><p>1 to 3 hours</p></td>
|
|
20
|
+
<td class="qld__table__cell"><p>$4.00</p></td>
|
|
21
|
+
<td class="qld__table__cell"><p>$2.00</p></td>
|
|
22
|
+
</tr>
|
|
23
|
+
<tr class="qld__table__row">
|
|
24
|
+
<td class="qld__table__cell"><p>3 to 4 hours</p></td>
|
|
25
|
+
<td class="qld__table__cell"><p>$6.00</p></td>
|
|
26
|
+
<td class="qld__table__cell"><p>$3.00</p></td>
|
|
27
|
+
</tr>
|
|
28
|
+
<tr class="qld__table__row">
|
|
29
|
+
<td class="qld__table__cell"><p>4 to 6 hours</p></td>
|
|
30
|
+
<td class="qld__table__cell"><p>$8.00</p></td>
|
|
31
|
+
<td class="qld__table__cell"><p>$4.00</p></td>
|
|
32
|
+
</tr>
|
|
33
|
+
<tr class="qld__table__row">
|
|
34
|
+
<td class="qld__table__cell"><p>6 to 24 hours</p></td>
|
|
35
|
+
<td class="qld__table__cell"><p>$10.00</p></td>
|
|
36
|
+
<td class="qld__table__cell"><p>$5.00</p></td>
|
|
37
|
+
</tr>
|
|
38
|
+
</tbody>
|
|
39
|
+
</table>
|