@signiphi/page-assembly 0.2.0-beta.1 → 0.2.0-beta.10
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/README.md +283 -92
- package/dist/index.d.mts +216 -1
- package/dist/index.d.ts +216 -1
- package/dist/index.js +1520 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1511 -37
- package/dist/index.mjs.map +1 -1
- package/dist/styles/index.css +158 -27
- package/dist/styles/index.d.ts +1 -0
- package/package.json +10 -5
- package/src/styles/index.d.ts +1 -0
package/dist/styles/index.css
CHANGED
|
@@ -190,16 +190,10 @@
|
|
|
190
190
|
background-color: transparent;
|
|
191
191
|
opacity: 1;
|
|
192
192
|
}
|
|
193
|
-
.signiphi-page-assembly:not(#\#):not(#\#) :where(select[multiple]) optgroup {
|
|
193
|
+
.signiphi-page-assembly:not(#\#):not(#\#) :where(select:is([multiple], [size])) optgroup {
|
|
194
194
|
font-weight: bolder;
|
|
195
195
|
}
|
|
196
|
-
.signiphi-page-assembly:not(#\#):not(#\#) :where(select[size]) optgroup {
|
|
197
|
-
font-weight: bolder;
|
|
198
|
-
}
|
|
199
|
-
.signiphi-page-assembly:not(#\#):not(#\#) :where(select[multiple]) optgroup option {
|
|
200
|
-
padding-left: 20px;
|
|
201
|
-
}
|
|
202
|
-
.signiphi-page-assembly:not(#\#):not(#\#) :where(select[size]) optgroup option {
|
|
196
|
+
.signiphi-page-assembly:not(#\#):not(#\#) :where(select:is([multiple], [size])) optgroup option {
|
|
203
197
|
padding-left: 20px;
|
|
204
198
|
}
|
|
205
199
|
.signiphi-page-assembly:not(#\#):not(#\#) ::file-selector-button {
|
|
@@ -416,6 +410,12 @@
|
|
|
416
410
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .ml-auto {
|
|
417
411
|
margin-left: auto;
|
|
418
412
|
}
|
|
413
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .block {
|
|
414
|
+
display: block;
|
|
415
|
+
}
|
|
416
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .contents {
|
|
417
|
+
display: contents;
|
|
418
|
+
}
|
|
419
419
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .flex {
|
|
420
420
|
display: flex;
|
|
421
421
|
}
|
|
@@ -536,6 +536,9 @@
|
|
|
536
536
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .min-w-\[var\(--radix-select-trigger-width\)\] {
|
|
537
537
|
min-width: var(--radix-select-trigger-width);
|
|
538
538
|
}
|
|
539
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .flex-shrink-0 {
|
|
540
|
+
flex-shrink: 0;
|
|
541
|
+
}
|
|
539
542
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .translate-x-\[-50\%\] {
|
|
540
543
|
--tw-translate-x: -50%;
|
|
541
544
|
translate: -50% var(--tw-translate-y);
|
|
@@ -613,7 +616,7 @@
|
|
|
613
616
|
gap: calc(0.25rem * 4);
|
|
614
617
|
gap: calc(var(--spacing) * 4);
|
|
615
618
|
}
|
|
616
|
-
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :where(.signiphi-page-assembly .space-y-1\.5 > :not(:last-child)) {
|
|
619
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :where(:is(.signiphi-page-assembly .space-y-1\.5) > :not(:last-child)) {
|
|
617
620
|
--tw-space-y-reverse: 0;
|
|
618
621
|
margin-top: calc((0.25rem * 1.5) * 0);
|
|
619
622
|
margin-top: calc((var(--spacing) * 1.5) * var(--tw-space-y-reverse));
|
|
@@ -624,7 +627,7 @@
|
|
|
624
627
|
margin-bottom: calc(calc(0.25rem * 1.5) * calc(1 - 0));
|
|
625
628
|
margin-bottom: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
|
|
626
629
|
}
|
|
627
|
-
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :where(.signiphi-page-assembly .space-y-2 > :not(:last-child)) {
|
|
630
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :where(:is(.signiphi-page-assembly .space-y-2) > :not(:last-child)) {
|
|
628
631
|
--tw-space-y-reverse: 0;
|
|
629
632
|
margin-top: calc((0.25rem * 2) * 0);
|
|
630
633
|
margin-top: calc((var(--spacing) * 2) * var(--tw-space-y-reverse));
|
|
@@ -635,16 +638,16 @@
|
|
|
635
638
|
margin-bottom: calc(calc(0.25rem * 2) * calc(1 - 0));
|
|
636
639
|
margin-bottom: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
|
|
637
640
|
}
|
|
638
|
-
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :where(.signiphi-page-assembly .space-y-
|
|
641
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :where(:is(.signiphi-page-assembly .space-y-3) > :not(:last-child)) {
|
|
639
642
|
--tw-space-y-reverse: 0;
|
|
640
|
-
margin-top: calc((0.25rem *
|
|
641
|
-
margin-top: calc((var(--spacing) *
|
|
642
|
-
margin-top: calc(calc(0.25rem *
|
|
643
|
-
margin-top: calc(calc(var(--spacing) *
|
|
644
|
-
margin-bottom: calc((0.25rem *
|
|
645
|
-
margin-bottom: calc((var(--spacing) *
|
|
646
|
-
margin-bottom: calc(calc(0.25rem *
|
|
647
|
-
margin-bottom: calc(calc(var(--spacing) *
|
|
643
|
+
margin-top: calc((0.25rem * 3) * 0);
|
|
644
|
+
margin-top: calc((var(--spacing) * 3) * var(--tw-space-y-reverse));
|
|
645
|
+
margin-top: calc(calc(0.25rem * 3) * 0);
|
|
646
|
+
margin-top: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
|
|
647
|
+
margin-bottom: calc((0.25rem * 3) * (1 - 0));
|
|
648
|
+
margin-bottom: calc((var(--spacing) * 3) * (1 - var(--tw-space-y-reverse)));
|
|
649
|
+
margin-bottom: calc(calc(0.25rem * 3) * calc(1 - 0));
|
|
650
|
+
margin-bottom: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
|
|
648
651
|
}
|
|
649
652
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .truncate {
|
|
650
653
|
overflow: hidden;
|
|
@@ -688,6 +691,24 @@
|
|
|
688
691
|
--tw-border-style: dashed;
|
|
689
692
|
border-style: dashed;
|
|
690
693
|
}
|
|
694
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .border-border {
|
|
695
|
+
border-color: #e2e8f0;
|
|
696
|
+
border-color: var(--color-border);
|
|
697
|
+
}
|
|
698
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .border-destructive\/50 {
|
|
699
|
+
border-color: rgba(239, 68, 68, 0.5);
|
|
700
|
+
}
|
|
701
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
702
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .border-destructive\/50 {
|
|
703
|
+
border-color: color-mix(in oklab, #ef4444 50%, transparent);
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
707
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .border-destructive\/50 {
|
|
708
|
+
border-color: color-mix(in oklab, var(--color-destructive) 50%, transparent);
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
}
|
|
691
712
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .border-gray-200 {
|
|
692
713
|
border-color: rgb(229, 231, 235);
|
|
693
714
|
border-color: var(--color-gray-200);
|
|
@@ -765,6 +786,20 @@
|
|
|
765
786
|
background-color: #ef4444;
|
|
766
787
|
background-color: var(--color-destructive);
|
|
767
788
|
}
|
|
789
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .bg-destructive\/5 {
|
|
790
|
+
background-color: rgba(239, 68, 68, 0.05);
|
|
791
|
+
}
|
|
792
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
793
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .bg-destructive\/5 {
|
|
794
|
+
background-color: color-mix(in oklab, #ef4444 5%, transparent);
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
798
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .bg-destructive\/5 {
|
|
799
|
+
background-color: color-mix(in oklab, var(--color-destructive) 5%, transparent);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
}
|
|
768
803
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .bg-muted {
|
|
769
804
|
background-color: #f1f5f9;
|
|
770
805
|
background-color: var(--color-muted);
|
|
@@ -914,10 +949,6 @@
|
|
|
914
949
|
padding-bottom: calc(0.25rem * 3);
|
|
915
950
|
padding-bottom: calc(var(--spacing) * 3);
|
|
916
951
|
}
|
|
917
|
-
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .pb-6 {
|
|
918
|
-
padding-bottom: calc(0.25rem * 6);
|
|
919
|
-
padding-bottom: calc(var(--spacing) * 6);
|
|
920
|
-
}
|
|
921
952
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .pl-8 {
|
|
922
953
|
padding-left: calc(0.25rem * 8);
|
|
923
954
|
padding-left: calc(var(--spacing) * 8);
|
|
@@ -991,6 +1022,10 @@
|
|
|
991
1022
|
color: #0f172a;
|
|
992
1023
|
color: var(--color-card-foreground);
|
|
993
1024
|
}
|
|
1025
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .text-destructive {
|
|
1026
|
+
color: #ef4444;
|
|
1027
|
+
color: var(--color-destructive);
|
|
1028
|
+
}
|
|
994
1029
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .text-destructive-foreground {
|
|
995
1030
|
color: #ffffff;
|
|
996
1031
|
color: var(--color-destructive-foreground);
|
|
@@ -1093,6 +1128,10 @@
|
|
|
1093
1128
|
outline-style: var(--tw-outline-style);
|
|
1094
1129
|
outline-width: 1px;
|
|
1095
1130
|
}
|
|
1131
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .filter {
|
|
1132
|
+
filter: ;
|
|
1133
|
+
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
1134
|
+
}
|
|
1096
1135
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) .transition-all {
|
|
1097
1136
|
transition-property: all;
|
|
1098
1137
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -1171,9 +1210,19 @@
|
|
|
1171
1210
|
}
|
|
1172
1211
|
}
|
|
1173
1212
|
@media (hover: hover) {
|
|
1174
|
-
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :is(.signiphi-page-assembly .hover\:border-
|
|
1175
|
-
border-color:
|
|
1176
|
-
|
|
1213
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :is(.signiphi-page-assembly .hover\:border-primary\/60):hover {
|
|
1214
|
+
border-color: rgba(0, 153, 205, 0.6);
|
|
1215
|
+
}
|
|
1216
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1217
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :is(.signiphi-page-assembly .hover\:border-primary\/60):hover {
|
|
1218
|
+
border-color: color-mix(in oklab, #0099cd 60%, transparent);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
1222
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :is(.signiphi-page-assembly .hover\:border-primary\/60):hover {
|
|
1223
|
+
border-color: color-mix(in oklab, var(--color-primary) 60%, transparent);
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1177
1226
|
}
|
|
1178
1227
|
}
|
|
1179
1228
|
@media (hover: hover) {
|
|
@@ -1220,6 +1269,22 @@
|
|
|
1220
1269
|
background-color: var(--color-gray-100);
|
|
1221
1270
|
}
|
|
1222
1271
|
}
|
|
1272
|
+
@media (hover: hover) {
|
|
1273
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :is(.signiphi-page-assembly .hover\:bg-primary\/10):hover {
|
|
1274
|
+
background-color: rgba(0, 153, 205, 0.1);
|
|
1275
|
+
}
|
|
1276
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1277
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :is(.signiphi-page-assembly .hover\:bg-primary\/10):hover {
|
|
1278
|
+
background-color: color-mix(in oklab, #0099cd 10%, transparent);
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
1282
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :is(.signiphi-page-assembly .hover\:bg-primary\/10):hover {
|
|
1283
|
+
background-color: color-mix(in oklab, var(--color-primary) 10%, transparent);
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1223
1288
|
@media (hover: hover) {
|
|
1224
1289
|
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :is(.signiphi-page-assembly .hover\:bg-primary\/80):hover {
|
|
1225
1290
|
background-color: rgba(0, 153, 205, 0.8);
|
|
@@ -1434,7 +1499,7 @@
|
|
|
1434
1499
|
}
|
|
1435
1500
|
}
|
|
1436
1501
|
@media (min-width: 40rem) {
|
|
1437
|
-
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :where(.signiphi-page-assembly .sm\:space-x-2 > :not(:last-child)) {
|
|
1502
|
+
.signiphi-page-assembly:not(#\#):not(#\#):not(#\#):not(#\#) :where(:is(.signiphi-page-assembly .sm\:space-x-2) > :not(:last-child)) {
|
|
1438
1503
|
--tw-space-x-reverse: 0;
|
|
1439
1504
|
margin-left: calc((0.25rem * 2) * 0);
|
|
1440
1505
|
margin-left: calc((var(--spacing) * 2) * var(--tw-space-x-reverse));
|
|
@@ -1709,6 +1774,59 @@
|
|
|
1709
1774
|
inherits: false;
|
|
1710
1775
|
initial-value: solid;
|
|
1711
1776
|
}
|
|
1777
|
+
@property --tw-blur {
|
|
1778
|
+
syntax: "*";
|
|
1779
|
+
inherits: false;
|
|
1780
|
+
}
|
|
1781
|
+
@property --tw-brightness {
|
|
1782
|
+
syntax: "*";
|
|
1783
|
+
inherits: false;
|
|
1784
|
+
}
|
|
1785
|
+
@property --tw-contrast {
|
|
1786
|
+
syntax: "*";
|
|
1787
|
+
inherits: false;
|
|
1788
|
+
}
|
|
1789
|
+
@property --tw-grayscale {
|
|
1790
|
+
syntax: "*";
|
|
1791
|
+
inherits: false;
|
|
1792
|
+
}
|
|
1793
|
+
@property --tw-hue-rotate {
|
|
1794
|
+
syntax: "*";
|
|
1795
|
+
inherits: false;
|
|
1796
|
+
}
|
|
1797
|
+
@property --tw-invert {
|
|
1798
|
+
syntax: "*";
|
|
1799
|
+
inherits: false;
|
|
1800
|
+
}
|
|
1801
|
+
@property --tw-opacity {
|
|
1802
|
+
syntax: "*";
|
|
1803
|
+
inherits: false;
|
|
1804
|
+
}
|
|
1805
|
+
@property --tw-saturate {
|
|
1806
|
+
syntax: "*";
|
|
1807
|
+
inherits: false;
|
|
1808
|
+
}
|
|
1809
|
+
@property --tw-sepia {
|
|
1810
|
+
syntax: "*";
|
|
1811
|
+
inherits: false;
|
|
1812
|
+
}
|
|
1813
|
+
@property --tw-drop-shadow {
|
|
1814
|
+
syntax: "*";
|
|
1815
|
+
inherits: false;
|
|
1816
|
+
}
|
|
1817
|
+
@property --tw-drop-shadow-color {
|
|
1818
|
+
syntax: "*";
|
|
1819
|
+
inherits: false;
|
|
1820
|
+
}
|
|
1821
|
+
@property --tw-drop-shadow-alpha {
|
|
1822
|
+
syntax: "<percentage>";
|
|
1823
|
+
inherits: false;
|
|
1824
|
+
initial-value: 100%;
|
|
1825
|
+
}
|
|
1826
|
+
@property --tw-drop-shadow-size {
|
|
1827
|
+
syntax: "*";
|
|
1828
|
+
inherits: false;
|
|
1829
|
+
}
|
|
1712
1830
|
@property --tw-duration {
|
|
1713
1831
|
syntax: "*";
|
|
1714
1832
|
inherits: false;
|
|
@@ -1756,6 +1874,19 @@
|
|
|
1756
1874
|
--tw-ring-offset-color: #fff;
|
|
1757
1875
|
--tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);
|
|
1758
1876
|
--tw-outline-style: solid;
|
|
1877
|
+
--tw-blur: initial;
|
|
1878
|
+
--tw-brightness: initial;
|
|
1879
|
+
--tw-contrast: initial;
|
|
1880
|
+
--tw-grayscale: initial;
|
|
1881
|
+
--tw-hue-rotate: initial;
|
|
1882
|
+
--tw-invert: initial;
|
|
1883
|
+
--tw-opacity: initial;
|
|
1884
|
+
--tw-saturate: initial;
|
|
1885
|
+
--tw-sepia: initial;
|
|
1886
|
+
--tw-drop-shadow: initial;
|
|
1887
|
+
--tw-drop-shadow-color: initial;
|
|
1888
|
+
--tw-drop-shadow-alpha: 100%;
|
|
1889
|
+
--tw-drop-shadow-size: initial;
|
|
1759
1890
|
--tw-duration: initial;
|
|
1760
1891
|
--tw-space-x-reverse: 0;
|
|
1761
1892
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signiphi/page-assembly",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.10",
|
|
4
4
|
"description": "React component for PDF and image page manipulation - upload, reorder, delete, and combine pages",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
"require": "./dist/index.js",
|
|
17
17
|
"default": "./dist/index.js"
|
|
18
18
|
},
|
|
19
|
-
"./styles":
|
|
19
|
+
"./styles": {
|
|
20
|
+
"types": "./dist/styles/index.d.ts",
|
|
21
|
+
"import": "./dist/styles/index.css",
|
|
22
|
+
"default": "./dist/styles/index.css"
|
|
23
|
+
},
|
|
20
24
|
"./styles/source": "./src/styles/index.css",
|
|
21
25
|
"./src/styles/index.css": "./src/styles/index.css",
|
|
22
26
|
"./dist/styles/index.css": "./dist/styles/index.css"
|
|
@@ -27,8 +31,8 @@
|
|
|
27
31
|
"README.md"
|
|
28
32
|
],
|
|
29
33
|
"scripts": {
|
|
30
|
-
"build": "tsup && node -e \"require('fs').mkdirSync('dist/styles', {recursive: true})\" && postcss src/styles/index.css -o dist/styles/index.css",
|
|
31
|
-
"dev": "tsup --watch",
|
|
34
|
+
"build": "tsup && node -e \"require('fs').mkdirSync('dist/styles', {recursive: true})\" && postcss src/styles/index.css -o dist/styles/index.css && node -e \"require('fs').copyFileSync('src/styles/index.d.ts','dist/styles/index.d.ts')\"",
|
|
35
|
+
"dev": "tsup --watch --no-clean",
|
|
32
36
|
"type-check": "tsc --noEmit"
|
|
33
37
|
},
|
|
34
38
|
"keywords": [
|
|
@@ -80,6 +84,7 @@
|
|
|
80
84
|
"postcss-preset-env": "^10.4.0",
|
|
81
85
|
"tailwindcss": "^4.1.4",
|
|
82
86
|
"tsup": "^8.3.5",
|
|
83
|
-
"typescript": "^5.8.3"
|
|
87
|
+
"typescript": "^5.8.3",
|
|
88
|
+
"vitest": "^1.0.4"
|
|
84
89
|
}
|
|
85
90
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|