@leavepulse/ui 0.22.5 → 0.22.6

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.
@@ -2,7 +2,7 @@ import { defineComponent, computed, watch, openBlock, createElementBlock, create
2
2
  import { _ as _sfc_main$2 } from "./LpButton-5VXXCjwF.js";
3
3
  import { _ as _sfc_main$3 } from "./LpIcon-CCnX5_2j.js";
4
4
  import { _ as _sfc_main$4 } from "./LpScrollArea-D8xyKXcF.js";
5
- import { _ as _sfc_main$1 } from "./LpSidebar-JvMaaYsy.js";
5
+ import { _ as _sfc_main$1 } from "./LpSidebar-D3GGLSE7.js";
6
6
  const _hoisted_1 = { class: "flex h-dvh overflow-hidden bg-surface text-ink" };
7
7
  const _hoisted_2 = { class: "flex min-w-0 flex-1 flex-col" };
8
8
  const _hoisted_3 = { class: "flex h-16 shrink-0 items-center gap-3 border-b border-line bg-surface px-4 md:px-6" };
@@ -19,6 +19,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  brand: "bg-brand-soft text-brand",
20
20
  action: "bg-action/15 text-action",
21
21
  success: "bg-action/15 text-action",
22
+ // Partial trouble, which every status surface eventually needs: without
23
+ // it a half-failed thing has to render as either fine or broken.
24
+ warning: "bg-accent/15 text-accent",
22
25
  danger: "bg-danger-soft text-danger",
23
26
  outline: "border border-line text-ink"
24
27
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, useModel, openBlock, createBlock, withCtx, createElementVNode, toDisplayString, createElementBlock, createCommentVNode, Fragment, renderList, resolveDynamicComponent, normalizeClass, createVNode, createTextVNode, mergeModels } from "vue";
2
- import { _ as _sfc_main$7 } from "./LpBadge-CXzBPnwO.js";
2
+ import { _ as _sfc_main$7 } from "./LpBadge-BPodVcJa.js";
3
3
  import { _ as _sfc_main$6 } from "./LpButton-5VXXCjwF.js";
4
4
  import { _ as _sfc_main$4 } from "./LpContextMenu-D0mzXqA7.js";
5
5
  import { _ as _sfc_main$2 } from "./LpEmptyState-CrfyRJUG.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, useId, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, normalizeClass, renderSlot, createCommentVNode, createVNode, createSlots, withCtx, normalizeProps, guardReactiveProps, createBlock } from "vue";
2
2
  import { _ as _sfc_main$2 } from "./LpDrawer-DAJN5rGK.js";
3
- import { _ as _sfc_main$1 } from "./LpSidebarNav-BIYzk7e_.js";
3
+ import { _ as _sfc_main$1 } from "./LpSidebarNav-X14xMdPa.js";
4
4
  const _hoisted_1 = {
5
5
  key: 1,
6
6
  class: "mt-2 flex shrink-0 flex-col gap-2"
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, createBlock, withCtx, toDisplayString, resolveDynamicComponent, normalizeClass, unref, renderSlot, createTextVNode } from "vue";
2
2
  import { Motion } from "motion-v";
3
3
  import { usePillTransition } from "../composables/usePillTransition.js";
4
- import { _ as _sfc_main$4 } from "./LpBadge-CXzBPnwO.js";
4
+ import { _ as _sfc_main$4 } from "./LpBadge-BPodVcJa.js";
5
5
  import { _ as _sfc_main$2 } from "./LpContextMenu-D0mzXqA7.js";
6
6
  import { _ as _sfc_main$3 } from "./LpIcon-CCnX5_2j.js";
7
7
  import { _ as _sfc_main$1 } from "./LpScrollArea-D8xyKXcF.js";
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpAppShell-DGZv907S.js";
1
+ import { _ as _sfc_main } from "../chunks/LpAppShell-D8CAP9oF.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -5,6 +5,7 @@ declare const badge: import('tailwind-variants').TVReturnType<{
5
5
  brand: string;
6
6
  action: string;
7
7
  success: string;
8
+ warning: string;
8
9
  danger: string;
9
10
  outline: string;
10
11
  };
@@ -14,6 +15,7 @@ declare const badge: import('tailwind-variants').TVReturnType<{
14
15
  brand: string;
15
16
  action: string;
16
17
  success: string;
18
+ warning: string;
17
19
  danger: string;
18
20
  outline: string;
19
21
  };
