@commercelayer/app-elements 1.10.1 → 1.11.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/main.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ax as i, b8 as c, ay as p, az as b, aA as l, aB as d, aC as g, aD as m, aE as S, b9 as I, aF as k, aG as T, ao as D, ba as R, bb as h, bc as y, bd as C, aH as H, ar as P, as as A, aI as f, aJ as F, bq as v, br as B, bt as O, bv as w, bx as N, bB as L, bD as G, bI as V, bL as x, bN as E, bU as M, bW as W, bY as U, b_ as J, c0 as j, c4 as q, c5 as Y, aK as Z, aL as $, bs as z, bu as K, bw as Q, by as X, bA as _, bC as aa, bE as ea, bF as sa, bG as ta, bH as oa, bJ as ra, bK as na, bM as ua, bO as ia, bV as ca, bX as pa, bZ as ba, b$ as la, c1 as da, c2 as ga, c3 as ma, be as Sa, bf as Ia, bg as ka, bh as Ta, au as Da, bi as Ra, aM as ha, bj as ya, bk as Ca, aN as Ha, aO as Pa, aP as Aa, aQ as fa, bl as Fa, c8 as va, c9 as Ba, ca as Oa, cb as wa, cc as Na, cd as La, ce as Ga, cf as Va, cg as xa, aR as Ea, bm as Ma, aS as Wa, aT as Ua, aU as Ja, aV as ja, aX as qa, aY as Ya, aZ as Za, a_ as $a, a$ as za, bn as Ka, b4 as Qa, b0 as Xa, bo as _a, b5 as ae, b6 as ee, b1 as se, b7 as te, b2 as oe, bp as re, av as ne, b3 as ue, a7 as ie, a6 as ce, bP as pe, bz as be, Z as le, $ as de, a0 as ge, a8 as me, a9 as Se, aa as Ie, ci as ke, cj as Te, bQ as De, a1 as Re, a2 as he, a3 as ye, ck as Ce, cl as He, cm as Pe, cn as Ae, co as fe, cp as Fe, ab as ve, ac as Be, cq as Oe, cr as we, cs as Ne, ct as Le, ad as Ge, ae as Ve, cu as xe, cv as Ee, cw as Me, ah as We, ai as Ue, U as Je, af as je, ag as qe, W as Ye, bR as Ze, bS as $e, bT as ze, V as Ke, Y as Qe, c6 as Xe, a4 as _e, a5 as as, aj as es, ap as ss, aq as ts, ak as os, al as rs, am as ns, an as us, ch as is, at as cs, aw as ps, c7 as bs, aW as ls } from "./main-a325aeef.js";
1
+ import { ax as i, b8 as c, ay as p, az as b, aA as l, aB as d, aC as g, aD as m, aE as S, b9 as I, aF as k, aG as T, ao as D, ba as R, bb as h, bc as y, bd as C, aH as H, ar as P, as as A, aI as f, aJ as F, bq as v, br as B, bt as O, bv as w, bx as N, bB as L, bD as G, bI as V, bL as x, bN as E, bU as M, bW as W, bY as U, b_ as J, c0 as j, c4 as q, c5 as Y, aK as Z, aL as $, bs as z, bu as K, bw as Q, by as X, bA as _, bC as aa, bE as ea, bF as sa, bG as ta, bH as oa, bJ as ra, bK as na, bM as ua, bO as ia, bV as ca, bX as pa, bZ as ba, b$ as la, c1 as da, c2 as ga, c3 as ma, be as Sa, bf as Ia, bg as ka, bh as Ta, au as Da, bi as Ra, aM as ha, bj as ya, bk as Ca, aN as Ha, aO as Pa, aP as Aa, aQ as fa, bl as Fa, c8 as va, c9 as Ba, ca as Oa, cb as wa, cc as Na, cd as La, ce as Ga, cf as Va, cg as xa, aR as Ea, bm as Ma, aS as Wa, aT as Ua, aU as Ja, aV as ja, aX as qa, aY as Ya, aZ as Za, a_ as $a, a$ as za, bn as Ka, b4 as Qa, b0 as Xa, bo as _a, b5 as ae, b6 as ee, b1 as se, b7 as te, b2 as oe, bp as re, av as ne, b3 as ue, a7 as ie, a6 as ce, bP as pe, bz as be, Z as le, $ as de, a0 as ge, a8 as me, a9 as Se, aa as Ie, ci as ke, cj as Te, bQ as De, a1 as Re, a2 as he, a3 as ye, ck as Ce, cl as He, cm as Pe, cn as Ae, co as fe, cp as Fe, ab as ve, ac as Be, cq as Oe, cr as we, cs as Ne, ct as Le, ad as Ge, ae as Ve, cu as xe, cv as Ee, cw as Me, ah as We, ai as Ue, U as Je, af as je, ag as qe, W as Ye, bR as Ze, bS as $e, bT as ze, V as Ke, Y as Qe, c6 as Xe, a4 as _e, a5 as as, aj as es, ap as ss, aq as ts, ak as os, al as rs, am as ns, an as us, ch as is, at as cs, aw as ps, c7 as bs, aW as ls } from "./main-654c5266.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  import "@commercelayer/sdk";
@@ -6,3 +6,4 @@ export declare function makeDashboardUrl({ domain, mode, organizationSlug }: {
6
6
  organizationSlug?: string;
7
7
  }): string;
