@nurihaus/web-design-system 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +104 -5
- package/dist/.storybook/story-kit.d.ts +18 -0
- package/dist/ai/components.md +1036 -0
- package/dist/ai/tokens.md +344 -0
- package/dist/avatar.js +336 -0
- package/dist/breadcrumb.js +364 -0
- package/dist/check-box.js +360 -0
- package/dist/chunk-149.js +57 -0
- package/dist/chunk-298.js +34 -0
- package/dist/chunk-302.js +105 -0
- package/dist/chunk-309.js +36 -0
- package/dist/chunk-364.js +126 -0
- package/dist/chunk-387.js +56 -0
- package/dist/chunk-436.js +33 -0
- package/dist/chunk-558.js +200 -0
- package/dist/chunk-563.js +181 -0
- package/dist/chunk-657.js +143 -0
- package/dist/chunk-713.js +38 -0
- package/dist/chunk-739.js +68 -0
- package/dist/chunk-77.js +34 -0
- package/dist/chunk-777.js +117 -0
- package/dist/chunk-910.js +64 -0
- package/dist/chunk-917.js +35 -0
- package/dist/chunk-933.js +70 -0
- package/dist/chunk-976.js +29 -0
- package/dist/collapsible-menu.js +394 -0
- package/dist/components/avatar/avatar-props.d.ts +2 -6
- package/dist/components/avatar/avatar-type.d.ts +4 -5
- package/dist/components/avatar/avatar.d.ts +1 -0
- package/dist/components/avatar/avatar.stories.d.ts +17 -1
- package/dist/components/badge/badge-props.d.ts +17 -80
- package/dist/components/badge/badge-type.d.ts +38 -2
- package/dist/components/badge/badge.stories.d.ts +25 -2
- package/dist/components/badge/base-badge.d.ts +2 -1
- package/dist/components/badge/icon-text-badge.d.ts +3 -21
- package/dist/components/badge/icon-text-option-badge.d.ts +2 -15
- package/dist/components/badge/option-badge.d.ts +3 -20
- package/dist/components/breadcrumb/base-breadcrumb.d.ts +19 -0
- package/dist/components/breadcrumb/breadcrumb-props.d.ts +4 -0
- package/dist/components/breadcrumb/breadcrumb-type.d.ts +33 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +4 -0
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts +25 -0
- package/dist/components/button/button-props.d.ts +2 -7
- package/dist/components/button/button-type.d.ts +11 -3
- package/dist/components/button/button.stories.d.ts +13 -10
- package/dist/components/button/cta-button.d.ts +3 -12
- package/dist/components/check-box/base-check-box.d.ts +9 -5
- package/dist/components/check-box/check-box-props.d.ts +2 -7
- package/dist/components/check-box/check-box-type.d.ts +11 -4
- package/dist/components/check-box/check-box.d.ts +3 -10
- package/dist/components/check-box/check-box.stories.d.ts +19 -4
- package/dist/components/collapsible-menu/base-collapsible-menu.d.ts +9 -5
- package/dist/components/collapsible-menu/collapsible-menu-props.d.ts +3 -12
- package/dist/components/collapsible-menu/collapsible-menu-type.d.ts +33 -9
- package/dist/components/collapsible-menu/collapsible-menu.d.ts +3 -23
- package/dist/components/collapsible-menu/collapsible-menu.stories.d.ts +20 -4
- package/dist/components/drawer/base-drawer.d.ts +15 -0
- package/dist/components/drawer/drawer-props.d.ts +11 -0
- package/dist/components/drawer/drawer-type.d.ts +28 -0
- package/dist/components/drawer/drawer.d.ts +4 -0
- package/dist/components/drawer/drawer.stories.d.ts +34 -0
- package/dist/components/drop-down/base-drop-down.d.ts +11 -3
- package/dist/components/drop-down/drop-down-props.d.ts +3 -12
- package/dist/components/drop-down/drop-down-type.d.ts +34 -15
- package/dist/components/drop-down/drop-down.d.ts +3 -32
- package/dist/components/drop-down/drop-down.stories.d.ts +23 -4
- package/dist/components/elements/text/base-text.d.ts +3 -0
- package/dist/components/elements/text/text-props.d.ts +16 -0
- package/dist/components/elements/text/text-type.d.ts +6 -2
- package/dist/components/elements/text/text.d.ts +2 -1
- package/dist/components/elements/text/text.stories.d.ts +43 -3
- package/dist/components/loading/index.d.ts +6 -6
- package/dist/components/loading/inline-loading/base-inline-loading.d.ts +3 -0
- package/dist/components/loading/inline-loading/inline-loading-props.d.ts +9 -0
- package/dist/components/loading/inline-loading/inline-loading-type.d.ts +8 -6
- package/dist/components/loading/inline-loading/inline-loading.d.ts +3 -2
- package/dist/components/loading/inline-loading/inline-loading.stories.d.ts +5 -9
- package/dist/components/loading/overlay-loading/base-overlay-loading.d.ts +3 -0
- package/dist/components/loading/overlay-loading/overlay-loading-props.d.ts +7 -0
- package/dist/components/loading/overlay-loading/overlay-loading-type.d.ts +6 -3
- package/dist/components/loading/overlay-loading/overlay-loading.d.ts +3 -3
- package/dist/components/loading/overlay-loading/overlay-loading.stories.d.ts +8 -8
- package/dist/components/loading/spinner/base-spinner.d.ts +4 -0
- package/dist/components/loading/spinner/spinner-props.d.ts +1 -0
- package/dist/components/loading/spinner/spinner-type.d.ts +4 -4
- package/dist/components/loading/spinner/spinner.d.ts +2 -2
- package/dist/components/loading/spinner/spinner.stories.d.ts +5 -12
- package/dist/components/modal/base-modal.d.ts +21 -6
- package/dist/components/modal/modal-props.d.ts +5 -7
- package/dist/components/modal/modal-type.d.ts +34 -10
- package/dist/components/modal/modal-with-double-button.d.ts +4 -16
- package/dist/components/modal/modal-with-double-button.stories.d.ts +22 -0
- package/dist/components/modal/modal.d.ts +4 -0
- package/dist/components/modal/modal.stories.d.ts +22 -4
- package/dist/components/pagination/base-pagination.d.ts +9 -0
- package/dist/components/pagination/pagination-props.d.ts +4 -0
- package/dist/components/pagination/pagination-type.d.ts +20 -0
- package/dist/components/pagination/pagination.d.ts +4 -0
- package/dist/components/pagination/pagination.stories.d.ts +25 -0
- package/dist/components/radio/base-radio.d.ts +9 -5
- package/dist/components/radio/radio-props.d.ts +1 -0
- package/dist/components/radio/radio-type.d.ts +6 -8
- package/dist/components/radio/radio.d.ts +2 -2
- package/dist/components/radio/radio.stories.d.ts +13 -4
- package/dist/components/skeleton/base-skeleton.d.ts +4 -0
- package/dist/components/skeleton/skeleton-props.d.ts +15 -0
- package/dist/components/skeleton/skeleton-type.d.ts +12 -0
- package/dist/components/skeleton/skeleton.d.ts +4 -0
- package/dist/components/skeleton/skeleton.stories.d.ts +327 -0
- package/dist/components/switch/base-switch.d.ts +11 -0
- package/dist/components/switch/switch-props.d.ts +4 -0
- package/dist/components/switch/switch-type.d.ts +19 -0
- package/dist/components/switch/switch.d.ts +4 -0
- package/dist/components/switch/switch.stories.d.ts +24 -0
- package/dist/components/table/base-table.d.ts +4 -5
- package/dist/components/table/data-table.d.ts +5 -22
- package/dist/components/table/table-type.d.ts +22 -1
- package/dist/components/table/table.stories.d.ts +19 -3
- package/dist/components/tabs/base-tabs.d.ts +7 -7
- package/dist/components/tabs/tabs-props.d.ts +1 -1
- package/dist/components/tabs/tabs-type.d.ts +9 -13
- package/dist/components/tabs/tabs.d.ts +3 -3
- package/dist/components/tabs/tabs.stories.d.ts +16 -10
- package/dist/components/text-area/base-text-area.d.ts +10 -0
- package/dist/components/text-area/text-area-props.d.ts +12 -0
- package/dist/components/text-area/text-area-type.d.ts +34 -0
- package/dist/components/text-area/text-area.d.ts +4 -0
- package/dist/components/text-area/text-area.stories.d.ts +32 -0
- package/dist/components/text-field/base-text-field.d.ts +5 -3
- package/dist/components/text-field/text-field-props.d.ts +3 -12
- package/dist/components/text-field/text-field-type.d.ts +14 -0
- package/dist/components/text-field/text-field.d.ts +3 -16
- package/dist/components/text-field/text-field.stories.d.ts +24 -0
- package/dist/components/toast/base-toast.d.ts +20 -0
- package/dist/components/toast/toast-props.d.ts +18 -0
- package/dist/components/toast/toast-type.d.ts +45 -0
- package/dist/components/toast/toast.d.ts +5 -0
- package/dist/components/toast/toast.stories.d.ts +310 -0
- package/dist/components/tooltip/base-tooltip.d.ts +13 -3
- package/dist/components/tooltip/tooltip-props.d.ts +3 -2
- package/dist/components/tooltip/tooltip-type.d.ts +17 -5
- package/dist/components/tooltip/tooltip.d.ts +4 -7
- package/dist/components/tooltip/tooltip.stories.d.ts +21 -4
- package/dist/components.css +3017 -0
- package/dist/cta-button.js +237 -0
- package/dist/data-table.js +386 -0
- package/dist/drawer.js +390 -0
- package/dist/drop-down.js +419 -0
- package/dist/helpers/hooks/useExternalState.d.ts +5 -0
- package/dist/helpers/props/common-props.d.ts +7 -0
- package/dist/helpers/types/common-props.d.ts +8 -0
- package/dist/icon-text-badge.js +294 -0
- package/dist/icon-text-option-badge.js +270 -0
- package/dist/index.d.ts +33 -1
- package/dist/index.js +4179 -10180
- package/dist/loading.js +383 -0
- package/dist/modal-with-double-button.js +332 -0
- package/dist/modal.js +288 -0
- package/dist/option-badge.js +293 -0
- package/dist/pagination.js +412 -0
- package/dist/radio.js +363 -0
- package/dist/reset.css +45 -0
- package/dist/skeleton.js +331 -0
- package/dist/styles.css +1386 -248
- package/dist/switch.js +349 -0
- package/dist/tabs.js +421 -0
- package/dist/text-area.js +374 -0
- package/dist/text-field.js +369 -0
- package/dist/text.js +233 -0
- package/dist/toast.js +496 -0
- package/dist/tokens.css +100 -0
- package/dist/tokens.js +4 -6
- package/dist/tooltip.js +360 -0
- package/package.json +123 -14
- package/dist/components/text-field/text-filed.stories.d.ts +0 -8
|
@@ -0,0 +1,394 @@
|
|
|
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
|
+
/***/ 5932
|
|
8
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
// EXPORTS
|
|
12
|
+
__nuri_require__.d(__webpack_exports__, {
|
|
13
|
+
A: () => (/* binding */ collapsible_menu)
|
|
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__(1041);
|
|
20
|
+
// EXTERNAL MODULE: ./helpers/utils/classNames.js
|
|
21
|
+
var classNames = __nuri_require__(3274);
|
|
22
|
+
// EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
|
|
23
|
+
var getMergedProps = __nuri_require__(7335);
|
|
24
|
+
// EXTERNAL MODULE: external {"root":"RadixUI","commonjs2":"radix-ui","commonjs":"radix-ui","amd":"radix-ui","module":"radix-ui"}
|
|
25
|
+
var external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_ = __nuri_require__(0);
|
|
26
|
+
;// ./components/collapsible-menu/base-collapsible-menu.tsx
|
|
27
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
28
|
+
__assign = Object.assign || function (t) {
|
|
29
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
30
|
+
s = arguments[i];
|
|
31
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
32
|
+
}
|
|
33
|
+
return t;
|
|
34
|
+
};
|
|
35
|
+
return __assign.apply(this, arguments);
|
|
36
|
+
};
|
|
37
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
38
|
+
var t = {};
|
|
39
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
41
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
42
|
+
}
|
|
43
|
+
return t;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
var CollapsibleMenuRootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
50
|
+
var children = props.children,
|
|
51
|
+
restProps = __rest(props, ["children"]);
|
|
52
|
+
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Collapsible.Root, __assign({
|
|
53
|
+
ref: ref
|
|
54
|
+
}, restProps, {
|
|
55
|
+
children: children
|
|
56
|
+
}));
|
|
57
|
+
});
|
|
58
|
+
CollapsibleMenuRootBase.displayName = 'CollapsibleMenuRoot';
|
|
59
|
+
var CollapsibleMenuTrigger = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
60
|
+
var children = props.children,
|
|
61
|
+
className = props.className,
|
|
62
|
+
asChild = props.asChild,
|
|
63
|
+
disabled = props.disabled,
|
|
64
|
+
style = props.style;
|
|
65
|
+
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Collapsible.Trigger, {
|
|
66
|
+
ref: ref,
|
|
67
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-collapsible-menu trigger', className),
|
|
68
|
+
asChild: asChild,
|
|
69
|
+
disabled: disabled,
|
|
70
|
+
style: style,
|
|
71
|
+
children: children
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
CollapsibleMenuTrigger.displayName = 'CollapsibleMenuTrigger';
|
|
75
|
+
var CollapsibleMenuContent = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
76
|
+
var children = props.children,
|
|
77
|
+
className = props.className,
|
|
78
|
+
asChild = props.asChild,
|
|
79
|
+
style = props.style;
|
|
80
|
+
return (0,jsx_runtime_.jsx)(external_root_RadixUI_commonjs2_radix_ui_commonjs_radix_ui_amd_radix_ui_module_radix_ui_.Collapsible.Content, {
|
|
81
|
+
ref: ref,
|
|
82
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-collapsible-menu content', className),
|
|
83
|
+
asChild: asChild,
|
|
84
|
+
style: style,
|
|
85
|
+
children: children
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
CollapsibleMenuContent.displayName = 'CollapsibleMenuContent';
|
|
89
|
+
var CollapsibleMenuRoot = Object.assign(CollapsibleMenuRootBase, {
|
|
90
|
+
Trigger: CollapsibleMenuTrigger,
|
|
91
|
+
Content: CollapsibleMenuContent
|
|
92
|
+
});
|
|
93
|
+
/* harmony default export */ const base_collapsible_menu = (CollapsibleMenuRoot);
|
|
94
|
+
// EXTERNAL MODULE: ./helpers/props/common-props.ts
|
|
95
|
+
var common_props = __nuri_require__(7298);
|
|
96
|
+
;// ./components/collapsible-menu/collapsible-menu-props.ts
|
|
97
|
+
|
|
98
|
+
var sizes = ['s', 'm'];
|
|
99
|
+
var collapsibleMenuProps = {
|
|
100
|
+
size: (0,common_props/* sizeProp */.lw)(sizes, 's'),
|
|
101
|
+
width: (0,common_props/* widthProp */.Iw)('240px')
|
|
102
|
+
};
|
|
103
|
+
;// ./components/collapsible-menu/collapsible-menu.tsx
|
|
104
|
+
var collapsible_menu_assign = undefined && undefined.__assign || function () {
|
|
105
|
+
collapsible_menu_assign = Object.assign || function (t) {
|
|
106
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
107
|
+
s = arguments[i];
|
|
108
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
109
|
+
}
|
|
110
|
+
return t;
|
|
111
|
+
};
|
|
112
|
+
return collapsible_menu_assign.apply(this, arguments);
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
var Anchor = function Anchor(props) {
|
|
121
|
+
return (0,jsx_runtime_.jsx)("a", collapsible_menu_assign({}, props));
|
|
122
|
+
};
|
|
123
|
+
Anchor.displayName = 'CollapsibleMenuAnchor';
|
|
124
|
+
var CollapsibleMenu = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
125
|
+
var _a = (0,getMergedProps/* getMergedProps */.p)(props, collapsibleMenuProps),
|
|
126
|
+
className = _a.className,
|
|
127
|
+
style = _a.style,
|
|
128
|
+
items = _a.items,
|
|
129
|
+
activeKey = _a.activeKey,
|
|
130
|
+
onActiveKeyChange = _a.onActiveKeyChange,
|
|
131
|
+
_b = _a.indent,
|
|
132
|
+
indent = _b === void 0 ? 12 : _b,
|
|
133
|
+
linkComponent = _a.linkComponent;
|
|
134
|
+
var Link = linkComponent !== null && linkComponent !== void 0 ? linkComponent : Anchor;
|
|
135
|
+
var rootClassName = (0,classNames/* classNames */.x)(className, 'collapsible-menu');
|
|
136
|
+
var _hasActiveDescendant = function hasActiveDescendant(item) {
|
|
137
|
+
var _a, _b;
|
|
138
|
+
if (!activeKey) return false;
|
|
139
|
+
if (item.key === activeKey) return true;
|
|
140
|
+
return (_b = (_a = item.children) === null || _a === void 0 ? void 0 : _a.some(_hasActiveDescendant)) !== null && _b !== void 0 ? _b : false;
|
|
141
|
+
};
|
|
142
|
+
var _renderItems = function renderItems(targetItems, depth) {
|
|
143
|
+
var indentStyle = {
|
|
144
|
+
paddingLeft: "".concat(depth * indent, "px")
|
|
145
|
+
};
|
|
146
|
+
return targetItems.map(function (item) {
|
|
147
|
+
var _a;
|
|
148
|
+
var hasChildren = !!((_a = item.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
149
|
+
var isActive = activeKey === item.key;
|
|
150
|
+
if (hasChildren) {
|
|
151
|
+
var triggerClassName = (0,classNames/* classNames */.x)('collapsible-menu-trigger', 'collapsible-menu-row', _hasActiveDescendant(item) && 'is-active');
|
|
152
|
+
return (0,jsx_runtime_.jsxs)(base_collapsible_menu, {
|
|
153
|
+
defaultOpen: item.defaultOpen,
|
|
154
|
+
disabled: item.disabled,
|
|
155
|
+
children: [(0,jsx_runtime_.jsx)(base_collapsible_menu.Trigger, {
|
|
156
|
+
className: triggerClassName,
|
|
157
|
+
disabled: item.disabled,
|
|
158
|
+
children: (0,jsx_runtime_.jsx)("span", {
|
|
159
|
+
className: 'collapsible-menu-left',
|
|
160
|
+
style: indentStyle,
|
|
161
|
+
children: item.item
|
|
162
|
+
})
|
|
163
|
+
}), (0,jsx_runtime_.jsx)(base_collapsible_menu.Content, {
|
|
164
|
+
className: 'collapsible-menu-content',
|
|
165
|
+
children: item.children ? _renderItems(item.children, depth + 1) : null
|
|
166
|
+
})]
|
|
167
|
+
}, item.key);
|
|
168
|
+
}
|
|
169
|
+
var itemClassName = (0,classNames/* classNames */.x)('collapsible-menu-item', 'collapsible-menu-row', isActive && 'is-active');
|
|
170
|
+
var left = (0,jsx_runtime_.jsx)("span", {
|
|
171
|
+
className: 'collapsible-menu-left',
|
|
172
|
+
style: indentStyle,
|
|
173
|
+
children: item.item
|
|
174
|
+
});
|
|
175
|
+
if (item.href) {
|
|
176
|
+
return (0,jsx_runtime_.jsx)(Link, {
|
|
177
|
+
className: itemClassName,
|
|
178
|
+
href: item.href,
|
|
179
|
+
"aria-current": isActive ? 'page' : undefined,
|
|
180
|
+
"aria-disabled": item.disabled ? 'true' : undefined,
|
|
181
|
+
onClick: function onClick(e) {
|
|
182
|
+
var _a;
|
|
183
|
+
if (item.disabled) {
|
|
184
|
+
e.preventDefault();
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
onActiveKeyChange === null || onActiveKeyChange === void 0 ? void 0 : onActiveKeyChange(item.key);
|
|
188
|
+
(_a = item.onSelect) === null || _a === void 0 ? void 0 : _a.call(item);
|
|
189
|
+
},
|
|
190
|
+
children: left
|
|
191
|
+
}, item.key);
|
|
192
|
+
}
|
|
193
|
+
return (0,jsx_runtime_.jsx)("button", {
|
|
194
|
+
type: 'button',
|
|
195
|
+
className: itemClassName,
|
|
196
|
+
disabled: item.disabled,
|
|
197
|
+
onClick: function onClick() {
|
|
198
|
+
var _a;
|
|
199
|
+
onActiveKeyChange === null || onActiveKeyChange === void 0 ? void 0 : onActiveKeyChange(item.key);
|
|
200
|
+
(_a = item.onSelect) === null || _a === void 0 ? void 0 : _a.call(item);
|
|
201
|
+
},
|
|
202
|
+
children: left
|
|
203
|
+
}, item.key);
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
return (0,jsx_runtime_.jsx)("nav", {
|
|
207
|
+
ref: ref,
|
|
208
|
+
className: rootClassName,
|
|
209
|
+
style: style,
|
|
210
|
+
"aria-label": 'Collapsible menu',
|
|
211
|
+
children: _renderItems(items, 0)
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
CollapsibleMenu.displayName = 'CollapsibleMenu';
|
|
215
|
+
/* harmony default export */ const collapsible_menu = (CollapsibleMenu);
|
|
216
|
+
|
|
217
|
+
/***/ },
|
|
218
|
+
|
|
219
|
+
/***/ 0
|
|
220
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
221
|
+
|
|
222
|
+
var x = (y) => {
|
|
223
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
224
|
+
}
|
|
225
|
+
var y = (x) => (() => (x))
|
|
226
|
+
module.exports = x({ ["Collapsible"]: () => (__WEBPACK_EXTERNAL_MODULE_radix_ui_3bc96d1b__.Collapsible) });
|
|
227
|
+
|
|
228
|
+
/***/ },
|
|
229
|
+
|
|
230
|
+
/***/ 1041
|
|
231
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
232
|
+
|
|
233
|
+
var x = (y) => {
|
|
234
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
235
|
+
}
|
|
236
|
+
var y = (x) => (() => (x))
|
|
237
|
+
module.exports = x({ ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef) });
|
|
238
|
+
|
|
239
|
+
/***/ },
|
|
240
|
+
|
|
241
|
+
/***/ 612
|
|
242
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
243
|
+
|
|
244
|
+
var x = (y) => {
|
|
245
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
246
|
+
}
|
|
247
|
+
var y = (x) => (() => (x))
|
|
248
|
+
module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
|
|
249
|
+
|
|
250
|
+
/***/ }
|
|
251
|
+
|
|
252
|
+
/******/ });
|
|
253
|
+
/************************************************************************/
|
|
254
|
+
/******/ // The module cache
|
|
255
|
+
/******/ var __webpack_module_cache__ = {};
|
|
256
|
+
/******/
|
|
257
|
+
/******/ // The require function
|
|
258
|
+
/******/ function __nuri_require__(moduleId) {
|
|
259
|
+
/******/ // Check if module is in cache
|
|
260
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
261
|
+
/******/ if (cachedModule !== undefined) {
|
|
262
|
+
/******/ return cachedModule.exports;
|
|
263
|
+
/******/ }
|
|
264
|
+
/******/ // Create a new module (and put it into the cache)
|
|
265
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
266
|
+
/******/ // no module.id needed
|
|
267
|
+
/******/ // no module.loaded needed
|
|
268
|
+
/******/ exports: {}
|
|
269
|
+
/******/ };
|
|
270
|
+
/******/
|
|
271
|
+
/******/ // Execute the module function
|
|
272
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
|
|
273
|
+
/******/
|
|
274
|
+
/******/ // Return the exports of the module
|
|
275
|
+
/******/ return module.exports;
|
|
276
|
+
/******/ }
|
|
277
|
+
/******/
|
|
278
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
279
|
+
/******/ __nuri_require__.m = __webpack_modules__;
|
|
280
|
+
/******/
|
|
281
|
+
/************************************************************************/
|
|
282
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
283
|
+
/******/ (() => {
|
|
284
|
+
/******/ var deferred = [];
|
|
285
|
+
/******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
|
|
286
|
+
/******/ if(chunkIds) {
|
|
287
|
+
/******/ priority = priority || 0;
|
|
288
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
289
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
290
|
+
/******/ return;
|
|
291
|
+
/******/ }
|
|
292
|
+
/******/ var notFulfilled = Infinity;
|
|
293
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
294
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
295
|
+
/******/ var fulfilled = true;
|
|
296
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
297
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
|
|
298
|
+
/******/ chunkIds.splice(j--, 1);
|
|
299
|
+
/******/ } else {
|
|
300
|
+
/******/ fulfilled = false;
|
|
301
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
302
|
+
/******/ }
|
|
303
|
+
/******/ }
|
|
304
|
+
/******/ if(fulfilled) {
|
|
305
|
+
/******/ deferred.splice(i--, 1)
|
|
306
|
+
/******/ var r = fn();
|
|
307
|
+
/******/ if (r !== undefined) result = r;
|
|
308
|
+
/******/ }
|
|
309
|
+
/******/ }
|
|
310
|
+
/******/ return result;
|
|
311
|
+
/******/ };
|
|
312
|
+
/******/ })();
|
|
313
|
+
/******/
|
|
314
|
+
/******/ /* webpack/runtime/define property getters */
|
|
315
|
+
/******/ (() => {
|
|
316
|
+
/******/ // define getter functions for harmony exports
|
|
317
|
+
/******/ __nuri_require__.d = (exports, definition) => {
|
|
318
|
+
/******/ for(var key in definition) {
|
|
319
|
+
/******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
|
|
320
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
321
|
+
/******/ }
|
|
322
|
+
/******/ }
|
|
323
|
+
/******/ };
|
|
324
|
+
/******/ })();
|
|
325
|
+
/******/
|
|
326
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
327
|
+
/******/ (() => {
|
|
328
|
+
/******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
329
|
+
/******/ })();
|
|
330
|
+
/******/
|
|
331
|
+
/******/ /* webpack/runtime/export webpack runtime */
|
|
332
|
+
/******/ export { __nuri_require__ };
|
|
333
|
+
/******/
|
|
334
|
+
/******/ /* webpack/runtime/import chunk loading */
|
|
335
|
+
/******/ (() => {
|
|
336
|
+
/******/ // no baseURI
|
|
337
|
+
/******/
|
|
338
|
+
/******/ // object to store loaded and loading chunks
|
|
339
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
340
|
+
/******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
341
|
+
/******/ var installedChunks = {
|
|
342
|
+
/******/ 311: 0
|
|
343
|
+
/******/ };
|
|
344
|
+
/******/
|
|
345
|
+
/******/ var installChunk = (data) => {
|
|
346
|
+
/******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
|
|
347
|
+
/******/ // add "modules" to the modules object,
|
|
348
|
+
/******/ // then flag all "ids" as loaded and fire callback
|
|
349
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
350
|
+
/******/ for(moduleId in __webpack_esm_modules__) {
|
|
351
|
+
/******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
|
|
352
|
+
/******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
|
|
353
|
+
/******/ }
|
|
354
|
+
/******/ }
|
|
355
|
+
/******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
|
|
356
|
+
/******/ for(;i < __webpack_esm_ids__.length; i++) {
|
|
357
|
+
/******/ chunkId = __webpack_esm_ids__[i];
|
|
358
|
+
/******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
359
|
+
/******/ installedChunks[chunkId][0]();
|
|
360
|
+
/******/ }
|
|
361
|
+
/******/ installedChunks[__webpack_esm_ids__[i]] = 0;
|
|
362
|
+
/******/ }
|
|
363
|
+
/******/ __nuri_require__.O();
|
|
364
|
+
/******/ }
|
|
365
|
+
/******/
|
|
366
|
+
/******/ // no chunk on demand loading
|
|
367
|
+
/******/
|
|
368
|
+
/******/ // no prefetching
|
|
369
|
+
/******/
|
|
370
|
+
/******/ // no preloaded
|
|
371
|
+
/******/
|
|
372
|
+
/******/ __nuri_require__.C = installChunk;
|
|
373
|
+
/******/
|
|
374
|
+
/******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
375
|
+
/******/ // no HMR
|
|
376
|
+
/******/
|
|
377
|
+
/******/ // no HMR manifest
|
|
378
|
+
/******/ })();
|
|
379
|
+
/******/
|
|
380
|
+
/************************************************************************/
|
|
381
|
+
/******/
|
|
382
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
|
|
383
|
+
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
384
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-917.js";
|
|
385
|
+
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
386
|
+
/******/
|
|
387
|
+
/******/ // startup
|
|
388
|
+
/******/ // Load entry module and return exports
|
|
389
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
390
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364,917], () => (__nuri_require__(5932)))
|
|
391
|
+
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
392
|
+
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
393
|
+
/******/ export { __webpack_exports__default as default };
|
|
394
|
+
/******/
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
+
export declare const sizes: readonly ["s", "m", "l", "xl"];
|
|
1
2
|
export declare const avatarProps: {
|
|
2
|
-
size:
|
|
3
|
-
type: "className";
|
|
4
|
-
className: string;
|
|
5
|
-
values: readonly ["xl", "l", "m", "s"];
|
|
6
|
-
default: "m";
|
|
7
|
-
};
|
|
3
|
+
size: import("../../helpers/types/propsDef").ClassNamePropsType<readonly ["s", "m", "l", "xl"]>;
|
|
8
4
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
2
|
+
import { AsChildProps, StyleProps } from '../../helpers/types/common-props';
|
|
3
|
+
import { sizes } from './avatar-props';
|
|
4
|
+
export interface BaseAvatarProps extends AsChildProps, StyleProps {
|
|
3
5
|
src?: string;
|
|
4
6
|
alt?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
className?: string;
|
|
7
|
-
asChild?: boolean;
|
|
8
7
|
}
|
|
9
8
|
export interface AvatarProps extends Omit<BaseAvatarProps, 'asChild'> {
|
|
10
|
-
size:
|
|
9
|
+
size: (typeof sizes)[number];
|
|
11
10
|
badgeOption?: ReactNode | string;
|
|
12
11
|
}
|
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react
|
|
1
|
+
import type { StoryObj } from '@storybook/react-webpack5';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: import("react").ForwardRefExoticComponent<import("./avatar-type").AvatarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
argTypes: {
|
|
6
|
+
size: {
|
|
7
|
+
control: {
|
|
8
|
+
type: "select";
|
|
9
|
+
};
|
|
10
|
+
options: readonly ["s", "m", "l", "xl"];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
args: {
|
|
14
|
+
size: "m";
|
|
15
|
+
src: string;
|
|
16
|
+
};
|
|
5
17
|
};
|
|
6
18
|
export default meta;
|
|
7
19
|
type Story = StoryObj<typeof meta>;
|
|
8
20
|
export declare const Default: Story;
|
|
21
|
+
export declare const Sizes: Story;
|
|
22
|
+
/** 이미지를 불러오지 못하면 기본 아바타 아이콘이 보인다. */
|
|
23
|
+
export declare const Fallback: Story;
|
|
24
|
+
export declare const WithoutBadge: Story;
|
|
@@ -1,95 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
export declare const variant: readonly ["neutral", "primary", "danger", "outlined"];
|
|
2
|
+
export declare const sizes: readonly ["xs", "s", "m", "l", "xl"];
|
|
3
3
|
export declare const iconTextBadgeProps: {
|
|
4
|
-
|
|
4
|
+
variant: {
|
|
5
5
|
type: "className";
|
|
6
6
|
className: string;
|
|
7
|
-
values: readonly ["
|
|
8
|
-
default: "
|
|
9
|
-
};
|
|
10
|
-
borderColor: {
|
|
11
|
-
type: "css";
|
|
12
|
-
key: "borderColor";
|
|
13
|
-
values: (keyof typeof colors)[];
|
|
14
|
-
default: "transparent";
|
|
15
|
-
};
|
|
16
|
-
color: {
|
|
17
|
-
type: "css";
|
|
18
|
-
key: "color";
|
|
19
|
-
values: (keyof typeof colors)[];
|
|
20
|
-
default: "black";
|
|
21
|
-
};
|
|
22
|
-
backgroundColor: {
|
|
23
|
-
type: "css";
|
|
24
|
-
key: "backgroundColor";
|
|
25
|
-
values: (keyof typeof colors)[];
|
|
26
|
-
default: "white";
|
|
27
|
-
};
|
|
28
|
-
width: {
|
|
29
|
-
type: "css";
|
|
30
|
-
key: "width";
|
|
31
|
-
default: string;
|
|
7
|
+
values: readonly ["neutral", "primary", "danger", "outlined"];
|
|
8
|
+
default: "neutral";
|
|
32
9
|
};
|
|
10
|
+
size: import("../../helpers/types/propsDef").ClassNamePropsType<readonly ["xs", "s", "m", "l", "xl"]>;
|
|
11
|
+
width: import("../../helpers/types/propsDef").CSSPropsTypeWithoutValues<string | number>;
|
|
33
12
|
};
|
|
34
13
|
export declare const iconTextOptionBadgeProps: {
|
|
35
|
-
|
|
14
|
+
variant: {
|
|
36
15
|
type: "className";
|
|
37
16
|
className: string;
|
|
38
|
-
values: readonly ["
|
|
39
|
-
default: "
|
|
40
|
-
};
|
|
41
|
-
borderColor: {
|
|
42
|
-
type: "css";
|
|
43
|
-
key: "borderColor";
|
|
44
|
-
values: (keyof typeof colors)[];
|
|
45
|
-
default: "transparent";
|
|
46
|
-
};
|
|
47
|
-
color: {
|
|
48
|
-
type: "css";
|
|
49
|
-
key: "color";
|
|
50
|
-
values: (keyof typeof colors)[];
|
|
51
|
-
default: "black";
|
|
52
|
-
};
|
|
53
|
-
backgroundColor: {
|
|
54
|
-
type: "css";
|
|
55
|
-
key: "backgroundColor";
|
|
56
|
-
values: (keyof typeof colors)[];
|
|
57
|
-
default: "white";
|
|
58
|
-
};
|
|
59
|
-
width: {
|
|
60
|
-
type: "css";
|
|
61
|
-
key: "width";
|
|
62
|
-
default: string;
|
|
17
|
+
values: readonly ["neutral", "primary", "danger", "outlined"];
|
|
18
|
+
default: "neutral";
|
|
63
19
|
};
|
|
20
|
+
size: import("../../helpers/types/propsDef").ClassNamePropsType<readonly ["xs", "s", "m", "l", "xl"]>;
|
|
21
|
+
width: import("../../helpers/types/propsDef").CSSPropsTypeWithoutValues<string | number>;
|
|
64
22
|
};
|
|
65
23
|
export declare const optionBadgeProps: {
|
|
66
|
-
|
|
24
|
+
variant: {
|
|
67
25
|
type: "className";
|
|
68
26
|
className: string;
|
|
69
|
-
values: readonly ["
|
|
70
|
-
default: "
|
|
71
|
-
};
|
|
72
|
-
borderColor: {
|
|
73
|
-
type: "css";
|
|
74
|
-
key: "borderColor";
|
|
75
|
-
values: (keyof typeof colors)[];
|
|
76
|
-
default: "transparent";
|
|
77
|
-
};
|
|
78
|
-
color: {
|
|
79
|
-
type: "css";
|
|
80
|
-
key: "color";
|
|
81
|
-
values: (keyof typeof colors)[];
|
|
82
|
-
default: "black";
|
|
83
|
-
};
|
|
84
|
-
backgroundColor: {
|
|
85
|
-
type: "css";
|
|
86
|
-
key: "backgroundColor";
|
|
87
|
-
values: (keyof typeof colors)[];
|
|
88
|
-
default: "white";
|
|
89
|
-
};
|
|
90
|
-
width: {
|
|
91
|
-
type: "css";
|
|
92
|
-
key: "width";
|
|
93
|
-
default: string;
|
|
27
|
+
values: readonly ["neutral", "primary", "danger", "outlined"];
|
|
28
|
+
default: "neutral";
|
|
94
29
|
};
|
|
30
|
+
size: import("../../helpers/types/propsDef").ClassNamePropsType<readonly ["xs", "s", "m", "l", "xl"]>;
|
|
31
|
+
width: import("../../helpers/types/propsDef").CSSPropsTypeWithoutValues<string | number>;
|
|
95
32
|
};
|
|
@@ -1,8 +1,44 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import { AsChildProps } from '../../helpers/types/common-props';
|
|
3
|
+
import { direction } from '../tooltip/tooltip-props';
|
|
4
|
+
import { sizes, variant } from './badge-props';
|
|
5
|
+
export interface CommonBadgeProps extends AsChildProps {
|
|
4
6
|
children?: ReactNode;
|
|
5
7
|
className?: string;
|
|
6
8
|
}
|
|
7
9
|
export interface BaseBadgeProps extends React.HTMLAttributes<HTMLDivElement>, CommonBadgeProps {
|
|
8
10
|
}
|
|
11
|
+
export interface OptionBadgeProps extends Pick<CommonBadgeProps, 'asChild' | 'className'> {
|
|
12
|
+
variant?: (typeof variant)[number];
|
|
13
|
+
width?: number | string;
|
|
14
|
+
size?: (typeof sizes)[number];
|
|
15
|
+
option: ReactNode;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
tooltip?: {
|
|
18
|
+
content: React.ReactNode;
|
|
19
|
+
position?: (typeof direction)[number];
|
|
20
|
+
delayDuration?: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface IconTextBadgeProps extends Pick<CommonBadgeProps, 'asChild' | 'className'> {
|
|
24
|
+
variant?: (typeof variant)[number];
|
|
25
|
+
width?: number | string;
|
|
26
|
+
size?: (typeof sizes)[number];
|
|
27
|
+
icon: ReactNode;
|
|
28
|
+
text: ReactNode;
|
|
29
|
+
style?: React.CSSProperties;
|
|
30
|
+
tooltip?: {
|
|
31
|
+
content: React.ReactNode;
|
|
32
|
+
position?: (typeof direction)[number];
|
|
33
|
+
delayDuration?: number;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface IconTextOptionBadgeProps extends Pick<CommonBadgeProps, 'className'> {
|
|
37
|
+
variant?: (typeof variant)[number];
|
|
38
|
+
width?: number | string;
|
|
39
|
+
size?: (typeof sizes)[number];
|
|
40
|
+
icon: ReactNode;
|
|
41
|
+
text: ReactNode;
|
|
42
|
+
option: ReactNode;
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
}
|
|
@@ -1,8 +1,31 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react
|
|
1
|
+
import type { StoryObj } from '@storybook/react-webpack5';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<import("./
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("./badge-type").IconTextBadgeProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
argTypes: {
|
|
6
|
+
variant: {
|
|
7
|
+
control: {
|
|
8
|
+
type: "select";
|
|
9
|
+
};
|
|
10
|
+
options: readonly ["neutral", "primary", "danger", "outlined"];
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
control: {
|
|
14
|
+
type: "select";
|
|
15
|
+
};
|
|
16
|
+
options: readonly ["xs", "s", "m", "l", "xl"];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
args: {
|
|
20
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
text: string;
|
|
22
|
+
};
|
|
5
23
|
};
|
|
6
24
|
export default meta;
|
|
7
25
|
type Story = StoryObj<typeof meta>;
|
|
8
26
|
export declare const Default: Story;
|
|
27
|
+
export declare const IconText: Story;
|
|
28
|
+
export declare const Option: Story;
|
|
29
|
+
export declare const IconTextOption: Story;
|
|
30
|
+
export declare const Variants: Story;
|
|
31
|
+
export declare const WithTooltip: Story;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { BaseBadgeProps } from './badge-type';
|
|
2
|
-
|
|
2
|
+
declare const BaseBadge: import("react").ForwardRefExoticComponent<BaseBadgeProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export default BaseBadge;
|