@nurihaus/web-design-system 3.7.0 → 3.9.0

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 (143) hide show
  1. package/README.md +15 -4
  2. package/dist/ai/components.md +658 -12
  3. package/dist/ai/motion.md +431 -0
  4. package/dist/ai/tokens.md +93 -4
  5. package/dist/avatar.js +5 -3
  6. package/dist/bottom-bar.js +261 -0
  7. package/dist/bottom-nav.js +10 -57
  8. package/dist/breadcrumb.js +7 -5
  9. package/dist/callout.js +5 -3
  10. package/dist/card.js +278 -0
  11. package/dist/check-box.js +7 -5
  12. package/dist/chip-group.js +6 -4
  13. package/dist/chunk-1176.js +24 -0
  14. package/dist/chunk-3274.js +71 -0
  15. package/dist/chunk-345.js +72 -0
  16. package/dist/chunk-3547.js +56 -0
  17. package/dist/chunk-6459.js +107 -0
  18. package/dist/{chunk-6364.js → chunk-7335.js} +2 -67
  19. package/dist/chunk-7653.js +4 -0
  20. package/dist/chunk-910.js +26 -13
  21. package/dist/chunk-9497.js +66 -0
  22. package/dist/collapsible-menu.js +6 -4
  23. package/dist/components/badge/badge-props.d.ts +4 -4
  24. package/dist/components/badge/badge.stories.d.ts +1 -1
  25. package/dist/components/bottom-bar/base-bottom-bar.d.ts +4 -0
  26. package/dist/components/bottom-bar/bottom-bar-props.d.ts +1 -0
  27. package/dist/components/bottom-bar/bottom-bar-type.d.ts +3 -0
  28. package/dist/components/bottom-bar/bottom-bar.d.ts +6 -0
  29. package/dist/components/bottom-bar/bottom-bar.stories.d.ts +282 -0
  30. package/dist/components/button/button-type.d.ts +3 -1
  31. package/dist/components/button/button.stories.d.ts +1 -0
  32. package/dist/components/card/base-card.d.ts +3 -0
  33. package/dist/components/card/card-props.d.ts +9 -0
  34. package/dist/components/card/card-type.d.ts +8 -0
  35. package/dist/components/card/card.d.ts +5 -0
  36. package/dist/components/card/card.stories.d.ts +24 -0
  37. package/dist/components/description-list/base-description-list.d.ts +4 -0
  38. package/dist/components/description-list/description-list-props.d.ts +1 -0
  39. package/dist/components/description-list/description-list-type.d.ts +13 -0
  40. package/dist/components/description-list/description-list.d.ts +5 -0
  41. package/dist/components/description-list/description-list.stories.d.ts +20 -0
  42. package/dist/components/empty-state/base-empty-state.d.ts +4 -0
  43. package/dist/components/empty-state/empty-state-props.d.ts +10 -0
  44. package/dist/components/empty-state/empty-state-type.d.ts +14 -0
  45. package/dist/components/empty-state/empty-state.d.ts +5 -0
  46. package/dist/components/empty-state/empty-state.stories.d.ts +300 -0
  47. package/dist/components/icon/icon-paths.d.ts +4 -0
  48. package/dist/components/icon/icon.stories.d.ts +1 -1
  49. package/dist/components/icon-button/base-icon-button.d.ts +3 -0
  50. package/dist/components/icon-button/icon-button-props.d.ts +12 -0
  51. package/dist/components/icon-button/icon-button-type.d.ts +16 -0
  52. package/dist/components/icon-button/icon-button.d.ts +5 -0
  53. package/dist/components/icon-button/icon-button.stories.d.ts +31 -0
  54. package/dist/components/list/base-list.d.ts +7 -0
  55. package/dist/components/list/list-group.d.ts +5 -0
  56. package/dist/components/list/list-group.stories.d.ts +14 -0
  57. package/dist/components/list/list-props.d.ts +2 -0
  58. package/dist/components/list/list-row.d.ts +5 -0
  59. package/dist/components/list/list-row.stories.d.ts +304 -0
  60. package/dist/components/list/list-type.d.ts +25 -0
  61. package/dist/components/media/base-media.d.ts +16 -0
  62. package/dist/components/media/media-props.d.ts +5 -0
  63. package/dist/components/media/media-thumbnail.d.ts +4 -0
  64. package/dist/components/media/media-thumbnail.stories.d.ts +34 -0
  65. package/dist/components/media/media-type.d.ts +43 -0
  66. package/dist/components/media/media-viewer.d.ts +4 -0
  67. package/dist/components/media/media-viewer.stories.d.ts +24 -0
  68. package/dist/components/message/base-message.d.ts +11 -0
  69. package/dist/components/message/message-event.d.ts +6 -0
  70. package/dist/components/message/message-props.d.ts +17 -0
  71. package/dist/components/message/message-thread.d.ts +6 -0
  72. package/dist/components/message/message-type.d.ts +21 -0
  73. package/dist/components/message/message.d.ts +5 -0
  74. package/dist/components/message/message.stories.d.ts +313 -0
  75. package/dist/components/message-composer/base-message-composer.d.ts +11 -0
  76. package/dist/components/message-composer/message-composer-props.d.ts +1 -0
  77. package/dist/components/message-composer/message-composer-type.d.ts +31 -0
  78. package/dist/components/message-composer/message-composer.d.ts +5 -0
  79. package/dist/components/message-composer/message-composer.stories.d.ts +46 -0
  80. package/dist/components/motion/motion-provider.d.ts +5 -0
  81. package/dist/components/motion/motion-type.d.ts +6 -0
  82. package/dist/components/motion/motion.d.ts +2 -0
  83. package/dist/components/motion/motion.stories.d.ts +23 -0
  84. package/dist/components/notice/base-notice.d.ts +4 -0
  85. package/dist/components/notice/notice-props.d.ts +16 -0
  86. package/dist/components/notice/notice-type.d.ts +21 -0
  87. package/dist/components/notice/notice.d.ts +5 -0
  88. package/dist/components/notice/notice.stories.d.ts +304 -0
  89. package/dist/components/radio/base-radio.d.ts +2 -1
  90. package/dist/components/radio/radio-props.d.ts +9 -1
  91. package/dist/components/radio/radio-type.d.ts +9 -0
  92. package/dist/components/radio/radio.stories.d.ts +10 -0
  93. package/dist/components/tag/base-tag.d.ts +8 -0
  94. package/dist/components/tag/tag-props.d.ts +1 -0
  95. package/dist/components/tag/tag-type.d.ts +20 -0
  96. package/dist/components/tag/tag.d.ts +4 -0
  97. package/dist/components/tag/tag.stories.d.ts +14 -0
  98. package/dist/components.css +1330 -171
  99. package/dist/cta-button.js +38 -21
  100. package/dist/data-table.js +5 -3
  101. package/dist/description-list.js +274 -0
  102. package/dist/drawer.js +7 -5
  103. package/dist/drop-down.js +8 -6
  104. package/dist/empty-state.js +300 -0
  105. package/dist/helpers/utils/fillLinkChild.d.ts +6 -0
  106. package/dist/icon-button.js +338 -0
  107. package/dist/icon-text-badge.js +11 -9
  108. package/dist/icon-text-option-badge.js +8 -6
  109. package/dist/icon.js +7 -4
  110. package/dist/index.d.ts +30 -2
  111. package/dist/index.js +2482 -223
  112. package/dist/list-group.js +253 -0
  113. package/dist/list-row.js +308 -0
  114. package/dist/loading.js +6 -4
  115. package/dist/media-thumbnail.js +412 -0
  116. package/dist/media-viewer.js +274 -0
  117. package/dist/message-composer.js +399 -0
  118. package/dist/message-event.js +216 -0
  119. package/dist/message-thread.js +216 -0
  120. package/dist/message.js +271 -0
  121. package/dist/modal-with-double-button.js +15 -11
  122. package/dist/modal.js +9 -7
  123. package/dist/motion.js +52 -0
  124. package/dist/notice.js +346 -0
  125. package/dist/option-badge.js +11 -9
  126. package/dist/pagination.js +8 -6
  127. package/dist/radio.js +114 -30
  128. package/dist/skeleton.js +4 -2
  129. package/dist/step-progress.js +4 -2
  130. package/dist/styles.css +1215 -130
  131. package/dist/switch.js +6 -4
  132. package/dist/tabs.js +5 -3
  133. package/dist/tag.js +311 -0
  134. package/dist/text-area.js +8 -6
  135. package/dist/text-field.js +8 -6
  136. package/dist/text.js +5 -3
  137. package/dist/toast.js +15 -11
  138. package/dist/tokens/generated/index.d.ts +1 -0
  139. package/dist/tokens/generated/motion.d.ts +153 -0
  140. package/dist/tokens.css +122 -2
  141. package/dist/tokens.js +156 -1
  142. package/dist/tooltip.js +6 -4
  143. package/package.json +67 -1
