@sbb-esta/lyne-elements-dev 4.7.0-dev.1773743316 → 4.7.0-dev.1773744201
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.
- package/core/styles/core.scss +5 -10
- package/core.css +14 -9
- package/custom-elements.json +75 -75
- package/development/notification/notification.component.js +1 -1
- package/development/notification.component-BT3ZQhUI.js +525 -0
- package/development/notification.js +1 -1
- package/development/notification.pure.js +1 -1
- package/notification/notification.component.js +1 -1
- package/notification.component-DA7sZ3m4.js +197 -0
- package/notification.js +1 -1
- package/notification.pure.js +1 -1
- package/off-brand-theme.css +14 -9
- package/package.json +2 -2
- package/safety-theme.css +14 -9
- package/standard-theme.css +14 -9
- package/development/notification.component-B5EBKKf8.js +0 -530
- package/notification.component-DZS8z1oa.js +0 -197
package/core/styles/core.scss
CHANGED
|
@@ -160,6 +160,9 @@ $theme: 'standard' !default;
|
|
|
160
160
|
with (
|
|
161
161
|
$theme: $theme
|
|
162
162
|
);
|
|
163
|
+
@use '../../notification/notification.global' as notification with (
|
|
164
|
+
$theme: $theme
|
|
165
|
+
);
|
|
163
166
|
@use '../../option/option/option.global' as option with (
|
|
164
167
|
$theme: $theme
|
|
165
168
|
);
|
|
@@ -249,6 +252,7 @@ $theme: 'standard' !default;
|
|
|
249
252
|
@include message.base;
|
|
250
253
|
@include mini-calendar-day.base;
|
|
251
254
|
@include mini-calendar-month.base;
|
|
255
|
+
@include notification.base;
|
|
252
256
|
@include option.base;
|
|
253
257
|
@include option-hint.base;
|
|
254
258
|
@include optgroup.base;
|
|
@@ -334,6 +338,7 @@ $theme: 'standard' !default;
|
|
|
334
338
|
|
|
335
339
|
@include dialog.base-breakpoint-small;
|
|
336
340
|
@include footer.base-breakpoint-small;
|
|
341
|
+
@include notification.base-breakpoint-small;
|
|
337
342
|
}
|
|
338
343
|
|
|
339
344
|
@include mediaqueries.mq($from: large) {
|
|
@@ -661,16 +666,6 @@ sbb-toggle:has(:focus-visible) {
|
|
|
661
666
|
@include a11y.focus-outline;
|
|
662
667
|
}
|
|
663
668
|
|
|
664
|
-
sbb-notification:has(sbb-title) {
|
|
665
|
-
--_sbb-notification-icon-authoritative-font-size: var(--sbb-heading-font-size-5);
|
|
666
|
-
--_sbb-notification-icon-authoritative-line-height: var(--sbb-typo-line-height-heading);
|
|
667
|
-
|
|
668
|
-
&[size='s'] {
|
|
669
|
-
--_sbb-notification-icon-authoritative-font-size: var(--sbb-heading-font-size-6);
|
|
670
|
-
--_sbb-notification-icon-authoritative-line-height: var(--sbb-typo-line-height-text);
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
|
|
674
669
|
.sbb-overlay-outlet {
|
|
675
670
|
position: fixed;
|
|
676
671
|
inset: 0;
|
package/core.css
CHANGED
|
@@ -1609,6 +1609,18 @@
|
|
|
1609
1609
|
var(--sbb-color-granite),
|
|
1610
1610
|
var(--sbb-color-silver)
|
|
1611
1611
|
);
|
|
1612
|
+
--sbb-notification-base-border-radius: var(--sbb-border-radius-4x);
|
|
1613
|
+
--sbb-notification-border-width: var(--sbb-border-width-1x);
|
|
1614
|
+
--sbb-notification-color: var(--sbb-color-2-negative-inverted);
|
|
1615
|
+
--sbb-notification-icon-align-self: center;
|
|
1616
|
+
--sbb-notification-margin: 0;
|
|
1617
|
+
--sbb-notification-timing-function: ease-in;
|
|
1618
|
+
--sbb-notification-font-size: var(--sbb-text-font-size-s);
|
|
1619
|
+
--sbb-notification-padding-block: var(--sbb-spacing-responsive-xxs);
|
|
1620
|
+
--sbb-notification-padding-inline: var(--sbb-spacing-responsive-xs);
|
|
1621
|
+
--sbb-notification-content-margin-block-start: var(--sbb-spacing-fixed-2x);
|
|
1622
|
+
--sbb-notification-content-padding-inline: var(--sbb-spacing-responsive-xxxs) var(--sbb-spacing-responsive-xs);
|
|
1623
|
+
--sbb-notification-close-wrapper-gap: var(--sbb-spacing-responsive-xxs);
|
|
1612
1624
|
--sbb-option-color: var(--sbb-color-3);
|
|
1613
1625
|
--sbb-option-background-color: inherit;
|
|
1614
1626
|
--sbb-option-background-color-hover: var(--sbb-background-color-3);
|
|
@@ -1799,6 +1811,8 @@
|
|
|
1799
1811
|
--sbb-grid-base-gutter-responsive: var(--sbb-layout-base-grid-gutter-responsive-small);
|
|
1800
1812
|
--sbb-dialog-padding-inline: var(--sbb-spacing-fixed-12x);
|
|
1801
1813
|
--sbb-footer-clock-width: 7rem;
|
|
1814
|
+
--sbb-notification-icon-align-self: flex-start;
|
|
1815
|
+
--sbb-notification-padding-inline: var(--sbb-spacing-responsive-xs);
|
|
1802
1816
|
}
|
|
1803
1817
|
}
|
|
1804
1818
|
@media (min-width: calc(64rem)) {
|
|
@@ -2392,15 +2406,6 @@ sbb-toggle:has(:focus-visible) {
|
|
|
2392
2406
|
outline: var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);
|
|
2393
2407
|
}
|
|
2394
2408
|
|
|
2395
|
-
sbb-notification:has(sbb-title) {
|
|
2396
|
-
--_sbb-notification-icon-authoritative-font-size: var(--sbb-heading-font-size-5);
|
|
2397
|
-
--_sbb-notification-icon-authoritative-line-height: var(--sbb-typo-line-height-heading);
|
|
2398
|
-
}
|
|
2399
|
-
sbb-notification:has(sbb-title)[size=s] {
|
|
2400
|
-
--_sbb-notification-icon-authoritative-font-size: var(--sbb-heading-font-size-6);
|
|
2401
|
-
--_sbb-notification-icon-authoritative-line-height: var(--sbb-typo-line-height-text);
|
|
2402
|
-
}
|
|
2403
|
-
|
|
2404
2409
|
.sbb-overlay-outlet {
|
|
2405
2410
|
position: fixed;
|
|
2406
2411
|
inset: 0;
|
package/custom-elements.json
CHANGED
|
@@ -13594,6 +13594,81 @@
|
|
|
13594
13594
|
}
|
|
13595
13595
|
]
|
|
13596
13596
|
},
|
|
13597
|
+
{
|
|
13598
|
+
"kind": "javascript-module",
|
|
13599
|
+
"path": "icon-sidebar/icon-sidebar-button.js",
|
|
13600
|
+
"declarations": [],
|
|
13601
|
+
"exports": [
|
|
13602
|
+
{
|
|
13603
|
+
"kind": "js",
|
|
13604
|
+
"name": "*",
|
|
13605
|
+
"declaration": {
|
|
13606
|
+
"name": "*",
|
|
13607
|
+
"module": "icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js"
|
|
13608
|
+
}
|
|
13609
|
+
}
|
|
13610
|
+
]
|
|
13611
|
+
},
|
|
13612
|
+
{
|
|
13613
|
+
"kind": "javascript-module",
|
|
13614
|
+
"path": "icon-sidebar/icon-sidebar-container.js",
|
|
13615
|
+
"declarations": [],
|
|
13616
|
+
"exports": [
|
|
13617
|
+
{
|
|
13618
|
+
"kind": "js",
|
|
13619
|
+
"name": "*",
|
|
13620
|
+
"declaration": {
|
|
13621
|
+
"name": "*",
|
|
13622
|
+
"module": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js"
|
|
13623
|
+
}
|
|
13624
|
+
}
|
|
13625
|
+
]
|
|
13626
|
+
},
|
|
13627
|
+
{
|
|
13628
|
+
"kind": "javascript-module",
|
|
13629
|
+
"path": "icon-sidebar/icon-sidebar-content.js",
|
|
13630
|
+
"declarations": [],
|
|
13631
|
+
"exports": [
|
|
13632
|
+
{
|
|
13633
|
+
"kind": "js",
|
|
13634
|
+
"name": "*",
|
|
13635
|
+
"declaration": {
|
|
13636
|
+
"name": "*",
|
|
13637
|
+
"module": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js"
|
|
13638
|
+
}
|
|
13639
|
+
}
|
|
13640
|
+
]
|
|
13641
|
+
},
|
|
13642
|
+
{
|
|
13643
|
+
"kind": "javascript-module",
|
|
13644
|
+
"path": "icon-sidebar/icon-sidebar-link.js",
|
|
13645
|
+
"declarations": [],
|
|
13646
|
+
"exports": [
|
|
13647
|
+
{
|
|
13648
|
+
"kind": "js",
|
|
13649
|
+
"name": "*",
|
|
13650
|
+
"declaration": {
|
|
13651
|
+
"name": "*",
|
|
13652
|
+
"module": "icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js"
|
|
13653
|
+
}
|
|
13654
|
+
}
|
|
13655
|
+
]
|
|
13656
|
+
},
|
|
13657
|
+
{
|
|
13658
|
+
"kind": "javascript-module",
|
|
13659
|
+
"path": "icon-sidebar/icon-sidebar.js",
|
|
13660
|
+
"declarations": [],
|
|
13661
|
+
"exports": [
|
|
13662
|
+
{
|
|
13663
|
+
"kind": "js",
|
|
13664
|
+
"name": "*",
|
|
13665
|
+
"declaration": {
|
|
13666
|
+
"name": "*",
|
|
13667
|
+
"module": "icon-sidebar/icon-sidebar/icon-sidebar.component.js"
|
|
13668
|
+
}
|
|
13669
|
+
}
|
|
13670
|
+
]
|
|
13671
|
+
},
|
|
13597
13672
|
{
|
|
13598
13673
|
"kind": "javascript-module",
|
|
13599
13674
|
"path": "image/image.component.js",
|
|
@@ -14144,81 +14219,6 @@
|
|
|
14144
14219
|
}
|
|
14145
14220
|
]
|
|
14146
14221
|
},
|
|
14147
|
-
{
|
|
14148
|
-
"kind": "javascript-module",
|
|
14149
|
-
"path": "icon-sidebar/icon-sidebar-button.js",
|
|
14150
|
-
"declarations": [],
|
|
14151
|
-
"exports": [
|
|
14152
|
-
{
|
|
14153
|
-
"kind": "js",
|
|
14154
|
-
"name": "*",
|
|
14155
|
-
"declaration": {
|
|
14156
|
-
"name": "*",
|
|
14157
|
-
"module": "icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js"
|
|
14158
|
-
}
|
|
14159
|
-
}
|
|
14160
|
-
]
|
|
14161
|
-
},
|
|
14162
|
-
{
|
|
14163
|
-
"kind": "javascript-module",
|
|
14164
|
-
"path": "icon-sidebar/icon-sidebar-container.js",
|
|
14165
|
-
"declarations": [],
|
|
14166
|
-
"exports": [
|
|
14167
|
-
{
|
|
14168
|
-
"kind": "js",
|
|
14169
|
-
"name": "*",
|
|
14170
|
-
"declaration": {
|
|
14171
|
-
"name": "*",
|
|
14172
|
-
"module": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js"
|
|
14173
|
-
}
|
|
14174
|
-
}
|
|
14175
|
-
]
|
|
14176
|
-
},
|
|
14177
|
-
{
|
|
14178
|
-
"kind": "javascript-module",
|
|
14179
|
-
"path": "icon-sidebar/icon-sidebar-content.js",
|
|
14180
|
-
"declarations": [],
|
|
14181
|
-
"exports": [
|
|
14182
|
-
{
|
|
14183
|
-
"kind": "js",
|
|
14184
|
-
"name": "*",
|
|
14185
|
-
"declaration": {
|
|
14186
|
-
"name": "*",
|
|
14187
|
-
"module": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js"
|
|
14188
|
-
}
|
|
14189
|
-
}
|
|
14190
|
-
]
|
|
14191
|
-
},
|
|
14192
|
-
{
|
|
14193
|
-
"kind": "javascript-module",
|
|
14194
|
-
"path": "icon-sidebar/icon-sidebar-link.js",
|
|
14195
|
-
"declarations": [],
|
|
14196
|
-
"exports": [
|
|
14197
|
-
{
|
|
14198
|
-
"kind": "js",
|
|
14199
|
-
"name": "*",
|
|
14200
|
-
"declaration": {
|
|
14201
|
-
"name": "*",
|
|
14202
|
-
"module": "icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js"
|
|
14203
|
-
}
|
|
14204
|
-
}
|
|
14205
|
-
]
|
|
14206
|
-
},
|
|
14207
|
-
{
|
|
14208
|
-
"kind": "javascript-module",
|
|
14209
|
-
"path": "icon-sidebar/icon-sidebar.js",
|
|
14210
|
-
"declarations": [],
|
|
14211
|
-
"exports": [
|
|
14212
|
-
{
|
|
14213
|
-
"kind": "js",
|
|
14214
|
-
"name": "*",
|
|
14215
|
-
"declaration": {
|
|
14216
|
-
"name": "*",
|
|
14217
|
-
"module": "icon-sidebar/icon-sidebar/icon-sidebar.component.js"
|
|
14218
|
-
}
|
|
14219
|
-
}
|
|
14220
|
-
]
|
|
14221
|
-
},
|
|
14222
14222
|
{
|
|
14223
14223
|
"kind": "javascript-module",
|
|
14224
14224
|
"path": "journey-header/journey-header.component.js",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SbbNotificationElement } from "../notification.component-
|
|
1
|
+
import { t as SbbNotificationElement } from "../notification.component-BT3ZQhUI.js";
|
|
2
2
|
export { SbbNotificationElement };
|