@nurihaus/web-design-system 3.15.0 → 3.16.1
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 +87 -7
- package/dist/ai/migration.md +6 -0
- package/dist/ai/motion.md +118 -86
- package/dist/ai/patterns.md +25 -28
- package/dist/ai/tokens.md +36 -0
- package/dist/bottom-cta.js +38 -88
- package/dist/bottom-sheet.js +5 -5
- package/dist/chunk-3084.js +69 -0
- package/dist/chunk-5670.js +9 -2
- package/dist/chunk-7232.js +6 -0
- package/dist/chunk-7687.js +2 -2
- package/dist/chunk-829.js +12 -4
- package/dist/chunk-8982.js +20 -0
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +5 -5
- package/dist/components/elements/text/text-props.d.ts +2 -2
- package/dist/components/elements/text/text.stories.d.ts +1 -1
- package/dist/components/empty-state/empty-state.stories.d.ts +12 -12
- package/dist/components/list/list-footer.stories.d.ts +8 -8
- package/dist/components/list/list-header.stories.d.ts +5 -5
- package/dist/components/list/list-row.stories.d.ts +9 -9
- package/dist/components/message/message.stories.d.ts +8 -8
- package/dist/components/notice/notice.stories.d.ts +6 -6
- package/dist/components/overlay/overlay.stories.d.ts +1 -1
- package/dist/components/result-screen/base-result-screen.d.ts +4 -0
- package/dist/components/result-screen/result-screen-props.d.ts +15 -0
- package/dist/components/result-screen/result-screen-type.d.ts +28 -0
- package/dist/components/result-screen/result-screen.d.ts +14 -0
- package/dist/components/result-screen/result-screen.stories.d.ts +57 -0
- package/dist/components/section-header/section-header.stories.d.ts +5 -5
- package/dist/components/skeleton/skeleton-group-type.d.ts +3 -0
- package/dist/components/skeleton/skeleton-group.stories.d.ts +1 -1
- package/dist/components/skeleton/skeleton-props.d.ts +7 -0
- package/dist/components/skeleton/skeleton-type.d.ts +3 -1
- package/dist/components/skeleton/skeleton.stories.d.ts +16 -7
- package/dist/components/toast/toast.stories.d.ts +5 -5
- package/dist/components/top/top.stories.d.ts +4 -4
- package/dist/components.css +303 -4
- package/dist/cta-button.js +5 -5
- package/dist/docs/patterns/mobile/result.stories.d.ts +1 -1
- package/dist/full-secure-keypad.js +5 -5
- package/dist/helpers/hooks/useReturnFocus.d.ts +8 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +396 -77
- package/dist/modal-with-double-button.js +7 -7
- package/dist/modal.js +3 -3
- package/dist/notice.js +5 -5
- package/dist/overlay.js +18 -18
- package/dist/result-screen.js +572 -0
- package/dist/skeleton-group.js +13 -6
- package/dist/skeleton.js +2 -2
- package/dist/styles.css +282 -4
- package/dist/toast.js +5 -5
- package/dist/tokens/generated/colors.d.ts +6 -0
- package/dist/tokens/generated/motion.d.ts +20 -0
- package/dist/tokens/generated/primitive.d.ts +15 -0
- package/dist/tokens.css +35 -0
- package/dist/tokens.js +41 -0
- package/package.json +5 -1
package/dist/bottom-cta.js
CHANGED
|
@@ -3,30 +3,21 @@ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
|
|
4
4
|
/******/ var __webpack_modules__ = ({
|
|
5
5
|
|
|
6
|
-
/***/
|
|
6
|
+
/***/ 3210
|
|
7
7
|
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
// EXTERNAL MODULE: ./helpers/motion/use-appear.ts
|
|
22
|
-
var use_appear = __nuri_require__(8491);
|
|
23
|
-
// EXTERNAL MODULE: ./helpers/motion/use-hide-on-scroll.ts
|
|
24
|
-
var use_hide_on_scroll = __nuri_require__(2046);
|
|
25
|
-
// EXTERNAL MODULE: ./helpers/utils/classNames.js
|
|
26
|
-
var classNames = __nuri_require__(3274);
|
|
27
|
-
// EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
|
|
28
|
-
var getMergedProps = __nuri_require__(7335);
|
|
29
|
-
;// ./components/bottom-cta/base-bottom-cta.tsx
|
|
9
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
11
|
+
/* harmony export */ });
|
|
12
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
|
|
13
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
|
|
14
|
+
/* harmony import */ var _helpers_hooks_useKeyboardInset__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(4205);
|
|
15
|
+
/* harmony import */ var _helpers_motion_use_appear__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(8491);
|
|
16
|
+
/* harmony import */ var _helpers_motion_use_hide_on_scroll__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(2046);
|
|
17
|
+
/* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(3274);
|
|
18
|
+
/* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_6__ = __nuri_require__(7335);
|
|
19
|
+
/* harmony import */ var _base_bottom_cta__WEBPACK_IMPORTED_MODULE_7__ = __nuri_require__(4561);
|
|
20
|
+
/* harmony import */ var _bottom_cta_props__WEBPACK_IMPORTED_MODULE_8__ = __nuri_require__(6796);
|
|
30
21
|
var __assign = undefined && undefined.__assign || function () {
|
|
31
22
|
__assign = Object.assign || function (t) {
|
|
32
23
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -48,49 +39,6 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
48
39
|
|
|
49
40
|
|
|
50
41
|
|
|
51
|
-
var BaseBottomCTA = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
52
|
-
var className = props.className,
|
|
53
|
-
restProps = __rest(props, ["className"]);
|
|
54
|
-
return (0,jsx_runtime_.jsx)("div", __assign({
|
|
55
|
-
ref: ref,
|
|
56
|
-
className: (0,classNames/* classNames */.x)('nuri-theme base-bottom-cta', className)
|
|
57
|
-
}, restProps));
|
|
58
|
-
});
|
|
59
|
-
BaseBottomCTA.displayName = 'BaseBottomCTA';
|
|
60
|
-
/* harmony default export */ const base_bottom_cta = (BaseBottomCTA);
|
|
61
|
-
;// ./components/bottom-cta/bottom-cta-props.ts
|
|
62
|
-
/** default 는 바탕색을 깔고 fixed 면 위에 바탕색으로 녹아드는 띠를 얹는다. none 은 바탕 없이 버튼만 */
|
|
63
|
-
var background = ['default', 'none'];
|
|
64
|
-
var bottomCTAProps = {
|
|
65
|
-
background: {
|
|
66
|
-
type: 'className',
|
|
67
|
-
className: 'background',
|
|
68
|
-
values: background,
|
|
69
|
-
"default": 'default'
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
;// ./components/bottom-cta/bottom-cta.tsx
|
|
73
|
-
var bottom_cta_assign = undefined && undefined.__assign || function () {
|
|
74
|
-
bottom_cta_assign = Object.assign || function (t) {
|
|
75
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
76
|
-
s = arguments[i];
|
|
77
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
78
|
-
}
|
|
79
|
-
return t;
|
|
80
|
-
};
|
|
81
|
-
return bottom_cta_assign.apply(this, arguments);
|
|
82
|
-
};
|
|
83
|
-
var bottom_cta_rest = undefined && undefined.__rest || function (s, e) {
|
|
84
|
-
var t = {};
|
|
85
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
86
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
87
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
88
|
-
}
|
|
89
|
-
return t;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
42
|
|
|
95
43
|
|
|
96
44
|
|
|
@@ -101,8 +49,8 @@ var bottom_cta_rest = undefined && undefined.__rest || function (s, e) {
|
|
|
101
49
|
* 화면 아래 주 버튼 바. 상태는 루트의 `data-fixed`·`data-hidden` 과 `--bottom-cta-keyboard` 하나로 두고
|
|
102
50
|
* 위치·숨김은 CSS 가 그린다.
|
|
103
51
|
*/
|
|
104
|
-
var BottomCTARootBase = /*#__PURE__*/(0,
|
|
105
|
-
var _a = (0,
|
|
52
|
+
var BottomCTARootBase = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
53
|
+
var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_6__/* .getMergedProps */ .p)(props, _bottom_cta_props__WEBPACK_IMPORTED_MODULE_8__/* .bottomCTAProps */ ._),
|
|
106
54
|
className = _a.className,
|
|
107
55
|
style = _a.style,
|
|
108
56
|
children = _a.children,
|
|
@@ -121,22 +69,22 @@ var BottomCTARootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_comm
|
|
|
121
69
|
hideOnScroll = _f === void 0 ? false : _f,
|
|
122
70
|
_g = _a.hideOnScrollThreshold,
|
|
123
71
|
hideOnScrollThreshold = _g === void 0 ? 1 : _g,
|
|
124
|
-
restProps =
|
|
125
|
-
var barRef = (0,
|
|
126
|
-
var _h = (0,
|
|
72
|
+
restProps = __rest(_a, ["className", "style", "children", "fixed", "takeSpace", "hasSafeAreaPadding", "topAccessory", "bottomAccessory", "fixedAboveKeyboard", "appear", "hideOnScroll", "hideOnScrollThreshold"]);
|
|
73
|
+
var barRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
|
|
74
|
+
var _h = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),
|
|
127
75
|
barHeight = _h[0],
|
|
128
76
|
setBarHeight = _h[1];
|
|
129
|
-
var appearMotion = (0,
|
|
130
|
-
var hidden = (0,
|
|
77
|
+
var appearMotion = (0,_helpers_motion_use_appear__WEBPACK_IMPORTED_MODULE_3__/* .useAppear */ .x)(appear);
|
|
78
|
+
var hidden = (0,_helpers_motion_use_hide_on_scroll__WEBPACK_IMPORTED_MODULE_4__/* .useHideOnScroll */ .U)({
|
|
131
79
|
enabled: fixed && hideOnScroll,
|
|
132
80
|
threshold: hideOnScrollThreshold
|
|
133
81
|
});
|
|
134
|
-
var keyboardInset = (0,
|
|
82
|
+
var keyboardInset = (0,_helpers_hooks_useKeyboardInset__WEBPACK_IMPORTED_MODULE_2__/* .useKeyboardInset */ .Q)(fixed && fixedAboveKeyboard);
|
|
135
83
|
var holdsSpace = fixed && takeSpace;
|
|
136
|
-
(0,
|
|
84
|
+
(0,react__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle)(ref, function () {
|
|
137
85
|
return barRef.current;
|
|
138
86
|
});
|
|
139
|
-
(0,
|
|
87
|
+
(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
|
|
140
88
|
var bar = barRef.current;
|
|
141
89
|
if (!holdsSpace || !bar) return undefined;
|
|
142
90
|
var observer = new ResizeObserver(function (_a) {
|
|
@@ -148,17 +96,17 @@ var BottomCTARootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_comm
|
|
|
148
96
|
return observer.disconnect();
|
|
149
97
|
};
|
|
150
98
|
}, [holdsSpace]);
|
|
151
|
-
var rootStyle =
|
|
99
|
+
var rootStyle = __assign(__assign(__assign({}, style), appearMotion.style), {
|
|
152
100
|
'--bottom-cta-keyboard': "".concat(keyboardInset, "px")
|
|
153
101
|
});
|
|
154
102
|
// 재기 전(SSR·첫 그림)에는 CSS 가 --bottom-cta-height-min 으로 자리를 잡는다
|
|
155
103
|
var spaceStyle = barHeight === undefined ? undefined : {
|
|
156
104
|
'--bottom-cta-height': "".concat(barHeight, "px")
|
|
157
105
|
};
|
|
158
|
-
return (0,
|
|
159
|
-
children: [(0,
|
|
106
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
|
|
107
|
+
children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_base_bottom_cta__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A, __assign({
|
|
160
108
|
ref: barRef,
|
|
161
|
-
className: (0,
|
|
109
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_5__/* .classNames */ .x)(className, 'bottom-cta', {
|
|
162
110
|
'safe-area': hasSafeAreaPadding
|
|
163
111
|
}, appearMotion.className),
|
|
164
112
|
style: rootStyle,
|
|
@@ -166,17 +114,17 @@ var BottomCTARootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_comm
|
|
|
166
114
|
"data-hidden": hidden || undefined,
|
|
167
115
|
onAnimationEnd: appearMotion.onAnimationEnd
|
|
168
116
|
}, restProps, {
|
|
169
|
-
children: [topAccessory && (0,
|
|
117
|
+
children: [topAccessory && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
170
118
|
className: 'bottom-cta-top-accessory',
|
|
171
119
|
children: topAccessory
|
|
172
|
-
}), (0,
|
|
120
|
+
}), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
173
121
|
className: 'bottom-cta-actions',
|
|
174
122
|
children: children
|
|
175
|
-
}), bottomAccessory && (0,
|
|
123
|
+
}), bottomAccessory && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
176
124
|
className: 'bottom-cta-bottom-accessory',
|
|
177
125
|
children: bottomAccessory
|
|
178
126
|
})]
|
|
179
|
-
})), holdsSpace && (0,
|
|
127
|
+
})), holdsSpace && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
180
128
|
className: 'bottom-cta-space',
|
|
181
129
|
"aria-hidden": 'true',
|
|
182
130
|
style: spaceStyle
|
|
@@ -185,11 +133,11 @@ var BottomCTARootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_comm
|
|
|
185
133
|
});
|
|
186
134
|
BottomCTARootBase.displayName = 'BottomCTA';
|
|
187
135
|
/** 버튼 둘이 폭을 반씩 나눠 갖는다 */
|
|
188
|
-
var BottomCTADouble = /*#__PURE__*/(0,
|
|
136
|
+
var BottomCTADouble = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
189
137
|
var left = props.left,
|
|
190
138
|
right = props.right,
|
|
191
|
-
restProps =
|
|
192
|
-
return (0,
|
|
139
|
+
restProps = __rest(props, ["left", "right"]);
|
|
140
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(BottomCTARootBase, __assign({
|
|
193
141
|
ref: ref
|
|
194
142
|
}, restProps, {
|
|
195
143
|
children: [left, right]
|
|
@@ -199,7 +147,7 @@ BottomCTADouble.displayName = 'BottomCTADouble';
|
|
|
199
147
|
var BottomCTA = Object.assign(BottomCTARootBase, {
|
|
200
148
|
Double: BottomCTADouble
|
|
201
149
|
});
|
|
202
|
-
/* harmony default export */ const
|
|
150
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BottomCTA);
|
|
203
151
|
|
|
204
152
|
/***/ },
|
|
205
153
|
|
|
@@ -367,11 +315,13 @@ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_ru
|
|
|
367
315
|
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
368
316
|
/******/ import * as __webpack_chunk_6__ from "./chunk-2046.js";
|
|
369
317
|
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
318
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-3084.js";
|
|
319
|
+
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
370
320
|
/******/
|
|
371
321
|
/******/ // startup
|
|
372
322
|
/******/ // Load entry module and return exports
|
|
373
323
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
374
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,7737,8491,4205,2046], () => (__nuri_require__(
|
|
324
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,7737,8491,4205,2046,3084], () => (__nuri_require__(3210)))
|
|
375
325
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
376
326
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
377
327
|
/******/ export { __webpack_exports__default as default };
|
package/dist/bottom-sheet.js
CHANGED
|
@@ -112,7 +112,7 @@ var BottomSheet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)
|
|
|
112
112
|
});
|
|
113
113
|
var reject = (0,_helpers_motion_use_effect_trigger__WEBPACK_IMPORTED_MODULE_8__/* .useEffectTrigger */ .H)();
|
|
114
114
|
var _m = (0,_helpers_hooks_useReturnFocus__WEBPACK_IMPORTED_MODULE_6__/* .useReturnFocus */ .G)(),
|
|
115
|
-
|
|
115
|
+
focusOnOpen = _m.focusOnOpen,
|
|
116
116
|
returnFocus = _m.returnFocus;
|
|
117
117
|
var keyboardInset = (0,_helpers_hooks_useKeyboardInset__WEBPACK_IMPORTED_MODULE_5__/* .useKeyboardInset */ .Q)(open && hasTextField);
|
|
118
118
|
var changeOpen = function changeOpen(next) {
|
|
@@ -228,7 +228,7 @@ var BottomSheet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)
|
|
|
228
228
|
presence.onAnimationEnd(event);
|
|
229
229
|
reject.onAnimationEnd(event);
|
|
230
230
|
},
|
|
231
|
-
onOpenAutoFocus:
|
|
231
|
+
onOpenAutoFocus: focusOnOpen,
|
|
232
232
|
onCloseAutoFocus: trigger ? undefined : returnFocus,
|
|
233
233
|
onPointerDownOutside: closeOnOverlayClick ? undefined : function (event) {
|
|
234
234
|
event.preventDefault();
|
|
@@ -593,9 +593,9 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
593
593
|
/******/ __nuri_require__.C(__webpack_chunk_8__);
|
|
594
594
|
/******/ import * as __webpack_chunk_9__ from "./chunk-829.js";
|
|
595
595
|
/******/ __nuri_require__.C(__webpack_chunk_9__);
|
|
596
|
-
/******/ import * as __webpack_chunk_10__ from "./chunk-
|
|
596
|
+
/******/ import * as __webpack_chunk_10__ from "./chunk-4205.js";
|
|
597
597
|
/******/ __nuri_require__.C(__webpack_chunk_10__);
|
|
598
|
-
/******/ import * as __webpack_chunk_11__ from "./chunk-
|
|
598
|
+
/******/ import * as __webpack_chunk_11__ from "./chunk-4109.js";
|
|
599
599
|
/******/ __nuri_require__.C(__webpack_chunk_11__);
|
|
600
600
|
/******/ import * as __webpack_chunk_12__ from "./chunk-6478.js";
|
|
601
601
|
/******/ __nuri_require__.C(__webpack_chunk_12__);
|
|
@@ -603,7 +603,7 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
603
603
|
/******/ // startup
|
|
604
604
|
/******/ // Load entry module and return exports
|
|
605
605
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
606
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,4560,1768,3640,9717,6706,3297,8982,829,4109,
|
|
606
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,4560,1768,3640,9717,6706,3297,8982,829,4205,4109,6478], () => (__nuri_require__(7963)))
|
|
607
607
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
608
608
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
609
609
|
/******/ export { __webpack_exports__default as default };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export const __webpack_esm_id__ = 3084;
|
|
3
|
+
export const __webpack_esm_ids__ = [3084];
|
|
4
|
+
export const __webpack_esm_modules__ = {
|
|
5
|
+
|
|
6
|
+
/***/ 4561
|
|
7
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
11
|
+
/* harmony export */ });
|
|
12
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
|
|
13
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
|
|
14
|
+
/* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(3274);
|
|
15
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
16
|
+
__assign = Object.assign || function (t) {
|
|
17
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
+
s = arguments[i];
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
return __assign.apply(this, arguments);
|
|
24
|
+
};
|
|
25
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
26
|
+
var t = {};
|
|
27
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
28
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
29
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
30
|
+
}
|
|
31
|
+
return t;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
var BaseBottomCTA = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
37
|
+
var className = props.className,
|
|
38
|
+
restProps = __rest(props, ["className"]);
|
|
39
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({
|
|
40
|
+
ref: ref,
|
|
41
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)('nuri-theme base-bottom-cta', className)
|
|
42
|
+
}, restProps));
|
|
43
|
+
});
|
|
44
|
+
BaseBottomCTA.displayName = 'BaseBottomCTA';
|
|
45
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseBottomCTA);
|
|
46
|
+
|
|
47
|
+
/***/ },
|
|
48
|
+
|
|
49
|
+
/***/ 6796
|
|
50
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
51
|
+
|
|
52
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
53
|
+
/* harmony export */ _: () => (/* binding */ bottomCTAProps)
|
|
54
|
+
/* harmony export */ });
|
|
55
|
+
/* unused harmony export background */
|
|
56
|
+
/** default 는 바탕색을 깔고 fixed 면 위에 바탕색으로 녹아드는 띠를 얹는다. none 은 바탕 없이 버튼만 */
|
|
57
|
+
var background = ['default', 'none'];
|
|
58
|
+
var bottomCTAProps = {
|
|
59
|
+
background: {
|
|
60
|
+
type: 'className',
|
|
61
|
+
className: 'background',
|
|
62
|
+
values: background,
|
|
63
|
+
"default": 'default'
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/***/ }
|
|
68
|
+
|
|
69
|
+
};
|
package/dist/chunk-5670.js
CHANGED
|
@@ -69,12 +69,13 @@ var BaseSkeletonRoot = Object.assign(BaseSkeleton, {
|
|
|
69
69
|
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
70
70
|
|
|
71
71
|
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
72
|
-
/* harmony export */
|
|
72
|
+
/* harmony export */ Q7: () => (/* binding */ skeletonProps)
|
|
73
73
|
/* harmony export */ });
|
|
74
|
-
/* unused harmony
|
|
74
|
+
/* unused harmony exports shapes, variants */
|
|
75
75
|
/* harmony import */ var _helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(7298);
|
|
76
76
|
|
|
77
77
|
var shapes = ['text', 'rect', 'circle'];
|
|
78
|
+
var variants = ['strong', 'subtle'];
|
|
78
79
|
var skeletonProps = {
|
|
79
80
|
shape: {
|
|
80
81
|
type: 'className',
|
|
@@ -82,6 +83,12 @@ var skeletonProps = {
|
|
|
82
83
|
values: shapes,
|
|
83
84
|
"default": 'text'
|
|
84
85
|
},
|
|
86
|
+
variant: {
|
|
87
|
+
type: 'className',
|
|
88
|
+
className: 'variant',
|
|
89
|
+
values: variants,
|
|
90
|
+
"default": 'strong'
|
|
91
|
+
},
|
|
85
92
|
width: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .widthProp */ .Iw)('100%'),
|
|
86
93
|
height: {
|
|
87
94
|
type: 'css',
|
package/dist/chunk-7232.js
CHANGED
|
@@ -113,6 +113,12 @@ var colors = {
|
|
|
113
113
|
"accent-orange-700": "#C2410C",
|
|
114
114
|
"accent-orange-800": "#9A3412",
|
|
115
115
|
"accent-orange-900": "#7C2D12",
|
|
116
|
+
"tiktok-cyan": "#25F4EE",
|
|
117
|
+
"tiktok-red": "#FE2C55",
|
|
118
|
+
"instagram-orange": "#F9A03F",
|
|
119
|
+
"instagram-pink": "#E1306C",
|
|
120
|
+
"instagram-purple": "#833AB4",
|
|
121
|
+
"youtube-red": "#FF0033",
|
|
116
122
|
"black": "#000000",
|
|
117
123
|
"white": "#FFFFFF"
|
|
118
124
|
};
|
package/dist/chunk-7687.js
CHANGED
|
@@ -53,8 +53,8 @@ var Skeleton = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(fu
|
|
|
53
53
|
shape: shape,
|
|
54
54
|
width: width,
|
|
55
55
|
// 원은 높이를 따로 주지 않으면 폭과 같다.
|
|
56
|
-
height: height !== null && height !== void 0 ? height : isCircle ? width !== null && width !== void 0 ? width : _skeleton_props__WEBPACK_IMPORTED_MODULE_5__/* .skeletonProps */ .
|
|
57
|
-
}), _skeleton_props__WEBPACK_IMPORTED_MODULE_5__/* .skeletonProps */ .
|
|
56
|
+
height: height !== null && height !== void 0 ? height : isCircle ? width !== null && width !== void 0 ? width : _skeleton_props__WEBPACK_IMPORTED_MODULE_5__/* .skeletonProps */ .Q7.width["default"] : undefined
|
|
57
|
+
}), _skeleton_props__WEBPACK_IMPORTED_MODULE_5__/* .skeletonProps */ .Q7),
|
|
58
58
|
className = _c.className,
|
|
59
59
|
restProps = __rest(_c, ["className"]);
|
|
60
60
|
var isMultiline = !isCircle && shape !== 'rect' && lines > 1;
|
package/dist/chunk-829.js
CHANGED
|
@@ -12,14 +12,22 @@ export const __webpack_esm_modules__ = {
|
|
|
12
12
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(1041);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Radix
|
|
16
|
-
*
|
|
15
|
+
* Radix Dialog 의 열 때·닫을 때 포커스. `focusOnOpen`(연 요소를 기억하고 창에 포커스)은 Content 의 onOpenAutoFocus, `returnFocus` 는 onCloseAutoFocus 에 단다.
|
|
16
|
+
*
|
|
17
|
+
* 열 때는 첫 버튼이 아니라 창(Content, tabindex=-1)에 포커스를 둔다. iOS WebKit 은 탭한 버튼에 포커스를 주지 않아
|
|
18
|
+
* 앞선 포커스가 없고, 그 상태의 스크립트 포커스를 키보드 포커스로 보아 첫 버튼에 링을 그린다. 창에 두면 링이 없고
|
|
19
|
+
* 스크린 리더는 창을 읽으며, Tab 이 창 안 첫 버튼으로 간다. 이때 연 요소를 기억한다.
|
|
20
|
+
*
|
|
21
|
+
* Radix 는 Dialog.Trigger 로 열었을 때만 포커스를 돌려준다. 부모가 연 경우 `returnFocus` 가 기억한 요소로 돌린다.
|
|
17
22
|
* 연 요소가 그사이 사라졌으면 Radix 기본 동작에 맡긴다.
|
|
18
23
|
*/
|
|
19
24
|
var useReturnFocus = function useReturnFocus() {
|
|
20
25
|
var opener = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
21
|
-
var
|
|
26
|
+
var focusOnOpen = function focusOnOpen(event) {
|
|
22
27
|
opener.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
28
|
+
if (!(event.currentTarget instanceof HTMLElement)) return;
|
|
29
|
+
event.preventDefault();
|
|
30
|
+
event.currentTarget.focus();
|
|
23
31
|
};
|
|
24
32
|
var returnFocus = function returnFocus(event) {
|
|
25
33
|
var _a;
|
|
@@ -28,7 +36,7 @@ var useReturnFocus = function useReturnFocus() {
|
|
|
28
36
|
opener.current.focus();
|
|
29
37
|
};
|
|
30
38
|
return {
|
|
31
|
-
|
|
39
|
+
focusOnOpen: focusOnOpen,
|
|
32
40
|
returnFocus: returnFocus
|
|
33
41
|
};
|
|
34
42
|
};
|
package/dist/chunk-8982.js
CHANGED
|
@@ -197,6 +197,26 @@ var motionTokens = {
|
|
|
197
197
|
"delay": 0.3,
|
|
198
198
|
"fade-duration": 0.16,
|
|
199
199
|
"fade-ease": [0.25, 0.1, 0.25, 1]
|
|
200
|
+
},
|
|
201
|
+
"result": {
|
|
202
|
+
"duration": 0.35,
|
|
203
|
+
"ease": [0.25, 0.1, 0.25, 1],
|
|
204
|
+
"strong": {
|
|
205
|
+
"type": "spring",
|
|
206
|
+
"stiffness": 300,
|
|
207
|
+
"damping": 15,
|
|
208
|
+
"mass": 1
|
|
209
|
+
},
|
|
210
|
+
"figure-delay": 0.1,
|
|
211
|
+
"glyph-delay": 0.45,
|
|
212
|
+
"title-delay": 0.7,
|
|
213
|
+
"description-delay": 0.8,
|
|
214
|
+
"action-delay": 0.9,
|
|
215
|
+
"blink": 3.2,
|
|
216
|
+
"offset": "14px",
|
|
217
|
+
"pop-scale": 0.4,
|
|
218
|
+
"latch-offset": "-6px",
|
|
219
|
+
"latch-angle": "-28deg"
|
|
200
220
|
}
|
|
201
221
|
};
|
|
202
222
|
|
|
@@ -12,9 +12,10 @@ declare const meta: {
|
|
|
12
12
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
13
13
|
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
14
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
15
|
-
|
|
15
|
+
slot?: string | undefined | undefined;
|
|
16
16
|
style?: import("react").CSSProperties | undefined;
|
|
17
|
-
|
|
17
|
+
title?: string | undefined | undefined;
|
|
18
|
+
key?: import("react").Key | null | undefined;
|
|
18
19
|
defaultChecked?: boolean | undefined | undefined;
|
|
19
20
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
20
21
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -22,6 +23,7 @@ declare const meta: {
|
|
|
22
23
|
accessKey?: string | undefined | undefined;
|
|
23
24
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
24
25
|
autoFocus?: boolean | undefined | undefined;
|
|
26
|
+
className?: string | undefined | undefined;
|
|
25
27
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
26
28
|
contextMenu?: string | undefined | undefined;
|
|
27
29
|
dir?: string | undefined | undefined;
|
|
@@ -31,10 +33,8 @@ declare const meta: {
|
|
|
31
33
|
id?: string | undefined | undefined;
|
|
32
34
|
lang?: string | undefined | undefined;
|
|
33
35
|
nonce?: string | undefined | undefined;
|
|
34
|
-
slot?: string | undefined | undefined;
|
|
35
36
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
36
37
|
tabIndex?: number | undefined | undefined;
|
|
37
|
-
title?: string | undefined | undefined;
|
|
38
38
|
translate?: "yes" | "no" | undefined | undefined;
|
|
39
39
|
radioGroup?: string | undefined | undefined;
|
|
40
40
|
role?: import("react").AriaRole | undefined;
|
|
@@ -117,6 +117,7 @@ declare const meta: {
|
|
|
117
117
|
"aria-valuemin"?: number | undefined | undefined;
|
|
118
118
|
"aria-valuenow"?: number | undefined | undefined;
|
|
119
119
|
"aria-valuetext"?: string | undefined | undefined;
|
|
120
|
+
children?: import("react").ReactNode;
|
|
120
121
|
dangerouslySetInnerHTML?: {
|
|
121
122
|
__html: string | TrustedHTML;
|
|
122
123
|
} | undefined | undefined;
|
|
@@ -278,7 +279,6 @@ declare const meta: {
|
|
|
278
279
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
279
280
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
280
281
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
281
|
-
key?: import("react").Key | null | undefined;
|
|
282
282
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
283
283
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
284
284
|
};
|
|
@@ -2,7 +2,7 @@ export declare const fontSize: readonly ["xsm", "sm", "base", "lg", "xl", "2xl",
|
|
|
2
2
|
export declare const weight: readonly ["regular", "medium", "semibold", "bold", "extrabold"];
|
|
3
3
|
export declare const fontSizeClass: (size: (typeof fontSize)[number]) => string;
|
|
4
4
|
export declare const semanticColor: readonly ["text-primary", "text-body", "text-secondary", "text-tertiary", "text-muted", "text-placeholder", "text-disabled", "text-inverse", "text-on-brand", "text-on-brand-subtle", "text-on-overlay", "text-on-disabled", "text-brand", "text-brand-active", "text-brand-emphasis", "text-brand-secondary", "text-danger", "text-error", "text-success", "text-warning"];
|
|
5
|
-
export declare const color: readonly ["text-primary", "text-body", "text-secondary", "text-tertiary", "text-muted", "text-placeholder", "text-disabled", "text-inverse", "text-on-brand", "text-on-brand-subtle", "text-on-overlay", "text-on-disabled", "text-brand", "text-brand-active", "text-brand-emphasis", "text-brand-secondary", "text-danger", "text-error", "text-success", "text-warning", ...("black" | "white" | "transparent" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "grey-scale-50" | "grey-scale-100" | "grey-scale-200" | "grey-scale-300" | "grey-scale-400" | "grey-scale-500" | "grey-scale-600" | "grey-scale-700" | "grey-scale-800" | "grey-scale-900" | "accent-red-50" | "accent-red-100" | "accent-red-200" | "accent-red-300" | "accent-red-400" | "accent-red-500" | "accent-red-600" | "accent-red-700" | "accent-red-800" | "accent-red-900" | "accent-pink-50" | "accent-pink-100" | "accent-pink-200" | "accent-pink-300" | "accent-pink-400" | "accent-pink-500" | "accent-pink-600" | "accent-pink-700" | "accent-pink-800" | "accent-pink-900" | "accent-magenta-50" | "accent-magenta-100" | "accent-magenta-200" | "accent-magenta-300" | "accent-magenta-400" | "accent-magenta-500" | "accent-magenta-600" | "accent-magenta-700" | "accent-magenta-800" | "accent-magenta-900" | "accent-blue-50" | "accent-blue-100" | "accent-blue-200" | "accent-blue-300" | "accent-blue-400" | "accent-blue-500" | "accent-blue-600" | "accent-blue-700" | "accent-blue-800" | "accent-blue-900" | "accent-mint-50" | "accent-mint-100" | "accent-mint-200" | "accent-mint-300" | "accent-mint-400" | "accent-mint-500" | "accent-mint-600" | "accent-mint-700" | "accent-mint-800" | "accent-mint-900" | "accent-green-50" | "accent-green-100" | "accent-green-200" | "accent-green-300" | "accent-green-400" | "accent-green-500" | "accent-green-600" | "accent-green-700" | "accent-green-800" | "accent-green-900" | "accent-yellow-50" | "accent-yellow-100" | "accent-yellow-200" | "accent-yellow-300" | "accent-yellow-400" | "accent-yellow-500" | "accent-yellow-600" | "accent-yellow-700" | "accent-yellow-800" | "accent-yellow-900" | "accent-orange-50" | "accent-orange-100" | "accent-orange-200" | "accent-orange-300" | "accent-orange-400" | "accent-orange-500" | "accent-orange-600" | "accent-orange-700" | "accent-orange-800" | "accent-orange-900")[]];
|
|
5
|
+
export declare const color: readonly ["text-primary", "text-body", "text-secondary", "text-tertiary", "text-muted", "text-placeholder", "text-disabled", "text-inverse", "text-on-brand", "text-on-brand-subtle", "text-on-overlay", "text-on-disabled", "text-brand", "text-brand-active", "text-brand-emphasis", "text-brand-secondary", "text-danger", "text-error", "text-success", "text-warning", ...("black" | "white" | "transparent" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "grey-scale-50" | "grey-scale-100" | "grey-scale-200" | "grey-scale-300" | "grey-scale-400" | "grey-scale-500" | "grey-scale-600" | "grey-scale-700" | "grey-scale-800" | "grey-scale-900" | "accent-red-50" | "accent-red-100" | "accent-red-200" | "accent-red-300" | "accent-red-400" | "accent-red-500" | "accent-red-600" | "accent-red-700" | "accent-red-800" | "accent-red-900" | "accent-pink-50" | "accent-pink-100" | "accent-pink-200" | "accent-pink-300" | "accent-pink-400" | "accent-pink-500" | "accent-pink-600" | "accent-pink-700" | "accent-pink-800" | "accent-pink-900" | "accent-magenta-50" | "accent-magenta-100" | "accent-magenta-200" | "accent-magenta-300" | "accent-magenta-400" | "accent-magenta-500" | "accent-magenta-600" | "accent-magenta-700" | "accent-magenta-800" | "accent-magenta-900" | "accent-blue-50" | "accent-blue-100" | "accent-blue-200" | "accent-blue-300" | "accent-blue-400" | "accent-blue-500" | "accent-blue-600" | "accent-blue-700" | "accent-blue-800" | "accent-blue-900" | "accent-mint-50" | "accent-mint-100" | "accent-mint-200" | "accent-mint-300" | "accent-mint-400" | "accent-mint-500" | "accent-mint-600" | "accent-mint-700" | "accent-mint-800" | "accent-mint-900" | "accent-green-50" | "accent-green-100" | "accent-green-200" | "accent-green-300" | "accent-green-400" | "accent-green-500" | "accent-green-600" | "accent-green-700" | "accent-green-800" | "accent-green-900" | "accent-yellow-50" | "accent-yellow-100" | "accent-yellow-200" | "accent-yellow-300" | "accent-yellow-400" | "accent-yellow-500" | "accent-yellow-600" | "accent-yellow-700" | "accent-yellow-800" | "accent-yellow-900" | "accent-orange-50" | "accent-orange-100" | "accent-orange-200" | "accent-orange-300" | "accent-orange-400" | "accent-orange-500" | "accent-orange-600" | "accent-orange-700" | "accent-orange-800" | "accent-orange-900" | "tiktok-cyan" | "tiktok-red" | "instagram-orange" | "instagram-pink" | "instagram-purple" | "youtube-red")[]];
|
|
6
6
|
export declare const textAlign: readonly ["left", "center"];
|
|
7
7
|
export declare const textDecoration: readonly ["underline", "none", "line-through", "overline", "blink"];
|
|
8
8
|
export declare const wordBreak: readonly ["normal", "break-all", "break-word", "keep-all"];
|
|
@@ -12,6 +12,6 @@ export declare const textProps: {
|
|
|
12
12
|
color: {
|
|
13
13
|
type: "className";
|
|
14
14
|
className: string;
|
|
15
|
-
values: readonly ["text-primary", "text-body", "text-secondary", "text-tertiary", "text-muted", "text-placeholder", "text-disabled", "text-inverse", "text-on-brand", "text-on-brand-subtle", "text-on-overlay", "text-on-disabled", "text-brand", "text-brand-active", "text-brand-emphasis", "text-brand-secondary", "text-danger", "text-error", "text-success", "text-warning", ...("black" | "white" | "transparent" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "grey-scale-50" | "grey-scale-100" | "grey-scale-200" | "grey-scale-300" | "grey-scale-400" | "grey-scale-500" | "grey-scale-600" | "grey-scale-700" | "grey-scale-800" | "grey-scale-900" | "accent-red-50" | "accent-red-100" | "accent-red-200" | "accent-red-300" | "accent-red-400" | "accent-red-500" | "accent-red-600" | "accent-red-700" | "accent-red-800" | "accent-red-900" | "accent-pink-50" | "accent-pink-100" | "accent-pink-200" | "accent-pink-300" | "accent-pink-400" | "accent-pink-500" | "accent-pink-600" | "accent-pink-700" | "accent-pink-800" | "accent-pink-900" | "accent-magenta-50" | "accent-magenta-100" | "accent-magenta-200" | "accent-magenta-300" | "accent-magenta-400" | "accent-magenta-500" | "accent-magenta-600" | "accent-magenta-700" | "accent-magenta-800" | "accent-magenta-900" | "accent-blue-50" | "accent-blue-100" | "accent-blue-200" | "accent-blue-300" | "accent-blue-400" | "accent-blue-500" | "accent-blue-600" | "accent-blue-700" | "accent-blue-800" | "accent-blue-900" | "accent-mint-50" | "accent-mint-100" | "accent-mint-200" | "accent-mint-300" | "accent-mint-400" | "accent-mint-500" | "accent-mint-600" | "accent-mint-700" | "accent-mint-800" | "accent-mint-900" | "accent-green-50" | "accent-green-100" | "accent-green-200" | "accent-green-300" | "accent-green-400" | "accent-green-500" | "accent-green-600" | "accent-green-700" | "accent-green-800" | "accent-green-900" | "accent-yellow-50" | "accent-yellow-100" | "accent-yellow-200" | "accent-yellow-300" | "accent-yellow-400" | "accent-yellow-500" | "accent-yellow-600" | "accent-yellow-700" | "accent-yellow-800" | "accent-yellow-900" | "accent-orange-50" | "accent-orange-100" | "accent-orange-200" | "accent-orange-300" | "accent-orange-400" | "accent-orange-500" | "accent-orange-600" | "accent-orange-700" | "accent-orange-800" | "accent-orange-900")[]];
|
|
15
|
+
values: readonly ["text-primary", "text-body", "text-secondary", "text-tertiary", "text-muted", "text-placeholder", "text-disabled", "text-inverse", "text-on-brand", "text-on-brand-subtle", "text-on-overlay", "text-on-disabled", "text-brand", "text-brand-active", "text-brand-emphasis", "text-brand-secondary", "text-danger", "text-error", "text-success", "text-warning", ...("black" | "white" | "transparent" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "grey-scale-50" | "grey-scale-100" | "grey-scale-200" | "grey-scale-300" | "grey-scale-400" | "grey-scale-500" | "grey-scale-600" | "grey-scale-700" | "grey-scale-800" | "grey-scale-900" | "accent-red-50" | "accent-red-100" | "accent-red-200" | "accent-red-300" | "accent-red-400" | "accent-red-500" | "accent-red-600" | "accent-red-700" | "accent-red-800" | "accent-red-900" | "accent-pink-50" | "accent-pink-100" | "accent-pink-200" | "accent-pink-300" | "accent-pink-400" | "accent-pink-500" | "accent-pink-600" | "accent-pink-700" | "accent-pink-800" | "accent-pink-900" | "accent-magenta-50" | "accent-magenta-100" | "accent-magenta-200" | "accent-magenta-300" | "accent-magenta-400" | "accent-magenta-500" | "accent-magenta-600" | "accent-magenta-700" | "accent-magenta-800" | "accent-magenta-900" | "accent-blue-50" | "accent-blue-100" | "accent-blue-200" | "accent-blue-300" | "accent-blue-400" | "accent-blue-500" | "accent-blue-600" | "accent-blue-700" | "accent-blue-800" | "accent-blue-900" | "accent-mint-50" | "accent-mint-100" | "accent-mint-200" | "accent-mint-300" | "accent-mint-400" | "accent-mint-500" | "accent-mint-600" | "accent-mint-700" | "accent-mint-800" | "accent-mint-900" | "accent-green-50" | "accent-green-100" | "accent-green-200" | "accent-green-300" | "accent-green-400" | "accent-green-500" | "accent-green-600" | "accent-green-700" | "accent-green-800" | "accent-green-900" | "accent-yellow-50" | "accent-yellow-100" | "accent-yellow-200" | "accent-yellow-300" | "accent-yellow-400" | "accent-yellow-500" | "accent-yellow-600" | "accent-yellow-700" | "accent-yellow-800" | "accent-yellow-900" | "accent-orange-50" | "accent-orange-100" | "accent-orange-200" | "accent-orange-300" | "accent-orange-400" | "accent-orange-500" | "accent-orange-600" | "accent-orange-700" | "accent-orange-800" | "accent-orange-900" | "tiktok-cyan" | "tiktok-red" | "instagram-orange" | "instagram-pink" | "instagram-purple" | "youtube-red")[]];
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -38,7 +38,7 @@ declare const meta: {
|
|
|
38
38
|
control: {
|
|
39
39
|
type: "select";
|
|
40
40
|
};
|
|
41
|
-
options: readonly ["text-primary", "text-body", "text-secondary", "text-tertiary", "text-muted", "text-placeholder", "text-disabled", "text-inverse", "text-on-brand", "text-on-brand-subtle", "text-on-overlay", "text-on-disabled", "text-brand", "text-brand-active", "text-brand-emphasis", "text-brand-secondary", "text-danger", "text-error", "text-success", "text-warning", ...("black" | "white" | "transparent" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "grey-scale-50" | "grey-scale-100" | "grey-scale-200" | "grey-scale-300" | "grey-scale-400" | "grey-scale-500" | "grey-scale-600" | "grey-scale-700" | "grey-scale-800" | "grey-scale-900" | "accent-red-50" | "accent-red-100" | "accent-red-200" | "accent-red-300" | "accent-red-400" | "accent-red-500" | "accent-red-600" | "accent-red-700" | "accent-red-800" | "accent-red-900" | "accent-pink-50" | "accent-pink-100" | "accent-pink-200" | "accent-pink-300" | "accent-pink-400" | "accent-pink-500" | "accent-pink-600" | "accent-pink-700" | "accent-pink-800" | "accent-pink-900" | "accent-magenta-50" | "accent-magenta-100" | "accent-magenta-200" | "accent-magenta-300" | "accent-magenta-400" | "accent-magenta-500" | "accent-magenta-600" | "accent-magenta-700" | "accent-magenta-800" | "accent-magenta-900" | "accent-blue-50" | "accent-blue-100" | "accent-blue-200" | "accent-blue-300" | "accent-blue-400" | "accent-blue-500" | "accent-blue-600" | "accent-blue-700" | "accent-blue-800" | "accent-blue-900" | "accent-mint-50" | "accent-mint-100" | "accent-mint-200" | "accent-mint-300" | "accent-mint-400" | "accent-mint-500" | "accent-mint-600" | "accent-mint-700" | "accent-mint-800" | "accent-mint-900" | "accent-green-50" | "accent-green-100" | "accent-green-200" | "accent-green-300" | "accent-green-400" | "accent-green-500" | "accent-green-600" | "accent-green-700" | "accent-green-800" | "accent-green-900" | "accent-yellow-50" | "accent-yellow-100" | "accent-yellow-200" | "accent-yellow-300" | "accent-yellow-400" | "accent-yellow-500" | "accent-yellow-600" | "accent-yellow-700" | "accent-yellow-800" | "accent-yellow-900" | "accent-orange-50" | "accent-orange-100" | "accent-orange-200" | "accent-orange-300" | "accent-orange-400" | "accent-orange-500" | "accent-orange-600" | "accent-orange-700" | "accent-orange-800" | "accent-orange-900")[]];
|
|
41
|
+
options: readonly ["text-primary", "text-body", "text-secondary", "text-tertiary", "text-muted", "text-placeholder", "text-disabled", "text-inverse", "text-on-brand", "text-on-brand-subtle", "text-on-overlay", "text-on-disabled", "text-brand", "text-brand-active", "text-brand-emphasis", "text-brand-secondary", "text-danger", "text-error", "text-success", "text-warning", ...("black" | "white" | "transparent" | "purple-50" | "purple-100" | "purple-200" | "purple-300" | "purple-400" | "purple-500" | "purple-600" | "purple-700" | "purple-800" | "purple-900" | "grey-scale-50" | "grey-scale-100" | "grey-scale-200" | "grey-scale-300" | "grey-scale-400" | "grey-scale-500" | "grey-scale-600" | "grey-scale-700" | "grey-scale-800" | "grey-scale-900" | "accent-red-50" | "accent-red-100" | "accent-red-200" | "accent-red-300" | "accent-red-400" | "accent-red-500" | "accent-red-600" | "accent-red-700" | "accent-red-800" | "accent-red-900" | "accent-pink-50" | "accent-pink-100" | "accent-pink-200" | "accent-pink-300" | "accent-pink-400" | "accent-pink-500" | "accent-pink-600" | "accent-pink-700" | "accent-pink-800" | "accent-pink-900" | "accent-magenta-50" | "accent-magenta-100" | "accent-magenta-200" | "accent-magenta-300" | "accent-magenta-400" | "accent-magenta-500" | "accent-magenta-600" | "accent-magenta-700" | "accent-magenta-800" | "accent-magenta-900" | "accent-blue-50" | "accent-blue-100" | "accent-blue-200" | "accent-blue-300" | "accent-blue-400" | "accent-blue-500" | "accent-blue-600" | "accent-blue-700" | "accent-blue-800" | "accent-blue-900" | "accent-mint-50" | "accent-mint-100" | "accent-mint-200" | "accent-mint-300" | "accent-mint-400" | "accent-mint-500" | "accent-mint-600" | "accent-mint-700" | "accent-mint-800" | "accent-mint-900" | "accent-green-50" | "accent-green-100" | "accent-green-200" | "accent-green-300" | "accent-green-400" | "accent-green-500" | "accent-green-600" | "accent-green-700" | "accent-green-800" | "accent-green-900" | "accent-yellow-50" | "accent-yellow-100" | "accent-yellow-200" | "accent-yellow-300" | "accent-yellow-400" | "accent-yellow-500" | "accent-yellow-600" | "accent-yellow-700" | "accent-yellow-800" | "accent-yellow-900" | "accent-orange-50" | "accent-orange-100" | "accent-orange-200" | "accent-orange-300" | "accent-orange-400" | "accent-orange-500" | "accent-orange-600" | "accent-orange-700" | "accent-orange-800" | "accent-orange-900" | "tiktok-cyan" | "tiktok-red" | "instagram-orange" | "instagram-pink" | "instagram-purple" | "youtube-red")[]];
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
args: {
|