@scality/core-ui 0.146.0 → 0.148.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/.github/workflows/github-pages.yml +4 -4
- package/.github/workflows/tests.yaml +11 -11
- package/.storybook/main.ts +18 -1
- package/.storybook/preview.js +2 -1
- package/dist/components/IconHelper.d.ts +1 -1
- package/dist/components/IconHelper.d.ts.map +1 -1
- package/dist/components/UnsuccessfulResult.component.d.ts +2 -3
- package/dist/components/UnsuccessfulResult.component.d.ts.map +1 -1
- package/dist/components/accordion/Accordion.component.d.ts +9 -0
- package/dist/components/accordion/Accordion.component.d.ts.map +1 -0
- package/dist/components/accordion/Accordion.component.js +47 -0
- package/dist/components/areachart/AreaChart.component.d.ts +1 -2
- package/dist/components/areachart/AreaChart.component.d.ts.map +1 -1
- package/dist/components/banner/Banner.component.d.ts +1 -2
- package/dist/components/banner/Banner.component.d.ts.map +1 -1
- package/dist/components/barchart/BarChart.component.d.ts +1 -2
- package/dist/components/barchart/BarChart.component.d.ts.map +1 -1
- package/dist/components/box/Box.d.ts +1 -3
- package/dist/components/box/Box.d.ts.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.component.d.ts +1 -2
- package/dist/components/breadcrumb/Breadcrumb.component.d.ts.map +1 -1
- package/dist/components/button/Button.component.d.ts +1 -2
- package/dist/components/button/Button.component.d.ts.map +1 -1
- package/dist/components/buttonv2/Buttonv2.component.d.ts +2 -11
- package/dist/components/buttonv2/Buttonv2.component.d.ts.map +1 -1
- package/dist/components/buttonv2/CopyButton.component.d.ts +3 -13
- package/dist/components/buttonv2/CopyButton.component.d.ts.map +1 -1
- package/dist/components/card/Card.component.d.ts +7 -7
- package/dist/components/card/Card.component.d.ts.map +1 -1
- package/dist/components/checkbox/Checkbox.component.d.ts +5 -5
- package/dist/components/checkbox/Checkbox.component.d.ts.map +1 -1
- package/dist/components/chips/Chips.component.d.ts +1 -2
- package/dist/components/chips/Chips.component.d.ts.map +1 -1
- package/dist/components/circularprogressbar/CircularProgressBar.component.d.ts +1 -2
- package/dist/components/circularprogressbar/CircularProgressBar.component.d.ts.map +1 -1
- package/dist/components/circularprogressbar/CircularProgressBar.component.style.d.ts +1 -1
- package/dist/components/circularprogressbar/CircularProgressBar.component.style.d.ts.map +1 -1
- package/dist/components/cloudprogressbar/CloudProgressBar.component.d.ts +1 -2
- package/dist/components/cloudprogressbar/CloudProgressBar.component.d.ts.map +1 -1
- package/dist/components/collapsiblepanel/CollapsiblePanel.component.d.ts +1 -2
- package/dist/components/collapsiblepanel/CollapsiblePanel.component.d.ts.map +1 -1
- package/dist/components/constrainedtext/Constrainedtext.component.d.ts +0 -1
- package/dist/components/constrainedtext/Constrainedtext.component.d.ts.map +1 -1
- package/dist/components/coreuithemeprovider/CoreUiThemeProvider.d.ts +1 -1
- package/dist/components/coreuithemeprovider/CoreUiThemeProvider.d.ts.map +1 -1
- package/dist/components/date/FormattedDateTime.d.ts +1 -2
- package/dist/components/date/FormattedDateTime.d.ts.map +1 -1
- package/dist/components/dropdown/Dropdown.component.d.ts +1 -2
- package/dist/components/dropdown/Dropdown.component.d.ts.map +1 -1
- package/dist/components/dropzone/Dropzone.d.ts +1 -2
- package/dist/components/dropzone/Dropzone.d.ts.map +1 -1
- package/dist/components/emptystate/Emptystate.component.d.ts +1 -2
- package/dist/components/emptystate/Emptystate.component.d.ts.map +1 -1
- package/dist/components/emptytable/Emptytable.component.d.ts +1 -1
- package/dist/components/emptytable/Emptytable.component.d.ts.map +1 -1
- package/dist/components/error-pages/ErrorPage401.component.d.ts +1 -1
- package/dist/components/error-pages/ErrorPage401.component.d.ts.map +1 -1
- package/dist/components/error-pages/ErrorPage404.component.d.ts +1 -1
- package/dist/components/error-pages/ErrorPage404.component.d.ts.map +1 -1
- package/dist/components/error-pages/ErrorPage500.component.d.ts +1 -1
- package/dist/components/error-pages/ErrorPage500.component.d.ts.map +1 -1
- package/dist/components/error-pages/ErrorPageAuth.component.d.ts +1 -2
- package/dist/components/error-pages/ErrorPageAuth.component.d.ts.map +1 -1
- package/dist/components/form/Form.component.d.ts +5 -5
- package/dist/components/form/Form.component.d.ts.map +1 -1
- package/dist/components/globalhealthbar/GlobalHealthBar.component.d.ts +1 -2
- package/dist/components/globalhealthbar/GlobalHealthBar.component.d.ts.map +1 -1
- package/dist/components/globalhealthbar/tooltip/index.d.ts.map +1 -1
- package/dist/components/healthselectorv2/HealthSelector.component.d.ts +12 -13
- package/dist/components/healthselectorv2/HealthSelector.component.d.ts.map +1 -1
- package/dist/components/icon/Icon.component.d.ts +3 -3
- package/dist/components/icon/Icon.component.d.ts.map +1 -1
- package/dist/components/infomessage/InfoMessage.component.d.ts +1 -1
- package/dist/components/infomessage/InfoMessage.component.d.ts.map +1 -1
- package/dist/components/infomessage/InfoMessageUtils.d.ts +0 -1
- package/dist/components/infomessage/InfoMessageUtils.d.ts.map +1 -1
- package/dist/components/inlineinput/InlineInput.d.ts +1 -2
- package/dist/components/inlineinput/InlineInput.d.ts.map +1 -1
- package/dist/components/inputlist/InputButtons.d.ts +2 -3
- package/dist/components/inputlist/InputButtons.d.ts.map +1 -1
- package/dist/components/inputlist/InputList.component.d.ts +8 -8
- package/dist/components/inputlist/InputList.component.d.ts.map +1 -1
- package/dist/components/inputv2/inputv2.d.ts +5 -5
- package/dist/components/inputv2/inputv2.d.ts.map +1 -1
- package/dist/components/lateralnavbarlayout/LateralNavbarLayout.component.d.ts +1 -2
- package/dist/components/lateralnavbarlayout/LateralNavbarLayout.component.d.ts.map +1 -1
- package/dist/components/layout/Layout.component.d.ts +1 -2
- package/dist/components/layout/Layout.component.d.ts.map +1 -1
- package/dist/components/layout/v2/AppContainer.d.ts +14 -13
- package/dist/components/layout/v2/AppContainer.d.ts.map +1 -1
- package/dist/components/layout/v2/index.d.ts +1 -1
- package/dist/components/layout/v2/index.d.ts.map +1 -1
- package/dist/components/layout/v2/panels.d.ts +2 -2
- package/dist/components/layout/v2/panels.d.ts.map +1 -1
- package/dist/components/linechart/LineChart.component.d.ts +1 -2
- package/dist/components/linechart/LineChart.component.d.ts.map +1 -1
- package/dist/components/linetemporalchart/ChartUtil.d.ts.map +1 -1
- package/dist/components/linetemporalchart/LineTemporalChart.component.d.ts +1 -2
- package/dist/components/linetemporalchart/LineTemporalChart.component.d.ts.map +1 -1
- package/dist/components/linetemporalchart/MetricTimespanProvider.d.ts +1 -1
- package/dist/components/linetemporalchart/MetricTimespanProvider.d.ts.map +1 -1
- package/dist/components/linetemporalchart/tooltip/index.d.ts.map +1 -1
- package/dist/components/loader/Loader.component.d.ts +1 -2
- package/dist/components/loader/Loader.component.d.ts.map +1 -1
- package/dist/components/multiselect/MultiSelect.component.d.ts +1 -2
- package/dist/components/multiselect/MultiSelect.component.d.ts.map +1 -1
- package/dist/components/navbar/Navbar.component.d.ts +1 -2
- package/dist/components/navbar/Navbar.component.d.ts.map +1 -1
- package/dist/components/notifications/Notification.component.d.ts +1 -2
- package/dist/components/notifications/Notification.component.d.ts.map +1 -1
- package/dist/components/notifications/Notifications.component.d.ts +1 -2
- package/dist/components/notifications/Notifications.component.d.ts.map +1 -1
- package/dist/components/prettybytes/PrettyBytes.component.d.ts +1 -2
- package/dist/components/prettybytes/PrettyBytes.component.d.ts.map +1 -1
- package/dist/components/progressbar/ProgressBar.component.d.ts +1 -2
- package/dist/components/progressbar/ProgressBar.component.d.ts.map +1 -1
- package/dist/components/scrollbarwrapper/ScrollbarWrapper.component.d.ts +1 -1
- package/dist/components/scrollbarwrapper/ScrollbarWrapper.component.d.ts.map +1 -1
- package/dist/components/select/Select.component.d.ts +1 -2
- package/dist/components/select/Select.component.d.ts.map +1 -1
- package/dist/components/selectv2/Selectv2.component.d.ts +1 -1
- package/dist/components/selectv2/Selectv2.component.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.component.d.ts +1 -2
- package/dist/components/sidebar/Sidebar.component.d.ts.map +1 -1
- package/dist/components/sparkline/SparkLine.component.d.ts +1 -2
- package/dist/components/sparkline/SparkLine.component.d.ts.map +1 -1
- package/dist/components/statuswrapper/Statuswrapper.component.d.ts +1 -1
- package/dist/components/statuswrapper/Statuswrapper.component.d.ts.map +1 -1
- package/dist/components/steppers/Stepper.component.d.ts +0 -2
- package/dist/components/steppers/Stepper.component.d.ts.map +1 -1
- package/dist/components/steppers/Steppers.component.d.ts +1 -2
- package/dist/components/steppers/Steppers.component.d.ts.map +1 -1
- package/dist/components/tablev2/MultiSelectableContent.d.ts +1 -2
- package/dist/components/tablev2/MultiSelectableContent.d.ts.map +1 -1
- package/dist/components/tablev2/Search.d.ts +3 -4
- package/dist/components/tablev2/Search.d.ts.map +1 -1
- package/dist/components/tablev2/SearchWithQueryParams.d.ts +1 -2
- package/dist/components/tablev2/SearchWithQueryParams.d.ts.map +1 -1
- package/dist/components/tablev2/SingleSelectableContent.d.ts +1 -1
- package/dist/components/tablev2/SingleSelectableContent.d.ts.map +1 -1
- package/dist/components/tablev2/TableCommon.d.ts +2 -2
- package/dist/components/tablev2/TableCommon.d.ts.map +1 -1
- package/dist/components/tablev2/Tablestyle.d.ts +2 -3
- package/dist/components/tablev2/Tablestyle.d.ts.map +1 -1
- package/dist/components/tablev2/Tablev2.component.d.ts +12 -13
- package/dist/components/tablev2/Tablev2.component.d.ts.map +1 -1
- package/dist/components/tablev2/useCheckbox.d.ts.map +1 -1
- package/dist/components/tablev2/useSyncedScroll.d.ts +0 -1
- package/dist/components/tablev2/useSyncedScroll.d.ts.map +1 -1
- package/dist/components/tabsv2/StyledTabs.d.ts +9 -9
- package/dist/components/tabsv2/StyledTabs.d.ts.map +1 -1
- package/dist/components/tabsv2/Tab.d.ts +0 -1
- package/dist/components/tabsv2/Tab.d.ts.map +1 -1
- package/dist/components/tabsv2/Tabsv2.component.d.ts +1 -1
- package/dist/components/tabsv2/Tabsv2.component.d.ts.map +1 -1
- package/dist/components/tabsv2/Tabsv2.component.js +1 -5
- package/dist/components/tabsv2/useScrollingTabs.d.ts +0 -1
- package/dist/components/tabsv2/useScrollingTabs.d.ts.map +1 -1
- package/dist/components/text/Text.component.d.ts +15 -15
- package/dist/components/text/Text.component.d.ts.map +1 -1
- package/dist/components/textarea/TextArea.component.d.ts +3 -3
- package/dist/components/textarea/TextArea.component.d.ts.map +1 -1
- package/dist/components/textbadge/TextBadge.component.d.ts +1 -1
- package/dist/components/textbadge/TextBadge.component.d.ts.map +1 -1
- package/dist/components/toast/DurationBasedProgressBar.d.ts +1 -2
- package/dist/components/toast/DurationBasedProgressBar.d.ts.map +1 -1
- package/dist/components/toast/Toast.component.d.ts +1 -1
- package/dist/components/toast/Toast.component.d.ts.map +1 -1
- package/dist/components/toast/useMutationsHandler.d.ts.map +1 -1
- package/dist/components/toggle/Toggle.component.d.ts +1 -1
- package/dist/components/toggle/Toggle.component.d.ts.map +1 -1
- package/dist/components/tooltip/Tooltip.component.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.component.d.ts.map +1 -1
- package/dist/components/vegachart/VegaChart.component.d.ts +1 -2
- package/dist/components/vegachart/VegaChart.component.d.ts.map +1 -1
- package/dist/components/vegachartv2/SyncedCursorCharts.d.ts +1 -1
- package/dist/components/vegachartv2/SyncedCursorCharts.d.ts.map +1 -1
- package/dist/icons/branding-logo.d.ts +1 -2
- package/dist/icons/branding-logo.d.ts.map +1 -1
- package/dist/icons/branding.d.ts +1 -2
- package/dist/icons/branding.d.ts.map +1 -1
- package/dist/icons/scality-loading.d.ts +1 -2
- package/dist/icons/scality-loading.d.ts.map +1 -1
- package/dist/next.d.ts +1 -0
- package/dist/next.d.ts.map +1 -1
- package/dist/next.js +1 -0
- package/dist/organisms/attachments/AttachmentConfirmationModal.d.ts +1 -1
- package/dist/organisms/attachments/AttachmentConfirmationModal.d.ts.map +1 -1
- package/dist/organisms/attachments/AttachmentTable.d.ts +4 -3
- package/dist/organisms/attachments/AttachmentTable.d.ts.map +1 -1
- package/dist/organisms/attachments/AttachmentTable.js +1 -0
- package/dist/spacing.d.ts +5 -7
- package/dist/spacing.d.ts.map +1 -1
- package/dist/testUtils.d.ts +1 -2
- package/dist/testUtils.d.ts.map +1 -1
- package/package.json +16 -15
- package/src/lib/components/accordion/Accordion.component.tsx +99 -0
- package/src/lib/components/accordion/Accordion.test.tsx +52 -0
- package/src/lib/components/tabsv2/Tabsv2.component.tsx +0 -1
- package/src/lib/next.ts +1 -0
- package/src/lib/organisms/attachments/AttachmentTable.tsx +3 -2
- package/stories/Accordion/accordion.guideline.mdx +33 -0
- package/stories/Accordion/accordion.stories.tsx +88 -0
- package/stories/form.stories.tsx +179 -0
- /package/stories/{spacing.stories.mdx → spacing.mdx} +0 -0
|
@@ -2,15 +2,15 @@ name: Deploy Storybook
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches: development/1.0
|
|
5
|
+
branches: [development/1.0]
|
|
6
6
|
jobs:
|
|
7
7
|
deploy:
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
9
|
steps:
|
|
10
|
-
- uses: actions/checkout@
|
|
11
|
-
- uses: actions/setup-node@
|
|
10
|
+
- uses: actions/checkout@v4
|
|
11
|
+
- uses: actions/setup-node@v4
|
|
12
12
|
with:
|
|
13
|
-
node-version:
|
|
13
|
+
node-version: 20
|
|
14
14
|
- run: npm ci
|
|
15
15
|
- run: npm run storybook:deploy -- --ci
|
|
16
16
|
env:
|
|
@@ -3,14 +3,14 @@ name: basic tests
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
6
|
+
- 'user/**'
|
|
7
|
+
- 'feature/**'
|
|
8
|
+
- 'improvement/**'
|
|
9
|
+
- 'bugfix/**'
|
|
10
|
+
- 'w/**'
|
|
11
|
+
- 'q/**'
|
|
12
|
+
- 'hotfix/**'
|
|
13
|
+
- 'dependabot/**'
|
|
14
14
|
pull_request:
|
|
15
15
|
types:
|
|
16
16
|
- opened
|
|
@@ -22,11 +22,11 @@ jobs:
|
|
|
22
22
|
runs-on: ubuntu-latest
|
|
23
23
|
steps:
|
|
24
24
|
- name: Checkout
|
|
25
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@v4
|
|
26
26
|
- name: Install node
|
|
27
|
-
uses: actions/setup-node@
|
|
27
|
+
uses: actions/setup-node@v4
|
|
28
28
|
with:
|
|
29
|
-
node-version:
|
|
29
|
+
node-version: 20
|
|
30
30
|
- run: npm ci
|
|
31
31
|
- run: npm run test
|
|
32
32
|
- run: npm run lint
|
package/.storybook/main.ts
CHANGED
|
@@ -2,11 +2,23 @@ import type { StorybookConfig } from '@storybook/react-webpack5';
|
|
|
2
2
|
const config: StorybookConfig = {
|
|
3
3
|
stories: ['../stories/**/*.@(mdx|stories.@(ts|tsx))'],
|
|
4
4
|
staticDirs: ['./public'],
|
|
5
|
+
|
|
5
6
|
addons: [
|
|
6
7
|
'@storybook/addon-essentials',
|
|
7
8
|
'@storybook/addon-storysource',
|
|
8
9
|
'@storybook/addon-mdx-gfm',
|
|
10
|
+
'@storybook/addon-webpack5-compiler-swc',
|
|
11
|
+
'@chromatic-com/storybook',
|
|
9
12
|
],
|
|
13
|
+
swc: (config, options) => ({
|
|
14
|
+
jsc: {
|
|
15
|
+
transform: {
|
|
16
|
+
react: {
|
|
17
|
+
runtime: 'automatic',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
}),
|
|
10
22
|
|
|
11
23
|
webpackFinal: async (config, { configType }) => {
|
|
12
24
|
// Resolve error when webpack-ing storybook:
|
|
@@ -20,19 +32,24 @@ const config: StorybookConfig = {
|
|
|
20
32
|
|
|
21
33
|
return config;
|
|
22
34
|
},
|
|
35
|
+
|
|
23
36
|
framework: {
|
|
24
37
|
name: '@storybook/react-webpack5',
|
|
25
38
|
options: {},
|
|
26
39
|
},
|
|
27
40
|
|
|
28
41
|
docs: {
|
|
29
|
-
autodocs: true,
|
|
30
42
|
defaultName: 'Stories',
|
|
31
43
|
},
|
|
44
|
+
|
|
32
45
|
managerHead: (head) => `
|
|
33
46
|
${head}
|
|
34
47
|
<link rel="icon" href="/favicon.ico" />
|
|
35
48
|
`,
|
|
49
|
+
|
|
50
|
+
typescript: {
|
|
51
|
+
reactDocgen: 'react-docgen-typescript',
|
|
52
|
+
},
|
|
36
53
|
};
|
|
37
54
|
|
|
38
55
|
export default config;
|
package/.storybook/preview.js
CHANGED
|
@@ -3,7 +3,7 @@ import { QueryClient, QueryClientProvider } from 'react-query';
|
|
|
3
3
|
import { CoreUiThemeProvider } from '../src/lib/next';
|
|
4
4
|
import { brand, coreUIAvailableThemes } from '../src/lib/style/theme';
|
|
5
5
|
import { Wrapper } from '../stories/common';
|
|
6
|
-
import {
|
|
6
|
+
import { ToastProvider } from '../src/lib';
|
|
7
7
|
|
|
8
8
|
export const globalTypes = {
|
|
9
9
|
theme: {
|
|
@@ -101,3 +101,4 @@ export const parameters = {
|
|
|
101
101
|
},
|
|
102
102
|
},
|
|
103
103
|
};
|
|
104
|
+
export const tags = ['autodocs'];
|
|
@@ -5,6 +5,6 @@ type IconHelpProps = {
|
|
|
5
5
|
placement?: Position;
|
|
6
6
|
overlayStyle?: CSSProperties;
|
|
7
7
|
};
|
|
8
|
-
export declare const IconHelp: ({ tooltipMessage, overlayStyle, placement, }: IconHelpProps) => JSX.Element;
|
|
8
|
+
export declare const IconHelp: ({ tooltipMessage, overlayStyle, placement, }: IconHelpProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=IconHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconHelper.d.ts","sourceRoot":"","sources":["../../src/lib/components/IconHelper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAW,MAAM,6BAA6B,CAAC;AAEhE,KAAK,aAAa,GAAG;IACnB,cAAc,EAAE,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,YAAY,CAAC,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,QAAQ,iDAIlB,aAAa,
|
|
1
|
+
{"version":3,"file":"IconHelper.d.ts","sourceRoot":"","sources":["../../src/lib/components/IconHelper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAW,MAAM,6BAA6B,CAAC;AAEhE,KAAK,aAAa,GAAG;IACnB,cAAc,EAAE,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,YAAY,CAAC,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,QAAQ,iDAIlB,aAAa,4CAQf,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TableHeightKeyType, TableLocalType } from './tablev2/TableUtils';
|
|
3
2
|
export declare const NoResult: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & import("styled-system").BordersProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & {
|
|
4
|
-
gap?: string | number
|
|
3
|
+
gap?: string | number;
|
|
5
4
|
} & {
|
|
6
5
|
height: number | string;
|
|
7
6
|
}, never>;
|
|
@@ -25,5 +24,5 @@ export type UnsuccessfulResultProps = {
|
|
|
25
24
|
rowHeight?: never;
|
|
26
25
|
heightInRem?: number | string;
|
|
27
26
|
});
|
|
28
|
-
export declare const UnsuccessfulResult: (props: UnsuccessfulResultProps) => JSX.Element;
|
|
27
|
+
export declare const UnsuccessfulResult: (props: UnsuccessfulResultProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
//# sourceMappingURL=UnsuccessfulResult.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnsuccessfulResult.component.d.ts","sourceRoot":"","sources":["../../src/lib/components/UnsuccessfulResult.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UnsuccessfulResult.component.d.ts","sourceRoot":"","sources":["../../src/lib/components/UnsuccessfulResult.component.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAClB,cAAc,EAGf,MAAM,sBAAsB,CAAC;AAK9B,eAAO,MAAM,QAAQ;;;YAAyB,MAAM,GAAG,MAAM;SAO5D,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,CAAC,EAAE;QACL,EAAE,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;QACzC,EAAE,CAAC,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;KAC3C,CAAC;IACF,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAAC;CACnD,GAAG,CACA;IAAE,SAAS,EAAE,kBAAkB,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAA;CAAE,GACtD;IAAE,SAAS,CAAC,EAAE,KAAK,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CACvD,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,4CAehE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type AccordionProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
id: string;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
};
|
|
8
|
+
export declare const Accordion: ({ title, id, style, children }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=Accordion.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/accordion/Accordion.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AA4BF,eAAO,MAAM,SAAS,mCAAoC,cAAc,4CAuDvE,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { spacing, Stack } from '../../spacing';
|
|
4
|
+
import { Box } from '../box/Box';
|
|
5
|
+
import { Icon } from '../icon/Icon.component';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { Text } from '../text/Text.component';
|
|
8
|
+
const AccordionHeader = styled.button `
|
|
9
|
+
-webkit-appearance: none;
|
|
10
|
+
-moz-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
border: none;
|
|
13
|
+
width: 100%;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
color: ${(props) => props.theme.textPrimary};
|
|
17
|
+
padding: 0;
|
|
18
|
+
`;
|
|
19
|
+
const AccordionContainer = styled.div `
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
opacity: ${(props) => (props.isOpen ? 1 : 0)};
|
|
22
|
+
transition:
|
|
23
|
+
height 0.3s ease-in,
|
|
24
|
+
opacity 0.3s ease-in,
|
|
25
|
+
visibility 0.3s;
|
|
26
|
+
visibility: ${(props) => (props.isOpen ? 'visible' : 'hidden')};
|
|
27
|
+
`;
|
|
28
|
+
const Wrapper = styled.div `
|
|
29
|
+
padding: ${spacing.r8} 0 ${spacing.r8} ${spacing.r20};
|
|
30
|
+
`;
|
|
31
|
+
export const Accordion = ({ title, id, style, children }) => {
|
|
32
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
33
|
+
const handleToggleContent = (e) => {
|
|
34
|
+
setIsOpen((prev) => !prev);
|
|
35
|
+
};
|
|
36
|
+
return (_jsxs(Box, { style: { width: '100%', height: 'auto' }, children: [_jsx("h3", { style: { margin: 0 }, children: _jsx(AccordionHeader, { type: "button", id: `Accordion-header-${id}`, onClick: handleToggleContent, "aria-controls": id, "aria-expanded": isOpen, onKeyDown: (e) => (e.key === 'Enter' || e.key === ' ') && handleToggleContent, children: _jsxs(Stack, { direction: "horizontal", gap: "r8", children: [_jsx(Icon, { name: "Chevron-up", size: "lg", style: {
|
|
37
|
+
transform: isOpen ? 'rotate(0deg)' : 'rotate(180deg)',
|
|
38
|
+
transition: 'transform 0.3s ease-in',
|
|
39
|
+
} }), _jsx(Text, { isEmphazed: true, children: title })] }) }) }), _jsx(AccordionContainer, { ref: (element) => {
|
|
40
|
+
if (isOpen) {
|
|
41
|
+
element === null || element === void 0 ? void 0 : element.style.setProperty('height', element.scrollHeight + 'px');
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
element === null || element === void 0 ? void 0 : element.style.setProperty('height', '0px');
|
|
45
|
+
}
|
|
46
|
+
}, isOpen: isOpen, id: id, "aria-labelledby": `Accordion-header-${id}`, role: "region", children: _jsx(Wrapper, { style: style, children: children }) })] }));
|
|
47
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type Props = {
|
|
3
2
|
id: string;
|
|
4
3
|
data: Array<Record<string, any>>;
|
|
@@ -9,6 +8,6 @@ type Props = {
|
|
|
9
8
|
width?: number;
|
|
10
9
|
height?: number;
|
|
11
10
|
};
|
|
12
|
-
declare function AreaChart({ id, data, xAxis, yAxis, color, height, width, areas, ...rest }: Props): JSX.Element;
|
|
11
|
+
declare function AreaChart({ id, data, xAxis, yAxis, color, height, width, areas, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export { AreaChart };
|
|
14
13
|
//# sourceMappingURL=AreaChart.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AreaChart.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/areachart/AreaChart.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AreaChart.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/areachart/AreaChart.component.tsx"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,iBAAS,SAAS,CAAC,EACjB,EAAE,EACF,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAY,EACZ,KAAY,EACZ,KAAU,EACV,GAAG,IAAI,EACR,EAAE,KAAK,2CAuBP;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Variant } from '../constants';
|
|
3
2
|
export type Props = {
|
|
4
3
|
icon?: React.ReactNode;
|
|
@@ -6,6 +5,6 @@ export type Props = {
|
|
|
6
5
|
children: React.ReactNode;
|
|
7
6
|
variant: Variant;
|
|
8
7
|
};
|
|
9
|
-
declare function Banner({ icon, title, children, variant, ...rest }: Props): JSX.Element;
|
|
8
|
+
declare function Banner({ icon, title, children, variant, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export { Banner };
|
|
11
10
|
//# sourceMappingURL=Banner.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/banner/Banner.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Banner.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/banner/Banner.component.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAmCF,iBAAS,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,2CAUjE;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type Props = {
|
|
3
2
|
id: string;
|
|
4
3
|
data: Array<Record<string, any>>;
|
|
@@ -8,6 +7,6 @@ type Props = {
|
|
|
8
7
|
height?: number;
|
|
9
8
|
barConfig?: Record<string, any>;
|
|
10
9
|
};
|
|
11
|
-
declare function BarChart({ id, data, xAxis, yAxis, color, height, barConfig, }: Props): JSX.Element;
|
|
10
|
+
declare function BarChart({ id, data, xAxis, yAxis, color, height, barConfig, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export { BarChart };
|
|
13
12
|
//# sourceMappingURL=BarChart.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChart.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/barchart/BarChart.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BarChart.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/barchart/BarChart.component.tsx"],"names":[],"mappings":"AACA,KAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACjC,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,EAAE,EACF,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAY,EACZ,SAAS,GACV,EAAE,KAAK,2CAwBP;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -2,8 +2,6 @@ import type { LayoutProps, FlexboxProps, ColorProps, SpaceProps, PositionProps,
|
|
|
2
2
|
export type BoxComponentProps = LayoutProps & FlexboxProps & GridProps & SpaceProps & PositionProps & ColorProps & BackgroundProps & BordersProps & TypographyProps & ShadowProps & {
|
|
3
3
|
gap?: string | number;
|
|
4
4
|
};
|
|
5
|
-
declare const Box: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme,
|
|
6
|
-
gap?: string | number | undefined;
|
|
7
|
-
}, never>;
|
|
5
|
+
declare const Box: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, BoxComponentProps, never>;
|
|
8
6
|
export { Box };
|
|
9
7
|
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/lib/components/box/Box.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,EACb,SAAS,EACT,eAAe,EACf,YAAY,EACZ,eAAe,EACf,WAAW,EACZ,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,iBAAiB,GAAG,WAAW,GACzC,YAAY,GACZ,SAAS,GACT,UAAU,GACV,aAAa,GACb,UAAU,GACV,eAAe,GACf,YAAY,GACZ,eAAe,GACf,WAAW,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE1C,QAAA,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/lib/components/box/Box.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,EACb,SAAS,EACT,eAAe,EACf,YAAY,EACZ,eAAe,EACf,WAAW,EACZ,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,iBAAiB,GAAG,WAAW,GACzC,YAAY,GACZ,SAAS,GACT,UAAU,GACV,aAAa,GACb,UAAU,GACV,eAAe,GACf,YAAY,GACZ,eAAe,GACf,WAAW,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE1C,QAAA,MAAM,GAAG,wHAiBR,CAAC;AACF,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type Props = {
|
|
3
2
|
paths: Array<JSX.Element>;
|
|
4
3
|
};
|
|
5
|
-
declare const Breadcrumb: ({ paths, ...rest }: Props) => JSX.Element;
|
|
4
|
+
declare const Breadcrumb: ({ paths, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export { Breadcrumb };
|
|
7
6
|
//# sourceMappingURL=Breadcrumb.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/breadcrumb/Breadcrumb.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Breadcrumb.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/breadcrumb/Breadcrumb.component.tsx"],"names":[],"mappings":"AAKA,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;CAC3B,CAAC;AAuEF,QAAA,MAAM,UAAU,uBAA6B,KAAK,4CAoBjD,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Size } from '../constants';
|
|
3
2
|
type Props = {
|
|
4
3
|
text?: string;
|
|
@@ -23,6 +22,6 @@ export declare const ButtonContent: import("styled-components").StyledComponent<
|
|
|
23
22
|
* You should use ButtonV2 with
|
|
24
23
|
* import { Button } from '@scality/core-ui/dist/next';
|
|
25
24
|
*/
|
|
26
|
-
declare function Button({ text, href, icon, size, variant, outlined, disabled, onClick, title, isLoading, type, inverted, ...rest }: Props): JSX.Element;
|
|
25
|
+
declare function Button({ text, href, icon, size, variant, outlined, disabled, onClick, title, isLoading, type, inverted, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
27
26
|
export { Button };
|
|
28
27
|
//# sourceMappingURL=Button.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/button/Button.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/button/Button.component.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,OAAO,CAAC,EACJ,eAAe,GACf,iBAAiB,GACjB,cAAc,GACd,kBAAkB,CAAC;IAEvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAC/B,CAAC;AACF,eAAO,MAAM,YAAY,4GA+LxB,CAAC;AACF,eAAO,MAAM,UAAU,0GAStB,CAAC;AACF,eAAO,MAAM,UAAU,0GAItB,CAAC;AACF,eAAO,MAAM,aAAa,0GAEzB,CAAC;AAGF;;;;GAIG;AACH,iBAAS,MAAM,CAAC,EACd,IAAS,EACT,IAAS,EACT,IAAW,EACX,IAAa,EACb,OAAyB,EACzB,QAAgB,EAChB,QAAgB,EAChB,OAAO,EACP,KAAU,EACV,SAAiB,EACjB,IAAe,EACf,QAAgB,EAChB,GAAG,IAAI,EACR,EAAE,KAAK,2CAgDP;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -12,16 +12,7 @@ export type Props = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'size' | 'labe
|
|
|
12
12
|
tooltip?: Omit<TooltipProps, 'children'>;
|
|
13
13
|
isLoading?: boolean;
|
|
14
14
|
};
|
|
15
|
-
export declare const ButtonStyled: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme,
|
|
16
|
-
variant?: "outline" | "danger" | "primary" | "secondary" | undefined;
|
|
17
|
-
size?: "default" | "inline" | undefined;
|
|
18
|
-
disabled?: boolean | undefined;
|
|
19
|
-
onClick?: ((event: React.MouseEvent<HTMLButtonElement>) => void) | undefined;
|
|
20
|
-
icon?: React.ReactNode;
|
|
21
|
-
label?: React.ReactNode;
|
|
22
|
-
tooltip?: Omit<TooltipProps, "children"> | undefined;
|
|
23
|
-
isLoading?: boolean | undefined;
|
|
24
|
-
}, never>;
|
|
15
|
+
export declare const ButtonStyled: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, Props, never>;
|
|
25
16
|
export declare const ButtonLabel: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
26
17
|
export declare const ButtonIcon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
27
18
|
label: React.ReactNode;
|
|
@@ -30,6 +21,6 @@ export declare const ButtonLoader: import("styled-components").StyledComponent<t
|
|
|
30
21
|
label: any;
|
|
31
22
|
variant: any;
|
|
32
23
|
}, never>;
|
|
33
|
-
declare function Button({ variant, size, disabled, label, icon, onClick, tooltip, isLoading, ...rest }: Props): JSX.Element;
|
|
24
|
+
declare function Button({ variant, size, disabled, label, icon, onClick, tooltip, isLoading, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
34
25
|
export { Button };
|
|
35
26
|
//# sourceMappingURL=Buttonv2.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Buttonv2.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/buttonv2/Buttonv2.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAW,KAAK,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE9E,eAAO,MAAM,iBAAiB,oIAI7B,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,IAAI,CACtB,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,MAAM,GAAG,OAAO,CACjB,GAAG;IACF,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;IACzD,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AACF,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"Buttonv2.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/buttonv2/Buttonv2.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAW,KAAK,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE9E,eAAO,MAAM,iBAAiB,oIAI7B,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,IAAI,CACtB,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,MAAM,GAAG,OAAO,CACjB,GAAG;IACF,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;IACzD,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AACF,eAAO,MAAM,YAAY,+GAqJxB,CAAC;AACF,eAAO,MAAM,WAAW,0GAIvB,CAAC;AACF,eAAO,MAAM,UAAU;WAAwB,KAAK,CAAC,SAAS;SAS7D,CAAC;AAEF,eAAO,MAAM,YAAY;;;SAaxB,CAAC;AAEF,iBAAS,MAAM,CAAC,EACd,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,OAAO,EACP,OAAO,EACP,SAAS,EACT,GAAG,IAAI,EACR,EAAE,KAAK,2CAqDP;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Props } from './Buttonv2.component';
|
|
3
2
|
export declare const COPY_STATE_IDLE = "idle";
|
|
4
3
|
export declare const COPY_STATE_SUCCESS = "success";
|
|
@@ -8,17 +7,8 @@ export declare const useClipboard: () => {
|
|
|
8
7
|
copyStatus: string;
|
|
9
8
|
};
|
|
10
9
|
export declare const CopyButton: ({ label, textToCopy, variant, ...props }: {
|
|
11
|
-
label?: string
|
|
10
|
+
label?: string;
|
|
12
11
|
textToCopy: string;
|
|
13
|
-
variant?: "outline" | "ghost"
|
|
14
|
-
} &
|
|
15
|
-
variant?: "outline" | "danger" | "primary" | "secondary" | undefined;
|
|
16
|
-
size?: "default" | "inline" | undefined;
|
|
17
|
-
disabled?: boolean | undefined;
|
|
18
|
-
onClick?: ((event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
|
|
19
|
-
icon?: import("react").ReactNode;
|
|
20
|
-
label?: import("react").ReactNode;
|
|
21
|
-
tooltip?: Omit<import("../tooltip/Tooltip.component").Props, "children"> | undefined;
|
|
22
|
-
isLoading?: boolean | undefined;
|
|
23
|
-
}) => JSX.Element;
|
|
12
|
+
variant?: "outline" | "ghost";
|
|
13
|
+
} & Props) => import("react/jsx-runtime").JSX.Element;
|
|
24
14
|
//# sourceMappingURL=CopyButton.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/buttonv2/CopyButton.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CopyButton.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/buttonv2/CopyButton.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,eAAe,SAAS,CAAC;AACtC,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAC5C,eAAO,MAAM,sBAAsB,gBAAgB,CAAC;AACpD,eAAO,MAAM,YAAY;;;CAuBxB,CAAC;AAEF,eAAO,MAAM,UAAU,6CAKpB;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC/B,GAAG,KAAK,4CA+CR,CAAC"}
|
|
@@ -3,9 +3,9 @@ type CardElementProps = {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const CardHeader: ({ children, className, ...rest }: CardElementProps) => JSX.Element;
|
|
7
|
-
export declare const CardBody: ({ children, className, ...rest }: CardElementProps) => JSX.Element;
|
|
8
|
-
export declare const CardBodyContainer: ({ children, className, ...rest }: CardElementProps) => JSX.Element;
|
|
6
|
+
export declare const CardHeader: ({ children, className, ...rest }: CardElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const CardBody: ({ children, className, ...rest }: CardElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const CardBodyContainer: ({ children, className, ...rest }: CardElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
type CardProps = {
|
|
10
10
|
width?: string;
|
|
11
11
|
height?: string;
|
|
@@ -18,11 +18,11 @@ type CardProps = {
|
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
className?: string;
|
|
20
20
|
} & HTMLProps<HTMLDivElement>;
|
|
21
|
-
declare function Card({ width, height, headerBackgroundColor, bodyBackgroundColor, status, onClick, active, disabled, children, className, ...rest }: CardProps): JSX.Element;
|
|
21
|
+
declare function Card({ width, height, headerBackgroundColor, bodyBackgroundColor, status, onClick, active, disabled, children, className, ...rest }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
declare namespace Card {
|
|
23
|
-
var Header: ({ children, className, ...rest }: CardElementProps) => JSX.Element;
|
|
24
|
-
var Body: ({ children, className, ...rest }: CardElementProps) => JSX.Element;
|
|
25
|
-
var BodyContainer: ({ children, className, ...rest }: CardElementProps) => JSX.Element;
|
|
23
|
+
var Header: ({ children, className, ...rest }: CardElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
var Body: ({ children, className, ...rest }: CardElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
var BodyContainer: ({ children, className, ...rest }: CardElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
}
|
|
27
27
|
export { Card };
|
|
28
28
|
//# sourceMappingURL=Card.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/card/Card.component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlC,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAmDF,eAAO,MAAM,UAAU,qCAhDqB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Card.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/card/Card.component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlC,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAmDF,eAAO,MAAM,UAAU,qCAhDqB,gBAAgB,4CAgDC,CAAC;AAC9D,eAAO,MAAM,QAAQ,qCAjDuB,gBAAgB,4CAiDH,CAAC;AAC1D,eAAO,MAAM,iBAAiB,qCAlDc,gBAAgB,4CAkDe,CAAC;AAoD5E,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;AAC9B,iBAAS,IAAI,CAAC,EACZ,KAAc,EACd,MAAe,EACf,qBAAyC,EACzC,mBAAwC,EACxC,MAAa,EACb,OAAc,EACd,MAAc,EACd,QAAgB,EAChB,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,SAAS,2CA4CX;kBAxDQ,IAAI;mDAlH+B,gBAAgB;iDAAhB,gBAAgB;0DAAhB,gBAAgB;;AA8K5D,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -7,11 +7,11 @@ export type Props = {
|
|
|
7
7
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
8
8
|
} & InputHTMLAttributes<HTMLInputElement>;
|
|
9
9
|
declare const Checkbox: import("react").ForwardRefExoticComponent<{
|
|
10
|
-
label?: string
|
|
11
|
-
value?: string
|
|
12
|
-
checked?: boolean
|
|
13
|
-
disabled?: boolean
|
|
14
|
-
onChange?: (
|
|
10
|
+
label?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
checked?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
15
15
|
} & InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
16
|
export { Checkbox };
|
|
17
17
|
//# sourceMappingURL=Checkbox.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/checkbox/Checkbox.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAc,MAAM,OAAO,CAAC;AAOrE,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACvD,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"Checkbox.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/checkbox/Checkbox.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAc,MAAM,OAAO,CAAC;AAOrE,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACvD,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ;YAPJ,MAAM;YACN,MAAM;cACJ,OAAO;eACN,OAAO;eACP,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI;4FA0BtD,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Size } from '../constants';
|
|
3
2
|
type Props = {
|
|
4
3
|
text: string;
|
|
@@ -17,6 +16,6 @@ export declare const ChipsText: import("styled-components").StyledComponent<"spa
|
|
|
17
16
|
icon: any;
|
|
18
17
|
isRemovable: boolean;
|
|
19
18
|
}, never>;
|
|
20
|
-
declare const Chips: ({ text, variant, icon, onClick, onRemove, size, }: Props) => JSX.Element;
|
|
19
|
+
declare const Chips: ({ text, variant, icon, onClick, onRemove, size, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export { Chips };
|
|
22
21
|
//# sourceMappingURL=Chips.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/chips/Chips.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Chips.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/chips/Chips.component.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EACJ,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,aAAa,GACb,eAAe,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AA0FF,eAAO,MAAM,SAAS;aACX,GAAG;UACN,MAAM;UACN,IAAI;SAOX,CAAC;AACF,eAAO,MAAM,SAAS;UAAuB,GAAG;iBAAe,OAAO;SAKrE,CAAC;AAEF,QAAA,MAAM,KAAK,sDAOR,KAAK,4CAgCP,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type Props = {
|
|
3
2
|
percent: number;
|
|
4
3
|
radius: number;
|
|
@@ -8,6 +7,6 @@ type Props = {
|
|
|
8
7
|
backgroundColor?: string;
|
|
9
8
|
children?: JSX.Element;
|
|
10
9
|
};
|
|
11
|
-
declare function CircularProgressBar({ percent, radius, strokeWidth, title, color, backgroundColor, children, ...rest }: Props): JSX.Element;
|
|
10
|
+
declare function CircularProgressBar({ percent, radius, strokeWidth, title, color, backgroundColor, children, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export { CircularProgressBar };
|
|
13
12
|
//# sourceMappingURL=CircularProgressBar.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularProgressBar.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/circularprogressbar/CircularProgressBar.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CircularProgressBar.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/circularprogressbar/CircularProgressBar.component.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;CACxB,CAAC;AAEF,iBAAS,mBAAmB,CAAC,EAC3B,OAAO,EACP,MAAM,EACN,WAAgB,EAChB,KAAK,EACL,KAAK,EACL,eAAe,EACf,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,KAAK,2CA8BP;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -6,6 +6,6 @@ export declare const ProgressCircle: import("styled-components").StyledComponent
|
|
|
6
6
|
percent: number;
|
|
7
7
|
}, never>;
|
|
8
8
|
export declare const BackgroundCircle: import("styled-components").StyledComponent<"circle", import("styled-components").DefaultTheme, {
|
|
9
|
-
backgroundColor?: string
|
|
9
|
+
backgroundColor?: string;
|
|
10
10
|
}, never>;
|
|
11
11
|
//# sourceMappingURL=CircularProgressBar.component.style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularProgressBar.component.style.d.ts","sourceRoot":"","sources":["../../../src/lib/components/circularprogressbar/CircularProgressBar.component.style.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,eAAO,MAAM,4BAA4B,yGAGxC,CAAC;AACF,eAAO,MAAM,KAAK,sHAKjB,CAAC;AACF,eAAO,MAAM,cAAc;mBACV,MAAM;aACZ,MAAM;SAShB,CAAC;AACF,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"CircularProgressBar.component.style.d.ts","sourceRoot":"","sources":["../../../src/lib/components/circularprogressbar/CircularProgressBar.component.style.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,eAAO,MAAM,4BAA4B,yGAGxC,CAAC;AACF,eAAO,MAAM,KAAK,sHAKjB,CAAC;AACF,eAAO,MAAM,cAAc;mBACV,MAAM;aACZ,MAAM;SAShB,CAAC;AACF,eAAO,MAAM,gBAAgB;sBAAqC,MAAM;SAIvE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export type CloudProgressBarProps = {
|
|
3
2
|
percentage: number;
|
|
4
3
|
borderSize: string;
|
|
@@ -6,6 +5,6 @@ export type CloudProgressBarProps = {
|
|
|
6
5
|
progressCloudColor?: string;
|
|
7
6
|
children: JSX.Element;
|
|
8
7
|
};
|
|
9
|
-
declare const CloudProgressBar: ({ percentage, borderSize, cloudColor, progressCloudColor, children, }: CloudProgressBarProps) => JSX.Element;
|
|
8
|
+
declare const CloudProgressBar: ({ percentage, borderSize, cloudColor, progressCloudColor, children, }: CloudProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export { CloudProgressBar };
|
|
11
10
|
//# sourceMappingURL=CloudProgressBar.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudProgressBar.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/cloudprogressbar/CloudProgressBar.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CloudProgressBar.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/cloudprogressbar/CloudProgressBar.component.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;CACvB,CAAC;AA6EF,QAAA,MAAM,gBAAgB,0EAMnB,qBAAqB,4CAWvB,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type Props = {
|
|
3
2
|
expanded: boolean;
|
|
4
3
|
onHeaderClick: (arg0: any) => void;
|
|
5
4
|
children: React.ReactNode;
|
|
6
5
|
headerItems: Array<JSX.Element>;
|
|
7
6
|
};
|
|
8
|
-
declare function CollapsiblePanel({ expanded, onHeaderClick, children, headerItems, }: Props): JSX.Element;
|
|
7
|
+
declare function CollapsiblePanel({ expanded, onHeaderClick, children, headerItems, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export { CollapsiblePanel };
|
|
10
9
|
//# sourceMappingURL=CollapsiblePanel.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsiblePanel.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/collapsiblepanel/CollapsiblePanel.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CollapsiblePanel.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/collapsiblepanel/CollapsiblePanel.component.tsx"],"names":[],"mappings":"AAIA,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC;AAqCF,iBAAS,gBAAgB,CAAC,EACxB,QAAgB,EAChB,aAAa,EACb,QAAQ,EACR,WAAgB,GACjB,EAAE,KAAK,2CAuBP;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constrainedtext.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/constrainedtext/Constrainedtext.component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Constrainedtext.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/constrainedtext/Constrainedtext.component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAErE,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IACpD,YAAY,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAiDF,iBAAS,eAAe,CAAC,EACvB,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,SAAa,GACd,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAuBrB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -4,6 +4,6 @@ type Props = {
|
|
|
4
4
|
theme: CoreUITheme;
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const CoreUiThemeProvider: ({ theme, children }: Props) => JSX.Element;
|
|
7
|
+
declare const CoreUiThemeProvider: ({ theme, children }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export { CoreUiThemeProvider };
|
|
9
9
|
//# sourceMappingURL=CoreUiThemeProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoreUiThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/lib/components/coreuithemeprovider/CoreUiThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAmB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEjE,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,mBAAmB,wBAAyB,KAAK,
|
|
1
|
+
{"version":3,"file":"CoreUiThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/lib/components/coreuithemeprovider/CoreUiThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAmB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEjE,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,mBAAmB,wBAAyB,KAAK,4CAStD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|