@codezee/sixtify-brahma 0.2.95 → 0.2.97

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codezee/sixtify-brahma",
3
- "version": "0.2.95",
3
+ "version": "0.2.97",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/hardikranpariya/sixtify-brahma.git"
@@ -0,0 +1,4 @@
1
+ import type { IconButtonProps } from "@mui/material";
2
+ export type ViewDetailsIconActionProps = IconButtonProps;
3
+ export declare const ViewDetailsIconAction: (props: ViewDetailsIconActionProps) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=ViewDetailsIconAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewDetailsIconAction.d.ts","sourceRoot":"","sources":["../../src/Actions/ViewDetailsIconAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAKrD,MAAM,MAAM,0BAA0B,GAAG,eAAe,CAAC;AAEzD,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,4CAQtE,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ViewDetailsIconAction = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const material_1 = require("@mui/material");
6
+ const Svgs_1 = require("../Svgs");
7
+ const Tooltip_1 = require("../Tooltip");
8
+ const ViewDetailsIconAction = (props) => {
9
+ return ((0, jsx_runtime_1.jsx)(material_1.IconButton, { ...props, children: (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { toolTipLabel: "View Details", children: (0, jsx_runtime_1.jsx)(Svgs_1.ArrowUpRight, {}) }) }));
10
+ };
11
+ exports.ViewDetailsIconAction = ViewDetailsIconAction;
@@ -11,5 +11,6 @@ export * from "./HistoryIconAction";
11
11
  export * from "./ImportIconAction";
12
12
  export * from "./InboxIconAction";
13
13
  export * from "./ProcessIconAction";
14
+ export * from "./ViewDetailsIconAction";
14
15
  export * from "./ViewIconAction";
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC"}
@@ -27,4 +27,5 @@ __exportStar(require("./HistoryIconAction"), exports);
27
27
  __exportStar(require("./ImportIconAction"), exports);
28
28
  __exportStar(require("./InboxIconAction"), exports);
29
29
  __exportStar(require("./ProcessIconAction"), exports);
30
+ __exportStar(require("./ViewDetailsIconAction"), exports);
30
31
  __exportStar(require("./ViewIconAction"), exports);
@@ -1,9 +1,19 @@
1
+ import type { EditorOptions } from "@tiptap/core";
1
2
  import { type RichTextEditorRef } from "mui-tiptap";
2
- type RichTextEditorProps = {
3
- isEditable: boolean;
4
- showMenuBar: boolean;
5
- htmlContent: string;
6
- };
7
- export declare const RichTextEditor: import("react").ForwardRefExoticComponent<RichTextEditorProps & import("react").RefAttributes<RichTextEditorRef>>;
8
- export {};
3
+ export declare const RichTextEditor: import("react").ForwardRefExoticComponent<{
4
+ isEditable?: boolean;
5
+ showMenuBar?: boolean;
6
+ htmlContent?: string;
7
+ } & Omit<Partial<Partial<EditorOptions> & {
8
+ immediatelyRender?: boolean;
9
+ shouldRerenderOnTransaction?: boolean;
10
+ }> & {
11
+ extensions: NonNullable<import("@tiptap/core").Extensions | undefined>;
12
+ renderControls?: (editor: import("@tiptap/core").Editor | null) => React.ReactNode;
13
+ RichTextFieldProps?: Omit<import("mui-tiptap").RichTextFieldProps, "controls">;
14
+ sx?: import("mui-tiptap").RichTextFieldProps["sx"];
15
+ children?: (editor: import("@tiptap/core").Editor | null) => React.ReactNode;
16
+ editorDependencies?: import("react").DependencyList;
17
+ className?: string;
18
+ } & import("react").RefAttributes<RichTextEditorRef>, "content" | "ref" | "editable" | "extensions"> & import("react").RefAttributes<RichTextEditorRef>>;
9
19
  //# sourceMappingURL=RichTextEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["../../src/RichTextEditor/RichTextEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,YAAY,CAAC;AAapB,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,cAAc,mHA0HzB,CAAC"}
1
+ {"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["../../src/RichTextEditor/RichTextEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAML,KAAK,iBAAiB,EACvB,MAAM,YAAY,CAAC;AAsBpB,eAAO,MAAM,cAAc;iBALZ,OAAO;kBACN,OAAO;kBACP,MAAM;;;;;;;;;;;;wJAoIrB,CAAC"}
@@ -12,7 +12,7 @@ const fileListToImageFiles = (fileList) => {
12
12
  return mimeType.startsWith("image/");
13
13
  });
