@lateralus-ai/shipping-ui 2.0.0-dev.3 → 2.0.0-dev.5

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/index.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var p8 = Object.defineProperty;
2
2
  var g8 = (e, t, r) => t in e ? p8(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var Ge = (e, t, r) => g8(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { b as rd, d as nd, c as ad, e as cd, a as od, g as Ad, o as id, p as sd, r as ld, t as dd, w as ud } from "./theme-entry-CxDa1D0_.mjs";
4
+ import { b as rd, d as nd, c as ad, e as cd, a as od, g as Ad, o as id, p as sd, r as ld, t as dd, w as ud } from "./theme-entry-BUK3MJUJ.mjs";
5
5
  import * as s from "react";
6
6
  import ln, { forwardRef as X1, useLayoutEffect as C8, useState as m1, isValidElement as x8, useId as c2, useRef as o2, useEffect as ge, createContext as m8, useContext as dn, useCallback as y1 } from "react";
7
7
  import * as Bt from "react-dom";
@@ -9671,7 +9671,7 @@ const E2 = m8({ type: "tabs" }), wA = ({
9671
9671
  ref: r,
9672
9672
  className: V(
9673
9673
  "flex items-center",
9674
- n === "tabs" && "gap-1 border-b border-divider-primary",
9674
+ n === "tabs" && "gap-6 border-b border-divider-primary",
9675
9675
  n === "pills" && "gap-2",
9676
9676
  e
9677
9677
  ),
@@ -9690,14 +9690,14 @@ const _a = X1(({ className: e, count: t, children: r, ...n }, c) => {
9690
9690
  "inline-flex items-center justify-center transition-colors outline-none",
9691
9691
  "disabled:pointer-events-none disabled:opacity-50",
9692
9692
  o === "tabs" && [
9693
- "relative px-3 py-2 text-caption-2 text-display-on-light-secondary",
9693
+ "relative h-12 gap-2 px-0 py-0 text-caption-2 text-display-on-light-secondary",
9694
9694
  "hover:text-display-on-light-primary",
9695
9695
  "data-[state=active]:text-caption-2-em data-[state=active]:text-display-on-light-primary",
9696
9696
  "data-[state=active]:after:absolute data-[state=active]:after:inset-x-0 data-[state=active]:after:-bottom-px",
9697
9697
  "data-[state=active]:after:h-0.5 data-[state=active]:after:rounded-full data-[state=active]:after:bg-grey-900"
9698
9698
  ],
9699
9699
  o === "pills" && [
9700
- "min-h-9 gap-2.5 rounded-full px-3 py-1 text-caption-2-em",
9700
+ "group min-h-9 gap-2.5 rounded-full px-3 py-1 text-caption-2-em",
9701
9701
  "bg-grey-100 text-display-on-light-secondary",
9702
9702
  "hover:bg-grey-200",
9703
9703
  "data-[state=active]:bg-accent-bg-light data-[state=active]:text-display-on-light-primary"
@@ -9707,17 +9707,25 @@ const _a = X1(({ className: e, count: t, children: r, ...n }, c) => {
9707
9707
  ...n,
9708
9708
  children: [
9709
9709
  r,
9710
- typeof t == "number" && /* @__PURE__ */ a.jsx(
9710
+ typeof t == "number" && (o === "pills" ? /* @__PURE__ */ a.jsx(
9711
9711
  "span",
9712
9712
  {
9713
9713
  className: V(
9714
9714
  "inline-flex size-6 shrink-0 items-center justify-center rounded-full text-footnote-em",
9715
- "bg-accent-bg-light text-display-on-light-tertiary"
9715
+ "bg-accent-bg-light text-display-on-light-secondary",
9716
+ "group-data-[state=active]:text-display-on-light-tertiary"
9716
9717
  ),
9717
9718
  "aria-label": `Count: ${t}`,
9718
9719
  children: t > 99 ? "99+" : t
9719
9720
  }
9720
- )
9721
+ ) : /* @__PURE__ */ a.jsx(
9722
+ "span",
9723
+ {
9724
+ className: "px-1 text-caption-2 text-display-on-light-secondary",
9725
+ "aria-label": `Count: ${t}`,
9726
+ children: t > 99 ? "99+" : t
9727
+ }
9728
+ ))
9721
9729
  ]
9722
9730
  }
9723
9731
  );
@@ -12416,7 +12424,16 @@ const El = ({
12416
12424
  ), L0 = ({
12417
12425
  children: e,
12418
12426
  className: t
12419
- }) => /* @__PURE__ */ a.jsx(YA, { className: V("min-w-0 flex-1 p-2", t), children: e }), J0 = ({
12427
+ }) => /* @__PURE__ */ a.jsx(
12428
+ YA,
12429
+ {
12430
+ className: V(
12431
+ "flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden p-2",
12432
+ t
12433
+ ),
12434
+ children: e
12435
+ }
12436
+ ), J0 = ({
12420
12437
  tabs: e = B0,
12421
12438
  value: t,
12422
12439
  onValueChange: r,
@@ -12429,10 +12446,19 @@ const El = ({
12429
12446
  type: "pills",
12430
12447
  value: t,
12431
12448
  onValueChange: r,
12432
- className: V("gap-0", c),
12449
+ className: V("min-h-0 flex-1 gap-0", c),
12433
12450
  children: [
12434
- /* @__PURE__ */ a.jsx(Ea, { className: V("w-full p-2", o), children: e.map((A) => /* @__PURE__ */ a.jsx(_a, { value: A.value, count: A.count, children: A.label }, A.value)) }),
12435
- n
12451
+ /* @__PURE__ */ a.jsx(
12452
+ Ea,
12453
+ {
12454
+ className: V(
12455
+ "w-full shrink-0 bg-background-primary p-2",
12456
+ o
12457
+ ),
12458
+ children: e.map((A) => /* @__PURE__ */ a.jsx(_a, { value: A.value, count: A.count, children: A.label }, A.value))
12459
+ }
12460
+ ),
12461
+ /* @__PURE__ */ a.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto", children: n })
12436
12462
  ]
12437
12463
  }
12438
12464
  ), is = ({
@@ -12451,15 +12477,15 @@ const El = ({
12451
12477
  items: t,
12452
12478
  children: r,
12453
12479
  className: n
12454
- }) => /* @__PURE__ */ a.jsxs("div", { className: V("flex flex-col p-1", n), children: [
12480
+ }) => /* @__PURE__ */ a.jsxs("div", { className: V("flex min-h-0 flex-1 flex-col p-1", n), children: [
12455
12481
  /* @__PURE__ */ a.jsx(
12456
12482
  D0,
12457
12483
  {
12458
12484
  label: e,
12459
- className: "px-3 py-1 text-caption-2 font-normal normal-case tracking-[0.01em] text-display-on-light-secondary"
12485
+ className: "shrink-0 px-3 py-1 text-caption-2 font-normal normal-case tracking-[0.01em] text-display-on-light-secondary"
12460
12486
  }
12461
12487
  ),
12462
- /* @__PURE__ */ a.jsx(o5, { items: t, children: r })
12488
+ /* @__PURE__ */ a.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto", children: /* @__PURE__ */ a.jsx(o5, { items: t, children: r }) })
12463
12489
  ] }), E0 = ({ className: e }) => /* @__PURE__ */ a.jsx(X0, { variant: "search", className: V("rounded-none", e) }), ss = ({
12464
12490
  state: e = "idle",
12465
12491
  query: t = "",
@@ -233,10 +233,10 @@ export declare const theme: {
233
233
  };
234
234
  };
235
235
  accent: {
236
- onLight: string;
237
- onDark: string;
238
- bgLight: string;
239
- bgLighter: string;
236
+ "on-light": string;
237
+ "on-dark": string;
238
+ "bg-light": string;
239
+ "bg-lighter": string;
240
240
  };
241
241
  divider: {
242
242
  primary: string;
@@ -214,10 +214,10 @@ const o = {
214
214
  }
215
215
  },
216
216
  accent: {
217
- onLight: "var(--accent-on-light)",
218
- onDark: "var(--accent-on-dark)",
219
- bgLight: "var(--accent-bg-light)",
220
- bgLighter: "var(--accent-bg-lighter)"
217
+ "on-light": "var(--accent-on-light)",
218
+ "on-dark": "var(--accent-on-dark)",
219
+ "bg-light": "var(--accent-bg-light)",
220
+ "bg-lighter": "var(--accent-bg-lighter)"
221
221
  },
222
222
  divider: {
223
223
  primary: "var(--divider-primary)",
@@ -1 +1 @@
1
- "use strict";const n={50:"#fdfdfc",100:"#f4f2ea",200:"#e1ddce",300:"#bfb9a5",400:"#969080",500:"#6e6960",600:"#524e47",700:"#3a3733",800:"#312e2a",900:"#262420"},o={50:"#f5f8f2",100:"#dde6d2",200:"#c5d4b3",300:"#a8bf8f",400:"#7a9a5e",500:"#5a7a42",600:"#456332",700:"#304624",800:"#223018",900:"#141c0e"},d={50:"#eef1f8",100:"#dae0ef",200:"#b8c4e0",300:"#8fa3cc",400:"#5274ae",500:"#3a5d96",600:"#154199",700:"#103480",800:"#0c2860",900:"#081c42"},c={50:"#faf3f1",100:"#f0d3cc",200:"#e4b0a5",300:"#c97a6b",400:"#b85a48",500:"#a0392a",600:"#802c20",700:"#621f16",800:"#45150f",900:"#2a0c08"},l={50:"#faf1de",100:"#f5e4c0",200:"#efd49a",300:"#e4bc6a",400:"#d9a03e",500:"#c48820",600:"#8f6318",700:"#5a3d0d",800:"#3d2a09",900:"#261a05"},s={50:"#f6f2f8",100:"#e2d9e8",200:"#cbbad6",300:"#b09bc3",400:"#957cb0",500:"#7a5d9d",600:"#5e4680",700:"#3d2e4a",800:"#2a2033",900:"#18121c"},p="#ffffff",a={grey:n,green:o,blue:d,red:c,orange:l,purple:s},t={raise1:"0 1px 2px rgba(38, 36, 32, 0.06), 0 1px 3px rgba(38, 36, 32, 0.04)",raise2:"0 2px 8px rgba(38, 36, 32, 0.08), 0 1px 2px rgba(38, 36, 32, 0.04)",raise3:"0 8px 24px rgba(38, 36, 32, 0.12), 0 2px 8px rgba(38, 36, 32, 0.06)"},r={control:"8px",lg:"8px",md:"6px",sm:"4px"},e=(v,i)=>[v,{lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,...i.fontWeight?{fontWeight:String(i.fontWeight)}:{}}],g={fontFamily:{heading:['"TRY Vesterbro"',"Libre Baskerville","Georgia","serif"],sans:['"Matter-TRIAL"',"DM Sans","system-ui","sans-serif"],mono:["Roboto Mono","monospace"]},fontSize:{title:e("28px",{lineHeight:"34px",letterSpacing:"-0.02em"}),"title-em":e("28px",{lineHeight:"34px",letterSpacing:"-0.02em",fontWeight:500}),heading:e("22px",{lineHeight:"28px",letterSpacing:"0",fontWeight:500}),subheader:e("18px",{lineHeight:"28px",letterSpacing:"-0.01em"}),"subheader-em":e("18px",{lineHeight:"28px",letterSpacing:"-0.01em",fontWeight:500}),body:e("16px",{lineHeight:"24px",letterSpacing:"-0.01em"}),"body-em":e("16px",{lineHeight:"24px",letterSpacing:"-0.01em",fontWeight:500}),"caption-1":e("16px",{lineHeight:"22px",letterSpacing:"0.02em"}),"caption-1-em":e("16px",{lineHeight:"22px",letterSpacing:"0.02em",fontWeight:500}),"caption-2":e("14px",{lineHeight:"20px",letterSpacing:"0.01em"}),"caption-2-em":e("14px",{lineHeight:"20px",letterSpacing:"0.01em",fontWeight:500}),footnote:e("13px",{lineHeight:"17px",letterSpacing:"0"}),"footnote-em":e("13px",{lineHeight:"17px",letterSpacing:"0",fontWeight:500})},boxShadow:{raise1:t.raise1,raise2:t.raise2,raise3:t.raise3},borderRadius:{control:r.control,lg:r.lg,md:r.md,sm:r.sm},colors:{grey:a.grey,gray:a.grey,green:a.green,blue:a.blue,red:a.red,orange:a.orange,purple:a.purple,white:"#ffffff",action:{primary:{idle:"var(--action-primary-idle)","on-idle":"var(--action-primary-on-idle)",hover:"var(--action-primary-hover)","on-hover":"var(--action-primary-on-hover)",disabled:"var(--action-primary-disabled)","on-disabled":"var(--action-primary-on-disabled)"},secondary:{idle:"var(--action-secondary-idle)","on-idle":"var(--action-secondary-on-idle)",hover:"var(--action-secondary-hover)","on-hover":"var(--action-secondary-on-hover)",disabled:"var(--action-secondary-disabled)","on-disabled":"var(--action-secondary-on-disabled)"},tertiary:{idle:"var(--action-tertiary-idle)","on-idle":"var(--action-tertiary-on-idle)",hover:"var(--action-tertiary-hover)","on-hover":"var(--action-tertiary-on-hover)",disabled:"var(--action-tertiary-disabled)","on-disabled":"var(--action-tertiary-on-disabled)"},quaternary:{idle:"var(--action-quaternary-idle)","on-idle":"var(--action-quaternary-on-idle)",hover:"var(--action-quaternary-hover)","on-hover":"var(--action-quaternary-on-hover)",disabled:"var(--action-quaternary-disabled)","on-disabled":"var(--action-quaternary-on-disabled)"},destructive:{idle:"var(--action-destructive-idle)","on-idle":"var(--action-destructive-on-idle)",hover:"var(--action-destructive-hover)","on-hover":"var(--action-destructive-on-hover)",disabled:"var(--action-destructive-disabled)","on-disabled":"var(--action-destructive-on-disabled)"}},background:{primary:"var(--background-primary)",secondary:"var(--background-secondary)",tertiary:"var(--background-tertiary)",hover:"var(--background-hover)",selected:"var(--background-selected)",overlay:"var(--background-overlay)"},display:{"on-light":{primary:"var(--display-on-light-primary)",secondary:"var(--display-on-light-secondary)",tertiary:"var(--display-on-light-tertiary)",quaternary:"var(--display-on-light-quaternary)"},"on-dark":{primary:"var(--display-on-dark-primary)",secondary:"var(--display-on-dark-secondary)",tertiary:"var(--display-on-dark-tertiary)",quaternary:"var(--display-on-dark-quaternary)"}},accent:{onLight:"var(--accent-on-light)",onDark:"var(--accent-on-dark)",bgLight:"var(--accent-bg-light)",bgLighter:"var(--accent-bg-lighter)"},divider:{primary:"var(--divider-primary)",secondary:"var(--divider-secondary)"},meta:{green:"var(--meta-green)",onGreen:"var(--meta-on-green)",orange:"var(--meta-orange)",onOrange:"var(--meta-on-orange)",red:"var(--meta-red)",onRed:"var(--meta-on-red)",blue:"var(--meta-blue)",onBlue:"var(--meta-on-blue)",purple:"var(--meta-purple)",onPurple:"var(--meta-on-purple)"},"text-primary":"var(--display-on-light-primary)","text-secondary":"var(--display-on-light-secondary)","text-tertiary":"var(--display-on-light-tertiary)","surface-primary":"var(--background-primary)","surface-secondary":"var(--background-secondary)","surface-hover":"var(--background-secondary)","border-light":"var(--divider-primary)","border-medium":"var(--divider-secondary)"}};exports.blue=d;exports.borderRadius=r;exports.colorScales=a;exports.elevation=t;exports.green=o;exports.grey=n;exports.orange=l;exports.purple=s;exports.red=c;exports.theme=g;exports.white=p;
1
+ "use strict";const n={50:"#fdfdfc",100:"#f4f2ea",200:"#e1ddce",300:"#bfb9a5",400:"#969080",500:"#6e6960",600:"#524e47",700:"#3a3733",800:"#312e2a",900:"#262420"},o={50:"#f5f8f2",100:"#dde6d2",200:"#c5d4b3",300:"#a8bf8f",400:"#7a9a5e",500:"#5a7a42",600:"#456332",700:"#304624",800:"#223018",900:"#141c0e"},d={50:"#eef1f8",100:"#dae0ef",200:"#b8c4e0",300:"#8fa3cc",400:"#5274ae",500:"#3a5d96",600:"#154199",700:"#103480",800:"#0c2860",900:"#081c42"},c={50:"#faf3f1",100:"#f0d3cc",200:"#e4b0a5",300:"#c97a6b",400:"#b85a48",500:"#a0392a",600:"#802c20",700:"#621f16",800:"#45150f",900:"#2a0c08"},l={50:"#faf1de",100:"#f5e4c0",200:"#efd49a",300:"#e4bc6a",400:"#d9a03e",500:"#c48820",600:"#8f6318",700:"#5a3d0d",800:"#3d2a09",900:"#261a05"},s={50:"#f6f2f8",100:"#e2d9e8",200:"#cbbad6",300:"#b09bc3",400:"#957cb0",500:"#7a5d9d",600:"#5e4680",700:"#3d2e4a",800:"#2a2033",900:"#18121c"},p="#ffffff",a={grey:n,green:o,blue:d,red:c,orange:l,purple:s},t={raise1:"0 1px 2px rgba(38, 36, 32, 0.06), 0 1px 3px rgba(38, 36, 32, 0.04)",raise2:"0 2px 8px rgba(38, 36, 32, 0.08), 0 1px 2px rgba(38, 36, 32, 0.04)",raise3:"0 8px 24px rgba(38, 36, 32, 0.12), 0 2px 8px rgba(38, 36, 32, 0.06)"},r={control:"8px",lg:"8px",md:"6px",sm:"4px"},e=(v,i)=>[v,{lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,...i.fontWeight?{fontWeight:String(i.fontWeight)}:{}}],g={fontFamily:{heading:['"TRY Vesterbro"',"Libre Baskerville","Georgia","serif"],sans:['"Matter-TRIAL"',"DM Sans","system-ui","sans-serif"],mono:["Roboto Mono","monospace"]},fontSize:{title:e("28px",{lineHeight:"34px",letterSpacing:"-0.02em"}),"title-em":e("28px",{lineHeight:"34px",letterSpacing:"-0.02em",fontWeight:500}),heading:e("22px",{lineHeight:"28px",letterSpacing:"0",fontWeight:500}),subheader:e("18px",{lineHeight:"28px",letterSpacing:"-0.01em"}),"subheader-em":e("18px",{lineHeight:"28px",letterSpacing:"-0.01em",fontWeight:500}),body:e("16px",{lineHeight:"24px",letterSpacing:"-0.01em"}),"body-em":e("16px",{lineHeight:"24px",letterSpacing:"-0.01em",fontWeight:500}),"caption-1":e("16px",{lineHeight:"22px",letterSpacing:"0.02em"}),"caption-1-em":e("16px",{lineHeight:"22px",letterSpacing:"0.02em",fontWeight:500}),"caption-2":e("14px",{lineHeight:"20px",letterSpacing:"0.01em"}),"caption-2-em":e("14px",{lineHeight:"20px",letterSpacing:"0.01em",fontWeight:500}),footnote:e("13px",{lineHeight:"17px",letterSpacing:"0"}),"footnote-em":e("13px",{lineHeight:"17px",letterSpacing:"0",fontWeight:500})},boxShadow:{raise1:t.raise1,raise2:t.raise2,raise3:t.raise3},borderRadius:{control:r.control,lg:r.lg,md:r.md,sm:r.sm},colors:{grey:a.grey,gray:a.grey,green:a.green,blue:a.blue,red:a.red,orange:a.orange,purple:a.purple,white:"#ffffff",action:{primary:{idle:"var(--action-primary-idle)","on-idle":"var(--action-primary-on-idle)",hover:"var(--action-primary-hover)","on-hover":"var(--action-primary-on-hover)",disabled:"var(--action-primary-disabled)","on-disabled":"var(--action-primary-on-disabled)"},secondary:{idle:"var(--action-secondary-idle)","on-idle":"var(--action-secondary-on-idle)",hover:"var(--action-secondary-hover)","on-hover":"var(--action-secondary-on-hover)",disabled:"var(--action-secondary-disabled)","on-disabled":"var(--action-secondary-on-disabled)"},tertiary:{idle:"var(--action-tertiary-idle)","on-idle":"var(--action-tertiary-on-idle)",hover:"var(--action-tertiary-hover)","on-hover":"var(--action-tertiary-on-hover)",disabled:"var(--action-tertiary-disabled)","on-disabled":"var(--action-tertiary-on-disabled)"},quaternary:{idle:"var(--action-quaternary-idle)","on-idle":"var(--action-quaternary-on-idle)",hover:"var(--action-quaternary-hover)","on-hover":"var(--action-quaternary-on-hover)",disabled:"var(--action-quaternary-disabled)","on-disabled":"var(--action-quaternary-on-disabled)"},destructive:{idle:"var(--action-destructive-idle)","on-idle":"var(--action-destructive-on-idle)",hover:"var(--action-destructive-hover)","on-hover":"var(--action-destructive-on-hover)",disabled:"var(--action-destructive-disabled)","on-disabled":"var(--action-destructive-on-disabled)"}},background:{primary:"var(--background-primary)",secondary:"var(--background-secondary)",tertiary:"var(--background-tertiary)",hover:"var(--background-hover)",selected:"var(--background-selected)",overlay:"var(--background-overlay)"},display:{"on-light":{primary:"var(--display-on-light-primary)",secondary:"var(--display-on-light-secondary)",tertiary:"var(--display-on-light-tertiary)",quaternary:"var(--display-on-light-quaternary)"},"on-dark":{primary:"var(--display-on-dark-primary)",secondary:"var(--display-on-dark-secondary)",tertiary:"var(--display-on-dark-tertiary)",quaternary:"var(--display-on-dark-quaternary)"}},accent:{"on-light":"var(--accent-on-light)","on-dark":"var(--accent-on-dark)","bg-light":"var(--accent-bg-light)","bg-lighter":"var(--accent-bg-lighter)"},divider:{primary:"var(--divider-primary)",secondary:"var(--divider-secondary)"},meta:{green:"var(--meta-green)",onGreen:"var(--meta-on-green)",orange:"var(--meta-orange)",onOrange:"var(--meta-on-orange)",red:"var(--meta-red)",onRed:"var(--meta-on-red)",blue:"var(--meta-blue)",onBlue:"var(--meta-on-blue)",purple:"var(--meta-purple)",onPurple:"var(--meta-on-purple)"},"text-primary":"var(--display-on-light-primary)","text-secondary":"var(--display-on-light-secondary)","text-tertiary":"var(--display-on-light-tertiary)","surface-primary":"var(--background-primary)","surface-secondary":"var(--background-secondary)","surface-hover":"var(--background-secondary)","border-light":"var(--divider-primary)","border-medium":"var(--divider-secondary)"}};exports.blue=d;exports.borderRadius=r;exports.colorScales=a;exports.elevation=t;exports.green=o;exports.grey=n;exports.orange=l;exports.purple=s;exports.red=c;exports.theme=g;exports.white=p;
package/dist/theme.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./theme-entry-D2X3Ptjf.js");exports.tailwindTheme=e.theme;exports.theme=e.theme;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./theme-entry-ygTpGaNC.js");exports.tailwindTheme=e.theme;exports.theme=e.theme;
package/dist/theme.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as a, t as m } from "./theme-entry-CxDa1D0_.mjs";
1
+ import { t as a, t as m } from "./theme-entry-BUK3MJUJ.mjs";
2
2
  export {
3
3
  a as tailwindTheme,
4
4
  m as theme
package/package.json CHANGED
@@ -1,128 +1,128 @@
1
- {
2
- "name": "@lateralus-ai/shipping-ui",
3
- "version": "2.0.0-dev.3",
4
- "description": "Shared UI theme and components for Lateralus shipping applications",
5
- "main": "dist/index.cjs",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
8
- "publishConfig": {
9
- "access": "public"
10
- },
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.esm.js",
14
- "require": "./dist/index.cjs",
15
- "types": "./dist/index.d.ts"
16
- },
17
- "./theme": {
18
- "import": "./dist/theme.esm.js",
19
- "require": "./dist/theme.cjs",
20
- "types": "./dist/theme-entry.d.ts"
21
- },
22
- "./style.css": "./dist/style.css",
23
- "./css": "./dist/style.css",
24
- "./dist/style.css": "./dist/style.css",
25
- "./tailwind": "./dist/theme.cjs"
26
- },
27
- "files": [
28
- "dist",
29
- "lib",
30
- "src",
31
- "tailwind.config.ts"
32
- ],
33
- "scripts": {
34
- "dev": "storybook dev -p 6006",
35
- "build": "npx rimraf ./dist && vite build",
36
- "storybook": "storybook dev -p 6006",
37
- "build-storybook": "storybook build",
38
- "test:visual": "playwright test",
39
- "test:visual:ci": "npm run build-storybook && playwright test",
40
- "test:visual:update": "playwright test --update-snapshots",
41
- "test:visual:icons": "node scripts/figma-icons-baseline.mjs --check && playwright test tests/visual/icons-figma.spec.ts",
42
- "test:visual:sidebar": "node scripts/figma-sidebar-baseline.mjs --target subcomponents --check && node scripts/figma-sidebar-baseline.mjs --target layouts --check && playwright test tests/visual/sidebar-figma.spec.ts tests/visual/sidebar-layouts-figma.spec.ts",
43
- "figma:baseline:icons": "node scripts/figma-icons-baseline.mjs",
44
- "figma:baseline:icons:check": "node scripts/figma-icons-baseline.mjs --check",
45
- "figma:baseline:sidebar": "node scripts/figma-sidebar-baseline.mjs --target subcomponents",
46
- "figma:baseline:sidebar:layouts": "node scripts/figma-sidebar-baseline.mjs --target layouts",
47
- "figma:baseline:sidebar:check": "node scripts/figma-sidebar-baseline.mjs --check",
48
- "postinstall": "playwright install chromium",
49
- "release": "npx release-it",
50
- "release:dev:init": "npx release-it --config .release-it.dev.json major --preRelease=dev",
51
- "release:dev:init:publish": "npx release-it --config .release-it.dev.json --no-hooks.before:init major --preRelease=dev",
52
- "release:dev": "npx release-it --config .release-it.dev.json --preRelease=dev",
53
- "release:dev:publish": "npx release-it --config .release-it.dev.json --no-hooks.before:init --preRelease=dev"
54
- },
55
- "repository": {
56
- "type": "git",
57
- "url": "git+https://github.com/lateralus-ai/shipping-ui.git"
58
- },
59
- "keywords": [
60
- "tailwind",
61
- "askchief",
62
- "design-system",
63
- "theme",
64
- "shipping",
65
- "storybook"
66
- ],
67
- "author": "Lateralus AI",
68
- "license": "UNLICENSED",
69
- "bugs": {
70
- "url": "https://github.com/lateralus-ai/shipping-ui/issues"
71
- },
72
- "homepage": "https://github.com/lateralus-ai/shipping-ui#readme",
73
- "devDependencies": {
74
- "@chromatic-com/storybook": "^1.6.1",
75
- "@playwright/test": "^1.49.0",
76
- "@storybook/addon-essentials": "^8.2.9",
77
- "@storybook/addon-interactions": "^8.2.9",
78
- "@storybook/addon-links": "^8.2.9",
79
- "@storybook/blocks": "^8.2.9",
80
- "@storybook/react": "^8.2.9",
81
- "@storybook/react-vite": "^8.2.9",
82
- "@types/pngjs": "^6.0.5",
83
- "@types/react": "^18.2.0",
84
- "@types/react-dom": "^18.2.0",
85
- "@uidotdev/usehooks": "^2.4.1",
86
- "@vitejs/plugin-react": "^4.2.1",
87
- "ai": "^5.0.59",
88
- "autoprefixer": "^10.4.16",
89
- "clsx": "^1.2.0",
90
- "pixelmatch": "^5.3.0",
91
- "pngjs": "^7.0.0",
92
- "postcss": "^8.4.32",
93
- "react": "^18.2.0",
94
- "react-dom": "^18.2.0",
95
- "release-it": "^19.0.5",
96
- "serve": "^14.2.4",
97
- "sharp": "^0.33.5",
98
- "storybook": "^8.2.9",
99
- "tailwind-merge": "^1.9.0",
100
- "tailwindcss": "^3.4.0",
101
- "tailwindcss-animate": "^1.0.7",
102
- "tailwindcss-radix": "^3.0.3",
103
- "typescript": "^5.3.3",
104
- "vite": "^5.0.10",
105
- "vite-plugin-dts": "^4.5.4"
106
- },
107
- "peerDependencies": {
108
- "react": "^18.2.0",
109
- "react-dom": "^18.2.0",
110
- "react-textarea-autosize": "^8.5.9"
111
- },
112
- "dependencies": {
113
- "@radix-ui/react-dialog": "^1.1.19",
114
- "@radix-ui/react-dropdown-menu": "^2.1.20",
115
- "@radix-ui/react-tabs": "^1.1.17",
116
- "@radix-ui/react-tooltip": "^1.2.8",
117
- "@react-hooks-library/core": "^0.6.2",
118
- "docx-preview": "^0.3.7",
119
- "docxtemplater": "^3.66.6",
120
- "pizzip": "^3.2.0",
121
- "react-hotkeys-hook": "^5.1.0",
122
- "react-pdf": "^10.1.0",
123
- "react-router": "^7.9.3"
124
- },
125
- "sideEffects": [
126
- "dist/style.css"
127
- ]
128
- }
1
+ {
2
+ "name": "@lateralus-ai/shipping-ui",
3
+ "version": "2.0.0-dev.5",
4
+ "description": "Shared UI theme and components for Lateralus shipping applications",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.esm.js",
7
+ "types": "dist/index.d.ts",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.esm.js",
14
+ "require": "./dist/index.cjs",
15
+ "types": "./dist/index.d.ts"
16
+ },
17
+ "./theme": {
18
+ "import": "./dist/theme.esm.js",
19
+ "require": "./dist/theme.cjs",
20
+ "types": "./dist/theme-entry.d.ts"
21
+ },
22
+ "./style.css": "./dist/style.css",
23
+ "./css": "./dist/style.css",
24
+ "./dist/style.css": "./dist/style.css",
25
+ "./tailwind": "./dist/theme.cjs"
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "lib",
30
+ "src",
31
+ "tailwind.config.ts"
32
+ ],
33
+ "scripts": {
34
+ "dev": "storybook dev -p 6006",
35
+ "build": "npx rimraf ./dist && vite build",
36
+ "storybook": "storybook dev -p 6006",
37
+ "build-storybook": "storybook build",
38
+ "test:visual": "playwright test",
39
+ "test:visual:ci": "npm run build-storybook && playwright test",
40
+ "test:visual:update": "playwright test --update-snapshots",
41
+ "test:visual:icons": "node scripts/figma-icons-baseline.mjs --check && playwright test tests/visual/icons-figma.spec.ts",
42
+ "test:visual:sidebar": "node scripts/figma-sidebar-baseline.mjs --target subcomponents --check && node scripts/figma-sidebar-baseline.mjs --target layouts --check && playwright test tests/visual/sidebar-figma.spec.ts tests/visual/sidebar-layouts-figma.spec.ts",
43
+ "figma:baseline:icons": "node scripts/figma-icons-baseline.mjs",
44
+ "figma:baseline:icons:check": "node scripts/figma-icons-baseline.mjs --check",
45
+ "figma:baseline:sidebar": "node scripts/figma-sidebar-baseline.mjs --target subcomponents",
46
+ "figma:baseline:sidebar:layouts": "node scripts/figma-sidebar-baseline.mjs --target layouts",
47
+ "figma:baseline:sidebar:check": "node scripts/figma-sidebar-baseline.mjs --check",
48
+ "postinstall": "playwright install chromium",
49
+ "release": "npx release-it",
50
+ "release:dev:init": "npx release-it --config .release-it.dev.json major --preRelease=dev",
51
+ "release:dev:init:publish": "npx release-it --config .release-it.dev.json --no-hooks.before:init major --preRelease=dev",
52
+ "release:dev": "npx release-it --config .release-it.dev.json --preRelease=dev",
53
+ "release:dev:publish": "npx release-it --config .release-it.dev.json --no-hooks.before:init --preRelease=dev"
54
+ },
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "git+https://github.com/lateralus-ai/shipping-ui.git"
58
+ },
59
+ "keywords": [
60
+ "tailwind",
61
+ "askchief",
62
+ "design-system",
63
+ "theme",
64
+ "shipping",
65
+ "storybook"
66
+ ],
67
+ "author": "Lateralus AI",
68
+ "license": "UNLICENSED",
69
+ "bugs": {
70
+ "url": "https://github.com/lateralus-ai/shipping-ui/issues"
71
+ },
72
+ "homepage": "https://github.com/lateralus-ai/shipping-ui#readme",
73
+ "devDependencies": {
74
+ "@chromatic-com/storybook": "^1.6.1",
75
+ "@playwright/test": "^1.49.0",
76
+ "@storybook/addon-essentials": "^8.2.9",
77
+ "@storybook/addon-interactions": "^8.2.9",
78
+ "@storybook/addon-links": "^8.2.9",
79
+ "@storybook/blocks": "^8.2.9",
80
+ "@storybook/react": "^8.2.9",
81
+ "@storybook/react-vite": "^8.2.9",
82
+ "@types/pngjs": "^6.0.5",
83
+ "@types/react": "^18.2.0",
84
+ "@types/react-dom": "^18.2.0",
85
+ "@uidotdev/usehooks": "^2.4.1",
86
+ "@vitejs/plugin-react": "^4.2.1",
87
+ "ai": "^5.0.59",
88
+ "autoprefixer": "^10.4.16",
89
+ "clsx": "^1.2.0",
90
+ "pixelmatch": "^5.3.0",
91
+ "pngjs": "^7.0.0",
92
+ "postcss": "^8.4.32",
93
+ "react": "^18.2.0",
94
+ "react-dom": "^18.2.0",
95
+ "release-it": "^19.0.5",
96
+ "serve": "^14.2.4",
97
+ "sharp": "^0.33.5",
98
+ "storybook": "^8.2.9",
99
+ "tailwind-merge": "^1.9.0",
100
+ "tailwindcss": "^3.4.0",
101
+ "tailwindcss-animate": "^1.0.7",
102
+ "tailwindcss-radix": "^3.0.3",
103
+ "typescript": "^5.3.3",
104
+ "vite": "^5.0.10",
105
+ "vite-plugin-dts": "^4.5.4"
106
+ },
107
+ "peerDependencies": {
108
+ "react": "^18.2.0",
109
+ "react-dom": "^18.2.0",
110
+ "react-textarea-autosize": "^8.5.9"
111
+ },
112
+ "dependencies": {
113
+ "@radix-ui/react-dialog": "^1.1.19",
114
+ "@radix-ui/react-dropdown-menu": "^2.1.20",
115
+ "@radix-ui/react-tabs": "^1.1.17",
116
+ "@radix-ui/react-tooltip": "^1.2.8",
117
+ "@react-hooks-library/core": "^0.6.2",
118
+ "docx-preview": "^0.3.7",
119
+ "docxtemplater": "^3.66.6",
120
+ "pizzip": "^3.2.0",
121
+ "react-hotkeys-hook": "^5.1.0",
122
+ "react-pdf": "^10.1.0",
123
+ "react-router": "^7.9.3"
124
+ },
125
+ "sideEffects": [
126
+ "dist/style.css"
127
+ ]
128
+ }