Skip to content

Commit

Permalink
deploy: 8c5559c
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Jan 8, 2024
1 parent 2ea0300 commit 20c4399
Show file tree
Hide file tree
Showing 345 changed files with 1,503 additions and 382 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link type="text/css" href="/assets/pfe--noscript.min.css">
</noscript>

<script type="importmap">{"imports":{"@patternfly/pfe-core":"/assets/packages/@patternfly/pfe-core/core.js","lit-html":"/assets/packages/lit-html/lit-html.js","@floating-ui/core":"/assets/packages/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","tslib":"/assets/packages/tslib/tslib.es6.js","@lit/reactive-element":"/assets/packages/@lit/reactive-element/reactive-element.js","@floating-ui/dom":"/assets/packages/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","lit-element":"/assets/packages/lit-element/index.js","lit/directives/if-defined.js":"/assets/packages/lit/directives/if-defined.js","lit":"/assets/packages/lit/index.js","@patternfly/elements":"/assets/packages/@patternfly/elements/pfe.min.js","@rhds/tokens/media.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/media.js","@rhds/tokens":"https://ga.jspm.io/npm:@rhds/[email protected]/js/tokens.js","@rhds/tokens/meta.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/meta.js","element-internals-polyfill":"/assets/packages/element-internals-polyfill/dist/index.js","fuse.js":"/assets/packages/fuse.js/dist/fuse.esm.js","@rhds/tokens/":"/assets/packages/@rhds/tokens/js/","@rhds/elements/":"/assets/packages/@rhds/elements/elements/","@rhds/elements/lib/":"/assets/packages/@rhds/elements/lib/","@patternfly/elements/":"/assets/packages/@patternfly/elements/","@patternfly/icons/":"/assets/packages/@patternfly/icons/","@patternfly/pfe-core/":"/assets/packages/@patternfly/pfe-core/"},"scopes":{"/assets/packages/":{"@lit/reactive-element/decorators/":"/assets/packages/@lit/reactive-element/decorators/","lit":"/assets/packages/@patternfly/elements/node_modules/lit/index.js","lit-element/lit-element.js":"/assets/packages/lit-element/lit-element.js","lit-html/":"/assets/packages/lit-html/","lit/":"/assets/packages/@patternfly/elements/node_modules/lit/"}}}</script>
<script type="importmap">{"imports":{"@patternfly/pfe-core":"/assets/packages/@patternfly/pfe-core/core.js","lit-html":"/assets/packages/lit-html/lit-html.js","@floating-ui/core":"/assets/packages/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","tslib":"/assets/packages/tslib/tslib.es6.js","@lit/reactive-element":"/assets/packages/@lit/reactive-element/reactive-element.js","@floating-ui/dom":"/assets/packages/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","lit-element":"/assets/packages/lit-element/index.js","lit/directives/if-defined.js":"/assets/packages/lit/directives/if-defined.js","lit":"/assets/packages/lit/index.js","@patternfly/elements":"/assets/packages/@patternfly/elements/pfe.min.js","@rhds/tokens":"https://ga.jspm.io/npm:@rhds/[email protected]/js/tokens.js","@rhds/tokens/media.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/media.js","@rhds/tokens/meta.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/meta.js","element-internals-polyfill":"/assets/packages/element-internals-polyfill/dist/index.js","fuse.js":"/assets/packages/fuse.js/dist/fuse.esm.js","@rhds/tokens/":"/assets/packages/@rhds/tokens/js/","@rhds/elements/":"/assets/packages/@rhds/elements/elements/","@rhds/elements/lib/":"/assets/packages/@rhds/elements/lib/","@patternfly/elements/":"/assets/packages/@patternfly/elements/","@patternfly/icons/":"/assets/packages/@patternfly/icons/","@patternfly/pfe-core/":"/assets/packages/@patternfly/pfe-core/"},"scopes":{"/assets/packages/":{"@lit/reactive-element/decorators/":"/assets/packages/@lit/reactive-element/decorators/","lit":"/assets/packages/@patternfly/elements/node_modules/lit/index.js","lit-element/lit-element.js":"/assets/packages/lit-element/lit-element.js","lit-html/":"/assets/packages/lit-html/","lit/":"/assets/packages/@patternfly/elements/node_modules/lit/"}}}</script>
<script async="" src="https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js"></script>

