@smg-automotive/components 25.11.0-chakra-v3.1 → 25.11.0-chakra-v3.3
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/cjs/components/index.d.ts +2 -0
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/components/tab/Tab.d.ts +6 -0
- package/dist/cjs/components/tab/Tab.d.ts.map +1 -0
- package/dist/cjs/components/tab/TabList.d.ts +6 -0
- package/dist/cjs/components/tab/TabList.d.ts.map +1 -0
- package/dist/cjs/components/tab/TabPanel.d.ts +6 -0
- package/dist/cjs/components/tab/TabPanel.d.ts.map +1 -0
- package/dist/cjs/components/tab/TabPanels.d.ts +6 -0
- package/dist/cjs/components/tab/TabPanels.d.ts.map +1 -0
- package/dist/cjs/components/tab/index.d.ts +10 -0
- package/dist/cjs/components/tab/index.d.ts.map +1 -0
- package/dist/cjs/components/topListingBadge/index.d.ts +7 -0
- package/dist/cjs/components/topListingBadge/index.d.ts.map +1 -0
- package/dist/cjs/index.js +179 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/themes/shared/index.d.ts +68 -0
- package/dist/cjs/themes/shared/index.d.ts.map +1 -1
- package/dist/cjs/themes/shared/slotRecipes/index.d.ts +68 -0
- package/dist/cjs/themes/shared/slotRecipes/index.d.ts.map +1 -1
- package/dist/cjs/themes/shared/slotRecipes/tabs.d.ts +69 -0
- package/dist/cjs/themes/shared/slotRecipes/tabs.d.ts.map +1 -0
- package/dist/esm/components/index.d.ts +2 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/tab/Tab.d.ts +6 -0
- package/dist/esm/components/tab/Tab.d.ts.map +1 -0
- package/dist/esm/components/tab/Tab.js +13 -0
- package/dist/esm/components/tab/Tab.js.map +1 -0
- package/dist/esm/components/tab/TabList.d.ts +6 -0
- package/dist/esm/components/tab/TabList.d.ts.map +1 -0
- package/dist/esm/components/tab/TabList.js +18 -0
- package/dist/esm/components/tab/TabList.js.map +1 -0
- package/dist/esm/components/tab/TabPanel.d.ts +6 -0
- package/dist/esm/components/tab/TabPanel.d.ts.map +1 -0
- package/dist/esm/components/tab/TabPanel.js +13 -0
- package/dist/esm/components/tab/TabPanel.js.map +1 -0
- package/dist/esm/components/tab/TabPanels.d.ts +6 -0
- package/dist/esm/components/tab/TabPanels.d.ts.map +1 -0
- package/dist/esm/components/tab/TabPanels.js +16 -0
- package/dist/esm/components/tab/TabPanels.js.map +1 -0
- package/dist/esm/components/tab/index.d.ts +10 -0
- package/dist/esm/components/tab/index.d.ts.map +1 -0
- package/dist/esm/components/tab/index.js +17 -0
- package/dist/esm/components/tab/index.js.map +1 -0
- package/dist/esm/components/themeProvider/index.js +1 -0
- package/dist/esm/components/themeProvider/index.js.map +1 -1
- package/dist/esm/components/topListingBadge/index.d.ts +7 -0
- package/dist/esm/components/topListingBadge/index.d.ts.map +1 -0
- package/dist/esm/components/topListingBadge/index.js +13 -0
- package/dist/esm/components/topListingBadge/index.js.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/themes/shared/index.d.ts +68 -0
- package/dist/esm/themes/shared/index.d.ts.map +1 -1
- package/dist/esm/themes/shared/slotRecipes/index.d.ts +68 -0
- package/dist/esm/themes/shared/slotRecipes/index.d.ts.map +1 -1
- package/dist/esm/themes/shared/slotRecipes/index.js +2 -0
- package/dist/esm/themes/shared/slotRecipes/index.js.map +1 -1
- package/dist/esm/themes/shared/slotRecipes/tabs.d.ts +69 -0
- package/dist/esm/themes/shared/slotRecipes/tabs.d.ts.map +1 -0
- package/dist/esm/themes/shared/slotRecipes/tabs.js +120 -0
- package/dist/esm/themes/shared/slotRecipes/tabs.js.map +1 -0
- package/dist/index.d.ts +99 -10
- package/package.json +1 -1
|
@@ -1636,6 +1636,74 @@ export declare const getSharedConfig: () => {
|
|
|
1636
1636
|
};
|
|
1637
1637
|
};
|
|
1638
1638
|
}>;
|
|
1639
|
+
tabs: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "root" | "list" | "contentGroup", {
|
|
1640
|
+
variant: {
|
|
1641
|
+
default: {
|
|
1642
|
+
trigger: {
|
|
1643
|
+
_selected: {
|
|
1644
|
+
borderBottomColor: "currentColor";
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
spaceBetween: {
|
|
1649
|
+
list: {
|
|
1650
|
+
justifyContent: "space-between";
|
|
1651
|
+
};
|
|
1652
|
+
trigger: {
|
|
1653
|
+
_selected: {
|
|
1654
|
+
borderBottomColor: "currentColor";
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
spaceAround: {
|
|
1659
|
+
list: {
|
|
1660
|
+
justifyContent: "space-around";
|
|
1661
|
+
};
|
|
1662
|
+
trigger: {
|
|
1663
|
+
_selected: {
|
|
1664
|
+
borderBottomColor: "currentColor";
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
};
|
|
1668
|
+
enclosed: {
|
|
1669
|
+
list: {
|
|
1670
|
+
borderBottom: "none";
|
|
1671
|
+
};
|
|
1672
|
+
trigger: {
|
|
1673
|
+
color: "gray.700";
|
|
1674
|
+
fontWeight: "bold";
|
|
1675
|
+
flexBasis: "full";
|
|
1676
|
+
border: "1px";
|
|
1677
|
+
borderColor: "blue.200";
|
|
1678
|
+
backgroundColor: "blue.50";
|
|
1679
|
+
borderRight: "none";
|
|
1680
|
+
'--tabs-border-width': "1px";
|
|
1681
|
+
_selected: {
|
|
1682
|
+
backgroundColor: "transparent";
|
|
1683
|
+
borderBottomColor: "transparent";
|
|
1684
|
+
};
|
|
1685
|
+
_last: {
|
|
1686
|
+
borderRight: "1px";
|
|
1687
|
+
borderRightColor: "blue.200";
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
content: {
|
|
1691
|
+
m: "0";
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
fullWidth: {
|
|
1695
|
+
trigger: {
|
|
1696
|
+
flex: number;
|
|
1697
|
+
_selected: {
|
|
1698
|
+
borderBottomColor: "currentColor";
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
content: {
|
|
1702
|
+
m: "0";
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
};
|
|
1706
|
+
}>;
|
|
1639
1707
|
vehicleReference: import("@chakra-ui/react").SlotRecipeDefinition<"carTitle" | "price" | "dealerName" | "dealerAddress", import("@chakra-ui/react").SlotRecipeVariantRecord<"carTitle" | "price" | "dealerName" | "dealerAddress">>;
|
|
1640
1708
|
tooltip: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "arrow" | "arrowTip" | "positioner", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">>;
|
|
1641
1709
|
field: import("@chakra-ui/react").SlotRecipeDefinition<"button" | "label" | "root" | "errorText" | "helperText" | "labelRoot" | "requiredIndicator" | "tooltipWrapper" | "tooltipIcon", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B1B,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1437,6 +1437,74 @@ export declare const slotRecipes: {
|
|
|
1437
1437
|
};
|
|
1438
1438
|
};
|
|
1439
1439
|
}>;
|
|
1440
|
+
tabs: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "root" | "list" | "contentGroup", {
|
|
1441
|
+
variant: {
|
|
1442
|
+
default: {
|
|
1443
|
+
trigger: {
|
|
1444
|
+
_selected: {
|
|
1445
|
+
borderBottomColor: "currentColor";
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1449
|
+
spaceBetween: {
|
|
1450
|
+
list: {
|
|
1451
|
+
justifyContent: "space-between";
|
|
1452
|
+
};
|
|
1453
|
+
trigger: {
|
|
1454
|
+
_selected: {
|
|
1455
|
+
borderBottomColor: "currentColor";
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
spaceAround: {
|
|
1460
|
+
list: {
|
|
1461
|
+
justifyContent: "space-around";
|
|
1462
|
+
};
|
|
1463
|
+
trigger: {
|
|
1464
|
+
_selected: {
|
|
1465
|
+
borderBottomColor: "currentColor";
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
};
|
|
1469
|
+
enclosed: {
|
|
1470
|
+
list: {
|
|
1471
|
+
borderBottom: "none";
|
|
1472
|
+
};
|
|
1473
|
+
trigger: {
|
|
1474
|
+
color: "gray.700";
|
|
1475
|
+
fontWeight: "bold";
|
|
1476
|
+
flexBasis: "full";
|
|
1477
|
+
border: "1px";
|
|
1478
|
+
borderColor: "blue.200";
|
|
1479
|
+
backgroundColor: "blue.50";
|
|
1480
|
+
borderRight: "none";
|
|
1481
|
+
'--tabs-border-width': "1px";
|
|
1482
|
+
_selected: {
|
|
1483
|
+
backgroundColor: "transparent";
|
|
1484
|
+
borderBottomColor: "transparent";
|
|
1485
|
+
};
|
|
1486
|
+
_last: {
|
|
1487
|
+
borderRight: "1px";
|
|
1488
|
+
borderRightColor: "blue.200";
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
content: {
|
|
1492
|
+
m: "0";
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
fullWidth: {
|
|
1496
|
+
trigger: {
|
|
1497
|
+
flex: number;
|
|
1498
|
+
_selected: {
|
|
1499
|
+
borderBottomColor: "currentColor";
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
content: {
|
|
1503
|
+
m: "0";
|
|
1504
|
+
};
|
|
1505
|
+
};
|
|
1506
|
+
};
|
|
1507
|
+
}>;
|
|
1440
1508
|
vehicleReference: import("@chakra-ui/react").SlotRecipeDefinition<"carTitle" | "price" | "dealerName" | "dealerAddress", import("@chakra-ui/react").SlotRecipeVariantRecord<"carTitle" | "price" | "dealerName" | "dealerAddress">>;
|
|
1441
1509
|
tooltip: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "arrow" | "arrowTip" | "positioner", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">>;
|
|
1442
1510
|
field: import("@chakra-ui/react").SlotRecipeDefinition<"button" | "label" | "root" | "errorText" | "helperText" | "labelRoot" | "requiredIndicator" | "tooltipWrapper" | "tooltipIcon", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/index.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;CA6BvB,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const tabsRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "root" | "list" | "contentGroup", {
|
|
2
|
+
variant: {
|
|
3
|
+
default: {
|
|
4
|
+
trigger: {
|
|
5
|
+
_selected: {
|
|
6
|
+
borderBottomColor: "currentColor";
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
spaceBetween: {
|
|
11
|
+
list: {
|
|
12
|
+
justifyContent: "space-between";
|
|
13
|
+
};
|
|
14
|
+
trigger: {
|
|
15
|
+
_selected: {
|
|
16
|
+
borderBottomColor: "currentColor";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
spaceAround: {
|
|
21
|
+
list: {
|
|
22
|
+
justifyContent: "space-around";
|
|
23
|
+
};
|
|
24
|
+
trigger: {
|
|
25
|
+
_selected: {
|
|
26
|
+
borderBottomColor: "currentColor";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
enclosed: {
|
|
31
|
+
list: {
|
|
32
|
+
borderBottom: "none";
|
|
33
|
+
};
|
|
34
|
+
trigger: {
|
|
35
|
+
color: "gray.700";
|
|
36
|
+
fontWeight: "bold";
|
|
37
|
+
flexBasis: "full";
|
|
38
|
+
border: "1px";
|
|
39
|
+
borderColor: "blue.200";
|
|
40
|
+
backgroundColor: "blue.50";
|
|
41
|
+
borderRight: "none";
|
|
42
|
+
'--tabs-border-width': "1px";
|
|
43
|
+
_selected: {
|
|
44
|
+
backgroundColor: "transparent";
|
|
45
|
+
borderBottomColor: "transparent";
|
|
46
|
+
};
|
|
47
|
+
_last: {
|
|
48
|
+
borderRight: "1px";
|
|
49
|
+
borderRightColor: "blue.200";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
content: {
|
|
53
|
+
m: "0";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
fullWidth: {
|
|
57
|
+
trigger: {
|
|
58
|
+
flex: number;
|
|
59
|
+
_selected: {
|
|
60
|
+
borderBottomColor: "currentColor";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
content: {
|
|
64
|
+
m: "0";
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
}>;
|
|
69
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/tabs.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+ErB,CAAC"}
|
|
@@ -40,11 +40,13 @@ export * from './simpleGrid';
|
|
|
40
40
|
export * from './simpleHeader';
|
|
41
41
|
export * from './stack';
|
|
42
42
|
export * from './switch';
|
|
43
|
+
export * from './tab';
|
|
43
44
|
export * from './table';
|
|
44
45
|
export * from './text';
|
|
45
46
|
export * from './text/HighlightedText';
|
|
46
47
|
export * from './text/marked';
|
|
47
48
|
export * from './themeProvider';
|
|
49
|
+
export * from './topListingBadge';
|
|
48
50
|
export * from './vehicleReference';
|
|
49
51
|
export * from './rangeFilterInput';
|
|
50
52
|
export * from './topVehicleSharedBadge';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,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AC;AACjC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { TabsTriggerProps as ChakraTabsTriggerProps, RecipeVariantProps } from '@chakra-ui/react';
|
|
3
|
+
import { tabsRecipe } from 'src/themes/shared/slotRecipes/tabs';
|
|
4
|
+
export type TabProps = Omit<ChakraTabsTriggerProps, 'variant'> & RecipeVariantProps<typeof tabsRecipe>;
|
|
5
|
+
export declare const Tab: FC<PropsWithChildren<TabProps>>;
|
|
6
|
+
//# sourceMappingURL=Tab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/components/tab/Tab.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAEL,gBAAgB,IAAI,sBAAsB,EAC1C,kBAAkB,EAEnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,GAC5D,kBAAkB,CAAC,OAAO,UAAU,CAAC,CAAC;AAExC,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAa/C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { useSlotRecipe, Tabs } from '@chakra-ui/react';
|
|
4
|
+
|
|
5
|
+
var Tab = function (_a) {
|
|
6
|
+
var variant = _a.variant, children = _a.children, rest = __rest(_a, ["variant", "children"]);
|
|
7
|
+
var recipe = useSlotRecipe({ key: 'tabs' });
|
|
8
|
+
var styles = recipe({ variant: variant });
|
|
9
|
+
return (React.createElement(Tabs.Trigger, __assign({}, rest, { css: styles.trigger }), children));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { Tab };
|
|
13
|
+
//# sourceMappingURL=Tab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.js","sources":["../../../../../src/components/tab/Tab.tsx"],"sourcesContent":[null],"names":["ChakraTabs"],"mappings":";;;;AAeO,IAAM,GAAG,GAAoC,UAAC,EAIpD,EAAA;IAHC,IAAA,OAAO,aAAA,EACP,QAAQ,cAAA,EACL,IAAI,GAAA,MAAA,CAAA,EAAA,EAH4C,CAAA,SAAA,EAAA,UAAA,CAIpD,CADQ;IAEP,IAAM,MAAM,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IAC7C,IAAM,MAAM,GAAG,MAAM,CAAC,EAAE,OAAO,EAAA,OAAA,EAAE,CAAC;AAElC,IAAA,QACE,KAAA,CAAA,aAAA,CAACA,IAAU,CAAC,OAAO,eAAK,IAAI,EAAA,EAAE,GAAG,EAAE,MAAM,CAAC,OAAO,KAC9C,QAAQ,CACU;AAEzB;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { TabsListProps as ChakraTabsListProps, RecipeVariantProps } from '@chakra-ui/react';
|
|
3
|
+
import { tabsRecipe } from 'src/themes/shared/slotRecipes/tabs';
|
|
4
|
+
export type TabListProps = Omit<ChakraTabsListProps, 'variant'> & RecipeVariantProps<typeof tabsRecipe>;
|
|
5
|
+
export declare const TabList: FC<PropsWithChildren<TabListProps>>;
|
|
6
|
+
//# sourceMappingURL=TabList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabList.d.ts","sourceRoot":"","sources":["../../../../src/components/tab/TabList.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAEL,aAAa,IAAI,mBAAmB,EACpC,kBAAkB,EAEnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAMhE,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAC7D,kBAAkB,CAAC,OAAO,UAAU,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAsBvD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { useSlotRecipe, Box, Tabs } from '@chakra-ui/react';
|
|
4
|
+
|
|
5
|
+
var TabList = function (_a) {
|
|
6
|
+
var variant = _a.variant, children = _a.children, rest = __rest(_a, ["variant", "children"]);
|
|
7
|
+
var recipe = useSlotRecipe({ key: 'tabs' });
|
|
8
|
+
var styles = recipe({ variant: variant });
|
|
9
|
+
return (React.createElement(Box, { overflowX: "auto" },
|
|
10
|
+
React.createElement(Tabs.List, __assign({}, rest, { css: styles.list }), React.Children.map(children, function (child) {
|
|
11
|
+
return React.isValidElement(child)
|
|
12
|
+
? React.cloneElement(child, { variant: variant })
|
|
13
|
+
: child;
|
|
14
|
+
}))));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { TabList };
|
|
18
|
+
//# sourceMappingURL=TabList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabList.js","sources":["../../../../../src/components/tab/TabList.tsx"],"sourcesContent":[null],"names":["ChakraTabs"],"mappings":";;;;AAmBO,IAAM,OAAO,GAAwC,UAAC,EAI5D,EAAA;IAHC,IAAA,OAAO,aAAA,EACP,QAAQ,cAAA,EACL,IAAI,GAAA,MAAA,CAAA,EAAA,EAHoD,CAAA,SAAA,EAAA,UAAA,CAI5D,CADQ;IAEP,IAAM,MAAM,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IAC7C,IAAM,MAAM,GAAG,MAAM,CAAC,EAAE,OAAO,EAAA,OAAA,EAAE,CAAC;AAElC,IAAA,QACE,KAAA,CAAA,aAAA,CAAC,GAAG,EAAA,EAAC,SAAS,EAAC,MAAM,EAAA;QACnB,KAAA,CAAA,aAAA,CAACA,IAAU,CAAC,IAAI,EAAA,QAAA,CAAA,EAAA,EAAK,IAAI,EAAA,EAAE,GAAG,EAAE,MAAM,CAAC,IAAI,EAAA,CAAA,EACxC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAK,EAAA;AAClC,YAAA,OAAA,KAAK,CAAC,cAAc,CAAC,KAAK;kBACtB,KAAK,CAAC,YAAY,CAChB,KAAqD,EACrD,EAAE,OAAO,EAAA,OAAA,EAAE;AAEf,kBAAE,KAAK;AALT,QAAA,CAKS,CACV,CACe,CACd;AAEV;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { TabsContentProps as ChakraTabsContentProps, RecipeVariantProps } from '@chakra-ui/react';
|
|
3
|
+
import { tabsRecipe } from 'src/themes/shared/slotRecipes/tabs';
|
|
4
|
+
export type TabPanelProps = Omit<ChakraTabsContentProps, 'variant'> & RecipeVariantProps<typeof tabsRecipe>;
|
|
5
|
+
export declare const TabPanel: FC<PropsWithChildren<TabPanelProps>>;
|
|
6
|
+
//# sourceMappingURL=TabPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/tab/TabPanel.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAEL,gBAAgB,IAAI,sBAAsB,EAC1C,kBAAkB,EAEnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,GACjE,kBAAkB,CAAC,OAAO,UAAU,CAAC,CAAC;AAExC,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAazD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { useSlotRecipe, Tabs } from '@chakra-ui/react';
|
|
4
|
+
|
|
5
|
+
var TabPanel = function (_a) {
|
|
6
|
+
var variant = _a.variant, children = _a.children, rest = __rest(_a, ["variant", "children"]);
|
|
7
|
+
var recipe = useSlotRecipe({ key: 'tabs' });
|
|
8
|
+
var styles = recipe({ variant: variant });
|
|
9
|
+
return (React.createElement(Tabs.Content, __assign({}, rest, { css: styles.content }), children));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { TabPanel };
|
|
13
|
+
//# sourceMappingURL=TabPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabPanel.js","sources":["../../../../../src/components/tab/TabPanel.tsx"],"sourcesContent":[null],"names":["ChakraTabs"],"mappings":";;;;AAeO,IAAM,QAAQ,GAAyC,UAAC,EAI9D,EAAA;IAHC,IAAA,OAAO,aAAA,EACP,QAAQ,cAAA,EACL,IAAI,GAAA,MAAA,CAAA,EAAA,EAHsD,CAAA,SAAA,EAAA,UAAA,CAI9D,CADQ;IAEP,IAAM,MAAM,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IAC7C,IAAM,MAAM,GAAG,MAAM,CAAC,EAAE,OAAO,EAAA,OAAA,EAAE,CAAC;AAElC,IAAA,QACE,KAAA,CAAA,aAAA,CAACA,IAAU,CAAC,OAAO,eAAK,IAAI,EAAA,EAAE,GAAG,EAAE,MAAM,CAAC,OAAO,KAC9C,QAAQ,CACU;AAEzB;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
3
|
+
import { tabsRecipe } from 'src/themes/shared/slotRecipes/tabs';
|
|
4
|
+
export type TabPanelsProps = RecipeVariantProps<typeof tabsRecipe>;
|
|
5
|
+
export declare const TabPanels: FC<PropsWithChildren<TabPanelsProps>>;
|
|
6
|
+
//# sourceMappingURL=TabPanels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabPanels.d.ts","sourceRoot":"","sources":["../../../../src/components/tab/TabPanels.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAiB,MAAM,kBAAkB,CAAC;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAMhE,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAC,OAAO,UAAU,CAAC,CAAC;AAEnE,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAmB3D,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useSlotRecipe, Box } from '@chakra-ui/react';
|
|
3
|
+
|
|
4
|
+
var TabPanels = function (_a) {
|
|
5
|
+
var variant = _a.variant, children = _a.children;
|
|
6
|
+
var recipe = useSlotRecipe({ key: 'tabs' });
|
|
7
|
+
var styles = recipe({ variant: variant });
|
|
8
|
+
return (React.createElement(Box, { css: styles.contentGroup }, React.Children.map(children, function (child) {
|
|
9
|
+
return React.isValidElement(child)
|
|
10
|
+
? React.cloneElement(child, { variant: variant })
|
|
11
|
+
: child;
|
|
12
|
+
})));
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { TabPanels };
|
|
16
|
+
//# sourceMappingURL=TabPanels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabPanels.js","sources":["../../../../../src/components/tab/TabPanels.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;AAaO,IAAM,SAAS,GAA0C,UAAC,EAGhE,EAAA;QAFC,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,QAAQ,GAAA,EAAA,CAAA,QAAA;IAER,IAAM,MAAM,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IAC7C,IAAM,MAAM,GAAG,MAAM,CAAC,EAAE,OAAO,EAAA,OAAA,EAAE,CAAC;AAElC,IAAA,QACE,KAAA,CAAA,aAAA,CAAC,GAAG,IAAC,GAAG,EAAE,MAAM,CAAC,YAAY,IAC1B,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAK,EAAA;AAClC,QAAA,OAAA,KAAK,CAAC,cAAc,CAAC,KAAK;cACtB,KAAK,CAAC,YAAY,CAChB,KAAqD,EACrD,EAAE,OAAO,EAAA,OAAA,EAAE;AAEf,cAAE,KAAK;IALT,CAKS,CACV,CACG;AAEV;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { TabsRootProps as ChakraTabsRootProps, RecipeVariantProps } from '@chakra-ui/react';
|
|
3
|
+
import { tabsRecipe } from 'src/themes/shared/slotRecipes/tabs';
|
|
4
|
+
export type TabsProps = Omit<ChakraTabsRootProps, 'variant'> & RecipeVariantProps<typeof tabsRecipe>;
|
|
5
|
+
export declare const Tabs: FC<PropsWithChildren<TabsProps>>;
|
|
6
|
+
export { Tab, TabProps } from './Tab';
|
|
7
|
+
export { TabList, TabListProps } from './TabList';
|
|
8
|
+
export { TabPanel, TabPanelProps } from './TabPanel';
|
|
9
|
+
export { TabPanels, TabPanelsProps } from './TabPanels';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tab/index.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAEL,aAAa,IAAI,mBAAmB,EACpC,kBAAkB,EAEnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAIhE,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAC1D,kBAAkB,CAAC,OAAO,UAAU,CAAC,CAAC;AAExC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAoBjD,CAAC;AAEF,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { useSlotRecipe, Tabs as Tabs$1 } from '@chakra-ui/react';
|
|
4
|
+
|
|
5
|
+
var Tabs = function (_a) {
|
|
6
|
+
var variant = _a.variant, children = _a.children, rest = __rest(_a, ["variant", "children"]);
|
|
7
|
+
var recipe = useSlotRecipe({ key: 'tabs' });
|
|
8
|
+
var styles = recipe({ variant: variant });
|
|
9
|
+
return (React.createElement(Tabs$1.Root, __assign({}, rest, { css: styles.root }), React.Children.map(children, function (child) {
|
|
10
|
+
return React.isValidElement(child)
|
|
11
|
+
? React.cloneElement(child, { variant: variant })
|
|
12
|
+
: child;
|
|
13
|
+
})));
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { Tabs };
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/tab/index.tsx"],"sourcesContent":[null],"names":["ChakraTabs"],"mappings":";;;;AAiBO,IAAM,IAAI,GAAqC,UAAC,EAItD,EAAA;IAHC,IAAA,OAAO,aAAA,EACP,QAAQ,cAAA,EACL,IAAI,GAAA,MAAA,CAAA,EAAA,EAH8C,CAAA,SAAA,EAAA,UAAA,CAItD,CADQ;IAEP,IAAM,MAAM,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IAC7C,IAAM,MAAM,GAAG,MAAM,CAAC,EAAE,OAAO,EAAA,OAAA,EAAE,CAAC;IAElC,QACE,oBAACA,MAAU,CAAC,IAAI,EAAA,QAAA,CAAA,EAAA,EAAK,IAAI,EAAA,EAAE,GAAG,EAAE,MAAM,CAAC,IAAI,EAAA,CAAA,EACxC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAK,EAAA;AAClC,QAAA,OAAA,KAAK,CAAC,cAAc,CAAC,KAAK;cACtB,KAAK,CAAC,YAAY,CAChB,KAAqD,EACrD,EAAE,OAAO,EAAA,OAAA,EAAE;AAEf,cAAE,KAAK;IALT,CAKS,CACV,CACe;AAEtB;;;;"}
|
|
@@ -22,6 +22,7 @@ import '../../themes/shared/tokens/animations.js';
|
|
|
22
22
|
import '../../themes/shared/textStyles.js';
|
|
23
23
|
import '../../themes/shared/slotRecipes/vehicleReference.js';
|
|
24
24
|
import '../../themes/shared/slotRecipes/tooltip.js';
|
|
25
|
+
import '../../themes/shared/slotRecipes/tabs.js';
|
|
25
26
|
import '../../themes/shared/slotRecipes/table.js';
|
|
26
27
|
import '../../themes/shared/slotRecipes/switch.js';
|
|
27
28
|
import '../../themes/shared/slotRecipes/slider.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/themeProvider/index.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/themeProvider/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,IAAM,MAAM,IAAA,EAAA,GAAA,EAAA;AACV,IAAA,EAAA,CAAC,KAAK,CAAC,WAAW,CAAA,GAAG,iBAAiB;AACtC,IAAA,EAAA,CAAC,KAAK,CAAC,WAAW,CAAA,GAAG,iBAAiB;OACvC;AAEM,IAAM,aAAa,GAA8C,UAAC,EAGxE,EAAA;QAFC,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,KAAK,GAAA,EAAA,CAAA,KAAA;AAEL,IAAA,OAAO,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,EAAA,EAAG,QAAQ,CAAkB;AAC1E;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/topListingBadge/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGrD,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAoCxD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Grid, GridItem, AspectRatio, Badge } from '@chakra-ui/react';
|
|
3
|
+
|
|
4
|
+
var TopListingBadge = function (_a) {
|
|
5
|
+
var children = _a.children, aspectRatio = _a.aspectRatio;
|
|
6
|
+
return (React.createElement(Grid, null,
|
|
7
|
+
React.createElement(GridItem, { gridColumn: 1, gridRow: 1 }, aspectRatio ? (React.createElement(AspectRatio, { ratio: aspectRatio }, children)) : (children)),
|
|
8
|
+
React.createElement(GridItem, { gridColumn: 1, gridRow: 1, zIndex: "docked", overflow: "hidden", position: "relative", pointerEvents: "none", css: { touchAction: 'none' } },
|
|
9
|
+
React.createElement(Badge, { transform: "rotate(-45deg) translate(-50%) translateY(9px)", position: "absolute", transformOrigin: "top left", width: "4xl", textAlign: "center", paddingLeft: "sm", color: "gray.900" }, "Top"))));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { TopListingBadge };
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/topListingBadge/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;AAOO,IAAM,eAAe,GAAiC,UAAC,EAG7D,EAAA;QAFC,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,WAAW,GAAA,EAAA,CAAA,WAAA;IAEX,QACE,oBAAC,IAAI,EAAA,IAAA;AACH,QAAA,KAAA,CAAA,aAAA,CAAC,QAAQ,EAAA,EAAC,UAAU,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAA,EAChC,WAAW,IACV,KAAA,CAAA,aAAA,CAAC,WAAW,EAAA,EAAC,KAAK,EAAE,WAAW,IAAG,QAAQ,CAAe,KAEzD,QAAQ,CACT,CACQ;AACX,QAAA,KAAA,CAAA,aAAA,CAAC,QAAQ,EAAA,EACP,UAAU,EAAE,CAAC,EACb,OAAO,EAAE,CAAC,EACV,MAAM,EAAC,QAAQ,EACf,QAAQ,EAAC,QAAQ,EACjB,QAAQ,EAAC,UAAU,EACnB,aAAa,EAAC,MAAM,EACpB,GAAG,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,EAAA;AAE5B,YAAA,KAAA,CAAA,aAAA,CAAC,KAAK,EAAA,EACJ,SAAS,EAAC,gDAAgD,EAC1D,QAAQ,EAAC,UAAU,EACnB,eAAe,EAAC,UAAU,EAC1B,KAAK,EAAC,KAAK,EACX,SAAS,EAAC,QAAQ,EAClB,WAAW,EAAC,IAAI,EAChB,KAAK,EAAC,UAAU,EAAA,EAAA,KAAA,CAGV,CACC,CACN;AAEX;;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -21,6 +21,7 @@ import './themes/shared/tokens/animations.js';
|
|
|
21
21
|
import './themes/shared/textStyles.js';
|
|
22
22
|
import './themes/shared/slotRecipes/vehicleReference.js';
|
|
23
23
|
import './themes/shared/slotRecipes/tooltip.js';
|
|
24
|
+
import './themes/shared/slotRecipes/tabs.js';
|
|
24
25
|
import './themes/shared/slotRecipes/table.js';
|
|
25
26
|
import './themes/shared/slotRecipes/switch.js';
|
|
26
27
|
import './themes/shared/slotRecipes/slider.js';
|
|
@@ -275,11 +276,13 @@ export { SimpleGrid } from './components/simpleGrid/index.js';
|
|
|
275
276
|
export { SimpleHeader } from './components/simpleHeader/index.js';
|
|
276
277
|
export { Stack } from './components/stack/index.js';
|
|
277
278
|
export { Switch } from './components/switch/index.js';
|
|
279
|
+
export { Tabs } from './components/tab/index.js';
|
|
278
280
|
export { Table, TableBody, TableCaption, TableCell, TableColumn, TableColumnGroup, TableColumnHeader, TableFooter, TableHeader, TableRoot, TableRow, TableScrollArea } from './components/table/index.js';
|
|
279
281
|
export { Text } from './components/text/index.js';
|
|
280
282
|
export { HighlightedText } from './components/text/HighlightedText.js';
|
|
281
283
|
export { MarkedText } from './components/text/marked/index.js';
|
|
282
284
|
export { ThemeProvider } from './components/themeProvider/index.js';
|
|
285
|
+
export { TopListingBadge } from './components/topListingBadge/index.js';
|
|
283
286
|
export { VehicleReference } from './components/vehicleReference/index.js';
|
|
284
287
|
export { RangeFilterInput } from './components/rangeFilterInput/index.js';
|
|
285
288
|
export { TopVehicleSharedBadge } from './components/topVehicleSharedBadge/index.js';
|
|
@@ -287,4 +290,8 @@ export { DiscreteSlider } from './components/discreteSlider/index.js';
|
|
|
287
290
|
export { FormControlSection } from './components/formControlSection/index.js';
|
|
288
291
|
export { convertRemEmToPx } from './utilities/convertRemEmToPx.js';
|
|
289
292
|
export { default as logger } from './lib/logger.js';
|
|
293
|
+
export { Tab } from './components/tab/Tab.js';
|
|
294
|
+
export { TabList } from './components/tab/TabList.js';
|
|
295
|
+
export { TabPanel } from './components/tab/TabPanel.js';
|
|
296
|
+
export { TabPanels } from './components/tab/TabPanels.js';
|
|
290
297
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1636,6 +1636,74 @@ export declare const getSharedConfig: () => {
|
|
|
1636
1636
|
};
|
|
1637
1637
|
};
|
|
1638
1638
|
}>;
|
|
1639
|
+
tabs: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "root" | "list" | "contentGroup", {
|
|
1640
|
+
variant: {
|
|
1641
|
+
default: {
|
|
1642
|
+
trigger: {
|
|
1643
|
+
_selected: {
|
|
1644
|
+
borderBottomColor: "currentColor";
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
spaceBetween: {
|
|
1649
|
+
list: {
|
|
1650
|
+
justifyContent: "space-between";
|
|
1651
|
+
};
|
|
1652
|
+
trigger: {
|
|
1653
|
+
_selected: {
|
|
1654
|
+
borderBottomColor: "currentColor";
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
spaceAround: {
|
|
1659
|
+
list: {
|
|
1660
|
+
justifyContent: "space-around";
|
|
1661
|
+
};
|
|
1662
|
+
trigger: {
|
|
1663
|
+
_selected: {
|
|
1664
|
+
borderBottomColor: "currentColor";
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
};
|
|
1668
|
+
enclosed: {
|
|
1669
|
+
list: {
|
|
1670
|
+
borderBottom: "none";
|
|
1671
|
+
};
|
|
1672
|
+
trigger: {
|
|
1673
|
+
color: "gray.700";
|
|
1674
|
+
fontWeight: "bold";
|
|
1675
|
+
flexBasis: "full";
|
|
1676
|
+
border: "1px";
|
|
1677
|
+
borderColor: "blue.200";
|
|
1678
|
+
backgroundColor: "blue.50";
|
|
1679
|
+
borderRight: "none";
|
|
1680
|
+
'--tabs-border-width': "1px";
|
|
1681
|
+
_selected: {
|
|
1682
|
+
backgroundColor: "transparent";
|
|
1683
|
+
borderBottomColor: "transparent";
|
|
1684
|
+
};
|
|
1685
|
+
_last: {
|
|
1686
|
+
borderRight: "1px";
|
|
1687
|
+
borderRightColor: "blue.200";
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
content: {
|
|
1691
|
+
m: "0";
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
fullWidth: {
|
|
1695
|
+
trigger: {
|
|
1696
|
+
flex: number;
|
|
1697
|
+
_selected: {
|
|
1698
|
+
borderBottomColor: "currentColor";
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
content: {
|
|
1702
|
+
m: "0";
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
};
|
|
1706
|
+
}>;
|
|
1639
1707
|
vehicleReference: import("@chakra-ui/react").SlotRecipeDefinition<"carTitle" | "price" | "dealerName" | "dealerAddress", import("@chakra-ui/react").SlotRecipeVariantRecord<"carTitle" | "price" | "dealerName" | "dealerAddress">>;
|
|
1640
1708
|
tooltip: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "arrow" | "arrowTip" | "positioner", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">>;
|
|
1641
1709
|
field: import("@chakra-ui/react").SlotRecipeDefinition<"button" | "label" | "root" | "errorText" | "helperText" | "labelRoot" | "requiredIndicator" | "tooltipWrapper" | "tooltipIcon", {
|