From d35592fe8fb6142af285d8806e2671f0bf6df06c Mon Sep 17 00:00:00 2001 From: betocantu93 Date: Fri, 18 Mar 2022 15:26:12 -0600 Subject: [PATCH 1/2] fix: docs styles --- site/app/index.html | 13 +- site/app/styles/app.css | 72 +++----- site/app/styles/highlight.css | 262 +++++++++++++++++++++++------ site/app/styles/markdown/dark.css | 95 ----------- site/app/styles/markdown/light.css | 121 ++++++------- 5 files changed, 290 insertions(+), 273 deletions(-) delete mode 100644 site/app/styles/markdown/dark.css diff --git a/site/app/index.html b/site/app/index.html index 7bdf397a3..e0933054d 100644 --- a/site/app/index.html +++ b/site/app/index.html @@ -1,17 +1,16 @@ - - + + Ember Eui - - + + {{content-for "head"}} - - - + + {{content-for "head-footer"}} diff --git a/site/app/styles/app.css b/site/app/styles/app.css index 8082bdb11..6f5fc7a81 100644 --- a/site/app/styles/app.css +++ b/site/app/styles/app.css @@ -2,68 +2,38 @@ @import 'tailwindcss/components'; @import 'tailwindcss/utilities'; -@import './markdown/markdown.css'; -@import './markdown/structure.css'; +/* @import './markdown/markdown.css'; */ +/* @import './markdown/structure.css'; */ /* @import './markdown/dark.css'; */ @import './markdown/light.css'; @import './highlight.css'; -*, -::before, -::after { - border-style: none; - box-sizing: border-box; - border-width: 0; - border-color: unset; -} -img { - border: none; -} - -.docfy-demo__description { - @apply border rounded-t; - - &__header { - @apply flex justify-between; - &__title { - @apply mb-4 font-medium leading-tight; - } - - &__edit-url { - @apply text-sm; - } - } - - &__content { - @apply markdown; - } +#examples { + @apply mt-10 text-xl; } -.docfy-demo__snippets { - &__tabs { - @apply px-2 border-l border-r; +.prose h2, +.prose h3, +.prose h4, +.docfy-demo__description__header__title { + & > a { + @apply ml-6; + &::before { + content: '#'; + @apply absolute pr-2 -ml-4 opacity-100; + } - &__button { - @apply p-2 mr-2 border-b-4; + @screen lg { + @apply ml-0; - &--active, - &:hover { - @apply border-blue-500; + &::before { + @apply pr-1 opacity-0; } } } -} - -.docfy-demo__snippet { - pre { - @apply flex mt-8 text-gray-200 bg-gray-800; - @apply text-sm leading-normal; - @apply font-mono; - @apply rounded-b; - font-weight: 400; - scrollbar-width: none; - &::-webkit-scrollbar { - display: none; + &:hover { + & > a::before { + @apply opacity-100; } } } diff --git a/site/app/styles/highlight.css b/site/app/styles/highlight.css index 4dd1881cc..d2fe26691 100644 --- a/site/app/styles/highlight.css +++ b/site/app/styles/highlight.css @@ -1,82 +1,244 @@ -/* -Original: Atom One Dark by Daniel Gamage -Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax -Modified for AddonDocs. +/*! + Theme: GitHub Dark + Description: Dark theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + Outdated base version: https://github.com/primer/github-syntax-dark + Current colors taken from GitHub's CSS */ .hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - color: #abb2bf; - /* background: #282c34; */ -} - -.hljs-comment, -.hljs-quote { - color: #5c6370; - font-style: italic; + color: #c9d1d9; } .hljs-doctag, .hljs-keyword, -.hljs-formula { - color: #c678dd; +.hljs-meta .hljs-keyword, +.hljs-template-tag, +.hljs-template-variable, +.hljs-type, +.hljs-variable.language_ { + /* prettylights-syntax-keyword */ + color: #ff7b72; } -.hljs-section, -.hljs-name, -.hljs-selector-tag, -.hljs-deletion, -.hljs-subst { - color: #e06c75; +.hljs-title, +.hljs-title.class_, +.hljs-title.class_.inherited__, +.hljs-title.function_ { + /* prettylights-syntax-entity */ + color: #d2a8ff; } -.hljs-literal { - color: #56b6c2; +.hljs-attr, +.hljs-attribute, +.hljs-literal, +.hljs-meta, +.hljs-number, +.hljs-operator, +.hljs-variable, +.hljs-selector-attr, +.hljs-selector-class, +.hljs-selector-id { + /* prettylights-syntax-constant */ + color: #79c0ff; } -.hljs-string, .hljs-regexp, -.hljs-addition, -.hljs-attribute, -.hljs-meta-string { - color: #98c379; +.hljs-string, +.hljs-meta .hljs-string { + /* prettylights-syntax-string */ + color: #a5d6ff; } .hljs-built_in, -.hljs-class .hljs-title { - color: #e6c07b; +.hljs-symbol { + /* prettylights-syntax-variable */ + color: #ffa657; } -.hljs-attr, -.hljs-variable, -.hljs-template-variable, -.hljs-type, -.hljs-selector-class, -.hljs-selector-attr, -.hljs-selector-pseudo, -.hljs-number { - color: #e06c75; +.hljs-comment, +.hljs-code, +.hljs-formula { + /* prettylights-syntax-comment */ + color: #8b949e; } -.hljs-symbol, -.hljs-bullet, -.hljs-link, -.hljs-meta, -.hljs-selector-id, -.hljs-title { - color: #61aeee; +.hljs-name, +.hljs-quote, +.hljs-selector-tag, +.hljs-selector-pseudo { + /* prettylights-syntax-entity-tag */ + color: #7ee787; +} + +.hljs-subst { + /* prettylights-syntax-storage-modifier-import */ + color: #c9d1d9; +} + +.hljs-section { + /* prettylights-syntax-markup-heading */ + color: #1f6feb; + font-weight: bold; +} + +.hljs-bullet { + /* prettylights-syntax-markup-list */ + color: #f2cc60; } .hljs-emphasis { + /* prettylights-syntax-markup-italic */ + color: #c9d1d9; font-style: italic; } .hljs-strong { + /* prettylights-syntax-markup-bold */ + color: #c9d1d9; font-weight: bold; } -.hljs-link { - text-decoration: underline; +.hljs-addition { + /* prettylights-syntax-markup-inserted */ + color: #aff5b4; + background-color: #033a16; +} + +.hljs-deletion { + /* prettylights-syntax-markup-deleted */ + color: #ffdcd7; + background-color: #67060c; +} + +.hljs-char.escape_, +.hljs-link, +.hljs-params, +.hljs-property, +.hljs-punctuation, +.hljs-tag { + /* purposely ignored */ +} + +.prose code.code-transparent { + background-color: transparent; + padding: 0; +} + +.hljs-light-theme { + .hljs { + color: #24292e; + } + + .hljs-doctag, + .hljs-keyword, + .hljs-meta .hljs-keyword, + .hljs-template-tag, + .hljs-template-variable, + .hljs-type, + .hljs-variable.language_ { + /* prettylights-syntax-keyword */ + color: #d73a49; + } + + .hljs-title, + .hljs-title.class_, + .hljs-title.class_.inherited__, + .hljs-title.function_ { + /* prettylights-syntax-entity */ + color: #6f42c1; + } + + .hljs-attr, + .hljs-attribute, + .hljs-literal, + .hljs-meta, + .hljs-number, + .hljs-operator, + .hljs-variable, + .hljs-selector-attr, + .hljs-selector-class, + .hljs-selector-id { + /* prettylights-syntax-constant */ + color: #005cc5; + } + + .hljs-regexp, + .hljs-string, + .hljs-meta .hljs-string { + /* prettylights-syntax-string */ + color: #032f62; + } + + .hljs-built_in, + .hljs-symbol { + /* prettylights-syntax-variable */ + color: #e36209; + } + + .hljs-comment, + .hljs-code, + .hljs-formula { + /* prettylights-syntax-comment */ + color: #6a737d; + } + + .hljs-name, + .hljs-quote, + .hljs-selector-tag, + .hljs-selector-pseudo { + /* prettylights-syntax-entity-tag */ + color: #22863a; + } + + .hljs-subst { + /* prettylights-syntax-storage-modifier-import */ + color: #24292e; + } + + .hljs-section { + /* prettylights-syntax-markup-heading */ + color: #005cc5; + font-weight: bold; + } + + .hljs-bullet { + /* prettylights-syntax-markup-list */ + color: #735c0f; + } + + .hljs-emphasis { + /* prettylights-syntax-markup-italic */ + color: #24292e; + font-style: italic; + } + + .hljs-strong { + /* prettylights-syntax-markup-bold */ + color: #24292e; + font-weight: bold; + } + + .hljs-addition { + /* prettylights-syntax-markup-inserted */ + color: #22863a; + background-color: #f0fff4; + } + + .hljs-deletion { + /* prettylights-syntax-markup-deleted */ + color: #b31d28; + background-color: #ffeef0; + } + + .hljs-char.escape_, + .hljs-link, + .hljs-params, + .hljs-property, + .hljs-punctuation, + .hljs-tag { + /* purposely ignored */ + } } \ No newline at end of file diff --git a/site/app/styles/markdown/dark.css b/site/app/styles/markdown/dark.css deleted file mode 100644 index 5e7a2794c..000000000 --- a/site/app/styles/markdown/dark.css +++ /dev/null @@ -1,95 +0,0 @@ -.mode-dark { - .markdown, - .docfy-demo__description__content { - @apply text-gray-400; - - > hr { - @apply border-gray-800; - } - - > a, - > p a, - > ul li a, - > ol li a { - @apply text-green-500; - - &:hover { - @apply text-green-600; - } - strong { - @apply text-green-500; - } - code { - @apply text-green-500; - } - } - - > p strong, - > ul strong { - @apply text-gray-200; - } - - > p code, - > ul li *:not(pre) code, - > ul li > code, - > ol li *:not(pre) code, - > ol li > code, - > table td code, - > h1 > code, - > h2 > code, - > h3 > code, - > h4 > code, - > h5 > code, - > h6 > code { - @apply bg-gray-1000; - @apply text-green-500; - } - - > pre, - > ul li pre, - > ol li pre { - @apply text-gray-400 bg-gray-1000; - } - - > blockquote, - > blockquote blockquote { - @apply bg-gray-1000; - @apply border-gray-600; - } - - > h1, - > h2, - > h3, - > h4, - > h5, - > h6 { - @apply text-green-100; - } - - > ul:not(.list-none) { - li::before { - @apply text-gray-600; - } - } - - > ol { - > li::before { - @apply bg-gray-700; - @apply text-gray-200; - } - } - - > table { - th { - @apply text-gray-400 bg-gray-1000; - } - td { - @apply border-gray-800; - } - } - }, - .docfy-demo__description__header { - color: inherit; - } - -} \ No newline at end of file diff --git a/site/app/styles/markdown/light.css b/site/app/styles/markdown/light.css index 98bf0b34a..09388fd62 100644 --- a/site/app/styles/markdown/light.css +++ b/site/app/styles/markdown/light.css @@ -1,84 +1,65 @@ -.markdown, -.docfy-demo__description__content { - @apply text-gray-700; +.docfy-demo { + @apply mt-8 mb-12; +} - > hr { - @apply border-gray-200; - } - - > a, - > p a, - > ul li a, - > ol li a { - @apply text-green-700; +div.docfy-demo__example { + @apply p-4 border-t border-l border-r border-solid rounded-t; + border-color: #d3dae6; + border-style: solid solid none solid; +} - &:hover { - @apply text-green-800; - } - strong { - @apply text-green-700; - } - code { - @apply text-green-700; - } - } +.docfy-demo__description { + @apply pb-5; - > p strong, - > ul strong { - @apply text-gray-800; - } + &__header { + @apply flex items-center justify-between mb-4; - > p code, - > ul li *:not(pre) code, - > ul li > code, - > ol li *:not(pre) code, - > ol li > code, - > table td code, - > h1 > code, - > h2 > code, - > h3 > code, - > h4 > code, - > h5 > code, - > h6 > code { - @apply bg-yellow-200 bg-opacity-50; - } + &__title { + font-size: 1.92857rem; + word-wrap: break-word; + color: #1a1c21; + line-height: 2.28571rem; + font-weight: 700; + } - > pre, - > ul li pre, - > ol li pre { - @apply text-gray-400 bg-gray-900; + &__edit-url { + @apply text-xs; + &:hover { + @apply text-gray-800; + } + } } +} - > blockquote, - > blockquote blockquote { - @apply bg-gray-100; - @apply border-gray-400; - } +.docfy-demo__snippets { + &__tabs { + @apply border-t border-l border-r; + padding: 4px 12px; + border-color: #d3dae6; + border-style: solid solid none solid; - > h1, - { - @apply font-bold; - } + &__button { + @apply p-2 mr-2 text-gray-700 border-b-4 border-transparent; - > ul:not(.list-none) { - li::before { - @apply text-gray-400; + &--active, + &:hover { + @apply border-blue-700; + border-bottom-style: solid; + } } } +} - > ol { - > li::before { - @apply bg-gray-300; - @apply text-gray-700; - } - } +.docfy-demo__snippet { + @apply border rounded-b; - > table { - th { - @apply text-gray-700 bg-gray-100; - } - td { - @apply border-gray-200; - } + pre { + @apply p-4; + @apply flex text-gray-200 bg-gray-800; + @apply text-sm leading-normal; + @apply font-mono; + @apply rounded-b; + @apply overflow-auto; + scrollbar-width: none; } -} \ No newline at end of file +} From ece938e50db2e78bc0edfe788fdde95a81bb0700 Mon Sep 17 00:00:00 2001 From: betocantu93 Date: Fri, 18 Mar 2022 16:43:54 -0600 Subject: [PATCH 2/2] feat: finish flyout and collapsible --- docs/installation.md | 6 +- package.json | 6 +- packages/changeset-form/package.json | 4 +- packages/core/CHANGELOG.md | 16 + .../eui-collapsible-nav-group/index.hbs | 180 ++++--- .../components/eui-collapsible-nav/index.hbs | 79 ++- .../components/eui-collapsible-nav/index.ts | 161 ++++++ .../eui-flyout-body/banner/index.hbs | 3 - .../eui-flyout-body/content/index.hbs | 3 - .../components/eui-flyout-body/index.hbs | 28 +- .../addon/components/eui-flyout/index.hbs | 173 ++++-- .../core/addon/components/eui-flyout/index.ts | 234 ++++++++ .../components/eui-overlay-mask/index.hbs | 8 +- .../components/eui-overlay-mask/index.ts | 15 +- packages/core/addon/helpers/class-names.ts | 1 + .../addon/utils/css-mappings/eui-flyout.ts | 22 +- .../eui-flyout-body/banner/index.js | 1 - .../eui-flyout-body/content/index.js | 1 - .../core/docs/layout/flyout-demo/demo1.md | 30 +- .../core/docs/layout/flyout-demo/demo2.md | 71 ++- .../core/docs/layout/flyout-demo/demo3.md | 99 ++++ .../core/docs/layout/flyout-demo/demo4.md | 115 ++++ .../core/docs/layout/flyout-demo/demo5.md | 59 ++ .../core/docs/layout/flyout-demo/demo6.md | 57 ++ .../core/docs/layout/flyout-demo/demo7.md | 51 ++ .../navigation/collapsible-nav-demo/demo1.md | 65 +-- .../navigation/collapsible-nav-demo/demo2.md | 108 ++++ packages/core/package.json | 4 +- packages/validated-form/package.json | 4 +- site/package.json | 8 +- yarn.lock | 508 +++++++++--------- 31 files changed, 1596 insertions(+), 524 deletions(-) create mode 100644 packages/core/addon/components/eui-collapsible-nav/index.ts delete mode 100644 packages/core/addon/components/eui-flyout-body/banner/index.hbs delete mode 100644 packages/core/addon/components/eui-flyout-body/content/index.hbs create mode 100644 packages/core/addon/components/eui-flyout/index.ts delete mode 100644 packages/core/app/components/eui-flyout-body/banner/index.js delete mode 100644 packages/core/app/components/eui-flyout-body/content/index.js create mode 100644 packages/core/docs/layout/flyout-demo/demo3.md create mode 100644 packages/core/docs/layout/flyout-demo/demo4.md create mode 100644 packages/core/docs/layout/flyout-demo/demo5.md create mode 100644 packages/core/docs/layout/flyout-demo/demo6.md create mode 100644 packages/core/docs/layout/flyout-demo/demo7.md create mode 100644 packages/core/docs/navigation/collapsible-nav-demo/demo2.md diff --git a/docs/installation.md b/docs/installation.md index f27b6d3d6..55066136c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -23,9 +23,9 @@ if so, you can force that all packages use the same dependency with npm `overrid ``` "resolutions": { - "@embroider/macros": "^1.3.0", - "@embroider/shared-internals": "^1.3.0", - "@embroider/util": "^1.3.0" + "@embroider/macros": "^1.5.0", + "@embroider/shared-internals": "^1.5.0", + "@embroider/util": "^1.5.0" } ``` diff --git a/package.json b/package.json index 8b28aeee6..ac819664c 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,9 @@ "lerna": "^4.0.0" }, "resolutions": { - "@embroider/macros": "^1.3.0", - "@embroider/shared-internals": "^1.3.0", - "@embroider/util": "^1.3.0" + "@embroider/macros": "^1.5.0", + "@embroider/shared-internals": "^1.5.0", + "@embroider/util": "^1.5.0" }, "volta": { "node": "16.14.0", diff --git a/packages/changeset-form/package.json b/packages/changeset-form/package.json index 7f4c1d5a4..e70b2b096 100644 --- a/packages/changeset-form/package.json +++ b/packages/changeset-form/package.json @@ -44,8 +44,8 @@ "@ember/optional-features": "^2.0.0", "@ember/render-modifiers": "^1.0.2", "@ember/test-helpers": "^2.6.0", - "@embroider/test-setup": "^1.0.0", - "@embroider/util": "^1.3.0", + "@embroider/test-setup": "^1.5.0", + "@embroider/util": "^1.5.0", "@glimmer/component": "^1.0.4", "@glimmer/tracking": "^1.0.4", "@types/ember": "^3.16.4", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 37e8aae31..7168fafb2 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -2,6 +2,22 @@ ### Master +### 5.0.0 +๐Ÿ’ฅ Breaking change +`@ember-eui/core` +- Deprecate `` and ``, we now use named blocks `<:content>` `<:banner>` + +๐Ÿ› Bug / Fixes +`@ember-eui/core` +- `` now correctly only executes outside clicks, you must provide `{{@onClick}}` argument for that. + +๐Ÿš€ Enhancements +`@ember-eui/core` +Update core components to @elastic/eui v4.1.4 +- `` +- `` + + ### 4.2.5 ๐Ÿ› Bug / Fixes `@ember-eui/core` diff --git a/packages/core/addon/components/eui-collapsible-nav-group/index.hbs b/packages/core/addon/components/eui-collapsible-nav-group/index.hbs index ca3e2e5e5..6f159302f 100644 --- a/packages/core/addon/components/eui-collapsible-nav-group/index.hbs +++ b/packages/core/addon/components/eui-collapsible-nav-group/index.hbs @@ -1,76 +1,124 @@ -{{#let (unique-id) as |groupId|}} - {{#if (and @isCollapsible (has-block "title"))}} - - <:buttonContent> - - {{#if @iconType}} -
- -
- {{/if}} - - - {{yield to="title"}} - - -
- - <:content> -
- {{yield to="content"}} -
- -
- {{else}} -
- {{#if (has-block "title")}} -
- +{{#let + (arg-or-default @id (unique-id)) + (arg-or-default @titleElement "h3") + as |groupID titleElement| +}} + {{#let (concat groupID "__title") as |titleID|}} + {{#if (and @isCollapsible (has-block "title"))}} + + <:buttonContent> + {{#if @iconType}} -
- -
+ + + {{/if}} - - {{yield to="title"}} + {{#if (not-eq titleElement "h3")}} + {{#let (element titleElement) as |TitleElement|}} + + {{yield to="title"}} + + {{/let}} + {{else}} +

+ {{yield to="title"}} +

+ {{/if}}
-
- {{/if}} -
- {{yield to="content"}} + + <:content> + {{#if (has-block "content")}} +
+ {{yield to="content"}} +
+ {{/if}} + + + {{else}} +
+ {{#if (has-block "title")}} +
+ + {{#if @iconType}} + + + + {{/if}} + + + {{#if (not-eq titleElement "h3")}} + {{#let (element titleElement) as |TitleElement|}} + + {{yield to="title"}} + + {{/let}} + {{else}} +

+ {{yield to="title"}} +

+ {{/if}} +
+
+
+
+ {{/if}} + {{#if (has-block "content")}} +
+ {{yield to="content"}} +
+ {{/if}}
-
- {{/if}} -{{/let}} + {{/if}} + {{/let}} +{{/let}} \ No newline at end of file diff --git a/packages/core/addon/components/eui-collapsible-nav/index.hbs b/packages/core/addon/components/eui-collapsible-nav/index.hbs index a7445f508..3bafa7958 100644 --- a/packages/core/addon/components/eui-collapsible-nav/index.hbs +++ b/packages/core/addon/components/eui-collapsible-nav/index.hbs @@ -1,47 +1,38 @@ -{{! - Trigger button itself - By using a named block you can place any button as the trigger: - eg. HeaderSectionItem, EuiButton, EuiButtonIcon, or any custom button -}} -{{#if (not (and @navIsDocked (not @showButtonIfDocked)))}} - {{yield to="button"}} -{{/if}} -{{! - The side navigation panel, acts the same way as a flyout -}} -{{#if @isOpen}} - {{#let (unique-id) as |flyoutId|}} - {{#unless @navIsDocked}} - - {{/unless}} - - {{/let}} -{{/if}} \ No newline at end of file + + {{/if}} +{{/let}} \ No newline at end of file diff --git a/packages/core/addon/components/eui-collapsible-nav/index.ts b/packages/core/addon/components/eui-collapsible-nav/index.ts new file mode 100644 index 000000000..36659b2f6 --- /dev/null +++ b/packages/core/addon/components/eui-collapsible-nav/index.ts @@ -0,0 +1,161 @@ +import Component from '@glimmer/component'; +import { EuiBreakpointSize } from '../../utils/breakpoint'; +import { tracked } from '@glimmer/tracking'; +import { isWithinMinBreakpoint } from '../../utils/breakpoint'; +import { throttle } from '@ember/runloop'; +import { action } from '@ember/object'; +import { modifier } from 'ember-modifier'; + +export type EuiCollapsibleNavArgs = { + /** + * ReactNode to render as this component's content + */ + children?: Component; + /** + * Shows the navigation flyout + */ + isOpen?: boolean; + /** + * Keeps navigation flyout visible and push `` content via padding + */ + isDocked?: boolean; + /** + * Named breakpoint or pixel value for customizing the minimum window width to enable docking + */ + dockedBreakpoint?: EuiBreakpointSize | number; + /** + * Keeps the display of toggle button when in docked state + */ + showButtonIfDocked?: boolean; + + as: string; + + size?: number; + + side?: 'left' | 'right'; + + role?: null | string; + + ownFocus?: boolean; + + outsideClickCloses?: boolean; + + closeButtonPosition?: 'outside' | 'inside'; + + paddingSize?: string; +}; + +const triggerHandlersModifier = modifier( + ( + element: HTMLElement, + _pos, + { flyoutID, isOpen }: { flyoutID: string; isOpen: boolean } + ) => { + element.setAttribute('aria-controls', flyoutID); + element.setAttribute('aria-expanded', isOpen ? 'true' : ''); + element.setAttribute('aria-pressed', isOpen ? 'true' : ''); + + const fn = (e: Event) => { + e.stopImmediatePropagation(); + }; + + element.addEventListener('touchend', fn); + element.addEventListener('mouseup', fn, true); + return () => { + element.removeEventListener('touchend', fn); + element.removeEventListener('mouseup', fn, true); + }; + } +); + +const onWindowResizeModifier = modifier( + ( + _ele: HTMLElement, + _pos, + { + isDocked = false, + functionToCallOnWindowResize + }: { isDocked: boolean; functionToCallOnWindowResize: () => void } + ) => { + if (isDocked) { + window.addEventListener('resize', functionToCallOnWindowResize); + } + + return () => { + if (isDocked) { + window.removeEventListener('resize', functionToCallOnWindowResize); + } + }; + } +); + +export default class EuiCollapsibleNavComponent extends Component { + triggerHandlers = triggerHandlersModifier; + onWindowResize = onWindowResizeModifier; + @tracked windowIsLargeEnoughToPush = isWithinMinBreakpoint( + typeof window === 'undefined' ? -Infinity : window.innerWidth, + this.dockedBreakpoint + ); + + get isDocked() { + return this.args.isDocked ?? false; + } + + get navIsDocked() { + return this.isDocked && this.windowIsLargeEnoughToPush; + } + + get dockedBreakpoint() { + return this.args.dockedBreakpoint ?? 'l'; + } + + get showButtonIfDocked() { + return this.args.showButtonIfDocked ?? false; + } + + get as() { + return this.args.as ?? 'nav'; + } + + get size() { + if (this.args.size && typeof this.args.size !== 'string') { + return `${this.args.size}px`; + } + return this.args.size ?? '320px'; + } + + get side() { + return this.args.side ?? 'left'; + } + + get role() { + return this.args.role ?? null; + } + + get ownFocus() { + return this.args.ownFocus ?? true; + } + + get outsideClickCloses() { + return this.args.outsideClickCloses ?? true; + } + + get closeButtonPosition() { + return this.args.closeButtonPosition ?? 'outside'; + } + + get paddingSize() { + return this.args.paddingSize ?? 'none'; + } + + @action + functionToCallOnWindowResize() { + throttle(() => { + if (isWithinMinBreakpoint(window.innerWidth, this.dockedBreakpoint)) { + this.windowIsLargeEnoughToPush = true; + } else { + this.windowIsLargeEnoughToPush = false; + } + }, 50); + } +} diff --git a/packages/core/addon/components/eui-flyout-body/banner/index.hbs b/packages/core/addon/components/eui-flyout-body/banner/index.hbs deleted file mode 100644 index cd233f3b8..000000000 --- a/packages/core/addon/components/eui-flyout-body/banner/index.hbs +++ /dev/null @@ -1,3 +0,0 @@ -
- {{yield}} -
\ No newline at end of file diff --git a/packages/core/addon/components/eui-flyout-body/content/index.hbs b/packages/core/addon/components/eui-flyout-body/content/index.hbs deleted file mode 100644 index 09d178f07..000000000 --- a/packages/core/addon/components/eui-flyout-body/content/index.hbs +++ /dev/null @@ -1,3 +0,0 @@ -
- {{yield}} -
\ No newline at end of file diff --git a/packages/core/addon/components/eui-flyout-body/index.hbs b/packages/core/addon/components/eui-flyout-body/index.hbs index 61729fecb..048bb1f6e 100644 --- a/packages/core/addon/components/eui-flyout-body/index.hbs +++ b/packages/core/addon/components/eui-flyout-body/index.hbs @@ -1,15 +1,29 @@ -
+
- {{yield - (hash - banner=(component "eui-flyout-body/banner") - content=(component "eui-flyout-body/content") - ) + {{#if (has-block "banner")}} +
+ {{yield to="banner"}} +
+ {{/if}} + + {{#if + (or (has-block "banner") (has-block "content") (has-block "default")) }} +
+ {{#if (has-block "default")}} + {{yield to="default"}} + {{else}} + {{yield to="content"}} + {{/if}} +
+ {{else}} + {{yield}} + {{/if}}
\ No newline at end of file diff --git a/packages/core/addon/components/eui-flyout/index.hbs b/packages/core/addon/components/eui-flyout/index.hbs index bb8d0752a..b0d59d9b7 100644 --- a/packages/core/addon/components/eui-flyout/index.hbs +++ b/packages/core/addon/components/eui-flyout/index.hbs @@ -1,47 +1,134 @@ -{{#if @ownFocus}} - -{{/if}} -{{set-body-class "euiBody--hasFlyout"}} - {{#let - (if - (not (or (eq @maxWidth false) (eq @maxWidth true))) - (inline-styles max-width=@maxWidth) - (hash) + (class-names + (if (eq this.maxWidth true) "euiFlyout--maxWidth-default") + componentName="EuiFlyout" + type=this.type + side=this.side + size=this.size + padding=this.paddingSize + ) + (class-names + "euiFlyout__closeButton" + (concat "euiFlyout__closeButton--" this.closeButtonPosition) + (or @closeButtonProps.className @closeButtonProps.classes) + ) + (modifier + "focus-trap" + isActive=(arg-or-default @isFocusTrapActive true) + shouldSelfFocus=(arg-or-default @shouldSelfFocus true) + isPaused=this.isPushed + focusTrapOptions=(arg-or-default + @focusTrapOptions + (hash allowOutsideClick=true clickOutsideDeactivates=(not this.ownFocus)) + ) ) - as |inlineStyles| + (modifier + "outside-click-detector" + isDisabled=(or this.isPushed (not this.outsideClickCloses)) + onOutsideClick=this.onClose + ) + (modifier "style" this.styles) + (modifier "on-key" "Escape" this.onClose) + (modifier + this.classesModifier + type=this.type + isPushed=this.isPushed + side=this.side + dimensions=this.dimensions + functionToCallOnWindowResize=this.functionToCallOnWindowResize + ) + (modifier "resize-observer" onResize=this.onResize) + (element this.as) + as |classes closeButtonClasses focusTrap outsideClickDetector currentStyles onEscape classesModifier resizeObserver Element| }} - + + {{#if (and this.ownFocus (not this.isPushed))}} + + + {{#if (and @onClose (not @hideCloseButton))}} + + {{/if}} + {{yield}} + + + {{else if (not this.isPushed)}} + + + {{#if (and @onClose (not @hideCloseButton))}} + + {{/if}} + {{yield}} + + + {{else}} + + {{#if (and @onClose (not @hideCloseButton))}} + + {{/if}} + {{yield}} + + {{/if}} {{/let}} \ No newline at end of file diff --git a/packages/core/addon/components/eui-flyout/index.ts b/packages/core/addon/components/eui-flyout/index.ts new file mode 100644 index 000000000..fafdd3be6 --- /dev/null +++ b/packages/core/addon/components/eui-flyout/index.ts @@ -0,0 +1,234 @@ +import Component from '@glimmer/component'; +import { EuiBreakpointSize } from '../../utils/breakpoint'; +import { tracked } from '@glimmer/tracking'; +import { isWithinMinBreakpoint } from '../../utils/breakpoint'; +import { throttle } from '@ember/runloop'; +import { action } from '@ember/object'; +import { modifier } from 'ember-modifier'; +import { keysOf } from '../common'; +import { sizeMapping } from '../../utils/css-mappings/eui-flyout'; + +export type EuiCollapsibleNavArgs = { + /** + * Shows the navigation flyout + */ + isOpen?: boolean; + /** + * Keeps navigation flyout visible and push `` content via padding + */ + isDocked?: boolean; + /** + * Named breakpoint or pixel value for customizing the minimum window width to enable docking + */ + dockedBreakpoint?: EuiBreakpointSize | number; + /** + * Keeps the display of toggle button when in docked state + */ + showButtonIfDocked?: boolean; + + as: string; + + size?: number; + + side?: 'left' | 'right'; + + role?: null | string; + + ownFocus?: boolean; + + outsideClickCloses?: boolean; + + closeButtonPosition?: 'outside' | 'inside'; + + paddingSize?: string; + + hideCloseButton?: boolean; + + closeButtonProps?: { + className: string; + onClick: (e: MouseEvent) => void; + }; + + closeButtonAriaLabel?: string; + + onClose: () => void; + + maxWidth?: boolean | number; + + maskProps?: Record; + + type?: string; + + pushMinBreakpoint?: number | EuiBreakpointSize; +}; + +const classesModifier = modifier( + ( + _element: HTMLElement, + _pos, + { + type, + isPushed, + side, + dimensions = {}, + functionToCallOnWindowResize + }: { + type: string; + isPushed: boolean; + side: string; + dimensions: { width?: string }; + functionToCallOnWindowResize: () => void; + } + ) => { + // This class doesn't actually do anything by EUI, but is nice to add for consumers (JIC) + document.body.classList.add('euiBody--hasFlyout'); + + /** + * Accomodate for the `isPushed` state by adding padding to the body equal to the width of the element + */ + if (type === 'push') { + // Only add the event listener if we'll need to accommodate with padding + window.addEventListener('resize', functionToCallOnWindowResize); + + if (isPushed) { + if (side === 'right') { + console.log(dimensions) + document.body.style.paddingRight = `${dimensions.width}px`; + } else if (side === 'left') { + document.body.style.paddingLeft = `${dimensions.width}px`; + } + } + } + + return () => { + document.body.classList.remove('euiBody--hasFlyout'); + + if (type === 'push') { + window.removeEventListener('resize', functionToCallOnWindowResize); + + if (side === 'right') { + document.body.style.paddingRight = ''; + } else if (side === 'left') { + document.body.style.paddingLeft = ''; + } + } + }; + } +); + +export const SIZES = keysOf(sizeMapping); +export type EuiFlyoutSize = typeof SIZES[number]; + +function isEuiFlyoutSizeNamed(value: any): value is EuiFlyoutSize { + return SIZES.includes(value as any); +} + +export default class EuiCollapsibleNavComponent extends Component { + classesModifier = classesModifier; + + @tracked windowIsLargeEnoughToPush = isWithinMinBreakpoint( + typeof window === 'undefined' ? -Infinity : window.innerWidth, + this.pushMinBreakpoint + ); + + @tracked dimensions: undefined | { width: number; height: number }; + + get as() { + return this.args.as ?? 'div'; + } + + get hideCloseButton() { + return this.args.hideCloseButton ?? false; + } + + get closeButtonPosition() { + return this.args.closeButtonPosition ?? 'inside'; + } + + get ownFocus() { + return this.args.ownFocus ?? true; + } + + get side() { + return this.args.side ?? 'right'; + } + + get size() { + return this.args.size ?? 'm'; + } + + get paddingSize() { + return this.args.paddingSize ?? 'l'; + } + + get maxWidth() { + return this.args.maxWidth ?? false; + } + + get type() { + return this.args.type ?? 'overlay'; + } + + get outsideClickCloses() { + return this.args.outsideClickCloses ?? false; + } + + get role() { + return this.args.role ?? 'dialog'; + } + + get pushMinBreakpoint() { + return this.args.pushMinBreakpoint ?? 'l'; + } + + get isPushed() { + return this.type === 'push' && this.windowIsLargeEnoughToPush; + } + + get styles() { + let newStyle: { [key: string]: unknown } = {}; + + if (this.maxWidth !== false) { + const value = + typeof this.maxWidth === 'number' + ? `${this.maxWidth}px` + : this.maxWidth; + newStyle = { maxWidth: value }; + } + + if (!isEuiFlyoutSizeNamed(this.size) && newStyle) { + newStyle.width = this.size; + } else { + newStyle = { width: this.size }; + } + + return newStyle; + } + + @action + functionToCallOnWindowResize() { + throttle(() => { + if (isWithinMinBreakpoint(window.innerWidth, this.pushMinBreakpoint)) { + this.windowIsLargeEnoughToPush = true; + } else { + this.windowIsLargeEnoughToPush = false; + } + }, 50); + } + + @action + onClose() { + this.args.onClose?.(); + } + + @action + onButtonCloseClicked(e: MouseEvent) { + this.onClose(); + this.args.closeButtonProps?.onClick?.(e); + } + + @action + onResize(dimensions: { width: number; height: number }) { + this.dimensions = dimensions; + } +} diff --git a/packages/core/addon/components/eui-overlay-mask/index.hbs b/packages/core/addon/components/eui-overlay-mask/index.hbs index 319d959dc..2033de617 100644 --- a/packages/core/addon/components/eui-overlay-mask/index.hbs +++ b/packages/core/addon/components/eui-overlay-mask/index.hbs @@ -1,8 +1,5 @@ {{set-body-class "euiBody-hasOverlayMask"}} -{{#in-element - this.destinationElement - insertBefore=null -}} +{{#in-element this.destinationElement insertBefore=null}}
{{yield}} diff --git a/packages/core/addon/components/eui-overlay-mask/index.ts b/packages/core/addon/components/eui-overlay-mask/index.ts index e901b7c04..5a327af19 100644 --- a/packages/core/addon/components/eui-overlay-mask/index.ts +++ b/packages/core/addon/components/eui-overlay-mask/index.ts @@ -1,6 +1,19 @@ import GlimmerComponent from '@glimmer/component'; +import { action } from '@ember/object'; +import { tracked } from '@glimmer/tracking'; -interface EuiOverlayMaskArgs {} +interface EuiOverlayMaskArgs { + onClick(): void; +} export default class EuiOverlayMaskComponent extends GlimmerComponent { + @tracked overlayMaskNode: HTMLDivElement | undefined; + destinationElement = document.body; + + @action + onClick(e: MouseEvent) { + if (e.target === this.overlayMaskNode) { + this.args.onClick(); + } + } } diff --git a/packages/core/addon/helpers/class-names.ts b/packages/core/addon/helpers/class-names.ts index 80b6ab9ec..12105f33f 100644 --- a/packages/core/addon/helpers/class-names.ts +++ b/packages/core/addon/helpers/class-names.ts @@ -9,6 +9,7 @@ interface IObjectKeys { } interface Options extends IObjectKeys { size: string; + side: string; paddingSize: string; textAlign: string; color: string; diff --git a/packages/core/addon/utils/css-mappings/eui-flyout.ts b/packages/core/addon/utils/css-mappings/eui-flyout.ts index 693b015e9..447d6800c 100644 --- a/packages/core/addon/utils/css-mappings/eui-flyout.ts +++ b/packages/core/addon/utils/css-mappings/eui-flyout.ts @@ -1,5 +1,22 @@ export const baseClass = 'euiFlyout'; +export const paddingSizeMapping = { + none: `${baseClass}--paddingNone`, + s: `${baseClass}--paddingSmall`, + m: `${baseClass}--paddingMedium`, + l: `${baseClass}--paddingLarge` +}; + +export const sideMapping = { + left: 'euiFlyout--left', + right: '' +}; + +export const typeMapping = { + push: 'euiFlyout--push', + overlay: '' +}; + export const sizeMapping = { s: `${baseClass}--small`, m: `${baseClass}--medium`, @@ -9,7 +26,10 @@ export const sizeMapping = { const mapping: ComponentMapping = { base: baseClass, properties: { - size: sizeMapping + size: sizeMapping, + padding: paddingSizeMapping, + side: sideMapping, + type: typeMapping } }; diff --git a/packages/core/app/components/eui-flyout-body/banner/index.js b/packages/core/app/components/eui-flyout-body/banner/index.js deleted file mode 100644 index 9b311ad2c..000000000 --- a/packages/core/app/components/eui-flyout-body/banner/index.js +++ /dev/null @@ -1 +0,0 @@ -export { default } from '@ember-eui/core/components/eui-flyout-body/banner'; diff --git a/packages/core/app/components/eui-flyout-body/content/index.js b/packages/core/app/components/eui-flyout-body/content/index.js deleted file mode 100644 index ac8deb940..000000000 --- a/packages/core/app/components/eui-flyout-body/content/index.js +++ /dev/null @@ -1 +0,0 @@ -export { default } from '@ember-eui/core/components/eui-flyout-body/content'; diff --git a/packages/core/docs/layout/flyout-demo/demo1.md b/packages/core/docs/layout/flyout-demo/demo1.md index 4ea005ce3..42901a5ce 100644 --- a/packages/core/docs/layout/flyout-demo/demo1.md +++ b/packages/core/docs/layout/flyout-demo/demo1.md @@ -2,30 +2,38 @@ order: 1 --- -# Demo 1 +# EuiFlyout -Click on the hamburger icon in the Header Nav to open the flyout! + +

+ EuiFlyout is a fixed position panel that pops in from the side of the window. It should be used to reveal more detailed contextual information or to provide complex forms without losing the user's current state. It is a good alternative to modals when the action is not transient. +

+

+ Like modals, you control the visibilty of the flyout using your own state management, but EuiFlyout requires an onClose handler for it's internal dismiss buttons. +

+
```hbs template - + Small Flyout {{#if this.flyoutOpen}} - + - Small Welcome! + Small Welcome! - - Content - + Content - - + + Cancel - + Send diff --git a/packages/core/docs/layout/flyout-demo/demo2.md b/packages/core/docs/layout/flyout-demo/demo2.md index 7cd1e5cec..d8509c661 100644 --- a/packages/core/docs/layout/flyout-demo/demo2.md +++ b/packages/core/docs/layout/flyout-demo/demo2.md @@ -1,48 +1,63 @@ --- order: 2 --- +# More complicated flyout -# Demo 2 + + + +

+ +This component also comes with related child components for ease of creating headers, footers and scrolling body content. EuiFlyoutHeader and EuiFlyoutFooter are pinned to the top and bottom of the flyout, respectively, to allow for always visible navigation and actions. The EuiFlyoutBody component will then automatically overflow. + +

+
```hbs template - + Small Flyout w/o Overlay {{#if this.flyout2Open}} - + - Small Welcome! + Small Welcome! - - -

- Far out in the uncharted backwaters of the unfashionable - end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. -

- -

- Orbiting this at a distance of roughly ninety-two million miles is an utterly insignificant - little blue green planet whose ape- descended life forms are so amazingly primitive that - they still think digital watches are a pretty neat idea. -

- -

- This planet has - or rather had - a problem, which was this: most of the people living on it were unhappy - for pretty much of the time. Many solutions were suggested for this problem, but most of these were - largely concerned with the movements of small green pieces of paper, which is odd because on the whole - it was not the small green pieces of paper that were unhappy. -

-
-
+ + +

+ Far out in the uncharted backwaters of the unfashionable end of the + western spiral arm of the Galaxy lies a small unregarded yellow sun. +

+ +

+ Orbiting this at a distance of roughly ninety-two million miles is an + utterly insignificant little blue green planet whose ape- descended + life forms are so amazingly primitive that they still think digital + watches are a pretty neat idea. +

+ +

+ This planet has - or rather had - a problem, which was this: most of + the people living on it were unhappy for pretty much of the time. Many + solutions were suggested for this problem, but most of these were + largely concerned with the movements of small green pieces of paper, + which is odd because on the whole it was not the small green pieces of + paper that were unhappy. +

+
+
- - + + Cancel - + Send diff --git a/packages/core/docs/layout/flyout-demo/demo3.md b/packages/core/docs/layout/flyout-demo/demo3.md new file mode 100644 index 000000000..2cbb3b2a9 --- /dev/null +++ b/packages/core/docs/layout/flyout-demo/demo3.md @@ -0,0 +1,99 @@ +--- +order: 3 +--- + +# Sizing + + + + +

+ +Flyouts come in three predefined sizes of 's' | 'm' | 'l', which define the width relative to the window size with a minimum width defined in pixels. You can otherwise supply your own fixed width in number or string format. + +

+
+ +```hbs template + + Show flyout to test widths + + +{{#if this.flyout2Open}} + + + Small Welcome! + + + + + {{#each this.sizes as |size|}} + + {{size.label}} + + {{/each}} + + + + + + + Cancel + + + Send + + + + +{{/if}} +``` + +```js component +import Component from '@glimmer/component'; +import { tracked } from '@glimmer/tracking'; +import { action } from '@ember/object'; + +export default class DemoFlyoutDemo2Component extends Component { + @tracked flyout2Open = false; + @tracked size = 's'; + + sizes = [ + { + id: 's', + label: 'Small' + }, + { + id: 'm', + label: 'Medium' + }, + { + id: 'l', + label: 'Large' + }, + { + id: '400px', + label: 'Fixed (400)' + } + ]; + + @action + openFlyout() { + this.flyout2Open = true; + } + + @action + closeFlyout(flyout) { + this.flyout2Open = false; + } +} +``` diff --git a/packages/core/docs/layout/flyout-demo/demo4.md b/packages/core/docs/layout/flyout-demo/demo4.md new file mode 100644 index 000000000..15ebef49a --- /dev/null +++ b/packages/core/docs/layout/flyout-demo/demo4.md @@ -0,0 +1,115 @@ +--- +order: 4 +--- + +# Adjusting padding + + + + +

+ +All the inner flyout components inherit their padding from the wrapping EuiFlyout component. This ensures that all the horizontal edges line up no matter the paddingSize. When using the "none" size, you will need to accommodate your content with some other way of creating distance to the edges of the flyout. + +

+
+ +```hbs template + + Show flyout to test padding sizes + + +{{#if this.flyout2Open}} + + + Small Welcome! + + + + + {{#each this.paddings as |padding|}} + + {{padding.label}} + + {{/each}} + + + change from + {{this.side}} + + + + + + + + Cancel + + + Send + + + + +{{/if}} +``` + +```js component +import Component from '@glimmer/component'; +import { tracked } from '@glimmer/tracking'; +import { action } from '@ember/object'; + +export default class DemoFlyoutDemo2Component extends Component { + @tracked flyout2Open = false; + @tracked padding = 'l'; + @tracked side = 'right'; + + @action + toggleSide() { + if (this.side === 'right') { + this.side = 'left'; + } else { + this.side = 'right'; + } + } + + paddings = [ + { + id: 'none', + label: 'None' + }, + { + id: 's', + label: 'Small' + }, + { + id: 'm', + label: 'Medium' + }, + { + id: 'l', + label: 'Large' + } + ]; + + @action + openFlyout() { + this.flyout2Open = true; + } + + @action + closeFlyout(flyout) { + debugger; + this.flyout2Open = false; + } +} +``` diff --git a/packages/core/docs/layout/flyout-demo/demo5.md b/packages/core/docs/layout/flyout-demo/demo5.md new file mode 100644 index 000000000..ef4f691d1 --- /dev/null +++ b/packages/core/docs/layout/flyout-demo/demo5.md @@ -0,0 +1,59 @@ +--- +order: 5 +--- + +# Adding a banner + + + + +

+ +To highlight some information at the top of a flyout, you can pass an EuiCallOut to the banner prop available in EuiFlyoutBody and its layout will adjust appropriately. + +

+
+ +```hbs template + + Show flyout to test padding sizes + + +{{#if this.flyout2Open}} + + + Small Welcome! + + + <:banner> + + <:body> + Hereโ€™s some stuff that you need to know. This banner helps highlight + important information. + + + + + +{{/if}} +``` + +```js component +import Component from '@glimmer/component'; +import { tracked } from '@glimmer/tracking'; +import { action } from '@ember/object'; + +export default class DemoFlyoutDemo2Component extends Component { + @tracked flyout2Open = false; + + @action + openFlyout() { + this.flyout2Open = true; + } + + @action + closeFlyout(flyout) { + this.flyout2Open = false; + } +} +``` diff --git a/packages/core/docs/layout/flyout-demo/demo6.md b/packages/core/docs/layout/flyout-demo/demo6.md new file mode 100644 index 000000000..737fd8a30 --- /dev/null +++ b/packages/core/docs/layout/flyout-demo/demo6.md @@ -0,0 +1,57 @@ +--- +order: 6 +--- + +# Without ownFocus + + + + +

+Like modals, you will usually want to obscure the page content beneath with @ownFocus which wraps the flyout with an EuiOverlayMask. However, there are use-cases where flyouts present more information or controls, but need to maintain the interactions of the page content. By setting @ownFocus={{false}}, the underlying page content will be visible and clickable. +

+
+ +```hbs template + + Toggle flyout + + +{{#if this.flyout2Open}} + + + Small Welcome! + + + <:banner> + + <:body> + Hereโ€™s some stuff that you need to know. This banner helps highlight + important information. + + + + + +{{/if}} +``` + +```js component +import Component from '@glimmer/component'; +import { tracked } from '@glimmer/tracking'; +import { action } from '@ember/object'; + +export default class DemoFlyoutDemo2Component extends Component { + @tracked flyout2Open = false; + + @action + openFlyout() { + this.flyout2Open = true; + } + + @action + closeFlyout(flyout) { + this.flyout2Open = false; + } +} +``` diff --git a/packages/core/docs/layout/flyout-demo/demo7.md b/packages/core/docs/layout/flyout-demo/demo7.md new file mode 100644 index 000000000..7955d1ccc --- /dev/null +++ b/packages/core/docs/layout/flyout-demo/demo7.md @@ -0,0 +1,51 @@ +--- +order: 7 +--- + +# Push versus overlay + + + + +

+Another way to allow for continued interactions of the page content while a flyout is visible, is to change the type from overlay to push. +

+

+ A pushed flyout still positions itself as fixed, but adds padding to the document's body element to accommodate for the flyout's width. Because this squishes the page content, the flyout changes back to overlay at smaller window widths. You can adjust this minimum breakpoint with pushMinBreakpoint. +

+
+ +```hbs template + + Toggle flyout + + +{{#if this.flyout2Open}} + + + Small Welcome! + + + +{{/if}} +``` + +```js component +import Component from '@glimmer/component'; +import { tracked } from '@glimmer/tracking'; +import { action } from '@ember/object'; + +export default class DemoFlyoutDemo2Component extends Component { + @tracked flyout2Open = false; + + @action + openFlyout() { + this.flyout2Open = true; + } + + @action + closeFlyout(flyout) { + this.flyout2Open = false; + } +} +``` diff --git a/packages/core/docs/navigation/collapsible-nav-demo/demo1.md b/packages/core/docs/navigation/collapsible-nav-demo/demo1.md index 5e7170f68..eb0290786 100644 --- a/packages/core/docs/navigation/collapsible-nav-demo/demo1.md +++ b/packages/core/docs/navigation/collapsible-nav-demo/demo1.md @@ -1,24 +1,28 @@ -# Demo +--- +order: 1 +--- +# Collapsible nav ```hbs template - + Collapsible Nav - <:button> - - Open Collapsible Nav + <:button as |handlers|> + + Toggle nav <:content> @@ -30,8 +34,8 @@ @@ -47,49 +51,22 @@ - + <:title> Submenu 3 <:content> - - {{unless this.navIsDocked "Dock it!" "Undock it!"}} + + {{unless this.navIsDocked 'Dock it!' 'Undock it!'}} - - - Collapsible Nav Group - - - - <:content> - BASIC WITH NOTHING - - - - <:title> - Hello My friends! - - <:content> - This is not collapsible! But the bottom one is! - - - - <:title> - Click me!! - - <:content> - This is the collapsible content!!! - - ``` ```js component diff --git a/packages/core/docs/navigation/collapsible-nav-demo/demo2.md b/packages/core/docs/navigation/collapsible-nav-demo/demo2.md new file mode 100644 index 000000000..be391f5f2 --- /dev/null +++ b/packages/core/docs/navigation/collapsible-nav-demo/demo2.md @@ -0,0 +1,108 @@ +--- +order: 2 +--- + +# Collapsible nav group + + +

+ An EuiCollapsibleNavGroup adds some basic borders and background color of none, light, or dark. Give each section a heading by providing an optional title and iconType. Make the section collapsible (accordion style) with isCollapsible=true. +

+

+ When in isCollapsible mode, a title and initialIsOpen:boolean is required. +

+ +
+ +```hbs template + + <:content> + +

This is a basic group without any modifications

+
+ +
+ + <:content> + +

+ This is a nice group with a heading supplied via{' '} + title + and + iconType. +

+
+ +
+ + <:content> + +

+ This group is + collapsible + and set with + initialIsOpen. It has a heading that is the + collapsing button via + title + and + iconType. +

+
+ +
+ + <:content> + +

+ This is a + dark + collapsible + group that is initally set to closed, + iconSize="xxl" + and + titleSize="s". +

+
+ +
+``` + +```js component +import Component from '@glimmer/component'; +import { tracked } from '@glimmer/tracking'; +import { action } from '@ember/object'; + +export default class DemoCollapsibleNavComponent extends Component { + @tracked collNavIsOpen = false; + @tracked navIsDocked = false; + + @action + openCollapsibleNav() { + this.collNavIsOpen = true; + } + + @action + closeCollapsibleNav() { + this.collNavIsOpen = false; + } + + @action + toggleDockedNav() { + this.navIsDocked = !this.navIsDocked; + } +} +``` diff --git a/packages/core/package.json b/packages/core/package.json index 159369f45..21e5502a2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -96,8 +96,8 @@ "devDependencies": { "@ember/optional-features": "^2.0.0", "@ember/test-helpers": "^2.6.0", - "@embroider/test-setup": "^1.0.0", - "@embroider/util": "^1.3.0", + "@embroider/test-setup": "^1.5.0", + "@embroider/util": "^1.5.0", "@glimmer/component": "^1.0.4", "@glimmer/tracking": "^1.0.4", "@types/ember": "^3.16.0", diff --git a/packages/validated-form/package.json b/packages/validated-form/package.json index b52f9e81a..b0ee1524b 100644 --- a/packages/validated-form/package.json +++ b/packages/validated-form/package.json @@ -41,8 +41,8 @@ "devDependencies": { "@ember/optional-features": "^2.0.0", "@ember/test-helpers": "^2.6.0", - "@embroider/test-setup": "^1.0.0", - "@embroider/util": "^1.3.0", + "@embroider/test-setup": "^1.5.0", + "@embroider/util": "^1.5.0", "@glimmer/component": "^1.0.4", "@glimmer/tracking": "^1.0.4", "@types/ember-qunit": "^5.0.0", diff --git a/site/package.json b/site/package.json index c45b418e7..4d07eba72 100644 --- a/site/package.json +++ b/site/package.json @@ -30,10 +30,10 @@ "@ember-eui/validated-form": "^4.2.5", "@ember/optional-features": "^2.0.0", "@ember/test-helpers": "2.6.0", - "@embroider/compat": "^1.3.0", - "@embroider/core": "^1.3.0", - "@embroider/router": "^1.3.0", - "@embroider/webpack": "^1.3.0", + "@embroider/compat": "^1.5.0", + "@embroider/core": "^1.5.0", + "@embroider/router": "^1.5.0", + "@embroider/webpack": "^1.5.0", "@fullhuman/postcss-purgecss": "^4.0.2", "@glimmer/component": "^1.0.4", "@glimmer/tracking": "^1.0.4", diff --git a/yarn.lock b/yarn.lock index b9e0cc83a..e6652f77f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -30,23 +30,23 @@ dependencies: "@babel/highlight" "^7.16.7" -"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.4", "@babel/compat-data@^7.16.8", "@babel/compat-data@^7.17.0": - version "7.17.0" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.0.tgz#86850b8597ea6962089770952075dcaabb8dba34" - integrity sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng== +"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.8", "@babel/compat-data@^7.17.0", "@babel/compat-data@^7.17.7": + version "7.17.7" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.7.tgz#078d8b833fbbcc95286613be8c716cef2b519fa2" + integrity sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ== "@babel/core@^7.0.0", "@babel/core@^7.1.6", "@babel/core@^7.12.0", "@babel/core@^7.13.10", "@babel/core@^7.14.5", "@babel/core@^7.16.0", "@babel/core@^7.16.7", "@babel/core@^7.3.4": - version "7.17.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.17.5.tgz#6cd2e836058c28f06a4ca8ee7ed955bbf37c8225" - integrity sha512-/BBMw4EvjmyquN5O+t5eh0+YqB3XXJkYD2cjKpYtWOfFy4lQ4UozNSmxAcWT8r2XtZs0ewG+zrfsqeR15i1ajA== + version "7.17.8" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.17.8.tgz#3dac27c190ebc3a4381110d46c80e77efe172e1a" + integrity sha512-OdQDV/7cRBtJHLSOBqqbYNkOcydOgnX59TZx4puf41fzcVtN3e/4yqY8lMQsK+5X2lJtAdmA+6OHqsj1hBJ4IQ== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.17.3" - "@babel/helper-compilation-targets" "^7.16.7" - "@babel/helper-module-transforms" "^7.16.7" - "@babel/helpers" "^7.17.2" - "@babel/parser" "^7.17.3" + "@babel/generator" "^7.17.7" + "@babel/helper-compilation-targets" "^7.17.7" + "@babel/helper-module-transforms" "^7.17.7" + "@babel/helpers" "^7.17.8" + "@babel/parser" "^7.17.8" "@babel/template" "^7.16.7" "@babel/traverse" "^7.17.3" "@babel/types" "^7.17.0" @@ -67,10 +67,10 @@ source-map "^0.5.0" trim-right "^1.0.1" -"@babel/generator@^7.17.3": - version "7.17.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.3.tgz#a2c30b0c4f89858cb87050c3ffdfd36bdf443200" - integrity sha512-+R6Dctil/MgUsZsZAkYgK+ADNSZzJRRy0TvY65T71z/CR854xHQ1EweBYXdfT+HNeN7w0cSJJEzgxZMv40pxsg== +"@babel/generator@^7.17.3", "@babel/generator@^7.17.7": + version "7.17.7" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.7.tgz#8da2599beb4a86194a3b24df6c085931d9ee45ad" + integrity sha512-oLcVCTeIFadUoArDTwpluncplrYBmTCCZZgXCbgNGvOBBiSDDK3eWO4b/+eOTli5tKv1lg+a5/NAXg+nTcei1w== dependencies: "@babel/types" "^7.17.0" jsesc "^2.5.1" @@ -91,17 +91,17 @@ "@babel/helper-explode-assignable-expression" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/helper-compilation-targets@^7.12.0", "@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz#06e66c5f299601e6c7da350049315e83209d551b" - integrity sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA== +"@babel/helper-compilation-targets@^7.12.0", "@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.16.7", "@babel/helper-compilation-targets@^7.17.7": + version "7.17.7" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.7.tgz#a3c2924f5e5f0379b356d4cfb313d1414dc30e46" + integrity sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w== dependencies: - "@babel/compat-data" "^7.16.4" + "@babel/compat-data" "^7.17.7" "@babel/helper-validator-option" "^7.16.7" browserslist "^4.17.5" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.16.10", "@babel/helper-create-class-features-plugin@^7.16.7", "@babel/helper-create-class-features-plugin@^7.17.1", "@babel/helper-create-class-features-plugin@^7.17.6", "@babel/helper-create-class-features-plugin@^7.5.5", "@babel/helper-create-class-features-plugin@^7.8.3": +"@babel/helper-create-class-features-plugin@^7.16.10", "@babel/helper-create-class-features-plugin@^7.16.7", "@babel/helper-create-class-features-plugin@^7.17.6", "@babel/helper-create-class-features-plugin@^7.5.5", "@babel/helper-create-class-features-plugin@^7.8.3": version "7.17.6" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.6.tgz#3778c1ed09a7f3e65e6d6e0f6fbfcc53809d92c9" integrity sha512-SogLLSxXm2OkBbSsHZMM4tUi8fUzjs63AT/d0YQIzr6GSd8Hxsbk2KYDX0k0DweAzGMj/YWeiCsorIdtdcW8Eg== @@ -190,11 +190,11 @@ "@babel/types" "^7.16.7" "@babel/helper-member-expression-to-functions@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.7.tgz#42b9ca4b2b200123c3b7e726b0ae5153924905b0" - integrity sha512-VtJ/65tYiU/6AbMTDwyoXGPKHgTsfRarivm+YbB5uAzKUyuPjgZSgAFeG87FCigc7KNHu2Pegh1XIT3lXjvz3Q== + version "7.17.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz#a34013b57d8542a8c4ff8ba3f747c02452a4d8c4" + integrity sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw== dependencies: - "@babel/types" "^7.16.7" + "@babel/types" "^7.17.0" "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.16.0", "@babel/helper-module-imports@^7.16.7": version "7.16.7" @@ -203,14 +203,14 @@ dependencies: "@babel/types" "^7.16.7" -"@babel/helper-module-transforms@^7.16.7": - version "7.17.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.17.6.tgz#3c3b03cc6617e33d68ef5a27a67419ac5199ccd0" - integrity sha512-2ULmRdqoOMpdvkbT8jONrZML/XALfzxlb052bldftkicAUy8AxSCkD5trDPQcwHNmolcl7wP6ehNqMlyUw6AaA== +"@babel/helper-module-transforms@^7.16.7", "@babel/helper-module-transforms@^7.17.7": + version "7.17.7" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz#3943c7f777139e7954a5355c815263741a9c1cbd" + integrity sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw== dependencies: "@babel/helper-environment-visitor" "^7.16.7" "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-simple-access" "^7.16.7" + "@babel/helper-simple-access" "^7.17.7" "@babel/helper-split-export-declaration" "^7.16.7" "@babel/helper-validator-identifier" "^7.16.7" "@babel/template" "^7.16.7" @@ -249,12 +249,12 @@ "@babel/traverse" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/helper-simple-access@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz#d656654b9ea08dbb9659b69d61063ccd343ff0f7" - integrity sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g== +"@babel/helper-simple-access@^7.17.7": + version "7.17.7" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz#aaa473de92b7987c6dfa7ce9a7d9674724823367" + integrity sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA== dependencies: - "@babel/types" "^7.16.7" + "@babel/types" "^7.17.0" "@babel/helper-skip-transparent-expression-wrappers@^7.16.0": version "7.16.0" @@ -297,13 +297,13 @@ "@babel/traverse" "^7.16.8" "@babel/types" "^7.16.8" -"@babel/helpers@^7.17.2": - version "7.17.2" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.2.tgz#23f0a0746c8e287773ccd27c14be428891f63417" - integrity sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ== +"@babel/helpers@^7.17.8": + version "7.17.8" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.8.tgz#288450be8c6ac7e4e44df37bcc53d345e07bc106" + integrity sha512-QcL86FGxpfSJwGtAvv4iG93UL6bmqBdmoVY0CMCU2g+oD2ezQse3PT5Pa+jiD6LJndBQi0EDlpzOWNlLuhz5gw== dependencies: "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.0" + "@babel/traverse" "^7.17.3" "@babel/types" "^7.17.0" "@babel/highlight@7.0.0-beta.44": @@ -324,10 +324,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.14.5", "@babel/parser@^7.16.7", "@babel/parser@^7.17.3", "@babel/parser@^7.4.5", "@babel/parser@^7.7.0": - version "7.17.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.3.tgz#b07702b982990bf6fdc1da5049a23fece4c5c3d0" - integrity sha512-7yJPvPV+ESz2IUTPbOL+YkIGyCqOyNIzdguKQuJGnH7bg1WTIifuM21YqokFt/THWh1AkCRn9IgoykTRCBVpzA== +"@babel/parser@^7.14.5", "@babel/parser@^7.16.7", "@babel/parser@^7.17.3", "@babel/parser@^7.17.8", "@babel/parser@^7.4.5", "@babel/parser@^7.7.0": + version "7.17.8" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.8.tgz#2817fb9d885dd8132ea0f8eb615a6388cca1c240" + integrity sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7": version "7.16.7" @@ -372,11 +372,11 @@ "@babel/plugin-syntax-class-static-block" "^7.14.5" "@babel/plugin-proposal-decorators@^7.13.5", "@babel/plugin-proposal-decorators@^7.16.7": - version "7.17.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.17.2.tgz#c36372ddfe0360cac1ee331a238310bddca11493" - integrity sha512-WH8Z95CwTq/W8rFbMqb9p3hicpt4RX4f0K659ax2VHxgOyT6qQmUaEVEjIh4WR9Eh9NymkVn5vwsrE68fAQNUw== + version "7.17.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.17.8.tgz#4f0444e896bee85d35cf714a006fc5418f87ff00" + integrity sha512-U69odN4Umyyx1xO1rTII0IDkAEC+RNlcKXtqOblfpzqy1C+aOplb76BQNq0+XdpVkOaPlpEDwd++joY8FNFJKA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.17.1" + "@babel/helper-create-class-features-plugin" "^7.17.6" "@babel/helper-plugin-utils" "^7.16.7" "@babel/helper-replace-supers" "^7.16.7" "@babel/plugin-syntax-decorators" "^7.17.0" @@ -648,9 +648,9 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/plugin-transform-destructuring@^7.16.7": - version "7.17.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.17.3.tgz#c445f75819641788a27a0a3a759d9df911df6abc" - integrity sha512-dDFzegDYKlPqa72xIlbmSkly5MluLoaC1JswABGktyt6NTXSBcUuse/kWE/wvKFWJHPETpi158qJZFS3JmykJg== + version "7.17.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.17.7.tgz#49dc2675a7afa9a5e4c6bdee636061136c3408d1" + integrity sha512-XVh0r5yq9sLR4vZ6eVZe8FKfIcSgaTBxVBRSYokRj2qksf6QerYnTxz9/GTuKTH/n/HwLP7t6gtlybHetJ/6hQ== dependencies: "@babel/helper-plugin-utils" "^7.16.7" @@ -717,22 +717,22 @@ babel-plugin-dynamic-import-node "^2.3.3" "@babel/plugin-transform-modules-commonjs@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz#cdee19aae887b16b9d331009aa9a219af7c86afe" - integrity sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA== + version "7.17.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.17.7.tgz#d86b217c8e45bb5f2dbc11eefc8eab62cf980d19" + integrity sha512-ITPmR2V7MqioMJyrxUo2onHNC3e+MvfFiFIR0RP21d3PtlVb6sfzoxNKiphSZUOM9hEIdzCcZe83ieX3yoqjUA== dependencies: - "@babel/helper-module-transforms" "^7.16.7" + "@babel/helper-module-transforms" "^7.17.7" "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-simple-access" "^7.16.7" + "@babel/helper-simple-access" "^7.17.7" babel-plugin-dynamic-import-node "^2.3.3" "@babel/plugin-transform-modules-systemjs@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.7.tgz#887cefaef88e684d29558c2b13ee0563e287c2d7" - integrity sha512-DuK5E3k+QQmnOqBR9UkusByy5WZWGRxfzV529s9nPra1GE7olmxfqO2FHobEOYSPIjPBTr4p66YDcjQnt8cBmw== + version "7.17.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.17.8.tgz#81fd834024fae14ea78fbe34168b042f38703859" + integrity sha512-39reIkMTUVagzgA5x88zDYXPCMT6lcaRKs1+S9K6NKBPErbgO/w/kP8GlNQTC87b412ZTlmNgr3k2JrWgHH+Bw== dependencies: "@babel/helper-hoist-variables" "^7.16.7" - "@babel/helper-module-transforms" "^7.16.7" + "@babel/helper-module-transforms" "^7.17.7" "@babel/helper-plugin-utils" "^7.16.7" "@babel/helper-validator-identifier" "^7.16.7" babel-plugin-dynamic-import-node "^2.3.3" @@ -1000,9 +1000,9 @@ regenerator-runtime "^0.13.4" "@babel/runtime@^7.0.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.14.0", "@babel/runtime@^7.14.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": - version "7.17.2" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.2.tgz#66f68591605e59da47523c631416b18508779941" - integrity sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw== + version "7.17.8" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.8.tgz#3e56e4aff81befa55ac3ac6a0967349fd1c5bca2" + integrity sha512-dQpEpK0O9o6lj6oPu0gRDbbnk+4LeHlNcBpspf6Olzt3GIX4P1lWF1gS+pHLDFlaJvbR6q7jCfQ08zA4QJBnmA== dependencies: regenerator-runtime "^0.13.4" @@ -1041,7 +1041,7 @@ invariant "^2.2.0" lodash "^4.2.0" -"@babel/traverse@^7.1.6", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.0", "@babel/traverse@^7.17.3", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.0": +"@babel/traverse@^7.1.6", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.3", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.0": version "7.17.3" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.3.tgz#0ae0f15b27d9a92ba1f2263358ea7c4e7db47b57" integrity sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw== @@ -1282,36 +1282,36 @@ semver "^7.3.5" "@embroider/addon-shim@^1.0.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/addon-shim/-/addon-shim-1.3.0.tgz#7d550f60f7e3cb6d429a7a7e702c3d38aba4cc0d" - integrity sha512-l0FaG5g8Q0vG7SQYTB/P9BWWU5ZUm2L9X054amdo/wu1w42rB9nG8MrC/qWWCp9NnZXgqYEvQju6oxKit3m8zQ== + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/addon-shim/-/addon-shim-1.5.0.tgz#639b8b394336a5ae26dd3e24ffc3d34d864ac5ce" + integrity sha512-5zgwA/wTYjgn2Oo6hKRQhF/5Gnwb+hGhj/WXhZQa5yA7fRRdBV1tVMS7b7SLawZcmOhuWkyPwFdgsYtGBvDB0w== dependencies: - "@embroider/shared-internals" "^1.3.0" + "@embroider/shared-internals" "^1.5.0" semver "^7.3.5" -"@embroider/babel-loader-8@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/babel-loader-8/-/babel-loader-8-1.3.0.tgz#70df26b8cefc3efcc19761281f130c3cb65b5ac4" - integrity sha512-Rfis8QNXzw/DC553cahF2VVftNdFGl5EBL+YeGRQJI3Eae9a2VqGx6MalwVKcxnYIHi5lH/BTcvBUQj3EdaLWA== +"@embroider/babel-loader-8@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/babel-loader-8/-/babel-loader-8-1.5.0.tgz#8aef1f38c94f89b9e0ba891b6f1c5fc39c4a96db" + integrity sha512-SDUTkABjds2oHdWzKbhEQ1AAijVt7Ns1QjowPNmrQmq5vTboCzIicliQ4gaiXcuhXSmOKD3EdfpLAtw7uWTTsQ== dependencies: "@babel/core" "^7.14.5" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5" "@babel/plugin-proposal-optional-chaining" "^7.14.5" - "@embroider/core" "1.3.0" + "@embroider/core" "1.5.0" babel-loader "8" -"@embroider/compat@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/compat/-/compat-1.3.0.tgz#cbc8de6e9c13862e1014442c362fbcfd0cf5f671" - integrity sha512-LYX3P2rFAKGMgbGU08qQkV3D6IKFLGTnXtGcrUBNQ5UdN1JgtpMqqZHB84qQHsHaYA/TlRC5McHJKrJ0pNNsDA== +"@embroider/compat@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/compat/-/compat-1.5.0.tgz#5d9d2c1a1da3d64525da1c52424cfceb2edacee8" + integrity sha512-/vwYhO+m0lKrtkt0XNiZi7hL4nEKfQLW7LEL/g49Dfan99JDQaqu7GMJlgjpSWKeJuI/7+rxCAkBtODtSpsBIQ== dependencies: "@babel/code-frame" "^7.14.5" "@babel/core" "^7.14.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" "@babel/preset-env" "^7.14.5" "@babel/traverse" "^7.14.5" - "@embroider/macros" "1.3.0" - "@embroider/shared-internals" "1.3.0" + "@embroider/macros" "1.5.0" + "@embroider/shared-internals" "1.5.0" "@types/babel__code-frame" "^7.0.2" "@types/yargs" "^17.0.3" assert-never "^1.1.0" @@ -1342,10 +1342,10 @@ walk-sync "^3.0.0" yargs "^17.0.1" -"@embroider/core@1.3.0", "@embroider/core@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/core/-/core-1.3.0.tgz#1850681df825346ae70a0eb6e4fcef918c4fa122" - integrity sha512-I8s43Pn0DmMpvPZ4h+6YuA4gJ0bvxIhg6rHloJG2HmEkaQ2ywyKw9zHFKuushXmY3gx/Y1SxIO8P+SwbRTtX4g== +"@embroider/core@1.5.0", "@embroider/core@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/core/-/core-1.5.0.tgz#94d9779c936769f3440919cc3c60c0df56684ed6" + integrity sha512-8SdfLvTAemSF7Av0DgtlvRgyGnDmsF8u90lpdEAz+d2+7xfjiMd4AL97KcsMcpe0u2zGKe2t9GbBbq3guYeApw== dependencies: "@babel/core" "^7.14.5" "@babel/parser" "^7.14.5" @@ -1353,8 +1353,8 @@ "@babel/plugin-transform-runtime" "^7.14.5" "@babel/runtime" "^7.14.5" "@babel/traverse" "^7.14.5" - "@embroider/macros" "1.3.0" - "@embroider/shared-internals" "1.3.0" + "@embroider/macros" "1.5.0" + "@embroider/shared-internals" "1.5.0" assert-never "^1.2.1" babel-import-util "^1.1.0" babel-plugin-ember-template-compilation "^1.0.0" @@ -1379,12 +1379,12 @@ walk-sync "^3.0.0" wrap-legacy-hbs-plugin-if-needed "^1.0.1" -"@embroider/hbs-loader@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/hbs-loader/-/hbs-loader-1.3.0.tgz#cf8168b23b00d18f5bc5e952c337ef7916c42f67" - integrity sha512-bYDcs05fayDYluaPoQu/40TMUbApQXE4qVCCxIdl2myg6uH9DScthewjDMFT7za03b0pYBMkkCS71bMXLLvu9g== +"@embroider/hbs-loader@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/hbs-loader/-/hbs-loader-1.5.0.tgz#a007573a591e6cdb18eb2077bb35bac5c9a58a39" + integrity sha512-//fSJEE+FQaLDRpJKEP64pg5R4qQtL1oH/HKtaUK+nXPKHwYwaOXQegtrv3UJwFjuL9H84QbLLZxjKa8TnhTLg== -"@embroider/macros@1.3.0", "@embroider/macros@^0.41.0", "@embroider/macros@^0.47.1", "@embroider/macros@^0.50.0 || ^1.0.0", "@embroider/macros@^1.0.0", "@embroider/macros@^1.2.0", "@embroider/macros@^1.3.0": +"@embroider/macros@1.5.0", "@embroider/macros@^0.41.0", "@embroider/macros@^0.42.3", "@embroider/macros@^0.47.1", "@embroider/macros@^0.50.0 || ^1.0.0", "@embroider/macros@^1.0.0", "@embroider/macros@^1.2.0", "@embroider/macros@^1.5.0": version "1.5.0" resolved "https://registry.yarnpkg.com/@embroider/macros/-/macros-1.5.0.tgz#8c67666359e7814d91cdeac2fd96c896080473b3" integrity sha512-QqNsWmIJ8LvwWg+YAfB+nfcRZ49hAJNTJAKt2IDpgZDKa/FYj/Mp75UWfJ1BJvB3KUq50OQCOv4TZ3ZcU9h/TQ== @@ -1398,20 +1398,20 @@ resolve "^1.20.0" semver "^7.3.2" -"@embroider/router@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/router/-/router-1.3.0.tgz#4efb01423aa356aa357d6b5fb60434a9fcf150ff" - integrity sha512-G7K3c90RX1+ohl+c+L67QmslZ+jSHReisl0J4jZofYhhAZXtTIUQrx9BifW9VnlkboGugkIio8FaERoLXnTxtA== +"@embroider/router@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/router/-/router-1.5.0.tgz#962ba132962ed5b02477b75723203d8197554c0c" + integrity sha512-K3KYTN1AgsouMr1LG3UlrQJOnXPO4ORt0JxkHZmtN6rzauskbeE9hLYeUTs728btengRSmas/fgmhISXB0mwTw== dependencies: "@ember/test-waiters" "^3.0.0" - "@embroider/macros" "1.3.0" + "@embroider/macros" "1.5.0" ember-cli-babel "^7.26.6" ember-cli-htmlbars "^5.7.1" -"@embroider/shared-internals@1.3.0", "@embroider/shared-internals@1.5.0", "@embroider/shared-internals@^0.50.2", "@embroider/shared-internals@^1.0.0", "@embroider/shared-internals@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-1.3.0.tgz#53d8d25f4774c66c641965e8db4f321b32669a80" - integrity sha512-psByCUBW2Hv5Y+QDWhaFJ8uQoZ0GCd0LpUeehRkBynbOQmgGDdYpd2SrKplt/o1C+z3bKrD7JyiwthU9Yn3yRw== +"@embroider/shared-internals@1.5.0", "@embroider/shared-internals@^0.50.2", "@embroider/shared-internals@^1.0.0", "@embroider/shared-internals@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-1.5.0.tgz#d3883f13571be36fcdbc59c65c785db7b6d8186e" + integrity sha512-kdR7Fh2YdzsNofJO+DJxLfrlMbW4/NNf78aMXgE21z/tg9GO5W2mKlI1DzsO2JlO5yfZdiYfqb9C9vSLJEx14A== dependencies: babel-import-util "^1.1.0" ember-rfc176-data "^0.3.17" @@ -1421,34 +1421,34 @@ semver "^7.3.5" typescript-memoize "^1.0.1" -"@embroider/test-setup@^1.0.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/test-setup/-/test-setup-1.3.0.tgz#c1d5c27a32462517ea9d92f6da9f4b098b72e43d" - integrity sha512-lVrpkPcEHmzqfKWz4Ep+Bh7DaqUbrkJAmYvcjNFklq5uGQKDxdBP/sNE2jyIgEa5AofG0UUAmNjWPZVJ6KVjOQ== +"@embroider/test-setup@^1.0.0", "@embroider/test-setup@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/test-setup/-/test-setup-1.5.0.tgz#bf6a3663ef3089a865fd76c55f60a62aa6a2e18f" + integrity sha512-4C0dgVswxfA/lBCD8FUWADQhjeO8AJ2KmRkvItOPSwPlAA1QI7gOD28DuiAnCAK18muIFq7P++gvl1qBNid6lg== dependencies: lodash "^4.17.21" resolve "^1.20.0" -"@embroider/util@^0.39.1 || ^0.40.0 || ^0.41.0", "@embroider/util@^0.39.1 || ^0.40.0 || ^0.41.0 || ^1.0.0", "@embroider/util@^1.0.0", "@embroider/util@^1.2.0", "@embroider/util@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/util/-/util-1.3.0.tgz#64e8e267be9d2f54dc985d47351c63c4a3c0feea" - integrity sha512-/wIcQezK1FN+/twjNmqDaZe9tAfma2v/Py1kg2jmeqRN068BH/yjfmbJXfKzuBD0jZXLz53hK3YMAtZwvEm8yQ== +"@embroider/util@^0.39.1 || ^0.40.0 || ^0.41.0", "@embroider/util@^0.39.1 || ^0.40.0 || ^0.41.0 || ^1.0.0", "@embroider/util@^1.0.0", "@embroider/util@^1.2.0", "@embroider/util@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/util/-/util-1.5.0.tgz#0c7da82a75052daca7c709d6888b72a1da19822e" + integrity sha512-CoE98WDnRtXPn8x8SJkWHGw7frikRIetpImwwC9qyse/AvSoOsS4B5U0G8omZLMvwm2IEc9NemlDrS4ZyUlJ/A== dependencies: - "@embroider/macros" "1.3.0" + "@embroider/macros" "1.5.0" broccoli-funnel "^3.0.5" ember-cli-babel "^7.23.1" -"@embroider/webpack@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@embroider/webpack/-/webpack-1.3.0.tgz#dee6165bf9a550f8eeef8d67883f1b9967f715ee" - integrity sha512-NxTwV2OxrYsbf0nqpxDSDgbpd481hf4CQJZT9TIfwwN1XEBQ6VxouMyondgpX3goBgkmfy5APm8+Wt+YR8iZbA== +"@embroider/webpack@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@embroider/webpack/-/webpack-1.5.0.tgz#096fb0e145c8f1ff12b2f7e969798f9740ee379f" + integrity sha512-qn0AjYZNm71JzyL1R9qf4wd1MfzH+yaYZnizHdOfxnbr3AB5Z+mYfXGKipJk2uYjfkfd2tkVpQ+K2jxd9xlYLw== dependencies: "@babel/core" "^7.14.5" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5" "@babel/plugin-proposal-optional-chaining" "^7.14.5" - "@embroider/babel-loader-8" "1.3.0" - "@embroider/hbs-loader" "1.3.0" - "@embroider/shared-internals" "1.3.0" + "@embroider/babel-loader-8" "1.5.0" + "@embroider/hbs-loader" "1.5.0" + "@embroider/shared-internals" "1.5.0" "@types/source-map" "^0.5.7" "@types/supports-color" "^8.1.0" babel-loader "^8.2.2" @@ -2516,13 +2516,13 @@ "@octokit/types" "^6.0.3" "@octokit/core@^3.5.1": - version "3.5.1" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.5.1.tgz#8601ceeb1ec0e1b1b8217b960a413ed8e947809b" - integrity sha512-omncwpLVxMP+GLpLPgeGJBF6IWJFjXDS5flY5VbppePYX9XehevbDykRH9PdCdvqt9TS5AOTiDide7h0qrkHjw== + version "3.6.0" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.6.0.tgz#3376cb9f3008d9b3d110370d90e0a1fcd5fe6085" + integrity sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q== dependencies: "@octokit/auth-token" "^2.4.4" "@octokit/graphql" "^4.5.8" - "@octokit/request" "^5.6.0" + "@octokit/request" "^5.6.3" "@octokit/request-error" "^2.0.5" "@octokit/types" "^6.0.3" before-after-hook "^2.2.0" @@ -2585,7 +2585,7 @@ deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^5.6.0": +"@octokit/request@^5.6.0", "@octokit/request@^5.6.3": version "5.6.3" resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0" integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A== @@ -3135,9 +3135,9 @@ "@types/sizzle" "*" "@types/json-schema@*", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": - version "7.0.9" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" - integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ== + version "7.0.10" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.10.tgz#9b05b7896166cd00e9cbd59864853abf65d9ac23" + integrity sha512-BLO9bBq59vW3fxCpD4o0N4U+DXsvwvIcl+jofw0frQo/GrBFC+/jRZj1E7kgp6dvTyNmA4y6JCV5Id/r3mNP5A== "@types/lodash-es@^4.17.4": version "4.17.6" @@ -3147,9 +3147,9 @@ "@types/lodash" "*" "@types/lodash@*", "@types/lodash@^4.14.160": - version "4.14.179" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.179.tgz#490ec3288088c91295780237d2497a3aa9dfb5c5" - integrity sha512-uwc1x90yCKqGcIOAT6DwOSuxnrAbpkdPsUOZtwrXb4D/6wZs+6qG7QnIawDuZWg0sWpxl+ltIKCaLoMlna678w== + version "4.14.180" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.180.tgz#4ab7c9ddfc92ec4a887886483bc14c79fb380670" + integrity sha512-XOKXa1KIxtNXgASAnwj7cnttJxS4fksBRywK/9LzRV5YxrF80BXZIGeQSuoESQ/VkUj30Ae0+YcuHc15wJCB2g== "@types/mdast@^3.0.0", "@types/mdast@^3.0.3": version "3.0.10" @@ -3272,9 +3272,9 @@ "@types/react" "*" "@types/react@*": - version "17.0.39" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.39.tgz#d0f4cde092502a6db00a1cded6e6bf2abb7633ce" - integrity sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug== + version "17.0.40" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.40.tgz#dc010cee6254d5239a138083f3799a16638e6bad" + integrity sha512-UrXhD/JyLH+W70nNSufXqMZNuUD2cXHu6UjCllC6pmOQgBX4SGXOH8fjRka0O0Ee0HrFxapDD8Bwn81Kmiz6jQ== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -3358,20 +3358,20 @@ integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== "@types/yargs@^17.0.3": - version "17.0.9" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.9.tgz#f1f931a4e5ae2c0134dea10f501088636a50b46a" - integrity sha512-Ci8+4/DOtkHRylcisKmVMtmVO5g7weUVCKcsu1sJvF1bn0wExTmbHmhFKj7AnEm0de800iovGhdSKzYnzbaHpg== + version "17.0.10" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.10.tgz#591522fce85d8739bca7b8bb90d048e4478d186a" + integrity sha512-gmEaFwpj/7f/ROdtIlci1R1VYU1J4j95m8T+Tj3iBgiBFKg1foE/PSl93bBd5T9LDXNPo8UlNN6W0qwD8O5OaA== dependencies: "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^5.0.0": - version "5.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.13.0.tgz#2809052b85911ced9c54a60dac10e515e9114497" - integrity sha512-vLktb2Uec81fxm/cfz2Hd6QaWOs8qdmVAZXLdOBX6JFJDhf6oDZpMzZ4/LZ6SFM/5DgDcxIMIvy3F+O9yZBuiQ== + version "5.15.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.15.0.tgz#c28ef7f2e688066db0b6a9d95fb74185c114fb9a" + integrity sha512-u6Db5JfF0Esn3tiAKELvoU5TpXVSkOpZ78cEGn/wXtT2RVqs2vkt4ge6N8cRCyw7YVKhmmLDbwI2pg92mlv7cA== dependencies: - "@typescript-eslint/scope-manager" "5.13.0" - "@typescript-eslint/type-utils" "5.13.0" - "@typescript-eslint/utils" "5.13.0" + "@typescript-eslint/scope-manager" "5.15.0" + "@typescript-eslint/type-utils" "5.15.0" + "@typescript-eslint/utils" "5.15.0" debug "^4.3.2" functional-red-black-tree "^1.0.1" ignore "^5.1.8" @@ -3380,68 +3380,68 @@ tsutils "^3.21.0" "@typescript-eslint/parser@^5.0.0": - version "5.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.13.0.tgz#0394ed8f2f849273c0bf4b811994d177112ced5c" - integrity sha512-GdrU4GvBE29tm2RqWOM0P5QfCtgCyN4hXICj/X9ibKED16136l9ZpoJvCL5pSKtmJzA+NRDzQ312wWMejCVVfg== + version "5.15.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.15.0.tgz#95f603f8fe6eca7952a99bfeef9b85992972e728" + integrity sha512-NGAYP/+RDM2sVfmKiKOCgJYPstAO40vPAgACoWPO/+yoYKSgAXIFaBKsV8P0Cc7fwKgvj27SjRNX4L7f4/jCKQ== dependencies: - "@typescript-eslint/scope-manager" "5.13.0" - "@typescript-eslint/types" "5.13.0" - "@typescript-eslint/typescript-estree" "5.13.0" + "@typescript-eslint/scope-manager" "5.15.0" + "@typescript-eslint/types" "5.15.0" + "@typescript-eslint/typescript-estree" "5.15.0" debug "^4.3.2" -"@typescript-eslint/scope-manager@5.13.0": - version "5.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.13.0.tgz#cf6aff61ca497cb19f0397eea8444a58f46156b6" - integrity sha512-T4N8UvKYDSfVYdmJq7g2IPJYCRzwtp74KyDZytkR4OL3NRupvswvmJQJ4CX5tDSurW2cvCc1Ia1qM7d0jpa7IA== +"@typescript-eslint/scope-manager@5.15.0": + version "5.15.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.15.0.tgz#d97afab5e0abf4018d1289bd711be21676cdd0ee" + integrity sha512-EFiZcSKrHh4kWk0pZaa+YNJosvKE50EnmN4IfgjkA3bTHElPtYcd2U37QQkNTqwMCS7LXeDeZzEqnsOH8chjSg== dependencies: - "@typescript-eslint/types" "5.13.0" - "@typescript-eslint/visitor-keys" "5.13.0" + "@typescript-eslint/types" "5.15.0" + "@typescript-eslint/visitor-keys" "5.15.0" -"@typescript-eslint/type-utils@5.13.0": - version "5.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.13.0.tgz#b0efd45c85b7bab1125c97b752cab3a86c7b615d" - integrity sha512-/nz7qFizaBM1SuqAKb7GLkcNn2buRdDgZraXlkhz+vUGiN1NZ9LzkA595tHHeduAiS2MsHqMNhE2zNzGdw43Yg== +"@typescript-eslint/type-utils@5.15.0": + version "5.15.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.15.0.tgz#d2c02eb2bdf54d0a645ba3a173ceda78346cf248" + integrity sha512-KGeDoEQ7gHieLydujGEFLyLofipe9PIzfvA/41urz4hv+xVxPEbmMQonKSynZ0Ks2xDhJQ4VYjB3DnRiywvKDA== dependencies: - "@typescript-eslint/utils" "5.13.0" + "@typescript-eslint/utils" "5.15.0" debug "^4.3.2" tsutils "^3.21.0" -"@typescript-eslint/types@5.13.0": - version "5.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.13.0.tgz#da1de4ae905b1b9ff682cab0bed6b2e3be9c04e5" - integrity sha512-LmE/KO6DUy0nFY/OoQU0XelnmDt+V8lPQhh8MOVa7Y5k2gGRd6U9Kp3wAjhB4OHg57tUO0nOnwYQhRRyEAyOyg== +"@typescript-eslint/types@5.15.0": + version "5.15.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.15.0.tgz#c7bdd103843b1abae97b5518219d3e2a0d79a501" + integrity sha512-yEiTN4MDy23vvsIksrShjNwQl2vl6kJeG9YkVJXjXZnkJElzVK8nfPsWKYxcsGWG8GhurYXP4/KGj3aZAxbeOA== -"@typescript-eslint/typescript-estree@5.13.0": - version "5.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.13.0.tgz#b37c07b748ff030a3e93d87c842714e020b78141" - integrity sha512-Q9cQow0DeLjnp5DuEDjLZ6JIkwGx3oYZe+BfcNuw/POhtpcxMTy18Icl6BJqTSd+3ftsrfuVb7mNHRZf7xiaNA== +"@typescript-eslint/typescript-estree@5.15.0": + version "5.15.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.15.0.tgz#81513a742a9c657587ad1ddbca88e76c6efb0aac" + integrity sha512-Hb0e3dGc35b75xLzixM3cSbG1sSbrTBQDfIScqdyvrfJZVEi4XWAT+UL/HMxEdrJNB8Yk28SKxPLtAhfCbBInA== dependencies: - "@typescript-eslint/types" "5.13.0" - "@typescript-eslint/visitor-keys" "5.13.0" + "@typescript-eslint/types" "5.15.0" + "@typescript-eslint/visitor-keys" "5.15.0" debug "^4.3.2" globby "^11.0.4" is-glob "^4.0.3" semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/utils@5.13.0": - version "5.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.13.0.tgz#2328feca700eb02837298339a2e49c46b41bd0af" - integrity sha512-+9oHlPWYNl6AwwoEt5TQryEHwiKRVjz7Vk6kaBeD3/kwHE5YqTGHtm/JZY8Bo9ITOeKutFaXnBlMgSATMJALUQ== +"@typescript-eslint/utils@5.15.0": + version "5.15.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.15.0.tgz#468510a0974d3ced8342f37e6c662778c277f136" + integrity sha512-081rWu2IPKOgTOhHUk/QfxuFog8m4wxW43sXNOMSCdh578tGJ1PAaWPsj42LOa7pguh173tNlMigsbrHvh/mtA== dependencies: "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.13.0" - "@typescript-eslint/types" "5.13.0" - "@typescript-eslint/typescript-estree" "5.13.0" + "@typescript-eslint/scope-manager" "5.15.0" + "@typescript-eslint/types" "5.15.0" + "@typescript-eslint/typescript-estree" "5.15.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/visitor-keys@5.13.0": - version "5.13.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.13.0.tgz#f45ff55bcce16403b221ac9240fbeeae4764f0fd" - integrity sha512-HLKEAS/qA1V7d9EzcpLFykTePmOQqOFim8oCvhY3pZgQ8Hi38hYpHd9e5GN6nQBFQNecNhws5wkS9Y5XIO0s/g== +"@typescript-eslint/visitor-keys@5.15.0": + version "5.15.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.15.0.tgz#5669739fbf516df060f978be6a6dce75855a8027" + integrity sha512-+vX5FKtgvyHbmIJdxMJ2jKm9z2BIlXJiuewI8dsDYMp5LzPUcuTT78Ya5iwvQg3VqSVdmxyM8Anj1Jeq7733ZQ== dependencies: - "@typescript-eslint/types" "5.13.0" + "@typescript-eslint/types" "5.15.0" eslint-visitor-keys "^3.0.0" "@underline/eslint-config-ember-typescript@^0.12.0": @@ -3982,9 +3982,9 @@ ansi-regex@^3.0.0: integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= ansi-regex@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== ansi-regex@^5.0.1: version "5.0.1" @@ -4269,13 +4269,13 @@ attr-accept@^2.2.2: integrity sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg== autoprefixer@^10.2.5: - version "10.4.2" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.2.tgz#25e1df09a31a9fba5c40b578936b90d35c9d4d3b" - integrity sha512-9fOPpHKuDW1w/0EKfRmVnxTDt8166MAnLI3mgZ1JCnhNtYWxcJ6Ud5CO/AVOZi/AvFa8DY9RTy3h3+tFBlrrdQ== + version "10.4.4" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.4.tgz#3e85a245b32da876a893d3ac2ea19f01e7ea5a1e" + integrity sha512-Tm8JxsB286VweiZ5F0anmbyGiNI3v3wGv3mz9W+cxEDYB/6jbnj6GM9H9mK3wIL8ftgl+C07Lcwb8PG5PCCPzA== dependencies: - browserslist "^4.19.1" - caniuse-lite "^1.0.30001297" - fraction.js "^4.1.2" + browserslist "^4.20.2" + caniuse-lite "^1.0.30001317" + fraction.js "^4.2.0" normalize-range "^0.1.2" picocolors "^1.0.0" postcss-value-parser "^4.2.0" @@ -5889,13 +5889,13 @@ browserslist@^3.2.6: caniuse-lite "^1.0.30000844" electron-to-chromium "^1.3.47" -browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.17.5, browserslist@^4.19.1: - version "4.19.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.3.tgz#29b7caad327ecf2859485f696f9604214bedd383" - integrity sha512-XK3X4xtKJ+Txj8G5c30B4gsm71s69lqXlkYui4s6EkKxuv49qjYlY6oVd+IFJ73d4YymtM3+djvvt/R/iJwwDg== +browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.17.5, browserslist@^4.19.1, browserslist@^4.20.2: + version "4.20.2" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.20.2.tgz#567b41508757ecd904dab4d1c646c612cd3d4f88" + integrity sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA== dependencies: - caniuse-lite "^1.0.30001312" - electron-to-chromium "^1.4.71" + caniuse-lite "^1.0.30001317" + electron-to-chromium "^1.4.84" escalade "^3.1.1" node-releases "^2.0.2" picocolors "^1.0.0" @@ -6098,10 +6098,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001297, caniuse-lite@^1.0.30001312: - version "1.0.30001313" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001313.tgz#a380b079db91621e1b7120895874e2fd62ed2e2f" - integrity sha512-rI1UN0koZUiKINjysQDuRi2VeSCce3bYJNmDcj3PIKREiAmjakugBul1QSkg/fPrlULYl6oWfGg3PbgOSY9X4Q== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001317: + version "1.0.30001317" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001317.tgz#0548fb28fd5bc259a70b8c1ffdbe598037666a1b" + integrity sha512-xIZLh8gBm4dqNX0gkzrBeyI86J2eCjWzYAs40q88smG844YIrN4tVQl/RhquHvKEKImWWFIVh1Lxe5n1G/N+GQ== capture-exit@^2.0.0: version "2.0.0" @@ -7138,9 +7138,9 @@ debug@2.6.9, debug@^2.1.0, debug@^2.1.1, debug@^2.1.3, debug@^2.2.0, debug@^2.3. ms "2.0.0" debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@~4.3.1, debug@~4.3.2: - version "4.3.3" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" - integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" @@ -7491,10 +7491,10 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -electron-to-chromium@^1.3.47, electron-to-chromium@^1.4.71: - version "1.4.76" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.76.tgz#a0494baedaf51094b1c172999919becd9975a934" - integrity sha512-3Vftv7cenJtQb+k00McEBZ2vVmZ/x+HEF7pcZONZIkOsESqAqVuACmBxMv0JhzX7u0YltU0vSqRqgBSTAhFUjA== +electron-to-chromium@^1.3.47, electron-to-chromium@^1.4.84: + version "1.4.88" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.88.tgz#ebe6a2573b563680c7a7bf3a51b9e465c9c501db" + integrity sha512-oA7mzccefkvTNi9u7DXmT0LqvhnOiN2BhSrKerta7HeUC1cLoIwtbf2wL+Ah2ozh5KQd3/1njrGrwDBXx6d14Q== elliptic@^6.5.3: version "6.5.4" @@ -7639,7 +7639,18 @@ ember-changeset-validations@^3.16.0: ember-validators "~4.0.0" validated-changeset "~1.0.0" -ember-changeset@^3.15.0, "ember-changeset@github:betocantu93/ember-changeset#v3.15.1": +ember-changeset@^3.15.0: + version "3.15.0" + resolved "https://registry.yarnpkg.com/ember-changeset/-/ember-changeset-3.15.0.tgz#402bbb9b51dc44596415c1c7b0e3a4923b1d3e81" + integrity sha512-yLyU3quV96EFjYzYUjIK4je5nnemZdbElYLFnXYJ5StXquCRjdFvL79gst/vs6ZjVFbkRKnLjsVP8YMkED0P2g== + dependencies: + "@embroider/macros" "^0.42.3" + "@glimmer/tracking" "^1.0.1" + ember-auto-import "^1.11.3" + ember-cli-babel "^7.26.6" + validated-changeset "1.0.0" + +"ember-changeset@github:betocantu93/ember-changeset#v3.15.1": version "3.15.0" resolved "https://codeload.github.com/betocantu93/ember-changeset/tar.gz/fea413e284d00389a26d6427ad5c9bd8f280782a" dependencies: @@ -9635,10 +9646,10 @@ forwarded@0.2.0: resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== -fraction.js@^4.1.2: - version "4.1.3" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.3.tgz#be65b0f20762ef27e1e793860bc2dfb716e99e65" - integrity sha512-pUHWWt6vHzZZiQJcM6S/0PXfS+g6FM4BF5rj9wZyreivhQPdsh5PpE25VtSNxq80wHS5RfY51Ii+8Z0Zl/pmzg== +fraction.js@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" + integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== fragment-cache@^0.2.1: version "0.2.1" @@ -10060,9 +10071,9 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.6.0, globals@^13.9.0: - version "13.12.1" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.12.1.tgz#ec206be932e6c77236677127577aa8e50bf1c5cb" - integrity sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw== + version "13.13.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.13.0.tgz#ac32261060d8070e2719dd6998406e27d2b5727b" + integrity sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A== dependencies: type-fest "^0.20.2" @@ -10531,9 +10542,9 @@ http-errors@~1.6.2: statuses ">= 1.4.0 < 2" http-parser-js@>=0.5.1: - version "0.5.5" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.5.tgz#d7c30d5d3c90d865b4a2e870181f9d6f22ac7ac5" - integrity sha512-x+JVEkO2PoM8qqpbPbOL3cqHPwerep7OwzK7Ay+sMQjKzaKCqWvjoXm5tqMP9tXWWTnTzAjIhXg+J99XYuPhPA== + version "0.5.6" + resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.6.tgz#2e02406ab2df8af8a7abfba62e0da01c62b95afd" + integrity sha512-vDlkRPDJn93swjcjqMSaGSPABbIarsr1TLAui/gLDXzV5VsJNdXNzMYDyNBLQkjWQCJ1uizu8T2oDMhmGt0PRA== http-proxy-agent@^4.0.1: version "4.0.1" @@ -12498,22 +12509,17 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" -mime-db@1.51.0: - version "1.51.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.51.0.tgz#d9ff62451859b18342d960850dc3cfb77e63fb0c" - integrity sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g== - -"mime-db@>= 1.43.0 < 2": +mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== mime-types@^2.1.12, mime-types@^2.1.18, mime-types@^2.1.26, mime-types@^2.1.27, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: - version "2.1.34" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.34.tgz#5a712f9ec1503511a945803640fafe09d3793c24" - integrity sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A== + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== dependencies: - mime-db "1.51.0" + mime-db "1.52.0" mime@1.6.0: version "1.6.0" @@ -13949,9 +13955,9 @@ postcss@^7.0.11, postcss@^7.0.18, postcss@^7.0.32: source-map "^0.6.1" postcss@^8.1.4, postcss@^8.2.15, postcss@^8.3.5: - version "8.4.7" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.7.tgz#f99862069ec4541de386bf57f5660a6c7a0875a8" - integrity sha512-L9Ye3r6hkkCeOETQX6iOaWZgjp3LL6Lpqm6EtgbKrgqGGteRMNb9vzBfRL96YOSu8o7x3MfIH9Mo5cPJFGrW6A== + version "8.4.12" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.12.tgz#1e7de78733b28970fa4743f7da6f3763648b1905" + integrity sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg== dependencies: nanoid "^3.3.1" picocolors "^1.0.0" @@ -13980,9 +13986,9 @@ prettier-linter-helpers@^1.0.0: fast-diff "^1.1.2" prettier@^2.4.1, prettier@^2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a" - integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg== + version "2.6.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.0.tgz#12f8f504c4d8ddb76475f441337542fa799207d4" + integrity sha512-m2FgJibYrBGGgQXNzfd0PuDGShJgRavjUoRCw1mZERIWVSXF0iLzLm+aOqTAbLnC3n6JzUhAA8uZnFVghHJ86A== pretty-hrtime@^1.0.3: version "1.0.3" @@ -14001,10 +14007,10 @@ printf@^0.6.1: resolved "https://registry.yarnpkg.com/printf/-/printf-0.6.1.tgz#b9afa3d3b55b7f2e8b1715272479fc756ed88650" integrity sha512-is0ctgGdPJ5951KulgfzvHGwJtZ5ck8l042vRkV6jrkpBzTmb/lueTqguWHy2JfVA+RY6gFVlaZgUS0j7S/dsw== -prismjs@~1.25.0: - version "1.25.0" - resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.25.0.tgz#6f822df1bdad965734b310b315a23315cf999756" - integrity sha512-WCjJHl1KEWbnkQom1+SzftbtXMKQoezOCYs5rECqMN+jP+apI7ftoflyqigqzopSO3hMhTEb0mFClA8lkolgEg== +prismjs@~1.27.0: + version "1.27.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.27.0.tgz#bb6ee3138a0b438a3653dd4d6ce0cc6510a45057" + integrity sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA== private@^0.1.6, private@^0.1.8: version "0.1.8" @@ -14494,9 +14500,9 @@ read-package-json@^3.0.0: npm-normalize-package-bin "^1.0.0" read-package-json@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-4.1.1.tgz#153be72fce801578c1c86b8ef2b21188df1b9eea" - integrity sha512-P82sbZJ3ldDrWCOSKxJT0r/CXMWR0OR3KRh55SgKo3p91GSIEEC32v3lSHAvO/UcH3/IoL7uqhOFBduAnwdldw== + version "4.1.2" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-4.1.2.tgz#b444d047de7c75d4a160cb056d00c0693c1df703" + integrity sha512-Dqer4pqzamDE2O4M55xp1qZMuLPqi4ldk2ya648FOMHRjwMzFhuxVrG04wd0c38IsvkVdr3vgHI6z+QTPdAjrQ== dependencies: glob "^7.1.1" json-parse-even-better-errors "^2.3.0" @@ -14654,13 +14660,13 @@ redux@^4.0.0, redux@^4.0.4: "@babel/runtime" "^7.9.2" refractor@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.5.0.tgz#334586f352dda4beaf354099b48c2d18e0819aec" - integrity sha512-QwPJd3ferTZ4cSPPjdP5bsYHMytwWYnAN5EEnLtGvkqp/FCCnGsBgxrm9EuIDnjUC3Uc/kETtvVi7fSIVC74Dg== + version "3.6.0" + resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.6.0.tgz#ac318f5a0715ead790fcfb0c71f4dd83d977935a" + integrity sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA== dependencies: hastscript "^6.0.0" parse-entities "^2.0.0" - prismjs "~1.25.0" + prismjs "~1.27.0" regenerate-unicode-properties@^10.0.1: version "10.0.1" @@ -16379,9 +16385,9 @@ terser@^4.1.2: source-map-support "~0.5.12" terser@^5.3.0, terser@^5.7.0, terser@^5.7.2: - version "5.12.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.12.0.tgz#728c6bff05f7d1dcb687d8eace0644802a9dae8a" - integrity sha512-R3AUhNBGWiFc77HXag+1fXpAxTAFRQTJemlJKjAgD9r8xXTpjNKqIXwHM/o7Rh+O0kUJtS3WQVdBeMKFk5sw9A== + version "5.12.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.12.1.tgz#4cf2ebed1f5bceef5c83b9f60104ac4a78b49e9c" + integrity sha512-NXbs+7nisos5E+yXwAD+y7zrcTkMqb0dEJxIGtSKPdCBzopf7ni4odPul2aechpV7EXNvOudYOX2bb5tln1jbQ== dependencies: acorn "^8.5.0" commander "^2.20.0" @@ -16822,9 +16828,9 @@ uc.micro@^1.0.1, uc.micro@^1.0.5: integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== uglify-js@^3.1.4: - version "3.15.2" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.15.2.tgz#1ed2c976f448063b1f87adb68c741be79959f951" - integrity sha512-peeoTk3hSwYdoc9nrdiEJk+gx1ALCtTjdYuKSXMTDqq7n1W7dHPqWDdSi+BPL0ni2YMeHD7hKUSdbj3TZauY2A== + version "3.15.3" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.15.3.tgz#9aa82ca22419ba4c0137642ba0df800cb06e0471" + integrity sha512-6iCVm2omGJbsu3JWac+p6kUiOpg3wFO2f8lIXjfEb8RrmLjzog1wTPMmwKB7swfzzqxj9YM+sGUM++u1qN4qJg== uid-number@0.0.6: version "0.0.6" @@ -16891,9 +16897,9 @@ unicode-property-aliases-ecmascript@^2.0.0: integrity sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ== unified@^10.0.0: - version "10.1.1" - resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.1.tgz#345e349e3ab353ab612878338eb9d57b4dea1d46" - integrity sha512-v4ky1+6BN9X3pQrOdkFIPWAaeDsHPE1svRDxq7YpTc2plkIqFMwukfqM+l0ewpP9EfwARlt9pPFAeWYhHm8X9w== + version "10.1.2" + resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.2.tgz#b1d64e55dafe1f0b98bb6c719881103ecf6c86df" + integrity sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q== dependencies: "@types/unist" "^2.0.0" bail "^2.0.0"