@dbcdk/react-components 0.0.209 → 0.0.210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.cjs +10 -0
- package/dist/client.d.ts +4 -0
- package/dist/client.js +2 -0
- package/dist/components/forms/markdown-editor/MarkdownEditor.cjs +475 -0
- package/dist/components/forms/markdown-editor/MarkdownEditor.d.ts +68 -0
- package/dist/components/forms/markdown-editor/MarkdownEditor.js +468 -0
- package/dist/components/forms/markdown-editor/MarkdownEditor.module.css +202 -0
- package/dist/components/forms/markdown-editor/MarkdownViewer.cjs +29 -0
- package/dist/components/forms/markdown-editor/MarkdownViewer.d.ts +27 -0
- package/dist/components/forms/markdown-editor/MarkdownViewer.js +23 -0
- package/dist/components/forms/markdown-editor/MarkdownViewer.module.css +97 -0
- package/dist/components/forms/markdown-editor/markdown.utils.cjs +325 -0
- package/dist/components/forms/markdown-editor/markdown.utils.d.ts +66 -0
- package/dist/components/forms/markdown-editor/markdown.utils.js +310 -0
- package/dist/components/listbox/Listbox.cjs +2 -2
- package/dist/components/listbox/Listbox.d.ts +2 -2
- package/dist/components/listbox/Listbox.js +2 -2
- package/dist/components/meta-bar/MetaBar.cjs +2 -2
- package/dist/components/meta-bar/MetaBar.d.ts +2 -1
- package/dist/components/meta-bar/MetaBar.js +2 -2
- package/dist/components/meta-bar/MetaBar.module.css +7 -0
- package/dist/components/overlay/tooltip/TooltipProvider.cjs +10 -1
- package/dist/components/overlay/tooltip/TooltipProvider.js +11 -2
- package/dist/components/overlay/tooltip/useTooltipTrigger.cjs +9 -2
- package/dist/components/overlay/tooltip/useTooltipTrigger.js +9 -2
- package/dist/components/sidebar/components/sidebar-container/SidebarContainer.cjs +1 -1
- package/dist/components/sidebar/components/sidebar-container/SidebarContainer.js +1 -1
- package/dist/components/tabs/Tabs.cjs +83 -69
- package/dist/components/tabs/Tabs.d.ts +5 -1
- package/dist/components/tabs/Tabs.js +83 -69
- package/dist/components/tabs/Tabs.module.css +39 -0
- package/dist/index.cjs +213 -208
- package/dist/index.css +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/package.json +4 -1
package/dist/index.cjs
CHANGED
|
@@ -52,318 +52,323 @@ var TreeView = require('./components/tree-view/TreeView');
|
|
|
52
52
|
var SplitButton = require('./components/split-button/SplitButton');
|
|
53
53
|
var ChipMultiToggle = require('./components/filtering/chip-multi-toggle/ChipMultiToggle');
|
|
54
54
|
var CheckboxGroup = require('./components/forms/checkbox-group/CheckboxGroup');
|
|
55
|
+
var MarkdownViewer = require('./components/forms/markdown-editor/MarkdownViewer');
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
|
|
59
|
+
Object.defineProperty(exports, "MarkdownViewer", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () { return MarkdownViewer.MarkdownViewer; }
|
|
62
|
+
});
|
|
58
63
|
Object.keys(colorScheme_constants).forEach(function (k) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return colorScheme_constants[k]; }
|
|
67
|
+
});
|
|
63
68
|
});
|
|
64
69
|
Object.keys(ThemeScript).forEach(function (k) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
70
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return ThemeScript[k]; }
|
|
73
|
+
});
|
|
69
74
|
});
|
|
70
75
|
Object.keys(theme_constants).forEach(function (k) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return theme_constants[k]; }
|
|
79
|
+
});
|
|
75
80
|
});
|
|
76
81
|
Object.keys(types).forEach(function (k) {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
82
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return types[k]; }
|
|
85
|
+
});
|
|
81
86
|
});
|
|
82
87
|
Object.keys(Icon).forEach(function (k) {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return Icon[k]; }
|
|
91
|
+
});
|
|
87
92
|
});
|
|
88
93
|
Object.keys(UserDisplay).forEach(function (k) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return UserDisplay[k]; }
|
|
97
|
+
});
|
|
93
98
|
});
|
|
94
99
|
Object.keys(Headline).forEach(function (k) {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return Headline[k]; }
|
|
103
|
+
});
|
|
99
104
|
});
|
|
100
105
|
Object.keys(SectionLabel).forEach(function (k) {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
106
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () { return SectionLabel[k]; }
|
|
109
|
+
});
|
|
105
110
|
});
|
|
106
111
|
Object.keys(useStickyLayout).forEach(function (k) {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return useStickyLayout[k]; }
|
|
115
|
+
});
|
|
111
116
|
});
|
|
112
117
|
Object.keys(PageLayout).forEach(function (k) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
118
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function () { return PageLayout[k]; }
|
|
121
|
+
});
|
|
117
122
|
});
|
|
118
123
|
Object.keys(Footer).forEach(function (k) {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
124
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return Footer[k]; }
|
|
127
|
+
});
|
|
123
128
|
});
|
|
124
129
|
Object.keys(Card).forEach(function (k) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () { return Card[k]; }
|
|
133
|
+
});
|
|
129
134
|
});
|
|
130
135
|
Object.keys(printSelection).forEach(function (k) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
136
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return printSelection[k]; }
|
|
139
|
+
});
|
|
135
140
|
});
|
|
136
141
|
Object.keys(CardContainer).forEach(function (k) {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
142
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () { return CardContainer[k]; }
|
|
145
|
+
});
|
|
141
146
|
});
|
|
142
147
|
Object.keys(SkeletonLoaderItem).forEach(function (k) {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
148
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return SkeletonLoaderItem[k]; }
|
|
151
|
+
});
|
|
147
152
|
});
|
|
148
153
|
Object.keys(SkeletonLoader).forEach(function (k) {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function () { return SkeletonLoader[k]; }
|
|
157
|
+
});
|
|
153
158
|
});
|
|
154
159
|
Object.keys(Page).forEach(function (k) {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
160
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () { return Page[k]; }
|
|
163
|
+
});
|
|
159
164
|
});
|
|
160
165
|
Object.keys(Breadcrumbs).forEach(function (k) {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
166
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
167
|
+
enumerable: true,
|
|
168
|
+
get: function () { return Breadcrumbs[k]; }
|
|
169
|
+
});
|
|
165
170
|
});
|
|
166
171
|
Object.keys(Circle).forEach(function (k) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
172
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () { return Circle[k]; }
|
|
175
|
+
});
|
|
171
176
|
});
|
|
172
177
|
Object.keys(Badge).forEach(function (k) {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
178
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
179
|
+
enumerable: true,
|
|
180
|
+
get: function () { return Badge[k]; }
|
|
181
|
+
});
|
|
177
182
|
});
|
|
178
183
|
Object.keys(chartColors).forEach(function (k) {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
184
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
185
|
+
enumerable: true,
|
|
186
|
+
get: function () { return chartColors[k]; }
|
|
187
|
+
});
|
|
183
188
|
});
|
|
184
189
|
Object.keys(chartColors_types).forEach(function (k) {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
190
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
191
|
+
enumerable: true,
|
|
192
|
+
get: function () { return chartColors_types[k]; }
|
|
193
|
+
});
|
|
189
194
|
});
|
|
190
195
|
Object.keys(severity_types).forEach(function (k) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
196
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function () { return severity_types[k]; }
|
|
199
|
+
});
|
|
195
200
|
});
|
|
196
201
|
Object.keys(AppHeader).forEach(function (k) {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
202
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
203
|
+
enumerable: true,
|
|
204
|
+
get: function () { return AppHeader[k]; }
|
|
205
|
+
});
|
|
201
206
|
});
|
|
202
207
|
Object.keys(nestedFiltering).forEach(function (k) {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
208
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () { return nestedFiltering[k]; }
|
|
211
|
+
});
|
|
207
212
|
});
|
|
208
213
|
Object.keys(formatDate).forEach(function (k) {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
214
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
215
|
+
enumerable: true,
|
|
216
|
+
get: function () { return formatDate[k]; }
|
|
217
|
+
});
|
|
213
218
|
});
|
|
214
219
|
Object.keys(mimeTypes).forEach(function (k) {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
220
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function () { return mimeTypes[k]; }
|
|
223
|
+
});
|
|
219
224
|
});
|
|
220
225
|
Object.keys(clipboard_utils).forEach(function (k) {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
226
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function () { return clipboard_utils[k]; }
|
|
229
|
+
});
|
|
225
230
|
});
|
|
226
231
|
Object.keys(AttributeChip).forEach(function (k) {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
232
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function () { return AttributeChip[k]; }
|
|
235
|
+
});
|
|
231
236
|
});
|
|
232
237
|
Object.keys(MetaBar).forEach(function (k) {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
238
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function () { return MetaBar[k]; }
|
|
241
|
+
});
|
|
237
242
|
});
|
|
238
243
|
Object.keys(FadeOverlay).forEach(function (k) {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
244
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
245
|
+
enumerable: true,
|
|
246
|
+
get: function () { return FadeOverlay[k]; }
|
|
247
|
+
});
|
|
243
248
|
});
|
|
244
249
|
Object.keys(InputContainer).forEach(function (k) {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
250
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: function () { return InputContainer[k]; }
|
|
253
|
+
});
|
|
249
254
|
});
|
|
250
255
|
Object.keys(Divider).forEach(function (k) {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
256
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
257
|
+
enumerable: true,
|
|
258
|
+
get: function () { return Divider[k]; }
|
|
259
|
+
});
|
|
255
260
|
});
|
|
256
261
|
Object.keys(Grid).forEach(function (k) {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
262
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
263
|
+
enumerable: true,
|
|
264
|
+
get: function () { return Grid[k]; }
|
|
265
|
+
});
|
|
261
266
|
});
|
|
262
267
|
Object.keys(MetricTile).forEach(function (k) {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
268
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: function () { return MetricTile[k]; }
|
|
271
|
+
});
|
|
267
272
|
});
|
|
268
273
|
Object.keys(Stack).forEach(function (k) {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
274
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
275
|
+
enumerable: true,
|
|
276
|
+
get: function () { return Stack[k]; }
|
|
277
|
+
});
|
|
273
278
|
});
|
|
274
279
|
Object.keys(EnvironmentBanner).forEach(function (k) {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
280
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
281
|
+
enumerable: true,
|
|
282
|
+
get: function () { return EnvironmentBanner[k]; }
|
|
283
|
+
});
|
|
279
284
|
});
|
|
280
285
|
Object.keys(Panel).forEach(function (k) {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
286
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
287
|
+
enumerable: true,
|
|
288
|
+
get: function () { return Panel[k]; }
|
|
289
|
+
});
|
|
285
290
|
});
|
|
286
291
|
Object.keys(Toast).forEach(function (k) {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
292
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
293
|
+
enumerable: true,
|
|
294
|
+
get: function () { return Toast[k]; }
|
|
295
|
+
});
|
|
291
296
|
});
|
|
292
297
|
Object.keys(Hyperlink).forEach(function (k) {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
298
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
299
|
+
enumerable: true,
|
|
300
|
+
get: function () { return Hyperlink[k]; }
|
|
301
|
+
});
|
|
297
302
|
});
|
|
298
303
|
Object.keys(StatePage).forEach(function (k) {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
304
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
305
|
+
enumerable: true,
|
|
306
|
+
get: function () { return StatePage[k]; }
|
|
307
|
+
});
|
|
303
308
|
});
|
|
304
309
|
Object.keys(Alert).forEach(function (k) {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
310
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
311
|
+
enumerable: true,
|
|
312
|
+
get: function () { return Alert[k]; }
|
|
313
|
+
});
|
|
309
314
|
});
|
|
310
315
|
Object.keys(Callout).forEach(function (k) {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
316
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
317
|
+
enumerable: true,
|
|
318
|
+
get: function () { return Callout[k]; }
|
|
319
|
+
});
|
|
315
320
|
});
|
|
316
321
|
Object.keys(InlineStatus).forEach(function (k) {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
322
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
323
|
+
enumerable: true,
|
|
324
|
+
get: function () { return InlineStatus[k]; }
|
|
325
|
+
});
|
|
321
326
|
});
|
|
322
327
|
Object.keys(MediaCard).forEach(function (k) {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
328
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
329
|
+
enumerable: true,
|
|
330
|
+
get: function () { return MediaCard[k]; }
|
|
331
|
+
});
|
|
327
332
|
});
|
|
328
333
|
Object.keys(HighlightedText).forEach(function (k) {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
334
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
335
|
+
enumerable: true,
|
|
336
|
+
get: function () { return HighlightedText[k]; }
|
|
337
|
+
});
|
|
333
338
|
});
|
|
334
339
|
Object.keys(ButtonSelect).forEach(function (k) {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
340
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
341
|
+
enumerable: true,
|
|
342
|
+
get: function () { return ButtonSelect[k]; }
|
|
343
|
+
});
|
|
339
344
|
});
|
|
340
345
|
Object.keys(Sidebar).forEach(function (k) {
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
346
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
347
|
+
enumerable: true,
|
|
348
|
+
get: function () { return Sidebar[k]; }
|
|
349
|
+
});
|
|
345
350
|
});
|
|
346
351
|
Object.keys(TreeView).forEach(function (k) {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
352
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
353
|
+
enumerable: true,
|
|
354
|
+
get: function () { return TreeView[k]; }
|
|
355
|
+
});
|
|
351
356
|
});
|
|
352
357
|
Object.keys(SplitButton).forEach(function (k) {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
358
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
359
|
+
enumerable: true,
|
|
360
|
+
get: function () { return SplitButton[k]; }
|
|
361
|
+
});
|
|
357
362
|
});
|
|
358
363
|
Object.keys(ChipMultiToggle).forEach(function (k) {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
364
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
365
|
+
enumerable: true,
|
|
366
|
+
get: function () { return ChipMultiToggle[k]; }
|
|
367
|
+
});
|
|
363
368
|
});
|
|
364
369
|
Object.keys(CheckboxGroup).forEach(function (k) {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
370
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
371
|
+
enumerable: true,
|
|
372
|
+
get: function () { return CheckboxGroup[k]; }
|
|
373
|
+
});
|
|
369
374
|
});
|
package/dist/index.css
CHANGED
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
@import './components/forms/form-select/FormSelect.module.css';
|
|
30
30
|
@import './components/forms/input-container/InputContainer.module.css';
|
|
31
31
|
@import './components/forms/input/Input.module.css';
|
|
32
|
+
@import './components/forms/markdown-editor/MarkdownEditor.module.css';
|
|
33
|
+
@import './components/forms/markdown-editor/MarkdownViewer.module.css';
|
|
32
34
|
@import './components/forms/radio-buttons/RadioButtons.module.css';
|
|
33
35
|
@import './components/forms/select/Select.module.css';
|
|
34
36
|
@import './components/forms/switch/Switch.module.css';
|
package/dist/index.d.ts
CHANGED
|
@@ -51,4 +51,6 @@ export * from './components/tree-view/TreeView';
|
|
|
51
51
|
export * from './components/split-button/SplitButton';
|
|
52
52
|
export * from './components/filtering/chip-multi-toggle/ChipMultiToggle';
|
|
53
53
|
export * from './components/forms/checkbox-group/CheckboxGroup';
|
|
54
|
+
export { MarkdownViewer } from './components/forms/markdown-editor/MarkdownViewer';
|
|
55
|
+
export type { MarkdownViewerProps } from './components/forms/markdown-editor/MarkdownViewer';
|
|
54
56
|
export type { MenuActionItem, MenuButtonItem, MenuLinkItem } from './components/menu/Menu.types';
|
package/dist/index.js
CHANGED
|
@@ -50,3 +50,4 @@ export * from './components/tree-view/TreeView';
|
|
|
50
50
|
export * from './components/split-button/SplitButton';
|
|
51
51
|
export * from './components/filtering/chip-multi-toggle/ChipMultiToggle';
|
|
52
52
|
export * from './components/forms/checkbox-group/CheckboxGroup';
|
|
53
|
+
export { MarkdownViewer } from './components/forms/markdown-editor/MarkdownViewer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbcdk/react-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.210",
|
|
4
4
|
"description": "Reusable React components for DBC projects",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "",
|
|
@@ -133,5 +133,8 @@
|
|
|
133
133
|
},
|
|
134
134
|
"publishConfig": {
|
|
135
135
|
"access": "public"
|
|
136
|
+
},
|
|
137
|
+
"dependencies": {
|
|
138
|
+
"markdown-it": "^15.0.3"
|
|
136
139
|
}
|
|
137
140
|
}
|