package/dist/switch.js CHANGED
@@ -346,19 +346,21 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
346
346
  /******/
347
347
  /************************************************************************/
348
348
  /******/
349
- /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
349
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
350
350
  /******/ __nuri_require__.C(__webpack_chunk_1__);
351
- /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
351
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
352
352
  /******/ __nuri_require__.C(__webpack_chunk_2__);
353
- /******/ import * as __webpack_chunk_3__ from "./chunk-2777.js";
353
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
354
354
  /******/ __nuri_require__.C(__webpack_chunk_3__);
355
355
  /******/ import * as __webpack_chunk_4__ from "./chunk-7298.js";
356
356
  /******/ __nuri_require__.C(__webpack_chunk_4__);
357
+ /******/ import * as __webpack_chunk_5__ from "./chunk-2777.js";
358
+ /******/ __nuri_require__.C(__webpack_chunk_5__);
357
359
  /******/
358
360
  /******/ // startup
359
361
  /******/ // Load entry module and return exports
360
362
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
361
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560,2777,7298], () => (__nuri_require__(8614)))
363
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777], () => (__nuri_require__(8614)))
362
364
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
363
365
  /******/ const __webpack_exports__default = __webpack_exports__.A;
364
366
  /******/ export { __webpack_exports__default as default };
package/dist/tabs.js CHANGED
@@ -422,15 +422,17 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
422
422
  /******/
