shelving 1.289.1 → 1.289.2

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": "shelving",
3
- "version": "1.289.1",
3
+ "version": "1.289.2",
4
4
  "author": "Dave Houlbrooke <dave@shax.com>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -167,24 +167,25 @@
167
167
  pointer-events: none;
168
168
  }
169
169
 
170
- /* First [data-slot] child sits one indent from the start, where the text of a plain input starts. */
170
+ /* First [data-slot] child sits one indent from the left, where the text of a plain input starts. Physical, not
171
+ logical: `inset-inline-start` makes bundlers emit a `:lang()` selector for every right-to-left language. */
171
172
  & > [data-slot]:first-child {
172
- inset-inline-start: var(--input-indent, var(--space-small));
173
+ left: var(--input-indent, var(--space-small));
173
174
  }
174
175
 
175
- /* Last [data-slot] child sits one indent from the end. */
176
+ /* Last [data-slot] child sits one indent from the right. */
176
177
  & > [data-slot]:last-child {
177
- inset-inline-end: var(--input-indent, var(--space-small));
178
+ right: var(--input-indent, var(--space-small));
178
179
  }
179
180
 
180
- /* Push the inner .input text past the start slot, with one indent gap. */
181
+ /* Push the inner .input text past the left slot, with one indent gap. */
181
182
  &:has(> [data-slot]:first-child) > .input {
182
- padding-inline-start: calc(var(--input-icon-size, var(--size-icon)) + var(--input-indent, var(--space-small)));
183
+ padding-left: calc(var(--input-icon-size, var(--size-icon)) + var(--input-indent, var(--space-small)));
183
184
  }
184
185
 
185
- /* Push the inner .input text clear of the end slot, with one indent gap. */
186
+ /* Push the inner .input text clear of the right slot, with one indent gap. */
186
187
  &:has(> [data-slot]:last-child) > .input {
187
- padding-inline-end: calc(var(--input-icon-size, var(--size-icon)) + var(--input-indent, var(--space-small)));
188
+ padding-right: calc(var(--input-icon-size, var(--size-icon)) + var(--input-indent, var(--space-small)));
188
189
  }
189
190
  }
190
191
  }