@pingux/astro 2.234.1 → 2.236.0-alpha.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/lib/cjs/components/ComboBox/ComboBox.styles.d.ts +897 -0
- package/lib/cjs/components/ComboBox/ComboBoxInput.d.ts +4 -0
- package/lib/cjs/components/ComboBox/ComboBoxInput.js +8 -37
- package/lib/cjs/components/ComboBox/index.d.ts +1 -0
- package/lib/cjs/components/ComboBoxField/ComboBoxField.d.ts +9 -0
- package/lib/cjs/components/ComboBoxField/ComboBoxField.js +11 -133
- package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +5 -4
- package/lib/cjs/components/ComboBoxField/ComboBoxField.test.js +2 -3
- package/lib/cjs/components/ComboBoxField/index.d.ts +1 -0
- package/lib/cjs/components/Tree/Tree.d.ts +9 -0
- package/lib/cjs/components/Tree/Tree.js +48 -0
- package/lib/cjs/components/Tree/Tree.mdx +58 -0
- package/lib/cjs/components/Tree/Tree.stories.js +786 -0
- package/lib/cjs/components/Tree/Tree.styles.d.ts +4 -0
- package/lib/cjs/components/Tree/Tree.styles.js +332 -0
- package/lib/cjs/components/Tree/Tree.test.js +300 -0
- package/lib/cjs/components/Tree/TreeItem.d.ts +22 -0
- package/lib/cjs/components/Tree/TreeItem.js +82 -0
- package/lib/cjs/components/Tree/TreeItemContent.d.ts +11 -0
- package/lib/cjs/components/Tree/TreeItemContent.js +102 -0
- package/lib/cjs/components/Tree/index.d.ts +5 -0
- package/lib/cjs/components/Tree/index.js +52 -0
- package/lib/cjs/components/Tree/useTreeDragAndDrop.d.ts +46 -0
- package/lib/cjs/components/Tree/useTreeDragAndDrop.js +76 -0
- package/lib/cjs/context/TooltipContext/index.js +2 -1
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.d.ts +1 -0
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.js +3 -2
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +4 -0
- package/lib/cjs/hooks/useGridListItem/useGridListItem.d.ts +4 -4
- package/lib/cjs/hooks/useOverlayPanelState/useOverlayPanelState.test.js +3 -1
- package/lib/cjs/hooks/usePagination/usePagination.d.ts +8 -8
- package/lib/cjs/hooks/useStatusClasses/useStatusClasses.js +2 -8
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +43 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +7 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +15 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +15 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/tree.d.ts +15 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/tree.js +160 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +9 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +3 -1
- package/lib/cjs/styles/themeOverrides/onyxSideNav.d.ts +2 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +2 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +3 -1
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +1 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +27 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +15 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +11 -0
- package/lib/cjs/styles/themes/next-gen/variants/tree.d.ts +16 -0
- package/lib/cjs/styles/themes/next-gen/variants/tree.js +153 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +10 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +2 -0
- package/lib/cjs/styles/variants/index.js +3 -1
- package/lib/cjs/styles/variants/variants.js +2 -0
- package/lib/cjs/types/ComboBox.d.ts +36 -0
- package/lib/cjs/types/ComboBox.js +6 -0
- package/lib/cjs/types/ComboBoxField.d.ts +110 -0
- package/lib/cjs/types/ComboBoxField.js +6 -0
- package/lib/cjs/types/index.d.ts +2 -0
- package/lib/cjs/types/index.js +79 -57
- package/lib/cjs/types/popoverContainer.d.ts +1 -0
- package/lib/cjs/types/textField.d.ts +6 -0
- package/lib/cjs/utils/getStatusClasses.d.ts +13 -0
- package/lib/cjs/utils/getStatusClasses.js +29 -0
- package/lib/components/ComboBox/ComboBoxInput.js +8 -37
- package/lib/components/ComboBoxField/ComboBoxField.js +12 -134
- package/lib/components/ComboBoxField/ComboBoxField.stories.js +5 -4
- package/lib/components/ComboBoxField/ComboBoxField.test.js +2 -3
- package/lib/components/Tree/Tree.js +33 -0
- package/lib/components/Tree/Tree.mdx +58 -0
- package/lib/components/Tree/Tree.stories.js +775 -0
- package/lib/components/Tree/Tree.styles.js +325 -0
- package/lib/components/Tree/Tree.test.js +297 -0
- package/lib/components/Tree/TreeItem.js +70 -0
- package/lib/components/Tree/TreeItemContent.js +94 -0
- package/lib/components/Tree/index.js +5 -0
- package/lib/components/Tree/useTreeDragAndDrop.js +69 -0
- package/lib/context/TooltipContext/index.js +2 -1
- package/lib/hooks/useCircularLoader/useCircularLoader.js +3 -2
- package/lib/hooks/useOverlayPanelState/useOverlayPanelState.test.js +3 -1
- package/lib/hooks/useStatusClasses/useStatusClasses.js +2 -8
- package/lib/index.js +1 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +7 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +15 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/tree.js +154 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +3 -1
- package/lib/styles/themes/astro/customProperties/icons.js +3 -1
- package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/styles/themes/next-gen/customProperties/icons.js +1 -1
- package/lib/styles/themes/next-gen/variants/button.js +11 -0
- package/lib/styles/themes/next-gen/variants/tree.js +147 -0
- package/lib/styles/themes/next-gen/variants/variants.js +2 -0
- package/lib/styles/variants/index.js +3 -1
- package/lib/styles/variants/variants.js +2 -0
- package/lib/types/ComboBox.js +1 -0
- package/lib/types/ComboBoxField.js +1 -0
- package/lib/types/index.js +2 -0
- package/lib/utils/getStatusClasses.js +22 -0
- package/package.json +9 -6
package/lib/cjs/types/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9, _context0, _context1, _context10, _context11, _context12, _context13, _context14, _context15, _context16, _context17, _context18, _context19, _context20, _context21, _context22, _context23, _context24, _context25, _context26, _context27, _context28, _context29, _context30, _context31, _context32, _context33, _context34, _context35, _context36, _context37, _context38, _context39, _context40, _context41, _context42, _context43, _context44, _context45, _context46, _context47, _context48, _context49, _context50, _context51, _context52, _context53, _context54, _context55, _context56, _context57, _context58, _context59, _context60, _context61, _context62, _context63, _context64, _context65, _context66, _context67, _context68, _context69, _context70, _context71, _context72, _context73, _context74, _context75;
|
|
3
|
+
var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9, _context0, _context1, _context10, _context11, _context12, _context13, _context14, _context15, _context16, _context17, _context18, _context19, _context20, _context21, _context22, _context23, _context24, _context25, _context26, _context27, _context28, _context29, _context30, _context31, _context32, _context33, _context34, _context35, _context36, _context37, _context38, _context39, _context40, _context41, _context42, _context43, _context44, _context45, _context46, _context47, _context48, _context49, _context50, _context51, _context52, _context53, _context54, _context55, _context56, _context57, _context58, _context59, _context60, _context61, _context62, _context63, _context64, _context65, _context66, _context67, _context68, _context69, _context70, _context71, _context72, _context73, _context74, _context75, _context76, _context77;
|
|
4
4
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
5
5
|
var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
|
6
6
|
var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
|
|
@@ -238,8 +238,30 @@ _forEachInstanceProperty(_context19 = _Object$keys(_colorField)).call(_context19
|
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
});
|
|
241
|
+
var _ComboBox = require("./ComboBox");
|
|
242
|
+
_forEachInstanceProperty(_context20 = _Object$keys(_ComboBox)).call(_context20, function (key) {
|
|
243
|
+
if (key === "default" || key === "__esModule") return;
|
|
244
|
+
if (key in exports && exports[key] === _ComboBox[key]) return;
|
|
245
|
+
_Object$defineProperty(exports, key, {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
get: function get() {
|
|
248
|
+
return _ComboBox[key];
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
var _ComboBoxField = require("./ComboBoxField");
|
|
253
|
+
_forEachInstanceProperty(_context21 = _Object$keys(_ComboBoxField)).call(_context21, function (key) {
|
|
254
|
+
if (key === "default" || key === "__esModule") return;
|
|
255
|
+
if (key in exports && exports[key] === _ComboBoxField[key]) return;
|
|
256
|
+
_Object$defineProperty(exports, key, {
|
|
257
|
+
enumerable: true,
|
|
258
|
+
get: function get() {
|
|
259
|
+
return _ComboBoxField[key];
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
});
|
|
241
263
|
var _copyText = require("./copyText");
|
|
242
|
-
_forEachInstanceProperty(
|
|
264
|
+
_forEachInstanceProperty(_context22 = _Object$keys(_copyText)).call(_context22, function (key) {
|
|
243
265
|
if (key === "default" || key === "__esModule") return;
|
|
244
266
|
if (key in exports && exports[key] === _copyText[key]) return;
|
|
245
267
|
_Object$defineProperty(exports, key, {
|
|
@@ -250,7 +272,7 @@ _forEachInstanceProperty(_context20 = _Object$keys(_copyText)).call(_context20,
|
|
|
250
272
|
});
|
|
251
273
|
});
|
|
252
274
|
var _dataTable = require("./dataTable");
|
|
253
|
-
_forEachInstanceProperty(
|
|
275
|
+
_forEachInstanceProperty(_context23 = _Object$keys(_dataTable)).call(_context23, function (key) {
|
|
254
276
|
if (key === "default" || key === "__esModule") return;
|
|
255
277
|
if (key in exports && exports[key] === _dataTable[key]) return;
|
|
256
278
|
_Object$defineProperty(exports, key, {
|
|
@@ -261,7 +283,7 @@ _forEachInstanceProperty(_context21 = _Object$keys(_dataTable)).call(_context21,
|
|
|
261
283
|
});
|
|
262
284
|
});
|
|
263
285
|
var _datePicker = require("./datePicker");
|
|
264
|
-
_forEachInstanceProperty(
|
|
286
|
+
_forEachInstanceProperty(_context24 = _Object$keys(_datePicker)).call(_context24, function (key) {
|
|
265
287
|
if (key === "default" || key === "__esModule") return;
|
|
266
288
|
if (key in exports && exports[key] === _datePicker[key]) return;
|
|
267
289
|
_Object$defineProperty(exports, key, {
|
|
@@ -272,7 +294,7 @@ _forEachInstanceProperty(_context22 = _Object$keys(_datePicker)).call(_context22
|
|
|
272
294
|
});
|
|
273
295
|
});
|
|
274
296
|
var _emptyState = require("./emptyState");
|
|
275
|
-
_forEachInstanceProperty(
|
|
297
|
+
_forEachInstanceProperty(_context25 = _Object$keys(_emptyState)).call(_context25, function (key) {
|
|
276
298
|
if (key === "default" || key === "__esModule") return;
|
|
277
299
|
if (key in exports && exports[key] === _emptyState[key]) return;
|
|
278
300
|
_Object$defineProperty(exports, key, {
|
|
@@ -283,7 +305,7 @@ _forEachInstanceProperty(_context23 = _Object$keys(_emptyState)).call(_context23
|
|
|
283
305
|
});
|
|
284
306
|
});
|
|
285
307
|
var _environmentBreadcrumb = require("./environmentBreadcrumb");
|
|
286
|
-
_forEachInstanceProperty(
|
|
308
|
+
_forEachInstanceProperty(_context26 = _Object$keys(_environmentBreadcrumb)).call(_context26, function (key) {
|
|
287
309
|
if (key === "default" || key === "__esModule") return;
|
|
288
310
|
if (key in exports && exports[key] === _environmentBreadcrumb[key]) return;
|
|
289
311
|
_Object$defineProperty(exports, key, {
|
|
@@ -294,7 +316,7 @@ _forEachInstanceProperty(_context24 = _Object$keys(_environmentBreadcrumb)).call
|
|
|
294
316
|
});
|
|
295
317
|
});
|
|
296
318
|
var _expandableText = require("./expandableText");
|
|
297
|
-
_forEachInstanceProperty(
|
|
319
|
+
_forEachInstanceProperty(_context27 = _Object$keys(_expandableText)).call(_context27, function (key) {
|
|
298
320
|
if (key === "default" || key === "__esModule") return;
|
|
299
321
|
if (key in exports && exports[key] === _expandableText[key]) return;
|
|
300
322
|
_Object$defineProperty(exports, key, {
|
|
@@ -305,7 +327,7 @@ _forEachInstanceProperty(_context25 = _Object$keys(_expandableText)).call(_conte
|
|
|
305
327
|
});
|
|
306
328
|
});
|
|
307
329
|
var _fieldHelperText = require("./fieldHelperText");
|
|
308
|
-
_forEachInstanceProperty(
|
|
330
|
+
_forEachInstanceProperty(_context28 = _Object$keys(_fieldHelperText)).call(_context28, function (key) {
|
|
309
331
|
if (key === "default" || key === "__esModule") return;
|
|
310
332
|
if (key in exports && exports[key] === _fieldHelperText[key]) return;
|
|
311
333
|
_Object$defineProperty(exports, key, {
|
|
@@ -316,7 +338,7 @@ _forEachInstanceProperty(_context26 = _Object$keys(_fieldHelperText)).call(_cont
|
|
|
316
338
|
});
|
|
317
339
|
});
|
|
318
340
|
var _fileInputField = require("./fileInputField");
|
|
319
|
-
_forEachInstanceProperty(
|
|
341
|
+
_forEachInstanceProperty(_context29 = _Object$keys(_fileInputField)).call(_context29, function (key) {
|
|
320
342
|
if (key === "default" || key === "__esModule") return;
|
|
321
343
|
if (key in exports && exports[key] === _fileInputField[key]) return;
|
|
322
344
|
_Object$defineProperty(exports, key, {
|
|
@@ -327,7 +349,7 @@ _forEachInstanceProperty(_context27 = _Object$keys(_fileInputField)).call(_conte
|
|
|
327
349
|
});
|
|
328
350
|
});
|
|
329
351
|
var _footer = require("./footer");
|
|
330
|
-
_forEachInstanceProperty(
|
|
352
|
+
_forEachInstanceProperty(_context30 = _Object$keys(_footer)).call(_context30, function (key) {
|
|
331
353
|
if (key === "default" || key === "__esModule") return;
|
|
332
354
|
if (key in exports && exports[key] === _footer[key]) return;
|
|
333
355
|
_Object$defineProperty(exports, key, {
|
|
@@ -338,7 +360,7 @@ _forEachInstanceProperty(_context28 = _Object$keys(_footer)).call(_context28, fu
|
|
|
338
360
|
});
|
|
339
361
|
});
|
|
340
362
|
var _grid = require("./grid");
|
|
341
|
-
_forEachInstanceProperty(
|
|
363
|
+
_forEachInstanceProperty(_context31 = _Object$keys(_grid)).call(_context31, function (key) {
|
|
342
364
|
if (key === "default" || key === "__esModule") return;
|
|
343
365
|
if (key in exports && exports[key] === _grid[key]) return;
|
|
344
366
|
_Object$defineProperty(exports, key, {
|
|
@@ -349,7 +371,7 @@ _forEachInstanceProperty(_context29 = _Object$keys(_grid)).call(_context29, func
|
|
|
349
371
|
});
|
|
350
372
|
});
|
|
351
373
|
var _helpHint = require("./helpHint");
|
|
352
|
-
_forEachInstanceProperty(
|
|
374
|
+
_forEachInstanceProperty(_context32 = _Object$keys(_helpHint)).call(_context32, function (key) {
|
|
353
375
|
if (key === "default" || key === "__esModule") return;
|
|
354
376
|
if (key in exports && exports[key] === _helpHint[key]) return;
|
|
355
377
|
_Object$defineProperty(exports, key, {
|
|
@@ -360,7 +382,7 @@ _forEachInstanceProperty(_context30 = _Object$keys(_helpHint)).call(_context30,
|
|
|
360
382
|
});
|
|
361
383
|
});
|
|
362
384
|
var _icon = require("./icon");
|
|
363
|
-
_forEachInstanceProperty(
|
|
385
|
+
_forEachInstanceProperty(_context33 = _Object$keys(_icon)).call(_context33, function (key) {
|
|
364
386
|
if (key === "default" || key === "__esModule") return;
|
|
365
387
|
if (key in exports && exports[key] === _icon[key]) return;
|
|
366
388
|
_Object$defineProperty(exports, key, {
|
|
@@ -371,7 +393,7 @@ _forEachInstanceProperty(_context31 = _Object$keys(_icon)).call(_context31, func
|
|
|
371
393
|
});
|
|
372
394
|
});
|
|
373
395
|
var _iconBadge = require("./iconBadge");
|
|
374
|
-
_forEachInstanceProperty(
|
|
396
|
+
_forEachInstanceProperty(_context34 = _Object$keys(_iconBadge)).call(_context34, function (key) {
|
|
375
397
|
if (key === "default" || key === "__esModule") return;
|
|
376
398
|
if (key in exports && exports[key] === _iconBadge[key]) return;
|
|
377
399
|
_Object$defineProperty(exports, key, {
|
|
@@ -382,7 +404,7 @@ _forEachInstanceProperty(_context32 = _Object$keys(_iconBadge)).call(_context32,
|
|
|
382
404
|
});
|
|
383
405
|
});
|
|
384
406
|
var _iconButton = require("./iconButton");
|
|
385
|
-
_forEachInstanceProperty(
|
|
407
|
+
_forEachInstanceProperty(_context35 = _Object$keys(_iconButton)).call(_context35, function (key) {
|
|
386
408
|
if (key === "default" || key === "__esModule") return;
|
|
387
409
|
if (key in exports && exports[key] === _iconButton[key]) return;
|
|
388
410
|
_Object$defineProperty(exports, key, {
|
|
@@ -393,7 +415,7 @@ _forEachInstanceProperty(_context33 = _Object$keys(_iconButton)).call(_context33
|
|
|
393
415
|
});
|
|
394
416
|
});
|
|
395
417
|
var _iconButtonToggle = require("./iconButtonToggle");
|
|
396
|
-
_forEachInstanceProperty(
|
|
418
|
+
_forEachInstanceProperty(_context36 = _Object$keys(_iconButtonToggle)).call(_context36, function (key) {
|
|
397
419
|
if (key === "default" || key === "__esModule") return;
|
|
398
420
|
if (key in exports && exports[key] === _iconButtonToggle[key]) return;
|
|
399
421
|
_Object$defineProperty(exports, key, {
|
|
@@ -404,7 +426,7 @@ _forEachInstanceProperty(_context34 = _Object$keys(_iconButtonToggle)).call(_con
|
|
|
404
426
|
});
|
|
405
427
|
});
|
|
406
428
|
var _iconWrapper = require("./iconWrapper");
|
|
407
|
-
_forEachInstanceProperty(
|
|
429
|
+
_forEachInstanceProperty(_context37 = _Object$keys(_iconWrapper)).call(_context37, function (key) {
|
|
408
430
|
if (key === "default" || key === "__esModule") return;
|
|
409
431
|
if (key in exports && exports[key] === _iconWrapper[key]) return;
|
|
410
432
|
_Object$defineProperty(exports, key, {
|
|
@@ -415,7 +437,7 @@ _forEachInstanceProperty(_context35 = _Object$keys(_iconWrapper)).call(_context3
|
|
|
415
437
|
});
|
|
416
438
|
});
|
|
417
439
|
var _imageUploadField = require("./imageUploadField");
|
|
418
|
-
_forEachInstanceProperty(
|
|
440
|
+
_forEachInstanceProperty(_context38 = _Object$keys(_imageUploadField)).call(_context38, function (key) {
|
|
419
441
|
if (key === "default" || key === "__esModule") return;
|
|
420
442
|
if (key in exports && exports[key] === _imageUploadField[key]) return;
|
|
421
443
|
_Object$defineProperty(exports, key, {
|
|
@@ -426,7 +448,7 @@ _forEachInstanceProperty(_context36 = _Object$keys(_imageUploadField)).call(_con
|
|
|
426
448
|
});
|
|
427
449
|
});
|
|
428
450
|
var _input = require("./input");
|
|
429
|
-
_forEachInstanceProperty(
|
|
451
|
+
_forEachInstanceProperty(_context39 = _Object$keys(_input)).call(_context39, function (key) {
|
|
430
452
|
if (key === "default" || key === "__esModule") return;
|
|
431
453
|
if (key in exports && exports[key] === _input[key]) return;
|
|
432
454
|
_Object$defineProperty(exports, key, {
|
|
@@ -437,7 +459,7 @@ _forEachInstanceProperty(_context37 = _Object$keys(_input)).call(_context37, fun
|
|
|
437
459
|
});
|
|
438
460
|
});
|
|
439
461
|
var _item = require("./item");
|
|
440
|
-
_forEachInstanceProperty(
|
|
462
|
+
_forEachInstanceProperty(_context40 = _Object$keys(_item)).call(_context40, function (key) {
|
|
441
463
|
if (key === "default" || key === "__esModule") return;
|
|
442
464
|
if (key in exports && exports[key] === _item[key]) return;
|
|
443
465
|
_Object$defineProperty(exports, key, {
|
|
@@ -448,7 +470,7 @@ _forEachInstanceProperty(_context38 = _Object$keys(_item)).call(_context38, func
|
|
|
448
470
|
});
|
|
449
471
|
});
|
|
450
472
|
var _label = require("./label");
|
|
451
|
-
_forEachInstanceProperty(
|
|
473
|
+
_forEachInstanceProperty(_context41 = _Object$keys(_label)).call(_context41, function (key) {
|
|
452
474
|
if (key === "default" || key === "__esModule") return;
|
|
453
475
|
if (key in exports && exports[key] === _label[key]) return;
|
|
454
476
|
_Object$defineProperty(exports, key, {
|
|
@@ -459,7 +481,7 @@ _forEachInstanceProperty(_context39 = _Object$keys(_label)).call(_context39, fun
|
|
|
459
481
|
});
|
|
460
482
|
});
|
|
461
483
|
var _labelValuePairs = require("./labelValuePairs");
|
|
462
|
-
_forEachInstanceProperty(
|
|
484
|
+
_forEachInstanceProperty(_context42 = _Object$keys(_labelValuePairs)).call(_context42, function (key) {
|
|
463
485
|
if (key === "default" || key === "__esModule") return;
|
|
464
486
|
if (key in exports && exports[key] === _labelValuePairs[key]) return;
|
|
465
487
|
_Object$defineProperty(exports, key, {
|
|
@@ -470,7 +492,7 @@ _forEachInstanceProperty(_context40 = _Object$keys(_labelValuePairs)).call(_cont
|
|
|
470
492
|
});
|
|
471
493
|
});
|
|
472
494
|
var _link = require("./link");
|
|
473
|
-
_forEachInstanceProperty(
|
|
495
|
+
_forEachInstanceProperty(_context43 = _Object$keys(_link)).call(_context43, function (key) {
|
|
474
496
|
if (key === "default" || key === "__esModule") return;
|
|
475
497
|
if (key in exports && exports[key] === _link[key]) return;
|
|
476
498
|
_Object$defineProperty(exports, key, {
|
|
@@ -481,7 +503,7 @@ _forEachInstanceProperty(_context41 = _Object$keys(_link)).call(_context41, func
|
|
|
481
503
|
});
|
|
482
504
|
});
|
|
483
505
|
var _listBox = require("./listBox");
|
|
484
|
-
_forEachInstanceProperty(
|
|
506
|
+
_forEachInstanceProperty(_context44 = _Object$keys(_listBox)).call(_context44, function (key) {
|
|
485
507
|
if (key === "default" || key === "__esModule") return;
|
|
486
508
|
if (key in exports && exports[key] === _listBox[key]) return;
|
|
487
509
|
_Object$defineProperty(exports, key, {
|
|
@@ -492,7 +514,7 @@ _forEachInstanceProperty(_context42 = _Object$keys(_listBox)).call(_context42, f
|
|
|
492
514
|
});
|
|
493
515
|
});
|
|
494
516
|
var _listItem = require("./listItem");
|
|
495
|
-
_forEachInstanceProperty(
|
|
517
|
+
_forEachInstanceProperty(_context45 = _Object$keys(_listItem)).call(_context45, function (key) {
|
|
496
518
|
if (key === "default" || key === "__esModule") return;
|
|
497
519
|
if (key in exports && exports[key] === _listItem[key]) return;
|
|
498
520
|
_Object$defineProperty(exports, key, {
|
|
@@ -503,7 +525,7 @@ _forEachInstanceProperty(_context43 = _Object$keys(_listItem)).call(_context43,
|
|
|
503
525
|
});
|
|
504
526
|
});
|
|
505
527
|
var _loader = require("./loader");
|
|
506
|
-
_forEachInstanceProperty(
|
|
528
|
+
_forEachInstanceProperty(_context46 = _Object$keys(_loader)).call(_context46, function (key) {
|
|
507
529
|
if (key === "default" || key === "__esModule") return;
|
|
508
530
|
if (key in exports && exports[key] === _loader[key]) return;
|
|
509
531
|
_Object$defineProperty(exports, key, {
|
|
@@ -514,7 +536,7 @@ _forEachInstanceProperty(_context44 = _Object$keys(_loader)).call(_context44, fu
|
|
|
514
536
|
});
|
|
515
537
|
});
|
|
516
538
|
var _menu = require("./menu");
|
|
517
|
-
_forEachInstanceProperty(
|
|
539
|
+
_forEachInstanceProperty(_context47 = _Object$keys(_menu)).call(_context47, function (key) {
|
|
518
540
|
if (key === "default" || key === "__esModule") return;
|
|
519
541
|
if (key in exports && exports[key] === _menu[key]) return;
|
|
520
542
|
_Object$defineProperty(exports, key, {
|
|
@@ -525,7 +547,7 @@ _forEachInstanceProperty(_context45 = _Object$keys(_menu)).call(_context45, func
|
|
|
525
547
|
});
|
|
526
548
|
});
|
|
527
549
|
var _menuItem = require("./menuItem");
|
|
528
|
-
_forEachInstanceProperty(
|
|
550
|
+
_forEachInstanceProperty(_context48 = _Object$keys(_menuItem)).call(_context48, function (key) {
|
|
529
551
|
if (key === "default" || key === "__esModule") return;
|
|
530
552
|
if (key in exports && exports[key] === _menuItem[key]) return;
|
|
531
553
|
_Object$defineProperty(exports, key, {
|
|
@@ -536,7 +558,7 @@ _forEachInstanceProperty(_context46 = _Object$keys(_menuItem)).call(_context46,
|
|
|
536
558
|
});
|
|
537
559
|
});
|
|
538
560
|
var _menuSection = require("./menuSection");
|
|
539
|
-
_forEachInstanceProperty(
|
|
561
|
+
_forEachInstanceProperty(_context49 = _Object$keys(_menuSection)).call(_context49, function (key) {
|
|
540
562
|
if (key === "default" || key === "__esModule") return;
|
|
541
563
|
if (key in exports && exports[key] === _menuSection[key]) return;
|
|
542
564
|
_Object$defineProperty(exports, key, {
|
|
@@ -547,7 +569,7 @@ _forEachInstanceProperty(_context47 = _Object$keys(_menuSection)).call(_context4
|
|
|
547
569
|
});
|
|
548
570
|
});
|
|
549
571
|
var _messages = require("./messages");
|
|
550
|
-
_forEachInstanceProperty(
|
|
572
|
+
_forEachInstanceProperty(_context50 = _Object$keys(_messages)).call(_context50, function (key) {
|
|
551
573
|
if (key === "default" || key === "__esModule") return;
|
|
552
574
|
if (key in exports && exports[key] === _messages[key]) return;
|
|
553
575
|
_Object$defineProperty(exports, key, {
|
|
@@ -558,7 +580,7 @@ _forEachInstanceProperty(_context48 = _Object$keys(_messages)).call(_context48,
|
|
|
558
580
|
});
|
|
559
581
|
});
|
|
560
582
|
var _Modal = require("./Modal");
|
|
561
|
-
_forEachInstanceProperty(
|
|
583
|
+
_forEachInstanceProperty(_context51 = _Object$keys(_Modal)).call(_context51, function (key) {
|
|
562
584
|
if (key === "default" || key === "__esModule") return;
|
|
563
585
|
if (key in exports && exports[key] === _Modal[key]) return;
|
|
564
586
|
_Object$defineProperty(exports, key, {
|
|
@@ -569,7 +591,7 @@ _forEachInstanceProperty(_context49 = _Object$keys(_Modal)).call(_context49, fun
|
|
|
569
591
|
});
|
|
570
592
|
});
|
|
571
593
|
var _navBar = require("./navBar");
|
|
572
|
-
_forEachInstanceProperty(
|
|
594
|
+
_forEachInstanceProperty(_context52 = _Object$keys(_navBar)).call(_context52, function (key) {
|
|
573
595
|
if (key === "default" || key === "__esModule") return;
|
|
574
596
|
if (key in exports && exports[key] === _navBar[key]) return;
|
|
575
597
|
_Object$defineProperty(exports, key, {
|
|
@@ -580,7 +602,7 @@ _forEachInstanceProperty(_context50 = _Object$keys(_navBar)).call(_context50, fu
|
|
|
580
602
|
});
|
|
581
603
|
});
|
|
582
604
|
var _navSideBar = require("./navSideBar");
|
|
583
|
-
_forEachInstanceProperty(
|
|
605
|
+
_forEachInstanceProperty(_context53 = _Object$keys(_navSideBar)).call(_context53, function (key) {
|
|
584
606
|
if (key === "default" || key === "__esModule") return;
|
|
585
607
|
if (key in exports && exports[key] === _navSideBar[key]) return;
|
|
586
608
|
_Object$defineProperty(exports, key, {
|
|
@@ -591,7 +613,7 @@ _forEachInstanceProperty(_context51 = _Object$keys(_navSideBar)).call(_context51
|
|
|
591
613
|
});
|
|
592
614
|
});
|
|
593
615
|
var _numberField = require("./numberField");
|
|
594
|
-
_forEachInstanceProperty(
|
|
616
|
+
_forEachInstanceProperty(_context54 = _Object$keys(_numberField)).call(_context54, function (key) {
|
|
595
617
|
if (key === "default" || key === "__esModule") return;
|
|
596
618
|
if (key in exports && exports[key] === _numberField[key]) return;
|
|
597
619
|
_Object$defineProperty(exports, key, {
|
|
@@ -602,7 +624,7 @@ _forEachInstanceProperty(_context52 = _Object$keys(_numberField)).call(_context5
|
|
|
602
624
|
});
|
|
603
625
|
});
|
|
604
626
|
var _overlayPanel = require("./overlayPanel");
|
|
605
|
-
_forEachInstanceProperty(
|
|
627
|
+
_forEachInstanceProperty(_context55 = _Object$keys(_overlayPanel)).call(_context55, function (key) {
|
|
606
628
|
if (key === "default" || key === "__esModule") return;
|
|
607
629
|
if (key in exports && exports[key] === _overlayPanel[key]) return;
|
|
608
630
|
_Object$defineProperty(exports, key, {
|
|
@@ -613,7 +635,7 @@ _forEachInstanceProperty(_context53 = _Object$keys(_overlayPanel)).call(_context
|
|
|
613
635
|
});
|
|
614
636
|
});
|
|
615
637
|
var _passwordField = require("./passwordField");
|
|
616
|
-
_forEachInstanceProperty(
|
|
638
|
+
_forEachInstanceProperty(_context56 = _Object$keys(_passwordField)).call(_context56, function (key) {
|
|
617
639
|
if (key === "default" || key === "__esModule") return;
|
|
618
640
|
if (key in exports && exports[key] === _passwordField[key]) return;
|
|
619
641
|
_Object$defineProperty(exports, key, {
|
|
@@ -624,7 +646,7 @@ _forEachInstanceProperty(_context54 = _Object$keys(_passwordField)).call(_contex
|
|
|
624
646
|
});
|
|
625
647
|
});
|
|
626
648
|
var _phoneNumberField = require("./phoneNumberField");
|
|
627
|
-
_forEachInstanceProperty(
|
|
649
|
+
_forEachInstanceProperty(_context57 = _Object$keys(_phoneNumberField)).call(_context57, function (key) {
|
|
628
650
|
if (key === "default" || key === "__esModule") return;
|
|
629
651
|
if (key in exports && exports[key] === _phoneNumberField[key]) return;
|
|
630
652
|
_Object$defineProperty(exports, key, {
|
|
@@ -635,7 +657,7 @@ _forEachInstanceProperty(_context55 = _Object$keys(_phoneNumberField)).call(_con
|
|
|
635
657
|
});
|
|
636
658
|
});
|
|
637
659
|
var _popoverContainer = require("./popoverContainer");
|
|
638
|
-
_forEachInstanceProperty(
|
|
660
|
+
_forEachInstanceProperty(_context58 = _Object$keys(_popoverContainer)).call(_context58, function (key) {
|
|
639
661
|
if (key === "default" || key === "__esModule") return;
|
|
640
662
|
if (key in exports && exports[key] === _popoverContainer[key]) return;
|
|
641
663
|
_Object$defineProperty(exports, key, {
|
|
@@ -646,7 +668,7 @@ _forEachInstanceProperty(_context56 = _Object$keys(_popoverContainer)).call(_con
|
|
|
646
668
|
});
|
|
647
669
|
});
|
|
648
670
|
var _popoverMenu = require("./popoverMenu");
|
|
649
|
-
_forEachInstanceProperty(
|
|
671
|
+
_forEachInstanceProperty(_context59 = _Object$keys(_popoverMenu)).call(_context59, function (key) {
|
|
650
672
|
if (key === "default" || key === "__esModule") return;
|
|
651
673
|
if (key in exports && exports[key] === _popoverMenu[key]) return;
|
|
652
674
|
_Object$defineProperty(exports, key, {
|
|
@@ -657,7 +679,7 @@ _forEachInstanceProperty(_context57 = _Object$keys(_popoverMenu)).call(_context5
|
|
|
657
679
|
});
|
|
658
680
|
});
|
|
659
681
|
var _progressBar = require("./progressBar");
|
|
660
|
-
_forEachInstanceProperty(
|
|
682
|
+
_forEachInstanceProperty(_context60 = _Object$keys(_progressBar)).call(_context60, function (key) {
|
|
661
683
|
if (key === "default" || key === "__esModule") return;
|
|
662
684
|
if (key in exports && exports[key] === _progressBar[key]) return;
|
|
663
685
|
_Object$defineProperty(exports, key, {
|
|
@@ -668,7 +690,7 @@ _forEachInstanceProperty(_context58 = _Object$keys(_progressBar)).call(_context5
|
|
|
668
690
|
});
|
|
669
691
|
});
|
|
670
692
|
var _requirementsList = require("./requirementsList");
|
|
671
|
-
_forEachInstanceProperty(
|
|
693
|
+
_forEachInstanceProperty(_context61 = _Object$keys(_requirementsList)).call(_context61, function (key) {
|
|
672
694
|
if (key === "default" || key === "__esModule") return;
|
|
673
695
|
if (key in exports && exports[key] === _requirementsList[key]) return;
|
|
674
696
|
_Object$defineProperty(exports, key, {
|
|
@@ -679,7 +701,7 @@ _forEachInstanceProperty(_context59 = _Object$keys(_requirementsList)).call(_con
|
|
|
679
701
|
});
|
|
680
702
|
});
|
|
681
703
|
var _rockerButtonGroup = require("./rockerButtonGroup");
|
|
682
|
-
_forEachInstanceProperty(
|
|
704
|
+
_forEachInstanceProperty(_context62 = _Object$keys(_rockerButtonGroup)).call(_context62, function (key) {
|
|
683
705
|
if (key === "default" || key === "__esModule") return;
|
|
684
706
|
if (key in exports && exports[key] === _rockerButtonGroup[key]) return;
|
|
685
707
|
_Object$defineProperty(exports, key, {
|
|
@@ -690,7 +712,7 @@ _forEachInstanceProperty(_context60 = _Object$keys(_rockerButtonGroup)).call(_co
|
|
|
690
712
|
});
|
|
691
713
|
});
|
|
692
714
|
var _scrollBox = require("./scrollBox");
|
|
693
|
-
_forEachInstanceProperty(
|
|
715
|
+
_forEachInstanceProperty(_context63 = _Object$keys(_scrollBox)).call(_context63, function (key) {
|
|
694
716
|
if (key === "default" || key === "__esModule") return;
|
|
695
717
|
if (key in exports && exports[key] === _scrollBox[key]) return;
|
|
696
718
|
_Object$defineProperty(exports, key, {
|
|
@@ -701,7 +723,7 @@ _forEachInstanceProperty(_context61 = _Object$keys(_scrollBox)).call(_context61,
|
|
|
701
723
|
});
|
|
702
724
|
});
|
|
703
725
|
var _searchField = require("./searchField");
|
|
704
|
-
_forEachInstanceProperty(
|
|
726
|
+
_forEachInstanceProperty(_context64 = _Object$keys(_searchField)).call(_context64, function (key) {
|
|
705
727
|
if (key === "default" || key === "__esModule") return;
|
|
706
728
|
if (key in exports && exports[key] === _searchField[key]) return;
|
|
707
729
|
_Object$defineProperty(exports, key, {
|
|
@@ -712,7 +734,7 @@ _forEachInstanceProperty(_context62 = _Object$keys(_searchField)).call(_context6
|
|
|
712
734
|
});
|
|
713
735
|
});
|
|
714
736
|
var _separator = require("./separator");
|
|
715
|
-
_forEachInstanceProperty(
|
|
737
|
+
_forEachInstanceProperty(_context65 = _Object$keys(_separator)).call(_context65, function (key) {
|
|
716
738
|
if (key === "default" || key === "__esModule") return;
|
|
717
739
|
if (key in exports && exports[key] === _separator[key]) return;
|
|
718
740
|
_Object$defineProperty(exports, key, {
|
|
@@ -723,7 +745,7 @@ _forEachInstanceProperty(_context63 = _Object$keys(_separator)).call(_context63,
|
|
|
723
745
|
});
|
|
724
746
|
});
|
|
725
747
|
var _ServerErrorBoundary = require("./ServerErrorBoundary");
|
|
726
|
-
_forEachInstanceProperty(
|
|
748
|
+
_forEachInstanceProperty(_context66 = _Object$keys(_ServerErrorBoundary)).call(_context66, function (key) {
|
|
727
749
|
if (key === "default" || key === "__esModule") return;
|
|
728
750
|
if (key in exports && exports[key] === _ServerErrorBoundary[key]) return;
|
|
729
751
|
_Object$defineProperty(exports, key, {
|
|
@@ -734,7 +756,7 @@ _forEachInstanceProperty(_context64 = _Object$keys(_ServerErrorBoundary)).call(_
|
|
|
734
756
|
});
|
|
735
757
|
});
|
|
736
758
|
var _shared = require("./shared");
|
|
737
|
-
_forEachInstanceProperty(
|
|
759
|
+
_forEachInstanceProperty(_context67 = _Object$keys(_shared)).call(_context67, function (key) {
|
|
738
760
|
if (key === "default" || key === "__esModule") return;
|
|
739
761
|
if (key in exports && exports[key] === _shared[key]) return;
|
|
740
762
|
_Object$defineProperty(exports, key, {
|
|
@@ -745,7 +767,7 @@ _forEachInstanceProperty(_context65 = _Object$keys(_shared)).call(_context65, fu
|
|
|
745
767
|
});
|
|
746
768
|
});
|
|
747
769
|
var _skeleton = require("./skeleton");
|
|
748
|
-
_forEachInstanceProperty(
|
|
770
|
+
_forEachInstanceProperty(_context68 = _Object$keys(_skeleton)).call(_context68, function (key) {
|
|
749
771
|
if (key === "default" || key === "__esModule") return;
|
|
750
772
|
if (key in exports && exports[key] === _skeleton[key]) return;
|
|
751
773
|
_Object$defineProperty(exports, key, {
|
|
@@ -756,7 +778,7 @@ _forEachInstanceProperty(_context66 = _Object$keys(_skeleton)).call(_context66,
|
|
|
756
778
|
});
|
|
757
779
|
});
|
|
758
780
|
var _Stepper = require("./Stepper");
|
|
759
|
-
_forEachInstanceProperty(
|
|
781
|
+
_forEachInstanceProperty(_context69 = _Object$keys(_Stepper)).call(_context69, function (key) {
|
|
760
782
|
if (key === "default" || key === "__esModule") return;
|
|
761
783
|
if (key in exports && exports[key] === _Stepper[key]) return;
|
|
762
784
|
_Object$defineProperty(exports, key, {
|
|
@@ -767,7 +789,7 @@ _forEachInstanceProperty(_context67 = _Object$keys(_Stepper)).call(_context67, f
|
|
|
767
789
|
});
|
|
768
790
|
});
|
|
769
791
|
var _switchField = require("./switchField");
|
|
770
|
-
_forEachInstanceProperty(
|
|
792
|
+
_forEachInstanceProperty(_context70 = _Object$keys(_switchField)).call(_context70, function (key) {
|
|
771
793
|
if (key === "default" || key === "__esModule") return;
|
|
772
794
|
if (key in exports && exports[key] === _switchField[key]) return;
|
|
773
795
|
_Object$defineProperty(exports, key, {
|
|
@@ -778,7 +800,7 @@ _forEachInstanceProperty(_context68 = _Object$keys(_switchField)).call(_context6
|
|
|
778
800
|
});
|
|
779
801
|
});
|
|
780
802
|
var _tab = require("./tab");
|
|
781
|
-
_forEachInstanceProperty(
|
|
803
|
+
_forEachInstanceProperty(_context71 = _Object$keys(_tab)).call(_context71, function (key) {
|
|
782
804
|
if (key === "default" || key === "__esModule") return;
|
|
783
805
|
if (key in exports && exports[key] === _tab[key]) return;
|
|
784
806
|
_Object$defineProperty(exports, key, {
|
|
@@ -789,7 +811,7 @@ _forEachInstanceProperty(_context69 = _Object$keys(_tab)).call(_context69, funct
|
|
|
789
811
|
});
|
|
790
812
|
});
|
|
791
813
|
var _table = require("./table");
|
|
792
|
-
_forEachInstanceProperty(
|
|
814
|
+
_forEachInstanceProperty(_context72 = _Object$keys(_table)).call(_context72, function (key) {
|
|
793
815
|
if (key === "default" || key === "__esModule") return;
|
|
794
816
|
if (key in exports && exports[key] === _table[key]) return;
|
|
795
817
|
_Object$defineProperty(exports, key, {
|
|
@@ -800,7 +822,7 @@ _forEachInstanceProperty(_context70 = _Object$keys(_table)).call(_context70, fun
|
|
|
800
822
|
});
|
|
801
823
|
});
|
|
802
824
|
var _tabs = require("./tabs");
|
|
803
|
-
_forEachInstanceProperty(
|
|
825
|
+
_forEachInstanceProperty(_context73 = _Object$keys(_tabs)).call(_context73, function (key) {
|
|
804
826
|
if (key === "default" || key === "__esModule") return;
|
|
805
827
|
if (key in exports && exports[key] === _tabs[key]) return;
|
|
806
828
|
_Object$defineProperty(exports, key, {
|
|
@@ -811,7 +833,7 @@ _forEachInstanceProperty(_context71 = _Object$keys(_tabs)).call(_context71, func
|
|
|
811
833
|
});
|
|
812
834
|
});
|
|
813
835
|
var _text = require("./text");
|
|
814
|
-
_forEachInstanceProperty(
|
|
836
|
+
_forEachInstanceProperty(_context74 = _Object$keys(_text)).call(_context74, function (key) {
|
|
815
837
|
if (key === "default" || key === "__esModule") return;
|
|
816
838
|
if (key in exports && exports[key] === _text[key]) return;
|
|
817
839
|
_Object$defineProperty(exports, key, {
|
|
@@ -822,7 +844,7 @@ _forEachInstanceProperty(_context72 = _Object$keys(_text)).call(_context72, func
|
|
|
822
844
|
});
|
|
823
845
|
});
|
|
824
846
|
var _textField = require("./textField");
|
|
825
|
-
_forEachInstanceProperty(
|
|
847
|
+
_forEachInstanceProperty(_context75 = _Object$keys(_textField)).call(_context75, function (key) {
|
|
826
848
|
if (key === "default" || key === "__esModule") return;
|
|
827
849
|
if (key in exports && exports[key] === _textField[key]) return;
|
|
828
850
|
_Object$defineProperty(exports, key, {
|
|
@@ -833,7 +855,7 @@ _forEachInstanceProperty(_context73 = _Object$keys(_textField)).call(_context73,
|
|
|
833
855
|
});
|
|
834
856
|
});
|
|
835
857
|
var _timefield = require("./timefield");
|
|
836
|
-
_forEachInstanceProperty(
|
|
858
|
+
_forEachInstanceProperty(_context76 = _Object$keys(_timefield)).call(_context76, function (key) {
|
|
837
859
|
if (key === "default" || key === "__esModule") return;
|
|
838
860
|
if (key in exports && exports[key] === _timefield[key]) return;
|
|
839
861
|
_Object$defineProperty(exports, key, {
|
|
@@ -844,7 +866,7 @@ _forEachInstanceProperty(_context74 = _Object$keys(_timefield)).call(_context74,
|
|
|
844
866
|
});
|
|
845
867
|
});
|
|
846
868
|
var _tooltipTrigger = require("./tooltipTrigger");
|
|
847
|
-
_forEachInstanceProperty(
|
|
869
|
+
_forEachInstanceProperty(_context77 = _Object$keys(_tooltipTrigger)).call(_context77, function (key) {
|
|
848
870
|
if (key === "default" || key === "__esModule") return;
|
|
849
871
|
if (key in exports && exports[key] === _tooltipTrigger[key]) return;
|
|
850
872
|
_Object$defineProperty(exports, key, {
|
|
@@ -52,4 +52,10 @@ export interface TextFieldProps extends StyleProps, SharedFieldProps {
|
|
|
52
52
|
maxLength?: ValidPositiveInteger;
|
|
53
53
|
role?: AriaRole;
|
|
54
54
|
sx?: ThemeUICSSObject;
|
|
55
|
+
/** Tab index applied to the field container. */
|
|
56
|
+
tabIndex?: string | number;
|
|
57
|
+
/** Additional status classes to apply to the field's class names (e.g. `isHovered`). */
|
|
58
|
+
statusClasses?: {
|
|
59
|
+
[className: string]: boolean;
|
|
60
|
+
};
|
|
55
61
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts status information into a class string. Status keys are converted to
|
|
3
|
+
* kebab-case and joined with the default class.
|
|
4
|
+
*
|
|
5
|
+
* This is the shared implementation behind the `useStatusClasses` hook; it exists
|
|
6
|
+
* as a plain function so render-prop components (e.g. React Aria wrappers) can
|
|
7
|
+
* build the same status classes from values that are only available inside a
|
|
8
|
+
* callback, where hooks cannot be called.
|
|
9
|
+
*
|
|
10
|
+
* e.g. getStatusClasses('thing', { isDisabled: true }) => "thing is-disabled"
|
|
11
|
+
*/
|
|
12
|
+
declare const getStatusClasses: (defaultClass?: string | undefined | null, statuses?: Record<string, string | boolean | undefined | null>) => string;
|
|
13
|
+
export default getStatusClasses;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
+
var _kebabCase = _interopRequireDefault(require("lodash/kebabCase"));
|
|
11
|
+
var _mapKeys = _interopRequireDefault(require("lodash/mapKeys"));
|
|
12
|
+
/**
|
|
13
|
+
* Converts status information into a class string. Status keys are converted to
|
|
14
|
+
* kebab-case and joined with the default class.
|
|
15
|
+
*
|
|
16
|
+
* This is the shared implementation behind the `useStatusClasses` hook; it exists
|
|
17
|
+
* as a plain function so render-prop components (e.g. React Aria wrappers) can
|
|
18
|
+
* build the same status classes from values that are only available inside a
|
|
19
|
+
* callback, where hooks cannot be called.
|
|
20
|
+
*
|
|
21
|
+
* e.g. getStatusClasses('thing', { isDisabled: true }) => "thing is-disabled"
|
|
22
|
+
*/
|
|
23
|
+
var getStatusClasses = function getStatusClasses(defaultClass) {
|
|
24
|
+
var statuses = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
25
|
+
return (0, _classnames["default"])(defaultClass, (0, _mapKeys["default"])(statuses, function (_v, k) {
|
|
26
|
+
return (0, _kebabCase["default"])(k);
|
|
27
|
+
}));
|
|
28
|
+
};
|
|
29
|
+
var _default = exports["default"] = getStatusClasses;
|