@plexui/styles 0.1.5 → 0.1.7

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.
@@ -15,6 +15,15 @@
15
15
  transition-timing-function: var(--transition-ease-basic);
16
16
  }
17
17
 
18
+ /* The control reaches past one edge only: the other edge stays on the container. */
19
+ .Container:where([data-optically-align]) {
20
+ width: calc(100% + var(--input-gutter));
21
+ }
22
+
23
+ .Container:where([data-optically-align])[data-pill] {
24
+ width: calc(100% + var(--input-gutter) * var(--control-gutter-pill-scaling));
25
+ }
26
+
18
27
  .Container:where([data-optically-align="start"]) {
19
28
  margin-inline-start: calc(var(--input-gutter) * -1);
20
29
  }
@@ -324,6 +324,15 @@
324
324
  width: 100%;
325
325
  }
326
326
 
327
+ /* The control reaches past one edge only: the other edge stays on the container. */
328
+ .SelectControl:where([data-block][data-optically-align]) {
329
+ width: calc(100% + var(--select-control-gutter));
330
+ }
331
+
332
+ .SelectControl:where([data-block][data-optically-align])[data-pill] {
333
+ width: calc(100% + var(--select-control-gutter) * var(--control-gutter-pill-scaling));
334
+ }
335
+
327
336
  /* =============================================
328
337
  Ghost variant
329
338
  ============================================= */
@@ -77,6 +77,19 @@
77
77
  --textarea-radius: var(--control-radius-xl);
78
78
  --textarea-gutter-x: var(--control-gutter-xl);
79
79
  }
80
+
81
+ /* The control reaches past one edge only: the other edge stays on the container. */
82
+ .Container[data-optically-align] {
83
+ width: calc(100% + var(--textarea-gutter-x));
84
+ }
85
+
86
+ .Container:where([data-optically-align="start"]) {
87
+ margin-inline-start: calc(var(--textarea-gutter-x) * -1);
88
+ }
89
+
90
+ .Container:where([data-optically-align="end"]) {
91
+ margin-inline-end: calc(var(--textarea-gutter-x) * -1);
92
+ }
80
93
  /* ============================================ */
81
94
  .Container:where([data-gutter-size="2xs"]) {
82
95
  --textarea-gutter-x: var(--control-gutter-2xs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",