le-kit 0.1.10 → 0.1.11

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.
Files changed (52) hide show
  1. package/custom-elements.json +620 -620
  2. package/dist/docs.json +1 -1
  3. package/package.json +1 -1
  4. package/dist/components/index.d.ts +0 -64
  5. package/dist/components/index.js +0 -127
  6. package/dist/components/index.js.map +0 -1
  7. package/dist/components/le-box.d.ts +0 -11
  8. package/dist/components/le-box.js +0 -256
  9. package/dist/components/le-box.js.map +0 -1
  10. package/dist/components/le-button.d.ts +0 -11
  11. package/dist/components/le-button.js +0 -9
  12. package/dist/components/le-button.js.map +0 -1
  13. package/dist/components/le-button2.js +0 -1446
  14. package/dist/components/le-button2.js.map +0 -1
  15. package/dist/components/le-card.d.ts +0 -11
  16. package/dist/components/le-card.js +0 -83
  17. package/dist/components/le-card.js.map +0 -1
  18. package/dist/components/le-checkbox.d.ts +0 -11
  19. package/dist/components/le-checkbox.js +0 -9
  20. package/dist/components/le-checkbox.js.map +0 -1
  21. package/dist/components/le-component.d.ts +0 -11
  22. package/dist/components/le-component.js +0 -9
  23. package/dist/components/le-component.js.map +0 -1
  24. package/dist/components/le-number-input.d.ts +0 -11
  25. package/dist/components/le-number-input.js +0 -271
  26. package/dist/components/le-number-input.js.map +0 -1
  27. package/dist/components/le-popover.d.ts +0 -11
  28. package/dist/components/le-popover.js +0 -9
  29. package/dist/components/le-popover.js.map +0 -1
  30. package/dist/components/le-popover2.js +0 -382
  31. package/dist/components/le-popover2.js.map +0 -1
  32. package/dist/components/le-popup.d.ts +0 -11
  33. package/dist/components/le-popup.js +0 -279
  34. package/dist/components/le-popup.js.map +0 -1
  35. package/dist/components/le-round-progress.d.ts +0 -11
  36. package/dist/components/le-round-progress.js +0 -135
  37. package/dist/components/le-round-progress.js.map +0 -1
  38. package/dist/components/le-slot.d.ts +0 -11
  39. package/dist/components/le-slot.js +0 -9
  40. package/dist/components/le-slot.js.map +0 -1
  41. package/dist/components/le-stack.d.ts +0 -11
  42. package/dist/components/le-stack.js +0 -198
  43. package/dist/components/le-stack.js.map +0 -1
  44. package/dist/components/le-string-input.d.ts +0 -11
  45. package/dist/components/le-string-input.js +0 -9
  46. package/dist/components/le-string-input.js.map +0 -1
  47. package/dist/components/le-text.d.ts +0 -11
  48. package/dist/components/le-text.js +0 -398
  49. package/dist/components/le-text.js.map +0 -1
  50. package/dist/components/le-turntable.d.ts +0 -11
  51. package/dist/components/le-turntable.js +0 -164
  52. package/dist/components/le-turntable.js.map +0 -1
@@ -1349,20 +1349,54 @@
1349
1349
  },
