@leavepulse/ui 0.29.5 → 0.30.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/dist/chunks/LpActionBar-CxmBZpGu.js +173 -0
- package/dist/chunks/{LpAppShell-BJk3b-u4.js → LpAppShell-DnocEJAu.js} +1 -1
- package/dist/chunks/{LpCodeBlock-rS_6mO3D.js → LpCodeBlock-BWX1KZwk.js} +7 -13
- package/dist/chunks/LpColorPicker-CFC6iaNK.js +491 -0
- package/dist/chunks/{LpDisclosure-BnwP4Q-b.js → LpDisclosure-C1_YkMrd.js} +8 -2
- package/dist/chunks/{LpLogViewer-CVaGfTF_.js → LpLogViewer-TSRyt3t9.js} +3 -6
- package/dist/chunks/{LpSidebar-C_Mr-JPI.js → LpSidebar-CWSbczWi.js} +11 -2
- package/dist/component-names.d.ts +1 -1
- package/dist/components/LpActionBar.vue.d.ts +84 -0
- package/dist/components/LpActionBar.vue.js +4 -0
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpCodeBlock.vue.js +1 -1
- package/dist/components/LpColorPicker.vue.d.ts +124 -0
- package/dist/components/LpColorPicker.vue.js +4 -0
- package/dist/components/LpDisclosure.vue.js +1 -1
- package/dist/components/LpLogViewer.vue.js +1 -1
- package/dist/components/LpNotificationBell.vue.d.ts +2 -2
- package/dist/components/LpSidebar.vue.d.ts +21 -0
- package/dist/components/LpSidebar.vue.js +1 -1
- package/dist/components/actionBar.d.ts +19 -0
- package/dist/components/actionBar.js +31 -0
- package/dist/components/color.d.ts +65 -0
- package/dist/components/color.js +158 -0
- package/dist/composables/useClipboard.d.ts +46 -0
- package/dist/composables/useClipboard.js +28 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +145 -126
- package/package.json +1 -1
- package/src/component-names.ts +2 -0
- package/src/components/LpActionBar.vue +268 -0
- package/src/components/LpCodeBlock.vue +5 -10
- package/src/components/LpColorPicker.vue +784 -0
- package/src/components/LpDisclosure.vue +17 -2
- package/src/components/LpLogViewer.vue +5 -8
- package/src/components/LpSidebar.vue +42 -6
- package/src/components/actionBar.ts +73 -0
- package/src/components/color.ts +257 -0
- package/src/composables/useClipboard.ts +107 -0
- package/src/index.ts +21 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export { default as LpAddressInput } from './components/LpAddressInput.vue';
|
|
|
3
3
|
export { default as LpMapPicker } from './components/LpMapPicker.vue';
|
|
4
4
|
export { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress, project, tileUrl, unproject, } from './components/address';
|
|
5
5
|
export type { AddressField, AddressLabels, AddressSuggestion, AddressValue, GeocodeProvider, GeocodeQuery, LatLon, NominatimOptions, TileSource, } from './components/address';
|
|
6
|
+
export { default as LpActionBar } from './components/LpActionBar.vue';
|
|
7
|
+
export type { ActionBarAction } from './components/LpActionBar.vue';
|
|
6
8
|
export { default as LpAlert } from './components/LpAlert.vue';
|
|
7
9
|
export { default as LpAppShell } from './components/LpAppShell.vue';
|
|
8
10
|
export { default as LpAutocomplete } from './components/LpAutocomplete.vue';
|
|
@@ -21,6 +23,10 @@ export type { ChartAxis, ChartPoint, ChartSeries } from './components/chart';
|
|
|
21
23
|
export { default as LpCheckbox } from './components/LpCheckbox.vue';
|
|
22
24
|
export { default as LpCodeBlock } from './components/LpCodeBlock.vue';
|
|
23
25
|
export type { CodeLang } from './components/codeHighlight';
|
|
26
|
+
export { default as LpColorPicker } from './components/LpColorPicker.vue';
|
|
27
|
+
export type { ColorPickerLabels } from './components/LpColorPicker.vue';
|
|
28
|
+
export { clampHsv, DEFAULT_SWATCHES, formatColor, hsvToHsl, hsvToRgb, isLight, normalizeHue, opaqueCss, parseColor, parseHex, rgbToHex, rgbToHsv, } from './components/color';
|
|
29
|
+
export type { ColorFormat, Hsv, Rgb } from './components/color';
|
|
24
30
|
export { default as LpCommandPalette } from './components/LpCommandPalette.vue';
|
|
25
31
|
export type { Command } from './components/LpCommandPalette.vue';
|
|
26
32
|
export { default as LpConfirmDialog } from './components/LpConfirmDialog.vue';
|
|
@@ -124,6 +130,8 @@ export { amber, dark, leavepulse, light, lime, nord, presets, rose, violet } fro
|
|
|
124
130
|
export type { PresetName } from './theme/presets';
|
|
125
131
|
export { parseConfig, serializeConfig, UI_CONFIG_VERSION } from './theme/config';
|
|
126
132
|
export type { UiConfig } from './theme/config';
|
|
133
|
+
export { useClipboard } from './composables/useClipboard';
|
|
134
|
+
export type { CopyOptions, UseClipboard } from './composables/useClipboard';
|
|
127
135
|
export { useHotkeys, isAppleKeyboard, appleModifierLabel } from './composables/useHotkeys';
|
|
128
136
|
export type { HotkeyBinding } from './composables/useHotkeys';
|
|
129
137
|
export { useInputFilter } from './composables/useInputFilter';
|
package/dist/index.js
CHANGED
|
@@ -2,84 +2,88 @@ import { _ } from "./chunks/LayoutCanvas-Dd20boUG.js";
|
|
|
2
2
|
import { _ as _2 } from "./chunks/LpAddressInput-Bk6D8Bcy.js";
|
|
3
3
|
import { _ as _3 } from "./chunks/LpMapPicker-CXvoTrAe.js";
|
|
4
4
|
import { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress, project, tileUrl, unproject } from "./components/address.js";
|
|
5
|
-
import { _ as _4 } from "./chunks/
|
|
6
|
-
import { _ as _5 } from "./chunks/
|
|
7
|
-
import { _ as _6 } from "./chunks/
|
|
8
|
-
import { _ as _7 } from "./chunks/
|
|
9
|
-
import { _ as _8 } from "./chunks/
|
|
10
|
-
import { _ as _9 } from "./chunks/
|
|
11
|
-
import { _ as _10 } from "./chunks/
|
|
12
|
-
import { _ as _11 } from "./chunks/
|
|
13
|
-
import { _ as _12 } from "./chunks/
|
|
5
|
+
import { _ as _4 } from "./chunks/LpActionBar-CxmBZpGu.js";
|
|
6
|
+
import { _ as _5 } from "./chunks/LpAlert-BAYHDSS1.js";
|
|
7
|
+
import { _ as _6 } from "./chunks/LpAppShell-DnocEJAu.js";
|
|
8
|
+
import { _ as _7 } from "./chunks/LpAutocomplete-DExlIZe_.js";
|
|
9
|
+
import { _ as _8 } from "./chunks/LpAvatar-D3l4nabg.js";
|
|
10
|
+
import { _ as _9 } from "./chunks/LpBadge-BPodVcJa.js";
|
|
11
|
+
import { _ as _10 } from "./chunks/LpBreadcrumbs-5uvViCXi.js";
|
|
12
|
+
import { _ as _11 } from "./chunks/LpButton-5VXXCjwF.js";
|
|
13
|
+
import { _ as _12 } from "./chunks/LpCalendar-B7ZL0ty3.js";
|
|
14
|
+
import { _ as _13 } from "./chunks/LpCard-D0M2ZCnB.js";
|
|
14
15
|
import { default as default2 } from "./components/LpChart.vue.js";
|
|
15
16
|
import { CHART_PALETTE, axisTicks, formatTick, niceScale, resolveSlices } from "./components/chart.js";
|
|
16
|
-
import { _ as
|
|
17
|
-
import { _ as
|
|
17
|
+
import { _ as _14 } from "./chunks/LpCheckbox-BO0zuuPh.js";
|
|
18
|
+
import { _ as _15 } from "./chunks/LpCodeBlock-BWX1KZwk.js";
|
|
19
|
+
import { _ as _16 } from "./chunks/LpColorPicker-CFC6iaNK.js";
|
|
20
|
+
import { DEFAULT_SWATCHES, clampHsv, formatColor, hsvToHsl, hsvToRgb, isLight, normalizeHue, opaqueCss, parseColor, parseHex, rgbToHex, rgbToHsv } from "./components/color.js";
|
|
18
21
|
import { default as default3 } from "./components/LpCommandPalette.vue.js";
|
|
19
|
-
import { _ as
|
|
20
|
-
import { _ as
|
|
21
|
-
import { _ as
|
|
22
|
-
import { _ as
|
|
23
|
-
import { _ as
|
|
24
|
-
import { _ as
|
|
25
|
-
import { _ as
|
|
22
|
+
import { _ as _17 } from "./chunks/LpConfirmDialog-CjOGcj1e.js";
|
|
23
|
+
import { _ as _18 } from "./chunks/LpContextMenu-B6WBLleS.js";
|
|
24
|
+
import { _ as _19 } from "./chunks/LpDatePicker-dY2q4dr4.js";
|
|
25
|
+
import { _ as _20 } from "./chunks/LpDisclosure-C1_YkMrd.js";
|
|
26
|
+
import { _ as _21 } from "./chunks/LpDivider-CUX46KR0.js";
|
|
27
|
+
import { _ as _22 } from "./chunks/LpDrawer-DAJN5rGK.js";
|
|
28
|
+
import { _ as _23 } from "./chunks/LpDropdownMenu-DJpoqRCb.js";
|
|
26
29
|
import { default as default4 } from "./components/LpDropzone.vue.js";
|
|
27
|
-
import { _ as
|
|
28
|
-
import { _ as
|
|
30
|
+
import { _ as _24 } from "./chunks/LpEmptyState-BV3q7Qyi.js";
|
|
31
|
+
import { _ as _25 } from "./chunks/LpFileTree-DfFqY__1.js";
|
|
29
32
|
import { ancestorIds, checkStateOf, checkedCount, computeStats, fileIcon, formatModified, formatSize, sortNodes, subtreeIds, subtreeSize } from "./components/fileTree.js";
|
|
30
|
-
import { _ as
|
|
31
|
-
import { _ as
|
|
33
|
+
import { _ as _26 } from "./chunks/LpFormField-fV_2ZdCk.js";
|
|
34
|
+
import { _ as _27 } from "./chunks/LpIcon-CCnX5_2j.js";
|
|
32
35
|
import { default as default5 } from "./components/LpImageEditor.vue.js";
|
|
33
|
-
import { _ as
|
|
34
|
-
import { _ as
|
|
35
|
-
import { _ as
|
|
36
|
+
import { _ as _28 } from "./chunks/LpInfraNode-Ds_8SZgN.js";
|
|
37
|
+
import { _ as _29 } from "./chunks/LpInput-CYcTL9gj.js";
|
|
38
|
+
import { _ as _30 } from "./chunks/LpLightbox-Ci35Y_xP.js";
|
|
36
39
|
import { fileNameOf } from "./components/lightbox.js";
|
|
37
|
-
import { _ as
|
|
38
|
-
import { _ as
|
|
39
|
-
import { _ as
|
|
40
|
-
import { _ as
|
|
41
|
-
import { _ as
|
|
42
|
-
import { _ as
|
|
43
|
-
import { _ as
|
|
44
|
-
import { _ as
|
|
45
|
-
import { _ as
|
|
46
|
-
import { _ as
|
|
47
|
-
import { _ as
|
|
40
|
+
import { _ as _31 } from "./chunks/LpLink-BHZ1CLlF.js";
|
|
41
|
+
import { _ as _32 } from "./chunks/LpLogViewer-TSRyt3t9.js";
|
|
42
|
+
import { _ as _33 } from "./chunks/LpModal-D_o-56To.js";
|
|
43
|
+
import { _ as _34 } from "./chunks/LpNotificationBell-CTsIcPqX.js";
|
|
44
|
+
import { _ as _35 } from "./chunks/LpNumberField-NPE8Bumx.js";
|
|
45
|
+
import { _ as _36 } from "./chunks/LpNumberFlow-amWYaeuA.js";
|
|
46
|
+
import { _ as _37 } from "./chunks/LpOtpInput-DqaT0Z75.js";
|
|
47
|
+
import { _ as _38 } from "./chunks/LpPagination-CeGuNe_q.js";
|
|
48
|
+
import { _ as _39 } from "./chunks/LpPasswordInput-DrYE4J5d.js";
|
|
49
|
+
import { _ as _40 } from "./chunks/LpPie-BL1vTDSM.js";
|
|
50
|
+
import { _ as _41 } from "./chunks/LpPhoneInput-NXXjciJJ.js";
|
|
48
51
|
import { flagEmoji, loadCountries, matchCountryByValue } from "./components/countries.js";
|
|
49
|
-
import { _ as
|
|
50
|
-
import { _ as
|
|
51
|
-
import { _ as
|
|
52
|
-
import { _ as
|
|
53
|
-
import { _ as
|
|
54
|
-
import { _ as
|
|
55
|
-
import { _ as
|
|
56
|
-
import { _ as
|
|
57
|
-
import { _ as
|
|
58
|
-
import { _ as
|
|
59
|
-
import { _ as
|
|
52
|
+
import { _ as _42 } from "./chunks/LpPopover-8268UmlC.js";
|
|
53
|
+
import { _ as _43 } from "./chunks/LpProgress-Btq5W4Ut.js";
|
|
54
|
+
import { _ as _44 } from "./chunks/LpRadio-CL-pI0_O.js";
|
|
55
|
+
import { _ as _45 } from "./chunks/LpRadioGroup-B4yDTmi6.js";
|
|
56
|
+
import { _ as _46 } from "./chunks/LpRollingText-CM5gkSeF.js";
|
|
57
|
+
import { _ as _47 } from "./chunks/LpScrollArea-D8xyKXcF.js";
|
|
58
|
+
import { _ as _48 } from "./chunks/LpSegmented-BmpanyAo.js";
|
|
59
|
+
import { _ as _49 } from "./chunks/LpSection-aM6J_u51.js";
|
|
60
|
+
import { _ as _50 } from "./chunks/LpSelect-ANIVtrpM.js";
|
|
61
|
+
import { _ as _51 } from "./chunks/LpServiceNode-D8uJ8sGk.js";
|
|
62
|
+
import { _ as _52 } from "./chunks/LpShift-DXNsauQZ.js";
|
|
60
63
|
import { default as default6 } from "./components/LpShortcutsDialog.vue.js";
|
|
61
|
-
import { _ as
|
|
62
|
-
import { _ as
|
|
63
|
-
import { _ as
|
|
64
|
-
import { _ as
|
|
65
|
-
import { _ as
|
|
66
|
-
import { _ as
|
|
67
|
-
import { _ as
|
|
64
|
+
import { _ as _53 } from "./chunks/LpSidebar-CWSbczWi.js";
|
|
65
|
+
import { _ as _54 } from "./chunks/LpSkeleton-CTI-vBgW.js";
|
|
66
|
+
import { _ as _55 } from "./chunks/LpSlider-B1SF3pRV.js";
|
|
67
|
+
import { _ as _56 } from "./chunks/LpSparkline-C6xQ2dwv.js";
|
|
68
|
+
import { _ as _57 } from "./chunks/LpStat-CDanpzU0.js";
|
|
69
|
+
import { _ as _58 } from "./chunks/LpStepper-Wtl-6nUh.js";
|
|
70
|
+
import { _ as _59 } from "./chunks/LpSwitch-v6fnccSM.js";
|
|
68
71
|
import { default as default7 } from "./components/LpTable.vue.js";
|
|
69
|
-
import { _ as
|
|
70
|
-
import { _ as
|
|
71
|
-
import { _ as
|
|
72
|
+
import { _ as _60 } from "./chunks/LpTableOfContents-CjvxPMpU.js";
|
|
73
|
+
import { _ as _61 } from "./chunks/LpTabs-Cefe_lys.js";
|
|
74
|
+
import { _ as _62 } from "./chunks/LpTextarea-BMIOfw5l.js";
|
|
72
75
|
import { p as presets, a as parseTheme, s as serializeTheme } from "./chunks/LpThemeSwitcher-r1te9nB2.js";
|
|
73
|
-
import { D, _ as
|
|
74
|
-
import { _ as
|
|
75
|
-
import { _ as
|
|
76
|
-
import { _ as
|
|
77
|
-
import { _ as
|
|
78
|
-
import { _ as
|
|
76
|
+
import { D, _ as _63, N, T, b, c, d, e, f, g, i, l, h, j, n, r, t, k, m, u, v } from "./chunks/LpThemeSwitcher-r1te9nB2.js";
|
|
77
|
+
import { _ as _64 } from "./chunks/LpTilt-DuyKbpkA.js";
|
|
78
|
+
import { _ as _65 } from "./chunks/LpToaster-gDB1EaU3.js";
|
|
79
|
+
import { _ as _66 } from "./chunks/LpTooltip-hCLPAqMG.js";
|
|
80
|
+
import { _ as _67 } from "./chunks/LpTopologyCanvas-Cm1L39uL.js";
|
|
81
|
+
import { _ as _68 } from "./chunks/LpUptimeBar-DcQ8HikG.js";
|
|
79
82
|
import { deserializeLayout, serializeLayout } from "./layout/tree.js";
|
|
80
83
|
import { addLeaf, addTab, countBlocks, countLeaves, makeLayout, moveLeaf, removeBlock, removeLeaf, reorderTab, resizeAt, setActiveTab } from "./layout/tree.js";
|
|
81
84
|
import { blockTitle, defineBlocks } from "./layout/registry.js";
|
|
82
85
|
import { useLayout } from "./layout/useLayout.js";
|
|
86
|
+
import { useClipboard } from "./composables/useClipboard.js";
|
|
83
87
|
import { appleModifierLabel, isAppleKeyboard, useHotkeys } from "./composables/useHotkeys.js";
|
|
84
88
|
import { useInputFilter } from "./composables/useInputFilter.js";
|
|
85
89
|
import { easeOut, easeTravel, easingToken, prefersReducedMotion } from "./composables/easing.js";
|
|
@@ -124,78 +128,81 @@ function parseConfig(json) {
|
|
|
124
128
|
export {
|
|
125
129
|
CHART_PALETTE,
|
|
126
130
|
D as DEFAULT_SURFACE,
|
|
131
|
+
DEFAULT_SWATCHES,
|
|
127
132
|
_ as LayoutCanvas,
|
|
133
|
+
_4 as LpActionBar,
|
|
128
134
|
_2 as LpAddressInput,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
_5 as LpAlert,
|
|
136
|
+
_6 as LpAppShell,
|
|
137
|
+
_7 as LpAutocomplete,
|
|
138
|
+
_8 as LpAvatar,
|
|
139
|
+
_9 as LpBadge,
|
|
140
|
+
_10 as LpBreadcrumbs,
|
|
141
|
+
_11 as LpButton,
|
|
142
|
+
_12 as LpCalendar,
|
|
143
|
+
_13 as LpCard,
|
|
138
144
|
default2 as LpChart,
|
|
139
|
-
|
|
140
|
-
|
|
145
|
+
_14 as LpCheckbox,
|
|
146
|
+
_15 as LpCodeBlock,
|
|
147
|
+
_16 as LpColorPicker,
|
|
141
148
|
default3 as LpCommandPalette,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
_17 as LpConfirmDialog,
|
|
150
|
+
_18 as LpContextMenu,
|
|
151
|
+
_19 as LpDatePicker,
|
|
152
|
+
_20 as LpDisclosure,
|
|
153
|
+
_21 as LpDivider,
|
|
154
|
+
_22 as LpDrawer,
|
|
155
|
+
_23 as LpDropdownMenu,
|
|
149
156
|
default4 as LpDropzone,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
157
|
+
_24 as LpEmptyState,
|
|
158
|
+
_25 as LpFileTree,
|
|
159
|
+
_26 as LpFormField,
|
|
160
|
+
_27 as LpIcon,
|
|
154
161
|
default5 as LpImageEditor,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
162
|
+
_28 as LpInfraNode,
|
|
163
|
+
_29 as LpInput,
|
|
164
|
+
_30 as LpLightbox,
|
|
165
|
+
_31 as LpLink,
|
|
166
|
+
_32 as LpLogViewer,
|
|
160
167
|
_3 as LpMapPicker,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
168
|
+
_33 as LpModal,
|
|
169
|
+
_34 as LpNotificationBell,
|
|
170
|
+
_35 as LpNumberField,
|
|
171
|
+
_36 as LpNumberFlow,
|
|
172
|
+
_37 as LpOtpInput,
|
|
173
|
+
_38 as LpPagination,
|
|
174
|
+
_39 as LpPasswordInput,
|
|
175
|
+
_41 as LpPhoneInput,
|
|
176
|
+
_40 as LpPie,
|
|
177
|
+
_42 as LpPopover,
|
|
178
|
+
_43 as LpProgress,
|
|
179
|
+
_44 as LpRadio,
|
|
180
|
+
_45 as LpRadioGroup,
|
|
181
|
+
_46 as LpRollingText,
|
|
182
|
+
_47 as LpScrollArea,
|
|
183
|
+
_49 as LpSection,
|
|
184
|
+
_48 as LpSegmented,
|
|
185
|
+
_50 as LpSelect,
|
|
186
|
+
_51 as LpServiceNode,
|
|
187
|
+
_52 as LpShift,
|
|
181
188
|
default6 as LpShortcutsDialog,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
+
_53 as LpSidebar,
|
|
190
|
+
_54 as LpSkeleton,
|
|
191
|
+
_55 as LpSlider,
|
|
192
|
+
_56 as LpSparkline,
|
|
193
|
+
_57 as LpStat,
|
|
194
|
+
_58 as LpStepper,
|
|
195
|
+
_59 as LpSwitch,
|
|
189
196
|
default7 as LpTable,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
_60 as LpTableOfContents,
|
|
198
|
+
_61 as LpTabs,
|
|
199
|
+
_62 as LpTextarea,
|
|
200
|
+
_63 as LpThemeSwitcher,
|
|
201
|
+
_64 as LpTilt,
|
|
202
|
+
_65 as LpToaster,
|
|
203
|
+
_66 as LpTooltip,
|
|
204
|
+
_67 as LpTopologyCanvas,
|
|
205
|
+
_68 as LpUptimeBar,
|
|
199
206
|
N as NO_BACKDROP_ATTR,
|
|
200
207
|
OSM_TILES,
|
|
201
208
|
T as THEME_COOKIE,
|
|
@@ -212,6 +219,7 @@ export {
|
|
|
212
219
|
e as bootstrapTheme,
|
|
213
220
|
checkStateOf,
|
|
214
221
|
checkedCount,
|
|
222
|
+
clampHsv,
|
|
215
223
|
computeStats,
|
|
216
224
|
countBlocks,
|
|
217
225
|
countLeaves,
|
|
@@ -229,11 +237,15 @@ export {
|
|
|
229
237
|
fileNameOf,
|
|
230
238
|
flagEmoji,
|
|
231
239
|
formatAddress,
|
|
240
|
+
formatColor,
|
|
232
241
|
formatModified,
|
|
233
242
|
formatSize,
|
|
234
243
|
formatTick,
|
|
244
|
+
hsvToHsl,
|
|
245
|
+
hsvToRgb,
|
|
235
246
|
isAppleKeyboard,
|
|
236
247
|
i as isBrokenBackdropEngine,
|
|
248
|
+
isLight,
|
|
237
249
|
l as leavepulse,
|
|
238
250
|
h as light,
|
|
239
251
|
j as lime,
|
|
@@ -243,7 +255,11 @@ export {
|
|
|
243
255
|
moveLeaf,
|
|
244
256
|
niceScale,
|
|
245
257
|
n as nord,
|
|
258
|
+
normalizeHue,
|
|
259
|
+
opaqueCss,
|
|
260
|
+
parseColor,
|
|
246
261
|
parseConfig,
|
|
262
|
+
parseHex,
|
|
247
263
|
parseTheme,
|
|
248
264
|
prefersReducedMotion,
|
|
249
265
|
presets,
|
|
@@ -253,6 +269,8 @@ export {
|
|
|
253
269
|
reorderTab,
|
|
254
270
|
resizeAt,
|
|
255
271
|
resolveSlices,
|
|
272
|
+
rgbToHex,
|
|
273
|
+
rgbToHsv,
|
|
256
274
|
r as rose,
|
|
257
275
|
serializeConfig,
|
|
258
276
|
serializeLayout,
|
|
@@ -266,6 +284,7 @@ export {
|
|
|
266
284
|
m as themeToCssVars,
|
|
267
285
|
tileUrl,
|
|
268
286
|
unproject,
|
|
287
|
+
useClipboard,
|
|
269
288
|
useFormDraft,
|
|
270
289
|
useHotkeys,
|
|
271
290
|
useInputFilter,
|
package/package.json
CHANGED
package/src/component-names.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
export const COMPONENT_NAMES = [
|
|
5
5
|
"LayoutCanvas",
|
|
6
6
|
"LayoutNode",
|
|
7
|
+
"LpActionBar",
|
|
7
8
|
"LpAddressInput",
|
|
8
9
|
"LpAlert",
|
|
9
10
|
"LpAppShell",
|
|
@@ -17,6 +18,7 @@ export const COMPONENT_NAMES = [
|
|
|
17
18
|
"LpChart",
|
|
18
19
|
"LpCheckbox",
|
|
19
20
|
"LpCodeBlock",
|
|
21
|
+
"LpColorPicker",
|
|
20
22
|
"LpCommandPalette",
|
|
21
23
|
"LpConfirmDialog",
|
|
22
24
|
"LpContextMenu",
|