@nurihaus/web-design-system 3.0.1 → 3.0.3

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.
Files changed (124) hide show
  1. package/README.md +104 -5
  2. package/dist/.storybook/story-kit.d.ts +18 -0
  3. package/dist/ai/components.md +742 -0
  4. package/dist/ai/tokens.md +319 -0
  5. package/dist/avatar.js +336 -0
  6. package/dist/check-box.js +379 -0
  7. package/dist/chunk-149.js +57 -0
  8. package/dist/chunk-298.js +34 -0
  9. package/dist/chunk-302.js +105 -0
  10. package/dist/chunk-309.js +36 -0
  11. package/dist/chunk-364.js +126 -0
  12. package/dist/chunk-387.js +37 -0
  13. package/dist/chunk-558.js +200 -0
  14. package/dist/chunk-563.js +181 -0
  15. package/dist/chunk-739.js +68 -0
  16. package/dist/chunk-777.js +117 -0
  17. package/dist/chunk-917.js +35 -0
  18. package/dist/chunk-933.js +70 -0
  19. package/dist/chunk-976.js +29 -0
  20. package/dist/collapsible-menu.js +394 -0
  21. package/dist/components/avatar/avatar-props.d.ts +2 -6
  22. package/dist/components/avatar/avatar-type.d.ts +4 -5
  23. package/dist/components/avatar/avatar.d.ts +1 -0
  24. package/dist/components/avatar/avatar.stories.d.ts +17 -1
  25. package/dist/components/badge/badge-props.d.ts +17 -80
  26. package/dist/components/badge/badge-type.d.ts +38 -2
  27. package/dist/components/badge/badge.stories.d.ts +25 -2
  28. package/dist/components/badge/base-badge.d.ts +2 -1
  29. package/dist/components/badge/icon-text-badge.d.ts +3 -21
  30. package/dist/components/badge/icon-text-option-badge.d.ts +2 -15
  31. package/dist/components/badge/option-badge.d.ts +3 -20
  32. package/dist/components/button/button-props.d.ts +2 -7
  33. package/dist/components/button/button-type.d.ts +11 -3
  34. package/dist/components/button/button.stories.d.ts +13 -10
  35. package/dist/components/button/cta-button.d.ts +3 -12
  36. package/dist/components/check-box/base-check-box.d.ts +9 -5
  37. package/dist/components/check-box/check-box-props.d.ts +2 -7
  38. package/dist/components/check-box/check-box-type.d.ts +11 -4
  39. package/dist/components/check-box/check-box.d.ts +3 -10
  40. package/dist/components/check-box/check-box.stories.d.ts +19 -4
  41. package/dist/components/collapsible-menu/base-collapsible-menu.d.ts +9 -5
  42. package/dist/components/collapsible-menu/collapsible-menu-props.d.ts +3 -12
  43. package/dist/components/collapsible-menu/collapsible-menu-type.d.ts +33 -9
  44. package/dist/components/collapsible-menu/collapsible-menu.d.ts +3 -23
  45. package/dist/components/collapsible-menu/collapsible-menu.stories.d.ts +20 -4
  46. package/dist/components/drop-down/base-drop-down.d.ts +11 -3
  47. package/dist/components/drop-down/drop-down-props.d.ts +3 -12
  48. package/dist/components/drop-down/drop-down-type.d.ts +34 -15
  49. package/dist/components/drop-down/drop-down.d.ts +3 -32
  50. package/dist/components/drop-down/drop-down.stories.d.ts +23 -4
  51. package/dist/components/elements/text/base-text.d.ts +3 -0
  52. package/dist/components/elements/text/text-props.d.ts +16 -0
  53. package/dist/components/elements/text/text-type.d.ts +6 -2
  54. package/dist/components/elements/text/text.d.ts +2 -1
  55. package/dist/components/elements/text/text.stories.d.ts +43 -3
  56. package/dist/components/loading/index.d.ts +6 -6
  57. package/dist/components/loading/inline-loading/base-inline-loading.d.ts +3 -0
  58. package/dist/components/loading/inline-loading/inline-loading-props.d.ts +9 -0
  59. package/dist/components/loading/inline-loading/inline-loading-type.d.ts +8 -6
  60. package/dist/components/loading/inline-loading/inline-loading.d.ts +3 -2
  61. package/dist/components/loading/inline-loading/inline-loading.stories.d.ts +5 -9
  62. package/dist/components/loading/overlay-loading/base-overlay-loading.d.ts +3 -0
  63. package/dist/components/loading/overlay-loading/overlay-loading-props.d.ts +7 -0
  64. package/dist/components/loading/overlay-loading/overlay-loading-type.d.ts +6 -3
  65. package/dist/components/loading/overlay-loading/overlay-loading.d.ts +3 -3
  66. package/dist/components/loading/overlay-loading/overlay-loading.stories.d.ts +8 -8
  67. package/dist/components/loading/spinner/base-spinner.d.ts +4 -0
  68. package/dist/components/loading/spinner/spinner-props.d.ts +1 -0
  69. package/dist/components/loading/spinner/spinner-type.d.ts +4 -4
  70. package/dist/components/loading/spinner/spinner.d.ts +2 -2
  71. package/dist/components/loading/spinner/spinner.stories.d.ts +5 -12
  72. package/dist/components/modal/base-modal.d.ts +17 -5
  73. package/dist/components/modal/modal-props.d.ts +2 -7
  74. package/dist/components/modal/modal-type.d.ts +20 -10
  75. package/dist/components/modal/modal-with-double-button.d.ts +4 -16
  76. package/dist/components/modal/modal.stories.d.ts +15 -2
  77. package/dist/components/radio/base-radio.d.ts +9 -5
  78. package/dist/components/radio/radio-props.d.ts +1 -0
  79. package/dist/components/radio/radio-type.d.ts +6 -8
  80. package/dist/components/radio/radio.d.ts +2 -2
  81. package/dist/components/radio/radio.stories.d.ts +13 -4
  82. package/dist/components/table/base-table.d.ts +4 -5
  83. package/dist/components/table/data-table.d.ts +5 -22
  84. package/dist/components/table/table-type.d.ts +22 -1
  85. package/dist/components/table/table.stories.d.ts +19 -3
  86. package/dist/components/tabs/base-tabs.d.ts +7 -7
  87. package/dist/components/tabs/tabs-props.d.ts +1 -1
  88. package/dist/components/tabs/tabs-type.d.ts +9 -13
  89. package/dist/components/tabs/tabs.d.ts +3 -3
  90. package/dist/components/tabs/tabs.stories.d.ts +16 -10
  91. package/dist/components/text-field/base-text-field.d.ts +5 -3
  92. package/dist/components/text-field/text-field-props.d.ts +3 -12
  93. package/dist/components/text-field/text-field-type.d.ts +14 -0
  94. package/dist/components/text-field/text-field.d.ts +3 -16
  95. package/dist/components/text-field/text-field.stories.d.ts +24 -0
  96. package/dist/components/tooltip/base-tooltip.d.ts +13 -3
  97. package/dist/components/tooltip/tooltip-props.d.ts +3 -2
  98. package/dist/components/tooltip/tooltip-type.d.ts +17 -5
  99. package/dist/components/tooltip/tooltip.d.ts +4 -7
  100. package/dist/components/tooltip/tooltip.stories.d.ts +21 -4
  101. package/dist/components.css +1984 -0
  102. package/dist/cta-button.js +236 -0
  103. package/dist/data-table.js +386 -0
  104. package/dist/drop-down.js +433 -0
  105. package/dist/helpers/props/common-props.d.ts +7 -0
  106. package/dist/helpers/types/common-props.d.ts +8 -0
  107. package/dist/icon-text-badge.js +294 -0
  108. package/dist/icon-text-option-badge.js +270 -0
  109. package/dist/index.d.ts +17 -1
  110. package/dist/index.js +3021 -10637
  111. package/dist/loading.js +383 -0
  112. package/dist/modal-with-double-button.js +527 -0
  113. package/dist/option-badge.js +293 -0
  114. package/dist/radio.js +363 -0
  115. package/dist/reset.css +45 -0
  116. package/dist/styles.css +465 -219
  117. package/dist/tabs.js +421 -0
  118. package/dist/text-field.js +369 -0
  119. package/dist/text.js +233 -0
  120. package/dist/tokens.css +73 -0
  121. package/dist/tokens.js +4 -6
  122. package/dist/tooltip.js +360 -0
  123. package/package.json +91 -14
  124. package/dist/components/text-field/text-filed.stories.d.ts +0 -8