@@ -23,6 +25,7 @@ declare const badge: import('tailwind-variants').TVReturnType<{
23
25
  brand: string;
24
26
  action: string;
25
27
  success: string;
28
+ warning: string;
26
29
  danger: string;
27
30
  outline: string;
28
31
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpBadge-CXzBPnwO.js";
1
+ import { _ as _sfc_main } from "../chunks/LpBadge-BPodVcJa.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpNotificationBell-HSGo1pcf.js";
1
+ import { _ as _sfc_main } from "../chunks/LpNotificationBell-DWDEkmdA.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSidebar-JvMaaYsy.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSidebar-D3GGLSE7.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpSidebarNav-BIYzk7e_.js";
1
+ import { _ as _sfc_main } from "../chunks/LpSidebarNav-X14xMdPa.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
package/dist/index.js CHANGED
@@ -3,10 +3,10 @@ import { _ as _2 } from "./chunks/LpAddressInput-BWuIOt_4.js";
3
3
  import { _ as _3 } from "./chunks/LpMapPicker-DFKrd1Ne.js";
4
4
  import { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress, project, tileUrl, unproject } from "./components/address.js";
5
5
  import { _ as _4 } from "./chunks/LpAlert-BAYHDSS1.js";
6
- import { _ as _5 } from "./chunks/LpAppShell-DGZv907S.js";
6
+ import { _ as _5 } from "./chunks/LpAppShell-D8CAP9oF.js";
7
7
  import { _ as _6 } from "./chunks/LpAutocomplete-DIgXmtCA.js";
8
8
  import { _ as _7 } from "./chunks/LpAvatar-B1Ez0ZAx.js";
9
- import { _ as _8 } from "./chunks/LpBadge-CXzBPnwO.js";
9
+ import { _ as _8 } from "./chunks/LpBadge-BPodVcJa.js";
10
10
  import { _ as _9 } from "./chunks/LpBreadcrumbs-B7Aqatzw.js";
11
11
  import { _ as _10 } from "./chunks/LpButton-5VXXCjwF.js";
12
12
  import { _ as _11 } from "./chunks/LpCalendar-B7ZL0ty3.js";
@@ -33,7 +33,7 @@ import { fileNameOf } from "./components/lightbox.js";
33
33
  import { _ as _29 } from "./chunks/LpLink-DHwOEp4e.js";
34
34
  import { _ as _30 } from "./chunks/LpLogViewer-B1aLUVdz.js";
35
35
  import { _ as _31 } from "./chunks/LpModal-CF7G_0D_.js";
36
- import { _ as _32 } from "./chunks/LpNotificationBell-HSGo1pcf.js";
36
+ import { _ as _32 } from "./chunks/LpNotificationBell-DWDEkmdA.js";
37
37
  import { _ as _33 } from "./chunks/LpNumberField-C5ar-OwE.js";
38
38
  import { _ as _34 } from "./chunks/LpOtpInput-DqaT0Z75.js";
39
39
  import { _ as _35 } from "./chunks/LpPagination-CeGuNe_q.js";
@@ -49,7 +49,7 @@ import { _ as _43 } from "./chunks/LpSegmented-BmpanyAo.js";
49
49
  import { _ as _44 } from "./chunks/LpSelect-D5mU4cZO.js";
50
50
  import { _ as _45 } from "./chunks/LpServiceNode-Dc-Ut5RS.js";
51
51
  import { default as default3 } from "./components/LpShortcutsDialog.vue.js";
52
- import { _ as _46 } from "./chunks/LpSidebar-JvMaaYsy.js";
52
+ import { _ as _46 } from "./chunks/LpSidebar-D3GGLSE7.js";
53
53
  import { _ as _47 } from "./chunks/LpSkeleton-eSFIo4kD.js";
54
54
  import { _ as _48 } from "./chunks/LpSlider-B1SF3pRV.js";
55
55
  import { _ as _49 } from "./chunks/LpStat-CdbEFOvn.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavepulse/ui",
3
- "version": "0.22.5",
3
+ "version": "0.22.6",
4
4
  "type": "module",
5
5
  "description": "LeavePulse token-driven Vue component kit.",
6
6
  "repository": {
@@ -10,6 +10,9 @@ const badge = tv({
10
10
  brand: "bg-brand-soft text-brand",
11
11
  action: "bg-action/15 text-action",
12
12
  success: "bg-action/15 text-action",
13
+ // Partial trouble, which every status surface eventually needs: without
14
+ // it a half-failed thing has to render as either fine or broken.
15
+ warning: "bg-accent/15 text-accent",
13
16
  danger: "bg-danger-soft text-danger",
14
17
  outline: "border border-line text-ink",
15
18
  },