@nurihaus/web-design-system 3.9.3 → 3.9.4

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 (270) hide show
  1. package/README.md +2 -0
  2. package/dist/.storybook/migration.d.ts +1 -0
  3. package/dist/.storybook/usage.d.ts +23 -0
  4. package/dist/agreement.js +1110 -0
  5. package/dist/ai/components.md +3504 -250
  6. package/dist/ai/motion.md +58 -6
  7. package/dist/ai/tokens.md +53 -25
  8. package/dist/alphabet-keypad.js +446 -0
  9. package/dist/asset.js +47 -5
  10. package/dist/avatar.js +50 -8
  11. package/dist/bar-chart.js +478 -0
  12. package/dist/board-row.js +379 -0
  13. package/dist/border.js +223 -0
  14. package/dist/bottom-cta.js +378 -0
  15. package/dist/bottom-info.js +253 -0
  16. package/dist/bottom-nav.js +12 -64
  17. package/dist/bottom-sheet.js +608 -0
  18. package/dist/check-box.js +29 -162
  19. package/dist/chip-group.js +2 -2
  20. package/dist/{chunk-5589.js → chunk-1657.js} +2 -34
  21. package/dist/{chunk-9387.js → chunk-1768.js} +2 -2
  22. package/dist/chunk-1983.js +37 -1
  23. package/dist/chunk-2046.js +73 -0
  24. package/dist/chunk-2060.js +34 -0
  25. package/dist/chunk-2308.js +184 -0
  26. package/dist/chunk-2777.js +1 -0
  27. package/dist/chunk-3091.js +54 -0
  28. package/dist/chunk-4109.js +115 -0
  29. package/dist/chunk-4205.js +47 -0
  30. package/dist/chunk-4324.js +109 -0
  31. package/dist/chunk-4328.js +69 -0
  32. package/dist/chunk-4558.js +5 -116
  33. package/dist/chunk-4917.js +1 -1
  34. package/dist/chunk-5670.js +1 -29
  35. package/dist/chunk-6096.js +176 -0
  36. package/dist/{chunk-8377.js → chunk-6149.js} +2 -36
  37. package/dist/chunk-6478.js +155 -0
  38. package/dist/chunk-6499.js +39 -0
  39. package/dist/chunk-6616.js +84 -0
  40. package/dist/chunk-674.js +133 -0
  41. package/dist/chunk-7024.js +152 -0
  42. package/dist/chunk-7232.js +122 -0
  43. package/dist/chunk-7298.js +1 -1
  44. package/dist/chunk-7589.js +40 -0
  45. package/dist/chunk-7593.js +85 -0
  46. package/dist/chunk-7653.js +16 -0
  47. package/dist/chunk-7737.js +21 -0
  48. package/dist/chunk-7739.js +1 -5
  49. package/dist/chunk-829.js +38 -0
  50. package/dist/chunk-8491.js +43 -0
  51. package/dist/chunk-8787.js +0 -180
  52. package/dist/chunk-8982.js +186 -0
  53. package/dist/chunk-910.js +1 -1
  54. package/dist/chunk-9497.js +11 -1
  55. package/dist/collapsible-menu.js +3 -3
  56. package/dist/components/agreement/agreement-props.d.ts +44 -0
  57. package/dist/components/agreement/agreement-type.d.ts +107 -0
  58. package/dist/components/agreement/agreement.d.ts +26 -0
  59. package/dist/components/agreement/agreement.stories.d.ts +72 -0
  60. package/dist/components/agreement/base-agreement.d.ts +40 -0
  61. package/dist/components/asset/asset-type.d.ts +34 -1
  62. package/dist/components/asset/asset.d.ts +9 -7
  63. package/dist/components/asset/asset.stories.d.ts +11 -5
  64. package/dist/components/asset/base-asset.d.ts +5 -1
  65. package/dist/components/bar-chart/bar-chart-fill.d.ts +6 -0
  66. package/dist/components/bar-chart/bar-chart-props.d.ts +17 -0
  67. package/dist/components/bar-chart/bar-chart-type.d.ts +52 -0
  68. package/dist/components/bar-chart/bar-chart.d.ts +4 -0
  69. package/dist/components/bar-chart/bar-chart.stories.d.ts +65 -0
  70. package/dist/components/bar-chart/base-bar-chart.d.ts +17 -0
  71. package/dist/components/board-row/base-board-row.d.ts +13 -0
  72. package/dist/components/board-row/board-row-props.d.ts +2 -0
  73. package/dist/components/board-row/board-row-type.d.ts +22 -0
  74. package/dist/components/board-row/board-row.d.ts +8 -0
  75. package/dist/components/board-row/board-row.stories.d.ts +32 -0
  76. package/dist/components/border/base-border.d.ts +4 -0
  77. package/dist/components/border/border-props.d.ts +10 -0
  78. package/dist/components/border/border-type.d.ts +7 -0
  79. package/dist/components/border/border.d.ts +5 -0
  80. package/dist/components/border/border.stories.d.ts +19 -0
  81. package/dist/components/bottom-cta/base-bottom-cta.d.ts +4 -0
  82. package/dist/components/bottom-cta/bottom-cta-props.d.ts +10 -0
  83. package/dist/components/bottom-cta/bottom-cta-type.d.ts +39 -0
  84. package/dist/components/bottom-cta/bottom-cta.d.ts +35 -0
  85. package/dist/components/bottom-cta/bottom-cta.stories.d.ts +79 -0
  86. package/dist/components/bottom-info/base-bottom-info.d.ts +4 -0
  87. package/dist/components/bottom-info/bottom-info-props.d.ts +1 -0
  88. package/dist/components/bottom-info/bottom-info-type.d.ts +6 -0
  89. package/dist/components/bottom-info/bottom-info.d.ts +4 -0
  90. package/dist/components/bottom-info/bottom-info.stories.d.ts +22 -0
  91. package/dist/components/bottom-sheet/base-bottom-sheet.d.ts +17 -0
  92. package/dist/components/bottom-sheet/bottom-sheet-props.d.ts +1 -0
  93. package/dist/components/bottom-sheet/bottom-sheet-snap.d.ts +15 -0
  94. package/dist/components/bottom-sheet/bottom-sheet-type.d.ts +55 -0
  95. package/dist/components/bottom-sheet/bottom-sheet.d.ts +4 -0
  96. package/dist/components/bottom-sheet/bottom-sheet.stories.d.ts +47 -0
  97. package/dist/components/check-box/check-box-type.d.ts +3 -0
  98. package/dist/components/core/composer/index.d.ts +2 -0
  99. package/dist/components/elements/text/text-props.d.ts +1 -0
  100. package/dist/components/empty-state/empty-state-props.d.ts +5 -3
  101. package/dist/components/empty-state/empty-state-type.d.ts +17 -5
  102. package/dist/components/empty-state/empty-state.d.ts +8 -3
  103. package/dist/components/empty-state/empty-state.stories.d.ts +299 -7
  104. package/dist/components/grid-list/base-grid-list.d.ts +10 -0
  105. package/dist/components/grid-list/grid-list-props.d.ts +11 -0
  106. package/dist/components/grid-list/grid-list-type.d.ts +24 -0
  107. package/dist/components/grid-list/grid-list.d.ts +6 -0
  108. package/dist/components/grid-list/grid-list.stories.d.ts +30 -0
  109. package/dist/components/highlight/base-highlight.d.ts +14 -0
  110. package/dist/components/highlight/highlight-props.d.ts +2 -0
  111. package/dist/components/highlight/highlight-type.d.ts +42 -0
  112. package/dist/components/highlight/highlight.d.ts +4 -0
  113. package/dist/components/highlight/highlight.stories.d.ts +31 -0
  114. package/dist/components/icon/icon-paths.d.ts +16 -0
  115. package/dist/components/icon/icon.stories.d.ts +1 -1
  116. package/dist/components/icon-button/icon-button-type.d.ts +2 -0
  117. package/dist/components/icon-button/icon-button.stories.d.ts +2 -0
  118. package/dist/components/keypad/alphabet-keypad.d.ts +4 -0
  119. package/dist/components/keypad/alphabet-keypad.stories.d.ts +24 -0
  120. package/dist/components/keypad/base-keypad.d.ts +6 -0
  121. package/dist/components/keypad/full-secure-keypad.d.ts +4 -0
  122. package/dist/components/keypad/full-secure-keypad.stories.d.ts +26 -0
  123. package/dist/components/keypad/keypad-layout.d.ts +16 -0
  124. package/dist/components/keypad/keypad-props.d.ts +16 -0
  125. package/dist/components/keypad/keypad-type.d.ts +66 -0
  126. package/dist/components/keypad/number-keypad.d.ts +4 -0
  127. package/dist/components/keypad/number-keypad.stories.d.ts +26 -0
  128. package/dist/components/keypad/use-keypad-decoys.d.ts +10 -0
  129. package/dist/components/list/base-list.d.ts +3 -0
  130. package/dist/components/list/list-footer.d.ts +5 -0
  131. package/dist/components/list/list-footer.stories.d.ts +304 -0
  132. package/dist/components/list/list-group.d.ts +1 -1
  133. package/dist/components/list/list-group.stories.d.ts +2 -0
  134. package/dist/components/list/list-header.d.ts +5 -0
  135. package/dist/components/list/list-header.stories.d.ts +302 -0
  136. package/dist/components/list/list-props.d.ts +33 -1
  137. package/dist/components/list/list-row.d.ts +5 -4
  138. package/dist/components/list/list-row.stories.d.ts +15 -1
  139. package/dist/components/list/list-type.d.ts +44 -2
  140. package/dist/components/logging/logging-type.d.ts +1 -1
  141. package/dist/components/menu/base-menu.d.ts +21 -0
  142. package/dist/components/menu/menu-props.d.ts +2 -0
  143. package/dist/components/menu/menu-type.d.ts +70 -0
  144. package/dist/components/menu/menu.d.ts +8 -0
  145. package/dist/components/menu/menu.stories.d.ts +54 -0
  146. package/dist/components/message/message.stories.d.ts +4 -4
  147. package/dist/components/notice/notice.stories.d.ts +1 -1
  148. package/dist/components/numeric-spinner/base-numeric-spinner.d.ts +8 -0
  149. package/dist/components/numeric-spinner/numeric-spinner-props.d.ts +5 -0
  150. package/dist/components/numeric-spinner/numeric-spinner-type.d.ts +29 -0
  151. package/dist/components/numeric-spinner/numeric-spinner.d.ts +4 -0
  152. package/dist/components/numeric-spinner/numeric-spinner.stories.d.ts +36 -0
  153. package/dist/components/overlay/overlay-context.d.ts +10 -0
  154. package/dist/components/overlay/overlay-provider.d.ts +1 -1
  155. package/dist/components/overlay/overlay-type.d.ts +23 -0
  156. package/dist/components/overlay/overlay.d.ts +2 -1
  157. package/dist/components/overlay/overlay.stories.d.ts +2 -0
  158. package/dist/components/overlay/use-bottom-sheet.d.ts +3 -0
  159. package/dist/components/paragraph/base-paragraph.d.ts +14 -0
  160. package/dist/components/paragraph/paragraph-props.d.ts +25 -0
  161. package/dist/components/paragraph/paragraph-type.d.ts +33 -0
  162. package/dist/components/paragraph/paragraph.d.ts +9 -0
  163. package/dist/components/paragraph/paragraph.stories.d.ts +54 -0
  164. package/dist/components/post/base-post.d.ts +19 -0
  165. package/dist/components/post/post-props.d.ts +31 -0
  166. package/dist/components/post/post-type.d.ts +34 -0
  167. package/dist/components/post/post.d.ts +16 -0
  168. package/dist/components/post/post.stories.d.ts +35 -0
  169. package/dist/components/rating/base-rating.d.ts +11 -0
  170. package/dist/components/rating/rating-props.d.ts +11 -0
  171. package/dist/components/rating/rating-type.d.ts +46 -0
  172. package/dist/components/rating/rating.d.ts +4 -0
  173. package/dist/components/rating/rating.stories.d.ts +35 -0
  174. package/dist/components/search-field/base-search-field.d.ts +4 -0
  175. package/dist/components/search-field/search-field-props.d.ts +2 -0
  176. package/dist/components/search-field/search-field-type.d.ts +25 -0
  177. package/dist/components/search-field/search-field.d.ts +8 -0
  178. package/dist/components/search-field/search-field.stories.d.ts +39 -0
  179. package/dist/components/segmented-control/base-segmented-control.d.ts +8 -0
  180. package/dist/components/segmented-control/segmented-control-props.d.ts +5 -0
  181. package/dist/components/segmented-control/segmented-control-type.d.ts +31 -0
  182. package/dist/components/segmented-control/segmented-control.d.ts +4 -0
  183. package/dist/components/segmented-control/segmented-control.stories.d.ts +39 -0
  184. package/dist/components/skeleton/skeleton.stories.d.ts +2 -2
  185. package/dist/components/slider/base-slider.d.ts +13 -0
  186. package/dist/components/slider/slider-props.d.ts +10 -0
  187. package/dist/components/slider/slider-type.d.ts +46 -0
  188. package/dist/components/slider/slider.d.ts +4 -0
  189. package/dist/components/slider/slider.stories.d.ts +38 -0
  190. package/dist/components/split-text-field/base-split-text-field.d.ts +4 -0
  191. package/dist/components/split-text-field/split-text-field-props.d.ts +23 -0
  192. package/dist/components/split-text-field/split-text-field-type.d.ts +46 -0
  193. package/dist/components/split-text-field/split-text-field.d.ts +7 -0
  194. package/dist/components/split-text-field/split-text-field.stories.d.ts +38 -0
  195. package/dist/components/table-row/base-table-row.d.ts +4 -0
  196. package/dist/components/table-row/table-row-props.d.ts +14 -0
  197. package/dist/components/table-row/table-row-type.d.ts +13 -0
  198. package/dist/components/table-row/table-row.d.ts +5 -0
  199. package/dist/components/table-row/table-row.stories.d.ts +24 -0
  200. package/dist/components/text-button/base-text-button.d.ts +3 -0
  201. package/dist/components/text-button/text-button-props.d.ts +19 -0
  202. package/dist/components/text-button/text-button-type.d.ts +17 -0
  203. package/dist/components/text-button/text-button.d.ts +5 -0
  204. package/dist/components/text-button/text-button.stories.d.ts +47 -0
  205. package/dist/components/text-field/text-field-type.d.ts +2 -1
  206. package/dist/components/toast/toast.stories.d.ts +2 -2
  207. package/dist/components/top/base-top.d.ts +4 -0
  208. package/dist/components/top/top-props.d.ts +12 -0
  209. package/dist/components/top/top-type.d.ts +20 -0
  210. package/dist/components/top/top.d.ts +5 -0
  211. package/dist/components/top/top.stories.d.ts +320 -0
  212. package/dist/components.css +2221 -116
  213. package/dist/cta-button.js +11 -9
  214. package/dist/drawer.js +18 -113
  215. package/dist/drop-down.js +4 -4
  216. package/dist/empty-state.js +16 -7
  217. package/dist/full-secure-keypad.js +524 -0
  218. package/dist/grid-list.js +378 -0
  219. package/dist/helpers/hooks/useIndicatorPosition.d.ts +7 -0
  220. package/dist/helpers/hooks/useKeyboardInset.d.ts +5 -0
  221. package/dist/helpers/hooks/useScrollStart.d.ts +9 -0
  222. package/dist/helpers/motion/use-reveal-children.d.ts +6 -0
  223. package/dist/helpers/types/propsDef.d.ts +4 -2
  224. package/dist/highlight.js +492 -0
  225. package/dist/icon-button.js +53 -96
  226. package/dist/icon-text-badge.js +5 -3
  227. package/dist/icon-text-option-badge.js +4 -2
  228. package/dist/index.d.ts +52 -4
  229. package/dist/index.js +11495 -4918
  230. package/dist/list-footer.js +339 -0
  231. package/dist/list-group.js +61 -18
  232. package/dist/list-header.js +293 -0
  233. package/dist/list-row.js +243 -26
  234. package/dist/loading.js +7 -5
  235. package/dist/media-thumbnail.js +6 -6
  236. package/dist/menu.js +527 -0
  237. package/dist/message-composer.js +2 -2
  238. package/dist/modal-with-double-button.js +17 -13
  239. package/dist/modal.js +9 -7
  240. package/dist/notice.js +14 -12
  241. package/dist/number-keypad.js +436 -0
  242. package/dist/numeric-spinner.js +396 -0
  243. package/dist/option-badge.js +5 -3
  244. package/dist/overlay.js +555 -21
  245. package/dist/pagination.js +2 -2
  246. package/dist/paragraph.js +286 -0
  247. package/dist/post.js +568 -0
  248. package/dist/radio.js +5 -3
  249. package/dist/rating.js +437 -0
  250. package/dist/scripts/usage-doc.d.mts +83 -0
  251. package/dist/search-field.js +516 -0
  252. package/dist/segmented-control.js +409 -0
  253. package/dist/skeleton-group.js +28 -151
  254. package/dist/skeleton.js +3 -1
  255. package/dist/slider.js +419 -0
  256. package/dist/split-text-field.js +498 -0
  257. package/dist/styles.css +1926 -159
  258. package/dist/switch.js +5 -3
  259. package/dist/table-row.js +284 -0
  260. package/dist/tabs.js +13 -69
  261. package/dist/text-area.js +7 -5
  262. package/dist/text-button.js +357 -0
  263. package/dist/text-field.js +47 -204
  264. package/dist/text.js +5 -7
  265. package/dist/toast.js +15 -13
  266. package/dist/tokens.css +66 -10
  267. package/dist/tooltip.js +2 -2
  268. package/dist/top.js +312 -0
  269. package/package.json +107 -2
  270. package/dist/chunk-3839.js +0 -54