<script type="module">
Expand Down
2 changes: 1 addition & 1 deletion about/how-we-build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link type="text/css" href="/assets/pfe--noscript.min.css">
</noscript>

<script type="importmap">{"imports":{"@patternfly/pfe-core":"/assets/packages/@patternfly/pfe-core/core.js","lit-html":"/assets/packages/lit-html/lit-html.js","@floating-ui/core":"/assets/packages/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","tslib":"/assets/packages/tslib/tslib.es6.js","@lit/reactive-element":"/assets/packages/@lit/reactive-element/reactive-element.js","@floating-ui/dom":"/assets/packages/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","lit-element":"/assets/packages/lit-element/index.js","lit/directives/if-defined.js":"/assets/packages/lit/directives/if-defined.js","lit":"/assets/packages/lit/index.js","@patternfly/elements":"/assets/packages/@patternfly/elements/pfe.min.js","@rhds/tokens/media.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/media.js","@rhds/tokens":"https://ga.jspm.io/npm:@rhds/[email protected]/js/tokens.js","@rhds/tokens/meta.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/meta.js","element-internals-polyfill":"/assets/packages/element-internals-polyfill/dist/index.js","fuse.js":"/assets/packages/fuse.js/dist/fuse.esm.js","@rhds/tokens/":"/assets/packages/@rhds/tokens/js/","@rhds/elements/":"/assets/packages/@rhds/elements/elements/","@rhds/elements/lib/":"/assets/packages/@rhds/elements/lib/","@patternfly/elements/":"/assets/packages/@patternfly/elements/","@patternfly/icons/":"/assets/packages/@patternfly/icons/","@patternfly/pfe-core/":"/assets/packages/@patternfly/pfe-core/"},"scopes":{"/assets/packages/":{"@lit/reactive-element/decorators/":"/assets/packages/@lit/reactive-element/decorators/","lit":"/assets/packages/@patternfly/elements/node_modules/lit/index.js","lit-element/lit-element.js":"/assets/packages/lit-element/lit-element.js","lit-html/":"/assets/packages/lit-html/","lit/":"/assets/packages/@patternfly/elements/node_modules/lit/"}}}</script>
<script type="importmap">{"imports":{"@patternfly/pfe-core":"/assets/packages/@patternfly/pfe-core/core.js","lit-html":"/assets/packages/lit-html/lit-html.js","@floating-ui/core":"/assets/packages/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","tslib":"/assets/packages/tslib/tslib.es6.js","@lit/reactive-element":"/assets/packages/@lit/reactive-element/reactive-element.js","@floating-ui/dom":"/assets/packages/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","lit-element":"/assets/packages/lit-element/index.js","lit/directives/if-defined.js":"/assets/packages/lit/directives/if-defined.js","lit":"/assets/packages/lit/index.js","@patternfly/elements":"/assets/packages/@patternfly/elements/pfe.min.js","@rhds/tokens":"https://ga.jspm.io/npm:@rhds/[email protected]/js/tokens.js","@rhds/tokens/media.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/media.js","@rhds/tokens/meta.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/meta.js","element-internals-polyfill":"/assets/packages/element-internals-polyfill/dist/index.js","fuse.js":"/assets/packages/fuse.js/dist/fuse.esm.js","@rhds/tokens/":"/assets/packages/@rhds/tokens/js/","@rhds/elements/":"/assets/packages/@rhds/elements/elements/","@rhds/elements/lib/":"/assets/packages/@rhds/elements/lib/","@patternfly/elements/":"/assets/packages/@patternfly/elements/","@patternfly/icons/":"/assets/packages/@patternfly/icons/","@patternfly/pfe-core/":"/assets/packages/@patternfly/pfe-core/"},"scopes":{"/assets/packages/":{"@lit/reactive-element/decorators/":"/assets/packages/@lit/reactive-element/decorators/","lit":"/assets/packages/@patternfly/elements/node_modules/lit/index.js","lit-element/lit-element.js":"/assets/packages/lit-element/lit-element.js","lit-html/":"/assets/packages/lit-html/","lit/":"/assets/packages/@patternfly/elements/node_modules/lit/"}}}</script>
<script async="" src="https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js"></script>

<script type="module">
Expand Down
2 changes: 1 addition & 1 deletion about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link type="text/css" href="/assets/pfe--noscript.min.css">
</noscript>

