@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,195 +0,0 @@
|
|
|
1
|
-
import { LitElement, TemplateResult, PropertyValues } from 'lit';
|
|
2
|
-
import type { JSXProps } from '../types';
|
|
3
|
-
export declare const VIRTUAL_LIST: "brz-virtual-list";
|
|
4
|
-
export interface VirtualListAttributes {
|
|
5
|
-
items: unknown[];
|
|
6
|
-
'item-min-height': number;
|
|
7
|
-
overscan?: number;
|
|
8
|
-
}
|
|
9
|
-
declare global {
|
|
10
|
-
namespace JSX {
|
|
11
|
-
interface IntrinsicElements {
|
|
12
|
-
[VIRTUAL_LIST]: JSXProps<VirtualList, VirtualListAttributes>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
interface HTMLElementTagNameMap {
|
|
16
|
-
[VIRTUAL_LIST]: VirtualList;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export interface VisibleItem {
|
|
20
|
-
index: number;
|
|
21
|
-
item: TemplateResult;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* VirtualList is helper component for high-volume lists. It eases the strain on
|
|
25
|
-
* the browser by only rendering a small slice of the list at a time, while the
|
|
26
|
-
* size of the list container is estimated and padded out to help normalize
|
|
27
|
-
* scroll behaviour.
|
|
28
|
-
*
|
|
29
|
-
* @tag brz-virtual-list
|
|
30
|
-
*/
|
|
31
|
-
export declare class VirtualList<ItemType = unknown, ItemElement = HTMLElement> extends LitElement {
|
|
32
|
-
static styles: import("lit").CSSResult[];
|
|
33
|
-
/**
|
|
34
|
-
* List of items to be virtualized. Usually an array of data objects.
|
|
35
|
-
*/
|
|
36
|
-
items: ItemType[];
|
|
37
|
-
/**
|
|
38
|
-
* Fixed or minimum height of each list item in pixels. Defaults to 32.
|
|
39
|
-
* Setting a known min-height of each list item significantly improves
|
|
40
|
-
* performance.
|
|
41
|
-
*/
|
|
42
|
-
itemMinHeight: number;
|
|
43
|
-
/**
|
|
44
|
-
* Number of items to render before and after the current item index. This
|
|
45
|
-
* helps the virtual scroll feel more natural by avoiding flashes of "blank"
|
|
46
|
-
* items or badly estimated offsets. However, be aware that a higher value
|
|
47
|
-
* means more elements are rendered to the DOM so can eventually lead to worse
|
|
48
|
-
* overall performance.
|
|
49
|
-
*
|
|
50
|
-
* @attr overscan
|
|
51
|
-
*/
|
|
52
|
-
overscan: number;
|
|
53
|
-
renderItem: (item: ItemType, index: number) => TemplateResult<1>;
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
private currentScrollTop;
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
private endIndex;
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
private innerHeight;
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
private itemHeights;
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
private itemIdentifier?;
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
private originalItemsCount;
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
private currentItemsCount;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
private visibleItems;
|
|
86
|
-
connectedCallback(): void;
|
|
87
|
-
private sync;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private list;
|
|
92
|
-
/**
|
|
93
|
-
* Triggers a sync when the query changes
|
|
94
|
-
*/
|
|
95
|
-
protected updated(changedProperties: PropertyValues): void;
|
|
96
|
-
/**
|
|
97
|
-
* Calculates an estimated total list height to pad out the scrollable content
|
|
98
|
-
*
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
private get estimatedInnerHeight();
|
|
102
|
-
/**
|
|
103
|
-
* Provides an approximate value for item heights while scrolling. For long
|
|
104
|
-
* lists with large fluctuations in item height it makes predicting a current
|
|
105
|
-
* position more wobbly, so by taking a mean and mode average we increase the
|
|
106
|
-
* predictability as the user scrolls through the list.
|
|
107
|
-
*
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
|
-
private get estimatedItemMinHeight();
|
|
111
|
-
/**
|
|
112
|
-
* Calculates the mean average of all item heights
|
|
113
|
-
*
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
private get itemHeightMean();
|
|
117
|
-
/**
|
|
118
|
-
* Calculates the mode average of current item heights. We take a small slice
|
|
119
|
-
* rather than the whole list as that could be a bit costly. The first items
|
|
120
|
-
* in the list is usually a good indicator of remaining item heights.
|
|
121
|
-
*
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
private get slicedItemHeightMode();
|
|
125
|
-
/**
|
|
126
|
-
* Resets the current list of virtualized items and associated properties
|
|
127
|
-
*/
|
|
128
|
-
private resetItems;
|
|
129
|
-
/**
|
|
130
|
-
* Returns true if a property has changed that should trigger a sync
|
|
131
|
-
*/
|
|
132
|
-
private canSync;
|
|
133
|
-
/**
|
|
134
|
-
* Adds up the item heights up to the current item index. Used to set the top
|
|
135
|
-
* offset for each item in the scroll container.
|
|
136
|
-
*/
|
|
137
|
-
private sumOfHeightsToIndex;
|
|
138
|
-
/**
|
|
139
|
-
* Syncs the rolling render window. Usually triggered by scroll or changed
|
|
140
|
-
* properties requiring the list to re-render.
|
|
141
|
-
*/
|
|
142
|
-
private syncVisibleItems;
|
|
143
|
-
/**
|
|
144
|
-
* Dispatches an event containing a list of references to the rendered item
|
|
145
|
-
* elements. This saves extensive DOM-querying by parents to access them.
|
|
146
|
-
*/
|
|
147
|
-
private emitUpdate;
|
|
148
|
-
/**
|
|
149
|
-
* Reads the actual item heights as they are rendered into the rolling render
|
|
150
|
-
* window and tracks them in the item heights array. This helps variable item
|
|
151
|
-
* heights to become more predictable over time and reduce potentially janky
|
|
152
|
-
* behaviour while scrolling.
|
|
153
|
-
*/
|
|
154
|
-
private updateItemHeights;
|
|
155
|
-
/**
|
|
156
|
-
* Returns an array of elements currently in the rolling render window. Note
|
|
157
|
-
* that in this case "visible" may also include elements sitting outside the
|
|
158
|
-
* overflow container due to overscan.
|
|
159
|
-
*
|
|
160
|
-
* @internal
|
|
161
|
-
*/
|
|
162
|
-
private get visibleItemElements();
|
|
163
|
-
/**
|
|
164
|
-
* Updates the current scrollTop value as the user scrolls the list container,
|
|
165
|
-
* then syncs up the visible items.
|
|
166
|
-
*/
|
|
167
|
-
private handleScroll;
|
|
168
|
-
/**
|
|
169
|
-
* Returns the index of the first item in the list to make visible. Accounts
|
|
170
|
-
* for an overscan value if set, ensuring the index is never out of bounds.
|
|
171
|
-
*
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
|
-
private get rollingStartIndex();
|
|
175
|
-
/**
|
|
176
|
-
* Returns the index of the last item in the list to make visible. Accounts
|
|
177
|
-
* for an overscan value if set, ensuring the index is never out of bounds.
|
|
178
|
-
*
|
|
179
|
-
* @internal
|
|
180
|
-
*/
|
|
181
|
-
private get rollingEndIndex();
|
|
182
|
-
/**
|
|
183
|
-
* Reads the height of the host container
|
|
184
|
-
*
|
|
185
|
-
* @internal
|
|
186
|
-
*/
|
|
187
|
-
private get containerHeight();
|
|
188
|
-
protected render(): TemplateResult<1>;
|
|
189
|
-
}
|
|
190
|
-
export declare class VirtualListUpdateEvent<ItemElement = HTMLElement, Detail = {
|
|
191
|
-
itemElements: ItemElement[];
|
|
192
|
-
}> extends CustomEvent<Detail> {
|
|
193
|
-
constructor(options?: ConstructorParameters<typeof CustomEvent<Detail>>[1]);
|
|
194
|
-
}
|
|
195
|
-
//# sourceMappingURL=virtual-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-list.d.ts","sourceRoot":"","sources":["../../../src/components/virtual-list.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,cAAc,EAGd,cAAc,EAEf,MAAM,KAAK,CAAA;AAKZ,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,eAAO,MAAM,YAAY,oBAAoC,CAAA;AAE7D,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC,CAAA;SAC7D;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,YAAY,CAAC,EAAE,WAAW,CAAA;KAC5B;CACF;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;CACrB;AAED;;;;;;;GAOG;AACH,qBACa,WAAW,CACtB,QAAQ,GAAG,OAAO,EAClB,WAAW,GAAG,WAAW,CACzB,SAAQ,UAAU;IAClB,MAAM,CAAC,MAAM,4BAgBZ;IAED;;OAEG;IAEH,KAAK,EAAE,QAAQ,EAAE,CAAK;IAEtB;;;;OAIG;IAEH,aAAa,SAAK;IAElB;;;;;;;;OAQG;IAEH,QAAQ,SAAK;IAGb,UAAU,SAAU,QAAQ,SAAS,MAAM,uBAO1C;IAED;;OAEG;IAEH,OAAO,CAAC,gBAAgB,CAAI;IAE5B;;OAEG;IAEH,OAAO,CAAC,QAAQ,CAAI;IAEpB;;OAEG;IAEH,OAAO,CAAC,WAAW,CAAI;IAEvB;;OAEG;IAEH,OAAO,CAAC,WAAW,CAAe;IAElC;;OAEG;IAEH,OAAO,CAAC,cAAc,CAAC,CAAK;IAE5B;;OAEG;IAEH,OAAO,CAAC,kBAAkB,CAAI;IAE9B;;OAEG;IAEH,OAAO,CAAC,iBAAiB,CAAI;IAE7B;;OAEG;IAEH,OAAO,CAAC,YAAY,CAAoB;IAExC,iBAAiB;YAKH,IAAI;IASlB;;OAEG;IAEH,OAAO,CAAC,IAAI,CAAc;IAE1B;;OAEG;IACH,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAKnD;;;;OAIG;IACH,OAAO,KAAK,oBAAoB,GAE/B;IAED;;;;;;;OAOG;IACH,OAAO,KAAK,sBAAsB,GAMjC;IAED;;;;OAIG;IACH,OAAO,KAAK,cAAc,GAKzB;IAED;;;;;;OAMG;IACH,OAAO,KAAK,oBAAoB,GAmB/B;IAED;;OAEG;IACH,OAAO,CAAC,UAAU;IAOlB;;OAEG;IACH,OAAO,CAAC,OAAO;IAOf;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAO3B;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IA0CxB;;;OAGG;YACW,UAAU;IAUxB;;;;;OAKG;YACW,iBAAiB;IAU/B;;;;;;OAMG;IACH,OAAO,KAAK,mBAAmB,GAO9B;IAED;;;OAGG;IACH,OAAO,CAAC,YAAY;IAKpB;;;;;OAKG;IACH,OAAO,KAAK,iBAAiB,GAO5B;IAED;;;;;OAKG;IACH,OAAO,KAAK,eAAe,GAc1B;IAED;;;;OAIG;IACH,OAAO,KAAK,eAAe,GAE1B;IAED,SAAS,CAAC,MAAM;CAejB;AAED,qBAAa,sBAAsB,CACjC,WAAW,GAAG,WAAW,EACzB,MAAM,GAAG;IAAE,YAAY,EAAE,WAAW,EAAE,CAAA;CAAE,CACxC,SAAQ,WAAW,CAAC,MAAM,CAAC;gBAEzB,OAAO,GAAE,qBAAqB,CAAC,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAM;CAQrE"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns a CSSResult applying focus outline styles to a given interactive
|
|
3
|
-
* element. Reduces repetition throughout multiple components.
|
|
4
|
-
*
|
|
5
|
-
* Targets modern `:focus-visible` by default and includes a `:focus` fallback
|
|
6
|
-
* for older browsers.
|
|
7
|
-
*
|
|
8
|
-
* @param selector A CSS selector targeting an interactive element.
|
|
9
|
-
* @param extraRules Optional rules to append. Useful for overrides.
|
|
10
|
-
*/
|
|
11
|
-
export declare const getFocusStyles: (selector: string, extraRules?: import("lit").CSSResult) => import("lit").CSSResult;
|
|
12
|
-
/**
|
|
13
|
-
* CSS rules to apply invisible styles to buttons. Use within a CSS declaration
|
|
14
|
-
* block.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* .example-button {
|
|
18
|
-
* ${invisibleButtonRules};
|
|
19
|
-
* }
|
|
20
|
-
*/
|
|
21
|
-
export declare const invisibleButtonRules: import("lit").CSSResult;
|
|
22
|
-
/**
|
|
23
|
-
* Returns a CSSResult applying invisible styles to a button matching the given
|
|
24
|
-
* selector. Invisible buttons are a common pattern for icon-only close buttons.
|
|
25
|
-
*
|
|
26
|
-
* Since this applies to buttons, default focus styles are also automatically
|
|
27
|
-
* included for the selector. If you don't need them, or need to customise them,
|
|
28
|
-
* use `invisibleButtonStyles` and `getFocusStyles()` separately instead.
|
|
29
|
-
*
|
|
30
|
-
* @param selector A CSS selector targeting a button
|
|
31
|
-
* @param extraRules Optional rules to append. Useful for overrides.
|
|
32
|
-
*/
|
|
33
|
-
export declare const getInvisibleButtonStyles: (selector: string, extraRules?: import("lit").CSSResult) => import("lit").CSSResult;
|
|
34
|
-
//# sourceMappingURL=css-helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"css-helpers.d.ts","sourceRoot":"","sources":["../../../src/helpers/css-helpers.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,aAAc,MAAM,kEAwB9C,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,yBAUhC,CAAA;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,aACzB,MAAM,kEAejB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { JSXProps, SizeProperty } from '../types';
|
|
3
|
-
export declare const ROW: "brz-row";
|
|
4
|
-
export declare const COLUMN: "brz-column";
|
|
5
|
-
export interface RowProps {
|
|
6
|
-
'vertical-align'?: 'top' | 'middle' | 'bottom';
|
|
7
|
-
}
|
|
8
|
-
export interface ColumnProps {
|
|
9
|
-
align?: 'left' | 'center' | 'right';
|
|
10
|
-
}
|
|
11
|
-
declare module 'csstype' {
|
|
12
|
-
interface Properties {
|
|
13
|
-
'--brz-row-spacing'?: SizeProperty;
|
|
14
|
-
'--brz-column-spacing'?: SizeProperty;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
declare global {
|
|
18
|
-
namespace JSX {
|
|
19
|
-
interface IntrinsicElements {
|
|
20
|
-
[ROW]: JSXProps<Row, RowProps>;
|
|
21
|
-
[COLUMN]: JSXProps<Column, ColumnProps>;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
interface HTMLElementTagNameMap {
|
|
25
|
-
[ROW]: Row;
|
|
26
|
-
[COLUMN]: Column;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Row layout.
|
|
31
|
-
*
|
|
32
|
-
* @tag brz-row
|
|
33
|
-
*/
|
|
34
|
-
export declare class Row extends LitElement {
|
|
35
|
-
static styles: import("lit").CSSResult;
|
|
36
|
-
verticalAlign: 'top' | 'middle' | 'bottom';
|
|
37
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Column layout.
|
|
41
|
-
*
|
|
42
|
-
* @tag brz-column
|
|
43
|
-
*/
|
|
44
|
-
export declare class Column extends LitElement {
|
|
45
|
-
static styles: import("lit").CSSResult;
|
|
46
|
-
align: 'left' | 'center' | 'right';
|
|
47
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=flex.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../src/layout/flex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAGjD,eAAO,MAAM,GAAG,WAA2B,CAAA;AAC3C,eAAO,MAAM,MAAM,cAA8B,CAAA;AAEjD,MAAM,WAAW,QAAQ;IACvB,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAA;CAC/C;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;CACpC;AAED,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,UAAU;QAClB,mBAAmB,CAAC,EAAE,YAAY,CAAA;QAClC,sBAAsB,CAAC,EAAE,YAAY,CAAA;KACtC;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;YAC9B,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;SACxC;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,GAAG,CAAC,EAAE,GAAG,CAAA;QACV,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KACjB;CACF;AAED;;;;GAIG;AACH,qBACa,GAAI,SAAQ,UAAU;IACjC,MAAM,CAAC,MAAM,0BAoBZ;IAGD,aAAa,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAQ;IAElD,MAAM;CAGP;AAED;;;;GAIG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC,MAAM,CAAC,MAAM,0BAoBZ;IAGD,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAS;IAE3C,MAAM;CAGP"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { JSXProps } from '../types';
|
|
3
|
-
export declare const FOOTER: "brz-footer";
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
[FOOTER]: JSXProps<Footer>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
interface HTMLElementTagNameMap {
|
|
11
|
-
[FOOTER]: Footer;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Footer layout.
|
|
16
|
-
*
|
|
17
|
-
* @tag brz-footer
|
|
18
|
-
*/
|
|
19
|
-
export declare class Footer extends LitElement {
|
|
20
|
-
static styles: import("lit").CSSResult;
|
|
21
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../src/layout/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,eAAO,MAAM,MAAM,cAA8B,CAAA;AAEjD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;SAC3B;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KACjB;CACF;AAED;;;;GAIG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC,MAAM,CAAC,MAAM,0BAOZ;IAED,MAAM;CAOP"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { JSXProps } from '../../types';
|
|
3
|
-
export declare const GRID_ITEM: "brz-grid-item";
|
|
4
|
-
export interface GridItemProps {
|
|
5
|
-
cols?: number;
|
|
6
|
-
'md-cols'?: number;
|
|
7
|
-
'sm-cols'?: number;
|
|
8
|
-
}
|
|
9
|
-
declare global {
|
|
10
|
-
namespace JSX {
|
|
11
|
-
interface IntrinsicElements {
|
|
12
|
-
[GRID_ITEM]: JSXProps<GridItem, GridItemProps>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
interface HTMLElementTagNameMap {
|
|
16
|
-
[GRID_ITEM]: GridItemProps;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export declare const columnSpans: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
20
|
-
/**
|
|
21
|
-
* Grid item component. To be used with brz-grid.
|
|
22
|
-
*
|
|
23
|
-
* Supports upto 12 columns.
|
|
24
|
-
*
|
|
25
|
-
* @tag brz-grid-item
|
|
26
|
-
*/
|
|
27
|
-
export declare class GridItem extends LitElement {
|
|
28
|
-
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
29
|
-
/**
|
|
30
|
-
* Number of columns to span
|
|
31
|
-
*/
|
|
32
|
-
cols?: number;
|
|
33
|
-
/**
|
|
34
|
-
* Number of columns to span on medium screens
|
|
35
|
-
*/
|
|
36
|
-
mdCols?: number;
|
|
37
|
-
/**
|
|
38
|
-
* Number of columns to span on small screens
|
|
39
|
-
*/
|
|
40
|
-
smCols?: number;
|
|
41
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=grid-item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grid-item.d.ts","sourceRoot":"","sources":["../../../../src/layout/grid/grid-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGtC,eAAO,MAAM,SAAS,iBAAiC,CAAA;AAEvD,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;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,aAAa,CAAA;KAC3B;CACF;AAED,eAAO,MAAM,WAAW,kDAAmD,CAAA;AAoD3E;;;;;;GAMG;AACH,qBACa,QAAS,SAAQ,UAAU;IACtC,MAAM,CAAC,MAAM,0DAUZ;IAED;;OAEG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IAEH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IAEH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,MAAM;CAGP"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { LitElementWithUtils, PropsWithUtils } from '../../mixins/component-utils';
|
|
2
|
-
import { JSXProps } from '../../types';
|
|
3
|
-
export declare const GRID: "brz-grid";
|
|
4
|
-
declare module 'csstype' {
|
|
5
|
-
interface Properties {
|
|
6
|
-
'--brz-grid-columns'?: number;
|
|
7
|
-
'--brz-grid-column-gap'?: number;
|
|
8
|
-
'--brz-grid-row-gap'?: number;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export type GridProps = PropsWithUtils<{
|
|
12
|
-
spacing?: number;
|
|
13
|
-
'col-spacing'?: number;
|
|
14
|
-
'row-spacing'?: number;
|
|
15
|
-
}>;
|
|
16
|
-
declare global {
|
|
17
|
-
namespace JSX {
|
|
18
|
-
interface IntrinsicElements {
|
|
19
|
-
[GRID]: JSXProps<Grid, GridProps>;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
interface HTMLElementTagNameMap {
|
|
23
|
-
[GRID]: Grid;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Grid component.
|
|
28
|
-
*
|
|
29
|
-
* This grid layout is setup with 12 flexible columns.
|
|
30
|
-
* Columns and row gaps are set to 20px, but can be changed using our spacing system.
|
|
31
|
-
*
|
|
32
|
-
* @tag brz-grid
|
|
33
|
-
*/
|
|
34
|
-
export declare class Grid extends LitElementWithUtils {
|
|
35
|
-
static styles: import("lit").CSSResultGroup[];
|
|
36
|
-
/**
|
|
37
|
-
* Shorthand to set both row and column spacing
|
|
38
|
-
*/
|
|
39
|
-
spacing?: number;
|
|
40
|
-
/**
|
|
41
|
-
* Sets the column spacing between each grid item
|
|
42
|
-
*/
|
|
43
|
-
colSpacing?: number;
|
|
44
|
-
/**
|
|
45
|
-
* Sets the row spacing between each grid item
|
|
46
|
-
*/
|
|
47
|
-
rowSpacing?: number;
|
|
48
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=grid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../src/layout/grid/grid.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,cAAc,EACf,MAAM,8BAA8B,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGtC,eAAO,MAAM,IAAI,YAA4B,CAAA;AAe7C,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,UAAU;QAClB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAC7B,uBAAuB,CAAC,EAAE,MAAM,CAAA;QAChC,oBAAoB,CAAC,EAAE,MAAM,CAAA;KAC9B;CACF;AAED,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA;AAEF,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;;;;;;;GAOG;AACH,qBACa,IAAK,SAAQ,mBAAmB;IAC3C,MAAM,CAAC,MAAM,iCAiBZ;IAED;;OAEG;IAEH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IAEH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IAEH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,MAAM;CAGP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layout/grid/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { JSXProps } from '../types';
|
|
3
|
-
export declare const HEADER_FOOTER_PAGE: "brz-header-footer-page";
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
[HEADER_FOOTER_PAGE]: JSXProps<HeaderFooterPage>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
interface HTMLElementTagNameMap {
|
|
11
|
-
[HEADER_FOOTER_PAGE]: HeaderFooterPage;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Header footer page layout.
|
|
16
|
-
*
|
|
17
|
-
* @tag brz-header-footer-page
|
|
18
|
-
*/
|
|
19
|
-
export declare class HeaderFooterPage extends LitElement {
|
|
20
|
-
static styles: import("lit").CSSResult;
|
|
21
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=header-footer-page.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-footer-page.d.ts","sourceRoot":"","sources":["../../../src/layout/header-footer-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGnC,eAAO,MAAM,kBAAkB,0BAA0C,CAAA;AAEzE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAA;SACjD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,kBAAkB,CAAC,EAAE,gBAAgB,CAAA;KACvC;CACF;AAED;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BAkBZ;IAED,MAAM;CASP"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { JSXProps } from '../types';
|
|
3
|
-
export declare const HEADER: "brz-header";
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
[HEADER]: JSXProps<Header>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
interface HTMLElementTagNameMap {
|
|
11
|
-
[HEADER]: Header;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Header layout.
|
|
16
|
-
*
|
|
17
|
-
* @deprecated Use PageHeader component instead
|
|
18
|
-
*
|
|
19
|
-
* @tag brz-header
|
|
20
|
-
*/
|
|
21
|
-
export declare class Header extends LitElement {
|
|
22
|
-
static styles: import("lit").CSSResult;
|
|
23
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/layout/header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,eAAO,MAAM,MAAM,cAA8B,CAAA;AAEjD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;SAC3B;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KACjB;CACF;AAED;;;;;;GAMG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC,MAAM,CAAC,MAAM,0BAMZ;IAED,MAAM;CAGP"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './header';
|
|
2
|
-
export * from './flex';
|
|
3
|
-
export * from './split-row';
|
|
4
|
-
export * from './header-footer-page';
|
|
5
|
-
export * from './responsive-columns';
|
|
6
|
-
export * from './footer';
|
|
7
|
-
export * from './page-header';
|
|
8
|
-
export * from './grid';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import type { JSXProps } from '../types';
|
|
3
|
-
import '../components/heading';
|
|
4
|
-
import './flex';
|
|
5
|
-
export interface PageHeaderAttributes {
|
|
6
|
-
'page-title'?: string;
|
|
7
|
-
}
|
|
8
|
-
declare global {
|
|
9
|
-
namespace JSX {
|
|
10
|
-
interface IntrinsicElements {
|
|
11
|
-
[PAGE_HEADER]: JSXProps<PageHeader, PageHeaderAttributes>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
[PAGE_HEADER]: PageHeader;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export declare const PAGE_HEADER: "brz-page-header";
|
|
19
|
-
/**
|
|
20
|
-
* Use a Page Header to apply a consistent look and feel across all application
|
|
21
|
-
* pages. It exposes several flexible content slots to support designs across
|
|
22
|
-
* various feature areas.
|
|
23
|
-
*
|
|
24
|
-
* @slot title Supply a title as HTML if needed. Will be wrapped in a Level 1 heading. Ignores `pageTitle` property.
|
|
25
|
-
* @slot decorator An area to the left of the title, often used for avatars
|
|
26
|
-
* @slot subtitle A subtitle provides additional context to the title
|
|
27
|
-
* @slot description A flexible area for tags and other descriptive content
|
|
28
|
-
* @slot info An area to the right of the title, often used for status labels
|
|
29
|
-
* @slot actions Typically used for one or more action buttons
|
|
30
|
-
*
|
|
31
|
-
* @tag brz-page-header
|
|
32
|
-
*/
|
|
33
|
-
export declare class PageHeader extends LitElement {
|
|
34
|
-
static styles: import("lit").CSSResult;
|
|
35
|
-
/**
|
|
36
|
-
* The main page title. Will be rendered to a Level 1 heading.
|
|
37
|
-
*
|
|
38
|
-
* If you need more control and want to set the title with HTML, use the
|
|
39
|
-
* `title` slot instead, which ignores this property.
|
|
40
|
-
*/
|
|
41
|
-
pageTitle?: string;
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
|
-
private hasTitle;
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
|
-
private slottedTitle?;
|
|
50
|
-
protected updated(changedProperties: PropertyValues): void;
|
|
51
|
-
protected render(): import("lit-html").TemplateResult<1>;
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=page-header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../../src/layout/page-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAA;AAI3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,uBAAuB,CAAA;AAC9B,OAAO,QAAQ,CAAA;AAEf,MAAM,WAAW,oBAAoB;IACnC,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAA;SAC1D;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,WAAW,CAAC,EAAE,UAAU,CAAA;KAC1B;CACF;AAED,eAAO,MAAM,WAAW,mBAAmC,CAAA;AAE3D;;;;;;;;;;;;;GAaG;AACH,qBACa,UAAW,SAAQ,UAAU;IACxC,MAAM,CAAC,MAAM,0BAqCZ;IAED;;;;;OAKG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IAEH,OAAO,CAAC,QAAQ,CAAQ;IAExB;;OAEG;IAEH,OAAO,CAAC,YAAY,CAAC,CAAQ;IAE7B,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAKnD,SAAS,CAAC,MAAM;CA0BjB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { JSXProps } from '../types';
|
|
3
|
-
export declare const RESPONSIVE_COLUMNS: "brz-responsive-columns";
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
[RESPONSIVE_COLUMNS]: JSXProps<ResponsiveColumns>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
interface HTMLElementTagNameMap {
|
|
11
|
-
[RESPONSIVE_COLUMNS]: ResponsiveColumns;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Responsive columns layout.
|
|
16
|
-
*
|
|
17
|
-
* @tag brz-responsive-columns
|
|
18
|
-
*/
|
|
19
|
-
export declare class ResponsiveColumns extends LitElement {
|
|
20
|
-
static styles: import("lit").CSSResult;
|
|
21
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=responsive-columns.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responsive-columns.d.ts","sourceRoot":"","sources":["../../../src/layout/responsive-columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGnC,eAAO,MAAM,kBAAkB,0BAA0C,CAAA;AAEzE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAA;SAClD;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,kBAAkB,CAAC,EAAE,iBAAiB,CAAA;KACxC;CACF;AAED;;;;GAIG;AACH,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,0BAgCZ;IAED,MAAM;CAGP"}
|