@nurihaus/web-design-system 3.9.3 → 3.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +3504 -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 +176 -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 +9 -7
- package/dist/components/asset/asset.stories.d.ts +11 -5
- 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-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 +299 -7
- 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 +15 -1
- 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 +4 -4
- package/dist/components/notice/notice.stories.d.ts +1 -1
- 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 +2 -0
- 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.stories.d.ts +2 -2
- 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-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 +2 -1
- package/dist/components/toast/toast.stories.d.ts +2 -2
- 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 +11495 -4918
- 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 +516 -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 +7 -5
- package/dist/text-button.js +357 -0
- package/dist/text-field.js +47 -204
- 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/top.js
ADDED
|
@@ -0,0 +1,312 @@
|
|
|
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
|
+
/***/ 3247
|
|
7
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
// EXPORTS
|
|
11
|
+
__nuri_require__.d(__webpack_exports__, {
|
|
12
|
+
A: () => (/* binding */ top_top)
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
// EXTERNAL MODULE: external {"root":"jsx-runtime","commonjs2":"react/jsx-runtime","commonjs":"react/jsx-runtime","amd":"react/jsx-runtime","module":"react/jsx-runtime"}
|
|
16
|
+
var jsx_runtime_ = __nuri_require__(612);
|
|
17
|
+
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
|
|
18
|
+
var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(1041);
|
|
19
|
+
// EXTERNAL MODULE: ./helpers/utils/classNames.js
|
|
20
|
+
var classNames = __nuri_require__(3274);
|
|
21
|
+
// EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
|
|
22
|
+
var getMergedProps = __nuri_require__(7335);
|
|
23
|
+
;// ./components/top/base-top.tsx
|
|
24
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
25
|
+
__assign = Object.assign || function (t) {
|
|
26
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
27
|
+
s = arguments[i];
|
|
28
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
29
|
+
}
|
|
30
|
+
return t;
|
|
31
|
+
};
|
|
32
|
+
return __assign.apply(this, arguments);
|
|
33
|
+
};
|
|
34
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
35
|
+
var t = {};
|
|
36
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
37
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
38
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
39
|
+
}
|
|
40
|
+
return t;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var BaseTop = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
46
|
+
var className = props.className,
|
|
47
|
+
restProps = __rest(props, ["className"]);
|
|
48
|
+
return (0,jsx_runtime_.jsx)("header", __assign({
|
|
49
|
+
ref: ref,
|
|
50
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-top', className)
|
|
51
|
+
}, restProps));
|
|
52
|
+
});
|
|
53
|
+
BaseTop.displayName = 'BaseTop';
|
|
54
|
+
/* harmony default export */ const base_top = (BaseTop);
|
|
55
|
+
;// ./components/top/top-props.ts
|
|
56
|
+
/** 제목 단계. 문서 개요에서의 자리만 정하고 글자 크기는 같다 */
|
|
57
|
+
var titleLevel = (/* unused pure expression or super */ null && ([1, 2, 3]));
|
|
58
|
+
/** right 를 제목 묶음의 위에 맞출지 가운데에 맞출지 */
|
|
59
|
+
var rightVerticalAlign = ['top', 'center'];
|
|
60
|
+
var topProps = {
|
|
61
|
+
rightVerticalAlign: {
|
|
62
|
+
type: 'className',
|
|
63
|
+
className: 'right-vertical-align',
|
|
64
|
+
values: rightVerticalAlign,
|
|
65
|
+
"default": 'top'
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
;// ./components/top/top.tsx
|
|
69
|
+
var top_assign = undefined && undefined.__assign || function () {
|
|
70
|
+
top_assign = Object.assign || function (t) {
|
|
71
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
72
|
+
s = arguments[i];
|
|
73
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
74
|
+
}
|
|
75
|
+
return t;
|
|
76
|
+
};
|
|
77
|
+
return top_assign.apply(this, arguments);
|
|
78
|
+
};
|
|
79
|
+
var top_rest = undefined && undefined.__rest || function (s, e) {
|
|
80
|
+
var t = {};
|
|
81
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
82
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
83
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
84
|
+
}
|
|
85
|
+
return t;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
var HEADING_OF_LEVEL = {
|
|
94
|
+
1: 'h1',
|
|
95
|
+
2: 'h2',
|
|
96
|
+
3: 'h3'
|
|
97
|
+
};
|
|
98
|
+
/** 화면 맨 위 제목 묶음. 위·아래 보조 글, 제목 위 그림, 제목 아래 버튼, 오른쪽 요소 */
|
|
99
|
+
var Top = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
100
|
+
var _a = (0,getMergedProps/* getMergedProps */.p)(props, topProps),
|
|
101
|
+
className = _a.className,
|
|
102
|
+
title = _a.title,
|
|
103
|
+
_b = _a.titleLevel,
|
|
104
|
+
titleLevel = _b === void 0 ? 1 : _b,
|
|
105
|
+
subtitleTop = _a.subtitleTop,
|
|
106
|
+
subtitleBottom = _a.subtitleBottom,
|
|
107
|
+
upper = _a.upper,
|
|
108
|
+
lower = _a.lower,
|
|
109
|
+
right = _a.right,
|
|
110
|
+
restProps = top_rest(_a, ["className", "title", "titleLevel", "subtitleTop", "subtitleBottom", "upper", "lower", "right"]);
|
|
111
|
+
var Heading = HEADING_OF_LEVEL[titleLevel];
|
|
112
|
+
return (0,jsx_runtime_.jsxs)(base_top, top_assign({
|
|
113
|
+
ref: ref,
|
|
114
|
+
className: (0,classNames/* classNames */.x)(className, 'top')
|
|
115
|
+
}, restProps, {
|
|
116
|
+
children: [upper && (0,jsx_runtime_.jsx)("div", {
|
|
117
|
+
className: 'top-upper',
|
|
118
|
+
children: upper
|
|
119
|
+
}), (0,jsx_runtime_.jsxs)("div", {
|
|
120
|
+
className: 'top-main',
|
|
121
|
+
children: [(0,jsx_runtime_.jsxs)("div", {
|
|
122
|
+
className: 'top-text',
|
|
123
|
+
children: [subtitleTop && (0,jsx_runtime_.jsx)("p", {
|
|
124
|
+
className: 'top-subtitle-top',
|
|
125
|
+
children: subtitleTop
|
|
126
|
+
}), (0,jsx_runtime_.jsx)(Heading, {
|
|
127
|
+
className: 'top-title',
|
|
128
|
+
children: title
|
|
129
|
+
}), subtitleBottom && (0,jsx_runtime_.jsx)("p", {
|
|
130
|
+
className: 'top-subtitle-bottom',
|
|
131
|
+
children: subtitleBottom
|
|
132
|
+
})]
|
|
133
|
+
}), right && (0,jsx_runtime_.jsx)("div", {
|
|
134
|
+
className: 'top-right',
|
|
135
|
+
children: right
|
|
136
|
+
})]
|
|
137
|
+
}), lower && (0,jsx_runtime_.jsx)("div", {
|
|
138
|
+
className: 'top-lower',
|
|
139
|
+
children: lower
|
|
140
|
+
})]
|
|
141
|
+
}));
|
|
142
|
+
});
|
|
143
|
+
Top.displayName = 'Top';
|
|
144
|
+
/* harmony default export */ const top_top = (Top);
|
|
145
|
+
|
|
146
|
+
/***/ },
|
|
147
|
+
|
|
148
|
+
/***/ 1041
|
|
149
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
150
|
+
|
|
151
|
+
var x = (y) => {
|
|
152
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
153
|
+
}
|
|
154
|
+
var y = (x) => (() => (x))
|
|
155
|
+
module.exports = x({ ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef) });
|
|
156
|
+
|
|
157
|
+
/***/ },
|
|
158
|
+
|
|
159
|
+
/***/ 612
|
|
160
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
161
|
+
|
|
162
|
+
var x = (y) => {
|
|
163
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
164
|
+
}
|
|
165
|
+
var y = (x) => (() => (x))
|
|
166
|
+
module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
|
|
167
|
+
|
|
168
|
+
/***/ }
|
|
169
|
+
|
|
170
|
+
/******/ });
|
|
171
|
+
/************************************************************************/
|
|
172
|
+
/******/ // The module cache
|
|
173
|
+
/******/ var __webpack_module_cache__ = {};
|
|
174
|
+
/******/
|
|
175
|
+
/******/ // The require function
|
|
176
|
+
/******/ function __nuri_require__(moduleId) {
|
|
177
|
+
/******/ // Check if module is in cache
|
|
178
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
179
|
+
/******/ if (cachedModule !== undefined) {
|
|
180
|
+
/******/ return cachedModule.exports;
|
|
181
|
+
/******/ }
|
|
182
|
+
/******/ // Create a new module (and put it into the cache)
|
|
183
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
184
|
+
/******/ // no module.id needed
|
|
185
|
+
/******/ // no module.loaded needed
|
|
186
|
+
/******/ exports: {}
|
|
187
|
+
/******/ };
|
|
188
|
+
/******/
|
|
189
|
+
/******/ // Execute the module function
|
|
190
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
|
|
191
|
+
/******/
|
|
192
|
+
/******/ // Return the exports of the module
|
|
193
|
+
/******/ return module.exports;
|
|
194
|
+
/******/ }
|
|
195
|
+
/******/
|
|
196
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
197
|
+
/******/ __nuri_require__.m = __webpack_modules__;
|
|
198
|
+
/******/
|
|
199
|
+
/************************************************************************/
|
|
200
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
201
|
+
/******/ (() => {
|
|
202
|
+
/******/ var deferred = [];
|
|
203
|
+
/******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
|
|
204
|
+
/******/ if(chunkIds) {
|
|
205
|
+
/******/ priority = priority || 0;
|
|
206
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
207
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
208
|
+
/******/ return;
|
|
209
|
+
/******/ }
|
|
210
|
+
/******/ var notFulfilled = Infinity;
|
|
211
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
212
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
213
|
+
/******/ var fulfilled = true;
|
|
214
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
215
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
|
|
216
|
+
/******/ chunkIds.splice(j--, 1);
|
|
217
|
+
/******/ } else {
|
|
218
|
+
/******/ fulfilled = false;
|
|
219
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
220
|
+
/******/ }
|
|
221
|
+
/******/ }
|
|
222
|
+
/******/ if(fulfilled) {
|
|
223
|
+
/******/ deferred.splice(i--, 1)
|
|
224
|
+
/******/ var r = fn();
|
|
225
|
+
/******/ if (r !== undefined) result = r;
|
|
226
|
+
/******/ }
|
|
227
|
+
/******/ }
|
|
228
|
+
/******/ return result;
|
|
229
|
+
/******/ };
|
|
230
|
+
/******/ })();
|
|
231
|
+
/******/
|
|
232
|
+
/******/ /* webpack/runtime/define property getters */
|
|
233
|
+
/******/ (() => {
|
|
234
|
+
/******/ // define getter functions for harmony exports
|
|
235
|
+
/******/ __nuri_require__.d = (exports, definition) => {
|
|
236
|
+
/******/ for(var key in definition) {
|
|
237
|
+
/******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
|
|
238
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
239
|
+
/******/ }
|
|
240
|
+
/******/ }
|
|
241
|
+
/******/ };
|
|
242
|
+
/******/ })();
|
|
243
|
+
/******/
|
|
244
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
245
|
+
/******/ (() => {
|
|
246
|
+
/******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
247
|
+
/******/ })();
|
|
248
|
+
/******/
|
|
249
|
+
/******/ /* webpack/runtime/export webpack runtime */
|
|
250
|
+
/******/ export { __nuri_require__ };
|
|
251
|
+
/******/
|
|
252
|
+
/******/ /* webpack/runtime/import chunk loading */
|
|
253
|
+
/******/ (() => {
|
|
254
|
+
/******/ // no baseURI
|
|
255
|
+
/******/
|
|
256
|
+
/******/ // object to store loaded and loading chunks
|
|
257
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
258
|
+
/******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
259
|
+
/******/ var installedChunks = {
|
|
260
|
+
/******/ 9684: 0
|
|
261
|
+
/******/ };
|
|
262
|
+
/******/
|
|
263
|
+
/******/ var installChunk = (data) => {
|
|
264
|
+
/******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
|
|
265
|
+
/******/ // add "modules" to the modules object,
|
|
266
|
+
/******/ // then flag all "ids" as loaded and fire callback
|
|
267
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
268
|
+
/******/ for(moduleId in __webpack_esm_modules__) {
|
|
269
|
+
/******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
|
|
270
|
+
/******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
|
|
271
|
+
/******/ }
|
|
272
|
+
/******/ }
|
|
273
|
+
/******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
|
|
274
|
+
/******/ for(;i < __webpack_esm_ids__.length; i++) {
|
|
275
|
+
/******/ chunkId = __webpack_esm_ids__[i];
|
|
276
|
+
/******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
277
|
+
/******/ installedChunks[chunkId][0]();
|
|
278
|
+
/******/ }
|
|
279
|
+
/******/ installedChunks[__webpack_esm_ids__[i]] = 0;
|
|
280
|
+
/******/ }
|
|
281
|
+
/******/ __nuri_require__.O();
|
|
282
|
+
/******/ }
|
|
283
|
+
/******/
|
|
284
|
+
/******/ // no chunk on demand loading
|
|
285
|
+
/******/
|
|
286
|
+
/******/ // no prefetching
|
|
287
|
+
/******/
|
|
288
|
+
/******/ // no preloaded
|
|
289
|
+
/******/
|
|
290
|
+
/******/ __nuri_require__.C = installChunk;
|
|
291
|
+
/******/
|
|
292
|
+
/******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
293
|
+
/******/ // no HMR
|
|
294
|
+
/******/
|
|
295
|
+
/******/ // no HMR manifest
|
|
296
|
+
/******/ })();
|
|
297
|
+
/******/
|
|
298
|
+
/************************************************************************/
|
|
299
|
+
/******/
|
|
300
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
|
|
301
|
+
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
302
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
|
|
303
|
+
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
304
|
+
/******/
|
|
305
|
+
/******/ // startup
|
|
306
|
+
/******/ // Load entry module and return exports
|
|
307
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
308
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335], () => (__nuri_require__(3247)))
|
|
309
|
+
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
310
|
+
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
311
|
+
/******/ export { __webpack_exports__default as default };
|
|
312
|
+
/******/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nurihaus/web-design-system",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"description": "Nurihaus 디자인 시스템 — 컴포넌트와 디자인 토큰",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"scripts": {
|
|
22
22
|
"tokens": "node tokens/build.mjs",
|
|
23
23
|
"clean": "rm -rf dist",
|
|
24
|
-
"build": "npm run clean && npm run tokens && webpack && node scripts/finalize.mjs && node scripts/build-css.mjs && node scripts/build-ai-docs.mjs && node scripts/check-exports.mjs && node scripts/check-components.mjs",
|
|
24
|
+
"build": "npm run clean && npm run tokens && webpack && node scripts/finalize.mjs && node scripts/build-css.mjs && node scripts/build-ai-docs.mjs && node scripts/check-exports.mjs && node scripts/check-components.mjs && node scripts/check-docs.mjs",
|
|
25
25
|
"build:ai": "node scripts/build-ai-docs.mjs",
|
|
26
26
|
"check:generated": "git diff --exit-code --stat -- components/props.generated.json tokens/generated || { echo '생성물이 커밋본과 다르다. yarn build 를 돌리고 위 파일을 함께 커밋한다.'; exit 1; }",
|
|
27
27
|
"build:css": "node scripts/build-css.mjs",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"build-storybook": "storybook build",
|
|
34
34
|
"test": "vitest run",
|
|
35
35
|
"test:watch": "vitest",
|
|
36
|
+
"aria:dump": "vitest run --config vitest.aria.config.ts",
|
|
36
37
|
"typecheck": "tsc -p tsconfig.test.json",
|
|
37
38
|
"icons": "node scripts/build-icons.mjs && prettier --write components/icon/icon-paths.ts"
|
|
38
39
|
},
|
|
@@ -129,6 +130,10 @@
|
|
|
129
130
|
"types": "./dist/components/icon-button/icon-button.d.ts",
|
|
130
131
|
"default": "./dist/icon-button.js"
|
|
131
132
|
},
|
|
133
|
+
"./text-button": {
|
|
134
|
+
"types": "./dist/components/text-button/text-button.d.ts",
|
|
135
|
+
"default": "./dist/text-button.js"
|
|
136
|
+
},
|
|
132
137
|
"./callout": {
|
|
133
138
|
"types": "./dist/components/callout/callout.d.ts",
|
|
134
139
|
"default": "./dist/callout.js"
|
|
@@ -246,6 +251,22 @@
|
|
|
246
251
|
"types": "./dist/components/chip-group/chip-group.d.ts",
|
|
247
252
|
"default": "./dist/chip-group.js"
|
|
248
253
|
},
|
|
254
|
+
"./segmented-control": {
|
|
255
|
+
"types": "./dist/components/segmented-control/segmented-control.d.ts",
|
|
256
|
+
"default": "./dist/segmented-control.js"
|
|
257
|
+
},
|
|
258
|
+
"./slider": {
|
|
259
|
+
"types": "./dist/components/slider/slider.d.ts",
|
|
260
|
+
"default": "./dist/slider.js"
|
|
261
|
+
},
|
|
262
|
+
"./rating": {
|
|
263
|
+
"types": "./dist/components/rating/rating.d.ts",
|
|
264
|
+
"default": "./dist/rating.js"
|
|
265
|
+
},
|
|
266
|
+
"./numeric-spinner": {
|
|
267
|
+
"types": "./dist/components/numeric-spinner/numeric-spinner.d.ts",
|
|
268
|
+
"default": "./dist/numeric-spinner.js"
|
|
269
|
+
},
|
|
249
270
|
"./card": {
|
|
250
271
|
"types": "./dist/components/card/card.d.ts",
|
|
251
272
|
"default": "./dist/card.js"
|
|
@@ -258,6 +279,30 @@
|
|
|
258
279
|
"types": "./dist/components/list/list-row.d.ts",
|
|
259
280
|
"default": "./dist/list-row.js"
|
|
260
281
|
},
|
|
282
|
+
"./list-header": {
|
|
283
|
+
"types": "./dist/components/list/list-header.d.ts",
|
|
284
|
+
"default": "./dist/list-header.js"
|
|
285
|
+
},
|
|
286
|
+
"./list-footer": {
|
|
287
|
+
"types": "./dist/components/list/list-footer.d.ts",
|
|
288
|
+
"default": "./dist/list-footer.js"
|
|
289
|
+
},
|
|
290
|
+
"./table-row": {
|
|
291
|
+
"types": "./dist/components/table-row/table-row.d.ts",
|
|
292
|
+
"default": "./dist/table-row.js"
|
|
293
|
+
},
|
|
294
|
+
"./border": {
|
|
295
|
+
"types": "./dist/components/border/border.d.ts",
|
|
296
|
+
"default": "./dist/border.js"
|
|
297
|
+
},
|
|
298
|
+
"./board-row": {
|
|
299
|
+
"types": "./dist/components/board-row/board-row.d.ts",
|
|
300
|
+
"default": "./dist/board-row.js"
|
|
301
|
+
},
|
|
302
|
+
"./grid-list": {
|
|
303
|
+
"types": "./dist/components/grid-list/grid-list.d.ts",
|
|
304
|
+
"default": "./dist/grid-list.js"
|
|
305
|
+
},
|
|
261
306
|
"./description-list": {
|
|
262
307
|
"types": "./dist/components/description-list/description-list.d.ts",
|
|
263
308
|
"default": "./dist/description-list.js"
|
|
@@ -294,6 +339,14 @@
|
|
|
294
339
|
"types": "./dist/components/bottom-bar/bottom-bar.d.ts",
|
|
295
340
|
"default": "./dist/bottom-bar.js"
|
|
296
341
|
},
|
|
342
|
+
"./top": {
|
|
343
|
+
"types": "./dist/components/top/top.d.ts",
|
|
344
|
+
"default": "./dist/top.js"
|
|
345
|
+
},
|
|
346
|
+
"./bottom-cta": {
|
|
347
|
+
"types": "./dist/components/bottom-cta/bottom-cta.d.ts",
|
|
348
|
+
"default": "./dist/bottom-cta.js"
|
|
349
|
+
},
|
|
297
350
|
"./media-thumbnail": {
|
|
298
351
|
"types": "./dist/components/media/media-thumbnail.d.ts",
|
|
299
352
|
"default": "./dist/media-thumbnail.js"
|
|
@@ -302,6 +355,58 @@
|
|
|
302
355
|
"types": "./dist/components/media/media-viewer.d.ts",
|
|
303
356
|
"default": "./dist/media-viewer.js"
|
|
304
357
|
},
|
|
358
|
+
"./paragraph": {
|
|
359
|
+
"types": "./dist/components/paragraph/paragraph.d.ts",
|
|
360
|
+
"default": "./dist/paragraph.js"
|
|
361
|
+
},
|
|
362
|
+
"./post": {
|
|
363
|
+
"types": "./dist/components/post/post.d.ts",
|
|
364
|
+
"default": "./dist/post.js"
|
|
365
|
+
},
|
|
366
|
+
"./bottom-info": {
|
|
367
|
+
"types": "./dist/components/bottom-info/bottom-info.d.ts",
|
|
368
|
+
"default": "./dist/bottom-info.js"
|
|
369
|
+
},
|
|
370
|
+
"./bar-chart": {
|
|
371
|
+
"types": "./dist/components/bar-chart/bar-chart.d.ts",
|
|
372
|
+
"default": "./dist/bar-chart.js"
|
|
373
|
+
},
|
|
374
|
+
"./agreement": {
|
|
375
|
+
"types": "./dist/components/agreement/agreement.d.ts",
|
|
376
|
+
"default": "./dist/agreement.js"
|
|
377
|
+
},
|
|
378
|
+
"./search-field": {
|
|
379
|
+
"types": "./dist/components/search-field/search-field.d.ts",
|
|
380
|
+
"default": "./dist/search-field.js"
|
|
381
|
+
},
|
|
382
|
+
"./split-text-field": {
|
|
383
|
+
"types": "./dist/components/split-text-field/split-text-field.d.ts",
|
|
384
|
+
"default": "./dist/split-text-field.js"
|
|
385
|
+
},
|
|
386
|
+
"./number-keypad": {
|
|
387
|
+
"types": "./dist/components/keypad/number-keypad.d.ts",
|
|
388
|
+
"default": "./dist/number-keypad.js"
|
|
389
|
+
},
|
|
390
|
+
"./alphabet-keypad": {
|
|
391
|
+
"types": "./dist/components/keypad/alphabet-keypad.d.ts",
|
|
392
|
+
"default": "./dist/alphabet-keypad.js"
|
|
393
|
+
},
|
|
394
|
+
"./full-secure-keypad": {
|
|
395
|
+
"types": "./dist/components/keypad/full-secure-keypad.d.ts",
|
|
396
|
+
"default": "./dist/full-secure-keypad.js"
|
|
397
|
+
},
|
|
398
|
+
"./bottom-sheet": {
|
|
399
|
+
"types": "./dist/components/bottom-sheet/bottom-sheet.d.ts",
|
|
400
|
+
"default": "./dist/bottom-sheet.js"
|
|
401
|
+
},
|
|
402
|
+
"./menu": {
|
|
403
|
+
"types": "./dist/components/menu/menu.d.ts",
|
|
404
|
+
"default": "./dist/menu.js"
|
|
405
|
+
},
|
|
406
|
+
"./highlight": {
|
|
407
|
+
"types": "./dist/components/highlight/highlight.d.ts",
|
|
408
|
+
"default": "./dist/highlight.js"
|
|
409
|
+
},
|
|
305
410
|
"./logging": {
|
|
306
411
|
"types": "./dist/components/logging/logging.d.ts",
|
|
307
412
|
"default": "./dist/logging.js"
|
package/dist/chunk-3839.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
export const __webpack_esm_id__ = 3839;
|
|
3
|
-
export const __webpack_esm_ids__ = [3839];
|
|
4
|
-
export const __webpack_esm_modules__ = {
|
|
5
|
-
|
|
6
|
-
/***/ 3839
|
|
7
|
-
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
// EXPORTS
|
|
11
|
-
__nuri_require__.d(__webpack_exports__, {
|
|
12
|
-
x: () => (/* binding */ useAppear)
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
|
|
16
|
-
var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(1041);
|
|
17
|
-
;// ./helpers/motion/appear.ts
|
|
18
|
-
/** .motion-appear-* 요소의 style. delayMs 가 없으면 바로 재생한다 */
|
|
19
|
-
var appearStyle = function appearStyle(delayMs) {
|
|
20
|
-
return delayMs === undefined ? {} : {
|
|
21
|
-
'--motion-appear-delay': "".concat(delayMs, "ms")
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
;// ./helpers/motion/use-appear.ts
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* appear 를 마운트 때 한 번 재생하고 끝나면 클래스를 뗀다.
|
|
29
|
-
* 남겨 두면 fill 이 transform 을 붙잡아 눌림·숨김이 먹지 않고, 같은 요소에 다른 animation 이 붙었다 떨어질 때 appear 가 처음부터 다시 돈다.
|
|
30
|
-
*/
|
|
31
|
-
var useAppear = function useAppear(appear) {
|
|
32
|
-
var _a = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useState)(false),
|
|
33
|
-
done = _a[0],
|
|
34
|
-
setDone = _a[1];
|
|
35
|
-
var finish = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useCallback)(function () {
|
|
36
|
-
return setDone(true);
|
|
37
|
-
}, []);
|
|
38
|
-
var onAnimationEnd = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.useCallback)(function (event) {
|
|
39
|
-
if (event.target === event.currentTarget && event.animationName.startsWith('motion-enter-')) {
|
|
40
|
-
setDone(true);
|
|
41
|
-
}
|
|
42
|
-
}, []);
|
|
43
|
-
var playing = appear && !done ? appear : undefined;
|
|
44
|
-
return {
|
|
45
|
-
className: playing && "motion-appear-".concat(playing.animation),
|
|
46
|
-
style: playing && appearStyle(playing.delay),
|
|
47
|
-
onAnimationEnd: onAnimationEnd,
|
|
48
|
-
finish: finish
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/***/ }
|
|
53
|
-
|
|
54
|
-
};
|