@@ -0,0 +1,433 @@
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
+ /***/ 536
8
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
9
+
10
+
11
+ // EXPORTS
12
+ __nuri_require__.d(__webpack_exports__, {
13
+ A: () => (/* binding */ drop_down)
14
+ });
15
+
16
+ // EXTERNAL MODULE: external {"root":"jsx-runtime","commonjs2":"react/jsx-runtime","commonjs":"react/jsx-runtime","amd":"react/jsx-runtime","module":"react/jsx-runtime"}
17
+ var jsx_runtime_ = __nuri_require__(612);
18
+ // EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
19
+ var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(41);
20
+ ;// ./assets/icons/chevronDown.svg
21
+ var _path;
22
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
23
+
24
+ var SvgChevronDown = function SvgChevronDown(props) {
25
+ return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.createElement("svg", _extends({
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ width: 18,
28
+ height: 18,
29
+ fill: "none"
30
+ }, props), _path || (_path = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.createElement("path", {
31
+ fill: "currentColor",
32
+ fillRule: "evenodd",
33
+ d: "M9.398 12.398a.56.56 0 0 1-.796 0l-6-6a.563.563 0 0 1 .796-.796L9 11.204l5.602-5.602a.562.562 0 1 1 .796.796z",
34
+ clipRule: "evenodd"
35
+ })));
36
+ };
37
+ /* harmony default export */ const chevronDown = (SvgChevronDown);
38
+ // EXTERNAL MODULE: ./helpers/hooks/useExternalState.ts
39
+ var useExternalState = __nuri_require__(387);
40
+ // EXTERNAL MODULE: ./helpers/utils/classNames.js
41
+ var classNames = __nuri_require__(274);
42
+ // EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
43
+ var getMergedProps = __nuri_require__(335);
44
+ // EXTERNAL MODULE: external {"root":"RadixUI","commonjs2":"radix-ui","commonjs":"radix-ui","amd":"radix-ui","module":"radix-ui"}
45
+ var external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_ = __nuri_require__(0);
46
+ ;// ./components/drop-down/base-drop-down.tsx
47
+ var __assign = undefined && undefined.__assign || function () {
48
+ __assign = Object.assign || function (t) {
49
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
50
+ s = arguments[i];
51
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
52
+ }
53
+ return t;
54
+ };
55
+ return __assign.apply(this, arguments);
56
+ };
57
+ var __rest = undefined && undefined.__rest || function (s, e) {
58
+ var t = {};
59
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
60
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
61
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
62
+ }
63
+ return t;
64
+ };
65
+
66
+
67
+
68
+
69
+ // Select.Root 는 DOM 을 그리지 않아 ref 를 받을 곳이 없다.
70
+ var DropDownRootBase = function DropDownRootBase(props) {
71
+ var children = props.children,
72
+ restProps = __rest(props, ["children"]);
73
+ return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Select.Root, __assign({}, restProps, {
74
+ children: children
75
+ }));
76
+ };
77
+ DropDownRootBase.displayName = 'DropDownRoot';
78
+ var DropDownTrigger = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
79
+ var children = props.children,
80
+ className = props.className,
81
+ restProps = __rest(props, ["children", "className"]);
82
+ return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Select.Trigger, __assign({
83
+ ref: ref,
84
+ className: (0,classNames/* classNames */.x)('nuri-theme base-drop-down trigger', className)
85
+ }, restProps, {
86
+ children: children
87
+ }));
88
+ });
89
+ DropDownTrigger.displayName = 'DropDownTrigger';
90
+ // ref 는 바깥 span 이 아니라 Radix 가 값을 그리는 Select.Value 에 준다.
91
+ var DropDownValue = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
92
+ var className = props.className,
93
+ asChild = props.asChild,
94
+ placeholder = props.placeholder;
95
+ return (0,jsx_runtime_.jsx)("span", {
96
+ className: (0,classNames/* classNames */.x)('nuri-theme base-drop-down value', className),
97
+ children: (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Select.Value, {
98
+ ref: ref,
99
+ asChild: asChild,
100
+ placeholder: (0,jsx_runtime_.jsx)("span", {
101
+ className: 'nuri-placeholder',
102
+ children: placeholder
103
+ })
104
+ })
105
+ });
106
+ });
107
+ DropDownValue.displayName = 'DropDownValue';
108
+ var DropDownContent = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
109
+ var children = props.children,
110
+ className = props.className,
111
+ _a = props.position,
112
+ position = _a === void 0 ? 'popper' : _a,
113
+ restProps = __rest(props, ["children", "className", "position"]);
114
+ return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Select.Content, __assign({
115
+ ref: ref,
116
+ className: (0,classNames/* classNames */.x)('nuri-theme base-drop-down content', className),
117
+ position: position,
118
+ sideOffset: 4
119
+ }, restProps, {
120
+ children: (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Select.Viewport, {
121
+ children: children
122
+ })
123
+ }));
124
+ });
125
+ DropDownContent.displayName = 'DropDownContent';
126
+ var DropDownItem = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
127
+ var children = props.children,
128
+ className = props.className,
129
+ restProps = __rest(props, ["children", "className"]);
130
+ return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Select.Item, __assign({
131
+ ref: ref,
132
+ className: (0,classNames/* classNames */.x)('nuri-theme base-drop-down item', className)
133
+ }, restProps, {
134
+ children: (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Select.ItemText, {
135
+ children: children
136
+ })
137
+ }));
138
+ });
139
+ DropDownItem.displayName = 'DropDownItem';
140
+ var DropDownRoot = Object.assign(DropDownRootBase, {
141
+ Trigger: DropDownTrigger,
142
+ Value: DropDownValue,
143
+ Content: DropDownContent,
144
+ Item: DropDownItem
145
+ });
146
+ /* harmony default export */ const base_drop_down = (DropDownRoot);
147
+ // EXTERNAL MODULE: ./helpers/props/common-props.ts
148
+ var common_props = __nuri_require__(298);
149
+ ;// ./components/drop-down/drop-down-props.ts
150
+
151
+ var sizes = ['s', 'm'];
152
+ var dropDownSingleProps = {
153
+ size: (0,common_props/* sizeProp */.lw)(sizes, 's'),
154
+ width: (0,common_props/* widthProp */.Iw)('fit-content')
155
+ };
156
+ ;// ./components/drop-down/drop-down.tsx
157
+ var drop_down_assign = undefined && undefined.__assign || function () {
158
+ drop_down_assign = Object.assign || function (t) {
159
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
160
+ s = arguments[i];
161
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
162
+ }
163
+ return t;
164
+ };
165
+ return drop_down_assign.apply(this, arguments);
166
+ };
167
+ var drop_down_rest = undefined && undefined.__rest || function (s, e) {
168
+ var t = {};
169
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
170
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
171
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
172
+ }
173
+ return t;
174
+ };
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ var DropDown = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
184
+ var _a = (0,getMergedProps/* getMergedProps */.p)(props, dropDownSingleProps),
185
+ className = _a.className,
186
+ renderValue = _a.renderValue,
187
+ placeholder = _a.placeholder,
188
+ options = _a.options,
189
+ value = _a.value,
190
+ disabled = _a.disabled,
191
+ leftIcon = _a.leftIcon,
192
+ rightIcon = _a.rightIcon,
193
+ style = _a.style,
194
+ renderOption = _a.renderOption,
195
+ side = _a.side,
196
+ align = _a.align,
197
+ position = _a.position,
198
+ openProp = _a.open,
199
+ onOpenChangeProp = _a.onOpenChange,
200
+ defaultOpen = _a.defaultOpen,
201
+ restProps = drop_down_rest(_a, ["className", "renderValue", "placeholder", "options", "value", "disabled", "leftIcon", "rightIcon", "style", "renderOption", "side", "align", "position", "open", "onOpenChange", "defaultOpen"]);
202
+ var _b = (0,useExternalState/* useExternalState */.C)({
203
+ prop: openProp,
204
+ handler: onOpenChangeProp,
205
+ defaultProp: defaultOpen !== null && defaultOpen !== void 0 ? defaultOpen : false
206
+ }),
207
+ open = _b[0],
208
+ setOpen = _b[1];
209
+ var close = function close() {
210
+ return setOpen(false);
211
+ };
212
+ return (0,jsx_runtime_.jsxs)(base_drop_down, drop_down_assign({
213
+ value: value,
214
+ disabled: disabled,
215
+ open: open,
216
+ onOpenChange: setOpen
217
+ }, restProps, {
218
+ children: [(0,jsx_runtime_.jsxs)(base_drop_down.Trigger, {
219
+ className: (0,classNames/* classNames */.x)(className, 'drop-down-single-trigger'),
220
+ style: style,
221
+ children: [(0,jsx_runtime_.jsxs)("span", {
222
+ className: 'nuri-display-flex nuri-ai-center drop-down-single-label',
223
+ children: [leftIcon, (renderValue === null || renderValue === void 0 ? void 0 : renderValue(value)) || (0,jsx_runtime_.jsx)(base_drop_down.Value, {
224
+ ref: ref,
225
+ className: 'drop-down-single-value',
226
+ placeholder: placeholder
227
+ })]
228
+ }), rightIcon || (0,jsx_runtime_.jsx)(chevronDown, {
229
+ className: 'drop-down-single-icon rotate'
230
+ })]
231
+ }), (0,jsx_runtime_.jsx)(base_drop_down.Content, {
232
+ className: 'drop-down-single-content',
233
+ side: side,
234
+ align: align,
235
+ position: position,
236
+ style: style,
237
+ children: renderOption ? renderOption({
238
+ isOpen: open,
239
+ close: close
240
+ }) : options === null || options === void 0 ? void 0 : options.map(function (option) {
241
+ return (0,jsx_runtime_.jsx)(base_drop_down.Item, {
242
+ className: 'drop-down-single-item',
243
+ value: option.value,
244
+ disabled: option.disabled,
245
+ children: option.label
246
+ }, option.value);
247
+ })
248
+ })]
249
+ }));
250
+ });
251
+ DropDown.displayName = 'DropDown';
252
+ /* harmony default export */ const drop_down = (DropDown);
253
+
254
+ /***/ },
255
+
256
+ /***/ 0
257
+ (module, __unused_webpack_exports, __nuri_require__) {
258
+
259
+ var x = (y) => {
260
+ var x = {}; __nuri_require__.d(x, y); return x
261
+ }
262
+ var y = (x) => (() => (x))
263
+ module.exports = x({ ["Select"]: () => (__WEBPACK_EXTERNAL_MODULE_radix_ui_3bc96d1b__.Select) });
264
+
265
+ /***/ },
266
+
267
+ /***/ 41
268
+ (module, __unused_webpack_exports, __nuri_require__) {
269
+
270
+ var x = (y) => {
271
+ var x = {}; __nuri_require__.d(x, y); return x
272
+ }
273
+ var y = (x) => (() => (x))
274
+ module.exports = x({ ["createElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["useState"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useState) });
275
+
276
+ /***/ },
277
+
278
+ /***/ 612
279
+ (module, __unused_webpack_exports, __nuri_require__) {
280
+
281
+ var x = (y) => {
282
+ var x = {}; __nuri_require__.d(x, y); return x
283
+ }
284
+ var y = (x) => (() => (x))
285
+ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
286
+
287
+ /***/ }
288
+
289
+ /******/ });
290
+ /************************************************************************/
291
+ /******/ // The module cache
292
+ /******/ var __webpack_module_cache__ = {};
293
+ /******/
294
+ /******/ // The require function
295
+ /******/ function __nuri_require__(moduleId) {
296
+ /******/ // Check if module is in cache
297
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
298
+ /******/ if (cachedModule !== undefined) {
299
+ /******/ return cachedModule.exports;
300
+ /******/ }
301
+ /******/ // Create a new module (and put it into the cache)
302
+ /******/ var module = __webpack_module_cache__[moduleId] = {
303
+ /******/ // no module.id needed
304
+ /******/ // no module.loaded needed
305
+ /******/ exports: {}
306
+ /******/ };
307
+ /******/
308
+ /******/ // Execute the module function
309
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
310
+ /******/
311
+ /******/ // Return the exports of the module
312
+ /******/ return module.exports;
313
+ /******/ }
314
+ /******/
315
+ /******/ // expose the modules object (__webpack_modules__)
316
+ /******/ __nuri_require__.m = __webpack_modules__;
317
+ /******/
318
+ /************************************************************************/
319
+ /******/ /* webpack/runtime/chunk loaded */
320
+ /******/ (() => {
321
+ /******/ var deferred = [];
322
+ /******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
323
+ /******/ if(chunkIds) {
324
+ /******/ priority = priority || 0;
325
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
326
+ /******/ deferred[i] = [chunkIds, fn, priority];
327
+ /******/ return;
328
+ /******/ }
329
+ /******/ var notFulfilled = Infinity;
330
+ /******/ for (var i = 0; i < deferred.length; i++) {
331
+ /******/ var [chunkIds, fn, priority] = deferred[i];
332
+ /******/ var fulfilled = true;
333
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
334
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
335
+ /******/ chunkIds.splice(j--, 1);
336
+ /******/ } else {
337
+ /******/ fulfilled = false;
338
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
339
+ /******/ }
340
+ /******/ }
341
+ /******/ if(fulfilled) {
342
+ /******/ deferred.splice(i--, 1)
343
+ /******/ var r = fn();
344
+ /******/ if (r !== undefined) result = r;
345
+ /******/ }
346
+ /******/ }
347
+ /******/ return result;
348
+ /******/ };
349
+ /******/ })();
350
+ /******/
351
+ /******/ /* webpack/runtime/define property getters */
352
+ /******/ (() => {
353
+ /******/ // define getter functions for harmony exports
354
+ /******/ __nuri_require__.d = (exports, definition) => {
355
+ /******/ for(var key in definition) {
356
+ /******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
357
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
358
+ /******/ }
359
+ /******/ }
360
+ /******/ };
361
+ /******/ })();
362
+ /******/
363
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
364
+ /******/ (() => {
365
+ /******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
366
+ /******/ })();
367
+ /******/
368
+ /******/ /* webpack/runtime/export webpack runtime */
369
+ /******/ export { __nuri_require__ };
370
+ /******/
371
+ /******/ /* webpack/runtime/import chunk loading */
372
+ /******/ (() => {
373
+ /******/ // no baseURI
374
+ /******/
375
+ /******/ // object to store loaded and loading chunks
376
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
377
+ /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
378
+ /******/ var installedChunks = {
379
+ /******/ 621: 0
380
+ /******/ };
381
+ /******/
382
+ /******/ var installChunk = (data) => {
383
+ /******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
384
+ /******/ // add "modules" to the modules object,
385
+ /******/ // then flag all "ids" as loaded and fire callback
386
+ /******/ var moduleId, chunkId, i = 0;
387
+ /******/ for(moduleId in __webpack_esm_modules__) {
388
+ /******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
389
+ /******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
390
+ /******/ }
391
+ /******/ }
392
+ /******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
393
+ /******/ for(;i < __webpack_esm_ids__.length; i++) {
394
+ /******/ chunkId = __webpack_esm_ids__[i];
395
+ /******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
396
+ /******/ installedChunks[chunkId][0]();
397
+ /******/ }
398
+ /******/ installedChunks[__webpack_esm_ids__[i]] = 0;
399
+ /******/ }
400
+ /******/ __nuri_require__.O();
401
+ /******/ }
402
+ /******/
403
+ /******/ // no chunk on demand loading
404
+ /******/
405
+ /******/ // no prefetching
406
+ /******/
407
+ /******/ // no preloaded
408
+ /******/
409
+ /******/ __nuri_require__.C = installChunk;
410
+ /******/
411
+ /******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
412
+ /******/ // no HMR
413
+ /******/
414
+ /******/ // no HMR manifest
415
+ /******/ })();
416
+ /******/
417
+ /************************************************************************/
418
+ /******/
419
+ /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
420
+ /******/ __nuri_require__.C(__webpack_chunk_1__);
421
+ /******/ import * as __webpack_chunk_2__ from "./chunk-917.js";
422
+ /******/ __nuri_require__.C(__webpack_chunk_2__);
423
+ /******/ import * as __webpack_chunk_3__ from "./chunk-387.js";
424
+ /******/ __nuri_require__.C(__webpack_chunk_3__);
425
+ /******/
426
+ /******/ // startup
427
+ /******/ // Load entry module and return exports
428
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
429
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364,917,387], () => (__nuri_require__(536)))
430
+ /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
431
+ /******/ const __webpack_exports__default = __webpack_exports__.A;
432
+ /******/ export { __webpack_exports__default as default };
433
+ /******/
@@ -0,0 +1,7 @@
1
+ import { CSSPropsTypeWithoutValues, ClassNamePropsType } from '../types/propsDef';
2
+ /** 모든 컴포넌트가 함께 쓰는 크기 이름. px 은 styles/token/size.css 에 있다. */
3
+ export declare const size: readonly ["xs", "s", "m", "l", "xl"];
4
+ export type Size = (typeof size)[number];
5
+ /** 컴포넌트는 다섯 이름 중 지원하는 것만 고른다. `size-{값}` 클래스가 붙는다. */
6
+ export declare const sizeProp: <T extends readonly Size[]>(values: T, defaultValue: T[number]) => ClassNamePropsType<T>;
7
+ export declare const widthProp: (defaultValue?: number | string) => CSSPropsTypeWithoutValues<number | string>;
@@ -0,0 +1,8 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface AsChildProps {
3
+ asChild?: boolean;
4
+ }
5
+ export interface StyleProps {
6
+ className?: string;
7
+ style?: CSSProperties;
8
+ }