14
14
  };
15
- exports.RichTextEditor = (0, react_1.forwardRef)(({ isEditable, showMenuBar, htmlContent }, ref) => {
15
+ exports.RichTextEditor = (0, react_1.forwardRef)(({ isEditable = false, showMenuBar = false, htmlContent = "", ...rest }, ref) => {
16
16
  const extensions = (0, useExtensions_1.useExtensions)({
17
17
  placeholder: "Add your own content here...",
18
18
  });
@@ -83,6 +83,6 @@ exports.RichTextEditor = (0, react_1.forwardRef)(({ isEditable, showMenuBar, htm
83
83
  padding: "10mm 10mm",
84
84
  boxShadow: "0 0 10px rgba(0,0,0,0.15)",
85
85
  },
86
- }, children: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(mui_tiptap_1.LinkBubbleMenu, {}), (0, jsx_runtime_1.jsx)(mui_tiptap_1.TableBubbleMenu, {})] })) }));
86
+ }, ...rest, children: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(mui_tiptap_1.LinkBubbleMenu, {}), (0, jsx_runtime_1.jsx)(mui_tiptap_1.TableBubbleMenu, {})] })) }));
87
87
  });
88
88
  exports.RichTextEditor.displayName = "RichTextEditor";
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/Tab/Tabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,E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AAE,UAAU,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,0BAA0B,SAAS,4CA0CvD,CAAC"}
@@ -18,6 +18,8 @@ const Tabs = ({ tabs, value, loading }) => {
18
18
  }
19
19
  return ((0, jsx_runtime_1.jsx)(material_1.Stack, { children: (0, jsx_runtime_1.jsx)(material_1.Tabs, { value: value, children: tabs
20
20
  .filter(({ isView }) => isView !== false)
21
- .map(({ iconPosition = "end", toolTipLabel = "", icon, ...rest }) => ((0, jsx_runtime_1.jsx)(Tab_1.default, { icon: toolTipLabel ? ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { toolTipLabel: toolTipLabel, placement: "bottom", children: icon })) : (icon), disabled: loading, iconPosition: iconPosition, ...rest }, (0, uuid_1.v4)()))) }) }));
21
+ .map(({ iconPosition = "end", toolTipLabel = "", icon, ...rest }, index) => ((0, jsx_runtime_1.jsx)(Tab_1.default
22
+ // eslint-disable-next-line sonarjs/no-array-index-key
23
+ , { icon: toolTipLabel ? ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { toolTipLabel: toolTipLabel, placement: "bottom", children: icon })) : (icon), disabled: loading, iconPosition: iconPosition, ...rest }, index))) }) }));
22
24
  };
23
25
  exports.Tabs = Tabs;
@@ -17,6 +17,7 @@ export type ColorPalette = {
17
17
  violet: Color;
18
18
  purple: Color;
19
19
  brown: Color;
20
+ darkOrchid: Color;
20
21
  };
21
22
  export declare const colorPalette: ColorPalette;
22
23
  //# sourceMappingURL=colorPalette.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"colorPalette.d.ts","sourceRoot":"","sources":["../../../src/utils/theme/colorPalette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MA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MAAM,EAAE,KAAK,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,YAiS1B,CAAC"}
