@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
@@ -0,0 +1,293 @@
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
+ /***/ 9343
7
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
8
+
9
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
10
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
11
+ /* harmony export */ });
12
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
13
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
14
+ /* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(3274);
15
+ /* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(7335);
16
+ /* harmony import */ var _base_list__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(9497);
17
+ /* harmony import */ var _list_props__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(1212);
18
+ var __assign = undefined && undefined.__assign || function () {
19
+ __assign = Object.assign || function (t) {
20
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
21
+ s = arguments[i];
22
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
23
+ }
24
+ return t;
25
+ };
26
+ return __assign.apply(this, arguments);
27
+ };
28
+ var __rest = undefined && undefined.__rest || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
31
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
32
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
33
+ }
34
+ return t;
35
+ };
36
+
37
+
38
+
39
+
40
+
41
+
42
+ /** 목록 위의 제목 줄. 설명은 제목 위나 아래, 오른쪽에 액션 하나 */
43
+ var ListHeader = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
44
+ var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)(props, _list_props__WEBPACK_IMPORTED_MODULE_5__/* .listHeaderProps */ .Cl),
45
+ className = _a.className,
46
+ title = _a.title,
47
+ description = _a.description,
48
+ _b = _a.descriptionPosition,
49
+ descriptionPosition = _b === void 0 ? 'bottom' : _b,
50
+ right = _a.right,
51
+ restProps = __rest(_a, ["className", "title", "description", "descriptionPosition", "right"]);
52
+ var descriptionNode = description ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
53
+ className: 'list-header-description',
54
+ children: description
55
+ }) : null;
56
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_base_list__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A.Header, __assign({
57
+ ref: ref,
58
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'list-header')
59
+ }, restProps, {
60
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
61
+ className: 'list-header-text',
62
+ children: [descriptionPosition === 'top' ? descriptionNode : null, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
63
+ className: 'list-header-title',
64
+ children: title
65
+ }), descriptionPosition === 'bottom' ? descriptionNode : null]
66
+ }), right ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
67
+ className: 'list-header-right',
68
+ children: right
69
+ }) : null]
70
+ }));
71
+ });
72
+ ListHeader.displayName = 'ListHeader';
73
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListHeader);
74
+
75
+ /***/ },
76
+
77
+ /***/ 1212
78
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
79
+
80
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
81
+ /* harmony export */ Cl: () => (/* binding */ listHeaderProps)
82
+ /* harmony export */ });
83
+ /* unused harmony exports sizes, border, footerBorder, descriptionPosition, rightAlign, listGroupProps, listRowProps, listFooterProps */
84
+ /* harmony import */ var _helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(7298);
85
+
86
+ /** 행 높이. px 은 styles/token/size.css 의 --list-row-height-* */
87
+ var sizes = ['s', 'm', 'l'];
88
+ /** 이 행과 다음 행 사이의 선. indented 는 왼쪽을 안쪽 여백만큼 띄운다 */
89
+ var border = ['indented', 'full', 'none'];
90
+ /** ListFooter 위쪽 선 */
91
+ var footerBorder = ['full', 'indented', 'none'];
92
+ var descriptionPosition = (/* unused pure expression or super */ null && (['top', 'bottom']));
93
+ var rightAlign = ['center', 'bottom'];
94
+ var listGroupProps = {};
95
+ var listRowProps = {
96
+ size: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .sizeProp */ .lw)(sizes, 'm'),
97
+ border: {
98
+ type: 'className',
99
+ className: 'border',
100
+ values: border,
101
+ "default": 'indented'
102
+ }
103
+ };
104
+ var listHeaderProps = {
105
+ rightAlign: {
106
+ type: 'className',
107
+ className: 'right-align',
108
+ values: rightAlign,
109
+ "default": 'center'
110
+ }
111
+ };
112
+ var listFooterProps = {
113
+ border: {
114
+ type: 'className',
115
+ className: 'border',
116
+ values: footerBorder,
117
+ "default": 'full'
118
+ }
119
+ };
120
+
121
+ /***/ },
122
+
123
+ /***/ 1041
124
+ (module, __unused_webpack_exports, __nuri_require__) {
125
+
126
+ var x = (y) => {
127
+ var x = {}; __nuri_require__.d(x, y); return x
128
+ }
129
+ var y = (x) => (() => (x))
130
+ module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement) });
131
+
132
+ /***/ },
133
+
134
+ /***/ 612
135
+ (module, __unused_webpack_exports, __nuri_require__) {
136
+
137
+ var x = (y) => {
138
+ var x = {}; __nuri_require__.d(x, y); return x
139
+ }
140
+ var y = (x) => (() => (x))
141
+ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
142
+
143
+ /***/ }
144
+
145
+ /******/ });
146
+ /************************************************************************/
147
+ /******/ // The module cache
148
+ /******/ var __webpack_module_cache__ = {};
149
+ /******/
150
+ /******/ // The require function
151
+ /******/ function __nuri_require__(moduleId) {
152
+ /******/ // Check if module is in cache
153
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
154
+ /******/ if (cachedModule !== undefined) {
155
+ /******/ return cachedModule.exports;
156
+ /******/ }
157
+ /******/ // Create a new module (and put it into the cache)
158
+ /******/ var module = __webpack_module_cache__[moduleId] = {
159
+ /******/ // no module.id needed
160
+ /******/ // no module.loaded needed
161
+ /******/ exports: {}
162
+ /******/ };
163
+ /******/
164
+ /******/ // Execute the module function
165
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
166
+ /******/
167
+ /******/ // Return the exports of the module
168
+ /******/ return module.exports;
169
+ /******/ }
170
+ /******/
171
+ /******/ // expose the modules object (__webpack_modules__)
172
+ /******/ __nuri_require__.m = __webpack_modules__;
173
+ /******/
174
+ /************************************************************************/
175
+ /******/ /* webpack/runtime/chunk loaded */
176
+ /******/ (() => {
177
+ /******/ var deferred = [];
178
+ /******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
179
+ /******/ if(chunkIds) {
180
+ /******/ priority = priority || 0;
181
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
182
+ /******/ deferred[i] = [chunkIds, fn, priority];
183
+ /******/ return;
184
+ /******/ }
185
+ /******/ var notFulfilled = Infinity;
186
+ /******/ for (var i = 0; i < deferred.length; i++) {
187
+ /******/ var [chunkIds, fn, priority] = deferred[i];
188
+ /******/ var fulfilled = true;
189
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
190
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
191
+ /******/ chunkIds.splice(j--, 1);
192
+ /******/ } else {
193
+ /******/ fulfilled = false;
194
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
195
+ /******/ }
196
+ /******/ }
197
+ /******/ if(fulfilled) {
198
+ /******/ deferred.splice(i--, 1)
199
+ /******/ var r = fn();
200
+ /******/ if (r !== undefined) result = r;
201
+ /******/ }
202
+ /******/ }
203
+ /******/ return result;
204
+ /******/ };
205
+ /******/ })();
206
+ /******/
207
+ /******/ /* webpack/runtime/define property getters */
208
+ /******/ (() => {
209
+ /******/ // define getter functions for harmony exports
210
+ /******/ __nuri_require__.d = (exports, definition) => {
211
+ /******/ for(var key in definition) {
212
+ /******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
213
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
214
+ /******/ }
215
+ /******/ }
216
+ /******/ };
217
+ /******/ })();
218
+ /******/
219
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
220
+ /******/ (() => {
221
+ /******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
222
+ /******/ })();
223
+ /******/
224
+ /******/ /* webpack/runtime/export webpack runtime */
225
+ /******/ export { __nuri_require__ };
226
+ /******/
227
+ /******/ /* webpack/runtime/import chunk loading */
228
+ /******/ (() => {
229
+ /******/ // no baseURI
230
+ /******/
231
+ /******/ // object to store loaded and loading chunks
232
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
233
+ /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
234
+ /******/ var installedChunks = {
235
+ /******/ 4163: 0
236
+ /******/ };
237
+ /******/
238
+ /******/ var installChunk = (data) => {
239
+ /******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
240
+ /******/ // add "modules" to the modules object,
241
+ /******/ // then flag all "ids" as loaded and fire callback
242
+ /******/ var moduleId, chunkId, i = 0;
243
+ /******/ for(moduleId in __webpack_esm_modules__) {
244
+ /******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
245
+ /******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
246
+ /******/ }
247
+ /******/ }
248
+ /******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
249
+ /******/ for(;i < __webpack_esm_ids__.length; i++) {
250
+ /******/ chunkId = __webpack_esm_ids__[i];
251
+ /******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
252
+ /******/ installedChunks[chunkId][0]();
253
+ /******/ }
254
+ /******/ installedChunks[__webpack_esm_ids__[i]] = 0;
255
+ /******/ }
256
+ /******/ __nuri_require__.O();
257
+ /******/ }
258
+ /******/
259
+ /******/ // no chunk on demand loading
260
+ /******/
261
+ /******/ // no prefetching
262
+ /******/
263
+ /******/ // no preloaded
264
+ /******/
265
+ /******/ __nuri_require__.C = installChunk;
266
+ /******/
267
+ /******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
268
+ /******/ // no HMR
269
+ /******/
270
+ /******/ // no HMR manifest
271
+ /******/ })();
272
+ /******/
273
+ /************************************************************************/
274
+ /******/
275
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
276
+ /******/ __nuri_require__.C(__webpack_chunk_1__);
277
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
278
+ /******/ __nuri_require__.C(__webpack_chunk_2__);
279
+ /******/ import * as __webpack_chunk_3__ from "./chunk-7298.js";
280
+ /******/ __nuri_require__.C(__webpack_chunk_3__);
281
+ /******/ import * as __webpack_chunk_4__ from "./chunk-2777.js";
282
+ /******/ __nuri_require__.C(__webpack_chunk_4__);
283
+ /******/ import * as __webpack_chunk_5__ from "./chunk-9497.js";
284
+ /******/ __nuri_require__.C(__webpack_chunk_5__);
285
+ /******/
286
+ /******/ // startup
287
+ /******/ // Load entry module and return exports
288
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
289
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,7298,2777,9497], () => (__nuri_require__(9343)))
290
+ /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
291
+ /******/ const __webpack_exports__default = __webpack_exports__.A;
292
+ /******/ export { __webpack_exports__default as default };
293
+ /******/
package/dist/list-row.js CHANGED
@@ -7,12 +7,45 @@ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/j
7
7
  (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
8
8
 
9
9
  /* harmony export */ __nuri_require__.d(__webpack_exports__, {
10
- /* harmony export */ R: () => (/* binding */ listRowProps)
10
+ /* harmony export */ RL: () => (/* binding */ listRowProps)
11
11
  /* harmony export */ });
12
- /* unused harmony export listGroupProps */
13
- // 크기·변형이 없다. 행 높이는 --list-row-height 부터, 면은 한 모양이다.
12
+ /* unused harmony exports sizes, border, footerBorder, descriptionPosition, rightAlign, listGroupProps, listHeaderProps, listFooterProps */
13
+ /* harmony import */ var _helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(7298);
14
+
15
+ /** 행 높이. px 은 styles/token/size.css 의 --list-row-height-* */
16
+ var sizes = ['s', 'm', 'l'];
17
+ /** 이 행과 다음 행 사이의 선. indented 는 왼쪽을 안쪽 여백만큼 띄운다 */
18
+ var border = ['indented', 'full', 'none'];
19
+ /** ListFooter 위쪽 선 */
20
+ var footerBorder = ['full', 'indented', 'none'];
21
+ var descriptionPosition = (/* unused pure expression or super */ null && (['top', 'bottom']));
22
+ var rightAlign = ['center', 'bottom'];
14
23
  var listGroupProps = {};
15
- var listRowProps = {};
24
+ var listRowProps = {
25
+ size: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .sizeProp */ .lw)(sizes, 'm'),
26
+ border: {
27
+ type: 'className',
28
+ className: 'border',
29
+ values: border,
30
+ "default": 'indented'
31
+ }
32
+ };
33
+ var listHeaderProps = {
34
+ rightAlign: {
35
+ type: 'className',
36
+ className: 'right-align',
37
+ values: rightAlign,
38
+ "default": 'center'
39
+ }
40
+ };
41
+ var listFooterProps = {
42
+ border: {
43
+ type: 'className',
44
+ className: 'border',
45
+ values: footerBorder,
46
+ "default": 'full'
47
+ }
48
+ };
16
49
 
