tfy-web-components 0.0.43 → 0.0.45
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/{Button-CPJYHldw.js → Button-HHEfL8b9.js} +5 -4
- package/dist/{Button-CPJYHldw.js.map → Button-HHEfL8b9.js.map} +1 -1
- package/dist/CSPContext-Cldo9QDp.js +13 -0
- package/dist/CSPContext-Cldo9QDp.js.map +1 -0
- package/dist/{CompositeItem-DJWNsIwE.js → CompositeItem-GNejxLcK.js} +3 -3
- package/dist/{CompositeItem-DJWNsIwE.js.map → CompositeItem-GNejxLcK.js.map} +1 -1
- package/dist/{CompositeRoot-BlljDWkR.js → CompositeRoot-7_u1HqDT.js} +9 -47
- package/dist/CompositeRoot-7_u1HqDT.js.map +1 -0
- package/dist/DropdownMenu-Crlf-J4E.js +3304 -0
- package/dist/DropdownMenu-Crlf-J4E.js.map +1 -0
- package/dist/{Input-Dcxu6SVO.js → Input-BS9fWUAf.js} +3 -3
- package/dist/{Input-Dcxu6SVO.js.map → Input-BS9fWUAf.js.map} +1 -1
- package/dist/{Modal-BUWlwJcN.js → Modal-DaHG8mjy.js} +10 -10
- package/dist/{Modal-BUWlwJcN.js.map → Modal-DaHG8mjy.js.map} +1 -1
- package/dist/Popover-A8IyEt2w.js +400 -0
- package/dist/Popover-A8IyEt2w.js.map +1 -0
- package/dist/{Popover-BqqXJnK1.js → PopoverPopup-teGm7D5T.js} +25 -498
- package/dist/PopoverPopup-teGm7D5T.js.map +1 -0
- package/dist/PrehydrationScript-B3u_PP2W.js +49 -0
- package/dist/PrehydrationScript-B3u_PP2W.js.map +1 -0
- package/dist/Select-BtX40h2K.js +2187 -0
- package/dist/Select-BtX40h2K.js.map +1 -0
- package/dist/{useValueAsRef-BfFRcMg6.js → addEventListener-D-i9O6BG.js} +8 -8
- package/dist/addEventListener-D-i9O6BG.js.map +1 -0
- package/dist/clamp-D7_nsB8C.js +30 -0
- package/dist/clamp-D7_nsB8C.js.map +1 -0
- package/dist/components/atoms/Accordion.es.js +9 -9
- package/dist/components/atoms/Avatar.es.js +9 -9
- package/dist/components/atoms/Avatar.es.js.map +1 -1
- package/dist/components/atoms/Badge.d.ts +5 -6
- package/dist/components/atoms/Badge.es.js +80 -43
- package/dist/components/atoms/Badge.es.js.map +1 -1
- package/dist/components/atoms/Button.d.ts +1 -1
- package/dist/components/atoms/Button.es.js +2 -2
- package/dist/components/atoms/ButtonGroup.es.js +1 -1
- package/dist/components/atoms/Combobox.d.ts +34 -0
- package/dist/components/atoms/Combobox.es.js +3252 -0
- package/dist/components/atoms/Combobox.es.js.map +1 -0
- package/dist/components/atoms/ContextMenu.d.ts +12 -0
- package/dist/components/atoms/ContextMenu.es.js +259 -0
- package/dist/components/atoms/ContextMenu.es.js.map +1 -0
- package/dist/components/atoms/DropdownMenu.d.ts +51 -0
- package/dist/components/atoms/DropdownMenu.es.js +31 -0
- package/dist/components/atoms/DropdownMenu.es.js.map +1 -0
- package/dist/components/atoms/IconButton.d.ts +1 -1
- package/dist/components/atoms/IconButton.es.js +3 -3
- package/dist/components/atoms/IconButton.es.js.map +1 -1
- package/dist/components/atoms/IconProvider.es.js +4 -1
- package/dist/components/atoms/IconProvider.es.js.map +1 -1
- package/dist/components/atoms/Modal.es.js +1 -1
- package/dist/components/atoms/OverflowButton.es.js +2 -2
- package/dist/components/atoms/PaginationDot.d.ts +14 -0
- package/dist/components/atoms/PaginationDot.es.js +58 -0
- package/dist/components/atoms/PaginationDot.es.js.map +1 -0
- package/dist/components/atoms/PaginationItem.d.ts +15 -0
- package/dist/components/atoms/PaginationItem.es.js +87 -0
- package/dist/components/atoms/PaginationItem.es.js.map +1 -0
- package/dist/components/atoms/Popover.d.ts +10 -0
- package/dist/components/atoms/Popover.es.js +50 -0
- package/dist/components/atoms/Popover.es.js.map +1 -0
- package/dist/components/atoms/Select.d.ts +63 -0
- package/dist/components/atoms/Select.es.js +23 -0
- package/dist/components/atoms/Select.es.js.map +1 -0
- package/dist/components/atoms/Switch.es.js +7 -6
- package/dist/components/atoms/Switch.es.js.map +1 -1
- package/dist/components/atoms/TabButton.d.ts +31 -6
- package/dist/components/atoms/TabButton.es.js +425 -55
- package/dist/components/atoms/TabButton.es.js.map +1 -1
- package/dist/components/atoms/Tag.d.ts +2 -2
- package/dist/components/atoms/Tag.es.js +66 -33
- package/dist/components/atoms/Tag.es.js.map +1 -1
- package/dist/components/atoms/Tooltip.es.js +1153 -19
- package/dist/components/atoms/Tooltip.es.js.map +1 -1
- package/dist/components/atoms/stories/OverlayThemePanels.d.ts +8 -0
- package/dist/components/molecules/Alert.es.js +3 -3
- package/dist/components/molecules/CopyField.es.js +2 -2
- package/dist/components/molecules/CustomDrawer.es.js +1 -1
- package/dist/components/molecules/Dialog.es.js +1 -1
- package/dist/components/molecules/ImagesPreview.es.js +2 -2
- package/dist/components/molecules/Input.es.js +2 -2
- package/dist/components/molecules/Markdown.es.js +1 -1
- package/dist/components/molecules/Pagination.d.ts +58 -0
- package/dist/components/molecules/Pagination.es.js +272 -0
- package/dist/components/molecules/Pagination.es.js.map +1 -0
- package/dist/components/molecules/SimpleCodeEditor.es.js +3 -3
- package/dist/components/molecules/SimpleCodeEditor.es.js.map +1 -1
- package/dist/components/molecules/TagGroup.d.ts +11 -0
- package/dist/components/molecules/TagGroup.es.js +59 -0
- package/dist/components/molecules/TagGroup.es.js.map +1 -0
- package/dist/components/molecules/ToggleButton.es.js +2 -2
- package/dist/components/molecules/TopBar.d.ts +47 -0
- package/dist/components/molecules/TopBar.es.js +164 -0
- package/dist/components/molecules/TopBar.es.js.map +1 -0
- package/dist/components/molecules/agent-chat/AssistantMessage.d.ts +3 -1
- package/dist/components/molecules/agent-chat.es.js +4 -3
- package/dist/components/molecules/agent-chat.es.js.map +1 -1
- package/dist/components/theme/colors.es.js +1 -0
- package/dist/components/theme/colors.es.js.map +1 -1
- package/dist/composite-DnShFmi7.js +551 -0
- package/dist/composite-DnShFmi7.js.map +1 -0
- package/dist/{composite-C22yiNy1.js → composite-IA--dSel.js} +2 -2
- package/dist/{composite-C22yiNy1.js.map → composite-IA--dSel.js.map} +1 -1
- package/dist/constants-BaUKmVF_.js +103 -0
- package/dist/constants-BaUKmVF_.js.map +1 -0
- package/dist/{index-C-2yrwZl.js → element-B1vbc-LG.js} +69 -111
- package/dist/element-B1vbc-LG.js.map +1 -0
- package/dist/error-nCTLdGUr.js +6 -0
- package/dist/{error-FX4R42W-.js.map → error-nCTLdGUr.js.map} +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.es.js +65 -12
- package/dist/index.es.js.map +1 -1
- package/dist/{inertValue-IJM5NA30.js → inertValue-C1Ml1s55.js} +2 -2
- package/dist/{inertValue-IJM5NA30.js.map → inertValue-C1Ml1s55.js.map} +1 -1
- package/dist/isElementDisabled-lq1fKien.js +47 -0
- package/dist/isElementDisabled-lq1fKien.js.map +1 -0
- package/dist/new-components/atoms/Alert.d.ts +9 -1
- package/dist/new-components/atoms/Alert.es.js +38 -13
- package/dist/new-components/atoms/Alert.es.js.map +1 -1
- package/dist/new-components/atoms/Checkbox.es.js +8 -7
- package/dist/new-components/atoms/Checkbox.es.js.map +1 -1
- package/dist/new-components/atoms/EmptyState.d.ts +3 -0
- package/dist/new-components/atoms/EmptyState.es.js +9 -4
- package/dist/new-components/atoms/EmptyState.es.js.map +1 -1
- package/dist/new-components/atoms/Popover.es.js +3 -2
- package/dist/new-components/atoms/Popover.es.js.map +1 -1
- package/dist/new-components/atoms/Radio.es.js +13 -24
- package/dist/new-components/atoms/Radio.es.js.map +1 -1
- package/dist/new-components/atoms/SegmentedControl.es.js +7 -7
- package/dist/new-components/atoms/Slider.es.js +14 -88
- package/dist/new-components/atoms/Slider.es.js.map +1 -1
- package/dist/new-components/atoms/Toast.d.ts +8 -12
- package/dist/new-components/atoms/Toast.es.js +202 -145
- package/dist/new-components/atoms/Toast.es.js.map +1 -1
- package/dist/new-components/atoms/Toggletip.d.ts +1 -1
- package/dist/new-components/atoms/Toggletip.es.js +3 -2
- package/dist/new-components/atoms/Toggletip.es.js.map +1 -1
- package/dist/new-components/atoms/stories/ThemeComparison.d.ts +2 -1
- package/dist/serializeValue-BLvnTy3o.js +17 -0
- package/dist/serializeValue-BLvnTy3o.js.map +1 -0
- package/dist/stringifyLocale-DOx30wH1.js +13 -0
- package/dist/stringifyLocale-DOx30wH1.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/tokens.css +24 -6
- package/dist/{useAnimationFrame-DwhymJoW.js → useAnimationFrame-DqvuRtgK.js} +2 -2
- package/dist/{useAnimationFrame-DwhymJoW.js.map → useAnimationFrame-DqvuRtgK.js.map} +1 -1
- package/dist/{useAriaLabelledBy-Lyj6n_TU.js → useAriaLabelledBy-CP4wKTYs.js} +3 -3
- package/dist/{useAriaLabelledBy-Lyj6n_TU.js.map → useAriaLabelledBy-CP4wKTYs.js.map} +1 -1
- package/dist/{useBaseUiId-CmLtG9DS.js → useBaseUiId-CYT1vFMG.js} +64 -44
- package/dist/{useBaseUiId-CmLtG9DS.js.map → useBaseUiId-CYT1vFMG.js.map} +1 -1
- package/dist/{useButton-D2BMuSfC.js → useButton-BlHadUfM.js} +4 -4
- package/dist/{useButton-D2BMuSfC.js.map → useButton-BlHadUfM.js.map} +1 -1
- package/dist/{CompositeList-D4xmSZ5V.js → useCompositeListItem-DlAKWsHE.js} +59 -59
- package/dist/useCompositeListItem-DlAKWsHE.js.map +1 -0
- package/dist/{useControlled-BSyYkg5C.js → useControlled-DMDWXIzj.js} +2 -2
- package/dist/{useControlled-BSyYkg5C.js.map → useControlled-DMDWXIzj.js.map} +1 -1
- package/dist/useFocus-C__7iwl1.js +137 -0
- package/dist/useFocus-C__7iwl1.js.map +1 -0
- package/dist/{useIsoLayoutEffect-e9VA-ICd.js → useIsoLayoutEffect-D2lpsB9D.js} +8 -4
- package/dist/{useIsoLayoutEffect-e9VA-ICd.js.map → useIsoLayoutEffect-D2lpsB9D.js.map} +1 -1
- package/dist/{usePopupHandleStore-CkW2IoED.js → usePopupHandleStore-C_Vw7xcw.js} +1966 -2002
- package/dist/usePopupHandleStore-C_Vw7xcw.js.map +1 -0
- package/dist/{Tooltip-uQIVdskf.js → usePositioner-BmYVsMO_.js} +17 -1402
- package/dist/usePositioner-BmYVsMO_.js.map +1 -0
- package/dist/{useOpenInteractionType-CDFYOw2d.js → useScrollLock-By-42HSc.js} +74 -58
- package/dist/useScrollLock-By-42HSc.js.map +1 -0
- package/dist/{useLabelableId-CcIE3RU0.js → useSetFieldFocused-CcdG6FNp.js} +27 -35
- package/dist/useSetFieldFocused-CcdG6FNp.js.map +1 -0
- package/dist/{useTimeout-BXf1hDIL.js → useTimeout-D1vYJgq4.js} +3 -3
- package/dist/{useTimeout-BXf1hDIL.js.map → useTimeout-D1vYJgq4.js.map} +1 -1
- package/dist/{useTransitionStatus-C9gg_XJ-.js → useTransitionStatus-CHrs3i5F.js} +3 -3
- package/dist/{useTransitionStatus-C9gg_XJ-.js.map → useTransitionStatus-CHrs3i5F.js.map} +1 -1
- package/dist/useTriggerFocusGuards-CXAhW8P6.js +100 -0
- package/dist/useTriggerFocusGuards-CXAhW8P6.js.map +1 -0
- package/dist/useValueChanged-BnlOop8k.js +16 -0
- package/dist/useValueChanged-BnlOop8k.js.map +1 -0
- package/package.json +1 -1
- package/dist/CompositeList-D4xmSZ5V.js.map +0 -1
- package/dist/CompositeRoot-BlljDWkR.js.map +0 -1
- package/dist/Popover-BqqXJnK1.js.map +0 -1
- package/dist/Tooltip-uQIVdskf.js.map +0 -1
- package/dist/composite-BL4bbAWg.js +0 -66
- package/dist/composite-BL4bbAWg.js.map +0 -1
- package/dist/error-FX4R42W-.js +0 -6
- package/dist/index-C-2yrwZl.js.map +0 -1
- package/dist/shadowDom-BfewIqRj.js +0 -52
- package/dist/shadowDom-BfewIqRj.js.map +0 -1
- package/dist/useLabelableId-CcIE3RU0.js.map +0 -1
- package/dist/useOpenInteractionType-CDFYOw2d.js.map +0 -1
- package/dist/usePopupHandleStore-CkW2IoED.js.map +0 -1
- package/dist/useValueAsRef-BfFRcMg6.js.map +0 -1
|
@@ -1,18 +1,40 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import IconProvider from "./IconProvider.es.js";
|
|
3
|
-
import { D as DarkTooltip } from "../../Tooltip-uQIVdskf.js";
|
|
4
|
-
import { c as classNames } from "../../classNames-B1XpQHle.js";
|
|
5
2
|
import * as React from "react";
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
3
|
+
import { c as cva } from "../../index-DSVg79g-.js";
|
|
4
|
+
import Badge from "./Badge.es.js";
|
|
5
|
+
import IconProvider, { iconFrame } from "./IconProvider.es.js";
|
|
6
|
+
import { DarkTooltip } from "./Tooltip.es.js";
|
|
7
|
+
import { c as classNames } from "../../classNames-B1XpQHle.js";
|
|
8
|
+
import { u as useControlled } from "../../useControlled-DMDWXIzj.js";
|
|
9
|
+
import { f as formatErrorMessage, u as useIsoLayoutEffect, a as useStableCallback, b as useRenderElement, E as EMPTY_ARRAY } from "../../useIsoLayoutEffect-D2lpsB9D.js";
|
|
10
|
+
import { C as CompositeList, u as useCompositeListItem } from "../../useCompositeListItem-DlAKWsHE.js";
|
|
11
|
+
import { g as getComputedStyle, i as isHTMLElement, c as createChangeEventDetails, a as initial, m as missing, d as disabled, u as useBaseUiId, n as none, b as getWindow, e as useForcedRerendering, f as getParentNode, h as isLastTraversableNode } from "../../useBaseUiId-CYT1vFMG.js";
|
|
12
|
+
import { i as inertValue } from "../../inertValue-C1Ml1s55.js";
|
|
13
|
+
import { u as useTransitionStatus, a as useOpenChangeComplete, t as transitionStatusMapping } from "../../useTransitionStatus-CHrs3i5F.js";
|
|
14
|
+
import { A as ACTIVE_COMPOSITE_ITEM, C as CompositeRoot } from "../../CompositeRoot-7_u1HqDT.js";
|
|
15
|
+
import { P as PrehydrationScript, s as script } from "../../PrehydrationScript-B3u_PP2W.js";
|
|
16
|
+
import { r as round } from "../../composite-DnShFmi7.js";
|
|
17
|
+
import { o as ownerDocument } from "../../element-B1vbc-LG.js";
|
|
18
|
+
import { u as useCompositeItem } from "../../isElementDisabled-lq1fKien.js";
|
|
19
|
+
import { u as useCompositeRootContext, a as useButton } from "../../useButton-BlHadUfM.js";
|
|
20
|
+
import { c as contains, a as activeElement } from "../../constants-BaUKmVF_.js";
|
|
21
|
+
function getCssDimensions(element) {
|
|
22
|
+
const css = getComputedStyle(element);
|
|
23
|
+
let width = parseFloat(css.width) || 0;
|
|
24
|
+
let height = parseFloat(css.height) || 0;
|
|
25
|
+
const hasOffset = isHTMLElement(element);
|
|
26
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
27
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
28
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
29
|
+
if (shouldFallback) {
|
|
30
|
+
width = offsetWidth;
|
|
31
|
+
height = offsetHeight;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
width,
|
|
35
|
+
height
|
|
36
|
+
};
|
|
37
|
+
}
|
|
16
38
|
const TabsRootContext = /* @__PURE__ */ React.createContext(void 0);
|
|
17
39
|
if (process.env.NODE_ENV !== "production") TabsRootContext.displayName = "TabsRootContext";
|
|
18
40
|
function useTabsRootContext() {
|
|
@@ -251,10 +273,10 @@ function computeActivationDirection(oldValue, newValue, orientation, tabMap) {
|
|
|
251
273
|
}
|
|
252
274
|
return "none";
|
|
253
275
|
}
|
|
254
|
-
const TabsListContext = /* @__PURE__ */ React.createContext(void 0);
|
|
255
|
-
if (process.env.NODE_ENV !== "production") TabsListContext.displayName = "TabsListContext";
|
|
256
|
-
function useTabsListContext() {
|
|
257
|
-
const context = React.useContext(TabsListContext);
|
|
276
|
+
const TabsListContext$1 = /* @__PURE__ */ React.createContext(void 0);
|
|
277
|
+
if (process.env.NODE_ENV !== "production") TabsListContext$1.displayName = "TabsListContext";
|
|
278
|
+
function useTabsListContext$1() {
|
|
279
|
+
const context = React.useContext(TabsListContext$1);
|
|
258
280
|
if (context === void 0) {
|
|
259
281
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: TabsListContext is missing. TabsList parts must be placed within <Tabs.List>." : formatErrorMessage(65));
|
|
260
282
|
}
|
|
@@ -282,7 +304,7 @@ const TabsTab = /* @__PURE__ */ React.forwardRef(function TabsTab2(componentProp
|
|
|
282
304
|
activateOnFocus,
|
|
283
305
|
registerTabResizeObserverElement,
|
|
284
306
|
tabsListElement
|
|
285
|
-
} = useTabsListContext();
|
|
307
|
+
} = useTabsListContext$1();
|
|
286
308
|
const {
|
|
287
309
|
highlightedIndex,
|
|
288
310
|
onHighlightedIndexChange
|
|
@@ -403,6 +425,220 @@ const TabsTab = /* @__PURE__ */ React.forwardRef(function TabsTab2(componentProp
|
|
|
403
425
|
return element;
|
|
404
426
|
});
|
|
405
427
|
if (process.env.NODE_ENV !== "production") TabsTab.displayName = "TabsTab";
|
|
428
|
+
function getElementTransform(element, computedStyle) {
|
|
429
|
+
const transform = (computedStyle ?? getWindow(element).getComputedStyle(element)).transform;
|
|
430
|
+
let translateX = 0;
|
|
431
|
+
let translateY = 0;
|
|
432
|
+
let scale = 1;
|
|
433
|
+
if (transform && transform !== "none") {
|
|
434
|
+
const matrix = transform.match(/matrix(?:3d)?\(([^)]+)\)/);
|
|
435
|
+
if (matrix) {
|
|
436
|
+
const values = matrix[1].split(", ").map(parseFloat);
|
|
437
|
+
if (values.length === 6) {
|
|
438
|
+
translateX = values[4];
|
|
439
|
+
translateY = values[5];
|
|
440
|
+
scale = Math.sqrt(values[0] * values[0] + values[1] * values[1]);
|
|
441
|
+
} else if (values.length === 16) {
|
|
442
|
+
translateX = values[12];
|
|
443
|
+
translateY = values[13];
|
|
444
|
+
scale = values[0];
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
return {
|
|
449
|
+
x: translateX,
|
|
450
|
+
y: translateY,
|
|
451
|
+
scale
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
const activeTabLeft = "--active-tab-left";
|
|
455
|
+
const activeTabRight = "--active-tab-right";
|
|
456
|
+
const activeTabTop = "--active-tab-top";
|
|
457
|
+
const activeTabBottom = "--active-tab-bottom";
|
|
458
|
+
const activeTabWidth = "--active-tab-width";
|
|
459
|
+
const activeTabHeight = "--active-tab-height";
|
|
460
|
+
var _PrehydrationScript;
|
|
461
|
+
const stateAttributesMapping$1 = {
|
|
462
|
+
...tabsStateAttributesMapping,
|
|
463
|
+
activeTabPosition: () => null,
|
|
464
|
+
activeTabSize: () => null
|
|
465
|
+
};
|
|
466
|
+
const MAX_LAYOUT_ROUNDING_ERROR = 2;
|
|
467
|
+
const TabsIndicator = /* @__PURE__ */ React.forwardRef(function TabsIndicator2(componentProps, forwardedRef) {
|
|
468
|
+
const {
|
|
469
|
+
className,
|
|
470
|
+
render,
|
|
471
|
+
renderBeforeHydration = false,
|
|
472
|
+
style: styleProp,
|
|
473
|
+
...elementProps
|
|
474
|
+
} = componentProps;
|
|
475
|
+
const {
|
|
476
|
+
getTabElementBySelectedValue,
|
|
477
|
+
orientation,
|
|
478
|
+
tabActivationDirection,
|
|
479
|
+
value
|
|
480
|
+
} = useTabsRootContext();
|
|
481
|
+
const {
|
|
482
|
+
tabsListElement,
|
|
483
|
+
registerIndicatorUpdateListener
|
|
484
|
+
} = useTabsListContext$1();
|
|
485
|
+
const rerender = useForcedRerendering();
|
|
486
|
+
React.useEffect(() => {
|
|
487
|
+
return registerIndicatorUpdateListener(rerender);
|
|
488
|
+
}, [registerIndicatorUpdateListener, rerender]);
|
|
489
|
+
let left = 0;
|
|
490
|
+
let right = 0;
|
|
491
|
+
let top = 0;
|
|
492
|
+
let bottom = 0;
|
|
493
|
+
let width = 0;
|
|
494
|
+
let height = 0;
|
|
495
|
+
let isTabSelected = false;
|
|
496
|
+
if (value != null && tabsListElement != null) {
|
|
497
|
+
const activeTab = getTabElementBySelectedValue(value);
|
|
498
|
+
if (activeTab != null) {
|
|
499
|
+
isTabSelected = true;
|
|
500
|
+
const {
|
|
501
|
+
width: computedWidth,
|
|
502
|
+
height: computedHeight
|
|
503
|
+
} = getCssDimensions(activeTab);
|
|
504
|
+
const {
|
|
505
|
+
width: tabListWidth,
|
|
506
|
+
height: tabListHeight
|
|
507
|
+
} = getCssDimensions(tabsListElement);
|
|
508
|
+
const tabRect = activeTab.getBoundingClientRect();
|
|
509
|
+
const tabsListRect = tabsListElement.getBoundingClientRect();
|
|
510
|
+
const scaleX = tabListWidth > 0 ? tabsListRect.width / tabListWidth : 1;
|
|
511
|
+
const scaleY = tabListHeight > 0 ? tabsListRect.height / tabListHeight : 1;
|
|
512
|
+
const layoutOffset = getLayoutOffset(activeTab, tabsListElement);
|
|
513
|
+
left = layoutOffset.left;
|
|
514
|
+
top = layoutOffset.top;
|
|
515
|
+
const rectLeft = (tabRect.left - tabsListRect.left) / scaleX + tabsListElement.scrollLeft - tabsListElement.clientLeft;
|
|
516
|
+
const rectTop = (tabRect.top - tabsListRect.top) / scaleY + tabsListElement.scrollTop - tabsListElement.clientTop;
|
|
517
|
+
const tabTranslation = getActiveTabTranslation(activeTab);
|
|
518
|
+
if (Math.abs(rectLeft - tabTranslation.x - left) <= MAX_LAYOUT_ROUNDING_ERROR && Math.abs(rectTop - tabTranslation.y - top) <= MAX_LAYOUT_ROUNDING_ERROR) {
|
|
519
|
+
left = rectLeft;
|
|
520
|
+
top = rectTop;
|
|
521
|
+
}
|
|
522
|
+
width = computedWidth;
|
|
523
|
+
height = computedHeight;
|
|
524
|
+
right = tabsListElement.scrollWidth - left - width;
|
|
525
|
+
bottom = tabsListElement.scrollHeight - top - height;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
const activeTabPosition = isTabSelected ? {
|
|
529
|
+
left,
|
|
530
|
+
right,
|
|
531
|
+
top,
|
|
532
|
+
bottom
|
|
533
|
+
} : null;
|
|
534
|
+
const activeTabSize = isTabSelected ? {
|
|
535
|
+
width,
|
|
536
|
+
height
|
|
537
|
+
} : null;
|
|
538
|
+
const style = isTabSelected ? {
|
|
539
|
+
[activeTabLeft]: `${left}px`,
|
|
540
|
+
[activeTabRight]: `${right}px`,
|
|
541
|
+
[activeTabTop]: `${top}px`,
|
|
542
|
+
[activeTabBottom]: `${bottom}px`,
|
|
543
|
+
[activeTabWidth]: `${width}px`,
|
|
544
|
+
[activeTabHeight]: `${height}px`
|
|
545
|
+
} : void 0;
|
|
546
|
+
const displayIndicator = isTabSelected && width > 0 && height > 0;
|
|
547
|
+
const state = {
|
|
548
|
+
orientation,
|
|
549
|
+
activeTabPosition,
|
|
550
|
+
activeTabSize,
|
|
551
|
+
tabActivationDirection
|
|
552
|
+
};
|
|
553
|
+
const element = useRenderElement("span", componentProps, {
|
|
554
|
+
state,
|
|
555
|
+
ref: forwardedRef,
|
|
556
|
+
props: [{
|
|
557
|
+
role: "presentation",
|
|
558
|
+
style,
|
|
559
|
+
hidden: !displayIndicator
|
|
560
|
+
// do not display the indicator before the layout is settled
|
|
561
|
+
}, elementProps, {
|
|
562
|
+
suppressHydrationWarning: true
|
|
563
|
+
}],
|
|
564
|
+
stateAttributesMapping: stateAttributesMapping$1
|
|
565
|
+
});
|
|
566
|
+
if (value == null) {
|
|
567
|
+
return null;
|
|
568
|
+
}
|
|
569
|
+
return /* @__PURE__ */ jsxs(React.Fragment, {
|
|
570
|
+
children: [element, renderBeforeHydration && (_PrehydrationScript || (_PrehydrationScript = /* @__PURE__ */ jsx(PrehydrationScript, {
|
|
571
|
+
script
|
|
572
|
+
})))]
|
|
573
|
+
});
|
|
574
|
+
});
|
|
575
|
+
if (process.env.NODE_ENV !== "production") TabsIndicator.displayName = "TabsIndicator";
|
|
576
|
+
function getLayoutOffset(element, ancestor) {
|
|
577
|
+
const elementOffset = getCumulativeOffset(element);
|
|
578
|
+
const ancestorOffset = getCumulativeOffset(ancestor);
|
|
579
|
+
let left = elementOffset.left - ancestorOffset.left - ancestor.clientLeft;
|
|
580
|
+
let top = elementOffset.top - ancestorOffset.top - ancestor.clientTop;
|
|
581
|
+
let node = getParentNode(element);
|
|
582
|
+
while (isHTMLElement(node) && node !== ancestor && !isLastTraversableNode(node)) {
|
|
583
|
+
left -= node.scrollLeft;
|
|
584
|
+
top -= node.scrollTop;
|
|
585
|
+
node = getParentNode(node);
|
|
586
|
+
}
|
|
587
|
+
return {
|
|
588
|
+
left,
|
|
589
|
+
top
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
function getCumulativeOffset(element) {
|
|
593
|
+
let left = 0;
|
|
594
|
+
let top = 0;
|
|
595
|
+
let currentElement = element;
|
|
596
|
+
while (currentElement != null) {
|
|
597
|
+
left += currentElement.offsetLeft;
|
|
598
|
+
top += currentElement.offsetTop;
|
|
599
|
+
const offsetParent = currentElement.offsetParent;
|
|
600
|
+
if (offsetParent != null) {
|
|
601
|
+
left += offsetParent.clientLeft;
|
|
602
|
+
top += offsetParent.clientTop;
|
|
603
|
+
}
|
|
604
|
+
currentElement = offsetParent;
|
|
605
|
+
}
|
|
606
|
+
return {
|
|
607
|
+
left,
|
|
608
|
+
top
|
|
609
|
+
};
|
|
610
|
+
}
|
|
611
|
+
function getActiveTabTranslation(element) {
|
|
612
|
+
const computedStyle = getWindow(element).getComputedStyle(element);
|
|
613
|
+
const {
|
|
614
|
+
x,
|
|
615
|
+
y
|
|
616
|
+
} = getElementTransform(element, computedStyle);
|
|
617
|
+
let translateX = x;
|
|
618
|
+
let translateY = y;
|
|
619
|
+
const {
|
|
620
|
+
translate
|
|
621
|
+
} = computedStyle;
|
|
622
|
+
if (translate && translate !== "none") {
|
|
623
|
+
const parts = translate.split(" ");
|
|
624
|
+
translateX += resolveTranslateLength(parts[0], element.offsetWidth);
|
|
625
|
+
translateY += resolveTranslateLength(parts[1], element.offsetHeight);
|
|
626
|
+
}
|
|
627
|
+
return {
|
|
628
|
+
x: translateX,
|
|
629
|
+
y: translateY
|
|
630
|
+
};
|
|
631
|
+
}
|
|
632
|
+
function resolveTranslateLength(value, referenceSize) {
|
|
633
|
+
if (!value) {
|
|
634
|
+
return 0;
|
|
635
|
+
}
|
|
636
|
+
const numeric = parseFloat(value);
|
|
637
|
+
if (!Number.isFinite(numeric)) {
|
|
638
|
+
return 0;
|
|
639
|
+
}
|
|
640
|
+
return value.endsWith("%") ? numeric / 100 * referenceSize : numeric;
|
|
641
|
+
}
|
|
406
642
|
const index = "data-index";
|
|
407
643
|
const stateAttributesMapping = {
|
|
408
644
|
...tabsStateAttributesMapping,
|
|
@@ -551,7 +787,7 @@ const TabsList$1 = /* @__PURE__ */ React.forwardRef(function TabsList(componentP
|
|
|
551
787
|
registerTabResizeObserverElement,
|
|
552
788
|
tabsListElement
|
|
553
789
|
}), [activateOnFocus, registerIndicatorUpdateListener, registerTabResizeObserverElement, tabsListElement]);
|
|
554
|
-
return /* @__PURE__ */ jsx(TabsListContext.Provider, {
|
|
790
|
+
return /* @__PURE__ */ jsx(TabsListContext$1.Provider, {
|
|
555
791
|
value: tabsListContextValue,
|
|
556
792
|
children: /* @__PURE__ */ jsx(CompositeRoot, {
|
|
557
793
|
render,
|
|
@@ -572,41 +808,172 @@ const TabsList$1 = /* @__PURE__ */ React.forwardRef(function TabsList(componentP
|
|
|
572
808
|
});
|
|
573
809
|
});
|
|
574
810
|
if (process.env.NODE_ENV !== "production") TabsList$1.displayName = "TabsList";
|
|
811
|
+
const TabsListContext = React.createContext(null);
|
|
812
|
+
function useTabsListContext() {
|
|
813
|
+
return React.useContext(TabsListContext) ?? { variant: "line", size: "default" };
|
|
814
|
+
}
|
|
815
|
+
function formatCount(count) {
|
|
816
|
+
return count > 99 ? "99+" : String(count);
|
|
817
|
+
}
|
|
818
|
+
const tabsListVariants = cva("relative inline-flex items-stretch data-[orientation=vertical]:flex-col", {
|
|
819
|
+
variants: {
|
|
820
|
+
variant: {
|
|
821
|
+
line: 'gap-0 after:pointer-events-none after:absolute after:bg-border-subtle after:content-[""] data-[orientation=horizontal]:after:inset-x-0 data-[orientation=horizontal]:after:bottom-0 data-[orientation=horizontal]:after:h-px data-[orientation=vertical]:after:inset-y-0 data-[orientation=vertical]:after:left-0 data-[orientation=vertical]:after:w-px',
|
|
822
|
+
filled: 'gap-0 after:pointer-events-none after:absolute after:bg-border-subtle after:content-[""] data-[orientation=horizontal]:after:inset-x-0 data-[orientation=horizontal]:after:bottom-0 data-[orientation=horizontal]:after:h-px data-[orientation=vertical]:after:inset-y-0 data-[orientation=vertical]:after:left-0 data-[orientation=vertical]:after:w-px',
|
|
823
|
+
contained: "gap-0 [&>[data-slot=tabs-trigger]+[data-slot=tabs-trigger]]:-ml-px",
|
|
824
|
+
detached: "gap-space-2",
|
|
825
|
+
tinted: "gap-0"
|
|
826
|
+
},
|
|
827
|
+
size: {
|
|
828
|
+
lg: "",
|
|
829
|
+
default: "",
|
|
830
|
+
md: ""
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
defaultVariants: {
|
|
834
|
+
variant: "line",
|
|
835
|
+
size: "default"
|
|
836
|
+
}
|
|
837
|
+
});
|
|
838
|
+
const tabIndicatorPseudo = "after:pointer-events-none after:absolute after:bg-tabs-indicator-background-selected after:content-[''] after:opacity-0 data-active:after:opacity-100";
|
|
839
|
+
const tabsTriggerVariants = cva(
|
|
840
|
+
[
|
|
841
|
+
// Raise active/focused tabs above -ml-px neighbors (same pattern as ButtonGroup).
|
|
842
|
+
"group relative z-1 data-active:z-10 focus-visible:z-20 inline-flex shrink-0 items-center justify-center transition-colors",
|
|
843
|
+
"text-text-secondary not-data-active:hover:text-text-primary data-active:text-tabs-text-selected",
|
|
844
|
+
"not-data-active:hover:bg-tabs-background-hover",
|
|
845
|
+
"focus-ring focus-visible:outline-offset-[0.25rem]",
|
|
846
|
+
"data-disabled:pointer-events-none data-disabled:opacity-50"
|
|
847
|
+
],
|
|
848
|
+
{
|
|
849
|
+
variants: {
|
|
850
|
+
variant: {
|
|
851
|
+
line: [
|
|
852
|
+
"rounded-t-sm data-[orientation=vertical]:w-40 data-[orientation=vertical]:justify-start data-[orientation=vertical]:rounded-t-none data-[orientation=vertical]:rounded-r-sm"
|
|
853
|
+
],
|
|
854
|
+
filled: [
|
|
855
|
+
"rounded-t-sm data-[orientation=vertical]:w-40 data-[orientation=vertical]:justify-start data-[orientation=vertical]:rounded-t-none data-[orientation=vertical]:rounded-r-sm",
|
|
856
|
+
"data-active:bg-tabs-background-selected",
|
|
857
|
+
tabIndicatorPseudo,
|
|
858
|
+
"after:bottom-0 after:left-0 after:right-0 after:h-0.5",
|
|
859
|
+
"data-[orientation=vertical]:after:bottom-0 data-[orientation=vertical]:after:left-0 data-[orientation=vertical]:after:right-auto data-[orientation=vertical]:after:top-0 data-[orientation=vertical]:after:h-auto data-[orientation=vertical]:after:w-0.5"
|
|
860
|
+
],
|
|
861
|
+
contained: [
|
|
862
|
+
"border border-border-subtle bg-tabs-contained-background",
|
|
863
|
+
"data-active:border-b-transparent data-active:bg-tabs-contained-background-selected",
|
|
864
|
+
tabIndicatorPseudo,
|
|
865
|
+
"after:bottom-0 after:-left-px after:-right-px after:h-0.5"
|
|
866
|
+
],
|
|
867
|
+
detached: [
|
|
868
|
+
"rounded-t-md border border-border-subtle bg-tabs-contained-background",
|
|
869
|
+
"data-active:border-b-transparent data-active:bg-tabs-contained-background-selected",
|
|
870
|
+
tabIndicatorPseudo,
|
|
871
|
+
"after:bottom-0 after:-left-px after:-right-px after:h-0.5"
|
|
872
|
+
],
|
|
873
|
+
tinted: [
|
|
874
|
+
"border-b border-border-subtle",
|
|
875
|
+
"data-active:border data-active:border-b-transparent data-active:border-border-subtle data-active:bg-tabs-background-selected",
|
|
876
|
+
tabIndicatorPseudo,
|
|
877
|
+
"after:bottom-0 after:-left-px after:-right-px after:h-0.5"
|
|
878
|
+
]
|
|
879
|
+
},
|
|
880
|
+
size: {
|
|
881
|
+
lg: "h-8 gap-space-6 text-heading-sm",
|
|
882
|
+
default: "h-7 gap-space-6 text-label-md",
|
|
883
|
+
md: "h-6 gap-space-4 text-label-sm"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
compoundVariants: [
|
|
887
|
+
{ variant: "line", class: "px-space-12" },
|
|
888
|
+
{ variant: "filled", class: "px-space-12" },
|
|
889
|
+
{ variant: "contained", class: "px-space-12" },
|
|
890
|
+
{ variant: "detached", class: "px-space-12" },
|
|
891
|
+
{ variant: "tinted", class: "px-space-12" }
|
|
892
|
+
],
|
|
893
|
+
defaultVariants: {
|
|
894
|
+
variant: "line",
|
|
895
|
+
size: "default"
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
);
|
|
575
899
|
function Tabs(props) {
|
|
576
900
|
return /* @__PURE__ */ jsx(TabsRoot, { "data-slot": "tabs", ...props });
|
|
577
901
|
}
|
|
578
|
-
|
|
579
|
-
|
|
902
|
+
const tabsIndicatorClassName = classNames(
|
|
903
|
+
"pointer-events-none absolute z-10 bg-tabs-indicator-background-selected transition-[translate,width,height] duration-200 ease-in-out motion-reduce:transition-none",
|
|
904
|
+
"data-[orientation=horizontal]:bottom-0 data-[orientation=horizontal]:left-0 data-[orientation=horizontal]:h-[0.1875rem] data-[orientation=horizontal]:w-[var(--active-tab-width)] data-[orientation=horizontal]:translate-x-[var(--active-tab-left)] data-[orientation=horizontal]:rounded-pill",
|
|
905
|
+
"data-[orientation=vertical]:top-0 data-[orientation=vertical]:left-0 data-[orientation=vertical]:h-[var(--active-tab-height)] data-[orientation=vertical]:w-[0.1875rem] data-[orientation=vertical]:translate-y-[var(--active-tab-top)] data-[orientation=vertical]:rounded-pill"
|
|
906
|
+
);
|
|
907
|
+
function TabsList2({
|
|
908
|
+
className,
|
|
909
|
+
variant = "line",
|
|
910
|
+
size = "default",
|
|
911
|
+
activateOnFocus = true,
|
|
912
|
+
children,
|
|
913
|
+
...props
|
|
914
|
+
}) {
|
|
915
|
+
const contextValue = React.useMemo(() => ({ variant, size }), [variant, size]);
|
|
916
|
+
return /* @__PURE__ */ jsx(TabsListContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs(
|
|
580
917
|
TabsList$1,
|
|
581
918
|
{
|
|
582
919
|
"data-slot": "tabs-list",
|
|
583
|
-
|
|
584
|
-
|
|
920
|
+
"data-variant": variant,
|
|
921
|
+
"data-size": size,
|
|
922
|
+
activateOnFocus,
|
|
923
|
+
className: classNames(tabsListVariants({ variant, size }), className),
|
|
924
|
+
...props,
|
|
925
|
+
children: [
|
|
926
|
+
children,
|
|
927
|
+
variant === "line" ? /* @__PURE__ */ jsx(TabsIndicator, { "data-slot": "tabs-indicator", className: tabsIndicatorClassName }) : null
|
|
928
|
+
]
|
|
585
929
|
}
|
|
586
|
-
);
|
|
930
|
+
) });
|
|
587
931
|
}
|
|
588
|
-
function TabsTrigger({
|
|
589
|
-
|
|
932
|
+
function TabsTrigger({
|
|
933
|
+
className,
|
|
934
|
+
icon,
|
|
935
|
+
count,
|
|
936
|
+
iconSize,
|
|
937
|
+
textClassName,
|
|
938
|
+
children,
|
|
939
|
+
"aria-label": ariaLabel,
|
|
940
|
+
...props
|
|
941
|
+
}) {
|
|
942
|
+
const { variant, size } = useTabsListContext();
|
|
943
|
+
const countDisplay = count === void 0 ? null : formatCount(count);
|
|
944
|
+
const labelText = typeof children === "string" || typeof children === "number" ? String(children) : void 0;
|
|
945
|
+
const baseName = ariaLabel ?? labelText;
|
|
946
|
+
const resolvedAriaLabel = baseName != null && countDisplay != null ? `${baseName}, ${countDisplay}` : ariaLabel;
|
|
947
|
+
const iconKey = size === "md" ? "12" : "16";
|
|
948
|
+
const badgeSize = size === "lg" ? "md" : "sm";
|
|
949
|
+
return /* @__PURE__ */ jsxs(
|
|
590
950
|
TabsTab,
|
|
591
951
|
{
|
|
592
952
|
"data-slot": "tabs-trigger",
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
953
|
+
"aria-label": resolvedAriaLabel,
|
|
954
|
+
className: classNames(tabsTriggerVariants({ variant, size }), className),
|
|
955
|
+
...props,
|
|
956
|
+
children: [
|
|
957
|
+
icon ? /* @__PURE__ */ jsx(
|
|
958
|
+
"span",
|
|
959
|
+
{
|
|
960
|
+
"data-slot": "tabs-trigger-icon",
|
|
961
|
+
"aria-hidden": true,
|
|
962
|
+
className: classNames(
|
|
963
|
+
"inline-flex shrink-0 items-center justify-center text-icon-tertiary group-not-data-active:group-hover:text-icon-secondary group-data-active:text-icon-primary",
|
|
964
|
+
iconFrame[iconKey].frameClass
|
|
965
|
+
),
|
|
966
|
+
children: /* @__PURE__ */ jsx(IconProvider, { icon, size: iconSize ?? iconFrame[iconKey].glyph })
|
|
967
|
+
}
|
|
968
|
+
) : null,
|
|
969
|
+
children != null && children !== false ? /* @__PURE__ */ jsx("span", { "data-slot": "tabs-trigger-label", className: classNames(textClassName), children }) : null,
|
|
970
|
+
countDisplay != null ? /* @__PURE__ */ jsx(Badge, { "data-slot": "tabs-trigger-count", status: "neutral", size: badgeSize, label: countDisplay }) : null
|
|
971
|
+
]
|
|
598
972
|
}
|
|
599
973
|
);
|
|
600
974
|
}
|
|
601
975
|
function TabsContent({ className, ...props }) {
|
|
602
|
-
return /* @__PURE__ */ jsx(
|
|
603
|
-
TabsPanel,
|
|
604
|
-
{
|
|
605
|
-
"data-slot": "tabs-content",
|
|
606
|
-
className: classNames("mt-12 focus-ring outline-none", className),
|
|
607
|
-
...props
|
|
608
|
-
}
|
|
609
|
-
);
|
|
976
|
+
return /* @__PURE__ */ jsx(TabsPanel, { "data-slot": "tabs-content", className: classNames("focus-ring outline-none", className), ...props });
|
|
610
977
|
}
|
|
611
978
|
const TabButton = ({
|
|
612
979
|
id,
|
|
@@ -615,42 +982,45 @@ const TabButton = ({
|
|
|
615
982
|
tooltip,
|
|
616
983
|
textClassName,
|
|
617
984
|
iconSize,
|
|
618
|
-
isActive,
|
|
985
|
+
isActive: _isActive,
|
|
619
986
|
value,
|
|
620
987
|
disabled: disabled2,
|
|
621
988
|
className,
|
|
989
|
+
count,
|
|
990
|
+
showLabel = true,
|
|
991
|
+
"aria-label": ariaLabel,
|
|
622
992
|
...props
|
|
623
993
|
}) => {
|
|
994
|
+
const labelText = typeof text === "string" ? text : void 0;
|
|
995
|
+
const resolvedAriaLabel = ariaLabel ?? (!showLabel ? labelText : void 0);
|
|
996
|
+
const resolvedTooltip = tooltip ?? (!showLabel ? labelText : void 0);
|
|
624
997
|
const trigger = /* @__PURE__ */ jsx(
|
|
625
998
|
TabsTrigger,
|
|
626
999
|
{
|
|
627
1000
|
value: value ?? id,
|
|
628
1001
|
disabled: disabled2,
|
|
629
|
-
|
|
1002
|
+
icon,
|
|
1003
|
+
iconSize,
|
|
1004
|
+
count,
|
|
1005
|
+
textClassName,
|
|
1006
|
+
"aria-label": resolvedAriaLabel,
|
|
1007
|
+
className,
|
|
630
1008
|
...props,
|
|
631
|
-
children:
|
|
632
|
-
icon && /* @__PURE__ */ jsx(
|
|
633
|
-
IconProvider,
|
|
634
|
-
{
|
|
635
|
-
icon,
|
|
636
|
-
className: classNames("fill-icon-brand text-icon-brand", isActive && "text-icon-brand"),
|
|
637
|
-
size: iconSize || 1
|
|
638
|
-
}
|
|
639
|
-
),
|
|
640
|
-
/* @__PURE__ */ jsx("span", { className: classNames("text-base font-lab", textClassName), children: text })
|
|
641
|
-
] })
|
|
1009
|
+
children: showLabel ? text : null
|
|
642
1010
|
}
|
|
643
1011
|
);
|
|
644
|
-
if (!
|
|
1012
|
+
if (!resolvedTooltip) {
|
|
645
1013
|
return trigger;
|
|
646
1014
|
}
|
|
647
|
-
return /* @__PURE__ */ jsx(DarkTooltip, { title:
|
|
1015
|
+
return /* @__PURE__ */ jsx(DarkTooltip, { title: resolvedTooltip, placement: "bottom", children: trigger });
|
|
648
1016
|
};
|
|
649
1017
|
export {
|
|
650
1018
|
Tabs,
|
|
651
1019
|
TabsContent,
|
|
652
1020
|
TabsList2 as TabsList,
|
|
653
1021
|
TabsTrigger,
|
|
654
|
-
TabButton as default
|
|
1022
|
+
TabButton as default,
|
|
1023
|
+
tabsListVariants,
|
|
1024
|
+
tabsTriggerVariants
|
|
655
1025
|
};
|
|
656
1026
|
//# sourceMappingURL=TabButton.es.js.map
|