@nurihaus/web-design-system 3.3.0 → 3.5.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.
Files changed (93) hide show
  1. package/README.md +36 -0
  2. package/dist/ai/components.md +148 -5
  3. package/dist/avatar.js +5 -5
  4. package/dist/bottom-nav.js +22 -8
  5. package/dist/breadcrumb.js +25 -10
  6. package/dist/callout.js +220 -0
  7. package/dist/check-box.js +24 -8
  8. package/dist/chip-group.js +21 -7
  9. package/dist/{chunk-563.js → chunk-1563.js} +26 -13
  10. package/dist/{chunk-657.js → chunk-1657.js} +2 -2
  11. package/dist/chunk-2496.js +70 -0
  12. package/dist/{chunk-777.js → chunk-2777.js} +2 -2
  13. package/dist/{chunk-558.js → chunk-4558.js} +2 -2
  14. package/dist/chunk-4560.js +77 -0
  15. package/dist/{chunk-917.js → chunk-4917.js} +2 -2
  16. package/dist/{chunk-77.js → chunk-5077.js} +2 -2
  17. package/dist/chunk-5226.js +79 -0
  18. package/dist/{chunk-149.js → chunk-6149.js} +2 -2
  19. package/dist/{chunk-302.js → chunk-6302.js} +2 -2
  20. package/dist/{chunk-364.js → chunk-6364.js} +2 -2
  21. package/dist/{chunk-713.js → chunk-6713.js} +2 -2
  22. package/dist/{chunk-298.js → chunk-7298.js} +2 -2
  23. package/dist/{chunk-653.js → chunk-7653.js} +2 -2
  24. package/dist/{chunk-739.js → chunk-7739.js} +2 -2
  25. package/dist/{chunk-309.js → chunk-8690.js} +2 -2
  26. package/dist/{chunk-933.js → chunk-8933.js} +2 -2
  27. package/dist/chunk-910.js +30 -11
  28. package/dist/{chunk-387.js → chunk-9387.js} +2 -2
  29. package/dist/{chunk-436.js → chunk-9436.js} +2 -2
  30. package/dist/collapsible-menu.js +25 -12
  31. package/dist/components/bottom-nav/bottom-nav-type.d.ts +5 -2
  32. package/dist/components/breadcrumb/breadcrumb-type.d.ts +2 -1
  33. package/dist/components/button/button-props.d.ts +2 -2
  34. package/dist/components/button/button-type.d.ts +4 -1
  35. package/dist/components/button/button.stories.d.ts +1 -1
  36. package/dist/components/callout/base-callout.d.ts +4 -0
  37. package/dist/components/callout/callout-props.d.ts +10 -0
  38. package/dist/components/callout/callout-type.d.ts +7 -0
  39. package/dist/components/callout/callout.d.ts +5 -0
  40. package/dist/components/callout/callout.stories.d.ts +22 -0
  41. package/dist/components/check-box/check-box-type.d.ts +2 -1
  42. package/dist/components/chip-group/chip-group-type.d.ts +2 -1
  43. package/dist/components/collapsible-menu/collapsible-menu-type.d.ts +2 -1
  44. package/dist/components/drawer/drawer-type.d.ts +2 -1
  45. package/dist/components/drop-down/drop-down-type.d.ts +2 -1
  46. package/dist/components/logging/log-context.d.ts +9 -0
  47. package/dist/components/logging/logging-type.d.ts +25 -0
  48. package/dist/components/logging/logging.d.ts +5 -0
  49. package/dist/components/logging/logging.stories.d.ts +18 -0
  50. package/dist/components/modal/modal-type.d.ts +2 -1
  51. package/dist/components/pagination/pagination-type.d.ts +2 -1
  52. package/dist/components/radio/radio-type.d.ts +3 -1
  53. package/dist/components/radio/radio.d.ts +2 -1
  54. package/dist/components/radio/radio.stories.d.ts +1 -1
  55. package/dist/components/skeleton/skeleton.stories.d.ts +5 -5
  56. package/dist/components/switch/switch-type.d.ts +2 -1
  57. package/dist/components/table/table-type.d.ts +2 -1
  58. package/dist/components/tabs/tabs-type.d.ts +2 -1
  59. package/dist/components/text-area/text-area-type.d.ts +2 -1
  60. package/dist/components/text-field/text-field-type.d.ts +2 -1
  61. package/dist/components/toast/toast-type.d.ts +2 -1
  62. package/dist/components/toast/toast.stories.d.ts +7 -5
  63. package/dist/components/tooltip/tooltip-type.d.ts +2 -1
  64. package/dist/components.css +79 -0
  65. package/dist/cta-button.js +44 -21
  66. package/dist/data-table.js +19 -7
  67. package/dist/drawer.js +23 -9
  68. package/dist/drop-down.js +25 -9
  69. package/dist/helpers/hooks/useTrack.d.ts +3 -0
  70. package/dist/icon-text-badge.js +11 -9
  71. package/dist/icon-text-option-badge.js +5 -5
  72. package/dist/icon.js +5 -5
  73. package/dist/index.d.ts +4 -0
  74. package/dist/index.js +557 -80
  75. package/dist/loading.js +6 -6
  76. package/dist/logging.js +147 -0
  77. package/dist/modal-with-double-button.js +16 -12
  78. package/dist/modal.js +39 -26
  79. package/dist/option-badge.js +11 -9
  80. package/dist/pagination.js +23 -9
  81. package/dist/radio.js +24 -10
  82. package/dist/skeleton.js +4 -4
  83. package/dist/step-progress.js +3 -3
  84. package/dist/styles.css +66 -0
  85. package/dist/switch.js +24 -8
  86. package/dist/tabs.js +22 -6
  87. package/dist/text-area.js +30 -8
  88. package/dist/text-field.js +31 -9
  89. package/dist/text.js +5 -5
  90. package/dist/toast.js +34 -15
  91. package/dist/tooltip.js +33 -18
  92. package/package.json +9 -1
  93. package/dist/chunk-976.js +0 -29