package/dist/switch.js CHANGED
@@ -422,17 +422,19 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
422
422
  /******/ __nuri_require__.C(__webpack_chunk_4__);
423
423
  /******/ import * as __webpack_chunk_5__ from "./chunk-2777.js";
424
424
  /******/ __nuri_require__.C(__webpack_chunk_5__);
425
- /******/ import * as __webpack_chunk_6__ from "./chunk-9387.js";
425
+ /******/ import * as __webpack_chunk_6__ from "./chunk-1768.js";
426
426
  /******/ __nuri_require__.C(__webpack_chunk_6__);
427
427
  /******/ import * as __webpack_chunk_7__ from "./chunk-3640.js";
428
428
  /******/ __nuri_require__.C(__webpack_chunk_7__);
429
- /******/ import * as __webpack_chunk_8__ from "./chunk-8787.js";
429
+ /******/ import * as __webpack_chunk_8__ from "./chunk-8982.js";
430
430
  /******/ __nuri_require__.C(__webpack_chunk_8__);
431
+ /******/ import * as __webpack_chunk_9__ from "./chunk-8787.js";
432
+ /******/ __nuri_require__.C(__webpack_chunk_9__);
431
433
  /******/
432
434
  /******/ // startup
433
435
  /******/ // Load entry module and return exports
