From f4807d11983e40ddf2a5f34b12f15615a1fa6509 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Thu, 30 Aug 2018 19:08:57 +0200 Subject: [PATCH] chore(): fix lint --- core/src/components.d.ts | 11 ++++++++++- core/src/components/list/readme.md | 8 ++++++++ core/src/components/range/range.md.scss | 6 +++--- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/core/src/components.d.ts b/core/src/components.d.ts index 5cacb1327b..71925f9177 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -2195,6 +2195,7 @@ export namespace Components { } interface IonList { + 'closeSlidingItems': () => Promise; /** * If true, the list will have margin around it and rounded corners. Defaults to `false`. */ @@ -2203,6 +2204,10 @@ export namespace Components { * How the bottom border should be displayed on all items. Available options: `"full"`, `"inset"`, `"none"`. */ 'lines': 'full' | 'inset' | 'none'; + /** + * The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`. + */ + 'mode': Mode; } interface IonListAttributes extends StencilHTMLAttributes { /** @@ -2213,6 +2218,10 @@ export namespace Components { * How the bottom border should be displayed on all items. Available options: `"full"`, `"inset"`, `"none"`. */ 'lines'?: 'full' | 'inset' | 'none'; + /** + * The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`. + */ + 'mode'?: Mode; } interface IonLoadingController { @@ -4158,7 +4167,7 @@ export namespace Components { /** * Get whether or not the current slide is the last slide. */ - 'isEnd': () => Promise; + 'isEnd': () => Promise; /** * Get the total number of slides. */ diff --git a/core/src/components/list/readme.md b/core/src/components/list/readme.md index e70d192145..f12268d89f 100644 --- a/core/src/components/list/readme.md +++ b/core/src/components/list/readme.md @@ -15,6 +15,14 @@ Lists support several interactions including swiping items to reveal options, dr | -------- | --------- | --------------------------------------------------------------------------------------------------------- | ----------------------------- | | `inset` | `inset` | If true, the list will have margin around it and rounded corners. Defaults to `false`. | `boolean` | | `lines` | `lines` | How the bottom border should be displayed on all items. Available options: `"full"`, `"inset"`, `"none"`. | `"full"`, `"inset"`, `"none"` | +| `mode` | `mode` | The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`. | `Mode` | + + +## Methods + +| Method | Description | +| ------------------- | ----------- | +| `closeSlidingItems` | | ---------------------------------------------- diff --git a/core/src/components/range/range.md.scss b/core/src/components/range/range.md.scss index 83babf524d..273dc515d6 100644 --- a/core/src/components/range/range.md.scss +++ b/core/src/components/range/range.md.scss @@ -89,14 +89,14 @@ position: relative; top: -20px; - background: var(--pin-background); - color: var(--pin-color); - min-width: 28px; height: 28px; transition: transform 120ms ease, background 120ms ease; + background: var(--pin-background); + color: var(--pin-color); + text-align: center; &::before {