@@ -16,6 +16,8 @@ __nuri_require__.d(__webpack_exports__, {
16
16
  var jsx_runtime_ = __nuri_require__(612);
17
17
  // EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
18
18
  var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(1041);
19
+ // EXTERNAL MODULE: ./helpers/hooks/useTrack.ts
20
+ var useTrack = __nuri_require__(4560);
19
21
  // EXTERNAL MODULE: ./helpers/utils/classNames.js
20
22
  var classNames = __nuri_require__(3274);
21
23
  // EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
@@ -133,12 +135,19 @@ var dataTableCellProps = table_props_assign(table_props_assign({}, dataTableComm
133
135
 
134
136
 
135
137
 
138
+
136
139
  var DataTableBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
137
140
  var rows = props.rows,
138
141
  columns = props.columns,
139
142
  _a = props.fixedRowsIndex,
140
143
  fixedRowsIndex = _a === void 0 ? 0 : _a,
141
- className = props.className;
144
+ className = props.className,
145
+ track = props.track,
146
+ trackProps = props.trackProps;
147
+ var emit = (0,useTrack/* useTrack */.n)('DataTable', {
148
+ track: track,
149
+ trackProps: trackProps
150
+ });
142
151
  var headerStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableHeaderProps).style;
143
152
  var rowStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableRowProps).style;
144
153
  var cellStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableCellProps).style;
@@ -168,8 +177,9 @@ var DataTableBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs
168
177
  },
169
178
  className: (0,classNames/* classNames */.x)(index < fixedRowsIndex && 'fixed'),
170
179
  onClick: function onClick() {
171
- var _a;
172
- return (_a = item.onClickRow) === null || _a === void 0 ? void 0 : _a.call(item, item.id);
180
+ if (!item.onClickRow) return;
181
+ emit('click', item.id);
182
+ item.onClickRow(item.id);
173
183
  },
174
184
  children: item.value
175
185
  }, item.id);
@@ -228,7 +238,7 @@ var x = (y) => {
228
238
  var x = {}; __nuri_require__.d(x, y); return x
229
239
  }
230
240
  var y = (x) => (() => (x))
231
- module.exports = x({ ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef) });
241
+ 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), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef) });
232
242
 
233
243
  /***/ },
234
244
 
@@ -333,7 +343,7 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
333
343
  /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
334
344
  /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
335
345
  /******/ var installedChunks = {
336
- /******/ 284: 0
346
+ /******/ 7284: 0
337
347
  /******/ };
338
348
  /******/
339
349
  /******/ var installChunk = (data) => {
@@ -373,13 +383,15 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
373
383
  /******/
374
384
  /************************************************************************/
375
385
  /******/
376
- /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
386
+ /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
377
387
  /******/ __nuri_require__.C(__webpack_chunk_1__);
388
+ /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
389
+ /******/ __nuri_require__.C(__webpack_chunk_2__);
378
390
  /******/
379
391
  /******/ // startup
380
392
  /******/ // Load entry module and return exports
381
393
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
382
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364], () => (__nuri_require__(3785)))
394
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560], () => (__nuri_require__(3785)))
383
395
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
384
396
  /******/ const __webpack_exports__default = __webpack_exports__.A;
