kopia lustrzana https://github.com/shoelace-style/shoelace
Update @since to 2.0
rodzic
eea6b93292
commit
f3eff6edf8
|
@ -2,7 +2,7 @@ import { Component, Element, Event, EventEmitter, Host, Method, Prop, Watch, h }
|
|||
import { focusVisible } from '../../utilities/focus-visible';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The alert's content.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, Prop, State, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot icon - The default icon to use when no image or initials are present.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, Prop, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status experimental
|
||||
*
|
||||
* @slot - The badge's content.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, Event, EventEmitter, Method, Prop, State, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The button's label.
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component, Event, EventEmitter, Method, Prop, State, Watch, h } from '@
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The checkbox's label.
|
||||
|
|
|
@ -3,7 +3,7 @@ import color from 'color';
|
|||
import { clamp } from '../../utilities/math';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @part base - The component's base wrapper.
|
||||
|
|
|
@ -4,7 +4,7 @@ import { focusVisible } from '../../utilities/focus-visible';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The details' content.
|
||||
|
|
|
@ -5,7 +5,7 @@ import { focusVisible } from '../../utilities/focus-visible';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The dialog's content.
|
||||
|
|
|
@ -5,7 +5,7 @@ import { focusVisible } from '../../utilities/focus-visible';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The drawer's content.
|
||||
|
|
|
@ -4,7 +4,7 @@ import Popover from '../../utilities/popover';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot trigger - The dropdown's trigger, usually a `<sl-button>` element.
|
||||
|
|
|
@ -8,7 +8,7 @@ interface FormControl {
|
|||
}
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status experimental
|
||||
*
|
||||
* @slot - The form's content.
|
||||
|
|
|
@ -5,7 +5,7 @@ import { requestIcon } from './request';
|
|||
const parser = new DOMParser();
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @part base - The component's base wrapper.
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component, Element, Event, EventEmitter, Method, Prop, State, h } from
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot prefix - Used to prepend an icon or similar element to the input.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @part base - The component's base wrapper.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, Prop, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The menu item's label.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The menu label's content.
|
||||
|
|
|
@ -3,7 +3,7 @@ import { scrollIntoView } from '../../utilities/scroll';
|
|||
import { getTextContent } from '../../utilities/slot';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The menu's content, including menu items, menu dividers, and menu labels.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, Prop, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - A label to show inside the indicator.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, Prop, Watch, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - A label to show inside the ring.
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component, Element, Event, EventEmitter, Method, Prop, State, Watch, h
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The radio's label.
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Component, Event, EventEmitter, Method, Prop, State, h } from '@stencil
|
|||
import ResizeObserver from 'resize-observer-polyfill';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @part base - The component's base wrapper.
|
||||
|
|
|
@ -5,7 +5,7 @@ import { getTextContent } from '../../utilities/slot';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The select's options in the form of menu items.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @part base - The component's base wrapper.
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component, Event, EventEmitter, Method, Prop, State, Watch, h } from '@
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The switch's label.
|
||||
|
|
|
@ -4,7 +4,7 @@ import { scrollIntoView } from '../../utilities/scroll';
|
|||
import { focusVisible } from '../../utilities/focus-visible';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot nav - Used for grouping tabs in the tab group.
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component, Element, Host, Prop, h } from '@stencil/core';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The tab panel's content.
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component, Element, Host, Method, Prop, h } from '@stencil/core';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The tab's label.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, Event, EventEmitter, Prop, h } from '@stencil/core';
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The tag's content.
|
||||
|
|
|
@ -4,7 +4,7 @@ import ResizeObserver from 'resize-observer-polyfill';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot help-text - Help text that describes how to use the input.
|
||||
|
|
|
@ -4,7 +4,7 @@ import Popover from '../../utilities/popover';
|
|||
let id = 0;
|
||||
|
||||
/**
|
||||
* @since 1.0
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The tooltip's target element. Only the first element will be used as the target.
|
||||
|
|
Ładowanie…
Reference in New Issue