@spaced-out/ui-design-system 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 +21 -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/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
package/.cspell/custom-words.txt
CHANGED
|
@@ -17,12 +17,14 @@ Branco
|
|
|
17
17
|
Choibalsan
|
|
18
18
|
Chuuk
|
|
19
19
|
circlehollow
|
|
20
|
+
codemod
|
|
20
21
|
CODEOWNERS
|
|
21
22
|
Combobox
|
|
22
23
|
commitlint
|
|
23
24
|
contributorsrc
|
|
24
25
|
Crespo
|
|
25
26
|
Cuiaba
|
|
27
|
+
curre
|
|
26
28
|
D'Urville
|
|
27
29
|
Danmarkshavn
|
|
28
30
|
darsh-mecwan-sense
|
|
@@ -30,6 +32,8 @@ datetime
|
|
|
30
32
|
DEFAULTTEXT
|
|
31
33
|
Dili
|
|
32
34
|
dismissable
|
|
35
|
+
displayname
|
|
36
|
+
diwaker
|
|
33
37
|
diwakersurya
|
|
34
38
|
Docgen
|
|
35
39
|
drilldown
|
|
@@ -45,12 +49,15 @@ fbjs
|
|
|
45
49
|
Fennimore
|
|
46
50
|
flowtype
|
|
47
51
|
fontawesome
|
|
52
|
+
forwardref
|
|
48
53
|
framename
|
|
49
54
|
Gaurav
|
|
50
55
|
gulpfile
|
|
56
|
+
heapsnapshot
|
|
51
57
|
Heatmaps
|
|
52
58
|
highcharts
|
|
53
59
|
Hovd
|
|
60
|
+
incase
|
|
54
61
|
innerref
|
|
55
62
|
interdimensional
|
|
56
63
|
Jangid
|
|
@@ -93,6 +100,7 @@ preminor
|
|
|
93
100
|
prepatch
|
|
94
101
|
progressbar
|
|
95
102
|
proxysense
|
|
103
|
+
regrapes
|
|
96
104
|
rerouter
|
|
97
105
|
rgba
|
|
98
106
|
Rica
|
|
@@ -122,6 +130,7 @@ Tongatapu
|
|
|
122
130
|
transclude
|
|
123
131
|
Typeahead
|
|
124
132
|
typeof
|
|
133
|
+
typescriptify
|
|
125
134
|
Ulaanbaatar
|
|
126
135
|
Urville
|
|
127
136
|
useRowspanHeaders
|
|
@@ -138,10 +147,3 @@ xmark
|
|
|
138
147
|
yourcomponentname
|
|
139
148
|
Yuzhno
|
|
140
149
|
yxxx
|
|
141
|
-
incase
|
|
142
|
-
codemod
|
|
143
|
-
diwaker
|
|
144
|
-
curre
|
|
145
|
-
heapsnapshot
|
|
146
|
-
typescriptify
|
|
147
|
-
forwardref
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {create} from 'storybook/theming';
|
|
1
|
+
import {create} from 'storybook/theming/create';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const senseTheme = create({
|
|
4
4
|
base: 'light',
|
|
5
5
|
brandTitle: 'Genesis',
|
|
6
6
|
brandImage: 'https://cdn.sensehq.com/genesis/hashed/static/images/Logo.png',
|
|
@@ -9,3 +9,5 @@ export default create({
|
|
|
9
9
|
textColor: '#17172A',
|
|
10
10
|
textInverseColor: '#ffffff',
|
|
11
11
|
});
|
|
12
|
+
|
|
13
|
+
export default senseTheme;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
stories: ['../src/**/*.mdx', '../src/**/*.stories.tsx'],
|
|
1
|
+
import type {StorybookConfig} from '@storybook/react-webpack5';
|
|
2
|
+
import path from 'node:path';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
},
|
|
4
|
+
const config: StorybookConfig = {
|
|
5
|
+
stories: ['../src/**/*.mdx', '../src/**/*.stories.tsx'],
|
|
8
6
|
|
|
9
|
-
// Add any Storybook addons you want here: https://storybook.js.org/addons/
|
|
10
7
|
addons: [
|
|
11
8
|
{
|
|
12
9
|
name: '@storybook/addon-docs',
|
|
13
10
|
options: {
|
|
14
|
-
|
|
11
|
+
// Not needed with automatic runtime, but harmless if you keep it
|
|
12
|
+
configureJSX: false,
|
|
15
13
|
babelOptions: {},
|
|
16
14
|
sourceLoaderOptions: null,
|
|
17
15
|
transcludeMarkdown: true,
|
|
18
16
|
},
|
|
19
|
-
},
|
|
17
|
+
},
|
|
20
18
|
'storybook-css-modules',
|
|
21
19
|
'@storybook/addon-a11y',
|
|
20
|
+
// Forces Babel (not SWC) so our plugins run on TSX:
|
|
22
21
|
'@storybook/addon-webpack5-compiler-babel',
|
|
23
22
|
'@chromatic-com/storybook',
|
|
24
23
|
],
|
|
25
24
|
|
|
25
|
+
// Global Babel for anything SB pipes through its own babel pass
|
|
26
26
|
babel: async (options) => ({
|
|
27
27
|
...options,
|
|
28
28
|
sourceType: 'unambiguous',
|
|
@@ -39,14 +39,15 @@ module.exports = {
|
|
|
39
39
|
],
|
|
40
40
|
},
|
|
41
41
|
],
|
|
42
|
-
'@babel/preset-react',
|
|
42
|
+
['@babel/preset-react', {runtime: 'automatic', development: true}],
|
|
43
43
|
'@babel/preset-typescript',
|
|
44
44
|
],
|
|
45
|
-
plugins: ['macros'],
|
|
45
|
+
plugins: ['macros', '@regrapes/babel-plugin-add-react-memo-displayname'],
|
|
46
46
|
}),
|
|
47
47
|
|
|
48
48
|
webpackFinal: async (config) => {
|
|
49
|
-
|
|
49
|
+
// Fix font rule clobbering images
|
|
50
|
+
config.module!.rules = (config.module!.rules || []).map((rule: any) => {
|
|
50
51
|
if (rule.test && rule.test.toString().includes('woff')) {
|
|
51
52
|
return {
|
|
52
53
|
...rule,
|
|
@@ -55,28 +56,25 @@ module.exports = {
|
|
|
55
56
|
}
|
|
56
57
|
return rule;
|
|
57
58
|
});
|
|
58
|
-
|
|
59
|
+
|
|
60
|
+
// SCSS modules support (matches your current setup)
|
|
61
|
+
config.module!.rules!.push({
|
|
59
62
|
test: /\.scss$/,
|
|
60
63
|
use: ['style-loader', 'css-loader?modules=true', 'sass-loader'],
|
|
61
64
|
include: path.resolve(__dirname, '../'),
|
|
62
65
|
});
|
|
63
|
-
|
|
66
|
+
|
|
67
|
+
// Ensure TSX goes through babel-loader (so plugins above actually run)
|
|
68
|
+
config.module!.rules!.push({
|
|
64
69
|
test: /\.(ts|tsx)$/,
|
|
65
70
|
loader: require.resolve('babel-loader'),
|
|
66
71
|
options: {
|
|
67
|
-
presets: [
|
|
68
|
-
|
|
69
|
-
'react-app',
|
|
70
|
-
{
|
|
71
|
-
flow: false,
|
|
72
|
-
typescript: true,
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
],
|
|
72
|
+
presets: [['react-app', {flow: false, typescript: true}]],
|
|
73
|
+
plugins: ['@regrapes/babel-plugin-add-react-memo-displayname'],
|
|
76
74
|
},
|
|
77
75
|
});
|
|
78
76
|
|
|
79
|
-
config.resolve
|
|
77
|
+
(config.resolve!.extensions as string[]).push('.ts', '.tsx');
|
|
80
78
|
return config;
|
|
81
79
|
},
|
|
82
80
|
|
|
@@ -91,3 +89,5 @@ module.exports = {
|
|
|
91
89
|
reactDocgen: 'react-docgen-typescript',
|
|
92
90
|
},
|
|
93
91
|
};
|
|
92
|
+
|
|
93
|
+
export default config;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type {Preview} from '@storybook/react';
|
|
2
|
+
import {themes} from 'storybook/theming';
|
|
3
|
+
import {wd} from 'paths.macro';
|
|
4
|
+
|
|
5
|
+
const preview: Preview = {
|
|
6
|
+
parameters: {
|
|
7
|
+
// a11y overrides (unchanged)
|
|
8
|
+
a11y: {
|
|
9
|
+
config: {
|
|
10
|
+
rules: [
|
|
11
|
+
{id: 'landmark-one-main', enabled: false},
|
|
12
|
+
{id: 'meta-viewport', enabled: false},
|
|
13
|
+
{id: 'page-has-heading-one', enabled: false},
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
controls: {disableSaveFromUI: true},
|
|
18
|
+
backgrounds: {
|
|
19
|
+
values: [
|
|
20
|
+
{name: 'Dark', value: '#000'},
|
|
21
|
+
{name: 'Light', value: '#fff'},
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
docs: {
|
|
25
|
+
theme: themes.light,
|
|
26
|
+
codePanel: true as any, // SB typing doesn't include this flag; keep behavior
|
|
27
|
+
},
|
|
28
|
+
Canvas: {
|
|
29
|
+
theme: themes.light,
|
|
30
|
+
},
|
|
31
|
+
storySource: {
|
|
32
|
+
repository: 'https://github.com/Spaced-Out/ui-design-system',
|
|
33
|
+
workingDir: wd,
|
|
34
|
+
branch: 'master',
|
|
35
|
+
} as any, // non-standard param your addon reads; keep with loose typing
|
|
36
|
+
options: {
|
|
37
|
+
storySort: {
|
|
38
|
+
method: 'alphabetical',
|
|
39
|
+
order: [
|
|
40
|
+
'Introduction',
|
|
41
|
+
'Changelog',
|
|
42
|
+
'Usage',
|
|
43
|
+
'Contribution',
|
|
44
|
+
'Design Tokens',
|
|
45
|
+
'Tokens',
|
|
46
|
+
'Components',
|
|
47
|
+
'Form Components',
|
|
48
|
+
'*',
|
|
49
|
+
],
|
|
50
|
+
locales: 'en-US',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
globalTypes: {
|
|
55
|
+
theme: {
|
|
56
|
+
name: 'Theme',
|
|
57
|
+
description: 'Global theme for components',
|
|
58
|
+
defaultValue: 'dark',
|
|
59
|
+
toolbar: {
|
|
60
|
+
icon: 'circlehollow',
|
|
61
|
+
items: ['light', 'dark'],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export default preview;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"noEmit": true,
|
|
5
|
+
"rootDir": "..",
|
|
6
|
+
"moduleResolution": "NodeNext",
|
|
7
|
+
"module": "NodeNext",
|
|
8
|
+
"jsx": "react-jsx",
|
|
9
|
+
"types": ["node", "webpack-env"],
|
|
10
|
+
"resolveJsonModule": true,
|
|
11
|
+
"skipLibCheck": true
|
|
12
|
+
},
|
|
13
|
+
"include": ["./**/*.ts", "./**/*.tsx"]
|
|
14
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.5.1](https://github.com/spaced-out/ui-design-system/compare/v0.5.0...v0.5.1) (2025-08-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* added support for remove file button ([#393](https://github.com/spaced-out/ui-design-system/issues/393)) ([a4bba48](https://github.com/spaced-out/ui-design-system/commit/a4bba48aca46f5e4f11dbd545c5f3309d451bc3b))
|
|
11
|
+
* upgraded storybook and moved it to use typescript ([b57a5bc](https://github.com/spaced-out/ui-design-system/commit/b57a5bc9fa826adc020c1b8270312634b561c92f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* added storybook type checks ([e0c071a](https://github.com/spaced-out/ui-design-system/commit/e0c071a949a25cf19dab3bf6d52a51b074ac6f1d))
|
|
17
|
+
* fixes comp generation scripts in ts ([#391](https://github.com/spaced-out/ui-design-system/issues/391)) ([9b52baa](https://github.com/spaced-out/ui-design-system/commit/9b52baac9dad512715d569f4a8811b28fe854c7e))
|
|
18
|
+
* fixes most common ts errors ([#392](https://github.com/spaced-out/ui-design-system/issues/392)) ([aa33b7a](https://github.com/spaced-out/ui-design-system/commit/aa33b7a66fafb4696b6257b420b35118afe12047))
|
|
19
|
+
* fixes the display name ([3e4a9f6](https://github.com/spaced-out/ui-design-system/commit/3e4a9f617b053c2ef8af51fd781d375ffc72257a))
|
|
20
|
+
* updated changelog ([246a50f](https://github.com/spaced-out/ui-design-system/commit/246a50fe0ac951363ea2dda6e56f559768caed05))
|
|
21
|
+
|
|
5
22
|
## [0.5.0](https://github.com/spaced-out/ui-design-system/compare/v0.4.15...v0.5.0) (2025-08-18)
|
|
6
23
|
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
* **ts-migration:** migrated the codebase to typescript ([#388](https://github.com/spaced-out/ui-design-system/issues/388)) ([557b87d](https://github.com/Spaced-Out/ui-design-system/commit/557b87d6816c72308b95f369d603c938bc2e887e))
|
|
27
|
+
|
|
7
28
|
### [0.4.15](https://github.com/spaced-out/ui-design-system/compare/v0.4.14...v0.4.15) (2025-08-13)
|
|
8
29
|
|
|
9
30
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const tooltipTheme:
|
|
1
|
+
import type { ChartTooltip } from '../../../types/charts';
|
|
2
|
+
export declare const tooltipTheme: ChartTooltip;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/ChartTooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/ChartTooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAMxD,eAAO,MAAM,YAAY,EAAE,YAM1B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ChartOptions, DataOptionsType, Drilldown } from '../../../types/charts';
|
|
3
3
|
import type { ChartWrapperClassNames, ExportOptionType } from '../ChartWrapper';
|
|
4
|
-
|
|
4
|
+
type ClassNames = Readonly<ChartWrapperClassNames & {
|
|
5
5
|
highChart?: string;
|
|
6
6
|
}>;
|
|
7
7
|
export type ColumnSeries = {
|
|
@@ -20,4 +20,5 @@ export type ColumnChartProps = ChartOptions & {
|
|
|
20
20
|
emptyText?: React.ReactNode;
|
|
21
21
|
};
|
|
22
22
|
export declare const ColumnChart: ({ isLoading, classNames, cardTitle, customExportOptions, series, drilldown, headerActions, hasEmptyData, emptyText, ...userOptions }: ColumnChartProps) => React.JSX.Element;
|
|
23
|
+
export {};
|
|
23
24
|
//# sourceMappingURL=ColumnChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/ColumnChart/ColumnChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAM9E,
|
|
1
|
+
{"version":3,"file":"ColumnChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/ColumnChart/ColumnChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAM9E,KAAK,UAAU,GAAG,QAAQ,CACxB,sBAAsB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,eAAe,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrD,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,sIAWzB,gBAAgB,sBAkElB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ChartOptions, Drilldown, LegendOptionsType, SeriesOptionsType } from '../../../types/charts';
|
|
3
3
|
import type { ChartWrapperClassNames, ExportOptionType } from '../ChartWrapper';
|
|
4
|
-
|
|
4
|
+
type ClassNames = Readonly<ChartWrapperClassNames & {
|
|
5
5
|
highChart?: string;
|
|
6
6
|
subtitleClassNames?: SubtitleClassNames;
|
|
7
7
|
}>;
|
|
8
|
-
|
|
8
|
+
type SubtitleClassNames = {
|
|
9
9
|
wrapper?: string;
|
|
10
10
|
text?: string;
|
|
11
11
|
subtext?: string;
|
|
@@ -25,4 +25,5 @@ export type DonutChartProps = ChartOptions & {
|
|
|
25
25
|
emptyText?: React.ReactNode;
|
|
26
26
|
};
|
|
27
27
|
export declare const DonutChart: ({ isLoading, classNames, cardTitle, customExportOptions, headerActions, series, drilldown, legend, centerText, centerSubtext, hasEmptyData, emptyText, ...userOptions }: DonutChartProps) => React.JSX.Element;
|
|
28
|
+
export {};
|
|
28
29
|
//# sourceMappingURL=DonutChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/DonutChart/DonutChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,uBAAuB,CAA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E,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,yKAcxB,eAAe,sBAwFjB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ChartOptions, DataOptionsType, Drilldown } from '../../../types/charts';
|
|
3
3
|
import type { ChartWrapperClassNames, ExportOptionType } from '../ChartWrapper';
|
|
4
|
-
|
|
4
|
+
type ClassNames = Readonly<ChartWrapperClassNames & {
|
|
5
5
|
highChart?: string;
|
|
6
6
|
}>;
|
|
7
7
|
export type FunnelSeriesItem = {
|
|
@@ -22,4 +22,5 @@ export type FunnelChartProps = ChartOptions & {
|
|
|
22
22
|
emptyText?: React.ReactNode;
|
|
23
23
|
};
|
|
24
24
|
export declare const FunnelChart: ({ isLoading, classNames, cardTitle, customExportOptions, series, headerActions, drilldown, showLegend, hasEmptyData, emptyText, ...userOptions }: FunnelChartProps) => React.JSX.Element;
|
|
25
|
+
export {};
|
|
25
26
|
//# sourceMappingURL=FunnelChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunnelChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/FunnelChart/FunnelChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAM9E,
|
|
1
|
+
{"version":3,"file":"FunnelChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/FunnelChart/FunnelChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAM9E,KAAK,UAAU,GAAG,QAAQ,CACxB,sBAAsB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrD,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,kJAYzB,gBAAgB,sBA8ClB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ChartOptions, DataOptionsType, Drilldown } from '../../../types/charts';
|
|
3
3
|
import type { ChartWrapperClassNames, ExportOptionType } from '../ChartWrapper';
|
|
4
|
-
|
|
4
|
+
type ClassNames = Readonly<ChartWrapperClassNames & {
|
|
5
5
|
highChart?: string;
|
|
6
6
|
}>;
|
|
7
7
|
export type LineSeriesItem = {
|
|
@@ -20,4 +20,5 @@ export type LineChartProps = ChartOptions & {
|
|
|
20
20
|
emptyText?: React.ReactNode;
|
|
21
21
|
};
|
|
22
22
|
export declare const LineChart: ({ isLoading, classNames, cardTitle, customExportOptions, series, headerActions, drilldown, hasEmptyData, emptyText, ...userOptions }: LineChartProps) => React.JSX.Element;
|
|
23
|
+
export {};
|
|
23
24
|
//# sourceMappingURL=LineChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/LineChart/LineChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAM9E,
|
|
1
|
+
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/LineChart/LineChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAM9E,KAAK,UAAU,GAAG,QAAQ,CACxB,sBAAsB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,eAAe,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrD,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC9B,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,sIAWvB,cAAc,sBAkDhB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ChartOptions, DataOptionsType } from '../../../types/charts';
|
|
3
3
|
import type { ChartWrapperClassNames, ExportOptionType } from '../ChartWrapper';
|
|
4
|
-
|
|
4
|
+
type ClassNames = Readonly<ChartWrapperClassNames & {
|
|
5
5
|
highChart?: string;
|
|
6
6
|
}>;
|
|
7
7
|
export type SpiderSeriesItem = {
|
|
@@ -19,4 +19,5 @@ export type SpiderChartProps = ChartOptions & {
|
|
|
19
19
|
emptyText?: React.ReactNode;
|
|
20
20
|
};
|
|
21
21
|
export declare const SpiderChart: ({ isLoading, classNames, cardTitle, customExportOptions, headerActions, series, hasEmptyData, emptyText, ...userOptions }: SpiderChartProps) => React.JSX.Element;
|
|
22
|
+
export {};
|
|
22
23
|
//# sourceMappingURL=SpiderChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpiderChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/SpiderChart/SpiderChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAC,YAAY,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAOzE,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAe9E,
|
|
1
|
+
{"version":3,"file":"SpiderChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/SpiderChart/SpiderChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAC,YAAY,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAOzE,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAe9E,KAAK,UAAU,GAAG,QAAQ,CACxB,sBAAsB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,eAAe,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrD,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,2HAUzB,gBAAgB,sBAyClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Charts/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Charts/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
3
|
import type { AvatarProps } from '../Avatar';
|
|
4
4
|
import type { BaseTooltipProps } from '../Tooltip';
|
|
5
|
-
|
|
5
|
+
type ClassNames = Readonly<{
|
|
6
6
|
wrapper?: string;
|
|
7
7
|
}>;
|
|
8
8
|
export declare const CHAT_BUBBLE_ORIENTATION: Readonly<{
|
|
@@ -73,4 +73,5 @@ export declare const ChatFooterLeftSlot: {
|
|
|
73
73
|
({ children, classNames, }: ChatFooterLeftSlotProps): React.JSX.Element;
|
|
74
74
|
displayName: string;
|
|
75
75
|
};
|
|
76
|
+
export {};
|
|
76
77
|
//# sourceMappingURL=ChatBubble.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBubble.d.ts","sourceRoot":"","sources":["../../../src/components/ChatBubble/ChatBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAGrD,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AAG3C,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,YAAY,CAAC;AAsBjD,
|
|
1
|
+
{"version":3,"file":"ChatBubble.d.ts","sourceRoot":"","sources":["../../../src/components/ChatBubble/ChatBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAGrD,OA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,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,QAAQ;qEAMlB,aAAa;;CAyBf,CAAC;AAIF,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,UAAU;+BAA4B,eAAe;;CAejE,CAAC;AAIF,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;gCAG7B,wBAAwB;;CAE1B,CAAC;AAIF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,kBAAkB;gCAG5B,uBAAuB;;CAEzB,CAAC"}
|
|
@@ -8,6 +8,7 @@ export type FileBlockProps = {
|
|
|
8
8
|
fileObject: FileObject;
|
|
9
9
|
onFileRefreshClick?: (file: FileObject) => unknown;
|
|
10
10
|
handleFileClear?: (id: string) => unknown;
|
|
11
|
+
showRemoveFile?: boolean;
|
|
11
12
|
};
|
|
12
13
|
export declare const FileBlock: Flow.AbstractComponent<FileBlockProps, HTMLDivElement>;
|
|
13
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/FileUpload/FileBlock/FileBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAMrD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AAK9C,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,EAAE,UAAU,CAAC;IACvB,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,OAAO,CAAC;IACnD,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FileBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/FileUpload/FileBlock/FileBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAMrD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AAK9C,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,EAAE,UAAU,CAAC;IACvB,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,OAAO,CAAC;IACnD,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,cAAc,EAAE,cAAc,CA6E1E,CAAC"}
|
|
@@ -17,7 +17,8 @@ const FileBlock = exports.FileBlock = /*#__PURE__*/React.forwardRef((_ref, ref)
|
|
|
17
17
|
classNames,
|
|
18
18
|
fileObject,
|
|
19
19
|
onFileRefreshClick,
|
|
20
|
-
handleFileClear
|
|
20
|
+
handleFileClear,
|
|
21
|
+
showRemoveFile = true
|
|
21
22
|
} = _ref;
|
|
22
23
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
23
24
|
className: (0, _classify.default)(_FileUploadModule.default.file, classNames?.wrapper),
|
|
@@ -50,7 +51,7 @@ const FileBlock = exports.FileBlock = /*#__PURE__*/React.forwardRef((_ref, ref)
|
|
|
50
51
|
name: "refresh",
|
|
51
52
|
size: "small",
|
|
52
53
|
onClick: () => onFileRefreshClick?.(fileObject)
|
|
53
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
54
|
+
})), showRemoveFile && /*#__PURE__*/React.createElement("div", {
|
|
54
55
|
className: _FileUploadModule.default.rightBlock
|
|
55
56
|
}, /*#__PURE__*/React.createElement(_Icon.CloseIcon, {
|
|
56
57
|
size: "small",
|
|
@@ -40,6 +40,20 @@ declare const _default: {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
+
showRemoveFile: {
|
|
44
|
+
description: string;
|
|
45
|
+
control: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
table: {
|
|
49
|
+
type: {
|
|
50
|
+
summary: string;
|
|
51
|
+
};
|
|
52
|
+
defaultValue: {
|
|
53
|
+
summary: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
43
57
|
};
|
|
44
58
|
parameters: {
|
|
45
59
|
docs: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileBlock.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FileUpload/FileBlock/FileBlock.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"FileBlock.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FileUpload/FileBlock/FileBlock.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMhD,wBA+DE;AAQF,eAAO,MAAM,QAAQ;WAAU,cAAc;;;;;;;;;;;;CAM5C,CAAC"}
|
|
@@ -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,gBAAgB,CAAC;AAI7D,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EA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AAC,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;AAEH,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAC3E,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;IACtC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAEhD,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,gBAO/B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,cAAc,CAqExE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticTable.d.ts","sourceRoot":"","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,
|
|
1
|
+
{"version":3,"file":"StaticTable.d.ts","sourceRoot":"","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>;
|