1350
1350
  {
1351
1351
  "kind": "javascript-module",
1352
- "path": "src/components/le-popover/le-popover.tsx",
1352
+ "path": "src/components/le-number-input/le-number-input.tsx",
1353
1353
  "declarations": [
1354
1354
  {
1355
1355
  "kind": "class",
1356
- "description": "A popover component for displaying floating content.\n\nUses the native HTML Popover API for proper layering with dialogs\nand other top-layer elements. Falls back gracefully in older browsers.",
1357
- "name": "LePopover",
1356
+ "description": "A number input component with validation, keyboard controls, and custom spinners.",
1357
+ "name": "LeNumberInput",
1358
+ "cssProperties": [
1359
+ {
1360
+ "description": "Input background color",
1361
+ "name": "--le-input-bg"
1362
+ },
1363
+ {
1364
+ "description": "Input text color",
1365
+ "name": "--le-input-color"
1366
+ },
1367
+ {
1368
+ "description": "Input border style",
1369
+ "name": "--le-input-border"
1370
+ },
1371
+ {
1372
+ "description": "Input border style when focused",
1373
+ "name": "--le-input-border-focus"
1374
+ },
1375
+ {
1376
+ "description": "Input border style when invalid",
1377
+ "name": "--le-input-border-error"
1378
+ },
1379
+ {
1380
+ "description": "Input border radius",
1381
+ "name": "--le-input-radius"
1382
+ },
1383
+ {
1384
+ "description": "Input padding",
1385
+ "name": "--le-input-padding"
1386
+ }
1387
+ ],
1358
1388
  "slots": [
1359
1389
  {
1360
- "description": "Content to display inside the popover",
1390
+ "description": "The label text for the input",
1361
1391
  "name": ""
1362
1392
  },
1363
1393
  {
1364
- "description": "Element that triggers the popover (optional)",
1365
- "name": "trigger"
1394
+ "description": "Additional description text displayed below the input",
1395
+ "name": "description"
1396
+ },
1397
+ {
1398
+ "description": "Icon to display at the start of the input",
1399
+ "name": "icon-start"
1366
1400
  }
1367
1401
  ],
1368
1402
  "members": [
@@ -1375,220 +1409,192 @@
1375
1409
  },
1376
1410
  {
1377
1411
  "kind": "field",
1378
- "name": "mode",
1412
+ "name": "value",
1379
1413
  "type": {
1380
- "text": "'default' | 'admin'"
1414
+ "text": "number"
1381
1415
  },
1382
- "description": "Mode of the popover should be 'default' for internal use"
1416
+ "description": "The value of the input"
1383
1417
  },
1384
1418
  {
1385
1419
  "kind": "field",
1386
- "name": "open",
1420
+ "name": "name",
1387
1421
  "type": {
1388
- "text": "boolean"
1422
+ "text": "string"
1389
1423
  },
1390
- "default": "false",
1391
- "description": "Whether the popover is currently open"
1424
+ "description": "The name of the input"
1392
1425
  },
1393
1426
  {
1394
1427
  "kind": "field",
1395
- "name": "position",
1428
+ "name": "label",
1396
1429
  "type": {
1397
- "text": "'top' | 'bottom' | 'left' | 'right' | 'auto'"
1430
+ "text": "string"
1398
1431
  },
1399
- "default": "'bottom'",
1400
- "description": "Position of the popover relative to its trigger"
1432
+ "description": "Label for the input"
1401
1433
  },
1402
1434
  {
1403
1435
  "kind": "field",
1404
- "name": "align",
1436
+ "name": "placeholder",
1405
1437
  "type": {
1406
- "text": "'start' | 'center' | 'end'"
1438
+ "text": "string"
1407
1439
  },
1408
- "default": "'start'",
1409
- "description": "Alignment of the popover"
1440
+ "description": "Placeholder text"
1410
1441
  },
1411
1442
  {
1412
1443
  "kind": "field",
1413
- "name": "popoverTitle",
1444
+ "name": "min",
1414
1445
  "type": {
1415
- "text": "string | undefined"
1446
+ "text": "number | undefined"
1416
1447
  },
1417
- "description": "Optional title for the popover header"
1448
+ "description": "Minimum allowed value"
1418
1449
  },
1419
1450
  {
1420
1451
  "kind": "field",
1421
- "name": "showClose",
1452
+ "name": "max",
1422
1453
  "type": {
1423
- "text": "boolean"
1454
+ "text": "number | undefined"
1424
1455
  },
1425
- "default": "true",
1426
- "description": "Whether to show a close button in the header"
1456
+ "description": "Maximum allowed value"
1427
1457
  },
1428
1458
  {
1429
1459
  "kind": "field",
1430
- "name": "closeOnClickOutside",
1460
+ "name": "step",
1431
1461
  "type": {
1432
- "text": "boolean"
1462
+ "text": "number"
1433
1463
  },
1434
- "default": "true",
1435
- "description": "Whether clicking outside closes the popover"
1464
+ "default": "1",
1465
+ "description": "Step value for increment/decrement"
1436
1466
  },
1437
1467
  {
1438
1468
  "kind": "field",
1439
- "name": "closeOnEscape",
1469
+ "name": "required",
1440
1470
  "type": {
1441
1471
  "text": "boolean"
1442
1472
  },
1443
- "default": "true",
1444
- "description": "Whether pressing Escape closes the popover"
1445
- },
1446
- {
1447
- "kind": "field",
1448
- "name": "offset",
1449
- "type": {
1450
- "text": "number"
1451
- },
1452
- "default": "8",
1453
- "description": "Offset from the trigger element (in pixels)"
1473
+ "default": "false",
1474
+ "description": "Whether the input is required"
1454
1475
  },
1455
1476
  {
1456
1477
  "kind": "field",
1457
- "name": "width",
1478
+ "name": "disabled",
1458
1479
  "type": {
1459
- "text": "string | undefined"
1480
+ "text": "boolean"
1460
1481
  },
1461
- "description": "Fixed width for the popover (e.g., '300px', '20rem')"
1482
+ "default": "false",
1483
+ "description": "Whether the input is disabled"
1462
1484
  },
1463
1485
  {
1464
1486
  "kind": "field",
1465
- "name": "minWidth",
1487
+ "name": "readonly",
1466
1488
  "type": {
1467
- "text": "string | undefined"
1489
+ "text": "boolean"
1468
1490
  },
1469
- "default": "'200px'",
1470
- "description": "Minimum width for the popover (e.g., '200px', '15rem')"
1491
+ "default": "false",
1492
+ "description": "Whether the input is read-only"
1471
1493
  },
1472
1494
  {
1473
1495
  "kind": "field",
1474
- "name": "maxWidth",
1496
+ "name": "iconStart",
1475
1497
  "type": {
1476
1498
  "text": "string | undefined"
1477
1499
  },
1478
- "description": "Maximum width for the popover (e.g., '400px', '25rem')"
1500
+ "description": "Icon for the start icon"
1479
1501
  },
1480
1502
  {
1481
1503
  "kind": "field",
1482
- "name": "isPositioned",
1504
+ "name": "showSpinners",
1483
1505
  "type": {
1484
1506
  "text": "boolean"
1485
1507
  },
1486
- "privacy": "private",
1487
- "default": "false"
1508
+ "default": "true",
1509
+ "description": "Whether to show the spinner controls"
1488
1510
  },
1489
1511
  {
1490
1512
  "kind": "field",
1491
- "name": "triggerEl",
1513
+ "name": "externalId",
1492
1514
  "type": {
1493
- "text": "HTMLElement | undefined"
1515
+ "text": "string"
1494
1516
  },
1495
- "privacy": "private"
1517
+ "description": "External ID for linking with external systems"
1496
1518
  },
1497
1519
  {
1498
1520
  "kind": "field",
1499
- "name": "popoverEl",
1521
+ "name": "isValid",
1500
1522
  "type": {
1501
- "text": "HTMLElement | undefined"
1523
+ "text": "boolean"
1502
1524
  },
1503
- "privacy": "private"
1525
+ "privacy": "private",
1526
+ "default": "true",
1527
+ "description": "Internal validation state"
1504
1528
  },
1505
1529
  {
1506
1530
  "kind": "field",
1507
- "name": "uniqueId",
1531
+ "name": "validationMessage",
1508
1532
  "type": {
1509
1533
  "text": "string"
1510
1534
  },
1511
1535
  "privacy": "private",
1512
- "default": "`le-popover-${Math.random().toString(36).substr(2, 9)}`"
1536
+ "default": "''"
1513
1537
  },
1514
1538
  {
1515
- "kind": "field",
1516
- "name": "scrollParents",
1517
- "type": {
1518
- "text": "Element[]"
1519
- },
1520
- "privacy": "private",
1521
- "default": "[]"
1539
+ "kind": "method",
1540
+ "name": "valueChanged"
1522
1541
  },
1523
1542
  {
1524
1543
  "kind": "method",
1525
- "name": "getScrollParents",
1526
- "privacy": "private",
1527
- "return": {
1528
- "type": {
1529
- "text": "Element[]"
1530
- }
1531
- },
1532
- "parameters": [
1533
- {
1534
- "name": "element",
1535
- "type": {
1536
- "text": "Element"
1537
- }
1538
- }
1539
- ],
1540
- "description": "Find all scrollable parent elements"
1544
+ "name": "validate",
1545
+ "privacy": "private"
1541
1546
  },
1542
1547
  {
1543
1548
  "kind": "method",
1544
- "name": "addScrollListeners",
1545
- "privacy": "private",
1546
- "description": "Add scroll listeners to all scrollable parents"
1549
+ "name": "emitChange",
1550
+ "privacy": "private"
1547
1551
  },
1548
1552
  {
1549
1553
  "kind": "method",
1550
- "name": "removeScrollListeners",
1554
+ "name": "emitInput",
1555
+ "privacy": "private"
1556
+ },
1557
+ {
1558
+ "kind": "method",
1559
+ "name": "updateValue",
1551
1560
  "privacy": "private",
1552
- "description": "Remove scroll listeners"
1561
+ "parameters": [
1562
+ {
1563
+ "name": "newValue",
1564
+ "type": {
1565
+ "text": "number"
1566
+ }
1567
+ }
1568
+ ]
1553
1569
  },
1554
1570
  {
1555
1571
  "kind": "field",
1556
- "name": "handleScroll",
1572
+ "name": "handleInput",
1557
1573
  "privacy": "private"
1558
1574
  },
1559
1575
  {
1560
1576
  "kind": "field",
1561
- "name": "handlePopoverToggle",
1577
+ "name": "handleChange",
1562
1578
  "privacy": "private"
1563
1579
  },
1564
1580
  {
1565
1581
  "kind": "field",
1566
- "name": "handleOtherPopoverOpen",
1582
+ "name": "handleKeyDown",
1567
1583
  "privacy": "private"
1568
1584
  },
1569
1585
  {
1570
- "kind": "method",
1571
- "name": "show",
1572
- "description": "Opens the popover"
1573
- },
1574
- {
1575
- "kind": "method",
1576
- "name": "hide",
1577
- "description": "Closes the popover"
1578
- },
1579
- {
1580
- "kind": "method",
1581
- "name": "toggle",
1582
- "description": "Toggles the popover"
1586
+ "kind": "field",
1587
+ "name": "handleWheel",
1588
+ "privacy": "private"
1583
1589
  },
1584
1590
  {
1585
1591
  "kind": "field",
1586
- "name": "handleTriggerClick",
1592
+ "name": "increment",
1587
1593
  "privacy": "private"
1588
1594
  },
1589
1595
  {
1590
- "kind": "method",
1591
- "name": "updatePosition",
1596
+ "kind": "field",
1597
+ "name": "decrement",
1592
1598
  "privacy": "private"
1593
1599
  },
1594
1600
  {
@@ -1598,125 +1604,130 @@
1598
1604
  ],
1599
1605
  "attributes": [
1600
1606
  {
1601
- "name": "mode",
1602
- "fieldName": "mode",
1603
- "description": "Mode of the popover should be 'default' for internal use",
1607
+ "name": "value",
1608
+ "fieldName": "value",
1609
+ "description": "The value of the input",
1604
1610
  "type": {
1605
- "text": "'default' | 'admin'"
1611
+ "text": "number"
1606
1612
  }
1607
1613
  },
1608
1614
  {
1609
- "name": "open",
1610
- "fieldName": "open",
1611
- "default": "false",
1612
- "description": "Whether the popover is currently open",
1615
+ "name": "name",
1616
+ "fieldName": "name",
1617
+ "description": "The name of the input",
1613
1618
  "type": {
1614
- "text": "boolean"
1619
+ "text": "string"
1615
1620
  }
1616
1621
  },
1617
1622
  {
1618
- "name": "position",
1619
- "fieldName": "position",
1620
- "default": "'bottom'",
1621
- "description": "Position of the popover relative to its trigger",
1623
+ "name": "label",
1624
+ "fieldName": "label",
1625
+ "description": "Label for the input",
1622
1626
  "type": {
1623
- "text": "'top' | 'bottom' | 'left' | 'right' | 'auto'"
1627
+ "text": "string"
1624
1628
  }
1625
1629
  },
1626
1630
  {
1627
- "name": "align",
1628
- "fieldName": "align",
1629
- "default": "'start'",
1630
- "description": "Alignment of the popover",
1631
+ "name": "placeholder",
1632
+ "fieldName": "placeholder",
1633
+ "description": "Placeholder text",
1631
1634
  "type": {
1632
- "text": "'start' | 'center' | 'end'"
1635
+ "text": "string"
1633
1636
  }
1634
1637
  },
1635
1638
  {
1636
- "name": "popover-title",
1637
- "fieldName": "popoverTitle",
1638
- "description": "Optional title for the popover header",
1639
+ "name": "min",
1640
+ "fieldName": "min",
1641
+ "description": "Minimum allowed value",
1639
1642
  "type": {
1640
- "text": "string"
1643
+ "text": "number"
1641
1644
  }
1642
1645
  },
1643
1646
  {
1644
- "name": "show-close",
1645
- "fieldName": "showClose",
1646
- "default": "true",
1647
- "description": "Whether to show a close button in the header",
1647
+ "name": "max",
1648
+ "fieldName": "max",
1649
+ "description": "Maximum allowed value",
1648
1650
  "type": {
1649
- "text": "boolean"
1651
+ "text": "number"
1650
1652
  }
1651
1653
  },
1652
1654
  {
1653
- "name": "close-on-click-outside",
1654
- "fieldName": "closeOnClickOutside",
1655
- "default": "true",
1656
- "description": "Whether clicking outside closes the popover",
1655
+ "name": "step",
1656
+ "fieldName": "step",
1657
+ "default": "1",
1658
+ "description": "Step value for increment/decrement",
1659
+ "type": {
1660
+ "text": "number"
1661
+ }
1662
+ },
1663
+ {
1664
+ "name": "required",
1665
+ "fieldName": "required",
1666
+ "default": "false",
1667
+ "description": "Whether the input is required",
1657
1668
  "type": {
1658
1669
  "text": "boolean"
1659
1670
  }
1660
1671
  },
1661
1672
  {
1662
- "name": "close-on-escape",
1663
- "fieldName": "closeOnEscape",
1664
- "default": "true",
1665
- "description": "Whether pressing Escape closes the popover",
1673
+ "name": "disabled",
1674
+ "fieldName": "disabled",
1675
+ "default": "false",
1676
+ "description": "Whether the input is disabled",
1666
1677
  "type": {
1667
1678
  "text": "boolean"
1668
1679
  }
1669
1680
  },
1670
1681
  {
1671
- "name": "offset",
1672
- "fieldName": "offset",
1673
- "default": "8",
1674
- "description": "Offset from the trigger element (in pixels)",
1682
+ "name": "readonly",
1683
+ "fieldName": "readonly",
1684
+ "default": "false",
1685
+ "description": "Whether the input is read-only",
1675
1686
  "type": {
1676
- "text": "number"
1687
+ "text": "boolean"
1677
1688
  }
1678
1689
  },
1679
1690
  {
1680
- "name": "width",
1681
- "fieldName": "width",
1682
- "description": "Fixed width for the popover (e.g., '300px', '20rem')",
1691
+ "name": "icon-start",
1692
+ "fieldName": "iconStart",
1693
+ "description": "Icon for the start icon",
1683
1694
  "type": {
1684
1695
  "text": "string"
1685
1696
  }
1686
1697
  },
1687
1698
  {
1688
- "name": "min-width",
1689
- "fieldName": "minWidth",
1690
- "default": "'200px'",
1691
- "description": "Minimum width for the popover (e.g., '200px', '15rem')",
1699
+ "name": "show-spinners",
1700
+ "fieldName": "showSpinners",
1701
+ "default": "true",
1702
+ "description": "Whether to show the spinner controls",
1692
1703
  "type": {
1693
- "text": "string"
1704
+ "text": "boolean"
1694
1705
  }
1695
1706
  },
1696
1707
  {
1697
- "name": "max-width",
1698
- "fieldName": "maxWidth",
1699
- "description": "Maximum width for the popover (e.g., '400px', '25rem')",
1708
+ "name": "external-id",
1709
+ "fieldName": "externalId",
1710
+ "description": "External ID for linking with external systems",
1700
1711
  "type": {
1701
1712
  "text": "string"
1702
1713
  }
1703
1714
  }
1704
1715
  ],
1705
- "tagName": "le-popover",
1716
+ "tagName": "le-number-input",
1706
1717
  "events": [
1707
1718
  {
1708
- "name": "lePopoverOpen",
1719
+ "name": "leChange",
1709
1720
  "type": {
1710
- "text": "EventEmitter<void>"
1721
+ "text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
1711
1722
  },
1712
- "description": "Emitted when the popover opens"
1723
+ "description": "Emitted when the value changes (on blur or Enter)"
1713
1724
  },
1714
1725
  {
1715
- "name": "lePopoverClose",
1726
+ "name": "leInput",
1716
1727
  "type": {
1717
- "text": "EventEmitter<void>"
1728
+ "text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
1718
1729
  },
1719
- "description": "Emitted when the popover closes"
1730
+ "description": "Emitted when the input value changes (on keystroke/spin)"
1720
1731
  }
1721
1732
  ],
1722
1733
  "customElement": true
@@ -1725,18 +1736,18 @@
1725
1736
  "exports": [
1726
1737
  {
1727
1738
  "kind": "js",
1728
- "name": "LePopover",
1739
+ "name": "LeNumberInput",
1729
1740
  "declaration": {
1730
- "name": "LePopover",
1731
- "module": "src/components/le-popover/le-popover.tsx"
1741
+ "name": "LeNumberInput",
1742
+ "module": "src/components/le-number-input/le-number-input.tsx"
1732
1743
  }
1733
1744
  },
1734
1745
  {
1735
1746
  "kind": "custom-element-definition",
1736
- "name": "le-popover",
1747
+ "name": "le-number-input",
1737
1748
  "declaration": {
1738
- "name": "LePopover",
1739
- "module": "src/components/le-popover/le-popover.tsx"
1749
+ "name": "LeNumberInput",
1750
+ "module": "src/components/le-number-input/le-number-input.tsx"
1740
1751
  }
1741
1752
  }
1742
1753
  ]
@@ -2548,30 +2559,12 @@
2548
2559
  },
2549
2560
  {
2550
2561
  "kind": "javascript-module",
2551
- "path": "src/components/le-stack/le-stack.tsx",
2562
+ "path": "src/components/le-round-progress/le-round-progress.tsx",
2552
2563
  "declarations": [
2553
2564
  {
2554
2565
  "kind": "class",
2555
- "description": "A flexible stack layout component using CSS flexbox.\n\n`le-stack` arranges its children in a row (horizontal) or column (vertical)\nwith configurable spacing, alignment, and wrapping behavior. Perfect for\ncreating responsive layouts.",
2556
- "name": "LeStack",
2557
- "cssProperties": [
2558
- {
2559
- "description": "Gap between items (defaults to var(--le-space-md))",
2560
- "name": "--le-stack-gap"
2561
- }
2562
- ],
2563
- "cssParts": [
2564
- {
2565
- "description": "The main stack container",
2566
- "name": "stack"
2567
- }
2568
- ],
2569
- "slots": [
2570
- {
2571
- "description": "Default slot for stack items (le-box components recommended)",
2572
- "name": ""
2573
- }
2574
- ],
2566
+ "description": "",
2567
+ "name": "LeRoundProgress",
2575
2568
  "members": [
2576
2569
  {
2577
2570
  "kind": "field",
@@ -2582,114 +2575,297 @@
2582
2575
  },
2583
2576
  {
2584
2577
  "kind": "field",
2585
- "name": "direction",
2578
+ "name": "value",
2586
2579
  "type": {
2587
- "text": "'horizontal' | 'vertical'"
2580
+ "text": "number"
2588
2581
  },
2589
- "default": "'horizontal'",
2590
- "description": "Direction of the stack layout"
2582
+ "default": "0"
2591
2583
  },
2592
2584
  {
2593
- "kind": "field",
2594
- "name": "gap",
2595
- "type": {
2596
- "text": "string | undefined"
2597
- },
2598
- "description": "Gap between items (CSS value like '8px', '1rem', 'var(--le-space-md)')"
2585
+ "kind": "method",
2586
+ "name": "updateValue",
2587
+ "parameters": [
2588
+ {
2589
+ "name": "newValue",
2590
+ "type": {
2591
+ "text": "string"
2592
+ }
2593
+ }
2594
+ ]
2599
2595
  },
2600
2596
  {
2601
2597
  "kind": "field",
2602
- "name": "align",
2598
+ "name": "padding",
2603
2599
  "type": {
2604
- "text": "'start' | 'center' | 'end' | 'stretch' | 'baseline'"
2600
+ "text": "number"
2605
2601
  },
2606
- "default": "'stretch'",
2607
- "description": "Alignment of items on the cross axis"
2602
+ "default": "0"
2608
2603
  },
2609
2604
  {
2610
- "kind": "field",
2611
- "name": "justify",
2612
- "type": {
2613
- "text": "'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly'"
2614
- },
2615
- "default": "'start'",
2616
- "description": "Distribution of items on the main axis"
2605
+ "kind": "method",
2606
+ "name": "updatePadding",
2607
+ "parameters": [
2608
+ {
2609
+ "name": "newValue",
2610
+ "type": {
2611
+ "text": "string"
2612
+ }
2613
+ }
2614
+ ]
2617
2615
  },
2618
2616
  {
2619
2617
  "kind": "field",
2620
- "name": "wrap",
2618
+ "name": "paths",
2621
2619
  "type": {
2622
- "text": "boolean"
2623
- },
2624
- "default": "false",
2625
- "description": "Whether items should wrap to multiple lines"
2620
+ "text": "string"
2621
+ }
2626
2622
  },
2627
2623
  {
2628
- "kind": "field",
2629
- "name": "alignContent",
2630
- "type": {
2631
- "text": "'start' | 'center' | 'end' | 'stretch' | 'space-between' | 'space-around'"
2632
- },
2633
- "default": "'stretch'",
2634
- "description": "Alignment of wrapped lines (only applies when wrap is true)"
2624
+ "kind": "method",
2625
+ "name": "updateProgressBackgrounds",
2626
+ "parameters": [
2627
+ {
2628
+ "name": "newValue",
2629
+ "type": {
2630
+ "text": "string"
2631
+ }
2632
+ }
2633
+ ]
2635
2634
  },
2636
2635
  {
2637
2636
  "kind": "field",
2638
- "name": "reverse",
2637
+ "name": "progressPaths",
2639
2638
  "type": {
2640
- "text": "boolean"
2641
- },
2642
- "default": "false",
2643
- "description": "Whether to reverse the order of items"
2639
+ "text": "any[]"
2640
+ }
2644
2641
  },
2645
2642
  {
2646
2643
  "kind": "field",
2647
- "name": "maxItems",
2644
+ "name": "params",
2648
2645
  "type": {
2649
- "text": "number | undefined"
2650
- },
2651
- "description": "Maximum number of items allowed in the stack (for CMS validation)"
2646
+ "text": "{\n width: number;\n diameter: number;\n circumference: number;\n }"
2647
+ }
2652
2648
  },
2653
2649
  {
2654
- "kind": "field",
2655
- "name": "fullWidth",
2656
- "type": {
2657
- "text": "boolean"
2658
- },
2659
- "default": "false",
2660
- "description": "Whether the stack should take full width of its container"
2650
+ "kind": "method",
2651
+ "name": "calcParams"
2661
2652
  },
2662
2653
  {
2663
- "kind": "field",
2664
- "name": "fullHeight",
2665
- "type": {
2666
- "text": "boolean"
2667
- },
2668
- "default": "false",
2669
- "description": "Whether the stack should take full height of its container"
2654
+ "kind": "method",
2655
+ "name": "getViewBox",
2656
+ "description": "Returns the viewPath attribute value for the SVG\nbased on the width of the parent element"
2670
2657
  },
2671
2658
  {
2672
- "kind": "field",
2673
- "name": "padding",
2674
- "type": {
2675
- "text": "string | undefined"
2676
- },
2677
- "description": "Padding inside the stack container (CSS value)"
2659
+ "kind": "method",
2660
+ "name": "getPath",
2661
+ "description": "Returns the circular path for the progress stroke\nand additional paths in the background"
2678
2662
  },
2679
2663
  {
2680
2664
  "kind": "method",
2681
- "name": "getFlexDirection",
2682
- "privacy": "private",
2683
- "return": {
2684
- "type": {
2685
- "text": "string"
2686
- }
2687
- }
2665
+ "name": "getStrokeDashArray"
2688
2666
  },
2689
2667
  {
2690
2668
  "kind": "method",
2691
- "name": "getAlignItems",
2692
- "privacy": "private",
2669
+ "name": "getPaths"
2670
+ },
2671
+ {
2672
+ "kind": "method",
2673
+ "name": "render"
2674
+ }
2675
+ ],
2676
+ "attributes": [
2677
+ {
2678
+ "name": "value",
2679
+ "fieldName": "value",
2680
+ "default": "0",
2681
+ "type": {
2682
+ "text": "number"
2683
+ }
2684
+ },
2685
+ {
2686
+ "name": "padding",
2687
+ "fieldName": "padding",
2688
+ "default": "0",
2689
+ "type": {
2690
+ "text": "number"
2691
+ }
2692
+ },
2693
+ {
2694
+ "name": "paths",
2695
+ "fieldName": "paths",
2696
+ "type": {
2697
+ "text": "string"
2698
+ }
2699
+ }
2700
+ ],
2701
+ "tagName": "le-round-progress",
2702
+ "events": [],
2703
+ "customElement": true
2704
+ }
2705
+ ],
2706
+ "exports": [
2707
+ {
2708
+ "kind": "js",
2709
+ "name": "LeRoundProgress",
2710
+ "declaration": {
2711
+ "name": "LeRoundProgress",
2712
+ "module": "src/components/le-round-progress/le-round-progress.tsx"
2713
+ }
2714
+ },
2715
+ {
2716
+ "kind": "custom-element-definition",
2717
+ "name": "le-round-progress",
2718
+ "declaration": {
2719
+ "name": "LeRoundProgress",
2720
+ "module": "src/components/le-round-progress/le-round-progress.tsx"
2721
+ }
2722
+ }
2723
+ ]
2724
+ },
2725
+ {
2726
+ "kind": "javascript-module",
2727
+ "path": "src/components/le-stack/le-stack.tsx",
2728
+ "declarations": [
2729
+ {
2730
+ "kind": "class",
2731
+ "description": "A flexible stack layout component using CSS flexbox.\n\n`le-stack` arranges its children in a row (horizontal) or column (vertical)\nwith configurable spacing, alignment, and wrapping behavior. Perfect for\ncreating responsive layouts.",
2732
+ "name": "LeStack",
2733
+ "cssProperties": [
2734
+ {
2735
+ "description": "Gap between items (defaults to var(--le-space-md))",
2736
+ "name": "--le-stack-gap"
2737
+ }
2738
+ ],
2739
+ "cssParts": [
2740
+ {
2741
+ "description": "The main stack container",
2742
+ "name": "stack"
2743
+ }
2744
+ ],
2745
+ "slots": [
2746
+ {
2747
+ "description": "Default slot for stack items (le-box components recommended)",
2748
+ "name": ""
2749
+ }
2750
+ ],
2751
+ "members": [
2752
+ {
2753
+ "kind": "field",
2754
+ "name": "el",
2755
+ "type": {
2756
+ "text": "HTMLElement"
2757
+ }
2758
+ },
2759
+ {
2760
+ "kind": "field",
2761
+ "name": "direction",
2762
+ "type": {
2763
+ "text": "'horizontal' | 'vertical'"
2764
+ },
2765
+ "default": "'horizontal'",
2766
+ "description": "Direction of the stack layout"
2767
+ },
2768
+ {
2769
+ "kind": "field",
2770
+ "name": "gap",
2771
+ "type": {
2772
+ "text": "string | undefined"
2773
+ },
2774
+ "description": "Gap between items (CSS value like '8px', '1rem', 'var(--le-space-md)')"
2775
+ },
2776
+ {
2777
+ "kind": "field",
2778
+ "name": "align",
2779
+ "type": {
2780
+ "text": "'start' | 'center' | 'end' | 'stretch' | 'baseline'"
2781
+ },
2782
+ "default": "'stretch'",
2783
+ "description": "Alignment of items on the cross axis"
2784
+ },
2785
+ {
2786
+ "kind": "field",
2787
+ "name": "justify",
2788
+ "type": {
2789
+ "text": "'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly'"
2790
+ },
2791
+ "default": "'start'",
2792
+ "description": "Distribution of items on the main axis"
2793
+ },
2794
+ {
2795
+ "kind": "field",
2796
+ "name": "wrap",
2797
+ "type": {
2798
+ "text": "boolean"
2799
+ },
2800
+ "default": "false",
2801
+ "description": "Whether items should wrap to multiple lines"
2802
+ },
2803
+ {
2804
+ "kind": "field",
2805
+ "name": "alignContent",
2806
+ "type": {
2807
+ "text": "'start' | 'center' | 'end' | 'stretch' | 'space-between' | 'space-around'"
2808
+ },
2809
+ "default": "'stretch'",
2810
+ "description": "Alignment of wrapped lines (only applies when wrap is true)"
2811
+ },
2812
+ {
2813
+ "kind": "field",
2814
+ "name": "reverse",
2815
+ "type": {
2816
+ "text": "boolean"
2817
+ },
2818
+ "default": "false",
2819
+ "description": "Whether to reverse the order of items"
2820
+ },
2821
+ {
2822
+ "kind": "field",
2823
+ "name": "maxItems",
2824
+ "type": {
2825
+ "text": "number | undefined"
2826
+ },
2827
+ "description": "Maximum number of items allowed in the stack (for CMS validation)"
2828
+ },
2829
+ {
2830
+ "kind": "field",
2831
+ "name": "fullWidth",
2832
+ "type": {
2833
+ "text": "boolean"
2834
+ },
2835
+ "default": "false",
2836
+ "description": "Whether the stack should take full width of its container"
2837
+ },
2838
+ {
2839
+ "kind": "field",
2840
+ "name": "fullHeight",
2841
+ "type": {
2842
+ "text": "boolean"
2843
+ },
2844
+ "default": "false",
2845
+ "description": "Whether the stack should take full height of its container"
2846
+ },
2847
+ {
2848
+ "kind": "field",
2849
+ "name": "padding",
2850
+ "type": {
2851
+ "text": "string | undefined"
2852
+ },
2853
+ "description": "Padding inside the stack container (CSS value)"
2854
+ },
2855
+ {
2856
+ "kind": "method",
2857
+ "name": "getFlexDirection",
2858
+ "privacy": "private",
2859
+ "return": {
2860
+ "type": {
2861
+ "text": "string"
2862
+ }
2863
+ }
2864
+ },
2865
+ {
2866
+ "kind": "method",
2867
+ "name": "getAlignItems",
2868
+ "privacy": "private",
2693
2869
  "return": {
2694
2870
  "type": {
2695
2871
  "text": "string"
@@ -2845,54 +3021,20 @@
2845
3021
  },
2846
3022
  {
2847
3023
  "kind": "javascript-module",
2848
- "path": "src/components/le-number-input/le-number-input.tsx",
3024
+ "path": "src/components/le-popover/le-popover.tsx",
2849
3025
  "declarations": [
2850
3026
  {
2851
3027
  "kind": "class",
2852
- "description": "A number input component with validation, keyboard controls, and custom spinners.",
2853
- "name": "LeNumberInput",
2854
- "cssProperties": [
2855
- {
2856
- "description": "Input background color",
2857
- "name": "--le-input-bg"
2858
- },
2859
- {
2860
- "description": "Input text color",
2861
- "name": "--le-input-color"
2862
- },
2863
- {
2864
- "description": "Input border style",
2865
- "name": "--le-input-border"
2866
- },
2867
- {
2868
- "description": "Input border style when focused",
2869
- "name": "--le-input-border-focus"
2870
- },
2871
- {
2872
- "description": "Input border style when invalid",
2873
- "name": "--le-input-border-error"
2874
- },
2875
- {
2876
- "description": "Input border radius",
2877
- "name": "--le-input-radius"
2878
- },
2879
- {
2880
- "description": "Input padding",
2881
- "name": "--le-input-padding"
2882
- }
2883
- ],
3028
+ "description": "A popover component for displaying floating content.\n\nUses the native HTML Popover API for proper layering with dialogs\nand other top-layer elements. Falls back gracefully in older browsers.",
3029
+ "name": "LePopover",
2884
3030
  "slots": [
2885
3031
  {
2886
- "description": "The label text for the input",
3032
+ "description": "Content to display inside the popover",
2887
3033
  "name": ""
2888
3034
  },
2889
3035
  {
2890
- "description": "Additional description text displayed below the input",
2891
- "name": "description"
2892
- },
2893
- {
2894
- "description": "Icon to display at the start of the input",
2895
- "name": "icon-start"
3036
+ "description": "Element that triggers the popover (optional)",
3037
+ "name": "trigger"
2896
3038
  }
2897
3039
  ],
2898
3040
  "members": [
@@ -2905,192 +3047,220 @@
2905
3047
  },
2906
3048
  {
2907
3049
  "kind": "field",
2908
- "name": "value",
3050
+ "name": "mode",
2909
3051
  "type": {
2910
- "text": "number"
3052
+ "text": "'default' | 'admin'"
2911
3053
  },
2912
- "description": "The value of the input"
3054
+ "description": "Mode of the popover should be 'default' for internal use"
2913
3055
  },
2914
3056
  {
2915
3057
  "kind": "field",
2916
- "name": "name",
3058
+ "name": "open",
2917
3059
  "type": {
2918
- "text": "string"
3060
+ "text": "boolean"
2919
3061
  },
2920
- "description": "The name of the input"
3062
+ "default": "false",
3063
+ "description": "Whether the popover is currently open"
2921
3064
  },
2922
3065
  {
2923
3066
  "kind": "field",
2924
- "name": "label",
3067
+ "name": "position",
2925
3068
  "type": {
2926
- "text": "string"
3069
+ "text": "'top' | 'bottom' | 'left' | 'right' | 'auto'"
2927
3070
  },
2928
- "description": "Label for the input"
3071
+ "default": "'bottom'",
3072
+ "description": "Position of the popover relative to its trigger"
2929
3073
  },
2930
3074
  {
2931
3075
  "kind": "field",
2932
- "name": "placeholder",
3076
+ "name": "align",
2933
3077
  "type": {
2934
- "text": "string"
3078
+ "text": "'start' | 'center' | 'end'"
2935
3079
  },
2936
- "description": "Placeholder text"
3080
+ "default": "'start'",
3081
+ "description": "Alignment of the popover"
2937
3082
  },
2938
3083
  {
2939
3084
  "kind": "field",
2940
- "name": "min",
3085
+ "name": "popoverTitle",
2941
3086
  "type": {
2942
- "text": "number | undefined"
3087
+ "text": "string | undefined"
2943
3088
  },
2944
- "description": "Minimum allowed value"
3089
+ "description": "Optional title for the popover header"
2945
3090
  },
2946
3091
  {
2947
3092
  "kind": "field",
2948
- "name": "max",
3093
+ "name": "showClose",
2949
3094
  "type": {
2950
- "text": "number | undefined"
3095
+ "text": "boolean"
2951
3096
  },
2952
- "description": "Maximum allowed value"
3097
+ "default": "true",
3098
+ "description": "Whether to show a close button in the header"
2953
3099
  },
2954
3100
  {
2955
3101
  "kind": "field",
2956
- "name": "step",
3102
+ "name": "closeOnClickOutside",
2957
3103
  "type": {
2958
- "text": "number"
3104
+ "text": "boolean"
2959
3105
  },
2960
- "default": "1",
2961
- "description": "Step value for increment/decrement"
3106
+ "default": "true",
3107
+ "description": "Whether clicking outside closes the popover"
2962
3108
  },
2963
3109
  {
2964
3110
  "kind": "field",
2965
- "name": "required",
3111
+ "name": "closeOnEscape",
2966
3112
  "type": {
2967
3113
  "text": "boolean"
2968
3114
  },
2969
- "default": "false",
2970
- "description": "Whether the input is required"
3115
+ "default": "true",
3116
+ "description": "Whether pressing Escape closes the popover"
2971
3117
  },
2972
3118
  {
2973
3119
  "kind": "field",
2974
- "name": "disabled",
3120
+ "name": "offset",
2975
3121
  "type": {
2976
- "text": "boolean"
3122
+ "text": "number"
2977
3123
  },
2978
- "default": "false",
2979
- "description": "Whether the input is disabled"
3124
+ "default": "8",
3125
+ "description": "Offset from the trigger element (in pixels)"
2980
3126
  },
2981
3127
  {
2982
3128
  "kind": "field",
2983
- "name": "readonly",
3129
+ "name": "width",
2984
3130
  "type": {
2985
- "text": "boolean"
3131
+ "text": "string | undefined"
2986
3132
  },
2987
- "default": "false",
2988
- "description": "Whether the input is read-only"
3133
+ "description": "Fixed width for the popover (e.g., '300px', '20rem')"
2989
3134
  },
2990
3135
  {
2991
3136
  "kind": "field",
2992
- "name": "iconStart",
3137
+ "name": "minWidth",
2993
3138
  "type": {
2994
3139
  "text": "string | undefined"
2995
3140
  },
2996
- "description": "Icon for the start icon"
3141
+ "default": "'200px'",
3142
+ "description": "Minimum width for the popover (e.g., '200px', '15rem')"
2997
3143
  },
2998
3144
  {
2999
3145
  "kind": "field",
3000
- "name": "showSpinners",
3146
+ "name": "maxWidth",
3147
+ "type": {
3148
+ "text": "string | undefined"
3149
+ },
3150
+ "description": "Maximum width for the popover (e.g., '400px', '25rem')"
3151
+ },
3152
+ {
3153
+ "kind": "field",
3154
+ "name": "isPositioned",
3001
3155
  "type": {
3002
3156
  "text": "boolean"
3003
3157
  },
3004
- "default": "true",
3005
- "description": "Whether to show the spinner controls"
3158
+ "privacy": "private",
3159
+ "default": "false"
3006
3160
  },
3007
3161
  {
3008
3162
  "kind": "field",
3009
- "name": "externalId",
3163
+ "name": "triggerEl",
3010
3164
  "type": {
3011
- "text": "string"
3165
+ "text": "HTMLElement | undefined"
3012
3166
  },
3013
- "description": "External ID for linking with external systems"
3167
+ "privacy": "private"
3014
3168
  },
3015
3169
  {
3016
3170
  "kind": "field",
3017
- "name": "isValid",
3171
+ "name": "popoverEl",
3018
3172
  "type": {
3019
- "text": "boolean"
3173
+ "text": "HTMLElement | undefined"
3020
3174
  },
3021
- "privacy": "private",
3022
- "default": "true",
3023
- "description": "Internal validation state"
3175
+ "privacy": "private"
3024
3176
  },
3025
3177
  {
3026
3178
  "kind": "field",
3027
- "name": "validationMessage",
3179
+ "name": "uniqueId",
3028
3180
  "type": {
3029
3181
  "text": "string"
3030
3182
  },
3031
3183
  "privacy": "private",
3032
- "default": "''"
3033
- },
3034
- {
3035
- "kind": "method",
3036
- "name": "valueChanged"
3184
+ "default": "`le-popover-${Math.random().toString(36).substr(2, 9)}`"
3037
3185
  },
3038
3186
  {
3039
- "kind": "method",
3040
- "name": "validate",
3041
- "privacy": "private"
3187
+ "kind": "field",
3188
+ "name": "scrollParents",
3189
+ "type": {
3190
+ "text": "Element[]"
3191
+ },
3192
+ "privacy": "private",
3193
+ "default": "[]"
3042
3194
  },
3043
3195
  {
3044
3196
  "kind": "method",
3045
- "name": "emitChange",
3046
- "privacy": "private"
3197
+ "name": "getScrollParents",
3198
+ "privacy": "private",
3199
+ "return": {
3200
+ "type": {
3201
+ "text": "Element[]"
3202
+ }
3203
+ },
3204
+ "parameters": [
3205
+ {
3206
+ "name": "element",
3207
+ "type": {
3208
+ "text": "Element"
3209
+ }
3210
+ }
3211
+ ],
3212
+ "description": "Find all scrollable parent elements"
3047
3213
  },
3048
3214
  {
3049
3215
  "kind": "method",
3050
- "name": "emitInput",
3051
- "privacy": "private"
3216
+ "name": "addScrollListeners",
3217
+ "privacy": "private",
3218
+ "description": "Add scroll listeners to all scrollable parents"
3052
3219
  },
3053
3220
  {
3054
3221
  "kind": "method",
3055
- "name": "updateValue",
3222
+ "name": "removeScrollListeners",
3056
3223
  "privacy": "private",
3057
- "parameters": [
3058
- {
3059
- "name": "newValue",
3060
- "type": {
3061
- "text": "number"
3062
- }
3063
- }
3064
- ]
3224
+ "description": "Remove scroll listeners"
3065
3225
  },
3066
3226
  {
3067
3227
  "kind": "field",
3068
- "name": "handleInput",
3228
+ "name": "handleScroll",
3069
3229
  "privacy": "private"
3070
3230
  },
3071
3231
  {
3072
3232
  "kind": "field",
3073
- "name": "handleChange",
3233
+ "name": "handlePopoverToggle",
3074
3234
  "privacy": "private"
3075
3235
  },
3076
3236
  {
3077
3237
  "kind": "field",
3078
- "name": "handleKeyDown",
3238
+ "name": "handleOtherPopoverOpen",
3079
3239
  "privacy": "private"
3080
3240
  },
3081
3241
  {
3082
- "kind": "field",
3083
- "name": "handleWheel",
3084
- "privacy": "private"
3242
+ "kind": "method",
3243
+ "name": "show",
3244
+ "description": "Opens the popover"
3245
+ },
3246
+ {
3247
+ "kind": "method",
3248
+ "name": "hide",
3249
+ "description": "Closes the popover"
3250
+ },
3251
+ {
3252
+ "kind": "method",
3253
+ "name": "toggle",
3254
+ "description": "Toggles the popover"
3085
3255
  },
3086
3256
  {
3087
3257
  "kind": "field",
3088
- "name": "increment",
3258
+ "name": "handleTriggerClick",
3089
3259
  "privacy": "private"
3090
3260
  },
3091
3261
  {
3092
- "kind": "field",
3093
- "name": "decrement",
3262
+ "kind": "method",
3263
+ "name": "updatePosition",
3094
3264
  "privacy": "private"
3095
3265
  },
3096
3266
  {
@@ -3100,315 +3270,145 @@
3100
3270
  ],
3101
3271
  "attributes": [
3102
3272
  {
3103
- "name": "value",
3104
- "fieldName": "value",
3105
- "description": "The value of the input",
3106
- "type": {
3107
- "text": "number"
3108
- }
3109
- },
3110
- {
3111
- "name": "name",
3112
- "fieldName": "name",
3113
- "description": "The name of the input",
3273
+ "name": "mode",
3274
+ "fieldName": "mode",
3275
+ "description": "Mode of the popover should be 'default' for internal use",
3114
3276
  "type": {
3115
- "text": "string"
3277
+ "text": "'default' | 'admin'"
3116
3278
  }
3117
3279
  },
3118
3280
  {
3119
- "name": "label",
3120
- "fieldName": "label",
3121
- "description": "Label for the input",
3281
+ "name": "open",
3282
+ "fieldName": "open",
3283
+ "default": "false",
3284
+ "description": "Whether the popover is currently open",
3122
3285
  "type": {
3123
- "text": "string"
3286
+ "text": "boolean"
3124
3287
  }
3125
3288
  },
3126
3289
  {
3127
- "name": "placeholder",
3128
- "fieldName": "placeholder",
3129
- "description": "Placeholder text",
3290
+ "name": "position",
3291
+ "fieldName": "position",
3292
+ "default": "'bottom'",
3293
+ "description": "Position of the popover relative to its trigger",
3130
3294
  "type": {
3131
- "text": "string"
3295
+ "text": "'top' | 'bottom' | 'left' | 'right' | 'auto'"
3132
3296
  }
3133
3297
  },
3134
3298
  {
3135
- "name": "min",
3136
- "fieldName": "min",
3137
- "description": "Minimum allowed value",
3299
+ "name": "align",
3300
+ "fieldName": "align",
3301
+ "default": "'start'",
3302
+ "description": "Alignment of the popover",
3138
3303
  "type": {
3139
- "text": "number"
3304
+ "text": "'start' | 'center' | 'end'"
3140
3305
  }
3141
3306
  },
3142
3307
  {
3143
- "name": "max",
3144
- "fieldName": "max",
3145
- "description": "Maximum allowed value",
3308
+ "name": "popover-title",
3309
+ "fieldName": "popoverTitle",
3310
+ "description": "Optional title for the popover header",
3146
3311
  "type": {
3147
- "text": "number"
3312
+ "text": "string"
3148
3313
  }
3149
3314
  },
3150
3315
  {
3151
- "name": "step",
3152
- "fieldName": "step",
3153
- "default": "1",
3154
- "description": "Step value for increment/decrement",
3316
+ "name": "show-close",
3317
+ "fieldName": "showClose",
3318
+ "default": "true",
3319
+ "description": "Whether to show a close button in the header",
3155
3320
  "type": {
3156
- "text": "number"
3321
+ "text": "boolean"
3157
3322
  }
3158
3323
  },
3159
3324
  {
3160
- "name": "required",
3161
- "fieldName": "required",
3162
- "default": "false",
3163
- "description": "Whether the input is required",
3325
+ "name": "close-on-click-outside",
3326
+ "fieldName": "closeOnClickOutside",
3327
+ "default": "true",
3328
+ "description": "Whether clicking outside closes the popover",
3164
3329
  "type": {
3165
3330
  "text": "boolean"
3166
3331
  }
3167
3332
  },
3168
3333
  {
3169
- "name": "disabled",
3170
- "fieldName": "disabled",
3171
- "default": "false",
3172
- "description": "Whether the input is disabled",
3334
+ "name": "close-on-escape",
3335
+ "fieldName": "closeOnEscape",
3336
+ "default": "true",
3337
+ "description": "Whether pressing Escape closes the popover",
3173
3338
  "type": {
3174
3339
  "text": "boolean"
3175
3340
  }
3176
3341
  },
3177
3342
  {
3178
- "name": "readonly",
3179
- "fieldName": "readonly",
3180
- "default": "false",
3181
- "description": "Whether the input is read-only",
3343
+ "name": "offset",
3344
+ "fieldName": "offset",
3345
+ "default": "8",
3346
+ "description": "Offset from the trigger element (in pixels)",
3182
3347
  "type": {
3183
- "text": "boolean"
3348
+ "text": "number"
3184
3349
  }
3185
3350
  },
3186
3351
  {
3187
- "name": "icon-start",
3188
- "fieldName": "iconStart",
3189
- "description": "Icon for the start icon",
3352
+ "name": "width",
3353
+ "fieldName": "width",
3354
+ "description": "Fixed width for the popover (e.g., '300px', '20rem')",
3190
3355
  "type": {
3191
3356
  "text": "string"
3192
3357
  }
3193
3358
  },
3194
3359
  {
3195
- "name": "show-spinners",
3196
- "fieldName": "showSpinners",
3197
- "default": "true",
3198
- "description": "Whether to show the spinner controls",
3360
+ "name": "min-width",
3361
+ "fieldName": "minWidth",
3362
+ "default": "'200px'",
3363
+ "description": "Minimum width for the popover (e.g., '200px', '15rem')",
3199
3364
  "type": {
3200
- "text": "boolean"
3365
+ "text": "string"
3201
3366
  }
3202
3367
  },
3203
3368
  {
3204
- "name": "external-id",
3205
- "fieldName": "externalId",
3206
- "description": "External ID for linking with external systems",
3369
+ "name": "max-width",
3370
+ "fieldName": "maxWidth",
3371
+ "description": "Maximum width for the popover (e.g., '400px', '25rem')",
3207
3372
  "type": {
3208
3373
  "text": "string"
3209
3374
  }
3210
3375
  }
3211
3376
  ],
3212
- "tagName": "le-number-input",
3377
+ "tagName": "le-popover",
3213
3378
  "events": [
3214
3379
  {
3215
- "name": "leChange",
3216
- "type": {
3217
- "text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
3218
- },
3219
- "description": "Emitted when the value changes (on blur or Enter)"
3220
- },
3221
- {
3222
- "name": "leInput",
3223
- "type": {
3224
- "text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
3225
- },
3226
- "description": "Emitted when the input value changes (on keystroke/spin)"
3227
- }
3228
- ],
3229
- "customElement": true
3230
- }
3231
- ],
3232
- "exports": [
3233
- {
3234
- "kind": "js",
3235
- "name": "LeNumberInput",
3236
- "declaration": {
3237
- "name": "LeNumberInput",
3238
- "module": "src/components/le-number-input/le-number-input.tsx"
3239
- }
3240
- },
3241
- {
3242
- "kind": "custom-element-definition",
3243
- "name": "le-number-input",
3244
- "declaration": {
3245
- "name": "LeNumberInput",
3246
- "module": "src/components/le-number-input/le-number-input.tsx"
3247
- }
3248
- }
3249
- ]
3250
- },
3251
- {
3252
- "kind": "javascript-module",
3253
- "path": "src/components/le-round-progress/le-round-progress.tsx",
3254
- "declarations": [
3255
- {
3256
- "kind": "class",
3257
- "description": "",
3258
- "name": "LeRoundProgress",
3259
- "members": [
3260
- {
3261
- "kind": "field",
3262
- "name": "el",
3263
- "type": {
3264
- "text": "HTMLElement"
3265
- }
3266
- },
3267
- {
3268
- "kind": "field",
3269
- "name": "value",
3380
+ "name": "lePopoverOpen",
3270
3381
  "type": {
3271
- "text": "number"
3382
+ "text": "EventEmitter<void>"
3272
3383
  },
3273
- "default": "0"
3274
- },
3275
- {
3276
- "kind": "method",
3277
- "name": "updateValue",
3278
- "parameters": [
3279
- {
3280
- "name": "newValue",
3281
- "type": {
3282
- "text": "string"
3283
- }
3284
- }
3285
- ]
3384
+ "description": "Emitted when the popover opens"
3286
3385
  },
3287
3386
  {
3288
- "kind": "field",
3289
- "name": "padding",
3387
+ "name": "lePopoverClose",
3290
3388
  "type": {
3291
- "text": "number"
3389
+ "text": "EventEmitter<void>"
3292
3390
  },
3293
- "default": "0"
3294
- },
3295
- {
3296
- "kind": "method",
3297
- "name": "updatePadding",
3298
- "parameters": [
3299
- {
3300
- "name": "newValue",
3301
- "type": {
3302
- "text": "string"
3303
- }
3304
- }
3305
- ]
3306
- },
3307
- {
3308
- "kind": "field",
3309
- "name": "paths",
3310
- "type": {
3311
- "text": "string"
3312
- }
3313
- },
3314
- {
3315
- "kind": "method",
3316
- "name": "updateProgressBackgrounds",
3317
- "parameters": [
3318
- {
3319
- "name": "newValue",
3320
- "type": {
3321
- "text": "string"
3322
- }
3323
- }
3324
- ]
3325
- },
3326
- {
3327
- "kind": "field",
3328
- "name": "progressPaths",
3329
- "type": {
3330
- "text": "any[]"
3331
- }
3332
- },
3333
- {
3334
- "kind": "field",
3335
- "name": "params",
3336
- "type": {
3337
- "text": "{\n width: number;\n diameter: number;\n circumference: number;\n }"
3338
- }
3339
- },
3340
- {
3341
- "kind": "method",
3342
- "name": "calcParams"
3343
- },
3344
- {
3345
- "kind": "method",
3346
- "name": "getViewBox",
3347
- "description": "Returns the viewPath attribute value for the SVG\nbased on the width of the parent element"
3348
- },
3349
- {
3350
- "kind": "method",
3351
- "name": "getPath",
3352
- "description": "Returns the circular path for the progress stroke\nand additional paths in the background"
3353
- },
3354
- {
3355
- "kind": "method",
3356
- "name": "getStrokeDashArray"
3357
- },
3358
- {
3359
- "kind": "method",
3360
- "name": "getPaths"
3361
- },
3362
- {
3363
- "kind": "method",
3364
- "name": "render"
3365
- }
3366
- ],
3367
- "attributes": [
3368
- {
3369
- "name": "value",
3370
- "fieldName": "value",
3371
- "default": "0",
3372
- "type": {
3373
- "text": "number"
3374
- }
3375
- },
3376
- {
3377
- "name": "padding",
3378
- "fieldName": "padding",
3379
- "default": "0",
3380
- "type": {
3381
- "text": "number"
3382
- }
3383
- },
3384
- {
3385
- "name": "paths",
3386
- "fieldName": "paths",
3387
- "type": {
3388
- "text": "string"
3389
- }
3391
+ "description": "Emitted when the popover closes"
3390
3392
  }
3391
3393
  ],
3392
- "tagName": "le-round-progress",
3393
- "events": [],
3394
3394
  "customElement": true
3395
3395
  }
3396
3396
  ],
3397
3397
  "exports": [
3398
3398
  {
3399
3399
  "kind": "js",
3400
- "name": "LeRoundProgress",
3400
+ "name": "LePopover",
3401
3401
  "declaration": {
3402
- "name": "LeRoundProgress",
3403
- "module": "src/components/le-round-progress/le-round-progress.tsx"
3402
+ "name": "LePopover",
3403
+ "module": "src/components/le-popover/le-popover.tsx"
3404
3404
  }
3405
3405
  },
3406
3406
  {
3407
3407
  "kind": "custom-element-definition",
3408
- "name": "le-round-progress",
3408
+ "name": "le-popover",
3409
3409
  "declaration": {
3410
- "name": "LeRoundProgress",
3411
- "module": "src/components/le-round-progress/le-round-progress.tsx"
3410
+ "name": "LePopover",
3411
+ "module": "src/components/le-popover/le-popover.tsx"
3412
3412
  }
3413
3413
  }
3414
3414
  ]