@package-uploader/ui 1.1.0 → 1.1.1

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/src/index.css CHANGED
@@ -1608,3 +1608,80 @@ body {
1608
1608
  font-size: 0.8rem;
1609
1609
  margin-top: 0.25rem;
1610
1610
  }
1611
+
1612
+ /* ========================================
1613
+ COLLAPSIBLE STRUCTURE SECTION
1614
+ ======================================== */
1615
+
1616
+ .structure-section {
1617
+ display: flex;
1618
+ flex-direction: column;
1619
+ }
1620
+
1621
+ .structure-toggle-btn {
1622
+ display: flex;
1623
+ align-items: center;
1624
+ gap: 0.5rem;
1625
+ width: 100%;
1626
+ padding: 0.625rem 0.75rem;
1627
+ background: var(--color-bg);
1628
+ border: 1px solid var(--color-border);
1629
+ border-radius: var(--radius);
1630
+ cursor: pointer;
1631
+ font-size: 0.875rem;
1632
+ font-weight: 500;
1633
+ color: var(--color-text);
1634
+ transition: all 0.2s;
1635
+ }
1636
+
1637
+ .structure-toggle-btn:hover:not(:disabled) {
1638
+ border-color: var(--color-primary);
1639
+ background: rgba(37, 99, 235, 0.03);
1640
+ }
1641
+
1642
+ .structure-toggle-btn.open {
1643
+ border-color: var(--color-primary);
1644
+ border-bottom-left-radius: 0;
1645
+ border-bottom-right-radius: 0;
1646
+ background: rgba(37, 99, 235, 0.05);
1647
+ }
1648
+
1649
+ .structure-toggle-btn.disabled {
1650
+ opacity: 0.5;
1651
+ cursor: not-allowed;
1652
+ color: var(--color-text-muted);
1653
+ }
1654
+
1655
+ .structure-toggle-btn .spinner {
1656
+ width: 16px;
1657
+ height: 16px;
1658
+ flex-shrink: 0;
1659
+ }
1660
+
1661
+ .structure-toggle-arrow {
1662
+ margin-left: auto;
1663
+ font-size: 0.625rem;
1664
+ color: var(--color-text-muted);
1665
+ transition: transform 0.2s;
1666
+ }
1667
+
1668
+ .structure-panel {
1669
+ border: 1px solid var(--color-primary);
1670
+ border-top: none;
1671
+ border-bottom-left-radius: var(--radius);
1672
+ border-bottom-right-radius: var(--radius);
1673
+ padding: 0.75rem;
1674
+ background: var(--color-bg);
1675
+ animation: panelSlideDown 0.15s ease-out;
1676
+ }
1677
+
1678
+ @keyframes panelSlideDown {
1679
+ from {
1680
+ opacity: 0;
1681
+ transform: translateY(-4px);
1682
+ }
1683
+ to {
1684
+ opacity: 1;
1685
+ transform: translateY(0);
1686
+ }
1687
+ }