@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
|
@@ -0,0 +1,357 @@
|
|
|
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
|
+
/***/ 4094
|
|
7
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
// EXPORTS
|
|
11
|
+
__nuri_require__.d(__webpack_exports__, {
|
|
12
|
+
A: () => (/* binding */ text_button)
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
// EXTERNAL MODULE: external {"root":"jsx-runtime","commonjs2":"react/jsx-runtime","commonjs":"react/jsx-runtime","amd":"react/jsx-runtime","module":"react/jsx-runtime"}
|
|
16
|
+
var jsx_runtime_ = __nuri_require__(612);
|
|
17
|
+
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
|
|
18
|
+
var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(1041);
|
|
19
|
+
// EXTERNAL MODULE: ./helpers/hooks/useTrack.ts
|
|
20
|
+
var useTrack = __nuri_require__(4560);
|
|
21
|
+
// EXTERNAL MODULE: ./helpers/utils/classNames.js
|
|
22
|
+
var classNames = __nuri_require__(3274);
|
|
23
|
+
// EXTERNAL MODULE: ./helpers/utils/fillLinkChild.ts
|
|
24
|
+
var fillLinkChild = __nuri_require__(1176);
|
|
25
|
+
// EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
|
|
26
|
+
var getMergedProps = __nuri_require__(7335);
|
|
27
|
+
// EXTERNAL MODULE: ./components/icon/icon.tsx
|
|
28
|
+
var icon = __nuri_require__(3547);
|
|
29
|
+
// EXTERNAL MODULE: ./components/core/composer/index.tsx
|
|
30
|
+
var composer = __nuri_require__(2777);
|
|
31
|
+
;// ./components/text-button/base-text-button.tsx
|
|
32
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
33
|
+
__assign = Object.assign || function (t) {
|
|
34
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
35
|
+
s = arguments[i];
|
|
36
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
37
|
+
}
|
|
38
|
+
return t;
|
|
39
|
+
};
|
|
40
|
+
return __assign.apply(this, arguments);
|
|
41
|
+
};
|
|
42
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
43
|
+
var t = {};
|
|
44
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
45
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
46
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
47
|
+
}
|
|
48
|
+
return t;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var BaseTextButton = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
55
|
+
var _a = props.asChild,
|
|
56
|
+
asChild = _a === void 0 ? false : _a,
|
|
57
|
+
className = props.className,
|
|
58
|
+
disabled = props.disabled,
|
|
59
|
+
_onMouseDown = props.onMouseDown,
|
|
60
|
+
restProps = __rest(props, ["asChild", "className", "disabled", "onMouseDown"]);
|
|
61
|
+
var Comp = asChild ? composer/* default */.A : 'button';
|
|
62
|
+
return (0,jsx_runtime_.jsx)(Comp, __assign({
|
|
63
|
+
ref: ref,
|
|
64
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-text-button', className),
|
|
65
|
+
type: asChild ? undefined : 'button',
|
|
66
|
+
"aria-disabled": disabled || undefined,
|
|
67
|
+
disabled: disabled,
|
|
68
|
+
"data-disabled": disabled || undefined
|
|
69
|
+
}, restProps, {
|
|
70
|
+
// 클릭해도 포커스를 옮기지 않는다. 넘겨받은 onMouseDown 이 이 동작을 덮지 않게 spread 뒤에 둔다.
|
|
71
|
+
onMouseDown: function onMouseDown(event) {
|
|
72
|
+
event.preventDefault();
|
|
73
|
+
_onMouseDown === null || _onMouseDown === void 0 ? void 0 : _onMouseDown(event);
|
|
74
|
+
}
|
|
75
|
+
}));
|
|
76
|
+
});
|
|
77
|
+
BaseTextButton.displayName = 'BaseTextButton';
|
|
78
|
+
/* harmony default export */ const base_text_button = (BaseTextButton);
|
|
79
|
+
// EXTERNAL MODULE: ./helpers/props/common-props.ts
|
|
80
|
+
var common_props = __nuri_require__(7298);
|
|
81
|
+
;// ./components/text-button/text-button-props.ts
|
|
82
|
+
|
|
83
|
+
var variant = ['clear', 'arrow', 'underline'];
|
|
84
|
+
var color = ['primary', 'neutral'];
|
|
85
|
+
var sizes = ['s', 'm', 'l'];
|
|
86
|
+
// 화살표 크기도 이 값으로 고르므로 기본 크기를 한 곳에 둔다
|
|
87
|
+
var defaultSize = 'm';
|
|
88
|
+
var textButtonProps = {
|
|
89
|
+
variant: {
|
|
90
|
+
type: 'className',
|
|
91
|
+
className: 'variant',
|
|
92
|
+
values: variant,
|
|
93
|
+
"default": 'clear'
|
|
94
|
+
},
|
|
95
|
+
color: {
|
|
96
|
+
type: 'className',
|
|
97
|
+
className: 'color',
|
|
98
|
+
values: color,
|
|
99
|
+
"default": 'primary'
|
|
100
|
+
},
|
|
101
|
+
size: (0,common_props/* sizeProp */.lw)(sizes, defaultSize)
|
|
102
|
+
};
|
|
103
|
+
;// ./components/text-button/text-button.tsx
|
|
104
|
+
var text_button_assign = undefined && undefined.__assign || function () {
|
|
105
|
+
text_button_assign = Object.assign || function (t) {
|
|
106
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
107
|
+
s = arguments[i];
|
|
108
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
109
|
+
}
|
|
110
|
+
return t;
|
|
111
|
+
};
|
|
112
|
+
return text_button_assign.apply(this, arguments);
|
|
113
|
+
};
|
|
114
|
+
var text_button_rest = undefined && undefined.__rest || function (s, e) {
|
|
115
|
+
var t = {};
|
|
116
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
117
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
118
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
119
|
+
}
|
|
120
|
+
return t;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
// 글자 크기마다 화살표 크기. 글자(sm 14·base 16·lg 18)보다 조금 작게 둔다
|
|
132
|
+
var ARROW_SIZE = {
|
|
133
|
+
s: 'xs',
|
|
134
|
+
m: 's',
|
|
135
|
+
l: 'm'
|
|
136
|
+
};
|
|
137
|
+
/** 글자만 있는 버튼. 링크를 넘기면 그 링크가 버튼 모양이 된다 */
|
|
138
|
+
var TextButton = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
139
|
+
var _a;
|
|
140
|
+
var _b = (0,getMergedProps/* getMergedProps */.p)(props, textButtonProps),
|
|
141
|
+
className = _b.className,
|
|
142
|
+
text = _b.text,
|
|
143
|
+
asChild = _b.asChild,
|
|
144
|
+
children = _b.children,
|
|
145
|
+
_onClick = _b.onClick,
|
|
146
|
+
_c = _b.pressEffect,
|
|
147
|
+
pressEffect = _c === void 0 ? true : _c,
|
|
148
|
+
track = _b.track,
|
|
149
|
+
trackProps = _b.trackProps,
|
|
150
|
+
restProps = text_button_rest(_b, ["className", "text", "asChild", "children", "onClick", "pressEffect", "track", "trackProps"]);
|
|
151
|
+
var emit = (0,useTrack/* useTrack */.n)('TextButton', {
|
|
152
|
+
track: track,
|
|
153
|
+
trackProps: trackProps
|
|
154
|
+
});
|
|
155
|
+
var content = (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
|
|
156
|
+
children: [text, props.variant === 'arrow' ? (0,jsx_runtime_.jsx)(icon/* default */.A, {
|
|
157
|
+
name: 'caret-right',
|
|
158
|
+
size: ARROW_SIZE[(_a = props.size) !== null && _a !== void 0 ? _a : defaultSize]
|
|
159
|
+
}) : null]
|
|
160
|
+
});
|
|
161
|
+
var link = (0,fillLinkChild/* fillLinkChild */.Q)(asChild, children, content);
|
|
162
|
+
return (0,jsx_runtime_.jsx)(base_text_button, text_button_assign({
|
|
163
|
+
ref: ref,
|
|
164
|
+
// 글자만 있는 버튼이라 줄이지 않고 흐려진다(press form dim)
|
|
165
|
+
className: (0,classNames/* classNames */.x)(className, 'text-button', pressEffect && 'motion-press-dim'),
|
|
166
|
+
asChild: link !== null,
|
|
167
|
+
// 링크는 다른 화면으로 옮기고 버튼은 그 자리에서 동작한다
|
|
168
|
+
onClick: function onClick(event) {
|
|
169
|
+
emit(link ? 'navigate' : 'click');
|
|
170
|
+
_onClick === null || _onClick === void 0 ? void 0 : _onClick(event);
|
|
171
|
+
}
|
|
172
|
+
}, restProps, {
|
|
173
|
+
children: link !== null && link !== void 0 ? link : content
|
|
174
|
+
}));
|
|
175
|
+
});
|
|
176
|
+
TextButton.displayName = 'TextButton';
|
|
177
|
+
/* harmony default export */ const text_button = (TextButton);
|
|
178
|
+
|
|
179
|
+
/***/ },
|
|
180
|
+
|
|
181
|
+
/***/ 1041
|
|
182
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
183
|
+
|
|
184
|
+
var x = (y) => {
|
|
185
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
186
|
+
}
|
|
187
|
+
var y = (x) => (() => (x))
|
|
188
|
+
module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement), ["useCallback"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useCallback), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef) });
|
|
189
|
+
|
|
190
|
+
/***/ },
|
|
191
|
+
|
|
192
|
+
/***/ 612
|
|
193
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
194
|
+
|
|
195
|
+
var x = (y) => {
|
|
196
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
197
|
+
}
|
|
198
|
+
var y = (x) => (() => (x))
|
|
199
|
+
module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.Fragment), ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
|
|
200
|
+
|
|
201
|
+
/***/ }
|
|
202
|
+
|
|
203
|
+
/******/ });
|
|
204
|
+
/************************************************************************/
|
|
205
|
+
/******/ // The module cache
|
|
206
|
+
/******/ var __webpack_module_cache__ = {};
|
|
207
|
+
/******/
|
|
208
|
+
/******/ // The require function
|
|
209
|
+
/******/ function __nuri_require__(moduleId) {
|
|
210
|
+
/******/ // Check if module is in cache
|
|
211
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
212
|
+
/******/ if (cachedModule !== undefined) {
|
|
213
|
+
/******/ return cachedModule.exports;
|
|
214
|
+
/******/ }
|
|
215
|
+
/******/ // Create a new module (and put it into the cache)
|
|
216
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
217
|
+
/******/ // no module.id needed
|
|
218
|
+
/******/ // no module.loaded needed
|
|
219
|
+
/******/ exports: {}
|
|
220
|
+
/******/ };
|
|
221
|
+
/******/
|
|
222
|
+
/******/ // Execute the module function
|
|
223
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
|
|
224
|
+
/******/
|
|
225
|
+
/******/ // Return the exports of the module
|
|
226
|
+
/******/ return module.exports;
|
|
227
|
+
/******/ }
|
|
228
|
+
/******/
|
|
229
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
230
|
+
/******/ __nuri_require__.m = __webpack_modules__;
|
|
231
|
+
/******/
|
|
232
|
+
/************************************************************************/
|
|
233
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
234
|
+
/******/ (() => {
|
|
235
|
+
/******/ var deferred = [];
|
|
236
|
+
/******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
|
|
237
|
+
/******/ if(chunkIds) {
|
|
238
|
+
/******/ priority = priority || 0;
|
|
239
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
240
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
241
|
+
/******/ return;
|
|
242
|
+
/******/ }
|
|
243
|
+
/******/ var notFulfilled = Infinity;
|
|
244
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
245
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
246
|
+
/******/ var fulfilled = true;
|
|
247
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
248
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
|
|
249
|
+
/******/ chunkIds.splice(j--, 1);
|
|
250
|
+
/******/ } else {
|
|
251
|
+
/******/ fulfilled = false;
|
|
252
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
253
|
+
/******/ }
|
|
254
|
+
/******/ }
|
|
255
|
+
/******/ if(fulfilled) {
|
|
256
|
+
/******/ deferred.splice(i--, 1)
|
|
257
|
+
/******/ var r = fn();
|
|
258
|
+
/******/ if (r !== undefined) result = r;
|
|
259
|
+
/******/ }
|
|
260
|
+
/******/ }
|
|
261
|
+
/******/ return result;
|
|
262
|
+
/******/ };
|
|
263
|
+
/******/ })();
|
|
264
|
+
/******/
|
|
265
|
+
/******/ /* webpack/runtime/define property getters */
|
|
266
|
+
/******/ (() => {
|
|
267
|
+
/******/ // define getter functions for harmony exports
|
|
268
|
+
/******/ __nuri_require__.d = (exports, definition) => {
|
|
269
|
+
/******/ for(var key in definition) {
|
|
270
|
+
/******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
|
|
271
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
272
|
+
/******/ }
|
|
273
|
+
/******/ }
|
|
274
|
+
/******/ };
|
|
275
|
+
/******/ })();
|
|
276
|
+
/******/
|
|
277
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
278
|
+
/******/ (() => {
|
|
279
|
+
/******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
280
|
+
/******/ })();
|
|
281
|
+
/******/
|
|
282
|
+
/******/ /* webpack/runtime/export webpack runtime */
|
|
283
|
+
/******/ export { __nuri_require__ };
|
|
284
|
+
/******/
|
|
285
|
+
/******/ /* webpack/runtime/import chunk loading */
|
|
286
|
+
/******/ (() => {
|
|
287
|
+
/******/ // no baseURI
|
|
288
|
+
/******/
|
|
289
|
+
/******/ // object to store loaded and loading chunks
|
|
290
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
291
|
+
/******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
292
|
+
/******/ var installedChunks = {
|
|
293
|
+
/******/ 3783: 0
|
|
294
|
+
/******/ };
|
|
295
|
+
/******/
|
|
296
|
+
/******/ var installChunk = (data) => {
|
|
297
|
+
/******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
|
|
298
|
+
/******/ // add "modules" to the modules object,
|
|
299
|
+
/******/ // then flag all "ids" as loaded and fire callback
|
|
300
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
301
|
+
/******/ for(moduleId in __webpack_esm_modules__) {
|
|
302
|
+
/******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
|
|
303
|
+
/******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
|
|
304
|
+
/******/ }
|
|
305
|
+
/******/ }
|
|
306
|
+
/******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
|
|
307
|
+
/******/ for(;i < __webpack_esm_ids__.length; i++) {
|
|
308
|
+
/******/ chunkId = __webpack_esm_ids__[i];
|
|
309
|
+
/******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
310
|
+
/******/ installedChunks[chunkId][0]();
|
|
311
|
+
/******/ }
|
|
312
|
+
/******/ installedChunks[__webpack_esm_ids__[i]] = 0;
|
|
313
|
+
/******/ }
|
|
314
|
+
/******/ __nuri_require__.O();
|
|
315
|
+
/******/ }
|
|
316
|
+
/******/
|
|
317
|
+
/******/ // no chunk on demand loading
|
|
318
|
+
/******/
|
|
319
|
+
/******/ // no prefetching
|
|
320
|
+
/******/
|
|
321
|
+
/******/ // no preloaded
|
|
322
|
+
/******/
|
|
323
|
+
/******/ __nuri_require__.C = installChunk;
|
|
324
|
+
/******/
|
|
325
|
+
/******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
326
|
+
/******/ // no HMR
|
|
327
|
+
/******/
|
|
328
|
+
/******/ // no HMR manifest
|
|
329
|
+
/******/ })();
|
|
330
|
+
/******/
|
|
331
|
+
/************************************************************************/
|
|
332
|
+
/******/
|
|
333
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
|
|
334
|
+
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
335
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
|
|
336
|
+
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
337
|
+
/******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
|
|
338
|
+
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
339
|
+
/******/ import * as __webpack_chunk_4__ from "./chunk-7298.js";
|
|
340
|
+
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
341
|
+
/******/ import * as __webpack_chunk_5__ from "./chunk-7653.js";
|
|
342
|
+
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
343
|
+
/******/ import * as __webpack_chunk_6__ from "./chunk-3547.js";
|
|
344
|
+
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
345
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-2777.js";
|
|
346
|
+
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
347
|
+
/******/ import * as __webpack_chunk_8__ from "./chunk-1176.js";
|
|
348
|
+
/******/ __nuri_require__.C(__webpack_chunk_8__);
|
|
349
|
+
/******/
|
|
350
|
+
/******/ // startup
|
|
351
|
+
/******/ // Load entry module and return exports
|
|
352
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
353
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,7653,3547,2777,1176], () => (__nuri_require__(4094)))
|
|
354
|
+
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
355
|
+
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
356
|
+
/******/ export { __webpack_exports__default as default };
|
|
357
|
+
/******/
|