td-stylekit 30.7.0 → 30.8.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/CHANGELOG.md +14 -0
- package/dist/es/ActionBar/ActionBar.js +3 -3
- package/dist/es/ActionBar/components/ActionMenu.js +1 -1
- package/dist/es/ActionBar/components/Container.js +1 -1
- package/dist/es/ActionBar/components/IconButton.js +1 -1
- package/dist/es/ActionBar/components/Prefix.js +1 -1
- package/dist/es/ActionBar/index.js +1 -1
- package/dist/es/Badge/Badge.js +2 -2
- package/dist/es/Badge/index.js +1 -1
- package/dist/es/BarChart/BarChart.js +4 -4
- package/dist/es/BarChart/index.js +1 -1
- package/dist/es/Box/Box.js +4 -4
- package/dist/es/Box/index.js +1 -1
- package/dist/es/Button/Button.js +12 -12
- package/dist/es/Button/elements.js +1 -1
- package/dist/es/Canvas/elements.js +1 -1
- package/dist/es/Canvas/index.js +1 -1
- package/dist/es/Card/Card.js +1 -1
- package/dist/es/Card/index.js +1 -1
- package/dist/es/ChartPrimitives/ChartLegend.js +4 -4
- package/dist/es/ChartPrimitives/Container.js +1 -1
- package/dist/es/ChartPrimitives/Defs.js +9 -9
- package/dist/es/ChartPrimitives/Tooltip.js +16 -16
- package/dist/es/ChartPrimitives/index.js +1 -1
- package/dist/es/ChartPrimitives/utils.js +7 -7
- package/dist/es/Checkbox/Checkbox.js +12 -12
- package/dist/es/Checkbox/index.js +1 -1
- package/dist/es/CollapsibleToggle/CollapsibleToggle.js +2 -2
- package/dist/es/CollapsibleToggle/index.js +1 -1
- package/dist/es/ColorPicker/ColorPicker.js +6 -6
- package/dist/es/ColorPicker/index.js +1 -1
- package/dist/es/ColorPicker/utils.js +5 -5
- package/dist/es/Column/Column.js +4 -4
- package/dist/es/Column/index.js +1 -1
- package/dist/es/ComparisonChart/ComparisonChart.js +4 -4
- package/dist/es/ComparisonChart/index.js +1 -1
- package/dist/es/ComponentGroup/index.js +1 -1
- package/dist/es/DataGrid/DataGrid.js +17 -17
- package/dist/es/DataGrid/components/BasicColumn.js +4 -4
- package/dist/es/DataGrid/components/CategoryFilter.js +4 -4
- package/dist/es/DataGrid/components/CollapsibleCell.js +15 -15
- package/dist/es/DataGrid/components/ColumnHeader.js +10 -10
- package/dist/es/DataGrid/components/ColumnHeaderActions.js +10 -10
- package/dist/es/DataGrid/components/ColumnHeaderDragHandle.js +6 -6
- package/dist/es/DataGrid/components/FocusableRow.js +9 -9
- package/dist/es/DataGrid/components/InputCell.js +10 -10
- package/dist/es/DataGrid/components/ScrollableTable.js +10 -10
- package/dist/es/DataGrid/components/index.js +1 -1
- package/dist/es/DataGrid/elements.d.ts +10 -1
- package/dist/es/DataGrid/elements.js +4 -4
- package/dist/es/DataGrid/index.js +1 -1
- package/dist/es/DataGrid/renderers.js +2 -2
- package/dist/es/DataGrid/utils.js +2 -2
- package/dist/es/DateControl/DateControl.js +8 -8
- package/dist/es/DateControl/elements.js +1 -1
- package/dist/es/DatePicker/DatePicker.js +10 -10
- package/dist/es/DatePicker/index.js +1 -1
- package/dist/es/DatePicker/utils.js +1 -1
- package/dist/es/DistributionChart/DistributionChart.js +3 -3
- package/dist/es/DistributionChart/index.js +1 -1
- package/dist/es/Drawer/Drawer.js +4 -4
- package/dist/es/Drawer/elements.js +16 -15
- package/dist/es/Drawer/index.js +1 -1
- package/dist/es/DropdownButton/DropdownButton.js +12 -12
- package/dist/es/DropdownButton/DropdownButtonElements.js +10 -10
- package/dist/es/DropdownButton/index.js +1 -1
- package/dist/es/FileInput/FileInput.js +10 -10
- package/dist/es/FileInput/index.js +1 -1
- package/dist/es/FormControl/FormControl.js +12 -12
- package/dist/es/FormControl/FormRow.js +4 -4
- package/dist/es/FormControl/components/CheckboxGroup.js +6 -6
- package/dist/es/FormControl/components/RadioGroup.js +1 -1
- package/dist/es/FormControl/components/Textarea.js +2 -2
- package/dist/es/FormControl/elements.js +1 -1
- package/dist/es/FormControl/index.js +1 -1
- package/dist/es/FormField/utils.js +5 -5
- package/dist/es/FormFieldAddon/FormFieldAddon.js +4 -4
- package/dist/es/FormFieldAddon/FormFieldAddonElements.js +1 -1
- package/dist/es/FormFieldAddon/index.js +1 -1
- package/dist/es/FormLabel/elements.js +1 -1
- package/dist/es/FormLabel/index.js +1 -1
- package/dist/es/FormModal/FormModal.js +4 -4
- package/dist/es/FormModal/index.js +1 -1
- package/dist/es/Google/Google.js +1 -1
- package/dist/es/Google/index.js +1 -1
- package/dist/es/Grid/Grid.js +1 -1
- package/dist/es/Grid/GridItem.js +1 -1
- package/dist/es/Grid/index.js +1 -1
- package/dist/es/GrowthRateChart/GrowthRateChart.js +2 -2
- package/dist/es/GrowthRateChart/index.js +1 -1
- package/dist/es/Heading/Heading.js +4 -4
- package/dist/es/Heading/index.js +1 -1
- package/dist/es/Highlighter/Highlighter.js +1 -1
- package/dist/es/Highlighter/index.js +1 -1
- package/dist/es/Histogram/Histogram.js +9 -9
- package/dist/es/Histogram/index.js +1 -1
- package/dist/es/Icon/Icon.js +7 -7
- package/dist/es/Icon/staticTypes.d.ts +2 -0
- package/dist/es/Icon/types.js +7 -1
- package/dist/es/IconBar/IconBar.js +12 -8
- package/dist/es/IconBar/IconItem.js +8 -7
- package/dist/es/IconBar/LogoItem.js +1 -1
- package/dist/es/IconBar/index.js +1 -1
- package/dist/es/IconBar/variants.js +1 -1
- package/dist/es/Input/Input.js +16 -16
- package/dist/es/Input/index.js +1 -1
- package/dist/es/LeftTruncatedText/LeftTruncatedText.js +1 -1
- package/dist/es/LeftTruncatedText/index.js +1 -1
- package/dist/es/Link/Link.js +1 -1
- package/dist/es/Link/index.js +1 -1
- package/dist/es/Loader/Loader.js +1 -1
- package/dist/es/Loader/LoaderDiamond.js +1 -1
- package/dist/es/Loader/LoaderDots.js +1 -1
- package/dist/es/Loader/index.js +1 -1
- package/dist/es/Logo/Logo.js +1 -1
- package/dist/es/Logo/index.js +1 -1
- package/dist/es/Menu/Menu.js +12 -12
- package/dist/es/Menu/MenuElements.js +12 -12
- package/dist/es/Menu/index.js +1 -1
- package/dist/es/MiddleTruncatedText/MiddleTruncatedText.js +1 -1
- package/dist/es/MiddleTruncatedText/index.js +1 -1
- package/dist/es/Modal/Modal.js +11 -11
- package/dist/es/Modal/components/Body.js +3 -3
- package/dist/es/Modal/components/Flyout.js +1 -1
- package/dist/es/Modal/components/Footer.js +2 -2
- package/dist/es/Modal/components/FooterConfirmation.js +4 -4
- package/dist/es/Modal/components/Header.js +4 -4
- package/dist/es/Modal/components/MenuBody.js +4 -4
- package/dist/es/Modal/components/ModalMessage.js +12 -12
- package/dist/es/Modal/components/ModalOverlay.js +3 -3
- package/dist/es/Modal/components/elements.js +2 -2
- package/dist/es/Modal/components/index.js +1 -1
- package/dist/es/Modal/constants.js +2 -2
- package/dist/es/Modal/index.js +1 -1
- package/dist/es/MultiSelect/MultiSelect.js +15 -15
- package/dist/es/MultiSelect/elements.d.ts +1 -1
- package/dist/es/MultiSelect/elements.js +4 -4
- package/dist/es/Paragraph/Paragraph.js +1 -1
- package/dist/es/Paragraph/index.js +1 -1
- package/dist/es/PieChart/PieChart.js +6 -6
- package/dist/es/Popover/Popover.js +4 -4
- package/dist/es/Popover/index.js +1 -1
- package/dist/es/PositiveNegativeBarChart/PositiveNegativeBarChart.js +4 -4
- package/dist/es/Radio/Radio.js +12 -12
- package/dist/es/Radio/index.js +1 -1
- package/dist/es/RatioPieChart/RatioPieChart.js +1 -1
- package/dist/es/RightTruncatedText/RightTruncatedText.js +1 -1
- package/dist/es/RightTruncatedText/index.js +1 -1
- package/dist/es/Row/Row.js +2 -2
- package/dist/es/Row/index.js +1 -1
- package/dist/es/SecondaryNavigation/SecondaryNavigation.js +4 -4
- package/dist/es/SecondaryNavigation/elements/Item.js +1 -1
- package/dist/es/SecondaryNavigation/elements/Section.js +4 -4
- package/dist/es/SecondaryNavigation/elements/Title.js +1 -1
- package/dist/es/SecondaryNavigation/elements/Wrapper.js +1 -1
- package/dist/es/SecondaryNavigation/index.js +1 -1
- package/dist/es/Section/Section.js +12 -12
- package/dist/es/Section/elements.d.ts +1 -1
- package/dist/es/Section/elements.js +2 -2
- package/dist/es/Section/index.js +1 -1
- package/dist/es/Select/Select.js +12 -12
- package/dist/es/Select/components/CreatableSelect.js +6 -6
- package/dist/es/Select/components/MenuList.js +2 -2
- package/dist/es/Select/components/MenuPortal.js +1 -1
- package/dist/es/Select/components/Option.js +10 -10
- package/dist/es/Select/components/index.js +1 -1
- package/dist/es/Select/elements.js +1 -1
- package/dist/es/Select/index.js +1 -1
- package/dist/es/Select/utils.js +7 -7
- package/dist/es/Select/variantProps.js +8 -8
- package/dist/es/Shuttle/Shuttle.js +10 -10
- package/dist/es/Shuttle/elements.js +1 -1
- package/dist/es/Shuttle/index.js +1 -1
- package/dist/es/SimpleModal/SimpleModal.js +4 -4
- package/dist/es/SimpleModal/index.js +1 -1
- package/dist/es/Slider/Slider.js +7 -7
- package/dist/es/Slider/elements.js +1 -1
- package/dist/es/Slider/index.js +1 -1
- package/dist/es/Tabs/Tabs.js +3 -3
- package/dist/es/Tabs/elements.js +1 -1
- package/dist/es/Tabs/index.js +1 -1
- package/dist/es/Tagger/Tagger.js +12 -12
- package/dist/es/Tagger/TaggerElements.js +4 -4
- package/dist/es/Tagger/components/PopupSelector.js +12 -12
- package/dist/es/Tagger/components/PopupSelectorElements.js +1 -1
- package/dist/es/Tagger/index.js +1 -1
- package/dist/es/Tagger/variantProps.js +4 -4
- package/dist/es/Text/Text.js +6 -6
- package/dist/es/Text/index.js +1 -1
- package/dist/es/ThemeProvider/ThemeProvider.d.ts +57 -0
- package/dist/es/ThemeProvider/ThemeProvider.js +6 -1
- package/dist/es/ThemeProvider/accessibility.js +1 -1
- package/dist/es/ThemeProvider/index.js +1 -1
- package/dist/es/ThemeProvider/overridable.d.ts +9 -0
- package/dist/es/ThemeProvider/overridable.js +9 -0
- package/dist/es/ThemeProvider/reskinTheme.d.ts +64 -0
- package/dist/es/ThemeProvider/reskinTheme.js +143 -0
- package/dist/es/ThemeProvider/types.d.ts +1 -1
- package/dist/es/TimeControl/TimeControl.js +5 -5
- package/dist/es/TimeControl/elements.js +1 -1
- package/dist/es/TimeControl/index.js +1 -1
- package/dist/es/TimeControl/utils.js +4 -4
- package/dist/es/TimePicker/TimePicker.js +5 -5
- package/dist/es/TimePicker/components/Container.js +1 -1
- package/dist/es/TimePicker/components/PeriodSelector.js +1 -1
- package/dist/es/TimePicker/components/Separator.js +1 -1
- package/dist/es/TimePicker/components/Spinner.js +5 -5
- package/dist/es/TimePicker/index.js +1 -1
- package/dist/es/TimePicker/utils.js +1 -1
- package/dist/es/Toast/Toast.js +10 -10
- package/dist/es/Toast/elements.js +2 -2
- package/dist/es/Toast/index.js +1 -1
- package/dist/es/Toggle/Toggle.js +10 -10
- package/dist/es/Toggle/index.js +1 -1
- package/dist/es/TooltipPopover/TooltipPopover.js +8 -8
- package/dist/es/TooltipPopover/index.js +1 -1
- package/dist/es/TooltipPopover/useWaitForDOMRef.js +4 -4
- package/dist/es/Tree/NodeContent.js +1 -1
- package/dist/es/Tree/NodeContextMenu.js +4 -4
- package/dist/es/Tree/Tree.js +8 -8
- package/dist/es/Tree/TreeNode.js +3 -3
- package/dist/es/Tree/elements.js +2 -2
- package/dist/es/Tree/index.js +1 -1
- package/dist/es/UserAvatar/UserAvatar.js +4 -4
- package/dist/es/UserAvatar/index.js +1 -1
- package/dist/es/View/View.js +6 -6
- package/dist/es/View/index.js +1 -1
- package/dist/es/VisuallyHidden/VisuallyHidden.js +8 -8
- package/dist/es/VisuallyHidden/index.js +1 -1
- package/dist/es/VolumeChart/VolumeChart.js +3 -3
- package/dist/es/VolumeChart/index.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/mixins/border.js +1 -1
- package/dist/es/mixins/index.js +1 -1
- package/dist/es/utils/CloseWrapper.js +1 -1
- package/dist/es/utils/cloneElementWithCss.js +1 -1
- package/dist/es/utils/css.js +5 -5
- package/dist/es/utils/form.js +5 -5
- package/dist/es/utils/hooks.js +4 -4
- package/dist/es/utils/index.js +1 -1
- package/dist/es/utils/isPropValid.js +1 -1
- package/dist/es/utils/testingLibrary.js +2 -2
- package/package.json +2 -2
|
@@ -9,11 +9,12 @@ var _utils = require("../utils");
|
|
|
9
9
|
var _accessibility = require("./accessibility");
|
|
10
10
|
var _icons = require("./icons");
|
|
11
11
|
var _theme = require("./theme");
|
|
12
|
+
var _reskinTheme = require("./reskinTheme");
|
|
12
13
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
13
14
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
15
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
16
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
-
function _defineProperty(
|
|
17
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
19
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
20
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
@@ -40,4 +41,8 @@ function ThemeProvider(_ref) {
|
|
|
40
41
|
ThemeProvider.v5Theme = _objectSpread(_objectSpread({}, _theme.theme), {}, {
|
|
41
42
|
icons: _icons.typesv5,
|
|
42
43
|
name: 'v5'
|
|
44
|
+
});
|
|
45
|
+
ThemeProvider.v5ReskinTheme = _objectSpread(_objectSpread({}, _reskinTheme.theme), {}, {
|
|
46
|
+
icons: _icons.typesv5,
|
|
47
|
+
name: 'v5Reskin'
|
|
43
48
|
});
|
|
@@ -8,7 +8,7 @@ var _theme = require("./theme");
|
|
|
8
8
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
9
9
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
|
-
function _defineProperty(
|
|
11
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
13
13
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14
14
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
@@ -38,6 +38,6 @@ var _overridable = _interopRequireDefault(require("./overridable"));
|
|
|
38
38
|
var _theme = require("./theme");
|
|
39
39
|
var _ThemeProvider = _interopRequireDefault(require("./ThemeProvider"));
|
|
40
40
|
var _themeUtils = require("./utils/themeUtils");
|
|
41
|
-
function _interopRequireDefault(
|
|
41
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
42
42
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
43
43
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
@@ -62,6 +62,9 @@ declare const Overridable: {
|
|
|
62
62
|
Disabled: symbol;
|
|
63
63
|
Outside: symbol;
|
|
64
64
|
};
|
|
65
|
+
Drawer: {
|
|
66
|
+
Root: symbol;
|
|
67
|
+
};
|
|
65
68
|
DropdownButton: {
|
|
66
69
|
Root: symbol;
|
|
67
70
|
ActionTrigger: symbol;
|
|
@@ -74,6 +77,12 @@ declare const Overridable: {
|
|
|
74
77
|
Icon: {
|
|
75
78
|
Root: symbol;
|
|
76
79
|
};
|
|
80
|
+
IconBar: {
|
|
81
|
+
Root: symbol;
|
|
82
|
+
IconItemLink: symbol;
|
|
83
|
+
IconItemContainer: symbol;
|
|
84
|
+
IconItemInnerContainer: symbol;
|
|
85
|
+
};
|
|
77
86
|
Input: {
|
|
78
87
|
Root: symbol;
|
|
79
88
|
};
|
|
@@ -70,6 +70,9 @@ var Overridable = {
|
|
|
70
70
|
Disabled: Symbol('DatePicker.disabled'),
|
|
71
71
|
Outside: Symbol('DatePicker.outside')
|
|
72
72
|
},
|
|
73
|
+
Drawer: {
|
|
74
|
+
Root: Symbol('Drawer.Root')
|
|
75
|
+
},
|
|
73
76
|
DropdownButton: {
|
|
74
77
|
Root: Symbol('DropdownButton.Root'),
|
|
75
78
|
ActionTrigger: Symbol('DropdownButton.ActionTrigger'),
|
|
@@ -82,6 +85,12 @@ var Overridable = {
|
|
|
82
85
|
Icon: {
|
|
83
86
|
Root: Symbol('Icon.Root')
|
|
84
87
|
},
|
|
88
|
+
IconBar: {
|
|
89
|
+
Root: Symbol('IconBar.Root'),
|
|
90
|
+
IconItemLink: Symbol('IconBar.IconItemLink'),
|
|
91
|
+
IconItemContainer: Symbol('IconBar.IconItemContainer'),
|
|
92
|
+
IconItemInnerContainer: Symbol('IconBar.IconItemInnerContainer')
|
|
93
|
+
},
|
|
85
94
|
Input: {
|
|
86
95
|
Root: Symbol('Input.Root')
|
|
87
96
|
},
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const palette: {
|
|
2
|
+
success: string[];
|
|
3
|
+
warning: string[];
|
|
4
|
+
error: string[];
|
|
5
|
+
primary: string[];
|
|
6
|
+
secondary: string[];
|
|
7
|
+
neutral: string[];
|
|
8
|
+
};
|
|
9
|
+
export declare const theme: {
|
|
10
|
+
readonly space: string[];
|
|
11
|
+
readonly palette: {
|
|
12
|
+
success: string[];
|
|
13
|
+
warning: string[];
|
|
14
|
+
error: string[];
|
|
15
|
+
primary: string[];
|
|
16
|
+
secondary: string[];
|
|
17
|
+
neutral: string[];
|
|
18
|
+
};
|
|
19
|
+
readonly fontFamily: {
|
|
20
|
+
body: string;
|
|
21
|
+
monospace: string;
|
|
22
|
+
};
|
|
23
|
+
readonly fontSize: string[];
|
|
24
|
+
readonly lineHeight: number[];
|
|
25
|
+
readonly radius: string[];
|
|
26
|
+
readonly borderWidth: string[];
|
|
27
|
+
readonly grid: number[];
|
|
28
|
+
readonly shadows: {
|
|
29
|
+
small: string;
|
|
30
|
+
big: string;
|
|
31
|
+
pill: string;
|
|
32
|
+
bigCentered: string;
|
|
33
|
+
popover: string;
|
|
34
|
+
secondaryNavActiveItem: string;
|
|
35
|
+
flyout: string;
|
|
36
|
+
};
|
|
37
|
+
readonly sizes: {
|
|
38
|
+
PageHeaderIcon: number;
|
|
39
|
+
};
|
|
40
|
+
readonly zIndex: {
|
|
41
|
+
Base: number;
|
|
42
|
+
Overlay: number;
|
|
43
|
+
FormControl: number;
|
|
44
|
+
SecondaryNav: number;
|
|
45
|
+
SecondaryNavActiveItem: number;
|
|
46
|
+
PrimaryNav: number;
|
|
47
|
+
PopOver: number;
|
|
48
|
+
PageHeaderSearch: number;
|
|
49
|
+
Modal: number;
|
|
50
|
+
Tether: number;
|
|
51
|
+
GlobalNav: number;
|
|
52
|
+
Toast: number;
|
|
53
|
+
};
|
|
54
|
+
readonly gradient: {
|
|
55
|
+
main: string;
|
|
56
|
+
neutral: string;
|
|
57
|
+
};
|
|
58
|
+
readonly overrides: {
|
|
59
|
+
[x: symbol]: ((props: any) => any) | {
|
|
60
|
+
borderRadius: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=reskinTheme.d.ts.map
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.theme = exports.palette = void 0;
|
|
7
|
+
var _overridable = _interopRequireDefault(require("./overridable"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
12
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
|
+
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
14
|
+
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
15
|
+
/*
|
|
16
|
+
Space constants used for margins and paddings based on the base font size of 16px
|
|
17
|
+
*/
|
|
18
|
+
var space = ['0',
|
|
19
|
+
// 0px
|
|
20
|
+
'0.25rem',
|
|
21
|
+
// 4px
|
|
22
|
+
'0.5rem',
|
|
23
|
+
// 8px
|
|
24
|
+
'0.75rem',
|
|
25
|
+
// 12px
|
|
26
|
+
'1rem',
|
|
27
|
+
// 16px
|
|
28
|
+
'1.25rem',
|
|
29
|
+
// 20px
|
|
30
|
+
'1.5rem',
|
|
31
|
+
// 24px
|
|
32
|
+
'1.75rem',
|
|
33
|
+
// 28px
|
|
34
|
+
'2rem',
|
|
35
|
+
// 32px
|
|
36
|
+
'2.25rem' // 36px
|
|
37
|
+
];
|
|
38
|
+
|
|
39
|
+
// Note: this color palette is guaranteed not to change in shape/size.
|
|
40
|
+
// Only specific colors may change from this point onwards.
|
|
41
|
+
var palette = exports.palette = {
|
|
42
|
+
success: ['#EBFFF1', '#059400'],
|
|
43
|
+
warning: ['#FFF5EA', '#CA6C00'],
|
|
44
|
+
error: ['#FFF0F0', '#B63535'],
|
|
45
|
+
primary: ['#F1F4FC', '#D0DBF6', '#AFC3F1', '#5F89E6', '#376BE0', '#1957DB'],
|
|
46
|
+
secondary: ['#F3EEFF', '#DDCDFD', '#BA9CFC', '#A37AFD', '#824BFB', '#6F2EFF'],
|
|
47
|
+
neutral: ['#FFFFFF', '#FAFAFA', '#F4F4F4', '#EEEEEE', '#E6E6E6', '#DADADA', '#CCCCCC', '#BDBDBD', '#AEAEAE', '#999999', '#6D6D6D', '#212121']
|
|
48
|
+
};
|
|
49
|
+
var fontFamily = {
|
|
50
|
+
body: '"Figtree", sans-serif',
|
|
51
|
+
monospace: '"Roboto Mono", monospace'
|
|
52
|
+
};
|
|
53
|
+
var fontSize = ['0.8rem', '0.875rem', '1rem', '1.25rem', '1.5rem', '1.75rem', '2rem', '2.125rem'];
|
|
54
|
+
var lineHeight = [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 2];
|
|
55
|
+
var radius = ['0.25rem', '0.5rem', '0.75rem', '1rem', '1.25rem'];
|
|
56
|
+
var borderWidth = ['0', '1px', '2px', '4px'];
|
|
57
|
+
var grid = [0, 1 / 12, 2 / 12, 3 / 12, 4 / 12, 5 / 12, 6 / 12, 7 / 12, 8 / 12, 9 / 12, 10 / 12, 11 / 12, 12 / 12];
|
|
58
|
+
var shadows = {
|
|
59
|
+
small: '0 2px 0 0 rgba(0, 0, 0, 0.05)',
|
|
60
|
+
big: '0 8px 10px 00 rgba(0, 0, 0, 0.1), 0 2px 0 0 rgba(0, 0, 0, 0.05)',
|
|
61
|
+
pill: '0px 0px 8px 0px rgba(0,0,0,0.2)',
|
|
62
|
+
bigCentered: '0 0 10px 00 rgba(0, 0, 0, 0.1), 0 2px 0 0 rgba(0, 0, 0, 0.05)',
|
|
63
|
+
popover: '0 6px 15px 0 rgba(0, 0, 0, 0.05), 0 -1px 4px 0 rgba(0, 0, 0, 0.05)',
|
|
64
|
+
secondaryNavActiveItem: '0 2px 1px rgba(255, 255, 255, .7), inset 0px 2px 1px rgba(255, 255, 255, .7)',
|
|
65
|
+
flyout: "inset 8px 0px 10px 0px rgba(0, 0, 0, 0.1), 0 8px 10px 00 rgba(0, 0, 0, 0.1), 0 2px 0 0 rgba(0, 0, 0, 0.05)"
|
|
66
|
+
};
|
|
67
|
+
var sizes = {
|
|
68
|
+
PageHeaderIcon: 87
|
|
69
|
+
};
|
|
70
|
+
var zIndex = {
|
|
71
|
+
Base: 0,
|
|
72
|
+
Overlay: 1,
|
|
73
|
+
FormControl: 2,
|
|
74
|
+
SecondaryNav: 4,
|
|
75
|
+
SecondaryNavActiveItem: 5,
|
|
76
|
+
PrimaryNav: 6,
|
|
77
|
+
PopOver: 10,
|
|
78
|
+
PageHeaderSearch: 12,
|
|
79
|
+
Modal: 20,
|
|
80
|
+
Tether: 30,
|
|
81
|
+
GlobalNav: 40,
|
|
82
|
+
Toast: 60
|
|
83
|
+
};
|
|
84
|
+
var gradient = {
|
|
85
|
+
main: 'linear-gradient(119.77deg, #EFF7FF 19.45%, #FFF6F3 82.62%)',
|
|
86
|
+
neutral: 'linear-gradient(179.94deg, #FFFFFF 8.73%, #F5F5F5 33.78%)'
|
|
87
|
+
};
|
|
88
|
+
var overrides = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _overridable["default"].IconBar.Root, function (props) {
|
|
89
|
+
return props.colorVariant === 'dark' && {
|
|
90
|
+
background: "linear-gradient(180deg, #141023 0%, #2E41A6 100%)",
|
|
91
|
+
borderRadius: 0
|
|
92
|
+
};
|
|
93
|
+
}), _overridable["default"].IconBar.IconItemContainer, function (props) {
|
|
94
|
+
return (
|
|
95
|
+
// dark variant
|
|
96
|
+
props.variantStyles.backgroundColor === palette.primary[3] && props.active && {
|
|
97
|
+
'&:before': {
|
|
98
|
+
content: 'none'
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
}), _overridable["default"].IconBar.IconItemInnerContainer, function (props) {
|
|
103
|
+
return (
|
|
104
|
+
// dark variant
|
|
105
|
+
props.variantStyles.backgroundColor === palette.primary[3] && props.active && {
|
|
106
|
+
'&:before,&:after': {
|
|
107
|
+
content: 'none'
|
|
108
|
+
},
|
|
109
|
+
borderRadius: radius[1],
|
|
110
|
+
backgroundColor: palette.secondary[4]
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
}), _overridable["default"].IconBar.IconItemLink, function (props) {
|
|
114
|
+
return (
|
|
115
|
+
// dark variant
|
|
116
|
+
props.variantStyles.backgroundColor === palette.primary[3] && {
|
|
117
|
+
color: palette.neutral[0],
|
|
118
|
+
borderRadius: radius[1],
|
|
119
|
+
width: '100%',
|
|
120
|
+
height: '100%',
|
|
121
|
+
':hover': {
|
|
122
|
+
backgroundColor: "rgb(from ".concat(palette.secondary[4], " r g b / 45%)")
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
}), _overridable["default"].Drawer.Root, {
|
|
127
|
+
borderRadius: 0
|
|
128
|
+
});
|
|
129
|
+
var theme = exports.theme = {
|
|
130
|
+
space: space,
|
|
131
|
+
palette: palette,
|
|
132
|
+
fontFamily: fontFamily,
|
|
133
|
+
fontSize: fontSize,
|
|
134
|
+
lineHeight: lineHeight,
|
|
135
|
+
radius: radius,
|
|
136
|
+
borderWidth: borderWidth,
|
|
137
|
+
grid: grid,
|
|
138
|
+
shadows: shadows,
|
|
139
|
+
sizes: sizes,
|
|
140
|
+
zIndex: zIndex,
|
|
141
|
+
gradient: gradient,
|
|
142
|
+
overrides: overrides
|
|
143
|
+
};
|
|
@@ -11,7 +11,7 @@ type IconThemeTypes = {
|
|
|
11
11
|
export type CSSFunction = (props: any) => CSSObject;
|
|
12
12
|
type themeType = typeof theme & {
|
|
13
13
|
overrides?: typeof Overridable;
|
|
14
|
-
name?: 'v5';
|
|
14
|
+
name?: 'v5' | 'v5Reskin';
|
|
15
15
|
icons?: IconThemeTypes;
|
|
16
16
|
};
|
|
17
17
|
declare module '@emotion/react' {
|
|
@@ -12,13 +12,13 @@ var _utils = require("./utils");
|
|
|
12
12
|
var _elements = require("./elements");
|
|
13
13
|
var _TooltipPopover = _interopRequireDefault(require("../TooltipPopover"));
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
|
-
function _interopRequireDefault(
|
|
16
|
-
function _slicedToArray(
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
17
17
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18
|
-
function _unsupportedIterableToArray(
|
|
19
|
-
function _arrayLikeToArray(
|
|
18
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
19
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
20
20
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
21
|
-
function _arrayWithHoles(
|
|
21
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
22
22
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
23
23
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
24
24
|
var TimeControl = exports.TimeControl = function TimeControl(props) {
|
|
@@ -7,7 +7,7 @@ exports.TimeFormControl = exports.StyledPopover = exports.Container = void 0;
|
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
8
|
var _Popover = _interopRequireDefault(require("../Popover"));
|
|
9
9
|
var _FormControl = _interopRequireDefault(require("../FormControl"));
|
|
10
|
-
function _interopRequireDefault(
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
11
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
12
12
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
13
13
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
@@ -10,6 +10,6 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _TimeControl = _interopRequireDefault(require("./TimeControl"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
14
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
15
15
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
@@ -7,12 +7,12 @@ exports.useDisplayValue = useDisplayValue;
|
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _DatePicker = require("../DatePicker");
|
|
9
9
|
var _dateFns = require("date-fns");
|
|
10
|
-
function _slicedToArray(
|
|
10
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
11
11
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
|
-
function _unsupportedIterableToArray(
|
|
13
|
-
function _arrayLikeToArray(
|
|
12
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
14
14
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
15
|
-
function _arrayWithHoles(
|
|
15
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
16
16
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
17
17
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
18
18
|
var isStringCorrectFormat = _DatePicker.DatePickerUtils.isStringCorrectFormat;
|
|
@@ -11,15 +11,15 @@ var _utils = require("./utils");
|
|
|
11
11
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
12
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
13
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14
|
-
function _defineProperty(
|
|
14
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17
|
-
function _slicedToArray(
|
|
17
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
18
18
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
|
-
function _unsupportedIterableToArray(
|
|
20
|
-
function _arrayLikeToArray(
|
|
19
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
20
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
21
21
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
22
|
-
function _arrayWithHoles(
|
|
22
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
23
23
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
24
24
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
25
25
|
var TimePicker = exports.TimePicker = function TimePicker(props) {
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Container = void 0;
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
8
|
var _color = _interopRequireDefault(require("color"));
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
10
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
11
11
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
12
12
|
var Container = exports.Container = /*#__PURE__*/(0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
|
|
@@ -10,7 +10,7 @@ var _Row = _interopRequireDefault(require("../../Row"));
|
|
|
10
10
|
var _Column = _interopRequireDefault(require("../../Column"));
|
|
11
11
|
var _Button = _interopRequireDefault(require("../../Button"));
|
|
12
12
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
14
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
15
15
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
16
16
|
/* eslint-disable td/instrumentation */
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Separator = void 0;
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
-
function _interopRequireDefault(
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
9
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
10
10
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
11
11
|
var Separator = exports.Separator = /*#__PURE__*/(0, _base["default"])('span', process.env.NODE_ENV === "production" ? {
|
|
@@ -12,13 +12,13 @@ var _Icon = _interopRequireDefault(require("../../Icon"));
|
|
|
12
12
|
var _ActionBar = require("../../ActionBar");
|
|
13
13
|
var _utils = require("../utils");
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
|
-
function _interopRequireDefault(
|
|
16
|
-
function _slicedToArray(
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
17
17
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18
|
-
function _unsupportedIterableToArray(
|
|
19
|
-
function _arrayLikeToArray(
|
|
18
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
19
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
20
20
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
21
|
-
function _arrayWithHoles(
|
|
21
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
22
22
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
23
23
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
24
24
|
/* eslint-disable td/instrumentation */
|
|
@@ -10,6 +10,6 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _TimePicker = _interopRequireDefault(require("./TimePicker"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
14
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
15
15
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
@@ -15,7 +15,7 @@ exports.parseTime = parseTime;
|
|
|
15
15
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
16
16
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17
17
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18
|
-
function _defineProperty(
|
|
18
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
19
19
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
20
20
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
21
21
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
package/dist/es/Toast/Toast.js
CHANGED
|
@@ -9,19 +9,19 @@ var _Link = _interopRequireDefault(require("../Link"));
|
|
|
9
9
|
var _elements = require("./elements");
|
|
10
10
|
var _constants = require("./constants");
|
|
11
11
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
12
|
-
function _interopRequireDefault(
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
13
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
-
function _classCallCheck(
|
|
15
|
-
function _defineProperties(
|
|
16
|
-
function _createClass(
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
18
|
-
function _possibleConstructorReturn(
|
|
19
|
-
function _assertThisInitialized(
|
|
18
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
19
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
20
20
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21
|
-
function _getPrototypeOf(
|
|
22
|
-
function _inherits(
|
|
23
|
-
function _setPrototypeOf(
|
|
24
|
-
function _defineProperty(
|
|
21
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
22
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
23
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
24
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
25
25
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26
26
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
27
27
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
@@ -10,10 +10,10 @@ var _constants = require("./constants");
|
|
|
10
10
|
var _Icon = _interopRequireDefault(require("../Icon"));
|
|
11
11
|
var _Button = _interopRequireDefault(require("../Button"));
|
|
12
12
|
var _ThemeProvider = require("../ThemeProvider");
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
14
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
15
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
-
function _defineProperty(
|
|
16
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
19
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
package/dist/es/Toast/index.js
CHANGED
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "TOAST_TYPES", {
|
|
|
12
12
|
exports["default"] = void 0;
|
|
13
13
|
var _Toast = _interopRequireDefault(require("./Toast"));
|
|
14
14
|
var _constants = require("./constants");
|
|
15
|
-
function _interopRequireDefault(
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
16
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
17
17
|
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
18
18
|
var _default = exports["default"] = _Toast["default"];
|
package/dist/es/Toggle/Toggle.js
CHANGED
|
@@ -13,20 +13,20 @@ var _ThemeProvider = require("../ThemeProvider");
|
|
|
13
13
|
var _utils = require("../utils");
|
|
14
14
|
var _Text = _interopRequireDefault(require("../Text"));
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
|
-
function _interopRequireDefault(
|
|
17
|
-
function _classCallCheck(
|
|
18
|
-
function _defineProperties(
|
|
19
|
-
function _createClass(
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
18
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
19
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
20
20
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
21
|
-
function _possibleConstructorReturn(
|
|
22
|
-
function _assertThisInitialized(
|
|
21
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
22
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
23
23
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
24
|
-
function _getPrototypeOf(
|
|
25
|
-
function _inherits(
|
|
26
|
-
function _setPrototypeOf(
|
|
24
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
25
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
26
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
27
27
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
28
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29
|
-
function _defineProperty(
|
|
29
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
30
30
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
31
31
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
32
32
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|