@mage-ui/components 1.0.56 → 1.0.57
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/navigations/sidebars/sidebar/Sidebar.d.mts +10 -1
- package/dist/components/navigations/sidebars/sidebar/Sidebar.d.mts.map +1 -1
- package/dist/components/navigations/sidebars/sidebar/Sidebar.mjs +1 -1
- package/dist/components/navigations/sidebars/sidebar/Sidebar.mjs.map +1 -1
- package/dist/components/navigations/sidebars/sidebar/SidebarContext.mjs +1 -1
- package/dist/components/navigations/sidebars/sidebar/SidebarContext.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -15,14 +15,19 @@ type SidebarClassNames = {
|
|
|
15
15
|
list?: string;
|
|
16
16
|
scrollArea?: string;
|
|
17
17
|
};
|
|
18
|
+
collapseButton?: string;
|
|
18
19
|
};
|
|
19
20
|
type SidebarProps = {
|
|
20
21
|
area?: string;
|
|
21
22
|
topSlot?: ReactNode;
|
|
22
23
|
bottomSlot?: ReactNode;
|
|
23
24
|
classNames?: SidebarClassNames;
|
|
24
|
-
isCollapsed
|
|
25
|
+
isCollapsed?: boolean;
|
|
26
|
+
defaultCollapsed?: boolean;
|
|
27
|
+
onCollapsedChange?: (collapsed: boolean) => void;
|
|
25
28
|
expandedItems?: string[];
|
|
29
|
+
collapseButtonLabelCollapse?: string;
|
|
30
|
+
collapseButtonLabelExpand?: string;
|
|
26
31
|
children?: ReactNode;
|
|
27
32
|
};
|
|
28
33
|
declare const Sidebar: {
|
|
@@ -30,9 +35,13 @@ declare const Sidebar: {
|
|
|
30
35
|
area,
|
|
31
36
|
classNames,
|
|
32
37
|
isCollapsed,
|
|
38
|
+
defaultCollapsed,
|
|
39
|
+
onCollapsedChange,
|
|
33
40
|
expandedItems,
|
|
34
41
|
topSlot,
|
|
35
42
|
bottomSlot,
|
|
43
|
+
collapseButtonLabelCollapse,
|
|
44
|
+
collapseButtonLabelExpand,
|
|
36
45
|
children
|
|
37
46
|
}: SidebarProps): ReactNode;
|
|
38
47
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.mts","names":[],"sources":["../../../../../src/components/navigations/sidebars/sidebar/Sidebar.tsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"Sidebar.d.mts","names":[],"sources":["../../../../../src/components/navigations/sidebars/sidebar/Sidebar.tsx"],"mappings":";;;;;;KAwBY,iBAAA;EACV,OAAA;EACA,IAAA;EACA,UAAA;EACA,OAAA;EACA,UAAA;EACA,GAAA;IACE,IAAA;IACA,IAAA;IACA,UAAA;EAAA;EAEF,cAAA;AAAA;AAAA,KAGU,YAAA;EACV,IAAA;EACA,OAAA,GAAU,SAAA;EACV,UAAA,GAAa,SAAA;EACb,UAAA,GAAa,iBAAA;EACb,WAAA;EACA,gBAAA;EACA,iBAAA,IAAqB,SAAA;EACrB,aAAA;EACA,2BAAA;EACA,yBAAA;EACA,QAAA,GAAW,SAAA;AAAA;AAAA,cAgFA,OAAA;EAAA;;;;;;;;;;;;KAYV,YAAA,GAAe,SAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ScrollAreaAutosize as e}from"../../../misc/scroll-area-autosize/ScrollAreaAutosize.mjs";import{
|
|
1
|
+
"use client";import{ScrollAreaAutosize as e}from"../../../misc/scroll-area-autosize/ScrollAreaAutosize.mjs";import{ButtonIcon as t}from"../../../buttons/button-icon/ButtonIcon.mjs";import{SidebarProvider as n,useSidebarContext as r}from"./SidebarContext.mjs";import{NavList as i}from"./SidebarNavList.mjs";import{NavGroup as a}from"./SidebarNavGroup.mjs";import{NavItem as o}from"./SidebarNavItem.mjs";import{NavItemLink as s}from"./SidebarNavItemLink.mjs";import{SubNavItem as c}from"./SidebarSubNavItem.mjs";import{cx as l}from"@mage-ui/styled-system/css";import{buttonIconRoot as u,sidebar as d,sidebarBottomSlot as f,sidebarNavRoot as p,sidebarRoot as m,sidebarScrollAreaAutosize as h,sidebarTopSlot as g}from"@mage-ui/styled-system/recipes";import{jsx as _,jsxs as v}from"react/jsx-runtime";const y=({area:n=`sidebar`,topSlot:a,bottomSlot:o,classNames:s,collapseButtonLabelCollapse:c=`Collapse`,collapseButtonLabelExpand:y=`Expand`,children:b})=>{let{isCollapsed:x,toggleCollapsed:S}=r(),C=n===`sidebar`?void 0:{"--sidebar-grid-area":n};return v(`div`,{"data-collapsed":x?`true`:`false`,className:l(s?.sidebar??d(),s?.root??m(),`group`),style:C,children:[a?_(`div`,{className:s?.topSlot??g(),children:a}):null,_(`nav`,{className:s?.nav?.root??p(),children:_(e,{mah:`100%`,scrollbars:`y`,type:`hover`,classNames:{scrollArea:s?.nav?.scrollArea??h()},children:_(i,{classNames:s,children:b})})}),_(`div`,{className:s?.bottomSlot??f(),children:o||_(t,{path:`/icons/mage-icons.svg`,name:x?`mage-sidebar-expand`:`mage-sidebar-collapse`,label:x?y:c,classNames:{root:s?.collapseButton??u()},onClick:S})})]})},b=({area:e=`sidebar`,classNames:t,isCollapsed:r,defaultCollapsed:i=!1,onCollapsedChange:a,expandedItems:o,topSlot:s,bottomSlot:c,collapseButtonLabelCollapse:l=`Collapse`,collapseButtonLabelExpand:u=`Expand`,children:d})=>_(n,{isCollapsed:r,defaultCollapsed:i,onCollapsedChange:a,expandedItems:o,children:_(y,{area:e,classNames:t,topSlot:s,bottomSlot:c,collapseButtonLabelCollapse:l,collapseButtonLabelExpand:u,children:d})});b.displayName=`Sidebar`,b.Item=o,b.Group=a,b.ItemLink=s,b.SubNav=c;export{b as Sidebar};
|
|
2
2
|
//# sourceMappingURL=Sidebar.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.mjs","names":[],"sources":["../../../../../src/components/navigations/sidebars/sidebar/Sidebar.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"Sidebar.mjs","names":[],"sources":["../../../../../src/components/navigations/sidebars/sidebar/Sidebar.tsx"],"sourcesContent":["'use client';\n\nimport type { CSSProperties, ReactNode } from 'react';\n\nimport { cx } from '@mage-ui/styled-system/css';\nimport {\n buttonIconRoot,\n sidebar,\n sidebarBottomSlot,\n sidebarNavRoot,\n sidebarRoot,\n sidebarScrollAreaAutosize,\n sidebarTopSlot,\n} from '@mage-ui/styled-system/recipes';\nimport { ButtonIcon } from '@/components/buttons';\n\nimport { ScrollAreaAutosize } from '../../../misc';\nimport { SidebarProvider, useSidebarContext } from './SidebarContext';\nimport { NavGroup } from './SidebarNavGroup';\nimport { NavItem } from './SidebarNavItem';\nimport { NavItemLink } from './SidebarNavItemLink';\nimport { NavList } from './SidebarNavList';\nimport { SubNavItem } from './SidebarSubNavItem';\n\nexport type SidebarClassNames = {\n sidebar?: string;\n root?: string;\n scrollArea?: string;\n topSlot?: string;\n bottomSlot?: string;\n nav?: {\n root?: string;\n list?: string;\n scrollArea?: string;\n };\n collapseButton?: string;\n};\n\nexport type SidebarProps = {\n area?: string;\n topSlot?: ReactNode;\n bottomSlot?: ReactNode;\n classNames?: SidebarClassNames;\n isCollapsed?: boolean;\n defaultCollapsed?: boolean;\n onCollapsedChange?: (collapsed: boolean) => void;\n expandedItems?: string[];\n collapseButtonLabelCollapse?: string;\n collapseButtonLabelExpand?: string;\n children?: ReactNode;\n};\n\ntype SidebarContentProps = {\n area?: string;\n topSlot?: ReactNode;\n bottomSlot?: ReactNode;\n classNames?: SidebarClassNames;\n collapseButtonLabelCollapse?: string;\n collapseButtonLabelExpand?: string;\n children?: ReactNode;\n};\n\nconst SidebarContent = ({\n area = 'sidebar',\n topSlot,\n bottomSlot,\n classNames,\n collapseButtonLabelCollapse = 'Collapse',\n collapseButtonLabelExpand = 'Expand',\n children,\n}: SidebarContentProps): ReactNode => {\n const { isCollapsed, toggleCollapsed } = useSidebarContext();\n const style =\n area !== 'sidebar'\n ? ({ '--sidebar-grid-area': area } as CSSProperties &\n Record<string, string>)\n : undefined;\n\n return (\n <div\n data-collapsed={isCollapsed ? 'true' : 'false'}\n className={cx(\n classNames?.sidebar ?? sidebar(),\n classNames?.root ?? sidebarRoot(),\n 'group',\n )}\n style={style}\n >\n {topSlot ? (\n <div className={classNames?.topSlot ?? sidebarTopSlot()}>{topSlot}</div>\n ) : null}\n\n <nav className={classNames?.nav?.root ?? sidebarNavRoot()}>\n <ScrollAreaAutosize\n mah='100%'\n scrollbars='y'\n type='hover'\n classNames={{\n scrollArea:\n classNames?.nav?.scrollArea ?? sidebarScrollAreaAutosize(),\n }}\n >\n <NavList classNames={classNames}>{children}</NavList>\n </ScrollAreaAutosize>\n </nav>\n\n <div className={classNames?.bottomSlot ?? sidebarBottomSlot()}>\n {bottomSlot ? (\n bottomSlot\n ) : (\n <ButtonIcon\n path='/icons/mage-icons.svg'\n name={isCollapsed ? 'mage-sidebar-expand' : 'mage-sidebar-collapse'}\n label={\n isCollapsed\n ? collapseButtonLabelExpand\n : collapseButtonLabelCollapse\n }\n classNames={{\n root: classNames?.collapseButton ?? buttonIconRoot(),\n }}\n onClick={toggleCollapsed}\n />\n )}\n </div>\n </div>\n );\n};\n\nexport const Sidebar = ({\n area = 'sidebar',\n classNames,\n isCollapsed,\n defaultCollapsed = false,\n onCollapsedChange,\n expandedItems,\n topSlot,\n bottomSlot,\n collapseButtonLabelCollapse = 'Collapse',\n collapseButtonLabelExpand = 'Expand',\n children,\n}: SidebarProps): ReactNode => {\n return (\n <SidebarProvider\n isCollapsed={isCollapsed}\n defaultCollapsed={defaultCollapsed}\n onCollapsedChange={onCollapsedChange}\n expandedItems={expandedItems}\n >\n <SidebarContent\n area={area}\n classNames={classNames}\n topSlot={topSlot}\n bottomSlot={bottomSlot}\n collapseButtonLabelCollapse={collapseButtonLabelCollapse}\n collapseButtonLabelExpand={collapseButtonLabelExpand}\n >\n {children}\n </SidebarContent>\n </SidebarProvider>\n );\n};\n\nSidebar.displayName = 'Sidebar';\nSidebar.Item = NavItem;\nSidebar.Group = NavGroup;\nSidebar.ItemLink = NavItemLink;\nSidebar.SubNav = SubNavItem;\n"],"mappings":"4xBA8DA,MAAM,GAAkB,CACtB,OAAO,UACP,UACA,aACA,aACA,8BAA8B,WAC9B,4BAA4B,SAC5B,cACoC,CACpC,GAAM,CAAE,cAAa,mBAAoB,GAAmB,CACtD,EACJ,IAAS,UAGL,IAAA,GAFC,CAAE,sBAAuB,EAAM,CAItC,OACE,EAAC,MAAA,CACC,iBAAgB,EAAc,OAAS,QACvC,UAAW,EACT,GAAY,SAAW,GAAS,CAChC,GAAY,MAAQ,GAAa,CACjC,QACD,CACM,kBAEN,EACC,EAAC,MAAA,CAAI,UAAW,GAAY,SAAW,GAAgB,UAAG,GAAc,CACtE,KAEJ,EAAC,MAAA,CAAI,UAAW,GAAY,KAAK,MAAQ,GAAgB,UACvD,EAAC,EAAA,CACC,IAAI,OACJ,WAAW,IACX,KAAK,QACL,WAAY,CACV,WACE,GAAY,KAAK,YAAc,GAA2B,CAC7D,UAED,EAAC,EAAA,CAAoB,aAAa,YAAmB,EAClC,EACjB,CAEN,EAAC,MAAA,CAAI,UAAW,GAAY,YAAc,GAAmB,UAC1D,GAGC,EAAC,EAAA,CACC,KAAK,wBACL,KAAM,EAAc,sBAAwB,wBAC5C,MACE,EACI,EACA,EAEN,WAAY,CACV,KAAM,GAAY,gBAAkB,GAAgB,CACrD,CACD,QAAS,GACT,EAEA,GACF,EAIG,GAAW,CACtB,OAAO,UACP,aACA,cACA,mBAAmB,GACnB,oBACA,gBACA,UACA,aACA,8BAA8B,WAC9B,4BAA4B,SAC5B,cAGE,EAAC,EAAA,CACc,cACK,mBACC,oBACJ,yBAEf,EAAC,EAAA,CACO,OACM,aACH,UACG,aACiB,8BACF,4BAE1B,YACc,EACD,CAItB,EAAQ,YAAc,UACtB,EAAQ,KAAO,EACf,EAAQ,MAAQ,EAChB,EAAQ,SAAW,EACnB,EAAQ,OAAS"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{createContext as t,useCallback as n,useContext as r,useEffect as i,useReducer as a}from"react";const
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{createContext as t,useCallback as n,useContext as r,useEffect as i,useReducer as a,useState as o}from"react";const s=t(0),c=()=>r(s),l=s.Provider,u=t(!1),d=()=>r(u),f=u.Provider,p=(e,t)=>{switch(t.type){case`TOGGLE`:return e.includes(t.id)?e.filter(e=>e!==t.id):[...e,t.id];case`OPEN_ONLY`:return[t.id];case`CLOSE`:return e.filter(e=>e!==t.id);case`CLOSE_ALL`:return[]}},m=t(null),h=()=>{let e=r(m);if(!e)throw Error(`Sidebar compound components must be used within <Sidebar>.`);return e},g=({isCollapsed:t,defaultCollapsed:r=!1,onCollapsedChange:s,expandedItems:c=[],children:l})=>{let[u,d]=o(r),f=t??u,[h,g]=a(p,c),_=n(()=>{let e=!f;t===void 0&&d(e),s?.(e)},[f,t,s]);i(()=>{f&&g({type:`CLOSE_ALL`})},[f]);let v=n(e=>{g(f?h.includes(e)?{type:`CLOSE`,id:e}:{type:`OPEN_ONLY`,id:e}:{type:`TOGGLE`,id:e})},[f,h]);return e(m.Provider,{value:{isCollapsed:f,toggleCollapsed:_,isItemExpanded:e=>h.includes(e),toggleItem:v},children:l})};export{f as MenuModeProvider,g as SidebarProvider,l as SubnavDepthProvider,d as useMenuMode,h as useSidebarContext,c as useSubnavDepth};
|
|
2
2
|
//# sourceMappingURL=SidebarContext.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarContext.mjs","names":[],"sources":["../../../../../src/components/navigations/sidebars/sidebar/SidebarContext.tsx"],"sourcesContent":["import {\n createContext,\n type ReactNode,\n useCallback,\n useContext,\n useEffect,\n useReducer,\n} from 'react';\n\n// ---------------------------------------------------------------------------\n// Contexto para detectar el nivel de profundidad y aplicar isSubnav\n// ---------------------------------------------------------------------------\n\nconst SubnavDepthContext = createContext(0);\n\nexport const useSubnavDepth = () => useContext(SubnavDepthContext);\n\nexport const SubnavDepthProvider = SubnavDepthContext.Provider;\n\n// ---------------------------------------------------------------------------\n// Contexto para controlar el menu y poder desactivar tooltips\n// ---------------------------------------------------------------------------\n\nconst MenuModeContext = createContext(false);\n\nexport const useMenuMode = () => useContext(MenuModeContext);\n\nexport const MenuModeProvider = MenuModeContext.Provider;\n\n// ---------------------------------------------------------------------------\n// Contexto Sidebar\n// ---------------------------------------------------------------------------\n\ntype SidebarAction =\n | { type: 'TOGGLE'; id: string }\n | { type: 'OPEN_ONLY'; id: string }\n | { type: 'CLOSE'; id: string }\n | { type: 'CLOSE_ALL' };\n\nconst reducer = (state: string[], action: SidebarAction): string[] => {\n switch (action.type) {\n case 'TOGGLE':\n return state.includes(action.id)\n ? state.filter((id) => id !== action.id)\n : [...state, action.id];\n\n case 'OPEN_ONLY':\n return [action.id];\n\n case 'CLOSE':\n return state.filter((id) => id !== action.id);\n\n case 'CLOSE_ALL':\n return [];\n }\n};\n\ntype SidebarContextValue = {\n isCollapsed: boolean;\n isItemExpanded: (id: string) => boolean;\n toggleItem: (id: string) => void;\n};\n\nconst SidebarContext = createContext<SidebarContextValue | null>(null);\n\nexport const useSidebarContext = (): SidebarContextValue => {\n const ctx = useContext(SidebarContext);\n if (!ctx) {\n throw new Error(\n 'Sidebar compound components must be used within <Sidebar>.',\n );\n }\n return ctx;\n};\n\ntype SidebarProviderProps = {\n isCollapsed: boolean;\n expandedItems?: string[];\n children: ReactNode;\n};\n\nexport const SidebarProvider = ({\n isCollapsed,\n expandedItems = [],\n children,\n}: SidebarProviderProps) => {\n const [expanded, dispatch] = useReducer(reducer, expandedItems);\n\n useEffect(() => {\n if (isCollapsed) dispatch({ type: 'CLOSE_ALL' });\n }, [isCollapsed]);\n\n const toggleItem = useCallback(\n (id: string) => {\n if (isCollapsed) {\n dispatch(\n expanded.includes(id)\n ? { type: 'CLOSE', id }\n : { type: 'OPEN_ONLY', id },\n );\n } else {\n dispatch({ type: 'TOGGLE', id });\n }\n },\n [isCollapsed, expanded],\n );\n\n return (\n <SidebarContext.Provider\n value={{\n isCollapsed,\n isItemExpanded: (id) => expanded.includes(id),\n toggleItem,\n }}\n >\n {children}\n </SidebarContext.Provider>\n );\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarContext.mjs","names":[],"sources":["../../../../../src/components/navigations/sidebars/sidebar/SidebarContext.tsx"],"sourcesContent":["import {\n createContext,\n type ReactNode,\n useCallback,\n useContext,\n useEffect,\n useReducer,\n useState,\n} from 'react';\n\n// ---------------------------------------------------------------------------\n// Contexto para detectar el nivel de profundidad y aplicar isSubnav\n// ---------------------------------------------------------------------------\n\nconst SubnavDepthContext = createContext(0);\n\nexport const useSubnavDepth = () => useContext(SubnavDepthContext);\n\nexport const SubnavDepthProvider = SubnavDepthContext.Provider;\n\n// ---------------------------------------------------------------------------\n// Contexto para controlar el menu y poder desactivar tooltips\n// ---------------------------------------------------------------------------\n\nconst MenuModeContext = createContext(false);\n\nexport const useMenuMode = () => useContext(MenuModeContext);\n\nexport const MenuModeProvider = MenuModeContext.Provider;\n\n// ---------------------------------------------------------------------------\n// Contexto Sidebar\n// ---------------------------------------------------------------------------\n\ntype SidebarAction =\n | { type: 'TOGGLE'; id: string }\n | { type: 'OPEN_ONLY'; id: string }\n | { type: 'CLOSE'; id: string }\n | { type: 'CLOSE_ALL' };\n\nconst reducer = (state: string[], action: SidebarAction): string[] => {\n switch (action.type) {\n case 'TOGGLE':\n return state.includes(action.id)\n ? state.filter((id) => id !== action.id)\n : [...state, action.id];\n\n case 'OPEN_ONLY':\n return [action.id];\n\n case 'CLOSE':\n return state.filter((id) => id !== action.id);\n\n case 'CLOSE_ALL':\n return [];\n }\n};\n\ntype SidebarContextValue = {\n isCollapsed: boolean;\n toggleCollapsed: () => void;\n isItemExpanded: (id: string) => boolean;\n toggleItem: (id: string) => void;\n};\n\nconst SidebarContext = createContext<SidebarContextValue | null>(null);\n\nexport const useSidebarContext = (): SidebarContextValue => {\n const ctx = useContext(SidebarContext);\n if (!ctx) {\n throw new Error(\n 'Sidebar compound components must be used within <Sidebar>.',\n );\n }\n return ctx;\n};\n\ntype SidebarProviderProps = {\n isCollapsed?: boolean;\n defaultCollapsed?: boolean;\n onCollapsedChange?: (collapsed: boolean) => void;\n expandedItems?: string[];\n children: ReactNode;\n};\n\nexport const SidebarProvider = ({\n isCollapsed: controlledCollapsed,\n defaultCollapsed = false,\n onCollapsedChange,\n expandedItems = [],\n children,\n}: SidebarProviderProps) => {\n const [uncontrolledCollapsed, setUncontrolledCollapsed] =\n useState(defaultCollapsed);\n const isCollapsed = controlledCollapsed ?? uncontrolledCollapsed;\n const [expanded, dispatch] = useReducer(reducer, expandedItems);\n\n const toggleCollapsed = useCallback(() => {\n const nextCollapsed = !isCollapsed;\n\n if (controlledCollapsed === undefined) {\n setUncontrolledCollapsed(nextCollapsed);\n }\n\n onCollapsedChange?.(nextCollapsed);\n }, [isCollapsed, controlledCollapsed, onCollapsedChange]);\n\n useEffect(() => {\n if (isCollapsed) dispatch({ type: 'CLOSE_ALL' });\n }, [isCollapsed]);\n\n const toggleItem = useCallback(\n (id: string) => {\n if (isCollapsed) {\n dispatch(\n expanded.includes(id)\n ? { type: 'CLOSE', id }\n : { type: 'OPEN_ONLY', id },\n );\n } else {\n dispatch({ type: 'TOGGLE', id });\n }\n },\n [isCollapsed, expanded],\n );\n\n return (\n <SidebarContext.Provider\n value={{\n isCollapsed,\n toggleCollapsed,\n isItemExpanded: (id) => expanded.includes(id),\n toggleItem,\n }}\n >\n {children}\n </SidebarContext.Provider>\n );\n};\n"],"mappings":"4JAcA,MAAM,EAAqB,EAAc,EAAE,CAE9B,MAAuB,EAAW,EAAmB,CAErD,EAAsB,EAAmB,SAMhD,EAAkB,EAAc,GAAM,CAE/B,MAAoB,EAAW,EAAgB,CAE/C,EAAmB,EAAgB,SAY1C,GAAW,EAAiB,IAAoC,CACpE,OAAQ,EAAO,KAAf,CACE,IAAK,SACH,OAAO,EAAM,SAAS,EAAO,GAAG,CAC5B,EAAM,OAAQ,GAAO,IAAO,EAAO,GAAG,CACtC,CAAC,GAAG,EAAO,EAAO,GAAG,CAE3B,IAAK,YACH,MAAO,CAAC,EAAO,GAAG,CAEpB,IAAK,QACH,OAAO,EAAM,OAAQ,GAAO,IAAO,EAAO,GAAG,CAE/C,IAAK,YACH,MAAO,EAAE,GAWT,EAAiB,EAA0C,KAAK,CAEzD,MAA+C,CAC1D,IAAM,EAAM,EAAW,EAAe,CACtC,GAAI,CAAC,EACH,MAAU,MACR,6DACD,CAEH,OAAO,GAWI,GAAmB,CAC9B,YAAa,EACb,mBAAmB,GACnB,oBACA,gBAAgB,EAAE,CAClB,cAC0B,CAC1B,GAAM,CAAC,EAAuB,GAC5B,EAAS,EAAiB,CACtB,EAAc,GAAuB,EACrC,CAAC,EAAU,GAAY,EAAW,EAAS,EAAc,CAEzD,EAAkB,MAAkB,CACxC,IAAM,EAAgB,CAAC,EAEnB,IAAwB,IAAA,IAC1B,EAAyB,EAAc,CAGzC,IAAoB,EAAc,EACjC,CAAC,EAAa,EAAqB,EAAkB,CAAC,CAEzD,MAAgB,CACV,GAAa,EAAS,CAAE,KAAM,YAAa,CAAC,EAC/C,CAAC,EAAY,CAAC,CAEjB,IAAM,EAAa,EAChB,GAAe,CAEZ,EADE,EAEA,EAAS,SAAS,EAAG,CACjB,CAAE,KAAM,QAAS,KAAI,CACrB,CAAE,KAAM,YAAa,KAAI,CAGtB,CAAE,KAAM,SAAU,KAAI,CAAC,EAGpC,CAAC,EAAa,EAAS,CACxB,CAED,OACE,EAAC,EAAe,SAAA,CACd,MAAO,CACL,cACA,kBACA,eAAiB,GAAO,EAAS,SAAS,EAAG,CAC7C,aACD,CAEA,YACuB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mage-ui/components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"rimraf": "^6.1.3",
|
|
26
26
|
"tsdown": "^0.20.3",
|
|
27
27
|
"typescript": "^5.9.3",
|
|
28
|
-
"@mage-ui/preset": "1.0.
|
|
28
|
+
"@mage-ui/preset": "1.0.57",
|
|
29
29
|
"@mage-ui/styled-system": "1.0.8"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|