@modul/mbui 0.0.6-beta-pv-52894-3a6d5f54 → 0.0.6-beta-pv-52894-2be4150a

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.
@@ -14,10 +14,9 @@ exports.AccountCollapsibleTrigger = AccountCollapsibleTrigger;
14
14
  const AccountCollapsibleContent = CollapsiblePrimitive.CollapsibleContent;
15
15
  exports.AccountCollapsibleContent = AccountCollapsibleContent;
16
16
  const AccountCollapsibleHeader = ({ label }) => {
17
- return (react_1.default.createElement("div", { className: "flex justify-between py-[4px] text-muted" },
17
+ return (react_1.default.createElement(AccountCollapsibleTrigger, { className: "flex justify-between items-center p-[4px] w-full text-muted align-center group" },
18
18
  react_1.default.createElement("div", { className: "font-medium text-[12px] leading-[1.3]" }, label),
19
- react_1.default.createElement(AccountCollapsibleTrigger, { className: "p-[4px] data-[state=open]:rotate-180 transition-transform" },
20
- react_1.default.createElement(Icon_1.DropdownSmallOld, null))));
19
+ react_1.default.createElement(Icon_1.DropdownSmallOld, { className: 'group-[[data-state=open]]:rotate-180 transition-transform' })));
21
20
  };
22
21
  exports.AccountCollapsibleHeader = AccountCollapsibleHeader;
23
22
  const AccountCollapsibleContentItem = ({ children, asChild = true, className, ...props }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"AccountCollapsible.js","sourceRoot":"","sources":["../../src/Collapsible/AccountCollapsible.tsx"],"names":[],"mappings":";;;;AAAA,+DAA4C;AAC5C,+FAAmE;AACnE,yCAAiD;AACjD,0CAAmC;AACnC,qDAA2C;AAE3C,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,IAAI,CAAA;AAoDnD,gDAAkB;AAlDnB,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,kBAAkB,CAAA;AAoDxE,8DAAyB;AAlD1B,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,kBAAkB,CAAA;AAmDxE,8DAAyB;AAxC1B,MAAM,wBAAwB,GAAsC,CAAC,EAAE,K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AAyB;AAtC1B,MAAM,wBAAwB,GAAsC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACjF,OAAO,CACN,8BAAC,yBAAyB,IAAC,SAAS,EAAC,gFAAgF;QACpH,uCAAK,SAAS,EAAC,uCAAuC,IAAE,KAAK,CAAO;QACpE,8BAAC,uBAAgB,IAAC,SAAS,EAAC,2DAA2D,GAAE,CAC9D,CAC5B,CAAA;AACF,CAAC,CAAA;AA6BA,4DAAwB;AA5BzB,MAAM,6BAA6B,GAA2C,CAAC,EAC9E,QAAQ,EACR,OAAO,GAAG,IAAI,EACd,SAAS,EACT,GAAG,KAAK,EACR,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,iBAAI,CAAC,CAAC,CAAC,KAAK,CAAA;IACnC,OAAO,CACN,8BAAC,IAAI,IACJ,SAAS,EAAE,IAAA,UAAE,EACZ,wRAAwR,EACxR,SAAS,CACT,KACG,KAAK,IAER,QAAQ,CACH,CACP,CAAA;AACF,CAAC,CAAA;AAaA,sEAA6B;AAX9B,kBAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAA;AACrD,yBAAyB,CAAC,WAAW,GAAG,2BAA2B,CAAA;AACnE,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAA;AACjE,yBAAyB,CAAC,WAAW,GAAG,2BAA2B,CAAA;AACnE,6BAA6B,CAAC,WAAW,GAAG,+BAA+B,CAAA"}
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Slider } from "./Slider";
4
4
  import { Popover } from "./Popover";
5
5
  import Logo from "./Logo";
6
6
  import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "./Input-OTP";