423
423
  /************************************************************************/
424
424
  /******/
425
- /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
425
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
426
426
  /******/ __nuri_require__.C(__webpack_chunk_1__);
427
- /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
427
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
428
428
  /******/ __nuri_require__.C(__webpack_chunk_2__);
429
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
430
+ /******/ __nuri_require__.C(__webpack_chunk_3__);
429
431
  /******/
430
432
  /******/ // startup
431
433
  /******/ // Load entry module and return exports
432
434
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
433
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560], () => (__nuri_require__(3973)))
435
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560], () => (__nuri_require__(3973)))
434
436
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
435
437
  /******/ const __webpack_exports__default = __webpack_exports__.A;
436
438
  /******/ export { __webpack_exports__default as default };
package/dist/tag.js ADDED
@@ -0,0 +1,311 @@
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
+ /***/ 8205
7
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
8
+
9
+
10
+ // EXPORTS
11
+ __nuri_require__.d(__webpack_exports__, {
12
+ A: () => (/* binding */ tag)
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/hooks/useTrack.ts
20
+ var useTrack = __nuri_require__(4560);
21
+ // EXTERNAL MODULE: ./helpers/utils/classNames.js
22
+ var classNames = __nuri_require__(3274);
23
+ // EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
24
+ var getMergedProps = __nuri_require__(7335);
25
+ // EXTERNAL MODULE: ./components/icon/icon.tsx
26
+ var icon = __nuri_require__(3547);
27
+ ;// ./components/tag/base-tag.tsx
28
+ var __assign = undefined && undefined.__assign || function () {
29
+ __assign = Object.assign || function (t) {
30
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
31
+ s = arguments[i];
32
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
33
+ }
34
+ return t;
35
+ };
36
+ return __assign.apply(this, arguments);
37
+ };
38
+ var __rest = undefined && undefined.__rest || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
41
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
43
+ }
44
+ return t;
45
+ };
46
+
47
+
48
+
49
+ var TagRootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
50
+ var className = props.className,
51
+ restProps = __rest(props, ["className"]);
52
+ return (0,jsx_runtime_.jsx)("span", __assign({
53
+ ref: ref,
54
+ className: (0,classNames/* classNames */.x)('nuri-theme base-tag', className)
55
+ }, restProps));
56
+ });
57
+ TagRootBase.displayName = 'TagRoot';
58
+ var TagRemove = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
59
+ var className = props.className,
60
+ restProps = __rest(props, ["className"]);
61
+ return (0,jsx_runtime_.jsx)("button", __assign({
62
+ ref: ref,
63
+ className: (0,classNames/* classNames */.x)('nuri-theme base-tag remove', className),
64
+ type: 'button'
65
+ }, restProps));
66
+ });
67
+ TagRemove.displayName = 'TagRemove';
68
+ var TagRoot = Object.assign(TagRootBase, {
69
+ Remove: TagRemove
70
+ });
71
+ /* harmony default export */ const base_tag = (TagRoot);
72
+ ;// ./components/tag/tag-props.ts
73
+ // 크기·변형이 없다. 태그는 한 모양이다(높이 --label-height-s).
74
+ var tagProps = {};
75
+ ;// ./components/tag/tag.tsx
76
+ var tag_assign = undefined && undefined.__assign || function () {
77
+ tag_assign = Object.assign || function (t) {
78
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
79
+ s = arguments[i];
80
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
81
+ }
82
+ return t;
83
+ };
84
+ return tag_assign.apply(this, arguments);
85
+ };
86
+ var tag_rest = undefined && undefined.__rest || function (s, e) {
87
+ var t = {};
88
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
89
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
90
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
91
+ }
92
+ return t;
93
+ };
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ /** 고른 값 하나. onRemove 를 주면 지우기 버튼이 붙는다 */
103
+ var Tag = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
104
+ var _a = (0,getMergedProps/* getMergedProps */.p)(props, tagProps),
105
+ className = _a.className,
106
+ text = _a.text,
107
+ onRemove = _a.onRemove,
108
+ removeLabel = _a.removeLabel,
109
+ track = _a.track,
110
+ trackProps = _a.trackProps,
111
+ restProps = tag_rest(_a, ["className", "text", "onRemove", "removeLabel", "track", "trackProps"]);
112
+ var emit = (0,useTrack/* useTrack */.n)('Tag', {
113
+ track: track,
114
+ trackProps: trackProps
115
+ });
116
+ return (0,jsx_runtime_.jsxs)(base_tag, tag_assign({
117
+ ref: ref,
118
+ className: (0,classNames/* classNames */.x)(className, 'tag', onRemove ? 'removable' : undefined)
119
+ }, restProps, {
120
+ children: [text, onRemove && (0,jsx_runtime_.jsx)(base_tag.Remove, {
121
+ className: 'tag-remove',
122
+ "aria-label": removeLabel,
123
+ onClick: function onClick() {
124
+ emit('click');
125
+ onRemove();
126
+ },
127
+ children: (0,jsx_runtime_.jsx)(icon/* default */.A, {
128
+ name: 'x',
129
+ size: 'xs'
130
+ })
131
+ })]
132
+ }));
133
+ });
134
+ Tag.displayName = 'Tag';
135
+ /* harmony default export */ const tag = (Tag);
136
+
137
+ /***/ },
138
+
139
+ /***/ 1041
140
+ (module, __unused_webpack_exports, __nuri_require__) {
141
+
142
+ var x = (y) => {
143
+ var x = {}; __nuri_require__.d(x, y); return x
144
+ }
145
+ var y = (x) => (() => (x))
146
+ module.exports = x({ ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["useCallback"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useCallback), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef) });
147
+
148
+ /***/ },
149
+
150
+ /***/ 612
151
+ (module, __unused_webpack_exports, __nuri_require__) {
152
+
153
+ var x = (y) => {
154
+ var x = {}; __nuri_require__.d(x, y); return x
155
+ }
156
+ var y = (x) => (() => (x))
157
+ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
158
+
159
+ /***/ }
160
+
161
+ /******/ });
162
+ /************************************************************************/
163
+ /******/ // The module cache
164
+ /******/ var __webpack_module_cache__ = {};
165
+ /******/
166
+ /******/ // The require function
167
+ /******/ function __nuri_require__(moduleId) {
168
+ /******/ // Check if module is in cache
169
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
170
+ /******/ if (cachedModule !== undefined) {
171
+ /******/ return cachedModule.exports;
172
+ /******/ }
173
+ /******/ // Create a new module (and put it into the cache)
174
+ /******/ var module = __webpack_module_cache__[moduleId] = {
175
+ /******/ // no module.id needed
176
+ /******/ // no module.loaded needed
177
+ /******/ exports: {}
178
+ /******/ };
179
+ /******/
180
+ /******/ // Execute the module function
181
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
182
+ /******/
183
+ /******/ // Return the exports of the module
184
+ /******/ return module.exports;
185
+ /******/ }
186
+ /******/
187
+ /******/ // expose the modules object (__webpack_modules__)
188
+ /******/ __nuri_require__.m = __webpack_modules__;
189
+ /******/
190
+ /************************************************************************/
191
+ /******/ /* webpack/runtime/chunk loaded */
192
+ /******/ (() => {
193
+ /******/ var deferred = [];
194
+ /******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
195
+ /******/ if(chunkIds) {
196
+ /******/ priority = priority || 0;
197
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
198
+ /******/ deferred[i] = [chunkIds, fn, priority];
199
+ /******/ return;
200
+ /******/ }
201
+ /******/ var notFulfilled = Infinity;
202
+ /******/ for (var i = 0; i < deferred.length; i++) {
203
+ /******/ var [chunkIds, fn, priority] = deferred[i];
204
+ /******/ var fulfilled = true;
205
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
206
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
207
+ /******/ chunkIds.splice(j--, 1);
208
+ /******/ } else {
209
+ /******/ fulfilled = false;
210
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
211
+ /******/ }
212
+ /******/ }
213
+ /******/ if(fulfilled) {
214
+ /******/ deferred.splice(i--, 1)
215
+ /******/ var r = fn();
216
+ /******/ if (r !== undefined) result = r;
217
+ /******/ }
218
+ /******/ }
219
+ /******/ return result;
220
+ /******/ };
221
+ /******/ })();
222
+ /******/
223
+ /******/ /* webpack/runtime/define property getters */
224
+ /******/ (() => {
225
+ /******/ // define getter functions for harmony exports
226
+ /******/ __nuri_require__.d = (exports, definition) => {
227
+ /******/ for(var key in definition) {
228
+ /******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
229
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
230
+ /******/ }
231
+ /******/ }
232
+ /******/ };
233
+ /******/ })();
234
+ /******/
235
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
236
+ /******/ (() => {
237
+ /******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
238
+ /******/ })();
239
+ /******/
240
+ /******/ /* webpack/runtime/export webpack runtime */
241
+ /******/ export { __nuri_require__ };
242
+ /******/
243
+ /******/ /* webpack/runtime/import chunk loading */
244
+ /******/ (() => {
245
+ /******/ // no baseURI
246
+ /******/
247
+ /******/ // object to store loaded and loading chunks
248
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
249
+ /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
250
+ /******/ var installedChunks = {
251
+ /******/ 4409: 0
252
+ /******/ };
253
+ /******/
254
+ /******/ var installChunk = (data) => {
255
+ /******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
256
+ /******/ // add "modules" to the modules object,
257
+ /******/ // then flag all "ids" as loaded and fire callback
258
+ /******/ var moduleId, chunkId, i = 0;
259
+ /******/ for(moduleId in __webpack_esm_modules__) {
260
+ /******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
261
+ /******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
262
+ /******/ }
263
+ /******/ }
264
+ /******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
265
+ /******/ for(;i < __webpack_esm_ids__.length; i++) {
266
+ /******/ chunkId = __webpack_esm_ids__[i];
267
+ /******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
268
+ /******/ installedChunks[chunkId][0]();
269
+ /******/ }
270
+ /******/ installedChunks[__webpack_esm_ids__[i]] = 0;
271
+ /******/ }
272
+ /******/ __nuri_require__.O();
273
+ /******/ }
274
+ /******/
275
+ /******/ // no chunk on demand loading
276
+ /******/
277
+ /******/ // no prefetching
278
+ /******/
279
+ /******/ // no preloaded
280
+ /******/
281
+ /******/ __nuri_require__.C = installChunk;
282
+ /******/
283
+ /******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
284
+ /******/ // no HMR
285
+ /******/
286
+ /******/ // no HMR manifest
287
+ /******/ })();
288
+ /******/
289
+ /************************************************************************/
290
+ /******/
291
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
292
+ /******/ __nuri_require__.C(__webpack_chunk_1__);
293
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
294
+ /******/ __nuri_require__.C(__webpack_chunk_2__);
295
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
296
+ /******/ __nuri_require__.C(__webpack_chunk_3__);
297
+ /******/ import * as __webpack_chunk_4__ from "./chunk-7298.js";
298
+ /******/ __nuri_require__.C(__webpack_chunk_4__);
299
+ /******/ import * as __webpack_chunk_5__ from "./chunk-7653.js";
300
+ /******/ __nuri_require__.C(__webpack_chunk_5__);
301
+ /******/ import * as __webpack_chunk_6__ from "./chunk-3547.js";
302
+ /******/ __nuri_require__.C(__webpack_chunk_6__);
303
+ /******/
304
+ /******/ // startup
305
+ /******/ // Load entry module and return exports
306
+ /******/ // 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,7653,3547], () => (__nuri_require__(8205)))
308
+ /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
309
+ /******/ const __webpack_exports__default = __webpack_exports__.A;
310
+ /******/ export { __webpack_exports__default as default };
311
+ /******/
package/dist/text-area.js CHANGED
@@ -375,21 +375,23 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
375
375
  /******/
