phx-react 1.3.126 → 1.3.130

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.
Files changed (55) hide show
  1. package/dist/cjs/components/Table/Table.d.ts +3 -1
  2. package/dist/cjs/components/Table/Table.js +25 -3
  3. package/dist/cjs/components/Table/Table.js.map +1 -1
  4. package/dist/cjs/components/TextEditor/index.d.ts +1 -0
  5. package/dist/cjs/components/TextEditor/index.js +5 -0
  6. package/dist/cjs/components/TextEditor/index.js.map +1 -0
  7. package/dist/cjs/components/TextEditor/plugins/AutoLinkPlugin.d.ts +2 -0
  8. package/dist/cjs/components/TextEditor/plugins/AutoLinkPlugin.js +32 -0
  9. package/dist/cjs/components/TextEditor/plugins/AutoLinkPlugin.js.map +1 -0
  10. package/dist/cjs/components/TextEditor/plugins/CodeHighlightPlugin.d.ts +1 -0
  11. package/dist/cjs/components/TextEditor/plugins/CodeHighlightPlugin.js +12 -0
  12. package/dist/cjs/components/TextEditor/plugins/CodeHighlightPlugin.js.map +1 -0
  13. package/dist/cjs/components/TextEditor/plugins/ListMaxIndentLevelPlugin.d.ts +1 -0
  14. package/dist/cjs/components/TextEditor/plugins/ListMaxIndentLevelPlugin.js +46 -0
  15. package/dist/cjs/components/TextEditor/plugins/ListMaxIndentLevelPlugin.js.map +1 -0
  16. package/dist/cjs/components/TextEditor/plugins/ToolbarPlugin.d.ts +2 -0
  17. package/dist/cjs/components/TextEditor/plugins/ToolbarPlugin.js +499 -0
  18. package/dist/cjs/components/TextEditor/plugins/ToolbarPlugin.js.map +1 -0
  19. package/dist/cjs/components/TextEditor/textEditor.d.ts +2 -0
  20. package/dist/cjs/components/TextEditor/textEditor.js +86 -0
  21. package/dist/cjs/components/TextEditor/textEditor.js.map +1 -0
  22. package/dist/cjs/components/TextEditor/themes/ExampleTheme.d.ts +68 -0
  23. package/dist/cjs/components/TextEditor/themes/ExampleTheme.js +71 -0
  24. package/dist/cjs/components/TextEditor/themes/ExampleTheme.js.map +1 -0
  25. package/dist/cjs/index.d.ts +2 -1
  26. package/dist/cjs/index.js +3 -1
  27. package/dist/cjs/index.js.map +1 -1
  28. package/dist/esm/components/Table/Table.d.ts +3 -1
  29. package/dist/esm/components/Table/Table.js +25 -3
  30. package/dist/esm/components/Table/Table.js.map +1 -1
  31. package/dist/esm/components/TextEditor/index.d.ts +1 -0
  32. package/dist/esm/components/TextEditor/index.js +2 -0
  33. package/dist/esm/components/TextEditor/index.js.map +1 -0
  34. package/dist/esm/components/TextEditor/plugins/AutoLinkPlugin.d.ts +2 -0
  35. package/dist/esm/components/TextEditor/plugins/AutoLinkPlugin.js +28 -0
  36. package/dist/esm/components/TextEditor/plugins/AutoLinkPlugin.js.map +1 -0
  37. package/dist/esm/components/TextEditor/plugins/CodeHighlightPlugin.d.ts +1 -0
  38. package/dist/esm/components/TextEditor/plugins/CodeHighlightPlugin.js +9 -0
  39. package/dist/esm/components/TextEditor/plugins/CodeHighlightPlugin.js.map +1 -0
  40. package/dist/esm/components/TextEditor/plugins/ListMaxIndentLevelPlugin.d.ts +1 -0
  41. package/dist/esm/components/TextEditor/plugins/ListMaxIndentLevelPlugin.js +43 -0
  42. package/dist/esm/components/TextEditor/plugins/ListMaxIndentLevelPlugin.js.map +1 -0
  43. package/dist/esm/components/TextEditor/plugins/ToolbarPlugin.d.ts +2 -0
  44. package/dist/esm/components/TextEditor/plugins/ToolbarPlugin.js +495 -0
  45. package/dist/esm/components/TextEditor/plugins/ToolbarPlugin.js.map +1 -0
  46. package/dist/esm/components/TextEditor/textEditor.d.ts +2 -0
  47. package/dist/esm/components/TextEditor/textEditor.js +81 -0
  48. package/dist/esm/components/TextEditor/textEditor.js.map +1 -0
  49. package/dist/esm/components/TextEditor/themes/ExampleTheme.d.ts +68 -0
  50. package/dist/esm/components/TextEditor/themes/ExampleTheme.js +69 -0
  51. package/dist/esm/components/TextEditor/themes/ExampleTheme.js.map +1 -0
  52. package/dist/esm/index.d.ts +2 -1
  53. package/dist/esm/index.js +2 -1
  54. package/dist/esm/index.js.map +1 -1
  55. package/package.json +17 -15