@@ -58,9 +58,9 @@ exports.colorPalette = {
58
58
  50: "hsla(0, 0%, 0%, 0)",
59
59
  100: "hsla(0, 0%, 0%, 0)",
60
60
  200: "hsla(0, 0%, 0%, 0)",
61
- 300: "hsla(0, 0%, 0%, 0)",
62
- 400: "hsla(0, 0%, 0%, 0)",
63
- 500: "hsla(0, 0%, 0%, 0)",
61
+ 300: "hsla(197, 70%, 85%, 1)",
62
+ 400: "hsla(197, 92%, 66%, 1)",
63
+ 500: "hsla(196, 73%, 51%, 1)",
64
64
  A100: "hsla(0, 0%, 0%, 0)",
65
65
  A200: "hsla(0, 0%, 0%, 0)",
66
66
  A400: "hsla(0, 0%, 0%, 0)",
@@ -87,10 +87,10 @@ exports.colorPalette = {
87
87
  800: "hsla(32, 100%, 71%, 1)",
88
88
  700: "hsla(33, 100%, 90%, 1)",
89
89
  600: "hsla(33, 100%, 95%, 1)",
90
- 50: "hsla(0, 0%, 0%, 0)",
91
- 100: "hsla(0, 0%, 0%, 0)",
92
- 200: "hsla(0, 0%, 0%, 0)",
93
- 300: "hsla(0, 0%, 0%, 0)",
90
+ 50: "hsla(18, 92%, 76%, 1)",
91
+ 100: "hsla(15, 70%, 60%, 1)",
92
+ 200: "hsla(15, 70%, 70%, 1)",
93
+ 300: "hsla(15, 70%, 80%, 1)",
94
94
  400: "hsla(0, 0%, 0%, 0)",
95
95
  500: "hsla(0, 0%, 0%, 0)",
96
96
  A100: "hsla(0, 0%, 0%, 0)",
@@ -122,9 +122,9 @@ exports.colorPalette = {
122
122
  500: "hsl(216, 100%, 91%)",
123
123
  400: " hsl(217, 100%, 95%)",
124
124
  300: " hsl(193, 22%, 92%)",
125
- 50: "hsla(0, 0%, 0%, 0)",
126
- 100: "hsla(0, 0%, 0%, 0)",
127
- 200: "hsla(0, 0%, 0%, 0)",
125
+ 50: "hsla(223, 56%, 35%, 1)",
126
+ 100: "hsla(223, 61.2%, 59.6%, 1)",
127
+ 200: "hsla(222, 96%, 79%, 1)",
128
128
  A100: "hsla(0, 0%, 0%, 0)",
129
129
  A200: "hsla(0, 0%, 0%, 0)",
130
130
  A400: "hsla(0, 0%, 0%, 0)",
@@ -167,12 +167,12 @@ exports.colorPalette = {
167
167
  800: "hsla(295, 61%, 80%, 1)",
168
168
  700: "hsla(297, 60%, 93%, 1)",
169
169
  600: "hsla(295, 65%, 97%, 1)",
170
- 50: "hsla(0, 0%, 0%, 0)",
170
+ 50: "rgb(78, 72, 158)",
171
171
  100: "hsla(0, 0%, 0%, 0)",
172
- 200: "hsla(0, 0%, 0%, 0)",
173
- 300: "hsla(0, 0%, 0%, 0)",
174
- 400: "hsla(0, 0%, 0%, 0)",
175
- 500: "hsla(0, 0%, 0%, 0)",
172
+ 200: "hsla(244, 57%, 75%, 1)",
173
+ 300: "hsla(242, 48%, 66%, 1)",
174
+ 400: "hsla(241, 29%, 54%, 1)",
175
+ 500: "hsla(242, 65%, 64%, 1)",
176
176
  A100: "hsla(0, 0%, 0%, 0)",
177
177
  A200: "hsla(0, 0%, 0%, 0)",
178
178
  A400: "hsla(0, 0%, 0%, 0)",
@@ -274,4 +274,20 @@ exports.colorPalette = {
274
274
  A400: "rgb(185, 120, 1)",
275
275
  A700: "rgb(185, 120, 1)",
276
276
  },
277
+ darkOrchid: {
278
+ 900: "hsla(244, 38%, 38%, 1)",
279
+ 800: "hsla(242, 65%, 64%, 1)",
280
+ 700: "hsla(241, 29%, 54%, 1)",
281
+ 600: "hsla(242, 48%, 66%, 1)",
282
+ 500: "hsla(244, 57%, 75%, 1)",
283
+ 400: "hsla(245, 57%, 77%, 1)",
284
+ 300: "hsla(241, 100%, 85%, 1)",
285
+ 200: "hsla(240, 100%, 90%, 1)",
286
+ 100: "hsla(240, 100%, 91%, 1)",
287
+ 50: "hsla(240, 100%, 95%, 1)",
288
+ A100: "hsla(0, 0%, 0%, 0)",
289
+ A200: "hsla(0, 0%, 0%, 0)",
290
+ A400: "hsla(0, 0%, 0%, 0)",
291
+ A700: "hsla(0, 0%, 0%, 0)",
292
+ },
277
293
  };