@cloudoperators/juno-ui-components 2.36.0 → 2.37.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/build/index.js +1544 -1544
- package/build/src/components/AppShell/AppShell.component.d.ts +1 -1
- package/build/src/components/AppShell/AppShell.component.d.ts.map +1 -1
- package/build/src/components/BreadcrumbItem/BreadcrumbItem.component.d.ts +1 -1
- package/build/src/components/BreadcrumbItem/BreadcrumbItem.component.d.ts.map +1 -1
- package/build/src/components/Button/Button.component.d.ts +1 -1
- package/build/src/components/Button/Button.component.d.ts.map +1 -1
- package/build/src/components/Button/Button.stories.d.ts +8 -0
- package/build/src/components/Button/Button.stories.d.ts.map +1 -1
- package/build/src/components/ButtonRow/ButtonRow.stories.d.ts +0 -1
- package/build/src/components/ButtonRow/ButtonRow.stories.d.ts.map +1 -1
- package/build/src/components/CodeBlock/CodeBlock.component.d.ts +4 -4
- package/build/src/components/CodeBlock/CodeBlock.component.d.ts.map +1 -1
- package/build/src/components/CodeBlock/CodeBlock.stories.d.ts +5 -0
- package/build/src/components/CodeBlock/CodeBlock.stories.d.ts.map +1 -1
- package/build/src/components/Container/Container.stories.d.ts +5 -0
- package/build/src/components/Container/Container.stories.d.ts.map +1 -1
- package/build/src/components/DataGrid/DataGrid.component.d.ts +1 -1
- package/build/src/components/DataGrid/DataGrid.component.d.ts.map +1 -1
- package/build/src/components/DataGrid/DataGrid.stories.d.ts +5 -0
- package/build/src/components/DataGrid/DataGrid.stories.d.ts.map +1 -1
- package/build/src/components/DataGridCell/DataGridCell.component.d.ts +1 -1
- package/build/src/components/DataGridCell/DataGridCell.component.d.ts.map +1 -1
- package/build/src/components/DataGridCell/DataGridCell.stories.d.ts +5 -0
- package/build/src/components/DataGridCell/DataGridCell.stories.d.ts.map +1 -1
- package/build/src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.d.ts +0 -5
- package/build/src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.d.ts.map +1 -1
- package/build/src/components/DataGridFoot/DataGridFoot.component.d.ts +1 -1
- package/build/src/components/DataGridFoot/DataGridFoot.component.d.ts.map +1 -1
- package/build/src/components/DataGridFoot/DataGridFoot.stories.d.ts +5 -0
- package/build/src/components/DataGridFoot/DataGridFoot.stories.d.ts.map +1 -1
- package/build/src/components/DataGridHeadCell/DataGridHeadCell.component.d.ts +1 -1
- package/build/src/components/DataGridHeadCell/DataGridHeadCell.component.d.ts.map +1 -1
- package/build/src/components/DataGridHeadCell/DataGridHeadCell.stories.d.ts +5 -0
- package/build/src/components/DataGridHeadCell/DataGridHeadCell.stories.d.ts.map +1 -1
- package/build/src/components/DataGridRow/DataGridRow.component.d.ts +1 -1
- package/build/src/components/DataGridRow/DataGridRow.component.d.ts.map +1 -1
- package/build/src/components/DataGridRow/DataGridRow.stories.d.ts +5 -0
- package/build/src/components/DataGridRow/DataGridRow.stories.d.ts.map +1 -1
- package/build/src/components/DataGridToolbar/DataGridToolbar.component.d.ts +1 -1
- package/build/src/components/DataGridToolbar/DataGridToolbar.component.d.ts.map +1 -1
- package/build/src/components/DataGridToolbar/DataGridToolbar.stories.d.ts +5 -2
- package/build/src/components/DataGridToolbar/DataGridToolbar.stories.d.ts.map +1 -1
- package/build/src/components/FormattedText/FormattedText.stories.d.ts +5 -0
- package/build/src/components/FormattedText/FormattedText.stories.d.ts.map +1 -1
- package/build/src/components/IntroBox/IntroBox.component.d.ts +4 -6
- package/build/src/components/IntroBox/IntroBox.component.d.ts.map +1 -1
- package/build/src/components/JsonViewer/JsonViewer.component.d.ts +1 -1
- package/build/src/components/JsonViewer/JsonViewer.component.d.ts.map +1 -1
- package/build/src/components/MainContainer/MainContainer.stories.d.ts +5 -0
- package/build/src/components/MainContainer/MainContainer.stories.d.ts.map +1 -1
- package/build/src/components/Modal/Modal.component.d.ts +4 -4
- package/build/src/components/Modal/Modal.component.d.ts.map +1 -1
- package/build/src/components/ModalFooter/ModalFooter.component.d.ts +5 -5
- package/build/src/components/ModalFooter/ModalFooter.component.d.ts.map +1 -1
- package/build/src/components/Navigation/Navigation.component.d.ts +5 -6
- package/build/src/components/Navigation/Navigation.component.d.ts.map +1 -1
- package/build/src/components/Navigation/Navigation.stories.d.ts +5 -0
- package/build/src/components/Navigation/Navigation.stories.d.ts.map +1 -1
- package/build/src/components/NavigationItem/NavigationItem.component.d.ts +2 -4
- package/build/src/components/NavigationItem/NavigationItem.component.d.ts.map +1 -1
- package/build/src/components/PageFooter/PageFooter.stories.d.ts +5 -0
- package/build/src/components/PageFooter/PageFooter.stories.d.ts.map +1 -1
- package/build/src/components/PageHeader/PageHeader.component.d.ts +2 -2
- package/build/src/components/PageHeader/PageHeader.component.d.ts.map +1 -1
- package/build/src/components/SideNavigation/SideNavigation.component.d.ts +2 -3
- package/build/src/components/SideNavigation/SideNavigation.component.d.ts.map +1 -1
- package/build/src/components/SideNavigationItem/SideNavigationItem.component.d.ts +1 -1
- package/build/src/components/SideNavigationItem/SideNavigationItem.component.d.ts.map +1 -1
- package/build/src/components/Spinner/Spinner.component.d.ts +1 -1
- package/build/src/components/Spinner/Spinner.component.d.ts.map +1 -1
- package/build/src/components/Stack/Stack.component.d.ts +1 -1
- package/build/src/components/Stack/Stack.component.d.ts.map +1 -1
- package/build/src/components/Stack/Stack.stories.d.ts +5 -0
- package/build/src/components/Stack/Stack.stories.d.ts.map +1 -1
- package/build/src/components/StyleProvider/StyleProvider.component.d.ts +1 -1
- package/build/src/components/StyleProvider/StyleProvider.component.d.ts.map +1 -1
- package/build/src/components/Tab/Tab.component.d.ts +1 -1
- package/build/src/components/Tab/Tab.component.d.ts.map +1 -1
- package/build/src/components/Tab/Tab.stories.d.ts +5 -0
- package/build/src/components/Tab/Tab.stories.d.ts.map +1 -1
- package/build/src/components/TabNavigation/TabNavigation.component.d.ts +2 -3
- package/build/src/components/TabNavigation/TabNavigation.component.d.ts.map +1 -1
- package/build/src/components/TabPanel/TabPanel.component.d.ts +1 -1
- package/build/src/components/TabPanel/TabPanel.component.d.ts.map +1 -1
- package/build/src/components/TabPanel/TabPanel.stories.d.ts +5 -0
- package/build/src/components/TabPanel/TabPanel.stories.d.ts.map +1 -1
- package/build/src/components/TopNavigation/TopNavigation.component.d.ts +2 -3
- package/build/src/components/TopNavigation/TopNavigation.component.d.ts.map +1 -1
- package/build/src/components/TopNavigationItem/TopNavigationItem.component.d.ts +1 -1
- package/build/src/components/TopNavigationItem/TopNavigationItem.component.d.ts.map +1 -1
- package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.component.d.ts +1 -1
- package/build/src/deprecated_js/ContextMenu/ContextMenu.component.d.ts.map +1 -0
- package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.stories.d.ts +1 -1
- package/build/src/deprecated_js/ContextMenu/ContextMenu.stories.d.ts.map +1 -0
- package/build/src/deprecated_js/ContextMenu/ContextMenu.test.d.ts.map +1 -0
- package/build/src/deprecated_js/ContextMenu/index.d.ts.map +1 -0
- package/build/src/deprecated_js/Menu/Menu.component.d.ts.map +1 -0
- package/build/src/{components → deprecated_js}/Menu/Menu.stories.d.ts +1 -1
- package/build/src/deprecated_js/Menu/Menu.stories.d.ts.map +1 -0
- package/build/src/deprecated_js/Menu/Menu.test.d.ts.map +1 -0
- package/build/src/deprecated_js/Menu/index.d.ts.map +1 -0
- package/build/src/{components → deprecated_js}/MenuItem/MenuItem.component.d.ts +1 -1
- package/build/src/deprecated_js/MenuItem/MenuItem.component.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuItem/MenuItem.stories.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuItem/MenuItem.test.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuItem/index.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuSection/MenuSection.component.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuSection/MenuSection.stories.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuSection/MenuSection.test.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuSection/index.d.ts.map +1 -0
- package/build/src/index.d.ts +5 -4
- package/build/src/index.d.ts.map +1 -1
- package/build/style.css +1 -1
- package/package.json +1 -1
- package/build/src/components/ContextMenu/ContextMenu.component.d.ts.map +0 -1
- package/build/src/components/ContextMenu/ContextMenu.stories.d.ts.map +0 -1
- package/build/src/components/ContextMenu/ContextMenu.test.d.ts.map +0 -1
- package/build/src/components/ContextMenu/index.d.ts.map +0 -1
- package/build/src/components/Menu/Menu.component.d.ts.map +0 -1
- package/build/src/components/Menu/Menu.stories.d.ts.map +0 -1
- package/build/src/components/Menu/Menu.test.d.ts.map +0 -1
- package/build/src/components/Menu/index.d.ts.map +0 -1
- package/build/src/components/MenuItem/MenuItem.component.d.ts.map +0 -1
- package/build/src/components/MenuItem/MenuItem.stories.d.ts.map +0 -1
- package/build/src/components/MenuItem/MenuItem.test.d.ts.map +0 -1
- package/build/src/components/MenuItem/index.d.ts.map +0 -1
- package/build/src/components/MenuSection/MenuSection.component.d.ts.map +0 -1
- package/build/src/components/MenuSection/MenuSection.stories.d.ts.map +0 -1
- package/build/src/components/MenuSection/MenuSection.test.d.ts.map +0 -1
- package/build/src/components/MenuSection/index.d.ts.map +0 -1
- /package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.test.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/ContextMenu/index.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/Menu/Menu.component.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/Menu/Menu.test.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/Menu/index.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuItem/MenuItem.stories.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuItem/MenuItem.test.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuItem/index.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.component.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.stories.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.test.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuSection/index.d.ts +0 -0
|
@@ -7,7 +7,7 @@ export interface AppShellProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
7
7
|
/** The main content of the app. */
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
/** Pass either the `<PageHeader>` component or if you don't need to add any content to the page header pass a string to be used as the app name in the standard page header. */
|
|
10
|
-
pageHeader?:
|
|
10
|
+
pageHeader?: React.ReactNode;
|
|
11
11
|
/** Optional. If specified pass a `<PageFooter>` component. If undefined will use default PageFooter */
|
|
12
12
|
pageFooter?: React.ReactNode;
|
|
13
13
|
/** Optional. If specified expects a `<TopNavigation>` component. If undefined no top navigation is rendered. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppShell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShell/AppShell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuD5C,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACtE,mCAAmC;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gLAAgL;IAChL,UAAU,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"AppShell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShell/AppShell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuD5C,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACtE,mCAAmC;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gLAAgL;IAChL,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,uGAAuG;IACvG,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,gHAAgH;IAChH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,kHAAkH;IAClH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAChC;sJACkJ;IAClJ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2YAA2Y;IAC3Y,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItem.component.d.ts","sourceRoot":"","sources":["../../../../src/components/BreadcrumbItem/BreadcrumbItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAezD,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"BreadcrumbItem.component.d.ts","sourceRoot":"","sources":["../../../../src/components/BreadcrumbItem/BreadcrumbItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAezD,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IACpD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6CxD,CAAA"}
|
|
@@ -25,7 +25,7 @@ export interface ButtonProps extends Omit<React.HTMLProps<HTMLAnchorElement> | R
|
|
|
25
25
|
/** Pass a className */
|
|
26
26
|
className?: string;
|
|
27
27
|
/** Click handler */
|
|
28
|
-
onClick?: React.MouseEventHandler<
|
|
28
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
|
|
29
29
|
/** Whether the button action is in progress */
|
|
30
30
|
progress?: boolean;
|
|
31
31
|
/** Display an alternative label while the button action is in progress */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAoB,MAAM,OAAO,CAAA;AACxC,OAAO,eAAe,CAAA;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA6FnD;;GAEG;AACH,eAAO,MAAM,MAAM,wHAyFlB,CAAA;AAID,KAAK,aAAa,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAA;AACzE,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,CAAA;AAErC,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC7F,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gFAAgF;IAChF,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,mCAAmC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2FAA2F;IAC3F,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qBAAqB;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAoB,MAAM,OAAO,CAAA;AACxC,OAAO,eAAe,CAAA;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA6FnD;;GAEG;AACH,eAAO,MAAM,MAAM,wHAyFlB,CAAA;AAID,KAAK,aAAa,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAA;AACzE,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,CAAA;AAErC,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC7F,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gFAAgF;IAChF,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,mCAAmC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2FAA2F;IAC3F,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qBAAqB;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAA;IACxE,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIzB,wBAmBC;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;CAYnB,CAAA;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;CAcnB,CAAA;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;CAanB,CAAA;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;CAazB,CAAA;AAED,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,eAAO,MAAM,KAAK;;;;;CAKjB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;CAYpB,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAY3B,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAY3B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;CAajC,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;CAY3B,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAc3B,CAAA;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAazB,CAAA;AAED,eAAO,MAAM,cAAc;;;CAAyB,CACnD;AASD,eAAO,MAAM,eAAe;;;CAAyB,CACpD;AAUD,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAexB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;CAehC,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;CAanC,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;CAehC,CAAA;AAED,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;CAgBpD,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;CAcnC,CAAA;AAED,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;CAc3C,CAAA;AAED,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;CAczC,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;CAclC,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;CAe1C,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;CAa9B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;CAcrC,CAAA;AAED,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;CAc3C,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAc3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ButtonRow/ButtonRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;AAIzB,wBAaC;AAGD,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO;oCALqB,aAAa
|
|
1
|
+
{"version":3,"file":"ButtonRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ButtonRow/ButtonRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;AAIzB,wBAaC;AAGD,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO;oCALqB,aAAa;;;;CAcrD,CAAA"}
|
|
@@ -3,10 +3,10 @@ import { default as React } from 'react';
|
|
|
3
3
|
export declare const CodeBlock: React.FC<CodeBlockProps>;
|
|
4
4
|
type CodeBlockSize = "auto" | "small" | "medium" | "large";
|
|
5
5
|
export interface CodeBlockProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "content" | "children"> {
|
|
6
|
-
/** The content to render.
|
|
6
|
+
/** The content to render. Used when `lang` is "json". Otherwise, if children are not provided. */
|
|
7
7
|
content?: string | object;
|
|
8
|
-
/** The children to render.
|
|
9
|
-
children?: React.ReactNode
|
|
8
|
+
/** The children to render. Used when `lang` is NOT "json", overriding `content`. */
|
|
9
|
+
children?: React.ReactNode;
|
|
10
10
|
/** Pass at title to render. Will look like a single tab. */
|
|
11
11
|
heading?: string;
|
|
12
12
|
/** Set whether the code should wrap or not. Default is true. */
|
|
@@ -15,7 +15,7 @@ export interface CodeBlockProps extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
15
15
|
size?: CodeBlockSize;
|
|
16
16
|
/** Render a button to copy the code to the clipboard. Defaults to true */
|
|
17
17
|
copy?: boolean;
|
|
18
|
-
/** Pass a lang prop. Passing "json" will render a fully-featured JsonView. Will also add a data-lang
|
|
18
|
+
/** Pass a lang prop. Passing "json" will render a fully-featured JsonView. Will also add a data-lang attribute to the codeblock */
|
|
19
19
|
lang?: string;
|
|
20
20
|
/** Add a custom className to the wrapper of the CodeBlock */
|
|
21
21
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.component.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAwC,MAAM,OAAO,CAAA;AAsG5D,gHAAgH;AAChH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsE9C,CAAA;AAED,KAAK,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE1D,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IACxG
|
|
1
|
+
{"version":3,"file":"CodeBlock.component.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAwC,MAAM,OAAO,CAAA;AAsG5D,gHAAgH;AAChH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsE9C,CAAA;AAED,KAAK,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE1D,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IACxG,kGAAkG;IAClG,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gEAAgE;IAChE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,uDAAuD;IACvD,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mIAAmI;IACnI,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAa,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAGjE,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA
|
|
1
|
+
{"version":3,"file":"CodeBlock.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAa,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAGjE,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;;;;;;;;;;;;;;;;;;;;;AAU5B,wBAeC;AAiBD,UAAU,iBAAiB;IACzB,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,CAAA;IACxC,UAAU,EAAE,cAAc,EAAE,CAAA;CAC7B;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;CAYnB,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;CAqB/B,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;CAe9B,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;CA+BrB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;CAchC,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAoBpB,CAAA;AAED,eAAO,MAAM,kBAAkB;mCAjJa,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CA2L5D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAa,cAAc,EAAE,MAAM,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAa,cAAc,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;AAEnD,wBAmBC;AAID,eAAO,MAAM,KAAK;mBAFM,cAAc;;;;;;;;;CAerC,CAAA;AAED,eAAO,MAAM,mBAAmB;mBAjBR,cAAc;;;;;;;;;;;CAgCrC,CAAA"}
|
|
@@ -24,7 +24,7 @@ export interface DataGridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
24
24
|
* which means that all child elements of the cell will be stacked vertically. To avoid this, wrap the elements in their own div */
|
|
25
25
|
cellVerticalAlignment?: CellVerticalAlignmentType;
|
|
26
26
|
/** Children to render in the DataGrid */
|
|
27
|
-
children?:
|
|
27
|
+
children?: React.ReactNode;
|
|
28
28
|
/** Add a class name */
|
|
29
29
|
className?: string;
|
|
30
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/DataGrid.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAyCzB,UAAU,mBAAmB;IAC3B,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;CAClD;AAID,eAAO,MAAM,kBAAkB,2BAA0C,CAAA;AAGzE;GACG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2B5C,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,KAAK,CAAA;AAExD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,qJAAqJ;IACrJ,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B;;iIAE6H;IAC7H,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;uIACmI;IACnI,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;IACjD,yCAAyC;IACzC,QAAQ,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DataGrid.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/DataGrid.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAyCzB,UAAU,mBAAmB;IAC3B,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;CAClD;AAID,eAAO,MAAM,kBAAkB,2BAA0C,CAAA;AAGzE;GACG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2B5C,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,KAAK,CAAA;AAExD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,qJAAqJ;IACrJ,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B;;iIAE6H;IAC7H,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;uIACmI;IACnI,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;IACjD,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/DataGrid.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA
|
|
1
|
+
{"version":3,"file":"DataGrid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/DataGrid.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;AAMzB,wBAWC;AAID,UAAU,aAAa;IACrB,QAAQ,EAAE,OAAO,CAAA;IACjB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,OAAO,EAAE,MAAM,CAAA;CAChB;AA+BD,eAAO,MAAM,OAAO;uDA7BwC,aAAa;;;;;;;;;;;CA2CxE,CAAA;AAED,eAAO,MAAM,eAAe;uDA7CgC,aAAa;;;;;;;;;;;;CA6DxE,CAAA;AAED,eAAO,MAAM,aAAa;uDA/DkC,aAAa;;;;;;;;;;;;CA+ExE,CAAA;AAED,eAAO,MAAM,mBAAmB;uDAjF4B,aAAa;;;;;;;;;;;;CAiGxE,CAAA;AAED,eAAO,MAAM,kBAAkB;uDAnG6B,aAAa;;;;;;;;;;;CAkHxE,CAAA;AAED,eAAO,MAAM,MAAM;uDApHyC,aAAa;;;;;;;;;;;;CAmIxE,CAAA;AAED,eAAO,MAAM,WAAW;uDArIoC,aAAa;;;;;;;;;;;;CAoJxE,CAAA"}
|
|
@@ -6,7 +6,7 @@ export interface DataGridCellProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
6
6
|
/** Set nowrap to true if the cell content shouldn't wrap (this is achieved by adding white-space: nowrap;) */
|
|
7
7
|
nowrap?: boolean;
|
|
8
8
|
/** Children to render in the DataGridCell */
|
|
9
|
-
children?:
|
|
9
|
+
children?: React.ReactNode;
|
|
10
10
|
/** Add a classname */
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridCell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCell/DataGridCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAgCzC,eAAO,MAAM,YAAY,0FAiBxB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DataGridCell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCell/DataGridCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAgCzC,eAAO,MAAM,YAAY,0FAiBxB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCell/DataGridCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAgB,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEzD,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA
|
|
1
|
+
{"version":3,"file":"DataGridCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCell/DataGridCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAgB,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEzD,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;;;;;;yBAc1B,aAAa;;;;;;;;;AAZzB,wBAyBC;AAID,eAAO,MAAM,OAAO;mBAFI,iBAAiB;;;;;;;;;;;CAgBxC,CAAA;AAED,eAAO,MAAM,MAAM;mBAlBK,iBAAiB;;;;;;;;;;;;CAiCxC,CAAA;AAED,eAAO,MAAM,OAAO;mBAnCI,iBAAiB;;;;;;;;;;;;CAkDxC,CAAA"}
|
|
@@ -4,11 +4,6 @@ type StoryFunction = () => JSX.Element;
|
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: React.FC<DataGridCheckboxCellProps>;
|
|
7
|
-
argTypes: {
|
|
8
|
-
children: {
|
|
9
|
-
control: boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
7
|
decorators: ((story: StoryFunction) => React.JSX.Element)[];
|
|
13
8
|
parameters: {
|
|
14
9
|
docs: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridCheckboxCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAwB,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEzE,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA
|
|
1
|
+
{"version":3,"file":"DataGridCheckboxCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAwB,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEzE,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;yBAM1B,aAAa;;;;;;;;;AAJzB,wBAiBC;AAID,eAAO,MAAM,OAAO;mBAFI,yBAAyB;;;;;;;;;CAchD,CAAA;AAED,eAAO,MAAM,QAAQ;mBAhBG,yBAAyB;;;;;;;;;;;CA8BhD,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
export declare const DataGridFoot: React.FC<DataGridFootProps>;
|
|
3
3
|
export interface DataGridFootProps extends React.HTMLAttributes<HTMLTableSectionElement> {
|
|
4
4
|
/** Children to render in the DataGridFoot */
|
|
5
|
-
children?:
|
|
5
|
+
children?: React.ReactNode;
|
|
6
6
|
/** Add a classname */
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridFoot.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridFoot/DataGridFoot.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAMpD,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,uBAAuB,CAAC;IACtF,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DataGridFoot.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridFoot/DataGridFoot.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAMpD,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,uBAAuB,CAAC;IACtF,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridFoot.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridFoot/DataGridFoot.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,KAAK,aAAa,GAAG,MAAM,KAAK,CAAC,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"DataGridFoot.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridFoot/DataGridFoot.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,KAAK,aAAa,GAAG,MAAM,KAAK,CAAC,SAAS,CAAA;;;;;;;;;;;;;;yBAanB,aAAa;;;;;;;;;AAXpC,wBAmBC;AAcD,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAA"}
|
|
@@ -7,7 +7,7 @@ export interface DataGridHeadCellProps extends React.HTMLAttributes<HTMLElement>
|
|
|
7
7
|
/** Set nowrap to true if the cell content shouldn't wrap (this is achieved by adding white-space: nowrap;) */
|
|
8
8
|
nowrap?: boolean;
|
|
9
9
|
/** Children to render in the DataGridHeadCell */
|
|
10
|
-
children?:
|
|
10
|
+
children?: React.ReactNode;
|
|
11
11
|
/** Add a classname */
|
|
12
12
|
className?: string;
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridHeadCell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridHeadCell/DataGridHeadCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAUzC,eAAO,MAAM,gBAAgB,8FAgC5B,CAAA;AAID,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC9E,6DAA6D;IAE7D,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DataGridHeadCell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridHeadCell/DataGridHeadCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAUzC,eAAO,MAAM,gBAAgB,8FAgC5B,CAAA;AAID,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC9E,6DAA6D;IAE7D,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridHeadCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridHeadCell/DataGridHeadCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEjE,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA
|
|
1
|
+
{"version":3,"file":"DataGridHeadCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridHeadCell/DataGridHeadCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEjE,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;;;;;;yBAc1B,aAAa;;;;;;;;;AAZzB,wBAyBC;AAID,eAAO,MAAM,OAAO;mBAFI,qBAAqB;;;;;;;;;;;CAgB5C,CAAA;AAED,eAAO,MAAM,MAAM;mBAlBK,qBAAqB;;;;;;;;;;;;CAiC5C,CAAA;AAED,eAAO,MAAM,OAAO;mBAnCI,qBAAqB;;;;;;;;;;;;CAkD5C,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
export declare const DataGridRow: React.ForwardRefExoticComponent<DataGridRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
3
3
|
export interface DataGridRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
/** Children to render in the DataGridRow */
|
|
5
|
-
children?:
|
|
5
|
+
children?: React.ReactNode;
|
|
6
6
|
/** Add a classname */
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridRow.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAQzC,eAAO,MAAM,WAAW,yFAuBvB,CAAA;AAID,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAK5E,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DataGridRow.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAQzC,eAAO,MAAM,WAAW,yFAuBvB,CAAA;AAID,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAK5E,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CAGnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAY,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAI3D,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA
|
|
1
|
+
{"version":3,"file":"DataGridRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAY,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAI3D,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;;;;;;;;;;;yBAkBf,aAAa;;;;;;;;;AAhBpC,wBAwBC;AAUD,UAAU,aAAa;IACrB,KAAK,EAAE,aAAa,EAAE,CAAA;CACvB;AAED,eAAO,MAAM,OAAO;iCAZkB,aAAa;;;;;;;;;;;CA0BlD,CAAA"}
|
|
@@ -5,7 +5,7 @@ export interface DataGridToolbarProps extends React.HTMLAttributes<HTMLDivElemen
|
|
|
5
5
|
/** Pass an optional SearchInput component */
|
|
6
6
|
search?: JSX.Element;
|
|
7
7
|
/** Children to render in the DataGridToolbar */
|
|
8
|
-
children?:
|
|
8
|
+
children?: React.ReactNode;
|
|
9
9
|
/** Add a classname */
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridToolbar.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,mOAAmO;AACnO,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAO1D,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,6CAA6C;IAC7C,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACpB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DataGridToolbar.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,mOAAmO;AACnO,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAO1D,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,6CAA6C;IAC7C,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACpB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAmB,oBAAoB,EAAE,MAAM,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"DataGridToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAmB,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;AAE/D,wBAcC;AAQD,eAAO,MAAM,OAAO;mBANI,oBAAoB;;;;;;;;;CAkB3C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormattedText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FormattedText/FormattedText.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA
|
|
1
|
+
{"version":3,"file":"FormattedText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FormattedText/FormattedText.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;;;AAG9D,wBAmBC;AAqJD,eAAO,MAAM,KAAK;mBAnJM,kBAAkB;;;;;;;;;CA+JzC,CAAA"}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export interface IntroBoxProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
3
3
|
/** Pass an optional title */
|
|
4
|
-
title?: string
|
|
4
|
+
title?: string;
|
|
5
5
|
/** Pass a string of text to be rendered as contents. Alternatively, contents can be passed as children (see below) */
|
|
6
|
-
text?: string
|
|
6
|
+
text?: string;
|
|
7
7
|
/** Pass a custom class */
|
|
8
8
|
variant?: "default" | "hero";
|
|
9
9
|
/** optional "hero" flavor image for hero variant. Specify as css bg image string pointing to an image in your app (see template app for an example). Will always be positioned top and right */
|
|
10
|
-
heroImage?: string
|
|
10
|
+
heroImage?: string;
|
|
11
11
|
/** Pass a custom class */
|
|
12
12
|
className?: string;
|
|
13
|
-
/** Pass child nodes to be rendered as
|
|
13
|
+
/** Pass child nodes to be rendered as content */
|
|
14
14
|
children?: React.ReactNode;
|
|
15
|
-
/** For additional props*/
|
|
16
|
-
[key: string]: any;
|
|
17
15
|
}
|
|
18
16
|
/**
|
|
19
17
|
* An Introbox holds generally important information to help understand the contents, purpose, or state of a whole page or view, or individual sections on longer pages.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntroBox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/IntroBox/IntroBox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IntroBox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/IntroBox/IntroBox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sHAAsH;IACtH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0BAA0B;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC5B,gMAAgM;IAChM,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;;EAGE;AACF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0B5C,CAAA"}
|
|
@@ -33,7 +33,7 @@ export interface JsonViewerProps extends Omit<React.HTMLProps<HTMLDivElement>, "
|
|
|
33
33
|
* @param base0E collapsed icon, types: "boolean"
|
|
34
34
|
* @param base0F copy icon, type "integer"
|
|
35
35
|
*/
|
|
36
|
-
theme?: themes.JsonViewerTheme | ThemeType
|
|
36
|
+
theme?: themes.JsonViewerTheme | ThemeType;
|
|
37
37
|
/** expanded can be true|false or a number. The number denotes the hierarchy level to which the object is expanded. */
|
|
38
38
|
expanded?: boolean | number;
|
|
39
39
|
truncate?: boolean | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonViewer.component.d.ts","sourceRoot":"","sources":["../../../../src/components/JsonViewer/JsonViewer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EAAsC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA0B3F,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,kBAiBlD,CAAA;AA4SD,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqDhD,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpF,oCAAoC;IAEpC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;;;;;;;;OAkBG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,eAAe,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"JsonViewer.component.d.ts","sourceRoot":"","sources":["../../../../src/components/JsonViewer/JsonViewer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EAAsC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA0B3F,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,kBAiBlD,CAAA;AA4SD,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqDhD,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpF,oCAAoC;IAEpC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;;;;;;;;OAkBG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,eAAe,GAAG,SAAS,CAAA;IAC1C,sHAAsH;IACtH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainContainer/MainContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAiB,kBAAkB,EAAE,MAAM,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"MainContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainContainer/MainContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAiB,kBAAkB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;AAE3D,wBAWC;AAID,eAAO,MAAM,IAAI;mBAFO,kBAAkB;;;;;;;;;CAezC,CAAA"}
|
|
@@ -30,15 +30,15 @@ export interface ModalProps extends Omit<React.HTMLProps<HTMLDivElement>, "size"
|
|
|
30
30
|
/** Pass a label for the cancel button. Defaults to "Cancel" */
|
|
31
31
|
cancelButtonLabel?: string;
|
|
32
32
|
/** Pass an Icon name to show on the confirming action button */
|
|
33
|
-
confirmButtonIcon?: KnownIcons
|
|
33
|
+
confirmButtonIcon?: KnownIcons;
|
|
34
34
|
/** Pass an icon name to show on the cancelling button */
|
|
35
|
-
cancelButtonIcon?: KnownIcons
|
|
35
|
+
cancelButtonIcon?: KnownIcons;
|
|
36
36
|
/** Whether the modal will be open */
|
|
37
37
|
open?: boolean;
|
|
38
38
|
/** The children of the modal. These will be rendered as the modal content. To render custom buttons at the bottom, see `modalFooter` below.*/
|
|
39
39
|
children?: React.ReactNode;
|
|
40
40
|
/** Optional. Pass a `<ModalFooter />` component with custom content as required. Will default to using the `<ModalFooter/>` component internally. */
|
|
41
|
-
modalFooter?: JSX.Element
|
|
41
|
+
modalFooter?: JSX.Element;
|
|
42
42
|
/** Whether the modal can be closed using an "X"-Button at the top right. Defaults to true. */
|
|
43
43
|
closeable?: boolean;
|
|
44
44
|
/** Pass to remove default padding from the content area of the modal */
|
|
@@ -46,7 +46,7 @@ export interface ModalProps extends Omit<React.HTMLProps<HTMLDivElement>, "size"
|
|
|
46
46
|
/** Custom className to add to the modal */
|
|
47
47
|
className?: string;
|
|
48
48
|
/** A handler to execute once the modal is confirmed by clicking the confrim button if exists. Note that we do not close the modal automatically. */
|
|
49
|
-
onConfirm?: React.MouseEventHandler<EventTarget
|
|
49
|
+
onConfirm?: React.MouseEventHandler<EventTarget>;
|
|
50
50
|
/** A handler to execute once the modal is cancelled or dismissed using the x-Close button, Cancel-button or pressing ESC */
|
|
51
51
|
onCancel?: CancelEventHandler;
|
|
52
52
|
/** Whether the modal should be closed when the backdrop is clicked. Essentially 'un-modals' the modal. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA6C,MAAM,OAAO,CAAA;AAIjE,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA6DzD;;;;;;;;;;;;EAYE;AACF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2ItC,CAAA;AAED,KAAK,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;AAGlC,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,aAAa,KAAK,IAAI,CAAA;AAEpG,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAC/E,gGAAgG;IAChG,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uRAAuR;IACvR,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yHAAyH;IACzH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qBAAqB;IACrB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,kEAAkE;IAClE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,+DAA+D;IAC/D,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"Modal.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA6C,MAAM,OAAO,CAAA;AAIjE,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA6DzD;;;;;;;;;;;;EAYE;AACF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2ItC,CAAA;AAED,KAAK,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;AAGlC,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,aAAa,KAAK,IAAI,CAAA;AAEpG,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAC/E,gGAAgG;IAChG,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uRAAuR;IACvR,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yHAAyH;IACzH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qBAAqB;IACrB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,kEAAkE;IAClE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,+DAA+D;IAC/D,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,UAAU,CAAA;IAC9B,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,8IAA8I;IAC9I,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,qJAAqJ;IACrJ,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACzB,8FAA8F;IAC9F,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,wEAAwE;IACxE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oJAAoJ;IACpJ,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAChD,6HAA6H;IAC7H,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,0GAA0G;IAC1G,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,6DAA6D;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,sMAAsM;IACtM,YAAY,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAA;CACjD"}
|
|
@@ -8,21 +8,21 @@ Can alternatively render all custom children as passed.
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const ModalFooter: React.FC<ModalFooterProps>;
|
|
10
10
|
export interface ModalFooterProps extends React.HTMLProps<HTMLDivElement> {
|
|
11
|
-
/** Custom children to render.
|
|
11
|
+
/** Custom children to render. */
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
/** The label for the Confirm-button. When passed, the component will render a Confirm button and a cancel button, otherwise the component will ONLY render a Close-Button. */
|
|
14
14
|
confirmButtonLabel?: string;
|
|
15
15
|
/** Custom label for the cancel button. ONLY has an effect if a `confirmButtonLabel` is passed. */
|
|
16
16
|
cancelButtonLabel?: string;
|
|
17
17
|
/** Pass an Icon name to show on the confirming action button */
|
|
18
|
-
confirmButtonIcon?: KnownIcons
|
|
18
|
+
confirmButtonIcon?: KnownIcons;
|
|
19
19
|
/** Pass an icon name to show on the cancelling button */
|
|
20
|
-
cancelButtonIcon?: KnownIcons
|
|
20
|
+
cancelButtonIcon?: KnownIcons;
|
|
21
21
|
/** A custom className. Useful to configure flex items alignment when passing custom content as children. */
|
|
22
22
|
className?: string;
|
|
23
23
|
/** Handler to execute once the confirming button is clicked */
|
|
24
|
-
onConfirm?: React.MouseEventHandler<EventTarget
|
|
24
|
+
onConfirm?: React.MouseEventHandler<EventTarget>;
|
|
25
25
|
/** Handler to execute once the cancelling button is clicked */
|
|
26
|
-
onCancel?: React.MouseEventHandler<EventTarget
|
|
26
|
+
onCancel?: React.MouseEventHandler<EventTarget>;
|
|
27
27
|
}
|
|
28
28
|
//# sourceMappingURL=ModalFooter.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalFooter.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ModalFooter/ModalFooter.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAgBnD;;;;;EAKE;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqDlD,CAAA;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACvE,
|
|
1
|
+
{"version":3,"file":"ModalFooter.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ModalFooter/ModalFooter.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAgBnD;;;;;EAKE;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqDlD,CAAA;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACvE,iCAAiC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,8KAA8K;IAC9K,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,kGAAkG;IAClG,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,UAAU,CAAA;IAC9B,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,4GAA4G;IAC5G,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAChD,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;CAChD"}
|