@skdx/web-components-blocks 0.37.0 → 0.39.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/custom-elements.json +146 -146
- package/dist/forgot-password-page/ForgotPasswordPage.cjs +3 -2
- package/dist/forgot-password-page/ForgotPasswordPage.js +6 -5
- package/dist/page-container/PageContainer.d.cts +1 -1
- package/dist/page-container/PageContainer.d.ts +1 -1
- package/dist/reset-password-page/ResetPasswordPage.cjs +3 -2
- package/dist/reset-password-page/ResetPasswordPage.js +2 -1
- package/dist/sign-in-page/SignInPage.cjs +2 -1
- package/dist/sign-in-page/SignInPage.js +1 -0
- package/dist/sign-up-page/SignUpPage.cjs +22 -17
- package/dist/sign-up-page/SignUpPage.d.cts +3 -0
- package/dist/sign-up-page/SignUpPage.d.ts +3 -0
- package/dist/sign-up-page/SignUpPage.js +13 -8
- package/dist/usage-card/UsageCard.cjs +4 -4
- package/dist/usage-card/UsageCard.js +9 -9
- package/dist/verification-page/VerificationPage.cjs +8 -3
- package/dist/verification-page/VerificationPage.d.cts +2 -0
- package/dist/verification-page/VerificationPage.d.ts +2 -0
- package/dist/verification-page/VerificationPage.js +8 -3
- package/dist/workspace-switcher/WorkspaceSwitcher.cjs +17 -17
- package/dist/workspace-switcher/WorkspaceSwitcher.d.cts +1 -0
- package/dist/workspace-switcher/WorkspaceSwitcher.d.ts +1 -0
- package/dist/workspace-switcher/WorkspaceSwitcher.js +14 -14
- package/package.json +3 -3
package/custom-elements.json
CHANGED
|
@@ -1394,23 +1394,23 @@
|
|
|
1394
1394
|
},
|
|
1395
1395
|
{
|
|
1396
1396
|
"kind": "javascript-module",
|
|
1397
|
-
"path": "src/
|
|
1397
|
+
"path": "src/empty-state/EmptyState.ts",
|
|
1398
1398
|
"declarations": [
|
|
1399
1399
|
{
|
|
1400
1400
|
"kind": "class",
|
|
1401
|
-
"description": "
|
|
1402
|
-
"name": "
|
|
1401
|
+
"description": "Placeholder block for a region with nothing to show — no content yet, no\nresults, first use, or disconnected — composing a Heading, a Text\ndescription and consumer-supplied icon and actions.\n\nRenders light DOM, so its parts are classes rather than shadow `::part()`\ntargets: `.skdx-empty-state` on the host, then `__icon`, `__title`,\n`__description`, `__content` and `__actions`. `data-size` and `data-align`\nsit on the host for the skin to read.",
|
|
1402
|
+
"name": "SkdxEmptyState",
|
|
1403
1403
|
"slots": [
|
|
1404
1404
|
{
|
|
1405
|
-
"description": "
|
|
1405
|
+
"description": "Extra content rendered between the description and the actions region.",
|
|
1406
1406
|
"name": ""
|
|
1407
1407
|
},
|
|
1408
1408
|
{
|
|
1409
|
-
"description": "
|
|
1410
|
-
"name": "
|
|
1409
|
+
"description": "Decorative illustration or glyph rendered above the title.",
|
|
1410
|
+
"name": "icon"
|
|
1411
1411
|
},
|
|
1412
1412
|
{
|
|
1413
|
-
"description": "
|
|
1413
|
+
"description": "Primary and secondary controls rendered below the content.",
|
|
1414
1414
|
"name": "actions"
|
|
1415
1415
|
}
|
|
1416
1416
|
],
|
|
@@ -1421,64 +1421,49 @@
|
|
|
1421
1421
|
"type": {
|
|
1422
1422
|
"text": "string"
|
|
1423
1423
|
},
|
|
1424
|
-
"
|
|
1425
|
-
"
|
|
1426
|
-
"attribute": "title"
|
|
1427
|
-
},
|
|
1428
|
-
{
|
|
1429
|
-
"kind": "field",
|
|
1430
|
-
"name": "navigation",
|
|
1431
|
-
"type": {
|
|
1432
|
-
"text": "readonly SkdxDashboardNavigationItem[]"
|
|
1433
|
-
},
|
|
1434
|
-
"description": "The side navigation, one entry per row, nested through each entry's `children`.",
|
|
1424
|
+
"description": "Heading text naming the empty region, rendered into a derived Heading.",
|
|
1425
|
+
"attribute": "title",
|
|
1435
1426
|
"required": true
|
|
1436
1427
|
},
|
|
1437
1428
|
{
|
|
1438
1429
|
"kind": "field",
|
|
1439
|
-
"name": "
|
|
1430
|
+
"name": "description",
|
|
1440
1431
|
"type": {
|
|
1441
|
-
"text": "
|
|
1432
|
+
"text": "string | undefined | undefined"
|
|
1442
1433
|
},
|
|
1443
|
-
"description": "
|
|
1434
|
+
"description": "Supporting copy rendered below the title, explaining why the region is empty.",
|
|
1444
1435
|
"default": "undefined",
|
|
1445
|
-
"attribute": "
|
|
1436
|
+
"attribute": "description"
|
|
1446
1437
|
},
|
|
1447
1438
|
{
|
|
1448
1439
|
"kind": "field",
|
|
1449
|
-
"name": "
|
|
1440
|
+
"name": "headingLevel",
|
|
1450
1441
|
"type": {
|
|
1451
|
-
"text": "
|
|
1442
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1452
1443
|
},
|
|
1453
|
-
"default": "
|
|
1454
|
-
"description": "
|
|
1455
|
-
"attribute": "
|
|
1444
|
+
"default": "3",
|
|
1445
|
+
"description": "Outline level of the derived title heading, lowered or raised to fit the surrounding outline.",
|
|
1446
|
+
"attribute": "heading-level"
|
|
1456
1447
|
},
|
|
1457
1448
|
{
|
|
1458
1449
|
"kind": "field",
|
|
1459
|
-
"name": "
|
|
1450
|
+
"name": "size",
|
|
1460
1451
|
"type": {
|
|
1461
|
-
"text": "string"
|
|
1452
|
+
"text": "'sm' | 'md' | 'lg' | (string & {}) | undefined | undefined"
|
|
1462
1453
|
},
|
|
1463
|
-
"
|
|
1464
|
-
"
|
|
1465
|
-
"attribute": "
|
|
1454
|
+
"description": "Visual size rung, written to `data-size` on the host; the skin scales the icon, spacing and title by it.",
|
|
1455
|
+
"default": "undefined",
|
|
1456
|
+
"attribute": "size"
|
|
1466
1457
|
},
|
|
1467
1458
|
{
|
|
1468
1459
|
"kind": "field",
|
|
1469
|
-
"name": "
|
|
1460
|
+
"name": "align",
|
|
1470
1461
|
"type": {
|
|
1471
|
-
"text": "string"
|
|
1462
|
+
"text": "'center' | 'start' | (string & {})"
|
|
1472
1463
|
},
|
|
1473
|
-
"default": "'
|
|
1474
|
-
"description": "
|
|
1475
|
-
"attribute": "
|
|
1476
|
-
}
|
|
1477
|
-
],
|
|
1478
|
-
"events": [
|
|
1479
|
-
{
|
|
1480
|
-
"description": "Fires with the new open state whenever the navigation toggle is activated.",
|
|
1481
|
-
"name": "nav-open-change"
|
|
1464
|
+
"default": "'center'",
|
|
1465
|
+
"description": "Text and content alignment rung, written to `data-align` on the host.",
|
|
1466
|
+
"attribute": "align"
|
|
1482
1467
|
}
|
|
1483
1468
|
],
|
|
1484
1469
|
"attributes": [
|
|
@@ -1487,116 +1472,108 @@
|
|
|
1487
1472
|
"type": {
|
|
1488
1473
|
"text": "string"
|
|
1489
1474
|
},
|
|
1490
|
-
"
|
|
1491
|
-
"
|
|
1492
|
-
"
|
|
1475
|
+
"description": "Heading text naming the empty region, rendered into a derived Heading.",
|
|
1476
|
+
"fieldName": "title",
|
|
1477
|
+
"required": true
|
|
1493
1478
|
},
|
|
1494
1479
|
{
|
|
1495
|
-
"name": "
|
|
1480
|
+
"name": "description",
|
|
1496
1481
|
"type": {
|
|
1497
|
-
"text": "
|
|
1482
|
+
"text": "string | undefined | undefined"
|
|
1498
1483
|
},
|
|
1499
|
-
"description": "
|
|
1484
|
+
"description": "Supporting copy rendered below the title, explaining why the region is empty.",
|
|
1500
1485
|
"default": "undefined",
|
|
1501
|
-
"fieldName": "
|
|
1486
|
+
"fieldName": "description"
|
|
1502
1487
|
},
|
|
1503
1488
|
{
|
|
1504
|
-
"name": "
|
|
1489
|
+
"name": "heading-level",
|
|
1505
1490
|
"type": {
|
|
1506
|
-
"text": "
|
|
1491
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1507
1492
|
},
|
|
1508
|
-
"default": "
|
|
1509
|
-
"description": "
|
|
1510
|
-
"fieldName": "
|
|
1493
|
+
"default": "3",
|
|
1494
|
+
"description": "Outline level of the derived title heading, lowered or raised to fit the surrounding outline.",
|
|
1495
|
+
"fieldName": "headingLevel"
|
|
1511
1496
|
},
|
|
1512
1497
|
{
|
|
1513
|
-
"name": "
|
|
1498
|
+
"name": "size",
|
|
1514
1499
|
"type": {
|
|
1515
|
-
"text": "string"
|
|
1500
|
+
"text": "'sm' | 'md' | 'lg' | (string & {}) | undefined | undefined"
|
|
1516
1501
|
},
|
|
1517
|
-
"
|
|
1518
|
-
"
|
|
1519
|
-
"fieldName": "
|
|
1502
|
+
"description": "Visual size rung, written to `data-size` on the host; the skin scales the icon, spacing and title by it.",
|
|
1503
|
+
"default": "undefined",
|
|
1504
|
+
"fieldName": "size"
|
|
1520
1505
|
},
|
|
1521
1506
|
{
|
|
1522
|
-
"name": "
|
|
1507
|
+
"name": "align",
|
|
1523
1508
|
"type": {
|
|
1524
|
-
"text": "string"
|
|
1509
|
+
"text": "'center' | 'start' | (string & {})"
|
|
1525
1510
|
},
|
|
1526
|
-
"default": "'
|
|
1527
|
-
"description": "
|
|
1528
|
-
"fieldName": "
|
|
1511
|
+
"default": "'center'",
|
|
1512
|
+
"description": "Text and content alignment rung, written to `data-align` on the host.",
|
|
1513
|
+
"fieldName": "align"
|
|
1529
1514
|
}
|
|
1530
1515
|
],
|
|
1531
1516
|
"superclass": {
|
|
1532
1517
|
"name": "LitElement",
|
|
1533
1518
|
"package": "lit"
|
|
1534
1519
|
},
|
|
1535
|
-
"tagName": "skdx-
|
|
1520
|
+
"tagName": "skdx-empty-state",
|
|
1536
1521
|
"customElement": true
|
|
1537
1522
|
}
|
|
1538
1523
|
],
|
|
1539
1524
|
"exports": [
|
|
1540
1525
|
{
|
|
1541
1526
|
"kind": "js",
|
|
1542
|
-
"name": "
|
|
1527
|
+
"name": "SkdxEmptyState",
|
|
1543
1528
|
"declaration": {
|
|
1544
|
-
"name": "
|
|
1545
|
-
"module": "src/
|
|
1529
|
+
"name": "SkdxEmptyState",
|
|
1530
|
+
"module": "src/empty-state/EmptyState.ts"
|
|
1546
1531
|
}
|
|
1547
1532
|
},
|
|
1548
1533
|
{
|
|
1549
1534
|
"kind": "custom-element-definition",
|
|
1550
|
-
"name": "skdx-
|
|
1535
|
+
"name": "skdx-empty-state",
|
|
1551
1536
|
"declaration": {
|
|
1552
|
-
"name": "
|
|
1553
|
-
"module": "src/
|
|
1537
|
+
"name": "SkdxEmptyState",
|
|
1538
|
+
"module": "src/empty-state/EmptyState.ts"
|
|
1554
1539
|
}
|
|
1555
1540
|
}
|
|
1556
1541
|
]
|
|
1557
1542
|
},
|
|
1558
1543
|
{
|
|
1559
1544
|
"kind": "javascript-module",
|
|
1560
|
-
"path": "src/
|
|
1545
|
+
"path": "src/empty-state/index.ts",
|
|
1561
1546
|
"declarations": [],
|
|
1562
1547
|
"exports": [
|
|
1563
1548
|
{
|
|
1564
1549
|
"kind": "js",
|
|
1565
|
-
"name": "
|
|
1566
|
-
"declaration": {
|
|
1567
|
-
"name": "SkdxDashboardLayout",
|
|
1568
|
-
"module": "./DashboardLayout"
|
|
1569
|
-
}
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
"kind": "js",
|
|
1573
|
-
"name": "SkdxDashboardNavigationItem",
|
|
1550
|
+
"name": "SkdxEmptyState",
|
|
1574
1551
|
"declaration": {
|
|
1575
|
-
"name": "
|
|
1576
|
-
"module": "./
|
|
1552
|
+
"name": "SkdxEmptyState",
|
|
1553
|
+
"module": "./EmptyState"
|
|
1577
1554
|
}
|
|
1578
1555
|
}
|
|
1579
1556
|
]
|
|
1580
1557
|
},
|
|
1581
1558
|
{
|
|
1582
1559
|
"kind": "javascript-module",
|
|
1583
|
-
"path": "src/
|
|
1560
|
+
"path": "src/dashboard-layout/DashboardLayout.ts",
|
|
1584
1561
|
"declarations": [
|
|
1585
1562
|
{
|
|
1586
1563
|
"kind": "class",
|
|
1587
|
-
"description": "
|
|
1588
|
-
"name": "
|
|
1564
|
+
"description": "Application shell block: an app bar, a collapsible side navigation and the content region.\n\nRenders light DOM, so its parts are classes rather than shadow `::part()`\ntargets: `.skdx-dashboard-layout` on the host, then `__app-bar`,\n`__nav-toggle`, `__branding`, `__title`, `__actions`, `__body`, `__nav`,\n`__nav-list`, `__nav-item`, `__nav-header`, `__nav-divider` and `__content`.\n`data-nav-open` sits on the host while the navigation is shown.",
|
|
1565
|
+
"name": "SkdxDashboardLayout",
|
|
1589
1566
|
"slots": [
|
|
1590
1567
|
{
|
|
1591
|
-
"description": "
|
|
1568
|
+
"description": "The page content rendered inside the `<main>` region.",
|
|
1592
1569
|
"name": ""
|
|
1593
1570
|
},
|
|
1594
1571
|
{
|
|
1595
|
-
"description": "
|
|
1596
|
-
"name": "
|
|
1572
|
+
"description": "Logo or product mark at the start of the app bar.",
|
|
1573
|
+
"name": "branding"
|
|
1597
1574
|
},
|
|
1598
1575
|
{
|
|
1599
|
-
"description": "
|
|
1576
|
+
"description": "Controls at the end of the app bar.",
|
|
1600
1577
|
"name": "actions"
|
|
1601
1578
|
}
|
|
1602
1579
|
],
|
|
@@ -1607,49 +1584,64 @@
|
|
|
1607
1584
|
"type": {
|
|
1608
1585
|
"text": "string"
|
|
1609
1586
|
},
|
|
1610
|
-
"
|
|
1611
|
-
"
|
|
1587
|
+
"default": "''",
|
|
1588
|
+
"description": "Application title shown in the app bar after the branding, shadowing the native tooltip attribute.",
|
|
1589
|
+
"attribute": "title"
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"kind": "field",
|
|
1593
|
+
"name": "navigation",
|
|
1594
|
+
"type": {
|
|
1595
|
+
"text": "readonly SkdxDashboardNavigationItem[]"
|
|
1596
|
+
},
|
|
1597
|
+
"description": "The side navigation, one entry per row, nested through each entry's `children`.",
|
|
1612
1598
|
"required": true
|
|
1613
1599
|
},
|
|
1614
1600
|
{
|
|
1615
1601
|
"kind": "field",
|
|
1616
|
-
"name": "
|
|
1602
|
+
"name": "navOpen",
|
|
1617
1603
|
"type": {
|
|
1618
|
-
"text": "
|
|
1604
|
+
"text": "boolean | undefined"
|
|
1619
1605
|
},
|
|
1620
|
-
"description": "
|
|
1606
|
+
"description": "Whether the side navigation is shown, for controlled usage.",
|
|
1621
1607
|
"default": "undefined",
|
|
1622
|
-
"attribute": "
|
|
1608
|
+
"attribute": "nav-open"
|
|
1623
1609
|
},
|
|
1624
1610
|
{
|
|
1625
1611
|
"kind": "field",
|
|
1626
|
-
"name": "
|
|
1612
|
+
"name": "defaultNavOpen",
|
|
1627
1613
|
"type": {
|
|
1628
|
-
"text": "
|
|
1614
|
+
"text": "boolean"
|
|
1629
1615
|
},
|
|
1630
|
-
"default": "
|
|
1631
|
-
"description": "
|
|
1632
|
-
"attribute": "
|
|
1616
|
+
"default": "true",
|
|
1617
|
+
"description": "Whether the side navigation starts shown, for uncontrolled usage.",
|
|
1618
|
+
"attribute": "default-nav-open"
|
|
1633
1619
|
},
|
|
1634
1620
|
{
|
|
1635
1621
|
"kind": "field",
|
|
1636
|
-
"name": "
|
|
1622
|
+
"name": "navLabel",
|
|
1637
1623
|
"type": {
|
|
1638
|
-
"text": "
|
|
1624
|
+
"text": "string"
|
|
1639
1625
|
},
|
|
1640
|
-
"
|
|
1641
|
-
"
|
|
1642
|
-
"attribute": "
|
|
1626
|
+
"default": "'Main navigation'",
|
|
1627
|
+
"description": "Accessible name of the side navigation landmark.",
|
|
1628
|
+
"attribute": "nav-label"
|
|
1643
1629
|
},
|
|
1644
1630
|
{
|
|
1645
1631
|
"kind": "field",
|
|
1646
|
-
"name": "
|
|
1632
|
+
"name": "navToggleLabel",
|
|
1647
1633
|
"type": {
|
|
1648
|
-
"text": "
|
|
1634
|
+
"text": "string"
|
|
1649
1635
|
},
|
|
1650
|
-
"default": "'
|
|
1651
|
-
"description": "
|
|
1652
|
-
"attribute": "
|
|
1636
|
+
"default": "'Toggle navigation'",
|
|
1637
|
+
"description": "Accessible name of the icon-only button that shows and hides the navigation.",
|
|
1638
|
+
"attribute": "nav-toggle-label"
|
|
1639
|
+
}
|
|
1640
|
+
],
|
|
1641
|
+
"events": [
|
|
1642
|
+
{
|
|
1643
|
+
"description": "Fires with the new open state whenever the navigation toggle is activated.",
|
|
1644
|
+
"name": "nav-open-change"
|
|
1653
1645
|
}
|
|
1654
1646
|
],
|
|
1655
1647
|
"attributes": [
|
|
@@ -1658,85 +1650,93 @@
|
|
|
1658
1650
|
"type": {
|
|
1659
1651
|
"text": "string"
|
|
1660
1652
|
},
|
|
1661
|
-
"
|
|
1662
|
-
"
|
|
1663
|
-
"
|
|
1653
|
+
"default": "''",
|
|
1654
|
+
"description": "Application title shown in the app bar after the branding, shadowing the native tooltip attribute.",
|
|
1655
|
+
"fieldName": "title"
|
|
1664
1656
|
},
|
|
1665
1657
|
{
|
|
1666
|
-
"name": "
|
|
1658
|
+
"name": "nav-open",
|
|
1667
1659
|
"type": {
|
|
1668
|
-
"text": "
|
|
1660
|
+
"text": "boolean | undefined"
|
|
1669
1661
|
},
|
|
1670
|
-
"description": "
|
|
1662
|
+
"description": "Whether the side navigation is shown, for controlled usage.",
|
|
1671
1663
|
"default": "undefined",
|
|
1672
|
-
"fieldName": "
|
|
1664
|
+
"fieldName": "navOpen"
|
|
1673
1665
|
},
|
|
1674
1666
|
{
|
|
1675
|
-
"name": "
|
|
1667
|
+
"name": "default-nav-open",
|
|
1676
1668
|
"type": {
|
|
1677
|
-
"text": "
|
|
1669
|
+
"text": "boolean"
|
|
1678
1670
|
},
|
|
1679
|
-
"default": "
|
|
1680
|
-
"description": "
|
|
1681
|
-
"fieldName": "
|
|
1671
|
+
"default": "true",
|
|
1672
|
+
"description": "Whether the side navigation starts shown, for uncontrolled usage.",
|
|
1673
|
+
"fieldName": "defaultNavOpen"
|
|
1682
1674
|
},
|
|
1683
1675
|
{
|
|
1684
|
-
"name": "
|
|
1676
|
+
"name": "nav-label",
|
|
1685
1677
|
"type": {
|
|
1686
|
-
"text": "
|
|
1678
|
+
"text": "string"
|
|
1687
1679
|
},
|
|
1688
|
-
"
|
|
1689
|
-
"
|
|
1690
|
-
"fieldName": "
|
|
1680
|
+
"default": "'Main navigation'",
|
|
1681
|
+
"description": "Accessible name of the side navigation landmark.",
|
|
1682
|
+
"fieldName": "navLabel"
|
|
1691
1683
|
},
|
|
1692
1684
|
{
|
|
1693
|
-
"name": "
|
|
1685
|
+
"name": "nav-toggle-label",
|
|
1694
1686
|
"type": {
|
|
1695
|
-
"text": "
|
|
1687
|
+
"text": "string"
|
|
1696
1688
|
},
|
|
1697
|
-
"default": "'
|
|
1698
|
-
"description": "
|
|
1699
|
-
"fieldName": "
|
|
1689
|
+
"default": "'Toggle navigation'",
|
|
1690
|
+
"description": "Accessible name of the icon-only button that shows and hides the navigation.",
|
|
1691
|
+
"fieldName": "navToggleLabel"
|
|
1700
1692
|
}
|
|
1701
1693
|
],
|
|
1702
1694
|
"superclass": {
|
|
1703
1695
|
"name": "LitElement",
|
|
1704
1696
|
"package": "lit"
|
|
1705
1697
|
},
|
|
1706
|
-
"tagName": "skdx-
|
|
1698
|
+
"tagName": "skdx-dashboard-layout",
|
|
1707
1699
|
"customElement": true
|
|
1708
1700
|
}
|
|
1709
1701
|
],
|
|
1710
1702
|
"exports": [
|
|
1711
1703
|
{
|
|
1712
1704
|
"kind": "js",
|
|
1713
|
-
"name": "
|
|
1705
|
+
"name": "SkdxDashboardLayout",
|
|
1714
1706
|
"declaration": {
|
|
1715
|
-
"name": "
|
|
1716
|
-
"module": "src/
|
|
1707
|
+
"name": "SkdxDashboardLayout",
|
|
1708
|
+
"module": "src/dashboard-layout/DashboardLayout.ts"
|
|
1717
1709
|
}
|
|
1718
1710
|
},
|
|
1719
1711
|
{
|
|
1720
1712
|
"kind": "custom-element-definition",
|
|
1721
|
-
"name": "skdx-
|
|
1713
|
+
"name": "skdx-dashboard-layout",
|
|
1722
1714
|
"declaration": {
|
|
1723
|
-
"name": "
|
|
1724
|
-
"module": "src/
|
|
1715
|
+
"name": "SkdxDashboardLayout",
|
|
1716
|
+
"module": "src/dashboard-layout/DashboardLayout.ts"
|
|
1725
1717
|
}
|
|
1726
1718
|
}
|
|
1727
1719
|
]
|
|
1728
1720
|
},
|
|
1729
1721
|
{
|
|
1730
1722
|
"kind": "javascript-module",
|
|
1731
|
-
"path": "src/
|
|
1723
|
+
"path": "src/dashboard-layout/index.ts",
|
|
1732
1724
|
"declarations": [],
|
|
1733
1725
|
"exports": [
|
|
1734
1726
|
{
|
|
1735
1727
|
"kind": "js",
|
|
1736
|
-
"name": "
|
|
1728
|
+
"name": "SkdxDashboardLayout",
|
|
1737
1729
|
"declaration": {
|
|
1738
|
-
"name": "
|
|
1739
|
-
"module": "./
|
|
1730
|
+
"name": "SkdxDashboardLayout",
|
|
1731
|
+
"module": "./DashboardLayout"
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "js",
|
|
1736
|
+
"name": "SkdxDashboardNavigationItem",
|
|
1737
|
+
"declaration": {
|
|
1738
|
+
"name": "SkdxDashboardNavigationItem",
|
|
1739
|
+
"module": "./DashboardLayout"
|
|
1740
1740
|
}
|
|
1741
1741
|
}
|
|
1742
1742
|
]
|
|
@@ -2895,7 +2895,7 @@
|
|
|
2895
2895
|
"name": ""
|
|
2896
2896
|
},
|
|
2897
2897
|
{
|
|
2898
|
-
"description": "
|
|
2898
|
+
"description": "Toolbar parts placed in the toolbar beside the heading. Pass toolbar parts — a toolbar button, link, separator or toggle group; anything else stays its own Tab stop and the arrow keys skip it, since only a toolbar part joins the roving tabindex.",
|
|
2899
2899
|
"name": "actions"
|
|
2900
2900
|
}
|
|
2901
2901
|
],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var b=(o,t)=>{for(var e in t)n(o,e,{get:t[e],enumerable:!0})},v=(o,t,e,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of x(t))!k.call(o,s)&&s!==e&&n(o,s,{get:()=>t[s],enumerable:!(a=u(t,s))||a.enumerable});return o};var $=o=>v(n({},"__esModule",{value:!0}),o),
|
|
1
|
+
"use strict";var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var b=(o,t)=>{for(var e in t)n(o,e,{get:t[e],enumerable:!0})},v=(o,t,e,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of x(t))!k.call(o,s)&&s!==e&&n(o,s,{get:()=>t[s],enumerable:!(a=u(t,s))||a.enumerable});return o};var $=o=>v(n({},"__esModule",{value:!0}),o),l=(o,t,e,a)=>{for(var s=a>1?void 0:a?u(t,e):t,m=o.length-1,c;m>=0;m--)(c=o[m])&&(s=(a?c(t,e,s):c(s))||s);return a&&s&&n(t,e,s),s};var E={};b(E,{SkdxForgotPasswordPage:()=>i});module.exports=$(E);var r=require("lit"),d=require("lit/decorators.js"),h=require("../internal/define.cjs"),f=require("../internal/events.cjs"),p=require("../internal/slots.cjs"),T=require("@skdx/web-components/alert"),w=require("@skdx/web-components/button"),S=require("@skdx/web-components/field"),q=require("@skdx/web-components/form"),C=require("@skdx/web-components/heading"),M=require("@skdx/web-components/text"),R=require("@skdx/web-components/text-field");var g="data-skdx-forgot-password-page-generated",y="data-skdx-forgot-password-page-content",_=0,i=class extends r.LitElement{constructor(){super(...arguments);this.title="Reset your password";this.pending=!1;this.emailLabel="Email";this.submitLabel="Send reset link";this.titleId=`skdx-forgot-password-page-title-${++_}`;this.handleSubmit=e=>{let a=e.target?.closest("skdx-form");if(!a)return;e.preventDefault();let s=a.querySelector('[name="email"]');(0,f.emit)(this,"request-reset",{email:s?.value??""})}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),this.addEventListener("submit",this.handleSubmit),queueMicrotask(()=>this.requestUpdate())}disconnectedCallback(){this.removeEventListener("submit",this.handleSubmit),super.disconnectedCallback()}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}region(e){return this.querySelector(`.skdx-forgot-password-page__${e}`)}get contentRegion(){return this.querySelector(`[${y}]`)}get hasContent(){return(0,p.hasUnslottedChild)(this,g)||(this.contentRegion?.hasChildNodes()??!1)}updated(){(0,p.placeSlotted)(this,g,{footer:this.region("footer")},this.contentRegion)}render(){return r.html`
|
|
2
2
|
<div
|
|
3
3
|
class="skdx-forgot-password-page__panel"
|
|
4
4
|
data-skdx-forgot-password-page-generated
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
>
|
|
12
12
|
${this.error?r.html`<skdx-alert
|
|
13
13
|
class="skdx-forgot-password-page__error"
|
|
14
|
+
.role=${"alert"}
|
|
14
15
|
.status=${"danger"}
|
|
15
16
|
>${this.error}</skdx-alert
|
|
16
17
|
>`:r.nothing}
|
|
@@ -54,4 +55,4 @@
|
|
|
54
55
|
</skdx-form>`}
|
|
55
56
|
${this.hasSlotted("footer")?r.html`<div class="skdx-forgot-password-page__footer"></div>`:r.nothing}
|
|
56
57
|
</div>
|
|
57
|
-
`}};
|
|
58
|
+
`}};l([(0,d.property)({type:String})],i.prototype,"title",2),l([(0,d.property)({type:String})],i.prototype,"description",2),l([(0,d.property)({type:String})],i.prototype,"error",2),l([(0,d.property)({type:String})],i.prototype,"success",2),l([(0,d.property)({type:Boolean})],i.prototype,"pending",2),l([(0,d.property)({type:String,attribute:"email-label"})],i.prototype,"emailLabel",2),l([(0,d.property)({type:String,attribute:"submit-label"})],i.prototype,"submitLabel",2),i=l([(0,h.customElement)("skdx-forgot-password-page","forgot-password-page","root")],i);0&&(module.exports={SkdxForgotPasswordPage});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,
|
|
1
|
+
var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,l,e,i)=>{for(var s=i>1?void 0:i?g(l,e):l,p=n.length-1,m;p>=0;p--)(m=n[p])&&(s=(i?m(l,e,s):m(s))||s);return i&&s&&u(l,e,s),s};import{html as o,LitElement as h,nothing as d}from"lit";import{property as a}from"lit/decorators.js";import{customElement as f}from"../internal/define.js";import{emit as x}from"../internal/events.js";import{hasUnslottedChild as k,placeSlotted as b}from"../internal/slots.js";import"@skdx/web-components/alert";import"@skdx/web-components/button";import"@skdx/web-components/field";import"@skdx/web-components/form";import"@skdx/web-components/heading";import"@skdx/web-components/text";import"@skdx/web-components/text-field";var c="data-skdx-forgot-password-page-generated",v="data-skdx-forgot-password-page-content",$=0,t=class extends h{constructor(){super(...arguments);this.title="Reset your password";this.pending=!1;this.emailLabel="Email";this.submitLabel="Send reset link";this.titleId=`skdx-forgot-password-page-title-${++$}`;this.handleSubmit=e=>{let i=e.target?.closest("skdx-form");if(!i)return;e.preventDefault();let s=i.querySelector('[name="email"]');x(this,"request-reset",{email:s?.value??""})}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),this.addEventListener("submit",this.handleSubmit),queueMicrotask(()=>this.requestUpdate())}disconnectedCallback(){this.removeEventListener("submit",this.handleSubmit),super.disconnectedCallback()}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}region(e){return this.querySelector(`.skdx-forgot-password-page__${e}`)}get contentRegion(){return this.querySelector(`[${v}]`)}get hasContent(){return k(this,c)||(this.contentRegion?.hasChildNodes()??!1)}updated(){b(this,c,{footer:this.region("footer")},this.contentRegion)}render(){return o`
|
|
2
2
|
<div
|
|
3
3
|
class="skdx-forgot-password-page__panel"
|
|
4
4
|
data-skdx-forgot-password-page-generated
|
|
@@ -11,15 +11,16 @@ var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,d,e,i
|
|
|
11
11
|
>
|
|
12
12
|
${this.error?o`<skdx-alert
|
|
13
13
|
class="skdx-forgot-password-page__error"
|
|
14
|
+
.role=${"alert"}
|
|
14
15
|
.status=${"danger"}
|
|
15
16
|
>${this.error}</skdx-alert
|
|
16
|
-
>`:
|
|
17
|
+
>`:d}
|
|
17
18
|
${this.description?o`<skdx-text
|
|
18
19
|
class="skdx-forgot-password-page__description"
|
|
19
20
|
as="p"
|
|
20
21
|
.tone=${"muted"}
|
|
21
22
|
>${this.description}</skdx-text
|
|
22
|
-
>`:
|
|
23
|
+
>`:d}
|
|
23
24
|
${this.success?o`<skdx-alert
|
|
24
25
|
class="skdx-forgot-password-page__success"
|
|
25
26
|
.status=${"success"}
|
|
@@ -42,7 +43,7 @@ var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,d,e,i
|
|
|
42
43
|
></skdx-text-field-input>
|
|
43
44
|
</skdx-text-field>
|
|
44
45
|
</skdx-field>
|
|
45
|
-
${this.hasContent?o`<div data-skdx-forgot-password-page-content></div>`:
|
|
46
|
+
${this.hasContent?o`<div data-skdx-forgot-password-page-content></div>`:d}
|
|
46
47
|
<skdx-button
|
|
47
48
|
class="skdx-forgot-password-page__submit"
|
|
48
49
|
type="submit"
|
|
@@ -52,6 +53,6 @@ var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,d,e,i
|
|
|
52
53
|
>
|
|
53
54
|
</form>
|
|
54
55
|
</skdx-form>`}
|
|
55
|
-
${this.hasSlotted("footer")?o`<div class="skdx-forgot-password-page__footer"></div>`:
|
|
56
|
+
${this.hasSlotted("footer")?o`<div class="skdx-forgot-password-page__footer"></div>`:d}
|
|
56
57
|
</div>
|
|
57
58
|
`}};r([a({type:String})],t.prototype,"title",2),r([a({type:String})],t.prototype,"description",2),r([a({type:String})],t.prototype,"error",2),r([a({type:String})],t.prototype,"success",2),r([a({type:Boolean})],t.prototype,"pending",2),r([a({type:String,attribute:"email-label"})],t.prototype,"emailLabel",2),r([a({type:String,attribute:"submit-label"})],t.prototype,"submitLabel",2),t=r([f("skdx-forgot-password-page","forgot-password-page","root")],t);export{t as SkdxForgotPasswordPage};
|
|
@@ -27,7 +27,7 @@ export interface SkdxPageContainerBreadcrumb {
|
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
29
29
|
* @slot - The page content below the header.
|
|
30
|
-
* @slot actions -
|
|
30
|
+
* @slot actions - Toolbar parts placed in the toolbar beside the heading. Pass toolbar parts — a toolbar button, link, separator or toggle group; anything else stays its own Tab stop and the arrow keys skip it, since only a toolbar part joins the roving tabindex.
|
|
31
31
|
*/
|
|
32
32
|
export declare class SkdxPageContainer extends LitElement {
|
|
33
33
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|
|
@@ -27,7 +27,7 @@ export interface SkdxPageContainerBreadcrumb {
|
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
29
29
|
* @slot - The page content below the header.
|
|
30
|
-
* @slot actions -
|
|
30
|
+
* @slot actions - Toolbar parts placed in the toolbar beside the heading. Pass toolbar parts — a toolbar button, link, separator or toggle group; anything else stays its own Tab stop and the arrow keys skip it, since only a toolbar part joins the roving tabindex.
|
|
31
31
|
*/
|
|
32
32
|
export declare class SkdxPageContainer extends LitElement {
|
|
33
33
|
/** Light DOM, so `@skdx/skins` and consumer CSS reach the composed core elements. */
|