This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
163 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
test/acceptance/* | ||
reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "brightspace/polymer-config" | ||
"extends": "brightspace/polymer-3-config" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
bower_components/ | ||
bower_components-1.x/ | ||
bower-1.x.json | ||
node_modules | ||
offscreen.css | ||
|
||
node_modules |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/** | ||
`d2l-offscreen` | ||
Polymer web component for positioning elements offscreen | ||
@demo demo/index.html | ||
*/ | ||
/* | ||
FIXME(polymer-modulizer): the above comments were extracted | ||
from HTML and may be out of place here. Review them and | ||
then delete this comment! | ||
*/ | ||
import '../@polymer/polymer/polymer-legacy.js'; | ||
|
||
import './d2l-offscreen-shared-styles.js'; | ||
import { Polymer } from '../@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
const $_documentContainer = document.createElement('template'); | ||
|
||
$_documentContainer.innerHTML = `<dom-module id="d2l-offscreen"> | ||
<template strip-whitespace=""> | ||
<style include="d2l-offscreen-shared-styles"> | ||
:host { | ||
display: inline-block; | ||
@apply --d2l-offscreen; | ||
} | ||
:host(:dir(rtl)) { | ||
@apply --d2l-offscreen-rtl; | ||
} | ||
:host-context([dir="rtl"]) { | ||
@apply --d2l-offscreen-rtl; | ||
} | ||
</style> | ||
<slot></slot> | ||
</template> | ||
</dom-module>`; | ||
|
||
document.head.appendChild($_documentContainer.content); | ||
Polymer({ | ||
is: 'd2l-offscreen' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"npm": true, | ||
"lint": { | ||
"rules": [ | ||
"polymer-2-hybrid" | ||
"polymer-3" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.