@nurihaus/web-design-system 3.7.0 → 3.8.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.
- package/README.md +15 -4
- package/dist/ai/components.md +616 -10
- package/dist/ai/motion.md +429 -0
- package/dist/ai/tokens.md +90 -4
- package/dist/avatar.js +5 -3
- package/dist/bottom-bar.js +261 -0
- package/dist/bottom-nav.js +10 -57
- package/dist/breadcrumb.js +7 -5
- package/dist/callout.js +5 -3
- package/dist/card.js +278 -0
- package/dist/check-box.js +7 -5
- package/dist/chip-group.js +6 -4
- package/dist/chunk-3274.js +71 -0
- package/dist/chunk-345.js +72 -0
- package/dist/chunk-3547.js +56 -0
- package/dist/chunk-6459.js +107 -0
- package/dist/{chunk-6364.js → chunk-7335.js} +2 -67
- package/dist/chunk-7653.js +4 -0
- package/dist/chunk-910.js +17 -6
- package/dist/chunk-9497.js +66 -0
- package/dist/collapsible-menu.js +6 -4
- package/dist/components/badge/badge-props.d.ts +4 -4
- package/dist/components/badge/badge.stories.d.ts +1 -1
- package/dist/components/bottom-bar/base-bottom-bar.d.ts +4 -0
- package/dist/components/bottom-bar/bottom-bar-props.d.ts +1 -0
- package/dist/components/bottom-bar/bottom-bar-type.d.ts +3 -0
- package/dist/components/bottom-bar/bottom-bar.d.ts +6 -0
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +282 -0
- package/dist/components/button/button-type.d.ts +3 -1
- package/dist/components/button/button.stories.d.ts +1 -0
- package/dist/components/card/base-card.d.ts +3 -0
- package/dist/components/card/card-props.d.ts +9 -0
- package/dist/components/card/card-type.d.ts +8 -0
- package/dist/components/card/card.d.ts +5 -0
- package/dist/components/card/card.stories.d.ts +24 -0
- package/dist/components/description-list/base-description-list.d.ts +4 -0
- package/dist/components/description-list/description-list-props.d.ts +1 -0
- package/dist/components/description-list/description-list-type.d.ts +13 -0
- package/dist/components/description-list/description-list.d.ts +5 -0
- package/dist/components/description-list/description-list.stories.d.ts +20 -0
- package/dist/components/empty-state/base-empty-state.d.ts +4 -0
- package/dist/components/empty-state/empty-state-props.d.ts +10 -0
- package/dist/components/empty-state/empty-state-type.d.ts +14 -0
- package/dist/components/empty-state/empty-state.d.ts +5 -0
- package/dist/components/empty-state/empty-state.stories.d.ts +300 -0
- package/dist/components/icon/icon-paths.d.ts +4 -0
- package/dist/components/icon/icon.stories.d.ts +1 -1
- package/dist/components/list/base-list.d.ts +7 -0
- package/dist/components/list/list-group.d.ts +5 -0
- package/dist/components/list/list-group.stories.d.ts +14 -0
- package/dist/components/list/list-props.d.ts +2 -0
- package/dist/components/list/list-row.d.ts +5 -0
- package/dist/components/list/list-row.stories.d.ts +304 -0
- package/dist/components/list/list-type.d.ts +25 -0
- package/dist/components/media/base-media.d.ts +16 -0
- package/dist/components/media/media-props.d.ts +5 -0
- package/dist/components/media/media-thumbnail.d.ts +4 -0
- package/dist/components/media/media-thumbnail.stories.d.ts +34 -0
- package/dist/components/media/media-type.d.ts +43 -0
- package/dist/components/media/media-viewer.d.ts +4 -0
- package/dist/components/media/media-viewer.stories.d.ts +24 -0
- package/dist/components/message/base-message.d.ts +11 -0
- package/dist/components/message/message-event.d.ts +6 -0
- package/dist/components/message/message-props.d.ts +17 -0
- package/dist/components/message/message-thread.d.ts +6 -0
- package/dist/components/message/message-type.d.ts +21 -0
- package/dist/components/message/message.d.ts +5 -0
- package/dist/components/message/message.stories.d.ts +313 -0
- package/dist/components/message-composer/base-message-composer.d.ts +11 -0
- package/dist/components/message-composer/message-composer-props.d.ts +1 -0
- package/dist/components/message-composer/message-composer-type.d.ts +27 -0
- package/dist/components/message-composer/message-composer.d.ts +5 -0
- package/dist/components/message-composer/message-composer.stories.d.ts +44 -0
- package/dist/components/motion/motion-provider.d.ts +5 -0
- package/dist/components/motion/motion-type.d.ts +6 -0
- package/dist/components/motion/motion.d.ts +2 -0
- package/dist/components/motion/motion.stories.d.ts +23 -0
- package/dist/components/notice/base-notice.d.ts +4 -0
- package/dist/components/notice/notice-props.d.ts +16 -0
- package/dist/components/notice/notice-type.d.ts +19 -0
- package/dist/components/notice/notice.d.ts +5 -0
- package/dist/components/notice/notice.stories.d.ts +304 -0
- package/dist/components/radio/base-radio.d.ts +2 -1
- package/dist/components/radio/radio-props.d.ts +9 -1
- package/dist/components/radio/radio-type.d.ts +9 -0
- package/dist/components/radio/radio.stories.d.ts +10 -0
- package/dist/components/skeleton/skeleton.stories.d.ts +7 -7
- package/dist/components/tag/base-tag.d.ts +8 -0
- package/dist/components/tag/tag-props.d.ts +1 -0
- package/dist/components/tag/tag-type.d.ts +20 -0
- package/dist/components/tag/tag.d.ts +4 -0
- package/dist/components/tag/tag.stories.d.ts +14 -0
- package/dist/components/toast/toast.stories.d.ts +12 -12
- package/dist/components.css +1234 -171
- package/dist/cta-button.js +27 -14
- package/dist/data-table.js +5 -3
- package/dist/description-list.js +274 -0
- package/dist/drawer.js +7 -5
- package/dist/drop-down.js +8 -6
- package/dist/empty-state.js +300 -0
- package/dist/icon-text-badge.js +11 -9
- package/dist/icon-text-option-badge.js +8 -6
- package/dist/icon.js +7 -4
- package/dist/index.d.ts +28 -2
- package/dist/index.js +2297 -228
- package/dist/list-group.js +253 -0
- package/dist/list-row.js +302 -0
- package/dist/loading.js +6 -4
- package/dist/media-thumbnail.js +412 -0
- package/dist/media-viewer.js +274 -0
- package/dist/message-composer.js +395 -0
- package/dist/message-event.js +216 -0
- package/dist/message-thread.js +216 -0
- package/dist/message.js +271 -0
- package/dist/modal-with-double-button.js +11 -9
- package/dist/modal.js +9 -7
- package/dist/motion.js +52 -0
- package/dist/notice.js +342 -0
- package/dist/option-badge.js +11 -9
- package/dist/pagination.js +8 -6
- package/dist/radio.js +114 -30
- package/dist/skeleton.js +4 -2
- package/dist/step-progress.js +4 -2
- package/dist/styles.css +1124 -122
- package/dist/switch.js +6 -4
- package/dist/tabs.js +5 -3
- package/dist/tag.js +311 -0
- package/dist/text-area.js +8 -6
- package/dist/text-field.js +8 -6
- package/dist/text.js +5 -3
- package/dist/toast.js +12 -10
- package/dist/tokens/generated/index.d.ts +1 -0
- package/dist/tokens/generated/motion.d.ts +153 -0
- package/dist/tokens.css +117 -2
- package/dist/tokens.js +156 -1
- package/dist/tooltip.js +6 -4
- package/package.json +63 -1
package/dist/card.js
ADDED
|
@@ -0,0 +1,278 @@
|
|
|
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
|
+
/***/ 329
|
|
7
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
// EXPORTS
|
|
11
|
+
__nuri_require__.d(__webpack_exports__, {
|
|
12
|
+
A: () => (/* binding */ card)
|
|
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
|
+
// EXTERNAL MODULE: ./components/core/composer/index.tsx
|
|
24
|
+
var composer = __nuri_require__(2777);
|
|
25
|
+
;// ./components/card/base-card.tsx
|
|
26
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
27
|
+
__assign = Object.assign || function (t) {
|
|
28
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
29
|
+
s = arguments[i];
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
31
|
+
}
|
|
32
|
+
return t;
|
|
33
|
+
};
|
|
34
|
+
return __assign.apply(this, arguments);
|
|
35
|
+
};
|
|
36
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
39
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
40
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
41
|
+
}
|
|
42
|
+
return t;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
var BaseCard = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
49
|
+
var _a = props.asChild,
|
|
50
|
+
asChild = _a === void 0 ? false : _a,
|
|
51
|
+
className = props.className,
|
|
52
|
+
restProps = __rest(props, ["asChild", "className"]);
|
|
53
|
+
var Comp = asChild ? composer/* default */.A : 'div';
|
|
54
|
+
return (0,jsx_runtime_.jsx)(Comp, __assign({
|
|
55
|
+
ref: ref,
|
|
56
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-card', className)
|
|
57
|
+
}, restProps));
|
|
58
|
+
});
|
|
59
|
+
BaseCard.displayName = 'BaseCard';
|
|
60
|
+
/* harmony default export */ const base_card = (BaseCard);
|
|
61
|
+
;// ./components/card/card-props.ts
|
|
62
|
+
// 크기·안쪽 여백 prop 은 두지 않는다. 카드는 한 모양이다(여백 --spacing-16).
|
|
63
|
+
var variant = ['default', 'tinted'];
|
|
64
|
+
var cardProps = {
|
|
65
|
+
variant: {
|
|
66
|
+
type: 'className',
|
|
67
|
+
className: 'variant',
|
|
68
|
+
values: variant,
|
|
69
|
+
"default": 'default'
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
;// ./components/card/card.tsx
|
|
73
|
+
var card_assign = undefined && undefined.__assign || function () {
|
|
74
|
+
card_assign = Object.assign || function (t) {
|
|
75
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
76
|
+
s = arguments[i];
|
|
77
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
78
|
+
}
|
|
79
|
+
return t;
|
|
80
|
+
};
|
|
81
|
+
return card_assign.apply(this, arguments);
|
|
82
|
+
};
|
|
83
|
+
var card_rest = undefined && undefined.__rest || function (s, e) {
|
|
84
|
+
var t = {};
|
|
85
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
86
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
87
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
88
|
+
}
|
|
89
|
+
return t;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
/** 목록·홈의 카드 면. 누르는 카드는 asChild 로 링크·버튼 하나를 children 으로 준다 — 그 요소가 카드가 된다 */
|
|
98
|
+
var Card = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
99
|
+
var _a = (0,getMergedProps/* getMergedProps */.p)(props, cardProps),
|
|
100
|
+
className = _a.className,
|
|
101
|
+
restProps = card_rest(_a, ["className"]);
|
|
102
|
+
return (0,jsx_runtime_.jsx)(base_card, card_assign({
|
|
103
|
+
ref: ref,
|
|
104
|
+
className: (0,classNames/* classNames */.x)(className, 'card')
|
|
105
|
+
}, restProps));
|
|
106
|
+
});
|
|
107
|
+
Card.displayName = 'Card';
|
|
108
|
+
/* harmony default export */ const card = (Card);
|
|
109
|
+
|
|
110
|
+
/***/ },
|
|
111
|
+
|
|
112
|
+
/***/ 1041
|
|
113
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
114
|
+
|
|
115
|
+
var x = (y) => {
|
|
116
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
117
|
+
}
|
|
118
|
+
var y = (x) => (() => (x))
|
|
119
|
+
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) });
|
|
120
|
+
|
|
121
|
+
/***/ },
|
|
122
|
+
|
|
123
|
+
/***/ 612
|
|
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({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx) });
|
|
131
|
+
|
|
132
|
+
/***/ }
|
|
133
|
+
|
|
134
|
+
/******/ });
|
|
135
|
+
/************************************************************************/
|
|
136
|
+
/******/ // The module cache
|
|
137
|
+
/******/ var __webpack_module_cache__ = {};
|
|
138
|
+
/******/
|
|
139
|
+
/******/ // The require function
|
|
140
|
+
/******/ function __nuri_require__(moduleId) {
|
|
141
|
+
/******/ // Check if module is in cache
|
|
142
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
143
|
+
/******/ if (cachedModule !== undefined) {
|
|
144
|
+
/******/ return cachedModule.exports;
|
|
145
|
+
/******/ }
|
|
146
|
+
/******/ // Create a new module (and put it into the cache)
|
|
147
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
148
|
+
/******/ // no module.id needed
|
|
149
|
+
/******/ // no module.loaded needed
|
|
150
|
+
/******/ exports: {}
|
|
151
|
+
/******/ };
|
|
152
|
+
/******/
|
|
153
|
+
/******/ // Execute the module function
|
|
154
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
|
|
155
|
+
/******/
|
|
156
|
+
/******/ // Return the exports of the module
|
|
157
|
+
/******/ return module.exports;
|
|
158
|
+
/******/ }
|
|
159
|
+
/******/
|
|
160
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
161
|
+
/******/ __nuri_require__.m = __webpack_modules__;
|
|
162
|
+
/******/
|
|
163
|
+
/************************************************************************/
|
|
164
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
165
|
+
/******/ (() => {
|
|
166
|
+
/******/ var deferred = [];
|
|
167
|
+
/******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
|
|
168
|
+
/******/ if(chunkIds) {
|
|
169
|
+
/******/ priority = priority || 0;
|
|
170
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
171
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
172
|
+
/******/ return;
|
|
173
|
+
/******/ }
|
|
174
|
+
/******/ var notFulfilled = Infinity;
|
|
175
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
176
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
177
|
+
/******/ var fulfilled = true;
|
|
178
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
179
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
|
|
180
|
+
/******/ chunkIds.splice(j--, 1);
|
|
181
|
+
/******/ } else {
|
|
182
|
+
/******/ fulfilled = false;
|
|
183
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
184
|
+
/******/ }
|
|
185
|
+
/******/ }
|
|
186
|
+
/******/ if(fulfilled) {
|
|
187
|
+
/******/ deferred.splice(i--, 1)
|
|
188
|
+
/******/ var r = fn();
|
|
189
|
+
/******/ if (r !== undefined) result = r;
|
|
190
|
+
/******/ }
|
|
191
|
+
/******/ }
|
|
192
|
+
/******/ return result;
|
|
193
|
+
/******/ };
|
|
194
|
+
/******/ })();
|
|
195
|
+
/******/
|
|
196
|
+
/******/ /* webpack/runtime/define property getters */
|
|
197
|
+
/******/ (() => {
|
|
198
|
+
/******/ // define getter functions for harmony exports
|
|
199
|
+
/******/ __nuri_require__.d = (exports, definition) => {
|
|
200
|
+
/******/ for(var key in definition) {
|
|
201
|
+
/******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
|
|
202
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
203
|
+
/******/ }
|
|
204
|
+
/******/ }
|
|
205
|
+
/******/ };
|
|
206
|
+
/******/ })();
|
|
207
|
+
/******/
|
|
208
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
209
|
+
/******/ (() => {
|
|
210
|
+
/******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
211
|
+
/******/ })();
|
|
212
|
+
/******/
|
|
213
|
+
/******/ /* webpack/runtime/export webpack runtime */
|
|
214
|
+
/******/ export { __nuri_require__ };
|
|
215
|
+
/******/
|
|
216
|
+
/******/ /* webpack/runtime/import chunk loading */
|
|
217
|
+
/******/ (() => {
|
|
218
|
+
/******/ // no baseURI
|
|
219
|
+
/******/
|
|
220
|
+
/******/ // object to store loaded and loading chunks
|
|
221
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
222
|
+
/******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
223
|
+
/******/ var installedChunks = {
|
|
224
|
+
/******/ 6509: 0
|
|
225
|
+
/******/ };
|
|
226
|
+
/******/
|
|
227
|
+
/******/ var installChunk = (data) => {
|
|
228
|
+
/******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
|
|
229
|
+
/******/ // add "modules" to the modules object,
|
|
230
|
+
/******/ // then flag all "ids" as loaded and fire callback
|
|
231
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
232
|
+
/******/ for(moduleId in __webpack_esm_modules__) {
|
|
233
|
+
/******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
|
|
234
|
+
/******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
|
|
235
|
+
/******/ }
|
|
236
|
+
/******/ }
|
|
237
|
+
/******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
|
|
238
|
+
/******/ for(;i < __webpack_esm_ids__.length; i++) {
|
|
239
|
+
/******/ chunkId = __webpack_esm_ids__[i];
|
|
240
|
+
/******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
241
|
+
/******/ installedChunks[chunkId][0]();
|
|
242
|
+
/******/ }
|
|
243
|
+
/******/ installedChunks[__webpack_esm_ids__[i]] = 0;
|
|
244
|
+
/******/ }
|
|
245
|
+
/******/ __nuri_require__.O();
|
|
246
|
+
/******/ }
|
|
247
|
+
/******/
|
|
248
|
+
/******/ // no chunk on demand loading
|
|
249
|
+
/******/
|
|
250
|
+
/******/ // no prefetching
|
|
251
|
+
/******/
|
|
252
|
+
/******/ // no preloaded
|
|
253
|
+
/******/
|
|
254
|
+
/******/ __nuri_require__.C = installChunk;
|
|
255
|
+
/******/
|
|
256
|
+
/******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
257
|
+
/******/ // no HMR
|
|
258
|
+
/******/
|
|
259
|
+
/******/ // no HMR manifest
|
|
260
|
+
/******/ })();
|
|
261
|
+
/******/
|
|
262
|
+
/************************************************************************/
|
|
263
|
+
/******/
|
|
264
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
|
|
265
|
+
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
266
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
|
|
267
|
+
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
268
|
+
/******/ import * as __webpack_chunk_3__ from "./chunk-2777.js";
|
|
269
|
+
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
270
|
+
/******/
|
|
271
|
+
/******/ // startup
|
|
272
|
+
/******/ // Load entry module and return exports
|
|
273
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
274
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,2777], () => (__nuri_require__(329)))
|
|
275
|
+
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
276
|
+
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
277
|
+
/******/ export { __webpack_exports__default as default };
|
|
278
|
+
/******/
|
package/dist/check-box.js
CHANGED
|
@@ -355,21 +355,23 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
355
355
|
/******/
|
|
356
356
|
/************************************************************************/
|
|
357
357
|
/******/
|
|
358
|
-
/******/ import * as __webpack_chunk_1__ from "./chunk-
|
|
358
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
|
|
359
359
|
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
360
|
-
/******/ import * as __webpack_chunk_2__ from "./chunk-
|
|
360
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
|
|
361
361
|
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
362
|
-
/******/ import * as __webpack_chunk_3__ from "./chunk-
|
|
362
|
+
/******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
|
|
363
363
|
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
364
364
|
/******/ import * as __webpack_chunk_4__ from "./chunk-7298.js";
|
|
365
365
|
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
366
|
-
/******/ import * as __webpack_chunk_5__ from "./chunk-
|
|
366
|
+
/******/ import * as __webpack_chunk_5__ from "./chunk-2777.js";
|
|
367
367
|
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
368
|
+
/******/ import * as __webpack_chunk_6__ from "./chunk-5077.js";
|
|
369
|
+
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
368
370
|
/******/
|
|
369
371
|
/******/ // startup
|
|
370
372
|
/******/ // Load entry module and return exports
|
|
371
373
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
372
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [
|
|
374
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,5077], () => (__nuri_require__(445)))
|
|
373
375
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
374
376
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
375
377
|
/******/ export { __webpack_exports__default as default };
|
package/dist/chip-group.js
CHANGED
|
@@ -314,17 +314,19 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
314
314
|
/******/
|
|
315
315
|
/************************************************************************/
|
|
316
316
|
/******/
|
|
317
|
-
/******/ import * as __webpack_chunk_1__ from "./chunk-
|
|
317
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
|
|
318
318
|
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
319
|
-
/******/ import * as __webpack_chunk_2__ from "./chunk-
|
|
319
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
|
|
320
320
|
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
321
|
-
/******/ import * as __webpack_chunk_3__ from "./chunk-
|
|
321
|
+
/******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
|
|
322
322
|
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
323
|
+
/******/ import * as __webpack_chunk_4__ from "./chunk-9387.js";
|
|
324
|
+
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
323
325
|
/******/
|
|
324
326
|
/******/ // startup
|
|
325
327
|
/******/ // Load entry module and return exports
|
|
326
328
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
327
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [
|
|
329
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,9387], () => (__nuri_require__(3894)))
|
|
328
330
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
329
331
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
330
332
|
/******/ export { __webpack_exports__default as default };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export const __webpack_esm_id__ = 3274;
|
|
3
|
+
export const __webpack_esm_ids__ = [3274];
|
|
4
|
+
export const __webpack_esm_modules__ = {
|
|
5
|
+
|
|
6
|
+
/***/ 3274
|
|
7
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ x: () => (/* binding */ classNames)
|
|
11
|
+
/* harmony export */ });
|
|
12
|
+
const hasOwn = {}.hasOwnProperty;
|
|
13
|
+
|
|
14
|
+
function classNames() {
|
|
15
|
+
let classes = '';
|
|
16
|
+
|
|
17
|
+
for (let i = 0; i < arguments.length; i++) {
|
|
18
|
+
const arg = arguments[i];
|
|
19
|
+
if (arg) {
|
|
20
|
+
classes = appendClass(classes, parseValue(arg));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return classes;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function parseValue(arg) {
|
|
28
|
+
if (typeof arg === 'string') {
|
|
29
|
+
return arg;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if (typeof arg !== 'object') {
|
|
33
|
+
return '';
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if (Array.isArray(arg)) {
|
|
37
|
+
return classNames.apply(null, arg);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
if (
|
|
41
|
+
arg.toString !== Object.prototype.toString &&
|
|
42
|
+
!arg.toString.toString().includes('[native code]')
|
|
43
|
+
) {
|
|
44
|
+
return arg.toString();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
let classes = '';
|
|
48
|
+
|
|
49
|
+
for (const key in arg) {
|
|
50
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
51
|
+
classes = appendClass(classes, key);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return classes;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function appendClass(value, newClass) {
|
|
59
|
+
if (!newClass) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return value ? value + ' ' + newClass : newClass;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/***/ }
|
|
70
|
+
|
|
71
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export const __webpack_esm_id__ = 345;
|
|
3
|
+
export const __webpack_esm_ids__ = [345];
|
|
4
|
+
export const __webpack_esm_modules__ = {
|
|
5
|
+
|
|
6
|
+
/***/ 345
|
|
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
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
16
|
+
__assign = Object.assign || function (t) {
|
|
17
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
+
s = arguments[i];
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
return __assign.apply(this, arguments);
|
|
24
|
+
};
|
|
25
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
26
|
+
var t = {};
|
|
27
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
28
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
29
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
30
|
+
}
|
|
31
|
+
return t;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
var MessageRootBase = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
37
|
+
var className = props.className,
|
|
38
|
+
restProps = __rest(props, ["className"]);
|
|
39
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("ol", __assign({
|
|
40
|
+
ref: ref,
|
|
41
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)('nuri-theme base-message root', className)
|
|
42
|
+
}, restProps));
|
|
43
|
+
});
|
|
44
|
+
MessageRootBase.displayName = 'MessageRoot';
|
|
45
|
+
/** 대화 한 줄. 메시지와 상태 줄이 모두 이것이다 */
|
|
46
|
+
var MessageItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
47
|
+
var className = props.className,
|
|
48
|
+
restProps = __rest(props, ["className"]);
|
|
49
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("li", __assign({
|
|
50
|
+
ref: ref,
|
|
51
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)('nuri-theme base-message item', className)
|
|
52
|
+
}, restProps));
|
|
53
|
+
});
|
|
54
|
+
MessageItem.displayName = 'MessageItem';
|
|
55
|
+
var MessageBubble = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
56
|
+
var className = props.className,
|
|
57
|
+
restProps = __rest(props, ["className"]);
|
|
58
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({
|
|
59
|
+
ref: ref,
|
|
60
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)('nuri-theme base-message bubble', className)
|
|
61
|
+
}, restProps));
|
|
62
|
+
});
|
|
63
|
+
MessageBubble.displayName = 'MessageBubble';
|
|
64
|
+
var MessageRoot = Object.assign(MessageRootBase, {
|
|
65
|
+
Item: MessageItem,
|
|
66
|
+
Bubble: MessageBubble
|
|
67
|
+
});
|
|
68
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MessageRoot);
|
|
69
|
+
|
|
70
|
+
/***/ }
|
|
71
|
+
|
|
72
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export const __webpack_esm_id__ = 3547;
|
|
3
|
+
export const __webpack_esm_ids__ = [3547];
|
|
4
|
+
export const __webpack_esm_modules__ = {
|
|
5
|
+
|
|
6
|
+
/***/ 3547
|
|
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_icon__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(9896);
|
|
17
|
+
/* harmony import */ var _icon_props__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(6722);
|
|
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
|
+
var Icon = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
43
|
+
var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)(props, _icon_props__WEBPACK_IMPORTED_MODULE_5__/* .iconProps */ .u1),
|
|
44
|
+
className = _a.className,
|
|
45
|
+
restProps = __rest(_a, ["className"]);
|
|
46
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_icon__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, __assign({
|
|
47
|
+
ref: ref,
|
|
48
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'icon')
|
|
49
|
+
}, restProps));
|
|
50
|
+
});
|
|
51
|
+
Icon.displayName = 'Icon';
|
|
52
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);
|
|
53
|
+
|
|
54
|
+
/***/ }
|
|
55
|
+
|
|
56
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export const __webpack_esm_id__ = 6459;
|
|
3
|
+
export const __webpack_esm_ids__ = [6459];
|
|
4
|
+
export const __webpack_esm_modules__ = {
|
|
5
|
+
|
|
6
|
+
/***/ 6459
|
|
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 radix_ui__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(0);
|
|
15
|
+
/* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(3274);
|
|
16
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
17
|
+
__assign = Object.assign || function (t) {
|
|
18
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19
|
+
s = arguments[i];
|
|
20
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
return __assign.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
27
|
+
var t = {};
|
|
28
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
29
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
30
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
31
|
+
}
|
|
32
|
+
return t;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
// Dialog.Root 는 DOM 을 그리지 않아 ref 를 받을 곳이 없다.
|
|
39
|
+
var MediaViewerRootBase = function MediaViewerRootBase(props) {
|
|
40
|
+
var children = props.children,
|
|
41
|
+
open = props.open,
|
|
42
|
+
defaultOpen = props.defaultOpen,
|
|
43
|
+
onOpenChange = props.onOpenChange;
|
|
44
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Root, {
|
|
45
|
+
open: open,
|
|
46
|
+
defaultOpen: defaultOpen,
|
|
47
|
+
onOpenChange: onOpenChange,
|
|
48
|
+
children: children
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
MediaViewerRootBase.displayName = 'MediaViewerRoot';
|
|
52
|
+
var MediaViewerTrigger = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
53
|
+
var className = props.className,
|
|
54
|
+
restProps = __rest(props, ["className"]);
|
|
55
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Trigger, __assign({
|
|
56
|
+
ref: ref,
|
|
57
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__/* .classNames */ .x)('nuri-theme base-media trigger', className)
|
|
58
|
+
}, restProps));
|
|
59
|
+
});
|
|
60
|
+
MediaViewerTrigger.displayName = 'MediaViewerTrigger';
|
|
61
|
+
// Portal 과 Overlay 를 같이 그린다. 화면 전체를 덮는 Dialog.Content 가 ref 를 받는다.
|
|
62
|
+
var MediaViewerContent = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
63
|
+
var className = props.className,
|
|
64
|
+
restProps = __rest(props, ["className"]);
|
|
65
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Portal, {
|
|
66
|
+
children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Overlay, {
|
|
67
|
+
className: 'nuri-theme base-media overlay'
|
|
68
|
+
}), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Content, __assign({
|
|
69
|
+
ref: ref,
|
|
70
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__/* .classNames */ .x)('nuri-theme base-media content', className)
|
|
71
|
+
}, restProps))]
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
MediaViewerContent.displayName = 'MediaViewerContent';
|
|
75
|
+
// 접근성 이름만 준다. 화면에는 사진만 보인다.
|
|
76
|
+
var MediaViewerTitle = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
77
|
+
var className = props.className,
|
|
78
|
+
restProps = __rest(props, ["className"]);
|
|
79
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.VisuallyHidden.Root, {
|
|
80
|
+
asChild: true,
|
|
81
|
+
children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Title, __assign({
|
|
82
|
+
ref: ref,
|
|
83
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__/* .classNames */ .x)('nuri-theme base-media title', className)
|
|
84
|
+
}, restProps))
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
MediaViewerTitle.displayName = 'MediaViewerTitle';
|
|
88
|
+
var MediaViewerClose = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
89
|
+
var className = props.className,
|
|
90
|
+
restProps = __rest(props, ["className"]);
|
|
91
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Close, __assign({
|
|
92
|
+
ref: ref,
|
|
93
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__/* .classNames */ .x)('nuri-theme base-media close', className)
|
|
94
|
+
}, restProps));
|
|
95
|
+
});
|
|
96
|
+
MediaViewerClose.displayName = 'MediaViewerClose';
|
|
97
|
+
var MediaViewerRoot = Object.assign(MediaViewerRootBase, {
|
|
98
|
+
Trigger: MediaViewerTrigger,
|
|
99
|
+
Content: MediaViewerContent,
|
|
100
|
+
Title: MediaViewerTitle,
|
|
101
|
+
Close: MediaViewerClose
|
|
102
|
+
});
|
|
103
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MediaViewerRoot);
|
|
104
|
+
|
|
105
|
+
/***/ }
|
|
106
|
+
|
|
107
|
+
};
|