@operato/board
Advanced tools
Comparing version 0.2.48 to 0.2.49
@@ -6,2 +6,11 @@ # Change Log | ||
### [0.2.49](https://github.com/hatiolab/operato/compare/v0.2.48...v0.2.49) (2021-12-14) | ||
### :rocket: New Features | ||
* add ox-markdown ([eb8e528](https://github.com/hatiolab/operato/commit/eb8e528bad1c9c22eb7ccfaf52949d9c9f533777)) | ||
### [0.2.48](https://github.com/hatiolab/operato/compare/v0.2.47...v0.2.48) (2021-12-14) | ||
@@ -8,0 +17,0 @@ |
/** | ||
* @license Copyright © HatioLab Inc. All rights reserved. | ||
*/ | ||
export {}; | ||
import '@operato/markdown'; |
@@ -5,3 +5,4 @@ /** | ||
import { __decorate } from "tslib"; | ||
import { css, html, LitElement } from 'lit'; | ||
import '@operato/markdown'; | ||
import { LitElement, css, html } from 'lit'; | ||
import { customElement, property } from 'lit/decorators.js'; | ||
@@ -15,6 +16,5 @@ import { ScrollbarStyles } from '@operato/styles'; | ||
render() { | ||
const { about = '/helps/board-modeller/effects/animation.md' } = this.template || {}; | ||
return this.template ? html ` <iframe .src=${about}></iframe> ` : html ``; | ||
const { about } = this.template || {}; | ||
return html ` <ox-markdown .src=${about}></ox-markdown> `; | ||
} | ||
updated(changes) { } | ||
}; | ||
@@ -31,3 +31,3 @@ ComponentDetail.styles = [ | ||
margin: 0px; | ||
padding: 0px; | ||
padding: 10px; | ||
@@ -48,3 +48,3 @@ width: 360px; | ||
iframe { | ||
ox-markdown { | ||
flex: 1; | ||
@@ -51,0 +51,0 @@ } |
@@ -6,3 +6,3 @@ /** | ||
import './component-detail'; | ||
import { css, html, LitElement } from 'lit'; | ||
import { LitElement, css, html } from 'lit'; | ||
import { customElement, property, query, state } from 'lit/decorators.js'; | ||
@@ -81,3 +81,2 @@ import { ScrollbarStyles } from '@operato/styles'; | ||
} | ||
// var group = this.groups.find(g => g.name == this.group) | ||
if (this.scene) { | ||
@@ -84,0 +83,0 @@ this.template = this.templates.find(template => template.type == type); |
@@ -6,5 +6,5 @@ /** | ||
import './component-menu'; | ||
import { css, html, LitElement } from 'lit'; | ||
import { LitElement, css, html } from 'lit'; | ||
import { SCENE_MODE } from '@hatiolab/things-scene'; | ||
import { customElement, property, query, queryAll } from 'lit/decorators.js'; | ||
import { SCENE_MODE } from '@hatiolab/things-scene'; | ||
let ComponentToolbar = class ComponentToolbar extends LitElement { | ||
@@ -11,0 +11,0 @@ constructor() { |
{ | ||
"name": "@operato/board", | ||
"version": "0.2.48", | ||
"version": "0.2.49", | ||
"description": "Webcomponent for board following open-wc recommendations", | ||
@@ -49,4 +49,5 @@ "author": "heartyoh", | ||
"dependencies": { | ||
"@operato/input": "^0.2.48", | ||
"@operato/layout": "^0.2.48", | ||
"@operato/input": "^0.2.49", | ||
"@operato/layout": "^0.2.49", | ||
"@operato/markdown": "^0.2.49", | ||
"@types/file-saver": "^2.0.4", | ||
@@ -97,3 +98,3 @@ "@types/sortablejs": "^1.10.7", | ||
}, | ||
"gitHead": "0311c1aae6abdcf2b593a6542ced6a574fe94a39" | ||
"gitHead": "9a384d8b1eb814d71dd1146d3eb8e0754b763d97" | ||
} |
@@ -5,3 +5,5 @@ /** | ||
import { css, html, LitElement, PropertyValues } from 'lit' | ||
import '@operato/markdown' | ||
import { LitElement, css, html } from 'lit' | ||
import { customElement, property } from 'lit/decorators.js' | ||
@@ -23,3 +25,3 @@ | ||
margin: 0px; | ||
padding: 0px; | ||
padding: 10px; | ||
@@ -40,3 +42,3 @@ width: 360px; | ||
iframe { | ||
ox-markdown { | ||
flex: 1; | ||
@@ -50,8 +52,6 @@ } | ||
render() { | ||
const { about = '/helps/board-modeller/effects/animation.md' } = this.template || {} | ||
const { about } = this.template || {} | ||
return this.template ? html` <iframe .src=${about}></iframe> ` : html`` | ||
return html` <ox-markdown .src=${about}></ox-markdown> ` | ||
} | ||
updated(changes: PropertyValues<this>) {} | ||
} |
@@ -7,3 +7,4 @@ /** | ||
import { css, html, LitElement, PropertyValues } from 'lit' | ||
import { LitElement, PropertyValues, css, html } from 'lit' | ||
import { Pallet, PalletItem } from '../../types' | ||
import { customElement, property, query, state } from 'lit/decorators.js' | ||
@@ -13,5 +14,3 @@ | ||
import { ScrollbarStyles } from '@operato/styles' | ||
import noImage from '../../../../assets/images/components/no-image.png' | ||
import { Pallet, PalletItem } from '../../types' | ||
@@ -179,4 +178,2 @@ @customElement('component-menu') | ||
// var group = this.groups.find(g => g.name == this.group) | ||
if (this.scene) { | ||
@@ -183,0 +180,0 @@ this.template = this.templates.find(template => template.type == type) |
@@ -7,7 +7,6 @@ /** | ||
import { css, html, LitElement, PropertyValues } from 'lit' | ||
import { LitElement, PropertyValues, css, html } from 'lit' | ||
import { SCENE_MODE, Scene } from '@hatiolab/things-scene' | ||
import { customElement, property, query, queryAll } from 'lit/decorators.js' | ||
import { Scene, SCENE_MODE } from '@hatiolab/things-scene' | ||
@customElement('component-toolbar') | ||
@@ -14,0 +13,0 @@ class ComponentToolbar extends LitElement { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1067328
10
197
19764
+ Added@operato/markdown@^0.2.49
+ Added@operato/markdown@0.2.52(transitive)
+ Addedmarked@4.3.0(transitive)
Updated@operato/input@^0.2.49
Updated@operato/layout@^0.2.49