@carbon/element-styles 0.3.2-rc.0 → 0.3.2-rc.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/element-styles",
3
3
  "description": "An experimental styling system for native HTML elements, relying on semantic, attribute-focused selectors instead of class names.",
4
- "version": "0.3.2-rc.0",
4
+ "version": "0.3.2-rc.1",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sass": "index.scss",
@@ -73,9 +73,11 @@ $-default-config: (
73
73
  @if $-alignment-block == 'start' {
74
74
  position-area: start center;
75
75
  inset-block-end: calc(spacing.$spacing-02 + ($-caret-size * 0.5));
76
+ inset-block-start: unset;
76
77
 
77
78
  &::before {
78
79
  inset-block-end: calc($-caret-size * -0.5);
80
+ inset-block-start: unset;
79
81
  rotate: 135deg;
80
82
  }
81
83
  }
@@ -83,9 +85,11 @@ $-default-config: (
83
85
  @if $-alignment-block == 'end' {
84
86
  position-area: end center;
85
87
  inset-block-start: calc(spacing.$spacing-02 + ($-caret-size * 0.5));
88
+ inset-block-end: unset;
86
89
 
87
90
  &::before {
88
91
  inset-block-start: calc($-caret-size * -0.5);
92
+ inset-block-end: unset;
89
93
  rotate: -45deg;
90
94
  }
91
95
  }
@@ -116,6 +120,7 @@ $-default-config: (
116
120
 
117
121
  &::before {
118
122
  inset-block-start: -get-caret-offset('center', $-caret-size);
123
+ inset-block-end: unset;
119
124
  inset-inline-end: calc($-caret-size * -0.5);
120
125
  rotate: 45deg;
121
126
  }
@@ -127,6 +132,7 @@ $-default-config: (
127
132
 
128
133
  &::before {
129
134
  inset-block-start: -get-caret-offset('center', $-caret-size);
135
+ inset-block-end: unset;
130
136
  inset-inline-start: calc($-caret-size * -0.5);
131
137
  rotate: -135deg;
132
138
  }
@@ -36,5 +36,7 @@ $-default-config: (
36
36
 
37
37
  background-color: theme.$background-inverse;
38
38
  color: theme.$text-inverse;
39
+ inline-size: max-content;
40
+ max-inline-size: 20rem;
39
41
  }
40
42
  }