@hotosm/ui 0.2.0-b5 → 0.3.0-b2
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/README.md +25 -17
- package/dist/chunks/chunk.3FANZE43.js +1 -0
- package/dist/chunks/chunk.7KXDULC3.js +86 -0
- package/dist/chunks/chunk.AFGPUO4H.js +1 -0
- package/dist/chunks/chunk.B3MIQKX3.js +66 -0
- package/dist/chunks/chunk.FWYUHKRF.js +1 -0
- package/dist/chunks/chunk.GVYEHPTU.js +17 -0
- package/dist/chunks/chunk.GY32O3WU.js +26 -0
- package/dist/chunks/chunk.JK2P4SXH.js +1 -0
- package/dist/chunks/chunk.KGPID6RT.js +1 -0
- package/dist/chunks/chunk.KTVXG6ZT.js +6 -0
- package/dist/chunks/chunk.N5M5RY5M.js +1 -0
- package/dist/chunks/chunk.NZIJQUIE.js +1 -0
- package/dist/chunks/chunk.PUMXQ24J.js +4 -0
- package/dist/chunks/chunk.Q5SXKMUN.js +18 -0
- package/dist/chunks/chunk.R73PKLI4.js +6 -0
- package/{components/icons.ts → dist/chunks/chunk.WPXUR5EI.js} +12 -47
- package/dist/components/consent/consent.component.d.ts +21 -0
- package/dist/components/consent/consent.component.js +1 -0
- package/dist/components/consent/consent.d.ts +8 -0
- package/dist/components/consent/consent.js +1 -0
- package/dist/components/consent/consent.styles.d.ts +2 -0
- package/dist/components/consent/consent.styles.js +1 -0
- package/dist/components/header/header.component.d.ts +33 -0
- package/dist/components/header/header.component.js +1 -0
- package/dist/components/header/header.d.ts +7 -27
- package/dist/components/header/header.js +1 -0
- package/dist/components/header/header.styles.d.ts +2 -2
- package/dist/components/header/header.styles.js +1 -0
- package/dist/components/icons.js +1 -0
- package/dist/components/logo/logo.component.d.ts +10 -0
- package/dist/components/logo/logo.component.js +1 -0
- package/dist/components/logo/logo.d.ts +7 -9
- package/dist/components/logo/logo.js +1 -0
- package/dist/components/logo/logo.styles.d.ts +1 -1
- package/dist/components/logo/logo.styles.js +1 -0
- package/dist/components/toolbar/toolbar.component.d.ts +24 -0
- package/dist/components/toolbar/toolbar.component.js +1 -0
- package/dist/components/toolbar/toolbar.d.ts +7 -19
- package/dist/components/toolbar/toolbar.js +1 -0
- package/dist/components/toolbar/toolbar.styles.d.ts +1 -1
- package/dist/components/toolbar/toolbar.styles.js +1 -0
- package/dist/components/tracking/tracking.component.d.ts +19 -0
- package/dist/components/tracking/tracking.component.js +1 -0
- package/dist/components/tracking/tracking.d.ts +5 -20
- package/dist/components/tracking/tracking.js +1 -0
- package/{components/index.ts → dist/hotosm-ui.d.ts} +6 -146
- package/dist/hotosm-ui.js +1 -18450
- package/dist/react/consent/index.d.ts +3 -0
- package/dist/react/consent/index.js +1 -0
- package/dist/react/header/index.d.ts +3 -0
- package/dist/react/header/index.js +1 -0
- package/dist/{components/react → react}/index.d.ts +5 -5
- package/dist/react/index.js +1 -0
- package/dist/react/logo/index.d.ts +3 -0
- package/dist/react/logo/index.js +1 -0
- package/dist/react/toolbar/index.d.ts +3 -0
- package/dist/react/toolbar/index.js +1 -0
- package/dist/react/tracking/index.d.ts +3 -0
- package/dist/react/tracking/index.js +1 -0
- package/dist/style.css +2 -1
- package/{theme → dist/themes}/hot-sl.css +68 -82
- package/dist/themes/hot.css +235 -0
- package/package.json +36 -58
- package/components/header/header.styles.ts +0 -103
- package/components/header/header.ts +0 -160
- package/components/logo/logo.styles.ts +0 -8
- package/components/logo/logo.ts +0 -37
- package/components/react/Header.ts +0 -16
- package/components/react/Logo.ts +0 -15
- package/components/react/Toolbar.ts +0 -24
- package/components/react/Tracking.ts +0 -17
- package/components/react/index.ts +0 -63
- package/components/toolbar/toolbar.styles.ts +0 -6
- package/components/toolbar/toolbar.ts +0 -171
- package/components/tracking/tracking.styles.ts +0 -23
- package/components/tracking/tracking.ts +0 -177
- package/dist/components/index.d.ts +0 -130
- package/dist/components/react/Header.d.ts +0 -2
- package/dist/components/react/Logo.d.ts +0 -2
- package/dist/components/react/Toolbar.d.ts +0 -2
- package/dist/components/react/Tracking.d.ts +0 -2
- package/dist/components/tracking/tracking.styles.d.ts +0 -2
- package/i18n/en.xliff +0 -24
- package/theme/hot.css +0 -192
- package/theme/icons/apple-touch-icon-180x180.png +0 -0
- package/theme/icons/favicon.ico +0 -0
- package/theme/icons/favicon.svg +0 -1
- package/theme/icons/maskable-icon-512x512.png +0 -0
- package/theme/icons/pwa-192x192.png +0 -0
- package/theme/icons/pwa-512x512.png +0 -0
- package/theme/icons/pwa-64x64.png +0 -0
- /package/{theme → dist/assets}/logo/hot-logo-icon.svg +0 -0
- /package/{theme → dist/assets}/logo/hot-logo-png.png +0 -0
- /package/{theme → dist/assets}/logo/hot-logo-text.svg +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import "@shoelace-style/shoelace/dist/components/icon-button/icon-button.js";
|
|
2
|
+
import "@shoelace-style/shoelace/dist/components/tab-group/tab-group.js";
|
|
3
|
+
import "@shoelace-style/shoelace/dist/components/tab/tab.js";
|
|
4
|
+
import { LitElement } from "lit";
|
|
5
|
+
import { type sizes } from './header.styles.js';
|
|
6
|
+
import type { CSSResultGroup } from 'lit';
|
|
7
|
+
interface MenuItem {
|
|
8
|
+
label: string;
|
|
9
|
+
clickEvent: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare class Header extends LitElement {
|
|
12
|
+
static styles: CSSResultGroup;
|
|
13
|
+
name: string;
|
|
14
|
+
/** Use a text-based title in the header. */
|
|
15
|
+
accessor title: string;
|
|
16
|
+
/** Display a logo on the left of the header. */
|
|
17
|
+
accessor logo: string | URL;
|
|
18
|
+
/** Add a drawer icon with a click event to e.g. open a sidebar. */
|
|
19
|
+
accessor drawer: boolean;
|
|
20
|
+
/** Array of menu items to include as navigation tabs. */
|
|
21
|
+
accessor tabs: MenuItem[];
|
|
22
|
+
/** Size of toolbar vertically. */
|
|
23
|
+
accessor size: sizes;
|
|
24
|
+
/** Border bottom. */
|
|
25
|
+
accessor borderBottom: boolean;
|
|
26
|
+
/** Index of the selected tab. */
|
|
27
|
+
accessor selectedTab: number;
|
|
28
|
+
selectTab(index: number): void;
|
|
29
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
30
|
+
private _tabClick;
|
|
31
|
+
private _handleLogin;
|
|
32
|
+
}
|
|
33
|
+
export default Header;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../../chunks/chunk.B3MIQKX3.js";import"../../chunks/chunk.WPXUR5EI.js";import"../../chunks/chunk.7KXDULC3.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as Header,b as default};
|
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface MenuItem {
|
|
5
|
-
label: string;
|
|
6
|
-
clickEvent: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare class Header extends LitElement {
|
|
9
|
-
static styles: CSSResultGroup;
|
|
10
|
-
name: string;
|
|
11
|
-
/** Use a text-based title in the header. */
|
|
12
|
-
accessor title: string;
|
|
13
|
-
/** Display a logo on the left of the header. */
|
|
14
|
-
accessor logo: string | URL;
|
|
15
|
-
/** Add a drawer icon with a click event to e.g. open a sidebar. */
|
|
16
|
-
accessor drawer: boolean;
|
|
17
|
-
/** Array of menu items to include as navigation tabs. */
|
|
18
|
-
accessor tabs: MenuItem[];
|
|
19
|
-
/** Size of toolbar vertically. */
|
|
20
|
-
accessor size: sizes;
|
|
21
|
-
/** Border bottom. */
|
|
22
|
-
accessor borderBottom: boolean;
|
|
23
|
-
accessor selectedTab: number;
|
|
24
|
-
protected render(): import('lit').TemplateResult<1>;
|
|
25
|
-
private _selectTab;
|
|
26
|
-
private _handleLogin;
|
|
27
|
-
}
|
|
1
|
+
import Header from './header.component.js';
|
|
2
|
+
export * from './header.component.js';
|
|
28
3
|
export default Header;
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'hot-header': Header;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b as e}from"../../chunks/chunk.B3MIQKX3.js";import"../../chunks/chunk.WPXUR5EI.js";import"../../chunks/chunk.7KXDULC3.js";import"../../chunks/chunk.FWYUHKRF.js";var o=e;export{a as Header,o as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const headerVariants: (props?: ({
|
|
2
2
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
3
3
|
borderBottom?: boolean | null | undefined;
|
|
4
|
-
} & import(
|
|
4
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
5
|
export type sizes = "small" | "medium" | "large";
|
|
6
|
-
export declare const styles: import(
|
|
6
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../../chunks/chunk.7KXDULC3.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as headerVariants,b as styles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunks/chunk.WPXUR5EI.js";import"../chunks/chunk.FWYUHKRF.js";export{a as default};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
export declare class Logo extends LitElement {
|
|
4
|
+
static styles: CSSResultGroup;
|
|
5
|
+
name: string;
|
|
6
|
+
accessor iconOnly: boolean;
|
|
7
|
+
accessor textOnly: boolean;
|
|
8
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
export default Logo;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../../chunks/chunk.R73PKLI4.js";import"../../chunks/chunk.KTVXG6ZT.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as Logo,b as default};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare class Logo extends LitElement {
|
|
4
|
-
static styles: CSSResultGroup;
|
|
5
|
-
name: string;
|
|
6
|
-
accessor iconOnly: boolean;
|
|
7
|
-
accessor textOnly: boolean;
|
|
8
|
-
protected render(): import('lit').TemplateResult<1>;
|
|
9
|
-
}
|
|
1
|
+
import Logo from './logo.component.js';
|
|
2
|
+
export * from './logo.component.js';
|
|
10
3
|
export default Logo;
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'hot-logo': Logo;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,b as o}from"../../chunks/chunk.R73PKLI4.js";import"../../chunks/chunk.KTVXG6ZT.js";import"../../chunks/chunk.FWYUHKRF.js";var r=o;export{e as Logo,r as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import("lit").CSSResult;
|
|
2
2
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunks/chunk.KTVXG6ZT.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as default};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "@shoelace-style/shoelace/dist/components/button/button.js";
|
|
2
|
+
import "@shoelace-style/shoelace/dist/components/button-group/button-group.js";
|
|
3
|
+
import "@shoelace-style/shoelace/dist/components/icon/icon.js";
|
|
4
|
+
import "@shoelace-style/shoelace/dist/components/tooltip/tooltip.js";
|
|
5
|
+
import { LitElement } from "lit";
|
|
6
|
+
import type { CSSResultGroup } from 'lit';
|
|
7
|
+
export declare class Toolbar extends LitElement {
|
|
8
|
+
static styles: CSSResultGroup;
|
|
9
|
+
name: string;
|
|
10
|
+
/** Change the position of the tooltips relative to buttons. */
|
|
11
|
+
accessor tooltipPosition: string;
|
|
12
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
13
|
+
private renderButtonGroup;
|
|
14
|
+
private renderButton;
|
|
15
|
+
private readonly undo;
|
|
16
|
+
private readonly redo;
|
|
17
|
+
private readonly bold;
|
|
18
|
+
private readonly italic;
|
|
19
|
+
private readonly underline;
|
|
20
|
+
private readonly alignLeft;
|
|
21
|
+
private readonly alignCenter;
|
|
22
|
+
private readonly alignRight;
|
|
23
|
+
}
|
|
24
|
+
export default Toolbar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../../chunks/chunk.GVYEHPTU.js";import"../../chunks/chunk.PUMXQ24J.js";import"../../chunks/chunk.WPXUR5EI.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as Toolbar,b as default};
|
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare class Toolbar extends LitElement {
|
|
4
|
-
static styles: CSSResultGroup;
|
|
5
|
-
name: string;
|
|
6
|
-
/** Change the position of the tooltips relative to buttons. */
|
|
7
|
-
accessor tooltipPosition: string;
|
|
8
|
-
protected render(): import('lit').TemplateResult<1>;
|
|
9
|
-
private renderButtonGroup;
|
|
10
|
-
private renderButton;
|
|
11
|
-
private readonly undo;
|
|
12
|
-
private readonly redo;
|
|
13
|
-
private readonly bold;
|
|
14
|
-
private readonly italic;
|
|
15
|
-
private readonly underline;
|
|
16
|
-
private readonly alignLeft;
|
|
17
|
-
private readonly alignCenter;
|
|
18
|
-
private readonly alignRight;
|
|
19
|
-
}
|
|
1
|
+
import Toolbar from './toolbar.component.js';
|
|
2
|
+
export * from './toolbar.component.js';
|
|
20
3
|
export default Toolbar;
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'hot-toolbar': Toolbar;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b as o}from"../../chunks/chunk.GVYEHPTU.js";import"../../chunks/chunk.PUMXQ24J.js";import"../../chunks/chunk.WPXUR5EI.js";import"../../chunks/chunk.FWYUHKRF.js";var r=o;export{a as Toolbar,r as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import("lit").CSSResult;
|
|
2
2
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunks/chunk.PUMXQ24J.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as default};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
_paq: any[];
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export declare class MatomoTracking extends LitElement {
|
|
8
|
+
name: string;
|
|
9
|
+
/** The Matomo site id for tracking. */
|
|
10
|
+
accessor siteId: string;
|
|
11
|
+
/** The domains to apply tracking. */
|
|
12
|
+
accessor domain: string;
|
|
13
|
+
/** The Matomo URL */
|
|
14
|
+
accessor matomoURL: string;
|
|
15
|
+
agree(): void;
|
|
16
|
+
disagree(): void;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
}
|
|
19
|
+
export default MatomoTracking;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../../chunks/chunk.NZIJQUIE.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as MatomoTracking,b as default};
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import MatomoTracking from './tracking.component.js';
|
|
2
|
+
export * from './tracking.component.js';
|
|
3
|
+
export default MatomoTracking;
|
|
3
4
|
declare global {
|
|
4
|
-
interface
|
|
5
|
-
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'hot-tracking': MatomoTracking;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
8
|
-
export declare class Tracking extends LitElement {
|
|
9
|
-
static styles: CSSResultGroup;
|
|
10
|
-
name: string;
|
|
11
|
-
/** The Matomo site id for tracking. */
|
|
12
|
-
accessor siteId: string;
|
|
13
|
-
/** The domains to apply tracking. */
|
|
14
|
-
accessor domain: string;
|
|
15
|
-
/** Force display the banner. */
|
|
16
|
-
accessor force: boolean;
|
|
17
|
-
accessor isOpen: boolean;
|
|
18
|
-
protected render(): import('lit').TemplateResult<1>;
|
|
19
|
-
private _setAgree;
|
|
20
|
-
private _setDisagree;
|
|
21
|
-
connectedCallback(): void;
|
|
22
|
-
}
|
|
23
|
-
export default Tracking;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,b as a}from"../../chunks/chunk.NZIJQUIE.js";import"../../chunks/chunk.FWYUHKRF.js";var r=a;export{o as MatomoTracking,r as default};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import HotHeader from './components/header/header.component.js';
|
|
2
|
+
import HotLogo from './components/logo/logo.component.js';
|
|
3
|
+
import HotToolbar from './components/toolbar/toolbar.component.js';
|
|
4
|
+
import HotTracking from './components/tracking/tracking.component.js';
|
|
5
|
+
import HotConsent from './components/consent/consent.component.js';
|
|
3
6
|
import { setBasePath } from '@shoelace-style/shoelace/dist/utilities/base-path.js';
|
|
4
|
-
|
|
5
|
-
// Default Shoelace exports
|
|
6
7
|
import SlAlert from '@shoelace-style/shoelace/dist/components/alert/alert.component.js';
|
|
7
8
|
import SlAnimatedImage from '@shoelace-style/shoelace/dist/components/animated-image/animated-image.component.js';
|
|
8
9
|
import SlAnimation from '@shoelace-style/shoelace/dist/components/animation/animation.component.js';
|
|
@@ -39,7 +40,6 @@ import SlOption from '@shoelace-style/shoelace/dist/components/option/option.com
|
|
|
39
40
|
import SlPopup from '@shoelace-style/shoelace/dist/components/popup/popup.component.js';
|
|
40
41
|
import SlProgressBar from '@shoelace-style/shoelace/dist/components/progress-bar/progress-bar.component.js';
|
|
41
42
|
import SlProgressRing from '@shoelace-style/shoelace/dist/components/progress-ring/progress-ring.component.js';
|
|
42
|
-
import SlQRCode from '@shoelace-style/shoelace/dist/components/qr-code/qr-code.component.js';
|
|
43
43
|
import SlRadio from '@shoelace-style/shoelace/dist/components/radio/radio.component.js';
|
|
44
44
|
import SlRadioButton from '@shoelace-style/shoelace/dist/components/radio-button/radio-button.component.js';
|
|
45
45
|
import SlRadioGroup from '@shoelace-style/shoelace/dist/components/radio-group/radio-group.component.js';
|
|
@@ -61,73 +61,6 @@ import SlTooltip from '@shoelace-style/shoelace/dist/components/tooltip/tooltip.
|
|
|
61
61
|
import SlTree from '@shoelace-style/shoelace/dist/components/tree/tree.component.js';
|
|
62
62
|
import SlTreeItem from '@shoelace-style/shoelace/dist/components/tree-item/tree-item.component.js';
|
|
63
63
|
import SlVisuallyHidden from '@shoelace-style/shoelace/dist/components/visually-hidden/visually-hidden.component.js';
|
|
64
|
-
|
|
65
|
-
// Custom composite components
|
|
66
|
-
import HotHeader from './header/header';
|
|
67
|
-
import HotLogo from './logo/logo';
|
|
68
|
-
import HotToolbar from './toolbar/toolbar';
|
|
69
|
-
import HotTracking from './tracking/tracking';
|
|
70
|
-
|
|
71
|
-
// Define web component names for Shoelace components
|
|
72
|
-
SlAlert.define('hot-alert');
|
|
73
|
-
SlAnimatedImage.define('hot-animated-image');
|
|
74
|
-
SlAnimation.define('hot-animation');
|
|
75
|
-
SlAvatar.define('hot-avatar');
|
|
76
|
-
SlBadge.define('hot-badge');
|
|
77
|
-
SlBreadcrumb.define('hot-breadcrumb');
|
|
78
|
-
SlBreadcrumbItem.define('hot-breadcrumb-item');
|
|
79
|
-
SlButton.define('hot-button');
|
|
80
|
-
SlButtonGroup.define('hot-button-group');
|
|
81
|
-
SlCard.define('hot-card');
|
|
82
|
-
SlCarousel.define('hot-carousel');
|
|
83
|
-
SlCarouselItem.define('hot-carousel-item');
|
|
84
|
-
SlCheckbox.define('hot-checkbox');
|
|
85
|
-
SlColorPicker.define('hot-color-picker');
|
|
86
|
-
SlCopyButton.define('hot-copy-button');
|
|
87
|
-
SlDetails.define('hot-details');
|
|
88
|
-
SlDialog.define('hot-dialog');
|
|
89
|
-
SlDivider.define('hot-divider');
|
|
90
|
-
SlDrawer.define('hot-drawer');
|
|
91
|
-
SlDropdown.define('hot-dropdown');
|
|
92
|
-
SlFormatBytes.define('hot-format-bytes');
|
|
93
|
-
SlFormatDate.define('hot-format-date');
|
|
94
|
-
SlFormatNumber.define('hot-format-number');
|
|
95
|
-
SlIcon.define('hot-icon');
|
|
96
|
-
SlIconButton.define('hot-icon-button');
|
|
97
|
-
SlImageComparer.define('hot-image-comparer');
|
|
98
|
-
SlInclude.define('hot-include');
|
|
99
|
-
SlInput.define('hot-input');
|
|
100
|
-
SlMenu.define('hot-menu');
|
|
101
|
-
SlMenuItem.define('hot-menu-item');
|
|
102
|
-
SlMenuLabel.define('hot-menu-label');
|
|
103
|
-
SlMutationObserver.define('hot-mutation-observer');
|
|
104
|
-
SlOption.define('hot-option');
|
|
105
|
-
SlPopup.define('hot-popup');
|
|
106
|
-
SlProgressBar.define('hot-progress-bar');
|
|
107
|
-
SlProgressRing.define('hot-progress-ring');
|
|
108
|
-
SlQRCode.define('hot-qr-code');
|
|
109
|
-
SlRadio.define('hot-radio');
|
|
110
|
-
SlRadioButton.define('hot-radio-button');
|
|
111
|
-
SlRadioGroup.define('hot-radio-group');
|
|
112
|
-
SlRange.define('hot-range');
|
|
113
|
-
SlRating.define('hot-rating');
|
|
114
|
-
SlRelativeTime.define('hot-relative-time');
|
|
115
|
-
SlResizeObserver.define('hot-resize-observer');
|
|
116
|
-
SlSelect.define('hot-select');
|
|
117
|
-
SlSkeleton.define('hot-skeleton');
|
|
118
|
-
SlSpinner.define('hot-spinner');
|
|
119
|
-
SlSplitPanel.define('hot-split-panel');
|
|
120
|
-
SlSwitch.define('hot-switch');
|
|
121
|
-
SlTab.define('hot-tab');
|
|
122
|
-
SlTabGroup.define('hot-tab-group');
|
|
123
|
-
SlTabPanel.define('hot-tab-panel');
|
|
124
|
-
SlTag.define('hot-tag');
|
|
125
|
-
SlTextarea.define('hot-textarea');
|
|
126
|
-
SlTooltip.define('hot-tooltip');
|
|
127
|
-
SlTree.define('hot-tree');
|
|
128
|
-
SlTreeItem.define('hot-tree-item');
|
|
129
|
-
SlVisuallyHidden.define('hot-visually-hidden');
|
|
130
|
-
|
|
131
64
|
declare global {
|
|
132
65
|
interface HTMLElementTagNameMap {
|
|
133
66
|
'hot-alert': SlAlert;
|
|
@@ -166,7 +99,6 @@ declare global {
|
|
|
166
99
|
'hot-popup': SlPopup;
|
|
167
100
|
'hot-progress-bar': SlProgressBar;
|
|
168
101
|
'hot-progress-ring': SlProgressRing;
|
|
169
|
-
'hot-qrcode': SlQRCode;
|
|
170
102
|
'hot-radio': SlRadio;
|
|
171
103
|
'hot-radio-button': SlRadioButton;
|
|
172
104
|
'hot-radio-group': SlRadioGroup;
|
|
@@ -188,78 +120,6 @@ declare global {
|
|
|
188
120
|
'hot-tree': SlTree;
|
|
189
121
|
'hot-tree-item': SlTreeItem;
|
|
190
122
|
'hot-visually-hidden': SlVisuallyHidden;
|
|
191
|
-
// Custom composite components
|
|
192
|
-
'hot-header': HotHeader;
|
|
193
|
-
'hot-toolbar': HotToolbar;
|
|
194
|
-
'hot-tracking': HotTracking;
|
|
195
123
|
}
|
|
196
124
|
}
|
|
197
|
-
|
|
198
|
-
export {
|
|
199
|
-
// setBasePath helper to use the UI behind proxies etc
|
|
200
|
-
setBasePath,
|
|
201
|
-
// Standard shoelace components
|
|
202
|
-
SlAlert as Alert,
|
|
203
|
-
SlAnimatedImage as AnimatedImage,
|
|
204
|
-
SlAnimation as Animation,
|
|
205
|
-
SlAvatar as Avatar,
|
|
206
|
-
SlBadge as Badge,
|
|
207
|
-
SlBreadcrumb as Breadcrumb,
|
|
208
|
-
SlBreadcrumbItem as BreadcrumbItem,
|
|
209
|
-
SlButton as Button,
|
|
210
|
-
SlButtonGroup as ButtonGroup,
|
|
211
|
-
SlCard as Card,
|
|
212
|
-
SlCarousel as Carousel,
|
|
213
|
-
SlCarouselItem as CarouselItem,
|
|
214
|
-
SlCheckbox as Checkbox,
|
|
215
|
-
SlColorPicker as ColorPicker,
|
|
216
|
-
SlCopyButton as CopyButton,
|
|
217
|
-
SlDetails as Details,
|
|
218
|
-
SlDialog as Dialog,
|
|
219
|
-
SlDivider as Divider,
|
|
220
|
-
SlDrawer as Drawer,
|
|
221
|
-
SlDropdown as Dropdown,
|
|
222
|
-
SlFormatBytes as FormatBytes,
|
|
223
|
-
SlFormatDate as FormatDate,
|
|
224
|
-
SlFormatNumber as FormatNumber,
|
|
225
|
-
SlIcon as Icon,
|
|
226
|
-
SlIconButton as IconButton,
|
|
227
|
-
SlImageComparer as ImageComparer,
|
|
228
|
-
SlInclude as Include,
|
|
229
|
-
SlInput as Input,
|
|
230
|
-
SlMenu as Menu,
|
|
231
|
-
SlMenuItem as MenuItem,
|
|
232
|
-
SlMenuLabel as MenuLabel,
|
|
233
|
-
SlMutationObserver as MutationObserver,
|
|
234
|
-
SlOption as Option,
|
|
235
|
-
SlPopup as Popup,
|
|
236
|
-
SlProgressBar as ProgressBar,
|
|
237
|
-
SlProgressRing as ProgressRing,
|
|
238
|
-
SlQRCode as QRCode,
|
|
239
|
-
SlRadio as Radio,
|
|
240
|
-
SlRadioButton as RadioButton,
|
|
241
|
-
SlRadioGroup as RadioGroup,
|
|
242
|
-
SlRange as Range,
|
|
243
|
-
SlRating as Rating,
|
|
244
|
-
SlRelativeTime as RelativeTime,
|
|
245
|
-
SlResizeObserver as ResizeObserver,
|
|
246
|
-
SlSelect as Select,
|
|
247
|
-
SlSkeleton as Skeleton,
|
|
248
|
-
SlSpinner as Spinner,
|
|
249
|
-
SlSplitPanel as SplitPanel,
|
|
250
|
-
SlSwitch as Switch,
|
|
251
|
-
SlTab as Tab,
|
|
252
|
-
SlTabGroup as TabGroup,
|
|
253
|
-
SlTabPanel as TabPanel,
|
|
254
|
-
SlTag as Tag,
|
|
255
|
-
SlTextarea as Textarea,
|
|
256
|
-
SlTooltip as Tooltip,
|
|
257
|
-
SlTree as Tree,
|
|
258
|
-
SlTreeItem as TreeItem,
|
|
259
|
-
SlVisuallyHidden as VisuallyHidden,
|
|
260
|
-
// Custom composite components
|
|
261
|
-
HotHeader as Header,
|
|
262
|
-
HotLogo as Logo,
|
|
263
|
-
HotToolbar as Toolbar,
|
|
264
|
-
HotTracking as Tracking,
|
|
265
|
-
}
|
|
125
|
+
export { HotHeader as Header, HotLogo as Logo, HotToolbar as Toolbar, HotConsent as Consent, HotTracking as Tracking, setBasePath, SlAlert as Alert, SlAnimatedImage as AnimatedImage, SlAnimation as Animation, SlAvatar as Avatar, SlBadge as Badge, SlBreadcrumb as Breadcrumb, SlBreadcrumbItem as BreadcrumbItem, SlButton as Button, SlButtonGroup as ButtonGroup, SlCard as Card, SlCarousel as Carousel, SlCarouselItem as CarouselItem, SlCheckbox as Checkbox, SlColorPicker as ColorPicker, SlCopyButton as CopyButton, SlDetails as Details, SlDialog as Dialog, SlDivider as Divider, SlDrawer as Drawer, SlDropdown as Dropdown, SlFormatBytes as FormatBytes, SlFormatDate as FormatDate, SlFormatNumber as FormatNumber, SlIcon as Icon, SlIconButton as IconButton, SlImageComparer as ImageComparer, SlInclude as Include, SlInput as Input, SlMenu as Menu, SlMenuItem as MenuItem, SlMenuLabel as MenuLabel, SlMutationObserver as MutationObserver, SlOption as Option, SlPopup as Popup, SlProgressBar as ProgressBar, SlProgressRing as ProgressRing, SlRadio as Radio, SlRadioButton as RadioButton, SlRadioGroup as RadioGroup, SlRange as Range, SlRating as Rating, SlRelativeTime as RelativeTime, SlResizeObserver as ResizeObserver, SlSelect as Select, SlSkeleton as Skeleton, SlSpinner as Spinner, SlSplitPanel as SplitPanel, SlSwitch as Switch, SlTab as Tab, SlTabGroup as TabGroup, SlTabPanel as TabPanel, SlTag as Tag, SlTextarea as Textarea, SlTooltip as Tooltip, SlTree as Tree, SlTreeItem as TreeItem, SlVisuallyHidden as VisuallyHidden, };
|