@cloudoperators/juno-ui-components 2.32.0 → 2.34.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/AppIntro.component-91Jmkg84.js +6 -0
- package/build/AppIntro.js +1 -1
- package/build/AppShell.component-Hk_XAW1E.js +1 -0
- package/build/AppShell.js +1 -1
- package/build/AppShellProvider.component-BjmVKqm3.js +1 -0
- package/build/AppShellProvider.js +1 -1
- package/build/{combobox-JmdrroKh.js → ComboBox.component-C_o5JV1E.js} +116 -2
- package/build/ComboBox.js +1 -1
- package/build/ComboBoxOption.component-eoxGAIUR.js +39 -0
- package/build/ComboBoxOption.js +1 -39
- package/build/ContentAreaToolbar.component-HPXE3xVK.js +8 -0
- package/build/ContentAreaToolbar.js +1 -1
- package/build/ContentContainer.component-8A2F9nlM.js +8 -0
- package/build/ContentContainer.js +1 -1
- package/build/{ContentHeading.component-bhh41uEk.js → ContentHeading.component-PfFZgbyn.js} +2 -2
- package/build/ContentHeading.js +1 -1
- package/build/{ContextMenu.component-B24LaAwt.js → ContextMenu.component-DlJ1uBM8.js} +2 -2
- package/build/ContextMenu.js +1 -1
- package/build/{DataListCheckboxCell.component-BXti2wK7.js → DataListCheckboxCell.component-DW-8rAEg.js} +1 -1
- package/build/DataListCheckboxCell.js +1 -1
- package/build/{DataListRow.component-RvjQ652d.js → DataListRow.component-D1aTHdBf.js} +1 -1
- package/build/DataListRow.js +1 -1
- package/build/DateTimePicker.component-7SGTFaqc.js +59 -0
- package/build/DateTimePicker.js +1 -1
- package/build/{FilterInput.component-CBfEzQ3x.js → FilterInput.component-QgiC1wRg.js} +1 -1
- package/build/FilterInput.js +1 -1
- package/build/{FilterPill.component-C9YwMkKe.js → FilterPill.component-SegGevVb.js} +1 -1
- package/build/FilterPill.js +1 -1
- package/build/{Filters.component-Cu8sV-IL.js → Filters.component-CfG9WSqS.js} +1 -1
- package/build/Filters.js +1 -1
- package/build/FormRow.component-OkQblu_q.js +3 -0
- package/build/HeaderContainer.component-CWj3SLQY.js +13 -0
- package/build/HeaderContainer.js +1 -0
- package/build/{Icon.component-BVkaZqpA.js → Icon.component-DGyhPa1P.js} +1 -1
- package/build/Modal.component-B7pUHHA6.js +31 -0
- package/build/Modal.js +1 -31
- package/build/Pagination.component-D5sXkuw6.js +5 -0
- package/build/Pagination.js +1 -1
- package/build/Panel.component-Z0UKil-U.js +33 -0
- package/build/Panel.js +1 -1
- package/build/PanelBody.component-CbwJTG-C.js +4 -0
- package/build/PanelBody.js +1 -1
- package/build/PanelFooter.component-C5-ea5YD.js +11 -0
- package/build/PanelFooter.js +1 -1
- package/build/{Select.component-CwIj9-lM.js → Select.component-BlpCRnuM.js} +3 -3
- package/build/Select.js +1 -1
- package/build/SelectOption.component-C7NysL8S.js +42 -0
- package/build/SelectOption.js +1 -42
- package/build/{Select.component-DNPTrdQs.js → SelectRow.component-DhPz6KOs.js} +4 -4
- package/build/SelectRow.js +1 -1
- package/build/StyleProvider.component-bYqFN-bx.js +1 -0
- package/build/StyleProvider.js +1 -1
- package/build/{SwitchRow.component-BNceFC47.js → SwitchRow.component-BeG5g1_U.js} +1 -1
- package/build/SwitchRow.js +1 -1
- package/build/{TextInput.component-CkNlIlj0.js → TextInput.component-Bh7t1tSB.js} +1 -1
- package/build/TextInputRow.component-D7NCrZz7.js +1 -0
- package/build/TextInputRow.js +1 -1
- package/build/{TextareaRow.component-DSJ_PFIw.js → TextareaRow.component-ClRuP_M4.js} +1 -1
- package/build/TextareaRow.js +1 -1
- package/build/{ThemeToggle.component-CNb4Nbso.js → ThemeToggle.component-BqqY9D8j.js} +2 -2
- package/build/ThemeToggle.js +1 -1
- package/build/{Tooltip.component-AWJGzfXT.js → Tooltip.component-Bjg6qJkQ.js} +1 -1
- package/build/Tooltip.js +1 -1
- package/build/{TooltipContent.component-Go8u2Bz4.js → TooltipContent.component-CU4HX5GI.js} +1 -1
- package/build/TooltipContent.js +1 -1
- package/build/{TooltipTrigger.component-CYpGzL4I.js → TooltipTrigger.component-Bs5zgkGw.js} +1 -1
- package/build/TooltipTrigger.js +1 -1
- package/build/{_commonjsHelpers-BxGi5vpY.js → _commonjsHelpers-BXRXMh56.js} +1 -1
- package/build/components/AppBody/AppBody.component.d.ts +2 -2
- package/build/components/AppBody/AppBody.component.d.ts.map +1 -1
- package/build/components/AppIntro/AppIntro.component.d.ts +11 -0
- package/build/components/AppIntro/AppIntro.component.d.ts.map +1 -0
- package/build/components/AppIntro/index.d.ts +2 -0
- package/build/components/AppIntro/index.d.ts.map +1 -0
- package/build/components/AppShell/AppShell.component.d.ts +2 -2
- package/build/components/AppShell/AppShell.component.d.ts.map +1 -1
- package/build/components/AppShellProvider/AppShellProvider.component.d.ts +1 -1
- package/build/components/AppShellProvider/AppShellProvider.component.d.ts.map +1 -1
- package/build/components/AppShellProvider/index.d.ts +2 -0
- package/build/components/AppShellProvider/index.d.ts.map +1 -0
- package/build/components/Badge/Badge.component.d.ts +1 -1
- package/build/components/Badge/Badge.component.d.ts.map +1 -1
- package/build/components/Box/Box.component.d.ts +1 -1
- package/build/components/Box/Box.component.d.ts.map +1 -1
- package/build/components/Breadcrumb/Breadcrumb.component.d.ts +1 -1
- package/build/components/Breadcrumb/Breadcrumb.component.d.ts.map +1 -1
- package/build/components/BreadcrumbItem/BreadcrumbItem.component.d.ts +1 -5
- package/build/components/BreadcrumbItem/BreadcrumbItem.component.d.ts.map +1 -1
- package/build/components/Button/Button.component.d.ts +3 -3
- package/build/components/Button/Button.component.d.ts.map +1 -1
- package/build/components/ButtonRow/ButtonRow.component.d.ts +2 -2
- package/build/components/ButtonRow/ButtonRow.component.d.ts.map +1 -1
- package/build/components/Checkbox/Checkbox.component.d.ts +2 -2
- package/build/components/Checkbox/Checkbox.component.d.ts.map +1 -1
- package/build/components/CheckboxGroup/CheckboxGroup.component.d.ts +2 -2
- package/build/components/CheckboxGroup/CheckboxGroup.component.d.ts.map +1 -1
- package/build/components/CodeBlock/CodeBlock.component.d.ts +2 -2
- package/build/components/CodeBlock/CodeBlock.component.d.ts.map +1 -1
- package/build/components/ComboBox/ComboBox.component.d.ts +1 -1
- package/build/components/ComboBox/ComboBox.component.d.ts.map +1 -1
- package/build/components/Container/Container.component.d.ts +2 -2
- package/build/components/Container/Container.component.d.ts.map +1 -1
- package/build/components/ContentAreaToolbar/ContentAreaToolbar.component.d.ts +17 -0
- package/build/components/ContentAreaToolbar/ContentAreaToolbar.component.d.ts.map +1 -0
- package/build/components/ContentAreaToolbar/index.d.ts +2 -0
- package/build/components/ContentAreaToolbar/index.d.ts.map +1 -0
- package/build/components/ContentContainer/ContentContainer.component.d.ts +16 -4
- package/build/components/ContentContainer/ContentContainer.component.d.ts.map +1 -1
- package/build/components/ContentHeading/ContentHeading.component.d.ts +21 -4
- package/build/components/ContentHeading/ContentHeading.component.d.ts.map +1 -1
- package/build/components/DataGrid/DataGrid.component.d.ts +2 -2
- package/build/components/DataGrid/DataGrid.component.d.ts.map +1 -1
- package/build/components/DataGridCell/DataGridCell.component.d.ts +3 -3
- package/build/components/DataGridCell/DataGridCell.component.d.ts.map +1 -1
- package/build/components/DataGridCheckboxCell/DataGridCheckboxCell.component.d.ts +2 -2
- package/build/components/DataGridCheckboxCell/DataGridCheckboxCell.component.d.ts.map +1 -1
- package/build/components/DataGridFoot/DataGridFoot.component.d.ts +2 -2
- package/build/components/DataGridFoot/DataGridFoot.component.d.ts.map +1 -1
- package/build/components/DataGridHeadCell/DataGridHeadCell.component.d.ts +1 -1
- package/build/components/DataGridHeadCell/DataGridHeadCell.component.d.ts.map +1 -1
- package/build/components/DataGridRow/DataGridRow.component.d.ts +1 -1
- package/build/components/DataGridRow/DataGridRow.component.d.ts.map +1 -1
- package/build/components/DataGridToolbar/DataGridToolbar.component.d.ts +2 -2
- package/build/components/DataGridToolbar/DataGridToolbar.component.d.ts.map +1 -1
- package/build/components/DateTimePicker/DateTimePicker.component.d.ts +159 -0
- package/build/components/DateTimePicker/DateTimePicker.component.d.ts.map +1 -0
- package/build/components/DateTimePicker/index.d.ts +2 -0
- package/build/components/DateTimePicker/index.d.ts.map +1 -0
- package/build/components/FormHint/FormHint.component.d.ts +1 -1
- package/build/components/FormHint/FormHint.component.d.ts.map +1 -1
- package/build/components/FormattedText/FormattedText.component.d.ts +2 -8
- package/build/components/FormattedText/FormattedText.component.d.ts.map +1 -1
- package/build/components/HeaderContainer/HeaderContainer.component.d.ts +10 -0
- package/build/components/HeaderContainer/HeaderContainer.component.d.ts.map +1 -0
- package/build/components/HeaderContainer/index.d.ts +2 -0
- package/build/components/HeaderContainer/index.d.ts.map +1 -0
- package/build/components/Icon/Icon.component.d.ts +3 -3
- package/build/components/Icon/Icon.component.d.ts.map +1 -1
- package/build/components/InputGroup/InputGroup.component.d.ts +1 -1
- package/build/components/InputGroup/InputGroup.component.d.ts.map +1 -1
- package/build/components/IntroBox/IntroBox.component.d.ts +2 -2
- package/build/components/IntroBox/IntroBox.component.d.ts.map +1 -1
- package/build/components/JsonViewer/JsonViewer.component.d.ts +1 -1
- package/build/components/JsonViewer/JsonViewer.component.d.ts.map +1 -1
- package/build/components/Label/Label.component.d.ts +1 -1
- package/build/components/Label/Label.component.d.ts.map +1 -1
- package/build/components/LoadingIndicator/LoadingIndicator.component.d.ts +1 -1
- package/build/components/LoadingIndicator/LoadingIndicator.component.d.ts.map +1 -1
- package/build/components/MainContainer/MainContainer.component.d.ts +2 -2
- package/build/components/MainContainer/MainContainer.component.d.ts.map +1 -1
- package/build/components/MainContainerInner/MainContainerInner.component.d.ts +2 -2
- package/build/components/MainContainerInner/MainContainerInner.component.d.ts.map +1 -1
- package/build/components/MainTabs/MainTabs.component.d.ts +2 -2
- package/build/components/MainTabs/MainTabs.component.d.ts.map +1 -1
- package/build/components/Menu/Menu.component.d.ts +1 -1
- package/build/components/Menu/Menu.component.d.ts.map +1 -1
- package/build/components/MenuItem/MenuItem.component.d.ts +1 -1
- package/build/components/MenuItem/MenuItem.component.d.ts.map +1 -1
- package/build/components/MenuSection/MenuSection.component.d.ts +1 -1
- package/build/components/MenuSection/MenuSection.component.d.ts.map +1 -1
- package/build/components/Message/Message.component.d.ts +1 -5
- package/build/components/Message/Message.component.d.ts.map +1 -1
- package/build/components/Modal/Modal.component.d.ts +3 -3
- package/build/components/Modal/Modal.component.d.ts.map +1 -1
- package/build/components/ModalFooter/ModalFooter.component.d.ts +3 -3
- package/build/components/ModalFooter/ModalFooter.component.d.ts.map +1 -1
- package/build/components/Navigation/Navigation.component.d.ts +2 -2
- package/build/components/Navigation/Navigation.component.d.ts.map +1 -1
- package/build/components/NavigationItem/NavigationItem.component.d.ts +2 -2
- package/build/components/NavigationItem/NavigationItem.component.d.ts.map +1 -1
- package/build/components/PageFooter/PageFooter.component.d.ts +2 -2
- package/build/components/PageFooter/PageFooter.component.d.ts.map +1 -1
- package/build/components/PageHeader/PageHeader.component.d.ts +2 -2
- package/build/components/PageHeader/PageHeader.component.d.ts.map +1 -1
- package/build/components/Pagination/Pagination.component.d.ts +72 -0
- package/build/components/Pagination/Pagination.component.d.ts.map +1 -0
- package/build/components/Pagination/index.d.ts +2 -0
- package/build/components/Pagination/index.d.ts.map +1 -0
- package/build/components/Panel/Panel.component.d.ts +39 -0
- package/build/components/Panel/Panel.component.d.ts.map +1 -0
- package/build/components/Panel/index.d.ts +2 -0
- package/build/components/Panel/index.d.ts.map +1 -0
- package/build/components/PanelBody/PanelBody.component.d.ts +23 -0
- package/build/components/PanelBody/PanelBody.component.d.ts.map +1 -0
- package/build/components/PanelBody/index.d.ts +2 -0
- package/build/components/PanelBody/index.d.ts.map +1 -0
- package/build/components/PanelFooter/PanelFooter.component.d.ts +19 -0
- package/build/components/PanelFooter/PanelFooter.component.d.ts.map +1 -0
- package/build/components/PanelFooter/index.d.ts +2 -0
- package/build/components/PanelFooter/index.d.ts.map +1 -0
- package/build/components/Pill/Pill.component.d.ts +1 -1
- package/build/components/Pill/Pill.component.d.ts.map +1 -1
- package/build/components/Radio/Radio.component.d.ts +2 -2
- package/build/components/Radio/Radio.component.d.ts.map +1 -1
- package/build/components/RadioGroup/RadioGroup.component.d.ts +2 -2
- package/build/components/RadioGroup/RadioGroup.component.d.ts.map +1 -1
- package/build/components/Select/Select.component.d.ts +3 -3
- package/build/components/Select/Select.component.d.ts.map +1 -1
- package/build/components/SelectDivider/SelectDivider.component.d.ts +1 -1
- package/build/components/SelectDivider/SelectDivider.component.d.ts.map +1 -1
- package/build/components/SelectOption/SelectOption.component.d.ts +2 -2
- package/build/components/SelectOption/SelectOption.component.d.ts.map +1 -1
- package/build/components/ShadowRoot/ShadowRoot.component.d.ts +1 -1
- package/build/components/ShadowRoot/ShadowRoot.component.d.ts.map +1 -1
- package/build/components/SideNavigation/SideNavigation.component.d.ts +2 -2
- package/build/components/SideNavigation/SideNavigation.component.d.ts.map +1 -1
- package/build/components/SideNavigationItem/SideNavigationItem.component.d.ts +2 -2
- package/build/components/SideNavigationItem/SideNavigationItem.component.d.ts.map +1 -1
- package/build/components/Spinner/Spinner.component.d.ts +3 -3
- package/build/components/Spinner/Spinner.component.d.ts.map +1 -1
- package/build/components/Stack/Stack.component.d.ts +3 -3
- package/build/components/Stack/Stack.component.d.ts.map +1 -1
- package/build/components/Switch/Switch.component.d.ts +1 -1
- package/build/components/Switch/Switch.component.d.ts.map +1 -1
- package/build/components/TabList/TabList.component.d.ts +1 -1
- package/build/components/TabList/TabList.component.d.ts.map +1 -1
- package/build/components/TabNavigation/TabNavigation.component.d.ts +2 -2
- package/build/components/TabNavigation/TabNavigation.component.d.ts.map +1 -1
- package/build/components/TabNavigationItem/TabNavigationItem.component.d.ts +2 -2
- package/build/components/TabNavigationItem/TabNavigationItem.component.d.ts.map +1 -1
- package/build/components/TabPanel/TabPanel.component.d.ts +2 -1
- package/build/components/TabPanel/TabPanel.component.d.ts.map +1 -1
- package/build/components/TextInput/TextInput.component.d.ts +2 -2
- package/build/components/TextInput/TextInput.component.d.ts.map +1 -1
- package/build/components/Textarea/Textarea.component.d.ts +3 -3
- package/build/components/Textarea/Textarea.component.d.ts.map +1 -1
- package/build/components/ThemeToggle/ThemeToggle.component.d.ts +31 -0
- package/build/components/ThemeToggle/ThemeToggle.component.d.ts.map +1 -0
- package/build/components/ThemeToggle/index.d.ts +2 -0
- package/build/components/ThemeToggle/index.d.ts.map +1 -0
- package/build/components/Toast/Toast.component.d.ts +2 -4
- package/build/components/Toast/Toast.component.d.ts.map +1 -1
- package/build/components/Tooltip/Tooltip.component.d.ts +6 -7
- package/build/components/Tooltip/Tooltip.component.d.ts.map +1 -1
- package/build/components/Tooltip/useTooltip.d.ts +4 -4
- package/build/components/TooltipContent/TooltipContent.component.d.ts +1 -1
- package/build/components/TooltipContent/TooltipContent.component.d.ts.map +1 -1
- package/build/components/TooltipTrigger/TooltipTrigger.component.d.ts +1 -1
- package/build/components/TooltipTrigger/TooltipTrigger.component.d.ts.map +1 -1
- package/build/components/TopNavigation/TopNavigation.component.d.ts +2 -2
- package/build/components/TopNavigation/TopNavigation.component.d.ts.map +1 -1
- package/build/components/TopNavigationItem/TopNavigationItem.component.d.ts +2 -2
- package/build/components/TopNavigationItem/TopNavigationItem.component.d.ts.map +1 -1
- package/build/floating-ui.react-dom-DFre3-Br.js +1 -0
- package/build/headlessui-float-n1IxyQhp.js +15 -0
- package/build/hooks/useEndlessScrollList.d.ts +1 -1
- package/build/hooks/useEndlessScrollList.d.ts.map +1 -1
- package/build/hooks/useEndlessScrollList.js +2 -2
- package/build/index.js +9 -191
- package/package.json +68 -68
- package/build/AppIntro.component-BnwrDrke.js +0 -6
- package/build/AppShell.component-BNckh29Y.js +0 -1
- package/build/AppShellProvider.component-CoGCOuox.js +0 -1
- package/build/ComboBox.component-CVfbabwk.js +0 -115
- package/build/ContentArea.component-VS-3jOgO.js +0 -5
- package/build/ContentArea.js +0 -1
- package/build/ContentAreaToolbar.component-Cr9XddQc.js +0 -8
- package/build/ContentAreaWrapper.component-D6yksmzo.js +0 -7
- package/build/ContentAreaWrapper.js +0 -1
- package/build/ContentContainer.component-wLeOohOT.js +0 -8
- package/build/DateTimePicker.component-BMkIzxY0.js +0 -59
- package/build/FormRow.component-5oxVn9c0.js +0 -3
- package/build/Pagination.component-CHvISPAw.js +0 -109
- package/build/Panel.component-DW6z1JGn.js +0 -35
- package/build/PanelBody.component-ejsCohbW.js +0 -6
- package/build/PanelFooter.component-B3HXAhmg.js +0 -11
- package/build/PortalProvider.component-B2hXHP-c.js +0 -1
- package/build/SelectRow.component-D0F2VY1t.js +0 -1
- package/build/StyleProvider.component-DpOVgdlo.js +0 -1
- package/build/TextInputRow.component-DEWfa_NF.js +0 -1
- package/build/floating-ui.react-dom-Bx8TUz-v.js +0 -1
- package/build/focus-trap-react-QYyPJKV2.js +0 -1
- package/build/headlessui-float-BQHnLFxQ.js +0 -10
- package/build/ibm-plex-BfDpQmIi.js +0 -1
- package/build/withDeprecationWarning.component-fIFVSC34.js +0 -1
|
@@ -4,7 +4,7 @@ import React from "react";
|
|
|
4
4
|
* in to the current parent element. ShadowRoot allows html to be isolated from the rest of the DOM. If styles are given, these and
|
|
5
5
|
* the children are added to the shadow element. The themeClass is added to a wrapper div surrounding the children.
|
|
6
6
|
*/
|
|
7
|
-
export declare const ShadowRoot:
|
|
7
|
+
export declare const ShadowRoot: React.FC<ShadowRootProps>;
|
|
8
8
|
export type ShadowRootMode = "open" | "closed";
|
|
9
9
|
export interface ShadowRootProps {
|
|
10
10
|
/** Choose "closed" to prevent styles from being inherited from the parent node. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShadowRoot.component.d.ts","sourceRoot":"","sources":["../../../src/components/ShadowRoot/ShadowRoot.component.tsx"],"names":[],"mappings":"AAeA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAuB/C;;;;GAIG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"ShadowRoot.component.d.ts","sourceRoot":"","sources":["../../../src/components/ShadowRoot/ShadowRoot.component.tsx"],"names":[],"mappings":"AAeA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAuB/C;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoBhD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAA;AAG9C,MAAM,WAAW,eAAe;IAC9B,mFAAmF;IACnF,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B"}
|
|
@@ -3,10 +3,10 @@ import React from "react";
|
|
|
3
3
|
A generic vertical side navigation component.
|
|
4
4
|
Place SideNavigationItem components as children.
|
|
5
5
|
*/
|
|
6
|
-
export declare const SideNavigation:
|
|
6
|
+
export declare const SideNavigation: React.FC<SideNavigationProps>;
|
|
7
7
|
type ItemKeyType = string | React.ReactNode;
|
|
8
8
|
type ActiveItemChangeHandler = (value: ItemKeyType) => void;
|
|
9
|
-
export interface SideNavigationProps {
|
|
9
|
+
export interface SideNavigationProps extends React.HTMLAttributes<HTMLElement> {
|
|
10
10
|
/** The active navigation item by label */
|
|
11
11
|
activeItem?: string;
|
|
12
12
|
/** The aria-label of the navigation. Specify when there are more than one elements with an implicit or explicit `role="navigation"` on a page/view. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavigation.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigation/SideNavigation.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB;;;EAGE;AAEF,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"SideNavigation.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigation/SideNavigation.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB;;;EAGE;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqBxD,CAAA;AAED,KAAK,WAAW,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;AAG3C,KAAK,uBAAuB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;AAE3D,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC5E,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uJAAuJ;IACvJ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,uBAAuB,CAAA;CAC7C"}
|
|
@@ -3,8 +3,8 @@ import { KnownIcons } from "../Icon/Icon.component.js";
|
|
|
3
3
|
/**
|
|
4
4
|
A SideNavigation item. To be used inside SideNavigation.
|
|
5
5
|
*/
|
|
6
|
-
export declare const SideNavigationItem:
|
|
7
|
-
export interface SideNavigationItemProps {
|
|
6
|
+
export declare const SideNavigationItem: React.FC<SideNavigationItemProps>;
|
|
7
|
+
export interface SideNavigationItemProps extends React.HTMLAttributes<HTMLElement> {
|
|
8
8
|
/** Whether the item is the currently active item */
|
|
9
9
|
active?: boolean;
|
|
10
10
|
/** The aria label of the item */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavigationItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationItem/SideNavigationItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAsBtD;;EAEE;AACF,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"SideNavigationItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationItem/SideNavigationItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAsBtD;;EAEE;AACF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA8BhE,CAAA;AAED,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAChF,oDAAoD;IACpD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8HAA8H;IAC9H,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wBAAwB;IACxB,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IACxB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wGAAwG;IACxG,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC9C,iPAAiP;IACjP,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -2,9 +2,9 @@ import React from "react";
|
|
|
2
2
|
/**
|
|
3
3
|
A generic Spinner component to indicate an individual component or portion of the UI is busy processing or awaiting data.
|
|
4
4
|
To indicate full views, panels, or other larger parts of an interface are busy or waiting for data, use LoadingIndicator instead.*/
|
|
5
|
-
export declare const Spinner:
|
|
5
|
+
export declare const Spinner: React.FC<SpinnerProps>;
|
|
6
6
|
type SpinnerVariant = "primary" | "danger" | "default" | "success" | "warning";
|
|
7
|
-
export
|
|
7
|
+
export interface SpinnerProps extends Omit<React.HTMLProps<SVGSVGElement>, "size"> {
|
|
8
8
|
/** The semantic color variant of the Spinner */
|
|
9
9
|
variant?: SpinnerVariant;
|
|
10
10
|
/** The size of the spinner: `small`, `large`, or any valid CSS length like `1.5rem`*/
|
|
@@ -13,6 +13,6 @@ export type SpinnerProps = {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
/** Pass a text-color class in order to apply any color to a spinner (These classes typically begin with "text-".). If passed, `color` will overwrite the semantic color as defined by `variant`. */
|
|
15
15
|
color?: string;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=Spinner.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.component.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AA6BzB;;mIAEmI;AACnI,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Spinner.component.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AA6BzB;;mIAEmI;AACnI,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAqD1C,CAAA;AAED,KAAK,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAE9E,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChF,gDAAgD;IAChD,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,sFAAsF;IACtF,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oMAAoM;IACpM,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -3,12 +3,12 @@ import React from "react";
|
|
|
3
3
|
* A Stack is a layout primitive that ensures its children are stacked either horizontally next to each other or vertically, one below the other.
|
|
4
4
|
* In addition a gap can be defined which the Stack injects between its children so they have some margin from one another.
|
|
5
5
|
*/
|
|
6
|
-
export declare const Stack:
|
|
6
|
+
export declare const Stack: React.FC<StackProps>;
|
|
7
7
|
export type StackDirection = "horizontal" | "vertical";
|
|
8
8
|
export type StackAlignment = "start" | "end" | "center" | "baseline" | "stretch";
|
|
9
9
|
export type StackDistribution = "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
10
10
|
export type StackGap = "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96";
|
|
11
|
-
export
|
|
11
|
+
export interface StackProps extends Omit<React.HTMLProps<HTMLDivElement>, "wrap"> {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
/** Pass css class names */
|
|
14
14
|
className?: string;
|
|
@@ -22,5 +22,5 @@ export type StackProps = {
|
|
|
22
22
|
wrap?: boolean;
|
|
23
23
|
/** Can be any valid tailwind spacing. See here: https://tailwindcss.com/docs/customizing-spacing#default-spacing-scale */
|
|
24
24
|
gap?: StackGap;
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
26
|
//# sourceMappingURL=Stack.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.component.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AA+HzB;;;GAGG;AACH,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Stack.component.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AA+HzB;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAkBtC,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAA;AACtD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAA;AAChF,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAC5F,MAAM,MAAM,QAAQ,GAChB,GAAG,GACH,IAAI,GACJ,KAAK,GACL,GAAG,GACH,KAAK,GACL,GAAG,GACH,KAAK,GACL,GAAG,GACH,KAAK,GACL,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAA;AAER,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAC/E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,uKAAuK;IACvK,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,gLAAgL;IAChL,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,2HAA2H;IAC3H,GAAG,CAAC,EAAE,QAAQ,CAAA;CACf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type SwitchSize = "small" | "default" | "large";
|
|
3
|
-
export interface SwitchProps extends Omit<React.
|
|
3
|
+
export interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "ref"> {
|
|
4
4
|
/**
|
|
5
5
|
* HTML name attribute for the switch button
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.component.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8C,MAAM,OAAO,CAAA;AAmElE,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE/C,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"Switch.component.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8C,MAAM,OAAO,CAAA;AAmElE,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE/C,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC7F;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAA;IACZ;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IAEH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAChE;;OAEG;IAEH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC9D;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AA0DD;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAiGxC,CAAA"}
|
|
@@ -11,6 +11,6 @@ export interface TabListProps extends ReactTabListProps {
|
|
|
11
11
|
/** Pick the TabList style */
|
|
12
12
|
variant?: TabsVariant;
|
|
13
13
|
/** The individual child Tabs to render */
|
|
14
|
-
children?: React.ReactElement<TabProps> | React.ReactElement<TabProps>[] | null;
|
|
14
|
+
children?: (React.ReactElement<TabProps> | React.ReactElement<TabProps>[]) | null;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=TabList.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabList.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabList/TabList.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA2B,YAAY,IAAI,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACvF,OAAO,EAAE,WAAW,EAAkB,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AA0B/C,mFAAmF;AAEnF,eAAO,MAAM,OAAO;sCAAwD,YAAY;;CAYvF,CAAA;AAID,MAAM,WAAW,YAAa,SAAQ,iBAAiB;IACrD,6BAA6B;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"TabList.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabList/TabList.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA2B,YAAY,IAAI,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACvF,OAAO,EAAE,WAAW,EAAkB,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AA0B/C,mFAAmF;AAEnF,eAAO,MAAM,OAAO;sCAAwD,YAAY;;CAYvF,CAAA;AAID,MAAM,WAAW,YAAa,SAAQ,iBAAiB;IACrD,6BAA6B;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;CAClF"}
|
|
@@ -4,11 +4,11 @@ export interface TabNavigationContextType {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const TabNavigationContext: React.Context<TabNavigationContextType | undefined>;
|
|
6
6
|
/** A Tab Navigation parent component. Use to wrap `<TabNavigationItem>` elements inside. For tabs with corresponding tab panels, use `<Tabs>` instead. */
|
|
7
|
-
export declare const TabNavigation:
|
|
7
|
+
export declare const TabNavigation: React.FC<TabNavigationProps>;
|
|
8
8
|
export type TabStyle = "main" | "content";
|
|
9
9
|
type ItemKeyType = string | React.ReactNode;
|
|
10
10
|
type ActiveItemChangeHandler = (value: ItemKeyType) => void;
|
|
11
|
-
export interface TabNavigationProps {
|
|
11
|
+
export interface TabNavigationProps extends React.HTMLAttributes<HTMLElement> {
|
|
12
12
|
/** The label of the selected tab. The `activeItem` prop set on the parent will override / take precedence over any `active` prop that may be set on a child. */
|
|
13
13
|
activeItem?: string;
|
|
14
14
|
/** The aria-label of the navigation. Specify when there are more than one elements with an implicit or explicit `role="navigation"` on a page/view. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabNavigation.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabNavigation/TabNavigation.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAO5C,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAED,eAAO,MAAM,oBAAoB,qDAAiE,CAAA;AAElG,0JAA0J;AAC1J,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"TabNavigation.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabNavigation/TabNavigation.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAO5C,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAED,eAAO,MAAM,oBAAoB,qDAAiE,CAAA;AAElG,0JAA0J;AAC1J,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAkCtD,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAA;AAEzC,KAAK,WAAW,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;AAG3C,KAAK,uBAAuB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;AAE3D,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC3E,gKAAgK;IAChK,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uJAAuJ;IACvJ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yHAAyH;IACzH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uDAAuD;IACvD,kBAAkB,CAAC,EAAE,uBAAuB,CAAA;IAC5C,0UAA0U;IAC1U,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { KnownIcons } from "../Icon/Icon.component.js";
|
|
3
3
|
/** An individual Tab Navigation Item. Use wrapped in a `<TabNavigation>` parent component. */
|
|
4
|
-
export declare const TabNavigationItem:
|
|
5
|
-
export interface TabNavigationItemProps {
|
|
4
|
+
export declare const TabNavigationItem: React.FC<TabNavigationItemProps>;
|
|
5
|
+
export interface TabNavigationItemProps extends React.HTMLAttributes<HTMLElement> {
|
|
6
6
|
/** Whether the tab navigation item is active */
|
|
7
7
|
active?: boolean;
|
|
8
8
|
/** The aria label of the item */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabNavigationItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabNavigationItem/TabNavigationItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAsBtD,8FAA8F;AAC9F,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"TabNavigationItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabNavigationItem/TabNavigationItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAsBtD,8FAA8F;AAC9F,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAwC9D,CAAA;AAED,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC/E,gDAAgD;IAChD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8HAA8H;IAC9H,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yFAAyF;IACzF,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,qGAAqG;IACrG,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+DAA+D;IAC/D,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC9C,gPAAgP;IAChP,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { TabPanelProps as ReactTabPanelProps } from "react-tabs";
|
|
2
3
|
/**
|
|
3
4
|
The TabPanel holds content related to a Tab in a TabList in a wrapping Tab component. Not to be used standalone / outside a Tabs wrapper.
|
|
4
5
|
*/
|
|
@@ -6,7 +7,7 @@ export declare const TabPanel: {
|
|
|
6
7
|
({ children, className, ...props }: TabPanelProps): React.JSX.Element;
|
|
7
8
|
tabsRole: string;
|
|
8
9
|
};
|
|
9
|
-
export interface TabPanelProps {
|
|
10
|
+
export interface TabPanelProps extends ReactTabPanelProps {
|
|
10
11
|
/** The content to show/render when the associated Tab is selected */
|
|
11
12
|
children?: any;
|
|
12
13
|
/** Add a custom classList to the TabPanel */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabPanel.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabPanel/TabPanel.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"TabPanel.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabPanel/TabPanel.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA6B,aAAa,IAAI,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE3F;;EAEE;AAEF,eAAO,MAAM,QAAQ;wCAAmD,aAAa;;CAMpF,CAAA;AAID,MAAM,WAAW,aAAc,SAAQ,kBAAkB;IACvD,qEAAqE;IACrE,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -4,10 +4,10 @@ import "./textinput.scss";
|
|
|
4
4
|
A controlled Text Input.
|
|
5
5
|
Also covers email, telephone, password, url derivates.
|
|
6
6
|
*/
|
|
7
|
-
export declare const TextInput:
|
|
7
|
+
export declare const TextInput: React.FC<TextInputProps>;
|
|
8
8
|
type TextInputType = "text" | "email" | "password" | "tel" | "url" | "number";
|
|
9
9
|
type TextInputWidth = "full" | "auto";
|
|
10
|
-
export interface TextInputProps {
|
|
10
|
+
export interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
11
11
|
/** Pass a name attribute */
|
|
12
12
|
name?: string;
|
|
13
13
|
/** Pass a value */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.component.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput/TextInput.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsD,MAAM,OAAO,CAAA;AAI1E,OAAO,kBAAkB,CAAA;AAoEzB;;;EAGE;AACF,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"TextInput.component.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput/TextInput.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsD,MAAM,OAAO,CAAA;AAI1E,OAAO,kBAAkB,CAAA;AAoEzB;;;EAGE;AACF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiK9C,CAAA;AAED,KAAK,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAA;AAC7E,KAAK,cAAc,GAAG,MAAM,GAAG,MAAM,CAAA;AAErC,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IACjF,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,iBAAiB;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,yBAAyB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iCAAiC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2CAA2C;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;IACrD,2BAA2B;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC9C,0BAA0B;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC7C,0IAA0I;IAC1I,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gFAAgF;IAChF,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAA;IAC/B,qEAAqE;IACrE,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAA;IAClC,iFAAiF;IACjF,SAAS,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAA;IAChC,sEAAsE;IACtE,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
|
|
@@ -3,9 +3,9 @@ import React from "react";
|
|
|
3
3
|
A controlled Text Input.
|
|
4
4
|
Also covers email, telephone, password, url derivates.
|
|
5
5
|
*/
|
|
6
|
-
export declare const Textarea:
|
|
6
|
+
export declare const Textarea: React.FC<TextareaProps>;
|
|
7
7
|
type WidthType = "full" | "auto";
|
|
8
|
-
export
|
|
8
|
+
export interface TextareaProps extends React.HTMLProps<HTMLTextAreaElement> {
|
|
9
9
|
/** Pass a name attribute */
|
|
10
10
|
name?: string;
|
|
11
11
|
/** The label of the textarea */
|
|
@@ -48,6 +48,6 @@ export type TextareaProps = {
|
|
|
48
48
|
width?: WidthType;
|
|
49
49
|
/** Pass a custom className to the wrapping element. This can be useful if you must add styling to the outermost wrapping element of this component, e.g. for positioning. */
|
|
50
50
|
wrapperClassName?: string;
|
|
51
|
-
}
|
|
51
|
+
}
|
|
52
52
|
export {};
|
|
53
53
|
//# sourceMappingURL=Textarea.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.component.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsD,MAAM,OAAO,CAAA;AA0E1E;;;EAGE;AACF,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Textarea.component.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsD,MAAM,OAAO,CAAA;AA0E1E;;;EAGE;AACF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA+J5C,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;AAEhC,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC;IACzE,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,iBAAiB;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,yBAAyB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iCAAiC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2CAA2C;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IACxD,2BAA2B;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IACvD,0BAA0B;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IACtD,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IACnC,oEAAoE;IACpE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IACtC,gFAAgF;IAChF,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IACpC,oEAAoE;IACpE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./themeToggle.scss";
|
|
3
|
+
export interface ThemeToggleProps {
|
|
4
|
+
/**
|
|
5
|
+
* Additional CSS classes for custom styling.
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* If true, the ThemeToggle will be disabled and not respond to user input.
|
|
10
|
+
*/
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* HTML id attribute for the ThemeToggle.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* HTML name attribute for the ThemeToggle.
|
|
18
|
+
*/
|
|
19
|
+
name?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Callback function that is called when the theme is toggled.
|
|
22
|
+
*/
|
|
23
|
+
onToggleTheme?: (...args: unknown[]) => void;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* ThemeToggle is a button component that toggles between Light and Dark UI Themes.
|
|
27
|
+
* This component requires a StyleProvider context to function, which is automatically provided by the Juno AppShell.
|
|
28
|
+
* If not using the AppShell, include a StyleProvider manually.
|
|
29
|
+
*/
|
|
30
|
+
export declare const ThemeToggle: React.FC<ThemeToggleProps>;
|
|
31
|
+
//# sourceMappingURL=ThemeToggle.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeToggle.component.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeToggle/ThemeToggle.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,oBAAoB,CAAA;AAoB3B,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IAEH,aAAa,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAA;CAC7C;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsClD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeToggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type IconType = "info" | "warning" | "danger" | "error" | "success";
|
|
3
|
-
export interface ToastProps {
|
|
3
|
+
export interface ToastProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
/** Specify a semantic variant */
|
|
5
5
|
variant?: IconType;
|
|
6
6
|
/** Pass child nodes to be rendered as contents */
|
|
@@ -15,12 +15,10 @@ export interface ToastProps {
|
|
|
15
15
|
onDismiss?: () => unknown;
|
|
16
16
|
/** Pass an optional className */
|
|
17
17
|
className?: string;
|
|
18
|
-
/** Pass any optional properties */
|
|
19
|
-
[x: string]: any;
|
|
20
18
|
}
|
|
21
19
|
/**
|
|
22
20
|
A Toast component. Use for short-lived, temporary/transient messaging to users relating to their current usage context, e.g. 'Edits changed successfully'. For more general, persistent messaging, e.g. 'Our servers will be down for maintenance all weekend', use Message instead.
|
|
23
21
|
*/
|
|
24
|
-
export declare const Toast:
|
|
22
|
+
export declare const Toast: React.FC<ToastProps>;
|
|
25
23
|
export {};
|
|
26
24
|
//# sourceMappingURL=Toast.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.component.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAA;AA0BlD,KAAK,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAA;AACnE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Toast.component.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAA;AA0BlD,KAAK,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAA;AACnE,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtE,iCAAiC;IACjC,OAAO,CAAC,EAAE,QAAQ,CAAA;IAClB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oJAAoJ;IACpJ,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kHAAkH;IAClH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,OAAO,CAAA;IACzB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;EAEE;AAEF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAgDtC,CAAA"}
|
|
@@ -6,8 +6,8 @@ import { ToolTipVariant, TooltipPlacement } from "./ToolTip.types";
|
|
|
6
6
|
* @returns TooltipContext
|
|
7
7
|
*/
|
|
8
8
|
export declare const useTooltipState: () => {
|
|
9
|
-
placement: import("@floating-ui/
|
|
10
|
-
strategy: import("@floating-ui/
|
|
9
|
+
placement: import("@floating-ui/utils").Placement;
|
|
10
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
11
11
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
12
12
|
x: number;
|
|
13
13
|
y: number;
|
|
@@ -27,8 +27,8 @@ export declare const useTooltipState: () => {
|
|
|
27
27
|
context: {
|
|
28
28
|
x: number;
|
|
29
29
|
y: number;
|
|
30
|
-
placement: import("@floating-ui/
|
|
31
|
-
strategy: import("@floating-ui/
|
|
30
|
+
placement: import("@floating-ui/utils").Placement;
|
|
31
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
32
32
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
33
33
|
isPositioned: boolean;
|
|
34
34
|
update: () => void;
|
|
@@ -50,7 +50,7 @@ export declare const useTooltipState: () => {
|
|
|
50
50
|
variant: ToolTipVariant | undefined;
|
|
51
51
|
disabled: boolean;
|
|
52
52
|
};
|
|
53
|
-
interface TooltipProps {
|
|
53
|
+
export interface TooltipProps extends React.HTMLAttributes<HTMLElement> {
|
|
54
54
|
variant?: ToolTipVariant;
|
|
55
55
|
/** Uncontrolled Tooltip: Choose which event should trigger the opening of the tooltip (click or hover) */
|
|
56
56
|
triggerEvent?: "click" | "hover";
|
|
@@ -71,6 +71,5 @@ interface TooltipProps {
|
|
|
71
71
|
* you configure the event type that should open the tooltip (click or hover) or alternatively you can use it as a controlled component where you set the
|
|
72
72
|
* open state and handle the events that open/close the tooltip yourself.
|
|
73
73
|
*/
|
|
74
|
-
export declare
|
|
75
|
-
export {};
|
|
74
|
+
export declare const Tooltip: React.FC<TooltipProps>;
|
|
76
75
|
//# sourceMappingURL=Tooltip.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.component.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAOlE;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Tooltip.component.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAOlE;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;oBAyDg8L,MAAO,aAAa;;;kBAAiV,MAAO,gBAAgB;;;;;;;;;;;;;;;;wBAA5X,MAAO,aAAa;;2CAAzzL,CAAC;;iBAA0D,MAAO,gBAAgB;;;;;;iCAlEjN,CAAC,EAAC,MAEzD,SAAS;gCAGF,CAAA,EAAC,MAAO,SAAS;4BAIF,CAAC,EAAC,MAAO,SAC9B;;;;;CAOD,CAAA;AAED,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAErE,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,0GAA0G;IAC1G,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;IAChC,+DAA+D;IAC/D,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,8LAA8L;IAC9L,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mIAAmI;IACnI,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;wJACoJ;IACpJ,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,sEAAsE;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;;;GAIG;AAEH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAsB1C,CAAA"}
|
|
@@ -17,8 +17,8 @@ export interface UseTooltipProps {
|
|
|
17
17
|
* @returns
|
|
18
18
|
*/
|
|
19
19
|
export declare const useTooltip: ({ initialOpen, variant, placement, triggerEvent, open: controlledOpen, onOpenChange: setControlledOpen, disabled, }?: UseTooltipProps) => {
|
|
20
|
-
placement: import("@floating-ui/
|
|
21
|
-
strategy: import("@floating-ui/
|
|
20
|
+
placement: import("@floating-ui/utils").Placement;
|
|
21
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
22
22
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
23
23
|
x: number;
|
|
24
24
|
y: number;
|
|
@@ -38,8 +38,8 @@ export declare const useTooltip: ({ initialOpen, variant, placement, triggerEven
|
|
|
38
38
|
context: {
|
|
39
39
|
x: number;
|
|
40
40
|
y: number;
|
|
41
|
-
placement: import("@floating-ui/
|
|
42
|
-
strategy: import("@floating-ui/
|
|
41
|
+
placement: import("@floating-ui/utils").Placement;
|
|
42
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
43
43
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
44
44
|
isPositioned: boolean;
|
|
45
45
|
update: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export interface TooltipContentProps {
|
|
2
|
+
export interface TooltipContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/** Pass child nodes to display in the tooltip */
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
/** Pass a className to render to the icon button*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipContent.component.d.ts","sourceRoot":"","sources":["../../../src/components/TooltipContent/TooltipContent.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"TooltipContent.component.d.ts","sourceRoot":"","sources":["../../../src/components/TooltipContent/TooltipContent.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAmCzB,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC/E,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,yFAmCzB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export interface TooltipTriggerProps {
|
|
2
|
+
export interface TooltipTriggerProps extends React.HTMLAttributes<HTMLElement> {
|
|
3
3
|
/** If true, the child you passed to the TooltipTrigger is rendered as the trigger element, instead of the default trigger component. This is useful if you e.g. want to use a Button or Icon as the trigger. */
|
|
4
4
|
asChild?: boolean;
|
|
5
5
|
/** Pass child nodes to display in the tooltip */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipTrigger.component.d.ts","sourceRoot":"","sources":["../../../src/components/TooltipTrigger/TooltipTrigger.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"TooltipTrigger.component.d.ts","sourceRoot":"","sources":["../../../src/components/TooltipTrigger/TooltipTrigger.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC5E,gNAAgN;IAChN,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAID;;GAEG;AACH,eAAO,MAAM,cAAc,yFAsCzB,CAAA"}
|
|
@@ -3,10 +3,10 @@ import React from "react";
|
|
|
3
3
|
A generic horizontal top level navigation component. To be placed below the application header but above application content.
|
|
4
4
|
Place `TopNavigationItem` elements as children.
|
|
5
5
|
*/
|
|
6
|
-
export declare const TopNavigation:
|
|
6
|
+
export declare const TopNavigation: React.FC<TopNavigationProps>;
|
|
7
7
|
type ItemKeyType = string | React.ReactNode;
|
|
8
8
|
type ActiveItemChangeHandler = (value: ItemKeyType) => void;
|
|
9
|
-
export interface TopNavigationProps {
|
|
9
|
+
export interface TopNavigationProps extends React.HTMLAttributes<HTMLElement> {
|
|
10
10
|
/** The active navigation item by label */
|
|
11
11
|
activeItem?: string;
|
|
12
12
|
/** The aria-label of the navigation. Specify when there are more than one elements with an implicit or explicit `role="navigation"` on a page/view. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopNavigation.component.d.ts","sourceRoot":"","sources":["../../../src/components/TopNavigation/TopNavigation.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB;;;EAGE;AAEF,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"TopNavigation.component.d.ts","sourceRoot":"","sources":["../../../src/components/TopNavigation/TopNavigation.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB;;;EAGE;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAqBtD,CAAA;AAED,KAAK,WAAW,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;AAG3C,KAAK,uBAAuB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;AAE3D,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC3E,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uJAAuJ;IACvJ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,uBAAuB,CAAA;CAC7C"}
|
|
@@ -3,8 +3,8 @@ import { KnownIcons } from "../Icon/Icon.component";
|
|
|
3
3
|
/**
|
|
4
4
|
An individual item of a top level navigation. Place inside TopNavigation.
|
|
5
5
|
*/
|
|
6
|
-
export declare const TopNavigationItem:
|
|
7
|
-
export interface TopNavigationItemProps {
|
|
6
|
+
export declare const TopNavigationItem: React.FC<TopNavigationItemProps>;
|
|
7
|
+
export interface TopNavigationItemProps extends React.HTMLAttributes<HTMLElement> {
|
|
8
8
|
/** Whether the item is the currently active item */
|
|
9
9
|
active?: boolean;
|
|
10
10
|
/** The aria label of the item */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopNavigationItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/TopNavigationItem/TopNavigationItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA+BnD;;EAEE;AACF,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"TopNavigationItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/TopNavigationItem/TopNavigationItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA+BnD;;EAEE;AACF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA8B9D,CAAA;AAED,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC/E,oDAAoD;IACpD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8HAA8H;IAC9H,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wBAAwB;IACxB,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IACxB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mHAAmH;IACnH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC9C,gPAAgP;IAChP,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as React from"react";import{useLayoutEffect,useEffect}from"react";import*as ReactDOM from"react-dom";function hasWindow(){return"undefined"!=typeof window}function getNodeName(e){return isNode(e)?(e.nodeName||"").toLowerCase():"#document"}function getWindow(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function getDocumentElement(e){var t;return null==(t=(isNode(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function isNode(e){return!!hasWindow()&&(e instanceof Node||e instanceof getWindow(e).Node)}function isElement(e){return!!hasWindow()&&(e instanceof Element||e instanceof getWindow(e).Element)}function isHTMLElement(e){return!!hasWindow()&&(e instanceof HTMLElement||e instanceof getWindow(e).HTMLElement)}function isShadowRoot(e){return!!(hasWindow()&&"undefined"!=typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof getWindow(e).ShadowRoot)}function isOverflowElement(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=getComputedStyle(e);return /auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(o)}function isTableElement(e){return["table","td","th"].includes(getNodeName(e))}function isTopLayer(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(t){return!1}})}function isContainingBlock(e){const t=isWebKit(),n=isElement(e)?getComputedStyle(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function getContainingBlock(e){for(let t=getParentNode(e);isHTMLElement(t)&&!isLastTraversableNode(t);){if(isContainingBlock(t))return t;if(isTopLayer(t))return null;t=getParentNode(t)}return null}function isWebKit(){return!!("undefined"!=typeof CSS&&CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(e){return["html","body","#document"].includes(getNodeName(e))}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function getNodeScroll(e){return isElement(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function getParentNode(e){if("html"===getNodeName(e))return e;const t=e.assignedSlot||e.parentNode||isShadowRoot(e)&&e.host||getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){const t=getParentNode(e);return isLastTraversableNode(t)?e.ownerDocument?e.ownerDocument.body:e.body:isHTMLElement(t)&&isOverflowElement(t)?t:getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=getNearestOverflowAncestor(e),l=o===(null==(i=e.ownerDocument)?void 0:i.body),r=getWindow(o);if(l){const e=getFrameElement(r);return t.concat(r,r.visualViewport||[],isOverflowElement(o)?o:[],e&&n?getOverflowAncestors(e):[])}return t.concat(o,getOverflowAncestors(o,[],n))}function getFrameElement(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const sides=["top","right","bottom","left"],alignments=["start","end"],placements=sides.reduce((e,t)=>e.concat(t,t+"-"+alignments[0],t+"-"+alignments[1]),[]),min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=e=>({x:e,y:e}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(e,t,n){return max(e,min(t,n))}function evaluate(e,t){return"function"==typeof e?e(t):e}function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return"x"===e?"y":"x"}function getAxisLength(e){return"y"===e?"height":"width"}function getSideAxis(e){return["top","bottom"].includes(getSide(e))?"y":"x"}function getAlignmentAxis(e){return getOppositeAxis(getSideAxis(e))}function getAlignmentSides(e,t,n){void 0===n&&(n=!1);const i=getAlignment(e),o=getAlignmentAxis(e),l=getAxisLength(o);let r="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[l]>t.floating[l]&&(r=getOppositePlacement(r)),[r,getOppositePlacement(r)]}function getExpandedPlacements(e){const t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(e){return e.replace(/start|end/g,e=>oppositeAlignmentMap[e])}function getSideList(e,t,n){const i=["left","right"],o=["right","left"];return"top"===e||"bottom"===e?n?t?o:i:t?i:o:"left"===e||"right"===e?t?["top","bottom"]:["bottom","top"]:[]}function getOppositeAxisPlacements(e,t,n,i){const o=getAlignment(e);let l=getSideList(getSide(e),"start"===n,i);return o&&(l=l.map(e=>e+"-"+o),t&&(l=l.concat(l.map(getOppositeAlignmentPlacement)))),l}function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,e=>oppositeSideMap[e])}function expandPaddingObject(e){return{top:0,right:0,bottom:0,left:0,...e}}function getPaddingObject(e){return"number"==typeof e?{top:e,right:e,bottom:e,left:e}:expandPaddingObject(e)}function rectToClientRect(e){const{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}function computeCoordsFromPlacement(e,t,n){let{reference:i,floating:o}=e;const l=getSideAxis(t),r=getAlignmentAxis(t),a=getAxisLength(r),s=getSide(t),d="y"===l,f=i.x+i.width/2-o.width/2,c=i.y+i.height/2-o.height/2,m=i[a]/2-o[a]/2;let g;switch(g="top"===s?{x:f,y:i.y-o.height}:"bottom"===s?{x:f,y:i.y+i.height}:"right"===s?{x:i.x+i.width,y:c}:"left"===s?{x:i.x-o.width,y:c}:{x:i.x,y:i.y},getAlignment(t)){case"start":g[r]-=m*(n&&d?-1:1);break;case"end":g[r]+=m*(n&&d?-1:1)}return g}const computePosition$1=async(e,t,n)=>{const{placement:l="bottom",strategy:r="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),d=await(null==o.isRTL?void 0:o.isRTL(t));let f=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:m}=computeCoordsFromPlacement(f,l,d),g=l,h={},p=0;for(let a=0;a<s.length;a++){const{name:n,fn:i}=s[a],{x:u,y:x,data:y,reset:w}=await i({x:c,y:m,initialPlacement:l,placement:g,strategy:r,middlewareData:h,rects:f,platform:o,elements:{reference:e,floating:t}});c=null==u?c:u,m=null==x?m:x,h={...h,[n]:{...h[n],...y}},w&&50>=p&&(p++,"object"==typeof w&&(w.placement&&(g=w.placement),w.rects&&(f=!0===w.rects?await o.getElementRects({reference:e,floating:t,strategy:r}):w.rects),{x:c,y:m}=computeCoordsFromPlacement(f,g,d)),a=-1)}return{x:c,y:m,placement:g,strategy:r,middlewareData:h}};async function detectOverflow(e,t){var n;void 0===t&&(t={});const{x:i,y:o,platform:l,rects:r,elements:a,strategy:s}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:m=!1,padding:g=0}=evaluate(t,e),h=getPaddingObject(g),p="floating"===c?"reference":"floating",u=a[m?p:c],x=rectToClientRect(await l.getClippingRect({element:!(null!=(n=await(null==l.isElement?void 0:l.isElement(u))))||n?u:u.contextElement||(await(null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating))),boundary:d,rootBoundary:f,strategy:s})),y="floating"===c?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,w=await(null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),b=(await(null==l.isElement?void 0:l.isElement(w)))?(await(null==l.getScale?void 0:l.getScale(w)))||{x:1,y:1}:{x:1,y:1},v=rectToClientRect(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:s}):y);return{top:(x.top-v.top+h.top)/b.y,bottom:(v.bottom-x.bottom+h.bottom)/b.y,left:(x.left-v.left+h.left)/b.x,right:(v.right-x.right+h.right)/b.x}}const arrow$3=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:l,platform:r,elements:a,middlewareData:s}=t,{element:d,padding:f=0}=evaluate(e,t)||{};if(null==d)return{};const c=getPaddingObject(f),m={x:n,y:i},g=getAlignmentAxis(o),h=getAxisLength(g),p=await r.getDimensions(d),u="y"===g,x=u?"top":"left",y=u?"bottom":"right",w=u?"clientHeight":"clientWidth",b=l.reference[h]+l.reference[g]-m[g]-l.floating[h],v=m[g]-l.reference[g],R=await(null==r.getOffsetParent?void 0:r.getOffsetParent(d));let L=R?R[w]:0;L&&(await(null==r.isElement?void 0:r.isElement(R)))||(L=a.floating[w]||l.floating[h]);const P=L/2-p[h]/2-1,T=min(c[x],P),A=min(c[y],P),D=T,E=L-p[h]-A,S=L/2-p[h]/2+(b/2-v/2),C=clamp(D,S,E),O=!s.arrow&&null!=getAlignment(o)&&S!==C&&0>l.reference[h]/2-(S<D?T:A)-p[h]/2,H=O?S<D?S-D:S-E:0;return{[g]:m[g]+H,data:{[g]:C,centerOffset:S-C-H,...(O&&{alignmentOffset:H})},reset:O}}});function getPlacementList(e,t,n){const i=e?[...n.filter(t=>getAlignment(t)===e),...n.filter(t=>getAlignment(t)!==e)]:n.filter(e=>getSide(e)===e);return i.filter(n=>!e||getAlignment(n)===e||!!t&&getOppositeAlignmentPlacement(n)!==n)}const autoPlacement$2=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o;const{rects:l,middlewareData:r,placement:a,platform:s,elements:d}=t,{crossAxis:m=!1,alignment:f,allowedPlacements:g=placements,autoAlignment:h=!0,...c}=evaluate(e,t),p=void 0!==f||g===placements?getPlacementList(f||null,h,g):g,u=await detectOverflow(t,c),x=(null==(n=r.autoPlacement)?void 0:n.index)||0,y=p[x];if(null==y)return{};const w=getAlignmentSides(y,l,await(null==s.isRTL?void 0:s.isRTL(d.floating)));if(a!==y)return{reset:{placement:p[0]}};const b=[u[getSide(y)],u[w[0]],u[w[1]]],v=[...((null==(i=r.autoPlacement)?void 0:i.overflows)||[]),{placement:y,overflows:b}],R=p[x+1];if(R)return{data:{index:x+1,overflows:v},reset:{placement:R}};const L=v.map(e=>{const t=getAlignment(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),P=L.filter(e=>e[2].slice(0,getAlignment(e[0])?2:3).every(e=>0>=e)),T=(null==(o=P[0])?void 0:o[0])||L[0][0];return T===a?{}:{data:{index:x+1,overflows:v},reset:{placement:T}}}}},flip$2=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:o,middlewareData:l,rects:r,initialPlacement:a,platform:s,elements:d}=t,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:u=!0,...c}=evaluate(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};const x=getSide(o),y=getSideAxis(a),w=getSide(a)===a,b=await(null==s.isRTL?void 0:s.isRTL(d.floating)),v=f||(w||!u?[getOppositePlacement(a)]:getExpandedPlacements(a)),R="none"!==p;!f&&R&&v.push(...getOppositeAxisPlacements(a,u,p,b));const L=[a,...v],P=await detectOverflow(t,c),T=[];let A=(null==(i=l.flip)?void 0:i.overflows)||[];if(m&&T.push(P[x]),g){const e=getAlignmentSides(o,r,b);T.push(P[e[0]],P[e[1]])}if(A=[...A,{placement:o,overflows:T}],!T.every(e=>0>=e)){var D,E;const e=((null==(D=l.flip)?void 0:D.index)||0)+1,t=L[e];if(t)return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(E=A.filter(e=>0>=e.overflows[0]).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:E.placement;if(!n)switch(h){case"bestFit":{var S;const e=null==(S=A.filter(e=>{if(R){const t=getSideAxis(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>0<e).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}};function getSideOffsets(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function isAnySideFullyClipped(e){return sides.some(t=>0<=e[t])}const hide$1=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=evaluate(e,t);switch(o){case"referenceHidden":{const e=await detectOverflow(t,{...i,elementContext:"reference"}),o=getSideOffsets(e,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:isAnySideFullyClipped(o)}}}case"escaped":{const e=await detectOverflow(t,{...i,altBoundary:!0}),o=getSideOffsets(e,n.floating);return{data:{escapedOffsets:o,escaped:isAnySideFullyClipped(o)}}}default:return{}}}}};async function convertValueToCoords(e,t){const{placement:n,platform:i,elements:o}=e,l=await(null==i.isRTL?void 0:i.isRTL(o.floating)),r=getSide(n),a=getAlignment(n),s="y"===getSideAxis(n),d=["left","top"].includes(r)?-1:1,f=l&&s?-1:1,c=evaluate(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:h}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&"number"==typeof h&&(g="end"===a?-1*h:h),s?{x:g*f,y:m*d}:{x:m*d,y:g*f}}const offset$2=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:l,placement:r,middlewareData:a}=t,s=await convertValueToCoords(t,e);return r===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:o+s.x,y:l+s.y,data:{...s,placement:r}}}}},shift$2=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:o}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=evaluate(e,t),d={x:n,y:i},f=await detectOverflow(t,l),c=getSideAxis(getSide(o)),m=getOppositeAxis(c);let g=d[m],h=d[c];if(r){const e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=g+f[e],i=g-f[t];g=clamp(n,g,i)}if(a){const e="y"===c?"top":"left",t="y"===c?"bottom":"right",n=h+f[e],i=h-f[t];h=clamp(n,h,i)}const p=s.fn({...t,[m]:g,[c]:h});return{...p,data:{x:p.x-n,y:p.y-i,enabled:{[m]:r,[c]:a}}}}}},size$2=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:o,rects:l,platform:r,elements:a}=t,{apply:d=()=>{},...s}=evaluate(e,t),f=await detectOverflow(t,s),c=getSide(o),m=getAlignment(o),g="y"===getSideAxis(o),{width:h,height:p}=l.floating;let u,x;"top"===c||"bottom"===c?(u=c,x=m===((await(null==r.isRTL?void 0:r.isRTL(a.floating)))?"start":"end")?"left":"right"):(x=c,u="end"===m?"top":"bottom");const y=p-f.top-f.bottom,w=h-f.left-f.right,b=min(p-f[u],y),v=min(h-f[x],w),R=!t.middlewareData.shift;let L=b,P=v;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(P=w),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(L=y),R&&!m){const e=max(f.left,0),t=max(f.right,0),n=max(f.top,0),i=max(f.bottom,0);g?P=h-2*(0!==e||0!==t?e+t:max(f.left,f.right)):L=p-2*(0!==n||0!==i?n+i:max(f.top,f.bottom))}await d({...t,availableWidth:P,availableHeight:L});const T=await r.getDimensions(a.floating);return h!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function getCssDimensions(e){const t=getComputedStyle(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=isHTMLElement(e),l=o?e.offsetWidth:n,r=o?e.offsetHeight:i,a=round(n)!==l||round(i)!==r;return a&&(n=l,i=r),{width:n,height:i,$:a}}function unwrapElement(e){return isElement(e)?e:e.contextElement}function getScale(e){var t=Number.isFinite;const n=unwrapElement(e);if(!isHTMLElement(n))return createCoords(1);const i=n.getBoundingClientRect(),{width:o,height:l,$:r}=getCssDimensions(n);let a=(r?round(i.width):i.width)/o,s=(r?round(i.height):i.height)/l;return a&&t(a)||(a=1),s&&t(s)||(s=1),{x:a,y:s}}const noOffsets=createCoords(0);function getVisualOffsets(e){const t=getWindow(e);return isWebKit()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(e,t,n){return void 0===t&&(t=!1),n&&(!t||n===getWindow(e))&&t}function getBoundingClientRect(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),l=unwrapElement(e);let r=createCoords(1);t&&(i?isElement(i)&&(r=getScale(i)):r=getScale(e));const a=shouldAddVisualOffsets(l,n,i)?getVisualOffsets(l):createCoords(0);let s=(o.left+a.x)/r.x,d=(o.top+a.y)/r.y,f=o.width/r.x,c=o.height/r.y;if(l){const e=getWindow(l),t=i&&isElement(i)?getWindow(i):i;let n=e,o=getFrameElement(n);for(;o&&i&&t!==n;){const e=getScale(o),t=o.getBoundingClientRect(),i=getComputedStyle(o),l=t.left+(o.clientLeft+parseFloat(i.paddingLeft))*e.x,r=t.top+(o.clientTop+parseFloat(i.paddingTop))*e.y;s*=e.x,d*=e.y,f*=e.x,c*=e.y,s+=l,d+=r,n=getWindow(o),o=getFrameElement(n)}}return rectToClientRect({width:f,height:c,x:s,y:d})}function convertOffsetParentRelativeRectToViewportRelativeRect(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e;const l="fixed"===o,r=getDocumentElement(i),a=!!t&&isTopLayer(t.floating);if(i===r||a&&l)return n;let s={scrollLeft:0,scrollTop:0},d=createCoords(1);const f=createCoords(0),c=isHTMLElement(i);if((c||!c&&!l)&&(("body"!==getNodeName(i)||isOverflowElement(r))&&(s=getNodeScroll(i)),isHTMLElement(i))){const e=getBoundingClientRect(i);d=getScale(i),f.x=e.x+i.clientLeft,f.y=e.y+i.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-s.scrollLeft*d.x+f.x,y:n.y*d.y-s.scrollTop*d.y+f.y}}function getClientRects(e){return Array.from(e.getClientRects())}function getWindowScrollBarX(e,t){const n=getNodeScroll(e).scrollLeft;return t?t.left+n:getBoundingClientRect(getDocumentElement(e)).left+n}function getDocumentRect(e){const t=getDocumentElement(e),n=getNodeScroll(e),i=e.ownerDocument.body,o=max(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=max(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let r=-n.scrollLeft+getWindowScrollBarX(e);const a=-n.scrollTop;return"rtl"===getComputedStyle(i).direction&&(r+=max(t.clientWidth,i.clientWidth)-o),{width:o,height:l,x:r,y:a}}function getViewportRect(e,t){const n=getWindow(e),i=getDocumentElement(e),o=n.visualViewport;let l=i.clientWidth,r=i.clientHeight,a=0,s=0;if(o){l=o.width,r=o.height;const e=isWebKit();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}return{width:l,height:r,x:a,y:s}}function getInnerBoundingClientRect(e,t){const n=getBoundingClientRect(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,l=isHTMLElement(e)?getScale(e):createCoords(1),r=e.clientWidth*l.x,a=e.clientHeight*l.y,s=o*l.x,d=i*l.y;return{width:r,height:a,x:s,y:d}}function getClientRectFromClippingAncestor(e,t,n){let i;if("viewport"===t)i=getViewportRect(e,n);else if("document"===t)i=getDocumentRect(getDocumentElement(e));else if(isElement(t))i=getInnerBoundingClientRect(t,n);else{const n=getVisualOffsets(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return rectToClientRect(i)}function hasFixedPositionAncestor(e,t){const n=getParentNode(e);return n!==t&&isElement(n)&&!isLastTraversableNode(n)&&("fixed"===getComputedStyle(n).position||hasFixedPositionAncestor(n,t))}function getClippingElementAncestors(e,t){const n=t.get(e);if(n)return n;let i=getOverflowAncestors(e,[],!1).filter(e=>isElement(e)&&"body"!==getNodeName(e)),o=null;const l="fixed"===getComputedStyle(e).position;for(let n=l?getParentNode(e):e;isElement(n)&&!isLastTraversableNode(n);){const t=getComputedStyle(n),r=isContainingBlock(n);r||"fixed"!==t.position||(o=null);const a=l?!r&&!o:!r&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||isOverflowElement(n)&&!r&&hasFixedPositionAncestor(e,n);a?i=i.filter(e=>e!==n):o=t,n=getParentNode(n)}return t.set(e,i),i}function getClippingRect(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e;const l="clippingAncestors"===n?isTopLayer(t)?[]:getClippingElementAncestors(t,this._c):[].concat(n),r=[...l,i],a=r[0],s=r.reduce((e,n)=>{const i=getClientRectFromClippingAncestor(t,n,o);return e.top=max(i.top,e.top),e.right=min(i.right,e.right),e.bottom=min(i.bottom,e.bottom),e.left=max(i.left,e.left),e},getClientRectFromClippingAncestor(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function getDimensions(e){const{width:t,height:n}=getCssDimensions(e);return{width:t,height:n}}function getRectRelativeToOffsetParent(e,t,n){const i=isHTMLElement(t),o=getDocumentElement(t),l="fixed"===n,r=getBoundingClientRect(e,!0,l,t);let a={scrollLeft:0,scrollTop:0};const s=createCoords(0);if(i||!i&&!l)if(("body"!==getNodeName(t)||isOverflowElement(o))&&(a=getNodeScroll(t)),i){const e=getBoundingClientRect(t,!0,l,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=getWindowScrollBarX(o));let d=0,f=0;if(o&&!i&&!l){const e=o.getBoundingClientRect();f=e.top+a.scrollTop,d=e.left+a.scrollLeft-getWindowScrollBarX(o,e)}const c=r.left+a.scrollLeft-s.x-d,m=r.top+a.scrollTop-s.y-f;return{x:c,y:m,width:r.width,height:r.height}}function isStaticPositioned(e){return"static"===getComputedStyle(e).position}function getTrueOffsetParent(e,t){if(!isHTMLElement(e)||"fixed"===getComputedStyle(e).position)return null;if(t)return t(e);let n=e.offsetParent;return getDocumentElement(e)===n&&(n=n.ownerDocument.body),n}function getOffsetParent(e,t){const n=getWindow(e);if(isTopLayer(e))return n;if(!isHTMLElement(e)){for(let t=getParentNode(e);t&&!isLastTraversableNode(t);){if(isElement(t)&&!isStaticPositioned(t))return t;t=getParentNode(t)}return n}let i=getTrueOffsetParent(e,t);for(;i&&isTableElement(i)&&isStaticPositioned(i);)i=getTrueOffsetParent(i,t);return i&&isLastTraversableNode(i)&&isStaticPositioned(i)&&!isContainingBlock(i)?n:i||getContainingBlock(e)||n}const getElementRects=async function(e){const t=this.getOffsetParent||getOffsetParent,n=this.getDimensions,i=await n(e.floating);return{reference:getRectRelativeToOffsetParent(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function isRTL(e){return"rtl"===getComputedStyle(e).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(e,t){function n(){var e;clearTimeout(o),null==(e=l)||e.disconnect(),l=null}function i(a,s){function d(e){const t=e[0].intersectionRatio;if(t!==s){if(!w)return i();t?i(!1,t):o=setTimeout(()=>{i(!1,1e-7)},1e3)}w=!1}void 0===a&&(a=!1),void 0===s&&(s=1),n();const{left:f,top:c,width:m,height:g}=e.getBoundingClientRect();if(a||t(),!m||!g)return;const h=floor(c),p=floor(r.clientWidth-(f+m)),u=floor(r.clientHeight-(c+g)),x=floor(f),y={rootMargin:-h+"px "+-p+"px "+-u+"px "+-x+"px",threshold:max(0,min(1,s))||1};let w=!0;try{l=new IntersectionObserver(d,{...y,root:r.ownerDocument})}catch(t){l=new IntersectionObserver(d,y)}l.observe(e)}let o,l=null;const r=getDocumentElement(e);return i(!0),n}function autoUpdate(e,t,n,i){function o(){const t=getBoundingClientRect(e);u&&(t.x!==u.x||t.y!==u.y||t.width!==u.width||t.height!==u.height)&&n(),u=t,p=requestAnimationFrame(o)}void 0===i&&(i={});const{ancestorScroll:l=!0,ancestorResize:r=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,f=unwrapElement(e),c=l||r?[...(f?getOverflowAncestors(f):[]),...getOverflowAncestors(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)});const m=f&&s?observeMove(f,n):null;let g=-1,h=null;a&&(h=new ResizeObserver(e=>{let[i]=e;i&&i.target===f&&h&&(h.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),f&&!d&&h.observe(f),h.observe(t));let p,u=d?getBoundingClientRect(e):null;return d&&o(),n(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=h)||e.disconnect(),h=null,d&&cancelAnimationFrame(p)}}const offset$1=offset$2,autoPlacement$1=autoPlacement$2,shift$1=shift$2,flip$1=flip$2,size$1=size$2,hide=hide$1,arrow$2=arrow$3,computePosition=(e,t,n)=>{const i=new Map,o={platform,...n},l={...o.platform,_c:i};return computePosition$1(e,t,{...o,platform:l})};var index="undefined"==typeof document?useEffect:useLayoutEffect;function deepEqual(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,o,l;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(!deepEqual(e[o],t[o]))return!1;return!0}if(l=Object.keys(e),n=l.length,n!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!{}.hasOwnProperty.call(t,l[o]))return!1;for(o=n;0!=o--;){const n=l[o];if(!("_owner"===n&&e.$$typeof)&&!deepEqual(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function getDPR(e){if("undefined"==typeof window)return 1;const t=e.ownerDocument.defaultView||window;return t.devicePixelRatio||1}function roundByDPR(e,t){const n=getDPR(e);return Math.round(t*n)/n}function useLatestRef(e){const t=React.useRef(e);return index(()=>{t.current=e}),t}function useFloating(e){void 0===e&&(e={});const{placement:o="bottom",strategy:l="absolute",middleware:r=[],platform:t,elements:{reference:s,floating:d}={},transform:a=!0,whileElementsMounted:n,open:i}=e,[f,c]=React.useState({x:0,y:0,strategy:l,placement:o,middlewareData:{},isPositioned:!1}),[m,g]=React.useState(r);deepEqual(m,r)||g(r);const[h,p]=React.useState(null),[u,x]=React.useState(null),y=React.useCallback(e=>{e!==R.current&&(R.current=e,p(e))},[]),w=React.useCallback(e=>{e!==L.current&&(L.current=e,x(e))},[]),b=s||h,v=d||u,R=React.useRef(null),L=React.useRef(null),P=React.useRef(f),T=useLatestRef(n),A=useLatestRef(t),D=useLatestRef(i),E=React.useCallback(()=>{if(R.current&&L.current){const e={placement:o,strategy:l,middleware:m};A.current&&(e.platform=A.current),computePosition(R.current,L.current,e).then(e=>{const t={...e,isPositioned:!1!==D.current};S.current&&!deepEqual(P.current,t)&&(P.current=t,ReactDOM.flushSync(()=>{c(t)}))})}},[m,o,l,A,D]);index(()=>{!1===i&&P.current.isPositioned&&(P.current.isPositioned=!1,c(e=>({...e,isPositioned:!1})))},[i]);const S=React.useRef(!1);index(()=>(S.current=!0,()=>{S.current=!1}),[]),index(()=>{if(b&&(R.current=b),v&&(L.current=v),b&&v){if(T.current)return T.current(b,v,E);E()}},[b,v,E,T,null!=n]);const C=React.useMemo(()=>({reference:R,floating:L,setReference:y,setFloating:w}),[y,w]),O=React.useMemo(()=>({reference:b,floating:v}),[b,v]),H=React.useMemo(()=>{const e={position:l,left:0,top:0};if(!O.floating)return e;const t=roundByDPR(O.floating,f.x),n=roundByDPR(O.floating,f.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",...(1.5<=getDPR(O.floating)&&{willChange:"transform"})}:{position:l,left:t,top:n}},[l,a,O.floating,f.x,f.y]);return React.useMemo(()=>({...f,update:E,refs:C,elements:O,floatingStyles:H}),[f,E,C,O,H])}const arrow$1=e=>{function t(e){return{}.hasOwnProperty.call(e,"current")}return{name:"arrow",options:e,fn(n){const{element:i,padding:o}="function"==typeof e?e(n):e;return i&&t(i)?null==i.current?{}:arrow$2({element:i.current,padding:o}).fn(n):i?arrow$2({element:i,padding:o}).fn(n):{}}}},offset=(e,t)=>({...offset$1(e),options:[e,t]}),shift=(e,t)=>({...shift$1(e),options:[e,t]}),flip=(e,t)=>({...flip$1(e),options:[e,t]}),size=(e,t)=>({...size$1(e),options:[e,t]}),autoPlacement=(e,t)=>({...autoPlacement$1(e),options:[e,t]}),arrow=(e,t)=>({...arrow$1(e),options:[e,t]});export{autoPlacement as a,shift as b,autoUpdate as c,offset$1 as d,flip$1 as e,flip as f,getOverflowAncestors as g,shift$1 as h,isElement as i,autoPlacement$1 as j,arrow as k,hide as l,offset as o,size as s,useFloating as u};
|