@@ -0,0 +1,81 @@
1
+ import { CodeHighlightNode, CodeNode } from '@lexical/code';
2
+ import { AutoLinkNode, LinkNode } from '@lexical/link';
3
+ import { ListItemNode, ListNode } from '@lexical/list';
4
+ import { TRANSFORMERS, $convertToMarkdownString } from '@lexical/markdown';
5
+ import { AutoFocusPlugin } from '@lexical/react/LexicalAutoFocusPlugin';
6
+ import { LexicalComposer } from '@lexical/react/LexicalComposer';
7
+ import { ContentEditable } from '@lexical/react/LexicalContentEditable';
8
+ import LexicalErrorBoundary from '@lexical/react/LexicalErrorBoundary';
9
+ import { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin';
10
+ import { LinkPlugin } from '@lexical/react/LexicalLinkPlugin';
11
+ import { ListPlugin } from '@lexical/react/LexicalListPlugin';
12
+ import { MarkdownShortcutPlugin } from '@lexical/react/LexicalMarkdownShortcutPlugin';
13
+ import { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin';
14
+ import { RichTextPlugin } from '@lexical/react/LexicalRichTextPlugin';
15
+ import { HeadingNode, QuoteNode } from '@lexical/rich-text';
16
+ import { TableCellNode, TableNode, TableRowNode } from '@lexical/table';
17
+ import { $createParagraphNode, $createTextNode, $getRoot } from 'lexical';
18
+ import React from 'react';
19
+ import AutoLinkPlugin from './plugins/AutoLinkPlugin';
20
+ import CodeHighlightPlugin from './plugins/CodeHighlightPlugin';
21
+ import ListMaxIndentLevelPlugin from './plugins/ListMaxIndentLevelPlugin';
22
+ import ToolbarPlugin from './plugins/ToolbarPlugin';
23
+ import ExampleTheme from './themes/ExampleTheme';
24
+ function Placeholder() {
25
+ return React.createElement("div", { className: 'editor-placeholder' }, "Enter some rich text...");
26
+ }
27
+ export var PHXTextEditor = function (_a) {
28
+ var onChangeEditor = _a.onChangeEditor, value = _a.value;
29
+ function prepopulatedRichText() {
30
+ var root = $getRoot();
31
+ if (root.getFirstChild() === null) {
32
+ var paragraph = $createParagraphNode();
33
+ paragraph.append($createTextNode(value));
34
+ root.append(paragraph);
35
+ }
36
+ }
37
+ var editorConfig = {
38
+ // The editor theme
39
+ theme: ExampleTheme,
40
+ editorState: prepopulatedRichText,
41
+ // Handling of errors during update
42
+ onError: function (error) {
43
+ throw error;
44
+ },
45
+ // Any custom nodes go here
46
+ nodes: [
47
+ HeadingNode,
48
+ ListNode,
49
+ ListItemNode,
50
+ QuoteNode,
51
+ CodeNode,
52
+ CodeHighlightNode,
53
+ TableNode,
54
+ TableCellNode,
55
+ TableRowNode,
56
+ AutoLinkNode,
57
+ LinkNode,
58
+ ]
59
+ };
60
+ var onChange = function (editorState) {
61
+ editorState.read(function () {
62
+ var markdown = $convertToMarkdownString(TRANSFORMERS);
63
+ onChangeEditor(markdown);
64
+ });
65
+ };
66
+ return (React.createElement(LexicalComposer, { initialConfig: editorConfig },
67
+ React.createElement("div", { className: 'editor-container' },
68
+ React.createElement(ToolbarPlugin, null),
69
+ React.createElement("div", { className: 'editor-inner' },
70
+ React.createElement(RichTextPlugin, { contentEditable: React.createElement(ContentEditable, { className: 'editor-input' }), ErrorBoundary: LexicalErrorBoundary, placeholder: React.createElement(Placeholder, null) }),
71
+ React.createElement(OnChangePlugin, { onChange: onChange }),
72
+ React.createElement(HistoryPlugin, null),
73
+ React.createElement(AutoFocusPlugin, null),
74
+ React.createElement(CodeHighlightPlugin, null),
75
+ React.createElement(ListPlugin, null),
76
+ React.createElement(LinkPlugin, null),
77
+ React.createElement(AutoLinkPlugin, null),
78
+ React.createElement(ListMaxIndentLevelPlugin, { maxDepth: 7 }),
79
+ React.createElement(MarkdownShortcutPlugin, { transformers: TRANSFORMERS })))));
80
+ };
81
+ //# sourceMappingURL=textEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textEditor.js","sourceRoot":"","sources":["../../../../src/components/TextEditor/textEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,e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AC5B;gBACF,oBAAC,cAAc,IAAC,QAAQ,EAAE,QAAQ,GAAI;gBACtC,oBAAC,aAAa,OAAG;gBACjB,oBAAC,eAAe,OAAG;gBACnB,oBAAC,mBAAmB,OAAG;gBACvB,oBAAC,UAAU,OAAG;gBACd,oBAAC,UAAU,OAAG;gBACd,oBAAC,cAAc,OAAG;gBAClB,oBAAC,wBAAwB,IAAC,QAAQ,EAAE,CAAC,GAAI;gBACzC,oBAAC,sBAAsB,IAAC,YAAY,EAAE,YAAY,GAAI,CAClD,CACF,CACU,CACnB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,68 @@
1
+ declare const exampleTheme: {
2
+ ltr: string;
3
+ rtl: string;
4
+ placeholder: string;
5
+ paragraph: string;
6
+ quote: string;
7
+ heading: {
8
+ h1: string;
9
+ h2: string;
10
+ h3: string;
11
+ h4: string;
12
+ h5: string;
13
+ };
14
+ list: {
15
+ nested: {
16
+ listitem: string;
17
+ };
18
+ ol: string;
19
+ ul: string;
20
+ listitem: string;
21
+ };
22
+ image: string;
23
+ link: string;
24
+ text: {
25
+ bold: string;
26
+ italic: string;
27
+ overflowed: string;
28
+ hashtag: string;
29
+ underline: string;
30
+ strikethrough: string;
31
+ underlineStrikethrough: string;
32
+ code: string;
33
+ };
34
+ code: string;
35
+ codeHighlight: {
36
+ atrule: string;
37
+ attr: string;
38
+ boolean: string;
39
+ builtin: string;
40
+ cdata: string;
41
+ char: string;
42
+ class: string;
43
+ 'class-name': string;
44
+ comment: string;
45
+ constant: string;
46
+ deleted: string;
47
+ doctype: string;
48
+ entity: string;
49
+ function: string;
50
+ important: string;
51
+ inserted: string;
52
+ keyword: string;
53
+ namespace: string;
54
+ number: string;
55
+ operator: string;
56
+ prolog: string;
57
+ property: string;
58
+ punctuation: string;
59
+ regex: string;
60
+ selector: string;
61
+ string: string;
62
+ symbol: string;
63
+ tag: string;
64
+ url: string;
65
+ variable: string;
66
+ };
67
+ };
68
+ export default exampleTheme;
@@ -0,0 +1,69 @@
1
+ var exampleTheme = {
2
+ ltr: 'ltr',
3
+ rtl: 'rtl',
4
+ placeholder: 'editor-placeholder',
5
+ paragraph: 'editor-paragraph',
6
+ quote: 'editor-quote',
7
+ heading: {
8
+ h1: 'editor-heading-h1',
9
+ h2: 'editor-heading-h2',
10
+ h3: 'editor-heading-h3',
11
+ h4: 'editor-heading-h4',
12
+ h5: 'editor-heading-h5'
13
+ },
14
+ list: {
15
+ nested: {
16
+ listitem: 'editor-nested-listitem'
17
+ },
18
+ ol: 'editor-list-ol',
19
+ ul: 'editor-list-ul',
20
+ listitem: 'editor-listitem'
21
+ },
22
+ image: 'editor-image',
23
+ link: 'editor-link',
24
+ text: {
25
+ bold: 'editor-text-bold',
26
+ italic: 'editor-text-italic',
27
+ overflowed: 'editor-text-overflowed',
28
+ hashtag: 'editor-text-hashtag',
29
+ underline: 'editor-text-underline',
30
+ strikethrough: 'editor-text-strikethrough',
31
+ underlineStrikethrough: 'editor-text-underlineStrikethrough',
32
+ code: 'editor-text-code'
33
+ },
34
+ code: 'editor-code',
35
+ codeHighlight: {
36
+ atrule: 'editor-tokenAttr',
37
+ attr: 'editor-tokenAttr',
38
+ boolean: 'editor-tokenProperty',
39
+ builtin: 'editor-tokenSelector',
40
+ cdata: 'editor-tokenComment',
41
+ char: 'editor-tokenSelector',
42
+ "class": 'editor-tokenFunction',
43
+ 'class-name': 'editor-tokenFunction',
44
+ comment: 'editor-tokenComment',
45
+ constant: 'editor-tokenProperty',
46
+ deleted: 'editor-tokenProperty',
47
+ doctype: 'editor-tokenComment',
48
+ entity: 'editor-tokenOperator',
49
+ "function": 'editor-tokenFunction',
50
+ important: 'editor-tokenVariable',
51
+ inserted: 'editor-tokenSelector',
52
+ keyword: 'editor-tokenAttr',
53
+ namespace: 'editor-tokenVariable',
54
+ number: 'editor-tokenProperty',
55
+ operator: 'editor-tokenOperator',
56
+ prolog: 'editor-tokenComment',
57
+ property: 'editor-tokenProperty',
58
+ punctuation: 'editor-tokenPunctuation',
59
+ regex: 'editor-tokenVariable',
60
+ selector: 'editor-tokenSelector',
61
+ string: 'editor-tokenSelector',
62
+ symbol: 'editor-tokenProperty',
63
+ tag: 'editor-tokenProperty',
64
+ url: 'editor-tokenOperator',
65
+ variable: 'editor-tokenVariable'
66
+ }
67
+ };
68
+ export default exampleTheme;
69
+ //# sourceMappingURL=ExampleTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleTheme.js","sourceRoot":"","sources":["../../../../../src/components/TextEditor/themes/ExampleTheme.ts"],"names":[],"mappings":"AAAA,IAAM,YAAY,GAAG;IACnB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,WAAW,EAAE,oBAAoB;IACjC,SAAS,EAAE,kBAAkB;IAC7B,KAAK,EAAE,cAAc;IACrB,OAAO,EAAE;QACP,EAAE,EAAE,mBAAmB;QACvB,EAAE,EAAE,mBAAmB;QACvB,EAAE,EAAE,mBAAmB;QACvB,EAAE,EAAE,mBAAmB;QACvB,EAAE,EAAE,mBAAmB;KACxB;IACD,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,QAAQ,EAAE,wBAAwB;SACnC;QACD,EAAE,EAAE,gBAAgB;QACpB,EAAE,EAAE,gBAAgB;QACpB,QAAQ,EAAE,iBAAiB;KAC5B;IACD,KAAK,EAAE,cAAc;IACrB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE;QACJ,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,oBAAoB;QAC5B,UAAU,EAAE,wBAAwB;QACpC,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,uBAAuB;QAClC,aAAa,EAAE,2BAA2B;QAC1C,sBAAsB,EAAE,oCAAoC;QAC5D,IAAI,EAAE,kBAAkB;KACzB;IACD,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE;QACb,MAAM,EAAE,kBAAkB;QAC1B,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,sBAAsB;QAC/B,KAAK,EAAE,qBAAqB;QAC5B,IAAI,EAAE,sBAAsB;QAC5B,OAAK,EAAE,sBAAsB;QAC7B,YAAY,EAAE,sBAAsB;QACpC,OAAO,EAAE,qBAAqB;QAC9B,QAAQ,EAAE,sBAAsB;QAChC,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,qBAAqB;QAC9B,MAAM,EAAE,sBAAsB;QAC9B,UAAQ,EAAE,sBAAsB;QAChC,SAAS,EAAE,sBAAsB;QACjC,QAAQ,EAAE,sBAAsB;QAChC,OAAO,EAAE,kBAAkB;QAC3B,SAAS,EAAE,sBAAsB;QACjC,MAAM,EAAE,sBAAsB;QAC9B,QAAQ,EAAE,sBAAsB;QAChC,MAAM,EAAE,qBAAqB;QAC7B,QAAQ,EAAE,sBAAsB;QAChC,WAAW,EAAE,yBAAyB;QACtC,KAAK,EAAE,sBAAsB;QAC7B,QAAQ,EAAE,sBAAsB;QAChC,MAAM,EAAE,sBAAsB;QAC9B,MAAM,EAAE,sBAAsB;QAC9B,GAAG,EAAE,sBAAsB;QAC3B,GAAG,EAAE,sBAAsB;QAC3B,QAAQ,EAAE,sBAAsB;KACjC;CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -29,4 +29,5 @@ import { PHXBanner } from './components/Banner';
29
29
  import { PHXButtonGroup } from './components/ButtonGroup';
30
30
  import { PHXCombobox } from './components/Combobox';
31
31
  import { PHXHorizontalStack } from './components/HorizontalStack';
32
- export { MyCounter, PHXButton, PHXCard, PHXSpinner, PHXMainWrap, PHXFormWrap, PHXHeaderBar, PHXTable, PHXInput, PHXSelect, PHXRadio, PHXCheckbox, PHXFormStep, PHXNotifications, PHXStep, PHXSkeleton, PHXFuncGetLoggedInfo, PHXClientQuery, PHXClientMutation, PHXTextarea, PHXModal, PHXTabs, PHXChoiceList, PHXDescriptionLists, PHXBadge, PHXLogin, PHXBanner, PHXButtonGroup, PHXCombobox, PHXFormLayout, PHXHorizontalStack, };
32
+ import { PHXTextEditor } from './components/TextEditor';
33
+ export { MyCounter, PHXButton, PHXCard, PHXSpinner, PHXMainWrap, PHXFormWrap, PHXHeaderBar, PHXTable, PHXInput, PHXSelect, PHXRadio, PHXCheckbox, PHXFormStep, PHXNotifications, PHXStep, PHXSkeleton, PHXFuncGetLoggedInfo, PHXClientQuery, PHXClientMutation, PHXTextarea, PHXModal, PHXTabs, PHXChoiceList, PHXDescriptionLists, PHXBadge, PHXLogin, PHXBanner, PHXButtonGroup, PHXCombobox, PHXFormLayout, PHXHorizontalStack, PHXTextEditor, };
package/dist/esm/index.js CHANGED
@@ -29,5 +29,6 @@ import { PHXBanner } from './components/Banner';
29
29
  import { PHXButtonGroup } from './components/ButtonGroup';
30
30
  import { PHXCombobox } from './components/Combobox';
31
31
  import { PHXHorizontalStack } from './components/HorizontalStack';
32
- export { MyCounter, PHXButton, PHXCard, PHXSpinner, PHXMainWrap, PHXFormWrap, PHXHeaderBar, PHXTable, PHXInput, PHXSelect, PHXRadio, PHXCheckbox, PHXFormStep, PHXNotifications, PHXStep, PHXSkeleton, PHXFuncGetLoggedInfo, PHXClientQuery, PHXClientMutation, PHXTextarea, PHXModal, PHXTabs, PHXChoiceList, PHXDescriptionLists, PHXBadge, PHXLogin, PHXBanner, PHXButtonGroup, PHXCombobox, PHXFormLayout, PHXHorizontalStack, };
32
+ import { PHXTextEditor } from './components/TextEditor';
33
+ export { MyCounter, PHXButton, PHXCard, PHXSpinner, PHXMainWrap, PHXFormWrap, PHXHeaderBar, PHXTable, PHXInput, PHXSelect, PHXRadio, PHXCheckbox, PHXFormStep, PHXNotifications, PHXStep, PHXSkeleton, PHXFuncGetLoggedInfo, PHXClientQuery, PHXClientMutation, PHXTextarea, PHXModal, PHXTabs, PHXChoiceList, PHXDescriptionLists, PHXBadge, PHXLogin, PHXBanner, PHXButtonGroup, PHXCombobox, PHXFormLayout, PHXHorizontalStack, PHXTextEditor, };
33
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {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SAAS,EACT,OAAO,EACP,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,OAAO,EACP,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,OAAO,EACP,aAAa,EACb,mBAAmB,EACnB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,cAAc,EACd,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,aAAa,GACd,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phx-react",
3
- "version": "1.3.126",
3
+ "version": "1.3.130",
4
4
  "description": "PHX REACT",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -38,7 +38,16 @@
38
38
  "author": "PHX DevTeam 2023",
39
39
  "license": "MIT",
40
40
  "devDependencies": {
41
- "@storybook/addon-essentials": "7.2.3",
41
+ "@babel/runtime": "7.13.8",
42
+ "@apollo/client": "3.8.1",
43
+ "@apollo/experimental-nextjs-app-support": "0.4.1",
44
+ "@fortawesome/fontawesome-svg-core": "^6.4.0",
45
+ "@fortawesome/free-solid-svg-icons": "^6.4.0",
46
+ "@fortawesome/react-fontawesome": "^0.2.0",
47
+ "@headlessui/react": "^1.7.16",
48
+ "@heroicons/react": "^2.0.18",
49
+ "@lexical/react": "^0.12.0",
50
+ "@storybook/addon-essentials": "^7.2.3",
42
51
  "@storybook/addon-interactions": "7.2.3",
43
52
  "@storybook/addon-links": "^7.2.3",
44
53
  "@storybook/addon-styling": "^1.3.6",
@@ -61,35 +70,28 @@
61
70
  "eslint-plugin-react": "^7.30.0",
62
71
  "eslint-plugin-react-hooks": "^4.5.0",
63
72
  "eslint-plugin-storybook": "^0.6.13",
73
+ "graphql": "^16.7.1",
64
74
  "jest": "^28.1.1",
65
75
  "jest-canvas-mock": "^2.4.0",
66
76
  "jest-environment-jsdom": "^28.1.1",
77
+ "js-cookie": "^3.0.5",
78
+ "lexical": "^0.12.0",
67
79
  "next": "^13.4.13",
68
80
  "postcss": "^8.4.23",
69
81
  "prettier": "^2.6.2",
70
82
  "prop-types": "^15.8.1",
71
83
  "react": "^18.1.0",
72
84
  "react-dom": "^18.1.0",
85
+ "react-hook-form": "^7.45.2",
73
86
  "storybook": "^7.2.3",
74
87
  "tailwindcss": "^3.3.3",
75
88
  "ts-jest": "^28.0.4",
76
89
  "typescript": "^4.7.3",
77
- "vite": "^4.3.9",
78
- "react-hook-form": "^7.45.2",
79
- "@headlessui/react": "^1.7.16",
80
- "@heroicons/react": "^2.0.18",
81
- "js-cookie": "^3.0.5",
82
- "@apollo/client": "3.8.1",
83
- "graphql": "^16.7.1",
84
- "@apollo/experimental-nextjs-app-support": "0.4.1",
85
- "@fortawesome/fontawesome-svg-core": "^6.4.0",
86
- "@fortawesome/free-solid-svg-icons": "^6.4.0",
87
- "@fortawesome/react-fontawesome": "^0.2.0"
90
+ "vite": "^4.3.9"
88
91
  },
89
92
  "eslintConfig": {
90
93
  "extends": [
91
94
  "plugin:storybook/recommended"
92
95
  ]
93
- },
94
- "dependencies": {}
96
+ }
95
97
  }