@ibanzajoe/uploader 1.5.0 → 1.6.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.
package/dist/styles.css CHANGED
@@ -929,6 +929,48 @@
929
929
  transform: scaleX(-1);
930
930
  }
931
931
 
932
+ /*
933
+ * Flip-camera control. Overlaid on the stage (top-right) instead of joining the
934
+ * actions row, whose Back/spacer symmetry is what keeps the shutter centered.
935
+ * Sits on the dark video, so it uses its own light-on-scrim colors rather than
936
+ * the --uploader-* surface tokens.
937
+ */
938
+ .uploader-camera-flip {
939
+ position: absolute;
940
+ top: 10px;
941
+ right: 10px;
942
+ width: 38px;
943
+ height: 38px;
944
+ border-radius: 999px;
945
+ border: none;
946
+ padding: 0;
947
+ display: inline-flex;
948
+ align-items: center;
949
+ justify-content: center;
950
+ color: #f0ede8;
951
+ background: rgb(0 0 0 / 45%);
952
+ cursor: pointer;
953
+ transition: background var(--uploader-transition), transform var(--uploader-transition);
954
+ }
955
+
956
+ .uploader-camera-flip:hover:not(:disabled) {
957
+ background: rgb(0 0 0 / 65%);
958
+ }
959
+
960
+ .uploader-camera-flip:active:not(:disabled) {
961
+ transform: scale(0.92);
962
+ }
963
+
964
+ .uploader-camera-flip:focus-visible {
965
+ outline: none;
966
+ box-shadow: 0 0 0 3px var(--uploader-accent-ring);
967
+ }
968
+
969
+ .uploader-camera-flip:disabled {
970
+ opacity: 0.45;
971
+ cursor: not-allowed;
972
+ }
973
+
932
974
  .uploader-camera-status {
933
975
  position: absolute;
934
976
  inset: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibanzajoe/uploader",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Drop-in React file-upload picker (drag-and-drop + dialog), headless upload client, in-picker image editor, and transform-URL builder.",
5
5
  "license": "MIT",
6
6
  "author": "ibanzajoe",