@photoroom/ui 0.1.217 → 0.1.219

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.217",
3
+ "version": "0.1.219",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@img-comparison-slider/react": "8.0.2",
39
39
  "@lottiefiles/react-lottie-player": "3.6.0",
40
- "@photoroom/icons": "0.1.18",
40
+ "@photoroom/icons": "0.1.20",
41
41
  "@radix-ui/react-accordion": "1.2.12",
42
42
  "@radix-ui/react-avatar": "1.1.11",
43
43
  "@radix-ui/react-checkbox": "1.3.3",
package/theme.css CHANGED
@@ -1465,4 +1465,15 @@
1465
1465
  [dir="rtl"] select {
1466
1466
  background-position: left 8px center;
1467
1467
  }
1468
+
1469
+ /*
1470
+ * Auto-mirror directional icons (chevrons, arrows, undo/redo, back)
1471
+ * in RTL. The `data-rtl-mirror="true"` attribute is stamped by
1472
+ * packages/icons/scripts/generateIcons.js for the curated allowlist of
1473
+ * direction-sensitive SVGs, so consumers don't have to add
1474
+ * `rtl:-scale-x-100` at every callsite.
1475
+ */
1476
+ [dir="rtl"] svg[data-rtl-mirror="true"] {
1477
+ transform: scaleX(-1);
1478
+ }
1468
1479
  }