385
397
  /******/ export { __webpack_exports__default as default };
package/dist/drawer.js CHANGED
@@ -19,6 +19,8 @@ var jsx_runtime_ = __nuri_require__(612);
19
19
  var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(1041);
20
20
  // EXTERNAL MODULE: ./assets/icons/multifly.svg
21
21
  var multifly = __nuri_require__(6713);
22
+ // EXTERNAL MODULE: ./helpers/hooks/useTrack.ts
23
+ var useTrack = __nuri_require__(4560);
22
24
  // EXTERNAL MODULE: ./helpers/utils/classNames.js
23
25
  var classNames = __nuri_require__(3274);
24
26
  // EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
@@ -153,6 +155,7 @@ var drawer_assign = undefined && undefined.__assign || function () {
153
155
 
154
156
 
155
157
 
158
+
156
159
  // ref 는 패널(Dialog.Content) div 에 붙는다. Root 는 DOM 을 그리지 않는다.
157
160
  var Drawer = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
158
161
  var _a = (0,getMergedProps/* getMergedProps */.p)(props, drawerContentProps),
@@ -165,13 +168,22 @@ var Drawer = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_
165
168
  showCloseIcon = _b === void 0 ? true : _b,
166
169
  open = _a.open,
167
170
  defaultOpen = _a.defaultOpen,
168
- onOpenChange = _a.onOpenChange,
171
+ _onOpenChange = _a.onOpenChange,
169
172
  className = _a.className,
170
- style = _a.style;
173
+ style = _a.style,
174
+ track = _a.track,
175
+ trackProps = _a.trackProps;
176
+ var emit = (0,useTrack/* useTrack */.n)('Drawer', {
177
+ track: track,
178
+ trackProps: trackProps
179
+ });
171
180
  return (0,jsx_runtime_.jsxs)(base_drawer, {
172
181
  open: open,
173
182
  defaultOpen: defaultOpen,
174
- onOpenChange: onOpenChange,
183
+ onOpenChange: function onOpenChange(next) {
184
+ emit(next ? 'open' : 'close');
185
+ _onOpenChange === null || _onOpenChange === void 0 ? void 0 : _onOpenChange(next);
186
+ },
175
187
  children: [trigger && (0,jsx_runtime_.jsx)(base_drawer.Trigger, {
176
188
  asChild: true,
177
189
  children: trigger
@@ -228,7 +240,7 @@ var x = (y) => {
228
240
  var x = {}; __nuri_require__.d(x, y); return x
229
241
  }
230
242
  var y = (x) => (() => (x))
231
- module.exports = x({ ["createElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef) });
243
+ module.exports = x({ ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["createElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["useCallback"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useCallback), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef) });
232
244
 
233
245
  /***/ },
234
246
 
@@ -333,7 +345,7 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
333
345
  /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
334
346
  /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
335
347
  /******/ var installedChunks = {
336
- /******/ 248: 0
348
+ /******/ 7248: 0
337
349
  /******/ };
338
350
  /******/
339
351
  /******/ var installChunk = (data) => {
@@ -373,17 +385,19 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
373
385
  /******/
374
386
  /************************************************************************/
375
387
  /******/
376
- /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
388
+ /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
377
389
  /******/ __nuri_require__.C(__webpack_chunk_1__);
378
- /******/ import * as __webpack_chunk_2__ from "./chunk-298.js";
390
+ /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
379
391
  /******/ __nuri_require__.C(__webpack_chunk_2__);
380
- /******/ import * as __webpack_chunk_3__ from "./chunk-713.js";
392
+ /******/ import * as __webpack_chunk_3__ from "./chunk-7298.js";
381
393
  /******/ __nuri_require__.C(__webpack_chunk_3__);
394
+ /******/ import * as __webpack_chunk_4__ from "./chunk-6713.js";
395
+ /******/ __nuri_require__.C(__webpack_chunk_4__);
382
396
  /******/
383
397
  /******/ // startup
384
398
  /******/ // Load entry module and return exports
385
399
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
386
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364,298,713], () => (__nuri_require__(6622)))
400
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560,7298,6713], () => (__nuri_require__(6622)))
387
401
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
388
402
  /******/ const __webpack_exports__default = __webpack_exports__.A;
389
403
  /******/ export { __webpack_exports__default as default };
package/dist/drop-down.js CHANGED
@@ -21,6 +21,8 @@ var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ =
21
21
  var chevronDown = __nuri_require__(9436);
22
22
  // EXTERNAL MODULE: ./helpers/hooks/useExternalState.ts
23
23
  var useExternalState = __nuri_require__(9387);
24
+ // EXTERNAL MODULE: ./helpers/hooks/useTrack.ts
25
+ var useTrack = __nuri_require__(4560);
24
26
  // EXTERNAL MODULE: ./helpers/utils/classNames.js
25
27
  var classNames = __nuri_require__(3274);
26
28
  // EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
@@ -164,6 +166,7 @@ var drop_down_rest = undefined && undefined.__rest || function (s, e) {
164
166
 
165
167
 
166
168
 
169
+
167
170
  var DropDown = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
168
171
  var _a = (0,getMergedProps/* getMergedProps */.p)(props, dropDownSingleProps),
169
172
  className = _a.className,
@@ -182,7 +185,14 @@ var DropDown = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_reac
182
185
  openProp = _a.open,
183
186
  onOpenChangeProp = _a.onOpenChange,
184
187
  defaultOpen = _a.defaultOpen,
185
- restProps = drop_down_rest(_a, ["className", "renderValue", "placeholder", "options", "value", "disabled", "leftIcon", "rightIcon", "style", "renderOption", "side", "align", "position", "open", "onOpenChange", "defaultOpen"]);
188
+ _onValueChange = _a.onValueChange,
189
+ track = _a.track,
190
+ trackProps = _a.trackProps,
191
+ restProps = drop_down_rest(_a, ["className", "renderValue", "placeholder", "options", "value", "disabled", "leftIcon", "rightIcon", "style", "renderOption", "side", "align", "position", "open", "onOpenChange", "defaultOpen", "onValueChange", "track", "trackProps"]);
192
+ var emit = (0,useTrack/* useTrack */.n)('DropDown', {
193
+ track: track,
194
+ trackProps: trackProps
195
+ });
186
196
  var _b = (0,useExternalState/* useExternalState */.C)({
187
197
  prop: openProp,
188
198
  handler: onOpenChangeProp,
@@ -197,7 +207,11 @@ var DropDown = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_reac
197
207
  value: value,
198
208
  disabled: disabled,
199
209
  open: open,
200
- onOpenChange: setOpen
210
+ onOpenChange: setOpen,
211
+ onValueChange: function onValueChange(next) {
212
+ emit('change', next);
213
+ _onValueChange === null || _onValueChange === void 0 ? void 0 : _onValueChange(next);
214
+ }
201
215
  }, restProps, {
202
216
  children: [(0,jsx_runtime_.jsxs)(base_drop_down.Trigger, {
203
217
  className: (0,classNames/* classNames */.x)(className, 'drop-down-single-trigger'),
@@ -255,7 +269,7 @@ var x = (y) => {
255
269
  var x = {}; __nuri_require__.d(x, y); return x
256
270
  }
257
271
  var y = (x) => (() => (x))
258
- module.exports = x({ ["createElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["useEffect"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useEffect), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef), ["useState"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useState) });
272
+ module.exports = x({ ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["createElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createElement), ["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) });
259
273
 
260
274
  /***/ },
261
275
 
@@ -360,7 +374,7 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
360
374
  /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
361
375
  /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
362
376
  /******/ var installedChunks = {
363
- /******/ 621: 0
377
+ /******/ 2621: 0
364
378
  /******/ };
365
379
  /******/
366
380
  /******/ var installChunk = (data) => {
@@ -400,19 +414,21 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
400
414
  /******/
401
415
  /************************************************************************/
402
416
  /******/
403
- /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
417
+ /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
404
418
  /******/ __nuri_require__.C(__webpack_chunk_1__);
405
- /******/ import * as __webpack_chunk_2__ from "./chunk-917.js";
419
+ /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
406
420
  /******/ __nuri_require__.C(__webpack_chunk_2__);
407
- /******/ import * as __webpack_chunk_3__ from "./chunk-387.js";
421
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4917.js";
408
422
  /******/ __nuri_require__.C(__webpack_chunk_3__);
409
- /******/ import * as __webpack_chunk_4__ from "./chunk-436.js";
423
+ /******/ import * as __webpack_chunk_4__ from "./chunk-9387.js";
410
424
  /******/ __nuri_require__.C(__webpack_chunk_4__);
425
+ /******/ import * as __webpack_chunk_5__ from "./chunk-9436.js";
426
+ /******/ __nuri_require__.C(__webpack_chunk_5__);
411
427
  /******/
412
428
  /******/ // startup
413
429
  /******/ // Load entry module and return exports
414
430
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
415
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364,917,387,436], () => (__nuri_require__(9691)))
431
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560,4917,9387,9436], () => (__nuri_require__(9691)))
416
432
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
417
433
  /******/ const __webpack_exports__default = __webpack_exports__.A;
418
434
  /******/ export { __webpack_exports__default as default };
@@ -0,0 +1,3 @@
1
+ import type { LogAction, TrackProps } from '../../components/logging/logging-type';
2
+ /** 컴포넌트 하나가 쓸 emit 함수. Provider 가 없거나 track 이 없으면 아무것도 보내지 않는다. */
3
+ export declare const useTrack: (component: string, props: TrackProps) => ((action: LogAction, value?: string) => void);
@@ -126,7 +126,7 @@ var x = (y) => {
126
126
  var x = {}; __nuri_require__.d(x, y); return x
127
127
  }
128
128
  var y = (x) => (() => (x))
129
- module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext) });
129
+ module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement), ["useCallback"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useCallback), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef) });
130
130
 
131
131
  /***/ },
132
132
 
@@ -231,7 +231,7 @@ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_ru
231
231
  /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
232
232
  /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
233
233
  /******/ var installedChunks = {
234
- /******/ 690: 0
234
+ /******/ 6690: 0
235
235
  /******/ };
236
236
  /******/
237
237
  /******/ var installChunk = (data) => {
@@ -271,23 +271,25 @@ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_ru
271
271
  /******/
272
272
  /************************************************************************/
273
273
  /******/
274
- /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
274
+ /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
275
275
  /******/ __nuri_require__.C(__webpack_chunk_1__);
276
- /******/ import * as __webpack_chunk_2__ from "./chunk-777.js";
276
+ /******/ import * as __webpack_chunk_2__ from "./chunk-4560.js";
277
277
  /******/ __nuri_require__.C(__webpack_chunk_2__);
278
- /******/ import * as __webpack_chunk_3__ from "./chunk-917.js";
278
+ /******/ import * as __webpack_chunk_3__ from "./chunk-2777.js";
279
279
  /******/ __nuri_require__.C(__webpack_chunk_3__);
280
- /******/ import * as __webpack_chunk_4__ from "./chunk-149.js";
280
+ /******/ import * as __webpack_chunk_4__ from "./chunk-4917.js";
281
281
  /******/ __nuri_require__.C(__webpack_chunk_4__);
282
- /******/ import * as __webpack_chunk_5__ from "./chunk-309.js";
282
+ /******/ import * as __webpack_chunk_5__ from "./chunk-6149.js";
283
283
  /******/ __nuri_require__.C(__webpack_chunk_5__);
284
- /******/ import * as __webpack_chunk_6__ from "./chunk-563.js";
284
+ /******/ import * as __webpack_chunk_6__ from "./chunk-8690.js";
285
285
  /******/ __nuri_require__.C(__webpack_chunk_6__);
286
+ /******/ import * as __webpack_chunk_7__ from "./chunk-1563.js";
287
+ /******/ __nuri_require__.C(__webpack_chunk_7__);
286
288
  /******/
287
289
  /******/ // startup
288
290
  /******/ // Load entry module and return exports
289
291
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
290
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364,777,917,149,309,563], () => (__nuri_require__(6477)))
292
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,4560,2777,4917,6149,8690,1563], () => (__nuri_require__(6477)))
291
293
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
292
294
  /******/ const __webpack_exports__default = __webpack_exports__.A;
293
295
  /******/ export { __webpack_exports__default as default };
@@ -251,19 +251,19 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
251
251
  /******/
252
252
  /************************************************************************/
253
253
  /******/
254
- /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
254
+ /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
255
255
  /******/ __nuri_require__.C(__webpack_chunk_1__);
256
- /******/ import * as __webpack_chunk_2__ from "./chunk-777.js";
256
+ /******/ import * as __webpack_chunk_2__ from "./chunk-2777.js";
257
257
  /******/ __nuri_require__.C(__webpack_chunk_2__);
258
- /******/ import * as __webpack_chunk_3__ from "./chunk-917.js";
258
+ /******/ import * as __webpack_chunk_3__ from "./chunk-4917.js";
259
259
  /******/ __nuri_require__.C(__webpack_chunk_3__);
260
- /******/ import * as __webpack_chunk_4__ from "./chunk-149.js";
260
+ /******/ import * as __webpack_chunk_4__ from "./chunk-6149.js";
261
261
  /******/ __nuri_require__.C(__webpack_chunk_4__);
262
262
  /******/
263
263
  /******/ // startup
264
264
  /******/ // Load entry module and return exports
265
265
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
266
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364,777,917,149], () => (__nuri_require__(9891)))
266
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,2777,4917,6149], () => (__nuri_require__(9891)))
267
267
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
268
268
  /******/ const __webpack_exports__default = __webpack_exports__.A;
