@powerhousedao/document-engineering 1.22.0 → 1.24.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 (95) hide show
  1. package/dist/src/scalars/lib/value-cast.js +1 -1
  2. package/dist/src/scalars/lib/value-cast.js.map +1 -1
  3. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +1 -1
  4. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +1 -2
  5. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +1 -1
  6. package/dist/src/ui/components/data-entry/file-input/file-input.d.ts +5 -0
  7. package/dist/src/ui/components/data-entry/file-input/file-input.d.ts.map +1 -0
  8. package/dist/src/ui/components/data-entry/file-input/file-input.js +55 -0
  9. package/dist/src/ui/components/data-entry/file-input/file-input.js.map +1 -0
  10. package/dist/src/ui/components/data-entry/file-input/index.d.ts +3 -0
  11. package/dist/src/ui/components/data-entry/file-input/index.d.ts.map +1 -0
  12. package/dist/src/ui/components/data-entry/file-input/index.js +2 -0
  13. package/dist/src/ui/components/data-entry/file-input/index.js.map +1 -0
  14. package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.d.ts +16 -0
  15. package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.d.ts.map +1 -0
  16. package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.js +13 -0
  17. package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.js.map +1 -0
  18. package/dist/src/ui/components/data-entry/file-input/types.d.ts +9 -0
  19. package/dist/src/ui/components/data-entry/file-input/types.d.ts.map +1 -0
  20. package/dist/src/ui/components/data-entry/file-input/types.js +2 -0
  21. package/dist/src/ui/components/data-entry/file-input/types.js.map +1 -0
  22. package/dist/src/ui/components/data-entry/file-input/utils.d.ts +10 -0
  23. package/dist/src/ui/components/data-entry/file-input/utils.d.ts.map +1 -0
  24. package/dist/src/ui/components/data-entry/file-input/utils.js +41 -0
  25. package/dist/src/ui/components/data-entry/file-input/utils.js.map +1 -0
  26. package/dist/src/ui/components/data-entry/password-input/password-strength.d.ts.map +1 -1
  27. package/dist/src/ui/components/data-entry/password-input/password-strength.js +4 -9
  28. package/dist/src/ui/components/data-entry/password-input/password-strength.js.map +1 -1
  29. package/dist/src/ui/components/data-entry/password-input/utils.d.ts +4 -0
  30. package/dist/src/ui/components/data-entry/password-input/utils.d.ts.map +1 -1
  31. package/dist/src/ui/components/data-entry/password-input/utils.js +44 -9
  32. package/dist/src/ui/components/data-entry/password-input/utils.js.map +1 -1
  33. package/dist/src/ui/components/data-entry/phone-number-input/index.d.ts +3 -0
  34. package/dist/src/ui/components/data-entry/phone-number-input/index.d.ts.map +1 -0
  35. package/dist/src/ui/components/data-entry/phone-number-input/index.js +2 -0
  36. package/dist/src/ui/components/data-entry/phone-number-input/index.js.map +1 -0
  37. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.d.ts +5 -0
  38. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.d.ts.map +1 -0
  39. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.js +38 -0
  40. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.js.map +1 -0
  41. package/dist/src/ui/components/data-entry/phone-number-input/types.d.ts +14 -0
  42. package/dist/src/ui/components/data-entry/phone-number-input/types.d.ts.map +1 -0
  43. package/dist/src/ui/components/data-entry/phone-number-input/types.js +2 -0
  44. package/dist/src/ui/components/data-entry/phone-number-input/types.js.map +1 -0
  45. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.d.ts +20 -0
  46. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.d.ts.map +1 -0
  47. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.js +34 -0
  48. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.js.map +1 -0
  49. package/dist/src/ui/components/icon-components/FileBackground.d.ts +7 -0
  50. package/dist/src/ui/components/icon-components/FileBackground.d.ts.map +1 -0
  51. package/dist/src/ui/components/icon-components/FileBackground.js +7 -0
  52. package/dist/src/ui/components/icon-components/FileBackground.js.map +1 -0
  53. package/dist/src/ui/components/icon-components/FileUpload.d.ts +7 -0
  54. package/dist/src/ui/components/icon-components/FileUpload.d.ts.map +1 -0
  55. package/dist/src/ui/components/icon-components/FileUpload.js +7 -0
  56. package/dist/src/ui/components/icon-components/FileUpload.js.map +1 -0
  57. package/dist/src/ui/components/icon-components/Image.d.ts +7 -0
  58. package/dist/src/ui/components/icon-components/Image.d.ts.map +1 -0
  59. package/dist/src/ui/components/icon-components/Image.js +7 -0
  60. package/dist/src/ui/components/icon-components/Image.js.map +1 -0
  61. package/dist/src/ui/components/icon-components/UploadImage.d.ts +7 -0
  62. package/dist/src/ui/components/icon-components/UploadImage.d.ts.map +1 -0
  63. package/dist/src/ui/components/icon-components/UploadImage.js +7 -0
  64. package/dist/src/ui/components/icon-components/UploadImage.js.map +1 -0
  65. package/dist/src/ui/components/icon-components/index.d.ts +1 -1
  66. package/dist/src/ui/components/icon-components/index.d.ts.map +1 -1
  67. package/dist/src/ui/components/icon-components/index.js +6 -0
  68. package/dist/src/ui/components/icon-components/index.js.map +1 -1
  69. package/dist/src/ui/components/index.d.ts +1 -0
  70. package/dist/src/ui/components/index.d.ts.map +1 -1
  71. package/dist/src/ui/components/index.js +1 -0
  72. package/dist/src/ui/components/index.js.map +1 -1
  73. package/dist/src/ui/components/sidebar/sidebar.d.ts +9 -0
  74. package/dist/src/ui/components/sidebar/sidebar.d.ts.map +1 -1
  75. package/dist/src/ui/components/sidebar/sidebar.js +2 -2
  76. package/dist/src/ui/components/sidebar/sidebar.js.map +1 -1
  77. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +2 -1
  78. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +1 -1
  79. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js +8 -2
  80. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +1 -1
  81. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts +1 -0
  82. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +1 -1
  83. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js +10 -2
  84. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js.map +1 -1
  85. package/dist/src/ui/components/sidebar/subcomponents/sidebar-skeleton-item.d.ts +8 -0
  86. package/dist/src/ui/components/sidebar/subcomponents/sidebar-skeleton-item.d.ts.map +1 -0
  87. package/dist/src/ui/components/sidebar/subcomponents/sidebar-skeleton-item.js +8 -0
  88. package/dist/src/ui/components/sidebar/subcomponents/sidebar-skeleton-item.js.map +1 -0
  89. package/dist/src/ui/components/sidebar/subcomponents/sidebar-skeleton.d.ts +2 -0
  90. package/dist/src/ui/components/sidebar/subcomponents/sidebar-skeleton.d.ts.map +1 -0
  91. package/dist/src/ui/components/sidebar/subcomponents/sidebar-skeleton.js +22 -0
  92. package/dist/src/ui/components/sidebar/subcomponents/sidebar-skeleton.js.map +1 -0
  93. package/dist/style.css +157 -13
  94. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  95. package/package.json +3 -1