434
436
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
435
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,9387,3640,8787], () => (__nuri_require__(8614)))
437
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,1768,3640,8982,8787], () => (__nuri_require__(8614)))
436
438
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
437
439
  /******/ const __webpack_exports__default = __webpack_exports__.A;
438
440
  /******/ export { __webpack_exports__default as default };
@@ -0,0 +1,284 @@
1
+ "use client";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
4
+ /******/ var __webpack_modules__ = ({
5
+
6
+ /***/ 3811
7
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
8
+
9
+
10
+ // EXPORTS
11
+ __nuri_require__.d(__webpack_exports__, {
12
+ A: () => (/* binding */ table_row)
13
+ });
14
+
15
+ // EXTERNAL MODULE: external {"root":"jsx-runtime","commonjs2":"react/jsx-runtime","commonjs":"react/jsx-runtime","amd":"react/jsx-runtime","module":"react/jsx-runtime"}
16
+ var jsx_runtime_ = __nuri_require__(612);
17
+ // EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
18
+ var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(1041);
19
+ // EXTERNAL MODULE: ./helpers/utils/classNames.js
20
+ var classNames = __nuri_require__(3274);
21
+ // EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
22
+ var getMergedProps = __nuri_require__(7335);
23
+ ;// ./components/table-row/base-table-row.tsx
24
+ var __assign = undefined && undefined.__assign || function () {
25
+ __assign = Object.assign || function (t) {
26
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
27
+ s = arguments[i];
28
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
29
+ }
30
+ return t;
31
+ };
32
+ return __assign.apply(this, arguments);
33
+ };
34
+ var __rest = undefined && undefined.__rest || function (s, e) {
35
+ var t = {};
36
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
37
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
38
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
39
+ }
40
+ return t;
41
+ };
42
+
43
+
44
+
45
+ var BaseTableRow = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
46
+ var className = props.className,
47
+ restProps = __rest(props, ["className"]);
48
+ return (0,jsx_runtime_.jsx)("div", __assign({
49
+ ref: ref,
50
+ className: (0,classNames/* classNames */.x)('nuri-theme base-table-row', className)
51
+ }, restProps));
52
+ });
53
+ BaseTableRow.displayName = 'BaseTableRow';
54
+ /* harmony default export */ const base_table_row = (BaseTableRow);
55
+ ;// ./components/table-row/table-row-props.ts
56
+ /** space-between 은 값을 오른쪽 끝에, left 는 라벨 바로 뒤에 붙인다 */
57
+ var align = ['space-between', 'left'];
58
+ var tableRowProps = {
59
+ align: {
60
+ type: 'className',
61
+ className: 'align',
62
+ values: align,
63
+ "default": 'space-between'
64
+ },
65
+ leftRatio: {
66
+ type: 'css',
67
+ key: '--table-row-left-ratio'
68
+ }
69
+ };
70
+ ;// ./components/table-row/table-row.tsx
71
+ var table_row_assign = undefined && undefined.__assign || function () {
72
+ table_row_assign = Object.assign || function (t) {
73
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
74
+ s = arguments[i];
75
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
76
+ }
77
+ return t;
78
+ };
79
+ return table_row_assign.apply(this, arguments);
80
+ };
81
+ var table_row_rest = undefined && undefined.__rest || function (s, e) {
82
+ var t = {};
83
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
84
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
85
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
86
+ }
87
+ return t;
88
+ };
89
+
90
+
91
+
92
+
93
+
94
+
95
+ /** 요약 화면의 이름–값 한 줄. 라벨은 왼쪽, 값은 오른쪽 끝이나 라벨 바로 뒤 */
96
+ var TableRow = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
97
+ var _a = (0,getMergedProps/* getMergedProps */.p)(props, tableRowProps),
98
+ className = _a.className,
99
+ left = _a.left,
100
+ right = _a.right,
101
+ restProps = table_row_rest(_a, ["className", "left", "right"]);
102
+ return (0,jsx_runtime_.jsxs)(base_table_row, table_row_assign({
103
+ ref: ref,
104
+ className: (0,classNames/* classNames */.x)(className, 'table-row')
105
+ }, restProps, {
106
+ children: [(0,jsx_runtime_.jsx)("div", {
107
+ className: 'table-row-left',
108
+ children: left
109
+ }), (0,jsx_runtime_.jsx)("div", {
110
+ className: 'table-row-right',
111
+ children: right
112
+ })]
113
+ }));
114
+ });
115
+ TableRow.displayName = 'TableRow';
116
+ /* harmony default export */ const table_row = (TableRow);
117
+
118
+ /***/ },
119
+
120
+ /***/ 1041
121
+ (module, __unused_webpack_exports, __nuri_require__) {
122
+
123
+ var x = (y) => {
124
+ var x = {}; __nuri_require__.d(x, y); return x
125
+ }
126
+ var y = (x) => (() => (x))
127
+ module.exports = x({ ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef) });
128
+
129
+ /***/ },
130
+
131
+ /***/ 612
132
+ (module, __unused_webpack_exports, __nuri_require__) {
133
+
134
+ var x = (y) => {
135
+ var x = {}; __nuri_require__.d(x, y); return x
136
+ }
137
+ var y = (x) => (() => (x))
138
+ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
139
+
140
+ /***/ }
141
+
142
+ /******/ });
143
+ /************************************************************************/
144
+ /******/ // The module cache
145
+ /******/ var __webpack_module_cache__ = {};
146
+ /******/
147
+ /******/ // The require function
148
+ /******/ function __nuri_require__(moduleId) {
149
+ /******/ // Check if module is in cache
150
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
151
+ /******/ if (cachedModule !== undefined) {
152
+ /******/ return cachedModule.exports;
153
+ /******/ }
154
+ /******/ // Create a new module (and put it into the cache)
155
+ /******/ var module = __webpack_module_cache__[moduleId] = {
156
+ /******/ // no module.id needed
157
+ /******/ // no module.loaded needed
158
+ /******/ exports: {}
159
+ /******/ };
160
+ /******/
161
+ /******/ // Execute the module function
162
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
163
+ /******/
164
+ /******/ // Return the exports of the module
165
+ /******/ return module.exports;
166
+ /******/ }
167
+ /******/
168
+ /******/ // expose the modules object (__webpack_modules__)
169
+ /******/ __nuri_require__.m = __webpack_modules__;
170
+ /******/
171
+ /************************************************************************/
172
+ /******/ /* webpack/runtime/chunk loaded */
173
+ /******/ (() => {
174
+ /******/ var deferred = [];
175
+ /******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
176
+ /******/ if(chunkIds) {
177
+ /******/ priority = priority || 0;
178
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
179
+ /******/ deferred[i] = [chunkIds, fn, priority];
180
+ /******/ return;
181
+ /******/ }
182
+ /******/ var notFulfilled = Infinity;
183
+ /******/ for (var i = 0; i < deferred.length; i++) {
184
+ /******/ var [chunkIds, fn, priority] = deferred[i];
185
+ /******/ var fulfilled = true;
186
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
187
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
188
+ /******/ chunkIds.splice(j--, 1);
189
+ /******/ } else {
190
+ /******/ fulfilled = false;
191
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
192
+ /******/ }
193
+ /******/ }
194
+ /******/ if(fulfilled) {
195
+ /******/ deferred.splice(i--, 1)
196
+ /******/ var r = fn();
197
+ /******/ if (r !== undefined) result = r;
198
+ /******/ }
199
+ /******/ }
200
+ /******/ return result;
201
+ /******/ };
202
+ /******/ })();
203
+ /******/
204
+ /******/ /* webpack/runtime/define property getters */
205
+ /******/ (() => {
206
+ /******/ // define getter functions for harmony exports
207
+ /******/ __nuri_require__.d = (exports, definition) => {
208
+ /******/ for(var key in definition) {
209
+ /******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
210
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
211
+ /******/ }
212
+ /******/ }
213
+ /******/ };
214
+ /******/ })();
215
+ /******/
216
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
217
+ /******/ (() => {
218
+ /******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
219
+ /******/ })();
220
+ /******/
221
+ /******/ /* webpack/runtime/export webpack runtime */
222
+ /******/ export { __nuri_require__ };
223
+ /******/
224
+ /******/ /* webpack/runtime/import chunk loading */
225
+ /******/ (() => {
226
+ /******/ // no baseURI
227
+ /******/
228
+ /******/ // object to store loaded and loading chunks
229
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
230
+ /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
231
+ /******/ var installedChunks = {
232
+ /******/ 1774: 0
233
+ /******/ };
234
+ /******/
235
+ /******/ var installChunk = (data) => {
236
+ /******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
237
+ /******/ // add "modules" to the modules object,
238
+ /******/ // then flag all "ids" as loaded and fire callback
239
+ /******/ var moduleId, chunkId, i = 0;
240
+ /******/ for(moduleId in __webpack_esm_modules__) {
241
+ /******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
242
+ /******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
243
+ /******/ }
244
+ /******/ }
245
+ /******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
246
+ /******/ for(;i < __webpack_esm_ids__.length; i++) {
247
+ /******/ chunkId = __webpack_esm_ids__[i];
248
+ /******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
249
+ /******/ installedChunks[chunkId][0]();
250
+ /******/ }
251
+ /******/ installedChunks[__webpack_esm_ids__[i]] = 0;
252
+ /******/ }
253
+ /******/ __nuri_require__.O();
254
+ /******/ }
255
+ /******/
256
+ /******/ // no chunk on demand loading
257
+ /******/
258
+ /******/ // no prefetching
259
+ /******/
260
+ /******/ // no preloaded
261
+ /******/
262
+ /******/ __nuri_require__.C = installChunk;
263
+ /******/
264
+ /******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
265
+ /******/ // no HMR
266
+ /******/
267
+ /******/ // no HMR manifest
268
+ /******/ })();
269
+ /******/
270
+ /************************************************************************/
271
+ /******/
272
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
273
+ /******/ __nuri_require__.C(__webpack_chunk_1__);
274
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
275
+ /******/ __nuri_require__.C(__webpack_chunk_2__);
276
+ /******/
277
+ /******/ // startup
278
+ /******/ // Load entry module and return exports
279
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
280
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335], () => (__nuri_require__(3811)))
281
+ /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
282
+ /******/ const __webpack_exports__default = __webpack_exports__.A;
283
+ /******/ export { __webpack_exports__default as default };
284
+ /******/
package/dist/tabs.js CHANGED
@@ -17,6 +17,8 @@ __nuri_require__.d(__webpack_exports__, {
17
17
  var jsx_runtime_ = __nuri_require__(612);
18
18
  // EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
19
19
  var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(1041);
20
+ // EXTERNAL MODULE: ./helpers/hooks/useScrollStart.ts
21
+ var useScrollStart = __nuri_require__(2344);
20
22
  // EXTERNAL MODULE: ./helpers/hooks/useTrack.ts
21
23
  var useTrack = __nuri_require__(4560);
22
24
  // EXTERNAL MODULE: ./helpers/utils/classNames.js
@@ -27,6 +29,8 @@ var getMergedProps = __nuri_require__(7335);
27
29
  var icon = __nuri_require__(3547);
28
30
  // EXTERNAL MODULE: external {"root":"RadixUI","commonjs2":"radix-ui","commonjs":"radix-ui","amd":"radix-ui","module":"radix-ui"}
29
31
  var external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_ = __nuri_require__(0);
32
+ // EXTERNAL MODULE: ./helpers/hooks/useIndicatorPosition.ts
33
+ var useIndicatorPosition = __nuri_require__(5949);
30
34
  ;// ./components/tabs/base-tabs.tsx
31
35
  var __assign = undefined && undefined.__assign || function () {
32
36
  __assign = Object.assign || function (t) {
@@ -50,6 +54,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
50
54
 
51
55
 
52
56
 
57
+
53
58
  var TabsRootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
54
59
  var children = props.children,
55
60
  className = props.className,
@@ -109,51 +114,11 @@ TabsContent.displayName = 'TabsContent';
109
114
  var TabsIndicator = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
110
115
  var className = props.className,
111
116
  restProps = __rest(props, ["className"]);
112
- var _a = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useState)({
113
- left: 0,
114
- width: 0
115
- }),
116
- position = _a[0],
117
- setPosition = _a[1];
118
117
  var indicatorRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useRef)(null);
119
118
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useImperativeHandle)(ref, function () {
120
119
  return indicatorRef.current;
121
120
  });
122
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useLayoutEffect)(function () {
123
- var _a;
124
- var listEl = (_a = indicatorRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
125
- if (!listEl) return;
126
- var update = function update() {
127
- var activeTab = listEl.querySelector('[role="tab"][data-state="active"]');
128
- if (activeTab) {
129
- setPosition({
130
- left: activeTab.offsetLeft,
131
- width: activeTab.offsetWidth
132
- });
133
- } else {
134
- setPosition({
135
- left: 0,
136
- width: 0
137
- });
138
- }
139
- };
140
- var observer = new MutationObserver(update);
141
- observer.observe(listEl, {
142
- attributes: true,
143
- subtree: true,
144
- attributeFilter: ['data-state']
145
- });
146
- update();
147
- window.addEventListener('resize', update);
148
- return function () {
149
- observer.disconnect();
150
- window.removeEventListener('resize', update);
151
- };
152
- }, []);
153
- var positionStyle = {
154
- left: "".concat(position.left, "px"),
155
- width: "".concat(position.width, "px")
156
- };
121
+ var positionStyle = (0,useIndicatorPosition/* useIndicatorPosition */.C)(indicatorRef, '[role="tab"][data-state="active"]');
157
122
  return (0,jsx_runtime_.jsx)("div", __assign({
158
123
  ref: indicatorRef,
159
124
  className: (0,classNames/* classNames */.x)('nuri-theme base-tabs indicator', className),
@@ -205,9 +170,7 @@ var tabs_rest = undefined && undefined.__rest || function (s, e) {
205
170
 
206
171
 
207
172
 
208
- var prefersReducedMotion = function prefersReducedMotion() {
209
- return typeof window.matchMedia === 'function' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
210
- };
173
+
211
174
  var Tabs = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
212
175
  var rootClassName = (0,getMergedProps/* getMergedProps */.p)(props, {}).className;
213
176
  var _a = (0,getMergedProps/* getMergedProps */.p)(props, tabsProps),
@@ -226,30 +189,9 @@ var Tabs = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_am
226
189
  trackProps: trackProps
227
190
  });
228
191
  var listRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useRef)(null);
229
- var _d = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useState)(false),
230
- scrolled = _d[0],
231
- setScrolled = _d[1];
232
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useEffect)(function () {
233
- var list = listRef.current;
234
- if (!list) return undefined;
235
- var update = function update() {
236
- return setScrolled(list.scrollLeft > 0);
237
- };
238
- update();
239
- list.addEventListener('scroll', update, {
240
- passive: true
241
- });
242
- return function () {
243
- return list.removeEventListener('scroll', update);
244
- };
245
- }, []);
246
- var scrollToStart = function scrollToStart() {
247
- var _a;
248
- (_a = listRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
249
- left: 0,
250
- behavior: prefersReducedMotion() ? 'auto' : 'smooth'
251
- });
252
- };
192
+ var _d = (0,useScrollStart/* useScrollStart */.L)(listRef),
193
+ scrolled = _d.scrolled,
194
+ scrollToStart = _d.scrollToStart;
253
195
  var tabsTriggerClassName = (0,classNames/* classNames */.x)(tabClassName, 'tabs-trigger', pressEffect && 'motion-press-dim', fullWidth && 'full-width');
