@commercelayer/app-elements 1.12.3 → 1.12.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/{InputDateComponent-04fe7e61.js → InputDateComponent-f4aa812b.js} +2 -1
- package/dist/{main-aa236565.js → main-1ae3f7cf.js} +3733 -3686
- package/dist/main.js +2 -1
- package/dist/providers/TokenProvider/url.d.ts +1 -1
- package/dist/ui/atoms/Icon/icons.d.ts +2 -1
- package/dist/ui/composite/Dropdown/DropdownItem.d.ts +2 -2
- package/dist/ui/forms/InputRadioGroup/InputRadioGroup.d.ts +1 -1
- package/dist/ui/forms/InputReadonly.d.ts +1 -1
- package/dist/ui/resources/ResourceListItem/common.d.ts +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { aA as c, bd as i, aB as p, aC as b, aD as l, aE as d, aF as g, aG as m, aH as S, aI as I, aJ as k, be as T, aK as D, aL as R, ar as y, bf as h, bg as C, bh as A, bi as H, aM as P, au as f, av as B, aN as F, aO as v, bu as N, bv as O, bx as w, bz as L, bB as G, bF as V, bH as x, bM as E, bP as M, bR as W, bY as U, b_ as J, c0 as j, c2 as q, c4 as z, c8 as Y, c9 as Z, aP as $, aQ as K, bw as Q, by as X, bA as _, bC as aa, bE as ea, bG as sa, bI as ta, bJ as oa, bK as ra, bL as na, bN as ua, bO as ca, bQ as ia, bS as pa, bZ as ba, b$ as la, c1 as da, c3 as ga, c5 as ma, c6 as Sa, c7 as Ia, bj as ka, bk as Ta, bl as Da, bm as Ra, ax as ya, bn as ha, aR as Ca, bo as Aa, bp as Ha, aS as Pa, aT as fa, aU as Ba, aV as Fa, bq as va, cc as Na, cd as Oa, ce as wa, cf as La, cg as Ga, ch as Va, ci as xa, cj as Ea, ck as Ma, aW as Wa, br as Ua, aX as Ja, aY as ja, aZ as qa, a_ as za, b0 as Ya, b1 as Za, b2 as $a, b3 as Ka, b4 as Qa, b9 as Xa, b5 as _a, bs as ae, ba as ee, bb as se, b6 as te, bc as oe, b7 as re, bt as ne, ay as ue, b8 as ce, a8 as ie, ab as pe, ac as be, Z as le, a7 as de, bT as ge, bD as me, $ as Se, a0 as Ie, a1 as ke, a9 as Te, aa as De, ad as Re, cm as ye, cn as he, bU as Ce, a2 as Ae, a3 as He, a4 as Pe, co as fe, cp as Be, cq as Fe, cr as ve, cs as Ne, ct as Oe, ae as we, af as Le, cu as Ge, cv as Ve, cw as xe, cx as Ee, ag as Me, ah as We, cy as Ue, cz as Je, cA as je, ak as qe, al as ze, U as Ye, ai as Ze, aj as $e, W as Ke, bV as Qe, bW as Xe, bX as _e, V as as, Y as es, ca as ss, a5 as ts, a6 as os, am as rs, as as ns, at as us, an as cs, ao as is, ap as ps, aq as bs, cl as ls, aw as ds, az as gs, cb as ms, a$ as Ss } from "./main-1ae3f7cf.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import "react-dom";
|
|
4
5
|
import "@commercelayer/sdk";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Mode } from './types';
|
|
2
|
-
export declare function getOrgSlugFromCurrentUrl(): string;
|
|
2
|
+
export declare function getOrgSlugFromCurrentUrl(): string | null;
|
|
3
3
|
export declare function makeDashboardUrl({ domain, mode, organizationSlug }: {
|
|
4
4
|
domain?: string;
|
|
5
5
|
mode?: Mode;
|
|
@@ -25,6 +25,7 @@ export declare const iconMapping: {
|
|
|
25
25
|
readonly cloudArrowUp: phosphor.Icon;
|
|
26
26
|
readonly creditCard: phosphor.Icon;
|
|
27
27
|
readonly currencyEur: phosphor.Icon;
|
|
28
|
+
readonly dotsThree: phosphor.Icon;
|
|
28
29
|
readonly download: phosphor.Icon;
|
|
29
30
|
readonly eye: phosphor.Icon;
|
|
30
31
|
readonly flag: phosphor.Icon;
|
|
@@ -42,8 +43,8 @@ export declare const iconMapping: {
|
|
|
42
43
|
readonly lightbulbFilament: phosphor.Icon;
|
|
43
44
|
readonly linkSimple: phosphor.Icon;
|
|
44
45
|
readonly list: phosphor.Icon;
|
|
45
|
-
readonly lockSimpleOpen: phosphor.Icon;
|
|
46
46
|
readonly lockSimple: phosphor.Icon;
|
|
47
|
+
readonly lockSimpleOpen: phosphor.Icon;
|
|
47
48
|
readonly magnifyingGlass: phosphor.Icon;
|
|
48
49
|
readonly megaphoneSimple: phosphor.Icon;
|
|
49
50
|
readonly minus: 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" | "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" | "
|
|
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" | "dotsThree" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimple" | "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" | "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" | "
|
|
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" | "dotsThree" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimple" | "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" | "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" | "
|
|
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" | "dotsThree" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimple" | "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" | "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" | "
|
|
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" | "dotsThree" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimple" | "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" | "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" | "
|
|
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" | "dotsThree" | "eye" | "flag" | "folderOpen" | "funnelSimple" | "gearFine" | "gift" | "githubLogo" | "globeSimple" | "googleLogo" | "hourglass" | "houseSimple" | "info" | "lifebuoy" | "lightbulbFilament" | "linkSimple" | "lockSimple" | "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
|
}>;
|