376
376
  /************************************************************************/
377
377
  /******/
378
- /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
378
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
379
379
  /******/ __nuri_require__.C(__webpack_chunk_1__);
380
- /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
380
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
381
381
  /******/ __nuri_require__.C(__webpack_chunk_2__);
382
- /******/ import * as __webpack_chunk_3__ from "./chunk-4917.js";
382
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
383
383
  /******/ __nuri_require__.C(__webpack_chunk_3__);
384
- /******/ import * as __webpack_chunk_4__ from "./chunk-4558.js";
384
+ /******/ import * as __webpack_chunk_4__ from "./chunk-4917.js";
385
385
  /******/ __nuri_require__.C(__webpack_chunk_4__);
386
- /******/ import * as __webpack_chunk_5__ from "./chunk-7739.js";
386
+ /******/ import * as __webpack_chunk_5__ from "./chunk-4558.js";
387
387
  /******/ __nuri_require__.C(__webpack_chunk_5__);
388
+ /******/ import * as __webpack_chunk_6__ from "./chunk-7739.js";
389
+ /******/ __nuri_require__.C(__webpack_chunk_6__);
388
390
  /******/
389
391
  /******/ // startup
390
392
  /******/ // Load entry module and return exports
391
393
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
392
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560,4917,4558,7739], () => (__nuri_require__(4794)))
394
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,4917,4558,7739], () => (__nuri_require__(4794)))
393
395
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
394
396
  /******/ const __webpack_exports__default = __webpack_exports__.A;
