@nurihaus/web-design-system 3.0.0 → 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 +785 -559
  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,294 @@
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
+ /***/ 538
8
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
9
+
10
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
11
+ /* harmony export */ wf: () => (/* binding */ iconTextBadgeProps)
12
+ /* harmony export */ });
13
+ /* unused harmony exports variant, sizes, iconTextOptionBadgeProps, optionBadgeProps */
14
+ /* harmony import */ var _helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(298);
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
+
26
+ var variant = ['neutral', 'primary', 'danger', 'outlined'];
27
+ var sizes = ['xs', 's', 'm', 'l', 'xl'];
28
+ var commonBadgeProps = {
29
+ variant: {
30
+ type: 'className',
31
+ className: 'variant',
32
+ values: variant,
33
+ "default": 'neutral'
34
+ },
35
+ size: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .sizeProp */ .lw)(sizes, 'xl'),
36
+ width: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .widthProp */ .Iw)('100%')
37
+ };
38
+ var iconTextBadgeProps = __assign({}, commonBadgeProps);
39
+ var iconTextOptionBadgeProps = __assign({}, commonBadgeProps);
40
+ var optionBadgeProps = __assign({}, commonBadgeProps);
41
+
42
+ /***/ },
43
+
44
+ /***/ 477
45
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
46
+
47
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
48
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
49
+ /* harmony export */ });
50
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
51
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(41);
52
+ /* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(274);
53
+ /* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(335);
54
+ /* harmony import */ var _tooltip_tooltip__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(563);
55
+ /* harmony import */ var _badge_props__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(538);
56
+ /* harmony import */ var _base_badge__WEBPACK_IMPORTED_MODULE_6__ = __nuri_require__(149);
57
+ var __assign = undefined && undefined.__assign || function () {
58
+ __assign = Object.assign || function (t) {
59
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
60
+ s = arguments[i];
61
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
62
+ }
63
+ return t;
64
+ };
65
+ return __assign.apply(this, arguments);
66
+ };
67
+ var __rest = undefined && undefined.__rest || function (s, e) {
68
+ var t = {};
69
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
70
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
71
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
72
+ }
73
+ return t;
74
+ };
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+ var IconTextBadge = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
83
+ var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)(props, _badge_props__WEBPACK_IMPORTED_MODULE_5__/* .iconTextBadgeProps */ .wf),
84
+ className = _a.className,
85
+ icon = _a.icon,
86
+ text = _a.text,
87
+ tooltip = _a.tooltip,
88
+ restProps = __rest(_a, ["className", "icon", "text", "tooltip"]);
89
+ var badge = (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_base_badge__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A, __assign({
90
+ ref: ref,
91
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'icon-text')
92
+ }, restProps, {
93
+ children: [icon, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
94
+ children: text
95
+ })]
96
+ }));
97
+ return tooltip ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_tooltip_tooltip__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, {
98
+ trigger: badge,
99
+ content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
100
+ children: tooltip.content
101
+ }),
102
+ direction: tooltip.position,
103
+ delayDuration: tooltip.delayDuration
104
+ }) : badge;
105
+ });
106
+ IconTextBadge.displayName = 'IconTextBadge';
107
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (IconTextBadge);
108
+
109
+ /***/ },
110
+
111
+ /***/ 0
112
+ (module, __unused_webpack_exports, __nuri_require__) {
113
+
114
+ var x = (y) => {
115
+ var x = {}; __nuri_require__.d(x, y); return x
116
+ }
117
+ var y = (x) => (() => (x))
118
+ module.exports = x({ ["Tooltip"]: () => (__WEBPACK_EXTERNAL_MODULE_radix_ui_3bc96d1b__.Tooltip) });
119
+
120
+ /***/ },
121
+
122
+ /***/ 41
123
+ (module, __unused_webpack_exports, __nuri_require__) {
124
+
125
+ var x = (y) => {
126
+ var x = {}; __nuri_require__.d(x, y); return x
127
+ }
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) });
130
+
131
+ /***/ },
132
+
133
+ /***/ 612
134
+ (module, __unused_webpack_exports, __nuri_require__) {
135
+
136
+ var x = (y) => {
137
+ var x = {}; __nuri_require__.d(x, y); return x
138
+ }
139
+ var y = (x) => (() => (x))
140
+ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.Fragment), ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
141
+
142
+ /***/ }
143
+
144
+ /******/ });
145
+ /************************************************************************/
146
+ /******/ // The module cache
147
+ /******/ var __webpack_module_cache__ = {};
148
+ /******/
149
+ /******/ // The require function
150
+ /******/ function __nuri_require__(moduleId) {
151
+ /******/ // Check if module is in cache
152
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
153
+ /******/ if (cachedModule !== undefined) {
154
+ /******/ return cachedModule.exports;
155
+ /******/ }
156
+ /******/ // Create a new module (and put it into the cache)
157
+ /******/ var module = __webpack_module_cache__[moduleId] = {
158
+ /******/ // no module.id needed
159
+ /******/ // no module.loaded needed
160
+ /******/ exports: {}
161
+ /******/ };
162
+ /******/
163
+ /******/ // Execute the module function
164
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
165
+ /******/
166
+ /******/ // Return the exports of the module
167
+ /******/ return module.exports;
168
+ /******/ }
169
+ /******/
170
+ /******/ // expose the modules object (__webpack_modules__)
171
+ /******/ __nuri_require__.m = __webpack_modules__;
172
+ /******/
173
+ /************************************************************************/
174
+ /******/ /* webpack/runtime/chunk loaded */
175
+ /******/ (() => {
176
+ /******/ var deferred = [];
177
+ /******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
178
+ /******/ if(chunkIds) {
179
+ /******/ priority = priority || 0;
180
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
181
+ /******/ deferred[i] = [chunkIds, fn, priority];
182
+ /******/ return;
183
+ /******/ }
184
+ /******/ var notFulfilled = Infinity;
185
+ /******/ for (var i = 0; i < deferred.length; i++) {
186
+ /******/ var [chunkIds, fn, priority] = deferred[i];
187
+ /******/ var fulfilled = true;
188
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
189
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
190
+ /******/ chunkIds.splice(j--, 1);
191
+ /******/ } else {
192
+ /******/ fulfilled = false;
193
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
194
+ /******/ }
195
+ /******/ }
196
+ /******/ if(fulfilled) {
197
+ /******/ deferred.splice(i--, 1)
198
+ /******/ var r = fn();
199
+ /******/ if (r !== undefined) result = r;
200
+ /******/ }
201
+ /******/ }
202
+ /******/ return result;
203
+ /******/ };
204
+ /******/ })();
205
+ /******/
206
+ /******/ /* webpack/runtime/define property getters */
207
+ /******/ (() => {
208
+ /******/ // define getter functions for harmony exports
209
+ /******/ __nuri_require__.d = (exports, definition) => {
210
+ /******/ for(var key in definition) {
211
+ /******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
212
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
213
+ /******/ }
214
+ /******/ }
215
+ /******/ };
216
+ /******/ })();
217
+ /******/
218
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
219
+ /******/ (() => {
220
+ /******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
221
+ /******/ })();
222
+ /******/
223
+ /******/ /* webpack/runtime/export webpack runtime */
224
+ /******/ export { __nuri_require__ };
225
+ /******/
226
+ /******/ /* webpack/runtime/import chunk loading */
227
+ /******/ (() => {
228
+ /******/ // no baseURI
229
+ /******/
230
+ /******/ // object to store loaded and loading chunks
231
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
232
+ /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
233
+ /******/ var installedChunks = {
234
+ /******/ 690: 0
235
+ /******/ };
236
+ /******/
237
+ /******/ var installChunk = (data) => {
238
+ /******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
239
+ /******/ // add "modules" to the modules object,
240
+ /******/ // then flag all "ids" as loaded and fire callback
241
+ /******/ var moduleId, chunkId, i = 0;
242
+ /******/ for(moduleId in __webpack_esm_modules__) {
243
+ /******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
244
+ /******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
245
+ /******/ }
246
+ /******/ }
247
+ /******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
248
+ /******/ for(;i < __webpack_esm_ids__.length; i++) {
249
+ /******/ chunkId = __webpack_esm_ids__[i];
250
+ /******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
251
+ /******/ installedChunks[chunkId][0]();
252
+ /******/ }
253
+ /******/ installedChunks[__webpack_esm_ids__[i]] = 0;
254
+ /******/ }
255
+ /******/ __nuri_require__.O();
256
+ /******/ }
257
+ /******/
258
+ /******/ // no chunk on demand loading
259
+ /******/
260
+ /******/ // no prefetching
261
+ /******/
262
+ /******/ // no preloaded
263
+ /******/
264
+ /******/ __nuri_require__.C = installChunk;
265
+ /******/
266
+ /******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
267
+ /******/ // no HMR
268
+ /******/
269
+ /******/ // no HMR manifest
270
+ /******/ })();
271
+ /******/
272
+ /************************************************************************/
273
+ /******/
274
+ /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
275
+ /******/ __nuri_require__.C(__webpack_chunk_1__);
276
+ /******/ import * as __webpack_chunk_2__ from "./chunk-777.js";
277
+ /******/ __nuri_require__.C(__webpack_chunk_2__);
278
+ /******/ import * as __webpack_chunk_3__ from "./chunk-917.js";
279
+ /******/ __nuri_require__.C(__webpack_chunk_3__);
280
+ /******/ import * as __webpack_chunk_4__ from "./chunk-149.js";
281
+ /******/ __nuri_require__.C(__webpack_chunk_4__);
282
+ /******/ import * as __webpack_chunk_5__ from "./chunk-309.js";
283
+ /******/ __nuri_require__.C(__webpack_chunk_5__);
284
+ /******/ import * as __webpack_chunk_6__ from "./chunk-563.js";
285
+ /******/ __nuri_require__.C(__webpack_chunk_6__);
286
+ /******/
287
+ /******/ // startup
288
+ /******/ // Load entry module and return exports
289
+ /******/ // 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__(477)))
291
+ /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
292
+ /******/ const __webpack_exports__default = __webpack_exports__.A;
293
+ /******/ export { __webpack_exports__default as default };
294
+ /******/
@@ -0,0 +1,270 @@
1
+ "use client";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
4
+ /******/ var __webpack_modules__ = ({
5
+
6
+ /***/ 538
7
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
8
+
9
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
10
+ /* harmony export */ V4: () => (/* binding */ iconTextOptionBadgeProps)
11
+ /* harmony export */ });
12
+ /* unused harmony exports variant, sizes, iconTextBadgeProps, optionBadgeProps */
13
+ /* harmony import */ var _helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(298);
14
+ var __assign = undefined && undefined.__assign || function () {
15
+ __assign = Object.assign || function (t) {
16
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
17
+ s = arguments[i];
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
19
+ }
20
+ return t;
21
+ };
22
+ return __assign.apply(this, arguments);
23
+ };
24
+
25
+ var variant = ['neutral', 'primary', 'danger', 'outlined'];
26
+ var sizes = ['xs', 's', 'm', 'l', 'xl'];
27
+ var commonBadgeProps = {
28
+ variant: {
29
+ type: 'className',
30
+ className: 'variant',
31
+ values: variant,
32
+ "default": 'neutral'
33
+ },
34
+ size: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .sizeProp */ .lw)(sizes, 'xl'),
35
+ width: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .widthProp */ .Iw)('100%')
36
+ };
37
+ var iconTextBadgeProps = __assign({}, commonBadgeProps);
38
+ var iconTextOptionBadgeProps = __assign({}, commonBadgeProps);
39
+ var optionBadgeProps = __assign({}, commonBadgeProps);
40
+
41
+ /***/ },
42
+
43
+ /***/ 891
44
+ (__unused_webpack_module, __webpack_exports__, __nuri_require__) {
45
+
46
+ /* harmony export */ __nuri_require__.d(__webpack_exports__, {
47
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
48
+ /* harmony export */ });
49
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
50
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(41);
51
+ /* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(274);
52
+ /* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(335);
53
+ /* harmony import */ var _badge_props__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(538);
54
+ /* harmony import */ var _base_badge__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(149);
55
+ var __assign = undefined && undefined.__assign || function () {
56
+ __assign = Object.assign || function (t) {
57
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
58
+ s = arguments[i];
59
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
60
+ }
61
+ return t;
62
+ };
63
+ return __assign.apply(this, arguments);
64
+ };
65
+ var __rest = undefined && undefined.__rest || function (s, e) {
66
+ var t = {};
67
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
68
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
69
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
70
+ }
71
+ return t;
72
+ };
73
+
74
+
75
+
76
+
77
+
78
+
79
+ var IconTextOptionBadge = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
80
+ var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)(props, _badge_props__WEBPACK_IMPORTED_MODULE_4__/* .iconTextOptionBadgeProps */ .V4),
81
+ className = _a.className,
82
+ icon = _a.icon,
83
+ text = _a.text,
84
+ option = _a.option,
85
+ restProps = __rest(_a, ["className", "icon", "text", "option"]);
86
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_base_badge__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A, __assign({
87
+ ref: ref,
88
+ className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'icon-text-option')
89
+ }, restProps, {
90
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span", {
91
+ children: [icon, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
92
+ children: text
93
+ })]
94
+ }), option]
95
+ }));
96
+ });
97
+ IconTextOptionBadge.displayName = 'IconTextOptionBadge';
98
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (IconTextOptionBadge);
99
+
100
+ /***/ },
101
+
102
+ /***/ 41
103
+ (module, __unused_webpack_exports, __nuri_require__) {
104
+
105
+ var x = (y) => {
106
+ var x = {}; __nuri_require__.d(x, y); return x
107
+ }
108
+ var y = (x) => (() => (x))
109
+ module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement) });
110
+
111
+ /***/ },
112
+
113
+ /***/ 612
114
+ (module, __unused_webpack_exports, __nuri_require__) {
115
+
116
+ var x = (y) => {
117
+ var x = {}; __nuri_require__.d(x, y); return x
118
+ }
119
+ var y = (x) => (() => (x))
120
+ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
121
+
122
+ /***/ }
123
+
124
+ /******/ });
125
+ /************************************************************************/
126
+ /******/ // The module cache
127
+ /******/ var __webpack_module_cache__ = {};
128
+ /******/
129
+ /******/ // The require function
130
+ /******/ function __nuri_require__(moduleId) {
131
+ /******/ // Check if module is in cache
132
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
133
+ /******/ if (cachedModule !== undefined) {
134
+ /******/ return cachedModule.exports;
135
+ /******/ }
136
+ /******/ // Create a new module (and put it into the cache)
137
+ /******/ var module = __webpack_module_cache__[moduleId] = {
138
+ /******/ // no module.id needed
139
+ /******/ // no module.loaded needed
140
+ /******/ exports: {}
141
+ /******/ };
142
+ /******/
143
+ /******/ // Execute the module function
144
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
145
+ /******/
146
+ /******/ // Return the exports of the module
147
+ /******/ return module.exports;
148
+ /******/ }
149
+ /******/
150
+ /******/ // expose the modules object (__webpack_modules__)
151
+ /******/ __nuri_require__.m = __webpack_modules__;
152
+ /******/
153
+ /************************************************************************/
154
+ /******/ /* webpack/runtime/chunk loaded */
155
+ /******/ (() => {
156
+ /******/ var deferred = [];
157
+ /******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
158
+ /******/ if(chunkIds) {
159
+ /******/ priority = priority || 0;
160
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
161
+ /******/ deferred[i] = [chunkIds, fn, priority];
162
+ /******/ return;
163
+ /******/ }
164
+ /******/ var notFulfilled = Infinity;
165
+ /******/ for (var i = 0; i < deferred.length; i++) {
166
+ /******/ var [chunkIds, fn, priority] = deferred[i];
167
+ /******/ var fulfilled = true;
168
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
169
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
170
+ /******/ chunkIds.splice(j--, 1);
171
+ /******/ } else {
172
+ /******/ fulfilled = false;
173
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
174
+ /******/ }
175
+ /******/ }
176
+ /******/ if(fulfilled) {
177
+ /******/ deferred.splice(i--, 1)
178
+ /******/ var r = fn();
179
+ /******/ if (r !== undefined) result = r;
180
+ /******/ }
181
+ /******/ }
182
+ /******/ return result;
183
+ /******/ };
184
+ /******/ })();
185
+ /******/
186
+ /******/ /* webpack/runtime/define property getters */
187
+ /******/ (() => {
188
+ /******/ // define getter functions for harmony exports
189
+ /******/ __nuri_require__.d = (exports, definition) => {
190
+ /******/ for(var key in definition) {
191
+ /******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
192
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
193
+ /******/ }
194
+ /******/ }
195
+ /******/ };
196
+ /******/ })();
197
+ /******/
198
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
199
+ /******/ (() => {
200
+ /******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
201
+ /******/ })();
202
+ /******/
203
+ /******/ /* webpack/runtime/export webpack runtime */
204
+ /******/ export { __nuri_require__ };
205
+ /******/
206
+ /******/ /* webpack/runtime/import chunk loading */
207
+ /******/ (() => {
208
+ /******/ // no baseURI
209
+ /******/
210
+ /******/ // object to store loaded and loading chunks
211
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
212
+ /******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
213
+ /******/ var installedChunks = {
214
+ /******/ 512: 0
215
+ /******/ };
216
+ /******/
217
+ /******/ var installChunk = (data) => {
218
+ /******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
219
+ /******/ // add "modules" to the modules object,
220
+ /******/ // then flag all "ids" as loaded and fire callback
221
+ /******/ var moduleId, chunkId, i = 0;
222
+ /******/ for(moduleId in __webpack_esm_modules__) {
223
+ /******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
224
+ /******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
225
+ /******/ }
226
+ /******/ }
227
+ /******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
228
+ /******/ for(;i < __webpack_esm_ids__.length; i++) {
229
+ /******/ chunkId = __webpack_esm_ids__[i];
230
+ /******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
231
+ /******/ installedChunks[chunkId][0]();
232
+ /******/ }
233
+ /******/ installedChunks[__webpack_esm_ids__[i]] = 0;
234
+ /******/ }
235
+ /******/ __nuri_require__.O();
236
+ /******/ }
237
+ /******/
238
+ /******/ // no chunk on demand loading
239
+ /******/
240
+ /******/ // no prefetching
241
+ /******/
242
+ /******/ // no preloaded
243
+ /******/
244
+ /******/ __nuri_require__.C = installChunk;
245
+ /******/
246
+ /******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
247
+ /******/ // no HMR
248
+ /******/
249
+ /******/ // no HMR manifest
250
+ /******/ })();
251
+ /******/
252
+ /************************************************************************/
253
+ /******/
254
+ /******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
255
+ /******/ __nuri_require__.C(__webpack_chunk_1__);
256
+ /******/ import * as __webpack_chunk_2__ from "./chunk-777.js";
257
+ /******/ __nuri_require__.C(__webpack_chunk_2__);
258
+ /******/ import * as __webpack_chunk_3__ from "./chunk-917.js";
259
+ /******/ __nuri_require__.C(__webpack_chunk_3__);
260
+ /******/ import * as __webpack_chunk_4__ from "./chunk-149.js";
261
+ /******/ __nuri_require__.C(__webpack_chunk_4__);
262
+ /******/
263
+ /******/ // startup
264
+ /******/ // Load entry module and return exports
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__(891)))
267
+ /******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
268
+ /******/ const __webpack_exports__default = __webpack_exports__.A;
269
+ /******/ export { __webpack_exports__default as default };
270
+ /******/
package/dist/index.d.ts CHANGED
@@ -10,8 +10,24 @@ export { default as Checkbox } from './components/check-box/check-box';
10
10
  export { default as DropDown } from './components/drop-down/drop-down';