254
196
  var tabsContentClassName = (0,classNames/* classNames */.x)(tabClassName, 'tabs-content');
255
197
  return (0,jsx_runtime_.jsxs)(base_tabs, tabs_assign({
@@ -482,11 +424,13 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
482
424
  /******/ __nuri_require__.C(__webpack_chunk_5__);
483
425
  /******/ import * as __webpack_chunk_6__ from "./chunk-3547.js";
484
426
  /******/ __nuri_require__.C(__webpack_chunk_6__);
427
+ /******/ import * as __webpack_chunk_7__ from "./chunk-4324.js";
428
+ /******/ __nuri_require__.C(__webpack_chunk_7__);
485
429
  /******/
486
430
  /******/ // startup
487
431
  /******/ // Load entry module and return exports
488
432
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
489
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,7653,3547], () => (__nuri_require__(3973)))
433
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,7653,3547,4324], () => (__nuri_require__(3973)))
490
434
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
491
435
  /******/ const __webpack_exports__default = __webpack_exports__.A;
492
436
  /******/ export { __webpack_exports__default as default };
package/dist/text-area.js CHANGED
@@ -429,19 +429,21 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
429
429
  /******/ __nuri_require__.C(__webpack_chunk_4__);
430
430
  /******/ import * as __webpack_chunk_5__ from "./chunk-3547.js";