17
50
  /***/ },
18
51
 
@@ -25,12 +58,14 @@ var listRowProps = {};
25
58
  /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
26
59
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
27
60
  /* harmony import */ var _helpers_hooks_useTrack__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(4560);
28
- /* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(3274);
29
- /* harmony import */ var _helpers_utils_fillLinkChild__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(1176);
30
- /* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(7335);
31
- /* harmony import */ var _icon_icon__WEBPACK_IMPORTED_MODULE_6__ = __nuri_require__(3547);
32
- /* harmony import */ var _base_list__WEBPACK_IMPORTED_MODULE_7__ = __nuri_require__(9497);
33
- /* harmony import */ var _list_props__WEBPACK_IMPORTED_MODULE_8__ = __nuri_require__(1212);
61
+ /* harmony import */ var _helpers_motion_use_attention_handle__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(7589);
62
+ /* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(3274);
63
+ /* harmony import */ var _helpers_utils_fillLinkChild__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(1176);
64
+ /* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_6__ = __nuri_require__(7335);
65
+ /* harmony import */ var _icon_icon__WEBPACK_IMPORTED_MODULE_7__ = __nuri_require__(3547);
66
+ /* harmony import */ var _skeleton_skeleton_group__WEBPACK_IMPORTED_MODULE_8__ = __nuri_require__(3769);
67
+ /* harmony import */ var _base_list__WEBPACK_IMPORTED_MODULE_9__ = __nuri_require__(9497);
68
+ /* harmony import */ var _list_props__WEBPACK_IMPORTED_MODULE_10__ = __nuri_require__(1212);
34
69
  var __assign = undefined && undefined.__assign || function () {
35
70
  __assign = Object.assign || function (t) {
36
71
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -58,9 +93,11 @@ var __rest = undefined && undefined.__rest || function (s, e) {
58
93
 
59
94
 
60
95
 
96
+
97
+
61
98
  /** 목록 한 줄. onClick 이면 button, asChild 면 넘긴 링크가 행이 된다. 둘 다 없으면 div 다 */
62
- var ListRow = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
63
- var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_5__/* .getMergedProps */ .p)(props, _list_props__WEBPACK_IMPORTED_MODULE_8__/* .listRowProps */ .R),
99
+ var ListRowBase = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
100
+ var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_6__/* .getMergedProps */ .p)(props, _list_props__WEBPACK_IMPORTED_MODULE_10__/* .listRowProps */ .RL),
64
101
  className = _a.className,
65
102
  label = _a.label,
66
103
  description = _a.description,
@@ -72,13 +109,15 @@ var ListRow = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(fun
72
109
  children = _a.children,
73
110
  _b = _a.pressEffect,
74
111
  pressEffect = _b === void 0 ? true : _b,
112
+ effectRef = _a.effectRef,
75
113
  track = _a.track,
76
114
  trackProps = _a.trackProps,
77
- restProps = __rest(_a, ["className", "label", "description", "leading", "trailing", "chevron", "asChild", "onClick", "children", "pressEffect", "track", "trackProps"]);
115
+ restProps = __rest(_a, ["className", "label", "description", "leading", "trailing", "chevron", "asChild", "onClick", "children", "pressEffect", "effectRef", "track", "trackProps"]);
78
116
  var emit = (0,_helpers_hooks_useTrack__WEBPACK_IMPORTED_MODULE_2__/* .useTrack */ .n)('ListRow', {
79
117
  track: track,
80
118
  trackProps: trackProps
81
119
  });
120
+ var effectProps = (0,_helpers_motion_use_attention_handle__WEBPACK_IMPORTED_MODULE_3__/* .useAttentionHandle */ ._)(effectRef);
82
121
  // 링크 요소를 받았을 때만 링크 행이다. 아니면 div 로 그리고 화살표도 없다
83
122
  var isLink = asChild === true && /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.isValidElement)(children);
84
123
  var showChevron = chevron !== null && chevron !== void 0 ? chevron : isLink || onClick !== undefined;
@@ -98,7 +137,7 @@ var ListRow = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(fun
98
137
  }), trailing ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
