react-resizable-panels 4.18.0 → 4.18.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/README.md
CHANGED
|
@@ -1050,6 +1050,9 @@ so this is best suited to content that is cheap to mount and benefits from being
|
|
|
1050
1050
|
<p>Tabs placed on the left or right are stacked ("vertical"):
|
|
1051
1051
|
this determines how a dropped tab's position is found and which arrow keys move focus between tabs.</p>
|
|
1052
1052
|
<p>ℹ️ Elements within a tabset have a <code>data-tab-placement</code> attribute, which can be used for styling (e.g. rotating tabs on the left or right).</p>
|
|
1053
|
+
<p>ℹ️ "left" and "right" are the start and end of the tabset (its header is rendered before or after its content),
|
|
1054
|
+
so in a right-to-left layout (e.g. within <code>dir="rtl"</code>) tabs placed on the "left" are on the right;
|
|
1055
|
+
styles for them should use logical properties (e.g. <code>border-inline-end</code> rather than <code>border-right</code>).</p>
|
|
1053
1056
|
<p>ℹ️ Tabsets can override this with the <code>tabPlacement</code> field of their model node.</p>
|
|
1054
1057
|
</td>
|
|
1055
1058
|
</tr>
|