Skip to content

Commit

Permalink
Merge pull request #1947 from cfpb/ans_remove_topdoc
Browse files Browse the repository at this point in the history
Remove topdoc comments
  • Loading branch information
anselmbradford authored Apr 2, 2024
2 parents 647b046 + 0a5d3bb commit 3bf68fd
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 86 deletions.
6 changes: 0 additions & 6 deletions docs/assets/css/skip-nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
skip-nav
========================================================================== */

/* topdoc
name: CF.gov skip navigation button
family: cfgov-header
tags:
- cfgov-header
*/
.skip-nav {
position: relative;

Expand Down
2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/cfpb-design-system.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/cfpb-design-system/dist/cfpb-design-system.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/cfpb-expandables/dist/cfpb-expandables.css.map

Large diffs are not rendered by default.

40 changes: 0 additions & 40 deletions packages/cfpb-expandables/src/summary-minimal.less
Original file line number Diff line number Diff line change
@@ -1,45 +1,5 @@
@import (reference) '@cfpb/cfpb-core/src/cfpb-core.less';

/* topdoc
name: Summary Minimal
family: cf-organisms
notes:
- "Styles a two-way Expandable-like organism that previews content."
patterns:
- name: Summary Minimal organism
markup: |
<div class="o-summary-minimal">
<div class="o-summary_content">
Content
</div>
<button class="o-summary_btn">
<span class="o-summary-minimal_cue-open">
Show
{% include icons/plus-round.svg %}
</span>
<span class="o-summary-minimal_cue-close">
Hide
{% include icons/minus-round.svg %}
</span>
</button>
</div>
codenotes:
- |
Pattern structure
-----------------
.o-summary-minimal
.o-summary-minimal_content
.o-summary-minimal_btn
.o-summary-minimal_cue-open
.o-summary-minimal_cue-close
notes:
- "Two-way expandable. Displays an approximately 4-line
preview of content."
tags:
- cf-organisms
*/

.o-summary-minimal {
&_content {
overflow-y: hidden;
Expand Down
32 changes: 0 additions & 32 deletions packages/cfpb-expandables/src/summary.less
Original file line number Diff line number Diff line change
@@ -1,37 +1,5 @@
@import (reference) '@cfpb/cfpb-core/src/cfpb-core.less';

/* topdoc
name: Summary
family: cf-organisms
notes:
- "Styles a one-way Expandable-like organism that previews content."
patterns:
- name: Summary Mobile organism
markup: |
<div class="o-summary o-summary__mobile">
<div class="o-summary_content">
Content
</div>
<button class="o-summary_btn u-hidden">
Read full description
</button>
</div>
codenotes:
- |
Pattern structure
-----------------
.o-summary
.o-summary_content
.o-summary_btn.u-hidden
notes:
- "One-way expandable. Displays an approximately 4-line
preview of content on mobile screen sizes only
when __mobile modifier is used."
tags:
- cf-organisms
*/

.o-summary {
&_content {
overflow-y: hidden;
Expand Down
2 changes: 1 addition & 1 deletion packages/cfpb-notifications/dist/cfpb-notifications.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3bf68fd

Please sign in to comment.