@skedulo/breeze-ui 0.11.0 → 1.0.0-preview.0
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/package.json +42 -8
- package/dist/custom-elements.json +0 -33408
- package/dist/lib/cjs/breeze-ui.js +0 -5000
- package/dist/lib/cjs/package.json +0 -3
- package/dist/lib/es/breeze-ui.js +0 -25629
- package/dist/lib/es/package.json +0 -3
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/animation/fade-in-out.d.ts +0 -37
- package/dist/types/animation/fade-in-out.d.ts.map +0 -1
- package/dist/types/animation/index.d.ts +0 -2
- package/dist/types/animation/index.d.ts.map +0 -1
- package/dist/types/components/alert.d.ts +0 -58
- package/dist/types/components/alert.d.ts.map +0 -1
- package/dist/types/components/avatar.d.ts +0 -131
- package/dist/types/components/avatar.d.ts.map +0 -1
- package/dist/types/components/badge.d.ts +0 -58
- package/dist/types/components/badge.d.ts.map +0 -1
- package/dist/types/components/button.d.ts +0 -157
- package/dist/types/components/button.d.ts.map +0 -1
- package/dist/types/components/combo-box.d.ts +0 -33
- package/dist/types/components/combo-box.d.ts.map +0 -1
- package/dist/types/components/confirmation-dialog.d.ts +0 -44
- package/dist/types/components/confirmation-dialog.d.ts.map +0 -1
- package/dist/types/components/dropdown-button.d.ts +0 -44
- package/dist/types/components/dropdown-button.d.ts.map +0 -1
- package/dist/types/components/form-elements/code-theme.d.ts +0 -2
- package/dist/types/components/form-elements/code-theme.d.ts.map +0 -1
- package/dist/types/components/form-elements/index.d.ts +0 -14
- package/dist/types/components/form-elements/index.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-base.d.ts +0 -76
- package/dist/types/components/form-elements/input-base.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-checkbox.d.ts +0 -61
- package/dist/types/components/form-elements/input-checkbox.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-code.d.ts +0 -78
- package/dist/types/components/form-elements/input-code.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-error.d.ts +0 -23
- package/dist/types/components/form-elements/input-error.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-guide.d.ts +0 -24
- package/dist/types/components/form-elements/input-guide.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-multiselect.d.ts +0 -136
- package/dist/types/components/form-elements/input-multiselect.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-number.d.ts +0 -72
- package/dist/types/components/form-elements/input-number.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-radio.d.ts +0 -87
- package/dist/types/components/form-elements/input-radio.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-select-base.d.ts +0 -218
- package/dist/types/components/form-elements/input-select-base.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-select.d.ts +0 -92
- package/dist/types/components/form-elements/input-select.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-text-base.d.ts +0 -36
- package/dist/types/components/form-elements/input-text-base.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-text.d.ts +0 -38
- package/dist/types/components/form-elements/input-text.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-textarea.d.ts +0 -39
- package/dist/types/components/form-elements/input-textarea.d.ts.map +0 -1
- package/dist/types/components/form-elements/input-time.d.ts +0 -106
- package/dist/types/components/form-elements/input-time.d.ts.map +0 -1
- package/dist/types/components/form-elements/labeled-input.d.ts +0 -93
- package/dist/types/components/form-elements/labeled-input.d.ts.map +0 -1
- package/dist/types/components/heading.d.ts +0 -32
- package/dist/types/components/heading.d.ts.map +0 -1
- package/dist/types/components/icon/icon.d.ts +0 -30
- package/dist/types/components/icon/icon.d.ts.map +0 -1
- package/dist/types/components/icon/icons.d.ts +0 -16
- package/dist/types/components/icon/icons.d.ts.map +0 -1
- package/dist/types/components/icon/index.d.ts +0 -3
- package/dist/types/components/icon/index.d.ts.map +0 -1
- package/dist/types/components/icon/legacy-icons.d.ts +0 -9
- package/dist/types/components/icon/legacy-icons.d.ts.map +0 -1
- package/dist/types/components/illustration/illustration.d.ts +0 -41
- package/dist/types/components/illustration/illustration.d.ts.map +0 -1
- package/dist/types/components/illustration/illustrations.d.ts +0 -6
- package/dist/types/components/illustration/illustrations.d.ts.map +0 -1
- package/dist/types/components/illustration/index.d.ts +0 -3
- package/dist/types/components/illustration/index.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -27
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/components/inline-edit/index.d.ts +0 -7
- package/dist/types/components/inline-edit/index.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit-controls.d.ts +0 -29
- package/dist/types/components/inline-edit/inline-edit-controls.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit-field.d.ts +0 -203
- package/dist/types/components/inline-edit/inline-edit-field.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit-group.d.ts +0 -60
- package/dist/types/components/inline-edit/inline-edit-group.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.base.d.ts +0 -52
- package/dist/types/components/inline-edit/inline-edit.base.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.const.d.ts +0 -6
- package/dist/types/components/inline-edit/inline-edit.const.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.events.d.ts +0 -32
- package/dist/types/components/inline-edit/inline-edit.events.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts +0 -4
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts.map +0 -1
- package/dist/types/components/inline-edit/inline-edit.types.d.ts +0 -45
- package/dist/types/components/inline-edit/inline-edit.types.d.ts.map +0 -1
- package/dist/types/components/legacy-scoped-components.d.ts +0 -269
- package/dist/types/components/legacy-scoped-components.d.ts.map +0 -1
- package/dist/types/components/link.d.ts +0 -102
- package/dist/types/components/link.d.ts.map +0 -1
- package/dist/types/components/loading.d.ts +0 -27
- package/dist/types/components/loading.d.ts.map +0 -1
- package/dist/types/components/lozenge.d.ts +0 -94
- package/dist/types/components/lozenge.d.ts.map +0 -1
- package/dist/types/components/menu/dropdown-menu.d.ts +0 -142
- package/dist/types/components/menu/dropdown-menu.d.ts.map +0 -1
- package/dist/types/components/menu/index.d.ts +0 -4
- package/dist/types/components/menu/index.d.ts.map +0 -1
- package/dist/types/components/menu/menu-item.d.ts +0 -103
- package/dist/types/components/menu/menu-item.d.ts.map +0 -1
- package/dist/types/components/menu/menu.const.d.ts +0 -3
- package/dist/types/components/menu/menu.const.d.ts.map +0 -1
- package/dist/types/components/menu/menu.d.ts +0 -188
- package/dist/types/components/menu/menu.d.ts.map +0 -1
- package/dist/types/components/modal/index.d.ts +0 -3
- package/dist/types/components/modal/index.d.ts.map +0 -1
- package/dist/types/components/modal/layout.d.ts +0 -60
- package/dist/types/components/modal/layout.d.ts.map +0 -1
- package/dist/types/components/modal/modal.d.ts +0 -75
- package/dist/types/components/modal/modal.d.ts.map +0 -1
- package/dist/types/components/navigation/index.d.ts +0 -3
- package/dist/types/components/navigation/index.d.ts.map +0 -1
- package/dist/types/components/navigation/side-navigation-item.d.ts +0 -33
- package/dist/types/components/navigation/side-navigation-item.d.ts.map +0 -1
- package/dist/types/components/navigation/side-navigation.d.ts +0 -23
- package/dist/types/components/navigation/side-navigation.d.ts.map +0 -1
- package/dist/types/components/pagination-utils.d.ts +0 -2
- package/dist/types/components/pagination-utils.d.ts.map +0 -1
- package/dist/types/components/pagination.d.ts +0 -106
- package/dist/types/components/pagination.d.ts.map +0 -1
- package/dist/types/components/popover.d.ts +0 -188
- package/dist/types/components/popover.d.ts.map +0 -1
- package/dist/types/components/record-field/index.d.ts +0 -5
- package/dist/types/components/record-field/index.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field-label.d.ts +0 -22
- package/dist/types/components/record-field/record-field-label.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field.const.d.ts +0 -5
- package/dist/types/components/record-field/record-field.const.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field.d.ts +0 -67
- package/dist/types/components/record-field/record-field.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field.styles.d.ts +0 -4
- package/dist/types/components/record-field/record-field.styles.d.ts.map +0 -1
- package/dist/types/components/record-field/record-field.types.d.ts +0 -27
- package/dist/types/components/record-field/record-field.types.d.ts.map +0 -1
- package/dist/types/components/record-row.d.ts +0 -37
- package/dist/types/components/record-row.d.ts.map +0 -1
- package/dist/types/components/tabs/index.d.ts +0 -37
- package/dist/types/components/tabs/index.d.ts.map +0 -1
- package/dist/types/components/tabs/panel.d.ts +0 -29
- package/dist/types/components/tabs/panel.d.ts.map +0 -1
- package/dist/types/components/tabs/tab-bar.d.ts +0 -36
- package/dist/types/components/tabs/tab-bar.d.ts.map +0 -1
- package/dist/types/components/tabs/tab-events.d.ts +0 -11
- package/dist/types/components/tabs/tab-events.d.ts.map +0 -1
- package/dist/types/components/tabs/tab.d.ts +0 -34
- package/dist/types/components/tabs/tab.d.ts.map +0 -1
- package/dist/types/components/tooltip.d.ts +0 -66
- package/dist/types/components/tooltip.d.ts.map +0 -1
- package/dist/types/components/virtual-list.d.ts +0 -195
- package/dist/types/components/virtual-list.d.ts.map +0 -1
- package/dist/types/helpers/css-helpers.d.ts +0 -34
- package/dist/types/helpers/css-helpers.d.ts.map +0 -1
- package/dist/types/helpers/index.d.ts +0 -2
- package/dist/types/helpers/index.d.ts.map +0 -1
- package/dist/types/layout/flex.d.ts +0 -49
- package/dist/types/layout/flex.d.ts.map +0 -1
- package/dist/types/layout/footer.d.ts +0 -23
- package/dist/types/layout/footer.d.ts.map +0 -1
- package/dist/types/layout/grid/grid-item.d.ts +0 -43
- package/dist/types/layout/grid/grid-item.d.ts.map +0 -1
- package/dist/types/layout/grid/grid.d.ts +0 -50
- package/dist/types/layout/grid/grid.d.ts.map +0 -1
- package/dist/types/layout/grid/index.d.ts +0 -3
- package/dist/types/layout/grid/index.d.ts.map +0 -1
- package/dist/types/layout/header-footer-page.d.ts +0 -23
- package/dist/types/layout/header-footer-page.d.ts.map +0 -1
- package/dist/types/layout/header.d.ts +0 -25
- package/dist/types/layout/header.d.ts.map +0 -1
- package/dist/types/layout/index.d.ts +0 -9
- package/dist/types/layout/index.d.ts.map +0 -1
- package/dist/types/layout/page-header.d.ts +0 -53
- package/dist/types/layout/page-header.d.ts.map +0 -1
- package/dist/types/layout/responsive-columns.d.ts +0 -23
- package/dist/types/layout/responsive-columns.d.ts.map +0 -1
- package/dist/types/layout/split-row.d.ts +0 -84
- package/dist/types/layout/split-row.d.ts.map +0 -1
- package/dist/types/main.d.ts +0 -7
- package/dist/types/main.d.ts.map +0 -1
- package/dist/types/mixins/component-utils.d.ts +0 -18
- package/dist/types/mixins/component-utils.d.ts.map +0 -1
- package/dist/types/mixins/index.d.ts +0 -2
- package/dist/types/mixins/index.d.ts.map +0 -1
- package/dist/types/storybook/colors.stories.d.ts +0 -20
- package/dist/types/storybook/colors.stories.d.ts.map +0 -1
- package/dist/types/styles/borders.d.ts +0 -2
- package/dist/types/styles/borders.d.ts.map +0 -1
- package/dist/types/styles/breakpoints.d.ts +0 -15
- package/dist/types/styles/breakpoints.d.ts.map +0 -1
- package/dist/types/styles/colors.d.ts +0 -176
- package/dist/types/styles/colors.d.ts.map +0 -1
- package/dist/types/styles/global-styles.d.ts +0 -18
- package/dist/types/styles/global-styles.d.ts.map +0 -1
- package/dist/types/styles/index.d.ts +0 -3
- package/dist/types/styles/index.d.ts.map +0 -1
- package/dist/types/styles/legacy-scoped-variables.d.ts +0 -17
- package/dist/types/styles/legacy-scoped-variables.d.ts.map +0 -1
- package/dist/types/styles/shadows.d.ts +0 -2
- package/dist/types/styles/shadows.d.ts.map +0 -1
- package/dist/types/styles/spacing.d.ts +0 -7
- package/dist/types/styles/spacing.d.ts.map +0 -1
- package/dist/types/styles/typography.d.ts +0 -2
- package/dist/types/styles/typography.d.ts.map +0 -1
- package/dist/types/styles/z-index.d.ts +0 -2
- package/dist/types/styles/z-index.d.ts.map +0 -1
- package/dist/types/surfaces/card/card-footer.d.ts +0 -15
- package/dist/types/surfaces/card/card-footer.d.ts.map +0 -1
- package/dist/types/surfaces/card/card-header.d.ts +0 -16
- package/dist/types/surfaces/card/card-header.d.ts.map +0 -1
- package/dist/types/surfaces/card/card-section-header.d.ts +0 -15
- package/dist/types/surfaces/card/card-section-header.d.ts.map +0 -1
- package/dist/types/surfaces/card/card.const.d.ts +0 -5
- package/dist/types/surfaces/card/card.const.d.ts.map +0 -1
- package/dist/types/surfaces/card/card.d.ts +0 -33
- package/dist/types/surfaces/card/card.d.ts.map +0 -1
- package/dist/types/surfaces/card/card.styles.d.ts +0 -5
- package/dist/types/surfaces/card/card.styles.d.ts.map +0 -1
- package/dist/types/surfaces/card/card.types.d.ts +0 -49
- package/dist/types/surfaces/card/card.types.d.ts.map +0 -1
- package/dist/types/surfaces/card/index.d.ts +0 -7
- package/dist/types/surfaces/card/index.d.ts.map +0 -1
- package/dist/types/surfaces/index.d.ts +0 -3
- package/dist/types/surfaces/index.d.ts.map +0 -1
- package/dist/types/surfaces/paper.d.ts +0 -29
- package/dist/types/surfaces/paper.d.ts.map +0 -1
- package/dist/types/types.d.ts +0 -11
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/utils/findParentWithType.d.ts +0 -4
- package/dist/types/utils/findParentWithType.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -3
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/lit-utils.d.ts +0 -29
- package/dist/types/utils/lit-utils.d.ts.map +0 -1
- package/dist/types/utils/test-utils.d.ts +0 -72
- package/dist/types/utils/test-utils.d.ts.map +0 -1
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import { Instance, Placement } from '@popperjs/core';
|
|
3
|
-
import { JSXProps } from '../types';
|
|
4
|
-
export declare const POPOVER: "brz-popover";
|
|
5
|
-
export declare const PURE_POPOVER: "brz-pure-popover";
|
|
6
|
-
export declare const POPOVER_TRIGGERS: readonly ["click", "hover", "focus"];
|
|
7
|
-
export declare const click: "click", hover: "hover", focus: "focus";
|
|
8
|
-
type PopoverTrigger = typeof POPOVER_TRIGGERS[number];
|
|
9
|
-
/**
|
|
10
|
-
* Multiple popover trigger values can be set in a single string value for the
|
|
11
|
-
* `trigger` attribute, in any combination, separated by a space.
|
|
12
|
-
*
|
|
13
|
-
* This typing is a bit tedious and may be overkill, but the payoff is better
|
|
14
|
-
* IDE suggestions when the component is used in React/TS etc.
|
|
15
|
-
*/
|
|
16
|
-
type SpaceCaseTriggers = `${typeof click} ${typeof focus}` | `${typeof click} ${typeof focus} ${typeof hover}` | `${typeof click} ${typeof hover}` | `${typeof click} ${typeof hover} ${typeof focus}` | `${typeof focus} ${typeof hover}` | `${typeof focus} ${typeof hover} ${typeof click}` | `${typeof focus} ${typeof click}` | `${typeof focus} ${typeof click} ${typeof hover}` | `${typeof hover} ${typeof click}` | `${typeof hover} ${typeof click} ${typeof focus}` | `${typeof hover} ${typeof focus}` | `${typeof hover} ${typeof focus} ${typeof click}`;
|
|
17
|
-
type Trigger = PopoverTrigger | PopoverTrigger[] | SpaceCaseTriggers;
|
|
18
|
-
export declare const POPOVER_ROLES: readonly ["dialog", "tooltip", "menu"];
|
|
19
|
-
type PopoverRole = typeof POPOVER_ROLES[number];
|
|
20
|
-
export interface PurePopoverProps {
|
|
21
|
-
'delay-on-close'?: number;
|
|
22
|
-
'delay-on-open'?: number;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
distance?: number;
|
|
25
|
-
skidding?: number;
|
|
26
|
-
'is-fixed'?: boolean;
|
|
27
|
-
'is-open'?: boolean;
|
|
28
|
-
placement?: Placement;
|
|
29
|
-
'popover-role'?: PopoverRole;
|
|
30
|
-
}
|
|
31
|
-
export interface PopoverProps extends PurePopoverProps {
|
|
32
|
-
trigger?: Trigger;
|
|
33
|
-
}
|
|
34
|
-
declare global {
|
|
35
|
-
namespace JSX {
|
|
36
|
-
interface IntrinsicElements {
|
|
37
|
-
[POPOVER]: JSXProps<Popover, PopoverProps>;
|
|
38
|
-
[PURE_POPOVER]: JSXProps<PurePopover, PurePopoverProps>;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
interface HTMLElementTagNameMap {
|
|
42
|
-
[POPOVER]: Popover;
|
|
43
|
-
[PURE_POPOVER]: PurePopover;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
type PopoverEventType = 'open' | 'after-open' | 'close' | 'after-close';
|
|
47
|
-
export declare class PopoverEvent extends CustomEvent<never> {
|
|
48
|
-
constructor(eventType: PopoverEventType);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Pure popover component
|
|
52
|
-
*
|
|
53
|
-
* @slot default Reference element that will trigger the popover
|
|
54
|
-
* @slot content Content to be shown in popover
|
|
55
|
-
*
|
|
56
|
-
* @tag brz-pure-popover
|
|
57
|
-
*/
|
|
58
|
-
export declare class PurePopover extends LitElement {
|
|
59
|
-
static styles: import("lit").CSSResult;
|
|
60
|
-
/**
|
|
61
|
-
* Number of pixels between the reference element and the Popover
|
|
62
|
-
*/
|
|
63
|
-
distance: number;
|
|
64
|
-
/**
|
|
65
|
-
* Number of pixels to offset the Popover parallel to the closest edge of the reference element
|
|
66
|
-
*/
|
|
67
|
-
skidding: number;
|
|
68
|
-
/**
|
|
69
|
-
* Sets the delay time when popover content is hidden (in milliseconds)
|
|
70
|
-
*/
|
|
71
|
-
delayOnClose: number;
|
|
72
|
-
/**
|
|
73
|
-
* Sets the delay time when popover content is shown (in milliseconds)
|
|
74
|
-
*/
|
|
75
|
-
delayOnOpen: number;
|
|
76
|
-
/**
|
|
77
|
-
* Sets the popover content to fixed position, which ensures it is visible even when a parent container's overflow is hidden
|
|
78
|
-
*/
|
|
79
|
-
isFixed: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Directly change the value to immediately open/close the Popover. Ignores any delay values that may be set.
|
|
82
|
-
*/
|
|
83
|
-
isOpen: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* The placement of the popover content relative to the reference element
|
|
86
|
-
*/
|
|
87
|
-
placement: Placement;
|
|
88
|
-
/**
|
|
89
|
-
* Sets the popover role
|
|
90
|
-
*/
|
|
91
|
-
popoverRole: PopoverRole;
|
|
92
|
-
/**
|
|
93
|
-
* Stops the popover content from showing
|
|
94
|
-
*/
|
|
95
|
-
disabled: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
protected popoverId: string;
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
protected popperInstance: Instance | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
protected delayTimeout: number;
|
|
108
|
-
disconnectedCallback(): void;
|
|
109
|
-
/**
|
|
110
|
-
* This can be used to manually trigger a redraw of the popover.
|
|
111
|
-
* Usually useful when the reference element changes size and you need to
|
|
112
|
-
* ensure the popover position is correct.
|
|
113
|
-
*/
|
|
114
|
-
updatePosition(): void;
|
|
115
|
-
protected updated(changedProperties: PropertyValues): Promise<void>;
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
private get popperOptions();
|
|
120
|
-
protected setPopperOptions(): Promise<void>;
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
protected get referenceElement(): HTMLElement;
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
protected get contentElement(): HTMLElement;
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
protected get popoverElement(): HTMLElement;
|
|
133
|
-
protected emit(eventType: PopoverEventType): void;
|
|
134
|
-
open(): Promise<void>;
|
|
135
|
-
close(): Promise<void>;
|
|
136
|
-
toggleIsOpen(): Promise<void>;
|
|
137
|
-
protected render(): import("lit-html").TemplateResult<1>;
|
|
138
|
-
}
|
|
139
|
-
export declare const POPOVER_LISTENABLE_EVENT_TYPES: readonly ["blur", "mouseenter", "mouseleave", "keydown", "click", "focus"];
|
|
140
|
-
/**
|
|
141
|
-
* Popover component
|
|
142
|
-
*
|
|
143
|
-
* @slot default Reference element that will trigger the popover
|
|
144
|
-
* @slot content Content to be shown in popover
|
|
145
|
-
*
|
|
146
|
-
* @tag brz-popover
|
|
147
|
-
*/
|
|
148
|
-
export declare class Popover extends PurePopover {
|
|
149
|
-
constructor();
|
|
150
|
-
/**
|
|
151
|
-
* Sets the trigger on the reference element to show/hide popover content
|
|
152
|
-
*/
|
|
153
|
-
trigger: Trigger;
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
*/
|
|
157
|
-
private hasFocus;
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
|
-
private hasPointer;
|
|
162
|
-
/**
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
private listenableEventHandlers;
|
|
166
|
-
connectedCallback(): Promise<void>;
|
|
167
|
-
disconnectedCallback(): Promise<void>;
|
|
168
|
-
private prepareListeners;
|
|
169
|
-
private teardownListeners;
|
|
170
|
-
/**
|
|
171
|
-
* @internal
|
|
172
|
-
*/
|
|
173
|
-
private get triggers();
|
|
174
|
-
private hasTrigger;
|
|
175
|
-
private setFocus;
|
|
176
|
-
private removeFocus;
|
|
177
|
-
private setPointer;
|
|
178
|
-
private removePointer;
|
|
179
|
-
private handleOutsideClick;
|
|
180
|
-
private handleClick;
|
|
181
|
-
private handleFocus;
|
|
182
|
-
private handleBlur;
|
|
183
|
-
private handleMouseEnter;
|
|
184
|
-
private handleMouseLeave;
|
|
185
|
-
private handleKeyDown;
|
|
186
|
-
}
|
|
187
|
-
export {};
|
|
188
|
-
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,cA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AC,UAAU;IAIlB,OAAO,CAAC,aAAa;YAIP,kBAAkB;YAOlB,WAAW;YAQX,WAAW;YAOX,UAAU;YAOV,gBAAgB;YAQhB,gBAAgB;YAQhB,aAAa;CAO5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/record-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
/**
|
|
3
|
-
* Applies consistent field label styling to slotted content. This allows us to
|
|
4
|
-
* wrap different elements where necessary for accessibility, e.g. `label` or
|
|
5
|
-
* `dt` elements.
|
|
6
|
-
*
|
|
7
|
-
* Self-assigns to the label slot of a RecordField.
|
|
8
|
-
*
|
|
9
|
-
* @tag brz-record-field-label
|
|
10
|
-
*/
|
|
11
|
-
export declare class RecordFieldLabel extends LitElement {
|
|
12
|
-
static styles: import("lit").CSSResult[];
|
|
13
|
-
connectedCallback(): void;
|
|
14
|
-
/** @internal */
|
|
15
|
-
private hasContent;
|
|
16
|
-
/** @internal */
|
|
17
|
-
private defaultSlot;
|
|
18
|
-
protected updated(changedProperties: PropertyValues): void;
|
|
19
|
-
private setState;
|
|
20
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=record-field-label.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record-field-label.d.ts","sourceRoot":"","sources":["../../../../src/components/record-field/record-field-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAMtD;;;;;;;;GAQG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAA2B;IAExC,iBAAiB;IAOjB,gBAAgB;IACP,OAAO,CAAC,UAAU,CAAQ;IAEnC,gBAAgB;IAEhB,OAAO,CAAC,WAAW,CAAgB;IAEnC,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,cAAc;YAKrC,QAAQ;IAStB,MAAM;CAGP"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const RECORD_FIELD: "brz-record-field";
|
|
2
|
-
export declare const RECORD_FIELD_LABEL: "brz-record-field-label";
|
|
3
|
-
export declare const inputSizes: readonly ["x-small", "small", "medium", "large", "x-large", "auto", "full"];
|
|
4
|
-
export declare const labelPositions: readonly ["side", "top"];
|
|
5
|
-
//# sourceMappingURL=record-field.const.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record-field.const.d.ts","sourceRoot":"","sources":["../../../../src/components/record-field/record-field.const.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,oBAAoC,CAAA;AAC7D,eAAO,MAAM,kBAAkB,0BAA0C,CAAA;AAEzE,eAAO,MAAM,UAAU,6EAQb,CAAA;AAEV,eAAO,MAAM,cAAc,0BAA2B,CAAA"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import type { InputSizes, LabelPosition, RecordFieldImpl } from './record-field.types';
|
|
3
|
-
/**
|
|
4
|
-
* Wraps a field value (often an input) and applies a label to it with a
|
|
5
|
-
* consistent layout. Label can be positioned above or to the side of the value.
|
|
6
|
-
*
|
|
7
|
-
* This component is used within other components such as `LabeledInput` (and
|
|
8
|
-
* all the input components which extend from it) and `InlineEditField`. It is
|
|
9
|
-
* flexible and accepts mixed content, but is opinionated about how that content
|
|
10
|
-
* will be arranged.
|
|
11
|
-
*
|
|
12
|
-
* Use with a `RecordFieldLabel`.
|
|
13
|
-
*
|
|
14
|
-
* @slot children The field value
|
|
15
|
-
* @slot label Describes what the field value represents
|
|
16
|
-
* @slot label-right An area to the top-right of the field
|
|
17
|
-
*
|
|
18
|
-
* @tag brz-record-field
|
|
19
|
-
*/
|
|
20
|
-
export declare class RecordField extends LitElement implements RecordFieldImpl {
|
|
21
|
-
static styles: import("lit").CSSResult[];
|
|
22
|
-
/**
|
|
23
|
-
* The position of the supplied label
|
|
24
|
-
*/
|
|
25
|
-
labelPosition: LabelPosition;
|
|
26
|
-
/**
|
|
27
|
-
* The size of the input
|
|
28
|
-
*/
|
|
29
|
-
size: InputSizes;
|
|
30
|
-
/** @internal */
|
|
31
|
-
private hasLabel;
|
|
32
|
-
/** @internal */
|
|
33
|
-
private hasLabelRight;
|
|
34
|
-
/**
|
|
35
|
-
* When a value is evaluated as multiline, we apply some extra spacing to the
|
|
36
|
-
* top/bottom of the container so that the first line always lines up with a
|
|
37
|
-
* side label.
|
|
38
|
-
*
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
|
-
private isValueMultiline;
|
|
42
|
-
/** @internal */
|
|
43
|
-
private value;
|
|
44
|
-
/** @internal */
|
|
45
|
-
private slottedLabel;
|
|
46
|
-
/** @internal */
|
|
47
|
-
private slottedLabelRight;
|
|
48
|
-
protected updated(changedProperties: PropertyValues): void;
|
|
49
|
-
private setLabelState;
|
|
50
|
-
/**
|
|
51
|
-
* Attempts to evaluate whether the value element is a multiline text value.
|
|
52
|
-
* This has the potential to be a bit flaky since anything could be slotted in
|
|
53
|
-
* the value, but most other elements are not exact multiples of line height,
|
|
54
|
-
* so we use this as the basis for setting the multiline state.
|
|
55
|
-
*/
|
|
56
|
-
private checkIfMultiline;
|
|
57
|
-
/** @internal */
|
|
58
|
-
private get sizeClass();
|
|
59
|
-
/** @internal */
|
|
60
|
-
private get labelRightRowTemplate();
|
|
61
|
-
/** @internal */
|
|
62
|
-
private get valueTemplate();
|
|
63
|
-
/** @internal */
|
|
64
|
-
private get labelRightTemplate();
|
|
65
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
66
|
-
}
|
|
67
|
-
//# sourceMappingURL=record-field.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record-field.d.ts","sourceRoot":"","sources":["../../../../src/components/record-field/record-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAA;AAWtD,OAAO,KAAK,EACV,UAAU,EACV,aAAa,EACb,eAAe,EAChB,MAAM,sBAAsB,CAAA;AAE7B;;;;;;;;;;;;;;;;GAgBG;AACH,qBACa,WAAY,SAAQ,UAAW,YAAW,eAAe;IACpE,MAAM,CAAC,MAAM,4BAAwC;IAErD;;OAEG;IAEH,aAAa,EAAE,aAAa,CAAQ;IAEpC;;OAEG;IAEH,IAAI,EAAE,UAAU,CAAW;IAE3B,gBAAgB;IACP,OAAO,CAAC,QAAQ,CAAQ;IAEjC,gBAAgB;IACP,OAAO,CAAC,aAAa,CAAQ;IAEtC;;;;;;OAMG;IACM,OAAO,CAAC,gBAAgB,CAAQ;IAEzC,gBAAgB;IAEhB,OAAO,CAAC,KAAK,CAAc;IAE3B,gBAAgB;IAEhB,OAAO,CAAC,YAAY,CAAgB;IAEpC,gBAAgB;IAEhB,OAAO,CAAC,iBAAiB,CAAgB;IAEzC,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,cAAc;YAYrC,aAAa;IAQ3B;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAQxB,gBAAgB;IAChB,OAAO,KAAK,SAAS,GAEpB;IAED,gBAAgB;IAChB,OAAO,KAAK,qBAAqB,GAahC;IAED,gBAAgB;IAChB,OAAO,KAAK,aAAa,GAExB;IAED,gBAAgB;IAChB,OAAO,KAAK,kBAAkB,GAE7B;IAED,MAAM;CAgCP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/record-field/record-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yBAwB5B,CAAA;AAED,eAAO,MAAM,iBAAiB,yBA0E7B,CAAA;AAED,eAAO,MAAM,sBAAsB,yBAQlC,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { JSXProps } from '../../types';
|
|
2
|
-
import { RecordField } from './record-field';
|
|
3
|
-
import { RecordFieldLabel } from './record-field-label';
|
|
4
|
-
import { RECORD_FIELD_LABEL, inputSizes, labelPositions, RECORD_FIELD } from './record-field.const';
|
|
5
|
-
export type InputSizes = typeof inputSizes[number];
|
|
6
|
-
export type LabelPosition = typeof labelPositions[number];
|
|
7
|
-
export interface RecordFieldImpl {
|
|
8
|
-
labelPosition?: LabelPosition;
|
|
9
|
-
size?: InputSizes;
|
|
10
|
-
}
|
|
11
|
-
export interface RecordFieldProps {
|
|
12
|
-
'label-position'?: LabelPosition;
|
|
13
|
-
size?: InputSizes;
|
|
14
|
-
}
|
|
15
|
-
declare global {
|
|
16
|
-
namespace JSX {
|
|
17
|
-
interface IntrinsicElements {
|
|
18
|
-
[RECORD_FIELD_LABEL]: JSXProps<RecordFieldLabel>;
|
|
19
|
-
[RECORD_FIELD]: JSXProps<RecordField, RecordFieldProps>;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
interface HTMLElementTagNameMap {
|
|
23
|
-
[RECORD_FIELD_LABEL]: RecordFieldLabel;
|
|
24
|
-
[RECORD_FIELD]: RecordField;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=record-field.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record-field.types.d.ts","sourceRoot":"","sources":["../../../../src/components/record-field/record-field.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,cAAc,EACd,YAAY,EACb,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;AAElD,MAAM,MAAM,aAAa,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC,CAAA;AAEzD,MAAM,WAAW,eAAe;IAC9B,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAChC,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAA;YAChD,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAA;SACxD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,kBAAkB,CAAC,EAAE,gBAAgB,CAAA;QACtC,CAAC,YAAY,CAAC,EAAE,WAAW,CAAA;KAC5B;CACF"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { JSXProps } from '../types';
|
|
2
|
-
import { RecordFieldLabel, RecordField } from './record-field';
|
|
3
|
-
export declare const RECORD_ROW: "brz-record-row";
|
|
4
|
-
export declare const RECORD_ROW_LABEL: "brz-record-row-label";
|
|
5
|
-
declare global {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
[RECORD_ROW]: JSXProps<RecordRow>;
|
|
9
|
-
[RECORD_ROW_LABEL]: JSXProps<RecordRowLabel>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
interface HTMLElementTagNameMap {
|
|
13
|
-
[RECORD_ROW]: RecordRow;
|
|
14
|
-
[RECORD_ROW_LABEL]: RecordRowLabel;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Record row component
|
|
19
|
-
*
|
|
20
|
-
* @deprecated Use brz-record-field
|
|
21
|
-
*
|
|
22
|
-
* @tag brz-record-row
|
|
23
|
-
*/
|
|
24
|
-
export declare class RecordRow extends RecordField {
|
|
25
|
-
static styles: import("lit").CSSResult[];
|
|
26
|
-
connectedCallback(): void;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Record row label component
|
|
30
|
-
*
|
|
31
|
-
* @deprecated Use brz-field-label
|
|
32
|
-
*
|
|
33
|
-
* @tag brz-record-row-label
|
|
34
|
-
*/
|
|
35
|
-
export declare class RecordRowLabel extends RecordFieldLabel {
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=record-row.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record-row.d.ts","sourceRoot":"","sources":["../../../src/components/record-row.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAEnC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE9D,eAAO,MAAM,UAAU,kBAAkC,CAAA;AACzD,eAAO,MAAM,gBAAgB,wBAAwC,CAAA;AAErE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;YACjC,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAA;SAC7C;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,UAAU,CAAC,EAAE,SAAS,CAAA;QACvB,CAAC,gBAAgB,CAAC,EAAE,cAAc,CAAA;KACnC;CACF;AAED;;;;;;GAMG;AACH,qBACa,SAAU,SAAQ,WAAW;IACxC,MAAM,CAAC,MAAM,4BAOZ;IAED,iBAAiB;CAKlB;AAED;;;;;;GAMG;AACH,qBACa,cAAe,SAAQ,gBAAgB;CAAG"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { JSXProps } from '../../types';
|
|
3
|
-
import '../../layout/flex';
|
|
4
|
-
import { TabPanel, TAB_PANEL } from './panel';
|
|
5
|
-
import { Tab, TAB } from './tab';
|
|
6
|
-
import { TabBar, TAB_BAR } from './tab-bar';
|
|
7
|
-
import { TabSelectedEvent, TabDeselectedEvent } from './tab-events';
|
|
8
|
-
export declare const TABS: "brz-tabs";
|
|
9
|
-
export { TabPanel, Tab, TabBar, TabSelectedEvent, TabDeselectedEvent, TAB, TAB_PANEL, TAB_BAR, };
|
|
10
|
-
export interface TabsProps {
|
|
11
|
-
selected?: string;
|
|
12
|
-
}
|
|
13
|
-
declare global {
|
|
14
|
-
namespace JSX {
|
|
15
|
-
interface IntrinsicElements {
|
|
16
|
-
[TABS]: JSXProps<Tabs, TabsProps>;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
interface HTMLElementTagNameMap {
|
|
20
|
-
[TABS]: Tabs;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Tabs component.
|
|
25
|
-
*
|
|
26
|
-
* @tag brz-tabs
|
|
27
|
-
*/
|
|
28
|
-
export declare class Tabs extends LitElement {
|
|
29
|
-
static styles: import("lit").CSSResult;
|
|
30
|
-
selected: string;
|
|
31
|
-
panels: TabPanel[];
|
|
32
|
-
handleSlotChange(): void;
|
|
33
|
-
updatePanelVisibility(): void;
|
|
34
|
-
handleTabSelected(event: TabSelectedEvent): void;
|
|
35
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,mBAAmB,CAAA;AAE1B,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAEnE,eAAO,MAAM,IAAI,YAA4B,CAAA;AAE7C,OAAO,EACL,QAAQ,EACR,GAAG,EACH,MAAM,EACN,gBAAgB,EAChB,kBAAkB,EAClB,GAAG,EACH,SAAS,EACT,OAAO,GACR,CAAA;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;SAClC;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,IAAI,CAAC,EAAE,IAAI,CAAA;KACb;CACF;AAED;;;;GAIG;AACH,qBACa,IAAK,SAAQ,UAAU;IAClC,MAAM,CAAC,MAAM,0BAIZ;IAGD,QAAQ,SAAK;IAGb,MAAM,EAAE,QAAQ,EAAE,CAAK;IAEvB,gBAAgB;IA+BhB,qBAAqB;IASrB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB;IAOzC,MAAM;CAYP"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { JSXProps } from '../../types';
|
|
3
|
-
export declare const TAB_PANEL: "brz-tab-panel";
|
|
4
|
-
export interface TabPanelProps {
|
|
5
|
-
name: string;
|
|
6
|
-
shown?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare global {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
[TAB_PANEL]: JSXProps<TabPanel, TabPanelProps>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
[TAB_PANEL]: TabPanel;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Tab panel component.
|
|
20
|
-
*
|
|
21
|
-
* @tag brz-tab-panel
|
|
22
|
-
*/
|
|
23
|
-
export declare class TabPanel extends LitElement {
|
|
24
|
-
static styles: import("lit").CSSResult;
|
|
25
|
-
name: string;
|
|
26
|
-
shown: boolean;
|
|
27
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=panel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGtC,eAAO,MAAM,SAAS,iBAAiC,CAAA;AAEvD,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAA;SAC/C;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAA;KACtB;CACF;AAED;;;;GAIG;AACH,qBACa,QAAS,SAAQ,UAAU;IACtC,MAAM,CAAC,MAAM,0BAIZ;IAGD,IAAI,SAAK;IAGT,KAAK,UAAQ;IAEb,MAAM;CAGP"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import { JSXProps } from '../../types';
|
|
3
|
-
import '../../layout/flex';
|
|
4
|
-
import { Tab } from './tab';
|
|
5
|
-
export declare const TAB_BAR: "brz-tab-bar";
|
|
6
|
-
export interface TabBarProps {
|
|
7
|
-
selected?: string;
|
|
8
|
-
controlled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare global {
|
|
11
|
-
namespace JSX {
|
|
12
|
-
interface IntrinsicElements {
|
|
13
|
-
[TAB_BAR]: JSXProps<TabBar, TabBarProps>;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
interface HTMLElementTagNameMap {
|
|
17
|
-
[TAB_BAR]: TabBar;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Tab bar component.
|
|
22
|
-
*
|
|
23
|
-
* @tag brz-tab-bar
|
|
24
|
-
*/
|
|
25
|
-
export declare class TabBar extends LitElement {
|
|
26
|
-
static styles: import("lit").CSSResult;
|
|
27
|
-
controlled: boolean;
|
|
28
|
-
selected: string;
|
|
29
|
-
tabs: Tab[];
|
|
30
|
-
handleSlotChange(): void;
|
|
31
|
-
handleClick(event: MouseEvent): void;
|
|
32
|
-
updated(changed: PropertyValues<TabBar>): void;
|
|
33
|
-
updateSelectedTab(): void;
|
|
34
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=tab-bar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/tab-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAA;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,mBAAmB,CAAA;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAG3B,eAAO,MAAM,OAAO,eAA+B,CAAA;AAEnD,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;SACzC;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAClB;CACF;AAED;;;;GAIG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC,MAAM,CAAC,MAAM,0BAkBZ;IAGD,UAAU,UAAQ;IAGlB,QAAQ,SAAK;IAGb,IAAI,EAAE,GAAG,EAAE,CAAK;IAEhB,gBAAgB;IAiChB,WAAW,CAAC,KAAK,EAAE,UAAU;IAY7B,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC;IAMvC,iBAAiB;IASjB,MAAM;CAOP"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare class TabSelectedEvent extends CustomEvent<{
|
|
2
|
-
name: string;
|
|
3
|
-
}> {
|
|
4
|
-
constructor(name: string);
|
|
5
|
-
}
|
|
6
|
-
export declare class TabDeselectedEvent extends CustomEvent<{
|
|
7
|
-
name: string;
|
|
8
|
-
}> {
|
|
9
|
-
constructor(name: string);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=tab-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tab-events.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/tab-events.ts"],"names":[],"mappings":"AAAA,qBAAa,gBAAiB,SAAQ,WAAW,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;gBACrD,IAAI,EAAE,MAAM;CAGzB;AAED,qBAAa,kBAAmB,SAAQ,WAAW,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;gBACvD,IAAI,EAAE,MAAM;CAGzB"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import { JSXProps } from '../../types';
|
|
3
|
-
import { TabPanel } from './panel';
|
|
4
|
-
export declare const TAB: "brz-tab";
|
|
5
|
-
export interface TabProps {
|
|
6
|
-
selected?: boolean;
|
|
7
|
-
name?: string;
|
|
8
|
-
link?: string;
|
|
9
|
-
}
|
|
10
|
-
export { TabPanel };
|
|
11
|
-
declare global {
|
|
12
|
-
namespace JSX {
|
|
13
|
-
interface IntrinsicElements {
|
|
14
|
-
[TAB]: JSXProps<Tab, TabProps>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
interface HTMLElementTagNameMap {
|
|
18
|
-
[TAB]: Tab;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Tab component.
|
|
23
|
-
*
|
|
24
|
-
* @tag brz-tab
|
|
25
|
-
*/
|
|
26
|
-
export declare class Tab extends LitElement {
|
|
27
|
-
static styles: import("lit").CSSResult;
|
|
28
|
-
selected: boolean;
|
|
29
|
-
name: string;
|
|
30
|
-
link: string;
|
|
31
|
-
updated(changedProperties: PropertyValues): void;
|
|
32
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=tab.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/tab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAA;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGlC,eAAO,MAAM,GAAG,WAA2B,CAAA;AAE3C,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA;AAEnB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;SAC/B;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KACX;CACF;AAED;;;;GAIG;AACH,qBACa,GAAI,SAAQ,UAAU;IACjC,MAAM,CAAC,MAAM,0BAqBZ;IAGD,QAAQ,UAAQ;IAGhB,IAAI,SAAK;IAGT,IAAI,SAAK;IAET,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAWzC,MAAM;CAaP"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { PopoverProps } from './popover';
|
|
3
|
-
import type { JSXProps } from '../types';
|
|
4
|
-
export declare const TOOLTIP: "brz-tooltip";
|
|
5
|
-
type Theme = keyof typeof TooltipTheme;
|
|
6
|
-
export declare enum TooltipTheme {
|
|
7
|
-
dark = 0,
|
|
8
|
-
light = 1
|
|
9
|
-
}
|
|
10
|
-
export interface TooltipProps extends Pick<PopoverProps, 'delay-on-close' | 'delay-on-open' | 'disabled' | 'is-fixed' | 'placement' | 'trigger'> {
|
|
11
|
-
content: string;
|
|
12
|
-
theme?: Theme;
|
|
13
|
-
}
|
|
14
|
-
declare global {
|
|
15
|
-
namespace JSX {
|
|
16
|
-
interface IntrinsicElements {
|
|
17
|
-
[TOOLTIP]: JSXProps<Tooltip, TooltipProps>;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
interface HTMLElementTagNameMap {
|
|
21
|
-
[TOOLTIP]: Tooltip;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Tooltip component
|
|
26
|
-
*
|
|
27
|
-
* @tag brz-tooltip
|
|
28
|
-
*/
|
|
29
|
-
export declare class Tooltip extends LitElement {
|
|
30
|
-
static styles: import("lit").CSSResult;
|
|
31
|
-
/**
|
|
32
|
-
* Time delay before hiding tooltip
|
|
33
|
-
*/
|
|
34
|
-
delayOnClose: number;
|
|
35
|
-
/**
|
|
36
|
-
* Time delay before showing tooltip
|
|
37
|
-
*/
|
|
38
|
-
delayOnOpen: number;
|
|
39
|
-
/**
|
|
40
|
-
* Uses fixed positioning
|
|
41
|
-
*/
|
|
42
|
-
isFixed: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Placement of tooltip in relation to reference element
|
|
45
|
-
*/
|
|
46
|
-
placement: PopoverProps['placement'];
|
|
47
|
-
/**
|
|
48
|
-
* Trigger states for tooltip
|
|
49
|
-
*/
|
|
50
|
-
trigger: PopoverProps['trigger'];
|
|
51
|
-
/**
|
|
52
|
-
* Stops tooltip for showing
|
|
53
|
-
*/
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Content to be shown in tooltip
|
|
57
|
-
*/
|
|
58
|
-
content: string;
|
|
59
|
-
/**
|
|
60
|
-
* The tooltip theme
|
|
61
|
-
*/
|
|
62
|
-
theme: Theme;
|
|
63
|
-
protected render(): import("lit-html").TemplateResult<1>;
|
|
64
|
-
}
|
|
65
|
-
export {};
|
|
66
|
-
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAA;AAG3C,OAAO,EAAiB,YAAY,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,KAAK,E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