395
397
  /******/ export { __webpack_exports__default as default };
@@ -370,21 +370,23 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
370
370
  /******/
371
371
  /************************************************************************/
372
372
  /******/
373
- /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
373
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
374
374
  /******/ __nuri_require__.C(__webpack_chunk_1__);
375
- /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
375
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
376
376
  /******/ __nuri_require__.C(__webpack_chunk_2__);
377
- /******/ import * as __webpack_chunk_3__ from "./chunk-4917.js";
377
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
378
378
  /******/ __nuri_require__.C(__webpack_chunk_3__);
379
- /******/ import * as __webpack_chunk_4__ from "./chunk-4558.js";
379
+ /******/ import * as __webpack_chunk_4__ from "./chunk-4917.js";
380
380
  /******/ __nuri_require__.C(__webpack_chunk_4__);
381
- /******/ import * as __webpack_chunk_5__ from "./chunk-7739.js";
381
+ /******/ import * as __webpack_chunk_5__ from "./chunk-4558.js";
382
382
  /******/ __nuri_require__.C(__webpack_chunk_5__);
383
+ /******/ import * as __webpack_chunk_6__ from "./chunk-7739.js";
384
+ /******/ __nuri_require__.C(__webpack_chunk_6__);
383
385
  /******/
384
386
  /******/ // startup