<script type="importmap">{"imports":{"@patternfly/pfe-core":"/assets/packages/@patternfly/pfe-core/core.js","lit-html":"/assets/packages/lit-html/lit-html.js","@floating-ui/core":"/assets/packages/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","tslib":"/assets/packages/tslib/tslib.es6.js","@lit/reactive-element":"/assets/packages/@lit/reactive-element/reactive-element.js","@floating-ui/dom":"/assets/packages/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","lit-element":"/assets/packages/lit-element/index.js","lit/directives/if-defined.js":"/assets/packages/lit/directives/if-defined.js","lit":"/assets/packages/lit/index.js","@patternfly/elements":"/assets/packages/@patternfly/elements/pfe.min.js","@rhds/tokens/media.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/media.js","@rhds/tokens":"https://ga.jspm.io/npm:@rhds/[email protected]/js/tokens.js","@rhds/tokens/meta.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/meta.js","element-internals-polyfill":"/assets/packages/element-internals-polyfill/dist/index.js","fuse.js":"/assets/packages/fuse.js/dist/fuse.esm.js","@rhds/tokens/":"/assets/packages/@rhds/tokens/js/","@rhds/elements/":"/assets/packages/@rhds/elements/elements/","@rhds/elements/lib/":"/assets/packages/@rhds/elements/lib/","@patternfly/elements/":"/assets/packages/@patternfly/elements/","@patternfly/icons/":"/assets/packages/@patternfly/icons/","@patternfly/pfe-core/":"/assets/packages/@patternfly/pfe-core/"},"scopes":{"/assets/packages/":{"@lit/reactive-element/decorators/":"/assets/packages/@lit/reactive-element/decorators/","lit":"/assets/packages/@patternfly/elements/node_modules/lit/index.js","lit-element/lit-element.js":"/assets/packages/lit-element/lit-element.js","lit-html/":"/assets/packages/lit-html/","lit/":"/assets/packages/@patternfly/elements/node_modules/lit/"}}}</script>
<script type="importmap">{"imports":{"@patternfly/pfe-core":"/assets/packages/@patternfly/pfe-core/core.js","lit-html":"/assets/packages/lit-html/lit-html.js","@floating-ui/core":"/assets/packages/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","tslib":"/assets/packages/tslib/tslib.es6.js","@lit/reactive-element":"/assets/packages/@lit/reactive-element/reactive-element.js","@floating-ui/dom":"/assets/packages/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","lit-element":"/assets/packages/lit-element/index.js","lit/directives/if-defined.js":"/assets/packages/lit/directives/if-defined.js","lit":"/assets/packages/lit/index.js","@patternfly/elements":"/assets/packages/@patternfly/elements/pfe.min.js","@rhds/tokens":"https://ga.jspm.io/npm:@rhds/[email protected]/js/tokens.js","@rhds/tokens/media.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/media.js","@rhds/tokens/meta.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/meta.js","element-internals-polyfill":"/assets/packages/element-internals-polyfill/dist/index.js","fuse.js":"/assets/packages/fuse.js/dist/fuse.esm.js","@rhds/tokens/":"/assets/packages/@rhds/tokens/js/","@rhds/elements/":"/assets/packages/@rhds/elements/elements/","@rhds/elements/lib/":"/assets/packages/@rhds/elements/lib/","@patternfly/elements/":"/assets/packages/@patternfly/elements/","@patternfly/icons/":"/assets/packages/@patternfly/icons/","@patternfly/pfe-core/":"/assets/packages/@patternfly/pfe-core/"},"scopes":{"/assets/packages/":{"@lit/reactive-element/decorators/":"/assets/packages/@lit/reactive-element/decorators/","lit":"/assets/packages/@patternfly/elements/node_modules/lit/index.js","lit-element/lit-element.js":"/assets/packages/lit-element/lit-element.js","lit-html/":"/assets/packages/lit-html/","lit/":"/assets/packages/@patternfly/elements/node_modules/lit/"}}}</script>
<script async="" src="https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js"></script>

<script type="module">
Expand Down
2 changes: 1 addition & 1 deletion about/roadmap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link type="text/css" href="/assets/pfe--noscript.min.css">
</noscript>

