@hotosm/ui 0.2.0-b2 → 0.2.0-b4
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 +32 -24
- package/components/header/header.d.ts +30 -0
- package/components/header/header.js +237 -0
- package/components/header/header.ts +237 -0
- package/components/icons.js +6 -0
- package/components/icons.ts +84 -0
- package/components/index.d.ts +127 -4
- package/components/index.js +125 -4
- package/components/index.ts +259 -0
- package/components/{Toolbar.d.ts → toolbar/toolbar.d.ts} +1 -3
- package/components/{Toolbar.js → toolbar/toolbar.js} +10 -12
- package/components/toolbar/toolbar.ts +128 -0
- package/components/{Tracking.d.ts → tracking/tracking.d.ts} +1 -3
- package/components/{Tracking.js → tracking/tracking.js} +8 -12
- package/components/tracking/tracking.ts +173 -0
- package/dist/components.js +18122 -51
- package/dist/style.css +1 -0
- package/package.json +6 -13
- package/react/Header.js +4 -1
- package/react/Toolbar.js +9 -9
- package/react/Tracking.js +1 -1
- package/react/index.d.ts +0 -1
- package/react/index.js +0 -1
- package/theme/sl-custom.css +74 -0
- package/components/Button.d.ts +0 -16
- package/components/Button.js +0 -75
- package/components/Header.d.ts +0 -16
- package/components/Header.js +0 -152
- package/dist/assets/logo-CqlPtOQW.png +0 -0
- package/dist/styles.css +0 -1092
- package/react/Button.d.ts +0 -2
- package/react/Button.js +0 -14
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Bundled icons hardcoded into hotosm/ui.
|
|
3
|
+
// They are a subset of used Shoelace icons (which use Bootstrap icons)
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
import type { IconLibraryResolver } from "@shoelace-style/shoelace/dist/components/icon/library";
|
|
7
|
+
import { registerIconLibrary } from '@shoelace-style/shoelace/dist/utilities/icon-library.js';
|
|
8
|
+
|
|
9
|
+
const icons = {
|
|
10
|
+
list: `
|
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list" viewBox="0 0 16 16">
|
|
12
|
+
<path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/>
|
|
13
|
+
</svg>
|
|
14
|
+
`,
|
|
15
|
+
'info-circle': `
|
|
16
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-info-circle" viewBox="0 0 16 16">
|
|
17
|
+
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
|
|
18
|
+
<path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
|
|
19
|
+
</svg>
|
|
20
|
+
`,
|
|
21
|
+
'arrow-counterclockwise': `
|
|
22
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-counterclockwise" viewBox="0 0 16 16">
|
|
23
|
+
<path fill-rule="evenodd" d="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z"/>
|
|
24
|
+
<path d="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z"/>
|
|
25
|
+
</svg>
|
|
26
|
+
`,
|
|
27
|
+
'arrow-clockwise': `
|
|
28
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-clockwise" viewBox="0 0 16 16">
|
|
29
|
+
<path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z"/>
|
|
30
|
+
<path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z"/>
|
|
31
|
+
</svg>
|
|
32
|
+
`,
|
|
33
|
+
'type-bold': `
|
|
34
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-bold" viewBox="0 0 16 16">
|
|
35
|
+
<path d="M8.21 13c2.106 0 3.412-1.087 3.412-2.823 0-1.306-.984-2.283-2.324-2.386v-.055a2.176 2.176 0 0 0 1.852-2.14c0-1.51-1.162-2.46-3.014-2.46H3.843V13H8.21zM5.908 4.674h1.696c.963 0 1.517.451 1.517 1.244 0 .834-.629 1.32-1.73 1.32H5.908V4.673zm0 6.788V8.598h1.73c1.217 0 1.88.492 1.88 1.415 0 .943-.643 1.449-1.832 1.449H5.907z"/>
|
|
36
|
+
</svg>
|
|
37
|
+
`,
|
|
38
|
+
'type-italic': `
|
|
39
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-italic" viewBox="0 0 16 16">
|
|
40
|
+
<path d="M7.991 11.674 9.53 4.455c.123-.595.246-.71 1.347-.807l.11-.52H7.211l-.11.52c1.06.096 1.128.212 1.005.807L6.57 11.674c-.123.595-.246.71-1.346.806l-.11.52h3.774l.11-.52c-1.06-.095-1.129-.211-1.006-.806z"/>
|
|
41
|
+
</svg>
|
|
42
|
+
`,
|
|
43
|
+
'type-underline': `
|
|
44
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-underline" viewBox="0 0 16 16">
|
|
45
|
+
<path d="M5.313 3.136h-1.23V9.54c0 2.105 1.47 3.623 3.917 3.623s3.917-1.518 3.917-3.623V3.136h-1.23v6.323c0 1.49-.978 2.57-2.687 2.57-1.709 0-2.687-1.08-2.687-2.57V3.136zM12.5 15h-9v-1h9v1z"/>
|
|
46
|
+
</svg>
|
|
47
|
+
`,
|
|
48
|
+
'justify-left': `
|
|
49
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-justify-left" viewBox="0 0 16 16">
|
|
50
|
+
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
51
|
+
</svg>
|
|
52
|
+
`,
|
|
53
|
+
justify: `
|
|
54
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-justify" viewBox="0 0 16 16">
|
|
55
|
+
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
56
|
+
</svg>
|
|
57
|
+
`,
|
|
58
|
+
'justify-right': `
|
|
59
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-justify-right" viewBox="0 0 16 16">
|
|
60
|
+
<path fill-rule="evenodd" d="M6 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
61
|
+
</svg>
|
|
62
|
+
`,
|
|
63
|
+
'person-circle': `
|
|
64
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-circle" viewBox="0 0 16 16">
|
|
65
|
+
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/>
|
|
66
|
+
<path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>
|
|
67
|
+
</svg>
|
|
68
|
+
`
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const libraryResolver: IconLibraryResolver = (name: string) => {
|
|
72
|
+
if (name in icons) {
|
|
73
|
+
return `data:image/svg+xml,${encodeURIComponent(icons[name as keyof typeof icons])}`;
|
|
74
|
+
}
|
|
75
|
+
return '';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function registerBundledIcons() {
|
|
79
|
+
registerIconLibrary('bundled', {
|
|
80
|
+
resolver: libraryResolver,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export default registerBundledIcons;
|
package/components/index.d.ts
CHANGED
|
@@ -1,4 +1,127 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import SlAlert from '@shoelace-style/shoelace/dist/components/alert/alert.component.js';
|
|
2
|
+
import SlAnimatedImage from '@shoelace-style/shoelace/dist/components/animated-image/animated-image.component.js';
|
|
3
|
+
import SlAnimation from '@shoelace-style/shoelace/dist/components/animation/animation.component.js';
|
|
4
|
+
import SlAvatar from '@shoelace-style/shoelace/dist/components/avatar/avatar.component.js';
|
|
5
|
+
import SlBadge from '@shoelace-style/shoelace/dist/components/badge/badge.component.js';
|
|
6
|
+
import SlBreadcrumb from '@shoelace-style/shoelace/dist/components/breadcrumb/breadcrumb.component.js';
|
|
7
|
+
import SlBreadcrumbItem from '@shoelace-style/shoelace/dist/components/breadcrumb-item/breadcrumb-item.component.js';
|
|
8
|
+
import SlButton from '@shoelace-style/shoelace/dist/components/button/button.component.js';
|
|
9
|
+
import SlButtonGroup from '@shoelace-style/shoelace/dist/components/button-group/button-group.component.js';
|
|
10
|
+
import SlCard from '@shoelace-style/shoelace/dist/components/card/card.component.js';
|
|
11
|
+
import SlCarousel from '@shoelace-style/shoelace/dist/components/carousel/carousel.component.js';
|
|
12
|
+
import SlCarouselItem from '@shoelace-style/shoelace/dist/components/carousel-item/carousel-item.component.js';
|
|
13
|
+
import SlCheckbox from '@shoelace-style/shoelace/dist/components/checkbox/checkbox.component.js';
|
|
14
|
+
import SlColorPicker from '@shoelace-style/shoelace/dist/components/color-picker/color-picker.component.js';
|
|
15
|
+
import SlCopyButton from '@shoelace-style/shoelace/dist/components/copy-button/copy-button.component.js';
|
|
16
|
+
import SlDetails from '@shoelace-style/shoelace/dist/components/details/details.component.js';
|
|
17
|
+
import SlDialog from '@shoelace-style/shoelace/dist/components/dialog/dialog.component.js';
|
|
18
|
+
import SlDivider from '@shoelace-style/shoelace/dist/components/divider/divider.component.js';
|
|
19
|
+
import SlDrawer from '@shoelace-style/shoelace/dist/components/drawer/drawer.component.js';
|
|
20
|
+
import SlDropdown from '@shoelace-style/shoelace/dist/components/dropdown/dropdown.component.js';
|
|
21
|
+
import SlFormatBytes from '@shoelace-style/shoelace/dist/components/format-bytes/format-bytes.component.js';
|
|
22
|
+
import SlFormatDate from '@shoelace-style/shoelace/dist/components/format-date/format-date.component.js';
|
|
23
|
+
import SlFormatNumber from '@shoelace-style/shoelace/dist/components/format-number/format-number.component.js';
|
|
24
|
+
import SlIcon from '@shoelace-style/shoelace/dist/components/icon/icon.component.js';
|
|
25
|
+
import SlIconButton from '@shoelace-style/shoelace/dist/components/icon-button/icon-button.component.js';
|
|
26
|
+
import SlImageComparer from '@shoelace-style/shoelace/dist/components/image-comparer/image-comparer.component.js';
|
|
27
|
+
import SlInclude from '@shoelace-style/shoelace/dist/components/include/include.component.js';
|
|
28
|
+
import SlInput from '@shoelace-style/shoelace/dist/components/input/input.component.js';
|
|
29
|
+
import SlMenu from '@shoelace-style/shoelace/dist/components/menu/menu.component.js';
|
|
30
|
+
import SlMenuItem from '@shoelace-style/shoelace/dist/components/menu-item/menu-item.component.js';
|
|
31
|
+
import SlMenuLabel from '@shoelace-style/shoelace/dist/components/menu-label/menu-label.component.js';
|
|
32
|
+
import SlMutationObserver from '@shoelace-style/shoelace/dist/components/mutation-observer/mutation-observer.component.js';
|
|
33
|
+
import SlOption from '@shoelace-style/shoelace/dist/components/option/option.component.js';
|
|
34
|
+
import SlPopup from '@shoelace-style/shoelace/dist/components/popup/popup.component.js';
|
|
35
|
+
import SlProgressBar from '@shoelace-style/shoelace/dist/components/progress-bar/progress-bar.component.js';
|
|
36
|
+
import SlProgressRing from '@shoelace-style/shoelace/dist/components/progress-ring/progress-ring.component.js';
|
|
37
|
+
import SlQRCode from '@shoelace-style/shoelace/dist/components/qr-code/qr-code.component.js';
|
|
38
|
+
import SlRadio from '@shoelace-style/shoelace/dist/components/radio/radio.component.js';
|
|
39
|
+
import SlRadioButton from '@shoelace-style/shoelace/dist/components/radio-button/radio-button.component.js';
|
|
40
|
+
import SlRadioGroup from '@shoelace-style/shoelace/dist/components/radio-group/radio-group.component.js';
|
|
41
|
+
import SlRange from '@shoelace-style/shoelace/dist/components/range/range.component.js';
|
|
42
|
+
import SlRating from '@shoelace-style/shoelace/dist/components/rating/rating.component.js';
|
|
43
|
+
import SlRelativeTime from '@shoelace-style/shoelace/dist/components/relative-time/relative-time.component.js';
|
|
44
|
+
import SlResizeObserver from '@shoelace-style/shoelace/dist/components/resize-observer/resize-observer.component.js';
|
|
45
|
+
import SlSelect from '@shoelace-style/shoelace/dist/components/select/select.component.js';
|
|
46
|
+
import SlSkeleton from '@shoelace-style/shoelace/dist/components/skeleton/skeleton.component.js';
|
|
47
|
+
import SlSpinner from '@shoelace-style/shoelace/dist/components/spinner/spinner.component.js';
|
|
48
|
+
import SlSplitPanel from '@shoelace-style/shoelace/dist/components/split-panel/split-panel.component.js';
|
|
49
|
+
import SlSwitch from '@shoelace-style/shoelace/dist/components/switch/switch.component.js';
|
|
50
|
+
import SlTab from '@shoelace-style/shoelace/dist/components/tab/tab.component.js';
|
|
51
|
+
import SlTabGroup from '@shoelace-style/shoelace/dist/components/tab-group/tab-group.component.js';
|
|
52
|
+
import SlTabPanel from '@shoelace-style/shoelace/dist/components/tab-panel/tab-panel.component.js';
|
|
53
|
+
import SlTag from '@shoelace-style/shoelace/dist/components/tag/tag.component.js';
|
|
54
|
+
import SlTextarea from '@shoelace-style/shoelace/dist/components/textarea/textarea.component.js';
|
|
55
|
+
import SlTooltip from '@shoelace-style/shoelace/dist/components/tooltip/tooltip.component.js';
|
|
56
|
+
import SlTree from '@shoelace-style/shoelace/dist/components/tree/tree.component.js';
|
|
57
|
+
import SlTreeItem from '@shoelace-style/shoelace/dist/components/tree-item/tree-item.component.js';
|
|
58
|
+
import SlVisuallyHidden from '@shoelace-style/shoelace/dist/components/visually-hidden/visually-hidden.component.js';
|
|
59
|
+
import HotHeader from './header/header';
|
|
60
|
+
import HotToolbar from './toolbar/toolbar';
|
|
61
|
+
import HotTracking from './tracking/tracking';
|
|
62
|
+
declare global {
|
|
63
|
+
interface HTMLElementTagNameMap {
|
|
64
|
+
'hot-alert': SlAlert;
|
|
65
|
+
'hot-animated-image': SlAnimatedImage;
|
|
66
|
+
'hot-animation': SlAnimation;
|
|
67
|
+
'hot-avatar': SlAvatar;
|
|
68
|
+
'hot-badge': SlBadge;
|
|
69
|
+
'hot-breadcrumb': SlBreadcrumb;
|
|
70
|
+
'hot-breadcrumb-item': SlBreadcrumbItem;
|
|
71
|
+
'hot-button': SlButton;
|
|
72
|
+
'hot-button-group': SlButtonGroup;
|
|
73
|
+
'hot-card': SlCard;
|
|
74
|
+
'hot-carousel': SlCarousel;
|
|
75
|
+
'hot-carousel-item': SlCarouselItem;
|
|
76
|
+
'hot-checkbox': SlCheckbox;
|
|
77
|
+
'hot-color-picker': SlColorPicker;
|
|
78
|
+
'hot-copy-button': SlCopyButton;
|
|
79
|
+
'hot-details': SlDetails;
|
|
80
|
+
'hot-dialog': SlDialog;
|
|
81
|
+
'hot-divider': SlDivider;
|
|
82
|
+
'hot-drawer': SlDrawer;
|
|
83
|
+
'hot-dropdown': SlDropdown;
|
|
84
|
+
'hot-format-bytes': SlFormatBytes;
|
|
85
|
+
'hot-format-date': SlFormatDate;
|
|
86
|
+
'hot-format-number': SlFormatNumber;
|
|
87
|
+
'hot-icon': SlIcon;
|
|
88
|
+
'hot-icon-button': SlIconButton;
|
|
89
|
+
'hot-image-comparer': SlImageComparer;
|
|
90
|
+
'hot-include': SlInclude;
|
|
91
|
+
'hot-input': SlInput;
|
|
92
|
+
'hot-menu': SlMenu;
|
|
93
|
+
'hot-menu-item': SlMenuItem;
|
|
94
|
+
'hot-menu-label': SlMenuLabel;
|
|
95
|
+
'hot-mutation-observer': SlMutationObserver;
|
|
96
|
+
'hot-option': SlOption;
|
|
97
|
+
'hot-popup': SlPopup;
|
|
98
|
+
'hot-progress-bar': SlProgressBar;
|
|
99
|
+
'hot-progress-ring': SlProgressRing;
|
|
100
|
+
'hot-qrcode': SlQRCode;
|
|
101
|
+
'hot-radio': SlRadio;
|
|
102
|
+
'hot-radio-button': SlRadioButton;
|
|
103
|
+
'hot-radio-group': SlRadioGroup;
|
|
104
|
+
'hot-range': SlRange;
|
|
105
|
+
'hot-rating': SlRating;
|
|
106
|
+
'hot-relative-time': SlRelativeTime;
|
|
107
|
+
'hot-resize-observer': SlResizeObserver;
|
|
108
|
+
'hot-select': SlSelect;
|
|
109
|
+
'hot-skeleton': SlSkeleton;
|
|
110
|
+
'hot-spinner': SlSpinner;
|
|
111
|
+
'hot-split-panel': SlSplitPanel;
|
|
112
|
+
'hot-switch': SlSwitch;
|
|
113
|
+
'hot-tab': SlTab;
|
|
114
|
+
'hot-tab-group': SlTabGroup;
|
|
115
|
+
'hot-tab-panel': SlTabPanel;
|
|
116
|
+
'hot-tag': SlTag;
|
|
117
|
+
'hot-textarea': SlTextarea;
|
|
118
|
+
'hot-tooltip': SlTooltip;
|
|
119
|
+
'hot-tree': SlTree;
|
|
120
|
+
'hot-tree-item': SlTreeItem;
|
|
121
|
+
'hot-visually-hidden': SlVisuallyHidden;
|
|
122
|
+
'hot-header': HotHeader;
|
|
123
|
+
'hot-toolbar': HotToolbar;
|
|
124
|
+
'hot-tracking': HotTracking;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
export { SlAlert, SlAnimatedImage, SlAnimation, SlAvatar, SlBadge, SlBreadcrumb, SlBreadcrumbItem, SlButton, SlButtonGroup, SlCard, SlCarousel, SlCarouselItem, SlCheckbox, SlColorPicker, SlCopyButton, SlDetails, SlDialog, SlDivider, SlDrawer, SlDropdown, SlFormatBytes, SlFormatDate, SlFormatNumber, SlIcon, SlIconButton, SlImageComparer, SlInclude, SlInput, SlMenu, SlMenuItem, SlMenuLabel, SlMutationObserver, SlOption, SlPopup, SlProgressBar, SlProgressRing, SlQRCode, SlRadio, SlRadioButton, SlRadioGroup, SlRange, SlRating, SlRelativeTime, SlResizeObserver, SlSelect, SlSkeleton, SlSpinner, SlSplitPanel, SlSwitch, SlTab, SlTabGroup, SlTabPanel, SlTag, SlTextarea, SlTooltip, SlTree, SlTreeItem, SlVisuallyHidden, HotHeader, HotToolbar, HotTracking, };
|
package/components/index.js
CHANGED
|
@@ -1,6 +1,127 @@
|
|
|
1
1
|
// Index to import all components together
|
|
2
2
|
// import '@hotosm/ui/components';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
// Default Shoelace exports
|
|
4
|
+
import SlAlert from '@shoelace-style/shoelace/dist/components/alert/alert.component.js';
|
|
5
|
+
import SlAnimatedImage from '@shoelace-style/shoelace/dist/components/animated-image/animated-image.component.js';
|
|
6
|
+
import SlAnimation from '@shoelace-style/shoelace/dist/components/animation/animation.component.js';
|
|
7
|
+
import SlAvatar from '@shoelace-style/shoelace/dist/components/avatar/avatar.component.js';
|
|
8
|
+
import SlBadge from '@shoelace-style/shoelace/dist/components/badge/badge.component.js';
|
|
9
|
+
import SlBreadcrumb from '@shoelace-style/shoelace/dist/components/breadcrumb/breadcrumb.component.js';
|
|
10
|
+
import SlBreadcrumbItem from '@shoelace-style/shoelace/dist/components/breadcrumb-item/breadcrumb-item.component.js';
|
|
11
|
+
import SlButton from '@shoelace-style/shoelace/dist/components/button/button.component.js';
|
|
12
|
+
import SlButtonGroup from '@shoelace-style/shoelace/dist/components/button-group/button-group.component.js';
|
|
13
|
+
import SlCard from '@shoelace-style/shoelace/dist/components/card/card.component.js';
|
|
14
|
+
import SlCarousel from '@shoelace-style/shoelace/dist/components/carousel/carousel.component.js';
|
|
15
|
+
import SlCarouselItem from '@shoelace-style/shoelace/dist/components/carousel-item/carousel-item.component.js';
|
|
16
|
+
import SlCheckbox from '@shoelace-style/shoelace/dist/components/checkbox/checkbox.component.js';
|
|
17
|
+
import SlColorPicker from '@shoelace-style/shoelace/dist/components/color-picker/color-picker.component.js';
|
|
18
|
+
import SlCopyButton from '@shoelace-style/shoelace/dist/components/copy-button/copy-button.component.js';
|
|
19
|
+
import SlDetails from '@shoelace-style/shoelace/dist/components/details/details.component.js';
|
|
20
|
+
import SlDialog from '@shoelace-style/shoelace/dist/components/dialog/dialog.component.js';
|
|
21
|
+
import SlDivider from '@shoelace-style/shoelace/dist/components/divider/divider.component.js';
|
|
22
|
+
import SlDrawer from '@shoelace-style/shoelace/dist/components/drawer/drawer.component.js';
|
|
23
|
+
import SlDropdown from '@shoelace-style/shoelace/dist/components/dropdown/dropdown.component.js';
|
|
24
|
+
import SlFormatBytes from '@shoelace-style/shoelace/dist/components/format-bytes/format-bytes.component.js';
|
|
25
|
+
import SlFormatDate from '@shoelace-style/shoelace/dist/components/format-date/format-date.component.js';
|
|
26
|
+
import SlFormatNumber from '@shoelace-style/shoelace/dist/components/format-number/format-number.component.js';
|
|
27
|
+
import SlIcon from '@shoelace-style/shoelace/dist/components/icon/icon.component.js';
|
|
28
|
+
import SlIconButton from '@shoelace-style/shoelace/dist/components/icon-button/icon-button.component.js';
|
|
29
|
+
import SlImageComparer from '@shoelace-style/shoelace/dist/components/image-comparer/image-comparer.component.js';
|
|
30
|
+
import SlInclude from '@shoelace-style/shoelace/dist/components/include/include.component.js';
|
|
31
|
+
import SlInput from '@shoelace-style/shoelace/dist/components/input/input.component.js';
|
|
32
|
+
import SlMenu from '@shoelace-style/shoelace/dist/components/menu/menu.component.js';
|
|
33
|
+
import SlMenuItem from '@shoelace-style/shoelace/dist/components/menu-item/menu-item.component.js';
|
|
34
|
+
import SlMenuLabel from '@shoelace-style/shoelace/dist/components/menu-label/menu-label.component.js';
|
|
35
|
+
import SlMutationObserver from '@shoelace-style/shoelace/dist/components/mutation-observer/mutation-observer.component.js';
|
|
36
|
+
import SlOption from '@shoelace-style/shoelace/dist/components/option/option.component.js';
|
|
37
|
+
import SlPopup from '@shoelace-style/shoelace/dist/components/popup/popup.component.js';
|
|
38
|
+
import SlProgressBar from '@shoelace-style/shoelace/dist/components/progress-bar/progress-bar.component.js';
|
|
39
|
+
import SlProgressRing from '@shoelace-style/shoelace/dist/components/progress-ring/progress-ring.component.js';
|
|
40
|
+
import SlQRCode from '@shoelace-style/shoelace/dist/components/qr-code/qr-code.component.js';
|
|
41
|
+
import SlRadio from '@shoelace-style/shoelace/dist/components/radio/radio.component.js';
|
|
42
|
+
import SlRadioButton from '@shoelace-style/shoelace/dist/components/radio-button/radio-button.component.js';
|
|
43
|
+
import SlRadioGroup from '@shoelace-style/shoelace/dist/components/radio-group/radio-group.component.js';
|
|
44
|
+
import SlRange from '@shoelace-style/shoelace/dist/components/range/range.component.js';
|
|
45
|
+
import SlRating from '@shoelace-style/shoelace/dist/components/rating/rating.component.js';
|
|
46
|
+
import SlRelativeTime from '@shoelace-style/shoelace/dist/components/relative-time/relative-time.component.js';
|
|
47
|
+
import SlResizeObserver from '@shoelace-style/shoelace/dist/components/resize-observer/resize-observer.component.js';
|
|
48
|
+
import SlSelect from '@shoelace-style/shoelace/dist/components/select/select.component.js';
|
|
49
|
+
import SlSkeleton from '@shoelace-style/shoelace/dist/components/skeleton/skeleton.component.js';
|
|
50
|
+
import SlSpinner from '@shoelace-style/shoelace/dist/components/spinner/spinner.component.js';
|
|
51
|
+
import SlSplitPanel from '@shoelace-style/shoelace/dist/components/split-panel/split-panel.component.js';
|
|
52
|
+
import SlSwitch from '@shoelace-style/shoelace/dist/components/switch/switch.component.js';
|
|
53
|
+
import SlTab from '@shoelace-style/shoelace/dist/components/tab/tab.component.js';
|
|
54
|
+
import SlTabGroup from '@shoelace-style/shoelace/dist/components/tab-group/tab-group.component.js';
|
|
55
|
+
import SlTabPanel from '@shoelace-style/shoelace/dist/components/tab-panel/tab-panel.component.js';
|
|
56
|
+
import SlTag from '@shoelace-style/shoelace/dist/components/tag/tag.component.js';
|
|
57
|
+
import SlTextarea from '@shoelace-style/shoelace/dist/components/textarea/textarea.component.js';
|
|
58
|
+
import SlTooltip from '@shoelace-style/shoelace/dist/components/tooltip/tooltip.component.js';
|
|
59
|
+
import SlTree from '@shoelace-style/shoelace/dist/components/tree/tree.component.js';
|
|
60
|
+
import SlTreeItem from '@shoelace-style/shoelace/dist/components/tree-item/tree-item.component.js';
|
|
61
|
+
import SlVisuallyHidden from '@shoelace-style/shoelace/dist/components/visually-hidden/visually-hidden.component.js';
|
|
62
|
+
// Custom composite components
|
|
63
|
+
import HotHeader from './header/header';
|
|
64
|
+
import HotToolbar from './toolbar/toolbar';
|
|
65
|
+
import HotTracking from './tracking/tracking';
|
|
66
|
+
// Define web component names for Shoelace components
|
|
67
|
+
SlAlert.define('hot-alert');
|
|
68
|
+
SlAnimatedImage.define('hot-animated-image');
|
|
69
|
+
SlAnimation.define('hot-animation');
|
|
70
|
+
SlAvatar.define('hot-avatar');
|
|
71
|
+
SlBadge.define('hot-badge');
|
|
72
|
+
SlBreadcrumb.define('hot-breadcrumb');
|
|
73
|
+
SlBreadcrumbItem.define('hot-breadcrumb-item');
|
|
74
|
+
SlButton.define('hot-button');
|
|
75
|
+
SlButtonGroup.define('hot-button-group');
|
|
76
|
+
SlCard.define('hot-card');
|
|
77
|
+
SlCarousel.define('hot-carousel');
|
|
78
|
+
SlCarouselItem.define('hot-carousel-item');
|
|
79
|
+
SlCheckbox.define('hot-checkbox');
|
|
80
|
+
SlColorPicker.define('hot-color-picker');
|
|
81
|
+
SlCopyButton.define('hot-copy-button');
|
|
82
|
+
SlDetails.define('hot-details');
|
|
83
|
+
SlDialog.define('hot-dialog');
|
|
84
|
+
SlDivider.define('hot-divider');
|
|
85
|
+
SlDrawer.define('hot-drawer');
|
|
86
|
+
SlDropdown.define('hot-dropdown');
|
|
87
|
+
SlFormatBytes.define('hot-format-bytes');
|
|
88
|
+
SlFormatDate.define('hot-format-date');
|
|
89
|
+
SlFormatNumber.define('hot-format-number');
|
|
90
|
+
SlIcon.define('hot-icon');
|
|
91
|
+
SlIconButton.define('hot-icon-button');
|
|
92
|
+
SlImageComparer.define('hot-image-comparer');
|
|
93
|
+
SlInclude.define('hot-include');
|
|
94
|
+
SlInput.define('hot-input');
|
|
95
|
+
SlMenu.define('hot-menu');
|
|
96
|
+
SlMenuItem.define('hot-menu-item');
|
|
97
|
+
SlMenuLabel.define('hot-menu-label');
|
|
98
|
+
SlMutationObserver.define('hot-mutation-observer');
|
|
99
|
+
SlOption.define('hot-option');
|
|
100
|
+
SlPopup.define('hot-popup');
|
|
101
|
+
SlProgressBar.define('hot-progress-bar');
|
|
102
|
+
SlProgressRing.define('hot-progress-ring');
|
|
103
|
+
SlQRCode.define('hot-qr-code');
|
|
104
|
+
SlRadio.define('hot-radio');
|
|
105
|
+
SlRadioButton.define('hot-radio-button');
|
|
106
|
+
SlRadioGroup.define('hot-radio-group');
|
|
107
|
+
SlRange.define('hot-range');
|
|
108
|
+
SlRating.define('hot-rating');
|
|
109
|
+
SlRelativeTime.define('hot-relative-time');
|
|
110
|
+
SlResizeObserver.define('hot-resize-observer');
|
|
111
|
+
SlSelect.define('hot-select');
|
|
112
|
+
SlSkeleton.define('hot-skeleton');
|
|
113
|
+
SlSpinner.define('hot-spinner');
|
|
114
|
+
SlSplitPanel.define('hot-split-panel');
|
|
115
|
+
SlSwitch.define('hot-switch');
|
|
116
|
+
SlTab.define('hot-tab');
|
|
117
|
+
SlTabGroup.define('hot-tab-group');
|
|
118
|
+
SlTabPanel.define('hot-tab-panel');
|
|
119
|
+
SlTag.define('hot-tag');
|
|
120
|
+
SlTextarea.define('hot-textarea');
|
|
121
|
+
SlTooltip.define('hot-tooltip');
|
|
122
|
+
SlTree.define('hot-tree');
|
|
123
|
+
SlTreeItem.define('hot-tree-item');
|
|
124
|
+
SlVisuallyHidden.define('hot-visually-hidden');
|
|
125
|
+
export { SlAlert, SlAnimatedImage, SlAnimation, SlAvatar, SlBadge, SlBreadcrumb, SlBreadcrumbItem, SlButton, SlButtonGroup, SlCard, SlCarousel, SlCarouselItem, SlCheckbox, SlColorPicker, SlCopyButton, SlDetails, SlDialog, SlDivider, SlDrawer, SlDropdown, SlFormatBytes, SlFormatDate, SlFormatNumber, SlIcon, SlIconButton, SlImageComparer, SlInclude, SlInput, SlMenu, SlMenuItem, SlMenuLabel, SlMutationObserver, SlOption, SlPopup, SlProgressBar, SlProgressRing, SlQRCode, SlRadio, SlRadioButton, SlRadioGroup, SlRange, SlRating, SlRelativeTime, SlResizeObserver, SlSelect, SlSkeleton, SlSpinner, SlSplitPanel, SlSwitch, SlTab, SlTabGroup, SlTabPanel, SlTag, SlTextarea, SlTooltip, SlTree, SlTreeItem, SlVisuallyHidden,
|
|
126
|
+
// Custom composite components
|
|
127
|
+
HotHeader, HotToolbar, HotTracking, };
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
// Index to import all components together
|
|
2
|
+
// import '@hotosm/ui/components';
|
|
3
|
+
|
|
4
|
+
// Default Shoelace exports
|
|
5
|
+
import SlAlert from '@shoelace-style/shoelace/dist/components/alert/alert.component.js';
|
|
6
|
+
import SlAnimatedImage from '@shoelace-style/shoelace/dist/components/animated-image/animated-image.component.js';
|
|
7
|
+
import SlAnimation from '@shoelace-style/shoelace/dist/components/animation/animation.component.js';
|
|
8
|
+
import SlAvatar from '@shoelace-style/shoelace/dist/components/avatar/avatar.component.js';
|
|
9
|
+
import SlBadge from '@shoelace-style/shoelace/dist/components/badge/badge.component.js';
|
|
10
|
+
import SlBreadcrumb from '@shoelace-style/shoelace/dist/components/breadcrumb/breadcrumb.component.js';
|
|
11
|
+
import SlBreadcrumbItem from '@shoelace-style/shoelace/dist/components/breadcrumb-item/breadcrumb-item.component.js';
|
|
12
|
+
import SlButton from '@shoelace-style/shoelace/dist/components/button/button.component.js';
|
|
13
|
+
import SlButtonGroup from '@shoelace-style/shoelace/dist/components/button-group/button-group.component.js';
|
|
14
|
+
import SlCard from '@shoelace-style/shoelace/dist/components/card/card.component.js';
|
|
15
|
+
import SlCarousel from '@shoelace-style/shoelace/dist/components/carousel/carousel.component.js';
|
|
16
|
+
import SlCarouselItem from '@shoelace-style/shoelace/dist/components/carousel-item/carousel-item.component.js';
|
|
17
|
+
import SlCheckbox from '@shoelace-style/shoelace/dist/components/checkbox/checkbox.component.js';
|
|
18
|
+
import SlColorPicker from '@shoelace-style/shoelace/dist/components/color-picker/color-picker.component.js';
|
|
19
|
+
import SlCopyButton from '@shoelace-style/shoelace/dist/components/copy-button/copy-button.component.js';
|
|
20
|
+
import SlDetails from '@shoelace-style/shoelace/dist/components/details/details.component.js';
|
|
21
|
+
import SlDialog from '@shoelace-style/shoelace/dist/components/dialog/dialog.component.js';
|
|
22
|
+
import SlDivider from '@shoelace-style/shoelace/dist/components/divider/divider.component.js';
|
|
23
|
+
import SlDrawer from '@shoelace-style/shoelace/dist/components/drawer/drawer.component.js';
|
|
24
|
+
import SlDropdown from '@shoelace-style/shoelace/dist/components/dropdown/dropdown.component.js';
|
|
25
|
+
import SlFormatBytes from '@shoelace-style/shoelace/dist/components/format-bytes/format-bytes.component.js';
|
|
26
|
+
import SlFormatDate from '@shoelace-style/shoelace/dist/components/format-date/format-date.component.js';
|
|
27
|
+
import SlFormatNumber from '@shoelace-style/shoelace/dist/components/format-number/format-number.component.js';
|
|
28
|
+
import SlIcon from '@shoelace-style/shoelace/dist/components/icon/icon.component.js';
|
|
29
|
+
import SlIconButton from '@shoelace-style/shoelace/dist/components/icon-button/icon-button.component.js';
|
|
30
|
+
import SlImageComparer from '@shoelace-style/shoelace/dist/components/image-comparer/image-comparer.component.js';
|
|
31
|
+
import SlInclude from '@shoelace-style/shoelace/dist/components/include/include.component.js';
|
|
32
|
+
import SlInput from '@shoelace-style/shoelace/dist/components/input/input.component.js';
|
|
33
|
+
import SlMenu from '@shoelace-style/shoelace/dist/components/menu/menu.component.js';
|
|
34
|
+
import SlMenuItem from '@shoelace-style/shoelace/dist/components/menu-item/menu-item.component.js';
|
|
35
|
+
import SlMenuLabel from '@shoelace-style/shoelace/dist/components/menu-label/menu-label.component.js';
|
|
36
|
+
import SlMutationObserver from '@shoelace-style/shoelace/dist/components/mutation-observer/mutation-observer.component.js';
|
|
37
|
+
import SlOption from '@shoelace-style/shoelace/dist/components/option/option.component.js';
|
|
38
|
+
import SlPopup from '@shoelace-style/shoelace/dist/components/popup/popup.component.js';
|
|
39
|
+
import SlProgressBar from '@shoelace-style/shoelace/dist/components/progress-bar/progress-bar.component.js';
|
|
40
|
+
import SlProgressRing from '@shoelace-style/shoelace/dist/components/progress-ring/progress-ring.component.js';
|
|
41
|
+
import SlQRCode from '@shoelace-style/shoelace/dist/components/qr-code/qr-code.component.js';
|
|
42
|
+
import SlRadio from '@shoelace-style/shoelace/dist/components/radio/radio.component.js';
|
|
43
|
+
import SlRadioButton from '@shoelace-style/shoelace/dist/components/radio-button/radio-button.component.js';
|
|
44
|
+
import SlRadioGroup from '@shoelace-style/shoelace/dist/components/radio-group/radio-group.component.js';
|
|
45
|
+
import SlRange from '@shoelace-style/shoelace/dist/components/range/range.component.js';
|
|
46
|
+
import SlRating from '@shoelace-style/shoelace/dist/components/rating/rating.component.js';
|
|
47
|
+
import SlRelativeTime from '@shoelace-style/shoelace/dist/components/relative-time/relative-time.component.js';
|
|
48
|
+
import SlResizeObserver from '@shoelace-style/shoelace/dist/components/resize-observer/resize-observer.component.js';
|
|
49
|
+
import SlSelect from '@shoelace-style/shoelace/dist/components/select/select.component.js';
|
|
50
|
+
import SlSkeleton from '@shoelace-style/shoelace/dist/components/skeleton/skeleton.component.js';
|
|
51
|
+
import SlSpinner from '@shoelace-style/shoelace/dist/components/spinner/spinner.component.js';
|
|
52
|
+
import SlSplitPanel from '@shoelace-style/shoelace/dist/components/split-panel/split-panel.component.js';
|
|
53
|
+
import SlSwitch from '@shoelace-style/shoelace/dist/components/switch/switch.component.js';
|
|
54
|
+
import SlTab from '@shoelace-style/shoelace/dist/components/tab/tab.component.js';
|
|
55
|
+
import SlTabGroup from '@shoelace-style/shoelace/dist/components/tab-group/tab-group.component.js';
|
|
56
|
+
import SlTabPanel from '@shoelace-style/shoelace/dist/components/tab-panel/tab-panel.component.js';
|
|
57
|
+
import SlTag from '@shoelace-style/shoelace/dist/components/tag/tag.component.js';
|
|
58
|
+
import SlTextarea from '@shoelace-style/shoelace/dist/components/textarea/textarea.component.js';
|
|
59
|
+
import SlTooltip from '@shoelace-style/shoelace/dist/components/tooltip/tooltip.component.js';
|
|
60
|
+
import SlTree from '@shoelace-style/shoelace/dist/components/tree/tree.component.js';
|
|
61
|
+
import SlTreeItem from '@shoelace-style/shoelace/dist/components/tree-item/tree-item.component.js';
|
|
62
|
+
import SlVisuallyHidden from '@shoelace-style/shoelace/dist/components/visually-hidden/visually-hidden.component.js';
|
|
63
|
+
|
|
64
|
+
// Custom composite components
|
|
65
|
+
import HotHeader from './header/header';
|
|
66
|
+
import HotToolbar from './toolbar/toolbar';
|
|
67
|
+
import HotTracking from './tracking/tracking';
|
|
68
|
+
|
|
69
|
+
// Define web component names for Shoelace components
|
|
70
|
+
SlAlert.define('hot-alert');
|
|
71
|
+
SlAnimatedImage.define('hot-animated-image');
|
|
72
|
+
SlAnimation.define('hot-animation');
|
|
73
|
+
SlAvatar.define('hot-avatar');
|
|
74
|
+
SlBadge.define('hot-badge');
|
|
75
|
+
SlBreadcrumb.define('hot-breadcrumb');
|
|
76
|
+
SlBreadcrumbItem.define('hot-breadcrumb-item');
|
|
77
|
+
SlButton.define('hot-button');
|
|
78
|
+
SlButtonGroup.define('hot-button-group');
|
|
79
|
+
SlCard.define('hot-card');
|
|
80
|
+
SlCarousel.define('hot-carousel');
|
|
81
|
+
SlCarouselItem.define('hot-carousel-item');
|
|
82
|
+
SlCheckbox.define('hot-checkbox');
|
|
83
|
+
SlColorPicker.define('hot-color-picker');
|
|
84
|
+
SlCopyButton.define('hot-copy-button');
|
|
85
|
+
SlDetails.define('hot-details');
|
|
86
|
+
SlDialog.define('hot-dialog');
|
|
87
|
+
SlDivider.define('hot-divider');
|
|
88
|
+
SlDrawer.define('hot-drawer');
|
|
89
|
+
SlDropdown.define('hot-dropdown');
|
|
90
|
+
SlFormatBytes.define('hot-format-bytes');
|
|
91
|
+
SlFormatDate.define('hot-format-date');
|
|
92
|
+
SlFormatNumber.define('hot-format-number');
|
|
93
|
+
SlIcon.define('hot-icon');
|
|
94
|
+
SlIconButton.define('hot-icon-button');
|
|
95
|
+
SlImageComparer.define('hot-image-comparer');
|
|
96
|
+
SlInclude.define('hot-include');
|
|
97
|
+
SlInput.define('hot-input');
|
|
98
|
+
SlMenu.define('hot-menu');
|
|
99
|
+
SlMenuItem.define('hot-menu-item');
|
|
100
|
+
SlMenuLabel.define('hot-menu-label');
|
|
101
|
+
SlMutationObserver.define('hot-mutation-observer');
|
|
102
|
+
SlOption.define('hot-option');
|
|
103
|
+
SlPopup.define('hot-popup');
|
|
104
|
+
SlProgressBar.define('hot-progress-bar');
|
|
105
|
+
SlProgressRing.define('hot-progress-ring');
|
|
106
|
+
SlQRCode.define('hot-qr-code');
|
|
107
|
+
SlRadio.define('hot-radio');
|
|
108
|
+
SlRadioButton.define('hot-radio-button');
|
|
109
|
+
SlRadioGroup.define('hot-radio-group');
|
|
110
|
+
SlRange.define('hot-range');
|
|
111
|
+
SlRating.define('hot-rating');
|
|
112
|
+
SlRelativeTime.define('hot-relative-time');
|
|
113
|
+
SlResizeObserver.define('hot-resize-observer');
|
|
114
|
+
SlSelect.define('hot-select');
|
|
115
|
+
SlSkeleton.define('hot-skeleton');
|
|
116
|
+
SlSpinner.define('hot-spinner');
|
|
117
|
+
SlSplitPanel.define('hot-split-panel');
|
|
118
|
+
SlSwitch.define('hot-switch');
|
|
119
|
+
SlTab.define('hot-tab');
|
|
120
|
+
SlTabGroup.define('hot-tab-group');
|
|
121
|
+
SlTabPanel.define('hot-tab-panel');
|
|
122
|
+
SlTag.define('hot-tag');
|
|
123
|
+
SlTextarea.define('hot-textarea');
|
|
124
|
+
SlTooltip.define('hot-tooltip');
|
|
125
|
+
SlTree.define('hot-tree');
|
|
126
|
+
SlTreeItem.define('hot-tree-item');
|
|
127
|
+
SlVisuallyHidden.define('hot-visually-hidden');
|
|
128
|
+
|
|
129
|
+
declare global {
|
|
130
|
+
interface HTMLElementTagNameMap {
|
|
131
|
+
'hot-alert': SlAlert;
|
|
132
|
+
'hot-animated-image': SlAnimatedImage;
|
|
133
|
+
'hot-animation': SlAnimation;
|
|
134
|
+
'hot-avatar': SlAvatar;
|
|
135
|
+
'hot-badge': SlBadge;
|
|
136
|
+
'hot-breadcrumb': SlBreadcrumb;
|
|
137
|
+
'hot-breadcrumb-item': SlBreadcrumbItem;
|
|
138
|
+
'hot-button': SlButton;
|
|
139
|
+
'hot-button-group': SlButtonGroup;
|
|
140
|
+
'hot-card': SlCard;
|
|
141
|
+
'hot-carousel': SlCarousel;
|
|
142
|
+
'hot-carousel-item': SlCarouselItem;
|
|
143
|
+
'hot-checkbox': SlCheckbox;
|
|
144
|
+
'hot-color-picker': SlColorPicker;
|
|
145
|
+
'hot-copy-button': SlCopyButton;
|
|
146
|
+
'hot-details': SlDetails;
|
|
147
|
+
'hot-dialog': SlDialog;
|
|
148
|
+
'hot-divider': SlDivider;
|
|
149
|
+
'hot-drawer': SlDrawer;
|
|
150
|
+
'hot-dropdown': SlDropdown;
|
|
151
|
+
'hot-format-bytes': SlFormatBytes;
|
|
152
|
+
'hot-format-date': SlFormatDate;
|
|
153
|
+
'hot-format-number': SlFormatNumber;
|
|
154
|
+
'hot-icon': SlIcon;
|
|
155
|
+
'hot-icon-button': SlIconButton;
|
|
156
|
+
'hot-image-comparer': SlImageComparer;
|
|
157
|
+
'hot-include': SlInclude;
|
|
158
|
+
'hot-input': SlInput;
|
|
159
|
+
'hot-menu': SlMenu;
|
|
160
|
+
'hot-menu-item': SlMenuItem;
|
|
161
|
+
'hot-menu-label': SlMenuLabel;
|
|
162
|
+
'hot-mutation-observer': SlMutationObserver;
|
|
163
|
+
'hot-option': SlOption;
|
|
164
|
+
'hot-popup': SlPopup;
|
|
165
|
+
'hot-progress-bar': SlProgressBar;
|
|
166
|
+
'hot-progress-ring': SlProgressRing;
|
|
167
|
+
'hot-qrcode': SlQRCode;
|
|
168
|
+
'hot-radio': SlRadio;
|
|
169
|
+
'hot-radio-button': SlRadioButton;
|
|
170
|
+
'hot-radio-group': SlRadioGroup;
|
|
171
|
+
'hot-range': SlRange;
|
|
172
|
+
'hot-rating': SlRating;
|
|
173
|
+
'hot-relative-time': SlRelativeTime;
|
|
174
|
+
'hot-resize-observer': SlResizeObserver;
|
|
175
|
+
'hot-select': SlSelect;
|
|
176
|
+
'hot-skeleton': SlSkeleton;
|
|
177
|
+
'hot-spinner': SlSpinner;
|
|
178
|
+
'hot-split-panel': SlSplitPanel;
|
|
179
|
+
'hot-switch': SlSwitch;
|
|
180
|
+
'hot-tab': SlTab;
|
|
181
|
+
'hot-tab-group': SlTabGroup;
|
|
182
|
+
'hot-tab-panel': SlTabPanel;
|
|
183
|
+
'hot-tag': SlTag;
|
|
184
|
+
'hot-textarea': SlTextarea;
|
|
185
|
+
'hot-tooltip': SlTooltip;
|
|
186
|
+
'hot-tree': SlTree;
|
|
187
|
+
'hot-tree-item': SlTreeItem;
|
|
188
|
+
'hot-visually-hidden': SlVisuallyHidden;
|
|
189
|
+
// Custom composite components
|
|
190
|
+
'hot-header': HotHeader;
|
|
191
|
+
'hot-toolbar': HotToolbar;
|
|
192
|
+
'hot-tracking': HotTracking;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export {
|
|
197
|
+
SlAlert,
|
|
198
|
+
SlAnimatedImage,
|
|
199
|
+
SlAnimation,
|
|
200
|
+
SlAvatar,
|
|
201
|
+
SlBadge,
|
|
202
|
+
SlBreadcrumb,
|
|
203
|
+
SlBreadcrumbItem,
|
|
204
|
+
SlButton,
|
|
205
|
+
SlButtonGroup,
|
|
206
|
+
SlCard,
|
|
207
|
+
SlCarousel,
|
|
208
|
+
SlCarouselItem,
|
|
209
|
+
SlCheckbox,
|
|
210
|
+
SlColorPicker,
|
|
211
|
+
SlCopyButton,
|
|
212
|
+
SlDetails,
|
|
213
|
+
SlDialog,
|
|
214
|
+
SlDivider,
|
|
215
|
+
SlDrawer,
|
|
216
|
+
SlDropdown,
|
|
217
|
+
SlFormatBytes,
|
|
218
|
+
SlFormatDate,
|
|
219
|
+
SlFormatNumber,
|
|
220
|
+
SlIcon,
|
|
221
|
+
SlIconButton,
|
|
222
|
+
SlImageComparer,
|
|
223
|
+
SlInclude,
|
|
224
|
+
SlInput,
|
|
225
|
+
SlMenu,
|
|
226
|
+
SlMenuItem,
|
|
227
|
+
SlMenuLabel,
|
|
228
|
+
SlMutationObserver,
|
|
229
|
+
SlOption,
|
|
230
|
+
SlPopup,
|
|
231
|
+
SlProgressBar,
|
|
232
|
+
SlProgressRing,
|
|
233
|
+
SlQRCode,
|
|
234
|
+
SlRadio,
|
|
235
|
+
SlRadioButton,
|
|
236
|
+
SlRadioGroup,
|
|
237
|
+
SlRange,
|
|
238
|
+
SlRating,
|
|
239
|
+
SlRelativeTime,
|
|
240
|
+
SlResizeObserver,
|
|
241
|
+
SlSelect,
|
|
242
|
+
SlSkeleton,
|
|
243
|
+
SlSpinner,
|
|
244
|
+
SlSplitPanel,
|
|
245
|
+
SlSwitch,
|
|
246
|
+
SlTab,
|
|
247
|
+
SlTabGroup,
|
|
248
|
+
SlTabPanel,
|
|
249
|
+
SlTag,
|
|
250
|
+
SlTextarea,
|
|
251
|
+
SlTooltip,
|
|
252
|
+
SlTree,
|
|
253
|
+
SlTreeItem,
|
|
254
|
+
SlVisuallyHidden,
|
|
255
|
+
// Custom composite components
|
|
256
|
+
HotHeader,
|
|
257
|
+
HotToolbar,
|
|
258
|
+
HotTracking,
|
|
259
|
+
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import '@shoelace-style/shoelace/dist/themes/light.css';
|
|
3
|
-
import '@shoelace-style/shoelace/dist/themes/dark.css';
|
|
1
|
+
import "../../theme/sl-custom.css";
|
|
4
2
|
import '@shoelace-style/shoelace/dist/components/button/button.js';
|
|
5
3
|
import '@shoelace-style/shoelace/dist/components/button-group/button-group.js';
|
|
6
4
|
import '@shoelace-style/shoelace/dist/components/icon/icon.js';
|