@charcoal-ui/react 3.12.0 → 3.13.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.
Files changed (52) hide show
  1. package/README.md +1 -1
  2. package/dist/components/Modal/index.d.ts +3 -0
  3. package/dist/components/Modal/index.d.ts.map +1 -1
  4. package/dist/core/SSRProvider.d.ts +3 -1
  5. package/dist/core/SSRProvider.d.ts.map +1 -1
  6. package/dist/index.cjs.js +113 -104
  7. package/dist/index.cjs.js.map +1 -1
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.esm.js +13 -5
  11. package/dist/index.esm.js.map +1 -1
  12. package/package.json +8 -8
  13. package/src/components/Button/__snapshots__/index.story.storyshot +9 -9
  14. package/src/components/Button/index.story.tsx +1 -1
  15. package/src/components/Checkbox/__snapshots__/index.story.storyshot +6 -6
  16. package/src/components/Checkbox/index.story.tsx +1 -1
  17. package/src/components/Clickable/__snapshots__/index.story.storyshot +2 -2
  18. package/src/components/Clickable/index.story.tsx +1 -1
  19. package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +1 -1
  20. package/src/components/DropdownSelector/ListItem/index.story.tsx +1 -1
  21. package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +3 -3
  22. package/src/components/DropdownSelector/MenuList/index.story.tsx +1 -1
  23. package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +1 -1
  24. package/src/components/DropdownSelector/Popover/index.story.tsx +1 -1
  25. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +14 -936
  26. package/src/components/DropdownSelector/index.story.tsx +2 -2
  27. package/src/components/Icon/__snapshots__/index.story.storyshot +1 -1
  28. package/src/components/Icon/index.story.tsx +1 -1
  29. package/src/components/IconButton/__snapshots__/index.story.storyshot +6 -3
  30. package/src/components/IconButton/index.story.tsx +1 -1
  31. package/src/components/IconButton/index.tsx +1 -1
  32. package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +4 -4
  33. package/src/components/LoadingSpinner/index.story.tsx +1 -1
  34. package/src/components/Modal/__snapshots__/index.story.storyshot +24 -12
  35. package/src/components/Modal/index.story.tsx +2 -2
  36. package/src/components/Modal/index.tsx +6 -2
  37. package/src/components/MultiSelect/__snapshots__/index.story.storyshot +4 -4
  38. package/src/components/MultiSelect/index.story.tsx +1 -1
  39. package/src/components/Radio/__snapshots__/index.story.storyshot +5 -5
  40. package/src/components/Radio/index.story.tsx +1 -1
  41. package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +2 -2
  42. package/src/components/SegmentedControl/index.story.tsx +1 -1
  43. package/src/components/Switch/__snapshots__/index.story.storyshot +4 -4
  44. package/src/components/Switch/index.story.tsx +1 -1
  45. package/src/components/TagItem/__snapshots__/index.story.storyshot +9 -9
  46. package/src/components/TagItem/index.story.tsx +2 -2
  47. package/src/components/TextArea/TextArea.story.tsx +1 -1
  48. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +11 -11
  49. package/src/components/TextField/TextField.story.tsx +1 -1
  50. package/src/components/TextField/__snapshots__/TextField.story.storyshot +13 -13
  51. package/src/core/SSRProvider.tsx +12 -1
  52. package/src/index.ts +5 -1
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Storybook Tests DropdownSelector AssistiveText 1`] = `
3
+ exports[`Storybook Tests react/DropdownSelector AssistiveText 1`] = `
4
4
  .c0 {
5
5
  display: inline-block;
6
6
  width: 100%;
@@ -186,7 +186,7 @@ exports[`Storybook Tests DropdownSelector AssistiveText 1`] = `
186
186
  </div>