269
269
  /******/ export { __webpack_exports__default as default };
package/dist/icon.js CHANGED
@@ -165,7 +165,7 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
165
165
  /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
166
166
  /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
167
167
  /******/ var installedChunks = {
168
- /******/ 480: 0
168
+ /******/ 6480: 0
169
169
  /******/ };
170
170
  /******/
171
171
  /******/ var installChunk = (data) => {
@@ -205,17 +205,17 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
205
205
  /******/
206
206
  /************************************************************************/
207
207
  /******/
208
- /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
208
+ /******/ import * as __webpack_chunk_1__ from "./chunk-6364.js";
209
209
  /******/ __nuri_require__.C(__webpack_chunk_1__);
210
- /******/ import * as __webpack_chunk_2__ from "./chunk-298.js";
210
+ /******/ import * as __webpack_chunk_2__ from "./chunk-7298.js";
211
211
  /******/ __nuri_require__.C(__webpack_chunk_2__);
212
- /******/ import * as __webpack_chunk_3__ from "./chunk-653.js";
212
+ /******/ import * as __webpack_chunk_3__ from "./chunk-7653.js";
213
213
  /******/ __nuri_require__.C(__webpack_chunk_3__);
214
214
  /******/
215
215
  /******/ // startup
216
216
  /******/ // Load entry module and return exports
217
217
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
218
- /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364,298,653], () => (__nuri_require__(3547)))
218
+ /******/ var __webpack_exports__ = __nuri_require__.O(undefined, [6364,7298,7653], () => (__nuri_require__(3547)))
219
219
  /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
