Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quantified Elements #704

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion elements/inline-audio/inline-audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Custom property | Description | Default
* @element inline-audio
*
*/
class InlineAudio extends I18NMixin(SimpleColors, DDD) {
class InlineAudio extends I18NMixin(DDD) {
/**
* convention
*/
Expand Down
3 changes: 2 additions & 1 deletion elements/simple-icon/simple-icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import { svg, css } from "lit";
import { SimpleColors } from "@haxtheweb/simple-colors/simple-colors.js";
import { SimpleIconBehaviors } from "./lib/simple-icon-lite.js";
import { DDD } from "@haxtheweb/d-d-d";
/**
* `simple-icon`
* `Render an SVG based icon`
Expand All @@ -21,7 +22,7 @@ import { SimpleIconBehaviors } from "./lib/simple-icon-lite.js";
* @demo demo/iconset.html Iconset Demo
* @element simple-icon
*/
class SimpleIcon extends SimpleIconBehaviors(SimpleColors) {
class SimpleIcon extends SimpleIconBehaviors(DDD) {
/**
* This is a convention, not the standard
*/
Expand Down
9 changes: 6 additions & 3 deletions elements/tagging-question/src/tagging-question.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DDD } from "@haxtheweb/d-d-d/d-d-d.js";
* @demo demo/index.html
* @element tagging-question
*/
class TaggingQuestion extends QuestionElement(DDD) {
class TaggingQuestion extends QuestionElement {
static get tag() {
return "tagging-question";
}
Expand Down Expand Up @@ -65,7 +65,8 @@ class TaggingQuestion extends QuestionElement(DDD) {
border: var(--ddd-border-sm);
border-radius: var(--ddd-radius-sm);
box-sizing: border-box;
background-color:(
background-color: (
var(--ddd-theme-default-coalyGray),
klh6157 marked this conversation as resolved.
Show resolved Hide resolved
var(--ddd-theme-default-coalyGray)
);
}
Expand Down Expand Up @@ -97,14 +98,16 @@ class TaggingQuestion extends QuestionElement(DDD) {
:host([drag-enter-answer][dragging]) #user-choice-container {
border-style: dashed;
border-color: black;
background-color:(
background-color: (
var(--ddd-theme-default-disable),
btopro marked this conversation as resolved.
Show resolved Hide resolved
var(--ddd-theme-default-coalyGray)
);
}
:host([drag-enter][dragging]) #possible-container {
border-color: black;
border-style: dashed;
background-color: (
var(--ddd-theme-default-coalyGray),
var(--ddd-theme-default-coalyGray)
);
}
Expand Down
8 changes: 4 additions & 4 deletions elements/tagging-question/tagging-question.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DDD } from "@haxtheweb/d-d-d/d-d-d.js";
* @demo demo/index.html
* @element tagging-question
*/
class TaggingQuestion extends QuestionElement(DDD) {
class TaggingQuestion extends QuestionElement {
static get tag() {
return "tagging-question";
}
Expand Down Expand Up @@ -65,7 +65,7 @@ class TaggingQuestion extends QuestionElement(DDD) {
border: var(--ddd-border-sm);
border-radius: var(--ddd-radius-sm);
box-sizing: border-box;
background-color: light-dark(
background-color: (
btopro marked this conversation as resolved.
Show resolved Hide resolved
var(--ddd-theme-default-coalyGray),
var(--ddd-theme-default-coalyGray)
);
Expand Down Expand Up @@ -98,15 +98,15 @@ class TaggingQuestion extends QuestionElement(DDD) {
:host([drag-enter-answer][dragging]) #user-choice-container {
border-style: dashed;
border-color: black;
background-color: light-dark(
background-color: (
var(--ddd-theme-default-disable),
var(--ddd-theme-default-coalyGray)
);
}
:host([drag-enter][dragging]) #possible-container {
border-color: black;
border-style: dashed;
background-color: light-dark(
background-color: (
var(--ddd-theme-default-coalyGray),
var(--ddd-theme-default-coalyGray)
);
Expand Down