@lotte-innovate/ui-component-test 0.0.157 → 0.0.158

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. package/README.md +8 -9
  2. package/dist/globals.css +2 -2
  3. package/dist/lib/Typography/Text/index.mjs +1 -1
  4. package/dist/lib/color/constants.js +1 -1
  5. package/dist/lib/color/constants.mjs +1 -1
  6. package/dist/lib/color/constants.mjs.map +1 -1
  7. package/dist/lib/components/Avatar/index.js +1 -0
  8. package/dist/lib/components/Avatar/index.mjs +1 -1
  9. package/dist/lib/components/Badge/index.js +3 -3
  10. package/dist/lib/components/Badge/index.mjs +1 -1
  11. package/dist/lib/components/Box/index.js +2 -2
  12. package/dist/lib/components/Box/index.mjs +1 -1
  13. package/dist/lib/components/Box/index.mjs.map +1 -1
  14. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +2 -2
  15. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +1 -1
  16. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -1
  17. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +3 -3
  18. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +1 -1
  19. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -1
  20. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +2 -2
  21. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +1 -1
  22. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +1 -1
  23. package/dist/lib/components/CheckboxGroup/index.d.ts +1 -1
  24. package/dist/lib/components/Container/index.js +2 -2
  25. package/dist/lib/components/Container/index.mjs +1 -1
  26. package/dist/lib/components/Container/index.mjs.map +1 -1
  27. package/dist/lib/components/Datepicker/index.d.ts +2 -1
  28. package/dist/lib/components/Datepicker/index.js +6 -3
  29. package/dist/lib/components/Datepicker/index.mjs +1 -1
  30. package/dist/lib/components/Dialog/DialogAction.mjs +1 -1
  31. package/dist/lib/components/Dialog/DialogCancel.js +1 -1
  32. package/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
  33. package/dist/lib/components/Dialog/DialogContent.js +1 -1
  34. package/dist/lib/components/Dialog/DialogContent.mjs +1 -1
  35. package/dist/lib/components/Dialog/DialogRoot.d.ts +2 -2
  36. package/dist/lib/components/Dialog/DialogTrigger.js +1 -0
  37. package/dist/lib/components/Dialog/DialogTrigger.mjs +1 -0
  38. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -1
  39. package/dist/lib/components/Dialog/index.d.ts +1 -1
  40. package/dist/lib/components/Dialog/index.js +16 -16
  41. package/dist/lib/components/Dialog/index.mjs.map +1 -1
  42. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +3 -3
  43. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -1
  44. package/dist/lib/components/Editor/index.d.ts +0 -1
  45. package/dist/lib/components/Editor/index.js +11 -2
  46. package/dist/lib/components/Editor/index.mjs +1 -1
  47. package/dist/lib/components/Flex/index.js +2 -2
  48. package/dist/lib/components/Flex/index.mjs +1 -1
  49. package/dist/lib/components/Flex/index.mjs.map +1 -1
  50. package/dist/lib/components/Gnb/GnbInfo.js +2 -2
  51. package/dist/lib/components/Gnb/GnbInfo.mjs +1 -1
  52. package/dist/lib/components/Gnb/GnbLogo.js +1 -1
  53. package/dist/lib/components/Gnb/GnbLogo.mjs +1 -1
  54. package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -1
  55. package/dist/lib/components/Gnb/GnbMenuItem.js +1 -1
  56. package/dist/lib/components/Gnb/GnbMenuItem.mjs +1 -1
  57. package/dist/lib/components/Grid/NumberingPagination.js +64 -22
  58. package/dist/lib/components/Grid/NumberingPagination.mjs +1 -1
  59. package/dist/lib/components/Grid/NumberingPagination.mjs.map +1 -1
  60. package/dist/lib/components/Grid/index.d.ts +1 -0
  61. package/dist/lib/components/Grid/index.js +57 -39
  62. package/dist/lib/components/Grid/index.mjs +1 -1
  63. package/dist/lib/components/Grid/useGrid.js +30 -14
  64. package/dist/lib/components/Grid/useGrid.mjs +1 -1
  65. package/dist/lib/components/IconButton/index.js +10 -10
  66. package/dist/lib/components/IconButton/index.mjs +1 -1
  67. package/dist/lib/components/Modal/ModalAction.js +1 -1
  68. package/dist/lib/components/Modal/ModalAction.mjs +1 -1
  69. package/dist/lib/components/Modal/ModalCancel.mjs +1 -1
  70. package/dist/lib/components/Modal/ModalTitle.js +1 -1
  71. package/dist/lib/components/Modal/ModalTitle.mjs +1 -1
  72. package/dist/lib/components/Radio/index.js +3 -2
  73. package/dist/lib/components/Radio/index.mjs +1 -1
  74. package/dist/lib/components/SearchBar/index.js +2 -2
  75. package/dist/lib/components/SearchBar/index.mjs +1 -1
  76. package/dist/lib/components/Select/index.d.ts +2 -2
  77. package/dist/lib/components/Select/index.js +1 -1
  78. package/dist/lib/components/Select/index.mjs +1 -1
  79. package/dist/lib/components/SideBar/index.d.ts +27 -0
  80. package/dist/lib/components/SideBar/index.js +17 -4
  81. package/dist/lib/components/SideBar/index.mjs +1 -1
  82. package/dist/lib/components/Table/index.d.ts +1 -1
  83. package/dist/lib/components/Table/index.js +17 -10
  84. package/dist/lib/components/Table/index.mjs +1 -1
  85. package/dist/lib/components/Tabs/DynamicTabs.d.ts +4 -2
  86. package/dist/lib/components/Tabs/DynamicTabs.js +21 -16
  87. package/dist/lib/components/Tabs/DynamicTabs.mjs +1 -1
  88. package/dist/lib/components/TextField/index.js +3 -5
  89. package/dist/lib/components/TextField/index.mjs +1 -1
  90. package/dist/lib/components/Tree/index.d.ts +1 -0
  91. package/dist/lib/components/Tree/index.js +22 -1
  92. package/dist/lib/components/Tree/index.mjs +1 -1
  93. package/dist/lib/components/Tree/index.mjs.map +1 -1
  94. package/dist/lib/index.mjs +1 -1
  95. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  96. package/dist/lib/utils/useLoadTinyMCE.d.ts +1 -37
  97. package/dist/lib/utils/useLoadTinyMCE.js +151 -36
  98. package/dist/lib/utils/useLoadTinyMCE.mjs +2 -0
  99. package/dist/lib/utils/useLoadTinyMCE.mjs.map +1 -0
  100. package/dist/tsconfig.tsbuildinfo +1 -1
  101. package/package.json +1 -1
  102. package/dist/lib/is-client-ctx.d.ts +0 -4
  103. package/dist/lib/is-client-ctx.js +0 -11
  104. package/dist/lib/is-client-ctx.mjs +0 -2
  105. package/dist/lib/is-client-ctx.mjs.map +0 -1