11
11
  export { default as CollapsibleMenu } from './components/collapsible-menu/collapsible-menu';
12
12
  export { default as Text } from './components/elements/text/text';
13
- export { default as Tooltip } from './components/tooltip/tooltip';
13
+ export { default as Tooltip, TooltipProvider } from './components/tooltip/tooltip';
14
+ export { default as Tabs } from './components/tabs/tabs';
14
15
  export { default as ModalWithDoubleButton } from './components/modal/modal-with-double-button';
15
16
  export { Spinner, InlineLoading, OverlayLoading } from './components/loading';
17
+ export type { AvatarProps } from './components/avatar/avatar-type';
18
+ export type { CTAButtonProps } from './components/button/button-type';
19
+ export type { OptionBadgeProps, IconTextBadgeProps, IconTextOptionBadgeProps, } from './components/badge/badge-type';
20
+ export type { DataTableProps, RowItem } from './components/table/table-type';
21
+ export type { TextFieldProps } from './components/text-field/text-field-type';
22
+ export type { RadioProps } from './components/radio/radio-type';
23
+ export type { CheckBoxProps } from './components/check-box/check-box-type';
24
+ export type { DropDownProps } from './components/drop-down/drop-down-type';
25
+ export type { CollapsibleMenuProps, CollapsibleMenuItem, CollapsibleMenuLinkProps, } from './components/collapsible-menu/collapsible-menu-type';
26
+ export type { TextProps } from './components/elements/text/text-type';
27
+ export type { TooltipProps, TooltipProviderProps } from './components/tooltip/tooltip-type';
28
+ export type { TabsProps } from './components/tabs/tabs-type';
29
+ export type { ModalWithDoubleButtonProps } from './components/modal/modal-type';
30
+ export type { SpinnerProps, InlineLoadingProps, OverlayLoadingProps } from './components/loading';
31
+ export type { Size } from './helpers/props/common-props';
16
32
  export { colors, primitive, semanticApp, semanticAdmin } from './tokens/generated';
17
33
  export type { PrimitiveTokens, SemanticAppTokens, SemanticAdminTokens } from './tokens/generated';