Commit bf8790f
Card feature updates (#312)
* Updating card layout with new variables and features; add schema
* Tidy up and compile
* Update doc file to remove old hide-show references
* Update card story to fix issue with extra padding
* Remove the hide-show component from the index file
* Write additional card tests
* Updating the readme
* Commit compiled assets after sass updates
* Update package-lock files to point to updated .8 versions
* Fix compilation error
* Revert doc file
* Compile assets
* Compile repo
* Compile band asset
* Revert unchanged project files being edited
* Update story location for untouched files
* Fix index file for compilation listing
* Fix location of story files and add back package-lock
* Revert copyright in story files
* Compile assets with updated variables
* Remove border weight
* Revert changes to build task
* Revert avatar and content-set changes
* Fix typo in sass file
* Update package-lock file with npm install
* Revert harmony changes
* Remove harmony and add opacity for header; add overflow property
* Revert colors updates
* Revert unneeded updates from this PR
* Update cards to support border-radius of 3px from DSC
* Use better placeholder images :)
* Update storybook to use complement as default view
* Update utils to support self-closing tags! Add image option to storybook
* Add test cases for the new overflow property
* Add tests for custom properties; adjust error messaging
* Update styles for better older browser support (styling on ShadowDOM classes doesn't work in Edge and IE)
* Update styles with IE11 fallbacks
* Due to code in the redhat-theme and styles often applied to h-level headings; added !important to header margins
* Remove the !importants from right and left; add !important to overflow-top setting
* Update card component to support Angular
* Pull out storybook changes from this repo
* Fix styles in storybook that were breaking the header region
* Remove weird dependency
* adding a mutationobserver to card and using attributes instead of classes
* updating pfe-card tests
* moving slot attribute check test to top1 parent 84dbf03 commit bf8790f
File tree
11 files changed
+858
-315
lines changed- elements
- pfe-card
- demo
- src
- test
- pfe-sass/variables
- pfelement/src
11 files changed
+858
-315
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
24 | 65 | | |
25 | 66 | | |
26 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
40 | 57 | | |
41 | 58 | | |
42 | 59 | | |
43 | 60 | | |
44 | 61 | | |
45 | 62 | | |
46 | 63 | | |
47 | | - | |
48 | | - | |
| 64 | + | |
| 65 | + | |
49 | 66 | | |
50 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
51 | 70 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
66 | 80 | | |
| 81 | + | |
67 | 82 | | |
68 | | - | |
| 83 | + | |
69 | 84 | | |
70 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
71 | 88 | | |
72 | | - | |
73 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
74 | 92 | | |
75 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
76 | 96 | | |
77 | | - | |
78 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
79 | 100 | | |
80 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
81 | 104 | | |
82 | | - | |
83 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
84 | 108 | | |
85 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
86 | 112 | | |
87 | | - | |
88 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
89 | 116 | | |
90 | 117 | | |
91 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
92 | 162 | | |
93 | 163 | | |
0 commit comments