@patternfly/react-core 5.0.0-alpha.50 → 5.0.0-alpha.51
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 +4 -0
- package/dist/esm/components/BackgroundImage/BackgroundImage.d.ts.map +1 -1
- package/dist/esm/components/BackgroundImage/BackgroundImage.js +34 -36
- package/dist/esm/components/BackgroundImage/BackgroundImage.js.map +1 -1
- package/dist/esm/components/Icon/Icon.d.ts +1 -1
- package/dist/esm/components/Icon/Icon.d.ts.map +1 -1
- package/dist/esm/components/Modal/ModalContent.js.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItem.d.ts +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItem.d.ts.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItem.js +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItem.js.map +1 -1
- package/dist/esm/components/Popover/Popover.js +1 -1
- package/dist/esm/components/Popover/Popover.js.map +1 -1
- package/dist/js/components/BackgroundImage/BackgroundImage.d.ts.map +1 -1
- package/dist/js/components/BackgroundImage/BackgroundImage.js +34 -36
- package/dist/js/components/BackgroundImage/BackgroundImage.js.map +1 -1
- package/dist/js/components/Icon/Icon.d.ts +1 -1
- package/dist/js/components/Icon/Icon.d.ts.map +1 -1
- package/dist/js/components/Modal/ModalContent.js.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItem.d.ts +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItem.d.ts.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItem.js +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItem.js.map +1 -1
- package/dist/js/components/Popover/Popover.js +1 -1
- package/dist/js/components/Popover/Popover.js.map +1 -1
- package/dist/styles/assets/images/pfbg-icon.svg +1 -0
- package/dist/styles/assets/pficon/pficon.scss +1 -2
- package/dist/styles/base-no-reset.css +9 -32
- package/dist/styles/base.css +43 -73
- package/dist/umd/react-core.min.js +2 -2
- package/package.json +6 -6
- package/scripts/copyStyles.js +1 -1
- package/src/components/BackgroundImage/BackgroundImage.tsx +47 -44
- package/src/components/BackgroundImage/__tests__/__snapshots__/BackgroundImage.test.tsx.snap +4 -64
- package/src/components/Icon/Icon.tsx +1 -1
- package/src/components/Icon/__tests__/Icon.test.tsx +2 -2
- package/src/components/Icon/examples/IconStatus.tsx +1 -1
- package/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap +2 -32
- package/src/components/Modal/ModalContent.tsx +1 -1
- package/src/components/NotificationDrawer/NotificationDrawerListItem.tsx +2 -2
- package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerListItem.test.tsx.snap +1 -1
- package/src/components/Popover/Popover.tsx +1 -1
- package/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
- package/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
- package/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
- package/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
- package/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
- package/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
- package/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
- package/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
- package/dist/styles/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
- package/dist/styles/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
- package/dist/styles/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
- package/dist/styles/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
- package/dist/styles/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
- package/dist/styles/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
- package/dist/styles/assets/pficon/pficon.woff +0 -0
package/dist/styles/base.css
CHANGED
|
@@ -18,29 +18,6 @@
|
|
|
18
18
|
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.pf-t-dark .pf-c-card {
|
|
22
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.pf-t-dark .pf-c-button {
|
|
26
|
-
--pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
|
|
27
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
|
|
28
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
|
|
29
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
|
|
30
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
31
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
32
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
33
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
34
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
|
|
35
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
|
|
36
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
|
|
37
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
|
|
38
|
-
--pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
|
|
39
|
-
--pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
|
|
40
|
-
--pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
|
|
41
|
-
--pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
21
|
:root {
|
|
45
22
|
--pf-global--palette--black-100: #fafafa;
|
|
46
23
|
--pf-global--palette--black-150: #f5f5f5;
|
|
@@ -156,9 +133,9 @@
|
|
|
156
133
|
--pf-global--primary-color--light-100: #73bcf7;
|
|
157
134
|
--pf-global--primary-color--dark-100: #06c;
|
|
158
135
|
--pf-global--secondary-color--100: #6a6e73;
|
|
159
|
-
--pf-global--
|
|
160
|
-
--pf-global--
|
|
161
|
-
--pf-global--
|
|
136
|
+
--pf-global--custom-color--100: #73c5c5;
|
|
137
|
+
--pf-global--custom-color--200: #009596;
|
|
138
|
+
--pf-global--custom-color--300: #003737;
|
|
162
139
|
--pf-global--success-color--100: #3e8635;
|
|
163
140
|
--pf-global--success-color--200: #1e4f18;
|
|
164
141
|
--pf-global--info-color--100: #2b9af3;
|
|
@@ -380,7 +357,7 @@
|
|
|
380
357
|
font-family: "RedHatDisplay";
|
|
381
358
|
font-style: normal;
|
|
382
359
|
font-weight: 300;
|
|
383
|
-
src: url("./assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff2") format("woff2")
|
|
360
|
+
src: url("./assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff2") format("woff2");
|
|
384
361
|
text-rendering: optimizelegibility;
|
|
385
362
|
}
|
|
386
363
|
|
|
@@ -388,7 +365,7 @@
|
|
|
388
365
|
font-family: "RedHatDisplay";
|
|
389
366
|
font-style: normal;
|
|
390
367
|
font-weight: 400;
|
|
391
|
-
src: url("./assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff2") format("woff2")
|
|
368
|
+
src: url("./assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff2") format("woff2");
|
|
392
369
|
text-rendering: optimizelegibility;
|
|
393
370
|
}
|
|
394
371
|
|
|
@@ -396,7 +373,7 @@
|
|
|
396
373
|
font-family: "RedHatDisplay";
|
|
397
374
|
font-style: normal;
|
|
398
375
|
font-weight: 700;
|
|
399
|
-
src: url("./assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff2") format("woff2")
|
|
376
|
+
src: url("./assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff2") format("woff2");
|
|
400
377
|
text-rendering: optimizelegibility;
|
|
401
378
|
}
|
|
402
379
|
|
|
@@ -404,7 +381,7 @@
|
|
|
404
381
|
font-family: "RedHatText";
|
|
405
382
|
font-style: normal;
|
|
406
383
|
font-weight: 400;
|
|
407
|
-
src: url("./assets/fonts/RedHatText/RedHatText-Regular.woff2") format("woff2")
|
|
384
|
+
src: url("./assets/fonts/RedHatText/RedHatText-Regular.woff2") format("woff2");
|
|
408
385
|
text-rendering: optimizelegibility;
|
|
409
386
|
}
|
|
410
387
|
|
|
@@ -412,7 +389,7 @@
|
|
|
412
389
|
font-family: "RedHatText";
|
|
413
390
|
font-style: normal;
|
|
414
391
|
font-weight: 700;
|
|
415
|
-
src: url("./assets/fonts/RedHatText/RedHatText-Medium.woff2") format("woff2")
|
|
392
|
+
src: url("./assets/fonts/RedHatText/RedHatText-Medium.woff2") format("woff2");
|
|
416
393
|
text-rendering: optimizelegibility;
|
|
417
394
|
}
|
|
418
395
|
|
|
@@ -535,7 +512,7 @@
|
|
|
535
512
|
font-variant-numeric: tabular-nums;
|
|
536
513
|
}
|
|
537
514
|
|
|
538
|
-
html,
|
|
515
|
+
:where(html,
|
|
539
516
|
body,
|
|
540
517
|
p,
|
|
541
518
|
ol,
|
|
@@ -557,35 +534,48 @@ h2,
|
|
|
557
534
|
h3,
|
|
558
535
|
h4,
|
|
559
536
|
h5,
|
|
560
|
-
h6 {
|
|
537
|
+
h6) {
|
|
561
538
|
padding: 0;
|
|
562
539
|
margin: 0;
|
|
563
540
|
}
|
|
564
541
|
|
|
565
|
-
|
|
566
|
-
|
|
542
|
+
*,
|
|
543
|
+
:where(*::before,
|
|
544
|
+
*::after) {
|
|
545
|
+
box-sizing: border-box;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
:where(html,
|
|
549
|
+
body) {
|
|
567
550
|
height: 100%;
|
|
568
551
|
}
|
|
569
552
|
|
|
570
|
-
|
|
553
|
+
:where(body) {
|
|
554
|
+
font-family: var(--pf-global--FontFamily--sans-serif);
|
|
555
|
+
font-size: var(--pf-global--FontSize--md);
|
|
556
|
+
font-weight: var(--pf-global--FontWeight--normal);
|
|
557
|
+
line-height: var(--pf-global--LineHeight--md);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
:where(h1,
|
|
571
561
|
h2,
|
|
572
562
|
h3,
|
|
573
563
|
h4,
|
|
574
564
|
h5,
|
|
575
|
-
h6 {
|
|
565
|
+
h6) {
|
|
576
566
|
font-size: 100%;
|
|
577
567
|
font-weight: var(--pf-global--FontWeight--normal);
|
|
578
568
|
}
|
|
579
569
|
|
|
580
|
-
ul {
|
|
570
|
+
:where(ul) {
|
|
581
571
|
list-style: none;
|
|
582
572
|
}
|
|
583
573
|
|
|
584
|
-
button,
|
|
574
|
+
:where(button,
|
|
585
575
|
input,
|
|
586
576
|
optgroup,
|
|
587
577
|
select,
|
|
588
|
-
textarea {
|
|
578
|
+
textarea) {
|
|
589
579
|
margin: 0;
|
|
590
580
|
font-family: inherit;
|
|
591
581
|
font-size: 100%;
|
|
@@ -593,69 +583,49 @@ textarea {
|
|
|
593
583
|
color: var(--pf-global--Color--100);
|
|
594
584
|
}
|
|
595
585
|
|
|
596
|
-
img,
|
|
586
|
+
:where(img,
|
|
597
587
|
embed,
|
|
598
588
|
iframe,
|
|
599
589
|
object,
|
|
600
590
|
audio,
|
|
601
|
-
video {
|
|
591
|
+
video) {
|
|
602
592
|
max-width: 100%;
|
|
603
593
|
height: auto;
|
|
604
594
|
}
|
|
605
595
|
|
|
606
|
-
iframe {
|
|
596
|
+
:where(iframe) {
|
|
607
597
|
border: 0;
|
|
608
598
|
}
|
|
609
599
|
|
|
610
|
-
table {
|
|
600
|
+
:where(table) {
|
|
611
601
|
border-spacing: 0;
|
|
612
602
|
border-collapse: collapse;
|
|
613
603
|
}
|
|
614
604
|
|
|
615
|
-
td,
|
|
616
|
-
th {
|
|
605
|
+
:where(td,
|
|
606
|
+
th) {
|
|
617
607
|
padding: 0;
|
|
618
608
|
text-align: left;
|
|
619
609
|
}
|
|
620
610
|
|
|
621
|
-
code,
|
|
622
|
-
pre {
|
|
611
|
+
:where(code,
|
|
612
|
+
pre) {
|
|
623
613
|
font-family: var(--pf-global--FontFamily--monospace);
|
|
624
614
|
}
|
|
625
615
|
|
|
626
|
-
|
|
627
|
-
*::before,
|
|
628
|
-
*::after {
|
|
629
|
-
box-sizing: border-box;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
html {
|
|
633
|
-
font-family: sans-serif;
|
|
634
|
-
line-height: 1.15;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
body {
|
|
638
|
-
font-family: var(--pf-global--FontFamily--sans-serif);
|
|
639
|
-
font-size: var(--pf-global--FontSize--md);
|
|
640
|
-
font-weight: var(--pf-global--FontWeight--normal);
|
|
641
|
-
line-height: var(--pf-global--LineHeight--md);
|
|
642
|
-
text-align: left;
|
|
643
|
-
background-color: var(--pf-global--BackgroundColor--100);
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
a {
|
|
616
|
+
:where(a) {
|
|
647
617
|
font-weight: var(--pf-global--link--FontWeight);
|
|
648
618
|
color: var(--pf-global--link--Color);
|
|
649
619
|
text-decoration: var(--pf-global--link--TextDecoration);
|
|
650
620
|
}
|
|
651
621
|
|
|
652
|
-
a:hover {
|
|
622
|
+
:where(a:hover) {
|
|
653
623
|
--pf-global--link--Color: var(--pf-global--link--Color--hover);
|
|
654
624
|
--pf-global--link--TextDecoration: var(--pf-global--link--TextDecoration--hover);
|
|
655
625
|
}
|
|
656
626
|
|
|
657
|
-
|
|
658
|
-
|
|
627
|
+
:where(a,
|
|
628
|
+
button) {
|
|
659
629
|
cursor: pointer;
|
|
660
630
|
}
|
|
661
631
|
|
|
@@ -701,7 +671,7 @@ a {
|
|
|
701
671
|
|
|
702
672
|
@font-face {
|
|
703
673
|
font-family: "pficon";
|
|
704
|
-
src: url("./assets/pficon/pficon.woff2") format("woff2")
|
|
674
|
+
src: url("./assets/pficon/pficon.woff2") format("woff2");
|
|
705
675
|
}
|
|
706
676
|
|
|
707
677
|
.pf-icon-zone:before,
|