@phillips/seldon 1.182.0 → 1.182.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,3 +17,15 @@ export declare const Playground: {
17
17
  export declare const WithHeader: ({ authState, ...props }: HeaderProps & {
18
18
  authState?: AuthState;
19
19
  }) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const StringMessage: {
21
+ (props: NotificationBannerProps): import("react/jsx-runtime").JSX.Element;
22
+ args: {
23
+ children: string;
24
+ };
25
+ };
26
+ export declare const NestedMessage: {
27
+ (props: NotificationBannerProps): import("react/jsx-runtime").JSX.Element;
28
+ args: {
29
+ children: import("react/jsx-runtime").JSX.Element;
30
+ };
31
+ };
@@ -172,6 +172,8 @@ $breakpoint-xl: 1801px;
172
172
  --snw-heading-hero-line-height-size1: 2.375rem;
173
173
  --snw-heading-hero-size2: 1.625rem;
174
174
  --snw-heading-hero-line-height-size2: 1.9375rem;
175
+ --snw-note-size: 0.75rem;
176
+ --snw-note-line-height: 1rem;
175
177
 
176
178
  @media (min-width: $breakpoint-md) {
177
179
  --quote-size: 1.75rem;
@@ -322,6 +324,8 @@ $snw-heading-hero-line-height2: var(--snw-heading-hero-line-height-size2);
322
324
 
323
325
  // SNOWFLAKES
324
326
  $snowflake-menu-padding: 1.25rem;
327
+ $snowflake-note-size: var(--snw-note-size);
328
+ $snowflake-note-line-height: var(--snw-note-line-height);
325
329
 
326
330
  /* stylelint-disable-next-line no-duplicate-selectors */
327
331
  :root {
@@ -172,6 +172,8 @@ $breakpoint-xl: 1801px;
172
172
  --snw-heading-hero-line-height-size1: 2.375rem;
173
173
  --snw-heading-hero-size2: 1.625rem;
174
174
  --snw-heading-hero-line-height-size2: 1.9375rem;
175
+ --snw-note-size: 0.75rem;
176
+ --snw-note-line-height: 1rem;
175
177
 
176
178
  @media (min-width: $breakpoint-md) {
177
179
  --quote-size: 1.75rem;
@@ -322,6 +324,8 @@ $snw-heading-hero-line-height2: var(--snw-heading-hero-line-height-size2);
322
324
 
323
325
  // SNOWFLAKES
324
326
  $snowflake-menu-padding: 1.25rem;
327
+ $snowflake-note-size: var(--snw-note-size);
328
+ $snowflake-note-line-height: var(--snw-note-line-height);
325
329
 
326
330
  /* stylelint-disable-next-line no-duplicate-selectors */
327
331
  :root {
@@ -2,10 +2,45 @@
2
2
 
3
3
  .#{$px}-notification-banner {
4
4
  background: $light-gray;
5
+ color: $pure-black;
6
+ font-size: $snowflake-note-size;
7
+ font-variation-settings: 'wght' 600;
5
8
  left: 0;
9
+ line-height: $snowflake-note-line-height;
6
10
  padding: $spacing-sm $spacing-md;
7
11
  position: fixed;
12
+ text-align: center;
8
13
  top: 0;
9
14
  width: 100%;
10
15
  z-index: $z-index-notification-banner;
16
+
17
+ > * {
18
+ font-size: $snowflake-note-size;
19
+ font-variation-settings: 'wght' 600;
20
+ line-height: $snowflake-note-line-height;
21
+ text-align: center;
22
+
23
+ a {
24
+ cursor: pointer;
25
+ text-decoration: underline;
26
+ }
27
+ }
28
+
29
+ > .#{$px}-notification-banner-content {
30
+ color: $pure-black;
31
+ font-size: $snowflake-note-size;
32
+ font-variation-settings: 'wght' 600;
33
+ line-height: $snowflake-note-line-height;
34
+ text-align: center;
35
+
36
+ a {
37
+ cursor: pointer;
38
+ text-decoration: underline;
39
+ }
40
+ }
41
+
42
+ .#{$px}-notification-banner-link {
43
+ cursor: pointer;
44
+ text-decoration: underline;
45
+ }
11
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.182.0",
3
+ "version": "1.182.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"