8
8
  export declare function makeReAuthenticationUrl(dashboardUrl: string, appIdOrSlug?: string): string;
9
+ export declare function isProductionHostname(): boolean;
@@ -10,10 +10,13 @@ export declare const iconMapping: {
10
10
  readonly arrowRight: phosphor.Icon;
11
11
  readonly arrowsLeftRight: phosphor.Icon;
12
12
  readonly arrowUpRight: phosphor.Icon;
13
+ readonly arrowUUpLeft: phosphor.Icon;
13
14
  readonly asteriskSimple: phosphor.Icon;
14
15
  readonly bookOpenText: phosphor.Icon;
15
16
  readonly buildings: phosphor.Icon;
16
17
  readonly calendarBlank: phosphor.Icon;
18
+ readonly calendarCheck: phosphor.Icon;
19
+ readonly camera: phosphor.Icon;
17
20
  readonly caretDown: phosphor.Icon;
18
21
  readonly caretRight: phosphor.Icon;
19
22
  readonly chat: phosphor.Icon;
@@ -53,7 +56,10 @@ export declare const iconMapping: {
53
56
  readonly pushPin: phosphor.Icon;
54
57
  readonly puzzlePiece: phosphor.Icon;
55
58
  readonly question: phosphor.Icon;
59
+ readonly receipt: phosphor.Icon;
56
60
  readonly rocketLaunch: phosphor.Icon;
61
+ readonly seal: phosphor.Icon;
62
+ readonly shapes: phosphor.Icon;
57
63
  readonly shield: phosphor.Icon;
58
64
  readonly shoppingBag: phosphor.Icon;
59
65
  readonly signOut: phosphor.Icon;
@@ -61,6 +67,7 @@ export declare const iconMapping: {
61
67
  readonly sliders: phosphor.Icon;
62
68
  readonly squaresFour: phosphor.Icon;
63
69
  readonly stack: phosphor.Icon;
70
+ readonly tag: phosphor.Icon;
64
71
  readonly ticket: phosphor.Icon;
65
72
  readonly treeStructure: phosphor.Icon;
66
73
  readonly truck: phosphor.Icon;
@@ -69,6 +76,7 @@ export declare const iconMapping: {
69
76
  readonly user: phosphor.Icon;
70
77
  readonly userCircle: phosphor.Icon;
71
78
  readonly users: phosphor.Icon;
79
+ readonly warehouse: phosphor.Icon;
72
80
  readonly warning: phosphor.Icon;
73
81
  readonly warningCircle: phosphor.Icon;
74
82
  readonly x: phosphor.Icon;
@@ -288,7 +288,7 @@ export declare const DropdownItem: import('../../atoms/SkeletonTemplate').Skelet
288
288
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
289
289
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
290
290
  label: string;
291
- icon?: "download" | "package" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "rocketLaunch" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warning" | "warningCircle" | "xCircle" | "keep-space" | undefined;
291
+ icon?: "download" | "package" | "tag" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "arrowUUpLeft" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "calendarCheck" | "camera" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "receipt" | "rocketLaunch" | "seal" | "shapes" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warehouse" | "warning" | "warningCircle" | "xCircle" | "keep-space" | undefined;
292
292
  href: string;
293
293
  target?: string | undefined;
294
294
  delayMs?: number | undefined;
@@ -563,7 +563,7 @@ export declare const DropdownItem: import('../../atoms/SkeletonTemplate').Skelet
563
563
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
564
564
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
565
565
  label: string;
566
- icon?: "download" | "package" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "rocketLaunch" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warning" | "warningCircle" | "xCircle" | "keep-space" | undefined;
566
+ icon?: "download" | "package" | "tag" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "arrowUUpLeft" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "calendarCheck" | "camera" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "receipt" | "rocketLaunch" | "seal" | "shapes" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warehouse" | "warning" | "warningCircle" | "xCircle" | "keep-space" | undefined;
567
567
  href?: undefined;
568
568
  delayMs?: number | undefined;
569
569
  isLoading?: boolean | undefined;
@@ -18,7 +18,7 @@ export declare const InputRadioGroup: import('../../atoms/SkeletonTemplate').Ske
18
18
  showInput?: boolean | undefined;
19
19
  viewMode?: "grid" | "list" | "inline" | undefined;
20
20
  hint?: {
21
- icon?: "download" | "package" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "rocketLaunch" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warning" | "warningCircle" | "xCircle" | undefined;
21
+ icon?: "download" | "package" | "tag" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "arrowUUpLeft" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "calendarCheck" | "camera" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "receipt" | "rocketLaunch" | "seal" | "shapes" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warehouse" | "warning" | "warningCircle" | "xCircle" | undefined;
22
22
  text: ReactNode;
23
23
  } | undefined;
24
24
  feedback?: Omit<import("../InputFeedback").InputFeedbackProps, "className"> | undefined;
@@ -25,7 +25,7 @@ export declare const InputReadonly: import('../atoms/SkeletonTemplate').Skeleton
25
25
  showCopyAction?: boolean | undefined;
26
26
  label?: string | undefined;
27
27
  hint?: {
28
- icon?: "download" | "package" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "rocketLaunch" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warning" | "warningCircle" | "xCircle" | undefined;
28
+ icon?: "download" | "package" | "tag" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "arrowUUpLeft" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "calendarCheck" | "camera" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "receipt" | "rocketLaunch" | "seal" | "shapes" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warehouse" | "warning" | "warningCircle" | "xCircle" | undefined;
29
29
  text: import("react").ReactNode;
30
30
  } | undefined;
31
31
  feedback?: Omit<import("./InputFeedback").InputFeedbackProps, "className"> | undefined;
@@ -8,7 +8,7 @@ export declare const ListItemDescription: import('../../atoms/SkeletonTemplate')
8
8
  }>;
9
9
  export declare const ListItemIcon: import('../../atoms/SkeletonTemplate').SkeletonTemplateComponent<{
10
10
  color: "none" | "green" | "orange" | "red" | "gray" | "teal" | "white" | "black" | undefined;
11
- icon: "download" | "package" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "rocketLaunch" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warning" | "warningCircle" | "xCircle";
11
+ icon: "download" | "package" | "tag" | "list" | "x" | "appWindow" | "arrowBendDownRight" | "arrowCircleDown" | "arrowCircleUp" | "arrowClockwise" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowsLeftRight" | "arrowUpRight" | "arrowUUpLeft" | "asteriskSimple" | "bookOpenText" | "buildings" | "calendarBlank" | "calendarCheck" | "camera" | "caretDown" | "caretRight" | "chat" | "chatCircle" | "check" | "cloudArrowUp" | "creditCard" | "currencyEur" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimpleOpen" | "magnifyingGlass" | "megaphoneSimple" | "minus" | "minusCircle" | "pencilSimple" | "percent" | "plus" | "printer" | "pulse" | "pushPin" | "puzzlePiece" | "question" | "receipt" | "rocketLaunch" | "seal" | "shapes" | "shield" | "shoppingBag" | "signOut" | "slackLogo" | "sliders" | "squaresFour" | "stack" | "ticket" | "treeStructure" | "truck" | "tShirt" | "upload" | "user" | "userCircle" | "users" | "warehouse" | "warning" | "warningCircle" | "xCircle";
12
12
  delayMs?: number | undefined;
13
13
  isLoading?: boolean | undefined;
14
14
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercelayer/app-elements",
3
- "version": "1.10.1",
3
+ "version": "1.11.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [