@sbb-esta/lyne-elements-dev 5.0.0-next.3-dev.1779895144 → 5.0.0-next.3-dev.1780043485

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/_index.scss CHANGED
@@ -1,5 +1,6 @@
1
1
  // This file is auto-generated by scripts/generate-scss-api.ts
2
2
  @forward './core/styles';
3
+ @forward './action-group/action-group.global' as action-group-*;
3
4
  @forward './alert/alert.global' as alert-*;
4
5
  @forward './badge/badge.global' as badge-*;
5
6
  @forward './breadcrumb/breadcrumb.global' as breadcrumb-*;
@@ -0,0 +1,7 @@
1
+ @use '../core/styles' as sbb;
2
+
3
+ $theme: 'standard' !default;
4
+
5
+ @mixin base {
6
+ --sbb-action-group-gap: var(--sbb-spacing-fixed-2x) var(--sbb-spacing-fixed-4x);
7
+ }
@@ -1,2 +1,2 @@
1
- import { t as e } from "../action-group.component-Dg11Ug4A.js";
1
+ import { t as e } from "../action-group.component-DBfkhMYG.js";
2
2
  export { e as SbbActionGroupElement };
@@ -0,0 +1,16 @@
1
+ import { html as e, unsafeCSS as t } from "lit";
2
+ import { SbbElement as n } from "./core.js";
3
+ //#region src/elements/action-group/action-group.scss?inline
4
+ var r = ":host{display:flex;align-items:center;justify-content:start;gap:var(--sbb-action-group-gap)}:host(.sbb-orientation-vertical-full-width){flex-direction:column;align-items:stretch}:host(:where(.sbb-orientation-vertical,.sbb-orientation-horizontal-from-small,.sbb-orientation-horizontal-from-large,.sbb-orientation-horizontal-from-ultra)){align-items:start}@media(min-width:37.5rem){:host(.sbb-orientation-horizontal-from-small){align-items:center}}@media(min-width:64rem){:host(.sbb-orientation-horizontal-from-large){align-items:center}}@media(min-width:90rem){:host(.sbb-orientation-horizontal-from-ultra){align-items:center}}", i = class extends n {
5
+ static {
6
+ this.elementName = "sbb-action-group";
7
+ }
8
+ static {
9
+ this.styles = [t(r)];
10
+ }
11
+ render() {
12
+ return e`<slot></slot>`;
13
+ }
14
+ };
15
+ //#endregion
16
+ export { i as t };
package/action-group.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./action-group.component-Dg11Ug4A.js";
1
+ import { t as e } from "./action-group.component-DBfkhMYG.js";
2
2
  import "./action-group.pure.js";
3
3
  //#region src/elements/action-group.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./action-group.component-Dg11Ug4A.js";
1
+ import { t as e } from "./action-group.component-DBfkhMYG.js";
2
2
  export { e as SbbActionGroupElement };
@@ -7,6 +7,9 @@ $theme: 'standard' !default;
7
7
  @use './node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss' as sbb-css-tokens with (
8
8
  $theme: $theme
9
9
  );
10
+ @use '../../action-group/action-group.global' as action-group with (
11
+ $theme: $theme
12
+ );
10
13
  @use '../../alert/alert.global' as alert with (
11
14
  $theme: $theme
12
15
  );
@@ -212,6 +215,7 @@ $theme: 'standard' !default;
212
215
 
213
216
  // start-auto-generated-scss-module-root
214
217
  @include sbb-css-tokens.base;
218
+ @include action-group.base;
215
219
  @include alert.base;
216
220
  @include breadcrumb.base;
217
221
  @include button.base;
@@ -1,4 +1,5 @@
1
1
  @use '../mixins/layout';
2
+ @use '../mixins/mediaqueries';
2
3
 
3
4
  .sbb-grid,
4
5
  .sbb-page-spacing {
@@ -18,3 +19,29 @@
18
19
  .sbb-grid-only {
19
20
  @include layout.grid-base;
20
21
  }
22
+
23
+ .sbb-orientation-vertical,
24
+ .sbb-orientation-horizontal-from-small,
25
+ .sbb-orientation-horizontal-from-large,
26
+ .sbb-orientation-horizontal-from-ultra {
27
+ display: flex;
28
+ flex-direction: column;
29
+ }
30
+
31
+ .sbb-orientation-horizontal-from-small {
32
+ @include mediaqueries.mq($from: small) {
33
+ flex-direction: row;
34
+ }
35
+ }
36
+
37
+ .sbb-orientation-horizontal-from-large {
38
+ @include mediaqueries.mq($from: large) {
39
+ flex-direction: row;
40
+ }
41
+ }
42
+
43
+ .sbb-orientation-horizontal-from-ultra {
44
+ @include mediaqueries.mq($from: ultra) {
45
+ flex-direction: row;
46
+ }
47
+ }