385
387
  /******/ // Load entry module and return exports
386
388
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
387
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560,4917,4558,7739], () => (__nuri_require__(295)))
389
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,4917,4558,7739], () => (__nuri_require__(295)))
388
390
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
389
391
  /******/ const __webpack_exports__default = __webpack_exports__.A;
390
392
  /******/ export { __webpack_exports__default as default };
package/dist/text.js CHANGED
@@ -218,15 +218,17 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
218
218
  /******/
219
219
  /************************************************************************/
220
220
  /******/
221
- /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
221
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
222
222
  /******/ __nuri_require__.C(__webpack_chunk_1__);
223
- /******/ import * as __webpack_chunk_2__ from "./chunk-4558.js";
223
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
224
224
  /******/ __nuri_require__.C(__webpack_chunk_2__);
225
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4558.js";
226
+ /******/ __nuri_require__.C(__webpack_chunk_3__);
225
227
  /******/
226
228
  /******/ // startup
227
229
  /******/ // Load entry module and return exports
228
230
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
229
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4558], () => (__nuri_require__(7739)))
231
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4558], () => (__nuri_require__(7739)))
230
232
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
231
233
  /******/ const __webpack_exports__default = __webpack_exports__.A;
232
234
  /******/ export { __webpack_exports__default as default };
package/dist/toast.js CHANGED
@@ -348,7 +348,7 @@ var x = (y) => {
348
348
  var x = {}; __nuri_require__.d(x, y); return x
349
349
  }
350
350
  var y = (x) => (() => (x))
351
- module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
351
+ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.Fragment), ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
352
352
 
353
353
  /***/ }
354
354
 
@@ -482,33 +482,37 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
482
482
  /******/
483
483
  /************************************************************************/
484
484
  /******/
485
- /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
485
+ /******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
486
486
  /******/ __nuri_require__.C(__webpack_chunk_1__);
487
- /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
487
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
488
488
  /******/ __nuri_require__.C(__webpack_chunk_2__);