package/dist/style.css CHANGED
@@ -84,6 +84,7 @@
84
84
  --radius-md: 0.375rem;
85
85
  --radius-lg: 0.5rem;
86
86
  --radius-xl: 0.75rem;
87
+ --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
87
88
  --animate-spin: spin 1s linear infinite;
88
89
  --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
89
90
  --default-transition-duration: 150ms;
@@ -266,6 +267,9 @@
266
267
  .\!pointer-events-auto {
267
268
  pointer-events: auto !important;
268
269
  }
270
+ .pointer-events-auto {
271
+ pointer-events: auto;
272
+ }
269
273
  .pointer-events-none {
270
274
  pointer-events: none;
271
275
  }
@@ -329,6 +333,9 @@
329
333
  .right-8 {
330
334
  right: calc(var(--spacing) * 8);
331
335
  }
336
+ .bottom-4 {
337
+ bottom: calc(var(--spacing) * 4);
338
+ }
332
339
  .bottom-5 {
333
340
  bottom: calc(var(--spacing) * 5);
334
341
  }
@@ -347,6 +354,9 @@
347
354
  .left-\[50\%\] {
348
355
  left: 50%;
349
356
  }
357
+ .z-0 {
358
+ z-index: 0;
359
+ }
350
360
  .z-1 {
351
361
  z-index: 1;
352
362
  }
