glints-aries 4.0.203 → 4.0.204
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/es/@next/Card/Card.d.ts +2 -2
- package/es/@next/Card/Card.js +1 -1
- package/es/@next/Card/Card.stories.d.ts +1 -0
- package/es/@next/Card/CardStyle.d.ts +1 -0
- package/es/@next/Card/CardStyle.js +6 -2
- package/es/@next/InlineError/InlineError.d.ts +5 -0
- package/es/@next/InlineError/InlineError.js +19 -0
- package/es/@next/InlineError/InlineError.stories.d.ts +5 -0
- package/es/@next/InlineError/InlineErrorStyle.d.ts +3 -0
- package/es/@next/InlineError/InlineErrorStyle.js +12 -0
- package/es/@next/InlineError/index.d.ts +1 -0
- package/es/@next/InlineError/index.js +1 -0
- package/es/@next/index.d.ts +1 -0
- package/es/@next/index.js +2 -1
- package/lib/@next/Card/Card.d.ts +2 -2
- package/lib/@next/Card/Card.js +1 -1
- package/lib/@next/Card/Card.stories.d.ts +1 -0
- package/lib/@next/Card/CardStyle.d.ts +1 -0
- package/lib/@next/Card/CardStyle.js +8 -3
- package/lib/@next/InlineError/InlineError.d.ts +5 -0
- package/lib/@next/InlineError/InlineError.js +25 -0
- package/lib/@next/InlineError/InlineError.stories.d.ts +5 -0
- package/lib/@next/InlineError/InlineErrorStyle.d.ts +3 -0
- package/lib/@next/InlineError/InlineErrorStyle.js +19 -0
- package/lib/@next/InlineError/index.d.ts +1 -0
- package/lib/@next/InlineError/index.js +9 -0
- package/lib/@next/index.d.ts +1 -0
- package/lib/@next/index.js +4 -1
- package/package.json +1 -1
package/es/@next/Card/Card.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ComponentAction } from '../../types/componentAction';
|
|
3
3
|
export declare type CardProps = {
|
|
4
|
-
heading?:
|
|
5
|
-
subheading?:
|
|
4
|
+
heading?: React.ReactNode;
|
|
5
|
+
subheading?: React.ReactNode;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
primaryAction?: ComponentAction;
|
|
8
8
|
secondaryAction?: ComponentAction;
|
package/es/@next/Card/Card.js
CHANGED
|
@@ -14,7 +14,7 @@ var CardComponent = /*#__PURE__*/React.forwardRef(function Card(_ref, ref) {
|
|
|
14
14
|
children = _ref.children;
|
|
15
15
|
var headingMarkup = /*#__PURE__*/React.createElement(Typography, {
|
|
16
16
|
as: "div",
|
|
17
|
-
variant: "
|
|
17
|
+
variant: "subtitle1"
|
|
18
18
|
}, heading);
|
|
19
19
|
var subHeadingMarkup = /*#__PURE__*/React.createElement(Typography, {
|
|
20
20
|
as: "div",
|
|
@@ -5,3 +5,4 @@ export declare const StyledCardHeaderSectionHalf: import("styled-components").St
|
|
|
5
5
|
export declare const StyledCardContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export declare const StyledCardSection: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
7
|
export declare const StyledCardActionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const StyledCustomHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -6,7 +6,7 @@ import { space12, space16, space24, space4 } from '../utilities/spacing';
|
|
|
6
6
|
export var StyledCardContainer = styled.div.withConfig({
|
|
7
7
|
displayName: "CardStyle__StyledCardContainer",
|
|
8
8
|
componentId: "sc-tpku8j-0"
|
|
9
|
-
})(["border-radius:", ";box-shadow:0px 0px 5px rgba(
|
|
9
|
+
})(["border-radius:", ";box-shadow:0px 0px 5px 0px rgba(71,71,71,0.1),0px 1px 2px 0px rgba(71,71,71,0.2);color:", ";"], borderRadius8, Neutral.B18);
|
|
10
10
|
export var StyledCardHeaderWrapper = styled.div.withConfig({
|
|
11
11
|
displayName: "CardStyle__StyledCardHeaderWrapper",
|
|
12
12
|
componentId: "sc-tpku8j-1"
|
|
@@ -30,4 +30,8 @@ export var StyledCardSection = styled.div.withConfig({
|
|
|
30
30
|
export var StyledCardActionWrapper = styled.div.withConfig({
|
|
31
31
|
displayName: "CardStyle__StyledCardActionWrapper",
|
|
32
32
|
componentId: "sc-tpku8j-6"
|
|
33
|
-
})(["display:flex;padding:20px ", " ", ";flex-direction:column-reverse;align-items:flex-end;border-top:solid 1px ", ";&[data-align='left']{flex-direction:column;align-items:flex-start;}@media (max-width:", "){padding:10px ", " ", ";}"], space24, space24, Neutral.B85, Breakpoints.large, space16, space12);
|
|
33
|
+
})(["display:flex;padding:20px ", " ", ";flex-direction:column-reverse;align-items:flex-end;border-top:solid 1px ", ";&[data-align='left']{flex-direction:column;align-items:flex-start;}@media (max-width:", "){padding:10px ", " ", ";}"], space24, space24, Neutral.B85, Breakpoints.large, space16, space12);
|
|
34
|
+
export var StyledCustomHeader = styled.div.withConfig({
|
|
35
|
+
displayName: "CardStyle__StyledCustomHeader",
|
|
36
|
+
componentId: "sc-tpku8j-7"
|
|
37
|
+
})(["& > *{margin:0;}"]);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
2
|
+
var _excluded = ["text"];
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyledText, StyledWrapper } from './InlineErrorStyle';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { Red } from '../utilities/colors';
|
|
7
|
+
export var InlineError = function InlineError(_ref) {
|
|
8
|
+
var text = _ref.text,
|
|
9
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
10
|
+
var error = !!text;
|
|
11
|
+
return error ? /*#__PURE__*/React.createElement(StyledWrapper, props, /*#__PURE__*/React.createElement(Icon, {
|
|
12
|
+
name: "ri-error-warning-fill",
|
|
13
|
+
fill: Red.B93,
|
|
14
|
+
width: 20,
|
|
15
|
+
height: 20
|
|
16
|
+
}), /*#__PURE__*/React.createElement(StyledText, {
|
|
17
|
+
variant: "subtitle2"
|
|
18
|
+
}, text)) : /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
19
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StyledText: import("styled-components").StyledComponent<({ as, children, variant, style, ...props }: import("../Typography").TypographyProps) => JSX.Element, any, {}, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { space4 } from '../utilities/spacing';
|
|
3
|
+
import { Typography } from '../Typography';
|
|
4
|
+
import { Red } from '../utilities/colors';
|
|
5
|
+
export var StyledWrapper = styled.div.withConfig({
|
|
6
|
+
displayName: "InlineErrorStyle__StyledWrapper",
|
|
7
|
+
componentId: "sc-gvg32i-0"
|
|
8
|
+
})(["display:flex;align-items:center;gap:", ";"], space4);
|
|
9
|
+
export var StyledText = styled(Typography).withConfig({
|
|
10
|
+
displayName: "InlineErrorStyle__StyledText",
|
|
11
|
+
componentId: "sc-gvg32i-1"
|
|
12
|
+
})(["margin:0;color:", ";"], Red.B93);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InlineError';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InlineError';
|
package/es/@next/index.d.ts
CHANGED
|
@@ -32,3 +32,4 @@ export { Tooltip, TooltipPosition, TooltipProps } from './Tooltip';
|
|
|
32
32
|
export { Typography, TypographyProps } from './Typography';
|
|
33
33
|
export { Breakpoints, BorderRadius, Colors, DropShadow, Fonts, Spacing };
|
|
34
34
|
export { Switch } from './Switch';
|
|
35
|
+
export { InlineError, InlineErrorProps } from './InlineError';
|
package/es/@next/index.js
CHANGED
|
@@ -32,4 +32,5 @@ export { TextInput, TextInputProps } from './TextInput';
|
|
|
32
32
|
export { Tooltip, TooltipPosition, TooltipProps } from './Tooltip';
|
|
33
33
|
export { Typography, TypographyProps } from './Typography';
|
|
34
34
|
export { Breakpoints, BorderRadius, Colors, DropShadow, Fonts, Spacing };
|
|
35
|
-
export { Switch } from './Switch';
|
|
35
|
+
export { Switch } from './Switch';
|
|
36
|
+
export { InlineError, InlineErrorProps } from './InlineError';
|
package/lib/@next/Card/Card.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ComponentAction } from '../../types/componentAction';
|
|
3
3
|
export declare type CardProps = {
|
|
4
|
-
heading?:
|
|
5
|
-
subheading?:
|
|
4
|
+
heading?: React.ReactNode;
|
|
5
|
+
subheading?: React.ReactNode;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
primaryAction?: ComponentAction;
|
|
8
8
|
secondaryAction?: ComponentAction;
|
package/lib/@next/Card/Card.js
CHANGED
|
@@ -19,7 +19,7 @@ var CardComponent = /*#__PURE__*/_react["default"].forwardRef(function Card(_ref
|
|
|
19
19
|
children = _ref.children;
|
|
20
20
|
var headingMarkup = /*#__PURE__*/_react["default"].createElement(_Typography.Typography, {
|
|
21
21
|
as: "div",
|
|
22
|
-
variant: "
|
|
22
|
+
variant: "subtitle1"
|
|
23
23
|
}, heading);
|
|
24
24
|
var subHeadingMarkup = /*#__PURE__*/_react["default"].createElement(_Typography.Typography, {
|
|
25
25
|
as: "div",
|
|
@@ -5,3 +5,4 @@ export declare const StyledCardHeaderSectionHalf: import("styled-components").St
|
|
|
5
5
|
export declare const StyledCardContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export declare const StyledCardSection: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
7
|
export declare const StyledCardActionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const StyledCustomHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
|
-
exports.StyledCardSection = exports.StyledCardHeaderWrapper = exports.StyledCardHeaderSectionHalf = exports.StyledCardHeaderSection = exports.StyledCardContentWrapper = exports.StyledCardContainer = exports.StyledCardActionWrapper = void 0;
|
|
5
|
+
exports.StyledCustomHeader = exports.StyledCardSection = exports.StyledCardHeaderWrapper = exports.StyledCardHeaderSectionHalf = exports.StyledCardHeaderSection = exports.StyledCardContentWrapper = exports.StyledCardContainer = exports.StyledCardActionWrapper = void 0;
|
|
6
6
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
7
7
|
var Breakpoints = _interopRequireWildcard(require("../utilities/breakpoints"));
|
|
8
8
|
var _borderRadius = require("../utilities/borderRadius");
|
|
@@ -13,7 +13,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
13
13
|
var StyledCardContainer = _styledComponents["default"].div.withConfig({
|
|
14
14
|
displayName: "CardStyle__StyledCardContainer",
|
|
15
15
|
componentId: "sc-tpku8j-0"
|
|
16
|
-
})(["border-radius:", ";box-shadow:0px 0px 5px rgba(
|
|
16
|
+
})(["border-radius:", ";box-shadow:0px 0px 5px 0px rgba(71,71,71,0.1),0px 1px 2px 0px rgba(71,71,71,0.2);color:", ";"], _borderRadius.borderRadius8, _colors.Neutral.B18);
|
|
17
17
|
exports.StyledCardContainer = StyledCardContainer;
|
|
18
18
|
var StyledCardHeaderWrapper = _styledComponents["default"].div.withConfig({
|
|
19
19
|
displayName: "CardStyle__StyledCardHeaderWrapper",
|
|
@@ -44,4 +44,9 @@ var StyledCardActionWrapper = _styledComponents["default"].div.withConfig({
|
|
|
44
44
|
displayName: "CardStyle__StyledCardActionWrapper",
|
|
45
45
|
componentId: "sc-tpku8j-6"
|
|
46
46
|
})(["display:flex;padding:20px ", " ", ";flex-direction:column-reverse;align-items:flex-end;border-top:solid 1px ", ";&[data-align='left']{flex-direction:column;align-items:flex-start;}@media (max-width:", "){padding:10px ", " ", ";}"], _spacing.space24, _spacing.space24, _colors.Neutral.B85, Breakpoints.large, _spacing.space16, _spacing.space12);
|
|
47
|
-
exports.StyledCardActionWrapper = StyledCardActionWrapper;
|
|
47
|
+
exports.StyledCardActionWrapper = StyledCardActionWrapper;
|
|
48
|
+
var StyledCustomHeader = _styledComponents["default"].div.withConfig({
|
|
49
|
+
displayName: "CardStyle__StyledCustomHeader",
|
|
50
|
+
componentId: "sc-tpku8j-7"
|
|
51
|
+
})(["& > *{margin:0;}"]);
|
|
52
|
+
exports.StyledCustomHeader = StyledCustomHeader;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.InlineError = void 0;
|
|
6
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _InlineErrorStyle = require("./InlineErrorStyle");
|
|
9
|
+
var _Icon = require("../Icon");
|
|
10
|
+
var _colors = require("../utilities/colors");
|
|
11
|
+
var _excluded = ["text"];
|
|
12
|
+
var InlineError = function InlineError(_ref) {
|
|
13
|
+
var text = _ref.text,
|
|
14
|
+
props = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
15
|
+
var error = !!text;
|
|
16
|
+
return error ? /*#__PURE__*/_react["default"].createElement(_InlineErrorStyle.StyledWrapper, props, /*#__PURE__*/_react["default"].createElement(_Icon.Icon, {
|
|
17
|
+
name: "ri-error-warning-fill",
|
|
18
|
+
fill: _colors.Red.B93,
|
|
19
|
+
width: 20,
|
|
20
|
+
height: 20
|
|
21
|
+
}), /*#__PURE__*/_react["default"].createElement(_InlineErrorStyle.StyledText, {
|
|
22
|
+
variant: "subtitle2"
|
|
23
|
+
}, text)) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null);
|
|
24
|
+
};
|
|
25
|
+
exports.InlineError = InlineError;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StyledText: import("styled-components").StyledComponent<({ as, children, variant, style, ...props }: import("../Typography").TypographyProps) => JSX.Element, any, {}, never>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.StyledWrapper = exports.StyledText = void 0;
|
|
6
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
7
|
+
var _spacing = require("../utilities/spacing");
|
|
8
|
+
var _Typography = require("../Typography");
|
|
9
|
+
var _colors = require("../utilities/colors");
|
|
10
|
+
var StyledWrapper = _styledComponents["default"].div.withConfig({
|
|
11
|
+
displayName: "InlineErrorStyle__StyledWrapper",
|
|
12
|
+
componentId: "sc-gvg32i-0"
|
|
13
|
+
})(["display:flex;align-items:center;gap:", ";"], _spacing.space4);
|
|
14
|
+
exports.StyledWrapper = StyledWrapper;
|
|
15
|
+
var StyledText = (0, _styledComponents["default"])(_Typography.Typography).withConfig({
|
|
16
|
+
displayName: "InlineErrorStyle__StyledText",
|
|
17
|
+
componentId: "sc-gvg32i-1"
|
|
18
|
+
})(["margin:0;color:", ";"], _colors.Red.B93);
|
|
19
|
+
exports.StyledText = StyledText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InlineError';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
var _InlineError = require("./InlineError");
|
|
5
|
+
Object.keys(_InlineError).forEach(function (key) {
|
|
6
|
+
if (key === "default" || key === "__esModule") return;
|
|
7
|
+
if (key in exports && exports[key] === _InlineError[key]) return;
|
|
8
|
+
exports[key] = _InlineError[key];
|
|
9
|
+
});
|
package/lib/@next/index.d.ts
CHANGED
|
@@ -32,3 +32,4 @@ export { Tooltip, TooltipPosition, TooltipProps } from './Tooltip';
|
|
|
32
32
|
export { Typography, TypographyProps } from './Typography';
|
|
33
33
|
export { Breakpoints, BorderRadius, Colors, DropShadow, Fonts, Spacing };
|
|
34
34
|
export { Switch } from './Switch';
|
|
35
|
+
export { InlineError, InlineErrorProps } from './InlineError';
|
package/lib/@next/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.useModal = exports.useIndexResourceState = exports.useAlert = exports.TypographyProps = exports.Typography = exports.TooltipProps = exports.TooltipPosition = exports.Tooltip = exports.TextInputProps = exports.TextInput = exports.TagProps = exports.Tag = exports.TabsProps = exports.Tabs = exports.TableRowProps = exports.TableHeaderProps = exports.TableCellProps = exports.TabProps = exports.TabModel = exports.Tab = exports.Switch = exports.SpinnerProps = exports.Spinner = exports.Spacing = exports.SimplePagination = exports.RadioButtonProps = exports.RadioButton = exports.PrimaryButton = exports.PopoverProps = exports.Popover = exports.PaginationProps = exports.Pagination = exports.OutlineMonochromeButton = exports.OutlineButton = exports.NumberInputProps = exports.NumberInput = exports.ModalProvider = exports.ModalProps = exports.ModalContext = exports.Modal = exports.LinkProps = exports.Link = exports.IndexTableProps = exports.IndexTable = exports.IconProps = exports.Icon = exports.Fonts = exports.EmptyState = exports.DropShadow = exports.Divider = exports.DestructiveButton = exports.DataTableProps = exports.DataTable = exports.CurrencyInputProps = exports.CurrencyInput = exports.Colors = exports.CheckboxProps = exports.Checkbox = exports.CardProps = exports.Card = exports.ButtonProps = exports.ButtonGroupProps = exports.ButtonGroup = exports.Button = exports.Breakpoints = exports.BorderRadius = exports.BannerProps = exports.Banner = exports.BadgeProps = exports.Badge = exports.AvatarProps = exports.Avatar = exports.AlertWithProvider = exports.AlertProvider = exports.AlertProps = exports.AlertContextProps = exports.AlertContext = exports.Alert = void 0;
|
|
4
|
+
exports.useModal = exports.useIndexResourceState = exports.useAlert = exports.TypographyProps = exports.Typography = exports.TooltipProps = exports.TooltipPosition = exports.Tooltip = exports.TextInputProps = exports.TextInput = exports.TagProps = exports.Tag = exports.TabsProps = exports.Tabs = exports.TableRowProps = exports.TableHeaderProps = exports.TableCellProps = exports.TabProps = exports.TabModel = exports.Tab = exports.Switch = exports.SpinnerProps = exports.Spinner = exports.Spacing = exports.SimplePagination = exports.RadioButtonProps = exports.RadioButton = exports.PrimaryButton = exports.PopoverProps = exports.Popover = exports.PaginationProps = exports.Pagination = exports.OutlineMonochromeButton = exports.OutlineButton = exports.NumberInputProps = exports.NumberInput = exports.ModalProvider = exports.ModalProps = exports.ModalContext = exports.Modal = exports.LinkProps = exports.Link = exports.InlineErrorProps = exports.InlineError = exports.IndexTableProps = exports.IndexTable = exports.IconProps = exports.Icon = exports.Fonts = exports.EmptyState = exports.DropShadow = exports.Divider = exports.DestructiveButton = exports.DataTableProps = exports.DataTable = exports.CurrencyInputProps = exports.CurrencyInput = exports.Colors = exports.CheckboxProps = exports.Checkbox = exports.CardProps = exports.Card = exports.ButtonProps = exports.ButtonGroupProps = exports.ButtonGroup = exports.Button = exports.Breakpoints = exports.BorderRadius = exports.BannerProps = exports.Banner = exports.BadgeProps = exports.Badge = exports.AvatarProps = exports.Avatar = exports.AlertWithProvider = exports.AlertProvider = exports.AlertProps = exports.AlertContextProps = exports.AlertContext = exports.Alert = void 0;
|
|
5
5
|
var BorderRadius = _interopRequireWildcard(require("./utilities/borderRadius"));
|
|
6
6
|
exports.BorderRadius = BorderRadius;
|
|
7
7
|
var Breakpoints = _interopRequireWildcard(require("./utilities/breakpoints"));
|
|
@@ -113,5 +113,8 @@ exports.Typography = _Typography.Typography;
|
|
|
113
113
|
exports.TypographyProps = _Typography.TypographyProps;
|
|
114
114
|
var _Switch = require("./Switch");
|
|
115
115
|
exports.Switch = _Switch.Switch;
|
|
116
|
+
var _InlineError = require("./InlineError");
|
|
117
|
+
exports.InlineError = _InlineError.InlineError;
|
|
118
|
+
exports.InlineErrorProps = _InlineError.InlineErrorProps;
|
|
116
119
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
117
120
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|