@opensearch-project/oui 1.22.1 → 1.23.0

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/CHANGELOG.md CHANGED
@@ -1,11 +1,19 @@
1
1
  # OUI
2
2
 
3
+ ## [`1.23.0`](https://github.com/opensearch-project/oui/tree/1.23)
4
+
5
+ ### 🪛 Refactoring
6
+
7
+ - Support reset styles being overridden by layers ([#1664](https://github.com/opensearch-project/oui/pull/1664))
8
+
9
+
3
10
  ## [`1.22.1`](https://github.com/opensearch-project/oui/tree/1.22.1)
4
11
 
5
12
  ### 🐛 Bug Fixes
6
13
 
7
14
  - Prevent popover close when a click event fired from a portaled component in popover([#1658](https://github.com/opensearch-project/oui/pull/1658))
8
15
 
16
+
9
17
  ## [`1.22.0`](https://github.com/opensearch-project/oui/tree/1.22)
10
18
 
11
19
  ### 🛡 Security
@@ -1191,193 +1191,172 @@
1191
1191
  * Modifications Copyright OpenSearch Contributors. See
1192
1192
  * GitHub history for details.
1193
1193
  */
1194
- /*!
1195
- * SPDX-License-Identifier: Apache-2.0
1196
- *
1197
- * The OpenSearch Contributors require contributions made to
1198
- * this file be licensed under the Apache-2.0 license or a
1199
- * compatible open source license.
1200
- *
1201
- * Modifications Copyright OpenSearch Contributors. See
1202
- * GitHub history for details.
1203
- */
1204
- /**
1205
- * Adapted from Eric Meyer's reset (http://meyerweb.com/eric/tools/css/reset/, v2.0 | 20110126).
1206
- *
1207
- */
1208
- *, *:before, *:after {
1209
- box-sizing: border-box;
1210
- }
1211
-
1212
- html, body, div, span, applet, object, iframe,
1213
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
1214
- a, abbr, acronym, address, big, cite, code,
1215
- del, dfn, em, img, ins, kbd, q, s, samp,
1216
- small, strike, strong, sub, sup, tt, var,
1217
- b, u, i, center,
1218
- dl, dt, dd, ol, ul, li,
1219
- fieldset, form, label, legend,
1220
- table, caption, tbody, tfoot, thead, tr, th, td,
1221
- article, aside, canvas, details, embed,
1222
- figure, figcaption, footer, header, hgroup,
1223
- menu, nav, output, ruby, section, summary,
1224
- time, mark, audio, video {
1225
- margin: 0;
1226
- padding: 0;
1227
- border: none;
1228
- vertical-align: baseline;
1229
- }
1230
-
1231
- code, pre, kbd, samp {
1232
- font-family: var(--eui-code-font-family);
1233
- }
1234
-
1235
- h1, h2, h3, h4, h5, h6, p {
1236
- font-family: inherit;
1237
- font-weight: inherit;
1238
- font-size: inherit;
1239
- }
1240
-
1241
- input, textarea, select, button {
1242
- font-family: var(--eui-font-family);
1243
- }
1244
-
1245
- em {
1246
- font-style: italic;
1247
- }
1248
-
1249
- strong {
1250
- font-weight: 700;
1251
- }
1252
-
1253
- /* HTML5 display-role reset for older browsers */
1254
- article, aside, details, figcaption, figure,
1255
- footer, header, hgroup, menu, nav, section {
1256
- display: block;
1257
- }
1258
-
1259
- html {
1260
- font-family: var(--eui-font-family);
1261
- font-weight: 400;
1262
- letter-spacing: -0.005em;
1263
- -webkit-text-size-adjust: 100%;
1264
- -ms-text-size-adjust: 100%;
1265
- -webkit-font-kerning: normal;
1266
- font-kerning: normal;
1267
- font-size: 16px;
1268
- color: #DFE5EF;
1269
- height: 100%;
1270
- background-color: #141519;
1271
- }
1272
-
1273
- body {
1274
- line-height: 1;
1275
- }
1276
-
1277
- *:focus {
1278
- outline: none;
1279
- }
1280
- *:focus::-moz-focus-inner {
1281
- border: none;
1282
- }
1283
- *:focus:-moz-focusring {
1284
- outline: none;
1285
- }
1286
-
1287
- a {
1288
- text-decoration: none;
1289
- color: #1BA9F5;
1290
- }
1291
- a:hover {
1292
- text-decoration: none;
1293
- }
1294
- a:focus {
1295
- text-decoration: none;
1296
- outline: none;
1297
- }
1298
-
1299
- a:hover, button, [role=button] {
1300
- cursor: pointer;
1301
- }
1302
-
1303
- input {
1304
- margin: 0;
1305
- padding: 0;
1306
- }
1307
- input:disabled {
1308
- opacity: 1; /* required on iOS */
1309
- }
1310
-
1311
- button {
1312
- background: none;
1313
- border: none;
1314
- padding: 0;
1315
- margin: 0;
1316
- outline: none;
1317
- font-size: inherit;
1318
- color: inherit;
1319
- border-radius: 0;
1320
- }
1321
- button:hover {
1322
- cursor: pointer;
1323
- }
1324
-
1325
- ol, ul {
1326
- list-style: none;
1327
- }
1328
-
1329
- blockquote, q {
1330
- quotes: none;
1331
- }
1332
-
1333
- blockquote:before, blockquote:after,
1334
- q:before, q:after {
1335
- content: "";
1336
- content: none;
1337
- }
1338
-
1339
- table {
1340
- border-collapse: collapse;
1341
- border-spacing: 0;
1342
- }
1343
-
1344
- hr {
1345
- margin: 0;
1346
- }
1347
-
1348
- fieldset {
1349
- min-inline-size: auto;
1350
- }
1351
-
1352
- /*!
1353
- * SPDX-License-Identifier: Apache-2.0
1354
- *
1355
- * The OpenSearch Contributors require contributions made to
1356
- * this file be licensed under the Apache-2.0 license or a
1357
- * compatible open source license.
1358
- *
1359
- * Modifications Copyright OpenSearch Contributors. See
1360
- * GitHub history for details.
1361
- */
1362
- svg text {
1363
- letter-spacing: normal !important;
1364
- }
1365
-
1366
- /*!
1367
- * SPDX-License-Identifier: Apache-2.0
1368
- *
1369
- * The OpenSearch Contributors require contributions made to
1370
- * this file be licensed under the Apache-2.0 license or a
1371
- * compatible open source license.
1372
- *
1373
- * Modifications Copyright OpenSearch Contributors. See
1374
- * GitHub history for details.
1375
- */
1376
- html {
1377
- scrollbar-width: thin;
1378
- scrollbar-color: rgba(152, 162, 179, 0.5) transparent;
1194
+ @layer theme {
1195
+ /*!
1196
+ * SPDX-License-Identifier: Apache-2.0
1197
+ *
1198
+ * The OpenSearch Contributors require contributions made to
1199
+ * this file be licensed under the Apache-2.0 license or a
1200
+ * compatible open source license.
1201
+ *
1202
+ * Modifications Copyright OpenSearch Contributors. See
1203
+ * GitHub history for details.
1204
+ */
1205
+ /**
1206
+ * Adapted from Eric Meyer's reset (http://meyerweb.com/eric/tools/css/reset/, v2.0 | 20110126).
1207
+ *
1208
+ */
1209
+ *, *:before, *:after {
1210
+ box-sizing: border-box;
1211
+ }
1212
+ html, body, div, span, applet, object, iframe,
1213
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
1214
+ a, abbr, acronym, address, big, cite, code,
1215
+ del, dfn, em, img, ins, kbd, q, s, samp,
1216
+ small, strike, strong, sub, sup, tt, var,
1217
+ b, u, i, center,
1218
+ dl, dt, dd, ol, ul, li,
1219
+ fieldset, form, label, legend,
1220
+ table, caption, tbody, tfoot, thead, tr, th, td,
1221
+ article, aside, canvas, details, embed,
1222
+ figure, figcaption, footer, header, hgroup,
1223
+ menu, nav, output, ruby, section, summary,
1224
+ time, mark, audio, video {
1225
+ margin: 0;
1226
+ padding: 0;
1227
+ border: none;
1228
+ vertical-align: baseline;
1229
+ }
1230
+ code, pre, kbd, samp {
1231
+ font-family: var(--eui-code-font-family);
1232
+ }
1233
+ h1, h2, h3, h4, h5, h6, p {
1234
+ font-family: inherit;
1235
+ font-weight: inherit;
1236
+ font-size: inherit;
1237
+ }
1238
+ input, textarea, select, button {
1239
+ font-family: var(--eui-font-family);
1240
+ }
1241
+ em {
1242
+ font-style: italic;
1243
+ }
1244
+ strong {
1245
+ font-weight: 700;
1246
+ }
1247
+ /* HTML5 display-role reset for older browsers */
1248
+ article, aside, details, figcaption, figure,
1249
+ footer, header, hgroup, menu, nav, section {
1250
+ display: block;
1251
+ }
1252
+ html {
1253
+ font-family: var(--eui-font-family);
1254
+ font-weight: 400;
1255
+ letter-spacing: -0.005em;
1256
+ -webkit-text-size-adjust: 100%;
1257
+ -ms-text-size-adjust: 100%;
1258
+ -webkit-font-kerning: normal;
1259
+ font-kerning: normal;
1260
+ font-size: 16px;
1261
+ color: #DFE5EF;
1262
+ height: 100%;
1263
+ background-color: #141519;
1264
+ }
1265
+ body {
1266
+ line-height: 1;
1267
+ }
1268
+ *:focus {
1269
+ outline: none;
1270
+ }
1271
+ *:focus::-moz-focus-inner {
1272
+ border: none;
1273
+ }
1274
+ *:focus:-moz-focusring {
1275
+ outline: none;
1276
+ }
1277
+ a {
1278
+ text-decoration: none;
1279
+ color: #1BA9F5;
1280
+ }
1281
+ a:hover {
1282
+ text-decoration: none;
1283
+ }
1284
+ a:focus {
1285
+ text-decoration: none;
1286
+ outline: none;
1287
+ }
1288
+ a:hover, button, [role=button] {
1289
+ cursor: pointer;
1290
+ }
1291
+ input {
1292
+ margin: 0;
1293
+ padding: 0;
1294
+ }
1295
+ input:disabled {
1296
+ opacity: 1; /* required on iOS */
1297
+ }
1298
+ button {
1299
+ background: none;
1300
+ border: none;
1301
+ padding: 0;
1302
+ margin: 0;
1303
+ outline: none;
1304
+ font-size: inherit;
1305
+ color: inherit;
1306
+ border-radius: 0;
1307
+ }
1308
+ button:hover {
1309
+ cursor: pointer;
1310
+ }
1311
+ ol, ul {
1312
+ list-style: none;
1313
+ }
1314
+ blockquote, q {
1315
+ quotes: none;
1316
+ }
1317
+ blockquote:before, blockquote:after,
1318
+ q:before, q:after {
1319
+ content: "";
1320
+ content: none;
1321
+ }
1322
+ table {
1323
+ border-collapse: collapse;
1324
+ border-spacing: 0;
1325
+ }
1326
+ hr {
1327
+ margin: 0;
1328
+ }
1329
+ fieldset {
1330
+ min-inline-size: auto;
1331
+ }
1332
+ /*!
1333
+ * SPDX-License-Identifier: Apache-2.0
1334
+ *
1335
+ * The OpenSearch Contributors require contributions made to
1336
+ * this file be licensed under the Apache-2.0 license or a
1337
+ * compatible open source license.
1338
+ *
1339
+ * Modifications Copyright OpenSearch Contributors. See
1340
+ * GitHub history for details.
1341
+ */
1342
+ svg text {
1343
+ letter-spacing: normal !important;
1344
+ }
1345
+ /*!
1346
+ * SPDX-License-Identifier: Apache-2.0
1347
+ *
1348
+ * The OpenSearch Contributors require contributions made to
1349
+ * this file be licensed under the Apache-2.0 license or a
1350
+ * compatible open source license.
1351
+ *
1352
+ * Modifications Copyright OpenSearch Contributors. See
1353
+ * GitHub history for details.
1354
+ */
1355
+ html {
1356
+ scrollbar-width: thin;
1357
+ scrollbar-color: rgba(152, 162, 179, 0.5) transparent;
1358
+ }
1379
1359
  }
1380
-
1381
1360
  /*
1382
1361
  * Copyright OpenSearch Contributors
1383
1362
  * SPDX-License-Identifier: Apache-2.0