7
- import { BottomNavigation } from "./BottomNavigation";
7
+ import { BottomNavigation, BottomNavigationList, BottomNavigationListItem, BottomNavigationLink } from "./BottomNavigation";
8
8
  import * as Icon from "./Icon";
9
9
  import { Collapsible, CollapsibleTrigger, CollapsibleContent } from "./Collapsible";
10
10
  import { AccountCollapsible, AccountCollapsibleHeader, AccountCollapsibleTrigger, AccountCollapsibleContent, AccountCollapsibleContentItem } from "./Collapsible";
@@ -13,4 +13,4 @@ import { Input } from "./Base/Input";
13
13
  import { Audio } from "./Audio";
14
14
  import { cn } from "./@/lib/utils";
15
15
  import { Drawer, DrawerTrigger, DrawerClose, DrawerContent, DrawerList, DrawerListItem } from './DasboardDrawer';
16
- export { Tooltip, Tabs, Slider, Popover, Logo, InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator, Collapsible, CollapsibleTrigger, CollapsibleContent, AccountCollapsible, AccountCollapsibleHeader, AccountCollapsibleTrigger, AccountCollapsibleContent, AccountCollapsibleContentItem, Button, Input, Audio, cn, BottomNavigation, Icon, Drawer, DrawerTrigger, DrawerClose, DrawerContent, DrawerList, DrawerListItem };
16
+ export { Tooltip, Tabs, Slider, Popover, Logo, InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator, Collapsible, CollapsibleTrigger, CollapsibleContent, AccountCollapsible, AccountCollapsibleHeader, AccountCollapsibleTrigger, AccountCollapsibleContent, AccountCollapsibleContentItem, Button, Input, Audio, cn, Icon, Drawer, DrawerTrigger, DrawerClose, DrawerContent, DrawerList, DrawerListItem, BottomNavigation, BottomNavigationList, BottomNavigationListItem, BottomNavigationLink, };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DrawerListItem = exports.DrawerList = exports.DrawerContent = exports.DrawerClose = exports.DrawerTrigger = exports.Drawer = exports.Icon = exports.BottomNavigation = exports.cn = exports.Audio = exports.Input = exports.Button = exports.AccountCollapsibleContentItem = exports.AccountCollapsibleContent = exports.AccountCollapsibleTrigger = exports.AccountCollapsibleHeader = exports.AccountCollapsible = exports.CollapsibleContent = exports.CollapsibleTrigger = exports.Collapsible = exports.InputOTPSeparator = exports.InputOTPSlot = exports.InputOTPGroup = exports.InputOTP = exports.Logo = exports.Popover = exports.Slider = exports.Tabs = exports.Tooltip = void 0;
3
+ exports.BottomNavigationLink = exports.BottomNavigationListItem = exports.BottomNavigationList = exports.BottomNavigation = exports.DrawerListItem = exports.DrawerList = exports.DrawerContent = exports.DrawerClose = exports.DrawerTrigger = exports.Drawer = exports.Icon = exports.cn = exports.Audio = exports.Input = exports.Button = exports.AccountCollapsibleContentItem = exports.AccountCollapsibleContent = exports.AccountCollapsibleTrigger = exports.AccountCollapsibleHeader = exports.AccountCollapsible = exports.CollapsibleContent = exports.CollapsibleTrigger = exports.Collapsible = exports.InputOTPSeparator = exports.InputOTPSlot = exports.InputOTPGroup = exports.InputOTP = exports.Logo = exports.Popover = exports.Slider = exports.Tabs = exports.Tooltip = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const Tooltip_1 = require("./Tooltip");
6
6
  Object.defineProperty(exports, "Tooltip", { enumerable: true, get: function () { return Tooltip_1.Tooltip; } });