<script type="importmap">{"imports":{"@patternfly/pfe-core":"/assets/packages/@patternfly/pfe-core/core.js","lit-html":"/assets/packages/lit-html/lit-html.js","@floating-ui/core":"/assets/packages/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","tslib":"/assets/packages/tslib/tslib.es6.js","@lit/reactive-element":"/assets/packages/@lit/reactive-element/reactive-element.js","@floating-ui/dom":"/assets/packages/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","lit-element":"/assets/packages/lit-element/index.js","lit/directives/if-defined.js":"/assets/packages/lit/directives/if-defined.js","lit":"/assets/packages/lit/index.js","@patternfly/elements":"/assets/packages/@patternfly/elements/pfe.min.js","@rhds/tokens/media.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/media.js","@rhds/tokens":"https://ga.jspm.io/npm:@rhds/[email protected]/js/tokens.js","@rhds/tokens/meta.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/meta.js","element-internals-polyfill":"/assets/packages/element-internals-polyfill/dist/index.js","fuse.js":"/assets/packages/fuse.js/dist/fuse.esm.js","@rhds/tokens/":"/assets/packages/@rhds/tokens/js/","@rhds/elements/":"/assets/packages/@rhds/elements/elements/","@rhds/elements/lib/":"/assets/packages/@rhds/elements/lib/","@patternfly/elements/":"/assets/packages/@patternfly/elements/","@patternfly/icons/":"/assets/packages/@patternfly/icons/","@patternfly/pfe-core/":"/assets/packages/@patternfly/pfe-core/"},"scopes":{"/assets/packages/":{"@lit/reactive-element/decorators/":"/assets/packages/@lit/reactive-element/decorators/","lit":"/assets/packages/@patternfly/elements/node_modules/lit/index.js","lit-element/lit-element.js":"/assets/packages/lit-element/lit-element.js","lit-html/":"/assets/packages/lit-html/","lit/":"/assets/packages/@patternfly/elements/node_modules/lit/"}}}</script>
<script type="importmap">{"imports":{"@patternfly/pfe-core":"/assets/packages/@patternfly/pfe-core/core.js","lit-html":"/assets/packages/lit-html/lit-html.js","@floating-ui/core":"/assets/packages/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","tslib":"/assets/packages/tslib/tslib.es6.js","@lit/reactive-element":"/assets/packages/@lit/reactive-element/reactive-element.js","@floating-ui/dom":"/assets/packages/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","lit-element":"/assets/packages/lit-element/index.js","lit/directives/if-defined.js":"/assets/packages/lit/directives/if-defined.js","lit":"/assets/packages/lit/index.js","@patternfly/elements":"/assets/packages/@patternfly/elements/pfe.min.js","@rhds/tokens":"https://ga.jspm.io/npm:@rhds/[email protected]/js/tokens.js","@rhds/tokens/media.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/media.js","@rhds/tokens/meta.js":"https://ga.jspm.io/npm:@rhds/[email protected]/js/meta.js","element-internals-polyfill":"/assets/packages/element-internals-polyfill/dist/index.js","fuse.js":"/assets/packages/fuse.js/dist/fuse.esm.js","@rhds/tokens/":"/assets/packages/@rhds/tokens/js/","@rhds/elements/":"/assets/packages/@rhds/elements/elements/","@rhds/elements/lib/":"/assets/packages/@rhds/elements/lib/","@patternfly/elements/":"/assets/packages/@patternfly/elements/","@patternfly/icons/":"/assets/packages/@patternfly/icons/","@patternfly/pfe-core/":"/assets/packages/@patternfly/pfe-core/"},"scopes":{"/assets/packages/":{"@lit/reactive-element/decorators/":"/assets/packages/@lit/reactive-element/decorators/","lit":"/assets/packages/@patternfly/elements/node_modules/lit/index.js","lit-element/lit-element.js":"/assets/packages/lit-element/lit-element.js","lit-html/":"/assets/packages/lit-html/","lit/":"/assets/packages/@patternfly/elements/node_modules/lit/"}}}</script>
<script async="" src="https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js"></script>

<script type="module">
Expand Down
132 changes: 124 additions & 8 deletions assets/packages/@rhds/elements/elements/rh-dialog/rh-dialog.css
Original file line number Diff line number Diff line change
@@ -1,36 +1,152 @@
#rhds-wrapper {
display: contents;
font-family: "Red Hat Text", RedHatText, Overpass, Helvetica, sans-serif;
:host {
display: block;
position: relative;

--offset: var(--rh-space-md, 8px);
--offset-top: var(--offset);
--offset-right: var(--offset);
--_spacer-align-top: var(--rh-space-md, 8px);
--_height-offset: min(var(--_spacer-align-top), var(--rh-space-3xl, 48px));
}

