@iota-uz/sdk 0.40.2 → 0.41.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.
Files changed (50) hide show
  1. package/dist/client-host/identity.d.ts +4 -4
  2. package/dist/client-host/identity.js +2 -2
  3. package/dist/lens/{CascadePanel-odKNeG0I.js → CascadePanel-mTDlx6tE.js} +1 -1
  4. package/dist/lens/{ChartDataEquivalent-DS6Aj-mH.js → ChartDataEquivalent-DR1skdKB.js} +1 -1
  5. package/dist/lens/{ChartPanel-jBHgzXvE.js → ChartPanel-D-5C8_dH.js} +196 -195
  6. package/dist/lens/{CoveragePanel-DJBkno95.js → CoveragePanel-BDPclYah.js} +1 -1
  7. package/dist/lens/{GaugePanel-C7OP3lSD.js → GaugePanel-UWr1r0Nz.js} +1 -1
  8. package/dist/lens/{MapPanel-DKH9XQ3v.js → MapPanel-B6tkBG3k.js} +3 -3
  9. package/dist/lens/{MetricFlowPanel-DoG-Z7eY.js → MetricFlowPanel-BaZ5tA7H.js} +2 -2
  10. package/dist/lens/{MetricHierarchyPanel-CQRnPzmg.js → MetricHierarchyPanel-O3AXYOcB.js} +2 -2
  11. package/dist/lens/{MetricRelationshipPanel-7jpgouaq.js → MetricRelationshipPanel-9rjtNzzr.js} +2 -2
  12. package/dist/lens/{PrintReport-R3wm1wHI.js → PrintReport-RGui8r34.js} +5 -5
  13. package/dist/lens/{TablePanel-CxseNMoa.js → TablePanel-w8IdnCMz.js} +1 -1
  14. package/dist/lens/{adapter-CY6pdOaG.js → adapter-f_DO7Xmh.js} +5508 -5483
  15. package/dist/lens/charts/echarts/options.d.ts +13 -0
  16. package/dist/lens/charts/echarts/options.d.ts.map +1 -1
  17. package/dist/lens/{dashboardEdit-DaBLm9LN.js → dashboardEdit-DWiZSYxB.js} +1 -1
  18. package/dist/lens/{index-CK47GOOR.js → index-BaNOkwCZ.js} +1 -1
  19. package/dist/lens/{index-DGHwvvd1.js → index-DLIY9WtX.js} +4519 -4212
  20. package/dist/lens/index.js +1 -1
  21. package/dist/lens/{install-C99l3DlG.js → install-BFRS39uE.js} +1 -1
  22. package/dist/lens/{install-LwZr5b3c.js → install-CwiEGQ3t.js} +1 -1
  23. package/dist/lens/{install-Dfe-R2a1.js → install-DdT57QNU.js} +1 -1
  24. package/dist/lens/{install-CEMUnr4B.js → install-e8KK9NUr.js} +1 -1
  25. package/dist/lens/{keys-DRnLTb3T.js → keys-yelWfTWG.js} +2 -2
  26. package/dist/lens/{metricViews-Uga35rVO.js → metricViews-BO-FAMl_.js} +1 -1
  27. package/dist/lens/panels/ChartPanel.d.ts.map +1 -1
  28. package/dist/lens/panels/PanelExportMenu.d.ts +12 -2
  29. package/dist/lens/panels/PanelExportMenu.d.ts.map +1 -1
  30. package/dist/lens/panels/PanelFrame.d.ts.map +1 -1
  31. package/dist/lens/{prefetch-DvGDW65r.js → prefetch-fI7nAEVN.js} +2 -2
  32. package/dist/lens/{prefetchPanels-BngJI8s2.js → prefetchPanels-DiKMg9qy.js} +1 -1
  33. package/dist/lens/{print-BKdOYqt0.js → print-CS337l5-.js} +1 -1
  34. package/dist/lens/runtime/format.d.ts.map +1 -1
  35. package/dist/lens/runtime/messages.d.ts +17 -0
  36. package/dist/lens/runtime/messages.d.ts.map +1 -0
  37. package/dist/lens/runtime/provider.d.ts.map +1 -1
  38. package/dist/lens/{scales-CtjgzrH0.js → scales-CCApvt_k.js} +1 -1
  39. package/dist/lens/style.css +1 -1
  40. package/dist/sdk-identity.cjs +3 -3
  41. package/dist/sdk-identity.js +3 -3
  42. package/dist/sdk-identity.json +2 -2
  43. package/dist/solid-ui/index.js +2009 -2002
  44. package/dist/solid-ui/index.server.js +9 -24
  45. package/dist/solid-ui/overlays/Dialog.d.ts +2 -0
  46. package/dist/solid-ui/overlays/Dialog.d.ts.map +1 -1
  47. package/dist/solid-ui/overlays/Drawer.d.ts.map +1 -1
  48. package/dist/solid-ui/standalone.css +1 -1
  49. package/dist/styles.css +169 -0
  50. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -1490,3 +1490,172 @@
