@commercelayer/app-elements 4.7.1 → 5.0.1
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/{CodeEditorComponent-CjphoLOh.js → CodeEditorComponent-rFiiCHiH.js} +2 -2
- package/dist/InputDateComponent-BvT9oDC3.js +5018 -0
- package/dist/main-CQtvdM89.js +37045 -0
- package/dist/main.js +66 -66
- package/dist/providers/CoreSdkProvider/CoreSdkProvider.d.ts +1 -1
- package/dist/providers/TokenProvider/MockTokenProvider.d.ts +1 -0
- package/dist/providers/createApp.d.ts +2 -2
- package/dist/ui/atoms/Avatar.d.ts +1 -0
- package/dist/ui/atoms/AvatarLetter/AvatarLetter.d.ts +1 -0
- package/dist/ui/atoms/Button.d.ts +1 -0
- package/dist/ui/atoms/ButtonFilter.d.ts +1 -0
- package/dist/ui/atoms/ButtonImageSelect.d.ts +1 -0
- package/dist/ui/atoms/Card.d.ts +26 -2
- package/dist/ui/atoms/EmptyState.d.ts +1 -1
- package/dist/ui/atoms/Grid.d.ts +1 -1
- package/dist/ui/atoms/Hint.d.ts +1 -1
- package/dist/ui/atoms/Pagination.d.ts +1 -0
- package/dist/ui/atoms/RadialProgress.d.ts +1 -1
- package/dist/ui/atoms/RemoveButton.d.ts +1 -0
- package/dist/ui/atoms/Skeleton.d.ts +1 -1
- package/dist/ui/atoms/SkeletonTemplate.d.ts +3 -3
- package/dist/ui/atoms/Spacer.d.ts +1 -1
- package/dist/ui/atoms/Stack.d.ts +1 -1
- package/dist/ui/atoms/StatusDot.d.ts +1 -0
- package/dist/ui/atoms/Table/Td.d.ts +1 -1
- package/dist/ui/atoms/Table/Th.d.ts +1 -0
- package/dist/ui/atoms/Table/Tr.d.ts +1 -0
- package/dist/ui/atoms/Tabs.d.ts +1 -1
- package/dist/ui/atoms/Tag.d.ts +1 -1
- package/dist/ui/atoms/Text.d.ts +1 -1
- package/dist/ui/composite/CardDialog.d.ts +1 -0
- package/dist/ui/composite/Dropdown/DropdownItem.d.ts +26 -2
- package/dist/ui/composite/HomePageLayout.d.ts +1 -1
- package/dist/ui/composite/List.d.ts +1 -1
- package/dist/ui/composite/ListDetails.d.ts +1 -1
- package/dist/ui/composite/ListDetailsItem.d.ts +1 -1
- package/dist/ui/composite/ListItem.d.ts +1 -1
- package/dist/ui/composite/PageError.d.ts +1 -0
- package/dist/ui/composite/PageLayout.d.ts +1 -1
- package/dist/ui/composite/PageSkeleton.d.ts +1 -0
- package/dist/ui/composite/Report.d.ts +1 -1
- package/dist/ui/composite/Routes/Routes.d.ts +1 -0
- package/dist/ui/composite/TableData.d.ts +1 -0
- package/dist/ui/forms/CodeEditor/HookedCodeEditor.d.ts +1 -0
- package/dist/ui/forms/Form/HookedForm.d.ts +1 -0
- package/dist/ui/forms/Input/HookedInput.d.ts +1 -0
- package/dist/ui/forms/InputCheckbox/HookedInputCheckbox.d.ts +1 -0
- package/dist/ui/forms/InputCheckbox/InputCheckbox.d.ts +1 -0
- package/dist/ui/forms/InputCheckboxGroup/InputCheckboxGroupItem.d.ts +1 -1
- package/dist/ui/forms/InputCurrency/HookedInputCurrency.d.ts +1 -0
- package/dist/ui/forms/InputCurrencyRange.d.ts +1 -0
- package/dist/ui/forms/InputDate/HookedInputDate.d.ts +1 -0
- package/dist/ui/forms/InputDateRange/HookedInputDateRange.d.ts +1 -0
- package/dist/ui/forms/InputFeedback.d.ts +1 -0
- package/dist/ui/forms/InputJson.d.ts +1 -0
- package/dist/ui/forms/InputRadioGroup/InputRadioGroup.d.ts +1 -1
- package/dist/ui/forms/InputResourceGroup/FullList.d.ts +1 -0
- package/dist/ui/forms/InputSelect/overrides.d.ts +1 -0
- package/dist/ui/forms/InputSimpleSelect/HookedInputSimpleSelect.d.ts +1 -0
- package/dist/ui/forms/InputSpinner/HookedInputSpinner.d.ts +1 -0
- package/dist/ui/forms/InputSwitch/HookedInputSwitch.d.ts +1 -0
- package/dist/ui/forms/InputTextArea/HookedInputTextArea.d.ts +1 -0
- package/dist/ui/forms/InputToggleButton/HookedInputToggleButton.d.ts +1 -0
- package/dist/ui/forms/InputToggleButton/InputToggleButton.d.ts +1 -0
- package/dist/ui/forms/Label.d.ts +1 -0
- package/dist/ui/forms/Legend.d.ts +1 -0
- package/dist/ui/forms/ReactHookForm/HookedValidationApiError.d.ts +1 -0
- package/dist/ui/forms/ReactHookForm/HookedValidationError.d.ts +1 -0
- package/dist/ui/internals/FlexRow.d.ts +1 -1
- package/dist/ui/resources/ResourceListItem/types.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/FieldCurrencyRange.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/FieldOptions.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/FieldTextSearch.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/FieldTimeRange.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/FiltersForm.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/FiltersNav.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/FiltersSearchBar.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/useResourceFilters.d.ts +1 -0
- package/dist/ui/resources/useResourceList/VisibilityTrigger.d.ts +1 -1
- package/dist/ui/resources/useResourceList/useResourceList.d.ts +1 -1
- package/dist/utils/children.d.ts +1 -1
- package/dist/utils/htmltags.d.ts +1 -0
- package/package.json +20 -20
- package/dist/InputDateComponent-CUM92_yP.js +0 -6346
- package/dist/main-BcI6LlqY.js +0 -42731
package/dist/main.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { aI as s, bm as t, bn as o, aJ as r, aK as c, aL as n, aM as u, aN as i, aO as d, aP as l, aQ as p, bo as b, aR as g, bL as m, aS as S, aT as I, at as k, bp as T, bq as R, br as D, bs as y, aU as h, ax as C, ay as A, bE as P, aV as H, aW as F, bt as v, bM as f, bN as B, bO as L, bQ as O, bS as E, bV as N, bY as G, b_ as w, c3 as M, c5 as V, ca as x, cf as W, ch as U, cj as J, cl as Y, cn as X, cr as Z, cs as j, ct as q, aX as z, aB as K, aY as Q, bP as _, bR as $, bT as aa, bW as ea, bX as sa, bZ as ta, b$ as oa, c0 as ra, c1 as ca, c2 as na, c4 as ua, c6 as ia, cb as da, cg as la, ci as pa, ck as ba, cm as ga, co as ma, cp as Sa, cq as Ia, bu as ka, bv as Ta, bw as Ra, bx as Da, bF as ya, aG as ha, by as Ca, aZ as Aa, bz as Pa, bA as Ha, a_ as Fa, a$ as va, b0 as fa, b1 as Ba, bB as La, cx as Oa, cy as Ea, cA as Na, cB as Ga, cC as wa, cD as Ma, cE as Va, cF as xa, cH as Wa, cI as Ua, cJ as Ja, bG as Ya, b2 as Xa, bH as Za, b3 as ja, b4 as qa, b5 as za, b6 as Ka, b8 as Qa, b9 as _a, ba as $a, bb as ae, bc as ee, bh as se, bd as te, bI as oe, bi as re, bj as ce, be as ne, bk as ue, bf as ie, bJ as de, aH as le, bK as pe, bl as be, bg as ge, aD as me, a8 as Se, aw as Ie, bC as ke, bD as Te, X as Re, Y as De, a7 as ye, aF as he, c8 as Ce, bU as Ae, Z as Pe, _ as He, $ as Fe, a9 as ve, aa as fe, ac as Be, cM as Le, cN as Oe, c9 as Ee, a0 as Ne, a1 as Ge, a2 as we, cO as Me, cP as Ve, cQ as xe, cR as We, cS as Ue, ad as Je, ae as Ye, cG as Xe, cT as Ze, cw as je, ab as qe, cU as ze, cV as Ke, cW as Qe, af as _e, ag as $e, cX as as, cY as es, cZ as ss, aj as ts, ak as os, T as rs, ah as cs, ai as ns, aA as us, V as is, cc as ds, cd as ls, ce as ps, a3 as bs, U as gs, W as ms, a4 as Ss, cu as Is, a5 as ks, aC as Ts, a6 as Rs, al as Ds, am as ys, au as hs, av as Cs, an as As, ao as Ps, ap as Hs, c7 as Fs, aq as vs, ar as fs, as as Bs, cz as Ls, cK as Os, cL as Es, az as Ns, u as Gs, aE as ws, cv as Ms, b7 as Vs } from "./main-CQtvdM89.js";
|
|
3
3
|
export {
|
|
4
4
|
s as A,
|
|
5
5
|
t as ActionButtons,
|
|
6
6
|
o as Address,
|
|
7
7
|
r as Alert,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
c as Avatar,
|
|
9
|
+
n as AvatarLetter,
|
|
10
|
+
u as Badge,
|
|
11
11
|
i as Button,
|
|
12
12
|
d as ButtonFilter,
|
|
13
13
|
l as ButtonImageSelect,
|
|
@@ -19,8 +19,8 @@ export {
|
|
|
19
19
|
I as CopyToClipboard,
|
|
20
20
|
k as CoreSdkProvider,
|
|
21
21
|
T as Dropdown,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
R as DropdownDivider,
|
|
23
|
+
D as DropdownItem,
|
|
24
24
|
y as DropdownSearch,
|
|
25
25
|
h as EmptyState,
|
|
26
26
|
C as ErrorBoundary,
|
|
@@ -36,21 +36,21 @@ export {
|
|
|
36
36
|
E as HookedInputCheckboxGroup,
|
|
37
37
|
N as HookedInputCurrency,
|
|
38
38
|
G as HookedInputDate,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
w as HookedInputDateRange,
|
|
40
|
+
M as HookedInputRadioGroup,
|
|
41
|
+
V as HookedInputResourceGroup,
|
|
42
|
+
x as HookedInputSelect,
|
|
43
43
|
W as HookedInputSimpleSelect,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
U as HookedInputSpinner,
|
|
45
|
+
J as HookedInputSwitch,
|
|
46
|
+
Y as HookedInputTextArea,
|
|
47
|
+
X as HookedInputToggleButton,
|
|
48
|
+
Z as HookedMarketWithCurrencySelector,
|
|
49
|
+
j as HookedValidationApiError,
|
|
50
|
+
q as HookedValidationError,
|
|
51
|
+
z as Hr,
|
|
52
|
+
K as I18NProvider,
|
|
53
|
+
Q as Icon,
|
|
54
54
|
_ as Input,
|
|
55
55
|
$ as InputCheckbox,
|
|
56
56
|
aa as InputCheckboxGroup,
|
|
@@ -59,9 +59,9 @@ export {
|
|
|
59
59
|
ta as InputDate,
|
|
60
60
|
oa as InputDateRange,
|
|
61
61
|
ra as InputFeedback,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
ca as InputFile,
|
|
63
|
+
na as InputJson,
|
|
64
|
+
ua as InputRadioGroup,
|
|
65
65
|
ia as InputResourceGroup,
|
|
66
66
|
da as InputSelect,
|
|
67
67
|
la as InputSimpleSelect,
|
|
@@ -73,8 +73,8 @@ export {
|
|
|
73
73
|
Ia as Legend,
|
|
74
74
|
ka as List,
|
|
75
75
|
Ta as ListDetails,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
Ra as ListDetailsItem,
|
|
77
|
+
Da as ListItem,
|
|
78
78
|
ya as LoadingPage,
|
|
79
79
|
ha as MetaTags,
|
|
80
80
|
Ca as PageError,
|
|
@@ -90,21 +90,21 @@ export {
|
|
|
90
90
|
Ea as ResourceAddressFormFields,
|
|
91
91
|
Na as ResourceAttachments,
|
|
92
92
|
Ga as ResourceDetails,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
wa as ResourceLineItems,
|
|
94
|
+
Ma as ResourceListItem,
|
|
95
|
+
Va as ResourceMetadata,
|
|
96
|
+
xa as ResourceOrderTimeline,
|
|
97
97
|
Wa as ResourcePaymentMethod,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
98
|
+
Ua as ResourceShipmentParcels,
|
|
99
|
+
Ja as ResourceTags,
|
|
100
|
+
Ya as Routes,
|
|
101
|
+
Xa as ScrollToTop,
|
|
102
|
+
Za as SearchBar,
|
|
103
|
+
ja as Section,
|
|
104
|
+
qa as Skeleton,
|
|
105
|
+
za as SkeletonItem,
|
|
106
|
+
Ka as SkeletonTemplate,
|
|
107
|
+
Qa as Spacer,
|
|
108
108
|
_a as Stack,
|
|
109
109
|
$a as StatusDot,
|
|
110
110
|
ae as StatusIcon,
|
|
@@ -113,9 +113,9 @@ export {
|
|
|
113
113
|
te as Table,
|
|
114
114
|
oe as TableData,
|
|
115
115
|
re as Tabs,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
ce as Tag,
|
|
117
|
+
ne as Td,
|
|
118
|
+
ue as Text,
|
|
119
119
|
ie as Th,
|
|
120
120
|
de as Timeline,
|
|
121
121
|
le as TokenProvider,
|
|
@@ -127,8 +127,8 @@ export {
|
|
|
127
127
|
Ie as createApp,
|
|
128
128
|
ke as createRoute,
|
|
129
129
|
Te as createTypedRoute,
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
Re as currencies,
|
|
131
|
+
De as currencyInputSelectOptions,
|
|
132
132
|
ye as downloadJsonAsFile,
|
|
133
133
|
he as encodeExtras,
|
|
134
134
|
Ce as flatSelectValues,
|
|
@@ -144,21 +144,21 @@ export {
|
|
|
144
144
|
Ee as getDefaultValueFromFlatten,
|
|
145
145
|
Ne as getEventDateInfo,
|
|
146
146
|
Ge as getIsoDateAtDayEdge,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
147
|
+
we as getIsoDateAtDaysBefore,
|
|
148
|
+
Me as getOrderDisplayStatus,
|
|
149
|
+
Ve as getOrderFulfillmentStatusName,
|
|
150
|
+
xe as getOrderPaymentStatusName,
|
|
151
151
|
We as getOrderStatusName,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
152
|
+
Ue as getOrderTransactionName,
|
|
153
|
+
Je as getParcelTrackingDetail,
|
|
154
|
+
Ye as getParcelTrackingDetails,
|
|
155
|
+
Xe as getPaymentMethodLogoSrc,
|
|
156
|
+
Ze as getPromotionDisplayStatus,
|
|
157
|
+
je as getResourceAddressFormFieldsSchema,
|
|
158
|
+
qe as getResourceEndpoint,
|
|
159
|
+
ze as getReturnDisplayStatus,
|
|
160
|
+
Ke as getReturnStatusName,
|
|
161
|
+
Qe as getShipmentDisplayStatus,
|
|
162
162
|
_e as getShipmentRate,
|
|
163
163
|
$e as getShipmentRates,
|
|
164
164
|
as as getShipmentStatusName,
|
|
@@ -167,9 +167,9 @@ export {
|
|
|
167
167
|
ts as getUnitOfWeightName,
|
|
168
168
|
os as getUnitsOfWeightForSelect,
|
|
169
169
|
rs as goBack,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
cs as hasBeenPurchased,
|
|
171
|
+
ns as hasSingleTracking,
|
|
172
|
+
us as i18nLocales,
|
|
173
173
|
is as isAttachmentValidNote,
|
|
174
174
|
ds as isGroupedSelectValues,
|
|
175
175
|
ls as isMultiValueSelected,
|
|
@@ -181,8 +181,8 @@ export {
|
|
|
181
181
|
Is as setApiFormErrors,
|
|
182
182
|
ks as sortAndGroupByDate,
|
|
183
183
|
Ts as t,
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
Rs as timeSeparator,
|
|
185
|
+
Ds as useAppLinking,
|
|
186
186
|
ys as useClickAway,
|
|
187
187
|
hs as useCoreApi,
|
|
188
188
|
Cs as useCoreSdkProvider,
|
|
@@ -198,7 +198,7 @@ export {
|
|
|
198
198
|
Es as useResourceList,
|
|
199
199
|
Ns as useTagManager,
|
|
200
200
|
Gs as useTokenProvider,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
ws as useTranslation,
|
|
202
|
+
Ms as useValidationFeedback,
|
|
203
|
+
Vs as withSkeletonTemplate
|
|
204
204
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { Root } from 'react-dom/client';
|
|
3
3
|
import { TokenProviderAllowedApp } from './TokenProvider';
|
|
4
4
|
import { TokenProviderProps } from './TokenProvider/TokenProvider';
|
|
@@ -31,5 +31,5 @@ export interface ClAppProps extends Partial<Omit<TokenProviderProps, 'appSlug' |
|
|
|
31
31
|
* The React application will them be mounted into the provided `node` element, when the `init` method is called.
|
|
32
32
|
* @param children - The root component of the app.
|
|
33
33
|
**/
|
|
34
|
-
export declare function createApp(children:
|
|
34
|
+
export declare function createApp(children: (props: ClAppProps) => ReactNode, appSlug: TokenProviderAllowedApp): void;
|
|
35
35
|
export {};
|
package/dist/ui/atoms/Card.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
39
39
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
40
40
|
autoFocus?: boolean | undefined | undefined;
|
|
41
41
|
className?: string | undefined | undefined;
|
|
42
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
42
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
43
43
|
contextMenu?: string | undefined | undefined;
|
|
44
44
|
dir?: string | undefined | undefined;
|
|
45
45
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -78,6 +78,10 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
78
78
|
results?: number | undefined | undefined;
|
|
79
79
|
security?: string | undefined | undefined;
|
|
80
80
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
81
|
+
popover?: "" | "auto" | "manual" | undefined | undefined;
|
|
82
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
83
|
+
popoverTarget?: string | undefined | undefined;
|
|
84
|
+
inert?: boolean | undefined | undefined;
|
|
81
85
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
82
86
|
is?: string | undefined | undefined;
|
|
83
87
|
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
@@ -309,8 +313,16 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
309
313
|
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
310
314
|
onAnimationIteration?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
311
315
|
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
316
|
+
onToggle?: import('react').ToggleEventHandler<HTMLElement> | undefined;
|
|
317
|
+
onBeforeToggle?: import('react').ToggleEventHandler<HTMLElement> | undefined;
|
|
318
|
+
onTransitionCancel?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
319
|
+
onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
312
320
|
onTransitionEnd?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
313
321
|
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
322
|
+
onTransitionRun?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
323
|
+
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
324
|
+
onTransitionStart?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
325
|
+
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
314
326
|
href?: string | undefined | undefined;
|
|
315
327
|
footer?: import('react').ReactNode;
|
|
316
328
|
backgroundColor?: "light" | undefined;
|
|
@@ -332,7 +344,7 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
332
344
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
333
345
|
autoFocus?: boolean | undefined | undefined;
|
|
334
346
|
className?: string | undefined | undefined;
|
|
335
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
347
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
336
348
|
contextMenu?: string | undefined | undefined;
|
|
337
349
|
dir?: string | undefined | undefined;
|
|
338
350
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -371,6 +383,10 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
371
383
|
results?: number | undefined | undefined;
|
|
372
384
|
security?: string | undefined | undefined;
|
|
373
385
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
386
|
+
popover?: "" | "auto" | "manual" | undefined | undefined;
|
|
387
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
388
|
+
popoverTarget?: string | undefined | undefined;
|
|
389
|
+
inert?: boolean | undefined | undefined;
|
|
374
390
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
375
391
|
is?: string | undefined | undefined;
|
|
376
392
|
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
@@ -602,8 +618,16 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
602
618
|
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
603
619
|
onAnimationIteration?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
604
620
|
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
621
|
+
onToggle?: import('react').ToggleEventHandler<HTMLElement> | undefined;
|
|
622
|
+
onBeforeToggle?: import('react').ToggleEventHandler<HTMLElement> | undefined;
|
|
623
|
+
onTransitionCancel?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
624
|
+
onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
605
625
|
onTransitionEnd?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
606
626
|
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
627
|
+
onTransitionRun?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
628
|
+
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
629
|
+
onTransitionStart?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
630
|
+
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
607
631
|
href?: string | undefined | undefined;
|
|
608
632
|
footer?: import('react').ReactNode;
|
|
609
633
|
backgroundColor?: "light" | undefined;
|
package/dist/ui/atoms/Grid.d.ts
CHANGED
package/dist/ui/atoms/Hint.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent, ReactNode, ReactPortal } from 'react';
|
|
2
2
|
import { Simplify } from 'type-fest';
|
|
3
|
-
type ReactNodeNoPortal = Exclude<ReactNode
|
|
3
|
+
type ReactNodeNoPortal = Exclude<Awaited<ReactNode>, ReactPortal>;
|
|
4
4
|
export type SkeletonTemplateProps<P = Record<string, unknown>> = Simplify<P & {
|
|
5
5
|
/**
|
|
6
6
|
* This prevents `SkeletonTemplate` to appear immediately.
|
|
@@ -16,7 +16,7 @@ export type SkeletonTemplateProps<P = Record<string, unknown>> = Simplify<P & {
|
|
|
16
16
|
export interface SkeletonTemplateComponent<P = Record<string, unknown>> extends FunctionComponent<P> {
|
|
17
17
|
isSkeletonTemplate: true;
|
|
18
18
|
}
|
|
19
|
-
export declare function withSkeletonTemplate<P>(Element:
|
|
19
|
+
export declare function withSkeletonTemplate<P>(Element: (props: SkeletonTemplateProps<P>) => ReactNode): SkeletonTemplateComponent<SkeletonTemplateProps<P>>;
|
|
20
20
|
declare const SkeletonTemplate: SkeletonTemplateComponent<SkeletonTemplateProps<{
|
|
21
21
|
children: ReactNodeNoPortal;
|
|
22
22
|
}>>;
|
package/dist/ui/atoms/Stack.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SkeletonTemplateProps } from '../SkeletonTemplate';
|
|
2
2
|
export interface TdProps extends React.TdHTMLAttributes<HTMLElement>, SkeletonTemplateProps {
|
|
3
|
-
children?: React.ReactNode
|
|
3
|
+
children?: Awaited<React.ReactNode>;
|
|
4
4
|
textEllipsis?: number;
|
|
5
5
|
}
|
|
6
6
|
export declare const Td: React.FC<TdProps>;
|
package/dist/ui/atoms/Tabs.d.ts
CHANGED
package/dist/ui/atoms/Tag.d.ts
CHANGED
package/dist/ui/atoms/Text.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { JSX, ReactNode } from 'react';
|
|
2
2
|
type TextVariant = 'danger' | 'success' | 'primary' | 'warning' | 'info' | 'plain' | 'disabled';
|
|
3
3
|
type TextSize = 'small' | 'regular' | 'large' | 'inherit';
|
|
4
4
|
type TextWeight = 'regular' | 'medium' | 'semibold' | 'bold' | 'inherit';
|
|
@@ -27,7 +27,7 @@ export declare const DropdownItem: import('../../atoms/SkeletonTemplate').Skelet
|
|
|
27
27
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
28
28
|
autoFocus?: boolean | undefined | undefined;
|
|
29
29
|
className?: string | undefined | undefined;
|
|
30
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
30
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
31
31
|
contextMenu?: string | undefined | undefined;
|
|
32
32
|
dir?: string | undefined | undefined;
|
|
33
33
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -66,6 +66,10 @@ export declare const DropdownItem: import('../../atoms/SkeletonTemplate').Skelet
|
|
|
66
66
|
results?: number | undefined | undefined;
|
|
67
67
|
security?: string | undefined | undefined;
|
|
68
68
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
69
|
+
popover?: "" | "auto" | "manual" | undefined | undefined;
|
|
70
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
71
|
+
popoverTarget?: string | undefined | undefined;
|
|
72
|
+
inert?: boolean | undefined | undefined;
|
|
69
73
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
70
74
|
is?: string | undefined | undefined;
|
|
71
75
|
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
@@ -297,8 +301,16 @@ export declare const DropdownItem: import('../../atoms/SkeletonTemplate').Skelet
|
|
|
297
301
|
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
298
302
|
onAnimationIteration?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
299
303
|
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
304
|
+
onToggle?: import('react').ToggleEventHandler<HTMLElement> | undefined;
|
|
305
|
+
onBeforeToggle?: import('react').ToggleEventHandler<HTMLElement> | undefined;
|
|
306
|
+
onTransitionCancel?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
307
|
+
onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
300
308
|
onTransitionEnd?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
301
309
|
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
310
|
+
onTransitionRun?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
311
|
+
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
312
|
+
onTransitionStart?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
313
|
+
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
302
314
|
label: string;
|
|
303
315
|
info?: string | undefined;
|
|
304
316
|
icon?: (IconProps["name"] | "keep-space") | undefined;
|
|
@@ -315,7 +327,7 @@ export declare const DropdownItem: import('../../atoms/SkeletonTemplate').Skelet
|
|
|
315
327
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
316
328
|
autoFocus?: boolean | undefined | undefined;
|
|
317
329
|
className?: string | undefined | undefined;
|
|
318
|
-
contentEditable?: (boolean | "true" | "false") | "
|
|
330
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
319
331
|
contextMenu?: string | undefined | undefined;
|
|
320
332
|
dir?: string | undefined | undefined;
|
|
321
333
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -354,6 +366,10 @@ export declare const DropdownItem: import('../../atoms/SkeletonTemplate').Skelet
|
|
|
354
366
|
results?: number | undefined | undefined;
|
|
355
367
|
security?: string | undefined | undefined;
|
|
356
368
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
369
|
+
popover?: "" | "auto" | "manual" | undefined | undefined;
|
|
370
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
371
|
+
popoverTarget?: string | undefined | undefined;
|
|
372
|
+
inert?: boolean | undefined | undefined;
|
|
357
373
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
358
374
|
is?: string | undefined | undefined;
|
|
359
375
|
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
@@ -585,8 +601,16 @@ export declare const DropdownItem: import('../../atoms/SkeletonTemplate').Skelet
|
|
|
585
601
|
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
586
602
|
onAnimationIteration?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
587
603
|
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
604
|
+
onToggle?: import('react').ToggleEventHandler<HTMLElement> | undefined;
|
|
605
|
+
onBeforeToggle?: import('react').ToggleEventHandler<HTMLElement> | undefined;
|
|
606
|
+
onTransitionCancel?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
607
|
+
onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
588
608
|
onTransitionEnd?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
589
609
|
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
610
|
+
onTransitionRun?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
611
|
+
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
612
|
+
onTransitionStart?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
613
|
+
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
590
614
|
label: string;
|
|
591
615
|
info?: string | undefined;
|
|
592
616
|
icon?: (IconProps["name"] | "keep-space") | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageHeadingProps } from '../atoms/PageHeading';
|
|
2
2
|
import { PageHeadingToolbarProps } from '../atoms/PageHeading/PageHeadingToolbar';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
3
|
+
import { JSX, ReactNode } from 'react';
|
|
4
4
|
export interface HomePageLayoutProps extends Pick<PageHeadingProps, 'title'> {
|
|
5
5
|
/**
|
|
6
6
|
* Page content
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlexRowProps } from '../internals/FlexRow';
|
|
2
|
-
import { FC } from 'react';
|
|
2
|
+
import { FC, JSX } from 'react';
|
|
3
3
|
type ListItemVariant = 'list' | 'boxed';
|
|
4
4
|
export type ListItemProps = React.HTMLAttributes<HTMLElement> & Pick<FlexRowProps, 'alignItems' | 'children'> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href'> & {
|
|
5
5
|
/**
|