99
138
  className: 'list-row-trailing',
100
139
  children: trailing
101
- }) : null, showChevron ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_icon_icon__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A, {
140
+ }) : null, showChevron ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_icon_icon__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A, {
102
141
  className: 'list-row-chevron',
103
142
  name: 'caret-right',
104
143
  size: 's'
@@ -109,27 +148,196 @@ var ListRow = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(fun
109
148
  type: 'button',
110
149
  children: content
111
150
  }) : null;
112
- var link = (0,_helpers_utils_fillLinkChild__WEBPACK_IMPORTED_MODULE_4__/* .fillLinkChild */ .Q)(asChild, children, content);
151
+ var link = (0,_helpers_utils_fillLinkChild__WEBPACK_IMPORTED_MODULE_5__/* .fillLinkChild */ .Q)(asChild, children, content);
113
152
  var rowElement = link !== null && link !== void 0 ? link : buttonRow;
114
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_list__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A.Row, __assign({
153
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_list__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A.Row, __assign({
115
154
  ref: ref,
116
155
  // 폭이 꽉 찬 행이라 눌림은 딤만 쓴다(press form dim). 보기만 하는 행은 받지 않는다
117
- className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__/* .classNames */ .x)(className, 'list-row', pressEffect && rowElement && 'motion-press-dim'),
156
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_4__/* .classNames */ .x)(className, 'list-row', pressEffect && rowElement && 'motion-press-dim'),
118
157
  asChild: rowElement !== null,
119
158
  // 링크 행은 다른 화면으로 옮기고 버튼 행은 그 자리에서 동작한다. 보기만 하는 행은 보내지 않는다
120
159
  onClick: rowElement ? function (event) {
121
160
  emit(link ? 'navigate' : 'click');
122
161
  onClick === null || onClick === void 0 ? void 0 : onClick(event);
123
162
  } : undefined
124
- }, restProps, {
163
+ }, effectProps, restProps, {
125
164
  children: rowElement !== null && rowElement !== void 0 ? rowElement : content
126
165
  }));
