@commercelayer/app-elements 0.0.62 → 0.0.63
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-a3c36998.js → Async-8b24ead8.js} +3 -3
- package/dist/{InputDateComponent-cfeab38d.js → InputDateComponent-dcf8af25.js} +2 -2
- package/dist/{Select-6ab4a5f9.js → Select-c231dee0.js} +3 -3
- package/dist/{main-20708d88.js → main-2d006085.js} +216 -213
- package/dist/main.js +1 -1
- package/dist/{overrides-7d4dd01a.js → overrides-a131dcff.js} +2 -2
- package/dist/ui/atoms/Container.d.ts +7 -5
- package/dist/ui/atoms/Text.d.ts +1 -1
- package/dist/ui/composite/PageLayout.d.ts +4 -3
- package/dist/ui/lists/ListDetailsItem.d.ts +4 -4
- package/dist/{unsupportedIterableToArray-7a1e16b1.js → unsupportedIterableToArray-a39befd2.js} +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ag as o, aS as n, ah as i, ai as l, aj as u, ak as b, al as g, am as d, an as p, aT as m, ao as c, aU as S, ap as T, a9 as I, aM as D, aN as k, aO as y, aq as C, ac as P, ar as h, as as B, at as R, au as A, a$ as v, b0 as O, b1 as L, b2 as f, b4 as F, b5 as x, b6 as N, b7 as w, b8 as M, b9 as V, ba as E, bb as G, bc as H, bi as J, bj as j, bk as q, bl as z, bm as Q, av as U, bp as W, bq as X, br as Y, bs as Z, bt as $, bu as K, ad as _, bv as aa, bw as ea, aw as sa, aV as ta, ax as ra, aW as oa, aX as na, ay as ia, az as la, aA as ua, bn as ba, bx as ga, aY as da, by as pa, bz as ma, aZ as ca, bA as Sa, aB as Ta, aC as Ia, aD as Da, aF as ka, aG as ya, aH as Ca, aI as Pa, bB as ha, bC as Ba, aJ as Ra, aK as Aa, aP as va, aL as Oa, aQ as La, a_ as fa, bo as Fa, ae as xa, aR as Na, W as wa, V as Ma, bd as Va, b3 as Ea, R as Ga, X as Ha, Y as Ja, Z as ja, be as qa, S as za, T as Qa, bD as Ua, bE as Wa, bF as Xa, bG as Ya, bH as Za, bI as $a, $ as Ka, a0 as _a, a1 as ae, a2 as ee, M as se, a3 as te, a4 as re, O as oe, bf as ne, bg as ie, bh as le, N as ue, Q as be, U as ge, a5 as de, aa as pe, ab as me, a6 as ce, a7 as Se, a8 as Te, af as Ie, aE as De } from "./main-
|
|
1
|
+
import { ag as o, aS as n, ah as i, ai as l, aj as u, ak as b, al as g, am as d, an as p, aT as m, ao as c, aU as S, ap as T, a9 as I, aM as D, aN as k, aO as y, aq as C, ac as P, ar as h, as as B, at as R, au as A, a$ as v, b0 as O, b1 as L, b2 as f, b4 as F, b5 as x, b6 as N, b7 as w, b8 as M, b9 as V, ba as E, bb as G, bc as H, bi as J, bj as j, bk as q, bl as z, bm as Q, av as U, bp as W, bq as X, br as Y, bs as Z, bt as $, bu as K, ad as _, bv as aa, bw as ea, aw as sa, aV as ta, ax as ra, aW as oa, aX as na, ay as ia, az as la, aA as ua, bn as ba, bx as ga, aY as da, by as pa, bz as ma, aZ as ca, bA as Sa, aB as Ta, aC as Ia, aD as Da, aF as ka, aG as ya, aH as Ca, aI as Pa, bB as ha, bC as Ba, aJ as Ra, aK as Aa, aP as va, aL as Oa, aQ as La, a_ as fa, bo as Fa, ae as xa, aR as Na, W as wa, V as Ma, bd as Va, b3 as Ea, R as Ga, X as Ha, Y as Ja, Z as ja, be as qa, S as za, T as Qa, bD as Ua, bE as Wa, bF as Xa, bG as Ya, bH as Za, bI as $a, $ as Ka, a0 as _a, a1 as ae, a2 as ee, M as se, a3 as te, a4 as re, O as oe, bf as ne, bg as ie, bh as le, N as ue, Q as be, U as ge, a5 as de, aa as pe, ab as me, a6 as ce, a7 as Se, a8 as Te, af as Ie, aE as De } from "./main-2d006085.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
import "@commercelayer/sdk";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as Se, g as gr, _ as In, a as br, b as pr, c as fr, f as mr } from "./unsupportedIterableToArray-
|
|
1
|
+
import { d as Se, g as gr, _ as In, a as br, b as pr, c as fr, f as mr } from "./unsupportedIterableToArray-a39befd2.js";
|
|
2
2
|
import * as B from "react";
|
|
3
3
|
import { useLayoutEffect as vn, forwardRef as Ir, useContext as Te, createElement as me, Fragment as Be, createContext as Ct, useRef as oe, useState as Ie, useMemo as Ce, useCallback as Y, Component as vr, useEffect as hn } from "react";
|
|
4
|
-
import { _ as hr, H as se, K as Cn } from "./main-
|
|
4
|
+
import { _ as hr, H as se, K as Cn } from "./main-2d006085.js";
|
|
5
5
|
import { createPortal as Cr } from "react-dom";
|
|
6
6
|
function V() {
|
|
7
7
|
return V = Object.assign ? Object.assign.bind() : function(t) {
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
interface
|
|
2
|
-
/**
|
|
3
|
-
* css class name
|
|
4
|
-
*/
|
|
5
|
-
className?: string;
|
|
1
|
+
export interface ContainerProps {
|
|
6
2
|
/**
|
|
7
3
|
* set min height as screen size. Default is `true`.
|
|
8
4
|
*/
|
|
9
5
|
minHeight?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface Props extends ContainerProps {
|
|
8
|
+
/**
|
|
9
|
+
* css class name
|
|
10
|
+
*/
|
|
11
|
+
className?: string;
|
|
10
12
|
/**
|
|
11
13
|
* content to be rendered inside the container
|
|
12
14
|
*/
|
package/dist/ui/atoms/Text.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
export type TextVariant = 'danger' | 'success' | 'primary' | 'warning' | 'info' | 'plain';
|
|
2
|
+
export type TextVariant = 'danger' | 'success' | 'primary' | 'warning' | 'info' | 'plain' | 'disabled';
|
|
3
3
|
export type TextSize = 'small' | 'regular' | 'large' | 'inherit';
|
|
4
4
|
export type TextWeight = 'regular' | 'medium' | 'semibold' | 'bold' | 'inherit';
|
|
5
5
|
export type TextAlignment = 'center' | 'left' | 'right' | 'inherit';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ContainerProps } from '../atoms/Container';
|
|
2
2
|
import { type PageHeadingProps } from '../atoms/PageHeading';
|
|
3
|
-
|
|
3
|
+
import { type ReactNode } from 'react';
|
|
4
|
+
export interface PageLayoutProps extends Pick<PageHeadingProps, 'title' | 'description' | 'onGoBack' | 'actionButton' | 'gap'>, Pick<ContainerProps, 'minHeight'> {
|
|
4
5
|
/**
|
|
5
6
|
* Page content
|
|
6
7
|
*/
|
|
@@ -10,7 +11,7 @@ export interface PageLayoutProps extends Pick<PageHeadingProps, 'title' | 'descr
|
|
|
10
11
|
*/
|
|
11
12
|
mode?: 'test' | 'live';
|
|
12
13
|
}
|
|
13
|
-
declare function PageLayout({ title, description, onGoBack, children, actionButton, mode, gap, ...rest }: PageLayoutProps): JSX.Element;
|
|
14
|
+
declare function PageLayout({ title, description, onGoBack, children, actionButton, mode, gap, minHeight, ...rest }: PageLayoutProps): JSX.Element;
|
|
14
15
|
declare namespace PageLayout {
|
|
15
16
|
var displayName: string;
|
|
16
17
|
}
|
|
@@ -9,7 +9,7 @@ interface ListDetailsItemProps {
|
|
|
9
9
|
* It represent the value.
|
|
10
10
|
* Most of the type it should be a `<CopyToClipboard>` component
|
|
11
11
|
*/
|
|
12
|
-
children
|
|
12
|
+
children?: ReactNode;
|
|
13
13
|
/**
|
|
14
14
|
* To show the skeleton item while `children` ar not yet. Label is always rendered
|
|
15
15
|
*/
|
|
@@ -27,8 +27,8 @@ interface ListDetailsItemProps {
|
|
|
27
27
|
*/
|
|
28
28
|
gutter?: 'none';
|
|
29
29
|
}
|
|
30
|
-
declare function ListDetailsItem({ label, children, isLoading, border, gutter, childrenAlign, ...rest }: ListDetailsItemProps): JSX.Element;
|
|
31
|
-
declare namespace ListDetailsItem {
|
|
30
|
+
export declare function ListDetailsItem({ label, children, isLoading, border, gutter, childrenAlign, ...rest }: ListDetailsItemProps): JSX.Element;
|
|
31
|
+
export declare namespace ListDetailsItem {
|
|
32
32
|
var displayName: string;
|
|
33
33
|
}
|
|
34
|
-
export {
|
|
34
|
+
export {};
|