@@ -512,6 +522,9 @@
512
522
  .inline {
513
523
  display: inline;
514
524
  }
525
+ .inline-block {
526
+ display: inline-block;
527
+ }
515
528
  .inline-flex {
516
529
  display: inline-flex;
517
530
  }
@@ -570,6 +583,9 @@
570
583
  .h-4 {
571
584
  height: calc(var(--spacing) * 4);
572
585
  }
586
+ .h-4\.5 {
587
+ height: calc(var(--spacing) * 4.5);
588
+ }
573
589
  .h-6 {
574
590
  height: calc(var(--spacing) * 6);
575
591
  }
@@ -633,6 +649,9 @@
633
649
  .min-h-9 {
634
650
  min-height: calc(var(--spacing) * 9);
635
651
  }
652
+ .min-h-\[148px\] {
653
+ min-height: 148px;
654
+ }
636
655
  .w-\(--radix-popover-trigger-width\) {
637
656
  width: var(--radix-popover-trigger-width);
638
657
  }
@@ -654,6 +673,39 @@
654
673
  .w-16 {
655
674
  width: calc(var(--spacing) * 16);
656
675
  }
676
+ .w-22 {
677
+ width: calc(var(--spacing) * 22);
678
+ }
679
+ .w-23 {
680
+ width: calc(var(--spacing) * 23);
681
+ }
682
+ .w-24 {
683
+ width: calc(var(--spacing) * 24);
684
+ }
685
+ .w-26 {
686
+ width: calc(var(--spacing) * 26);
687
+ }
688
+ .w-28 {
689
+ width: calc(var(--spacing) * 28);
690
+ }
691
+ .w-30 {
692
+ width: calc(var(--spacing) * 30);
693
+ }
694
+ .w-32 {
695
+ width: calc(var(--spacing) * 32);
696
+ }
697
+ .w-34 {
698
+ width: calc(var(--spacing) * 34);
699
+ }
700
+ .w-36 {
701
+ width: calc(var(--spacing) * 36);
702
+ }
703
+ .w-38 {
704
+ width: calc(var(--spacing) * 38);
705
+ }
706
+ .w-40 {
707
+ width: calc(var(--spacing) * 40);
708
+ }
657
709
  .w-48 {
658
710
  width: calc(var(--spacing) * 48);
659
711
  }
@@ -690,6 +742,9 @@
690
742
  .w-\[184px\] {
691
743
  width: 184px;
692
744
  }
745
+ .w-\[247px\] {
746
+ width: 247px;
747
+ }
693
748
  .w-\[275px\] {
694
749
  width: 275px;
695
750
  }
@@ -865,6 +920,9 @@
865
920
  .justify-start {
866
921
  justify-content: flex-start;
867
922
  }
923
+ .gap-0\.5 {
924
+ gap: calc(var(--spacing) * 0.5);
925
+ }
868
926
  .gap-1 {
869
927
  gap: calc(var(--spacing) * 1);
870
928
  }
@@ -966,10 +1024,18 @@
966
1024
  border-top-left-radius: 0;
967
1025
  border-top-right-radius: 0;
968
1026
  }
1027
+ .rounded-l-md {
1028
+ border-top-left-radius: var(--radius-md);
1029
+ border-bottom-left-radius: var(--radius-md);
1030
+ }
969
1031
  .rounded-l-none {
970
1032
  border-top-left-radius: 0;
971
1033
  border-bottom-left-radius: 0;
972
1034
  }
