@kwiz/fluentui 1.0.131 → 1.0.133

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,8 +1,10 @@
1
+ import { InfoLabelProps } from '@fluentui/react-components';
1
2
  import React from 'react';
2
3
  import { FluentIconType } from '../types/common';
3
4
  import { iMenuItemEX } from './menu';
4
5
  export interface iCardProps {
5
6
  title: string;
7
+ titleInfo?: InfoLabelProps['info'];
6
8
  description?: string;
7
9
  icon: FluentIconType;
8
10
  menuItems?: iMenuItemEX[];
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Card, CardFooter, cardFooterClassNames, CardHeader, CardPreview, Label, makeStyles, tokens } from '@fluentui/react-components';
2
+ import { Card, CardFooter, cardFooterClassNames, CardHeader, CardPreview, InfoLabel, Label, makeStyles, tokens } from '@fluentui/react-components';
3
3
  import { MoreVerticalRegular } from '@fluentui/react-icons';
4
4
  import { isNotEmptyArray, isNotEmptyString, isNullOrEmptyArray, isNullOrUndefined } from '@kwiz/common';
5
5
  import { MenuEx } from './menu';
@@ -42,7 +42,9 @@ export const CardEX = (props) => {
42
42
  const classes = useStyles();
43
43
  const hasDescription = isNotEmptyString(props.description);
44
44
  const hasActions = isNotEmptyArray(props.menuItems) || !isNullOrUndefined(props.footer);
45
- return (_jsxs(Card, { className: classes.card, onClick: props.onClick, children: [_jsx(CardPreview, { children: _jsxs("div", { className: hasDescription ? classes.previewContent : classes.previewContentNoDescription, children: [_jsx(props.icon, { className: classes.cardIcon }), !hasDescription && _jsxs(_Fragment, { children: [_jsx("br", {}), _jsx(Label, { children: props.title })] })] }) }), hasDescription && _jsx(CardHeader, { header: _jsx(Label, { className: classes.cardLabels, children: props.title }), description: _jsx(Label, { className: classes.cardLabels, size: 'small', children: props.description }) }), hasActions && _jsx(CardFooter, { action: isNullOrEmptyArray(props.menuItems)
45
+ return (_jsxs(Card, { className: classes.card, onClick: props.onClick, children: [_jsx(CardPreview, { children: _jsxs("div", { className: hasDescription ? classes.previewContent : classes.previewContentNoDescription, children: [_jsx(props.icon, { className: classes.cardIcon }), !hasDescription && _jsxs(_Fragment, { children: [_jsx("br", {}), _jsx(Label, { children: props.title })] })] }) }), hasDescription && _jsx(CardHeader, { header: isNullOrUndefined(props.titleInfo)
46
+ ? _jsx(Label, { className: classes.cardLabels, children: props.title })
47
+ : _jsx(InfoLabel, { className: classes.cardLabels, info: props.titleInfo, children: props.title }), description: _jsx(Label, { className: classes.cardLabels, size: 'small', children: props.description }) }), hasActions && _jsx(CardFooter, { action: isNullOrEmptyArray(props.menuItems)
46
48
  ? undefined
47
49
  : _jsx(MenuEx, { trigger: { title: 'more', icon: _jsx(MoreVerticalRegular, {}) }, items: props.menuItems }), children: props.footer })] }));
48
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","sourceRoot":"","sources":["../../src/controls/card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,oBAAoB,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACxI,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGxG,OAAO,EAAe,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE7C,MAAM,SAAS,GAAG,UAAU,CAAC;IACzB,IAAI,EAAE;QACF,MAAM,EAAE,OAAO;QACf,KAAK,EAAE,OAAO;QACd,CAAC,MAAM,oBAAoB,CAAC,IAAI,SAAS,CAAC,EAAE;YACxC,OAAO,EAAE,MAAM;SAClB;QACD,SAAS,EAAE;YACP,eAAe,EAAE,MAAM,CAAC,4BAA4B;YACpD,CAAC,MAAM,oBAAoB,CAAC,IAAI,SAAS,C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IAAI,KAAC,UAAU,IAC1B,MAAM,EAAE,iBAAiB,CAAC,KAAK,CAAC,SAAS,CAAC;oBACtC,CAAC,CAAC,KAAC,KAAK,IAAC,SAAS,EAAE,OAAO,CAAC,UAAU,YAAG,KAAK,CAAC,KAAK,GAAS;oBAC7D,CAAC,CAAC,KAAC,SAAS,IAAC,SAAS,EAAE,OAAO,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,CAAC,SAAS,YAAG,KAAK,CAAC,KAAK,GAAa,EAChG,WAAW,EAAE,KAAC,KAAK,IAAC,SAAS,EAAE,OAAO,CAAC,UAAU,EAAE,IAAI,EAAC,OAAO,YAAE,KAAK,CAAC,WAAW,GAAS,GAC7F,EACD,UAAU,IAAI,KAAC,UAAU,IAAC,MAAM,EAAE,kBAAkB,CAAC,KAAK,CAAC,SAAS,CAAC;oBAClE,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC,KAAC,MAAM,IAAC,OAAO,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,KAAC,mBAAmB,KAAG,EAAE,EAC/D,KAAK,EAAE,KAAK,CAAC,SAAS,GAAI,YAC7B,KAAK,CAAC,MAAM,GACJ,IACV,CAAC,CAAC;AACjB,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { DrawerBodyProps, DrawerHeaderProps, DrawerHeaderTitleProps, DrawerProps } from "@fluentui/react-components";
2
+ import { DeepOmit } from "@kwiz/common";
2
3
  import React from "react";
3
4
  interface iProps {
4
5
  headerProps?: DrawerHeaderProps;
@@ -7,7 +8,6 @@ interface iProps {
7
8
  title?: string | JSX.Element;
8
9
  titleActions?: JSX.Element;
9
10
  }
10
- type DeepOmit<T, K extends keyof T> = T extends any ? Omit<T, K> : never;
11
11
  type tProps = iProps & DeepOmit<DrawerProps, "title">;
12
12
  export declare const DrawerEX: (props: React.PropsWithChildren<tProps> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element | null;
13
13
  export {};
@@ -1 +1 @@
1
-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AM,CAAA,YAC3I,KAAK,CAAC,KAAK,KAAI,MAAA,KAAK,CAAC,gBAAgB,0CAAE,QAAQ,CAAA,IAChC,IACT,EACf,KAAC,UAAU,oBAAK,KAAK,CAAC,SAAS,cAC1B,KAAK,CAAC,QAAQ,IACN,KACR,CAAC;AACd,CAAC,CAAC,CAAC"}
@@ -72,6 +72,7 @@ export function useBlockNav() {
72
72
  // },
73
73
  // getMessages,
74
74
  // getMessagesArr,
75
+ /** single page applications, call this to navigate if ok */
75
76
  onNav,
76
77
  navPrompt: _prompt ? _jsx(Prompter, Object.assign({}, _prompt)) : undefined
77
78
  };
@@ -1 +1 @@
1
- {"version":3,"file":"block-nav.js","sourceRoot":"","sources":["../../src/helpers/block-nav.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAe,eAAe,EAAE,mBAAmB,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC1G,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAkB,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAQ3D;;;;kGAIkG;AAClG,MAAM,UAAU,WAAW;IACvB,MAAM,CAAC,EAAE,mBAAmB,EAAE,mBAAmB,CAAC,GAAG,UAAU,CAAsB,EAAE,CAAC,CAAC;IACzF,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,UAAU,CAAiB,IAAI,CAAC,CAAC;IAE9D,MAAM,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE;QACpC,OAAO,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/F,CAAC,EAAE,oBAAoB,CAAC,CAAC;IAEzB,MAAM,WAAW,GAAG,WAAW,CA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C;QACD,yBAAyB;QACzB,+BAA+B;QAC/B,KAAK;QACL,eAAe;QACf,kBAAkB;QAGlB,4DAA4D;QAC5D,KAAK;QACL,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,KAAC,QAAQ,oBAAK,OAAO,EAAI,CAAC,CAAC,CAAC,SAAS;KAC7D,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwiz/fluentui",
3
- "version": "1.0.131",
3
+ "version": "1.0.133",
4
4
  "description": "KWIZ common controls for FluentUI",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -63,7 +63,7 @@
63
63
  "dependencies": {
64
64
  "@fluentui/react-datepicker-compat": "^0.4.53",
65
65
  "@fluentui/react-timepicker-compat": "^0.2.42",
66
- "@kwiz/common": "^1.0.181",
66
+ "@kwiz/common": "^1.0.188",
67
67
  "@mismerge/core": "^1.2.1",
68
68
  "@mismerge/react": "^1.0.1",
69
69
  "@monaco-editor/react": "^4.7.0",