@aws-amplify/ui 3.0.6 → 3.0.10
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 +18 -18
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +50 -34
- package/dist/index.js +24 -24
- package/dist/index.js.map +1 -1
- package/dist/styles.css +44 -1
- package/dist/theme.css +4 -1
- 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
|
|
6
|
+
* Generated on Thu, 27 Jan 2022 23:18:54 GMT
|
|
7
7
|
*/
|
|
8
8
|
:root, [data-amplify-theme] {
|
|
9
9
|
--amplify-transforms-slide-x-large: translateX(2em);
|
|
@@ -379,6 +379,7 @@
|
|
|
379
379
|
--amplify-components-select-small-min-width: 5.5rem;
|
|
380
380
|
--amplify-components-select-min-width: 6.5rem;
|
|
381
381
|
--amplify-components-select-white-space: nowrap;
|
|
382
|
+
--amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
|
|
382
383
|
--amplify-components-select-icon-wrapper-pointer-events: none;
|
|
383
384
|
--amplify-components-select-icon-wrapper-transform: translateY(-50%);
|
|
384
385
|
--amplify-components-select-icon-wrapper-right: var(--amplify-space-medium);
|
|
@@ -388,6 +389,7 @@
|
|
|
388
389
|
--amplify-components-select-wrapper-cursor: pointer;
|
|
389
390
|
--amplify-components-select-wrapper-position: relative;
|
|
390
391
|
--amplify-components-select-wrapper-display: block;
|
|
392
|
+
--amplify-components-select-wrapper-flex: 1;
|
|
391
393
|
--amplify-components-select-padding-inline-end: var(--amplify-space-xxl);
|
|
392
394
|
--amplify-components-rating-empty-color: var(--amplify-colors-background-tertiary);
|
|
393
395
|
--amplify-components-rating-filled-color: var(--amplify-colors-brand-secondary-80);
|
|
@@ -625,6 +627,7 @@
|
|
|
625
627
|
--amplify-components-divider-border-width: var(--amplify-border-widths-medium);
|
|
626
628
|
--amplify-components-divider-border-color: var(--amplify-colors-border-primary);
|
|
627
629
|
--amplify-components-divider-border-style: solid;
|
|
630
|
+
--amplify-components-countrycodeselect-height: 100%;
|
|
628
631
|
--amplify-components-checkboxfield-justify-content: center;
|
|
629
632
|
--amplify-components-checkboxfield-flex-direction: column;
|
|
630
633
|
--amplify-components-checkboxfield-align-content: center;
|
|
@@ -1545,6 +1548,36 @@ h6.amplify-heading {
|
|
|
1545
1548
|
padding: 0px 1.5rem;
|
|
1546
1549
|
}
|
|
1547
1550
|
|
|
1551
|
+
[data-amplify-copy] {
|
|
1552
|
+
display: flex;
|
|
1553
|
+
font-size: 0.688rem;
|
|
1554
|
+
gap: 1rem;
|
|
1555
|
+
justify-content: center;
|
|
1556
|
+
align-items: center;
|
|
1557
|
+
}
|
|
1558
|
+
@media (max-width: 30rem) {
|
|
1559
|
+
[data-amplify-copy] {
|
|
1560
|
+
word-break: break-all;
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
[data-amplify-copy-svg] {
|
|
1565
|
+
cursor: pointer;
|
|
1566
|
+
position: relative;
|
|
1567
|
+
}
|
|
1568
|
+
[data-amplify-copy-svg]:hover [data-amplify-copy-tooltip] {
|
|
1569
|
+
visibility: visible;
|
|
1570
|
+
font-size: 0.55rem;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
[data-amplify-copy-tooltip] {
|
|
1574
|
+
visibility: hidden;
|
|
1575
|
+
position: absolute;
|
|
1576
|
+
top: -1rem;
|
|
1577
|
+
left: -0.1rem;
|
|
1578
|
+
color: var(--amplify-colors-teal-100);
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1548
1581
|
.amplify-card {
|
|
1549
1582
|
background-color: var(--amplify-components-card-background-color);
|
|
1550
1583
|
border-radius: var(--amplify-components-card-border-radius);
|
|
@@ -1659,6 +1692,10 @@ h6.amplify-heading {
|
|
|
1659
1692
|
justify-content: var(--amplify-components-checkboxfield-justify-content);
|
|
1660
1693
|
}
|
|
1661
1694
|
|
|
1695
|
+
.amplify-countrycodeselect {
|
|
1696
|
+
height: var(--amplify-components-countrycodeselect-height);
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1662
1699
|
.amplify-divider {
|
|
1663
1700
|
border-color: var(--amplify-components-divider-border-color);
|
|
1664
1701
|
border-style: var(--amplify-components-divider-border-style);
|
|
@@ -2286,6 +2323,7 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2286
2323
|
}
|
|
2287
2324
|
|
|
2288
2325
|
.amplify-select__wrapper {
|
|
2326
|
+
flex: var(--amplify-components-select-wrapper-flex);
|
|
2289
2327
|
display: var(--amplify-components-select-wrapper-display);
|
|
2290
2328
|
position: var(--amplify-components-select-wrapper-position);
|
|
2291
2329
|
cursor: var(--amplify-components-select-wrapper-cursor);
|
|
@@ -2306,6 +2344,11 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
2306
2344
|
min-width: var(--amplify-components-select-min-width);
|
|
2307
2345
|
white-space: var(--amplify-components-select-white-space);
|
|
2308
2346
|
}
|
|
2347
|
+
@-moz-document url-prefix() {
|
|
2348
|
+
.amplify-select option {
|
|
2349
|
+
background-color: var(--amplify-components-select-option-background-color);
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2309
2352
|
.amplify-select[data-size=small] {
|
|
2310
2353
|
min-width: var(--amplify-components-select-small-min-width);
|
|
2311
2354
|
}
|
package/dist/theme.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Jan 2022 23:18:54 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root, [data-amplify-theme] {
|
|
@@ -377,6 +377,7 @@
|
|
|
377
377
|
--amplify-components-select-small-min-width: 5.5rem;
|
|
378
378
|
--amplify-components-select-min-width: 6.5rem;
|
|
379
379
|
--amplify-components-select-white-space: nowrap;
|
|
380
|
+
--amplify-components-select-option-background-color: var(--amplify-colors-background-primary);
|
|
380
381
|
--amplify-components-select-icon-wrapper-pointer-events: none;
|
|
381
382
|
--amplify-components-select-icon-wrapper-transform: translateY(-50%);
|
|
382
383
|
--amplify-components-select-icon-wrapper-right: var(--amplify-space-medium);
|
|
@@ -386,6 +387,7 @@
|
|
|
386
387
|
--amplify-components-select-wrapper-cursor: pointer;
|
|
387
388
|
--amplify-components-select-wrapper-position: relative;
|
|
388
389
|
--amplify-components-select-wrapper-display: block;
|
|
390
|
+
--amplify-components-select-wrapper-flex: 1;
|
|
389
391
|
--amplify-components-select-padding-inline-end: var(--amplify-space-xxl);
|
|
390
392
|
--amplify-components-rating-empty-color: var(--amplify-colors-background-tertiary);
|
|
391
393
|
--amplify-components-rating-filled-color: var(--amplify-colors-brand-secondary-80);
|
|
@@ -623,6 +625,7 @@
|
|
|
623
625
|
--amplify-components-divider-border-width: var(--amplify-border-widths-medium);
|
|
624
626
|
--amplify-components-divider-border-color: var(--amplify-colors-border-primary);
|
|
625
627
|
--amplify-components-divider-border-style: solid;
|
|
628
|
+
--amplify-components-countrycodeselect-height: 100%;
|
|
626
629
|
--amplify-components-checkboxfield-justify-content: center;
|
|
627
630
|
--amplify-components-checkboxfield-flex-direction: column;
|
|
628
631
|
--amplify-components-checkboxfield-align-content: center;
|