@nurihaus/web-design-system 3.9.3 → 3.9.5
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 +2 -0
- package/dist/.storybook/migration.d.ts +1 -0
- package/dist/.storybook/usage.d.ts +23 -0
- package/dist/agreement.js +1110 -0
- package/dist/ai/components.md +3506 -250
- package/dist/ai/motion.md +58 -6
- package/dist/ai/tokens.md +53 -25
- package/dist/alphabet-keypad.js +446 -0
- package/dist/asset.js +47 -5
- package/dist/avatar.js +50 -8
- package/dist/bar-chart.js +478 -0
- package/dist/board-row.js +379 -0
- package/dist/border.js +223 -0
- package/dist/bottom-cta.js +378 -0
- package/dist/bottom-info.js +253 -0
- package/dist/bottom-nav.js +12 -64
- package/dist/bottom-sheet.js +608 -0
- package/dist/check-box.js +29 -162
- package/dist/chip-group.js +2 -2
- package/dist/{chunk-5589.js → chunk-1657.js} +2 -34
- package/dist/{chunk-9387.js → chunk-1768.js} +2 -2
- package/dist/chunk-1983.js +37 -1
- package/dist/chunk-2046.js +73 -0
- package/dist/chunk-2060.js +34 -0
- package/dist/chunk-2308.js +184 -0
- package/dist/chunk-2777.js +1 -0
- package/dist/chunk-3091.js +54 -0
- package/dist/chunk-4109.js +115 -0
- package/dist/chunk-4205.js +47 -0
- package/dist/chunk-4324.js +109 -0
- package/dist/chunk-4328.js +69 -0
- package/dist/chunk-4558.js +5 -116
- package/dist/chunk-4917.js +1 -1
- package/dist/chunk-5670.js +1 -29
- package/dist/chunk-6096.js +183 -0
- package/dist/{chunk-8377.js → chunk-6149.js} +2 -36
- package/dist/chunk-6478.js +155 -0
- package/dist/chunk-6499.js +39 -0
- package/dist/chunk-6616.js +84 -0
- package/dist/chunk-674.js +133 -0
- package/dist/chunk-7024.js +152 -0
- package/dist/chunk-7232.js +122 -0
- package/dist/chunk-7298.js +1 -1
- package/dist/chunk-7589.js +40 -0
- package/dist/chunk-7593.js +85 -0
- package/dist/chunk-7653.js +16 -0
- package/dist/chunk-7737.js +21 -0
- package/dist/chunk-7739.js +1 -5
- package/dist/chunk-829.js +38 -0
- package/dist/chunk-8491.js +43 -0
- package/dist/chunk-8787.js +0 -180
- package/dist/chunk-8982.js +186 -0
- package/dist/chunk-910.js +1 -1
- package/dist/chunk-9497.js +11 -1
- package/dist/collapsible-menu.js +3 -3
- package/dist/components/agreement/agreement-props.d.ts +44 -0
- package/dist/components/agreement/agreement-type.d.ts +107 -0
- package/dist/components/agreement/agreement.d.ts +26 -0
- package/dist/components/agreement/agreement.stories.d.ts +72 -0
- package/dist/components/agreement/base-agreement.d.ts +40 -0
- package/dist/components/asset/asset-type.d.ts +34 -1
- package/dist/components/asset/asset.d.ts +4 -2
- package/dist/components/asset/asset.stories.d.ts +6 -0
- package/dist/components/asset/base-asset.d.ts +5 -1
- package/dist/components/bar-chart/bar-chart-fill.d.ts +6 -0
- package/dist/components/bar-chart/bar-chart-props.d.ts +17 -0
- package/dist/components/bar-chart/bar-chart-type.d.ts +52 -0
- package/dist/components/bar-chart/bar-chart.d.ts +4 -0
- package/dist/components/bar-chart/bar-chart.stories.d.ts +65 -0
- package/dist/components/bar-chart/base-bar-chart.d.ts +17 -0
- package/dist/components/board-row/base-board-row.d.ts +13 -0
- package/dist/components/board-row/board-row-props.d.ts +2 -0
- package/dist/components/board-row/board-row-type.d.ts +22 -0
- package/dist/components/board-row/board-row.d.ts +8 -0
- package/dist/components/board-row/board-row.stories.d.ts +32 -0
- package/dist/components/border/base-border.d.ts +4 -0
- package/dist/components/border/border-props.d.ts +10 -0
- package/dist/components/border/border-type.d.ts +7 -0
- package/dist/components/border/border.d.ts +5 -0
- package/dist/components/border/border.stories.d.ts +19 -0
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +5 -5
- package/dist/components/bottom-cta/base-bottom-cta.d.ts +4 -0
- package/dist/components/bottom-cta/bottom-cta-props.d.ts +10 -0
- package/dist/components/bottom-cta/bottom-cta-type.d.ts +39 -0
- package/dist/components/bottom-cta/bottom-cta.d.ts +35 -0
- package/dist/components/bottom-cta/bottom-cta.stories.d.ts +79 -0
- package/dist/components/bottom-info/base-bottom-info.d.ts +4 -0
- package/dist/components/bottom-info/bottom-info-props.d.ts +1 -0
- package/dist/components/bottom-info/bottom-info-type.d.ts +6 -0
- package/dist/components/bottom-info/bottom-info.d.ts +4 -0
- package/dist/components/bottom-info/bottom-info.stories.d.ts +22 -0
- package/dist/components/bottom-sheet/base-bottom-sheet.d.ts +17 -0
- package/dist/components/bottom-sheet/bottom-sheet-props.d.ts +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-snap.d.ts +15 -0
- package/dist/components/bottom-sheet/bottom-sheet-type.d.ts +55 -0
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +4 -0
- package/dist/components/bottom-sheet/bottom-sheet.stories.d.ts +47 -0
- package/dist/components/check-box/check-box-type.d.ts +3 -0
- package/dist/components/core/composer/index.d.ts +2 -0
- package/dist/components/elements/text/text-props.d.ts +1 -0
- package/dist/components/empty-state/empty-state-props.d.ts +5 -3
- package/dist/components/empty-state/empty-state-type.d.ts +17 -5
- package/dist/components/empty-state/empty-state.d.ts +8 -3
- package/dist/components/empty-state/empty-state.stories.d.ts +301 -9
- package/dist/components/grid-list/base-grid-list.d.ts +10 -0
- package/dist/components/grid-list/grid-list-props.d.ts +11 -0
- package/dist/components/grid-list/grid-list-type.d.ts +24 -0
- package/dist/components/grid-list/grid-list.d.ts +6 -0
- package/dist/components/grid-list/grid-list.stories.d.ts +30 -0
- package/dist/components/highlight/base-highlight.d.ts +14 -0
- package/dist/components/highlight/highlight-props.d.ts +2 -0
- package/dist/components/highlight/highlight-type.d.ts +42 -0
- package/dist/components/highlight/highlight.d.ts +4 -0
- package/dist/components/highlight/highlight.stories.d.ts +31 -0
- package/dist/components/icon/icon-paths.d.ts +16 -0
- package/dist/components/icon/icon.stories.d.ts +1 -1
- package/dist/components/icon-button/icon-button-type.d.ts +2 -0
- package/dist/components/icon-button/icon-button.stories.d.ts +2 -0
- package/dist/components/keypad/alphabet-keypad.d.ts +4 -0
- package/dist/components/keypad/alphabet-keypad.stories.d.ts +24 -0
- package/dist/components/keypad/base-keypad.d.ts +6 -0
- package/dist/components/keypad/full-secure-keypad.d.ts +4 -0
- package/dist/components/keypad/full-secure-keypad.stories.d.ts +26 -0
- package/dist/components/keypad/keypad-layout.d.ts +16 -0
- package/dist/components/keypad/keypad-props.d.ts +16 -0
- package/dist/components/keypad/keypad-type.d.ts +66 -0
- package/dist/components/keypad/number-keypad.d.ts +4 -0
- package/dist/components/keypad/number-keypad.stories.d.ts +26 -0
- package/dist/components/keypad/use-keypad-decoys.d.ts +10 -0
- package/dist/components/list/base-list.d.ts +3 -0
- package/dist/components/list/list-footer.d.ts +5 -0
- package/dist/components/list/list-footer.stories.d.ts +304 -0
- package/dist/components/list/list-group.d.ts +1 -1
- package/dist/components/list/list-group.stories.d.ts +2 -0
- package/dist/components/list/list-header.d.ts +5 -0
- package/dist/components/list/list-header.stories.d.ts +302 -0
- package/dist/components/list/list-props.d.ts +33 -1
- package/dist/components/list/list-row.d.ts +5 -4
- package/dist/components/list/list-row.stories.d.ts +22 -8
- package/dist/components/list/list-type.d.ts +44 -2
- package/dist/components/logging/logging-type.d.ts +1 -1
- package/dist/components/menu/base-menu.d.ts +21 -0
- package/dist/components/menu/menu-props.d.ts +2 -0
- package/dist/components/menu/menu-type.d.ts +70 -0
- package/dist/components/menu/menu.d.ts +8 -0
- package/dist/components/menu/menu.stories.d.ts +54 -0
- package/dist/components/message/message.stories.d.ts +9 -9
- package/dist/components/notice/notice.stories.d.ts +6 -6
- package/dist/components/numeric-spinner/base-numeric-spinner.d.ts +8 -0
- package/dist/components/numeric-spinner/numeric-spinner-props.d.ts +5 -0
- package/dist/components/numeric-spinner/numeric-spinner-type.d.ts +29 -0
- package/dist/components/numeric-spinner/numeric-spinner.d.ts +4 -0
- package/dist/components/numeric-spinner/numeric-spinner.stories.d.ts +36 -0
- package/dist/components/overlay/overlay-context.d.ts +10 -0
- package/dist/components/overlay/overlay-provider.d.ts +1 -1
- package/dist/components/overlay/overlay-type.d.ts +23 -0
- package/dist/components/overlay/overlay.d.ts +2 -1
- package/dist/components/overlay/overlay.stories.d.ts +3 -1
- package/dist/components/overlay/use-bottom-sheet.d.ts +3 -0
- package/dist/components/paragraph/base-paragraph.d.ts +14 -0
- package/dist/components/paragraph/paragraph-props.d.ts +25 -0
- package/dist/components/paragraph/paragraph-type.d.ts +33 -0
- package/dist/components/paragraph/paragraph.d.ts +9 -0
- package/dist/components/paragraph/paragraph.stories.d.ts +54 -0
- package/dist/components/post/base-post.d.ts +19 -0
- package/dist/components/post/post-props.d.ts +31 -0
- package/dist/components/post/post-type.d.ts +34 -0
- package/dist/components/post/post.d.ts +16 -0
- package/dist/components/post/post.stories.d.ts +35 -0
- package/dist/components/rating/base-rating.d.ts +11 -0
- package/dist/components/rating/rating-props.d.ts +11 -0
- package/dist/components/rating/rating-type.d.ts +46 -0
- package/dist/components/rating/rating.d.ts +4 -0
- package/dist/components/rating/rating.stories.d.ts +35 -0
- package/dist/components/search-field/base-search-field.d.ts +4 -0
- package/dist/components/search-field/search-field-props.d.ts +2 -0
- package/dist/components/search-field/search-field-type.d.ts +25 -0
- package/dist/components/search-field/search-field.d.ts +8 -0
- package/dist/components/search-field/search-field.stories.d.ts +39 -0
- package/dist/components/segmented-control/base-segmented-control.d.ts +8 -0
- package/dist/components/segmented-control/segmented-control-props.d.ts +5 -0
- package/dist/components/segmented-control/segmented-control-type.d.ts +31 -0
- package/dist/components/segmented-control/segmented-control.d.ts +4 -0
- package/dist/components/segmented-control/segmented-control.stories.d.ts +39 -0
- package/dist/components/skeleton/skeleton-group.stories.d.ts +1 -1
- package/dist/components/skeleton/skeleton.stories.d.ts +6 -6
- package/dist/components/slider/base-slider.d.ts +13 -0
- package/dist/components/slider/slider-props.d.ts +10 -0
- package/dist/components/slider/slider-type.d.ts +46 -0
- package/dist/components/slider/slider.d.ts +4 -0
- package/dist/components/slider/slider.stories.d.ts +38 -0
- package/dist/components/split-text-field/base-split-text-field.d.ts +4 -0
- package/dist/components/split-text-field/split-text-field-props.d.ts +23 -0
- package/dist/components/split-text-field/split-text-field-type.d.ts +46 -0
- package/dist/components/split-text-field/split-text-field.d.ts +7 -0
- package/dist/components/split-text-field/split-text-field.stories.d.ts +38 -0
- package/dist/components/table-row/base-table-row.d.ts +4 -0
- package/dist/components/table-row/table-row-props.d.ts +14 -0
- package/dist/components/table-row/table-row-type.d.ts +13 -0
- package/dist/components/table-row/table-row.d.ts +5 -0
- package/dist/components/table-row/table-row.stories.d.ts +24 -0
- package/dist/components/text-area/text-area-type.d.ts +3 -2
- package/dist/components/text-button/base-text-button.d.ts +3 -0
- package/dist/components/text-button/text-button-props.d.ts +19 -0
- package/dist/components/text-button/text-button-type.d.ts +17 -0
- package/dist/components/text-button/text-button.d.ts +5 -0
- package/dist/components/text-button/text-button.stories.d.ts +47 -0
- package/dist/components/text-field/text-field-type.d.ts +5 -3
- package/dist/components/toast/toast.stories.d.ts +5 -5
- package/dist/components/top/base-top.d.ts +4 -0
- package/dist/components/top/top-props.d.ts +12 -0
- package/dist/components/top/top-type.d.ts +20 -0
- package/dist/components/top/top.d.ts +5 -0
- package/dist/components/top/top.stories.d.ts +320 -0
- package/dist/components.css +2221 -116
- package/dist/cta-button.js +11 -9
- package/dist/drawer.js +18 -113
- package/dist/drop-down.js +4 -4
- package/dist/empty-state.js +16 -7
- package/dist/full-secure-keypad.js +524 -0
- package/dist/grid-list.js +378 -0
- package/dist/helpers/hooks/useIndicatorPosition.d.ts +7 -0
- package/dist/helpers/hooks/useKeyboardInset.d.ts +5 -0
- package/dist/helpers/hooks/useScrollStart.d.ts +9 -0
- package/dist/helpers/motion/use-reveal-children.d.ts +6 -0
- package/dist/helpers/types/propsDef.d.ts +4 -2
- package/dist/highlight.js +492 -0
- package/dist/icon-button.js +53 -96
- package/dist/icon-text-badge.js +5 -3
- package/dist/icon-text-option-badge.js +4 -2
- package/dist/index.d.ts +52 -4
- package/dist/index.js +11271 -4671
- package/dist/list-footer.js +339 -0
- package/dist/list-group.js +61 -18
- package/dist/list-header.js +293 -0
- package/dist/list-row.js +243 -26
- package/dist/loading.js +7 -5
- package/dist/media-thumbnail.js +6 -6
- package/dist/menu.js +527 -0
- package/dist/message-composer.js +2 -2
- package/dist/modal-with-double-button.js +17 -13
- package/dist/modal.js +9 -7
- package/dist/notice.js +14 -12
- package/dist/number-keypad.js +436 -0
- package/dist/numeric-spinner.js +396 -0
- package/dist/option-badge.js +5 -3
- package/dist/overlay.js +555 -21
- package/dist/pagination.js +2 -2
- package/dist/paragraph.js +286 -0
- package/dist/post.js +568 -0
- package/dist/radio.js +5 -3
- package/dist/rating.js +437 -0
- package/dist/scripts/usage-doc.d.mts +83 -0
- package/dist/search-field.js +523 -0
- package/dist/segmented-control.js +409 -0
- package/dist/skeleton-group.js +28 -151
- package/dist/skeleton.js +3 -1
- package/dist/slider.js +419 -0
- package/dist/split-text-field.js +498 -0
- package/dist/styles.css +1926 -159
- package/dist/switch.js +5 -3
- package/dist/table-row.js +284 -0
- package/dist/tabs.js +13 -69
- package/dist/text-area.js +26 -15
- package/dist/text-button.js +357 -0
- package/dist/text-field.js +56 -206
- package/dist/text.js +5 -7
- package/dist/toast.js +15 -13
- package/dist/tokens.css +66 -10
- package/dist/tooltip.js +2 -2
- package/dist/top.js +312 -0
- package/package.json +107 -2
- package/dist/chunk-3839.js +0 -54
package/dist/cta-button.js
CHANGED
|
@@ -12,7 +12,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/j
|
|
|
12
12
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
|
|
13
13
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
|
|
14
14
|
/* harmony import */ var _helpers_hooks_useTrack__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(4560);
|
|
15
|
-
/* harmony import */ var _helpers_motion_use_appear__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(
|
|
15
|
+
/* harmony import */ var _helpers_motion_use_appear__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(8491);
|
|
16
16
|
/* harmony import */ var _helpers_motion_use_effect_trigger__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(3640);
|
|
17
17
|
/* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(3274);
|
|
18
18
|
/* harmony import */ var _helpers_utils_fillLinkChild__WEBPACK_IMPORTED_MODULE_6__ = __nuri_require__(1176);
|
|
@@ -313,25 +313,27 @@ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_ru
|
|
|
313
313
|
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
314
314
|
/******/ import * as __webpack_chunk_6__ from "./chunk-3640.js";
|
|
315
315
|
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
316
|
-
/******/ import * as __webpack_chunk_7__ from "./chunk-
|
|
316
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-8734.js";
|
|
317
317
|
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
318
|
-
/******/ import * as __webpack_chunk_8__ from "./chunk-
|
|
318
|
+
/******/ import * as __webpack_chunk_8__ from "./chunk-1176.js";
|
|
319
319
|
/******/ __nuri_require__.C(__webpack_chunk_8__);
|
|
320
|
-
/******/ import * as __webpack_chunk_9__ from "./chunk-
|
|
320
|
+
/******/ import * as __webpack_chunk_9__ from "./chunk-8933.js";
|
|
321
321
|
/******/ __nuri_require__.C(__webpack_chunk_9__);
|
|
322
|
-
/******/ import * as __webpack_chunk_10__ from "./chunk-
|
|
322
|
+
/******/ import * as __webpack_chunk_10__ from "./chunk-7737.js";
|
|
323
323
|
/******/ __nuri_require__.C(__webpack_chunk_10__);
|
|
324
|
-
/******/ import * as __webpack_chunk_11__ from "./chunk-
|
|
324
|
+
/******/ import * as __webpack_chunk_11__ from "./chunk-5302.js";
|
|
325
325
|
/******/ __nuri_require__.C(__webpack_chunk_11__);
|
|
326
|
-
/******/ import * as __webpack_chunk_12__ from "./chunk-
|
|
326
|
+
/******/ import * as __webpack_chunk_12__ from "./chunk-8491.js";
|
|
327
327
|
/******/ __nuri_require__.C(__webpack_chunk_12__);
|
|
328
|
-
/******/ import * as __webpack_chunk_13__ from "./chunk-
|
|
328
|
+
/******/ import * as __webpack_chunk_13__ from "./chunk-2496.js";
|
|
329
329
|
/******/ __nuri_require__.C(__webpack_chunk_13__);
|
|
330
|
+
/******/ import * as __webpack_chunk_14__ from "./chunk-948.js";
|
|
331
|
+
/******/ __nuri_require__.C(__webpack_chunk_14__);
|
|
330
332
|
/******/
|
|
331
333
|
/******/ // startup
|
|
332
334
|
/******/ // Load entry module and return exports
|
|
333
335
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
334
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,3640,
|
|
336
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,3640,8734,1176,8933,7737,5302,8491,2496,948], () => (__nuri_require__(910)))
|
|
335
337
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
336
338
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
337
339
|
/******/ export { __webpack_exports__default as default };
|
package/dist/drawer.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
|
|
5
5
|
/******/ var __webpack_modules__ = ({
|
|
6
6
|
|
|
7
|
-
/***/
|
|
7
|
+
/***/ 3691
|
|
8
8
|
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
9
9
|
|
|
10
10
|
|
|
@@ -33,105 +33,8 @@ var use_presence_callbacks = __nuri_require__(6706);
|
|
|
33
33
|
var classNames = __nuri_require__(3274);
|
|
34
34
|
// EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
|
|
35
35
|
var getMergedProps = __nuri_require__(7335);
|
|
36
|
-
// EXTERNAL MODULE:
|
|
37
|
-
var
|
|
38
|
-
;// ./components/drawer/base-drawer.tsx
|
|
39
|
-
var __assign = undefined && undefined.__assign || function () {
|
|
40
|
-
__assign = Object.assign || function (t) {
|
|
41
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
42
|
-
s = arguments[i];
|
|
43
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
|
-
return __assign.apply(this, arguments);
|
|
48
|
-
};
|
|
49
|
-
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
50
|
-
var t = {};
|
|
51
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
52
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
54
|
-
}
|
|
55
|
-
return t;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// Dialog.Root 는 DOM 을 그리지 않아 ref 를 받을 곳이 없다.
|
|
62
|
-
var DrawerRootBase = function DrawerRootBase(props) {
|
|
63
|
-
var children = props.children,
|
|
64
|
-
open = props.open,
|
|
65
|
-
defaultOpen = props.defaultOpen,
|
|
66
|
-
onOpenChange = props.onOpenChange;
|
|
67
|
-
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Dialog.Root, {
|
|
68
|
-
open: open,
|
|
69
|
-
defaultOpen: defaultOpen,
|
|
70
|
-
onOpenChange: onOpenChange,
|
|
71
|
-
children: children
|
|
72
|
-
});
|
|
73
|
-
};
|
|
74
|
-
DrawerRootBase.displayName = 'DrawerRoot';
|
|
75
|
-
var DrawerTrigger = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
76
|
-
var className = props.className,
|
|
77
|
-
restProps = __rest(props, ["className"]);
|
|
78
|
-
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Dialog.Trigger, __assign({
|
|
79
|
-
ref: ref,
|
|
80
|
-
className: (0,classNames/* classNames */.x)('nuri-theme base-drawer trigger', className)
|
|
81
|
-
}, restProps));
|
|
82
|
-
});
|
|
83
|
-
DrawerTrigger.displayName = 'DrawerTrigger';
|
|
84
|
-
// Portal 과 Overlay 를 같이 그린다. 패널(Dialog.Content)이 ref 를 받는다.
|
|
85
|
-
var DrawerContent = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
86
|
-
var className = props.className,
|
|
87
|
-
portalContainer = props.portalContainer,
|
|
88
|
-
restProps = __rest(props, ["className", "portalContainer"]);
|
|
89
|
-
return (0,jsx_runtime_.jsxs)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Dialog.Portal, {
|
|
90
|
-
container: portalContainer,
|
|
91
|
-
children: [(0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Dialog.Overlay, {
|
|
92
|
-
className: 'nuri-theme base-drawer overlay'
|
|
93
|
-
}), (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Dialog.Content, __assign({
|
|
94
|
-
ref: ref,
|
|
95
|
-
className: (0,classNames/* classNames */.x)('nuri-theme base-drawer content', className)
|
|
96
|
-
}, restProps))]
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
DrawerContent.displayName = 'DrawerContent';
|
|
100
|
-
var DrawerTitle = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
101
|
-
var className = props.className,
|
|
102
|
-
restProps = __rest(props, ["className"]);
|
|
103
|
-
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Dialog.Title, __assign({
|
|
104
|
-
ref: ref,
|
|
105
|
-
className: (0,classNames/* classNames */.x)('nuri-theme base-drawer title', className)
|
|
106
|
-
}, restProps));
|
|
107
|
-
});
|
|
108
|
-
DrawerTitle.displayName = 'DrawerTitle';
|
|
109
|
-
var DrawerDescription = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
110
|
-
var className = props.className,
|
|
111
|
-
restProps = __rest(props, ["className"]);
|
|
112
|
-
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Dialog.Description, __assign({
|
|
113
|
-
ref: ref,
|
|
114
|
-
className: (0,classNames/* classNames */.x)('nuri-theme base-drawer description', className)
|
|
115
|
-
}, restProps));
|
|
116
|
-
});
|
|
117
|
-
DrawerDescription.displayName = 'DrawerDescription';
|
|
118
|
-
var DrawerClose = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
119
|
-
var className = props.className,
|
|
120
|
-
restProps = __rest(props, ["className"]);
|
|
121
|
-
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Dialog.Close, __assign({
|
|
122
|
-
ref: ref,
|
|
123
|
-
className: (0,classNames/* classNames */.x)('nuri-theme base-drawer close', className)
|
|
124
|
-
}, restProps));
|
|
125
|
-
});
|
|
126
|
-
DrawerClose.displayName = 'DrawerClose';
|
|
127
|
-
var DrawerRoot = Object.assign(DrawerRootBase, {
|
|
128
|
-
Trigger: DrawerTrigger,
|
|
129
|
-
Content: DrawerContent,
|
|
130
|
-
Title: DrawerTitle,
|
|
131
|
-
Description: DrawerDescription,
|
|
132
|
-
Close: DrawerClose
|
|
133
|
-
});
|
|
134
|
-
/* harmony default export */ const base_drawer = (DrawerRoot);
|
|
36
|
+
// EXTERNAL MODULE: ./components/drawer/base-drawer.tsx
|
|
37
|
+
var base_drawer = __nuri_require__(4109);
|
|
135
38
|
// EXTERNAL MODULE: ./helpers/props/common-props.ts
|
|
136
39
|
var common_props = __nuri_require__(7298);
|
|
137
40
|
;// ./components/drawer/drawer-props.ts
|
|
@@ -148,15 +51,15 @@ var drawerContentProps = {
|
|
|
148
51
|
}
|
|
149
52
|
};
|
|
150
53
|
;// ./components/drawer/drawer.tsx
|
|
151
|
-
var
|
|
152
|
-
|
|
54
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
55
|
+
__assign = Object.assign || function (t) {
|
|
153
56
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
154
57
|
s = arguments[i];
|
|
155
58
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
156
59
|
}
|
|
157
60
|
return t;
|
|
158
61
|
};
|
|
159
|
-
return
|
|
62
|
+
return __assign.apply(this, arguments);
|
|
160
63
|
};
|
|
161
64
|
|
|
162
65
|
|
|
@@ -226,13 +129,13 @@ var Drawer = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_
|
|
|
226
129
|
return changeOpen(false);
|
|
227
130
|
}
|
|
228
131
|
});
|
|
229
|
-
return (0,jsx_runtime_.jsxs)(base_drawer, {
|
|
132
|
+
return (0,jsx_runtime_.jsxs)(base_drawer/* default */.A, {
|
|
230
133
|
open: open,
|
|
231
134
|
onOpenChange: changeOpen,
|
|
232
|
-
children: [trigger && (0,jsx_runtime_.jsx)(base_drawer.Trigger, {
|
|
135
|
+
children: [trigger && (0,jsx_runtime_.jsx)(base_drawer/* default */.A.Trigger, {
|
|
233
136
|
asChild: true,
|
|
234
137
|
children: trigger
|
|
235
|
-
}), (0,jsx_runtime_.jsxs)(base_drawer.Content,
|
|
138
|
+
}), (0,jsx_runtime_.jsxs)(base_drawer/* default */.A.Content, __assign({
|
|
236
139
|
ref: ref,
|
|
237
140
|
className: (0,classNames/* classNames */.x)(className, 'drawer', motion === 'strong' && 'motion-strong'),
|
|
238
141
|
style: style,
|
|
@@ -254,15 +157,15 @@ var Drawer = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_
|
|
|
254
157
|
}, {
|
|
255
158
|
children: [(0,jsx_runtime_.jsxs)("div", {
|
|
256
159
|
className: 'drawer-header',
|
|
257
|
-
children: [(0,jsx_runtime_.jsx)(base_drawer.Title, {
|
|
160
|
+
children: [(0,jsx_runtime_.jsx)(base_drawer/* default */.A.Title, {
|
|
258
161
|
className: 'drawer-title',
|
|
259
162
|
children: title
|
|
260
|
-
}), showCloseIcon && (0,jsx_runtime_.jsx)(base_drawer.Close, {
|
|
163
|
+
}), showCloseIcon && (0,jsx_runtime_.jsx)(base_drawer/* default */.A.Close, {
|
|
261
164
|
className: 'drawer-close',
|
|
262
165
|
"aria-label": "\uB2EB\uAE30",
|
|
263
166
|
children: (0,jsx_runtime_.jsx)(multifly/* default */.A, {})
|
|
264
167
|
})]
|
|
265
|
-
}), description && (0,jsx_runtime_.jsx)(base_drawer.Description, {
|
|
168
|
+
}), description && (0,jsx_runtime_.jsx)(base_drawer/* default */.A.Description, {
|
|
266
169
|
className: 'drawer-description',
|
|
267
170
|
children: description
|
|
268
171
|
}), (0,jsx_runtime_.jsx)("div", {
|
|
@@ -451,21 +354,23 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
451
354
|
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
452
355
|
/******/ import * as __webpack_chunk_4__ from "./chunk-7298.js";
|
|
453
356
|
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
454
|
-
/******/ import * as __webpack_chunk_5__ from "./chunk-
|
|
357
|
+
/******/ import * as __webpack_chunk_5__ from "./chunk-1768.js";
|
|
455
358
|
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
456
359
|
/******/ import * as __webpack_chunk_6__ from "./chunk-3640.js";
|
|
457
360
|
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
458
361
|
/******/ import * as __webpack_chunk_7__ from "./chunk-6706.js";
|
|
459
362
|
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
460
|
-
/******/ import * as __webpack_chunk_8__ from "./chunk-
|
|
363
|
+
/******/ import * as __webpack_chunk_8__ from "./chunk-3297.js";
|
|
461
364
|
/******/ __nuri_require__.C(__webpack_chunk_8__);
|
|
462
|
-
/******/ import * as __webpack_chunk_9__ from "./chunk-
|
|
365
|
+
/******/ import * as __webpack_chunk_9__ from "./chunk-6713.js";
|
|
463
366
|
/******/ __nuri_require__.C(__webpack_chunk_9__);
|
|
367
|
+
/******/ import * as __webpack_chunk_10__ from "./chunk-4109.js";
|
|
368
|
+
/******/ __nuri_require__.C(__webpack_chunk_10__);
|
|
464
369
|
/******/
|
|
465
370
|
/******/ // startup
|
|
466
371
|
/******/ // Load entry module and return exports
|
|
467
372
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
468
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,
|
|
373
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,1768,3640,6706,3297,6713,4109], () => (__nuri_require__(3691)))
|
|
469
374
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
470
375
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
471
376
|
/******/ export { __webpack_exports__default as default };
|
package/dist/drop-down.js
CHANGED
|
@@ -426,19 +426,19 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
426
426
|
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
427
427
|
/******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
|
|
428
428
|
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
429
|
-
/******/ import * as __webpack_chunk_4__ from "./chunk-
|
|
429
|
+
/******/ import * as __webpack_chunk_4__ from "./chunk-1768.js";
|
|
430
430
|
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
431
431
|
/******/ import * as __webpack_chunk_5__ from "./chunk-4917.js";
|
|
432
432
|
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
433
|
-
/******/ import * as __webpack_chunk_6__ from "./chunk-
|
|
433
|
+
/******/ import * as __webpack_chunk_6__ from "./chunk-4577.js";
|
|
434
434
|
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
435
|
-
/******/ import * as __webpack_chunk_7__ from "./chunk-
|
|
435
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-9436.js";
|
|
436
436
|
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
437
437
|
/******/
|
|
438
438
|
/******/ // startup
|
|
439
439
|
/******/ // Load entry module and return exports
|
|
440
440
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
441
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,
|
|
441
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,1768,4917,4577,9436], () => (__nuri_require__(9691)))
|
|
442
442
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
443
443
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
444
444
|
/******/ export { __webpack_exports__default as default };
|
package/dist/empty-state.js
CHANGED
|
@@ -55,8 +55,10 @@ var BaseEmptyState = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
|
|
|
55
55
|
BaseEmptyState.displayName = 'BaseEmptyState';
|
|
56
56
|
/* harmony default export */ const base_empty_state = (BaseEmptyState);
|
|
57
57
|
;// ./components/empty-state/empty-state-props.ts
|
|
58
|
-
/** 아이콘 원의 색. default 는 연보라, neutral 은 회색(오류·준비 중처럼 힘을 뺄 때) */
|
|
59
|
-
var variant = ['default', 'neutral'];
|
|
58
|
+
/** 아이콘 원의 색. default 는 연보라, neutral 은 회색(오류·준비 중처럼 힘을 뺄 때), success 는 초록(끝냈을 때) */
|
|
59
|
+
var variant = ['default', 'neutral', 'success'];
|
|
60
|
+
/** 제목 태그. 기본 p 는 제목 단계를 정하지 않는다 */
|
|
61
|
+
var titleAs = (/* unused pure expression or super */ null && (['p', 'h1', 'h2', 'h3']));
|
|
60
62
|
var emptyStateProps = {
|
|
61
63
|
variant: {
|
|
62
64
|
type: 'className',
|
|
@@ -91,26 +93,33 @@ var empty_state_rest = undefined && undefined.__rest || function (s, e) {
|
|
|
91
93
|
|
|
92
94
|
|
|
93
95
|
|
|
94
|
-
/** 빈 목록·오류 뒤 다시 시도·찾을 수 없음·준비
|
|
96
|
+
/** 빈 목록·오류 뒤 다시 시도·찾을 수 없음·준비 중·모두 완료 화면 */
|
|
95
97
|
var EmptyState = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
96
98
|
var _a = (0,getMergedProps/* getMergedProps */.p)(props, emptyStateProps),
|
|
97
99
|
className = _a.className,
|
|
98
100
|
icon = _a.icon,
|
|
101
|
+
figure = _a.figure,
|
|
99
102
|
title = _a.title,
|
|
103
|
+
_b = _a.titleAs,
|
|
104
|
+
Title = _b === void 0 ? 'p' : _b,
|
|
100
105
|
description = _a.description,
|
|
101
106
|
action = _a.action,
|
|
102
|
-
restProps = empty_state_rest(_a, ["className", "icon", "title", "description", "action"]);
|
|
107
|
+
restProps = empty_state_rest(_a, ["className", "icon", "figure", "title", "titleAs", "description", "action"]);
|
|
103
108
|
return (0,jsx_runtime_.jsxs)(base_empty_state, empty_state_assign({
|
|
104
109
|
ref: ref,
|
|
105
|
-
className: (0,classNames/* classNames */.x)(className, 'empty-state')
|
|
110
|
+
className: (0,classNames/* classNames */.x)(className, 'empty-state'),
|
|
111
|
+
role: 'status'
|
|
106
112
|
}, restProps, {
|
|
107
|
-
children: [(0,jsx_runtime_.jsx)("span", {
|
|
113
|
+
children: [icon ? (0,jsx_runtime_.jsx)("span", {
|
|
108
114
|
className: 'empty-state-icon',
|
|
109
115
|
children: (0,jsx_runtime_.jsx)(icon_icon/* default */.A, {
|
|
110
116
|
name: icon,
|
|
111
117
|
size: 'xl'
|
|
112
118
|
})
|
|
113
|
-
})
|
|
119
|
+
}) : (0,jsx_runtime_.jsx)("div", {
|
|
120
|
+
className: 'empty-state-figure',
|
|
121
|
+
children: figure
|
|
122
|
+
}), (0,jsx_runtime_.jsx)(Title, {
|
|
114
123
|
className: 'empty-state-title',
|
|
115
124
|
children: title
|
|
116
125
|
}), description && (0,jsx_runtime_.jsx)("p", {
|