1490
1490
  .peer\/dark:checked + label .iota-theme-icon {
1491
1491
  scale: 1;
1492
1492
  }
1493
+
1494
+ /*
1495
+ * Card layout of scaffold tables below 640px (components/scaffold/table). Each
1496
+ * row becomes a card: the primary cell is the title, the amount sits at the
1497
+ * right edge, secondary cells make one small line underneath, and hidden-mobile
1498
+ * cells are not drawn, so nothing scrolls sideways and a hidden column cannot
1499
+ * stretch a row. Roles come from the cell's data-mobile-role. A right-pinned
1500
+ * "actions" cell is dropped when the row itself opens the record.
1501
+ * Unlayered on purpose: the utilities these cells carry (p-4, sticky, hidden)
1502
+ * live in @layer utilities and would win over any layered rule.
1503
+ */
1504
+ @media (max-width: 639.98px) {
1505
+ .table-cards table,
1506
+ .table-cards tbody,
1507
+ .table-cards tfoot {
1508
+ display: block;
1509
+ width: 100%;
1510
+ min-width: 0;
1511
+ }
1512
+
1513
+ .table-cards thead {
1514
+ display: none;
1515
+ }
1516
+
1517
+ .table-cards tbody tr:not(.hidden):not([data-empty-state]),
1518
+ .table-cards tfoot tr {
1519
+ display: flex;
1520
+ flex-wrap: wrap;
1521
+ align-items: center;
1522
+ column-gap: 0.75rem;
1523
+ row-gap: 0.125rem;
1524
+ min-height: 3.5rem;
1525
+ padding: 0.625rem 1rem;
1526
+ border-bottom: 1px solid oklch(var(--clr-border-subtle));
1527
+ }
1528
+
1529
+ .table-cards tbody tr[data-empty-state] {
1530
+ display: block;
1531
+ }
1532
+
1533
+ .table-cards tbody tr[data-row-link]:not(.hidden) {
1534
+ cursor: pointer;
1535
+ }
1536
+
1537
+ .table-cards tbody tr[data-empty-state] > td {
1538
+ display: block;
1539
+ }
1540
+
1541
+ .table-cards td[data-mobile-role] {
1542
+ display: block;
1543
+ position: static;
1544
+ min-width: 0;
1545
+ padding: 0;
1546
+ border: 0;
1547
+ background: transparent;
1548
+ box-shadow: none;
1549
+ overflow: hidden;
1550
+ text-overflow: ellipsis;
1551
+ white-space: nowrap;
1552
+ }
1553
+
1554
+ .table-cards td[data-mobile-role]:empty {
1555
+ display: none;
1556
+ }
1557
+
1558
+ .table-cards td[data-mobile-role]:has(.table-cell-link) {
1559
+ position: relative;
1560
+ min-height: 2.5rem;
1561
+ }
1562
+
1563
+ .table-cards td[data-mobile-role="primary"] {
1564
+ order: 1;
1565
+ flex: 1 1 0;
1566
+ font-size: 0.9375rem;
1567
+ font-weight: 500;
1568
+ color: oklch(var(--clr-text-100));
1569
+ }
1570
+
1571
+ .table-cards td[data-mobile-role="amount"] {
1572
+ order: 2;
1573
+ flex: 0 0 auto;
1574
+ margin-left: auto;
1575
+ font-size: 1rem;
1576
+ font-weight: 600;
1577
+ text-align: right;
1578
+ color: oklch(var(--clr-text-100));
1579
+ }
1580
+
1581
+ .table-cards td[data-mobile-role="secondary"],
1582
+ .table-cards td[data-mobile-role="actions"] {
1583
+ order: 4;
1584
+ flex: 0 1 auto;
1585
+ max-width: 100%;
1586
+ font-size: 0.75rem;
1587
+ line-height: 1.25rem;
1588
+ color: oklch(var(--clr-text-200));
1589
+ }
1590
+
1591
+ .table-cards tr:has(> td[data-mobile-role="secondary"]:not(:empty))::after,
1592
+ .table-cards tr:has(> td[data-mobile-role="actions"]:not(:empty))::after {
1593
+ content: "";
1594
+ order: 3;
1595
+ flex: 0 0 100%;
1596
+ height: 0;
1597
+ }
1598
+
1599
+ .table-cards td[data-mobile-role="hidden-mobile"],
1600
+ .table-cards tr[data-row-link] td[data-mobile-role="actions"] {
1601
+ display: none !important;
1602
+ }
1603
+
1604
+ .table-cards td .truncate {
1605
+ max-width: 100% !important;
1606
+ }
1607
+ }
1608
+
1609
+ /*
1610
+ * A linked cell is clickable as a whole: the link's hit area is stretched over
1611
+ * the cell (padding included), which is at least 40px tall. Sticky cells keep
1612
+ * their own positioning.
1613
+ */
1614
+ .table-cell-link::after {
1615
+ content: "";
1616
+ position: absolute;
1617
+ inset: 0;
1618
+ }
1619
+
1620
+ td:has(.table-cell-link):not(.sticky) {
1621
+ position: relative;
1622
+ }
1623
+
1624
+ /*
1625
+ * iOS Safari zooms the page when a focused field renders below 16px. Unlayered
1626
+ * so it also beats Tailwind's `text-sm`/`text-xs` utilities and `.form-control`
1627
+ * font-size on phones; checkbox/radio inputs have no text to zoom.
1628
+ */
1629
+ @media (max-width: 640px) {
1630
+ input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
1631
+ select,
1632
+ textarea {
1633
+ font-size: 16px;
1634
+ }
1635
+ }
1636
+
1637
+ /*
1638
+ * Shared drawer/dialog chrome (components/base/dialog). The close control keeps
1639
+ * a 44px touch target. It lives in @layer components so responsive utilities
1640
+ * such as `sm:hidden` can still override its display.
1641
+ */
1642
+ @layer components {
1643
+ .drawer-close {
1644
+ align-items: center;
1645
+ border-radius: 9999px;
1646
+ cursor: pointer;
1647
+ display: inline-flex;
1648
+ flex-shrink: 0;
1649
+ height: 2.75rem;
1650
+ justify-content: center;
1651
+ width: 2.75rem;
1652
+ }
1653
+
1654
+ .drawer-close:hover {
1655
+ background-color: oklch(var(--clr-surface-400));
1656
+ }
1657
+ }
1658
+
1659
+ [data-dialog-title]:focus {
1660
+ outline: none;
1661
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iota-uz/sdk",
3
- "version": "0.40.2",
3
+ "version": "0.41.0",
4
4
  "description": "Canonical JavaScript distribution for iota-sdk.",
5
5
  "license": "MIT",
6
6
  "repository": {