@uniai-fe/ui-legacy 0.1.13 → 0.1.14

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": "@uniai-fe/ui-legacy",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Legacy UI Toolkit for UNIAI FE Projects",
5
5
  "type": "module",
6
6
  "private": false,
@@ -10,7 +10,7 @@
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
13
- "packageManager": "pnpm@10.25.0",
13
+ "packageManager": "pnpm@10.27.0",
14
14
  "engines": {
15
15
  "node": ">=24",
16
16
  "pnpm": ">=10"
@@ -80,31 +80,31 @@
80
80
  "@dnd-kit/core": "^6.3.1",
81
81
  "@dnd-kit/sortable": "^10.0.0",
82
82
  "@dnd-kit/utilities": "^3.2.2",
83
- "@mantine/core": "^8.3.10",
84
- "@mantine/dates": "^8.3.10",
85
- "@mantine/hooks": "^8.3.10",
86
- "@mantine/tiptap": "^8.3.10",
87
- "@tanstack/react-query": "^5.90.12",
88
- "@tiptap/extension-blockquote": "^3.13.0",
89
- "@tiptap/extension-bold": "^3.13.0",
90
- "@tiptap/extension-code": "^3.13.0",
91
- "@tiptap/extension-code-block": "^3.13.0",
92
- "@tiptap/extension-document": "^3.13.0",
93
- "@tiptap/extension-hard-break": "^3.13.0",
94
- "@tiptap/extension-heading": "^3.13.0",
95
- "@tiptap/extension-horizontal-rule": "^3.13.0",
96
- "@tiptap/extension-italic": "^3.13.0",
97
- "@tiptap/extension-link": "^3.13.0",
98
- "@tiptap/extension-list": "^3.13.0",
99
- "@tiptap/extension-paragraph": "^3.13.0",
100
- "@tiptap/extension-placeholder": "^3.13.0",
101
- "@tiptap/extension-strike": "^3.13.0",
102
- "@tiptap/extension-text": "^3.13.0",
103
- "@tiptap/extension-text-align": "^3.13.0",
104
- "@tiptap/extension-underline": "^3.13.0",
105
- "@tiptap/pm": "^3.13.0",
106
- "@tiptap/react": "^3.13.0",
107
- "@tiptap/starter-kit": "^3.13.0",
83
+ "@mantine/core": "^8.3.11",
84
+ "@mantine/dates": "^8.3.11",
85
+ "@mantine/hooks": "^8.3.11",
86
+ "@mantine/tiptap": "^8.3.11",
87
+ "@tanstack/react-query": "^5.90.16",
88
+ "@tiptap/extension-blockquote": "^3.15.1",
89
+ "@tiptap/extension-bold": "^3.15.1",
90
+ "@tiptap/extension-code": "^3.15.1",
91
+ "@tiptap/extension-code-block": "^3.15.1",
92
+ "@tiptap/extension-document": "^3.15.1",
93
+ "@tiptap/extension-hard-break": "^3.15.1",
94
+ "@tiptap/extension-heading": "^3.15.1",
95
+ "@tiptap/extension-horizontal-rule": "^3.15.1",
96
+ "@tiptap/extension-italic": "^3.15.1",
97
+ "@tiptap/extension-link": "^3.15.1",
98
+ "@tiptap/extension-list": "^3.15.1",
99
+ "@tiptap/extension-paragraph": "^3.15.1",
100
+ "@tiptap/extension-placeholder": "^3.15.1",
101
+ "@tiptap/extension-strike": "^3.15.1",
102
+ "@tiptap/extension-text": "^3.15.1",
103
+ "@tiptap/extension-text-align": "^3.15.1",
104
+ "@tiptap/extension-underline": "^3.15.1",
105
+ "@tiptap/pm": "^3.15.1",
106
+ "@tiptap/react": "^3.15.1",
107
+ "@tiptap/starter-kit": "^3.15.1",
108
108
  "@types/node": "^24.10.2",
109
109
  "@types/react": "^19.2.7",
110
110
  "@types/react-dom": "^19.2.3",
@@ -118,12 +118,12 @@
118
118
  "@uniai-fe/util-next": "workspace:*",
119
119
  "@uniai-fe/util-react": "workspace:*",
120
120
  "airtable": "^0.12.2",
121
- "autoprefixer": "^10.4.22",
121
+ "autoprefixer": "^10.4.23",
122
122
  "clsx": "^2.1.1",
123
123
  "dayjs": "^1.11.19",
124
- "eslint": "^9.39.1",
124
+ "eslint": "^9.39.2",
125
125
  "flatpickr": "^4.6.13",
126
- "jotai": "^2.16.0",
126
+ "jotai": "^2.16.1",
127
127
  "next": "15.5.9",
128
128
  "postcss": "^8.5.6",
129
129
  "postcss-preset-mantine": "^1.18.0",
@@ -135,11 +135,11 @@
135
135
  "react-daum-postcode": "^3.2.0",
136
136
  "react-dom": "^19.2.3",
137
137
  "react-flatpickr": "3.10.13",
138
- "react-hook-form": "^7.68.0",
139
- "sass": "^1.96.0",
138
+ "react-hook-form": "^7.70.0",
139
+ "sass": "^1.97.2",
140
140
  "simplebar-core": "^1.3.2",
141
141
  "simplebar-react": "3.3.2",
142
- "styled-components": "^6.1.19",
142
+ "styled-components": "^6.2.0",
143
143
  "typescript": "~5.9.3"
144
144
  }
