@cds/core 5.6.1 → 6.0.0-next.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/accordion/accordion-header.element.scss.js +1 -1
- package/accordion/accordion-panel.element.scss.js +1 -1
- package/alert/alert-group.element.scss.js +1 -1
- package/alert/alert.element.scss.js +1 -1
- package/badge/badge.element.scss.js +1 -1
- package/button/button.element.scss.js +1 -1
- package/button/inline-button.element.scss.js +1 -1
- package/card/card.element.scss.js +1 -1
- package/checkbox/checkbox.element.scss.js +1 -1
- package/custom-elements.json +30298 -69310
- package/custom-elements.legacy.json +556 -6
- package/divider/divider.element.scss.js +1 -1
- package/dropdown/dropdown.element.d.ts +39 -0
- package/dropdown/dropdown.element.js +2 -0
- package/dropdown/dropdown.element.js.map +1 -0
- package/dropdown/index.d.ts +1 -0
- package/dropdown/index.js +2 -0
- package/{internal/interfaces → dropdown}/index.js.map +0 -0
- package/dropdown/register.d.ts +6 -0
- package/dropdown/register.js +2 -0
- package/dropdown/register.js.map +1 -0
- package/forms/control/control.element.js +1 -1
- package/forms/control/control.element.scss.js +1 -1
- package/forms/control-action/control-action.element.scss.js +1 -1
- package/forms/control-group/control-group.element.js +1 -1
- package/forms/control-group/control-group.element.scss.js +1 -1
- package/forms/control-inline/control-inline.element.js +1 -1
- package/forms/form-group/form-group.element.js +1 -1
- package/forms/utils/{index.d.ts → utils.d.ts} +0 -0
- package/forms/utils/{index.js → utils.js} +1 -1
- package/forms/utils/{index.js.map → utils.js.map} +1 -1
- package/global.css +3 -3
- package/global.min.css +1 -1
- package/icon/icon.element.scss.js +1 -1
- package/index.d.ts +2 -1
- package/index.js +1 -1
- package/input/input.element.scss.js +1 -1
- package/internal/base/base.element.scss.js +1 -1
- package/internal/base/button.base.d.ts +3 -0
- package/internal/base/button.base.js +1 -1
- package/internal/base/button.base.js.map +1 -1
- package/internal/base/focus-trap.base.d.ts +9 -11
- package/internal/base/focus-trap.base.js +1 -1
- package/internal/base/focus-trap.base.js.map +1 -1
- package/internal/controllers/aria-popup-trigger.controller.d.ts +6 -0
- package/internal/controllers/aria-popup-trigger.controller.js +2 -0
- package/internal/controllers/aria-popup-trigger.controller.js.map +1 -0
- package/internal/controllers/aria-popup.controller.d.ts +10 -0
- package/internal/controllers/aria-popup.controller.js +2 -0
- package/internal/controllers/aria-popup.controller.js.map +1 -0
- package/internal/controllers/closable.controller.d.ts +29 -0
- package/internal/controllers/closable.controller.js +2 -0
- package/internal/controllers/closable.controller.js.map +1 -0
- package/internal/controllers/first-focus.controller.d.ts +13 -0
- package/internal/controllers/first-focus.controller.js +2 -0
- package/internal/controllers/first-focus.controller.js.map +1 -0
- package/internal/controllers/inline-focus-trap.controller.d.ts +16 -0
- package/internal/controllers/inline-focus-trap.controller.js +2 -0
- package/internal/controllers/inline-focus-trap.controller.js.map +1 -0
- package/internal/controllers/utils/first-focus.controller.utils.d.ts +3 -0
- package/internal/controllers/utils/first-focus.controller.utils.js +2 -0
- package/internal/controllers/utils/first-focus.controller.utils.js.map +1 -0
- package/internal/decorators/animate.js.map +1 -1
- package/internal/decorators/element.d.ts +1 -1
- package/internal/decorators/element.js +2 -0
- package/internal/decorators/element.js.map +1 -0
- package/internal/decorators/id.d.ts +1 -1
- package/internal/decorators/query-slot.d.ts +2 -2
- package/internal/index.d.ts +14 -2
- package/internal/index.js +1 -1
- package/internal/index.js.map +1 -1
- package/internal/interfaces/{index.d.ts → interfaces.d.ts} +0 -0
- package/internal/interfaces/interfaces.js +2 -0
- package/internal/interfaces/interfaces.js.map +1 -0
- package/internal/motion/animations/cds-dropdown-open.d.ts +3 -0
- package/internal/motion/animations/cds-dropdown-open.js +2 -0
- package/internal/motion/animations/cds-dropdown-open.js.map +1 -0
- package/internal/motion/animations/cds-modal-enter.js +1 -1
- package/internal/motion/animations/cds-modal-enter.js.map +1 -1
- package/internal/motion/interfaces.d.ts +1 -1
- package/internal/motion/utils.d.ts +3 -3
- package/internal/motion/utils.js +1 -1
- package/internal/motion/utils.js.map +1 -1
- package/internal/positioning/interfaces.d.ts +61 -0
- package/internal/positioning/interfaces.js +2 -0
- package/internal/positioning/interfaces.js.map +1 -0
- package/internal/positioning/utils.d.ts +26 -0
- package/internal/positioning/utils.js +2 -0
- package/internal/positioning/utils.js.map +1 -0
- package/internal/services/focus-trap-tracker.service.d.ts +3 -0
- package/internal/services/focus-trap-tracker.service.js +1 -1
- package/internal/services/focus-trap-tracker.service.js.map +1 -1
- package/internal/services/global.service.d.ts +1 -1
- package/internal/services/i18n.service.d.ts +20 -0
- package/internal/services/i18n.service.js +1 -1
- package/internal/services/i18n.service.js.map +1 -1
- package/internal/utils/array.d.ts +7 -4
- package/internal/utils/array.js +1 -1
- package/internal/utils/array.js.map +1 -1
- package/internal/utils/conditional.d.ts +4 -1
- package/internal/utils/conditional.js +1 -1
- package/internal/utils/conditional.js.map +1 -1
- package/internal/utils/css.d.ts +1 -0
- package/internal/utils/css.js +1 -1
- package/internal/utils/css.js.map +1 -1
- package/internal/utils/dom.d.ts +17 -2
- package/internal/utils/dom.js +1 -1
- package/internal/utils/dom.js.map +1 -1
- package/internal/utils/enum.d.ts +1 -0
- package/internal/utils/enum.js +2 -0
- package/internal/utils/enum.js.map +1 -0
- package/internal/utils/events.d.ts +4 -0
- package/internal/utils/events.js +1 -1
- package/internal/utils/events.js.map +1 -1
- package/internal/utils/focus-trap.d.ts +30 -1
- package/internal/utils/focus-trap.js +1 -1
- package/internal/utils/focus-trap.js.map +1 -1
- package/internal/utils/global.d.ts +3 -3
- package/internal/utils/global.js +1 -1
- package/internal/utils/global.js.map +1 -1
- package/internal/utils/identity.d.ts +28 -1
- package/internal/utils/identity.js +1 -1
- package/internal/utils/identity.js.map +1 -1
- package/internal/utils/math.d.ts +3 -0
- package/internal/utils/math.js +2 -0
- package/internal/utils/math.js.map +1 -0
- package/internal/utils/{register.d.ts → registration.d.ts} +0 -0
- package/internal/utils/registration.js +2 -0
- package/internal/utils/registration.js.map +1 -0
- package/internal/utils/string.d.ts +5 -0
- package/internal/utils/string.js +1 -1
- package/internal/utils/string.js.map +1 -1
- package/internal/utils/traversal.d.ts +4 -0
- package/internal/utils/traversal.js +2 -0
- package/internal/utils/traversal.js.map +1 -0
- package/internal-components/close-button/close-button.element.d.ts +1 -3
- package/internal-components/close-button/close-button.element.js +1 -1
- package/internal-components/close-button/close-button.element.js.map +1 -1
- package/internal-components/close-button/close-button.element.scss.js +1 -1
- package/internal-components/close-button/index.js +1 -1
- package/internal-components/overlay/index.js +1 -1
- package/internal-components/overlay/overlay.element.d.ts +35 -23
- package/internal-components/overlay/overlay.element.js +1 -1
- package/internal-components/overlay/overlay.element.js.map +1 -1
- package/internal-components/overlay/overlay.element.scss.js +1 -1
- package/internal-components/overlay/shared.element.scss.js +2 -0
- package/internal-components/overlay/shared.element.scss.js.map +1 -0
- package/internal-components/panel/panel.element.scss.js +1 -1
- package/internal-components/popup/index.d.ts +2 -0
- package/internal-components/popup/index.js +2 -0
- package/internal-components/popup/index.js.map +1 -0
- package/internal-components/popup/pointer.element.d.ts +35 -0
- package/internal-components/popup/pointer.element.js +2 -0
- package/internal-components/popup/pointer.element.js.map +1 -0
- package/internal-components/popup/pointer.element.scss.js +2 -0
- package/internal-components/popup/pointer.element.scss.js.map +1 -0
- package/internal-components/popup/popup.element.d.ts +116 -0
- package/internal-components/popup/popup.element.js +2 -0
- package/internal-components/popup/popup.element.js.map +1 -0
- package/internal-components/popup/popup.element.scss.js +2 -0
- package/internal-components/popup/popup.element.scss.js.map +1 -0
- package/internal-components/popup/register.d.ts +9 -0
- package/internal-components/popup/register.js +2 -0
- package/internal-components/popup/register.js.map +1 -0
- package/internal-components/popup/utils/pointer.utils.d.ts +2 -0
- package/internal-components/popup/utils/pointer.utils.js +2 -0
- package/internal-components/popup/utils/pointer.utils.js.map +1 -0
- package/internal-components/visual-checkbox/visual-checkbox.element.scss.js +1 -1
- package/modal/modal-content.element.d.ts +0 -1
- package/modal/modal-content.element.js +1 -1
- package/modal/modal-content.element.js.map +1 -1
- package/modal/modal.element.d.ts +13 -3
- package/modal/modal.element.js +1 -1
- package/modal/modal.element.js.map +1 -1
- package/modal/modal.element.scss.js +1 -1
- package/navigation/navigation-group.element.scss.js +1 -1
- package/navigation/navigation-item.element.js +1 -1
- package/navigation/navigation-item.element.scss.js +1 -1
- package/navigation/navigation-start.element.js +1 -1
- package/navigation/navigation.element.d.ts +3 -3
- package/navigation/navigation.element.js +1 -1
- package/navigation/navigation.element.scss.js +1 -1
- package/navigation/utils/{index.d.ts → utils.d.ts} +0 -0
- package/navigation/utils/{index.js → utils.js} +1 -1
- package/navigation/utils/{index.js.map → utils.js.map} +1 -1
- package/package.json +95 -92
- package/pagination/pagination-button.element.scss.js +1 -1
- package/progress-circle/progress-circle.element.scss.js +1 -1
- package/radio/radio.element.scss.js +1 -1
- package/range/range.global.scss.js +1 -1
- package/selection-panels/shared/selection-panel.element.scss.js +1 -1
- package/styles/module.tokens.css +3 -3
- package/styles/module.tokens.min.css +1 -1
- package/styles/theme.dark.css +6 -8
- package/styles/theme.dark.min.css +1 -1
- package/tag/tag.element.scss.js +1 -1
- package/toggle/toggle.element.scss.js +1 -1
- package/tokens/tokens.android.xml +3 -3
- package/tokens/tokens.ios.swift +3 -3
- package/tokens/tokens.json +3 -3
- package/tree-view/tree-item.element.scss.js +1 -1
- package/_virtual/_virtual_library-entry-points +0 -2
- package/_virtual/_virtual_library-entry-points.map +0 -1
- package/internal/base/css-gap.base.d.ts +0 -18
- package/internal/base/css-gap.base.js +0 -2
- package/internal/base/css-gap.base.js.map +0 -1
- package/internal/interfaces/index.js +0 -2
- package/internal/utils/register.js +0 -2
- package/internal/utils/register.js.map +0 -1
- package/styles/module.shims.css +0 -896
- package/styles/module.shims.min.css +0 -1
|
@@ -1435,6 +1435,166 @@
|
|
|
1435
1435
|
}
|
|
1436
1436
|
]
|
|
1437
1437
|
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "cds-dropdown",
|
|
1440
|
+
"path": "./dropdown/dropdown.element.d.ts",
|
|
1441
|
+
"description": "Dropdowns are...\n\n```typescript\nimport '@cds/core/dropdown/register.js';\n```\n\n```html\n<cds-dropdown>...</cds-dropdown>\n```",
|
|
1442
|
+
"events": [
|
|
1443
|
+
{
|
|
1444
|
+
"name": "closeChange",
|
|
1445
|
+
"description": "Notify user when close event has occurred"
|
|
1446
|
+
}
|
|
1447
|
+
],
|
|
1448
|
+
"slots": [
|
|
1449
|
+
{
|
|
1450
|
+
"name": "",
|
|
1451
|
+
"description": "Content slot for the content inside the popup's panel"
|
|
1452
|
+
}
|
|
1453
|
+
],
|
|
1454
|
+
"cssProperties": [
|
|
1455
|
+
{
|
|
1456
|
+
"name": "--active-corner-border-radius"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "--background"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"name": "--backdrop-background"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "--layered-backdrop-background"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "--border-color"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"name": "--border-radius"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"name": "--border-width"
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"name": "--box-shadow"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "--close-button-offset"
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"name": "--color"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"name": "--min-height"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "--min-width"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "--max-height"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "--max-width"
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"name": "--mobile-max-height"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "--overflow",
|
|
1502
|
+
"description": "sets overflow x and y values respectively"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"name": "--height"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "--width"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"name": "--animation-duration"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "--animation-easing"
|
|
1515
|
+
}
|
|
1516
|
+
]
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"name": "cds-dropdown",
|
|
1520
|
+
"path": "./dropdown/register.d.ts",
|
|
1521
|
+
"description": "Dropdowns are...\n\n```typescript\nimport '@cds/core/dropdown/register.js';\n```\n\n```html\n<cds-dropdown>...</cds-dropdown>\n```",
|
|
1522
|
+
"events": [
|
|
1523
|
+
{
|
|
1524
|
+
"name": "closeChange",
|
|
1525
|
+
"description": "Notify user when close event has occurred"
|
|
1526
|
+
}
|
|
1527
|
+
],
|
|
1528
|
+
"slots": [
|
|
1529
|
+
{
|
|
1530
|
+
"name": "",
|
|
1531
|
+
"description": "Content slot for the content inside the popup's panel"
|
|
1532
|
+
}
|
|
1533
|
+
],
|
|
1534
|
+
"cssProperties": [
|
|
1535
|
+
{
|
|
1536
|
+
"name": "--active-corner-border-radius"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"name": "--background"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"name": "--backdrop-background"
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"name": "--layered-backdrop-background"
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "--border-color"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "--border-radius"
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"name": "--border-width"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "--box-shadow"
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
"name": "--close-button-offset"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"name": "--color"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "--min-height"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"name": "--min-width"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "--max-height"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"name": "--max-width"
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"name": "--mobile-max-height"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"name": "--overflow",
|
|
1582
|
+
"description": "sets overflow x and y values respectively"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"name": "--height"
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "--width"
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "--animation-duration"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"name": "--animation-easing"
|
|
1595
|
+
}
|
|
1596
|
+
]
|
|
1597
|
+
},
|
|
1438
1598
|
{
|
|
1439
1599
|
"name": "cds-file",
|
|
1440
1600
|
"path": "./file/file.element.d.ts",
|
|
@@ -2318,11 +2478,19 @@
|
|
|
2318
2478
|
"name": "cdsMotionChange"
|
|
2319
2479
|
},
|
|
2320
2480
|
{
|
|
2321
|
-
"name": "
|
|
2322
|
-
"type": "
|
|
2481
|
+
"name": "closable",
|
|
2482
|
+
"type": "boolean"
|
|
2323
2483
|
},
|
|
2324
2484
|
{
|
|
2325
|
-
"name": "
|
|
2485
|
+
"name": "ignoreFocusTrap",
|
|
2486
|
+
"type": "boolean"
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"name": "i18n",
|
|
2490
|
+
"type": "{ closeButtonAriaLabel: string; contentStart: string; contentEnd: string; }"
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"name": "ariaModal",
|
|
2326
2494
|
"type": "string"
|
|
2327
2495
|
}
|
|
2328
2496
|
],
|
|
@@ -2367,11 +2535,19 @@
|
|
|
2367
2535
|
"name": "cdsMotionChange"
|
|
2368
2536
|
},
|
|
2369
2537
|
{
|
|
2370
|
-
"name": "
|
|
2371
|
-
"type": "
|
|
2538
|
+
"name": "closable",
|
|
2539
|
+
"type": "boolean"
|
|
2372
2540
|
},
|
|
2373
2541
|
{
|
|
2374
|
-
"name": "
|
|
2542
|
+
"name": "ignoreFocusTrap",
|
|
2543
|
+
"type": "boolean"
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"name": "i18n",
|
|
2547
|
+
"type": "{ closeButtonAriaLabel: string; contentStart: string; contentEnd: string; }"
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"name": "ariaModal",
|
|
2375
2551
|
"type": "string"
|
|
2376
2552
|
}
|
|
2377
2553
|
],
|
|
@@ -2495,6 +2671,332 @@
|
|
|
2495
2671
|
}
|
|
2496
2672
|
]
|
|
2497
2673
|
},
|
|
2674
|
+
{
|
|
2675
|
+
"name": "cds-internal-pointer",
|
|
2676
|
+
"path": "./internal-components/popup/pointer.element.d.ts",
|
|
2677
|
+
"description": "```typescript\nimport '@cds/core/internal-components/popup/register.js';\n```\n\n```html\n<cds-internal-pointer></cds-internal-pointer>\n```",
|
|
2678
|
+
"properties": [
|
|
2679
|
+
{
|
|
2680
|
+
"name": "axisAlign",
|
|
2681
|
+
"type": "\"start\" | \"center\" | \"end\""
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
"name": "type",
|
|
2685
|
+
"description": "The \"angle\" pointer type is the right-angle triangle that we are used to seeing with signposts.\nThe \"default\" pointer type is an equilateral triangle like we see with the pop-outs in the\ndatagrid single row actions.",
|
|
2686
|
+
"type": "('angle' | 'default')"
|
|
2687
|
+
}
|
|
2688
|
+
],
|
|
2689
|
+
"slots": [
|
|
2690
|
+
{
|
|
2691
|
+
"name": "",
|
|
2692
|
+
"description": "Content slot to override the default pointer SVG"
|
|
2693
|
+
}
|
|
2694
|
+
],
|
|
2695
|
+
"cssProperties": [
|
|
2696
|
+
{
|
|
2697
|
+
"name": "--pointer-fill"
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"name": "--pointer-outline"
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"name": "--transform"
|
|
2704
|
+
}
|
|
2705
|
+
]
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"name": "cds-internal-popup",
|
|
2709
|
+
"path": "./internal-components/popup/popup.element.d.ts",
|
|
2710
|
+
"description": "```typescript\nimport '@cds/core/internal-components/popup/register.js';\n```\n\n```html\n<cds-internal-popup>\n <section cds-layout=\"vertical align:horizontal-stretch\">\n <div cds-layout=\"vertical pad:md gap:md\">\n <h2 cds-text=\"display\">A Title</h2>\n <div>\n <p cds-text=\"body\">\n Content inside a generic popup.\n </p>\n </div>\n </div>\n </section>\n</cds-internal-popup>\n```",
|
|
2711
|
+
"properties": [
|
|
2712
|
+
{
|
|
2713
|
+
"name": "i18n",
|
|
2714
|
+
"type": "{ closeButtonAriaLabel: string; contentStart: string; contentEnd: string; }"
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"name": "cdsMotion",
|
|
2718
|
+
"type": "string"
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"name": "cdsMotionChange"
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
"name": "container",
|
|
2725
|
+
"type": "HTMLElement"
|
|
2726
|
+
},
|
|
2727
|
+
{
|
|
2728
|
+
"name": "anchor",
|
|
2729
|
+
"description": "Accepts both an HTMLElement and a string",
|
|
2730
|
+
"type": "string | HTMLElement"
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
"name": "anchorAlign"
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"name": "mainAxisOffset",
|
|
2737
|
+
"type": "number"
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
"name": "crossAxisOffset",
|
|
2741
|
+
"type": "number"
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
"name": "orientation",
|
|
2745
|
+
"type": "string"
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
"name": "closable",
|
|
2749
|
+
"description": "If false, the dropdown will not show a close button ever.\nIf true, it will always show a close button.\nIf undefined, it will only show a close button when responsive. a11y expects a close button when responsive.",
|
|
2750
|
+
"type": "boolean"
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"name": "pointerAlign"
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
"name": "pointer",
|
|
2757
|
+
"type": "CdsInternalPointer"
|
|
2758
|
+
}
|
|
2759
|
+
],
|
|
2760
|
+
"events": [
|
|
2761
|
+
{
|
|
2762
|
+
"name": "closeChange",
|
|
2763
|
+
"description": "Notify user when close event has occurred"
|
|
2764
|
+
}
|
|
2765
|
+
],
|
|
2766
|
+
"slots": [
|
|
2767
|
+
{
|
|
2768
|
+
"name": "",
|
|
2769
|
+
"description": "Content slot for the content inside the popup's panel"
|
|
2770
|
+
}
|
|
2771
|
+
],
|
|
2772
|
+
"cssProperties": [
|
|
2773
|
+
{
|
|
2774
|
+
"name": "--active-corner-border-radius"
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
"name": "--background"
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"name": "--backdrop-background"
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
"name": "--layered-backdrop-background"
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"name": "--border-color"
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"name": "--border-radius"
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"name": "--border-width"
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
"name": "--box-shadow"
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
"name": "--close-button-offset"
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"name": "--color"
|
|
2802
|
+
},
|
|
2803
|
+
{
|
|
2804
|
+
"name": "--min-height"
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
"name": "--min-width"
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"name": "--max-height"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "--max-width"
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
"name": "--mobile-max-height"
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
"name": "--overflow",
|
|
2820
|
+
"description": "sets overflow x and y values respectively"
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"name": "--height"
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"name": "--width"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "--animation-duration"
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
"name": "--animation-easing",
|
|
2833
|
+
"description": "KNOWN ISSUE: Safari jumps through the exit animation but only when the ESC key is pressed."
|
|
2834
|
+
}
|
|
2835
|
+
]
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"name": "cds-internal-popup",
|
|
2839
|
+
"path": "./internal-components/popup/register.d.ts",
|
|
2840
|
+
"description": "```typescript\nimport '@cds/core/internal-components/popup/register.js';\n```\n\n```html\n<cds-internal-popup>\n <section cds-layout=\"vertical align:horizontal-stretch\">\n <div cds-layout=\"vertical pad:md gap:md\">\n <h2 cds-text=\"display\">A Title</h2>\n <div>\n <p cds-text=\"body\">\n Content inside a generic popup.\n </p>\n </div>\n </div>\n </section>\n</cds-internal-popup>\n```",
|
|
2841
|
+
"properties": [
|
|
2842
|
+
{
|
|
2843
|
+
"name": "i18n",
|
|
2844
|
+
"type": "{ closeButtonAriaLabel: string; contentStart: string; contentEnd: string; }"
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"name": "cdsMotion",
|
|
2848
|
+
"type": "string"
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"name": "cdsMotionChange"
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"name": "container",
|
|
2855
|
+
"type": "HTMLElement"
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"name": "anchor",
|
|
2859
|
+
"description": "Accepts both an HTMLElement and a string",
|
|
2860
|
+
"type": "string | HTMLElement"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"name": "anchorAlign"
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"name": "mainAxisOffset",
|
|
2867
|
+
"type": "number"
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
"name": "crossAxisOffset",
|
|
2871
|
+
"type": "number"
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"name": "orientation",
|
|
2875
|
+
"type": "string"
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"name": "closable",
|
|
2879
|
+
"description": "If false, the dropdown will not show a close button ever.\nIf true, it will always show a close button.\nIf undefined, it will only show a close button when responsive. a11y expects a close button when responsive.",
|
|
2880
|
+
"type": "boolean"
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"name": "pointerAlign"
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"name": "pointer",
|
|
2887
|
+
"type": "CdsInternalPointer"
|
|
2888
|
+
}
|
|
2889
|
+
],
|
|
2890
|
+
"events": [
|
|
2891
|
+
{
|
|
2892
|
+
"name": "closeChange",
|
|
2893
|
+
"description": "Notify user when close event has occurred"
|
|
2894
|
+
}
|
|
2895
|
+
],
|
|
2896
|
+
"slots": [
|
|
2897
|
+
{
|
|
2898
|
+
"name": "",
|
|
2899
|
+
"description": "Content slot for the content inside the popup's panel"
|
|
2900
|
+
}
|
|
2901
|
+
],
|
|
2902
|
+
"cssProperties": [
|
|
2903
|
+
{
|
|
2904
|
+
"name": "--active-corner-border-radius"
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"name": "--background"
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"name": "--backdrop-background"
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
"name": "--layered-backdrop-background"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"name": "--border-color"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"name": "--border-radius"
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"name": "--border-width"
|
|
2923
|
+
},
|
|
2924
|
+
{
|
|
2925
|
+
"name": "--box-shadow"
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"name": "--close-button-offset"
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"name": "--color"
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
"name": "--min-height"
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"name": "--min-width"
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
"name": "--max-height"
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
"name": "--max-width"
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
"name": "--mobile-max-height"
|
|
2947
|
+
},
|
|
2948
|
+
{
|
|
2949
|
+
"name": "--overflow",
|
|
2950
|
+
"description": "sets overflow x and y values respectively"
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
"name": "--height"
|
|
2954
|
+
},
|
|
2955
|
+
{
|
|
2956
|
+
"name": "--width"
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"name": "--animation-duration"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
"name": "--animation-easing",
|
|
2963
|
+
"description": "KNOWN ISSUE: Safari jumps through the exit animation but only when the ESC key is pressed."
|
|
2964
|
+
}
|
|
2965
|
+
]
|
|
2966
|
+
},
|
|
2967
|
+
{
|
|
2968
|
+
"name": "cds-internal-pointer",
|
|
2969
|
+
"path": "./internal-components/popup/register.d.ts",
|
|
2970
|
+
"description": "```typescript\nimport '@cds/core/internal-components/popup/register.js';\n```\n\n```html\n<cds-internal-pointer></cds-internal-pointer>\n```",
|
|
2971
|
+
"properties": [
|
|
2972
|
+
{
|
|
2973
|
+
"name": "axisAlign",
|
|
2974
|
+
"type": "\"start\" | \"center\" | \"end\""
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"name": "type",
|
|
2978
|
+
"description": "The \"angle\" pointer type is the right-angle triangle that we are used to seeing with signposts.\nThe \"default\" pointer type is an equilateral triangle like we see with the pop-outs in the\ndatagrid single row actions.",
|
|
2979
|
+
"type": "('angle' | 'default')"
|
|
2980
|
+
}
|
|
2981
|
+
],
|
|
2982
|
+
"slots": [
|
|
2983
|
+
{
|
|
2984
|
+
"name": "",
|
|
2985
|
+
"description": "Content slot to override the default pointer SVG"
|
|
2986
|
+
}
|
|
2987
|
+
],
|
|
2988
|
+
"cssProperties": [
|
|
2989
|
+
{
|
|
2990
|
+
"name": "--pointer-fill"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"name": "--pointer-outline"
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
"name": "--transform"
|
|
2997
|
+
}
|
|
2998
|
+
]
|
|
2999
|
+
},
|
|
2498
3000
|
{
|
|
2499
3001
|
"name": "cds-internal-visual-checkbox",
|
|
2500
3002
|
"path": "./internal-components/visual-checkbox/register.d.ts",
|
|
@@ -2547,10 +3049,26 @@
|
|
|
2547
3049
|
"description": "If false, the modal will not render the close button.",
|
|
2548
3050
|
"type": "boolean"
|
|
2549
3051
|
},
|
|
3052
|
+
{
|
|
3053
|
+
"name": "hidden",
|
|
3054
|
+
"type": "boolean"
|
|
3055
|
+
},
|
|
2550
3056
|
{
|
|
2551
3057
|
"name": "size",
|
|
2552
3058
|
"description": "Sets the overall height and width of the modal and icon based on value",
|
|
2553
3059
|
"type": "\"default\" | \"sm\" | \"lg\" | \"xl\""
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"name": "content",
|
|
3063
|
+
"type": "HTMLElement"
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"name": "modalHeader",
|
|
3067
|
+
"type": "CdsModalHeader"
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"name": "modalFooter",
|
|
3071
|
+
"type": "CdsModalActions"
|
|
2554
3072
|
}
|
|
2555
3073
|
],
|
|
2556
3074
|
"events": [
|
|
@@ -2648,10 +3166,26 @@
|
|
|
2648
3166
|
"description": "If false, the modal will not render the close button.",
|
|
2649
3167
|
"type": "boolean"
|
|
2650
3168
|
},
|
|
3169
|
+
{
|
|
3170
|
+
"name": "hidden",
|
|
3171
|
+
"type": "boolean"
|
|
3172
|
+
},
|
|
2651
3173
|
{
|
|
2652
3174
|
"name": "size",
|
|
2653
3175
|
"description": "Sets the overall height and width of the modal and icon based on value",
|
|
2654
3176
|
"type": "\"default\" | \"sm\" | \"lg\" | \"xl\""
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"name": "content",
|
|
3180
|
+
"type": "HTMLElement"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"name": "modalHeader",
|
|
3184
|
+
"type": "CdsModalHeader"
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
"name": "modalFooter",
|
|
3188
|
+
"type": "CdsModalActions"
|
|
2655
3189
|
}
|
|
2656
3190
|
],
|
|
2657
3191
|
"events": [
|
|
@@ -2929,6 +3463,14 @@
|
|
|
2929
3463
|
"slots": [
|
|
2930
3464
|
{
|
|
2931
3465
|
"name": ""
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
"name": "cds-navigation-substart",
|
|
3469
|
+
"description": "project content below the navigation toggle button"
|
|
3470
|
+
},
|
|
3471
|
+
{
|
|
3472
|
+
"name": "cds-navigation-end",
|
|
3473
|
+
"description": "project content below the scrollable section"
|
|
2932
3474
|
}
|
|
2933
3475
|
],
|
|
2934
3476
|
"cssProperties": [
|
|
@@ -3006,6 +3548,14 @@
|
|
|
3006
3548
|
"slots": [
|
|
3007
3549
|
{
|
|
3008
3550
|
"name": ""
|
|
3551
|
+
},
|
|
3552
|
+
{
|
|
3553
|
+
"name": "cds-navigation-substart",
|
|
3554
|
+
"description": "project content below the navigation toggle button"
|
|
3555
|
+
},
|
|
3556
|
+
{
|
|
3557
|
+
"name": "cds-navigation-end",
|
|
3558
|
+
"description": "project content below the scrollable section"
|
|
3009
3559
|
}
|
|
3010
3560
|
],
|
|
3011
3561
|
"cssProperties": [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{css as
|
|
1
|
+
import{css as t}from"lit";var i=t`:host{--color:var(--cds-alias-object-border-color, var(--cds-global-color-construction-200, #cbd4d8));--size:var(--cds-alias-object-border-width-100, calc((1 / var(--cds-global-base, 20)) * 1rem));--padding:0;display:block;width:100%;padding:var(--padding)}.private-host{height:var(--size);background:var(--color)}:host([orientation=vertical]){-ms-flex-item-align:stretch;align-self:stretch;height:inherit;width:var(--size)}:host([orientation*=vertical]) .private-host{height:100%;width:var(--size)}`;export default i;
|
|
2
2
|
//# sourceMappingURL=divider.element.scss.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CdsInternalPopup } from '@cds/core/internal-components/popup';
|
|
2
|
+
/**
|
|
3
|
+
* Dropdowns are...
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import '@cds/core/dropdown/register.js';
|
|
7
|
+
* ```
|
|
8
|
+
*
|
|
9
|
+
* ```html
|
|
10
|
+
* <cds-dropdown>...</cds-dropdown>
|
|
11
|
+
* ```
|
|
12
|
+
* @beta
|
|
13
|
+
* @element cds-dropdown
|
|
14
|
+
* @slot - Content slot for the content inside the popup's panel
|
|
15
|
+
* @event closeChange - Notify user when close event has occurred
|
|
16
|
+
* @cssprop --active-corner-border-radius
|
|
17
|
+
* @cssprop --background
|
|
18
|
+
* @cssprop --backdrop-background
|
|
19
|
+
* @cssprop --layered-backdrop-background
|
|
20
|
+
* @cssprop --border-color
|
|
21
|
+
* @cssprop --border-radius
|
|
22
|
+
* @cssprop --border-width
|
|
23
|
+
* @cssprop --box-shadow
|
|
24
|
+
* @cssprop --close-button-offset
|
|
25
|
+
* @cssprop --color
|
|
26
|
+
* @cssprop --min-height
|
|
27
|
+
* @cssprop --min-width
|
|
28
|
+
* @cssprop --max-height
|
|
29
|
+
* @cssprop --max-width
|
|
30
|
+
* @cssprop --mobile-max-height
|
|
31
|
+
* @cssprop --overflow - sets overflow x and y values respectively
|
|
32
|
+
* @cssprop --height
|
|
33
|
+
* @cssprop --width
|
|
34
|
+
* @cssprop --animation-duration
|
|
35
|
+
* @cssprop --animation-easing
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export declare class CdsDropdown extends CdsInternalPopup {
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown.element.js","sources":["../../../src/dropdown/dropdown.element.ts"],"sourcesContent":null,"names":["CdsDropdown","CdsInternalPopup"],"mappings":"uEA0CO,MAAMA,UAAoBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dropdown.element.js';
|
|
File without changes
|