@leavepulse/ui 0.16.2 → 0.17.1
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/dist/chunks/LpAddressInput-ChT1JQg0.js +366 -0
- package/dist/chunks/{LpAppShell-CV194os6.js → LpAppShell-C6Mj82LS.js} +2 -2
- package/dist/chunks/{LpConfirmDialog-DnReh5pF.js → LpConfirmDialog-3_Qu4hnA.js} +1 -1
- package/dist/chunks/{LpDrawer-BHzCy-Aa.js → LpDrawer-Fxk7ViQ-.js} +1 -1
- package/dist/chunks/{LpFileTree-YOJCuIjJ.js → LpFileTree-CXg3KDth.js} +1 -1
- package/dist/chunks/{LpLogViewer-BvzRZPjs.js → LpLogViewer-D7DNEYaG.js} +1 -1
- package/dist/chunks/LpMapPicker-DFKrd1Ne.js +509 -0
- package/dist/chunks/{LpModal-CezA8eJ3.js → LpModal-J-KRPO7F.js} +1 -1
- package/dist/chunks/{LpNotificationBell-BtfRoL2i.js → LpNotificationBell-D8sdQLgu.js} +26 -13
- package/dist/chunks/{LpScrollArea-De9DLpa1.js → LpScrollArea-CKhOx0_l.js} +2 -2
- package/dist/chunks/{LpSidebar-B11IDRQi.js → LpSidebar-Bk7SrINq.js} +2 -2
- package/dist/chunks/{LpSidebarNav-TIUNHZX-.js → LpSidebarNav-Cpd-yHXb.js} +1 -1
- package/dist/chunks/{LpTable-CKGaUbEM.js → LpTable-X3ieZmbr.js} +1 -1
- package/dist/chunks/{LpThemeSwitcher-BgWwfkxs.js → LpThemeSwitcher-DC6QygnU.js} +11 -3
- package/dist/component-names.d.ts +1 -1
- package/dist/components/LpAddressInput.vue.d.ts +53 -0
- package/dist/components/LpAddressInput.vue.js +4 -0
- package/dist/components/LpAlert.vue.d.ts +1 -1
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +1 -1
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpFileTree.vue.d.ts +2 -2
- package/dist/components/LpFileTree.vue.js +1 -1
- package/dist/components/LpLightbox.vue.d.ts +1 -1
- package/dist/components/LpLogViewer.vue.js +1 -1
- package/dist/components/LpMapPicker.vue.d.ts +44 -0
- package/dist/components/LpMapPicker.vue.js +4 -0
- package/dist/components/LpModal.vue.js +1 -1
- package/dist/components/LpNotificationBell.vue.d.ts +22 -0
- package/dist/components/LpNotificationBell.vue.js +1 -1
- package/dist/components/LpScrollArea.vue.js +1 -1
- package/dist/components/LpSidebar.vue.js +1 -1
- package/dist/components/LpSidebarNav.vue.js +1 -1
- package/dist/components/LpTable.vue.js +1 -1
- package/dist/components/LpThemeSwitcher.vue.d.ts +7 -0
- package/dist/components/LpThemeSwitcher.vue.js +1 -1
- package/dist/components/address.d.ts +107 -0
- package/dist/components/address.js +96 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +129 -117
- package/package.json +1 -1
- package/src/component-names.ts +2 -0
- package/src/components/LpAddressInput.vue +377 -0
- package/src/components/LpMapPicker.vue +665 -0
- package/src/components/LpNotificationBell.vue +47 -9
- package/src/components/LpScrollArea.vue +8 -2
- package/src/components/LpThemeSwitcher.vue +24 -2
- package/src/components/address.ts +250 -0
- package/src/index.ts +194 -169
- package/src/theme/presets.ts +8 -2
package/src/index.ts
CHANGED
|
@@ -1,169 +1,194 @@
|
|
|
1
|
-
export { default as LayoutCanvas } from "./components/LayoutCanvas.vue"
|
|
2
|
-
export { default as
|
|
3
|
-
export { default as
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export { default as
|
|
25
|
-
export { default as
|
|
26
|
-
export
|
|
27
|
-
export {
|
|
28
|
-
export { default as
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./components/
|
|
43
|
-
export { default as
|
|
44
|
-
export { default as
|
|
45
|
-
export { default as
|
|
46
|
-
export
|
|
47
|
-
export { default as
|
|
48
|
-
export {
|
|
49
|
-
export
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
export { default as
|
|
66
|
-
export { default as
|
|
67
|
-
export { default as
|
|
68
|
-
export {
|
|
69
|
-
export
|
|
70
|
-
export { default as
|
|
71
|
-
export {
|
|
72
|
-
export
|
|
73
|
-
export { default as
|
|
74
|
-
export
|
|
75
|
-
export {
|
|
76
|
-
export
|
|
77
|
-
export { default as
|
|
78
|
-
export type {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
export { default as
|
|
83
|
-
export
|
|
84
|
-
export { default as
|
|
85
|
-
export { default as
|
|
86
|
-
export
|
|
87
|
-
export {
|
|
88
|
-
export
|
|
89
|
-
export {
|
|
90
|
-
export
|
|
91
|
-
export { default as
|
|
92
|
-
export { default as
|
|
93
|
-
export { default as
|
|
94
|
-
export {
|
|
95
|
-
export { default as
|
|
96
|
-
export { default as
|
|
97
|
-
export type {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./components/
|
|
105
|
-
export { default as
|
|
106
|
-
export
|
|
107
|
-
|
|
108
|
-
export {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
export {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
} from "./
|
|
152
|
-
export {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
export
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
1
|
+
export { default as LayoutCanvas } from "./components/LayoutCanvas.vue"
|
|
2
|
+
export { default as LpAddressInput } from "./components/LpAddressInput.vue"
|
|
3
|
+
export { default as LpMapPicker } from "./components/LpMapPicker.vue"
|
|
4
|
+
export {
|
|
5
|
+
OSM_TILES,
|
|
6
|
+
createNominatimProvider,
|
|
7
|
+
emptyAddress,
|
|
8
|
+
formatAddress,
|
|
9
|
+
project,
|
|
10
|
+
tileUrl,
|
|
11
|
+
unproject,
|
|
12
|
+
} from "./components/address"
|
|
13
|
+
export type {
|
|
14
|
+
AddressField,
|
|
15
|
+
AddressLabels,
|
|
16
|
+
AddressSuggestion,
|
|
17
|
+
AddressValue,
|
|
18
|
+
GeocodeProvider,
|
|
19
|
+
GeocodeQuery,
|
|
20
|
+
LatLon,
|
|
21
|
+
NominatimOptions,
|
|
22
|
+
TileSource,
|
|
23
|
+
} from "./components/address"
|
|
24
|
+
export { default as LpAlert } from "./components/LpAlert.vue"
|
|
25
|
+
export { default as LpAppShell } from "./components/LpAppShell.vue"
|
|
26
|
+
export { default as LpAutocomplete } from "./components/LpAutocomplete.vue"
|
|
27
|
+
export type { AutocompleteOption } from "./components/LpAutocomplete.vue"
|
|
28
|
+
export { default as LpAvatar } from "./components/LpAvatar.vue"
|
|
29
|
+
export { default as LpBadge } from "./components/LpBadge.vue"
|
|
30
|
+
export { default as LpBreadcrumbs } from "./components/LpBreadcrumbs.vue"
|
|
31
|
+
export type { Crumb } from "./components/LpBreadcrumbs.vue"
|
|
32
|
+
export { default as LpButton } from "./components/LpButton.vue"
|
|
33
|
+
export { default as LpCalendar } from "./components/LpCalendar.vue"
|
|
34
|
+
export { default as LpCard } from "./components/LpCard.vue"
|
|
35
|
+
export { default as LpCheckbox } from "./components/LpCheckbox.vue"
|
|
36
|
+
export { default as LpCodeBlock } from "./components/LpCodeBlock.vue"
|
|
37
|
+
export type { CodeLang } from "./components/codeHighlight"
|
|
38
|
+
export { default as LpCommandPalette } from "./components/LpCommandPalette.vue"
|
|
39
|
+
export type { Command } from "./components/LpCommandPalette.vue"
|
|
40
|
+
export { default as LpConfirmDialog } from "./components/LpConfirmDialog.vue"
|
|
41
|
+
export { default as LpContextMenu } from "./components/LpContextMenu.vue"
|
|
42
|
+
export type { ContextMenuItemDef } from "./components/LpContextMenu.vue"
|
|
43
|
+
export { default as LpDatePicker } from "./components/LpDatePicker.vue"
|
|
44
|
+
export { default as LpDisclosure } from "./components/LpDisclosure.vue"
|
|
45
|
+
export { default as LpDivider } from "./components/LpDivider.vue"
|
|
46
|
+
export { default as LpDrawer } from "./components/LpDrawer.vue"
|
|
47
|
+
export { default as LpDropdownMenu } from "./components/LpDropdownMenu.vue"
|
|
48
|
+
export type { MenuItem } from "./components/LpDropdownMenu.vue"
|
|
49
|
+
export { default as LpEmptyState } from "./components/LpEmptyState.vue"
|
|
50
|
+
export { default as LpFileTree } from "./components/LpFileTree.vue"
|
|
51
|
+
export type { FileTreeSummary } from "./components/LpFileTree.vue"
|
|
52
|
+
export type { CheckState, FileNode, NodeStats } from "./components/fileTree"
|
|
53
|
+
export {
|
|
54
|
+
ancestorIds,
|
|
55
|
+
checkedCount,
|
|
56
|
+
checkStateOf,
|
|
57
|
+
computeStats,
|
|
58
|
+
fileIcon,
|
|
59
|
+
formatModified,
|
|
60
|
+
formatSize,
|
|
61
|
+
sortNodes,
|
|
62
|
+
subtreeIds,
|
|
63
|
+
subtreeSize,
|
|
64
|
+
} from "./components/fileTree"
|
|
65
|
+
export { default as LpFormField } from "./components/LpFormField.vue"
|
|
66
|
+
export { default as LpIcon } from "./components/LpIcon.vue"
|
|
67
|
+
export { default as LpInfraNode } from "./components/LpInfraNode.vue"
|
|
68
|
+
export type { InfraNodeData } from "./components/LpInfraNode.vue"
|
|
69
|
+
export { default as LpInput } from "./components/LpInput.vue"
|
|
70
|
+
export { default as LpLightbox } from "./components/LpLightbox.vue"
|
|
71
|
+
export type { LightboxItem } from "./components/lightbox"
|
|
72
|
+
export { fileNameOf } from "./components/lightbox"
|
|
73
|
+
export { default as LpLink } from "./components/LpLink.vue"
|
|
74
|
+
export { default as LpLogViewer } from "./components/LpLogViewer.vue"
|
|
75
|
+
export type { LogLevel, LogLine } from "./components/LpLogViewer.vue"
|
|
76
|
+
export { default as LpModal } from "./components/LpModal.vue"
|
|
77
|
+
export { default as LpNotificationBell } from "./components/LpNotificationBell.vue"
|
|
78
|
+
export type {
|
|
79
|
+
NotificationItem,
|
|
80
|
+
NotificationLabels,
|
|
81
|
+
} from "./components/LpNotificationBell.vue"
|
|
82
|
+
export { default as LpNumberField } from "./components/LpNumberField.vue"
|
|
83
|
+
export { default as LpOtpInput } from "./components/LpOtpInput.vue"
|
|
84
|
+
export { default as LpPagination } from "./components/LpPagination.vue"
|
|
85
|
+
export { default as LpPasswordInput } from "./components/LpPasswordInput.vue"
|
|
86
|
+
export { default as LpPhoneInput } from "./components/LpPhoneInput.vue"
|
|
87
|
+
export type { PhoneDetail } from "./components/LpPhoneInput.vue"
|
|
88
|
+
export { flagEmoji, loadCountries, matchCountryByValue } from "./components/countries"
|
|
89
|
+
export type { Country } from "./components/countries"
|
|
90
|
+
export { default as LpPopover } from "./components/LpPopover.vue"
|
|
91
|
+
export { default as LpProgress } from "./components/LpProgress.vue"
|
|
92
|
+
export { default as LpRadio } from "./components/LpRadio.vue"
|
|
93
|
+
export { default as LpRadioGroup } from "./components/LpRadioGroup.vue"
|
|
94
|
+
export type { RadioOption } from "./components/LpRadioGroup.vue"
|
|
95
|
+
export { default as LpScrollArea } from "./components/LpScrollArea.vue"
|
|
96
|
+
export { default as LpSegmented } from "./components/LpSegmented.vue"
|
|
97
|
+
export type { SegmentedOption } from "./components/LpSegmented.vue"
|
|
98
|
+
export { default as LpSelect } from "./components/LpSelect.vue"
|
|
99
|
+
export type { SelectOption, SelectValue } from "./components/LpSelect.vue"
|
|
100
|
+
export { default as LpServiceNode } from "./components/LpServiceNode.vue"
|
|
101
|
+
export type { ServiceNodeData } from "./components/LpServiceNode.vue"
|
|
102
|
+
export { default as LpSidebar } from "./components/LpSidebar.vue"
|
|
103
|
+
export type { SidebarItem, SidebarSection } from "./components/LpSidebar.vue"
|
|
104
|
+
export { default as LpSkeleton } from "./components/LpSkeleton.vue"
|
|
105
|
+
export { default as LpSlider } from "./components/LpSlider.vue"
|
|
106
|
+
export { default as LpStat } from "./components/LpStat.vue"
|
|
107
|
+
export { default as LpStepper } from "./components/LpStepper.vue"
|
|
108
|
+
export type { Step } from "./components/LpStepper.vue"
|
|
109
|
+
export { default as LpSwitch } from "./components/LpSwitch.vue"
|
|
110
|
+
export { default as LpTable } from "./components/LpTable.vue"
|
|
111
|
+
export type { SortState, TableColumn } from "./components/LpTable.vue"
|
|
112
|
+
export { default as LpTableOfContents } from "./components/LpTableOfContents.vue"
|
|
113
|
+
export type { TocLink } from "./components/LpTableOfContents.vue"
|
|
114
|
+
export { default as LpTabs } from "./components/LpTabs.vue"
|
|
115
|
+
export type { TabItem } from "./components/LpTabs.vue"
|
|
116
|
+
export { default as LpTextarea } from "./components/LpTextarea.vue"
|
|
117
|
+
export { default as LpThemeSwitcher } from "./components/LpThemeSwitcher.vue"
|
|
118
|
+
export { default as LpTilt } from "./components/LpTilt.vue"
|
|
119
|
+
export { default as LpToaster } from "./components/LpToaster.vue"
|
|
120
|
+
export { default as LpTooltip } from "./components/LpTooltip.vue"
|
|
121
|
+
export { default as LpTopologyCanvas } from "./components/LpTopologyCanvas.vue"
|
|
122
|
+
export type {
|
|
123
|
+
CanvasViewport,
|
|
124
|
+
EdgeCategory,
|
|
125
|
+
EdgeObserved,
|
|
126
|
+
TopologyEdge,
|
|
127
|
+
TopologyLane,
|
|
128
|
+
TopologyNode,
|
|
129
|
+
} from "./components/LpTopologyCanvas.vue"
|
|
130
|
+
export { default as LpUptimeBar } from "./components/LpUptimeBar.vue"
|
|
131
|
+
export type { UptimeSegment, UptimeStatus } from "./components/LpUptimeBar.vue"
|
|
132
|
+
|
|
133
|
+
export {
|
|
134
|
+
addLeaf,
|
|
135
|
+
addTab,
|
|
136
|
+
countBlocks,
|
|
137
|
+
countLeaves,
|
|
138
|
+
deserializeLayout,
|
|
139
|
+
makeLayout,
|
|
140
|
+
moveLeaf,
|
|
141
|
+
removeBlock,
|
|
142
|
+
removeLeaf,
|
|
143
|
+
reorderTab,
|
|
144
|
+
resizeAt,
|
|
145
|
+
setActiveTab,
|
|
146
|
+
serializeLayout,
|
|
147
|
+
} from "./layout/tree"
|
|
148
|
+
export type { Dir, LayoutNode, Leaf, Side, Split } from "./layout/tree"
|
|
149
|
+
export { blockTitle, defineBlocks } from "./layout/registry"
|
|
150
|
+
export type { BlockDef, BlockRegistry } from "./layout/registry"
|
|
151
|
+
export { useLayout } from "./layout/useLayout"
|
|
152
|
+
export type { UseLayout, UseLayoutOptions } from "./layout/useLayout"
|
|
153
|
+
|
|
154
|
+
// theme engine — themes are JSON (TokenSet), applied at runtime
|
|
155
|
+
export {
|
|
156
|
+
applyTheme,
|
|
157
|
+
applyThemeWithTransition,
|
|
158
|
+
bootstrapTheme,
|
|
159
|
+
parseTheme,
|
|
160
|
+
serializeTheme,
|
|
161
|
+
themeToCssRule,
|
|
162
|
+
themeToCssVars,
|
|
163
|
+
useTheme,
|
|
164
|
+
} from "./theme/useTheme"
|
|
165
|
+
export type { RevealOrigin } from "./theme/useTheme"
|
|
166
|
+
export { DEFAULT_SURFACE } from "./theme/tokens"
|
|
167
|
+
export { defineTheme } from "./theme/define"
|
|
168
|
+
export type { ThemeOverrides } from "./theme/define"
|
|
169
|
+
export type {
|
|
170
|
+
ColorTokens,
|
|
171
|
+
DensityTokens,
|
|
172
|
+
FontTokens,
|
|
173
|
+
ShapeTokens,
|
|
174
|
+
SurfaceTokens,
|
|
175
|
+
TokenSet,
|
|
176
|
+
} from "./theme/tokens"
|
|
177
|
+
export { amber, dark, leavepulse, light, lime, nord, presets, rose, violet } from "./theme/presets"
|
|
178
|
+
export type { PresetName } from "./theme/presets"
|
|
179
|
+
export { parseConfig, serializeConfig, UI_CONFIG_VERSION } from "./theme/config"
|
|
180
|
+
export type { UiConfig } from "./theme/config"
|
|
181
|
+
|
|
182
|
+
export { useInputFilter } from "./composables/useInputFilter"
|
|
183
|
+
export type { UseInputFilterOptions } from "./composables/useInputFilter"
|
|
184
|
+
export { useTilt } from "./composables/useTilt"
|
|
185
|
+
export type { UseTilt, UseTiltOptions } from "./composables/useTilt"
|
|
186
|
+
export { useZoomPan } from "./composables/useZoomPan"
|
|
187
|
+
export type { UseZoomPan, UseZoomPanOptions } from "./composables/useZoomPan"
|
|
188
|
+
export { useToast } from "./composables/useToast"
|
|
189
|
+
export type {
|
|
190
|
+
ToastAction,
|
|
191
|
+
ToastItem,
|
|
192
|
+
ToastOptions,
|
|
193
|
+
ToastVariant,
|
|
194
|
+
} from "./composables/useToast"
|
package/src/theme/presets.ts
CHANGED
|
@@ -13,8 +13,14 @@ const interFont = {
|
|
|
13
13
|
mono: '"JetBrains Mono", "SF Mono", ui-monospace, monospace',
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
/*
|
|
17
|
+
* NOTE on naming: the exported CONST names are frozen for compatibility (apps
|
|
18
|
+
* import `dark` / `leavepulse` directly), but the display `name` changed —
|
|
19
|
+
* `leavepulse` is now the one called "Dark" (it is the product's dark theme),
|
|
20
|
+
* and this near-black neutral became "Onyx" to free that label up.
|
|
21
|
+
*/
|
|
16
22
|
export const dark: TokenSet = {
|
|
17
|
-
name: "
|
|
23
|
+
name: "Onyx",
|
|
18
24
|
mode: "dark",
|
|
19
25
|
colors: {
|
|
20
26
|
surface: "#080b0d",
|
|
@@ -127,7 +133,7 @@ const glassSurface: SurfaceTokens = {
|
|
|
127
133
|
* look when it switches its CSS-var dictionary over to the kit.
|
|
128
134
|
*/
|
|
129
135
|
export const leavepulse: TokenSet = {
|
|
130
|
-
name: "
|
|
136
|
+
name: "Dark",
|
|
131
137
|
mode: "dark",
|
|
132
138
|
colors: {
|
|
133
139
|
surface: "#020618",
|