@kwiz/fluentui 1.0.126 → 1.0.128
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.
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { DrawerBodyProps, DrawerHeaderProps, DrawerHeaderTitleProps, DrawerProps 
     | 
| 
      
 1 
     | 
    
         
            +
            import { DrawerBodyProps, DrawerHeaderProps, DrawerHeaderTitleProps, DrawerProps } from "@fluentui/react-components";
         
     | 
| 
       2 
2 
     | 
    
         
             
            import React from "react";
         
     | 
| 
       3 
3 
     | 
    
         
             
            interface iProps {
         
     | 
| 
       4 
4 
     | 
    
         
             
                headerProps?: DrawerHeaderProps;
         
     | 
| 
         @@ -7,6 +7,7 @@ interface iProps { 
     | 
|
| 
       7 
7 
     | 
    
         
             
                title?: string | JSX.Element;
         
     | 
| 
       8 
8 
     | 
    
         
             
                titleActions?: JSX.Element;
         
     | 
| 
       9 
9 
     | 
    
         
             
            }
         
     | 
| 
       10 
     | 
    
         
            -
            type  
     | 
| 
      
 10 
     | 
    
         
            +
            type DeepOmit<T, K extends keyof T> = T extends any ? Omit<T, K> : never;
         
     | 
| 
      
 11 
     | 
    
         
            +
            type tProps = iProps & DeepOmit<DrawerProps, "title">;
         
     | 
| 
       11 
12 
     | 
    
         
             
            export declare const DrawerEX: (props: React.PropsWithChildren<tProps> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element | null;
         
     | 
| 
       12 
13 
     | 
    
         
             
            export {};
         
     | 
| 
         @@ -16,7 +16,7 @@ export const DrawerEX = React.forwardRef((props, ref) => { 
     | 
|
| 
       16 
16 
     | 
    
         
             
                var _a, _b;
         
     | 
| 
       17 
17 
     | 
    
         
             
                const commonStyles = useCommonStyles();
         
     | 
| 
       18 
18 
     | 
    
         
             
                const css = useStyles();
         
     | 
| 
       19 
     | 
    
         
            -
                const rootProps = Object.assign(Object.assign({}, props), { title: "" 
     | 
| 
      
 19 
     | 
    
         
            +
                const rootProps = Object.assign(Object.assign({}, props), { title: "" });
         
     | 
| 
       20 
20 
     | 
    
         
             
                return _jsxs(Drawer, Object.assign({ ref: ref }, rootProps, { className: mergeClasses(rootProps.className, css.drawer), children: [_jsx(DrawerHeader, Object.assign({}, props.headerProps, { className: commonStyles.header, children: _jsx(DrawerHeaderTitle, Object.assign({ heading: { className: css.heading } }, props.headerTitleProps, { action: props.titleActions || ((_a = props.headerTitleProps) === null || _a === void 0 ? void 0 : _a.action), children: props.title || ((_b = props.headerTitleProps) === null || _b === void 0 ? void 0 : _b.children) })) })), _jsx(DrawerBody, Object.assign({}, props.bodyProps, { children: props.children }))] }));
         
     | 
| 
       21 
21 
     | 
    
         
             
            });
         
     | 
| 
       22 
22 
     | 
    
         
             
            //# sourceMappingURL=drawer-ex.js.map
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"drawer-ex.js","sourceRoot":"","sources":["../../src/controls/drawer-ex.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAmB,YAAY,EAAqB,iBAAiB, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"drawer-ex.js","sourceRoot":"","sources":["../../src/controls/drawer-ex.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAmB,YAAY,EAAqB,iBAAiB,EAAuC,UAAU,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACpM,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,SAAS,GAAG,UAAU,CAAC;IACzB,MAAM,EAAE;QACJ,MAAM,EAAE,CAAC;KACZ;IACD,OAAO,EAAE;QACL,oCAAoC;QACpC,QAAQ,EAAE,QAAQ;QAClB,QAAQ,EAAE,CAAC;KACd;CACJ,CAAC,CAAC;AAaH,MAAM,CAAC,MAA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