@skedulo/breeze-ui 0.6.3 → 0.6.5
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/lib/cjs/breeze-ui.js +485 -388
- package/lib/es/breeze-ui.js +3938 -3783
- package/package.json +1 -1
- package/types/components/avatar.d.ts +43 -2
- package/types/components/avatar.d.ts.map +1 -1
- package/types/components/badge.d.ts +16 -1
- package/types/components/badge.d.ts.map +1 -1
- package/types/components/buttons.d.ts +5 -4
- package/types/components/buttons.d.ts.map +1 -1
- package/types/components/confirmation-dialog.d.ts +9 -0
- package/types/components/confirmation-dialog.d.ts.map +1 -1
- package/types/components/form-elements/input-checkbox.d.ts.map +1 -1
- package/types/components/form-elements/input-radio.d.ts +7 -1
- package/types/components/form-elements/input-radio.d.ts.map +1 -1
- package/types/components/form-elements/labeled-input.d.ts +1 -1
- package/types/components/illustration/illustration.d.ts +9 -0
- package/types/components/illustration/illustration.d.ts.map +1 -1
- package/types/components/links.d.ts +24 -6
- package/types/components/links.d.ts.map +1 -1
- package/types/components/modal/modal.d.ts +21 -3
- package/types/components/modal/modal.d.ts.map +1 -1
- package/types/components/pagination.d.ts +29 -0
- package/types/components/pagination.d.ts.map +1 -1
- package/types/components/tooltip.d.ts +25 -1
- package/types/components/tooltip.d.ts.map +1 -1
- package/types/components/virtual-list.d.ts +5 -0
- package/types/components/virtual-list.d.ts.map +1 -1
- package/types/mixins/component-utils.d.ts +18 -0
- package/types/mixins/component-utils.d.ts.map +1 -0
- package/types/styles/spacing.d.ts +6 -1
- package/types/styles/spacing.d.ts.map +1 -1
- package/types/components/dropdown-menu.d.ts +0 -2
- package/types/components/dropdown-menu.d.ts.map +0 -1
- package/types/components/menu.d.ts +0 -60
- package/types/components/menu.d.ts.map +0 -1
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { JSXProps } from '@skedulo/breeze-ui';
|
|
3
|
-
export declare const MENU: "brz-menu";
|
|
4
|
-
export declare const MENU_ITEM: "brz-menu-item";
|
|
5
|
-
declare global {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
[MENU]: JSXProps<Menu, null>;
|
|
9
|
-
[MENU_ITEM]: JSXProps<MenuItem, IMenuItemProps>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
interface HTMLElementTagNameMap {
|
|
13
|
-
[MENU]: Menu;
|
|
14
|
-
[MENU_ITEM]: MenuItem;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Menu component.
|
|
19
|
-
*
|
|
20
|
-
* @tag brz-menu
|
|
21
|
-
*/
|
|
22
|
-
export declare class Menu extends LitElement {
|
|
23
|
-
static styles: import("lit").CSSResult[];
|
|
24
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
25
|
-
}
|
|
26
|
-
export interface IMenuItemProps {
|
|
27
|
-
value: string;
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Determines pre-selection of an item by keyboard. This does not mean it is
|
|
31
|
-
* the current input value.
|
|
32
|
-
*
|
|
33
|
-
* TODO: This naming is misleading. Rename to `active`?
|
|
34
|
-
*/
|
|
35
|
-
selected?: boolean;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Menu item component.
|
|
39
|
-
*
|
|
40
|
-
* @tag brz-menu-item
|
|
41
|
-
*/
|
|
42
|
-
export declare class MenuItem<ValueType = string> extends LitElement {
|
|
43
|
-
constructor();
|
|
44
|
-
static styles: import("lit").CSSResult[];
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
selected: boolean;
|
|
47
|
-
value?: ValueType;
|
|
48
|
-
toggleable?: boolean;
|
|
49
|
-
toggled?: boolean;
|
|
50
|
-
connectedCallback(): void;
|
|
51
|
-
disconnectedCallback(): void;
|
|
52
|
-
handleSelected(event: Event): void;
|
|
53
|
-
get labelTemplate(): import("lit-html").TemplateResult<1>;
|
|
54
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Helper for emitting events with sensible defaults
|
|
58
|
-
*/
|
|
59
|
-
export declare const emit: (el: HTMLElement, name: string, options?: CustomEventInit) => CustomEvent<any>;
|
|
60
|
-
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAGlD,eAAO,MAAM,IAAI,YAA4B,CAAA;AAC7C,eAAO,MAAM,SAAS,iBAAiC,CAAA;AAEvD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;YAC5B,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;SAChD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,IAAI,CAAC,EAAE,IAAI,CAAA;QACZ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAA;KACtB;CACF;AAED;;;;GAIG;AACH,qBACa,IAAK,SAAQ,UAAU;IAClC,MAAM,CAAC,MAAM,4BAsBZ;IAED,MAAM;CAGP;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;GAIG;AACH,qBACa,QAAQ,CAAC,SAAS,GAAG,MAAM,CAAE,SAAQ,UAAU;;IAM1D,MAAM,CAAC,MAAM,4BAmCZ;IAGD,QAAQ,UAAQ;IAGhB,QAAQ,UAAQ;IAGhB,KAAK,CAAC,EAAE,SAAS,CAAA;IAGjB,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB,iBAAiB;IAKjB,oBAAoB;IAKpB,cAAc,CAAC,KAAK,EAAE,KAAK;IAQ3B,IAAI,aAAa,yCAEhB;IAED,MAAM;CAiBP;AAED;;GAEG;AACH,eAAO,MAAM,IAAI,OACX,WAAW,QACT,MAAM,YACF,eAAe,qBAgB1B,CAAA"}
|