@commercelayer/app-elements 5.6.0 → 5.7.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/CodeEditorComponent--5lVbv6t.js +720 -0
- package/dist/InputDateComponent-NpCZmpgY.js +4887 -0
- package/dist/RuleEngineComponent-BbIy4caP.js +1404 -0
- package/dist/dictionaries/customers.d.ts +1 -1
- package/dist/dictionaries/orders.d.ts +7 -7
- package/dist/dictionaries/promotions.d.ts +2 -2
- package/dist/dictionaries/returns.d.ts +4 -4
- package/dist/dictionaries/shipments.d.ts +4 -4
- package/dist/dictionaries/stockTransfers.d.ts +4 -4
- package/dist/dictionaries/types.d.ts +2 -2
- package/dist/fetchCoreResourcesSuggestions-DLZhtrDX.js +124 -0
- package/dist/helpers/appsNavigation.d.ts +2 -2
- package/dist/helpers/attachments.d.ts +1 -1
- package/dist/helpers/date.d.ts +13 -13
- package/dist/helpers/downloadJsonAsFile.d.ts +1 -1
- package/dist/helpers/resources.d.ts +4 -4
- package/dist/helpers/tracking.d.ts +4 -4
- package/dist/hooks/useClickAway.d.ts +1 -1
- package/dist/hooks/useEditMetadataOverlay.d.ts +3 -3
- package/dist/hooks/useEditTagsOverlay.d.ts +2 -2
- package/dist/hooks/useIsChanged.d.ts +1 -1
- package/dist/{main-YD7ko8U-.js → main-BqlK85T7.js} +26914 -28733
- package/dist/main.d.ts +60 -60
- package/dist/main.js +1 -1
- package/dist/{parseISO-Cq_loYUP.js → parseISO-B-bk2SyC.js} +17 -17
- package/dist/providers/CoreSdkProvider/CoreSdkProvider.d.ts +1 -1
- package/dist/providers/CoreSdkProvider/makeSdkClient.d.ts +1 -1
- package/dist/providers/CoreSdkProvider/useCoreApi.d.ts +1 -1
- package/dist/providers/GTMProvider.d.ts +1 -1
- package/dist/providers/TokenProvider/MockTokenProvider.d.ts +1 -1
- package/dist/providers/TokenProvider/TokenProvider.d.ts +1 -1
- package/dist/providers/TokenProvider/getAccessTokenFromUrl.d.ts +1 -1
- package/dist/providers/TokenProvider/index.d.ts +1 -1
- package/dist/providers/TokenProvider/reducer.d.ts +2 -2
- package/dist/providers/TokenProvider/storage.d.ts +4 -4
- package/dist/providers/TokenProvider/types.d.ts +10 -10
- package/dist/providers/TokenProvider/url.d.ts +1 -1
- package/dist/providers/TokenProvider/validateToken.d.ts +2 -2
- package/dist/providers/createApp.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tailwind.config.js +141 -142
- package/dist/ui/atoms/A.d.ts +1 -1
- package/dist/ui/atoms/Alert.d.ts +1 -1
- package/dist/ui/atoms/Avatar.d.ts +3 -3
- package/dist/ui/atoms/Avatar.utils.d.ts +18 -18
- package/dist/ui/atoms/AvatarLetter/colors.d.ts +1 -1
- package/dist/ui/atoms/Badge/Badge.d.ts +3 -3
- package/dist/ui/atoms/Badge/badgeVariants.d.ts +1 -1
- package/dist/ui/atoms/ButtonFilter.d.ts +1 -1
- package/dist/ui/atoms/Card.d.ts +15 -11
- package/dist/ui/atoms/CodeBlock.d.ts +1 -1
- package/dist/ui/atoms/EmptyState.d.ts +1 -1
- package/dist/ui/atoms/Grid.d.ts +6 -6
- package/dist/ui/atoms/Hint.d.ts +1 -1
- package/dist/ui/atoms/Hr.d.ts +2 -2
- package/dist/ui/atoms/Icon/Icon.d.ts +2 -2
- package/dist/ui/atoms/Icon/icons.d.ts +1 -1
- package/dist/ui/atoms/PageHeading/PageHeading.d.ts +3 -3
- package/dist/ui/atoms/PageHeading/PageHeadingToolbar.d.ts +2 -2
- package/dist/ui/atoms/Progress.d.ts +1 -1
- package/dist/ui/atoms/RadialProgress.d.ts +2 -2
- package/dist/ui/atoms/Section.d.ts +2 -2
- package/dist/ui/atoms/Skeleton.d.ts +1 -1
- package/dist/ui/atoms/Spacer.d.ts +3 -3
- package/dist/ui/atoms/StatusDot.d.ts +1 -1
- package/dist/ui/atoms/StatusIcon.d.ts +2 -2
- package/dist/ui/atoms/Table/Table.d.ts +1 -1
- package/dist/ui/atoms/Tag.d.ts +3 -3
- package/dist/ui/atoms/Text.d.ts +6 -6
- package/dist/ui/atoms/Tooltip.d.ts +2 -2
- package/dist/ui/composite/ActionButtons/ActionButtons.d.ts +2 -2
- package/dist/ui/composite/Address.d.ts +1 -1
- package/dist/ui/composite/Dropdown/Dropdown.d.ts +1 -1
- package/dist/ui/composite/Dropdown/DropdownItem.d.ts +11 -7
- package/dist/ui/composite/Dropdown/DropdownMenu.d.ts +3 -3
- package/dist/ui/composite/HomePageLayout.d.ts +3 -3
- package/dist/ui/composite/List.d.ts +2 -2
- package/dist/ui/composite/ListDetails.d.ts +2 -2
- package/dist/ui/composite/ListDetailsItem.d.ts +3 -3
- package/dist/ui/composite/ListItem.d.ts +7 -7
- package/dist/ui/composite/PageError.d.ts +2 -2
- package/dist/ui/composite/PageLayout.d.ts +6 -6
- package/dist/ui/composite/Routes/Routes.d.ts +3 -3
- package/dist/ui/composite/Routes/index.d.ts +2 -2
- package/dist/ui/composite/Routes/utils.d.ts +5 -5
- package/dist/ui/composite/SearchBar.d.ts +1 -1
- package/dist/ui/composite/Timeline.d.ts +1 -1
- package/dist/ui/composite/Toast.d.ts +1 -1
- package/dist/ui/composite/Toolbar.d.ts +6 -6
- package/dist/ui/forms/CodeEditor/CodeEditorComponent.d.ts +4 -4
- package/dist/ui/forms/CodeEditor/HookedCodeEditor.d.ts +1 -1
- package/dist/ui/forms/CodeEditor/fetchCoreResourcesSuggestions.d.ts +7 -7
- package/dist/ui/forms/CodeEditor/index.d.ts +1 -1
- package/dist/ui/forms/Input/Input.d.ts +2 -2
- package/dist/ui/forms/InputCheckbox/HookedInputCheckbox.d.ts +1 -1
- package/dist/ui/forms/InputCheckbox/InputCheckbox.d.ts +2 -2
- package/dist/ui/forms/InputCheckbox/index.d.ts +1 -1
- package/dist/ui/forms/InputCheckboxGroup/HookedInputCheckboxGroup.d.ts +1 -1
- package/dist/ui/forms/InputCheckboxGroup/InputCheckboxGroupItem.d.ts +2 -2
- package/dist/ui/forms/InputCheckboxGroup/index.d.ts +2 -2
- package/dist/ui/forms/InputCheckboxGroup/reducer.d.ts +3 -3
- package/dist/ui/forms/InputCurrency/HookedInputCurrency.d.ts +1 -1
- package/dist/ui/forms/InputCurrency/InputCurrency.d.ts +3 -3
- package/dist/ui/forms/InputCurrency/index.d.ts +1 -1
- package/dist/ui/forms/InputCurrency/utils.d.ts +1 -1
- package/dist/ui/forms/InputCurrencyRange.d.ts +3 -3
- package/dist/ui/forms/InputDate/HookedInputDate.d.ts +1 -1
- package/dist/ui/forms/InputDateRange/HookedInputDateRange.d.ts +1 -1
- package/dist/ui/forms/InputDateRange/InputDateRange.d.ts +5 -5
- package/dist/ui/forms/InputDateRange/index.d.ts +1 -1
- package/dist/ui/forms/InputFeedback.d.ts +1 -1
- package/dist/ui/forms/InputFile.d.ts +1 -1
- package/dist/ui/forms/InputJson.d.ts +1 -1
- package/dist/ui/forms/InputRadioGroup/HookedInputRadioGroup.d.ts +1 -1
- package/dist/ui/forms/InputRadioGroup/index.d.ts +1 -1
- package/dist/ui/forms/InputResourceGroup/FullList.d.ts +3 -3
- package/dist/ui/forms/InputResourceGroup/HookedInputResourceGroup.d.ts +1 -1
- package/dist/ui/forms/InputResourceGroup/InputResourceGroup.d.ts +1 -1
- package/dist/ui/forms/InputResourceGroup/index.d.ts +2 -2
- package/dist/ui/forms/InputResourceGroup/utils.d.ts +3 -3
- package/dist/ui/forms/InputSelect/CreatableComponent.d.ts +1 -1
- package/dist/ui/forms/InputSelect/GenericAsyncComponent.d.ts +1 -1
- package/dist/ui/forms/InputSelect/HookedInputSelect.d.ts +1 -1
- package/dist/ui/forms/InputSelect/InputSelect.d.ts +1 -1
- package/dist/ui/forms/InputSelect/SelectComponent.d.ts +1 -1
- package/dist/ui/forms/InputSelect/index.d.ts +3 -3
- package/dist/ui/forms/InputSelect/styles.d.ts +1 -1
- package/dist/ui/forms/InputSelect/utils.d.ts +1 -1
- package/dist/ui/forms/InputSimpleSelect/InputSimpleSelect.d.ts +1 -1
- package/dist/ui/forms/InputSimpleSelect/index.d.ts +2 -2
- package/dist/ui/forms/InputSpinner/HookedInputSpinner.d.ts +1 -1
- package/dist/ui/forms/InputSpinner/InputSpinner.d.ts +1 -1
- package/dist/ui/forms/InputSpinner/index.d.ts +1 -1
- package/dist/ui/forms/InputSwitch/InputSwitch.d.ts +1 -1
- package/dist/ui/forms/InputSwitch/index.d.ts +1 -1
- package/dist/ui/forms/InputTextArea/index.d.ts +1 -1
- package/dist/ui/forms/InputToggleButton/HookedInputToggleButton.d.ts +1 -1
- package/dist/ui/forms/InputToggleButton/InputToggleButton.d.ts +4 -4
- package/dist/ui/forms/InputToggleButton/index.d.ts +2 -2
- package/dist/ui/forms/MarketWithCurrencySelector/HookedMarketWithCurrencySelector.d.ts +2 -2
- package/dist/ui/forms/MarketWithCurrencySelector/index.d.ts +1 -1
- package/dist/ui/forms/ReactHookForm/HookedValidationApiError.d.ts +1 -1
- package/dist/ui/forms/ReactHookForm/setApiFormErrors.d.ts +1 -1
- package/dist/ui/forms/ReactHookForm/useValidationFeedback.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/Action/ActionListItem.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/Action/ActionValue.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/Action/index.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/Condition/ArrayMatch.d.ts +0 -0
- package/dist/ui/forms/RuleEngine/Condition/ConditionListItem.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/Condition/ConditionMatcher.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/Condition/ConditionValue.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/Condition/Connector.d.ts +0 -0
- package/dist/ui/forms/RuleEngine/Condition/RangeInputs.d.ts +0 -0
- package/dist/ui/forms/RuleEngine/Condition/ValueComponents/InputArrayMatch.d.ts +2 -2
- package/dist/ui/forms/RuleEngine/Condition/ValueComponents/InputNumberRange.d.ts +2 -2
- package/dist/ui/forms/RuleEngine/Condition/ValueComponents/InputTextRange.d.ts +2 -2
- package/dist/ui/forms/RuleEngine/Condition/dictionaries.d.ts +0 -0
- package/dist/ui/forms/RuleEngine/Condition/index.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/Condition/types.d.ts +0 -0
- package/dist/ui/forms/RuleEngine/Condition/utils.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/RuleEngineComponent.d.ts +4 -4
- package/dist/ui/forms/RuleEngine/RuleEngineContext.d.ts +1 -1
- package/dist/ui/forms/RuleEngine/utils.d.ts +6 -6
- package/dist/ui/internals/FlexRow.d.ts +1 -1
- package/dist/ui/internals/InputWrapper.d.ts +6 -6
- package/dist/ui/internals/InteractiveElement.className.d.ts +4 -4
- package/dist/ui/internals/Overlay.d.ts +1 -1
- package/dist/ui/resources/ResourceAddress/ResourceAddress.d.ts +2 -2
- package/dist/ui/resources/ResourceAddress/ResourceAddressFormFields.d.ts +1 -1
- package/dist/ui/resources/ResourceAddress/index.d.ts +1 -1
- package/dist/ui/resources/ResourceAddress/useResourceAddressOverlay.d.ts +2 -2
- package/dist/ui/resources/ResourceAttachments/index.d.ts +1 -1
- package/dist/ui/resources/ResourceDetails/useEditDetailsOverlay.d.ts +2 -2
- package/dist/ui/resources/ResourceLineItems/index.d.ts +1 -1
- package/dist/ui/resources/ResourceListItem/ResourceListItem.d.ts +2 -2
- package/dist/ui/resources/ResourceListItem/ResourceListItem.mocks.d.ts +9 -0
- package/dist/ui/resources/ResourceListItem/index.d.ts +1 -1
- package/dist/ui/resources/ResourceListItem/types.d.ts +3 -3
- package/dist/ui/resources/ResourceMetadata/ResourceMetadata.d.ts +2 -2
- package/dist/ui/resources/ResourceMetadata/index.d.ts +1 -1
- package/dist/ui/resources/ResourceOrderTimeline.d.ts +1 -1
- package/dist/ui/resources/ResourcePaymentMethod.d.ts +3 -3
- package/dist/ui/resources/ResourceShipmentParcels.mocks.d.ts +2 -2
- package/dist/ui/resources/ResourceTags.d.ts +3 -3
- package/dist/ui/resources/useResourceFilters/FieldCurrencyRange.d.ts +1 -2
- package/dist/ui/resources/useResourceFilters/FiltersForm.d.ts +1 -1
- package/dist/ui/resources/useResourceFilters/FiltersNav.d.ts +1 -2
- package/dist/ui/resources/useResourceFilters/FiltersSearchBar.d.ts +3 -3
- package/dist/ui/resources/useResourceFilters/adaptFormValuesToSdk.d.ts +1 -1
- package/dist/ui/resources/useResourceFilters/adaptFormValuesToUrlQuery.d.ts +1 -1
- package/dist/ui/resources/useResourceFilters/adaptSdkToMetrics.d.ts +4 -4
- package/dist/ui/resources/useResourceFilters/adaptSdkToUrlQuery.d.ts +2 -2
- package/dist/ui/resources/useResourceFilters/adaptUrlQueryToFormValues.d.ts +1 -1
- package/dist/ui/resources/useResourceFilters/adaptUrlQueryToSdk.d.ts +1 -1
- package/dist/ui/resources/useResourceFilters/adaptUrlQueryToUrlQuery.d.ts +1 -1
- package/dist/ui/resources/useResourceFilters/adapters.types.d.ts +8 -8
- package/dist/ui/resources/useResourceFilters/timeUtils.d.ts +1 -1
- package/dist/ui/resources/useResourceFilters/types.d.ts +18 -18
- package/dist/ui/resources/useResourceFilters/useResourceFilters.d.ts +10 -11
- package/dist/ui/resources/useResourceFilters/utils.d.ts +2 -2
- package/dist/ui/resources/useResourceList/adaptMetricsOrderToCore.d.ts +1 -1
- package/dist/ui/resources/useResourceList/index.d.ts +1 -1
- package/dist/ui/resources/useResourceList/infiniteFetcher.d.ts +5 -5
- package/dist/ui/resources/useResourceList/metricsApiClient.d.ts +4 -4
- package/dist/ui/resources/useResourceList/reducer.d.ts +5 -5
- package/dist/ui/resources/useResourceList/useResourceList.d.ts +10 -10
- package/dist/ui/resources/useResourceList/utils.d.ts +1 -1
- package/dist/utils/array.d.ts +1 -1
- package/dist/utils/htmltags.d.ts +1 -1
- package/dist/utils/pagination.d.ts +4 -4
- package/dist/vendor.css +1 -1
- package/package.json +32 -35
- package/dist/CodeEditorComponent-DhpbUF3I.js +0 -739
- package/dist/InputDateComponent-BZyuY3F6.js +0 -4964
- package/dist/RuleEngineComponent-UggkM5Zc.js +0 -1390
- package/dist/fetchCoreResourcesSuggestions-CZkDwjO2.js +0 -126
package/dist/tailwind.config.js
CHANGED
|
@@ -1,197 +1,196 @@
|
|
|
1
|
-
|
|
2
|
-
const colorBrand = '#101111'
|
|
1
|
+
const colorBrand = "#101111"
|
|
3
2
|
|
|
4
3
|
/** @type {(percentage: number) => string} */
|
|
5
4
|
function alphaToHex(percentage) {
|
|
6
5
|
return Math.floor((percentage * 255) / 100)
|
|
7
6
|
.toString(16)
|
|
8
7
|
.toUpperCase()
|
|
9
|
-
.padStart(2,
|
|
8
|
+
.padStart(2, "0")
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
/** @type {import('tailwindcss').Config} */
|
|
13
12
|
module.exports = {
|
|
14
|
-
content: [
|
|
13
|
+
content: ["./src/**/*.{js,ts,jsx,tsx}"],
|
|
15
14
|
theme: {
|
|
16
15
|
screens: {
|
|
17
|
-
md:
|
|
18
|
-
lg:
|
|
19
|
-
xl:
|
|
16
|
+
md: "768px",
|
|
17
|
+
lg: "992px",
|
|
18
|
+
xl: "1280px",
|
|
20
19
|
},
|
|
21
20
|
container: {
|
|
22
21
|
screens: {
|
|
23
|
-
md:
|
|
24
|
-
}
|
|
22
|
+
md: "632px",
|
|
23
|
+
},
|
|
25
24
|
},
|
|
26
25
|
borderRadius: {
|
|
27
|
-
DEFAULT:
|
|
28
|
-
sm:
|
|
29
|
-
md:
|
|
30
|
-
full:
|
|
26
|
+
DEFAULT: "0.313rem",
|
|
27
|
+
sm: "0.188rem",
|
|
28
|
+
md: "0.625rem",
|
|
29
|
+
full: "9999px",
|
|
31
30
|
},
|
|
32
31
|
colors: {
|
|
33
|
-
inherit:
|
|
32
|
+
inherit: "inherit",
|
|
34
33
|
primary: {
|
|
35
34
|
light: `${colorBrand}${alphaToHex(80)}`,
|
|
36
35
|
DEFAULT: colorBrand,
|
|
37
|
-
50:
|
|
38
|
-
100:
|
|
39
|
-
200:
|
|
40
|
-
300:
|
|
41
|
-
400:
|
|
42
|
-
500:
|
|
43
|
-
600:
|
|
44
|
-
700:
|
|
45
|
-
800:
|
|
46
|
-
900:
|
|
36
|
+
50: "#F8F8F8",
|
|
37
|
+
100: "#EDEEEE",
|
|
38
|
+
200: "#E6E7E7",
|
|
39
|
+
300: "#BBBEBE",
|
|
40
|
+
400: "#878888",
|
|
41
|
+
500: "#686E6E",
|
|
42
|
+
600: "#404141",
|
|
43
|
+
700: "#343535",
|
|
44
|
+
800: "#282929",
|
|
45
|
+
900: "#1D1E1E",
|
|
47
46
|
},
|
|
48
|
-
transparent:
|
|
49
|
-
black:
|
|
50
|
-
white:
|
|
47
|
+
transparent: "transparent",
|
|
48
|
+
black: "#101111",
|
|
49
|
+
white: "#fff",
|
|
51
50
|
violet: {
|
|
52
|
-
DEFAULT:
|
|
53
|
-
50:
|
|
54
|
-
100:
|
|
55
|
-
200:
|
|
56
|
-
300:
|
|
57
|
-
400:
|
|
58
|
-
500:
|
|
59
|
-
600:
|
|
60
|
-
700:
|
|
61
|
-
800:
|
|
62
|
-
900:
|
|
51
|
+
DEFAULT: "#666EFF",
|
|
52
|
+
50: "#ECF2FF",
|
|
53
|
+
100: "#DDE6FF",
|
|
54
|
+
200: "#C2D1FF",
|
|
55
|
+
300: "#9CB1FF",
|
|
56
|
+
400: "#7586FF",
|
|
57
|
+
500: "#666EFF",
|
|
58
|
+
600: "#3B36F5",
|
|
59
|
+
700: "#322AD8",
|
|
60
|
+
800: "#2925AE",
|
|
61
|
+
900: "#181650",
|
|
63
62
|
},
|
|
64
63
|
gray: {
|
|
65
|
-
50:
|
|
66
|
-
100:
|
|
67
|
-
200:
|
|
68
|
-
300:
|
|
69
|
-
400:
|
|
70
|
-
500:
|
|
71
|
-
600:
|
|
72
|
-
700:
|
|
73
|
-
800:
|
|
74
|
-
900:
|
|
64
|
+
50: "#F8F8F8",
|
|
65
|
+
100: "#EDEEEE",
|
|
66
|
+
200: "#E6E7E7",
|
|
67
|
+
300: "#BBBEBE",
|
|
68
|
+
400: "#878888",
|
|
69
|
+
500: "#686E6E",
|
|
70
|
+
600: "#404141",
|
|
71
|
+
700: "#343535",
|
|
72
|
+
800: "#282929",
|
|
73
|
+
900: "#1D1E1E",
|
|
75
74
|
},
|
|
76
75
|
green: {
|
|
77
|
-
DEFAULT:
|
|
78
|
-
50:
|
|
79
|
-
100:
|
|
80
|
-
200:
|
|
81
|
-
300:
|
|
82
|
-
400:
|
|
83
|
-
500:
|
|
84
|
-
600:
|
|
85
|
-
700:
|
|
86
|
-
800:
|
|
87
|
-
900:
|
|
76
|
+
DEFAULT: "#1FDA8A",
|
|
77
|
+
50: "#F0FDF7",
|
|
78
|
+
100: "#DBFDEE",
|
|
79
|
+
200: "#B9F9DC",
|
|
80
|
+
300: "#83F2C2",
|
|
81
|
+
400: "#45E39F",
|
|
82
|
+
500: "#1FDA8A",
|
|
83
|
+
600: "#11A868",
|
|
84
|
+
700: "#11784C",
|
|
85
|
+
800: "#0A472D",
|
|
86
|
+
900: "#03160E",
|
|
88
87
|
},
|
|
89
88
|
orange: {
|
|
90
|
-
DEFAULT:
|
|
91
|
-
50:
|
|
92
|
-
100:
|
|
93
|
-
200:
|
|
94
|
-
300:
|
|
95
|
-
400:
|
|
96
|
-
500:
|
|
97
|
-
600:
|
|
98
|
-
700:
|
|
99
|
-
800:
|
|
100
|
-
900:
|
|
89
|
+
DEFAULT: "#FFAB2E",
|
|
90
|
+
50: "#FFF5E6",
|
|
91
|
+
100: "#FFEDD1",
|
|
92
|
+
200: "#FFDCA8",
|
|
93
|
+
300: "#FFCC80",
|
|
94
|
+
400: "#FFBB57",
|
|
95
|
+
500: "#FFAB2E",
|
|
96
|
+
600: "#f98107",
|
|
97
|
+
700: "#dd5c02",
|
|
98
|
+
800: "#942e0c",
|
|
99
|
+
900: "#461202",
|
|
101
100
|
},
|
|
102
101
|
red: {
|
|
103
|
-
DEFAULT:
|
|
104
|
-
50:
|
|
105
|
-
100:
|
|
106
|
-
200:
|
|
107
|
-
300:
|
|
108
|
-
400:
|
|
109
|
-
500:
|
|
110
|
-
600:
|
|
111
|
-
700:
|
|
112
|
-
800:
|
|
113
|
-
900:
|
|
102
|
+
DEFAULT: "#FF656B",
|
|
103
|
+
50: "#FFF4F4",
|
|
104
|
+
100: "#FFDFE1",
|
|
105
|
+
200: "#FFB7B9",
|
|
106
|
+
300: "#FF8E92",
|
|
107
|
+
400: "#FF656B",
|
|
108
|
+
500: "#FF2D35",
|
|
109
|
+
600: "#F40009",
|
|
110
|
+
700: "#BC0007",
|
|
111
|
+
800: "#840005",
|
|
112
|
+
900: "#4B0003",
|
|
114
113
|
},
|
|
115
114
|
teal: {
|
|
116
|
-
DEFAULT:
|
|
117
|
-
50:
|
|
118
|
-
100:
|
|
119
|
-
200:
|
|
120
|
-
300:
|
|
121
|
-
400:
|
|
122
|
-
500:
|
|
123
|
-
600:
|
|
124
|
-
700:
|
|
125
|
-
800:
|
|
126
|
-
900:
|
|
115
|
+
DEFAULT: "#055463",
|
|
116
|
+
50: "#EDFBFE",
|
|
117
|
+
100: "#C7F4FC",
|
|
118
|
+
200: "#A0ECFA",
|
|
119
|
+
300: "#79E4F8",
|
|
120
|
+
400: "#52DCF6",
|
|
121
|
+
500: "#18D0F3",
|
|
122
|
+
600: "#0BB7D8",
|
|
123
|
+
700: "#0996B1",
|
|
124
|
+
800: "#07758A",
|
|
125
|
+
900: "#055463",
|
|
127
126
|
},
|
|
128
127
|
yellow: {
|
|
129
|
-
DEFAULT:
|
|
130
|
-
50:
|
|
131
|
-
100:
|
|
132
|
-
200:
|
|
133
|
-
300:
|
|
134
|
-
400:
|
|
135
|
-
500:
|
|
136
|
-
600:
|
|
137
|
-
700:
|
|
138
|
-
800:
|
|
139
|
-
900:
|
|
128
|
+
DEFAULT: "#FFEA2E",
|
|
129
|
+
50: "#FFFCE6",
|
|
130
|
+
100: "#FFFAD1",
|
|
131
|
+
200: "#FFF6A8",
|
|
132
|
+
300: "#FFF280",
|
|
133
|
+
400: "#FFEE57",
|
|
134
|
+
500: "#FFEA2E",
|
|
135
|
+
600: "#F5DC00",
|
|
136
|
+
700: "#BDAA00",
|
|
137
|
+
800: "#857700",
|
|
138
|
+
900: "#4D4500",
|
|
140
139
|
},
|
|
141
140
|
pink: {
|
|
142
|
-
DEFAULT:
|
|
143
|
-
50:
|
|
144
|
-
100:
|
|
145
|
-
200:
|
|
146
|
-
300:
|
|
147
|
-
400:
|
|
148
|
-
500:
|
|
149
|
-
600:
|
|
150
|
-
700:
|
|
151
|
-
800:
|
|
152
|
-
900:
|
|
153
|
-
}
|
|
141
|
+
DEFAULT: "#FE84BA",
|
|
142
|
+
50: "#FFE9F3",
|
|
143
|
+
100: "#FFD5E7",
|
|
144
|
+
200: "#FEACD1",
|
|
145
|
+
300: "#FE84BA",
|
|
146
|
+
400: "#FE4C9B",
|
|
147
|
+
500: "#FD157C",
|
|
148
|
+
600: "#D80261",
|
|
149
|
+
700: "#A00148",
|
|
150
|
+
800: "#69012F",
|
|
151
|
+
900: "#310016",
|
|
152
|
+
},
|
|
154
153
|
},
|
|
155
154
|
fontFamily: {
|
|
156
|
-
sans: [
|
|
157
|
-
mono: [
|
|
155
|
+
sans: ["Manrope", "ui-sans-serif", "sans-serif"],
|
|
156
|
+
mono: ["Roboto Mono", "ui-monospace", "Menlo", "monospace"],
|
|
158
157
|
},
|
|
159
158
|
fontSize: {
|
|
160
|
-
|
|
161
|
-
xs:
|
|
162
|
-
sm:
|
|
163
|
-
base:
|
|
164
|
-
lg:
|
|
165
|
-
xl:
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
title:
|
|
159
|
+
"2xs": ".688rem",
|
|
160
|
+
xs: ".75rem",
|
|
161
|
+
sm: ".875rem",
|
|
162
|
+
base: "1rem",
|
|
163
|
+
lg: "1.125rem",
|
|
164
|
+
xl: "1.25rem",
|
|
165
|
+
"2xl": "1.5rem",
|
|
166
|
+
"2.5xl": "2rem",
|
|
167
|
+
"3xl": "1.875rem",
|
|
168
|
+
"4xl": "2.25rem",
|
|
169
|
+
"5xl": "3rem",
|
|
170
|
+
"6xl": "4rem",
|
|
171
|
+
"8xl": "6rem",
|
|
172
|
+
"10xl": "8rem",
|
|
173
|
+
title: "2rem",
|
|
175
174
|
},
|
|
176
175
|
extend: {
|
|
177
176
|
boxShadow: {
|
|
178
|
-
hover:
|
|
179
|
-
focus:
|
|
180
|
-
inputfocus:
|
|
177
|
+
hover: "0 0 0 1px #101111",
|
|
178
|
+
focus: "0 0 0 2px #101111",
|
|
179
|
+
inputfocus: "inset 0 0 0 2px #101111",
|
|
181
180
|
},
|
|
182
181
|
lineHeight: {
|
|
183
|
-
title:
|
|
182
|
+
title: "2.375rem",
|
|
184
183
|
},
|
|
185
184
|
transitionProperty: {
|
|
186
|
-
bg:
|
|
185
|
+
bg: "background",
|
|
187
186
|
},
|
|
188
187
|
objectPosition: {
|
|
189
|
-
|
|
188
|
+
"out-of-bounds": "-99999px 99999px",
|
|
190
189
|
},
|
|
191
190
|
fontWeight: {
|
|
192
|
-
inherit:
|
|
193
|
-
}
|
|
194
|
-
}
|
|
191
|
+
inherit: "inherit",
|
|
192
|
+
},
|
|
193
|
+
},
|
|
195
194
|
},
|
|
196
|
-
plugins: [require(
|
|
195
|
+
plugins: [require("@tailwindcss/forms")],
|
|
197
196
|
}
|
package/dist/ui/atoms/A.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SetRequired } from 'type-fest';
|
|
2
2
|
import { InteractiveElementProps } from '../internals/InteractiveElement.className';
|
|
3
|
-
export type AProps = SetRequired<React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
3
|
+
export type AProps = SetRequired<React.AnchorHTMLAttributes<HTMLAnchorElement>, "href"> & InteractiveElementProps;
|
|
4
4
|
/**
|
|
5
5
|
* This component wraps an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) HTML element.
|
|
6
6
|
* <span type='info'>This component is always rendered as an accessible `<a>` HTML element. It has the same props from the `Button` component, so it can renders as a button (UI only).</span>
|
package/dist/ui/atoms/Alert.d.ts
CHANGED
|
@@ -14,18 +14,18 @@ export interface AvatarProps {
|
|
|
14
14
|
/**
|
|
15
15
|
* Specify `none` to remove border
|
|
16
16
|
*/
|
|
17
|
-
border?:
|
|
17
|
+
border?: "none";
|
|
18
18
|
/**
|
|
19
19
|
* Image shape
|
|
20
20
|
* @default "rounded"
|
|
21
21
|
*/
|
|
22
|
-
shape?:
|
|
22
|
+
shape?: "rounded" | "circle";
|
|
23
23
|
/**
|
|
24
24
|
* Image size
|
|
25
25
|
* (x-small: 32px, small: 48px, normal: 58px, large: 72px)
|
|
26
26
|
* @default "normal"
|
|
27
27
|
*/
|
|
28
|
-
size?:
|
|
28
|
+
size?: "x-small" | "small" | "normal" | "large";
|
|
29
29
|
/**
|
|
30
30
|
* Image class
|
|
31
31
|
*/
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export declare const presets: {
|
|
2
2
|
gift_card: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
3
|
+
"carriers:generic": string;
|
|
4
|
+
"carriers:fedex": string;
|
|
5
|
+
"carriers:ups": string;
|
|
6
|
+
"carriers:dhl": string;
|
|
7
|
+
"payments:stripe": string;
|
|
8
|
+
"payments:braintree": string;
|
|
9
|
+
"payments:paypal": string;
|
|
10
|
+
"payments:klarna": string;
|
|
11
|
+
"payments:checkout": string;
|
|
12
|
+
"payments:adyen": string;
|
|
13
|
+
"payments:axerve": string;
|
|
14
|
+
"payments:satispay": string;
|
|
15
|
+
"payments:manual": string;
|
|
16
|
+
"payments:external": string;
|
|
17
|
+
"tax-calculators:avalara": string;
|
|
18
|
+
"tax-calculators:taxjar": string;
|
|
19
|
+
"tax-calculators:manual": string;
|
|
20
|
+
"tax-calculators:external": string;
|
|
21
21
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const BG_COLORS: ["#BBBEBE", "#79E4F8", "#FFCC80", "#FFF280", "#83F2C2", "#18D0F3", "#9CB1FF", "#FFEA2E", "#FF8E92", "#1FDA8A", "#FFAB2E", "#FE84BA", "#BDAA00", "#686E6E", "#11784C", "#BC0007", "#942E0C", "#A00148", "#322AD8", "#343535"];
|
|
2
|
-
export declare function getTextColorForBackground(backgroundColor: string):
|
|
2
|
+
export declare function getTextColorForBackground(backgroundColor: string): "black" | "white";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IconProps } from '../Icon';
|
|
2
1
|
import { default as React } from 'react';
|
|
2
|
+
import { IconProps } from '../Icon';
|
|
3
3
|
import { variantCss } from './badgeVariants';
|
|
4
|
-
export interface BadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
4
|
+
export interface BadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
5
5
|
/** Render a different variant. */
|
|
6
6
|
variant: keyof typeof variantCss;
|
|
7
|
-
icon?: IconProps[
|
|
7
|
+
icon?: IconProps["name"];
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
}
|
|
10
10
|
/** Badges are used to highlight an item's status for quick recognition. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
type BadgeVariant =
|
|
1
|
+
type BadgeVariant = "danger-solid" | "danger" | "primary-solid" | "primary" | "secondary-solid" | "secondary" | "success-solid" | "success" | "teal-solid" | "teal" | "warning-solid" | "warning";
|
|
2
2
|
export declare const variantCss: Record<BadgeVariant, string>;
|
|
3
3
|
export {};
|
|
@@ -3,7 +3,7 @@ import { StatusIconProps } from './StatusIcon';
|
|
|
3
3
|
export interface ButtonFilterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
onRemoveRequest?: () => void;
|
|
6
|
-
icon?: StatusIconProps[
|
|
6
|
+
icon?: StatusIconProps["name"];
|
|
7
7
|
label: string;
|
|
8
8
|
}
|
|
9
9
|
declare function ButtonFilter({ onClick, onRemoveRequest, label, icon, className, ...rest }: ButtonFilterProps): JSX.Element;
|
package/dist/ui/atoms/Card.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type CardProps = React.HTMLAttributes<HTMLElement> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
1
|
+
export type CardProps = React.HTMLAttributes<HTMLElement> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "href"> & {
|
|
2
2
|
/**
|
|
3
3
|
* Footer will render in a dedicated section below the main content.
|
|
4
4
|
*/
|
|
@@ -6,7 +6,7 @@ export type CardProps = React.HTMLAttributes<HTMLElement> & Pick<React.AnchorHTM
|
|
|
6
6
|
/**
|
|
7
7
|
* Set a gray background color
|
|
8
8
|
*/
|
|
9
|
-
backgroundColor?:
|
|
9
|
+
backgroundColor?: "light";
|
|
10
10
|
} & ({
|
|
11
11
|
/**
|
|
12
12
|
* Possible values are:
|
|
@@ -16,18 +16,18 @@ export type CardProps = React.HTMLAttributes<HTMLElement> & Pick<React.AnchorHTM
|
|
|
16
16
|
*
|
|
17
17
|
* @default 6
|
|
18
18
|
*/
|
|
19
|
-
gap?:
|
|
19
|
+
gap?: "1" | "4" | "6";
|
|
20
20
|
/**
|
|
21
21
|
* Set the overflow behavior. In most of the cases you might want to keep overflow visible,
|
|
22
22
|
* but when you have inner content with hover effects you might want to set overflow to hidden.
|
|
23
23
|
*/
|
|
24
|
-
overflow:
|
|
24
|
+
overflow: "visible" | "hidden";
|
|
25
25
|
} | {
|
|
26
26
|
/**
|
|
27
27
|
* When card is rendered with no gap, overflow is always intended as hidden and cannot be controlled via props,
|
|
28
28
|
* otherwise inner content will overlap the rounded corners of the card.
|
|
29
29
|
*/
|
|
30
|
-
gap:
|
|
30
|
+
gap: "none";
|
|
31
31
|
});
|
|
32
32
|
/** Card is a flexible component used to group and display content in a clear and concise format. */
|
|
33
33
|
export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponent<{
|
|
@@ -84,6 +84,8 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
84
84
|
inert?: boolean | undefined | undefined;
|
|
85
85
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
86
86
|
is?: string | undefined | undefined;
|
|
87
|
+
exportparts?: string | undefined | undefined;
|
|
88
|
+
part?: string | undefined | undefined;
|
|
87
89
|
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
88
90
|
'data-tooltip-id'?: string | undefined;
|
|
89
91
|
'data-tooltip-place'?: import('react-tooltip').PlacesType | undefined;
|
|
@@ -173,7 +175,7 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
173
175
|
onBlurCapture?: import('react').FocusEventHandler<HTMLElement> | undefined;
|
|
174
176
|
onChange?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
175
177
|
onChangeCapture?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
176
|
-
onBeforeInput?: import('react').
|
|
178
|
+
onBeforeInput?: import('react').InputEventHandler<HTMLElement> | undefined;
|
|
177
179
|
onBeforeInputCapture?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
178
180
|
onInput?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
179
181
|
onInputCapture?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
@@ -223,8 +225,6 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
223
225
|
onProgressCapture?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
224
226
|
onRateChange?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
225
227
|
onRateChangeCapture?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
226
|
-
onResize?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
227
|
-
onResizeCapture?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
228
228
|
onSeeked?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
229
229
|
onSeekedCapture?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
230
230
|
onSeeking?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
@@ -305,6 +305,8 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
305
305
|
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLElement> | undefined;
|
|
306
306
|
onScroll?: import('react').UIEventHandler<HTMLElement> | undefined;
|
|
307
307
|
onScrollCapture?: import('react').UIEventHandler<HTMLElement> | undefined;
|
|
308
|
+
onScrollEnd?: import('react').UIEventHandler<HTMLElement> | undefined;
|
|
309
|
+
onScrollEndCapture?: import('react').UIEventHandler<HTMLElement> | undefined;
|
|
308
310
|
onWheel?: import('react').WheelEventHandler<HTMLElement> | undefined;
|
|
309
311
|
onWheelCapture?: import('react').WheelEventHandler<HTMLElement> | undefined;
|
|
310
312
|
onAnimationStart?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
@@ -389,6 +391,8 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
389
391
|
inert?: boolean | undefined | undefined;
|
|
390
392
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
391
393
|
is?: string | undefined | undefined;
|
|
394
|
+
exportparts?: string | undefined | undefined;
|
|
395
|
+
part?: string | undefined | undefined;
|
|
392
396
|
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
393
397
|
'data-tooltip-id'?: string | undefined;
|
|
394
398
|
'data-tooltip-place'?: import('react-tooltip').PlacesType | undefined;
|
|
@@ -478,7 +482,7 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
478
482
|
onBlurCapture?: import('react').FocusEventHandler<HTMLElement> | undefined;
|
|
479
483
|
onChange?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
480
484
|
onChangeCapture?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
481
|
-
onBeforeInput?: import('react').
|
|
485
|
+
onBeforeInput?: import('react').InputEventHandler<HTMLElement> | undefined;
|
|
482
486
|
onBeforeInputCapture?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
483
487
|
onInput?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
484
488
|
onInputCapture?: import('react').FormEventHandler<HTMLElement> | undefined;
|
|
@@ -528,8 +532,6 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
528
532
|
onProgressCapture?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
529
533
|
onRateChange?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
530
534
|
onRateChangeCapture?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
531
|
-
onResize?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
532
|
-
onResizeCapture?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
533
535
|
onSeeked?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
534
536
|
onSeekedCapture?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
535
537
|
onSeeking?: import('react').ReactEventHandler<HTMLElement> | undefined;
|
|
@@ -610,6 +612,8 @@ export declare const Card: import('./SkeletonTemplate').SkeletonTemplateComponen
|
|
|
610
612
|
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLElement> | undefined;
|
|
611
613
|
onScroll?: import('react').UIEventHandler<HTMLElement> | undefined;
|
|
612
614
|
onScrollCapture?: import('react').UIEventHandler<HTMLElement> | undefined;
|
|
615
|
+
onScrollEnd?: import('react').UIEventHandler<HTMLElement> | undefined;
|
|
616
|
+
onScrollEndCapture?: import('react').UIEventHandler<HTMLElement> | undefined;
|
|
613
617
|
onWheel?: import('react').WheelEventHandler<HTMLElement> | undefined;
|
|
614
618
|
onWheelCapture?: import('react').WheelEventHandler<HTMLElement> | undefined;
|
|
615
619
|
onAnimationStart?: import('react').AnimationEventHandler<HTMLElement> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputWrapperBaseProps } from '../internals/InputWrapper';
|
|
2
|
-
export type CodeBlockProps = Pick<InputWrapperBaseProps,
|
|
2
|
+
export type CodeBlockProps = Pick<InputWrapperBaseProps, "label" | "hint"> & {
|
|
3
3
|
/**
|
|
4
4
|
* Show a Copy to clipboard button.
|
|
5
5
|
*/
|
|
@@ -5,7 +5,7 @@ export interface EmptyStateProps {
|
|
|
5
5
|
description?: ReactNode;
|
|
6
6
|
action?: ReactNode;
|
|
7
7
|
className?: string;
|
|
8
|
-
icon?: StatusIconProps[
|
|
8
|
+
icon?: StatusIconProps["name"];
|
|
9
9
|
}
|
|
10
10
|
declare function EmptyState({ title, description, action, icon, className, ...rest }: EmptyStateProps): JSX.Element;
|
|
11
11
|
declare namespace EmptyState {
|
package/dist/ui/atoms/Grid.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { default as React
|
|
2
|
-
export interface GridProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface GridProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3
3
|
/**
|
|
4
4
|
* Grid items
|
|
5
5
|
*/
|
|
6
|
-
children: ReactNode;
|
|
6
|
+
children: React.ReactNode;
|
|
7
7
|
/**
|
|
8
8
|
* Number of columns
|
|
9
9
|
*/
|
|
10
|
-
columns?:
|
|
10
|
+
columns?: "1" | "2" | "auto";
|
|
11
11
|
/**
|
|
12
12
|
* Items alignment.
|
|
13
13
|
* When not set all items will hame same height (items-stretch)
|
|
14
14
|
*/
|
|
15
|
-
alignItems?:
|
|
15
|
+
alignItems?: "center" | "start" | "end";
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Render the children as a grid.
|
|
19
19
|
* By default the grid will have 1 column and al items will have same height.
|
|
20
20
|
* It's possible to set the number of columns and the alignment of the items.
|
|
21
21
|
*/
|
|
22
|
-
declare function Grid({ children, columns, className, alignItems, ...rest }: GridProps): JSX.Element;
|
|
22
|
+
declare function Grid({ children, columns, className, alignItems, ...rest }: GridProps): React.JSX.Element;
|
|
23
23
|
declare namespace Grid {
|
|
24
24
|
var displayName: string;
|
|
25
25
|
}
|