431
431
  /******/ __nuri_require__.C(__webpack_chunk_5__);
432
- /******/ import * as __webpack_chunk_6__ from "./chunk-4917.js";
432
+ /******/ import * as __webpack_chunk_6__ from "./chunk-7232.js";
433
433
  /******/ __nuri_require__.C(__webpack_chunk_6__);
434
- /******/ import * as __webpack_chunk_7__ from "./chunk-4558.js";
434
+ /******/ import * as __webpack_chunk_7__ from "./chunk-4917.js";
435
435
  /******/ __nuri_require__.C(__webpack_chunk_7__);
436
- /******/ import * as __webpack_chunk_8__ from "./chunk-7739.js";
436
+ /******/ import * as __webpack_chunk_8__ from "./chunk-4558.js";
437
437
  /******/ __nuri_require__.C(__webpack_chunk_8__);
438
- /******/ import * as __webpack_chunk_9__ from "./chunk-7302.js";
438
+ /******/ import * as __webpack_chunk_9__ from "./chunk-7739.js";
439
439
  /******/ __nuri_require__.C(__webpack_chunk_9__);
440
+ /******/ import * as __webpack_chunk_10__ from "./chunk-7302.js";
441
+ /******/ __nuri_require__.C(__webpack_chunk_10__);
440
442
  /******/
441
443
  /******/ // startup
442
444
  /******/ // Load entry module and return exports
443
445
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
444
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7653,3547,4917,4558,7739,7302], () => (__nuri_require__(4794)))
446
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7653,3547,7232,4917,4558,7739,7302], () => (__nuri_require__(4794)))
445
447
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
446
448
  /******/ const __webpack_exports__default = __webpack_exports__.A;
447
449
  /******/ export { __webpack_exports__default as default };