489
- /******/ import * as __webpack_chunk_3__ from "./chunk-2777.js";
489
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
490
490
  /******/ __nuri_require__.C(__webpack_chunk_3__);
491
491
  /******/ import * as __webpack_chunk_4__ from "./chunk-7298.js";
492
492
  /******/ __nuri_require__.C(__webpack_chunk_4__);
493
- /******/ import * as __webpack_chunk_5__ from "./chunk-8933.js";
493
+ /******/ import * as __webpack_chunk_5__ from "./chunk-2777.js";
494
494
  /******/ __nuri_require__.C(__webpack_chunk_5__);
495
495
  /******/ import * as __webpack_chunk_6__ from "./chunk-6302.js";
496
496
  /******/ __nuri_require__.C(__webpack_chunk_6__);
497
- /******/ import * as __webpack_chunk_7__ from "./chunk-2496.js";
497
+ /******/ import * as __webpack_chunk_7__ from "./chunk-8933.js";
498
498
  /******/ __nuri_require__.C(__webpack_chunk_7__);
499
- /******/ import * as __webpack_chunk_8__ from "./chunk-6713.js";
499
+ /******/ import * as __webpack_chunk_8__ from "./chunk-1176.js";
500
500
  /******/ __nuri_require__.C(__webpack_chunk_8__);
501
- /******/ import * as __webpack_chunk_9__ from "./chunk-5226.js";
501
+ /******/ import * as __webpack_chunk_9__ from "./chunk-2496.js";
502
502
  /******/ __nuri_require__.C(__webpack_chunk_9__);
503
- /******/ import * as __webpack_chunk_10__ from "./chunk-910.js";
503
+ /******/ import * as __webpack_chunk_10__ from "./chunk-5226.js";
504
504
  /******/ __nuri_require__.C(__webpack_chunk_10__);
505
- /******/ import * as __webpack_chunk_11__ from "./chunk-5077.js";
505
+ /******/ import * as __webpack_chunk_11__ from "./chunk-6713.js";
506
506
  /******/ __nuri_require__.C(__webpack_chunk_11__);
507
+ /******/ import * as __webpack_chunk_12__ from "./chunk-910.js";
508
+ /******/ __nuri_require__.C(__webpack_chunk_12__);
509
+ /******/ import * as __webpack_chunk_13__ from "./chunk-5077.js";
510
+ /******/ __nuri_require__.C(__webpack_chunk_13__);
507
511
  /******/
508
512
  /******/ // startup
509
513
  /******/ // Load entry module and return exports
510
514
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
511
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560,2777,7298,8933,6302,2496,6713,5226,910,5077], () => (__nuri_require__(4012)))
515
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,6302,8933,1176,2496,5226,6713,910,5077], () => (__nuri_require__(4012)))
512
516
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
513
517
  /******/ const __webpack_exports__ToastProvider = __webpack_exports__.t;
514
518
  /******/ const __webpack_exports__default = __webpack_exports__.A;
@@ -2,3 +2,4 @@ export { primitive, type PrimitiveTokens } from './primitive';
2
2
  export { semanticApp, type SemanticAppTokens } from './semantic-app';
3
3
  export { semanticAdmin, type SemanticAdminTokens } from './semantic-admin';
4
4
  export { colors } from './colors';
