@brightspace-ui/core 3.321.3 → 3.323.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.
- package/components/empty-state/README.md +13 -13
- package/components/empty-state/empty-state-action-button.js +2 -76
- package/components/empty-state/empty-state-action-link.js +2 -38
- package/components/empty-state/empty-state-illustrated.js +4 -126
- package/components/empty-state/empty-state-simple.js +7 -6
- package/components/empty-state/empty-state-styles.js +1 -88
- package/components/filter/filter.js +7 -7
- package/components/state/state-action-button.js +88 -0
- package/components/state/state-action-link.js +45 -0
- package/components/state/state-illustrated.js +129 -0
- package/components/{empty-state/empty-state-mixin.js → state/state-mixin.js} +3 -3
- package/components/state/state-styles.js +96 -0
- package/custom-elements.json +202 -18
- package/package.json +2 -2
- package/templates/primary-secondary/primary-secondary.js +44 -4
- /package/components/{empty-state → state}/images/assembly-line.svg +0 -0
- /package/components/{empty-state → state}/images/blueprint.svg +0 -0
- /package/components/{empty-state → state}/images/calendar.svg +0 -0
- /package/components/{empty-state → state}/images/cat-computer.svg +0 -0
- /package/components/{empty-state → state}/images/checklist.svg +0 -0
- /package/components/{empty-state → state}/images/data-tracking.svg +0 -0
- /package/components/{empty-state → state}/images/desert-road.svg +0 -0
- /package/components/{empty-state → state}/images/fish-hook.svg +0 -0
- /package/components/{empty-state → state}/images/oven.svg +0 -0
- /package/components/{empty-state → state}/images/pipeline.svg +0 -0
- /package/components/{empty-state → state}/images/race.svg +0 -0
- /package/components/{empty-state → state}/images/rockets.svg +0 -0
- /package/components/{empty-state → state}/images/tumbleweed.svg +0 -0
- /package/generated/{empty-state → state}/assembly-line.js +0 -0
- /package/generated/{empty-state → state}/blueprint.js +0 -0
- /package/generated/{empty-state → state}/calendar.js +0 -0
- /package/generated/{empty-state → state}/cat-computer.js +0 -0
- /package/generated/{empty-state → state}/checklist.js +0 -0
- /package/generated/{empty-state → state}/data-tracking.js +0 -0
- /package/generated/{empty-state → state}/desert-road.js +0 -0
- /package/generated/{empty-state → state}/fish-hook.js +0 -0
- /package/generated/{empty-state → state}/oven.js +0 -0
- /package/generated/{empty-state → state}/pipeline.js +0 -0
- /package/generated/{empty-state → state}/presetIllustrationLoader.js +0 -0
- /package/generated/{empty-state → state}/race.js +0 -0
- /package/generated/{empty-state → state}/rockets.js +0 -0
- /package/generated/{empty-state → state}/tumbleweed.js +0 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { html, LitElement, nothing } from 'lit';
|
|
2
|
+
import { stateIllustratedStyles, stateStyles } from './state-styles.js';
|
|
3
|
+
import { bodyCompactStyles } from '../typography/styles.js';
|
|
4
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
5
|
+
import { LoadingCompleteMixin } from '../../mixins/loading-complete/loading-complete-mixin.js';
|
|
6
|
+
import { loadSvg } from '../../generated/state/presetIllustrationLoader.js';
|
|
7
|
+
import { runAsync } from '../../directives/run-async/run-async.js';
|
|
8
|
+
import { StateMixin } from './state-mixin.js';
|
|
9
|
+
import { styleMap } from 'lit/directives/style-map.js';
|
|
10
|
+
import { unsafeSVG } from 'lit/directives/unsafe-svg.js';
|
|
11
|
+
|
|
12
|
+
const illustrationAspectRatio = 500 / 330;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The `d2l-state-illustrated` component is an state component that displays a title and description with an illustration. An state action component can be placed inside of the default slot to add an optional action.
|
|
16
|
+
* @slot - Slot for state actions
|
|
17
|
+
* @slot illustration - Slot for custom SVG content if `illustration-name` property is not set
|
|
18
|
+
*/
|
|
19
|
+
export class StateIllustrated extends LoadingCompleteMixin(StateMixin(LitElement)) { // Exported to support old empty-state components, once they are removed this can be made internal only
|
|
20
|
+
|
|
21
|
+
static properties = {
|
|
22
|
+
/**
|
|
23
|
+
* REQUIRED: A description giving details about the state
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
description: { type: String, required: true },
|
|
27
|
+
/**
|
|
28
|
+
* The name of the preset image you would like to display in the component
|
|
29
|
+
* @type {string}
|
|
30
|
+
*/
|
|
31
|
+
illustrationName: { type: String, attribute: 'illustration-name' },
|
|
32
|
+
/**
|
|
33
|
+
* REQUIRED: A title for the state
|
|
34
|
+
* @type {string}
|
|
35
|
+
*/
|
|
36
|
+
titleText: { type: String, attribute: 'title-text', required: true },
|
|
37
|
+
_contentHeight: { state: true },
|
|
38
|
+
_titleSmall: { state: true }
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
static styles = [bodyCompactStyles, stateStyles, stateIllustratedStyles];
|
|
42
|
+
|
|
43
|
+
constructor() {
|
|
44
|
+
super();
|
|
45
|
+
this._contentHeight = 330;
|
|
46
|
+
this._resizeObserver = new ResizeObserver(this._onResize.bind(this));
|
|
47
|
+
this._titleSmall = false;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
connectedCallback() {
|
|
51
|
+
super.connectedCallback();
|
|
52
|
+
this.addEventListener('d2l-state-illustrated-check', this.#handleStateIllustratedCheck);
|
|
53
|
+
this._resizeObserver.observe(this);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
disconnectedCallback() {
|
|
57
|
+
super.disconnectedCallback();
|
|
58
|
+
this.removeEventListener('d2l-state-illustrated-check', this.#handleStateIllustratedCheck);
|
|
59
|
+
this._resizeObserver.disconnect();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
render() {
|
|
63
|
+
const titleClass = {
|
|
64
|
+
'd2l-state-title': true,
|
|
65
|
+
'd2l-state-title-small': this._titleSmall,
|
|
66
|
+
'd2l-state-title-large': !this._titleSmall,
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
return html`
|
|
70
|
+
${this.#renderIllustration()}
|
|
71
|
+
<p class="${classMap(titleClass)}">${this.titleText}</p>
|
|
72
|
+
<p class="d2l-body-compact d2l-state-description" tabindex="-1">${this.description}</p>
|
|
73
|
+
<slot class="action-slot"></slot>
|
|
74
|
+
`;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
_onResize(entries) {
|
|
78
|
+
if (!entries || entries.length === 0) return;
|
|
79
|
+
const entry = entries[0];
|
|
80
|
+
|
|
81
|
+
const width = entry.contentRect.width;
|
|
82
|
+
if (width === 0) return; // ignore until visible
|
|
83
|
+
|
|
84
|
+
requestAnimationFrame(() => {
|
|
85
|
+
this._contentHeight = Math.min(entry.contentRect.right / illustrationAspectRatio, 330);
|
|
86
|
+
this._titleSmall = entry.contentRect.right <= 615;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
async #getIllustration(illustrationName) {
|
|
91
|
+
if (!illustrationName) return;
|
|
92
|
+
|
|
93
|
+
const svg = await loadSvg(illustrationName);
|
|
94
|
+
if (!svg) setTimeout(() => {
|
|
95
|
+
throw new Error(`<d2l-state-illustrated-${this._illustratedComponentType}>: Unable to retrieve requested illustration.`);
|
|
96
|
+
});
|
|
97
|
+
return svg ? html`${unsafeSVG(svg.val)}` : nothing;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
#handleStateIllustratedCheck(e) {
|
|
101
|
+
e.stopPropagation();
|
|
102
|
+
e.detail.illustrated = true;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#renderIllustration() {
|
|
106
|
+
if (!this.illustrationName) {
|
|
107
|
+
this.resolveLoadingComplete();
|
|
108
|
+
return html`<slot class="illustration-slot" name="illustration"></slot>`;
|
|
109
|
+
}
|
|
110
|
+
const illustrationContainerStyle = {
|
|
111
|
+
height: `${this._contentHeight}px`,
|
|
112
|
+
};
|
|
113
|
+
const asyncVal = runAsync(
|
|
114
|
+
this.illustrationName,
|
|
115
|
+
() => this.#getIllustration(this.illustrationName),
|
|
116
|
+
{
|
|
117
|
+
success: illustration => {
|
|
118
|
+
this.resolveLoadingComplete();
|
|
119
|
+
return illustration;
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{ pendingState: false }
|
|
123
|
+
);
|
|
124
|
+
return html`<div style="${styleMap(illustrationContainerStyle)}">${asyncVal}</div>`;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
customElements.define('d2l-state-illustrated', StateIllustrated);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { PropertyRequiredMixin } from '../../mixins/property-required/property-required-mixin.js';
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const StateMixin = superclass => class extends PropertyRequiredMixin(superclass) {
|
|
4
4
|
|
|
5
5
|
focus() {
|
|
6
6
|
if (!this.hasUpdated) {
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
9
|
const action = this.shadowRoot?.querySelector('.action-slot').assignedElements().find(
|
|
10
|
-
el => el.
|
|
10
|
+
el => el.isStateActionButton || el.isStateActionLink
|
|
11
11
|
);
|
|
12
12
|
if (action !== undefined) {
|
|
13
13
|
action.focus();
|
|
14
14
|
return;
|
|
15
15
|
}
|
|
16
|
-
const title = this.shadowRoot?.querySelector('.d2l-
|
|
16
|
+
const title = this.shadowRoot?.querySelector('.d2l-state-description');
|
|
17
17
|
if (title !== null) {
|
|
18
18
|
title.focus();
|
|
19
19
|
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import '../colors/colors.js';
|
|
2
|
+
import { css } from 'lit';
|
|
3
|
+
import { getFocusRingStyles } from '../../helpers/focus.js';
|
|
4
|
+
|
|
5
|
+
export const stateStyles = css`
|
|
6
|
+
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host([hidden]) {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.action-slot::slotted(*) {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.action-slot::slotted(d2l-state-action-button:first-of-type),
|
|
20
|
+
.action-slot::slotted(d2l-state-action-link:first-of-type) {
|
|
21
|
+
display: inline;
|
|
22
|
+
}
|
|
23
|
+
.d2l-state-description {
|
|
24
|
+
--d2l-focus-ring-offset: 3px;
|
|
25
|
+
border-radius: 0.3rem;
|
|
26
|
+
}
|
|
27
|
+
${getFocusRingStyles('.d2l-state-description')}
|
|
28
|
+
`;
|
|
29
|
+
|
|
30
|
+
export const stateSimpleStyles = css`
|
|
31
|
+
|
|
32
|
+
:host {
|
|
33
|
+
border: 1px solid var(--d2l-color-mica);
|
|
34
|
+
border-radius: 0.3rem;
|
|
35
|
+
padding: 1.2rem 1.5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:host([description]) .state-container {
|
|
39
|
+
align-items: center;
|
|
40
|
+
column-gap: 0.75rem;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-wrap: wrap;
|
|
43
|
+
padding-inline-start: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.d2l-state-description {
|
|
47
|
+
margin: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
`;
|
|
51
|
+
|
|
52
|
+
export const stateIllustratedStyles = css`
|
|
53
|
+
|
|
54
|
+
:host {
|
|
55
|
+
text-align: center;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.illustration-slot::slotted(*) {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.illustration-slot::slotted(img:first-of-type),
|
|
63
|
+
.illustration-slot::slotted(svg:first-of-type) {
|
|
64
|
+
display: inline-block;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
svg {
|
|
68
|
+
height: 100%;
|
|
69
|
+
max-width: 500px;
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.d2l-state-title {
|
|
74
|
+
margin-bottom: 0.9rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.d2l-state-title-large {
|
|
78
|
+
font-size: 1.5rem;
|
|
79
|
+
line-height: 1.8rem;
|
|
80
|
+
margin: 1rem 0 1.5rem 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.d2l-state-title-small {
|
|
84
|
+
font-size: 1rem;
|
|
85
|
+
font-weight: 700;
|
|
86
|
+
line-height: 1.5rem;
|
|
87
|
+
margin-top: 0.5rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.d2l-state-description {
|
|
91
|
+
margin: 0 auto 0.8rem;
|
|
92
|
+
max-width: 500px;
|
|
93
|
+
width: 100%;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
`;
|
package/custom-elements.json
CHANGED
|
@@ -4511,7 +4511,6 @@
|
|
|
4511
4511
|
{
|
|
4512
4512
|
"name": "d2l-empty-state-action-button",
|
|
4513
4513
|
"path": "./components/empty-state/empty-state-action-button.js",
|
|
4514
|
-
"description": "`d2l-empty-state-action-button` is an empty state action component that can be placed inside of the default slot of `empty-state-simple` or `empty-state-illustrated` to add a button action to the component.",
|
|
4515
4514
|
"attributes": [
|
|
4516
4515
|
{
|
|
4517
4516
|
"name": "text",
|
|
@@ -4520,7 +4519,7 @@
|
|
|
4520
4519
|
},
|
|
4521
4520
|
{
|
|
4522
4521
|
"name": "primary",
|
|
4523
|
-
"description": "This will change the action button to use a primary button instead of the default subtle button. The primary attribute is only valid when `d2l-
|
|
4522
|
+
"description": "This will change the action button to use a primary button instead of the default subtle button. The primary attribute is only valid when `d2l-state-action-button` is placed within `d2l-state-illustrated` components",
|
|
4524
4523
|
"type": "boolean"
|
|
4525
4524
|
}
|
|
4526
4525
|
],
|
|
@@ -4534,21 +4533,28 @@
|
|
|
4534
4533
|
{
|
|
4535
4534
|
"name": "primary",
|
|
4536
4535
|
"attribute": "primary",
|
|
4537
|
-
"description": "This will change the action button to use a primary button instead of the default subtle button. The primary attribute is only valid when `d2l-
|
|
4536
|
+
"description": "This will change the action button to use a primary button instead of the default subtle button. The primary attribute is only valid when `d2l-state-action-button` is placed within `d2l-state-illustrated` components",
|
|
4538
4537
|
"type": "boolean"
|
|
4539
4538
|
},
|
|
4540
4539
|
{
|
|
4541
4540
|
"name": "styles",
|
|
4542
|
-
"default": "\"css`\\n\\t\\t.d2l-
|
|
4541
|
+
"default": "\"css`\\n\\t\\t.d2l-state-action {\\n\\t\\t\\tvertical-align: top;\\n\\t\\t}\\n\\t`\""
|
|
4542
|
+
},
|
|
4543
|
+
{
|
|
4544
|
+
"name": "isStateActionButton",
|
|
4545
|
+
"type": "boolean"
|
|
4543
4546
|
}
|
|
4544
4547
|
],
|
|
4545
4548
|
"events": [
|
|
4546
4549
|
{
|
|
4547
|
-
"name": "d2l-empty-state-action"
|
|
4550
|
+
"name": "d2l-empty-state-action"
|
|
4551
|
+
},
|
|
4552
|
+
{
|
|
4553
|
+
"name": "d2l-state-action",
|
|
4548
4554
|
"description": "Dispatched when the action button is clicked"
|
|
4549
4555
|
},
|
|
4550
4556
|
{
|
|
4551
|
-
"name": "d2l-
|
|
4557
|
+
"name": "d2l-state-illustrated-check",
|
|
4552
4558
|
"description": "Internal event"
|
|
4553
4559
|
}
|
|
4554
4560
|
]
|
|
@@ -4556,11 +4562,10 @@
|
|
|
4556
4562
|
{
|
|
4557
4563
|
"name": "d2l-empty-state-action-link",
|
|
4558
4564
|
"path": "./components/empty-state/empty-state-action-link.js",
|
|
4559
|
-
"description": "`d2l-empty-state-action-link` is an empty state action component that can be placed inside of the default slot of `empty-state-simple` or `empty-state-illustrated` to add a link action to the component.",
|
|
4560
4565
|
"attributes": [
|
|
4561
4566
|
{
|
|
4562
4567
|
"name": "text",
|
|
4563
|
-
"description": "REQUIRED: The action text to be used in the
|
|
4568
|
+
"description": "REQUIRED: The action text to be used in the link",
|
|
4564
4569
|
"type": "string"
|
|
4565
4570
|
},
|
|
4566
4571
|
{
|
|
@@ -4583,9 +4588,13 @@
|
|
|
4583
4588
|
{
|
|
4584
4589
|
"name": "text",
|
|
4585
4590
|
"attribute": "text",
|
|
4586
|
-
"description": "REQUIRED: The action text to be used in the
|
|
4591
|
+
"description": "REQUIRED: The action text to be used in the link",
|
|
4587
4592
|
"type": "string"
|
|
4588
4593
|
},
|
|
4594
|
+
{
|
|
4595
|
+
"name": "isStateActionLink",
|
|
4596
|
+
"type": "boolean"
|
|
4597
|
+
},
|
|
4589
4598
|
{
|
|
4590
4599
|
"name": "download",
|
|
4591
4600
|
"attribute": "download",
|
|
@@ -4614,11 +4623,10 @@
|
|
|
4614
4623
|
{
|
|
4615
4624
|
"name": "d2l-empty-state-illustrated",
|
|
4616
4625
|
"path": "./components/empty-state/empty-state-illustrated.js",
|
|
4617
|
-
"description": "The `d2l-empty-state-illustrated` component is an empty state component that displays a title and description with an illustration. An empty state action component can be placed inside of the default slot to add an optional action.",
|
|
4618
4626
|
"attributes": [
|
|
4619
4627
|
{
|
|
4620
4628
|
"name": "description",
|
|
4621
|
-
"description": "REQUIRED: A description giving details about the
|
|
4629
|
+
"description": "REQUIRED: A description giving details about the state",
|
|
4622
4630
|
"type": "string"
|
|
4623
4631
|
},
|
|
4624
4632
|
{
|
|
@@ -4628,7 +4636,7 @@
|
|
|
4628
4636
|
},
|
|
4629
4637
|
{
|
|
4630
4638
|
"name": "title-text",
|
|
4631
|
-
"description": "REQUIRED: A title for the
|
|
4639
|
+
"description": "REQUIRED: A title for the state",
|
|
4632
4640
|
"type": "string"
|
|
4633
4641
|
}
|
|
4634
4642
|
],
|
|
@@ -4636,7 +4644,7 @@
|
|
|
4636
4644
|
{
|
|
4637
4645
|
"name": "description",
|
|
4638
4646
|
"attribute": "description",
|
|
4639
|
-
"description": "REQUIRED: A description giving details about the
|
|
4647
|
+
"description": "REQUIRED: A description giving details about the state",
|
|
4640
4648
|
"type": "string"
|
|
4641
4649
|
},
|
|
4642
4650
|
{
|
|
@@ -4648,13 +4656,13 @@
|
|
|
4648
4656
|
{
|
|
4649
4657
|
"name": "titleText",
|
|
4650
4658
|
"attribute": "title-text",
|
|
4651
|
-
"description": "REQUIRED: A title for the
|
|
4659
|
+
"description": "REQUIRED: A title for the state",
|
|
4652
4660
|
"type": "string"
|
|
4653
4661
|
},
|
|
4654
4662
|
{
|
|
4655
4663
|
"name": "styles",
|
|
4656
4664
|
"type": "array",
|
|
4657
|
-
"default": "[\"
|
|
4665
|
+
"default": "[\"styles\",\"emptyStateStyles\"]"
|
|
4658
4666
|
},
|
|
4659
4667
|
{
|
|
4660
4668
|
"name": "loadingComplete",
|
|
@@ -4668,7 +4676,7 @@
|
|
|
4668
4676
|
"slots": [
|
|
4669
4677
|
{
|
|
4670
4678
|
"name": "",
|
|
4671
|
-
"description": "Slot for
|
|
4679
|
+
"description": "Slot for state actions"
|
|
4672
4680
|
},
|
|
4673
4681
|
{
|
|
4674
4682
|
"name": "illustration",
|
|
@@ -4697,7 +4705,7 @@
|
|
|
4697
4705
|
{
|
|
4698
4706
|
"name": "styles",
|
|
4699
4707
|
"type": "array",
|
|
4700
|
-
"default": "[\"bodyCompactStyles\",\"
|
|
4708
|
+
"default": "[\"bodyCompactStyles\",\"stateStyles\",\"stateSimpleStyles\",\"emptyStateStyles\"]"
|
|
4701
4709
|
}
|
|
4702
4710
|
],
|
|
4703
4711
|
"slots": [
|
|
@@ -15867,6 +15875,182 @@
|
|
|
15867
15875
|
}
|
|
15868
15876
|
]
|
|
15869
15877
|
},
|
|
15878
|
+
{
|
|
15879
|
+
"name": "d2l-state-action-button",
|
|
15880
|
+
"path": "./components/state/state-action-button.js",
|
|
15881
|
+
"description": "`d2l-state-action-button` is an state action component that can be placed inside of the default slot of state components to add a button action.",
|
|
15882
|
+
"attributes": [
|
|
15883
|
+
{
|
|
15884
|
+
"name": "text",
|
|
15885
|
+
"description": "REQUIRED: The action text to be used in the button",
|
|
15886
|
+
"type": "string"
|
|
15887
|
+
},
|
|
15888
|
+
{
|
|
15889
|
+
"name": "primary",
|
|
15890
|
+
"description": "This will change the action button to use a primary button instead of the default subtle button. The primary attribute is only valid when `d2l-state-action-button` is placed within `d2l-state-illustrated` components",
|
|
15891
|
+
"type": "boolean"
|
|
15892
|
+
}
|
|
15893
|
+
],
|
|
15894
|
+
"properties": [
|
|
15895
|
+
{
|
|
15896
|
+
"name": "text",
|
|
15897
|
+
"attribute": "text",
|
|
15898
|
+
"description": "REQUIRED: The action text to be used in the button",
|
|
15899
|
+
"type": "string"
|
|
15900
|
+
},
|
|
15901
|
+
{
|
|
15902
|
+
"name": "primary",
|
|
15903
|
+
"attribute": "primary",
|
|
15904
|
+
"description": "This will change the action button to use a primary button instead of the default subtle button. The primary attribute is only valid when `d2l-state-action-button` is placed within `d2l-state-illustrated` components",
|
|
15905
|
+
"type": "boolean"
|
|
15906
|
+
},
|
|
15907
|
+
{
|
|
15908
|
+
"name": "styles",
|
|
15909
|
+
"default": "\"css`\\n\\t\\t.d2l-state-action {\\n\\t\\t\\tvertical-align: top;\\n\\t\\t}\\n\\t`\""
|
|
15910
|
+
},
|
|
15911
|
+
{
|
|
15912
|
+
"name": "isStateActionButton",
|
|
15913
|
+
"type": "boolean"
|
|
15914
|
+
}
|
|
15915
|
+
],
|
|
15916
|
+
"events": [
|
|
15917
|
+
{
|
|
15918
|
+
"name": "d2l-state-action",
|
|
15919
|
+
"description": "Dispatched when the action button is clicked"
|
|
15920
|
+
},
|
|
15921
|
+
{
|
|
15922
|
+
"name": "d2l-state-illustrated-check",
|
|
15923
|
+
"description": "Internal event"
|
|
15924
|
+
}
|
|
15925
|
+
]
|
|
15926
|
+
},
|
|
15927
|
+
{
|
|
15928
|
+
"name": "d2l-state-action-link",
|
|
15929
|
+
"path": "./components/state/state-action-link.js",
|
|
15930
|
+
"description": "`d2l-state-action-link` is an state action component that can be placed inside of the default slot of state components to add a link action.",
|
|
15931
|
+
"attributes": [
|
|
15932
|
+
{
|
|
15933
|
+
"name": "text",
|
|
15934
|
+
"description": "REQUIRED: The action text to be used in the link",
|
|
15935
|
+
"type": "string"
|
|
15936
|
+
},
|
|
15937
|
+
{
|
|
15938
|
+
"name": "download",
|
|
15939
|
+
"description": "Prompts the user to save the linked URL instead of navigating to it.\nMust be to a resource on the same origin.\nCan be used with or without a value, when set the value becomes the filename.",
|
|
15940
|
+
"type": "string"
|
|
15941
|
+
},
|
|
15942
|
+
{
|
|
15943
|
+
"name": "href",
|
|
15944
|
+
"description": "REQUIRED: The action URL or URL fragment of the link",
|
|
15945
|
+
"type": "string"
|
|
15946
|
+
},
|
|
15947
|
+
{
|
|
15948
|
+
"name": "target",
|
|
15949
|
+
"description": "Where to display the linked URL",
|
|
15950
|
+
"type": "string"
|
|
15951
|
+
}
|
|
15952
|
+
],
|
|
15953
|
+
"properties": [
|
|
15954
|
+
{
|
|
15955
|
+
"name": "text",
|
|
15956
|
+
"attribute": "text",
|
|
15957
|
+
"description": "REQUIRED: The action text to be used in the link",
|
|
15958
|
+
"type": "string"
|
|
15959
|
+
},
|
|
15960
|
+
{
|
|
15961
|
+
"name": "isStateActionLink",
|
|
15962
|
+
"type": "boolean"
|
|
15963
|
+
},
|
|
15964
|
+
{
|
|
15965
|
+
"name": "download",
|
|
15966
|
+
"attribute": "download",
|
|
15967
|
+
"description": "Prompts the user to save the linked URL instead of navigating to it.\nMust be to a resource on the same origin.\nCan be used with or without a value, when set the value becomes the filename.",
|
|
15968
|
+
"type": "string"
|
|
15969
|
+
},
|
|
15970
|
+
{
|
|
15971
|
+
"name": "href",
|
|
15972
|
+
"attribute": "href",
|
|
15973
|
+
"description": "REQUIRED: The action URL or URL fragment of the link",
|
|
15974
|
+
"type": "string"
|
|
15975
|
+
},
|
|
15976
|
+
{
|
|
15977
|
+
"name": "target",
|
|
15978
|
+
"attribute": "target",
|
|
15979
|
+
"description": "Where to display the linked URL",
|
|
15980
|
+
"type": "string"
|
|
15981
|
+
},
|
|
15982
|
+
{
|
|
15983
|
+
"name": "styles",
|
|
15984
|
+
"type": "array",
|
|
15985
|
+
"default": "[\"styles\",\"bodyCompactStyles\",\"linkStyles\"]"
|
|
15986
|
+
}
|
|
15987
|
+
]
|
|
15988
|
+
},
|
|
15989
|
+
{
|
|
15990
|
+
"name": "d2l-state-illustrated",
|
|
15991
|
+
"path": "./components/state/state-illustrated.js",
|
|
15992
|
+
"description": "The `d2l-state-illustrated` component is an state component that displays a title and description with an illustration. An state action component can be placed inside of the default slot to add an optional action.",
|
|
15993
|
+
"attributes": [
|
|
15994
|
+
{
|
|
15995
|
+
"name": "description",
|
|
15996
|
+
"description": "REQUIRED: A description giving details about the state",
|
|
15997
|
+
"type": "string"
|
|
15998
|
+
},
|
|
15999
|
+
{
|
|
16000
|
+
"name": "illustration-name",
|
|
16001
|
+
"description": "The name of the preset image you would like to display in the component",
|
|
16002
|
+
"type": "string"
|
|
16003
|
+
},
|
|
16004
|
+
{
|
|
16005
|
+
"name": "title-text",
|
|
16006
|
+
"description": "REQUIRED: A title for the state",
|
|
16007
|
+
"type": "string"
|
|
16008
|
+
}
|
|
16009
|
+
],
|
|
16010
|
+
"properties": [
|
|
16011
|
+
{
|
|
16012
|
+
"name": "description",
|
|
16013
|
+
"attribute": "description",
|
|
16014
|
+
"description": "REQUIRED: A description giving details about the state",
|
|
16015
|
+
"type": "string"
|
|
16016
|
+
},
|
|
16017
|
+
{
|
|
16018
|
+
"name": "illustrationName",
|
|
16019
|
+
"attribute": "illustration-name",
|
|
16020
|
+
"description": "The name of the preset image you would like to display in the component",
|
|
16021
|
+
"type": "string"
|
|
16022
|
+
},
|
|
16023
|
+
{
|
|
16024
|
+
"name": "titleText",
|
|
16025
|
+
"attribute": "title-text",
|
|
16026
|
+
"description": "REQUIRED: A title for the state",
|
|
16027
|
+
"type": "string"
|
|
16028
|
+
},
|
|
16029
|
+
{
|
|
16030
|
+
"name": "styles",
|
|
16031
|
+
"type": "array",
|
|
16032
|
+
"default": "[\"bodyCompactStyles\",\"stateStyles\",\"stateIllustratedStyles\"]"
|
|
16033
|
+
},
|
|
16034
|
+
{
|
|
16035
|
+
"name": "loadingComplete",
|
|
16036
|
+
"type": "Promise<any>"
|
|
16037
|
+
},
|
|
16038
|
+
{
|
|
16039
|
+
"name": "resolveLoadingComplete",
|
|
16040
|
+
"type": "() => void"
|
|
16041
|
+
}
|
|
16042
|
+
],
|
|
16043
|
+
"slots": [
|
|
16044
|
+
{
|
|
16045
|
+
"name": "",
|
|
16046
|
+
"description": "Slot for state actions"
|
|
16047
|
+
},
|
|
16048
|
+
{
|
|
16049
|
+
"name": "illustration",
|
|
16050
|
+
"description": "Slot for custom SVG content if `illustration-name` property is not set"
|
|
16051
|
+
}
|
|
16052
|
+
]
|
|
16053
|
+
},
|
|
15870
16054
|
{
|
|
15871
16055
|
"name": "d2l-status-indicator",
|
|
15872
16056
|
"path": "./components/status-indicator/status-indicator.js",
|
|
@@ -17855,7 +18039,7 @@
|
|
|
17855
18039
|
},
|
|
17856
18040
|
{
|
|
17857
18041
|
"name": "styles",
|
|
17858
|
-
"default": "\"css`\\n\\t\\t:host,\\n\\t\\t:host > d2l-form {\\n\\t\\t\\tbottom: 0;\\n\\t\\t\\tleft: 0;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t\\tposition: absolute;\\n\\t\\t\\tright: 0;\\n\\t\\t\\ttop: 0;\\n\\t\\t}\\n\\n\\t\\t:host([hidden]) {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\t\\t:host([width-type=\\\"normal\\\"]) .d2l-template-primary-secondary-content,\\n\\t\\t:host([width-type=\\\"normal\\\"]) .d2l-template-primary-secondary-footer {\\n\\t\\t\\tmargin: 0 auto;\\n\\t\\t\\tmax-width: 1230px;\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-container {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: column;\\n\\t\\t\\theight: 100%;\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-content {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\theight: 100%;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t}\\n\\n\\t\\tmain {\\n\\t\\t\\tflex: 2 0 0;\\n\\t\\t\\toverflow-x: hidden;\\n\\t\\t\\ttransition: none;\\n\\t\\t}\\n\\t\\tmain d2l-form-error-summary {\\n\\t\\t\\tmargin-inline: var(--d2l-template-primary-secondary-form-error-inline-margin, 20px);\\n\\t\\t}\\n\\n\\t\\t:host([resizable]) main {\\n\\t\\t\\tflex: 1 0 0;\\n\\t\\t}\\n\\t\\t:host([primary-overflow=\\\"hidden\\\"]) main {\\n\\t\\t\\toverflow: hidden;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\tflex: 1 0 0;\\n\\t\\t\\tmin-width: ${desktopMinSize}px;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t}\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\tflex: none;\\n\\t\\t\\tmin-width: 0;\\n\\t\\t}\\n\\t\\t[data-animate-resize] .d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\ttransition: width 400ms cubic-bezier(0, 0.7, 0.5, 1), height 400ms cubic-bezier(0, 0.7, 0.5, 1);\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-shadow {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\t\\taside {\\n\\t\\t\\theight: 100%;\\n\\t\\t\\tmin-width: ${desktopMinSize}px;\\n\\t\\t\\toverflow-x: hidden;\\n\\t\\t\\toverflow-y: scroll;\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\n\\t\\t/* prevent margin colapse on slotted children */\\n\\t\\taside::before,\\n\\t\\taside::after {\\n\\t\\t\\tcontent: \\\" \\\";\\n\\t\\t\\tdisplay: table;\\n\\t\\t}\\n\\t\\t[data-background-shading=\\\"primary\\\"] > main,\\n\\t\\t[data-background-shading=\\\"secondary\\\"] > .d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\tbackground-color: var(--d2l-color-gypsum);\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-is-collapsed] aside {\\n\\t\\t\\tvisibility: hidden;\\n\\t\\t}\\n\\t\\t:host([resizable]:not([secondary-first])) aside {\\n\\t\\t\\tfloat: inline-start;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider,\\n\\t\\t.d2l-template-primary-secondary-divider-not-resizable {\\n\\t\\t\\tbackground-color: var(--d2l-color-mica);\\n\\t\\t\\tflex: none;\\n\\t\\t\\toutline: none;\\n\\t\\t\\tposition: relative;\\n\\t\\t\\twidth: 1px;\\n\\t\\t\\tz-index: 1;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle {\\n\\t\\t\\tdisplay: none;\\n\\t\\t\\tposition: absolute;\\n\\t\\t\\ttop: calc(50%);\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider {\\n\\t\\t\\tbackground-color: var(--d2l-color-gypsum);\\n\\t\\t\\tcursor: ew-resize;\\n\\t\\t\\twidth: 0.45rem;\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-is-expanded] .d2l-template-primary-secondary-divider {\\n\\t\\t\\tcursor: var(--d2l-cursor-resize-inline-end, e-resize);\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-is-collapsed] .d2l-template-primary-secondary-divider {\\n\\t\\t\\tcursor: var(--d2l-cursor-resize-inline-start, w-resize);\\n\\t\\t}\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider-handle {\\n\\t\\t\\talign-items: center;\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tjustify-content: center;\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-background-shading=\\\"secondary\\\"] .d2l-template-primary-secondary-divider {\\n\\t\\t\\tbox-shadow: calc(1px * var(--d2l-length-factor, 1)) 0 0 0 rgba(0, 0, 0, 0.15);\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-background-shading=\\\"primary\\\"] .d2l-template-primary-secondary-divider {\\n\\t\\t\\tbox-shadow: calc(-1px * var(--d2l-length-factor, 1)) 0 0 0 rgba(0, 0, 0, 0.15);\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-desktop {\\n\\t\\t\\talign-items: center;\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tjustify-content: center;\\n\\t\\t\\tposition: absolute;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-left,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-right {\\n\\t\\t\\tcolor: var(--d2l-color-celestine);\\n\\t\\t\\tdisplay: none;\\n\\t\\t\\tposition: absolute;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-left {\\n\\t\\t\\tinset-inline-start: -1rem;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-right {\\n\\t\\t\\tinset-inline-end: -1rem;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\theight: 0.9rem;\\n\\t\\t\\tjustify-content: space-between;\\n\\t\\t\\twidth: 0.25rem;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\tbackground-color: var(--d2l-color-galena);\\n\\t\\t\\tborder-radius: 0.05rem;\\n\\t\\t\\tcontent: \\\"\\\";\\n\\t\\t\\tdisplay: inline-block;\\n\\t\\t\\twidth: 0.1rem;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle-right,\\n\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle-left {\\n\\t\\t\\tdisplay: block;\\n\\t\\t}\\n\\t\\t:host(:not([secondary-first])) [data-is-expanded] .d2l-template-primary-secondary-divider-handle-left,\\n\\t\\t:host([secondary-first]) [data-is-expanded] .d2l-template-primary-secondary-divider-handle-right {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\t\\td2l-icon {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\n\\t\\tfooter {\\n\\t\\t\\tbackground-color: white;\\n\\t\\t\\tbox-shadow: 0 -2px 4px rgba(32, 33, 34, 0.2); /* ferrite */\\n\\t\\t\\tpadding: 0.75rem 1rem;\\n\\t\\t\\tz-index: 1; /* ensures the footer box-shadow is over main areas with background colours set */\\n\\t\\t}\\n\\t\\theader {\\n\\t\\t\\tz-index: 14; /* ensures the header box-shadow is over main areas with background colours set, and opt-in on top of sticky header */\\n\\t\\t}\\n\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:focus,\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:hover {\\n\\t\\t\\tbackground-color: var(--d2l-color-mica);\\n\\t\\t\\tbox-shadow: none;\\n\\t\\t}\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} {\\n\\t\\t\\tbackground-color: var(--d2l-color-celestine);\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider:focus .d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider:focus .d2l-template-primary-secondary-divider-handle-line::after,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\tbackground-color: var(--d2l-color-ferrite);\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\tbackground-color: white;\\n\\t\\t}\\n\\n\\t\\t.d2l-template-primary-secondary-divider,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-mobile,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\ttransition: background-color 100ms, box-shadow 100ms;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider:hover,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-mobile,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\ttransition-delay: 100ms;\\n\\t\\t}\\n\\n\\t\\t.d2l-template-scroll::-webkit-scrollbar {\\n\\t\\t\\twidth: 8px;\\n\\t\\t}\\n\\n\\t\\t.d2l-template-scroll::-webkit-scrollbar-track {\\n\\t\\t\\tbackground: rgba(255, 255, 255, 0.4);\\n\\t\\t}\\n\\n\\t\\t.d2l-template-scroll::-webkit-scrollbar-thumb {\\n\\t\\t\\tbackground: var(--d2l-color-galena);\\n\\t\\t\\tborder-radius: 4px;\\n\\t\\t}\\n\\n\\t\\t.d2l-template-scroll::-webkit-scrollbar-thumb:hover {\\n\\t\\t\\tbackground: var(--d2l-color-tungsten);\\n\\t\\t}\\n\\n\\t\\t/* For Firefox */\\n\\t\\t.d2l-template-scroll {\\n\\t\\t\\tscrollbar-color: var(--d2l-color-galena) rgba(255, 255, 255, 0.4);\\n\\t\\t\\tscrollbar-width: thin;\\n\\t\\t}\\n\\n\\t\\t@media (prefers-reduced-motion: reduce) {\\n\\t\\t\\t.d2l-template-primary-secondary-divider,\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-line::after,\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-mobile {\\n\\t\\t\\t\\ttransition: none;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t@media only screen and (max-width: 767px) {\\n\\n\\t\\t\\t.d2l-template-primary-secondary-content {\\n\\t\\t\\t\\tflex-direction: column;\\n\\t\\t\\t}\\n\\n\\t\\t\\tmain {\\n\\t\\t\\t\\tflex: 1 0 0;\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\t\\tflex: none;\\n\\t\\t\\t}\\n\\t\\t\\taside,\\n\\t\\t\\t.d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\t\\tmin-width: auto;\\n\\t\\t\\t}\\n\\t\\t\\t[data-is-collapsed] aside {\\n\\t\\t\\t\\tdisplay: none;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-desktop {\\n\\t\\t\\t\\tdisplay: none;\\n\\t\\t\\t}\\n\\t\\t\\t/* Attribute selector is only used to increase specificity */\\n\\t\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider,\\n\\t\\t\\t:host(:not([resizable])) .d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tbackground-color: var(--d2l-color-celestine);\\n\\t\\t\\t\\tcursor: ns-resize;\\n\\t\\t\\t\\theight: 0.1rem;\\n\\t\\t\\t\\twidth: 100%;\\n\\t\\t\\t}\\n\\t\\t\\t:host([resizable]) [data-is-collapsed] .d2l-template-primary-secondary-divider,\\n\\t\\t\\t:host(:not([resizable])) [data-is-collapsed] .d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tcursor: n-resize;\\n\\t\\t\\t}\\n\\t\\t\\t:host([resizable]) [data-is-expanded] .d2l-template-primary-secondary-divider,\\n\\t\\t\\t:host(:not([resizable])) [data-is-expanded] .d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tcursor: s-resize;\\n\\t\\t\\t}\\n\\n\\t\\t\\t/* Attribute selector is only used to increase specificity */\\n\\t\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:hover,\\n\\t\\t\\t:host(:not([resizable])) .d2l-template-primary-secondary-divider:hover,\\n\\t\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:focus,\\n\\t\\t\\t:host(:not([resizable])) .d2l-template-primary-secondary-divider:focus {\\n\\t\\t\\t\\tbackground-color: var(--d2l-color-celestine-minus-1);\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle {\\n\\t\\t\\t\\tborder-radius: 0;\\n\\t\\t\\t\\tbottom: 0.1rem;\\n\\t\\t\\t\\tdisplay: block;\\n\\t\\t\\t\\tinset-inline-end: calc(17px + 0.2rem);\\n\\t\\t\\t\\toverflow: hidden;\\n\\t\\t\\t\\ttop: auto;\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-mobile {\\n\\t\\t\\t\\talign-items: center;\\n\\t\\t\\t\\tbackground-color: var(--d2l-color-celestine);\\n\\t\\t\\t\\tborder-radius: 0.25rem 0.25rem 0 0;\\n\\t\\t\\t\\tbottom: 0;\\n\\t\\t\\t\\tdisplay: flex;\\n\\t\\t\\t\\tjustify-content: center;\\n\\t\\t\\t\\tposition: absolute;\\n\\t\\t\\t\\tright: 0;\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-mobile,\\n\\t\\t\\t.d2l-template-primary-secondary-divider:focus .d2l-template-primary-secondary-divider-handle-mobile {\\n\\t\\t\\t\\tbackground-color: var(--d2l-color-celestine-minus-1);\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle,\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-mobile {\\n\\t\\t\\t\\theight: 1rem;\\n\\t\\t\\t\\twidth: 2.2rem;\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle {\\n\\t\\t\\t\\tbox-shadow: none;\\n\\t\\t\\t\\theight: 1.2rem;\\n\\t\\t\\t\\tinset-inline-end: 17px;\\n\\t\\t\\t\\twidth: 2.6rem;\\n\\t\\t\\t}\\n\\t\\t\\td2l-icon {\\n\\t\\t\\t\\tcolor: white;\\n\\t\\t\\t\\tdisplay: block;\\n\\t\\t\\t}\\n\\t\\t\\t${getFocusRingStyles(pseudoClass => `.d2l-template-primary-secondary-divider:${pseudoClass} .d2l-template-primary-secondary-divider-handle-mobile`, { extraStyles: css`right: 0.2rem; box-shadow: 0 0 0 2px #ffffff;` })}\\n\\t\\t\\t.d2l-template-primary-secondary-divider-shadow {\\n\\t\\t\\t\\tbox-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);\\n\\t\\t\\t\\tdisplay: block;\\n\\t\\t\\t\\theight: 100%;\\n\\t\\t\\t\\tposition: absolute;\\n\\t\\t\\t\\twidth: 100%;\\n\\t\\t\\t\\tz-index: -1;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t@media print {\\n\\t\\t\\t:host {\\n\\t\\t\\t\\toverflow: visible;\\n\\t\\t\\t\\tposition: relative;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-content {\\n\\t\\t\\t\\tflex-direction: column;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-content,\\n\\t\\t\\t.d2l-template-primary-secondary-content > main,\\n\\t\\t\\t.d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\t\\toverflow: visible;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-content > main {\\n\\t\\t\\t\\tbackground: none;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-divider-not-resizable,\\n\\t\\t\\t.d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tdisplay: none;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-container > footer {\\n\\t\\t\\t\\tbox-shadow: none;\\n\\t\\t\\t\\tpadding: 0;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-container,\\n\\t\\t\\t.d2l-template-primary-secondary-content {\\n\\t\\t\\t\\theight: auto;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t`\""
|
|
18042
|
+
"default": "\"css`\\n\\t\\t:host,\\n\\t\\t:host > d2l-form {\\n\\t\\t\\tbottom: 0;\\n\\t\\t\\tleft: 0;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t\\tposition: absolute;\\n\\t\\t\\tright: 0;\\n\\t\\t\\ttop: 0;\\n\\t\\t}\\n\\n\\t\\t:host([hidden]) {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\t\\t:host([width-type=\\\"normal\\\"]) .d2l-template-primary-secondary-content,\\n\\t\\t:host([width-type=\\\"normal\\\"]) .d2l-template-primary-secondary-footer {\\n\\t\\t\\tmargin: 0 auto;\\n\\t\\t\\tmax-width: 1230px;\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-container {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: column;\\n\\t\\t\\theight: 100%;\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-content {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\theight: 100%;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t}\\n\\n\\t\\tmain {\\n\\t\\t\\tflex: 2 0 0;\\n\\t\\t\\toverflow-x: hidden;\\n\\t\\t\\ttransition: none;\\n\\t\\t}\\n\\t\\tmain d2l-form-error-summary {\\n\\t\\t\\tmargin-inline: var(--d2l-template-primary-secondary-form-error-inline-margin, 20px);\\n\\t\\t}\\n\\n\\t\\t:host([resizable]) main {\\n\\t\\t\\tflex: 1 0 0;\\n\\t\\t}\\n\\t\\t:host([primary-overflow=\\\"hidden\\\"]) main {\\n\\t\\t\\toverflow: hidden;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\tflex: 1 0 0;\\n\\t\\t\\tmin-width: ${desktopMinSize}px;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t}\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\tflex: none;\\n\\t\\t\\tmin-width: 0;\\n\\t\\t}\\n\\t\\t[data-animate-resize] .d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\ttransition: width 400ms cubic-bezier(0, 0.7, 0.5, 1), height 400ms cubic-bezier(0, 0.7, 0.5, 1);\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-shadow {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\t\\taside {\\n\\t\\t\\theight: 100%;\\n\\t\\t\\tmin-width: ${desktopMinSize}px;\\n\\t\\t\\toverflow-x: hidden;\\n\\t\\t\\toverflow-y: scroll;\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\n\\t\\t/* prevent margin colapse on slotted children */\\n\\t\\taside::before,\\n\\t\\taside::after {\\n\\t\\t\\tcontent: \\\" \\\";\\n\\t\\t\\tdisplay: table;\\n\\t\\t}\\n\\t\\t[data-background-shading=\\\"primary\\\"] > main,\\n\\t\\t[data-background-shading=\\\"secondary\\\"] > .d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\tbackground-color: var(--d2l-color-gypsum);\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-is-collapsed] aside {\\n\\t\\t\\tvisibility: hidden;\\n\\t\\t}\\n\\t\\t:host([resizable]:not([secondary-first])) aside {\\n\\t\\t\\tfloat: inline-start;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider,\\n\\t\\t.d2l-template-primary-secondary-divider-not-resizable {\\n\\t\\t\\tbackground-color: var(--d2l-color-mica);\\n\\t\\t\\tflex: none;\\n\\t\\t\\toutline: none;\\n\\t\\t\\tposition: relative;\\n\\t\\t\\twidth: 1px;\\n\\t\\t\\tz-index: 1;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle {\\n\\t\\t\\tdisplay: none;\\n\\t\\t\\tposition: absolute;\\n\\t\\t\\ttop: calc(50%);\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider {\\n\\t\\t\\tbackground-color: var(--d2l-color-gypsum);\\n\\t\\t\\tcursor: ew-resize;\\n\\t\\t\\twidth: 0.45rem;\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-is-expanded] .d2l-template-primary-secondary-divider {\\n\\t\\t\\tcursor: var(--d2l-cursor-resize-inline-end, e-resize);\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-is-collapsed] .d2l-template-primary-secondary-divider {\\n\\t\\t\\tcursor: var(--d2l-cursor-resize-inline-start, w-resize);\\n\\t\\t}\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider-handle {\\n\\t\\t\\talign-items: center;\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tjustify-content: center;\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-background-shading=\\\"secondary\\\"] .d2l-template-primary-secondary-divider {\\n\\t\\t\\tbox-shadow: calc(1px * var(--d2l-length-factor, 1)) 0 0 0 rgba(0, 0, 0, 0.15);\\n\\t\\t}\\n\\t\\t:host([resizable]) [data-background-shading=\\\"primary\\\"] .d2l-template-primary-secondary-divider {\\n\\t\\t\\tbox-shadow: calc(-1px * var(--d2l-length-factor, 1)) 0 0 0 rgba(0, 0, 0, 0.15);\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-desktop {\\n\\t\\t\\talign-items: center;\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tjustify-content: center;\\n\\t\\t\\tposition: absolute;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-left,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-right {\\n\\t\\t\\tcolor: var(--d2l-color-celestine);\\n\\t\\t\\tdisplay: none;\\n\\t\\t\\tposition: absolute;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-left {\\n\\t\\t\\tinset-inline-start: -1rem;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-right {\\n\\t\\t\\tinset-inline-end: -1rem;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\theight: 0.9rem;\\n\\t\\t\\tjustify-content: space-between;\\n\\t\\t\\twidth: 0.25rem;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\tbackground-color: var(--d2l-color-galena);\\n\\t\\t\\tborder-radius: 0.05rem;\\n\\t\\t\\tcontent: \\\"\\\";\\n\\t\\t\\tdisplay: inline-block;\\n\\t\\t\\twidth: 0.1rem;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle-right,\\n\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle-left {\\n\\t\\t\\tdisplay: block;\\n\\t\\t}\\n\\t\\t:host(:not([secondary-first])) [data-is-expanded] .d2l-template-primary-secondary-divider-handle-left,\\n\\t\\t:host([secondary-first]) [data-is-expanded] .d2l-template-primary-secondary-divider-handle-right {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\t\\td2l-icon {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\n\\t\\tfooter {\\n\\t\\t\\tbackground-color: white;\\n\\t\\t\\tbox-shadow: 0 -2px 4px rgba(32, 33, 34, 0.2); /* ferrite */\\n\\t\\t\\tpadding: 0.75rem 1rem;\\n\\t\\t\\tz-index: 1; /* ensures the footer box-shadow is over main areas with background colours set */\\n\\t\\t}\\n\\t\\theader {\\n\\t\\t\\tz-index: 14; /* ensures the header box-shadow is over main areas with background colours set, and opt-in on top of sticky header */\\n\\t\\t}\\n\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:focus,\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:hover {\\n\\t\\t\\tbackground-color: var(--d2l-color-mica);\\n\\t\\t\\tbox-shadow: none;\\n\\t\\t}\\n\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} {\\n\\t\\t\\tbackground-color: var(--d2l-color-celestine);\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider:focus .d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider:focus .d2l-template-primary-secondary-divider-handle-line::after,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\tbackground-color: var(--d2l-color-ferrite);\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\tbackground-color: white;\\n\\t\\t}\\n\\n\\t\\t.d2l-template-primary-secondary-divider,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-mobile,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\ttransition: background-color 100ms, box-shadow 100ms;\\n\\t\\t}\\n\\t\\t.d2l-template-primary-secondary-divider:hover,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-mobile,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-line::after {\\n\\t\\t\\ttransition-delay: 100ms;\\n\\t\\t}\\n\\n\\t\\t.d2l-template-scroll::-webkit-scrollbar {\\n\\t\\t\\twidth: 8px;\\n\\t\\t}\\n\\n\\t\\t.d2l-template-scroll::-webkit-scrollbar-track {\\n\\t\\t\\tbackground: rgba(255, 255, 255, 0.4);\\n\\t\\t}\\n\\n\\t\\t.d2l-template-scroll::-webkit-scrollbar-thumb {\\n\\t\\t\\tbackground: var(--d2l-color-galena);\\n\\t\\t\\tborder-radius: 4px;\\n\\t\\t}\\n\\n\\t\\t.d2l-template-scroll::-webkit-scrollbar-thumb:hover {\\n\\t\\t\\tbackground: var(--d2l-color-tungsten);\\n\\t\\t}\\n\\n\\t\\t/* For Firefox */\\n\\t\\t.d2l-template-scroll {\\n\\t\\t\\tscrollbar-color: var(--d2l-color-galena) rgba(255, 255, 255, 0.4);\\n\\t\\t\\tscrollbar-width: thin;\\n\\t\\t}\\n\\n\\t\\t@media (prefers-reduced-motion: reduce) {\\n\\t\\t\\t.d2l-template-primary-secondary-divider,\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-line::before,\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-line::after,\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-mobile {\\n\\t\\t\\t\\ttransition: none;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t@media only screen and (max-width: 767px) {\\n\\n\\t\\t\\t.d2l-template-primary-secondary-content {\\n\\t\\t\\t\\tflex-direction: column;\\n\\t\\t\\t}\\n\\n\\t\\t\\tmain {\\n\\t\\t\\t\\tflex: 1 0 0;\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\t\\tflex: none;\\n\\t\\t\\t}\\n\\t\\t\\taside,\\n\\t\\t\\t.d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\t\\tmin-width: auto;\\n\\t\\t\\t}\\n\\t\\t\\t[data-is-collapsed] aside {\\n\\t\\t\\t\\tdisplay: none;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-desktop {\\n\\t\\t\\t\\tdisplay: none;\\n\\t\\t\\t}\\n\\n\\t\\t\\t:host([_static-footer]),\\n\\t\\t\\t:host([_static-footer]) > d2l-form {\\n\\t\\t\\t\\tbottom: unset;\\n\\t\\t\\t}\\n\\t\\t\\t:host([_static-footer]) .d2l-template-primary-secondary-container {\\n\\t\\t\\t\\tmin-height: 100vh;\\n\\t\\t\\t}\\n\\t\\t\\t:host([_static-footer]) .d2l-template-primary-secondary-content {\\n\\t\\t\\t\\tdisplay: grid;\\n\\t\\t\\t\\tflex-grow: 1;\\n\\t\\t\\t\\tgrid-template: 1fr auto auto / 1fr;\\n\\t\\t\\t}\\n\\t\\t\\t:host([_static-footer]) .d2l-template-primary-secondary-content > * {\\n\\t\\t\\t\\tgrid-column: 1/-1;\\n\\t\\t\\t}\\n\\t\\t\\t:host([_static-footer]) main {\\n\\t\\t\\t\\tgrid-row: 1 / -1;\\n\\t\\t\\t}\\n\\t\\t\\t:host([_static-footer]) .d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tgrid-row: 2 / 3;\\n\\t\\t\\t}\\n\\t\\t\\t:host([_static-footer]) .d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\t\\tgrid-row: 3 / 4;\\n\\t\\t\\t}\\n\\t\\t\\t:host([_static-footer]) :not([data-background-shading=\\\"secondary\\\"]) > .d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\t\\tbackground-color: white;\\n\\t\\t\\t}\\n\\n\\t\\t\\t/* Attribute selector is only used to increase specificity */\\n\\t\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider,\\n\\t\\t\\t:host(:not([resizable])) .d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tbackground-color: var(--d2l-color-celestine);\\n\\t\\t\\t\\tcursor: ns-resize;\\n\\t\\t\\t\\theight: 0.1rem;\\n\\t\\t\\t\\twidth: 100%;\\n\\t\\t\\t}\\n\\t\\t\\t:host([resizable]) [data-is-collapsed] .d2l-template-primary-secondary-divider,\\n\\t\\t\\t:host(:not([resizable])) [data-is-collapsed] .d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tcursor: n-resize;\\n\\t\\t\\t}\\n\\t\\t\\t:host([resizable]) [data-is-expanded] .d2l-template-primary-secondary-divider,\\n\\t\\t\\t:host(:not([resizable])) [data-is-expanded] .d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tcursor: s-resize;\\n\\t\\t\\t}\\n\\n\\t\\t\\t/* Attribute selector is only used to increase specificity */\\n\\t\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:hover,\\n\\t\\t\\t:host(:not([resizable])) .d2l-template-primary-secondary-divider:hover,\\n\\t\\t\\t:host([resizable]) .d2l-template-primary-secondary-divider:focus,\\n\\t\\t\\t:host(:not([resizable])) .d2l-template-primary-secondary-divider:focus {\\n\\t\\t\\t\\tbackground-color: var(--d2l-color-celestine-minus-1);\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle {\\n\\t\\t\\t\\tborder-radius: 0;\\n\\t\\t\\t\\tbottom: 0.1rem;\\n\\t\\t\\t\\tdisplay: block;\\n\\t\\t\\t\\tinset-inline-end: calc(17px + 0.2rem);\\n\\t\\t\\t\\toverflow: hidden;\\n\\t\\t\\t\\ttop: auto;\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-mobile {\\n\\t\\t\\t\\talign-items: center;\\n\\t\\t\\t\\tbackground-color: var(--d2l-color-celestine);\\n\\t\\t\\t\\tborder-radius: 0.25rem 0.25rem 0 0;\\n\\t\\t\\t\\tbottom: 0;\\n\\t\\t\\t\\tdisplay: flex;\\n\\t\\t\\t\\tjustify-content: center;\\n\\t\\t\\t\\tposition: absolute;\\n\\t\\t\\t\\tright: 0;\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider:hover .d2l-template-primary-secondary-divider-handle-mobile,\\n\\t\\t\\t.d2l-template-primary-secondary-divider:focus .d2l-template-primary-secondary-divider-handle-mobile {\\n\\t\\t\\t\\tbackground-color: var(--d2l-color-celestine-minus-1);\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle,\\n\\t\\t\\t.d2l-template-primary-secondary-divider-handle-mobile {\\n\\t\\t\\t\\theight: 1rem;\\n\\t\\t\\t\\twidth: 2.2rem;\\n\\t\\t\\t}\\n\\t\\t\\t.d2l-template-primary-secondary-divider:${unsafeCSS(getFocusPseudoClass())} .d2l-template-primary-secondary-divider-handle {\\n\\t\\t\\t\\tbox-shadow: none;\\n\\t\\t\\t\\theight: 1.2rem;\\n\\t\\t\\t\\tinset-inline-end: 17px;\\n\\t\\t\\t\\twidth: 2.6rem;\\n\\t\\t\\t}\\n\\t\\t\\td2l-icon {\\n\\t\\t\\t\\tcolor: white;\\n\\t\\t\\t\\tdisplay: block;\\n\\t\\t\\t}\\n\\t\\t\\t${getFocusRingStyles(pseudoClass => `.d2l-template-primary-secondary-divider:${pseudoClass} .d2l-template-primary-secondary-divider-handle-mobile`, { extraStyles: css`right: 0.2rem; box-shadow: 0 0 0 2px #ffffff;` })}\\n\\t\\t\\t.d2l-template-primary-secondary-divider-shadow {\\n\\t\\t\\t\\tbox-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);\\n\\t\\t\\t\\tdisplay: block;\\n\\t\\t\\t\\theight: 100%;\\n\\t\\t\\t\\tposition: absolute;\\n\\t\\t\\t\\twidth: 100%;\\n\\t\\t\\t\\tz-index: -1;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t@media print {\\n\\t\\t\\t:host {\\n\\t\\t\\t\\toverflow: visible;\\n\\t\\t\\t\\tposition: relative;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-content {\\n\\t\\t\\t\\tflex-direction: column;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-content,\\n\\t\\t\\t.d2l-template-primary-secondary-content > main,\\n\\t\\t\\t.d2l-template-primary-secondary-secondary-container {\\n\\t\\t\\t\\toverflow: visible;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-content > main {\\n\\t\\t\\t\\tbackground: none;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-divider-not-resizable,\\n\\t\\t\\t.d2l-template-primary-secondary-divider {\\n\\t\\t\\t\\tdisplay: none;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-container > footer {\\n\\t\\t\\t\\tbox-shadow: none;\\n\\t\\t\\t\\tpadding: 0;\\n\\t\\t\\t}\\n\\n\\t\\t\\t.d2l-template-primary-secondary-container,\\n\\t\\t\\t.d2l-template-primary-secondary-content {\\n\\t\\t\\t\\theight: auto;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t`\""
|
|
17859
18043
|
},
|
|
17860
18044
|
{
|
|
17861
18045
|
"name": "form"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.323.0",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build:clean": "node ./cli/clean.js",
|
|
13
13
|
"build:icons": "node ./cli/icon-generator.js",
|
|
14
|
-
"build:illustrations": "node ./cli/
|
|
14
|
+
"build:illustrations": "node ./cli/state-illustration-generator.js",
|
|
15
15
|
"build:sass": "sass ./test/sass.scss > ./test/sass.output.css",
|
|
16
16
|
"build:wca": "node ./cli/wca.js \"{components,mixins,templates}/**/*.js\"",
|
|
17
17
|
"build": "npm run build:clean && npm run build:icons && npm run build:illustrations && npm run build:sass && npm run build:wca",
|