187
187
  `;
188
188
 
189
- exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
189
+ exports[`Storybook Tests react/DropdownSelector CustomChildren 1`] = `
190
190
  .c0 {
191
191
  display: inline-block;
192
192
  width: 100%;
@@ -351,7 +351,7 @@ exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
351
351
  </div>
352
352
  `;
353
353
 
354
- exports[`Storybook Tests DropdownSelector Default 1`] = `
354
+ exports[`Storybook Tests react/DropdownSelector Default 1`] = `
355
355
  .c0 {
356
356
  display: inline-block;
357
357
  width: 100%;
@@ -508,7 +508,7 @@ exports[`Storybook Tests DropdownSelector Default 1`] = `
508
508
  </div>
509
509
  `;
510
510
 
511
- exports[`Storybook Tests DropdownSelector Disabled 1`] = `
511
+ exports[`Storybook Tests react/DropdownSelector Disabled 1`] = `
512
512
  .c0 {
513
513
  display: inline-block;
514
514
  width: 100%;
@@ -667,7 +667,7 @@ exports[`Storybook Tests DropdownSelector Disabled 1`] = `
667
667
  </div>
668
668
  `;
669
669
 
670
- exports[`Storybook Tests DropdownSelector DisabledItem 1`] = `
670
+ exports[`Storybook Tests react/DropdownSelector DisabledItem 1`] = `
671
671
  .c0 {
672
672
  display: inline-block;
673
673
  width: 100%;
@@ -835,7 +835,7 @@ exports[`Storybook Tests DropdownSelector DisabledItem 1`] = `
835
835
  </div>
836
836
  `;
837
837
 
838
- exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
838
+ exports[`Storybook Tests react/DropdownSelector InFormTag 1`] = `
839
839
  .c4 {
840
840
  cursor: pointer;
841
841
  -webkit-appearance: none;
@@ -1110,613 +1110,7 @@ exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
1110
1110
  </div>
1111
1111
  `;
1112
1112
 
1113
- exports[`Storybook Tests DropdownSelector InModal 1`] = `
1114
- .c26 {
1115
- cursor: pointer;
1116
- -webkit-appearance: none;
1117
- -moz-appearance: none;
1118
- appearance: none;
1119
- background: transparent;
1120
- padding: 0;
1121
- border-style: none;
1122
- outline: none;
1123
- color: inherit;
1124
- text-rendering: inherit;
1125
- -webkit-letter-spacing: inherit;
1126
- -moz-letter-spacing: inherit;
1127
- -ms-letter-spacing: inherit;
1128
- letter-spacing: inherit;
1129
- word-spacing: inherit;
1130
- -webkit-text-decoration: none;
1131
- text-decoration: none;
1132
- font: inherit;
1133
- margin: 0;
1134
- overflow: visible;
1135
- text-transform: none;
1136
- }
1137
-
1138
- .c26:disabled,
1139
- .c26[aria-disabled]:not([aria-disabled=false]) {
1140
- cursor: default;
1141
- }
1142
-
1143
- .c26:focus {
1144
- outline: none;
1145
- }
1146
-
1147
- .c26::-moz-focus-inner {
1148
- border-style: none;
1149
- padding: 0;
1150
- }
1151
-
1152
- .c9 {
1153
- font-size: 14px;
1154
- line-height: 22px;
1155
- font-weight: bold;
1156
- display: flow-root;
1157
- color: var(--charcoal-text1);
1158
- }
1159
-
1160
- .c9::before {
1161
- display: block;
1162
- width: 0;
1163
- height: 0;
1164
- content: '';
1165
- margin-top: -4px;
1166
- }
1167
-
1168
- .c9::after {
1169
- display: block;
1170
- width: 0;
1171
- height: 0;
1172
- content: '';
1173
- margin-bottom: -4px;
1174
- }
1175
-
1176
- .c11 {
1177
- font-size: 14px;
1178
- line-height: 22px;
1179
- display: flow-root;
1180
- color: var(--charcoal-text2);
1181
- }
1182
-
1183
- .c11::before {
1184
- display: block;
1185
- width: 0;
1186
- height: 0;
1187
- content: '';
1188
- margin-top: -4px;
1189
- }
1190
-
1191
- .c11::after {
1192
- display: block;
1193
- width: 0;
1194
- height: 0;
1195
- content: '';
1196
- margin-bottom: -4px;
1197
- }
1198
-
1199
- .c13 {
1200
- font-size: 14px;
1201
- line-height: 22px;
1202
- display: flow-root;
1203
- color: var(--charcoal-text3);
1204
- -webkit-transition: 0.2s color,0.2s box-shadow;
1205
- transition: 0.2s color,0.2s box-shadow;
1206
- }
1207
-
1208
- .c13::before {
1209
- display: block;
1210
- width: 0;
1211
- height: 0;
1212
- content: '';
1213
- margin-top: -4px;
1214
- }
1215
-
1216
- .c13::after {
1217
- display: block;
1218
- width: 0;
1219
- height: 0;
1220
- content: '';
1221
- margin-bottom: -4px;
1222
- }
1223
-
1224
- .c13:not(:disabled):not([aria-disabled]):hover,
1225
- .c13[aria-disabled='false']:hover {
1226
- color: var(--charcoal-text3-hover);
1227
- }
1228
-
1229
- .c13:not(:disabled):not([aria-disabled]):active,
1230
- .c13[aria-disabled='false']:active {
1231
- color: var(--charcoal-text3-press);
1232
- }
1233
-
1234
- .c13:not(:disabled):not([aria-disabled]):active,
1235
- .c13[aria-disabled='false']:active,
1236
- .c13:not(:disabled):not([aria-disabled]):focus,
1237
- .c13[aria-disabled='false']:focus,
1238
- .c13:not(:disabled):not([aria-disabled]):focus-visible,
1239
- .c13[aria-disabled='false']:focus-visible {
1240
- outline: none;
1241
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1242
- }
1243
-
1244
- .c7 {
1245
- display: -webkit-inline-box;
1246
- display: -webkit-inline-flex;
1247
- display: -ms-inline-flexbox;
1248
- display: inline-flex;
1249
- -webkit-align-items: center;
1250
- -webkit-box-align: center;
1251
- -ms-flex-align: center;
1252
- align-items: center;
1253
- }
1254
-
1255
- .c7 > .c10 {
1256
- margin-left: 4px;
1257
- }
1258
-
1259
- .c7 > .c12 {
1260
- margin-left: auto;
1261
- }
1262
-
1263
- .c6 {
1264
- display: inline-block;
1265
- width: 100%;
1266
- }
1267
-
1268
- .c6:disabled,
1269
- .c6[aria-disabled]:not([aria-disabled=false]) {
1270
- cursor: default;
1271
- opacity: 0.32;
1272
- }
1273
-
1274
- .c8 {
1275
- width: 100%;
1276
- margin-bottom: 8px;
1277
- }
1278
-
1279
- .c14 {
1280
- display: -webkit-box;
1281
- display: -webkit-flex;
1282
- display: -ms-flexbox;
1283
- display: flex;
1284
- -webkit-box-pack: justify;
1285
- -webkit-justify-content: space-between;
1286
- -ms-flex-pack: justify;
1287
- justify-content: space-between;
1288
- -webkit-align-items: center;
1289
- -webkit-box-align: center;
1290
- -ms-flex-align: center;
1291
- align-items: center;
1292
- height: 40px;
1293
- width: 100%;
1294
- box-sizing: border-box;
1295
- border: none;
1296
- cursor: pointer;
1297
- gap: 4px;
1298
- padding-right: 8px;
1299
- padding-left: 8px;
1300
- background-color: var(--charcoal-surface3);
1301
- border-radius: 4px;
1302
- -webkit-transition: 0.2s box-shadow,0.2s background-color;
1303
- transition: 0.2s box-shadow,0.2s background-color;
1304
- }
1305
-
1306
- .c14:disabled,
1307
- .c14[aria-disabled]:not([aria-disabled=false]) {
1308
- cursor: default;
1309
- }
1310
-
1311
- .c14:not(:disabled):not([aria-disabled]):focus,
1312
- .c14[aria-disabled='false']:focus {
1313
- outline: none;
1314
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1315
- }
1316
-
1317
- .c14:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1318
- .c14[aria-disabled='false']:focus:not(:focus-visible) {
1319
- box-shadow: none;
1320
- }
1321
-
1322
- .c14:not(:disabled):not([aria-disabled]):focus-visible,
1323
- .c14[aria-disabled='false']:focus-visible {
1324
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1325
- }
1326
-
1327
- .c14:not(:disabled):not([aria-disabled]):hover,
1328
- .c14[aria-disabled='false']:hover {
1329
- background-color: var(--charcoal-surface3-hover);
1330
- }
1331
-
1332
- .c14:not(:disabled):not([aria-disabled]):active,
1333
- .c14[aria-disabled='false']:active {
1334
- background-color: var(--charcoal-surface3-press);
1335
- }
1336
-
1337
- .c15 {
1338
- text-align: left;
1339
- font-size: 14px;
1340
- line-height: 22px;
1341
- display: flow-root;
1342
- color: var(--charcoal-text2);
1343
- overflow: hidden;
1344
- text-overflow: ellipsis;
1345
- white-space: nowrap;
1346
- }
1347
-
1348
- .c16 {
1349
- color: var(--charcoal-text2);
1350
- }
1351
-
1352
- .c17 {
1353
- margin-top: 8px;
1354
- font-size: 14px;
1355
- color: var(--charcoal-text2);
1356
- line-height: 22px;
1357
- display: flow-root;
1358
- }
1359
-
1360
- .c17::before {
1361
- display: block;
1362
- width: 0;
1363
- height: 0;
1364
- content: '';
1365
- margin-top: -4px;
1366
- }
1367
-
1368
- .c17::after {
1369
- display: block;
1370
- width: 0;
1371
- height: 0;
1372
- content: '';
1373
- margin-bottom: -4px;
1374
- }
1375
-
1376
- .c27 {
1377
- -webkit-user-select: none;
1378
- -moz-user-select: none;
1379
- -ms-user-select: none;
1380
- user-select: none;
1381
- width: 32px;
1382
- height: 32px;
1383
- display: -webkit-box;
1384
- display: -webkit-flex;
1385
- display: -ms-flexbox;
1386
- display: flex;
1387
- -webkit-align-items: center;
1388
- -webkit-box-align: center;
1389
- -ms-flex-align: center;
1390
- align-items: center;
1391
- -webkit-box-pack: center;
1392
- -webkit-justify-content: center;
1393
- -ms-flex-pack: center;
1394
- justify-content: center;
1395
- color: var(--charcoal-text3);
1396
- background-color: var(--charcoal-transparent);
1397
- border-radius: 999999px;
1398
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1399
- transition: 0.2s background-color,0.2s box-shadow;
1400
- }
1401
-
1402
- .c27:not(:disabled):not([aria-disabled]):hover,
1403
- .c27[aria-disabled='false']:hover {
1404
- color: var(--charcoal-text3-hover);
1405
- background-color: var(--charcoal-transparent-hover);
1406
- }
1407
-
1408
- .c27:not(:disabled):not([aria-disabled]):active,
1409
- .c27[aria-disabled='false']:active {
1410
- color: var(--charcoal-text3-press);
1411
- background-color: var(--charcoal-transparent-press);
1412
- }
1413
-
1414
- .c27:not(:disabled):not([aria-disabled]):focus,
1415
- .c27[aria-disabled='false']:focus {
1416
- outline: none;
1417
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1418
- }
1419
-
1420
- .c27:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1421
- .c27[aria-disabled='false']:focus:not(:focus-visible) {
1422
- box-shadow: none;
1423
- }
1424
-
1425
- .c27:not(:disabled):not([aria-disabled]):focus-visible,
1426
- .c27[aria-disabled='false']:focus-visible {
1427
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1428
- }
1429
-
1430
- .c27:disabled,
1431
- .c27[aria-disabled]:not([aria-disabled='false']) {
1432
- opacity: 0.32;
1433
- }
1434
-
1435
- .c1 {
1436
- margin: auto;
1437
- position: relative;
1438
- height: -webkit-fit-content;
1439
- height: -moz-fit-content;
1440
- height: fit-content;
1441
- width: 440px;
1442
- background-color: var(--charcoal-surface1);
1443
- border-radius: 24px;
1444
- }
1445
-
1446
- .c1:focus {
1447
- outline: none;
1448
- }
1449
-
1450
- .c0 {
1451
- z-index: 10;
1452
- overflow: auto;
1453
- display: -webkit-box;
1454
- display: -webkit-flex;
1455
- display: -ms-flexbox;
1456
- display: flex;
1457
- position: fixed;
1458
- top: 0;
1459
- left: 0;
1460
- width: -webkit-fill-available;
1461
- width: -moz-available;
1462
- height: 100%;
1463
- -webkit-box-pack: center;
1464
- -webkit-justify-content: center;
1465
- -ms-flex-pack: center;
1466
- justify-content: center;
1467
- padding: 40px 0;
1468
- box-sizing: border-box;
1469
- background-color: var(--charcoal-surface4);
1470
- }
1471
-
1472
- .c28 {
1473
- position: absolute;
1474
- top: 8px;
1475
- right: 8px;
1476
- color: var(--charcoal-text3);
1477
- -webkit-transition: 0.2s color;
1478
- transition: 0.2s color;
1479
- }
1480
-
1481
- .c28:not(:disabled):not([aria-disabled]):hover,
1482
- .c28[aria-disabled='false']:hover {
1483
- color: var(--charcoal-text3-hover);
1484
- }
1485
-
1486
- .c28:not(:disabled):not([aria-disabled]):active,
1487
- .c28[aria-disabled='false']:active {
1488
- color: var(--charcoal-text3-press);
1489
- }
1490
-
1491
- .c3 {
1492
- margin: 0;
1493
- font-weight: inherit;
1494
- font-size: inherit;
1495
- }
1496
-
1497
- .c2 {
1498
- height: 64px;
1499
- display: grid;
1500
- -webkit-align-content: center;
1501
- -ms-flex-line-pack: center;
1502
- align-content: center;
1503
- -webkit-box-pack: center;
1504
- -webkit-justify-content: center;
1505
- -ms-flex-pack: center;
1506
- justify-content: center;
1507
- }
1508
-
1509
- .c4 {
1510
- color: var(--charcoal-text1);
1511
- font-size: 16px;
1512
- line-height: 24px;
1513
- font-weight: bold;
1514
- display: flow-root;
1515
- }
1516
-
1517
- .c4::before {
1518
- display: block;
1519
- width: 0;
1520
- height: 0;
1521
- content: '';
1522
- margin-top: -4px;
1523
- }
1524
-
1525
- .c4::after {
1526
- display: block;
1527
- width: 0;
1528
- height: 0;
1529
- content: '';
1530
- margin-bottom: -4px;
1531
- }
1532
-
1533
- .c5 {
1534
- padding-bottom: 40px;
1535
- }
1536
-
1537
- .c18 {
1538
- display: -webkit-box;
1539
- display: -webkit-flex;
1540
- display: -ms-flexbox;
1541
- display: flex;
1542
- -webkit-flex-direction: column;
1543
- -ms-flex-direction: column;
1544
- flex-direction: column;
1545
- }
1546
-
1547
- .c19 {
1548
- margin-bottom: 8px;
1549
- }
1550
-
1551
- .c20 {
1552
- display: grid;
1553
- grid-template-columns: 1fr;
1554
- height: 40px;
1555
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1556
- transition: 0.2s background-color,0.2s box-shadow;
1557
- color: var(--charcoal-text2);
1558
- background-color: var(--charcoal-surface3);
1559
- border-radius: 4px;
1560
- gap: 4px;
1561
- padding: 0 8px;
1562
- line-height: 22px;
1563
- font-size: 14px;
1564
- }
1565
-
1566
- .c20:not(:disabled):not([aria-disabled]):hover,
1567
- .c20 [aria-disabled='false']:hover {
1568
- background-color: var(--charcoal-surface3-hover);
1569
- }
1570
-
1571
- .c20:focus-within {
1572
- outline: none;
1573
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1574
- }
1575
-
1576
- .c21 {
1577
- border: none;
1578
- box-sizing: border-box;
1579
- outline: none;
1580
- font-family: inherit;
1581
- -webkit-transform-origin: top left;
1582
- -ms-transform-origin: top left;
1583
- transform-origin: top left;
1584
- -webkit-transform: scale(0.875);
1585
- -ms-transform: scale(0.875);
1586
- transform: scale(0.875);
1587
- width: calc(100% / 0.875);
1588
- height: calc(100% / 0.875);
1589
- font-size: calc(14px / 0.875);
1590
- line-height: calc(22px / 0.875);
1591
- padding-left: 0;
1592
- padding-right: 0;
1593
- border-radius: calc(4px / 0.875);
1594
- -webkit-appearance: none;
1595
- -moz-appearance: none;
1596
- appearance: none;
1597
- background: transparent;
1598
- color: var(--charcoal-text2);
1599
- }
1600
-
1601
- .c21::-webkit-input-placeholder {
1602
- color: var(--charcoal-text3);
1603
- }
1604
-
1605
- .c21::-moz-placeholder {
1606
- color: var(--charcoal-text3);
1607
- }
1608
-
1609
- .c21:-ms-input-placeholder {
1610
- color: var(--charcoal-text3);
1611
- }
1612
-
1613
- .c21::placeholder {
1614
- color: var(--charcoal-text3);
1615
- }
1616
-
1617
- .c22 {
1618
- font-size: 14px;
1619
- line-height: 22px;
1620
- margin-top: 4px;
1621
- margin-bottom: -4px;
1622
- color: var(--charcoal-text2);
1623
- }
1624
-
1625
- .c23 {
1626
- display: -webkit-box;
1627
- display: -webkit-flex;
1628
- display: -ms-flexbox;
1629
- display: flex;
1630
- -webkit-flex-direction: column;
1631
- -ms-flex-direction: column;
1632
- flex-direction: column;
1633
- }
1634
-
1635
- .c24 {
1636
- position: relative;
1637
- overflow: hidden;
1638
- color: var(--charcoal-text2);
1639
- background-color: var(--charcoal-surface3);
1640
- border-radius: 4px;
1641
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1642
- transition: 0.2s background-color,0.2s box-shadow;
1643
- height: calc(22px * 4 + 18px);
1644
- }
1645
-
1646
- .c24:not([aria-disabled]):hover,
1647
- .c24 [aria-disabled='false']:hover {
1648
- background-color: var(--charcoal-surface3-hover);
1649
- }
1650
-
1651
- .c24:focus-within {
1652
- outline: none;
1653
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1654
- }
1655
-
1656
- .c25 {
1657
- border: none;
1658
- outline: none;
1659
- resize: none;
1660
- font-family: inherit;
1661
- color: inherit;
1662
- box-sizing: border-box;
1663
- -webkit-transform-origin: top left;
1664
- -ms-transform-origin: top left;
1665
- transform-origin: top left;
1666
- -webkit-transform: scale(0.875);
1667
- -ms-transform: scale(0.875);
1668
- transform: scale(0.875);
1669
- width: calc(100% / 0.875);
1670
- font-size: calc(14px / 0.875);
1671
- line-height: calc(22px / 0.875);
1672
- padding: calc(9px / 0.875) calc(8px / 0.875);
1673
- height: calc(22px / 0.875 * 4 + 20px);
1674
- -webkit-appearance: none;
1675
- -moz-appearance: none;
1676
- appearance: none;
1677
- background: none;
1678
- }
1679
-
1680
- .c25::-webkit-input-placeholder {
1681
- color: var(--charcoal-text3);
1682
- }
1683
-
1684
- .c25::-moz-placeholder {
1685
- color: var(--charcoal-text3);
1686
- }
1687
-
1688
- .c25:-ms-input-placeholder {
1689
- color: var(--charcoal-text3);
1690
- }
1691
-
1692
- .c25::placeholder {
1693
- color: var(--charcoal-text3);
1694
- }
1695
-
1696
- @media (max-width:743px) {
1697
- .c1 {
1698
- max-width: 440px;
1699
- width: calc(100% - 48px);
1700
- max-width: unset;
1701
- width: 100%;
1702
- border-radius: 0;
1703
- margin: auto 0 0 0;
1704
- min-height: 100%;
1705
- }
1706
- }
1707
-
1708
- @media (max-width:743px) {
1709
- .c0 {
1710
- padding: 0;
1711
- }
1712
- }
1713
-
1714
- @media (max-width:743px) {
1715
- .c2 {
1716
- height: 48px;
1717
- }
1718
- }
1719
-
1113
+ exports[`Storybook Tests react/DropdownSelector InModal 1`] = `
1720
1114
  <div
1721
1115
  data-dark={false}
1722
1116
  >
@@ -1732,327 +1126,11 @@ exports[`Storybook Tests DropdownSelector InModal 1`] = `
1732
1126
  >
1733
1127
  open
1734
1128
  </button>
1735
- <div
1736
- className="c0"
1737
- onClick={[Function]}
1738
- onPointerDown={[Function]}
1739
- style={
1740
- Object {
1741
- "backgroundColor": "rgba(0, 0, 0, 0)",
1742
- "overflow": "hidden",
1743
- }
1744
- }
1745
- >
1746
- <div
1747
- className="c1"
1748
- onBlur={[Function]}
1749
- onKeyDown={[Function]}
1750
- role="dialog"
1751
- size="M"
1752
- style={
1753
- Object {
1754
- "transform": " translateY(100%)",
1755
- }
1756
- }
1757
- tabIndex={-1}
1758
- >
1759
- <div
1760
- className="c2"
1761
- >
1762
- <h3
1763
- className="c3 c4"
1764
- >
1765
- modal
1766
- </h3>
1767
- </div>
1768
- <div
1769
- className="c5"
1770
- >
1771
- <div
1772
- style={
1773
- Object {
1774
- "display": "grid",
1775
- "gap": 40,
1776
- "padding": 16,
1777
- }
1778
- }
1779
- >
1780
- <div
1781
- className="c6"
1782
- >
1783
- <div
1784
- className="c7 c8"
1785
- >
1786
- <label
1787
- className="c9"
1788
- >
1789
- DropdownSelector1
1790
- </label>
1791
- <span
1792
- className="c10 c11"
1793
- >
1794
- required
1795
- </span>
1796
- <div
1797
- className="c12 c13"
1798
- >
1799
- <span />
1800
- </div>
1801
- </div>
1802
- <div
1803
- aria-hidden="true"
1804
- style={
1805
- Object {
1806
- "border": 0,
1807
- "clip": "rect(0 0 0 0)",
1808
- "clipPath": "inset(50%)",
1809
- "height": "1px",
1810
- "margin": "-1px",
1811
- "overflow": "hidden",
1812
- "padding": 0,
1813
- "position": "absolute",
1814
- "whiteSpace": "nowrap",
1815
- "width": "1px",
1816
- }
1817
- }
1818
- >
1819
- <select
1820
- onChange={[Function]}
1821
- tabIndex={-1}
1822
- value="1"
1823
- >
1824
- <option
1825
- value="1"
1826
- >
1827
- 1
1828
- </option>
1829
- <option
1830
- value="2"
1831
- >
1832
- 2
1833
- </option>
1834
- <option
1835
- value="3"
1836
- >
1837
- 3
1838
- </option>
1839
- </select>
1840
- </div>
1841
- <button
1842
- className="c14"
1843
- onClick={[Function]}
1844
- type="button"
1845
- >
1846
- <span
1847
- className="c15"
1848
- >
1849
- Option 1
1850
- </span>
1851
- <pixiv-icon
1852
- class="c16"
1853
- name="16/Menu"
1854
- />
1855
- </button>
1856
- <div
1857
- className="c17"
1858
- >
1859
- assistiveText
1860
- </div>
1861
- </div>
1862
- <div
1863
- className="c18"
1864
- >
1865
- <div
1866
- className="c7 c19"
1867
- >
1868
- <label
1869
- className="c9"
1870
- htmlFor="test-id"
1871
- id="test-id"
1872
- >
1873
- TextField
1874
- </label>
1875
- <span
1876
- className="c10 c11"
1877
- >
1878
- required
1879
- </span>
1880
- <div
1881
- className="c12 c13"
1882
- >
1883
- <span />
1884
- </div>
1885
- </div>
1886
- <div
1887
- className="c20"
1888
- >
1889
- <input
1890
- aria-labelledby="test-id"
1891
- aria-required={true}
1892
- className="c21"
1893
- disabled={false}
1894
- id="test-id"
1895
- onChange={[Function]}
1896
- placeholder="placeholder"
1897
- readOnly={false}
1898
- required={false}
1899
- type="text"
1900
- value=""
1901
- />
1902
- </div>
1903
- <p
1904
- className="c22"
1905
- >
1906
- assistiveText
1907
- </p>
1908
- </div>
1909
- <div
1910
- className="c23"
1911
- >
1912
- <div
1913
- className="c7 c19"
1914
- >
1915
- <label
1916
- className="c9"
1917
- htmlFor="test-id"
1918
- id="test-id"
1919
- >
1920
- TextArea
1921
- </label>
1922
- <span
1923
- className="c10 c11"
1924
- >
1925
- required
1926
- </span>
1927
- <div
1928
- className="c12 c13"
1929
- >
1930
- <span />
1931
- </div>
1932
- </div>
1933
- <div
1934
- className="c24"
1935
- rows={4}
1936
- >
1937
- <textarea
1938
- aria-labelledby="test-id"
1939
- aria-required={true}
1940
- className="c25"
1941
- disabled={false}
1942
- id="test-id"
1943
- onChange={[Function]}
1944
- placeholder="placeholder"
1945
- readOnly={false}
1946
- required={false}
1947
- rows={4}
1948
- value=""
1949
- />
1950
- </div>
1951
- <p
1952
- className="c22"
1953
- >
1954
- assistiveText
1955
- </p>
1956
- </div>
1957
- <div
1958
- className="c6"
1959
- >
1960
- <div
1961
- className="c7 c8"
1962
- >
1963
- <label
1964
- className="c9"
1965
- >
1966
- DropdownSelector2
1967
- </label>
1968
- <span
1969
- className="c10 c11"
1970
- >
1971
- required
1972
- </span>
1973
- <div
1974
- className="c12 c13"
1975
- >
1976
- <span />
1977
- </div>
1978
- </div>
1979
- <div
1980
- aria-hidden="true"
1981
- style={
1982
- Object {
1983
- "border": 0,
1984
- "clip": "rect(0 0 0 0)",
1985
- "clipPath": "inset(50%)",
1986
- "height": "1px",
1987
- "margin": "-1px",
1988
- "overflow": "hidden",
1989
- "padding": 0,
1990
- "position": "absolute",
1991
- "whiteSpace": "nowrap",
1992
- "width": "1px",
1993
- }
1994
- }
1995
- >
1996
- <select
1997
- onChange={[Function]}
1998
- tabIndex={-1}
1999
- value="2"
2000
- >
2001
- <option
2002
- value="1"
2003
- >
2004
- 1
2005
- </option>
2006
- <option
2007
- value="2"
2008
- >
2009
- 2
2010
- </option>
2011
- <option
2012
- value="3"
2013
- >
2014
- 3
2015
- </option>
2016
- </select>
2017
- </div>
2018
- <button
2019
- className="c14"
2020
- onClick={[Function]}
2021
- type="button"
2022
- >
2023
- <span
2024
- className="c15"
2025
- >
2026
- Option 2
2027
- </span>
2028
- <pixiv-icon
2029
- class="c16"
2030
- name="16/Menu"
2031
- />
2032
- </button>
2033
- <div
2034
- className="c17"
2035
- >
2036
- assistiveText
2037
- </div>
2038
- </div>
2039
- </div>
2040
- </div>
2041
- <button
2042
- className="c26 c27 c28"
2043
- onClick={[Function]}
2044
- >
2045
- <pixiv-icon
2046
- name="24/Close"
2047
- />
2048
- </button>
2049
- </div>
2050
- </div>
2051
1129
  </div>
2052
1130
  </div>
2053
1131
  `;
2054
1132
 
2055
- exports[`Storybook Tests DropdownSelector Invalid 1`] = `
1133
+ exports[`Storybook Tests react/DropdownSelector Invalid 1`] = `
2056
1134
  .c0 {
2057
1135
  display: inline-block;
2058
1136
  width: 100%;
@@ -2214,7 +1292,7 @@ exports[`Storybook Tests DropdownSelector Invalid 1`] = `
2214
1292
  </div>
2215
1293
  `;
2216
1294
 
2217
- exports[`Storybook Tests DropdownSelector InvalidAssistiveText 1`] = `
1295
+ exports[`Storybook Tests react/DropdownSelector InvalidAssistiveText 1`] = `
2218
1296
  .c0 {
2219
1297
  display: inline-block;
2220
1298
  width: 100%;
@@ -2406,7 +1484,7 @@ exports[`Storybook Tests DropdownSelector InvalidAssistiveText 1`] = `
2406
1484
  </div>
2407
1485
  `;
2408
1486
 
2409
- exports[`Storybook Tests DropdownSelector Label 1`] = `
1487
+ exports[`Storybook Tests react/DropdownSelector Label 1`] = `
2410
1488
  .c3 {
2411
1489
  font-size: 14px;
2412
1490
  line-height: 22px;
@@ -2666,7 +1744,7 @@ exports[`Storybook Tests DropdownSelector Label 1`] = `
2666
1744
  </div>
2667
1745
  `;
2668
1746
 
2669
- exports[`Storybook Tests DropdownSelector LongNames 1`] = `
1747
+ exports[`Storybook Tests react/DropdownSelector LongNames 1`] = `
2670
1748
  .c0 {
2671
1749
  display: inline-block;
2672
1750
  width: 100%;
@@ -2823,7 +1901,7 @@ exports[`Storybook Tests DropdownSelector LongNames 1`] = `
2823
1901
  </div>
2824
1902
  `;
2825
1903
 
2826
- exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
1904
+ exports[`Storybook Tests react/DropdownSelector RequiredText 1`] = `
2827
1905
  .c3 {
2828
1906
  font-size: 14px;
2829
1907
  line-height: 22px;
@@ -3120,7 +2198,7 @@ exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
3120
2198
  </div>
3121
2199
  `;
3122
2200
 
3123
- exports[`Storybook Tests DropdownSelector Section 1`] = `
2201
+ exports[`Storybook Tests react/DropdownSelector Section 1`] = `
3124
2202
  .c0 {
3125
2203
  display: inline-block;
3126
2204
  width: 100%;
@@ -3292,7 +2370,7 @@ exports[`Storybook Tests DropdownSelector Section 1`] = `
3292
2370
  </div>
3293
2371
  `;
3294
2372
 
3295
- exports[`Storybook Tests DropdownSelector SubLabel 1`] = `
2373
+ exports[`Storybook Tests react/DropdownSelector SubLabel 1`] = `
3296
2374
  .c3 {
3297
2375
  font-size: 14px;
3298
2376
  line-height: 22px;