@redvars/peacock 3.6.1 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles.css.map +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/tokens.css.map +1 -1
- package/dist/{button-colors-Ccys3hvS.js → button-colors-AvGh22Zn.js} +18 -18
- package/dist/{button-colors-Ccys3hvS.js.map → button-colors-AvGh22Zn.js.map} +1 -1
- package/dist/button-group.js +2 -2
- package/dist/button.js +2 -3
- package/dist/button.js.map +1 -1
- package/dist/card.js +1 -1
- package/dist/card.js.map +1 -1
- package/dist/code-highlighter.js +34 -9
- package/dist/code-highlighter.js.map +1 -1
- package/dist/custom-elements-jsdocs.json +661 -73
- package/dist/custom-elements.json +718 -80
- package/dist/flow-designer.js +1402 -8
- package/dist/flow-designer.js.map +1 -1
- package/dist/icon-CueRR7wx.js +260 -0
- package/dist/icon-CueRR7wx.js.map +1 -0
- package/dist/{icon-button-CK1ZuE-2.js → icon-button-ohxHhy4t.js} +2 -2
- package/dist/{icon-button-CK1ZuE-2.js.map → icon-button-ohxHhy4t.js.map} +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/modal.js +11 -11
- package/dist/modal.js.map +1 -1
- package/dist/{navigation-rail-DTTkqohi.js → navigation-rail-CD7IrqbN.js} +247 -123
- package/dist/navigation-rail-CD7IrqbN.js.map +1 -0
- package/dist/peacock-loader.js +30 -30
- package/dist/peacock-loader.js.map +1 -1
- package/dist/{popover-NC7b1lTq.js → popover-DUPmMVWS.js} +9 -4
- package/dist/{popover-NC7b1lTq.js.map → popover-DUPmMVWS.js.map} +1 -1
- package/dist/popover.js +1 -1
- package/dist/src/__controllers/floating-controller.d.ts +1 -0
- package/dist/src/avatar/avatar.d.ts +1 -1
- package/dist/src/breadcrumb/breadcrumb/breadcrumb.d.ts +0 -1
- package/dist/src/chip/chip/chip.d.ts +14 -11
- package/dist/src/chip/chip-set/chip-set.d.ts +20 -0
- package/dist/src/chip/chip-set/index.d.ts +1 -0
- package/dist/src/code-highlighter/code-highlighter.d.ts +4 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/menu/menu/menu.d.ts +1 -0
- package/dist/src/modal/modal.d.ts +1 -1
- package/dist/test/chip.test.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/readme.md +2 -2
- package/scss/styles.scss +3 -3
- package/scss/tokens.css +1 -1
- package/src/__controllers/floating-controller.ts +9 -3
- package/src/avatar/avatar.scss +4 -4
- package/src/avatar/avatar.ts +1 -1
- package/src/breadcrumb/breadcrumb/breadcrumb.ts +0 -1
- package/src/button/button/button.scss +17 -17
- package/src/button/button/button.ts +1 -2
- package/src/card/card.ts +1 -1
- package/src/chip/chip/chip.scss +119 -45
- package/src/chip/chip/chip.ts +97 -38
- package/src/chip/chip-set/chip-set.scss +13 -0
- package/src/chip/chip-set/chip-set.ts +25 -0
- package/src/chip/chip-set/index.ts +1 -0
- package/src/code-highlighter/code-highlighter.ts +33 -6
- package/src/field/field.scss +1 -1
- package/src/index.ts +1 -0
- package/src/menu/menu/menu.ts +11 -0
- package/src/modal/modal.scss +10 -10
- package/src/modal/modal.ts +1 -1
- package/src/peacock-loader.ts +24 -22
- package/dist/flow-designer-DvTUrDp5.js +0 -1656
- package/dist/flow-designer-DvTUrDp5.js.map +0 -1
- package/dist/navigation-rail-DTTkqohi.js.map +0 -1
- package/src/chip/chip/chip-colors.scss +0 -31
package/dist/popover.js
CHANGED
|
@@ -6,7 +6,7 @@ import { LitElement } from 'lit';
|
|
|
6
6
|
* @summary The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon.
|
|
7
7
|
*
|
|
8
8
|
* @cssprop --avatar-border-radius - Controls the border radius of the avatar.
|
|
9
|
-
* @cssprop --avatar-
|
|
9
|
+
* @cssprop --avatar-container-color - Controls the color of the avatar container.
|
|
10
10
|
* @cssprop --avatar-size - Controls the size of the avatar.
|
|
11
11
|
* @cssprop --avatar-text-color - Controls the color of the text inside the avatar.
|
|
12
12
|
*
|
|
@@ -25,7 +25,6 @@ export declare class Breadcrumb extends LitElement {
|
|
|
25
25
|
static Item: typeof BreadcrumbItem;
|
|
26
26
|
/**
|
|
27
27
|
* Accessible label for the breadcrumb navigation landmark.
|
|
28
|
-
* @default "Breadcrumb"
|
|
29
28
|
*/
|
|
30
29
|
label: string;
|
|
31
30
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseButton } from '@/button/BaseButton.js';
|
|
2
2
|
/**
|
|
3
3
|
* @label Chip
|
|
4
4
|
* @tag wc-chip
|
|
@@ -11,20 +11,23 @@ import { LitElement } from 'lit';
|
|
|
11
11
|
* <wc-chip>Chip content</wc-chip>
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
export declare class Chip extends
|
|
14
|
+
export declare class Chip extends BaseButton {
|
|
15
15
|
static styles: import("lit").CSSResultGroup[];
|
|
16
16
|
/** If true, the tag will have a close icon. */
|
|
17
17
|
dismissible: boolean;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Additional ARIA attributes to pass to the inner button/anchor element.
|
|
20
|
+
*/
|
|
21
|
+
configAria?: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
private _hasIconSlotContent;
|
|
25
|
+
private _isPressed;
|
|
26
|
+
focus(): void;
|
|
27
|
+
blur(): void;
|
|
28
|
+
firstUpdated(): void;
|
|
26
29
|
private _dismissClickHandler;
|
|
27
30
|
private _renderCloseButton;
|
|
28
|
-
private _renderImage;
|
|
29
31
|
render(): import("lit-html").TemplateResult<1>;
|
|
32
|
+
renderChipContent(): import("lit-html").TemplateResult<1>;
|
|
30
33
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* @label Chip Set
|
|
4
|
+
* @tag wc-chip-set
|
|
5
|
+
* @rawTag chip-set
|
|
6
|
+
* @summary A layout container for wrapping chips.
|
|
7
|
+
* @tags layout
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```html
|
|
11
|
+
* <wc-chip-set>
|
|
12
|
+
* <wc-chip>One</wc-chip>
|
|
13
|
+
* <wc-chip>Two</wc-chip>
|
|
14
|
+
* </wc-chip-set>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class ChipSet extends LitElement {
|
|
18
|
+
static styles: import("lit").CSSResultGroup[];
|
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChipSet } from './chip-set.js';
|
|
@@ -19,14 +19,18 @@ import { BundledLanguage } from 'shiki';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare class CodeHighlighter extends LitElement {
|
|
21
21
|
static styles: import("lit").CSSResultGroup[];
|
|
22
|
+
private static readonly COPY_FEEDBACK_DURATION;
|
|
22
23
|
language: BundledLanguage;
|
|
23
24
|
lineNumbers: boolean;
|
|
24
25
|
value: string;
|
|
25
26
|
format?: boolean;
|
|
26
27
|
hideCopy: boolean;
|
|
27
28
|
private compiledCode;
|
|
29
|
+
private _copied;
|
|
28
30
|
private parsedCode;
|
|
31
|
+
private _copyFeedbackTimeout;
|
|
29
32
|
connectedCallback(): Promise<void>;
|
|
33
|
+
disconnectedCallback(): void;
|
|
30
34
|
firstUpdated(): void;
|
|
31
35
|
private decode;
|
|
32
36
|
private __highlightCode;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { Accordion } from './accordion/index.js';
|
|
|
15
15
|
export { Link } from './link/index.js';
|
|
16
16
|
export { Tag } from './chip/tag/index.js';
|
|
17
17
|
export { Chip } from './chip/chip/index.js';
|
|
18
|
+
export { ChipSet } from './chip/chip-set/index.js';
|
|
18
19
|
export { LinearProgress } from './progress/linear-progress/index.js';
|
|
19
20
|
export { CircularProgress } from './progress/circular-progress/index.js';
|
|
20
21
|
export { Skeleton } from './skeleton/index.js';
|
|
@@ -3,7 +3,7 @@ type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'fullscreen';
|
|
|
3
3
|
/**
|
|
4
4
|
* @label Modal
|
|
5
5
|
* @tag wc-modal
|
|
6
|
-
* @rawTag modal
|
|
6
|
+
* @rawTag modal
|
|
7
7
|
* @summary A Material Design 3 dialog/modal for displaying content in a layer above the page, with optional header, body, and footer slots.
|
|
8
8
|
*
|
|
9
9
|
* @cssprop --modal-container-color - Background color of the dialog container.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|