127
166
  });
128
- ListRow.displayName = 'ListRow';
167
+ ListRowBase.displayName = 'ListRow';
168
+ /** 불러오는 동안 행 하나 자리. 원과 두 줄 글의 스켈레톤을 행의 높이·여백·선 그대로 그린다 */
169
+ var ListRowLoader = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
170
+ var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_6__/* .getMergedProps */ .p)(props, _list_props__WEBPACK_IMPORTED_MODULE_10__/* .listRowProps */ .RL),
171
+ className = _a.className,
172
+ animated = _a.animated,
173
+ ariaLabel = _a["aria-label"],
174
+ restProps = __rest(_a, ["className", "animated", 'aria-label']);
175
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_list__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A.Row, __assign({
176
+ ref: ref,
177
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_4__/* .classNames */ .x)(className, 'list-row', 'list-row-loader')
178
+ }, restProps, {
179
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_skeleton_skeleton_group__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A, {
180
+ pattern: 'listWithIcon',
181
+ repeat: 1,
182
+ animated: animated,
183
+ "aria-label": ariaLabel
184
+ })
185
+ }));
186
+ });
187
+ ListRowLoader.displayName = 'ListRowLoader';
188
+ var ListRow = Object.assign(ListRowBase, {
189
+ Loader: ListRowLoader
190
+ });
129
191
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListRow);
130
192
 