header ::slotted(:is(h1, h2, h3, h4, h5, h6)[slot="header"]) {
font-family: "Red Hat Display", RedHatDisplay, Overpass, Helvetica, sans-serif;
[hidden] {
display: none !important;
}

section {
display: flex;
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
align-items: center;
justify-content: center;
z-index: 500;
}

#container {
position: relative;
max-height: inherit;
}

[part="overlay"] {
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
background-color: rgba(3, 3, 3, 0.62);
}

[part="dialog"] {
position: relative;
margin: 0 auto;
width: var(--_box-width, calc(100% - var(--rh-space-2xl, 32px)));
max-height: var(--_box-max-height, calc(100% - var(--rh-space-3xl, 48px)));
box-shadow:
0 1rem 2rem 0 rgba(3, 3, 3, 0.16),
0 0 0.5rem 0 rgba(3, 3, 3, 0.1);
padding: var(--rh-space-xl, 24px);
margin-inline: var(--rh-space-lg, 16px);
background-color: var(--rh-color-surface-lightest, #ffffff);
max-width: min(90%, 1140px);
border-radius: var(--rh-border-radius-default, 3px);
color: var(--rh-color-text-primary-on-light, #151515);
font-family: inherit;
}

:host([width]) [part="dialog"],
:host([variant]) [part="dialog"] {
margin-inline: 0;
}

:host([width="small"]) [part="dialog"],
:host([variant="small"]) [part="dialog"] {
--_box-width: 35rem;
}

:host([width="medium"]) [part="dialog"],
:host([variant="medium"]) [part="dialog"] {
--_box-width: 52.5rem;
}

:host([width="large"]) [part="dialog"],
:host([variant="large"]) [part="dialog"] {
--_box-width: 70rem;
}

[part="content"] {
overflow-y: auto;
overscroll-behavior: contain;
max-height: var(--_box-max-height, calc(100vh - var(--rh-space-3xl, 48px)));
box-sizing: border-box;
border-radius: var(--rh-border-radius-default, 3px);
}

[part="content"] ::slotted([slot="header"]) {
margin-top: 0 !important;
}

header {
position: sticky;
top: 0;
background-color: var(--rh-color-surface-lightest, #ffffff);
}

header ::slotted(:is(h1,h2,h3,h4,h5,h6)[slot="header"]) {
font-size: var(--rh-font-size-heading-sm, 1.5rem);
font-weight: var(--rh-font-weight-body-text-regular, 400);
font-family: "Red Hat Display", RedHatDisplay, Overpass, Helvetica, sans-serif;
}

[part="close-button"] {
color: var(--rh-color-icon-subtle, #707070);
background-color: transparent;
border: none;
margin: 0;
padding: 0;
text-align: left;
position: absolute;
cursor: pointer;
line-height: 24px;
padding-block: 0.375rem;
padding-inline: var(--rh-space-lg, 16px);
top: 0;
right: calc(var(--rh-space-xl, 24px) / -3);
}

[part="close-button"] > svg {
font-size: 16px;
width: var(--rh-space-lg, 16px);
aspect-ratio: 1/1;
}

[part="close-button"]:is(:hover, :focus-within, :focus-visible) svg:is(svg, :hover) {
fill: var(--rh-color-icon-secondary-on-light, #151515);
}

:host([position="top"]) #dialog {
align-self: start;
margin-block: var(--rh-space-2xl, 32px);
margin-inline: var(--rh-space-lg, 16px);
width: 100%;
max-width: calc(100% - min(var(--rh-space-2xl, 32px) * 2, var(--rh-space-2xl, 32px)));
max-height: calc(100% - var(--_height-offset) - var(--_spacer-align-top));
}

footer {
display: flex;
align-items: center;
gap: var(--rh-space-md, 8px);
}

#rhds-wrapper {
display: contents;
font-family: "Red Hat Text", RedHatText, Overpass, Helvetica, sans-serif;

--offset: var(--rh-space-md, 8px);
--offset-top: var(--offset);
--offset-right: var(--offset);
}

:host([type="video"]) {
--rh-dialog-close-button-color: var(--rh-color-icon-secondary-on-dark, #ffffff);
}
Expand Down
Loading

0 comments on commit 20c4399

Please sign in to comment.