@nurihaus/web-design-system 3.23.0 → 3.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/components.md +25 -11
- package/dist/chunk-7653.js +8 -0
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +22 -22
- package/dist/components/empty-state/empty-state.stories.d.ts +50 -50
- package/dist/components/icon/icon-paths.d.ts +8 -0
- package/dist/components/icon/icon.stories.d.ts +1 -1
- package/dist/components/list/list-footer.stories.d.ts +25 -25
- package/dist/components/list/list-header.stories.d.ts +23 -23
- package/dist/components/list/list-row.stories.d.ts +27 -27
- package/dist/components/media/media-props.d.ts +2 -0
- package/dist/components/media/media-thumbnail.stories.d.ts +5 -1
- package/dist/components/media/media-type.d.ts +7 -3
- package/dist/components/message/message.stories.d.ts +26 -26
- package/dist/components/notice/notice.stories.d.ts +24 -24
- package/dist/components/nudge/nudge.stories.d.ts +23 -23
- package/dist/components/overlay/overlay.stories.d.ts +2 -2
- package/dist/components/section-header/section-header.stories.d.ts +23 -23
- package/dist/components/skeleton/skeleton.stories.d.ts +25 -25
- package/dist/components/toast/toast.stories.d.ts +29 -29
- package/dist/components/top/top.stories.d.ts +23 -23
- package/dist/components.css +68 -0
- package/dist/helpers/motion/use-attention-handle.d.ts +1 -1
- package/dist/helpers/motion/use-effect-trigger.d.ts +1 -1
- package/dist/index.js +129 -49
- package/dist/media-thumbnail.js +121 -49
- package/dist/styles.css +55 -0
- package/package.json +1 -1
|
@@ -26,14 +26,12 @@ declare const meta: {
|
|
|
26
26
|
variant: "default";
|
|
27
27
|
};
|
|
28
28
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
29
|
-
|
|
30
|
-
variant?: (typeof variants)[number] | undefined;
|
|
29
|
+
slot?: string | undefined | undefined;
|
|
31
30
|
style?: import("react").CSSProperties | undefined;
|
|
31
|
+
title: import("react").ReactNode;
|
|
32
|
+
track?: string | undefined;
|
|
32
33
|
key?: import("react").Key | null | undefined;
|
|
33
|
-
|
|
34
|
-
content?: string | undefined | undefined;
|
|
35
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
36
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
34
|
+
value?: string | number | readonly string[] | undefined;
|
|
37
35
|
defaultChecked?: boolean | undefined | undefined;
|
|
38
36
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
39
37
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -41,22 +39,23 @@ declare const meta: {
|
|
|
41
39
|
accessKey?: string | undefined | undefined;
|
|
42
40
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
43
41
|
autoFocus?: boolean | undefined | undefined;
|
|
44
|
-
|
|
42
|
+
className?: string | undefined;
|
|
43
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
45
44
|
contextMenu?: string | undefined | undefined;
|
|
46
45
|
dir?: string | undefined | undefined;
|
|
47
|
-
draggable?: (boolean | "
|
|
46
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
48
47
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
49
48
|
hidden?: boolean | undefined | undefined;
|
|
50
49
|
id?: string | undefined | undefined;
|
|
51
50
|
lang?: string | undefined | undefined;
|
|
52
51
|
nonce?: string | undefined | undefined;
|
|
53
|
-
|
|
54
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
52
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
55
53
|
tabIndex?: number | undefined | undefined;
|
|
56
|
-
|
|
54
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
57
55
|
radioGroup?: string | undefined | undefined;
|
|
58
56
|
role?: import("react").AriaRole | undefined;
|
|
59
57
|
about?: string | undefined | undefined;
|
|
58
|
+
content?: string | undefined | undefined;
|
|
60
59
|
datatype?: string | undefined | undefined;
|
|
61
60
|
inlist?: any;
|
|
62
61
|
prefix?: string | undefined | undefined;
|
|
@@ -68,6 +67,7 @@ declare const meta: {
|
|
|
68
67
|
vocab?: string | undefined | undefined;
|
|
69
68
|
autoCorrect?: string | undefined | undefined;
|
|
70
69
|
autoSave?: string | undefined | undefined;
|
|
70
|
+
color?: string | undefined | undefined;
|
|
71
71
|
itemProp?: string | undefined | undefined;
|
|
72
72
|
itemScope?: boolean | undefined | undefined;
|
|
73
73
|
itemType?: string | undefined | undefined;
|
|
@@ -81,11 +81,11 @@ declare const meta: {
|
|
|
81
81
|
exportparts?: string | undefined | undefined;
|
|
82
82
|
part?: string | undefined | undefined;
|
|
83
83
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
84
|
-
"aria-atomic"?: (boolean | "
|
|
84
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
85
85
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
86
86
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
87
87
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
88
|
-
"aria-busy"?: (boolean | "
|
|
88
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
89
89
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
90
90
|
"aria-colcount"?: number | undefined | undefined;
|
|
91
91
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -96,37 +96,37 @@ declare const meta: {
|
|
|
96
96
|
"aria-describedby"?: string | undefined | undefined;
|
|
97
97
|
"aria-description"?: string | undefined | undefined;
|
|
98
98
|
"aria-details"?: string | undefined | undefined;
|
|
99
|
-
"aria-disabled"?: (boolean | "
|
|
99
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
100
100
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
101
101
|
"aria-errormessage"?: string | undefined | undefined;
|
|
102
|
-
"aria-expanded"?: (boolean | "
|
|
102
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
103
103
|
"aria-flowto"?: string | undefined | undefined;
|
|
104
|
-
"aria-grabbed"?: (boolean | "
|
|
104
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
105
105
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
106
|
-
"aria-hidden"?: (boolean | "
|
|
106
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
107
107
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
108
108
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
109
109
|
"aria-label"?: string | undefined | undefined;
|
|
110
110
|
"aria-labelledby"?: string | undefined | undefined;
|
|
111
111
|
"aria-level"?: number | undefined | undefined;
|
|
112
112
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
113
|
-
"aria-modal"?: (boolean | "
|
|
114
|
-
"aria-multiline"?: (boolean | "
|
|
115
|
-
"aria-multiselectable"?: (boolean | "
|
|
113
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
114
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
115
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
116
116
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
117
117
|
"aria-owns"?: string | undefined | undefined;
|
|
118
118
|
"aria-placeholder"?: string | undefined | undefined;
|
|
119
119
|
"aria-posinset"?: number | undefined | undefined;
|
|
120
120
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
121
|
-
"aria-readonly"?: (boolean | "
|
|
121
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
122
122
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
123
|
-
"aria-required"?: (boolean | "
|
|
123
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
124
124
|
"aria-roledescription"?: string | undefined | undefined;
|
|
125
125
|
"aria-rowcount"?: number | undefined | undefined;
|
|
126
126
|
"aria-rowindex"?: number | undefined | undefined;
|
|
127
127
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
128
128
|
"aria-rowspan"?: number | undefined | undefined;
|
|
129
|
-
"aria-selected"?: (boolean | "
|
|
129
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
130
130
|
"aria-setsize"?: number | undefined | undefined;
|
|
131
131
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
132
132
|
"aria-valuemax"?: number | undefined | undefined;
|
|
@@ -288,24 +288,24 @@ declare const meta: {
|
|
|
288
288
|
onWheelCapture?: import("react").WheelEventHandler<HTMLLIElement> | undefined;
|
|
289
289
|
onAnimationStart?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
290
290
|
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
291
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
291
292
|
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
292
293
|
onAnimationIteration?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
293
294
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
294
295
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
295
296
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
296
|
-
|
|
297
|
+
variant?: (typeof variants)[number] | undefined;
|
|
297
298
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
298
299
|
open?: boolean | undefined;
|
|
299
|
-
value?: string | number | readonly string[] | undefined;
|
|
300
|
-
action?: import("./toast-type").ToastAction | undefined;
|
|
301
|
-
onResume?: (() => void) | undefined;
|
|
302
300
|
defaultOpen?: boolean | undefined;
|
|
303
301
|
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
302
|
+
onEntered?: (() => void) | undefined;
|
|
303
|
+
onExited?: (() => void) | undefined;
|
|
304
|
+
action?: import("./toast-type").ToastAction | undefined;
|
|
305
|
+
onResume?: (() => void) | undefined;
|
|
304
306
|
duration?: number | undefined;
|
|
305
307
|
description?: import("react").ReactNode;
|
|
306
308
|
showClose?: boolean | undefined;
|
|
307
|
-
onEntered?: (() => void) | undefined;
|
|
308
|
-
onExited?: (() => void) | undefined;
|
|
309
309
|
ref?: import("react").LegacyRef<HTMLLIElement> | undefined;
|
|
310
310
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
311
311
|
};
|
|
@@ -30,14 +30,10 @@ declare const meta: {
|
|
|
30
30
|
subtitleBottom: string;
|
|
31
31
|
};
|
|
32
32
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
33
|
-
|
|
33
|
+
slot?: string | undefined | undefined;
|
|
34
34
|
style?: import("react").CSSProperties | undefined;
|
|
35
|
+
title: import("react").ReactNode;
|
|
35
36
|
key?: import("react").Key | null | undefined;
|
|
36
|
-
color?: string | undefined | undefined;
|
|
37
|
-
content?: string | undefined | undefined;
|
|
38
|
-
right?: import("react").ReactNode;
|
|
39
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
40
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
41
37
|
defaultChecked?: boolean | undefined | undefined;
|
|
42
38
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
43
39
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -45,22 +41,23 @@ declare const meta: {
|
|
|
45
41
|
accessKey?: string | undefined | undefined;
|
|
46
42
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
47
43
|
autoFocus?: boolean | undefined | undefined;
|
|
48
|
-
|
|
44
|
+
className?: string | undefined | undefined;
|
|
45
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
49
46
|
contextMenu?: string | undefined | undefined;
|
|
50
47
|
dir?: string | undefined | undefined;
|
|
51
|
-
draggable?: (boolean | "
|
|
48
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
52
49
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
53
50
|
hidden?: boolean | undefined | undefined;
|
|
54
51
|
id?: string | undefined | undefined;
|
|
55
52
|
lang?: string | undefined | undefined;
|
|
56
53
|
nonce?: string | undefined | undefined;
|
|
57
|
-
|
|
58
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
54
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
59
55
|
tabIndex?: number | undefined | undefined;
|
|
60
|
-
|
|
56
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
61
57
|
radioGroup?: string | undefined | undefined;
|
|
62
58
|
role?: import("react").AriaRole | undefined;
|
|
63
59
|
about?: string | undefined | undefined;
|
|
60
|
+
content?: string | undefined | undefined;
|
|
64
61
|
datatype?: string | undefined | undefined;
|
|
65
62
|
inlist?: any;
|
|
66
63
|
prefix?: string | undefined | undefined;
|
|
@@ -72,6 +69,7 @@ declare const meta: {
|
|
|
72
69
|
vocab?: string | undefined | undefined;
|
|
73
70
|
autoCorrect?: string | undefined | undefined;
|
|
74
71
|
autoSave?: string | undefined | undefined;
|
|
72
|
+
color?: string | undefined | undefined;
|
|
75
73
|
itemProp?: string | undefined | undefined;
|
|
76
74
|
itemScope?: boolean | undefined | undefined;
|
|
77
75
|
itemType?: string | undefined | undefined;
|
|
@@ -85,11 +83,11 @@ declare const meta: {
|
|
|
85
83
|
exportparts?: string | undefined | undefined;
|
|
86
84
|
part?: string | undefined | undefined;
|
|
87
85
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
88
|
-
"aria-atomic"?: (boolean | "
|
|
86
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
89
87
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
90
88
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
91
89
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
92
|
-
"aria-busy"?: (boolean | "
|
|
90
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
93
91
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
94
92
|
"aria-colcount"?: number | undefined | undefined;
|
|
95
93
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -100,37 +98,37 @@ declare const meta: {
|
|
|
100
98
|
"aria-describedby"?: string | undefined | undefined;
|
|
101
99
|
"aria-description"?: string | undefined | undefined;
|
|
102
100
|
"aria-details"?: string | undefined | undefined;
|
|
103
|
-
"aria-disabled"?: (boolean | "
|
|
101
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
104
102
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
105
103
|
"aria-errormessage"?: string | undefined | undefined;
|
|
106
|
-
"aria-expanded"?: (boolean | "
|
|
104
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
107
105
|
"aria-flowto"?: string | undefined | undefined;
|
|
108
|
-
"aria-grabbed"?: (boolean | "
|
|
106
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
109
107
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
110
|
-
"aria-hidden"?: (boolean | "
|
|
108
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
111
109
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
112
110
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
113
111
|
"aria-label"?: string | undefined | undefined;
|
|
114
112
|
"aria-labelledby"?: string | undefined | undefined;
|
|
115
113
|
"aria-level"?: number | undefined | undefined;
|
|
116
114
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
117
|
-
"aria-modal"?: (boolean | "
|
|
118
|
-
"aria-multiline"?: (boolean | "
|
|
119
|
-
"aria-multiselectable"?: (boolean | "
|
|
115
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
116
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
117
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
120
118
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
121
119
|
"aria-owns"?: string | undefined | undefined;
|
|
122
120
|
"aria-placeholder"?: string | undefined | undefined;
|
|
123
121
|
"aria-posinset"?: number | undefined | undefined;
|
|
124
122
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
125
|
-
"aria-readonly"?: (boolean | "
|
|
123
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
126
124
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
127
|
-
"aria-required"?: (boolean | "
|
|
125
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
128
126
|
"aria-roledescription"?: string | undefined | undefined;
|
|
129
127
|
"aria-rowcount"?: number | undefined | undefined;
|
|
130
128
|
"aria-rowindex"?: number | undefined | undefined;
|
|
131
129
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
132
130
|
"aria-rowspan"?: number | undefined | undefined;
|
|
133
|
-
"aria-selected"?: (boolean | "
|
|
131
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
134
132
|
"aria-setsize"?: number | undefined | undefined;
|
|
135
133
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
136
134
|
"aria-valuemax"?: number | undefined | undefined;
|
|
@@ -292,11 +290,13 @@ declare const meta: {
|
|
|
292
290
|
onWheelCapture?: import("react").WheelEventHandler<HTMLElement> | undefined;
|
|
293
291
|
onAnimationStart?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
294
292
|
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
293
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
295
294
|
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
296
295
|
onAnimationIteration?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
297
296
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
298
297
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
299
298
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
299
|
+
right?: import("react").ReactNode;
|
|
300
300
|
titleLevel?: import("./top-type").TopTitleLevel | undefined;
|
|
301
301
|
subtitleTop?: import("react").ReactNode;
|
|
302
302
|
subtitleBottom?: import("react").ReactNode;
|
package/dist/components.css
CHANGED
|
@@ -6162,6 +6162,74 @@
|
|
|
6162
6162
|
transform: translate(-50%, -50%);
|
|
6163
6163
|
}
|
|
6164
6164
|
|
|
6165
|
+
/* 파일(PDF 등). 뷰어 대신 새 창 링크라 a 가 여는 자리다. 아이콘 · 이름 · 확장자 딱지를 세로로 놓는다 */
|
|
6166
|
+
|
|
6167
|
+
.media-thumbnail.file .media-thumbnail-open {
|
|
6168
|
+
display: flex;
|
|
6169
|
+
align-items: center;
|
|
6170
|
+
justify-content: center;
|
|
6171
|
+
}
|
|
6172
|
+
|
|
6173
|
+
/* 말풍선 안. 4:3 대신 가로로 눕혀 높이는 내용만큼이다 */
|
|
6174
|
+
|
|
6175
|
+
.media-thumbnail.file.size-l:not(.fill) {
|
|
6176
|
+
height: auto;
|
|
6177
|
+
aspect-ratio: auto;
|
|
6178
|
+
}
|
|
6179
|
+
|
|
6180
|
+
.media-thumbnail-file {
|
|
6181
|
+
display: flex;
|
|
6182
|
+
flex-direction: column;
|
|
6183
|
+
align-items: center;
|
|
6184
|
+
gap: var(--spacing-4);
|
|
6185
|
+
width: 100%;
|
|
6186
|
+
min-width: 0;
|
|
6187
|
+
padding: var(--spacing-8);
|
|
6188
|
+
box-sizing: border-box;
|
|
6189
|
+
color: var(--icon-secondary);
|
|
6190
|
+
}
|
|
6191
|
+
|
|
6192
|
+
.media-thumbnail.size-l:not(.fill) .media-thumbnail-file {
|
|
6193
|
+
flex-direction: row;
|
|
6194
|
+
gap: var(--spacing-8);
|
|
6195
|
+
padding: var(--spacing-12);
|
|
6196
|
+
}
|
|
6197
|
+
|
|
6198
|
+
.media-thumbnail-file-text {
|
|
6199
|
+
display: flex;
|
|
6200
|
+
flex-direction: column;
|
|
6201
|
+
align-items: center;
|
|
6202
|
+
max-width: 100%;
|
|
6203
|
+
min-width: 0;
|
|
6204
|
+
font-size: var(--font-size-xsm);
|
|
6205
|
+
line-height: var(--line-height-xsm);
|
|
6206
|
+
}
|
|
6207
|
+
|
|
6208
|
+
.media-thumbnail.size-l:not(.fill) .media-thumbnail-file-text {
|
|
6209
|
+
align-items: flex-start;
|
|
6210
|
+
}
|
|
6211
|
+
|
|
6212
|
+
/* 64 칸에는 글자 자리가 없어 아이콘만 보인다(이름은 aria-label 로 읽힌다) */
|
|
6213
|
+
|
|
6214
|
+
.media-thumbnail.size-s:not(.fill) .media-thumbnail-file-text {
|
|
6215
|
+
display: none;
|
|
6216
|
+
}
|
|
6217
|
+
|
|
6218
|
+
/* 긴 이름은 한 줄로 자른다 */
|
|
6219
|
+
|
|
6220
|
+
.media-thumbnail-file-name {
|
|
6221
|
+
max-width: 100%;
|
|
6222
|
+
overflow: hidden;
|
|
6223
|
+
color: var(--text-body);
|
|
6224
|
+
text-overflow: ellipsis;
|
|
6225
|
+
white-space: nowrap;
|
|
6226
|
+
}
|
|
6227
|
+
|
|
6228
|
+
.media-thumbnail-file-extension {
|
|
6229
|
+
color: var(--text-secondary);
|
|
6230
|
+
font-weight: var(--font-weight-bold);
|
|
6231
|
+
}
|
|
6232
|
+
|
|
6165
6233
|
.media-thumbnail-media {
|
|
6166
6234
|
display: block;
|
|
6167
6235
|
width: 100%;
|
|
@@ -2,6 +2,6 @@ import { Ref } from 'react';
|
|
|
2
2
|
import type { AttentionHandle } from './motion-props';
|
|
3
3
|
/** effectRef 에 shine·blink 를 걸고, 효과를 받을 루트에 펼칠 data-effect·onAnimationEnd 를 돌려준다 */
|
|
4
4
|
export declare const useAttentionHandle: (effectRef: Ref<AttentionHandle> | undefined) => {
|
|
5
|
-
'data-effect': "
|
|
5
|
+
'data-effect': "blink" | "shake" | "wiggle" | "shine" | undefined;
|
|
6
6
|
onAnimationEnd: (event: import("react").AnimationEvent<Element>) => void;
|
|
7
7
|
};
|
|
@@ -5,7 +5,7 @@ import type { EffectName } from './effects';
|
|
|
5
5
|
* trigger(name, times) 는 재생 중이어도 처음부터 다시 times 번 재생한다.
|
|
6
6
|
*/
|
|
7
7
|
export declare const useEffectTrigger: () => {
|
|
8
|
-
effect: "
|
|
8
|
+
effect: "blink" | "shake" | "wiggle" | "shine" | undefined;
|
|
9
9
|
trigger: (name: EffectName, times?: number) => void;
|
|
10
10
|
onAnimationEnd: (event: AnimationEvent<Element>) => void;
|
|
11
11
|
};
|
package/dist/index.js
CHANGED
|
@@ -6618,6 +6618,14 @@ var iconPaths = {
|
|
|
6618
6618
|
regular: ['M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z'],
|
|
6619
6619
|
fill: ['M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z']
|
|
6620
6620
|
},
|
|
6621
|
+
file: {
|
|
6622
|
+
regular: ['M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z'],
|
|
6623
|
+
fill: ['M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z']
|
|
6624
|
+
},
|
|
6625
|
+
'file-pdf': {
|
|
6626
|
+
regular: ['M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z'],
|
|
6627
|
+
fill: ['M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm72,108.53a8.18,8.18,0,0,1-8.25,7.47H192v16h15.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H192v15.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152.53ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184ZM128,144H112a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,128,144Zm-.49,56H120V160h8a20,20,0,0,1,20,20.77C147.58,191.59,138.34,200,127.51,200Z']
|
|
6628
|
+
},
|
|
6621
6629
|
'upload-simple': {
|
|
6622
6630
|
regular: ['M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM93.66,77.66,120,51.31V144a8,8,0,0,0,16,0V51.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,77.66Z'],
|
|
6623
6631
|
fill: ['M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM88,80h32v64a8,8,0,0,0,16,0V80h32a8,8,0,0,0,5.66-13.66l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,88,80Z']
|
|
@@ -8575,9 +8583,20 @@ var spinner = __nuri_require__(6302);
|
|
|
8575
8583
|
// EXTERNAL MODULE: ./helpers/props/common-props.ts
|
|
8576
8584
|
var common_props = __nuri_require__(7298);
|
|
8577
8585
|
;// ./components/media/media-props.ts
|
|
8586
|
+
var __spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
|
|
8587
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
8588
|
+
if (ar || !(i in from)) {
|
|
8589
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
8590
|
+
ar[i] = from[i];
|
|
8591
|
+
}
|
|
8592
|
+
}
|
|
8593
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
8594
|
+
};
|
|
8578
8595
|
|
|
8579
8596
|
var sizes = ['s', 'm', 'l'];
|
|
8580
|
-
var mediaTypes =
|
|
8597
|
+
var mediaTypes = ['image', 'video'];
|
|
8598
|
+
/** 썸네일만 file(PDF 등)을 더 받는다. 뷰어는 파일을 그리지 않고 새 창으로 연다 */
|
|
8599
|
+
var thumbnailTypes = __spreadArray(__spreadArray([], mediaTypes, true), ['file'], false);
|
|
8581
8600
|
/** 썸네일 위 딱지 색. brand 는 보라(대표), dark 는 반투명 검정(숨김 등 상태) */
|
|
8582
8601
|
var badgeVariant = ['brand', 'dark'];
|
|
8583
8602
|
var mediaThumbnailProps = {
|
|
@@ -8602,6 +8621,61 @@ var media_viewer = __nuri_require__(4268);
|
|
|
8602
8621
|
|
|
8603
8622
|
|
|
8604
8623
|
|
|
8624
|
+
// 파일 이름의 확장자를 딱지로 쓴다(견적서.pdf → PDF). 점이 없으면 딱지가 없다
|
|
8625
|
+
var extensionOf = function extensionOf(fileName) {
|
|
8626
|
+
var _a;
|
|
8627
|
+
return (fileName === null || fileName === void 0 ? void 0 : fileName.includes('.')) ? (_a = fileName.split('.').pop()) === null || _a === void 0 ? void 0 : _a.toUpperCase() : undefined;
|
|
8628
|
+
};
|
|
8629
|
+
var FileContent = function FileContent(_a) {
|
|
8630
|
+
var fileName = _a.fileName;
|
|
8631
|
+
var extension = extensionOf(fileName);
|
|
8632
|
+
return (0,jsx_runtime_.jsxs)("span", {
|
|
8633
|
+
className: 'media-thumbnail-file',
|
|
8634
|
+
children: [(0,jsx_runtime_.jsx)(icon/* default */.A, {
|
|
8635
|
+
name: extension === 'PDF' ? 'file-pdf' : 'file',
|
|
8636
|
+
size: 'l'
|
|
8637
|
+
}), (0,jsx_runtime_.jsxs)("span", {
|
|
8638
|
+
className: 'media-thumbnail-file-text',
|
|
8639
|
+
children: [fileName && (0,jsx_runtime_.jsx)("span", {
|
|
8640
|
+
className: 'media-thumbnail-file-name',
|
|
8641
|
+
children: fileName
|
|
8642
|
+
}), extension && (0,jsx_runtime_.jsx)("span", {
|
|
8643
|
+
className: 'media-thumbnail-file-extension',
|
|
8644
|
+
children: extension
|
|
8645
|
+
})]
|
|
8646
|
+
})]
|
|
8647
|
+
});
|
|
8648
|
+
};
|
|
8649
|
+
var MediaContent = function MediaContent(_a) {
|
|
8650
|
+
var src = _a.src,
|
|
8651
|
+
type = _a.type,
|
|
8652
|
+
fileName = _a.fileName;
|
|
8653
|
+
if (type === 'file') return (0,jsx_runtime_.jsx)(FileContent, {
|
|
8654
|
+
fileName: fileName
|
|
8655
|
+
});
|
|
8656
|
+
if (type === 'video') return (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
|
|
8657
|
+
children: [(0,jsx_runtime_.jsx)("video", {
|
|
8658
|
+
className: 'media-thumbnail-media',
|
|
8659
|
+
src: "".concat(src, "#t=0.001"),
|
|
8660
|
+
preload: 'metadata',
|
|
8661
|
+
muted: true,
|
|
8662
|
+
playsInline: true
|
|
8663
|
+
}), (0,jsx_runtime_.jsx)("span", {
|
|
8664
|
+
className: 'media-thumbnail-play',
|
|
8665
|
+
children: (0,jsx_runtime_.jsx)(icon/* default */.A, {
|
|
8666
|
+
name: 'play',
|
|
8667
|
+
weight: 'fill',
|
|
8668
|
+
size: 's'
|
|
8669
|
+
})
|
|
8670
|
+
})]
|
|
8671
|
+
});
|
|
8672
|
+
return (0,jsx_runtime_.jsx)("img", {
|
|
8673
|
+
className: 'media-thumbnail-media',
|
|
8674
|
+
src: src,
|
|
8675
|
+
alt: '',
|
|
8676
|
+
loading: 'lazy'
|
|
8677
|
+
});
|
|
8678
|
+
};
|
|
8605
8679
|
// 버튼 안에 버튼을 둘 수 없어 여는 버튼과 지우기 버튼을 형제로 두고 div 로 감싼다. ref 는 그 div 다.
|
|
8606
8680
|
var MediaThumbnail = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
8607
8681
|
var _a = (0,getMergedProps/* getMergedProps */.p)(props, mediaThumbnailProps),
|
|
@@ -8609,6 +8683,7 @@ var MediaThumbnail = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
|
|
|
8609
8683
|
_b = _a.type,
|
|
8610
8684
|
type = _b === void 0 ? 'image' : _b,
|
|
8611
8685
|
alt = _a.alt,
|
|
8686
|
+
fileName = _a.fileName,
|
|
8612
8687
|
viewLabel = _a.viewLabel,
|
|
8613
8688
|
closeLabel = _a.closeLabel,
|
|
8614
8689
|
loading = _a.loading,
|
|
@@ -8629,64 +8704,69 @@ var MediaThumbnail = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
|
|
|
8629
8704
|
track: track,
|
|
8630
8705
|
trackProps: trackProps
|
|
8631
8706
|
});
|
|
8707
|
+
var isFile = type === 'file';
|
|
8708
|
+
var label = isFile ? viewLabel !== null && viewLabel !== void 0 ? viewLabel : fileName : alt !== null && alt !== void 0 ? alt : viewLabel;
|
|
8709
|
+
var openClassName = (0,classNames/* classNames */.x)('media-thumbnail-open', pressEffect && 'motion-press');
|
|
8710
|
+
var content = (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
|
|
8711
|
+
children: [(0,jsx_runtime_.jsx)(MediaContent, {
|
|
8712
|
+
src: src,
|
|
8713
|
+
type: type,
|
|
8714
|
+
fileName: fileName
|
|
8715
|
+
}), dimmed && (0,jsx_runtime_.jsx)("span", {
|
|
8716
|
+
className: 'media-thumbnail-dim'
|
|
8717
|
+
}), badge !== undefined && badge !== null && (0,jsx_runtime_.jsx)("span", {
|
|
8718
|
+
className: 'media-thumbnail-badge',
|
|
8719
|
+
children: badge
|
|
8720
|
+
}), views !== undefined && views !== null && (0,jsx_runtime_.jsxs)("span", {
|
|
8721
|
+
className: 'media-thumbnail-views',
|
|
8722
|
+
children: [(0,jsx_runtime_.jsx)(icon/* default */.A, {
|
|
8723
|
+
name: 'play',
|
|
8724
|
+
weight: 'fill',
|
|
8725
|
+
size: 'xs'
|
|
8726
|
+
}), views]
|
|
8727
|
+
}), loading && (0,jsx_runtime_.jsx)("span", {
|
|
8728
|
+
className: 'media-thumbnail-loading',
|
|
8729
|
+
children: (0,jsx_runtime_.jsx)(spinner/* default */.A, {
|
|
8730
|
+
className: 'media-thumbnail-spinner'
|
|
8731
|
+
})
|
|
8732
|
+
})]
|
|
8733
|
+
});
|
|
8734
|
+
var button = (0,jsx_runtime_.jsx)(base_button/* default */.A, {
|
|
8735
|
+
className: openClassName,
|
|
8736
|
+
"aria-label": label,
|
|
8737
|
+
"aria-busy": loading || undefined,
|
|
8738
|
+
disabled: loading || invalid,
|
|
8739
|
+
"data-invalid": invalid || undefined,
|
|
8740
|
+
children: content
|
|
8741
|
+
});
|
|
8742
|
+
// 파일은 뷰어에 그리지 않고 새 창 링크로 연다. 앱 웹뷰는 바깥 주소를 인앱 브라우저로 넘긴다
|
|
8743
|
+
var fileLink = (0,jsx_runtime_.jsx)("a", {
|
|
8744
|
+
className: openClassName,
|
|
8745
|
+
href: src,
|
|
8746
|
+
target: '_blank',
|
|
8747
|
+
rel: 'noopener noreferrer',
|
|
8748
|
+
"aria-label": label,
|
|
8749
|
+
onClick: function onClick() {
|
|
8750
|
+
return emit('open');
|
|
8751
|
+
},
|
|
8752
|
+
children: content
|
|
8753
|
+
});
|
|
8754
|
+
// 올리는 중·실패면 파일도 열리지 않는 버튼이다
|
|
8755
|
+
var fileOpener = loading || invalid ? button : fileLink;
|
|
8632
8756
|
return (0,jsx_runtime_.jsxs)("div", {
|
|
8633
8757
|
ref: ref,
|
|
8634
|
-
className: (0,classNames/* classNames */.x)('nuri-theme base-media', className, 'media-thumbnail', fill && 'fill'),
|
|
8758
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-media', className, 'media-thumbnail', fill && 'fill', isFile && 'file'),
|
|
8635
8759
|
style: style,
|
|
8636
|
-
children: [(0,jsx_runtime_.jsx)(media_viewer/* default */.A, {
|
|
8760
|
+
children: [isFile ? fileOpener : (0,jsx_runtime_.jsx)(media_viewer/* default */.A, {
|
|
8637
8761
|
src: src,
|
|
8638
8762
|
type: type,
|
|
8639
8763
|
alt: alt,
|
|
8640
|
-
title:
|
|
8764
|
+
title: label,
|
|
8641
8765
|
closeLabel: closeLabel,
|
|
8642
8766
|
onOpenChange: function onOpenChange(next) {
|
|
8643
8767
|
return next && emit('open');
|
|
8644
8768
|
},
|
|
8645
|
-
trigger:
|
|
8646
|
-
className: (0,classNames/* classNames */.x)('media-thumbnail-open', pressEffect && 'motion-press'),
|
|
8647
|
-
"aria-label": alt !== null && alt !== void 0 ? alt : viewLabel,
|
|
8648
|
-
"aria-busy": loading || undefined,
|
|
8649
|
-
disabled: loading || invalid,
|
|
8650
|
-
"data-invalid": invalid || undefined,
|
|
8651
|
-
children: [type === 'video' ? (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
|
|
8652
|
-
children: [(0,jsx_runtime_.jsx)("video", {
|
|
8653
|
-
className: 'media-thumbnail-media',
|
|
8654
|
-
src: "".concat(src, "#t=0.001"),
|
|
8655
|
-
preload: 'metadata',
|
|
8656
|
-
muted: true,
|
|
8657
|
-
playsInline: true
|
|
8658
|
-
}), (0,jsx_runtime_.jsx)("span", {
|
|
8659
|
-
className: 'media-thumbnail-play',
|
|
8660
|
-
children: (0,jsx_runtime_.jsx)(icon/* default */.A, {
|
|
8661
|
-
name: 'play',
|
|
8662
|
-
weight: 'fill',
|
|
8663
|
-
size: 's'
|
|
8664
|
-
})
|
|
8665
|
-
})]
|
|
8666
|
-
}) : (0,jsx_runtime_.jsx)("img", {
|
|
8667
|
-
className: 'media-thumbnail-media',
|
|
8668
|
-
src: src,
|
|
8669
|
-
alt: '',
|
|
8670
|
-
loading: 'lazy'
|
|
8671
|
-
}), dimmed && (0,jsx_runtime_.jsx)("span", {
|
|
8672
|
-
className: 'media-thumbnail-dim'
|
|
8673
|
-
}), badge !== undefined && badge !== null && (0,jsx_runtime_.jsx)("span", {
|
|
8674
|
-
className: 'media-thumbnail-badge',
|
|
8675
|
-
children: badge
|
|
8676
|
-
}), views !== undefined && views !== null && (0,jsx_runtime_.jsxs)("span", {
|
|
8677
|
-
className: 'media-thumbnail-views',
|
|
8678
|
-
children: [(0,jsx_runtime_.jsx)(icon/* default */.A, {
|
|
8679
|
-
name: 'play',
|
|
8680
|
-
weight: 'fill',
|
|
8681
|
-
size: 'xs'
|
|
8682
|
-
}), views]
|
|
8683
|
-
}), loading && (0,jsx_runtime_.jsx)("span", {
|
|
8684
|
-
className: 'media-thumbnail-loading',
|
|
8685
|
-
children: (0,jsx_runtime_.jsx)(spinner/* default */.A, {
|
|
8686
|
-
className: 'media-thumbnail-spinner'
|
|
8687
|
-
})
|
|
8688
|
-
})]
|
|
8689
|
-
})
|
|
8769
|
+
trigger: button
|
|
8690
8770
|
}), onRemove && (0,jsx_runtime_.jsx)(base_button/* default */.A, {
|
|
8691
8771
|
className: 'media-thumbnail-remove',
|
|
8692
8772
|
type: 'button',
|