131
193
  /***/ },
132
194
 
195
+ /***/ 3769
196
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
197
+
198
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
199
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
200
+ /* harmony export */ });
201
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
202
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
203
+ /* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(3274);
204
+ /* harmony import */ var _base_skeleton__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(2241);
205
+ /* harmony import */ var _skeleton__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(7687);
206
+ /* harmony import */ var _skeleton_group_props__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(3008);
207
+ var __spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
208
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
209
+ if (ar || !(i in from)) {
210
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
211
+ ar[i] = from[i];
212
+ }
213
+ }
214
+ return to.concat(ar || Array.prototype.slice.call(from));
215
+ };
216
+
217
+
218
+
219
+
220
+
221
+
222
+ var SPACER = 'spacer:';
223
+ var isSpacer = function isSpacer(token) {
224
+ return token.startsWith(SPACER);
225
+ };
226
+ var parseToken = function parseToken(token) {
227
+ // 접두사 뒤는 타입이 SpacingToken 으로 정해 둔 자리다
228
+ if (isSpacer(token)) return {
229
+ kind: 'spacer',
230
+ size: token.slice(SPACER.length)
231
+ };
232
+ if (token === 'text') return {
233
+ kind: 'text',
234
+ lines: 1
235
+ };
236
+ return {
237
+ kind: token
238
+ };
239
+ };
240
+ var repeatLast = function repeatLast(blocks, repeat) {
241
+ var last = blocks[blocks.length - 1];
242
+ if (!last) return blocks;
243
+ return __spreadArray(__spreadArray([], blocks.slice(0, -1), true), Array.from({
244
+ length: repeat
245
+ }, function () {
246
+ return last;
247
+ }), true);
248
+ };
249
+ var SkeletonGroup = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
250
+ var className = props.className,
251
+ style = props.style,
252
+ _a = props.pattern,
253
+ pattern = _a === void 0 ? 'list' : _a,
254
+ custom = props.custom,
255
+ _b = props.repeat,
256
+ repeat = _b === void 0 ? 3 : _b,
257
+ _c = props.animated,
258
+ animated = _c === void 0 ? true : _c,
259
+ _d = props["aria-label"],
260
+ ariaLabel = _d === void 0 ? '불러오는 중' : _d;
261
+ var blocks = repeatLast(custom ? custom.map(parseToken) : _skeleton_group_props__WEBPACK_IMPORTED_MODULE_5__/* .PATTERNS */ .G[pattern], repeat);
262
+ var _renderBlock = function renderBlock(block, index) {
263
+ switch (block.kind) {
264
+ case 'title':
265
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_skeleton__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, {
266
+ className: 'skeleton-block-title',
267
+ width: 'var(--skeleton-block-title-width)',
268
+ height: 'var(--skeleton-block-title-height)',
269
+ animated: animated
270
+ }, index);
271
+ case 'subtitle':
272
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_skeleton__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, {
273
+ className: 'skeleton-block-subtitle',
274
+ width: 'var(--skeleton-block-subtitle-width)',
275
+ height: 'var(--skeleton-block-subtitle-height)',
276
+ animated: animated
277
+ }, index);
278
+ case 'text':
279
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_skeleton__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, {
280
+ className: 'skeleton-block-text',
281
+ lines: block.lines,
282
+ animated: animated
283
+ }, index);
284
+ case 'circle':
285
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_skeleton__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, {
286
+ className: 'skeleton-block-circle',
287
+ shape: 'circle',
288
+ width: 'var(--skeleton-block-circle-width)',
289
+ animated: animated
290
+ }, index);
291
+ case 'rect':
292
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_skeleton__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, {
293
+ className: 'skeleton-block-rect',
294
+ shape: 'rect',
295
+ height: 'var(--skeleton-block-rect-height)',
296
+ animated: animated
297
+ }, index);
298
+ case 'card':
299
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_skeleton__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, {
300
+ className: 'skeleton-block-card',
301
+ shape: 'rect',
302
+ height: 'var(--skeleton-block-card-height)',
303
+ animated: animated
304
+ }, index);
305
+ case 'spacer':
306
+ {
307
+ var spacerStyle = {
308
+ '--skeleton-spacer-size': "var(--spacing-".concat(block.size, ")")
309
+ };
310
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
311
+ className: 'skeleton-block-spacer',
312
+ style: spacerStyle,
313
+ "aria-hidden": true
314
+ }, index);
315
+ }
316
+ case 'row':
317
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
318
+ className: 'skeleton-block-row',
319
+ children: block.items.map(_renderBlock)
320
+ }, index);
321
+ default:
322
+ {
323
+ var unhandled = block;
324
+ return unhandled;
325
+ }
326
+ }
327
+ };
328
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_skeleton__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A.Group, {
329
+ ref: ref,
330
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'skeleton-group'),
331
+ style: style,
332
+ "aria-label": ariaLabel,
333
+ children: blocks.map(_renderBlock)
334
+ });
335
+ });
336
+ SkeletonGroup.displayName = 'SkeletonGroup';
337
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SkeletonGroup);
338
+
339
+ /***/ },
340
+
133
341
  /***/ 1041
