@sbb-esta/lyne-elements-dev 4.9.0-dev.1774507634 → 4.9.0-dev.1774516800
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/{compact-paginator.component-JM9tD9ys.js → compact-paginator.component-CrdZ6dqt.js} +2 -4
- package/core/styles/core.scss +8 -0
- package/core.css +13 -0
- package/custom-elements.json +668 -668
- package/development/calendar/calendar/calendar.component.js +1 -1
- package/development/calendar/calendar.js +1 -1
- package/development/{calendar.component-0Pl7qEXL.js → calendar.component-BvJGWtm-.js} +2 -2
- package/development/calendar.js +1 -1
- package/development/calendar.pure.js +1 -1
- package/development/compact-paginator.component-BgdCSnNV.js +86 -0
- package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/development/paginator/compact-paginator.js +1 -1
- package/development/paginator/paginator/paginator.component.js +1 -1
- package/development/paginator/paginator.js +1 -1
- package/development/paginator.component-C03vfQ7J.js +470 -0
- package/development/paginator.js +2 -2
- package/development/paginator.pure.js +2 -2
- package/off-brand-theme.css +13 -0
- package/package.json +2 -2
- package/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/paginator/compact-paginator.js +1 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/paginator/paginator.js +1 -1
- package/paginator.component-BoVsXIBx.js +206 -0
- package/paginator.js +2 -2
- package/paginator.pure.js +2 -2
- package/safety-theme.css +13 -0
- package/standard-theme.css +13 -0
- package/development/compact-paginator.component-BSTPWGJx.js +0 -96
- package/development/paginator.component-DT-sZuFS.js +0 -492
- package/paginator.component-nXF_Zbze.js +0 -206
|
@@ -7,7 +7,7 @@ import "./screen-reader-only.js";
|
|
|
7
7
|
import { styleMap as o } from "lit/directives/style-map.js";
|
|
8
8
|
import { SbbPaginatorCommonElementMixin as s } from "./paginator/common/paginator-common.js";
|
|
9
9
|
//#region src/elements/paginator/compact-paginator/compact-paginator.scss?lit&inline
|
|
10
|
-
var c = e`:host{display:
|
|
10
|
+
var c = e`:host{display:flex;gap:var(--sbb-compact-paginator-gap);justify-content:var(--sbb-paginator-compact-justify-content, start);min-height:var(--sbb-compact-paginator-height)}:host([size=s]){--sbb-compact-paginator-height: var(--sbb-size-element-xs)}:host([size=m]){--sbb-compact-paginator-height: var(--sbb-size-element-m)}:host([negative]){--sbb-compact-paginator-color: var(--sbb-color-5)}:host([pager-position=end]){--sbb-paginator-compact-justify-content: end}.sbb-paginator__pages{font-size:var(--sbb-compact-paginator-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);display:flex;align-items:center;justify-content:center;gap:var(--sbb-compact-paginator-pages-gap);color:var(--sbb-compact-paginator-color)}.sbb-compact-paginator__divider{height:1rem}`, l = class extends s(n) {
|
|
11
11
|
static {
|
|
12
12
|
this.elementName = "sbb-compact-paginator";
|
|
13
13
|
}
|
|
@@ -35,9 +35,7 @@ var c = e`:host{display:block;--sbb-compact-paginator-height: var(--sbb-size-ele
|
|
|
35
35
|
}
|
|
36
36
|
renderPaginator() {
|
|
37
37
|
return t`
|
|
38
|
-
|
|
39
|
-
${this.pagerPosition === "start" ? t`${this.renderPrevNextButtons()} ${this._renderPageNumbers()}` : t`${this._renderPageNumbers()} ${this.renderPrevNextButtons()}`}
|
|
40
|
-
</div>
|
|
38
|
+
${this.pagerPosition === "start" ? t`${this.renderPrevNextButtons()} ${this._renderPageNumbers()}` : t`${this._renderPageNumbers()} ${this.renderPrevNextButtons()}`}
|
|
41
39
|
`;
|
|
42
40
|
}
|
|
43
41
|
};
|
package/core/styles/core.scss
CHANGED
|
@@ -175,6 +175,12 @@ $theme: 'standard' !default;
|
|
|
175
175
|
@use '../../option/optgroup/optgroup.global' as optgroup with (
|
|
176
176
|
$theme: $theme
|
|
177
177
|
);
|
|
178
|
+
@use '../../paginator/paginator/paginator.global' as paginator with (
|
|
179
|
+
$theme: $theme
|
|
180
|
+
);
|
|
181
|
+
@use '../../paginator/compact-paginator/compact-paginator.global' as compact-paginator with (
|
|
182
|
+
$theme: $theme
|
|
183
|
+
);
|
|
178
184
|
@use '../../popover/popover.global' as popover-component with (
|
|
179
185
|
$theme: $theme
|
|
180
186
|
);
|
|
@@ -270,6 +276,8 @@ $theme: 'standard' !default;
|
|
|
270
276
|
@include option-hint.base;
|
|
271
277
|
@include optgroup.base;
|
|
272
278
|
@include overlay.options-panel-overlay-variables--global($theme);
|
|
279
|
+
@include paginator.base;
|
|
280
|
+
@include compact-paginator.base;
|
|
273
281
|
@include popover-component.base;
|
|
274
282
|
@include radio-button-common.base;
|
|
275
283
|
@include selection-group.base;
|
package/core.css
CHANGED
|
@@ -1588,6 +1588,19 @@ slot[name=error]::slotted(*) {
|
|
|
1588
1588
|
--sbb-options-panel-background-color: var(--sbb-background-color-1);
|
|
1589
1589
|
--sbb-options-panel-divider-margin-block: var(--sbb-spacing-fixed-3x);
|
|
1590
1590
|
--sbb-options-panel-padding-block: var(--sbb-spacing-fixed-2x);
|
|
1591
|
+
--sbb-paginator-height: var(--sbb-size-element-m);
|
|
1592
|
+
--sbb-paginator-page-color: var(--sbb-color-metal);
|
|
1593
|
+
--sbb-paginator-page-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));
|
|
1594
|
+
--sbb-paginator-page-border-width: 0;
|
|
1595
|
+
--sbb-paginator-page-cursor: var(--sbb-cursor-pointer);
|
|
1596
|
+
--sbb-paginator-animation-easing: var(--sbb-animation-easing);
|
|
1597
|
+
--sbb-paginator-font-size: var(--sbb-text-font-size-s);
|
|
1598
|
+
--sbb-compact-paginator-height: var(--sbb-size-element-m);
|
|
1599
|
+
--sbb-compact-paginator-color: var(--sbb-color-metal);
|
|
1600
|
+
--sbb-compact-paginator-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));
|
|
1601
|
+
--sbb-compact-paginator-font-size: var(--sbb-text-font-size-m);
|
|
1602
|
+
--sbb-compact-paginator-gap: var(--sbb-spacing-fixed-5x);
|
|
1603
|
+
--sbb-compact-paginator-pages-gap: var(--sbb-spacing-fixed-2x);
|
|
1591
1604
|
--sbb-popover-arrow-size: var(--sbb-spacing-fixed-4x);
|
|
1592
1605
|
--sbb-popover-max-width: calc(100% - var(--sbb-spacing-fixed-2x));
|
|
1593
1606
|
--sbb-popover-border-radius: var(--sbb-border-radius-8x);
|