@ssa-ui-kit/core 2.27.2 → 2.28.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/dist/components/Popover/PopoverContent.d.ts +2 -0
- package/dist/components/Popover/types.d.ts +1 -0
- package/dist/components/Tab/TabBase.d.ts +1 -2
- package/dist/components/TabBar/TabBar.d.ts +1 -1
- package/dist/components/TabBar/types.d.ts +5 -3
- package/dist/index.js +73 -100
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { MountMode } from './types';
|
|
2
3
|
export declare const PopoverContent: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLDivElement> & {
|
|
3
4
|
isFocusManagerDisabled?: boolean;
|
|
5
|
+
mountMode?: MountMode;
|
|
4
6
|
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Placement, useInteractions, UseFloatingReturn, UseFloatingOptions } from '@floating-ui/react';
|
|
2
2
|
export type InteractionsEnabled = 'click' | 'hover' | 'both';
|
|
3
|
+
export type MountMode = 'unmount' | 'keep-mounted';
|
|
3
4
|
export interface PopoverOptions {
|
|
4
5
|
initialOpen?: boolean;
|
|
5
6
|
placement?: Placement;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { SmallTabProps } from '../TabBar/types';
|
|
2
1
|
export declare const TabBase: import("@emotion/styled").StyledComponent<{
|
|
3
2
|
theme?: import("@emotion/react").Theme;
|
|
4
3
|
as?: React.ElementType;
|
|
5
|
-
} & Pick<SmallTabProps, "isActive">, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
4
|
+
} & Pick<import("../TabBar/types").SmallTabProps, "isActive"> & import("react").HTMLAttributes<HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
@@ -6,5 +6,5 @@ import { TabBarProps } from './types';
|
|
|
6
6
|
* component to decide where to render the contents of the
|
|
7
7
|
* selected tab.
|
|
8
8
|
* */
|
|
9
|
-
declare const TabBar: ({ children, className }: TabBarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const TabBar: ({ children, className, ...rest }: TabBarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default TabBar;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
1
2
|
import { CommonProps } from '../../types/emotion';
|
|
2
3
|
export interface TabProps extends CommonProps {
|
|
3
4
|
tabId: number | string;
|
|
@@ -6,18 +7,19 @@ export interface TabProps extends CommonProps {
|
|
|
6
7
|
[prop: string | number | symbol]: unknown;
|
|
7
8
|
}, arg?: unknown) => React.ReactNode;
|
|
8
9
|
isActive?: boolean;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
+
onClick?: (event?: React.MouseEvent<HTMLDivElement>) => void;
|
|
10
11
|
ariaControls?: string;
|
|
11
12
|
[prop: string | number | symbol]: unknown;
|
|
12
13
|
}
|
|
13
|
-
export interface SmallTabProps extends TabProps {
|
|
14
|
+
export interface SmallTabProps extends TabProps, Omit<HTMLAttributes<HTMLButtonElement>, 'onClick'> {
|
|
14
15
|
text: string;
|
|
15
16
|
}
|
|
17
|
+
export type TabBaseProps = Pick<SmallTabProps, 'isActive'> & HTMLAttributes<HTMLButtonElement>;
|
|
16
18
|
export interface LargeTabProps extends TabProps {
|
|
17
19
|
topText: string;
|
|
18
20
|
bottomText: string;
|
|
19
21
|
}
|
|
20
|
-
export interface TabBarProps {
|
|
22
|
+
export interface TabBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'children'> {
|
|
21
23
|
children: React.ReactElement<React.PropsWithChildren<TabProps>>[];
|
|
22
24
|
className?: string;
|
|
23
25
|
}
|
package/dist/index.js
CHANGED
|
@@ -1825,30 +1825,18 @@ const Archive = ({
|
|
|
1825
1825
|
...props,
|
|
1826
1826
|
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
1827
1827
|
children: tooltip
|
|
1828
|
-
}), (0,jsx_runtime_namespaceObject.
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
d: "M7.50003 11.7188C7.43846 11.7189 7.37747 11.7069 7.32061 11.6832C7.26375 11.6596 7.21214 11.625 7.16878 11.5813L5.29378 9.70628C5.21098 9.61742 5.1659 9.49989 5.16804 9.37845C5.17018 9.25701 5.21938 9.14115 5.30526 9.05526C5.39115 8.96938 5.50701 8.92018 5.62845 8.91804C5.74989 8.9159 5.86742 8.96098 5.95628 9.04378L7.50003 10.5869L9.04378 9.04378C9.13264 8.96098 9.25016 8.9159 9.3716 8.91804C9.49304 8.92018 9.60891 8.96938 9.69479 9.05526C9.78067 9.14115 9.82987 9.25701 9.83201 9.37845C9.83415 9.49989 9.78908 9.61742 9.70628 9.70628L7.83128 11.5813C7.78791 11.625 7.7363 11.6596 7.67944 11.6832C7.62258 11.7069 7.56159 11.7189 7.50003 11.7188Z",
|
|
1841
|
-
fill: fill
|
|
1842
|
-
})]
|
|
1843
|
-
}), (0,jsx_runtime_namespaceObject.jsx)("defs", {
|
|
1844
|
-
children: (0,jsx_runtime_namespaceObject.jsx)("clipPath", {
|
|
1845
|
-
id: "clip0_532_12720",
|
|
1846
|
-
children: (0,jsx_runtime_namespaceObject.jsx)("rect", {
|
|
1847
|
-
width: size,
|
|
1848
|
-
height: size,
|
|
1849
|
-
fill: "white"
|
|
1850
|
-
})
|
|
1851
|
-
})
|
|
1828
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1829
|
+
d: "M12.5 14.2188H2.5C2.04426 14.2184 1.60728 14.0372 1.28503 13.715C0.96277 13.3927 0.781581 12.9557 0.78125 12.5V5C0.78125 4.87568 0.830636 4.75645 0.918544 4.66854C1.00645 4.58064 1.12568 4.53125 1.25 4.53125H13.75C13.8743 4.53125 13.9936 4.58064 14.0815 4.66854C14.1694 4.75645 14.2188 4.87568 14.2188 5V12.5C14.2184 12.9557 14.0372 13.3927 13.715 13.715C13.3927 14.0372 12.9557 14.2184 12.5 14.2188ZM1.71875 5.46875V12.5C1.71908 12.7071 1.8015 12.9056 1.94794 13.0521C2.09438 13.1985 2.2929 13.2809 2.5 13.2813H12.5C12.7071 13.2809 12.9056 13.1985 13.0521 13.0521C13.1985 12.9056 13.2809 12.7071 13.2813 12.5V5.46875H1.71875Z",
|
|
1830
|
+
fill: fill
|
|
1831
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1832
|
+
d: "M13.75 5.46876H1.24998C1.17011 5.46875 1.09156 5.44834 1.02179 5.40945C0.952017 5.37056 0.893342 5.31449 0.851329 5.24656C0.809316 5.17862 0.78536 5.10108 0.781733 5.02129C0.778107 4.94149 0.794931 4.8621 0.830609 4.79063L2.53311 1.38563C2.62339 1.20356 2.76288 1.05043 2.93577 0.943609C3.10865 0.836785 3.30801 0.780542 3.51123 0.781257H11.4887C11.692 0.780526 11.8915 0.836833 12.0644 0.943779C12.2373 1.05073 12.3767 1.20402 12.4669 1.38626L14.1694 4.79063C14.205 4.8621 14.2219 4.94149 14.2182 5.02129C14.2146 5.10108 14.1907 5.17862 14.1486 5.24656C14.1066 5.31449 14.048 5.37056 13.9782 5.40945C13.9084 5.44834 13.8299 5.46875 13.75 5.46876ZM2.00873 4.53126H12.9912L11.6281 1.80501C11.6153 1.779 11.5955 1.75711 11.5708 1.74186C11.5462 1.7266 11.5177 1.7186 11.4887 1.71876H3.51123C3.48234 1.71869 3.45401 1.72666 3.42939 1.74178C3.40477 1.7569 3.38485 1.77858 3.37186 1.80438L2.00873 4.53126Z",
|
|
1833
|
+
fill: fill
|
|
1834
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1835
|
+
d: "M7.5 11.7188C7.37568 11.7188 7.25645 11.6694 7.16854 11.5815C7.08064 11.4935 7.03125 11.3743 7.03125 11.25V7.5C7.03125 7.37568 7.08064 7.25645 7.16854 7.16854C7.25645 7.08064 7.37568 7.03125 7.5 7.03125C7.62432 7.03125 7.74355 7.08064 7.83146 7.16854C7.91936 7.25645 7.96875 7.37568 7.96875 7.5V11.25C7.96875 11.3743 7.91936 11.4935 7.83146 11.5815C7.74355 11.6694 7.62432 11.7188 7.5 11.7188Z",
|
|
1836
|
+
fill: fill
|
|
1837
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1838
|
+
d: "M7.50003 11.7188C7.43846 11.7189 7.37747 11.7069 7.32061 11.6832C7.26375 11.6596 7.21214 11.625 7.16878 11.5813L5.29378 9.70628C5.21098 9.61742 5.1659 9.49989 5.16804 9.37845C5.17018 9.25701 5.21938 9.14115 5.30526 9.05526C5.39115 8.96938 5.50701 8.92018 5.62845 8.91804C5.74989 8.9159 5.86742 8.96098 5.95628 9.04378L7.50003 10.5869L9.04378 9.04378C9.13264 8.96098 9.25016 8.9159 9.3716 8.91804C9.49304 8.92018 9.60891 8.96938 9.69479 9.05526C9.78067 9.14115 9.82987 9.25701 9.83201 9.37845C9.83415 9.49989 9.78908 9.61742 9.70628 9.70628L7.83128 11.5813C7.78791 11.625 7.7363 11.6596 7.67944 11.6832C7.62258 11.7069 7.56159 11.7189 7.50003 11.7188Z",
|
|
1839
|
+
fill: fill
|
|
1852
1840
|
})]
|
|
1853
1841
|
});
|
|
1854
1842
|
const ICON_NAME = 'archive';
|
|
@@ -2284,33 +2272,21 @@ const Chart = ({
|
|
|
2284
2272
|
...props,
|
|
2285
2273
|
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
2286
2274
|
children: tooltip
|
|
2287
|
-
}), (0,jsx_runtime_namespaceObject.
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
stroke: fill,
|
|
2303
|
-
strokeWidth: "0.2"
|
|
2304
|
-
})]
|
|
2305
|
-
}), (0,jsx_runtime_namespaceObject.jsx)("defs", {
|
|
2306
|
-
children: (0,jsx_runtime_namespaceObject.jsx)("clipPath", {
|
|
2307
|
-
id: "clip0_2353_10249",
|
|
2308
|
-
children: (0,jsx_runtime_namespaceObject.jsx)("rect", {
|
|
2309
|
-
width: "22",
|
|
2310
|
-
height: "22",
|
|
2311
|
-
fill: "white"
|
|
2312
|
-
})
|
|
2313
|
-
})
|
|
2275
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
2276
|
+
d: "M15.9118 19.3153L15.9119 19.3152C16.1279 19.1374 16.1629 18.8202 15.9915 18.5992L15.9914 18.5991L10.2667 11.2396V2.24969C10.2667 1.96446 10.0352 1.73301 9.75 1.73301C4.8614 1.73301 0.9 6.08572 0.9 11.4163C0.9 16.7557 5.24395 21.0997 10.5833 21.0997C11.771 21.0997 12.6938 20.9922 13.526 20.7137C14.359 20.4349 15.0948 19.987 15.9118 19.3153ZM10.5833 20.0664C5.81355 20.0664 1.93332 16.1861 1.93332 11.4164C1.93332 6.83058 5.17123 3.0801 9.23332 2.78478V11.4164C9.23332 11.531 9.27152 11.6427 9.34279 11.7337C9.34284 11.7338 9.3429 11.7338 9.34295 11.7339L14.8604 18.8277C14.2411 19.2904 13.6698 19.5955 13.0225 19.7874C12.346 19.9879 11.5811 20.0664 10.5833 20.0664Z",
|
|
2277
|
+
fill: fill,
|
|
2278
|
+
stroke: fill,
|
|
2279
|
+
strokeWidth: "0.2"
|
|
2280
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
2281
|
+
d: "M11.4167 11.1H20.5834C20.8686 11.1 21.1 10.8685 21.1 10.5833C21.1 5.24395 16.756 0.9 11.4167 0.9C11.1315 0.9 10.9 1.13145 10.9 1.41668V10.5834C10.9 10.8686 11.1315 11.1 11.4167 11.1ZM11.9333 10.0666V1.94877C16.2925 2.20673 19.7933 5.70751 20.0512 10.0666H11.9333Z",
|
|
2282
|
+
fill: fill,
|
|
2283
|
+
stroke: fill,
|
|
2284
|
+
strokeWidth: "0.2"
|
|
2285
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
2286
|
+
d: "M18.0192 19.3336L18.0189 19.3339C17.9231 19.4225 17.7972 19.4721 17.6668 19.4721L18.0192 19.3336ZM18.0192 19.3336C19.9769 17.5072 21.1001 14.9258 21.1001 12.2497C21.1001 11.9645 20.8687 11.733 20.5835 11.733H12.2501M18.0192 19.3336L12.2501 11.733M12.2501 11.733C12.0517 11.733 11.8691 11.8475 11.7832 12.0274M12.2501 11.733L11.7832 12.0274M11.7832 12.0274C11.6974 12.2073 11.7232 12.4202 11.8482 12.5743M11.7832 12.0274L11.8482 12.5743M11.8482 12.5743C11.8483 12.5743 11.8483 12.5743 11.8483 12.5744M11.8482 12.5743L11.8483 12.5744M11.8483 12.5744L17.2645 19.2795C17.2645 19.2796 17.2646 19.2797 17.2647 19.2797C17.3549 19.3926 17.4872 19.4606 17.63 19.471C17.6298 19.471 17.6296 19.471 17.6295 19.471L11.8483 12.5744ZM20.0512 12.7664C19.9288 14.7847 19.0958 16.7118 17.7089 18.185L13.332 12.7664H20.0512Z",
|
|
2287
|
+
fill: fill,
|
|
2288
|
+
stroke: fill,
|
|
2289
|
+
strokeWidth: "0.2"
|
|
2314
2290
|
})]
|
|
2315
2291
|
});
|
|
2316
2292
|
const Chart_ICON_NAME = 'chart';
|
|
@@ -2665,21 +2641,9 @@ const Copy = ({
|
|
|
2665
2641
|
...props,
|
|
2666
2642
|
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
2667
2643
|
children: tooltip
|
|
2668
|
-
}), (0,jsx_runtime_namespaceObject.jsx)("
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
d: "M12.8755 14.5239H5.40479C4.49601 14.5239 3.75684 13.7848 3.75684 12.876V5.40527C3.75684 4.4965 4.49601 3.75732 5.40479 3.75732H12.8755C13.7843 3.75732 14.5234 4.4965 14.5234 5.40527V12.876C14.5234 13.7848 13.7843 14.5239 12.8755 14.5239ZM5.40479 4.85596C5.10189 4.85596 4.85547 5.10238 4.85547 5.40527V12.876C4.85547 13.1789 5.10189 13.4253 5.40479 13.4253H12.8755C13.1784 13.4253 13.4248 13.1789 13.4248 12.876V5.40527C13.4248 5.10238 13.1784 4.85596 12.8755 4.85596H5.40479ZM2.6582 10.1294H2.10889C1.80599 10.1294 1.55957 9.88297 1.55957 9.58008V2.10938C1.55957 1.80648 1.80599 1.56006 2.10889 1.56006H9.57959C9.88249 1.56006 10.1289 1.80648 10.1289 2.10938V2.63123H11.2275V2.10938C11.2275 1.2006 10.4884 0.461426 9.57959 0.461426H2.10889C1.20011 0.461426 0.460938 1.2006 0.460938 2.10938V9.58008C0.460938 10.4889 1.20011 11.228 2.10889 11.228H2.6582V10.1294Z",
|
|
2672
|
-
fill: fill
|
|
2673
|
-
})
|
|
2674
|
-
}), (0,jsx_runtime_namespaceObject.jsx)("defs", {
|
|
2675
|
-
children: (0,jsx_runtime_namespaceObject.jsx)("clipPath", {
|
|
2676
|
-
id: "clip0_532_12716",
|
|
2677
|
-
children: (0,jsx_runtime_namespaceObject.jsx)("rect", {
|
|
2678
|
-
width: size,
|
|
2679
|
-
height: size,
|
|
2680
|
-
fill: "white"
|
|
2681
|
-
})
|
|
2682
|
-
})
|
|
2644
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
2645
|
+
d: "M12.8755 14.5239H5.40479C4.49601 14.5239 3.75684 13.7848 3.75684 12.876V5.40527C3.75684 4.4965 4.49601 3.75732 5.40479 3.75732H12.8755C13.7843 3.75732 14.5234 4.4965 14.5234 5.40527V12.876C14.5234 13.7848 13.7843 14.5239 12.8755 14.5239ZM5.40479 4.85596C5.10189 4.85596 4.85547 5.10238 4.85547 5.40527V12.876C4.85547 13.1789 5.10189 13.4253 5.40479 13.4253H12.8755C13.1784 13.4253 13.4248 13.1789 13.4248 12.876V5.40527C13.4248 5.10238 13.1784 4.85596 12.8755 4.85596H5.40479ZM2.6582 10.1294H2.10889C1.80599 10.1294 1.55957 9.88297 1.55957 9.58008V2.10938C1.55957 1.80648 1.80599 1.56006 2.10889 1.56006H9.57959C9.88249 1.56006 10.1289 1.80648 10.1289 2.10938V2.63123H11.2275V2.10938C11.2275 1.2006 10.4884 0.461426 9.57959 0.461426H2.10889C1.20011 0.461426 0.460938 1.2006 0.460938 2.10938V9.58008C0.460938 10.4889 1.20011 11.228 2.10889 11.228H2.6582V10.1294Z",
|
|
2646
|
+
fill: fill
|
|
2683
2647
|
})]
|
|
2684
2648
|
});
|
|
2685
2649
|
const Copy_ICON_NAME = 'copy';
|
|
@@ -4136,34 +4100,21 @@ const UnArchive = ({
|
|
|
4136
4100
|
...props,
|
|
4137
4101
|
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
4138
4102
|
children: tooltip
|
|
4139
|
-
}), (0,jsx_runtime_namespaceObject.
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
d: "M19.0102 0.447437C19.0503 0.17422 19.3042 -0.0147705 19.5775 0.0253158C19.8507 0.0654021 20.0397 0.319385 19.9996 0.592602L19.0102 0.447437ZM18.0228 7.17712L19.0102 0.447437L19.9996 0.592602L19.0122 7.32229L18.0228 7.17712Z",
|
|
4155
|
-
fill: fill
|
|
4156
|
-
})]
|
|
4157
|
-
}), (0,jsx_runtime_namespaceObject.jsx)("defs", {
|
|
4158
|
-
children: (0,jsx_runtime_namespaceObject.jsx)("clipPath", {
|
|
4159
|
-
id: "clip0_1141_12546",
|
|
4160
|
-
children: (0,jsx_runtime_namespaceObject.jsx)("rect", {
|
|
4161
|
-
width: "20",
|
|
4162
|
-
height: "20",
|
|
4163
|
-
fill: "white",
|
|
4164
|
-
transform: "translate(0.160156)"
|
|
4165
|
-
})
|
|
4166
|
-
})
|
|
4103
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
4104
|
+
d: "M16.8271 18.9582H3.49382C2.88616 18.9577 2.30352 18.7161 1.87385 18.2865C1.44417 17.8568 1.20259 17.2742 1.20215 16.6665V6.6665C1.20215 6.50074 1.268 6.34177 1.38521 6.22456C1.50242 6.10735 1.66139 6.0415 1.82715 6.0415H18.4938C18.6596 6.0415 18.8185 6.10735 18.9358 6.22456C19.053 6.34177 19.1188 6.50074 19.1188 6.6665V16.6665C19.1184 17.2742 18.8768 17.8568 18.4471 18.2865C18.0174 18.7161 17.4348 18.9577 16.8271 18.9582ZM2.45215 7.2915V16.6665C2.45259 16.9426 2.56248 17.2073 2.75773 17.4026C2.95299 17.5978 3.21768 17.7077 3.49382 17.7082H16.8271C17.1033 17.7077 17.368 17.5978 17.5632 17.4026C17.7585 17.2073 17.8684 16.9426 17.8688 16.6665V7.2915H2.45215Z",
|
|
4105
|
+
fill: fill
|
|
4106
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
4107
|
+
d: "M10.1602 15.625C9.9944 15.625 9.83543 15.5592 9.71821 15.4419C9.601 15.3247 9.53516 15.1658 9.53516 15V10C9.53516 9.83424 9.601 9.67527 9.71821 9.55806C9.83543 9.44085 9.9944 9.375 10.1602 9.375C10.3259 9.375 10.4849 9.44085 10.6021 9.55806C10.7193 9.67527 10.7852 9.83424 10.7852 10V15C10.7852 15.1658 10.7193 15.3247 10.6021 15.4419C10.4849 15.5592 10.3259 15.625 10.1602 15.625Z",
|
|
4108
|
+
fill: fill
|
|
4109
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
4110
|
+
d: "M10.1601 8.89059C10.2422 8.89039 10.3235 8.90649 10.3993 8.93796C10.4752 8.96943 10.544 9.01565 10.6018 9.07392L13.1018 11.5739C13.2122 11.6924 13.2723 11.8491 13.2694 12.011C13.2666 12.1729 13.201 12.3274 13.0865 12.4419C12.972 12.5565 12.8175 12.622 12.6556 12.6249C12.4936 12.6278 12.3369 12.5677 12.2185 12.4573L10.1601 10.3998L8.10179 12.4573C7.98331 12.5677 7.8266 12.6278 7.66469 12.6249C7.50277 12.622 7.34828 12.5565 7.23377 12.4419C7.11926 12.3274 7.05366 12.1729 7.05081 12.011C7.04795 11.8491 7.10805 11.6924 7.21845 11.5739L9.71845 9.07392C9.77627 9.01565 9.84508 8.96943 9.9209 8.93796C9.99672 8.90649 10.078 8.89039 10.1601 8.89059Z",
|
|
4111
|
+
fill: fill
|
|
4112
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
4113
|
+
d: "M1.25056 0.447437C1.21048 0.17422 0.956494 -0.0147705 0.683277 0.0253158C0.410059 0.0654021 0.221069 0.319385 0.261156 0.592602L1.25056 0.447437ZM2.23794 7.17712L1.25056 0.447437L0.261156 0.592602L1.24853 7.32229L2.23794 7.17712Z",
|
|
4114
|
+
fill: fill
|
|
4115
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
4116
|
+
d: "M19.0102 0.447437C19.0503 0.17422 19.3042 -0.0147705 19.5775 0.0253158C19.8507 0.0654021 20.0397 0.319385 19.9996 0.592602L19.0102 0.447437ZM18.0228 7.17712L19.0102 0.447437L19.9996 0.592602L19.0122 7.32229L18.0228 7.17712Z",
|
|
4117
|
+
fill: fill
|
|
4167
4118
|
})]
|
|
4168
4119
|
});
|
|
4169
4120
|
const UnArchive_ICON_NAME = 'unarchive';
|
|
@@ -4873,7 +4824,7 @@ const Dropdown = ({
|
|
|
4873
4824
|
const onChange = item => {
|
|
4874
4825
|
const innerItem = options.filter(option => option.value === item)[0];
|
|
4875
4826
|
setIsOpen(false);
|
|
4876
|
-
if (isDisabled || !
|
|
4827
|
+
if (isDisabled || !innerItem) {
|
|
4877
4828
|
return;
|
|
4878
4829
|
}
|
|
4879
4830
|
if (innerItem.value === activeItem?.value) {
|
|
@@ -7933,7 +7884,8 @@ const TabBarBase = /*#__PURE__*/base_default()("div", true ? {
|
|
|
7933
7884
|
* */
|
|
7934
7885
|
const TabBar = ({
|
|
7935
7886
|
children,
|
|
7936
|
-
className
|
|
7887
|
+
className,
|
|
7888
|
+
...rest
|
|
7937
7889
|
}) => {
|
|
7938
7890
|
const {
|
|
7939
7891
|
activeTab,
|
|
@@ -7966,13 +7918,26 @@ const TabBar = ({
|
|
|
7966
7918
|
return (0,jsx_runtime_namespaceObject.jsx)(TabBarBase, {
|
|
7967
7919
|
role: "tablist",
|
|
7968
7920
|
className: className,
|
|
7921
|
+
...rest,
|
|
7969
7922
|
children: external_react_namespaceObject.Children.map(children, child => {
|
|
7970
7923
|
// istanbul ignore else
|
|
7971
7924
|
if (/*#__PURE__*/(0,external_react_namespaceObject.isValidElement)(child)) {
|
|
7925
|
+
const {
|
|
7926
|
+
tabId,
|
|
7927
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
7928
|
+
renderContent,
|
|
7929
|
+
ariaControls,
|
|
7930
|
+
as,
|
|
7931
|
+
children,
|
|
7932
|
+
isActive,
|
|
7933
|
+
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
7934
|
+
...htmlProps
|
|
7935
|
+
} = child.props;
|
|
7972
7936
|
return /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(child, {
|
|
7973
|
-
key:
|
|
7974
|
-
isActive: activeTab?.tabId ===
|
|
7975
|
-
onClick: () => setSelectedTabId(
|
|
7937
|
+
key: tabId,
|
|
7938
|
+
isActive: activeTab?.tabId === tabId,
|
|
7939
|
+
onClick: () => setSelectedTabId(tabId),
|
|
7940
|
+
...htmlProps
|
|
7976
7941
|
});
|
|
7977
7942
|
}
|
|
7978
7943
|
})
|
|
@@ -11358,6 +11323,7 @@ const NavContentToggle = ({
|
|
|
11358
11323
|
children: (0,jsx_runtime_namespaceObject.jsx)("label", {
|
|
11359
11324
|
htmlFor: id,
|
|
11360
11325
|
"data-testid": "collapsible-nav-content-toggle-label",
|
|
11326
|
+
"aria-expanded": isChecked,
|
|
11361
11327
|
css: CollapsibleNavContentToggle_ref,
|
|
11362
11328
|
children: (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11363
11329
|
name: isChecked ? 'carrot-left' : 'carrot-right',
|
|
@@ -11674,6 +11640,7 @@ var PopoverContent_ref = true ? {
|
|
|
11674
11640
|
const PopoverContent = /*#__PURE__*/external_react_namespaceObject.forwardRef(function PopoverContent({
|
|
11675
11641
|
style,
|
|
11676
11642
|
isFocusManagerDisabled = false,
|
|
11643
|
+
mountMode = 'unmount',
|
|
11677
11644
|
...props
|
|
11678
11645
|
}, propRef) {
|
|
11679
11646
|
const {
|
|
@@ -11681,7 +11648,9 @@ const PopoverContent = /*#__PURE__*/external_react_namespaceObject.forwardRef(fu
|
|
|
11681
11648
|
...context
|
|
11682
11649
|
} = usePopoverContext();
|
|
11683
11650
|
const ref = (0,external_floating_ui_react_namespaceObject.useMergeRefs)([context.refs.setFloating, propRef]);
|
|
11684
|
-
|
|
11651
|
+
const keepMounted = mountMode === 'keep-mounted';
|
|
11652
|
+
if (!keepMounted && !floatingContext.open) return null;
|
|
11653
|
+
const hidden = keepMounted && !floatingContext.open;
|
|
11685
11654
|
return (0,jsx_runtime_namespaceObject.jsx)(external_floating_ui_react_namespaceObject.FloatingPortal, {
|
|
11686
11655
|
children: (0,jsx_runtime_namespaceObject.jsx)(external_floating_ui_react_namespaceObject.FloatingFocusManager, {
|
|
11687
11656
|
context: floatingContext,
|
|
@@ -11692,6 +11661,10 @@ const PopoverContent = /*#__PURE__*/external_react_namespaceObject.forwardRef(fu
|
|
|
11692
11661
|
css: PopoverContent_ref,
|
|
11693
11662
|
style: {
|
|
11694
11663
|
...context.floatingStyles,
|
|
11664
|
+
...(hidden ? {
|
|
11665
|
+
display: 'none',
|
|
11666
|
+
pointerEvents: 'none'
|
|
11667
|
+
} : null),
|
|
11695
11668
|
...style
|
|
11696
11669
|
},
|
|
11697
11670
|
"aria-labelledby": context.labelId,
|