145
145
  }
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  import { clsx } from "clsx";
4
- import { RichTextEditor, type RichTextEditorProps } from "@mantine/tiptap";
4
+ import { type RichTextEditorProps } from "@mantine/tiptap";
5
5
  import { type Editor } from "@tiptap/react";
6
6
 
7
7
  import TextEditorToolbarContainer from "./toolbar/Container";
@@ -17,7 +17,7 @@ import TextEditorControlAlignCenter from "./toolbar/align/Center";
17
17
  import TextEditorControlAlignJustify from "./toolbar/align/Justify";
18
18
  import TextEditorControlAlignRight from "./toolbar/align/Right";
19
19
  import TextEditorContents from "./Contents";
20
- import StyledTextEditorBase from "../styles/styled/editor";
20
+ import StyledTextEditorContainer from "../styles/styled/editor";
21
21
 
22
22
  export default function TextEditorContainer({
23
23
  className,
@@ -32,8 +32,8 @@ export default function TextEditorContainer({
32
32
  editorProps: Omit<RichTextEditorProps, "editor">;
33
33
  }>) {
34
34
  return (
35
- <StyledTextEditorBase.Container
36
- as={RichTextEditor}
35
+ <StyledTextEditorContainer
36
+ // as={RichTextEditor}
37
37
  className={clsx("text-editor", className)}
38
38
  {...editorProps}
39
39
  editor={editor}
@@ -63,6 +63,6 @@ export default function TextEditorContainer({
63
63
  children
64
64
  )}
65
65
  <TextEditorContents />
66
- </StyledTextEditorBase.Container>
66
+ </StyledTextEditorContainer>
67
67
  );
68
68
  }
@@ -1,5 +1,6 @@
1
- import StyledTextEditorBase from "./styles/styled/editor";
1
+ import type { RichTextEditor } from "@mantine/tiptap";
2
+ import StyledTextEditorContainer from "./styles/styled/editor";
2
3
 
3
- const StyledTextEditor = { ...StyledTextEditorBase };
4
+ const StyledTextEditor: typeof RichTextEditor = StyledTextEditorContainer;
4
5
 
5
6
  export default StyledTextEditor;
@@ -1,8 +1,9 @@
1
1
  "use client";
2
2
 
3
3
  import styled from "styled-components";
4
+ import { RichTextEditor, type RichTextEditorProps } from "@mantine/tiptap";
4
5
 
5
- const Container = styled.div`
6
+ const Container = styled(RichTextEditor)<RichTextEditorProps>`
6
7
  --mantine-radius-default: 0.4rem;
7
8
  border-width: 1px;
8
9
  border-color: var(--text-editor-container-border-color);
@@ -66,8 +67,6 @@ const Container = styled.div`
66
67
  }
67
68
  `;
68
69
 
69
- const StyledTextEditorBase = {
70
- Container,
71
- };
70
+ const StyledTextEditorContainer: typeof RichTextEditor = Container;
72
71
 
73
- export default StyledTextEditorBase;
72
+ export default StyledTextEditorContainer;