opui-css 2.2.1 → 2.2.3

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/dist/op+ui.css CHANGED
@@ -95,6 +95,8 @@ Ideally it's the root/entry CSS file in your project.
95
95
  *,
96
96
  ::before,
97
97
  ::after {
98
+ /* Set box sizing instead of inheriting */
99
+ /* https://www.oddbird.net/2025/09/04/box-model/ */
98
100
  box-sizing: border-box;
99
101
  }
100
102
 
@@ -223,37 +225,37 @@ Ideally it's the root/entry CSS file in your project.
223
225
  }
224
226
 
225
227
  :where(
226
- a[href],
227
- area,
228
- button,
229
- input:not(
230
- [type="text"],
231
- [type="email"],
232
- [type="number"],
233
- [type="password"],
234
- [type=""],
235
- [type="tel"],
236
- [type="url"]
237
- ),
238
- label[for],
239
- select,
240
- summary
241
- ) {
228
+ a[href],
229
+ area,
230
+ button,
231
+ input:not(
232
+ [type="text"],
233
+ [type="email"],
234
+ [type="number"],
235
+ [type="password"],
236
+ [type=""],
237
+ [type="tel"],
238
+ [type="url"]
239
+ ),
240
+ label[for],
241
+ select,
242
+ summary
243
+ ) {
242
244
  cursor: pointer;
243
245
  }
244
246
 
245
247
  :where(
246
- a[href],
247
- area,
248
- button,
249
- [role="button"],
250
- input,
251
- label[for],
252
- select,
253
- summary,
254
- textarea,
255
- [tabindex]:not([tabindex*="-"])
256
- ) {
248
+ a[href],
249
+ area,
250
+ button,
251
+ [role="button"],
252
+ input,
253
+ label[for],
254
+ select,
255
+ summary,
256
+ textarea,
257
+ [tabindex]:not([tabindex*="-"])
258
+ ) {
257
259
  -webkit-tap-highlight-color: transparent;
258
260
  touch-action: manipulation;
259
261
  }
package/dist/ui.css CHANGED
@@ -6,6 +6,8 @@
6
6
  *,
7
7
  ::before,
8
8
  ::after {
9
+ /* Set box sizing instead of inheriting */
10
+ /* https://www.oddbird.net/2025/09/04/box-model/ */
9
11
  box-sizing: border-box;
10
12
  }
11
13
 
@@ -134,37 +136,37 @@
134
136
  }
135
137
 
136
138
  :where(
137
- a[href],
138
- area,
139
- button,
140
- input:not(
141
- [type="text"],
142
- [type="email"],
143
- [type="number"],
144
- [type="password"],
145
- [type=""],
146
- [type="tel"],
147
- [type="url"]
148
- ),
149
- label[for],
150
- select,
151
- summary
152
- ) {
139
+ a[href],
140
+ area,
141
+ button,
142
+ input:not(
143
+ [type="text"],
144
+ [type="email"],
145
+ [type="number"],
146
+ [type="password"],
147
+ [type=""],
148
+ [type="tel"],
149
+ [type="url"]
150
+ ),
151
+ label[for],
152
+ select,
153
+ summary
154
+ ) {
153
155
  cursor: pointer;
154
156
  }
155
157
 
156
158
  :where(
157
- a[href],
158
- area,
159
- button,
160
- [role="button"],
161
- input,
162
- label[for],
163
- select,
164
- summary,
165
- textarea,
166
- [tabindex]:not([tabindex*="-"])
167
- ) {
159
+ a[href],
160
+ area,
161
+ button,
162
+ [role="button"],
163
+ input,
164
+ label[for],
165
+ select,
166
+ summary,
167
+ textarea,
168
+ [tabindex]:not([tabindex*="-"])
169
+ ) {
168
170
  -webkit-tap-highlight-color: transparent;
169
171
  touch-action: manipulation;
170
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opui-css",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "files": [
@@ -2,6 +2,8 @@
2
2
  *,
3
3
  ::before,
4
4
  ::after {
5
+ /* Set box sizing instead of inheriting */
6
+ /* https://www.oddbird.net/2025/09/04/box-model/ */
5
7
  box-sizing: border-box;
6
8
  }
7
9
 
@@ -130,37 +132,37 @@
130
132
  }
131
133
 
132
134
  :where(
133
- a[href],
134
- area,
135
- button,
136
- input:not(
137
- [type="text"],
138
- [type="email"],
139
- [type="number"],
140
- [type="password"],
141
- [type=""],
142
- [type="tel"],
143
- [type="url"]
144
- ),
145
- label[for],
146
- select,
147
- summary
148
- ) {
135
+ a[href],
136
+ area,
137
+ button,
138
+ input:not(
139
+ [type="text"],
140
+ [type="email"],
141
+ [type="number"],
142
+ [type="password"],
143
+ [type=""],
144
+ [type="tel"],
145
+ [type="url"]
146
+ ),
147
+ label[for],
148
+ select,
149
+ summary
150
+ ) {
149
151
  cursor: pointer;
150
152
  }
151
153
 
152
154
  :where(
153
- a[href],
154
- area,
155
- button,
156
- [role="button"],
157
- input,
158
- label[for],
159
- select,
160
- summary,
161
- textarea,
162
- [tabindex]:not([tabindex*="-"])
163
- ) {
155
+ a[href],
156
+ area,
157
+ button,
158
+ [role="button"],
159
+ input,
160
+ label[for],
161
+ select,
162
+ summary,
163
+ textarea,
164
+ [tabindex]:not([tabindex*="-"])
165
+ ) {
164
166
  -webkit-tap-highlight-color: transparent;
165
167
  touch-action: manipulation;
166
168
  }