@@ -19,6 +19,9 @@ Object.defineProperty(exports, "InputOTPSlot", { enumerable: true, get: function
19
19
  Object.defineProperty(exports, "InputOTPSeparator", { enumerable: true, get: function () { return Input_OTP_1.InputOTPSeparator; } });
20
20
  const BottomNavigation_1 = require("./BottomNavigation");
21
21
  Object.defineProperty(exports, "BottomNavigation", { enumerable: true, get: function () { return BottomNavigation_1.BottomNavigation; } });
22
+ Object.defineProperty(exports, "BottomNavigationList", { enumerable: true, get: function () { return BottomNavigation_1.BottomNavigationList; } });
23
+ Object.defineProperty(exports, "BottomNavigationListItem", { enumerable: true, get: function () { return BottomNavigation_1.BottomNavigationListItem; } });
24
+ Object.defineProperty(exports, "BottomNavigationLink", { enumerable: true, get: function () { return BottomNavigation_1.BottomNavigationLink; } });
22
25
  const Icon = (0, tslib_1.__importStar)(require("./Icon"));
23
26
  exports.Icon = Icon;
24
27
  const Collapsible_1 = require("./Collapsible");
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings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",
3
+ "version": "0.0.6-beta-pv-52894-2be4150a",
4
4
  "packageManager": "yarn@3.5.1",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,6 +13,7 @@ const AccountCollapsibleContent = CollapsiblePrimitive.CollapsibleContent
13
13
  export type AccountCollapsibleHeaderProps = {
14
14
  label: ReactNode
15
15
  }
16
+
16
17
  export type AccountCollapsibleContentItemProps = {
17
18
  className?: string
18
19
  children: ReactNode
@@ -21,17 +22,15 @@ export type AccountCollapsibleContentItemProps = {
21
22
 
22
23
  const AccountCollapsibleHeader: FC<AccountCollapsibleHeaderProps> = ({ label }) => {
23
24
  return (
24
- <div className="flex justify-between py-[4px] text-muted">
25
+ <AccountCollapsibleTrigger className="flex justify-between items-center p-[4px] w-full text-muted align-center group">
25
26
  <div className="font-medium text-[12px] leading-[1.3]">{label}</div>
26
- <AccountCollapsibleTrigger className="p-[4px] data-[state=open]:rotate-180 transition-transform">
27
- <DropdownSmallOld />
28
- </AccountCollapsibleTrigger>
29
- </div>
27
+ <DropdownSmallOld className='group-[[data-state=open]]:rotate-180 transition-transform'/>
28
+ </AccountCollapsibleTrigger>
30
29
  )
31
30
  }
32
31
  const AccountCollapsibleContentItem: FC<AccountCollapsibleContentItemProps> = ({
33
32
  children,
34
- asChild =true,
33
+ asChild = true,
35
34
  className,
36
35
  ...props
37
36
  }) => {
package/src/index.ts CHANGED
@@ -3,8 +3,17 @@ import { Tabs } from "./Tabs";
3
3
  import { Slider } from "./Slider";
4
4
  import { Popover } from "./Popover";
5
5
  import Logo from "./Logo";
6
- import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "./Input-OTP";
7
- import { BottomNavigation } from "./BottomNavigation";
6
+ import { InputOTP,
7
+ InputOTPGroup,
8
+ InputOTPSlot,
9
+ InputOTPSeparator
10
+ } from "./Input-OTP";
11
+ import {
12
+ BottomNavigation,
13
+ BottomNavigationList,
14
+ BottomNavigationListItem,
15
+ BottomNavigationLink
16
+ } from "./BottomNavigation";
8
17
  import * as Icon from "./Icon";
9
18
  import {
10
19
  Collapsible,
@@ -53,12 +62,15 @@ export {
53
62
  Input,
54
63
  Audio,
55
64
  cn,
56
- BottomNavigation,
57
65
  Icon,
58
66
  Drawer,
59
67
  DrawerTrigger,
60
68
  DrawerClose,
61
69
  DrawerContent,
62
70
  DrawerList,
63
- DrawerListItem
71
+ DrawerListItem,
72
+ BottomNavigation,
73
+ BottomNavigationList,
74
+ BottomNavigationListItem,
75
+ BottomNavigationLink,
64
76
  };