134
342
  (module, __unused_webpack_exports, __nuri_require__) {
135
343
 
@@ -137,7 +345,7 @@ var x = (y) => {
137
345
  var x = {}; __nuri_require__.d(x, y); return x
138
346
  }
139
347
  var y = (x) => (() => (x))
140
- module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement), ["useCallback"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useCallback), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef) });
348
+ module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement), ["useCallback"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useCallback), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext), ["useEffect"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useEffect), ["useImperativeHandle"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useImperativeHandle), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef), ["useState"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useState) });
141
349
 
142
350
  /***/ },
143
351
 
@@ -242,6 +450,7 @@ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_ru
242
450
  /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
243
451
  /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
244
452
  /******/ var installedChunks = {
453
+ /******/ 8240: 0,
245
454
  /******/ 8912: 0
246
455
  /******/ };
247
456
  /******/
@@ -288,23 +497,31 @@ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_ru
288
497
  /******/ __nuri_require__.C(__webpack_chunk_2__);
289
498
  /******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
290
499
  /******/ __nuri_require__.C(__webpack_chunk_3__);
291
- /******/ import * as __webpack_chunk_4__ from "./chunk-7298.js";
500
+ /******/ import * as __webpack_chunk_4__ from "./chunk-7653.js";
292
501
  /******/ __nuri_require__.C(__webpack_chunk_4__);