package/README.md CHANGED
@@ -38,15 +38,15 @@
38
38
 
39
39
  프로젝트 App 진입 파일에 다음 줄을 추가해줍니다.
40
40
 
41
- ```
42
- import '@lotte-innovate/lui/dist/globals.css';
41
+ ```javascript
42
+ import '@lotte-innovate/lui/dist/globals.css';
43
43
  ```
44
44
 
45
45
  ## Usage
46
46
 
47
47
  React 프로젝트에서 컴포넌트를 사용하는 방법에 대한 예시입니다.
48
48
 
49
- ```javascript
49
+ ```tsx
50
50
  import React from 'react';
51
51
  import { Button } from '@lotte-innovate/lui';
52
52
 
@@ -63,7 +63,7 @@ export default App;
63
63
 
64
64
  컴포넌트에서 아이콘을 사용하려면, 다음과 같은 방법으로 아이콘을 가져올 수 있습니다.
65
65
 
66
- ```javascript
66
+ ```tsx
67
67
  import React from 'react';
68
68
  import { IconButton } from '@lotte-innovate/lui';
69
69
  import { MagnifyingGlassIcon } from '@radix-ui/react-icons';
@@ -140,7 +140,7 @@ L-UI는 테마 컨텍스트를 제공하여 `Color`, `Radius`, `Scaling`, `Weigh
140
140
 
141
141
  > Next.js와 같은 프레임워크를 사용하는 프로젝트에서 사용 예시
142
142
 
143
- ```javascript
143
+ ```tsx
144
144
  import { LuiThemeProvider } from '@lotte-innovate/lui';
145
145
 
146
146
  export default function RootLayout({
@@ -156,12 +156,11 @@ export default function RootLayout({
156
156
  </html>
157
157
  );
158
158
  }
159
-
160
159
  ```
161
160
 
162
161
  > 클라이언트 사이드 프로젝트에서 사용 예시
163
162
 
164
- ```javascript
163
+ ```tsx
165
164
  import { LuiThemeProvider } from '@lotte-innovate/lui';
166
165
 
167
166
  const root = ReactDOM.createRoot(document.getElementById('root'));
@@ -176,7 +175,7 @@ root.render(
176
175
 
177
176
  `useTheme`훅은 현재 테마와 테마를 업데이트할 수 있는 함수를 제공합니다.
178
177
 
179
- ```javascript
178
+ ```tsx
180
179
  import { useTheme, Button } from '@lotte-innovate/lui';
181
180
 
182
181
  const ThemeChanger = () => {
@@ -201,7 +200,7 @@ const ThemeChanger = () => {
201
200
 
202
201
  테마가 적용되었지만 일부 컴포넌트는 스타일을 다르게 하고 싶은 경우, 각 컴포넌트에 직접 Props를 전달하여 스타일을 재정의할 수 있습니다.
203
202
 
204
- ```javascript
203
+ ```tsx
205
204
  import { useTheme, Button } from '@lotte-innovate/lui';
206
205
 
207
206
  const ThemeChanger = () => {