boreal-ui 0.0.74 → 0.0.75
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/core/Pager-B4hyIUdo.js.map +1 -1
- package/dist/core/Pager-wl7_umU4.cjs.map +1 -1
- package/dist/core/index.cjs.js +575 -107
- package/dist/core/index.cjs.js.map +1 -1
- package/dist/core/index.js +575 -107
- package/dist/core/index.js.map +1 -1
- package/dist/next/Pager-DFKfUn1s.js.map +1 -1
- package/dist/next/Pager-DcibmVu1.cjs.map +1 -1
- package/dist/next/index.cjs.js +575 -107
- package/dist/next/index.cjs.js.map +1 -1
- package/dist/next/index.js +575 -107
- package/dist/next/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/Pager/Pager.types.d.ts +2 -2
- package/dist/types/components/Pager/Pager.types.d.ts.map +1 -1
- package/dist/types/components/Pager/core/Pager.d.ts +2 -2
- package/dist/types/components/Pager/core/Pager.d.ts.map +1 -1
- package/dist/types/components/Pager/next/Pager.d.ts +2 -2
- package/dist/types/components/Pager/next/Pager.d.ts.map +1 -1
- package/dist/types/generated-docs/CheckBox.props.d.ts +7 -0
- package/dist/types/generated-docs/CheckBox.props.d.ts.map +1 -0
- package/dist/types/generated-docs/ChipGroup.props.d.ts +7 -0
- package/dist/types/generated-docs/ChipGroup.props.d.ts.map +1 -0
- package/dist/types/generated-docs/DateTimePicker.props.d.ts.map +1 -1
- package/dist/types/generated-docs/Dropdown.props.d.ts.map +1 -1
- package/dist/types/generated-docs/FileUpload.props.d.ts.map +1 -1
- package/dist/types/generated-docs/FormGroup.props.d.ts.map +1 -1
- package/dist/types/generated-docs/Pager.props.d.ts +7 -0
- package/dist/types/generated-docs/Pager.props.d.ts.map +1 -0
- package/dist/types/generated-docs/Popover.props.d.ts +7 -0
- package/dist/types/generated-docs/Popover.props.d.ts.map +1 -0
- package/dist/types/generated-docs/index.d.ts +4 -0
- package/dist/types/generated-docs/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/core/index.cjs.js
CHANGED
|
@@ -1400,6 +1400,190 @@ const cardPropDocs = {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
]
|
|
1402
1402
|
};
|
|
1403
|
+
const checkBoxPropDocs = {
|
|
1404
|
+
"name": "CheckBox",
|
|
1405
|
+
"interfaceName": "CheckBoxProps",
|
|
1406
|
+
"description": "Props for the Checkbox component.",
|
|
1407
|
+
"sourcePath": "src\\components\\Checkbox\\Checkbox.types.ts",
|
|
1408
|
+
"props": [
|
|
1409
|
+
{
|
|
1410
|
+
"name": "aria-describedby",
|
|
1411
|
+
"type": "string",
|
|
1412
|
+
"description": "ID reference(s) to element(s) that describe the checkbox. This may include helper text, error text, or external descriptions.",
|
|
1413
|
+
"required": false,
|
|
1414
|
+
"inherited": false,
|
|
1415
|
+
"category": "aria"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"name": "aria-errormessage",
|
|
1419
|
+
"type": "string",
|
|
1420
|
+
"description": "ID reference to the element containing the error message. Typically used together with aria-invalid.",
|
|
1421
|
+
"required": false,
|
|
1422
|
+
"inherited": false,
|
|
1423
|
+
"category": "aria"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"name": "aria-label",
|
|
1427
|
+
"type": "string",
|
|
1428
|
+
"description": "Accessible label for the checkbox when no visible label is present or when a more descriptive label is needed.",
|
|
1429
|
+
"required": false,
|
|
1430
|
+
"inherited": false,
|
|
1431
|
+
"category": "aria"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "aria-labelledby",
|
|
1435
|
+
"type": "string",
|
|
1436
|
+
"description": "ID reference(s) to element(s) that label the checkbox. If provided, this takes precedence over the internal label association.",
|
|
1437
|
+
"required": false,
|
|
1438
|
+
"inherited": false,
|
|
1439
|
+
"category": "aria"
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"name": "checked",
|
|
1443
|
+
"type": "boolean",
|
|
1444
|
+
"description": "Checked state of the checkbox.",
|
|
1445
|
+
"required": true,
|
|
1446
|
+
"inherited": false,
|
|
1447
|
+
"category": "props"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"name": "className",
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"description": "Custom class name for additional styling.",
|
|
1453
|
+
"required": false,
|
|
1454
|
+
"inherited": false,
|
|
1455
|
+
"category": "styling"
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"name": "data-testid",
|
|
1459
|
+
"type": "string",
|
|
1460
|
+
"description": "Optional test ID for testing frameworks.",
|
|
1461
|
+
"required": false,
|
|
1462
|
+
"inherited": false,
|
|
1463
|
+
"category": "testing"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"name": "description",
|
|
1467
|
+
"type": "ReactNode",
|
|
1468
|
+
"description": "Visible helper text rendered below or beside the checkbox. Should provide extra guidance for the user.",
|
|
1469
|
+
"required": false,
|
|
1470
|
+
"inherited": false,
|
|
1471
|
+
"category": "props"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"name": "disabled",
|
|
1475
|
+
"type": "boolean",
|
|
1476
|
+
"description": "Whether the checkbox is disabled.",
|
|
1477
|
+
"required": false,
|
|
1478
|
+
"inherited": false,
|
|
1479
|
+
"category": "props"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "errorMessage",
|
|
1483
|
+
"type": "ReactNode",
|
|
1484
|
+
"description": "Visible error message rendered for invalid state. This can also be referenced by assistive technologies.",
|
|
1485
|
+
"required": false,
|
|
1486
|
+
"inherited": false,
|
|
1487
|
+
"category": "props"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "indeterminate",
|
|
1491
|
+
"type": "boolean",
|
|
1492
|
+
"description": "Whether the checkbox is in an indeterminate (mixed) state.",
|
|
1493
|
+
"required": false,
|
|
1494
|
+
"inherited": false,
|
|
1495
|
+
"category": "props"
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"name": "invalid",
|
|
1499
|
+
"type": "boolean",
|
|
1500
|
+
"description": "Marks the checkbox as invalid. Useful when validation fails.",
|
|
1501
|
+
"required": false,
|
|
1502
|
+
"inherited": false,
|
|
1503
|
+
"category": "props"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"name": "label",
|
|
1507
|
+
"type": "ReactNode",
|
|
1508
|
+
"description": "Label text displayed beside the checkbox.",
|
|
1509
|
+
"required": false,
|
|
1510
|
+
"inherited": false,
|
|
1511
|
+
"category": "props"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "labelPosition",
|
|
1515
|
+
"type": '"left" | "right"',
|
|
1516
|
+
"description": "Position of the label relative to the checkbox ('left' | 'right').",
|
|
1517
|
+
"required": false,
|
|
1518
|
+
"inherited": false,
|
|
1519
|
+
"category": "props"
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "onChange",
|
|
1523
|
+
"type": "(checked: boolean) => void",
|
|
1524
|
+
"description": "Callback when the checkbox value changes.",
|
|
1525
|
+
"required": true,
|
|
1526
|
+
"inherited": false,
|
|
1527
|
+
"category": "events"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"name": "required",
|
|
1531
|
+
"type": "boolean",
|
|
1532
|
+
"description": "Whether the checkbox is required.",
|
|
1533
|
+
"required": false,
|
|
1534
|
+
"inherited": false,
|
|
1535
|
+
"category": "props"
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"name": "role",
|
|
1539
|
+
"type": '"checkbox"',
|
|
1540
|
+
"description": "Optional role override, though checkbox is the default semantic role.",
|
|
1541
|
+
"required": false,
|
|
1542
|
+
"inherited": false,
|
|
1543
|
+
"category": "aria"
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "rounding",
|
|
1547
|
+
"type": "RoundingType",
|
|
1548
|
+
"description": "Controls the rounding of the checkbox ('none' | 'small' | 'medium' | 'large' | 'full').",
|
|
1549
|
+
"required": false,
|
|
1550
|
+
"inherited": false,
|
|
1551
|
+
"category": "styling"
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"name": "shadow",
|
|
1555
|
+
"type": "ShadowType",
|
|
1556
|
+
"description": "Controls the shadow of the checkbox ('none' | 'light' | 'medium' | 'strong' | 'intense').",
|
|
1557
|
+
"required": false,
|
|
1558
|
+
"inherited": false,
|
|
1559
|
+
"category": "styling"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "size",
|
|
1563
|
+
"type": "SizeType",
|
|
1564
|
+
"description": "Size of the checkbox ('xs' | 'small' | 'medium' | 'large' | 'xl').",
|
|
1565
|
+
"required": false,
|
|
1566
|
+
"inherited": false,
|
|
1567
|
+
"category": "styling"
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"name": "state",
|
|
1571
|
+
"type": "StateType",
|
|
1572
|
+
"description": "State of the checkbox ('success' | 'error' | 'warning' | 'disabled' | '').",
|
|
1573
|
+
"required": false,
|
|
1574
|
+
"inherited": false,
|
|
1575
|
+
"category": "styling"
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"name": "theme",
|
|
1579
|
+
"type": "ThemeType",
|
|
1580
|
+
"description": "Optional theme to style the checkbox ('primary' | 'secondary' | 'tertiary' | 'quaternary' | 'clear').",
|
|
1581
|
+
"required": false,
|
|
1582
|
+
"inherited": false,
|
|
1583
|
+
"category": "styling"
|
|
1584
|
+
}
|
|
1585
|
+
]
|
|
1586
|
+
};
|
|
1403
1587
|
const chipPropDocs = {
|
|
1404
1588
|
"name": "Chip",
|
|
1405
1589
|
"interfaceName": "ChipProps",
|
|
@@ -1584,6 +1768,70 @@ const chipPropDocs = {
|
|
|
1584
1768
|
}
|
|
1585
1769
|
]
|
|
1586
1770
|
};
|
|
1771
|
+
const chipGroupPropDocs = {
|
|
1772
|
+
"name": "ChipGroup",
|
|
1773
|
+
"interfaceName": "ChipGroupProps",
|
|
1774
|
+
"description": "",
|
|
1775
|
+
"sourcePath": "src\\components\\Chip\\ChipGroup\\ChipGroup.types.ts",
|
|
1776
|
+
"props": [
|
|
1777
|
+
{
|
|
1778
|
+
"name": "children",
|
|
1779
|
+
"type": "undefined",
|
|
1780
|
+
"description": "Children are not allowed when using `chips`.",
|
|
1781
|
+
"required": false,
|
|
1782
|
+
"inherited": false,
|
|
1783
|
+
"category": "props"
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"name": "chips",
|
|
1787
|
+
"type": "ChipProps[]",
|
|
1788
|
+
"description": "Chips array is not allowed when using children.",
|
|
1789
|
+
"required": false,
|
|
1790
|
+
"inherited": false,
|
|
1791
|
+
"category": "props"
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"name": "className",
|
|
1795
|
+
"type": "string",
|
|
1796
|
+
"description": "Optional class name for the chip group container.",
|
|
1797
|
+
"required": false,
|
|
1798
|
+
"inherited": true,
|
|
1799
|
+
"category": "styling"
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"name": "data-testid",
|
|
1803
|
+
"type": "string",
|
|
1804
|
+
"description": "Optional test ID for testing frameworks.",
|
|
1805
|
+
"required": false,
|
|
1806
|
+
"inherited": true,
|
|
1807
|
+
"category": "testing"
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"name": "onRemove",
|
|
1811
|
+
"type": "((id: string) => void)",
|
|
1812
|
+
"description": "Optional callback when a chip is removed.",
|
|
1813
|
+
"required": false,
|
|
1814
|
+
"inherited": true,
|
|
1815
|
+
"category": "events"
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"name": "position",
|
|
1819
|
+
"type": "PositionType",
|
|
1820
|
+
"description": "Default position for chips in the group.",
|
|
1821
|
+
"required": false,
|
|
1822
|
+
"inherited": true,
|
|
1823
|
+
"category": "props"
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"name": "size",
|
|
1827
|
+
"type": "SizeType",
|
|
1828
|
+
"description": "Default size for chips if not individually specified.",
|
|
1829
|
+
"required": false,
|
|
1830
|
+
"inherited": true,
|
|
1831
|
+
"category": "styling"
|
|
1832
|
+
}
|
|
1833
|
+
]
|
|
1834
|
+
};
|
|
1587
1835
|
const circularProgressPropDocs = {
|
|
1588
1836
|
"name": "CircularProgress",
|
|
1589
1837
|
"interfaceName": "CircularProgressProps",
|
|
@@ -2422,14 +2670,6 @@ const dateTimePickerPropDocs = {
|
|
|
2422
2670
|
"inherited": false,
|
|
2423
2671
|
"category": "props"
|
|
2424
2672
|
},
|
|
2425
|
-
{
|
|
2426
|
-
"name": "buttonProps",
|
|
2427
|
-
"type": 'Omit<ButtonHTMLAttributes<HTMLButtonElement>, "disabled" | "title" | "type" | "className" | "aria-label" | "aria-labelledby" | "aria-describedby" | "onClick">',
|
|
2428
|
-
"description": "Optional props passed to the picker trigger button.",
|
|
2429
|
-
"required": false,
|
|
2430
|
-
"inherited": false,
|
|
2431
|
-
"category": "props"
|
|
2432
|
-
},
|
|
2433
2673
|
{
|
|
2434
2674
|
"name": "className",
|
|
2435
2675
|
"type": "string",
|
|
@@ -2478,14 +2718,6 @@ const dateTimePickerPropDocs = {
|
|
|
2478
2718
|
"inherited": false,
|
|
2479
2719
|
"category": "props"
|
|
2480
2720
|
},
|
|
2481
|
-
{
|
|
2482
|
-
"name": "inputProps",
|
|
2483
|
-
"type": 'Omit<InputHTMLAttributes<HTMLInputElement>, "disabled" | "name" | "type" | "value" | "defaultValue" | "onChange" | "min" | "max" | ... 10 more ... | "aria-required">',
|
|
2484
|
-
"description": "Optional props passed to the native input element.",
|
|
2485
|
-
"required": false,
|
|
2486
|
-
"inherited": false,
|
|
2487
|
-
"category": "props"
|
|
2488
|
-
},
|
|
2489
2721
|
{
|
|
2490
2722
|
"name": "label",
|
|
2491
2723
|
"type": "string",
|
|
@@ -2870,14 +3102,6 @@ const dropdownPropDocs = {
|
|
|
2870
3102
|
"inherited": false,
|
|
2871
3103
|
"category": "props"
|
|
2872
3104
|
},
|
|
2873
|
-
{
|
|
2874
|
-
"name": "menuProps",
|
|
2875
|
-
"type": 'Omit<React.HTMLProps<HTMLDivElement>, "role" | "id" | "children">',
|
|
2876
|
-
"description": "Extra props applied to the menu container.",
|
|
2877
|
-
"required": false,
|
|
2878
|
-
"inherited": false,
|
|
2879
|
-
"category": "props"
|
|
2880
|
-
},
|
|
2881
3105
|
{
|
|
2882
3106
|
"name": "menuRounding",
|
|
2883
3107
|
"type": "RoundingType",
|
|
@@ -2957,14 +3181,6 @@ const dropdownPropDocs = {
|
|
|
2957
3181
|
"required": false,
|
|
2958
3182
|
"inherited": false,
|
|
2959
3183
|
"category": "props"
|
|
2960
|
-
},
|
|
2961
|
-
{
|
|
2962
|
-
"name": "triggerProps",
|
|
2963
|
-
"type": 'Omit<IconButtonProps, "aria-label" | "aria-labelledby" | "aria-describedby" | "aria-controls" | "aria-expanded" | "aria-haspopup" | "onClick" | "icon" | ... 4 more ... | "outline">',
|
|
2964
|
-
"description": "Extra props applied to the trigger IconButton. Keeps accessibility flexible without bloating the main API.",
|
|
2965
|
-
"required": false,
|
|
2966
|
-
"inherited": false,
|
|
2967
|
-
"category": "props"
|
|
2968
3184
|
}
|
|
2969
3185
|
]
|
|
2970
3186
|
};
|
|
@@ -3270,14 +3486,6 @@ const fileUploadPropDocs = {
|
|
|
3270
3486
|
"inherited": false,
|
|
3271
3487
|
"category": "props"
|
|
3272
3488
|
},
|
|
3273
|
-
{
|
|
3274
|
-
"name": "inputProps",
|
|
3275
|
-
"type": 'Omit<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "type" | "onChange" | "required" | "aria-label" | "aria-labelledby" | "aria-describedby" | ... 4 more ... | "multiple">',
|
|
3276
|
-
"description": "Props passed directly to the native file input.",
|
|
3277
|
-
"required": false,
|
|
3278
|
-
"inherited": false,
|
|
3279
|
-
"category": "props"
|
|
3280
|
-
},
|
|
3281
3489
|
{
|
|
3282
3490
|
"name": "label",
|
|
3283
3491
|
"type": "string",
|
|
@@ -3350,14 +3558,6 @@ const fileUploadPropDocs = {
|
|
|
3350
3558
|
"inherited": false,
|
|
3351
3559
|
"category": "props"
|
|
3352
3560
|
},
|
|
3353
|
-
{
|
|
3354
|
-
"name": "progressBarProps",
|
|
3355
|
-
"type": 'Omit<ProgressBarProps, "value" | "theme" | "indeterminate">',
|
|
3356
|
-
"description": "Props passed directly to the progress bar.",
|
|
3357
|
-
"required": false,
|
|
3358
|
-
"inherited": false,
|
|
3359
|
-
"category": "props"
|
|
3360
|
-
},
|
|
3361
3561
|
{
|
|
3362
3562
|
"name": "rejectedFilesAriaLabel",
|
|
3363
3563
|
"type": "string",
|
|
@@ -3374,14 +3574,6 @@ const fileUploadPropDocs = {
|
|
|
3374
3574
|
"inherited": false,
|
|
3375
3575
|
"category": "events"
|
|
3376
3576
|
},
|
|
3377
|
-
{
|
|
3378
|
-
"name": "removeButtonProps",
|
|
3379
|
-
"type": 'Omit<IconButtonProps, "aria-label" | "onClick" | "icon" | "state">',
|
|
3380
|
-
"description": "Props passed directly to each remove-file button.",
|
|
3381
|
-
"required": false,
|
|
3382
|
-
"inherited": false,
|
|
3383
|
-
"category": "props"
|
|
3384
|
-
},
|
|
3385
3577
|
{
|
|
3386
3578
|
"name": "removeFileAriaLabel",
|
|
3387
3579
|
"type": "((fileName: string, index: number) => string)",
|
|
@@ -3406,14 +3598,6 @@ const fileUploadPropDocs = {
|
|
|
3406
3598
|
"inherited": false,
|
|
3407
3599
|
"category": "props"
|
|
3408
3600
|
},
|
|
3409
|
-
{
|
|
3410
|
-
"name": "selectButtonProps",
|
|
3411
|
-
"type": 'Omit<ButtonProps, "disabled" | "children" | "onClick" | "icon" | "theme" | "state" | "rounding" | "shadow" | "outline">',
|
|
3412
|
-
"description": "Props passed directly to the select-file button.",
|
|
3413
|
-
"required": false,
|
|
3414
|
-
"inherited": false,
|
|
3415
|
-
"category": "props"
|
|
3416
|
-
},
|
|
3417
3601
|
{
|
|
3418
3602
|
"name": "state",
|
|
3419
3603
|
"type": "StateType",
|
|
@@ -3446,14 +3630,6 @@ const fileUploadPropDocs = {
|
|
|
3446
3630
|
"inherited": false,
|
|
3447
3631
|
"category": "props"
|
|
3448
3632
|
},
|
|
3449
|
-
{
|
|
3450
|
-
"name": "uploadButtonProps",
|
|
3451
|
-
"type": 'Omit<ButtonProps, "disabled" | "children" | "onClick" | "theme" | "state" | "loading">',
|
|
3452
|
-
"description": "Props passed directly to the upload button.",
|
|
3453
|
-
"required": false,
|
|
3454
|
-
"inherited": false,
|
|
3455
|
-
"category": "props"
|
|
3456
|
-
},
|
|
3457
3633
|
{
|
|
3458
3634
|
"name": "uploadProgress",
|
|
3459
3635
|
"type": "number",
|
|
@@ -3686,14 +3862,6 @@ const formGroupPropDocs = {
|
|
|
3686
3862
|
"inherited": false,
|
|
3687
3863
|
"category": "props"
|
|
3688
3864
|
},
|
|
3689
|
-
{
|
|
3690
|
-
"name": "controlProps",
|
|
3691
|
-
"type": "FormGroupControlProps",
|
|
3692
|
-
"description": "Optional props merged into each child control.",
|
|
3693
|
-
"required": false,
|
|
3694
|
-
"inherited": false,
|
|
3695
|
-
"category": "props"
|
|
3696
|
-
},
|
|
3697
3865
|
{
|
|
3698
3866
|
"name": "data-testid",
|
|
3699
3867
|
"type": "string",
|
|
@@ -3711,25 +3879,9 @@ const formGroupPropDocs = {
|
|
|
3711
3879
|
"category": "props"
|
|
3712
3880
|
},
|
|
3713
3881
|
{
|
|
3714
|
-
"name": "
|
|
3715
|
-
"type": "
|
|
3716
|
-
"description": "Optional
|
|
3717
|
-
"required": false,
|
|
3718
|
-
"inherited": false,
|
|
3719
|
-
"category": "props"
|
|
3720
|
-
},
|
|
3721
|
-
{
|
|
3722
|
-
"name": "error",
|
|
3723
|
-
"type": "string",
|
|
3724
|
-
"description": "Optional error message shown below the input.",
|
|
3725
|
-
"required": false,
|
|
3726
|
-
"inherited": false,
|
|
3727
|
-
"category": "props"
|
|
3728
|
-
},
|
|
3729
|
-
{
|
|
3730
|
-
"name": "errorProps",
|
|
3731
|
-
"type": "HTMLAttributes<HTMLParagraphElement>",
|
|
3732
|
-
"description": "Optional props applied to the error element.",
|
|
3882
|
+
"name": "error",
|
|
3883
|
+
"type": "string",
|
|
3884
|
+
"description": "Optional error message shown below the input.",
|
|
3733
3885
|
"required": false,
|
|
3734
3886
|
"inherited": false,
|
|
3735
3887
|
"category": "props"
|
|
@@ -3758,14 +3910,6 @@ const formGroupPropDocs = {
|
|
|
3758
3910
|
"inherited": false,
|
|
3759
3911
|
"category": "props"
|
|
3760
3912
|
},
|
|
3761
|
-
{
|
|
3762
|
-
"name": "labelProps",
|
|
3763
|
-
"type": 'Omit<LabelHTMLAttributes<HTMLLabelElement>, "id" | "htmlFor">',
|
|
3764
|
-
"description": "Optional props applied to the rendered label element.",
|
|
3765
|
-
"required": false,
|
|
3766
|
-
"inherited": false,
|
|
3767
|
-
"category": "props"
|
|
3768
|
-
},
|
|
3769
3913
|
{
|
|
3770
3914
|
"name": "layout",
|
|
3771
3915
|
"type": '"horizontal" | "vertical"',
|
|
@@ -4960,6 +5104,326 @@ const notificationCenterPropDocs = {
|
|
|
4960
5104
|
}
|
|
4961
5105
|
]
|
|
4962
5106
|
};
|
|
5107
|
+
const pagerPropDocs = {
|
|
5108
|
+
"name": "Pager",
|
|
5109
|
+
"interfaceName": "PagerProps",
|
|
5110
|
+
"description": "Props for the Pager (pagination) component.",
|
|
5111
|
+
"sourcePath": "src\\components\\Pager\\Pager.types.ts",
|
|
5112
|
+
"props": [
|
|
5113
|
+
{
|
|
5114
|
+
"name": "aria-describedby",
|
|
5115
|
+
"type": "string",
|
|
5116
|
+
"description": "Optional description id for the pagination navigation region.",
|
|
5117
|
+
"required": false,
|
|
5118
|
+
"inherited": false,
|
|
5119
|
+
"category": "aria"
|
|
5120
|
+
},
|
|
5121
|
+
{
|
|
5122
|
+
"name": "aria-label",
|
|
5123
|
+
"type": "string",
|
|
5124
|
+
"description": "Accessible label for the pagination navigation region.",
|
|
5125
|
+
"required": false,
|
|
5126
|
+
"inherited": false,
|
|
5127
|
+
"category": "aria"
|
|
5128
|
+
},
|
|
5129
|
+
{
|
|
5130
|
+
"name": "aria-labelledby",
|
|
5131
|
+
"type": "string",
|
|
5132
|
+
"description": "Optional labelledby id for the pagination navigation region.",
|
|
5133
|
+
"required": false,
|
|
5134
|
+
"inherited": false,
|
|
5135
|
+
"category": "aria"
|
|
5136
|
+
},
|
|
5137
|
+
{
|
|
5138
|
+
"name": "className",
|
|
5139
|
+
"type": "string",
|
|
5140
|
+
"description": "Optional extra class name(s) for custom styling.",
|
|
5141
|
+
"required": false,
|
|
5142
|
+
"inherited": false,
|
|
5143
|
+
"category": "styling"
|
|
5144
|
+
},
|
|
5145
|
+
{
|
|
5146
|
+
"name": "currentPage",
|
|
5147
|
+
"type": "number",
|
|
5148
|
+
"description": "The currently active page (1-indexed).",
|
|
5149
|
+
"required": true,
|
|
5150
|
+
"inherited": false,
|
|
5151
|
+
"category": "props"
|
|
5152
|
+
},
|
|
5153
|
+
{
|
|
5154
|
+
"name": "data-testid",
|
|
5155
|
+
"type": "string",
|
|
5156
|
+
"description": "Optional test ID for testing frameworks.",
|
|
5157
|
+
"required": false,
|
|
5158
|
+
"inherited": false,
|
|
5159
|
+
"category": "testing"
|
|
5160
|
+
},
|
|
5161
|
+
{
|
|
5162
|
+
"name": "getLiveRegionMessage",
|
|
5163
|
+
"type": "((currentPage: number, totalPages: number) => string)",
|
|
5164
|
+
"description": "Function used to generate the live region status message.",
|
|
5165
|
+
"required": false,
|
|
5166
|
+
"inherited": false,
|
|
5167
|
+
"category": "events"
|
|
5168
|
+
},
|
|
5169
|
+
{
|
|
5170
|
+
"name": "getPageAriaLabel",
|
|
5171
|
+
"type": "((page: number, isActive: boolean) => string)",
|
|
5172
|
+
"description": "Function used to generate an accessible label for each page button.",
|
|
5173
|
+
"required": false,
|
|
5174
|
+
"inherited": false,
|
|
5175
|
+
"category": "events"
|
|
5176
|
+
},
|
|
5177
|
+
{
|
|
5178
|
+
"name": "itemsPerPage",
|
|
5179
|
+
"type": "number",
|
|
5180
|
+
"description": "Number of items to display per page.",
|
|
5181
|
+
"required": true,
|
|
5182
|
+
"inherited": false,
|
|
5183
|
+
"category": "props"
|
|
5184
|
+
},
|
|
5185
|
+
{
|
|
5186
|
+
"name": "liveRegionAriaLive",
|
|
5187
|
+
"type": '"off" | "polite" | "assertive"',
|
|
5188
|
+
"description": "ARIA live politeness setting for the status message.",
|
|
5189
|
+
"required": false,
|
|
5190
|
+
"inherited": false,
|
|
5191
|
+
"category": "props"
|
|
5192
|
+
},
|
|
5193
|
+
{
|
|
5194
|
+
"name": "next-button-aria-label",
|
|
5195
|
+
"type": "string",
|
|
5196
|
+
"description": "Accessible label for the next page button.",
|
|
5197
|
+
"required": false,
|
|
5198
|
+
"inherited": false,
|
|
5199
|
+
"category": "props"
|
|
5200
|
+
},
|
|
5201
|
+
{
|
|
5202
|
+
"name": "onPageChange",
|
|
5203
|
+
"type": "(page: number) => void",
|
|
5204
|
+
"description": "Callback function invoked when a page change occurs.",
|
|
5205
|
+
"required": true,
|
|
5206
|
+
"inherited": false,
|
|
5207
|
+
"category": "events"
|
|
5208
|
+
},
|
|
5209
|
+
{
|
|
5210
|
+
"name": "page-list-aria-label",
|
|
5211
|
+
"type": "string",
|
|
5212
|
+
"description": "Accessible label for the page list.",
|
|
5213
|
+
"required": false,
|
|
5214
|
+
"inherited": false,
|
|
5215
|
+
"category": "props"
|
|
5216
|
+
},
|
|
5217
|
+
{
|
|
5218
|
+
"name": "previous-button-aria-label",
|
|
5219
|
+
"type": "string",
|
|
5220
|
+
"description": "Accessible label for the previous page button.",
|
|
5221
|
+
"required": false,
|
|
5222
|
+
"inherited": false,
|
|
5223
|
+
"category": "props"
|
|
5224
|
+
},
|
|
5225
|
+
{
|
|
5226
|
+
"name": "rounding",
|
|
5227
|
+
"type": "RoundingType",
|
|
5228
|
+
"description": 'Rounding of the controls. One of: "none" | "small" | "medium" | "large" | "full"',
|
|
5229
|
+
"required": false,
|
|
5230
|
+
"inherited": false,
|
|
5231
|
+
"category": "styling"
|
|
5232
|
+
},
|
|
5233
|
+
{
|
|
5234
|
+
"name": "serverControlled",
|
|
5235
|
+
"type": "boolean",
|
|
5236
|
+
"description": "Enables server side control of the paging.",
|
|
5237
|
+
"required": false,
|
|
5238
|
+
"inherited": false,
|
|
5239
|
+
"category": "props"
|
|
5240
|
+
},
|
|
5241
|
+
{
|
|
5242
|
+
"name": "shadow",
|
|
5243
|
+
"type": "ShadowType",
|
|
5244
|
+
"description": 'Shadow of the controls. One of: "none" | "light" | "medium" | "strong" | "intense"',
|
|
5245
|
+
"required": false,
|
|
5246
|
+
"inherited": false,
|
|
5247
|
+
"category": "styling"
|
|
5248
|
+
},
|
|
5249
|
+
{
|
|
5250
|
+
"name": "size",
|
|
5251
|
+
"type": "SizeType",
|
|
5252
|
+
"description": 'Optional size modifier for pagination buttons. One of: "xs" | "small" | "medium" | "large" | "xl"',
|
|
5253
|
+
"required": false,
|
|
5254
|
+
"inherited": false,
|
|
5255
|
+
"category": "styling"
|
|
5256
|
+
},
|
|
5257
|
+
{
|
|
5258
|
+
"name": "state",
|
|
5259
|
+
"type": "StateType",
|
|
5260
|
+
"description": 'Optional state of the component for feedback styling. One of: "success" | "error" | "warning" | "disabled" | ""',
|
|
5261
|
+
"required": false,
|
|
5262
|
+
"inherited": false,
|
|
5263
|
+
"category": "styling"
|
|
5264
|
+
},
|
|
5265
|
+
{
|
|
5266
|
+
"name": "theme",
|
|
5267
|
+
"type": "ThemeType",
|
|
5268
|
+
"description": 'Optional theme to apply for pagination. One of: "primary" | "secondary" | "tertiary" | "quaternary" | "clear"',
|
|
5269
|
+
"required": false,
|
|
5270
|
+
"inherited": false,
|
|
5271
|
+
"category": "styling"
|
|
5272
|
+
},
|
|
5273
|
+
{
|
|
5274
|
+
"name": "totalItems",
|
|
5275
|
+
"type": "number",
|
|
5276
|
+
"description": "Total number of items to paginate through.",
|
|
5277
|
+
"required": true,
|
|
5278
|
+
"inherited": false,
|
|
5279
|
+
"category": "props"
|
|
5280
|
+
}
|
|
5281
|
+
]
|
|
5282
|
+
};
|
|
5283
|
+
const popoverPropDocs = {
|
|
5284
|
+
"name": "Popover",
|
|
5285
|
+
"interfaceName": "PopoverProps",
|
|
5286
|
+
"description": "Props for the Popover component.",
|
|
5287
|
+
"sourcePath": "src\\components\\PopOver\\PopOver.types.ts",
|
|
5288
|
+
"props": [
|
|
5289
|
+
{
|
|
5290
|
+
"name": "aria-describedby",
|
|
5291
|
+
"type": "string",
|
|
5292
|
+
"description": "Associates the popover content with an external description element ID.",
|
|
5293
|
+
"required": false,
|
|
5294
|
+
"inherited": false,
|
|
5295
|
+
"category": "aria"
|
|
5296
|
+
},
|
|
5297
|
+
{
|
|
5298
|
+
"name": "aria-label",
|
|
5299
|
+
"type": "string",
|
|
5300
|
+
"description": "Accessible label for the popover content region.",
|
|
5301
|
+
"required": false,
|
|
5302
|
+
"inherited": false,
|
|
5303
|
+
"category": "aria"
|
|
5304
|
+
},
|
|
5305
|
+
{
|
|
5306
|
+
"name": "aria-labelledby",
|
|
5307
|
+
"type": "string",
|
|
5308
|
+
"description": "Associates the popover content with an external label element ID.",
|
|
5309
|
+
"required": false,
|
|
5310
|
+
"inherited": false,
|
|
5311
|
+
"category": "aria"
|
|
5312
|
+
},
|
|
5313
|
+
{
|
|
5314
|
+
"name": "aria-modal",
|
|
5315
|
+
"type": "boolean",
|
|
5316
|
+
"description": "Whether the popover should be announced as modal when role is dialog.",
|
|
5317
|
+
"required": false,
|
|
5318
|
+
"inherited": false,
|
|
5319
|
+
"category": "aria"
|
|
5320
|
+
},
|
|
5321
|
+
{
|
|
5322
|
+
"name": "className",
|
|
5323
|
+
"type": "string",
|
|
5324
|
+
"description": "Optional additional class name(s) for custom styling.",
|
|
5325
|
+
"required": false,
|
|
5326
|
+
"inherited": false,
|
|
5327
|
+
"category": "styling"
|
|
5328
|
+
},
|
|
5329
|
+
{
|
|
5330
|
+
"name": "content",
|
|
5331
|
+
"type": "ReactNode",
|
|
5332
|
+
"description": "Content to be displayed inside the popover.",
|
|
5333
|
+
"required": true,
|
|
5334
|
+
"inherited": false,
|
|
5335
|
+
"category": "props"
|
|
5336
|
+
},
|
|
5337
|
+
{
|
|
5338
|
+
"name": "data-testid",
|
|
5339
|
+
"type": "string",
|
|
5340
|
+
"description": "Optional test ID for testing frameworks.",
|
|
5341
|
+
"required": false,
|
|
5342
|
+
"inherited": false,
|
|
5343
|
+
"category": "testing"
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
"name": "disabled",
|
|
5347
|
+
"type": "boolean",
|
|
5348
|
+
"description": "Disables interaction with the trigger and popover.",
|
|
5349
|
+
"required": false,
|
|
5350
|
+
"inherited": false,
|
|
5351
|
+
"category": "props"
|
|
5352
|
+
},
|
|
5353
|
+
{
|
|
5354
|
+
"name": "id",
|
|
5355
|
+
"type": "string",
|
|
5356
|
+
"description": "Optional ID for the popover content element.",
|
|
5357
|
+
"required": false,
|
|
5358
|
+
"inherited": false,
|
|
5359
|
+
"category": "props"
|
|
5360
|
+
},
|
|
5361
|
+
{
|
|
5362
|
+
"name": "placement",
|
|
5363
|
+
"type": '"left" | "right" | "top" | "bottom"',
|
|
5364
|
+
"description": 'Placement of the popover relative to the trigger element. One of: "top" | "bottom" | "left" | "right"',
|
|
5365
|
+
"required": false,
|
|
5366
|
+
"inherited": false,
|
|
5367
|
+
"category": "props"
|
|
5368
|
+
},
|
|
5369
|
+
{
|
|
5370
|
+
"name": "rounding",
|
|
5371
|
+
"type": "RoundingType",
|
|
5372
|
+
"description": 'Rounding of the popover content. One of: "none" | "small" | "medium" | "large" | "full"',
|
|
5373
|
+
"required": false,
|
|
5374
|
+
"inherited": false,
|
|
5375
|
+
"category": "styling"
|
|
5376
|
+
},
|
|
5377
|
+
{
|
|
5378
|
+
"name": "shadow",
|
|
5379
|
+
"type": "ShadowType",
|
|
5380
|
+
"description": 'Shadow of the popover content. One of: "none" | "light" | "medium" | "strong" | "intense"',
|
|
5381
|
+
"required": false,
|
|
5382
|
+
"inherited": false,
|
|
5383
|
+
"category": "styling"
|
|
5384
|
+
},
|
|
5385
|
+
{
|
|
5386
|
+
"name": "state",
|
|
5387
|
+
"type": "StateType",
|
|
5388
|
+
"description": 'State of the popover, for feedback styling. One of: "success" | "error" | "warning" | "disabled" | ""',
|
|
5389
|
+
"required": false,
|
|
5390
|
+
"inherited": false,
|
|
5391
|
+
"category": "styling"
|
|
5392
|
+
},
|
|
5393
|
+
{
|
|
5394
|
+
"name": "theme",
|
|
5395
|
+
"type": "ThemeType",
|
|
5396
|
+
"description": 'Theme for the popover styling. One of: "primary" | "secondary" | "tertiary" | "quaternary" | "clear"',
|
|
5397
|
+
"required": false,
|
|
5398
|
+
"inherited": false,
|
|
5399
|
+
"category": "styling"
|
|
5400
|
+
},
|
|
5401
|
+
{
|
|
5402
|
+
"name": "trigger",
|
|
5403
|
+
"type": "ReactNode",
|
|
5404
|
+
"description": "Trigger element that toggles the popover's visibility.",
|
|
5405
|
+
"required": true,
|
|
5406
|
+
"inherited": false,
|
|
5407
|
+
"category": "props"
|
|
5408
|
+
},
|
|
5409
|
+
{
|
|
5410
|
+
"name": "triggerAriaLabel",
|
|
5411
|
+
"type": "string",
|
|
5412
|
+
"description": "Accessible label for the trigger button.",
|
|
5413
|
+
"required": false,
|
|
5414
|
+
"inherited": false,
|
|
5415
|
+
"category": "props"
|
|
5416
|
+
},
|
|
5417
|
+
{
|
|
5418
|
+
"name": "triggerTitle",
|
|
5419
|
+
"type": "string",
|
|
5420
|
+
"description": "Accessible label for the trigger button when expanded/collapsed state needs custom wording.",
|
|
5421
|
+
"required": false,
|
|
5422
|
+
"inherited": false,
|
|
5423
|
+
"category": "props"
|
|
5424
|
+
}
|
|
5425
|
+
]
|
|
5426
|
+
};
|
|
4963
5427
|
const progressBarPropDocs = {
|
|
4964
5428
|
"name": "ProgressBar",
|
|
4965
5429
|
"interfaceName": "ProgressBarProps",
|
|
@@ -8221,6 +8685,8 @@ exports.badgePropDocs = badgePropDocs;
|
|
|
8221
8685
|
exports.breadcrumbsPropDocs = breadcrumbsPropDocs;
|
|
8222
8686
|
exports.buttonPropDocs = buttonPropDocs;
|
|
8223
8687
|
exports.cardPropDocs = cardPropDocs;
|
|
8688
|
+
exports.checkBoxPropDocs = checkBoxPropDocs;
|
|
8689
|
+
exports.chipGroupPropDocs = chipGroupPropDocs;
|
|
8224
8690
|
exports.chipPropDocs = chipPropDocs;
|
|
8225
8691
|
exports.circularProgressPropDocs = circularProgressPropDocs;
|
|
8226
8692
|
exports.colorPickerPropDocs = colorPickerPropDocs;
|
|
@@ -8240,6 +8706,8 @@ exports.metricBoxPropDocs = metricBoxPropDocs;
|
|
|
8240
8706
|
exports.modalPropDocs = modalPropDocs;
|
|
8241
8707
|
exports.navBarPropDocs = navBarPropDocs;
|
|
8242
8708
|
exports.notificationCenterPropDocs = notificationCenterPropDocs;
|
|
8709
|
+
exports.pagerPropDocs = pagerPropDocs;
|
|
8710
|
+
exports.popoverPropDocs = popoverPropDocs;
|
|
8243
8711
|
exports.progressBarPropDocs = progressBarPropDocs;
|
|
8244
8712
|
exports.radioButtonPropDocs = radioButtonPropDocs;
|
|
8245
8713
|
exports.ratingPropDocs = ratingPropDocs;
|