Skip to content

Commit

Permalink
3.x - hide components (#899)
Browse files Browse the repository at this point in the history
* v3.6.18...v3.6.19

* Started work on hiding components.

* Updates to get header working.

* Making background and cta visible again.
  • Loading branch information
bspeare committed Nov 9, 2023
1 parent f9a0b56 commit 3e31270
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 30 deletions.
2 changes: 1 addition & 1 deletion src/assets/scss/components/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
@import "../../../components/branding/logo/logo.scss";
@import "../../../components/branding/site-name/site-name.scss";
@import "../../../components/branding/parent-site-name/parent-site-name.scss";
@import '../../../components/branding/footer/footer.scss';
@import '../../../components/footer/footer.scss';
4 changes: 3 additions & 1 deletion src/assets/scss/theme.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
@import url('https://use.fontawesome.com/releases/v5.8.2/css/all.css');
@import 'variables';
@import 'utilities';
@import "_base.scss";
@import '_local-fonts.scss';
@import 'typography/headings/headings.scss';
@import 'typography/paragraph/paragraph.scss';
@import 'tables/tables.scss';
@import 'alert/alert.scss';
@import 'branding/logo/logo.scss';
@import 'branding/site-name/site-name.scss';
@import 'branding/iowa-bar/iowa-bar.scss';
Expand Down Expand Up @@ -124,7 +126,7 @@ h1 {
margin-top: 0;

@include breakpoint(md) {
margin-top: $header-height;
margin-top: 100px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/assets/scss/uids-base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import url('https://use.fontawesome.com/releases/v5.8.2/css/all.css');
@import '_variables.scss';
@import '_utilities.scss';
@import 'base';
@import '_base.scss';
@import '_layout-main.scss';
@import '_local-fonts.scss';
@import 'typography/paragraph/paragraph.scss';
2 changes: 1 addition & 1 deletion src/assets/scss/uids.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $imgpath: '../../assets/images';
'branding/logo/logo.scss',
'branding/site-name/site-name.scss',
'branding/parent-site-name/parent-site-name.scss',
'branding/footer/footer.scss',
'footer/footer.scss',
// Components
'accordion/accordion.scss',
'alert/alert.scss',
Expand Down
1 change: 1 addition & 0 deletions src/components/alert/alert.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ title: Alerts
status: wip
order: 20
collated: true
hidden: true
variants:
- name: default
label: Hawk Alert
Expand Down
1 change: 1 addition & 0 deletions src/components/branding/iowa-bar/iowa-bar.config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
title: IOWA Bar
order: 10
hidden: true
meta:
dependencies:
stylesheets:
Expand Down
2 changes: 1 addition & 1 deletion src/components/branding/logo/logo.config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
label: Logo
order: 0
hidden: false
hidden: true
collated: false
context:
logo_fallback_path: ../../assets/images/uiowa-primary.png
Expand Down
1 change: 1 addition & 0 deletions src/components/button/button.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ title: Button
order: 10
status: wip
collated: false
hidden: true
meta:
dependencies:
stylesheets:
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/card.config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Card
status: ready
order: 30
hidden: false
hidden: true
meta:
dependencies:
stylesheets:
Expand Down
1 change: 1 addition & 0 deletions src/components/colors/colors.config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
title: Colors
order: 0
status: wip
hidden: true
context:
test: test
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import '../../../assets/scss/variables';
@import '../../../assets/scss/utilities';
@import '../../assets/scss/variables';
@import '../../assets/scss/utilities';

.footer {
position: relative;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/media/media.config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
hidden: false
hidden: true
meta:
dependencies:
stylesheets:
Expand Down
2 changes: 1 addition & 1 deletion src/components/menus/main-menu/main-menu.config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: Main Menu
hidden: false
hidden: true
order: 4
status: wip
meta:
Expand Down
3 changes: 2 additions & 1 deletion src/components/typography/typography.config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Typography
order: 0
collate: true
hidden: true
collate: true
1 change: 1 addition & 0 deletions theme/views/layouts/skeleton.nunj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
})(window,document,'script','dataLayer','GTM-M3CZHFV');</script>
<!-- End Google Tag Manager -->
{% include 'partials/head.nunj' %}

</head>
<body>
<!-- Google Tag Manager (noscript) -->
Expand Down
11 changes: 11 additions & 0 deletions theme/views/partials/alert.nunj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div role="alert">
<div class="uiowa-alerts-wrapper">
<div class="alert alert-info">
<div class="hawk-alert-message">
<span class="hawk-alert-body">
<p><i class="fas fa-info-circle"></i> <a style="display:inline;" class="hawk-alert-link alert-link" href="https://uids.brand.uiowa.edu/latest/">There's a new version of UIDS!</a></p>
</span>
</div>
</div>
</div>
</div>
19 changes: 0 additions & 19 deletions theme/views/partials/content/overview.nunj
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
{% import 'macros/status.nunj' as status %}

<p><strong>UIDS</strong> is a design system to support building applications that support the University of Iowa brand. You can learn about the available components by browsing through them using the navigation on the left. You can read more at the <a href="https://brand.uiowa.edu/">Brand Manual website</a>.</p>

<h2>Component Statuses</h2>
<p>Components and their variants have been given statuses reflecting their state of completion. The available statuses are listed below.</p>
<table class="table is-striped">
<thead>
<tr>
<th>Label</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% for handle, st in frctl.get('components.statuses') %}
<tr>
<td>{{ status.tag(st) }}</td>
<td>{{ st.description }}</td>
</tr>
{% endfor %}
</tbody>
</table>
2 changes: 2 additions & 0 deletions theme/views/partials/header.nunj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<header class="iowa-bar iowa-bar--narrow">
{% include 'partials/alert.nunj' %}
<div class="iowa-bar__container">
<button class="Header-button Header-navToggle" data-action="toggle-sidebar">
{% include 'icons/close-nav.svg' %}
Expand Down Expand Up @@ -31,3 +32,4 @@
{# {% endif %}#}
</div>
</header>

0 comments on commit 3e31270

Please sign in to comment.