-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #412 from Tangerine-Community/410-clean-up
SE Tools
- Loading branch information
Showing
22 changed files
with
816 additions
and
20,823 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.9 KB
demo/assets/sounds/letters_moving_windows_comp_02_What_does_Kofi_like_to_do.mp3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+67.6 KB
demo/assets/sounds/letters_silent_rcomp_01_what_did_Esse_do_for_the_first_time.mp3
Binary file not shown.
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
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 |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import { html } from '@polymer/polymer/polymer-element.js'; | ||
import { t } from '../util/t.js' | ||
import '../util/html-element-props.js' | ||
import { TangyRadioBlocks} from './tangy-radio-blocks.js' | ||
import './tangy-radio-block.js' | ||
import '../style/tangy-element-styles.js'; | ||
import '../style/tangy-common-styles.js' | ||
import { TangyInputBase } from '../tangy-input-base.js'; | ||
|
||
/** | ||
* `tangy-prompt-box` | ||
* | ||
* | ||
* @customElement | ||
* @polymer | ||
* @demo demo/index.html | ||
*/ | ||
export class TangyPrmoptBox extends TangyRadioBlocks { | ||
|
||
static get is() { return 'tangy-prompt-box'; } | ||
|
||
constructor() { | ||
super() | ||
this.value = [] | ||
} | ||
|
||
static get template() { | ||
return html` | ||
<style include="tangy-element-styles"></style> | ||
<style include="tangy-common-styles"></style> | ||
<style> | ||
#blockContainer.columns { | ||
flex-direction: column; | ||
justify-content: normal; | ||
} | ||
.columns tangy-radio-block { | ||
--width: 100%; | ||
--height: 4rem; | ||
--justify-content: left; | ||
width: 100%; | ||
margin: .2rem 0; | ||
padding: 0px; | ||
} | ||
#blockContainer { | ||
display: flex; | ||
font-size: 4rem; | ||
font-weight: 700; | ||
text-align: center; | ||
flex-grow: 1; | ||
align-items: left; | ||
position: relative; | ||
} | ||
</style> | ||
${super.template} | ||
`; | ||
} | ||
|
||
static get properties() { | ||
let properties = super.properties | ||
properties.justifyContent = { | ||
type: String, | ||
value: 'flex-end', | ||
reflectToAttribute: true | ||
} | ||
return properties; | ||
} | ||
|
||
ready() { | ||
super.ready() | ||
} | ||
|
||
reflect() { | ||
super.reflect() | ||
} | ||
|
||
render() { | ||
this.$.blockContainer.style.justifyContent = this.hasAttribute('justify-content') ? | ||
this.getAttribute('justify-content') : 'flex-end'; | ||
super.render() | ||
} | ||
|
||
} | ||
window.customElements.define(TangyPrmoptBox.is, TangyPrmoptBox); |
Oops, something went wrong.