1035
+ .rounded-r-md {
1036
+ border-top-right-radius: var(--radius-md);
1037
+ border-bottom-right-radius: var(--radius-md);
1038
+ }
973
1039
  .rounded-r-none {
974
1040
  border-top-right-radius: 0;
975
1041
  border-bottom-right-radius: 0;
@@ -1014,6 +1080,10 @@
1014
1080
  border-bottom-style: var(--tw-border-style);
1015
1081
  border-bottom-width: 2px;
1016
1082
  }
1083
+ .border-l {
1084
+ border-left-style: var(--tw-border-style);
1085
+ border-left-width: 1px;
1086
+ }
1017
1087
  .border-l-\[0\.5px\] {
1018
1088
  border-left-style: var(--tw-border-style);
1019
1089
  border-left-width: 0.5px;
@@ -1026,6 +1096,9 @@
1026
1096
  --tw-border-style: none;
1027
1097
  border-style: none;
1028
1098
  }
1099
+ .border-\[\#E4E4E7\] {
1100
+ border-color: #E4E4E7;
1101
+ }
1029
1102
  .border-blue-500 {
1030
1103
  border-color: var(--color-blue-500);
1031
1104
  }
@@ -1281,6 +1354,9 @@
1281
1354
  .pt-3 {
1282
1355
  padding-top: calc(var(--spacing) * 3);
1283
1356
  }
1357
+ .pt-3\.5 {
1358
+ padding-top: calc(var(--spacing) * 3.5);
1359
+ }
1284
1360
  .pt-\[25px\] {
1285
1361
  padding-top: 25px;
1286
1362
  }
@@ -1317,6 +1393,9 @@
1317
1393
  .pb-0\.5 {
1318
1394
  padding-bottom: calc(var(--spacing) * 0.5);
1319
1395
  }
1396
+ .pb-1 {
1397
+ padding-bottom: calc(var(--spacing) * 1);
1398
+ }
1320
1399
  .pb-2 {
1321
1400
  padding-bottom: calc(var(--spacing) * 2);
1322
1401
  }
@@ -1396,6 +1475,10 @@
1396
1475
  --tw-leading: calc(var(--spacing) * 4);
1397
1476
  line-height: calc(var(--spacing) * 4);
1398
1477
  }
1478
+ .leading-4\.5 {
1479
+ --tw-leading: calc(var(--spacing) * 4.5);
1480
+ line-height: calc(var(--spacing) * 4.5);
1481
+ }
1399
1482
  .leading-5 {
1400
1483
  --tw-leading: calc(var(--spacing) * 5);
1401
1484
  line-height: calc(var(--spacing) * 5);
@@ -1710,6 +1793,10 @@
1710
1793
  --tw-duration: 500ms;
1711
1794
  transition-duration: 500ms;
1712
1795
  }
1796
+ .ease-in-out {
1797
+ --tw-ease: var(--ease-in-out);
1798
+ transition-timing-function: var(--ease-in-out);
1799
+ }
1713
1800
  .ease-linear {
1714
1801
  --tw-ease: linear;
1715
1802
  transition-timing-function: linear;
@@ -1896,6 +1983,18 @@
1896
1983
  background-color: var(--color-blue-900);
1897
1984
  }
1898
1985
  }
1986
+ .before\:bg-gray-500 {
1987
+ &::before {
1988
+ content: var(--tw-content);
1989
+ background-color: var(--color-gray-500);
1990
+ }
1991
+ }
1992
+ .before\:bg-green-900 {
1993
+ &::before {
1994
+ content: var(--tw-content);
1995
+ background-color: var(--color-green-900);
1996
+ }
1997
+ }
1899
1998
  .before\:bg-orange-900 {
1900
1999
  &::before {
1901
2000
  content: var(--tw-content);
@@ -1908,6 +2007,28 @@
1908
2007
  background-color: var(--color-red-900);
1909
2008
  }
1910
2009
  }
