@aws-amplify/ui 3.0.14 → 3.2.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/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +189 -61
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/styles.css +115 -140
- package/dist/theme.css +34 -2
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on Thu,
|
|
6
|
+
* Generated on Thu, 03 Mar 2022 23:05:31 GMT
|
|
7
7
|
*/
|
|
8
8
|
:root, [data-amplify-theme] {
|
|
9
9
|
--amplify-transforms-slide-x-large: translateX(2em);
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
--amplify-time-long: 500ms;
|
|
13
13
|
--amplify-time-medium: 250ms;
|
|
14
14
|
--amplify-time-short: 100ms;
|
|
15
|
+
--amplify-space-relative-full: 100%;
|
|
15
16
|
--amplify-space-relative-xxxl: 4.5em;
|
|
16
17
|
--amplify-space-relative-xxl: 3.0em;
|
|
17
18
|
--amplify-space-relative-xl: 2.0em;
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
--amplify-space-relative-medium: 1em;
|
|
20
21
|
--amplify-space-relative-small: 0.75em;
|
|
21
22
|
--amplify-space-relative-xs: 0.5em;
|
|
22
|
-
--amplify-space-relative-xxs: 0.
|
|
23
|
+
--amplify-space-relative-xxs: 0.375em;
|
|
23
24
|
--amplify-space-relative-xxxs: 0.25em;
|
|
24
25
|
--amplify-space-xxxl: 4.5rem;
|
|
25
26
|
--amplify-space-xxl: 3.0rem;
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
--amplify-space-xs: 0.5rem;
|
|
31
32
|
--amplify-space-xxs: 0.375rem;
|
|
32
33
|
--amplify-space-xxxs: 0.25rem;
|
|
34
|
+
--amplify-space-zero: 0;
|
|
33
35
|
--amplify-shadows-large: 0px 4px 12px var(--amplify-colors-shadow-primary);
|
|
34
36
|
--amplify-shadows-medium: 0px 2px 6px var(--amplify-colors-shadow-secondary);
|
|
35
37
|
--amplify-shadows-small: 0px 2px 4px var(--amplify-colors-shadow-tertiary);
|
|
@@ -472,6 +474,9 @@
|
|
|
472
474
|
--amplify-components-menu-gap: 0;
|
|
473
475
|
--amplify-components-menu-flex-direction: column;
|
|
474
476
|
--amplify-components-menu-box-shadow: var(--amplify-shadows-large);
|
|
477
|
+
--amplify-components-menu-border-color: var(--amplify-colors-border-primary);
|
|
478
|
+
--amplify-components-menu-border-style: solid;
|
|
479
|
+
--amplify-components-menu-border-width: var(--amplify-border-widths-small);
|
|
475
480
|
--amplify-components-menu-border-radius: var(--amplify-radii-medium);
|
|
476
481
|
--amplify-components-menu-background-color: var(--amplify-colors-white);
|
|
477
482
|
--amplify-components-loader-linear-large-stroke-width: var(--amplify-font-sizes-large);
|
|
@@ -624,10 +629,20 @@
|
|
|
624
629
|
--amplify-components-divider-opacity: var(--amplify-opacities-60);
|
|
625
630
|
--amplify-components-divider-large-border-width: var(--amplify-border-widths-large);
|
|
626
631
|
--amplify-components-divider-small-border-width: var(--amplify-border-widths-small);
|
|
632
|
+
--amplify-components-divider-label-background-color: var(--amplify-colors-background-primary);
|
|
633
|
+
--amplify-components-divider-label-font-size: var(--amplify-font-sizes-small);
|
|
634
|
+
--amplify-components-divider-label-padding-inline: var(--amplify-space-medium);
|
|
635
|
+
--amplify-components-divider-label-color: var(--amplify-colors-font-tertiary);
|
|
627
636
|
--amplify-components-divider-border-width: var(--amplify-border-widths-medium);
|
|
628
637
|
--amplify-components-divider-border-color: var(--amplify-colors-border-primary);
|
|
629
638
|
--amplify-components-divider-border-style: solid;
|
|
630
639
|
--amplify-components-countrycodeselect-height: 100%;
|
|
640
|
+
--amplify-components-copy-tool-tip-font-size: var(--amplify-font-sizes-xxs);
|
|
641
|
+
--amplify-components-copy-tool-tip-color: var(--amplify-colors-teal-100);
|
|
642
|
+
--amplify-components-copy-tool-tip-bottom: var(--amplify-space-large);
|
|
643
|
+
--amplify-components-copy-svg-path-fill: var(--amplify-colors-font-primary);
|
|
644
|
+
--amplify-components-copy-gap: var(--amplify-space-relative-medium);
|
|
645
|
+
--amplify-components-copy-font-size: var(--amplify-font-sizes-xs);
|
|
631
646
|
--amplify-components-checkboxfield-justify-content: center;
|
|
632
647
|
--amplify-components-checkboxfield-flex-direction: column;
|
|
633
648
|
--amplify-components-checkboxfield-align-content: center;
|
|
@@ -800,6 +815,23 @@
|
|
|
800
815
|
--amplify-components-badge-font-weight: var(--amplify-font-weights-semibold);
|
|
801
816
|
--amplify-components-badge-line-height: 1;
|
|
802
817
|
--amplify-components-badge-color: var(--amplify-colors-font-primary);
|
|
818
|
+
--amplify-components-authenticator-or-container-or-line-background-color: var(--amplify-colors-background-primary);
|
|
819
|
+
--amplify-components-authenticator-or-container-color: var(--amplify-colors-neutral-80);
|
|
820
|
+
--amplify-components-authenticator-state-inactive-background-color: var(--amplify-colors-background-secondary);
|
|
821
|
+
--amplify-components-authenticator-form-padding: var(--amplify-space-xl);
|
|
822
|
+
--amplify-components-authenticator-footer-padding-bottom: var(--amplify-space-medium);
|
|
823
|
+
--amplify-components-authenticator-router-box-shadow: var(--amplify-shadows-medium);
|
|
824
|
+
--amplify-components-authenticator-router-background-color: var(--amplify-colors-background-primary);
|
|
825
|
+
--amplify-components-authenticator-router-border-color: var(--amplify-colors-border-primary);
|
|
826
|
+
--amplify-components-authenticator-router-border-style: solid;
|
|
827
|
+
--amplify-components-authenticator-router-border-width: var(--amplify-border-widths-small);
|
|
828
|
+
--amplify-components-authenticator-container-width-max: 30rem;
|
|
829
|
+
--amplify-components-authenticator-modal-left: var(--amplify-space-zero);
|
|
830
|
+
--amplify-components-authenticator-modal-top: var(--amplify-space-zero);
|
|
831
|
+
--amplify-components-authenticator-modal-background-color: var(--amplify-colors-overlay-50);
|
|
832
|
+
--amplify-components-authenticator-modal-height: var(--amplify-space-relative-full);
|
|
833
|
+
--amplify-components-authenticator-modal-width: var(--amplify-space-relative-full);
|
|
834
|
+
--amplify-components-authenticator-max-width: 60rem;
|
|
803
835
|
--amplify-components-alert-success-background-color: var(--amplify-colors-background-success);
|
|
804
836
|
--amplify-components-alert-success-color: var(--amplify-colors-font-success);
|
|
805
837
|
--amplify-components-alert-warning-background-color: var(--amplify-colors-background-warning);
|
|
@@ -861,18 +893,6 @@ select {
|
|
|
861
893
|
/* set box-sizing after unset above */
|
|
862
894
|
}
|
|
863
895
|
|
|
864
|
-
.sr-only {
|
|
865
|
-
position: absolute !important;
|
|
866
|
-
width: 1px !important;
|
|
867
|
-
height: 1px !important;
|
|
868
|
-
padding: 0 !important;
|
|
869
|
-
margin: -1px !important;
|
|
870
|
-
overflow: hidden !important;
|
|
871
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
872
|
-
white-space: nowrap !important;
|
|
873
|
-
border-width: 0 !important;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
896
|
.amplify-flex {
|
|
877
897
|
align-content: var(--amplify-components-flex-align-content);
|
|
878
898
|
align-items: var(--amplify-components-flex-align-items);
|
|
@@ -1420,6 +1440,34 @@ h6.amplify-heading {
|
|
|
1420
1440
|
background-color: var(--amplify-components-placeholder-end-color);
|
|
1421
1441
|
}
|
|
1422
1442
|
}
|
|
1443
|
+
[data-amplify-copy] {
|
|
1444
|
+
display: flex;
|
|
1445
|
+
font-size: var(--amplify-components-copy-font-size);
|
|
1446
|
+
gap: var(--amplify-components-copy-gap);
|
|
1447
|
+
justify-content: center;
|
|
1448
|
+
align-items: center;
|
|
1449
|
+
word-break: break-all;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
[data-amplify-copy-svg] {
|
|
1453
|
+
cursor: pointer;
|
|
1454
|
+
position: relative;
|
|
1455
|
+
}
|
|
1456
|
+
[data-amplify-copy-svg] path {
|
|
1457
|
+
fill: var(--amplify-components-copy-svg-path-fill);
|
|
1458
|
+
}
|
|
1459
|
+
[data-amplify-copy-svg]:hover [data-amplify-copy-tooltip] {
|
|
1460
|
+
visibility: visible;
|
|
1461
|
+
font-size: var(--amplify-components-copy-tool-tip-font-size);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
[data-amplify-copy-tooltip] {
|
|
1465
|
+
visibility: hidden;
|
|
1466
|
+
position: absolute;
|
|
1467
|
+
bottom: var(--amplify-components-copy-tool-tip-bottom);
|
|
1468
|
+
color: var(--amplify-components-copy-tool-tip-color);
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1423
1471
|
.amplify-alert {
|
|
1424
1472
|
align-items: var(--amplify-components-alert-align-items);
|
|
1425
1473
|
justify-content: var(--amplify-components-alert-justify-content);
|
|
@@ -1466,148 +1514,44 @@ h6.amplify-heading {
|
|
|
1466
1514
|
/* Center by default */
|
|
1467
1515
|
[data-amplify-authenticator] {
|
|
1468
1516
|
display: grid;
|
|
1517
|
+
max-width: var(--amplify-components-authenticator-max-width);
|
|
1518
|
+
margin: auto;
|
|
1469
1519
|
}
|
|
1470
|
-
|
|
1471
1520
|
[data-amplify-authenticator][data-variation=modal] {
|
|
1472
1521
|
display: grid;
|
|
1473
|
-
width:
|
|
1474
|
-
height:
|
|
1475
|
-
|
|
1476
|
-
background-color: var(--amplify-colors-background-secondary, #e1e5e9);
|
|
1477
|
-
/* Override browser default `body { margin: 8px }` */
|
|
1522
|
+
width: var(--amplify-components-authenticator-modal-width);
|
|
1523
|
+
height: var(--amplify-components-authenticator-modal-height);
|
|
1524
|
+
background-color: var(--amplify-components-authenticator-modal-background-color);
|
|
1478
1525
|
position: fixed;
|
|
1479
|
-
top:
|
|
1480
|
-
left:
|
|
1526
|
+
top: var(--amplify-components-authenticator-modal-top);
|
|
1527
|
+
left: var(--amplify-components-authenticator-modal-left);
|
|
1481
1528
|
/* Having a z-index at least "wins" by default */
|
|
1482
1529
|
z-index: 1;
|
|
1483
|
-
/* top-align at the top 20% of the screen */
|
|
1484
|
-
box-sizing: border-box;
|
|
1485
|
-
padding-top: 20vh;
|
|
1486
|
-
align-content: flex-start;
|
|
1487
1530
|
}
|
|
1488
|
-
@media (max-width: 30rem) {
|
|
1489
|
-
[data-amplify-authenticator][data-variation=modal] {
|
|
1490
|
-
overflow: auto;
|
|
1491
|
-
padding-top: 0;
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
[data-amplify-authenticator][data-variation=modal] [data-amplify-router-content] {
|
|
1496
|
-
max-height: 60vh;
|
|
1497
|
-
overflow-y: auto;
|
|
1498
|
-
/* Scroll shadows, adapted from https://codepen.io/chriscoyier/pen/YzXBYvL */
|
|
1499
|
-
background: linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top, linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)) center bottom;
|
|
1500
|
-
background-repeat: no-repeat;
|
|
1501
|
-
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
1502
|
-
background-attachment: local, local, scroll, scroll;
|
|
1503
|
-
}
|
|
1504
|
-
@media (max-width: 30rem) {
|
|
1505
|
-
[data-amplify-authenticator][data-variation=modal] [data-amplify-router-content] {
|
|
1506
|
-
max-height: unset;
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
/* Texture for modal */
|
|
1511
|
-
[data-amplify-authenticator][data-variation=modal]::before {
|
|
1512
|
-
position: absolute;
|
|
1513
|
-
width: 100%;
|
|
1514
|
-
height: 100%;
|
|
1515
|
-
content: "";
|
|
1516
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='texture' data-v-1d260e0e=''%3E%3Cfilter id='noise' data-v-1d260e0e=''%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch' data-v-1d260e0e=''%3E%3C/feTurbulence%3E%3CfeColorMatrix type='saturate' values='0' data-v-1d260e0e=''%3E%3C/feColorMatrix%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' data-v-1d260e0e=''%3E%3C/rect%3E%3C/svg%3E");
|
|
1517
|
-
opacity: 0.35;
|
|
1518
|
-
filter: "contrast(120%) brightness(120%)";
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
1531
|
[data-amplify-authenticator] [data-amplify-container] {
|
|
1522
|
-
/* Fix z-index of texture being over the Authenticator */
|
|
1523
|
-
position: relative;
|
|
1524
1532
|
place-self: center;
|
|
1525
|
-
width: 30rem;
|
|
1526
1533
|
}
|
|
1527
|
-
@media (
|
|
1534
|
+
@media (min-width: 30rem) {
|
|
1528
1535
|
[data-amplify-authenticator] [data-amplify-container] {
|
|
1529
|
-
width:
|
|
1536
|
+
width: var(--amplify-components-authenticator-container-width-max);
|
|
1530
1537
|
}
|
|
1531
1538
|
}
|
|
1532
|
-
|
|
1533
|
-
[data-amplify-authenticator] [data-amplify-router] [data-amplify-footer] {
|
|
1534
|
-
padding-bottom: var(--amplify-space-medium);
|
|
1535
|
-
text-align: center;
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
1539
|
[data-amplify-authenticator] [data-amplify-router] {
|
|
1539
|
-
background-color: var(--amplify-
|
|
1540
|
-
box-shadow: var(--amplify-
|
|
1540
|
+
background-color: var(--amplify-components-authenticator-router-background-color);
|
|
1541
|
+
box-shadow: var(--amplify-components-authenticator-router-box-shadow);
|
|
1542
|
+
border-color: var(--amplify-components-authenticator-router-border-color);
|
|
1543
|
+
border-width: var(--amplify-components-authenticator-router-border-width);
|
|
1544
|
+
border-style: var(--amplify-components-authenticator-router-border-style);
|
|
1545
|
+
}
|
|
1546
|
+
[data-amplify-authenticator] [data-amplify-footer] {
|
|
1547
|
+
padding-bottom: var(--amplify-components-authenticator-footer-padding-bottom);
|
|
1548
|
+
text-align: center;
|
|
1541
1549
|
}
|
|
1542
|
-
|
|
1543
1550
|
[data-amplify-authenticator] [data-amplify-form] {
|
|
1544
|
-
padding: var(--amplify-
|
|
1551
|
+
padding: var(--amplify-components-authenticator-form-padding);
|
|
1545
1552
|
}
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
background-color: var(--amplify-colors-background-secondary);
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
/* Remove double-border between the password field & reveal button */
|
|
1552
|
-
[data-amplify-authenticator] .amplify-passwordfield .amplify-button:not(:focus) {
|
|
1553
|
-
border-left: none;
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
[data-amplify-authenticator] .amplify-phonenumberfield .amplify-countrycodeselect {
|
|
1557
|
-
height: 100%;
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
[data-amplify-authenticator] .amplify-phonenumberfield .amplify-select__wrapper {
|
|
1561
|
-
height: 100%;
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
/* Remove double-border between the phone field & country select */
|
|
1565
|
-
[data-amplify-authenticator] .amplify-phonenumberfield select:not(:focus) {
|
|
1566
|
-
border-right: none;
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
|
-
[data-amplify-authenticator] [data-or-container] {
|
|
1570
|
-
position: relative;
|
|
1571
|
-
color: gray;
|
|
1572
|
-
align-items: center;
|
|
1573
|
-
justify-content: center;
|
|
1574
|
-
padding: 1.5rem 0px;
|
|
1575
|
-
}
|
|
1576
|
-
[data-amplify-authenticator] [data-or-container] [data-or-line] {
|
|
1577
|
-
position: absolute;
|
|
1578
|
-
background: var(--amplify-colors-white);
|
|
1579
|
-
z-index: 1;
|
|
1580
|
-
padding: 0px 1.5rem;
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
[data-amplify-copy] {
|
|
1584
|
-
display: flex;
|
|
1585
|
-
font-size: 0.688rem;
|
|
1586
|
-
gap: 1rem;
|
|
1587
|
-
justify-content: center;
|
|
1588
|
-
align-items: center;
|
|
1589
|
-
}
|
|
1590
|
-
@media (max-width: 30rem) {
|
|
1591
|
-
[data-amplify-copy] {
|
|
1592
|
-
word-break: break-all;
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
|
|
1596
|
-
[data-amplify-copy-svg] {
|
|
1597
|
-
cursor: pointer;
|
|
1598
|
-
position: relative;
|
|
1599
|
-
}
|
|
1600
|
-
[data-amplify-copy-svg]:hover [data-amplify-copy-tooltip] {
|
|
1601
|
-
visibility: visible;
|
|
1602
|
-
font-size: 0.55rem;
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
[data-amplify-copy-tooltip] {
|
|
1606
|
-
visibility: hidden;
|
|
1607
|
-
position: absolute;
|
|
1608
|
-
top: -1rem;
|
|
1609
|
-
left: -0.1rem;
|
|
1610
|
-
color: var(--amplify-colors-teal-100);
|
|
1553
|
+
[data-amplify-authenticator] [data-state=inactive] {
|
|
1554
|
+
background-color: var(--amplify-components-authenticator-state-inactive-background-color);
|
|
1611
1555
|
}
|
|
1612
1556
|
|
|
1613
1557
|
.amplify-card {
|
|
@@ -1654,6 +1598,7 @@ h6.amplify-heading {
|
|
|
1654
1598
|
cursor: var(--amplify-components-checkbox-cursor);
|
|
1655
1599
|
align-items: var(--amplify-components-checkbox-align-items);
|
|
1656
1600
|
gap: inherit;
|
|
1601
|
+
flex-direction: row-reverse;
|
|
1657
1602
|
}
|
|
1658
1603
|
.amplify-checkbox[data-disabled=true] {
|
|
1659
1604
|
cursor: var(--amplify-components-checkbox-disabled-cursor);
|
|
@@ -1732,10 +1677,11 @@ h6.amplify-heading {
|
|
|
1732
1677
|
border-color: var(--amplify-components-divider-border-color);
|
|
1733
1678
|
border-style: var(--amplify-components-divider-border-style);
|
|
1734
1679
|
border-width: 0;
|
|
1735
|
-
margin: 0;
|
|
1736
1680
|
opacity: var(--amplify-components-divider-opacity);
|
|
1737
1681
|
padding: 0;
|
|
1738
1682
|
display: block;
|
|
1683
|
+
position: relative;
|
|
1684
|
+
text-align: center;
|
|
1739
1685
|
}
|
|
1740
1686
|
.amplify-divider[aria-orientation=horizontal] {
|
|
1741
1687
|
width: 100%;
|
|
@@ -1756,6 +1702,28 @@ h6.amplify-heading {
|
|
|
1756
1702
|
.amplify-divider[aria-orientation=vertical][data-size=large] {
|
|
1757
1703
|
border-left-width: var(--amplify-components-divider-large-border-width);
|
|
1758
1704
|
}
|
|
1705
|
+
.amplify-divider--label {
|
|
1706
|
+
display: flex;
|
|
1707
|
+
justify-content: center;
|
|
1708
|
+
}
|
|
1709
|
+
.amplify-divider--label::after {
|
|
1710
|
+
content: attr(data-label);
|
|
1711
|
+
position: absolute;
|
|
1712
|
+
transform: translateY(-50%);
|
|
1713
|
+
font-size: var(--amplify-components-divider-label-font-size);
|
|
1714
|
+
padding-inline: var(--amplify-components-divider-label-padding-inline);
|
|
1715
|
+
background-color: var(--amplify-components-divider-label-background-color);
|
|
1716
|
+
color: var(--amplify-components-divider-label-color);
|
|
1717
|
+
}
|
|
1718
|
+
.amplify-divider--label[aria-orientation=vertical] {
|
|
1719
|
+
flex-direction: column;
|
|
1720
|
+
}
|
|
1721
|
+
.amplify-divider--label[aria-orientation=vertical]::after {
|
|
1722
|
+
top: auto;
|
|
1723
|
+
transform: translateX(-50%);
|
|
1724
|
+
padding-block: 0;
|
|
1725
|
+
padding-inline: 0;
|
|
1726
|
+
}
|
|
1759
1727
|
|
|
1760
1728
|
.amplify-expander {
|
|
1761
1729
|
display: block;
|
|
@@ -2134,6 +2102,9 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2134
2102
|
gap: var(--amplify-components-menu-gap);
|
|
2135
2103
|
min-width: var(--amplify-components-menu-min-width);
|
|
2136
2104
|
max-width: var(--amplify-components-menu-max-width);
|
|
2105
|
+
border-color: var(--amplify-components-menu-border-color);
|
|
2106
|
+
border-width: var(--amplify-components-menu-border-width);
|
|
2107
|
+
border-style: var(--amplify-components-menu-border-style);
|
|
2137
2108
|
}
|
|
2138
2109
|
|
|
2139
2110
|
.amplify-menu-content__item {
|
|
@@ -2789,6 +2760,10 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2789
2760
|
flex-grow: 1;
|
|
2790
2761
|
}
|
|
2791
2762
|
|
|
2763
|
+
.amplify-textareafield {
|
|
2764
|
+
flex-direction: column;
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2792
2767
|
.amplify-textfield {
|
|
2793
2768
|
flex-direction: column;
|
|
2794
2769
|
}
|
package/dist/theme.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 03 Mar 2022 23:05:31 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root, [data-amplify-theme] {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
--amplify-time-long: 500ms;
|
|
11
11
|
--amplify-time-medium: 250ms;
|
|
12
12
|
--amplify-time-short: 100ms;
|
|
13
|
+
--amplify-space-relative-full: 100%;
|
|
13
14
|
--amplify-space-relative-xxxl: 4.5em;
|
|
14
15
|
--amplify-space-relative-xxl: 3.0em;
|
|
15
16
|
--amplify-space-relative-xl: 2.0em;
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
--amplify-space-relative-medium: 1em;
|
|
18
19
|
--amplify-space-relative-small: 0.75em;
|
|
19
20
|
--amplify-space-relative-xs: 0.5em;
|
|
20
|
-
--amplify-space-relative-xxs: 0.
|
|
21
|
+
--amplify-space-relative-xxs: 0.375em;
|
|
21
22
|
--amplify-space-relative-xxxs: 0.25em;
|
|
22
23
|
--amplify-space-xxxl: 4.5rem;
|
|
23
24
|
--amplify-space-xxl: 3.0rem;
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
--amplify-space-xs: 0.5rem;
|
|
29
30
|
--amplify-space-xxs: 0.375rem;
|
|
30
31
|
--amplify-space-xxxs: 0.25rem;
|
|
32
|
+
--amplify-space-zero: 0;
|
|
31
33
|
--amplify-shadows-large: 0px 4px 12px var(--amplify-colors-shadow-primary);
|
|
32
34
|
--amplify-shadows-medium: 0px 2px 6px var(--amplify-colors-shadow-secondary);
|
|
33
35
|
--amplify-shadows-small: 0px 2px 4px var(--amplify-colors-shadow-tertiary);
|
|
@@ -470,6 +472,9 @@
|
|
|
470
472
|
--amplify-components-menu-gap: 0;
|
|
471
473
|
--amplify-components-menu-flex-direction: column;
|
|
472
474
|
--amplify-components-menu-box-shadow: var(--amplify-shadows-large);
|
|
475
|
+
--amplify-components-menu-border-color: var(--amplify-colors-border-primary);
|
|
476
|
+
--amplify-components-menu-border-style: solid;
|
|
477
|
+
--amplify-components-menu-border-width: var(--amplify-border-widths-small);
|
|
473
478
|
--amplify-components-menu-border-radius: var(--amplify-radii-medium);
|
|
474
479
|
--amplify-components-menu-background-color: var(--amplify-colors-white);
|
|
475
480
|
--amplify-components-loader-linear-large-stroke-width: var(--amplify-font-sizes-large);
|
|
@@ -622,10 +627,20 @@
|
|
|
622
627
|
--amplify-components-divider-opacity: var(--amplify-opacities-60);
|
|
623
628
|
--amplify-components-divider-large-border-width: var(--amplify-border-widths-large);
|
|
624
629
|
--amplify-components-divider-small-border-width: var(--amplify-border-widths-small);
|
|
630
|
+
--amplify-components-divider-label-background-color: var(--amplify-colors-background-primary);
|
|
631
|
+
--amplify-components-divider-label-font-size: var(--amplify-font-sizes-small);
|
|
632
|
+
--amplify-components-divider-label-padding-inline: var(--amplify-space-medium);
|
|
633
|
+
--amplify-components-divider-label-color: var(--amplify-colors-font-tertiary);
|
|
625
634
|
--amplify-components-divider-border-width: var(--amplify-border-widths-medium);
|
|
626
635
|
--amplify-components-divider-border-color: var(--amplify-colors-border-primary);
|
|
627
636
|
--amplify-components-divider-border-style: solid;
|
|
628
637
|
--amplify-components-countrycodeselect-height: 100%;
|
|
638
|
+
--amplify-components-copy-tool-tip-font-size: var(--amplify-font-sizes-xxs);
|
|
639
|
+
--amplify-components-copy-tool-tip-color: var(--amplify-colors-teal-100);
|
|
640
|
+
--amplify-components-copy-tool-tip-bottom: var(--amplify-space-large);
|
|
641
|
+
--amplify-components-copy-svg-path-fill: var(--amplify-colors-font-primary);
|
|
642
|
+
--amplify-components-copy-gap: var(--amplify-space-relative-medium);
|
|
643
|
+
--amplify-components-copy-font-size: var(--amplify-font-sizes-xs);
|
|
629
644
|
--amplify-components-checkboxfield-justify-content: center;
|
|
630
645
|
--amplify-components-checkboxfield-flex-direction: column;
|
|
631
646
|
--amplify-components-checkboxfield-align-content: center;
|
|
@@ -798,6 +813,23 @@
|
|
|
798
813
|
--amplify-components-badge-font-weight: var(--amplify-font-weights-semibold);
|
|
799
814
|
--amplify-components-badge-line-height: 1;
|
|
800
815
|
--amplify-components-badge-color: var(--amplify-colors-font-primary);
|
|
816
|
+
--amplify-components-authenticator-or-container-or-line-background-color: var(--amplify-colors-background-primary);
|
|
817
|
+
--amplify-components-authenticator-or-container-color: var(--amplify-colors-neutral-80);
|
|
818
|
+
--amplify-components-authenticator-state-inactive-background-color: var(--amplify-colors-background-secondary);
|
|
819
|
+
--amplify-components-authenticator-form-padding: var(--amplify-space-xl);
|
|
820
|
+
--amplify-components-authenticator-footer-padding-bottom: var(--amplify-space-medium);
|
|
821
|
+
--amplify-components-authenticator-router-box-shadow: var(--amplify-shadows-medium);
|
|
822
|
+
--amplify-components-authenticator-router-background-color: var(--amplify-colors-background-primary);
|
|
823
|
+
--amplify-components-authenticator-router-border-color: var(--amplify-colors-border-primary);
|
|
824
|
+
--amplify-components-authenticator-router-border-style: solid;
|
|
825
|
+
--amplify-components-authenticator-router-border-width: var(--amplify-border-widths-small);
|
|
826
|
+
--amplify-components-authenticator-container-width-max: 30rem;
|
|
827
|
+
--amplify-components-authenticator-modal-left: var(--amplify-space-zero);
|
|
828
|
+
--amplify-components-authenticator-modal-top: var(--amplify-space-zero);
|
|
829
|
+
--amplify-components-authenticator-modal-background-color: var(--amplify-colors-overlay-50);
|
|
830
|
+
--amplify-components-authenticator-modal-height: var(--amplify-space-relative-full);
|
|
831
|
+
--amplify-components-authenticator-modal-width: var(--amplify-space-relative-full);
|
|
832
|
+
--amplify-components-authenticator-max-width: 60rem;
|
|
801
833
|
--amplify-components-alert-success-background-color: var(--amplify-colors-background-success);
|
|
802
834
|
--amplify-components-alert-success-color: var(--amplify-colors-font-success);
|
|
803
835
|
--amplify-components-alert-warning-background-color: var(--amplify-colors-background-warning);
|