Commit 516d9e8
feat: pfe-tabs style updates (#948)
* feat Add support for empty local variables
* feat CHANGELOG udpate
* feat Working through local variable updates
* feat Working through challenges moving to empty variables in the component mixins
* feat Applying empty local variables
* feat Fix typo in band story
* feat Add some more documentation to the sass
* feat Update local function references and update toast for local vars
* feat Remove commented out variable print
* feat Update modal
* feat Update tabs
* feat Add theming to page-status
* feat Adjusting implementation on the accordion
* Simplify functions!
* feat Fix improperly escaped parens
* feat Update documentation
* feat Update documentation with best practices
* feat Revert accidental updates to variable names
* feat Clean up unnecessary interpolation
* feat Remove unnecessary interpolation from autocomplete
* feat Remove unneeded interpolation from avatar, badge, and band
* feat Cleaning up references and interpolation in band, card
* Apply suggestions from code review
* feat Fix compile error
* feat Revert doc updates, new PR opened for these
* feat Update changelog, remove doc update
* feat Working through dropdown updates
* feat Fix a find-replace error in doc for pfe-surface
* feat Rename and remove alias for set local function
* feat Abstract repo variable and local value
* feat Ensure all pfe prefixes reference repo var
* feat Replace repo variable across the project
* feat dropdown items using new syntax now
* feat Jump links still broken but bringing items together to make styling easier
* feat Add empty local variable updates to pfe-jump-links
* feat Fix band local theme ref
* feat Remove change to jump links template
* Remove dupe from changelog
* feat Use the pfe-print-local tool in accordion
* feat Apply updated format to pfe-cta
* feat Update modal
* feat Adjust navigation and select components for new empty loca vars
* feat Add context to broadcasted output
* feat Clean up empty map
* feat git checkout origin/master -- elements/**/package-lock.json
* feat Pull out package-lock updates
* feat Adjust maxWidth on cta
* feat Fix self-referencing broadcast variables
* US251839 tab style updates
* Update elements/pfe-sass/functions/_custom-properties.scss
Co-authored-by: Kendall Totten <[email protected]>
* updates from pair programming session
* sass updates
* some code clean up
* fix tab shift when tab goes from not active to active
* feat Remove interpolation from pfe-toast and revert variablizing --pfe on custom props
* add ie11 fixes
* some code clean up
* some code clean up
* feat Update generator notes and docs; add backwards support in avatar
* some code clean up
* feat Add comments to self-referential maps
* feat Navigation item, remove interpolation and commented out code
* feat Update a few merges to deep merge with LOCAL-VARIABLES maps; add comments
* feat Move new maps to shared assets file for readability
* feat Backwards compatibility for pfe-dropdown
* feat Fallback for pfe-dropdown property naming
* feat Additional fallback styles for variable naming
* dark theme tweaks
* Updates from design review
* updates from design review
* attempt at fix for focus state for tabs with sudo element
* Move styles for extra borders on vertical wind variant into pfe-tabs template
* dark vertical styling
* style clean up
* dark earth style update
* updeates from code review
* fix for vertical earth tabs on dark
* add saturated band to pfe tabs demo page
* updates from CR
* some CR changes
* add missed tab padding updates
* saturate hover color fix
* remove package-lock files
* Update CHANGELOG-prerelease.md
* Update CHANGELOG-prerelease.md
* Removing unrelated files from latest merge with master
* Assist with interpolation clean-up
* updates from code review
* changes for red hat theme tab font size
* add fix for earth vertical tab alignment and earth saturated font color
* style fixes
* update ie11 style
* fix active state
* fix default dark wind color
* ie11 fixes
* pfe-tabs fork: Debugging tools, var name updates + backwards compatibility (#1005)
* Add back debugging mixin to print local variables for testing. Update names of variables in local map for BEM & consistency, move old vars to backwards-compatibility map.
* Simplify border properties; use regular css properties instead of redefining local vars as often. Add ui-border vars.
* Add comment to new mixin. Add links to pfe-tab demo to ensure tab index works in tab panels. Run prettier on the pfe-tab sass. Clean up ie11 styles, remove magic numbers & replace with pfe-fetch.
Update tab panel colors & border placement per feedback from Corey.
Add support for padding adjustments to panel per breakpoint; change tab width. Update demo file so its full width to demonstrate spacing.
Restore tab and panel variable regions.
Add weird background colors to demo so you can see where tabs have background colors.
Restore use of surface--border var, delete ui-border
* add inset to earth variant to prevent weird border visuals & match pfe core
* remove commented out lines; deprecate unusable padding variables in parent file
* Update debug mixin to lean on pfe-print-local mixin #singlesourceoftruth
Rearrange & de-dupe selectors in pfe-tab sass file
Fix vertical variants on mobile
* Add broadcast variables to tab panels;
Remove ie11 overrides from pfe-tab
* Update elements/pfe-tabs/src/pfe-tab.scss
Co-authored-by: [ Cassondra ] <[email protected]>
* Remove debugging code, cleanup fallbacks
* move fallbacks to local vars map
* move fallbacks to local vars map
* Update backwards compatibility map & references in file to use new variables
* Update CHANGELOG-prerelease.md
* Fix text colors
* Catch up with the latest colors
* Fix hover state border jumpiness
* remove nth child extra specificity, fix border width on vertical earth
* reduce duplicate selectors
* remove @at-root
* removed unused var
* tidy
* use text--on-dark instead of surface--lightest for typography
* Move color into .pfe > * for specificity, run prettier, add color & color--focus vars to dark / saturated sets
* remove ie11 override
* Fix the dang first/last borders on vertical earth variants
* formatting
* Tidy @at-root
* add interpolation for local var value
* remove debug
* resolve jumpy borders on vertical earth variants
* revert demo css
Co-authored-by: [ Cassondra ] <[email protected]>
Co-authored-by: [ Cassondra ] <[email protected]>
Co-authored-by: Kendall Totten <[email protected]>1 parent 65a1029 commit 516d9e8
File tree
9 files changed
+664
-341
lines changed- elements
- pfe-sass/maps
- pfe-tabs
- demo
- src
9 files changed
+664
-341
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
68 | 79 | | |
69 | | - | |
| 80 | + | |
70 | 81 | | |
71 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
72 | 88 | | |
73 | 89 | | |
74 | 90 | | |
| |||
123 | 139 | | |
124 | 140 | | |
125 | 141 | | |
126 | | - | |
| 142 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
8 | 16 | | |
9 | 17 | | |
10 | | - | |
11 | 18 | | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
30 | 40 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
35 | 52 | | |
36 | 53 | | |
| 54 | + | |
37 | 55 | | |
38 | 56 | | |
39 | | - | |
40 | | - | |
| 57 | + | |
| 58 | + | |
41 | 59 | | |
42 | 60 | | |
43 | 61 | | |
44 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
45 | 67 | | |
46 | 68 | | |
47 | 69 | | |
48 | 70 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 71 | | |
56 | 72 | | |
57 | 73 | | |
| 74 | + | |
58 | 75 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
62 | 79 | | |
63 | 80 | | |
64 | 81 | | |
65 | 82 | | |
| 83 | + | |
66 | 84 | | |
67 | 85 | | |
68 | 86 | | |
| 87 | + | |
69 | 88 | | |
70 | 89 | | |
71 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
72 | 93 | | |
73 | 94 | | |
74 | 95 | | |
75 | 96 | | |
76 | 97 | | |
77 | 98 | | |
78 | | - | |
| 99 | + | |
79 | 100 | | |
80 | | - | |
81 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
82 | 104 | | |
83 | | - | |
| 105 | + | |
84 | 106 | | |
85 | 107 | | |
86 | | - | |
| 108 | + | |
87 | 109 | | |
88 | 110 | | |
89 | | - | |
| 111 | + | |
90 | 112 | | |
91 | 113 | | |
92 | | - | |
93 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
94 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
0 commit comments