@polymer/paper-dialog-behavior
Advanced tools
Comparing version 3.0.0-pre.11 to 3.0.0-pre.12
@@ -1,6 +0,6 @@ | ||
import '../../polymer/polymer.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { PaperDialogBehavior } from '../paper-dialog-behavior.js'; | ||
import '../paper-dialog-shared-styles.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import { html } from '../../polymer/lib/utils/html-tag.js'; | ||
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
import { html } from '@polymer/polymer/lib/utils/html-tag.js'; | ||
@@ -7,0 +7,0 @@ Polymer({ |
@@ -20,11 +20,11 @@ { | ||
"bower": "^1.8.0", | ||
"@polymer/iron-component-page": "^3.0.0-pre.10", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.10", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.10", | ||
"@polymer/paper-button": "^3.0.0-pre.10", | ||
"@polymer/paper-dialog-scrollable": "^3.0.0-pre.10", | ||
"@polymer/paper-dropdown-menu": "^3.0.0-pre.10", | ||
"@polymer/paper-icon-button": "^3.0.0-pre.10", | ||
"@polymer/paper-item": "^3.0.0-pre.10", | ||
"@polymer/paper-listbox": "^3.0.0-pre.10", | ||
"@polymer/iron-component-page": "3.0.0-pre.12", | ||
"@polymer/iron-demo-helpers": "3.0.0-pre.12", | ||
"@polymer/iron-test-helpers": "3.0.0-pre.12", | ||
"@polymer/paper-button": "3.0.0-pre.12", | ||
"@polymer/paper-dialog-scrollable": "3.0.0-pre.12", | ||
"@polymer/paper-dropdown-menu": "3.0.0-pre.12", | ||
"@polymer/paper-icon-button": "3.0.0-pre.12", | ||
"@polymer/paper-item": "3.0.0-pre.12", | ||
"@polymer/paper-listbox": "3.0.0-pre.12", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
@@ -36,3 +36,3 @@ "@webcomponents/webcomponentsjs": "^1.0.0" | ||
}, | ||
"version": "3.0.0-pre.11", | ||
"version": "3.0.0-pre.12", | ||
"resolutions": { | ||
@@ -67,6 +67,6 @@ "inherits": "2.0.3", | ||
"dependencies": { | ||
"@polymer/iron-overlay-behavior": "^3.0.0-pre.10", | ||
"@polymer/paper-styles": "^3.0.0-pre.10", | ||
"@polymer/polymer": "^3.0.0-pre.10" | ||
"@polymer/iron-overlay-behavior": "3.0.0-pre.12", | ||
"@polymer/paper-styles": "3.0.0-pre.12", | ||
"@polymer/polymer": "3.0.0-pre.12" | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import '../polymer/polymer.js'; | ||
import { IronOverlayBehavior } from '../iron-overlay-behavior/iron-overlay-behavior.js'; | ||
import { dom } from '../polymer/lib/legacy/polymer.dom.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { IronOverlayBehavior } from '@polymer/iron-overlay-behavior/iron-overlay-behavior.js'; | ||
import { dom } from '@polymer/polymer/lib/legacy/polymer.dom.js'; | ||
@@ -5,0 +5,0 @@ export const PaperDialogBehaviorImpl = { |
@@ -1,6 +0,6 @@ | ||
import '../polymer/polymer.js'; | ||
import '../iron-flex-layout/iron-flex-layout.js'; | ||
import '../paper-styles/default-theme.js'; | ||
import '../paper-styles/typography.js'; | ||
import '../paper-styles/shadow.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import '@polymer/iron-flex-layout/iron-flex-layout.js'; | ||
import '@polymer/paper-styles/default-theme.js'; | ||
import '@polymer/paper-styles/typography.js'; | ||
import '@polymer/paper-styles/shadow.js'; | ||
const $_documentContainer = document.createElement('div'); | ||
@@ -33,5 +33,14 @@ $_documentContainer.setAttribute('style', 'display: none;'); | ||
:host > ::slotted(*:first-child) { | ||
margin-top: 24px; | ||
} | ||
:host > ::slotted(*:last-child) { | ||
margin-bottom: 24px; | ||
} | ||
/* In 1.x, this selector was \`:host > ::content h2\`. In 2.x <slot> allows | ||
to select direct children only, which increases the weight of this | ||
selector, so we have to move it before first-child/last-child selectors */ | ||
selector, so we have to re-define first-child/last-child margins below. */ | ||
:host > ::slotted(h2) { | ||
@@ -45,8 +54,12 @@ position: relative; | ||
:host > ::slotted(*:first-child) { | ||
/* Apply mixin again, in case it sets margin-top. */ | ||
:host > ::slotted(h2:first-child) { | ||
margin-top: 24px; | ||
@apply --paper-dialog-title; | ||
} | ||
:host > ::slotted(*:last-child) { | ||
/* Apply mixin again, in case it sets margin-bottom. */ | ||
:host > ::slotted(h2:last-child) { | ||
margin-bottom: 24px; | ||
@apply --paper-dialog-title; | ||
} | ||
@@ -53,0 +66,0 @@ |
@@ -1,4 +0,4 @@ | ||
import '../../polymer/polymer.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import { html } from '../../polymer/lib/utils/html-tag.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
import { html } from '@polymer/polymer/lib/utils/html-tag.js'; | ||
@@ -5,0 +5,0 @@ Polymer({ |
@@ -1,6 +0,6 @@ | ||
import '../../polymer/polymer.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { PaperDialogBehavior } from '../paper-dialog-behavior.js'; | ||
import '../paper-dialog-shared-styles.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import { html } from '../../polymer/lib/utils/html-tag.js'; | ||
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
import { html } from '@polymer/polymer/lib/utils/html-tag.js'; | ||
@@ -7,0 +7,0 @@ Polymer({ |
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
48430
17
252
+ Added@polymer/font-roboto@3.0.0-pre.12(transitive)
+ Added@polymer/iron-a11y-keys-behavior@3.0.0-pre.12(transitive)
+ Added@polymer/iron-fit-behavior@3.0.0-pre.12(transitive)
+ Added@polymer/iron-flex-layout@3.0.0-pre.12(transitive)
+ Added@polymer/iron-overlay-behavior@3.0.0-pre.12(transitive)
+ Added@polymer/iron-resizable-behavior@3.0.0-pre.12(transitive)
+ Added@polymer/paper-styles@3.0.0-pre.12(transitive)
+ Added@polymer/polymer@3.0.0-pre.12(transitive)
+ Added@webcomponents/webcomponentsjs@1.3.3(transitive)
- Removed@polymer/font-roboto@3.0.2(transitive)
- Removed@polymer/iron-a11y-keys-behavior@3.0.1(transitive)
- Removed@polymer/iron-fit-behavior@3.1.0(transitive)
- Removed@polymer/iron-flex-layout@3.0.1(transitive)
- Removed@polymer/iron-overlay-behavior@3.0.3(transitive)
- Removed@polymer/iron-resizable-behavior@3.0.1(transitive)
- Removed@polymer/paper-styles@3.0.1(transitive)
- Removed@polymer/polymer@3.5.2(transitive)