220
220
  /******/ const __webpack_exports__default = __webpack_exports__.A;
221
221
  /******/ export { __webpack_exports__default as default };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { default as Avatar } from './components/avatar/avatar';
2
2
  export { default as CTAButton } from './components/button/cta-button';
3
+ export { default as Callout } from './components/callout/callout';
3
4
  export { default as OptionBadge } from './components/badge/option-badge';
4
5
  export { default as IconTextBadge } from './components/badge/icon-text-badge';
5
6
  export { default as IconTextOptionBadge } from './components/badge/icon-text-option-badge';
@@ -26,8 +27,10 @@ export { default as Icon } from './components/icon/icon';
26
27
  export { default as BottomNav } from './components/bottom-nav/bottom-nav';
27
28
  export { default as StepProgress } from './components/step-progress/step-progress';
28
29
  export { default as ChipGroup } from './components/chip-group/chip-group';
30
+ export { LogProvider, useLog } from './components/logging/logging';
29
31
  export type { AvatarProps } from './components/avatar/avatar-type';
30
32
  export type { CTAButtonProps } from './components/button/button-type';
33
+ export type { CalloutProps } from './components/callout/callout-type';
31
34
  export type { OptionBadgeProps, IconTextBadgeProps, IconTextOptionBadgeProps, } from './components/badge/badge-type';
32
35
  export type { DataTableProps, RowItem } from './components/table/table-type';
33
36
  export type { TextFieldProps } from './components/text-field/text-field-type';
@@ -52,6 +55,7 @@ export type { IconName, IconProps, IconWeight } from './components/icon/icon-typ
52
55
  export type { BottomNavProps, BottomNavItem, BottomNavLinkProps, BottomNavBadge, } from './components/bottom-nav/bottom-nav-type';
53
56
  export type { StepProgressProps } from './components/step-progress/step-progress-type';
54
57
  export type { ChipGroupProps, ChipGroupItem } from './components/chip-group/chip-group-type';
58
+ export type { LogEvent, LogAction, LogProviderProps, TrackProps, } from './components/logging/logging-type';
55
59
  export type { Size } from './helpers/props/common-props';
56
60
  export { colors, primitive, semanticApp, semanticAdmin } from './tokens/generated';
57
61
  export type { PrimitiveTokens, SemanticAppTokens, SemanticAdminTokens } from './tokens/generated';