293
- /******/ import * as __webpack_chunk_5__ from "./chunk-2777.js";
502
+ /******/ import * as __webpack_chunk_5__ from "./chunk-3547.js";
294
503
  /******/ __nuri_require__.C(__webpack_chunk_5__);
295
- /******/ import * as __webpack_chunk_6__ from "./chunk-7653.js";
504
+ /******/ import * as __webpack_chunk_6__ from "./chunk-2777.js";
296
505
  /******/ __nuri_require__.C(__webpack_chunk_6__);
297
- /******/ import * as __webpack_chunk_7__ from "./chunk-3547.js";
506
+ /******/ import * as __webpack_chunk_7__ from "./chunk-3640.js";
298
507
  /******/ __nuri_require__.C(__webpack_chunk_7__);
299
508
  /******/ import * as __webpack_chunk_8__ from "./chunk-1176.js";
300
509
  /******/ __nuri_require__.C(__webpack_chunk_8__);
301
- /******/ import * as __webpack_chunk_9__ from "./chunk-9497.js";
510
+ /******/ import * as __webpack_chunk_9__ from "./chunk-4917.js";
302
511
  /******/ __nuri_require__.C(__webpack_chunk_9__);
512
+ /******/ import * as __webpack_chunk_10__ from "./chunk-9497.js";
513
+ /******/ __nuri_require__.C(__webpack_chunk_10__);
514
+ /******/ import * as __webpack_chunk_11__ from "./chunk-7589.js";
515
+ /******/ __nuri_require__.C(__webpack_chunk_11__);
516
+ /******/ import * as __webpack_chunk_12__ from "./chunk-5670.js";
517
+ /******/ __nuri_require__.C(__webpack_chunk_12__);
518
+ /******/ import * as __webpack_chunk_13__ from "./chunk-674.js";
519
+ /******/ __nuri_require__.C(__webpack_chunk_13__);
303
520
  /******/
304
521
  /******/ // startup
305
522
  /******/ // Load entry module and return exports
306
523
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
307
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,7653,3547,1176,9497], () => (__nuri_require__(2082)))
524
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7653,3547,2777,3640,1176,4917,9497,7589,5670,674], () => (__nuri_require__(2082)))
308
525
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
309
526
  /******/ const __webpack_exports__default = __webpack_exports__.A;
310
527
  /******/ export { __webpack_exports__default as default };