@nurihaus/web-design-system 3.17.1 → 3.19.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 +149 -8
- package/dist/ai/migration.md +11 -0
- package/dist/ai/motion.md +4 -0
- package/dist/ai/patterns.md +4 -4
- package/dist/ai/tokens.md +5 -0
- package/dist/asset.js +1 -1
- package/dist/avatar.js +16 -4
- package/dist/card.js +2 -1
- package/dist/components/asset/asset-props.d.ts +2 -2
- package/dist/components/asset/asset.stories.d.ts +4 -2
- package/dist/components/avatar/avatar-type.d.ts +2 -0
- package/dist/components/avatar/avatar.stories.d.ts +2 -0
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +5 -5
- package/dist/components/card/card-props.d.ts +3 -2
- package/dist/components/card/card.stories.d.ts +1 -1
- package/dist/components/empty-state/empty-state.stories.d.ts +10 -10
- package/dist/components/icon/icon.stories.d.ts +1 -1
- package/dist/components/list/list-footer.stories.d.ts +6 -6
- package/dist/components/list/list-group.stories.d.ts +2 -0
- package/dist/components/list/list-header.stories.d.ts +5 -5
- package/dist/components/list/list-props.d.ts +10 -1
- package/dist/components/list/list-row.stories.d.ts +8 -8
- package/dist/components/list/list-type.d.ts +3 -1
- package/dist/components/media/media-props.d.ts +8 -0
- package/dist/components/media/media-thumbnail.stories.d.ts +2 -0
- package/dist/components/media/media-type.d.ts +12 -2
- package/dist/components/member-card/base-tier-ladder.d.ts +5 -0
- package/dist/components/member-card/member-card-type.d.ts +21 -1
- package/dist/components/member-card/member-card.stories.d.ts +1 -1
- package/dist/components/member-card/tier-ladder.d.ts +4 -0
- package/dist/components/member-card/tier-ladder.stories.d.ts +29 -0
- package/dist/components/message/message.stories.d.ts +6 -6
- package/dist/components/notice/notice.stories.d.ts +5 -5
- package/dist/components/overlay/overlay.stories.d.ts +1 -1
- package/dist/components/platform-badge/base-platform-badge.d.ts +5 -0
- package/dist/components/platform-badge/platform-badge-props.d.ts +12 -0
- package/dist/components/platform-badge/platform-badge-type.d.ts +12 -0
- package/dist/components/platform-badge/platform-badge.d.ts +5 -0
- package/dist/components/platform-badge/platform-badge.stories.d.ts +33 -0
- package/dist/components/section-header/section-header.stories.d.ts +5 -5
- package/dist/components/segmented-control/segmented-control.stories.d.ts +1 -1
- package/dist/components/skeleton/skeleton-group.stories.d.ts +1 -1
- package/dist/components/skeleton/skeleton.stories.d.ts +5 -5
- package/dist/components/toast/toast.stories.d.ts +5 -5
- package/dist/components/top/top.stories.d.ts +4 -4
- package/dist/components.css +266 -32
- package/dist/index.d.ts +4 -1
- package/dist/index.js +391 -28
- package/dist/list-footer.js +11 -2
- package/dist/list-group.js +11 -2
- package/dist/list-header.js +11 -2
- package/dist/list-row.js +11 -2
- package/dist/media-thumbnail.js +26 -2
- package/dist/member-card.js +29 -17
- package/dist/platform-badge.js +297 -0
- package/dist/styles.css +228 -32
- package/dist/tier-ladder.js +379 -0
- package/dist/tokens/generated/semantic-app.d.ts +2 -0
- package/dist/tokens.css +8 -0
- package/dist/tokens.js +3 -1
- package/package.json +9 -1
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_radix_ui_3bc96d1b__ from "radix-ui";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
|
|
5
|
+
/******/ var __webpack_modules__ = ({
|
|
6
|
+
|
|
7
|
+
/***/ 8914
|
|
8
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
9
|
+
|
|
10
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
11
|
+
/* harmony export */ Zm: () => (/* binding */ tier)
|
|
12
|
+
/* harmony export */ });
|
|
13
|
+
/* unused harmony exports side, channel, memberCardProps */
|
|
14
|
+
// 팔로워 규모 티어. 경계는 midmega-admin src/lib/utils/follower-tier.ts 와 같고, 1K 미만을 starter 로 둔다
|
|
15
|
+
var tier = ['starter', 'nano', 'micro', 'mid', 'macro', 'mega'];
|
|
16
|
+
var side = (/* unused pure expression or super */ null && (['front', 'back']));
|
|
17
|
+
var channel = (/* unused pure expression or super */ null && (['instagram', 'tiktok', 'youtube']));
|
|
18
|
+
var memberCardProps = {
|
|
19
|
+
tier: {
|
|
20
|
+
type: 'className',
|
|
21
|
+
className: 'tier',
|
|
22
|
+
values: tier
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/***/ },
|
|
27
|
+
|
|
28
|
+
/***/ 7823
|
|
29
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
// EXPORTS
|
|
33
|
+
__nuri_require__.d(__webpack_exports__, {
|
|
34
|
+
A: () => (/* binding */ tier_ladder)
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
// EXTERNAL MODULE: external {"root":"jsx-runtime","commonjs2":"react/jsx-runtime","commonjs":"react/jsx-runtime","amd":"react/jsx-runtime","module":"react/jsx-runtime"}
|
|
38
|
+
var jsx_runtime_ = __nuri_require__(612);
|
|
39
|
+
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
|
|
40
|
+
var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(1041);
|
|
41
|
+
// EXTERNAL MODULE: ./helpers/hooks/useExternalState.ts
|
|
42
|
+
var useExternalState = __nuri_require__(9387);
|
|
43
|
+
// EXTERNAL MODULE: ./helpers/hooks/useTrack.ts
|
|
44
|
+
var useTrack = __nuri_require__(4560);
|
|
45
|
+
// EXTERNAL MODULE: ./helpers/utils/classNames.js
|
|
46
|
+
var classNames = __nuri_require__(3274);
|
|
47
|
+
// EXTERNAL MODULE: external {"root":"RadixUI","commonjs2":"radix-ui","commonjs":"radix-ui","amd":"radix-ui","module":"radix-ui"}
|
|
48
|
+
var external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_ = __nuri_require__(0);
|
|
49
|
+
;// ./components/member-card/base-tier-ladder.tsx
|
|
50
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
51
|
+
__assign = Object.assign || function (t) {
|
|
52
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
53
|
+
s = arguments[i];
|
|
54
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
55
|
+
}
|
|
56
|
+
return t;
|
|
57
|
+
};
|
|
58
|
+
return __assign.apply(this, arguments);
|
|
59
|
+
};
|
|
60
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
61
|
+
var t = {};
|
|
62
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
63
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
64
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
65
|
+
}
|
|
66
|
+
return t;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
var TierLadderRootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
73
|
+
var children = props.children,
|
|
74
|
+
className = props.className,
|
|
75
|
+
value = props.value,
|
|
76
|
+
onValueChange = props.onValueChange,
|
|
77
|
+
restProps = __rest(props, ["children", "className", "value", "onValueChange"]);
|
|
78
|
+
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.RadioGroup.Root, __assign({
|
|
79
|
+
ref: ref,
|
|
80
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-tier-ladder root', className),
|
|
81
|
+
value: value,
|
|
82
|
+
onValueChange: onValueChange
|
|
83
|
+
}, restProps, {
|
|
84
|
+
children: children
|
|
85
|
+
}));
|
|
86
|
+
});
|
|
87
|
+
TierLadderRootBase.displayName = 'TierLadderRoot';
|
|
88
|
+
var TierLadderStep = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
89
|
+
var children = props.children,
|
|
90
|
+
className = props.className,
|
|
91
|
+
value = props.value,
|
|
92
|
+
restProps = __rest(props, ["children", "className", "value"]);
|
|
93
|
+
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.RadioGroup.Item, __assign({
|
|
94
|
+
ref: ref,
|
|
95
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-tier-ladder step', className),
|
|
96
|
+
value: value
|
|
97
|
+
}, restProps, {
|
|
98
|
+
children: children
|
|
99
|
+
}));
|
|
100
|
+
});
|
|
101
|
+
TierLadderStep.displayName = 'TierLadderStep';
|
|
102
|
+
var TierLadderRoot = Object.assign(TierLadderRootBase, {
|
|
103
|
+
Step: TierLadderStep
|
|
104
|
+
});
|
|
105
|
+
/* harmony default export */ const base_tier_ladder = (TierLadderRoot);
|
|
106
|
+
// EXTERNAL MODULE: ./components/member-card/member-card-props.ts
|
|
107
|
+
var member_card_props = __nuri_require__(8914);
|
|
108
|
+
;// ./components/member-card/tier-ladder.tsx
|
|
109
|
+
var tier_ladder_assign = undefined && undefined.__assign || function () {
|
|
110
|
+
tier_ladder_assign = Object.assign || function (t) {
|
|
111
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
112
|
+
s = arguments[i];
|
|
113
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
114
|
+
}
|
|
115
|
+
return t;
|
|
116
|
+
};
|
|
117
|
+
return tier_ladder_assign.apply(this, arguments);
|
|
118
|
+
};
|
|
119
|
+
var tier_ladder_rest = undefined && undefined.__rest || function (s, e) {
|
|
120
|
+
var t = {};
|
|
121
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
122
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
123
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
124
|
+
}
|
|
125
|
+
return t;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
var TIER_NAME = {
|
|
135
|
+
starter: 'Starter',
|
|
136
|
+
nano: 'Nano',
|
|
137
|
+
micro: 'Micro',
|
|
138
|
+
mid: 'Mid',
|
|
139
|
+
macro: 'Macro',
|
|
140
|
+
mega: 'Mega'
|
|
141
|
+
};
|
|
142
|
+
var TierLadder = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
143
|
+
var _a;
|
|
144
|
+
var className = props.className,
|
|
145
|
+
value = props.value,
|
|
146
|
+
defaultValue = props.defaultValue,
|
|
147
|
+
onValueChange = props.onValueChange,
|
|
148
|
+
current = props.current,
|
|
149
|
+
label = props.label,
|
|
150
|
+
tierLabels = props.tierLabels,
|
|
151
|
+
_b = props.pressEffect,
|
|
152
|
+
pressEffect = _b === void 0 ? true : _b,
|
|
153
|
+
track = props.track,
|
|
154
|
+
trackProps = props.trackProps,
|
|
155
|
+
restProps = tier_ladder_rest(props, ["className", "value", "defaultValue", "onValueChange", "current", "label", "tierLabels", "pressEffect", "track", "trackProps"]);
|
|
156
|
+
var emit = (0,useTrack/* useTrack */.n)('TierLadder', {
|
|
157
|
+
track: track,
|
|
158
|
+
trackProps: trackProps
|
|
159
|
+
});
|
|
160
|
+
var _c = (0,useExternalState/* useExternalState */.C)({
|
|
161
|
+
prop: value,
|
|
162
|
+
handler: function handler(tier) {
|
|
163
|
+
emit('change', tier);
|
|
164
|
+
onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(tier);
|
|
165
|
+
},
|
|
166
|
+
defaultProp: (_a = defaultValue !== null && defaultValue !== void 0 ? defaultValue : current) !== null && _a !== void 0 ? _a : member_card_props/* tier */.Zm[0]
|
|
167
|
+
}),
|
|
168
|
+
selected = _c[0],
|
|
169
|
+
setSelected = _c[1];
|
|
170
|
+
// current 가 없으면 -1 이라 아무 칸도 차지 않는다
|
|
171
|
+
var lastFilled = current ? member_card_props/* tier */.Zm.indexOf(current) : -1;
|
|
172
|
+
return (0,jsx_runtime_.jsx)(base_tier_ladder, tier_ladder_assign({
|
|
173
|
+
ref: ref,
|
|
174
|
+
className: (0,classNames/* classNames */.x)(className, 'tier-ladder'),
|
|
175
|
+
value: selected,
|
|
176
|
+
onValueChange: function onValueChange(id) {
|
|
177
|
+
return setSelected(id);
|
|
178
|
+
},
|
|
179
|
+
"aria-label": label
|
|
180
|
+
}, restProps, {
|
|
181
|
+
children: member_card_props/* tier */.Zm.map(function (tier, i) {
|
|
182
|
+
var _a;
|
|
183
|
+
return (0,jsx_runtime_.jsxs)(base_tier_ladder.Step, {
|
|
184
|
+
// 칸은 사다리 안의 칸이라 줄이지 않고 딤만 쓴다(press form dim)
|
|
185
|
+
className: (0,classNames/* classNames */.x)('tier-ladder-step', pressEffect && 'motion-press-dim'),
|
|
186
|
+
value: tier,
|
|
187
|
+
"data-tier": tier,
|
|
188
|
+
"data-filled": i <= lastFilled || undefined,
|
|
189
|
+
children: [(0,jsx_runtime_.jsx)("span", {
|
|
190
|
+
className: 'tier-ladder-bar',
|
|
191
|
+
"aria-hidden": 'true'
|
|
192
|
+
}), (_a = tierLabels === null || tierLabels === void 0 ? void 0 : tierLabels[tier]) !== null && _a !== void 0 ? _a : TIER_NAME[tier]]
|
|
193
|
+
}, tier);
|
|
194
|
+
})
|
|
195
|
+
}));
|
|
196
|
+
});
|
|
197
|
+
TierLadder.displayName = 'TierLadder';
|
|
198
|
+
/* harmony default export */ const tier_ladder = (TierLadder);
|
|
199
|
+
|
|
200
|
+
/***/ },
|
|
201
|
+
|
|
202
|
+
/***/ 0
|
|
203
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
204
|
+
|
|
205
|
+
var x = (y) => {
|
|
206
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
207
|
+
}
|
|
208
|
+
var y = (x) => (() => (x))
|
|
209
|
+
module.exports = x({ ["RadioGroup"]: () => (__WEBPACK_EXTERNAL_MODULE_radix_ui_3bc96d1b__.RadioGroup) });
|
|
210
|
+
|
|
211
|
+
/***/ },
|
|
212
|
+
|
|
213
|
+
/***/ 1041
|
|
214
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
215
|
+
|
|
216
|
+
var x = (y) => {
|
|
217
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
218
|
+
}
|
|
219
|
+
var y = (x) => (() => (x))
|
|
220
|
+
module.exports = x({ ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["useCallback"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useCallback), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext), ["useEffect"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useEffect), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef), ["useState"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useState) });
|
|
221
|
+
|
|
222
|
+
/***/ },
|
|
223
|
+
|
|
224
|
+
/***/ 612
|
|
225
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
226
|
+
|
|
227
|
+
var x = (y) => {
|
|
228
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
229
|
+
}
|
|
230
|
+
var y = (x) => (() => (x))
|
|
231
|
+
module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
|
|
232
|
+
|
|
233
|
+
/***/ }
|
|
234
|
+
|
|
235
|
+
/******/ });
|
|
236
|
+
/************************************************************************/
|
|
237
|
+
/******/ // The module cache
|
|
238
|
+
/******/ var __webpack_module_cache__ = {};
|
|
239
|
+
/******/
|
|
240
|
+
/******/ // The require function
|
|
241
|
+
/******/ function __nuri_require__(moduleId) {
|
|
242
|
+
/******/ // Check if module is in cache
|
|
243
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
244
|
+
/******/ if (cachedModule !== undefined) {
|
|
245
|
+
/******/ return cachedModule.exports;
|
|
246
|
+
/******/ }
|
|
247
|
+
/******/ // Create a new module (and put it into the cache)
|
|
248
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
249
|
+
/******/ // no module.id needed
|
|
250
|
+
/******/ // no module.loaded needed
|
|
251
|
+
/******/ exports: {}
|
|
252
|
+
/******/ };
|
|
253
|
+
/******/
|
|
254
|
+
/******/ // Execute the module function
|
|
255
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
|
|
256
|
+
/******/
|
|
257
|
+
/******/ // Return the exports of the module
|
|
258
|
+
/******/ return module.exports;
|
|
259
|
+
/******/ }
|
|
260
|
+
/******/
|
|
261
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
262
|
+
/******/ __nuri_require__.m = __webpack_modules__;
|
|
263
|
+
/******/
|
|
264
|
+
/************************************************************************/
|
|
265
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
266
|
+
/******/ (() => {
|
|
267
|
+
/******/ var deferred = [];
|
|
268
|
+
/******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
|
|
269
|
+
/******/ if(chunkIds) {
|
|
270
|
+
/******/ priority = priority || 0;
|
|
271
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
272
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
273
|
+
/******/ return;
|
|
274
|
+
/******/ }
|
|
275
|
+
/******/ var notFulfilled = Infinity;
|
|
276
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
277
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
278
|
+
/******/ var fulfilled = true;
|
|
279
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
280
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
|
|
281
|
+
/******/ chunkIds.splice(j--, 1);
|
|
282
|
+
/******/ } else {
|
|
283
|
+
/******/ fulfilled = false;
|
|
284
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
285
|
+
/******/ }
|
|
286
|
+
/******/ }
|
|
287
|
+
/******/ if(fulfilled) {
|
|
288
|
+
/******/ deferred.splice(i--, 1)
|
|
289
|
+
/******/ var r = fn();
|
|
290
|
+
/******/ if (r !== undefined) result = r;
|
|
291
|
+
/******/ }
|
|
292
|
+
/******/ }
|
|
293
|
+
/******/ return result;
|
|
294
|
+
/******/ };
|
|
295
|
+
/******/ })();
|
|
296
|
+
/******/
|
|
297
|
+
/******/ /* webpack/runtime/define property getters */
|
|
298
|
+
/******/ (() => {
|
|
299
|
+
/******/ // define getter functions for harmony exports
|
|
300
|
+
/******/ __nuri_require__.d = (exports, definition) => {
|
|
301
|
+
/******/ for(var key in definition) {
|
|
302
|
+
/******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
|
|
303
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
304
|
+
/******/ }
|
|
305
|
+
/******/ }
|
|
306
|
+
/******/ };
|
|
307
|
+
/******/ })();
|
|
308
|
+
/******/
|
|
309
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
310
|
+
/******/ (() => {
|
|
311
|
+
/******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
312
|
+
/******/ })();
|
|
313
|
+
/******/
|
|
314
|
+
/******/ /* webpack/runtime/export webpack runtime */
|
|
315
|
+
/******/ export { __nuri_require__ };
|
|
316
|
+
/******/
|
|
317
|
+
/******/ /* webpack/runtime/import chunk loading */
|
|
318
|
+
/******/ (() => {
|
|
319
|
+
/******/ // no baseURI
|
|
320
|
+
/******/
|
|
321
|
+
/******/ // object to store loaded and loading chunks
|
|
322
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
323
|
+
/******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
324
|
+
/******/ var installedChunks = {
|
|
325
|
+
/******/ 2112: 0
|
|
326
|
+
/******/ };
|
|
327
|
+
/******/
|
|
328
|
+
/******/ var installChunk = (data) => {
|
|
329
|
+
/******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
|
|
330
|
+
/******/ // add "modules" to the modules object,
|
|
331
|
+
/******/ // then flag all "ids" as loaded and fire callback
|
|
332
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
333
|
+
/******/ for(moduleId in __webpack_esm_modules__) {
|
|
334
|
+
/******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
|
|
335
|
+
/******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
|
|
336
|
+
/******/ }
|
|
337
|
+
/******/ }
|
|
338
|
+
/******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
|
|
339
|
+
/******/ for(;i < __webpack_esm_ids__.length; i++) {
|
|
340
|
+
/******/ chunkId = __webpack_esm_ids__[i];
|
|
341
|
+
/******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
342
|
+
/******/ installedChunks[chunkId][0]();
|
|
343
|
+
/******/ }
|
|
344
|
+
/******/ installedChunks[__webpack_esm_ids__[i]] = 0;
|
|
345
|
+
/******/ }
|
|
346
|
+
/******/ __nuri_require__.O();
|
|
347
|
+
/******/ }
|
|
348
|
+
/******/
|
|
349
|
+
/******/ // no chunk on demand loading
|
|
350
|
+
/******/
|
|
351
|
+
/******/ // no prefetching
|
|
352
|
+
/******/
|
|
353
|
+
/******/ // no preloaded
|
|
354
|
+
/******/
|
|
355
|
+
/******/ __nuri_require__.C = installChunk;
|
|
356
|
+
/******/
|
|
357
|
+
/******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
358
|
+
/******/ // no HMR
|
|
359
|
+
/******/
|
|
360
|
+
/******/ // no HMR manifest
|
|
361
|
+
/******/ })();
|
|
362
|
+
/******/
|
|
363
|
+
/************************************************************************/
|
|
364
|
+
/******/
|
|
365
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
|
|
366
|
+
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
367
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
|
|
368
|
+
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
369
|
+
/******/ import * as __webpack_chunk_3__ from "./chunk-1768.js";
|
|
370
|
+
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
371
|
+
/******/
|
|
372
|
+
/******/ // startup
|
|
373
|
+
/******/ // Load entry module and return exports
|
|
374
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
375
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,4560,1768], () => (__nuri_require__(7823)))
|
|
376
|
+
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
377
|
+
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
378
|
+
/******/ export { __webpack_exports__default as default };
|
|
379
|
+
/******/
|
|
@@ -183,6 +183,8 @@ export declare const semanticApp: {
|
|
|
183
183
|
readonly "aurora-lavender": "#A894C7";
|
|
184
184
|
readonly "aurora-pink": "#FDA4CC";
|
|
185
185
|
readonly "aurora-gold": "#FBBF24";
|
|
186
|
+
readonly "platform-tiktok": "#000000";
|
|
187
|
+
readonly "platform-youtube": "#FF0033";
|
|
186
188
|
};
|
|
187
189
|
readonly text: {
|
|
188
190
|
readonly primary: "#000000";
|
package/dist/tokens.css
CHANGED
|
@@ -335,6 +335,8 @@
|
|
|
335
335
|
--avatar-badge-size-m: var(--asset-accessory-m);
|
|
336
336
|
--avatar-badge-size-l: var(--asset-accessory-l);
|
|
337
337
|
--avatar-badge-size-xl: var(--asset-accessory-xl);
|
|
338
|
+
/* Avatar edit 딱지를 사진에서 떼는 바탕색 테두리 */
|
|
339
|
+
--avatar-edit-ring: 2px;
|
|
338
340
|
|
|
339
341
|
/* 폭 */
|
|
340
342
|
--drawer-width-s: 320px;
|
|
@@ -417,6 +419,10 @@
|
|
|
417
419
|
--media-remove-size: 20px;
|
|
418
420
|
--media-invalid-border: 2px;
|
|
419
421
|
|
|
422
|
+
/* 플랫폼 로고 원: platform-badge */
|
|
423
|
+
--platform-badge-size-s: 32px;
|
|
424
|
+
--platform-badge-size-m: 36px;
|
|
425
|
+
|
|
420
426
|
/* 메시지 입력: message-composer. 보내기 원과 입력 칸 최대 높이(16/22 다섯 줄 + 위아래 안쪽) */
|
|
421
427
|
--composer-send-size: 36px;
|
|
422
428
|
--composer-max-height: 132px;
|
|
@@ -666,6 +672,8 @@
|
|
|
666
672
|
--surface-aurora-lavender: var(--color-purple-400);
|
|
667
673
|
--surface-aurora-pink: var(--color-accent-pink-300);
|
|
668
674
|
--surface-aurora-gold: var(--color-accent-yellow-400);
|
|
675
|
+
--surface-platform-tiktok: var(--color-black);
|
|
676
|
+
--surface-platform-youtube: var(--color-youtube-red);
|
|
669
677
|
--text-primary: var(--color-black);
|
|
670
678
|
--text-body: var(--color-grey-scale-900);
|
|
671
679
|
--text-secondary: var(--color-grey-scale-600);
|
package/dist/tokens.js
CHANGED
|
@@ -418,7 +418,9 @@ var semanticApp = {
|
|
|
418
418
|
"aurora-blue": "#818CF8",
|
|
419
419
|
"aurora-lavender": "#A894C7",
|
|
420
420
|
"aurora-pink": "#FDA4CC",
|
|
421
|
-
"aurora-gold": "#FBBF24"
|
|
421
|
+
"aurora-gold": "#FBBF24",
|
|
422
|
+
"platform-tiktok": "#000000",
|
|
423
|
+
"platform-youtube": "#FF0033"
|
|
422
424
|
},
|
|
423
425
|
"text": {
|
|
424
426
|
"primary": "#000000",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nurihaus/web-design-system",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.19.0",
|
|
4
4
|
"description": "Nurihaus 디자인 시스템 — 컴포넌트와 디자인 토큰",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -278,6 +278,10 @@
|
|
|
278
278
|
"types": "./dist/components/stat/stat.d.ts",
|
|
279
279
|
"default": "./dist/stat.js"
|
|
280
280
|
},
|
|
281
|
+
"./platform-badge": {
|
|
282
|
+
"types": "./dist/components/platform-badge/platform-badge.d.ts",
|
|
283
|
+
"default": "./dist/platform-badge.js"
|
|
284
|
+
},
|
|
281
285
|
"./section-header": {
|
|
282
286
|
"types": "./dist/components/section-header/section-header.d.ts",
|
|
283
287
|
"default": "./dist/section-header.js"
|
|
@@ -286,6 +290,10 @@
|
|
|
286
290
|
"types": "./dist/components/member-card/member-card.d.ts",
|
|
287
291
|
"default": "./dist/member-card.js"
|
|
288
292
|
},
|
|
293
|
+
"./tier-ladder": {
|
|
294
|
+
"types": "./dist/components/member-card/tier-ladder.d.ts",
|
|
295
|
+
"default": "./dist/tier-ladder.js"
|
|
296
|
+
},
|
|
289
297
|
"./list-group": {
|
|
290
298
|
"types": "./dist/components/list/list-group.d.ts",
|
|
291
299
|
"default": "./dist/list-group.js"
|