2010
+ .before\:transition-colors {
2011
+ &::before {
2012
+ content: var(--tw-content);
2013
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
2014
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
2015
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
2016
+ }
2017
+ }
2018
+ .before\:duration-200 {
2019
+ &::before {
2020
+ content: var(--tw-content);
2021
+ --tw-duration: 200ms;
2022
+ transition-duration: 200ms;
2023
+ }
2024
+ }
2025
+ .before\:ease-in-out {
2026
+ &::before {
2027
+ content: var(--tw-content);
2028
+ --tw-ease: var(--ease-in-out);
2029
+ transition-timing-function: var(--ease-in-out);
2030
+ }
2031
+ }
1911
2032
  .after\:absolute {
1912
2033
  &::after {
1913
2034
  content: var(--tw-content);
@@ -2043,12 +2164,24 @@
2043
2164
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2044
2165
  }
2045
2166
  }
2167
+ .focus-within\:ring-gray-900 {
2168
+ &:focus-within {
2169
+ --tw-ring-color: var(--color-gray-900);
2170
+ }
2171
+ }
2046
2172
  .focus-within\:ring-offset-0 {
2047
2173
  &:focus-within {
2048
2174
  --tw-ring-offset-width: 0px;
2049
2175
  --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2050
2176
  }
2051
2177
  }
2178
+ .hover\:cursor-pointer {
2179
+ &:hover {
2180
+ @media (hover: hover) {
2181
+ cursor: pointer;
2182
+ }
2183
+ }
2184
+ }
2052
2185
  .hover\:rounded-\[4px\] {
2053
2186
  &:hover {
2054
2187
  @media (hover: hover) {
@@ -2119,6 +2252,13 @@
2119
2252
  }
2120
2253
  }
2121
2254
  }
2255
+ .hover\:bg-blue-600 {
2256
+ &:hover {
2257
+ @media (hover: hover) {
2258
+ background-color: var(--color-blue-600);
2259
+ }
2260
+ }
2261
+ }
2122
2262
  .hover\:bg-destructive\/90 {
2123
2263
  &:hover {
2124
2264
  @media (hover: hover) {
@@ -2191,6 +2331,13 @@
2191
2331
  }
2192
2332
  }
2193
2333
  }
2334
+ .hover\:bg-white {
2335
+ &:hover {
2336
+ @media (hover: hover) {
2337
+ background-color: var(--color-white);
2338
+ }
2339
+ }
2340
+ }
2194
2341
  .hover\:pr-6 {
2195
2342
  &:hover {
2196
2343
  @media (hover: hover) {
@@ -2332,6 +2479,11 @@
2332
2479
  background-color: var(--color-gray-50);
2333
2480
  }
2334
2481
  }
2482
+ .focus\:bg-transparent {
2483
+ &:focus {
2484
+ background-color: transparent;
2485
+ }
2486
+ }
2335
2487
  .focus\:bg-white {
2336
2488
  &:focus {
2337
2489
  background-color: var(--color-white);
@@ -4892,6 +5044,11 @@
4892
5044
  display: none;
4893
5045
  }
4894
5046
  }
5047
+ .\[\&_\[data-slot\=progress-bar-indicator\]\]\:bg-blue-600 {
5048
+ & [data-slot=progress-bar-indicator] {
5049
+ background-color: var(--color-blue-600);
5050
+ }
5051
+ }
4895
5052
  .\[\&_\[data-slot\=progress-bar-indicator\]\]\:bg-green-900 {
4896
5053
  & [data-slot=progress-bar-indicator] {
4897
5054
  background-color: var(--color-green-900);
@@ -5588,19 +5745,6 @@
5588
5745
  }
5589
5746
  }
5590
5747
  }
5591
- .\[\&\>li\]\:text-gray-500 {
5592
- &>li {
5593
- color: var(--color-gray-500);
5594
- }
5595
- }
5596
- .\[\&\>li\]\:before\:bg-gray-500 {
5597
- &>li {
5598
- &::before {
5599
- content: var(--tw-content);
5600
- background-color: var(--color-gray-500);
5601
- }
5602
- }
5603
- }
5604
5748
  .\[\&\>span\]\:w-full {
5605
5749
  &>span {
5606
5750
  width: 100%;