@commercelayer/app-elements 0.0.72 → 0.0.74
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/{Async-f13b4a3e.js → Async-73b78480.js} +3 -3
- package/dist/{InputDateComponent-370559a5.js → InputDateComponent-ae82f074.js} +2 -2
- package/dist/{Select-3323e29e.js → Select-5c61fe3c.js} +3 -3
- package/dist/{main-81037174.js → main-24ce0dd8.js} +13 -13
- package/dist/main.js +1 -1
- package/dist/{overrides-905d43b2.js → overrides-2115b08e.js} +618 -621
- package/dist/style.css +1 -1
- package/dist/{unsupportedIterableToArray-198150f9.js → unsupportedIterableToArray-58aa710a.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { L as de, H as le } from "./main-
|
|
1
|
+
import { L as de, H as le } from "./main-24ce0dd8.js";
|
|
2
2
|
import * as ce from "react";
|
|
3
3
|
import { useRef as F, useState as a, useEffect as x, useCallback as D, forwardRef as ve } from "react";
|
|
4
|
-
import { _ as Oe, a as s, h as Se, b as g, u as me, S as _e, c as he, s as ge } from "./overrides-
|
|
5
|
-
import { d as ye } from "./unsupportedIterableToArray-
|
|
4
|
+
import { _ as Oe, a as s, h as Se, b as g, u as me, S as _e, c as he, s as ge } from "./overrides-2115b08e.js";
|
|
5
|
+
import { d as ye } from "./unsupportedIterableToArray-58aa710a.js";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "@commercelayer/sdk";
|
|
8
8
|
var Ce = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as Ma, r as E, a as Rn, t as H, b as Mt, c as Ee, d as _, g as Cr, _ as Qt, s as je, e as cr, f as xa, h as ur, i as Ln, j as Sa, k as Oa, l as Ea, m as qr, n as _a, o as Kr, p as Pa, q as Ta, u as Na, v as An, w as ae, x as nt, y as pr, z as Hn, A as Ya, B as lr, C as Zr, D as Ia, E as Ra, F as La, G as At, H as Ke, I as Aa, J as Ha, K as Fa } from "./main-
|
|
1
|
+
import { P as Ma, r as E, a as Rn, t as H, b as Mt, c as Ee, d as _, g as Cr, _ as Qt, s as je, e as cr, f as xa, h as ur, i as Ln, j as Sa, k as Oa, l as Ea, m as qr, n as _a, o as Kr, p as Pa, q as Ta, u as Na, v as An, w as ae, x as nt, y as pr, z as Hn, A as Ya, B as lr, C as Zr, D as Ia, E as Ra, F as La, G as At, H as Ke, I as Aa, J as Ha, K as Fa } from "./main-24ce0dd8.js";
|
|
2
2
|
import * as B from "react";
|
|
3
3
|
import h, { forwardRef as Fn, createElement as ja, Component as Ua, createRef as Ba } from "react";
|
|
4
|
-
import { _ as Wa, a as I, b as R, c as N, d as D, e as b, f as Y } from "./unsupportedIterableToArray-
|
|
4
|
+
import { _ as Wa, a as I, b as R, c as N, d as D, e as b, f as Y } from "./unsupportedIterableToArray-58aa710a.js";
|
|
5
5
|
import * as Va from "react-dom";
|
|
6
6
|
import Qa, { findDOMNode as $a } from "react-dom";
|
|
7
7
|
import "@commercelayer/sdk";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as n } from "./main-
|
|
2
|
-
import { u as s, S as m, c as p, s as i } from "./overrides-
|
|
1
|
+
import { H as n } from "./main-24ce0dd8.js";
|
|
2
|
+
import { u as s, S as m, c as p, s as i } from "./overrides-2115b08e.js";
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { forwardRef as S } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "@commercelayer/sdk";
|
|
7
|
-
import "./unsupportedIterableToArray-
|
|
7
|
+
import "./unsupportedIterableToArray-58aa710a.js";
|
|
8
8
|
var f = /* @__PURE__ */ S(function(e, t) {
|
|
9
9
|
var o = s(e);
|
|
10
10
|
return /* @__PURE__ */ c.createElement(m, p({
|
|
@@ -6698,10 +6698,10 @@ const pD = {
|
|
|
6698
6698
|
regular: "px-6 py-3",
|
|
6699
6699
|
large: "px-8 py-4"
|
|
6700
6700
|
}, hD = {
|
|
6701
|
-
primary: "bg-black text-white hover:opacity-80",
|
|
6701
|
+
primary: "bg-black border border-black text-white hover:opacity-80",
|
|
6702
6702
|
secondary: "bg-white border border-gray-300 text-black hover:opacity-80 hover:bg-gray-50",
|
|
6703
6703
|
danger: "bg-white border border-red text-red hover:bg-red/10",
|
|
6704
|
-
link: "
|
|
6704
|
+
link: "text-primary hover:opacity-80"
|
|
6705
6705
|
};
|
|
6706
6706
|
function On({
|
|
6707
6707
|
children: t,
|
|
@@ -6717,12 +6717,12 @@ function On({
|
|
|
6717
6717
|
{
|
|
6718
6718
|
className: V([
|
|
6719
6719
|
e,
|
|
6720
|
-
"
|
|
6720
|
+
"rounded text-center font-bold focus:outline-none",
|
|
6721
6721
|
{
|
|
6722
6722
|
"opacity-50 pointer-events-none touch-none": s,
|
|
6723
|
-
"w-full": o === !0
|
|
6723
|
+
"w-full": o === !0,
|
|
6724
|
+
[`text-sm transition-opacity duration-500 ${pD[r]}`]: i !== "link"
|
|
6724
6725
|
},
|
|
6725
|
-
pD[r],
|
|
6726
6726
|
hD[i]
|
|
6727
6727
|
]),
|
|
6728
6728
|
disabled: s,
|
|
@@ -12118,7 +12118,7 @@ function Zp({
|
|
|
12118
12118
|
"div",
|
|
12119
12119
|
{
|
|
12120
12120
|
"data-test-id": "SearchBar",
|
|
12121
|
-
className: V("
|
|
12121
|
+
className: V("relative w-full", s),
|
|
12122
12122
|
...c,
|
|
12123
12123
|
children: [
|
|
12124
12124
|
/* @__PURE__ */ A.jsx(
|
|
@@ -12132,7 +12132,7 @@ function Zp({
|
|
|
12132
12132
|
"input",
|
|
12133
12133
|
{
|
|
12134
12134
|
className: V(
|
|
12135
|
-
"px-
|
|
12135
|
+
"rounded px-11 py-2 bg-gray-100 font-medium w-full transition placeholder:text-gray-400",
|
|
12136
12136
|
"shadow-none !outline-0 !border-0 !ring-0",
|
|
12137
12137
|
"!focus:shadow-none !active:shadow-none focus:caret-primary"
|
|
12138
12138
|
),
|
|
@@ -12149,7 +12149,7 @@ function Zp({
|
|
|
12149
12149
|
{
|
|
12150
12150
|
"data-test-id": "SearchBar-clear",
|
|
12151
12151
|
className: V(
|
|
12152
|
-
"flex items-center absolute top-1/2 right-
|
|
12152
|
+
"flex items-center absolute top-1/2 right-4 transform -translate-y-1/2 text-gray-400",
|
|
12153
12153
|
"rounded outline-none ring-0 border-0",
|
|
12154
12154
|
"focus-within:shadow-focus focus:text-black"
|
|
12155
12155
|
),
|
|
@@ -15952,11 +15952,11 @@ const qf = (t) => ({
|
|
|
15952
15952
|
}
|
|
15953
15953
|
})
|
|
15954
15954
|
}), uL = Lu(
|
|
15955
|
-
async () => await import("./Async-
|
|
15955
|
+
async () => await import("./Async-73b78480.js").then((t) => ({
|
|
15956
15956
|
default: t.AsyncSelectComponent
|
|
15957
15957
|
}))
|
|
15958
15958
|
), cL = Lu(
|
|
15959
|
-
async () => await import("./Select-
|
|
15959
|
+
async () => await import("./Select-5c61fe3c.js").then((t) => ({
|
|
15960
15960
|
default: t.SelectComponent
|
|
15961
15961
|
}))
|
|
15962
15962
|
);
|
|
@@ -16157,7 +16157,7 @@ function fL({
|
|
|
16157
16157
|
}
|
|
16158
16158
|
fL.displayName = "InputCurrencyRange";
|
|
16159
16159
|
const mL = Lu(
|
|
16160
|
-
async () => await import("./InputDateComponent-
|
|
16160
|
+
async () => await import("./InputDateComponent-ae82f074.js").then((t) => ({
|
|
16161
16161
|
default: t.InputDateComponent
|
|
16162
16162
|
}))
|
|
16163
16163
|
), Zu = ne(
|
|
@@ -16738,14 +16738,14 @@ const DL = Pt(({ item: t, onChange: e }) => {
|
|
|
16738
16738
|
{
|
|
16739
16739
|
"aria-label": "Delete",
|
|
16740
16740
|
disabled: s,
|
|
16741
|
-
className: "
|
|
16741
|
+
className: "block",
|
|
16742
16742
|
variant: "link",
|
|
16743
16743
|
onClick: () => {
|
|
16744
16744
|
s || (o(!0), i.line_items.delete(t.id).then(() => {
|
|
16745
16745
|
e == null || e(), o(!1);
|
|
16746
16746
|
}));
|
|
16747
16747
|
},
|
|
16748
|
-
children: /* @__PURE__ */ A.jsx(
|
|
16748
|
+
children: /* @__PURE__ */ A.jsx(B2, { size: 18, weight: "bold" })
|
|
16749
16749
|
}
|
|
16750
16750
|
) })
|
|
16751
16751
|
] });
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ah as o, aW as n, ai as i, aj as u, ak as l, am as b, an as g, ao as d, ap as p, aX as m, aq as c, aY as S, ar as T, aa as I, aQ as D, aR as k, aS as y, as as C, ad as P, at as h, au as B, av as A, aw as R, b3 as L, b4 as v, b5 as O, b6 as f, b8 as N, b9 as F, ba as x, bb as M, bc as w, bd as V, be as G, bf as E, bg as H, bm as J, bn as j, bo as q, bp as z, bq as K, ay as Q, bx as U, bt as W, bu as X, bv as Y, bw as Z, by as $, bz as _, ae as aa, bA as ea, bB as sa, az as ta, aZ as ra, aA as oa, a_ as na, a$ as ia, aB as ua, aC as la, aD as ba, br as ga, bC as da, b0 as pa, bD as ma, bE as ca, b1 as Sa, bF as Ta, aE as Ia, aF as Da, aG as ka, aI as ya, aJ as Ca, aK as Pa, aL as ha, aM as Ba, bG as Aa, bH as Ra, aN as La, aO as va, aT as Oa, aP as fa, aU as Na, b2 as Fa, bs as xa, af as Ma, aV as wa, al as Va, X as Ga, W as Ea, bh as Ha, b7 as Ja, R as ja, Y as qa, Z as za, $ as Ka, bi as Qa, S as Ua, T as Wa, bI as Xa, bJ as Ya, bK as Za, bL as $a, bM as _a, bN as ae, a0 as ee, a1 as se, a2 as te, a3 as re, M as oe, a4 as ne, a5 as ie, ax as ue, O as le, bj as be, bk as ge, bl as de, N as pe, Q as me, U as ce, V as Se, a6 as Te, ab as Ie, ac as De, a7 as ke, a8 as ye, a9 as Ce, ag as Pe, aH as he } from "./main-
|
|
1
|
+
import { ah as o, aW as n, ai as i, aj as u, ak as l, am as b, an as g, ao as d, ap as p, aX as m, aq as c, aY as S, ar as T, aa as I, aQ as D, aR as k, aS as y, as as C, ad as P, at as h, au as B, av as A, aw as R, b3 as L, b4 as v, b5 as O, b6 as f, b8 as N, b9 as F, ba as x, bb as M, bc as w, bd as V, be as G, bf as E, bg as H, bm as J, bn as j, bo as q, bp as z, bq as K, ay as Q, bx as U, bt as W, bu as X, bv as Y, bw as Z, by as $, bz as _, ae as aa, bA as ea, bB as sa, az as ta, aZ as ra, aA as oa, a_ as na, a$ as ia, aB as ua, aC as la, aD as ba, br as ga, bC as da, b0 as pa, bD as ma, bE as ca, b1 as Sa, bF as Ta, aE as Ia, aF as Da, aG as ka, aI as ya, aJ as Ca, aK as Pa, aL as ha, aM as Ba, bG as Aa, bH as Ra, aN as La, aO as va, aT as Oa, aP as fa, aU as Na, b2 as Fa, bs as xa, af as Ma, aV as wa, al as Va, X as Ga, W as Ea, bh as Ha, b7 as Ja, R as ja, Y as qa, Z as za, $ as Ka, bi as Qa, S as Ua, T as Wa, bI as Xa, bJ as Ya, bK as Za, bL as $a, bM as _a, bN as ae, a0 as ee, a1 as se, a2 as te, a3 as re, M as oe, a4 as ne, a5 as ie, ax as ue, O as le, bj as be, bk as ge, bl as de, N as pe, Q as me, U as ce, V as Se, a6 as Te, ab as Ie, ac as De, a7 as ke, a8 as ye, a9 as Ce, ag as Pe, aH as he } from "./main-24ce0dd8.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
import "@commercelayer/sdk";
|