@brightspace-ui/core 1.200.0 → 1.201.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.
|
@@ -8,6 +8,7 @@ class DemoSnippet extends LitElement {
|
|
|
8
8
|
static get properties() {
|
|
9
9
|
return {
|
|
10
10
|
codeViewHidden: { type: Boolean, reflect: true, attribute: 'code-view-hidden' },
|
|
11
|
+
fullscreen: { type: Boolean, reflect: true },
|
|
11
12
|
noPadding: { type: Boolean, reflect: true, attribute: 'no-padding' },
|
|
12
13
|
overflowHidden: { type: Boolean, reflect: true, attribute: 'overflow-hidden' },
|
|
13
14
|
_code: { type: String },
|
|
@@ -30,6 +31,9 @@ class DemoSnippet extends LitElement {
|
|
|
30
31
|
:host([hidden]) {
|
|
31
32
|
display: none;
|
|
32
33
|
}
|
|
34
|
+
:host([fullscreen]) {
|
|
35
|
+
max-width: unset;
|
|
36
|
+
}
|
|
33
37
|
.d2l-demo-snippet-demo-wrapper {
|
|
34
38
|
display: flex;
|
|
35
39
|
}
|
|
@@ -66,6 +70,7 @@ class DemoSnippet extends LitElement {
|
|
|
66
70
|
|
|
67
71
|
constructor() {
|
|
68
72
|
super();
|
|
73
|
+
this.fullscreen = false;
|
|
69
74
|
this._dir = document.documentElement.dir;
|
|
70
75
|
this._hasSkeleton = false;
|
|
71
76
|
this._skeletonOn = false;
|
package/custom-elements.json
CHANGED
|
@@ -1386,6 +1386,11 @@
|
|
|
1386
1386
|
{
|
|
1387
1387
|
"name": "overflow-hidden",
|
|
1388
1388
|
"type": "boolean"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"name": "fullscreen",
|
|
1392
|
+
"type": "boolean",
|
|
1393
|
+
"default": "false"
|
|
1389
1394
|
}
|
|
1390
1395
|
],
|
|
1391
1396
|
"properties": [
|
|
@@ -1403,6 +1408,12 @@
|
|
|
1403
1408
|
"name": "overflowHidden",
|
|
1404
1409
|
"attribute": "overflow-hidden",
|
|
1405
1410
|
"type": "boolean"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"name": "fullscreen",
|
|
1414
|
+
"attribute": "fullscreen",
|
|
1415
|
+
"type": "boolean",
|
|
1416
|
+
"default": "false"
|
|
1406
1417
|
}
|
|
1407
1418
|
]
|
|
1408
1419
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.201.0",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
|
6
6
|
"publishConfig": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"eslint-plugin-sort-class-members": "^1",
|
|
58
58
|
"lit-analyzer": "^1",
|
|
59
59
|
"node-sass": "^6",
|
|
60
|
-
"sinon": "^
|
|
60
|
+
"sinon": "^12",
|
|
61
61
|
"stylelint": "^13"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|