@spaced-out/ui-design-system 0.5.0 → 0.5.2
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/.cspell/custom-words.txt +9 -7
- package/.storybook/{SenseTheme.js → SenseTheme.ts} +4 -2
- package/.storybook/{main.js → main.ts} +24 -24
- package/.storybook/manager-head.html +4 -0
- package/.storybook/{manager.js → manager.ts} +0 -3
- package/.storybook/paths-macro.d.ts +6 -0
- package/.storybook/preview.ts +67 -0
- package/.storybook/tsconfig.json +14 -0
- package/CHANGELOG.md +28 -0
- package/lib/components/Charts/ChartTooltip/index.d.ts +2 -2
- package/lib/components/Charts/ChartTooltip/index.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +2 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +3 -2
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +2 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
- package/lib/components/Charts/LineChart/LineChart.d.ts +2 -1
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +2 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
- package/lib/components/Charts/index.d.ts.map +1 -1
- package/lib/components/ChatBubble/ChatBubble.d.ts +2 -1
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +1 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.js +3 -2
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +14 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +1 -1
- package/lib/components/InContextAlert/InContextAlert.d.ts +9 -0
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
- package/lib/components/InContextAlert/InContextAlert.js +4 -2
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts +17 -0
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +12 -0
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map +1 -0
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +78 -0
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.module.css +91 -0
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts +249 -0
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts.map +1 -0
- package/lib/components/InContextAlertWithMultipleActions/index.d.ts +2 -0
- package/lib/components/InContextAlertWithMultipleActions/index.d.ts.map +1 -0
- package/lib/components/InContextAlertWithMultipleActions/index.js +16 -0
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +0 -1
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
- package/lib/components/ScoreBar/ScoreBar.d.ts +2 -1
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
- package/lib/components/Table/StaticTable.d.ts.map +1 -1
- package/lib/components/Table/Table.d.ts +2 -2
- package/lib/components/Table/Table.d.ts.map +1 -1
- package/lib/components/index.d.ts.map +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/types/charts.d.ts +19 -10
- package/lib/types/charts.d.ts.map +1 -1
- package/lib/utils/charts/charts.d.ts.map +1 -1
- package/lib/utils/charts/charts.js +0 -4
- package/lib/utils/charts/columnChart.d.ts.map +1 -1
- package/lib/utils/charts/columnChart.js +0 -1
- package/lib/utils/charts/donutChart.d.ts.map +1 -1
- package/lib/utils/charts/donutChart.js +1 -7
- package/lib/utils/charts/funnelChart.d.ts.map +1 -1
- package/lib/utils/charts/funnelChart.js +0 -3
- package/lib/utils/charts/lineChart.d.ts.map +1 -1
- package/lib/utils/charts/lineChart.js +0 -1
- package/lib/utils/classify/index.d.ts.map +1 -1
- package/lib/utils/classify/index.js +4 -2
- package/lib/utils/click-away/click-away.d.ts +9 -13
- package/lib/utils/click-away/click-away.d.ts.map +1 -1
- package/lib/utils/click-away/click-away.js +6 -18
- package/lib/utils/date-range-picker/date-range-picker.d.ts +12 -11
- package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/lib/utils/date-range-picker/date-range-picker.js +12 -34
- package/lib/utils/date-range-picker/timezones.d.ts +1 -254
- package/lib/utils/date-range-picker/timezones.d.ts.map +1 -1
- package/lib/utils/dom/dom.d.ts +5 -13
- package/lib/utils/dom/dom.d.ts.map +1 -1
- package/lib/utils/dom/dom.js +21 -20
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +17 -5
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +28 -47
- package/lib/utils/merge-refs/merge-refs.d.ts +1 -1
- package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -1
- package/lib/utils/merge-refs/merge-refs.js +0 -1
- package/package.json +32 -26
- package/tsconfig.json +3 -5
- package/.storybook/preview.js +0 -124
|
@@ -24,6 +24,22 @@ declare const _default: {
|
|
|
24
24
|
summary: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
+
actionTextColor: {
|
|
28
|
+
options: unknown[];
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
table: {
|
|
35
|
+
type: {
|
|
36
|
+
summary: string;
|
|
37
|
+
};
|
|
38
|
+
defaultValue: {
|
|
39
|
+
summary: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
27
43
|
semantic: {
|
|
28
44
|
options: unknown[];
|
|
29
45
|
description: string;
|
|
@@ -159,6 +175,7 @@ export declare const _Actionable: {
|
|
|
159
175
|
children: string;
|
|
160
176
|
semantic: string;
|
|
161
177
|
actionText: string;
|
|
178
|
+
actionTextColor: string;
|
|
162
179
|
};
|
|
163
180
|
};
|
|
164
181
|
//# sourceMappingURL=InContextAlert.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InContextAlert.stories.d.ts","sourceRoot":"","sources":["../../../src/components/InContextAlert/InContextAlert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InContextAlert.stories.d.ts","sourceRoot":"","sources":["../../../src/components/InContextAlert/InContextAlert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAS1D,wBAiIE;AAEF,eAAO,MAAM,QAAQ;WAAU,mBAAmB;;;;;;CAIjD,CAAC;AASF,eAAO,MAAM,YAAY;WAAU,mBAAmB;;;;;;;;CAIrD,CAAC;AAWF,eAAO,MAAM,WAAW;WAAU,mBAAmB;;;;;;;CAIpD,CAAC"}
|
package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
|
+
import type { ColorTypes } from '../../types/typography';
|
|
4
|
+
import type { InContextAlertProps } from '../InContextAlert';
|
|
5
|
+
export type InContextAlertWithMultipleActionsProps = InContextAlertProps & {
|
|
6
|
+
inline?: boolean;
|
|
7
|
+
secondaryActionText?: string;
|
|
8
|
+
onSecondaryAction?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined;
|
|
9
|
+
secondaryActionTextColor?: ColorTypes;
|
|
10
|
+
};
|
|
11
|
+
export declare const InContextAlertWithMultipleActions: Flow.AbstractComponent<InContextAlertWithMultipleActionsProps, HTMLDivElement>;
|
|
12
|
+
//# sourceMappingURL=InContextAlertWithMultipleActions.d.ts.map
|
package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InContextAlertWithMultipleActions.d.ts","sourceRoot":"","sources":["../../../src/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAGrD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAIvD,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAQ3D,MAAM,MAAM,sCAAsC,GAAG,mBAAmB,GAAG;IACzE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EACd,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,OAAO,CAAC,GACtD,IAAI,GACJ,SAAS,CAAC;IACd,wBAAwB,CAAC,EAAE,UAAU,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,IAAI,CAAC,iBAAiB,CACpE,sCAAsC,EACtC,cAAc,CAwGf,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.InContextAlertWithMultipleActions = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _common = require("../../types/common");
|
|
9
|
+
var _typography = require("../../types/typography");
|
|
10
|
+
var _classify = require("../../utils/classify");
|
|
11
|
+
var _Icon = require("../Icon");
|
|
12
|
+
var _InContextAlert = require("../InContextAlert");
|
|
13
|
+
var _Link = require("../Link");
|
|
14
|
+
var _Text = require("../Text");
|
|
15
|
+
var _InContextAlertWithMultipleActionsModule = _interopRequireDefault(require("./InContextAlertWithMultipleActions.module.css"));
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
|
+
const InContextAlertWithMultipleActions = exports.InContextAlertWithMultipleActions = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
19
|
+
const {
|
|
20
|
+
classNames,
|
|
21
|
+
semantic = _common.ALERT_SEMANTIC.neutral,
|
|
22
|
+
dismissable,
|
|
23
|
+
children,
|
|
24
|
+
inline = false,
|
|
25
|
+
// @ts-ignore - TS2339 - Property 'selfDismiss' does not exist on type 'InContextAlertWithMultipleActionsProps'.
|
|
26
|
+
selfDismiss = false,
|
|
27
|
+
leftIconName = '',
|
|
28
|
+
// @ts-ignore - TS2339 - Property 'onCloseClick' does not exist on type 'InContextAlertWithMultipleActionsProps'.
|
|
29
|
+
onCloseClick,
|
|
30
|
+
actionText = '',
|
|
31
|
+
onAction,
|
|
32
|
+
actionTextColor = _typography.TEXT_COLORS.primary,
|
|
33
|
+
secondaryActionText = '',
|
|
34
|
+
onSecondaryAction,
|
|
35
|
+
secondaryActionTextColor = _typography.TEXT_COLORS.primary,
|
|
36
|
+
leftIconType
|
|
37
|
+
} = props;
|
|
38
|
+
const [dismissed, setDismissed] = React.useState(false);
|
|
39
|
+
const closeClickHandler = e => {
|
|
40
|
+
onCloseClick && onCloseClick(e);
|
|
41
|
+
selfDismiss && setDismissed(true);
|
|
42
|
+
};
|
|
43
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, !dismissed && /*#__PURE__*/React.createElement("div", {
|
|
44
|
+
className: (0, _classify.classify)(_InContextAlertWithMultipleActionsModule.default.alertContainer, {
|
|
45
|
+
[_InContextAlertWithMultipleActionsModule.default.neutral]: semantic === _common.ALERT_SEMANTIC.neutral,
|
|
46
|
+
[_InContextAlertWithMultipleActionsModule.default.success]: semantic === _common.ALERT_SEMANTIC.success,
|
|
47
|
+
[_InContextAlertWithMultipleActionsModule.default.information]: semantic === _common.ALERT_SEMANTIC.information,
|
|
48
|
+
[_InContextAlertWithMultipleActionsModule.default.warning]: semantic === _common.ALERT_SEMANTIC.warning,
|
|
49
|
+
[_InContextAlertWithMultipleActionsModule.default.danger]: semantic === _common.ALERT_SEMANTIC.danger
|
|
50
|
+
}, classNames?.wrapper),
|
|
51
|
+
ref: ref
|
|
52
|
+
}, /*#__PURE__*/React.createElement(_InContextAlert.AlertIcon, {
|
|
53
|
+
semantic: semantic,
|
|
54
|
+
leftIconName: leftIconName,
|
|
55
|
+
leftIconType: leftIconType,
|
|
56
|
+
iconClassName: classNames?.icon
|
|
57
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
58
|
+
className: (0, _classify.classify)(_InContextAlertWithMultipleActionsModule.default.contentContainer, inline ? _InContextAlertWithMultipleActionsModule.default.contentContainerRow : _InContextAlertWithMultipleActionsModule.default.contentContainerColumn, classNames?.contentContainer)
|
|
59
|
+
}, React.Children.count(children) > 0 && /*#__PURE__*/React.createElement(_Text.SubTitleExtraSmall, {
|
|
60
|
+
className: (0, _classify.classify)(classNames?.alertText)
|
|
61
|
+
}, children), !!(actionText || secondaryActionText) && /*#__PURE__*/React.createElement("div", {
|
|
62
|
+
className: (0, _classify.classify)(_InContextAlertWithMultipleActionsModule.default.actionContainer, classNames?.actionContainer)
|
|
63
|
+
}, !!actionText && /*#__PURE__*/React.createElement(_Link.Link, {
|
|
64
|
+
onClick: onAction,
|
|
65
|
+
color: actionTextColor
|
|
66
|
+
}, actionText), !!secondaryActionText && /*#__PURE__*/React.createElement(_Link.Link, {
|
|
67
|
+
onClick: onSecondaryAction,
|
|
68
|
+
color: secondaryActionTextColor
|
|
69
|
+
}, secondaryActionText))), /*#__PURE__*/React.createElement("div", null, !!dismissable && /*#__PURE__*/React.createElement(_Icon.ClickableIcon, {
|
|
70
|
+
color: _typography.TEXT_COLORS.primary,
|
|
71
|
+
ariaLabel: "close",
|
|
72
|
+
name: "close",
|
|
73
|
+
size: "small",
|
|
74
|
+
type: "regular",
|
|
75
|
+
onClick: closeClickHandler,
|
|
76
|
+
className: _InContextAlertWithMultipleActionsModule.default.closeIcon
|
|
77
|
+
}))));
|
|
78
|
+
});
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@value (borderRadiusXSmall) from '../../styles/variables/_border.css';
|
|
2
|
+
@value (colorNeutralLight,
|
|
3
|
+
colorNeutralLightest,
|
|
4
|
+
colorSuccessLight,
|
|
5
|
+
colorSuccessLightest,
|
|
6
|
+
colorInformationLight,
|
|
7
|
+
colorInformationLightest,
|
|
8
|
+
colorWarningLight,
|
|
9
|
+
colorWarningLightest,
|
|
10
|
+
colorDangerLight,
|
|
11
|
+
colorDangerLightest
|
|
12
|
+
) from '../../styles/variables/_color.css';
|
|
13
|
+
|
|
14
|
+
@value (
|
|
15
|
+
spaceXSmall,
|
|
16
|
+
spaceXXSmall
|
|
17
|
+
) from '../../styles/variables/_space.css';
|
|
18
|
+
|
|
19
|
+
@value (
|
|
20
|
+
sizeFluid
|
|
21
|
+
) from '../../styles/variables/_size.css';
|
|
22
|
+
|
|
23
|
+
@value (
|
|
24
|
+
borderWidthPrimary
|
|
25
|
+
) from '../../styles/variables/_border.css';
|
|
26
|
+
|
|
27
|
+
.alertContainer {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
align-items: flex-start;
|
|
31
|
+
padding: spaceXSmall;
|
|
32
|
+
gap: spaceXSmall;
|
|
33
|
+
border-radius: borderRadiusXSmall;
|
|
34
|
+
width: sizeFluid;
|
|
35
|
+
word-break: normal;
|
|
36
|
+
border-width: borderWidthPrimary;
|
|
37
|
+
border-style: solid;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.neutral {
|
|
41
|
+
background-color: colorNeutralLightest;
|
|
42
|
+
border-color: colorNeutralLight;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.success {
|
|
46
|
+
background-color: colorSuccessLightest;
|
|
47
|
+
border-color: colorSuccessLight;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.information {
|
|
51
|
+
background-color: colorInformationLightest;
|
|
52
|
+
border-color: colorInformationLight;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.warning {
|
|
56
|
+
background-color: colorWarningLightest;
|
|
57
|
+
border-color: colorWarningLight;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.danger {
|
|
61
|
+
background-color: colorDangerLightest;
|
|
62
|
+
border-color: colorDangerLight;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.closeIcon {
|
|
66
|
+
margin-left: auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.contentContainer {
|
|
70
|
+
display: flex;
|
|
71
|
+
width: sizeFluid;
|
|
72
|
+
justify-content: space-between;
|
|
73
|
+
align-items: flex-start;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.contentContainerRow {
|
|
77
|
+
flex-direction: row;
|
|
78
|
+
gap: spaceXSmall;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.contentContainerColumn {
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
gap: spaceXXSmall;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.actionContainer {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: flex-start;
|
|
89
|
+
justify-content: flex-start;
|
|
90
|
+
gap: spaceXSmall;
|
|
91
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { InContextAlertWithMultipleActionsProps } from './InContextAlertWithMultipleActions';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
tags: string[];
|
|
5
|
+
title: string;
|
|
6
|
+
argTypes: {
|
|
7
|
+
actionText: {
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
control: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
table: {
|
|
14
|
+
type: {
|
|
15
|
+
summary: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
onAction: {
|
|
20
|
+
name: string;
|
|
21
|
+
action: string;
|
|
22
|
+
description: string;
|
|
23
|
+
type: {
|
|
24
|
+
summary: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
actionTextColor: {
|
|
28
|
+
options: unknown[];
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
table: {
|
|
35
|
+
type: {
|
|
36
|
+
summary: string;
|
|
37
|
+
};
|
|
38
|
+
defaultValue: {
|
|
39
|
+
summary: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
secondaryActionText: {
|
|
44
|
+
name: string;
|
|
45
|
+
description: string;
|
|
46
|
+
control: {
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
table: {
|
|
50
|
+
type: {
|
|
51
|
+
summary: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
secondaryActionTextColor: {
|
|
56
|
+
options: unknown[];
|
|
57
|
+
name: string;
|
|
58
|
+
description: string;
|
|
59
|
+
control: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
table: {
|
|
63
|
+
type: {
|
|
64
|
+
summary: string;
|
|
65
|
+
};
|
|
66
|
+
defaultValue: {
|
|
67
|
+
summary: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
onSecondaryAction: {
|
|
72
|
+
name: string;
|
|
73
|
+
description: string;
|
|
74
|
+
type: {
|
|
75
|
+
summary: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
semantic: {
|
|
79
|
+
options: unknown[];
|
|
80
|
+
description: string;
|
|
81
|
+
control: {
|
|
82
|
+
type: string;
|
|
83
|
+
};
|
|
84
|
+
table: {
|
|
85
|
+
type: {
|
|
86
|
+
summary: string;
|
|
87
|
+
};
|
|
88
|
+
defaultValue: {
|
|
89
|
+
summary: "neutral";
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
onCloseClick: {
|
|
94
|
+
name: string;
|
|
95
|
+
action: string;
|
|
96
|
+
description: string;
|
|
97
|
+
type: {
|
|
98
|
+
summary: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
dismissable: {
|
|
102
|
+
description: string;
|
|
103
|
+
name: string;
|
|
104
|
+
options: boolean[];
|
|
105
|
+
control: string;
|
|
106
|
+
table: {
|
|
107
|
+
type: {
|
|
108
|
+
summary: string;
|
|
109
|
+
};
|
|
110
|
+
defaultValue: {
|
|
111
|
+
summary: boolean;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
selfDismiss: {
|
|
116
|
+
description: string;
|
|
117
|
+
name: string;
|
|
118
|
+
options: boolean[];
|
|
119
|
+
control: string;
|
|
120
|
+
table: {
|
|
121
|
+
type: {
|
|
122
|
+
summary: string;
|
|
123
|
+
};
|
|
124
|
+
defaultValue: {
|
|
125
|
+
summary: boolean;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
inline: {
|
|
130
|
+
description: string;
|
|
131
|
+
name: string;
|
|
132
|
+
options: boolean[];
|
|
133
|
+
control: string;
|
|
134
|
+
table: {
|
|
135
|
+
type: {
|
|
136
|
+
summary: string;
|
|
137
|
+
};
|
|
138
|
+
defaultValue: {
|
|
139
|
+
summary: boolean;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
leftIconName: {
|
|
144
|
+
name: string;
|
|
145
|
+
control: {
|
|
146
|
+
type: string;
|
|
147
|
+
};
|
|
148
|
+
description: string;
|
|
149
|
+
table: {
|
|
150
|
+
type: {
|
|
151
|
+
summary: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
leftIconType: {
|
|
156
|
+
description: string;
|
|
157
|
+
options: string[];
|
|
158
|
+
control: {
|
|
159
|
+
type: string;
|
|
160
|
+
};
|
|
161
|
+
table: {
|
|
162
|
+
type: {
|
|
163
|
+
summary: string;
|
|
164
|
+
};
|
|
165
|
+
defaultValue: {
|
|
166
|
+
summary: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
children: {
|
|
171
|
+
description: string;
|
|
172
|
+
table: {
|
|
173
|
+
type: {
|
|
174
|
+
summary: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
classNames: {
|
|
179
|
+
description: string;
|
|
180
|
+
control: {
|
|
181
|
+
type: string;
|
|
182
|
+
};
|
|
183
|
+
table: {
|
|
184
|
+
type: {
|
|
185
|
+
summary: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
parameters: {
|
|
191
|
+
docs: {
|
|
192
|
+
subtitle: string;
|
|
193
|
+
description: {
|
|
194
|
+
component: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
storySource: {
|
|
198
|
+
componentPath: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
export default _default;
|
|
203
|
+
export declare const _Default: {
|
|
204
|
+
(args: InContextAlertWithMultipleActionsProps): React.JSX.Element;
|
|
205
|
+
args: {
|
|
206
|
+
children: string;
|
|
207
|
+
semantic: string;
|
|
208
|
+
leftIconName: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
export declare const _Dismissable: {
|
|
212
|
+
(args: InContextAlertWithMultipleActionsProps): React.JSX.Element;
|
|
213
|
+
args: {
|
|
214
|
+
children: string;
|
|
215
|
+
semantic: string;
|
|
216
|
+
dismissable: boolean;
|
|
217
|
+
selfDismiss: boolean;
|
|
218
|
+
leftIconName: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
export declare const _Actionable: {
|
|
222
|
+
(args: InContextAlertWithMultipleActionsProps): React.JSX.Element;
|
|
223
|
+
args: {
|
|
224
|
+
children: string;
|
|
225
|
+
semantic: string;
|
|
226
|
+
actionText: string;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
export declare const _SecondaryAction: {
|
|
230
|
+
(args: InContextAlertWithMultipleActionsProps): React.JSX.Element;
|
|
231
|
+
args: {
|
|
232
|
+
children: string;
|
|
233
|
+
semantic: string;
|
|
234
|
+
actionText: string;
|
|
235
|
+
dismissable: boolean;
|
|
236
|
+
secondaryActionText: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
export declare const _SecondaryWithWrapAction: {
|
|
240
|
+
(args: InContextAlertWithMultipleActionsProps): React.JSX.Element;
|
|
241
|
+
args: {
|
|
242
|
+
children: string;
|
|
243
|
+
semantic: string;
|
|
244
|
+
actionText: string;
|
|
245
|
+
dismissable: boolean;
|
|
246
|
+
secondaryActionText: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
//# sourceMappingURL=InContextAlertWithMultipleActions.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InContextAlertWithMultipleActions.stories.d.ts","sourceRoot":"","sources":["../../../src/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAC,sCAAsC,EAAC,MAAM,qCAAqC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAShG,wBAyKE;AAEF,eAAO,MAAM,QAAQ;WAAU,sCAAsC;;;;;;CAIpE,CAAC;AASF,eAAO,MAAM,YAAY;WAAU,sCAAsC;;;;;;;;CAIxE,CAAC;AAWF,eAAO,MAAM,WAAW;WAAU,sCAAsC;;;;;;CAIvE,CAAC;AAQF,eAAO,MAAM,gBAAgB;WACrB,sCAAsC;;;;;;;;CAK7C,CAAC;AAUF,eAAO,MAAM,wBAAwB;WAC7B,sCAAsC;;;;;;;;CAK7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InContextAlertWithMultipleActions/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _InContextAlertWithMultipleActions = require("./InContextAlertWithMultipleActions");
|
|
7
|
+
Object.keys(_InContextAlertWithMultipleActions).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _InContextAlertWithMultipleActions[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _InContextAlertWithMultipleActions[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -20,7 +20,6 @@ export type SimpleOptionButtonRef = {
|
|
|
20
20
|
export type SimpleOptionButtonProps = // Input props
|
|
21
21
|
ButtonProps & {
|
|
22
22
|
classNames?: ClassNames;
|
|
23
|
-
tooltip?: OptionButtonTooltipProps;
|
|
24
23
|
anchorPosition?: AnchorType;
|
|
25
24
|
tooltip?: OptionButtonTooltipProps;
|
|
26
25
|
menuSize?: 'small' | 'medium';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleOptionButton.d.ts","sourceRoot":"","sources":["../../../src/components/OptionButton/SimpleOptionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAErD,OAAO,KAAK,EAAC,cAAc,EAAE,gBAAgB,EAAC,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAC,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE5E,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,gBA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AW,CAAC,EAAE,MAAM,OAAO,CAAC;IAE5B,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChE,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACzE,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACjC,CAAC;AA2GJ,eAAO,MAAM,kBAAkB,EAAE,IAAI,CAAC,iBAAiB,CACrD,uBAAuB,EACvB,qBAAqB,CAItB,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare const Direction: Readonly<{
|
|
|
3
3
|
horizontal: "horizontal";
|
|
4
4
|
vertical: "vertical";
|
|
5
5
|
}>;
|
|
6
|
-
|
|
6
|
+
type ClassNames = Readonly<{
|
|
7
7
|
container?: string;
|
|
8
8
|
wrapper?: string;
|
|
9
9
|
bar?: string;
|
|
@@ -25,4 +25,5 @@ export type ScoreBarProps = {
|
|
|
25
25
|
};
|
|
26
26
|
export declare const DEFAULT_COLOR_MAP: ScoreBarColorMap;
|
|
27
27
|
export declare const ScoreBar: Flow.AbstractComponent<ScoreBarProps, HTMLDivElement>;
|
|
28
|
+
export {};
|
|
28
29
|
//# sourceMappingURL=ScoreBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScoreBar.d.ts","sourceRoot":"","sources":["../../../src/components/ScoreBar/ScoreBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAwBrD,eAAO,MAAM,SAAS;;;EAGpB,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"ScoreBar.d.ts","sourceRoot":"","sources":["../../../src/components/ScoreBar/ScoreBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAwBrD,eAAO,MAAM,SAAS;;;EAGpB,CAAC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ceRoot":"","sources":["../../../src/components/Table/StaticTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAQ3E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAC,aAAa,EAAmB,UAAU,EAAC,MAAM,SAAS,CAAC;AAKxE,eAAO,MAAM,UAAU,EAAE,kBAAkB,CAAC,OAAO,CAGlD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,OAAO,CACA,CAAC;AAwMxD;;;;GAIG;AAEH,wBAAgB,WAAW,CACzB,IAAI,SAAS,aAAa,EAC1B,MAAM,SAAS,aAAa,EAE5B,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG;IAChC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,qBAiIF;AAED,wBAAgB,sBAAsB,CACpC,IAAI,SAAS,aAAa,EAC1B,MAAM,SAAS,aAAa,EAE5B,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG;IAChC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,qBA2OF"}
|
|
@@ -5,7 +5,7 @@ import type { SortDirection } from './hooks';
|
|
|
5
5
|
export type GenericObject = {
|
|
6
6
|
readonly [key: string]: unknown;
|
|
7
7
|
};
|
|
8
|
-
export type
|
|
8
|
+
export type TableClassNames = Readonly<{
|
|
9
9
|
wrapper?: string;
|
|
10
10
|
table?: string;
|
|
11
11
|
tableHeader?: string;
|
|
@@ -21,7 +21,7 @@ type VirtualizationOptions = {
|
|
|
21
21
|
isAllDataFetched?: boolean;
|
|
22
22
|
};
|
|
23
23
|
export type TableProps<T, U> = {
|
|
24
|
-
classNames?:
|
|
24
|
+
classNames?: TableClassNames;
|
|
25
25
|
className?: string;
|
|
26
26
|
TableRow?: TableRow<T, U>;
|
|
27
27
|
headers: GenericHeaderItems<T, U>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAM3C,MAAM,MAAM,aAAa,GAAG;IAM1B,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAM3C,MAAM,MAAM,aAAa,GAAG;IAM1B,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,OAAO,CAAC,EAAE,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vC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IACjB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CAC/C,CAAC;AAEF;;;;;IAKI;AAEJ;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,IAAI,SAAS,aAAa,EAAE,MAAM,SAAS,aAAa,EAC5E,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,qBA6EhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB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AAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|