5
+ export { motionPresets, motionTokens, type MotionToken } from './motion';
@@ -0,0 +1,153 @@
1
+ /** 원시값. 컴포넌트는 motionTokens 만 쓴다(빌드 R17). 시간은 초다(motion 의 transition 단위). */
2
+ export declare const motionPresets: {
3
+ readonly duration: {
4
+ readonly xs: 0.12;
5
+ readonly s: 0.16;
6
+ readonly m: 0.24;
7
+ readonly l: 0.35;
8
+ readonly xl: 0.5;
9
+ };
10
+ readonly ease: {
11
+ readonly out: readonly [0.25, 0.1, 0.25, 1];
12
+ readonly in: readonly [0.4, 0, 1, 1];
13
+ readonly "in-out": readonly [0.4, 0, 0.1, 1];
14
+ readonly back: readonly [0.34, 1.56, 0.64, 1];
15
+ readonly symmetric: readonly [0.5, 0, 0.5, 1];
16
+ readonly linear: "linear";
17
+ };
18
+ readonly spring: {
19
+ readonly rapid: {
20
+ readonly type: "spring";
21
+ readonly stiffness: 1000;
22
+ readonly damping: 55;
23
+ readonly mass: 1;
24
+ };
25
+ readonly quick: {
26
+ readonly type: "spring";
27
+ readonly stiffness: 800;
28
+ readonly damping: 55;
29
+ readonly mass: 1;
30
+ };
31
+ readonly small: {
32
+ readonly type: "spring";
33
+ readonly stiffness: 480;
34
+ readonly damping: 50;
35
+ readonly mass: 1;
36
+ };
37
+ readonly medium: {
38
+ readonly type: "spring";
39
+ readonly stiffness: 270;
40
+ readonly damping: 25;
41
+ readonly mass: 1;
42
+ };
43
+ readonly basic: {
44
+ readonly type: "spring";
45
+ readonly stiffness: 200;
46
+ readonly damping: 30;
47
+ readonly mass: 1;
48
+ };
49
+ readonly large: {
50
+ readonly type: "spring";
51
+ readonly stiffness: 100;
52
+ readonly damping: 15;
53
+ readonly mass: 1;
54
+ };
55
+ readonly bounce: {
56
+ readonly type: "spring";
57
+ readonly stiffness: 300;
58
+ readonly damping: 15;
59
+ readonly mass: 1;
60
+ };
61
+ readonly slow: {
62
+ readonly type: "spring";
63
+ readonly stiffness: 70;
64
+ readonly damping: 20;
65
+ readonly mass: 1;
66
+ };
67
+ };
68
+ };
69
+ /** 의미 토큰. 참조를 실제 값으로 풀었다. 시간은 초라 motion 의 transition 에 그대로 넣는다. */
70
+ export declare const motionTokens: {
71
+ readonly press: {
72
+ readonly duration: 0.12;
73
+ readonly ease: readonly [0.25, 0.1, 0.25, 1];
74
+ readonly scale: 0.98;
75
+ readonly dim: 0.12;
76
+ };
77
+ readonly confirm: {
78
+ readonly weak: {
79
+ readonly type: "spring";
80
+ readonly stiffness: 480;
81
+ readonly damping: 50;
82
+ readonly mass: 1;
83
+ };
84
+ readonly strong: {
85
+ readonly type: "spring";
86
+ readonly stiffness: 300;
87
+ readonly damping: 15;
88
+ readonly mass: 1;
89
+ };
90
+ };
91
+ readonly reject: {
92
+ readonly duration: 0.35;
93
+ readonly ease: "linear";
94
+ readonly distance: "2px";
95
+ };
96
+ readonly enter: {
97
+ readonly duration: 0.24;
98
+ readonly ease: readonly [0.25, 0.1, 0.25, 1];
99
+ readonly strong: {
100
+ readonly type: "spring";
101
+ readonly stiffness: 300;
102
+ readonly damping: 15;
103
+ readonly mass: 1;
104
+ };
105
+ readonly "scale-from": 0.96;
106
+ readonly offset: "16px";
107
+ readonly "pop-scale": 0.6;
108
+ };
109
+ readonly exit: {
110
+ readonly duration: 0.16;
111
+ readonly ease: readonly [0.4, 0, 1, 1];
112
+ };
113
+ readonly appear: {
114
+ readonly duration: 0.24;
115
+ readonly ease: readonly [0.25, 0.1, 0.25, 1];
116
+ };
117
+ readonly reveal: {
118
+ readonly duration: 0.24;
119
+ readonly ease: readonly [0.25, 0.1, 0.25, 1];
120
+ readonly gap: 0.08;
121
+ };
122
+ readonly progress: {
123
+ readonly duration: 0.24;
124
+ readonly spring: {
125
+ readonly type: "spring";
126
+ readonly stiffness: 200;
127
+ readonly damping: 30;
128
+ readonly mass: 1;
129
+ };
130
+ };
131
+ readonly expand: {
132
+ readonly duration: 0.24;
133
+ readonly ease: readonly [0.25, 0.1, 0.25, 1];
134
+ readonly rotate: "180deg";
135
+ };
136
+ readonly "dismiss-on-scroll": {
137
+ readonly duration: 0.24;
138
+ readonly ease: readonly [0.25, 0.1, 0.25, 1];
139
+ readonly threshold: "1px";
140
+ };
141
+ readonly attention: {
142
+ readonly shine: 2.5;
143
+ readonly blink: 0.3;
144
+ readonly "float-distance": "3px";
145
+ };
146
+ readonly busy: {
147
+ readonly ring: 1.2;
148
+ readonly "ring-ease": readonly [0.5, 0, 0.5, 1];
149
+ readonly shimmer: 1.5;
150
+ readonly dots: 0.6;
151
+ };
152
+ };
153
+ export type MotionToken = keyof typeof motionTokens;