@breadstone/mosaik-elements-foundation 0.0.135 → 0.0.136

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.
Files changed (71) hide show
  1. package/Controls/Behaviors/Slottable.d.ts +6 -0
  2. package/Controls/Behaviors/Slottable.d.ts.map +1 -1
  3. package/Controls/Behaviors/Slottable.js +6 -0
  4. package/Controls/Behaviors/Slottable.js.map +1 -1
  5. package/Controls/Components/Grouping/Banner/BannerElement.d.ts +3 -2
  6. package/Controls/Components/Grouping/Banner/BannerElement.d.ts.map +1 -1
  7. package/Controls/Components/Grouping/Banner/BannerElement.js +3 -4
  8. package/Controls/Components/Grouping/Banner/BannerElement.js.map +1 -1
  9. package/Controls/Components/Grouping/Banner/BannerElementTemplate.d.ts.map +1 -1
  10. package/Controls/Components/Grouping/Banner/BannerElementTemplate.js +4 -0
  11. package/Controls/Components/Grouping/Banner/BannerElementTemplate.js.map +1 -1
  12. package/Controls/Components/Grouping/Banner/IBannerElementProps.d.ts +2 -1
  13. package/Controls/Components/Grouping/Banner/IBannerElementProps.d.ts.map +1 -1
  14. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Cosmopolitan.d.ts.map +1 -1
  15. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Cosmopolitan.js +0 -1
  16. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Cosmopolitan.js.map +1 -1
  17. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Joy.d.ts.map +1 -1
  18. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Joy.js +1 -2
  19. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Joy.js.map +1 -1
  20. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Retro.d.ts.map +1 -1
  21. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Retro.js +0 -1
  22. package/Controls/Components/Grouping/Banner/Themes/BannerElement.Retro.js.map +1 -1
  23. package/Controls/Components/Grouping/BannerGroup/BannerGroupDismissBehavior.d.ts +7 -0
  24. package/Controls/Components/Grouping/BannerGroup/BannerGroupDismissBehavior.d.ts.map +1 -0
  25. package/Controls/Components/Grouping/BannerGroup/BannerGroupDismissBehavior.js +6 -0
  26. package/Controls/Components/Grouping/BannerGroup/BannerGroupDismissBehavior.js.map +1 -0
  27. package/Controls/Components/Grouping/BannerGroup/BannerGroupElement.d.ts +227 -0
  28. package/Controls/Components/Grouping/BannerGroup/BannerGroupElement.d.ts.map +1 -0
  29. package/Controls/Components/Grouping/BannerGroup/BannerGroupElement.js +548 -0
  30. package/Controls/Components/Grouping/BannerGroup/BannerGroupElement.js.map +1 -0
  31. package/Controls/Components/Grouping/BannerGroup/BannerGroupElementTemplate.d.ts +9 -0
  32. package/Controls/Components/Grouping/BannerGroup/BannerGroupElementTemplate.d.ts.map +1 -0
  33. package/Controls/Components/Grouping/BannerGroup/BannerGroupElementTemplate.js +43 -0
  34. package/Controls/Components/Grouping/BannerGroup/BannerGroupElementTemplate.js.map +1 -0
  35. package/Controls/Components/Grouping/BannerGroup/BannerGroupStacking.d.ts +6 -0
  36. package/Controls/Components/Grouping/BannerGroup/BannerGroupStacking.d.ts.map +1 -0
  37. package/Controls/Components/Grouping/BannerGroup/BannerGroupStacking.js +5 -0
  38. package/Controls/Components/Grouping/BannerGroup/BannerGroupStacking.js.map +1 -0
  39. package/Controls/Components/Grouping/BannerGroup/IBannerGroupElementProps.d.ts +36 -0
  40. package/Controls/Components/Grouping/BannerGroup/IBannerGroupElementProps.d.ts.map +1 -0
  41. package/Controls/Components/Grouping/BannerGroup/IBannerGroupElementProps.js +3 -0
  42. package/Controls/Components/Grouping/BannerGroup/IBannerGroupElementProps.js.map +1 -0
  43. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Cosmopolitan.d.ts +6 -0
  44. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Cosmopolitan.d.ts.map +1 -0
  45. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Cosmopolitan.js +179 -0
  46. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Cosmopolitan.js.map +1 -0
  47. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Joy.d.ts +6 -0
  48. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Joy.d.ts.map +1 -0
  49. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Joy.js +179 -0
  50. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Joy.js.map +1 -0
  51. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Retro.d.ts +6 -0
  52. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Retro.d.ts.map +1 -0
  53. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Retro.js +179 -0
  54. package/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Retro.js.map +1 -0
  55. package/Controls/Components/Layouts/Absolute/AbsoluteElement.d.ts.map +1 -1
  56. package/Controls/Components/Layouts/Absolute/AbsoluteItemElement.d.ts.map +1 -1
  57. package/Controls/Types/BannerGroupDismissBehavior.d.ts +7 -0
  58. package/Controls/Types/BannerGroupDismissBehavior.d.ts.map +1 -0
  59. package/Controls/Types/BannerGroupDismissBehavior.js +6 -0
  60. package/Controls/Types/BannerGroupDismissBehavior.js.map +1 -0
  61. package/Controls/Types/BannerGroupStacking.d.ts +6 -0
  62. package/Controls/Types/BannerGroupStacking.d.ts.map +1 -0
  63. package/Controls/Types/BannerGroupStacking.js +5 -0
  64. package/Controls/Types/BannerGroupStacking.js.map +1 -0
  65. package/Index.d.ts +3 -0
  66. package/Index.d.ts.map +1 -1
  67. package/Index.js +3 -0
  68. package/Index.js.map +1 -1
  69. package/Routing/PathToRegexp.d.ts +1 -1
  70. package/custom-elements.json +798 -0
  71. package/package.json +3 -3
@@ -0,0 +1,36 @@
1
+ import type { IDisableableProps } from '../../../Behaviors/Disableable';
2
+ import type { IOrientableProps } from '../../../Behaviors/Orientable';
3
+ import type { BannerGroupDismissBehavior } from '../../../Types/BannerGroupDismissBehavior';
4
+ import type { BannerGroupStacking } from '../../../Types/BannerGroupStacking';
5
+ /**
6
+ * Represents the `{@link IBannerGroupElementProps}` interface.
7
+ *
8
+ * @public
9
+ */
10
+ export interface IBannerGroupElementProps extends IDisableableProps, IOrientableProps {
11
+ /**
12
+ * The current active (start) index.
13
+ */
14
+ index: number;
15
+ /**
16
+ * Enables looping when navigating beyond the first or last banner.
17
+ */
18
+ loop: boolean;
19
+ /**
20
+ * The maximum number of visible banners (1 = pager/carousel mode).
21
+ */
22
+ maxLength: number;
23
+ /**
24
+ * Defines how dismissed banners are handled.
25
+ */
26
+ dismissBehavior: BannerGroupDismissBehavior;
27
+ /**
28
+ * Defines how banners are stacked in pager/carousel mode.
29
+ */
30
+ stacking: BannerGroupStacking;
31
+ /**
32
+ * Whether the order of banners is reversed.
33
+ */
34
+ reverse: boolean;
35
+ }
36
+ //# sourceMappingURL=IBannerGroupElementProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IBannerGroupElementProps.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/BannerGroup/IBannerGroupElementProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAI9E;;;;GAIG;AACH,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB,EAAE,gBAAgB;IAIjF;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,eAAe,EAAE,0BAA0B,CAAC;IAE5C;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;IAE9B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAGpB"}
@@ -0,0 +1,3 @@
1
+ // #region Imports
2
+ export {};
3
+ //# sourceMappingURL=IBannerGroupElementProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IBannerGroupElementProps.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/BannerGroup/IBannerGroupElementProps.ts"],"names":[],"mappings":"AAAA,kBAAkB"}
@@ -0,0 +1,6 @@
1
+ import { type CSSResult } from '../../../../../Dom/Css';
2
+ /**
3
+ * @public
4
+ */
5
+ export declare function bannerGroupElementCosmopolitanStyle(): CSSResult;
6
+ //# sourceMappingURL=BannerGroupElement.Cosmopolitan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerGroupElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,mCAAmC,IAAI,SAAS,CAqK/D"}
@@ -0,0 +1,179 @@
1
+ // ------------------------------------------------------------------------------
2
+ // <auto-generated>
3
+ // This code was generated by a tool.
4
+ // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
5
+ // </auto-generated>
6
+ // ------------------------------------------------------------------------------
7
+ // #region Imports
8
+ import { css } from '../../../../../Dom/Css';
9
+ // #endregion
10
+ /**
11
+ * @public
12
+ */
13
+ export function bannerGroupElementCosmopolitanStyle() {
14
+ return css `
15
+ :host {
16
+ --banner-group-font-family: unset;
17
+ --banner-group-font-letter-spacing: unset;
18
+ --banner-group-font-line-height: unset;
19
+ --banner-group-font-size: unset;
20
+ --banner-group-font-text-decoration: unset;
21
+ --banner-group-font-text-transform: unset;
22
+ --banner-group-font-weight: unset;
23
+ --banner-group-gap: unset;
24
+ --banner-group-padding-bottom: unset;
25
+ --banner-group-padding-left: unset;
26
+ --banner-group-padding-right: unset;
27
+ --banner-group-padding-top: unset;
28
+ --banner-group-transition-duration: unset;
29
+ --banner-group-transition-mode: unset;
30
+ --banner-group-transition-property: unset;
31
+ --banner-group-translate: unset;
32
+ }
33
+
34
+ @media screen and (prefers-reduced-motion: reduce) {
35
+ :host {
36
+ transition-duration: .01ms;
37
+ }
38
+ }
39
+
40
+ :host {
41
+ box-sizing: border-box;
42
+ display: block;
43
+ position: relative;
44
+ }
45
+
46
+ :host *, :host :before, :host :after {
47
+ box-sizing: border-box;
48
+ background-repeat: no-repeat;
49
+ }
50
+
51
+ :host :before, :host :after {
52
+ text-decoration: inherit;
53
+ vertical-align: inherit;
54
+ }
55
+
56
+ :host([hidden]) {
57
+ display: none !important;
58
+ }
59
+
60
+ :host {
61
+ --banner-group-gap: 0px;
62
+ --banner-group-indicator-size: 8px;
63
+ --banner-group-indicator-gap: 8px;
64
+ --banner-group-depth-scale-step: .08;
65
+ --banner-group-depth-translate-step: 6;
66
+ --banner-group-depth-opacity-step: 0;
67
+ display: block;
68
+ position: relative;
69
+ }
70
+
71
+ :host [part="viewport"] {
72
+ gap: var(--banner-group-gap);
73
+ flex-direction: column;
74
+ display: flex;
75
+ }
76
+
77
+ :host([reverse]) [part="viewport"] {
78
+ flex-direction: column-reverse;
79
+ }
80
+
81
+ :host([orientation="horizontal"]) [part="viewport"] {
82
+ flex-direction: row;
83
+ }
84
+
85
+ :host ::slotted([hidden]) {
86
+ display: none !important;
87
+ }
88
+
89
+ :host([stacking="depth"]) [part="viewport"] {
90
+ align-items: center;
91
+ position: relative;
92
+ }
93
+
94
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item) {
95
+ will-change: opacity, transform;
96
+ transition: opacity .22s, transform .32s cubic-bezier(.22, .61, .36, 1);
97
+ }
98
+
99
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[hidden]) {
100
+ display: none !important;
101
+ }
102
+
103
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[data-active="true"]) {
104
+ opacity: 1;
105
+ position: relative;
106
+ transform: translate3d(0, 0, 0);
107
+ }
108
+
109
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item:not([data-active="true"]):not([data-leaving="true"])) {
110
+ opacity: 0;
111
+ transform: translate3d(0, 8px, 0);
112
+ }
113
+
114
+ :host([orientation="horizontal"]:not([stacking="depth"])) ::slotted(.banner-group-item:not([data-active="true"]):not([data-leaving="true"])) {
115
+ transform: translate3d(8px, 0, 0);
116
+ }
117
+
118
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[data-leaving="true"]) {
119
+ opacity: 0;
120
+ transform: translate3d(0, -8px, 0);
121
+ }
122
+
123
+ :host([orientation="horizontal"]:not([stacking="depth"])) ::slotted(.banner-group-item[data-leaving="true"]) {
124
+ transform: translate3d(-8px, 0, 0);
125
+ }
126
+
127
+ :host([stacking="depth"]) ::slotted(.banner-group-item) {
128
+ transform-origin: top;
129
+ pointer-events: none;
130
+ --_depth-offset: var(--banner-group-item-depth-offset, 0);
131
+ --_item-index: var(--banner-group-item-index, 0);
132
+ --_direction: 1;
133
+ --_translate-primary: calc(var(--banner-group-depth-translate-step) * var(--_depth-offset) * var(--_direction) * 1px);
134
+ --_scale: calc(1 - (var(--banner-group-depth-scale-step) * var(--_depth-offset)));
135
+ --_opacity: calc(1 - (var(--banner-group-depth-opacity-step) * var(--_depth-offset)));
136
+ z-index: calc(var(--banner-group-visible-count, 1) - var(--_depth-offset));
137
+ transform: translateY(var(--_translate-primary)) scale(var(--_scale));
138
+ opacity: var(--_opacity);
139
+ transition: transform .16s, opacity .16s;
140
+ position: absolute;
141
+ inset: 0;
142
+ }
143
+
144
+ :host([stacking="depth"][reverse]) ::slotted(.banner-group-item) {
145
+ --_direction: -1;
146
+ transform-origin: bottom;
147
+ }
148
+
149
+ :host([stacking="depth"][orientation="horizontal"]) ::slotted(.banner-group-item) {
150
+ transform: translateX(var(--_translate-primary)) scale(var(--_scale));
151
+ }
152
+
153
+ :host([stacking="depth"][orientation="horizontal"][reverse]) ::slotted(.banner-group-item) {
154
+ --_direction: -1;
155
+ transform-origin: center;
156
+ }
157
+
158
+ :host([stacking="depth"]) ::slotted(.banner-group-item[data-active="true"]) {
159
+ z-index: 1000;
160
+ pointer-events: auto;
161
+ position: relative;
162
+ }
163
+
164
+ :host([stacking="depth"]:hover) ::slotted(.banner-group-item) {
165
+ opacity: 1;
166
+ pointer-events: auto;
167
+ z-index: auto;
168
+ position: static;
169
+ inset: auto;
170
+ transform: none;
171
+ }
172
+
173
+ :host([stacking="depth"][orientation="horizontal"]:hover) ::slotted(.banner-group-item) {
174
+ transform: none;
175
+ }
176
+
177
+ `;
178
+ }
179
+ //# sourceMappingURL=BannerGroupElement.Cosmopolitan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerGroupElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,mCAAmC;IAC/C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmKT,CAAC;AACN,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type CSSResult } from '../../../../../Dom/Css';
2
+ /**
3
+ * @public
4
+ */
5
+ export declare function bannerGroupElementJoyStyle(): CSSResult;
6
+ //# sourceMappingURL=BannerGroupElement.Joy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerGroupElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,SAAS,CAqKtD"}
@@ -0,0 +1,179 @@
1
+ // ------------------------------------------------------------------------------
2
+ // <auto-generated>
3
+ // This code was generated by a tool.
4
+ // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
5
+ // </auto-generated>
6
+ // ------------------------------------------------------------------------------
7
+ // #region Imports
8
+ import { css } from '../../../../../Dom/Css';
9
+ // #endregion
10
+ /**
11
+ * @public
12
+ */
13
+ export function bannerGroupElementJoyStyle() {
14
+ return css `
15
+ :host {
16
+ --banner-group-font-family: unset;
17
+ --banner-group-font-letter-spacing: unset;
18
+ --banner-group-font-line-height: unset;
19
+ --banner-group-font-size: unset;
20
+ --banner-group-font-text-decoration: unset;
21
+ --banner-group-font-text-transform: unset;
22
+ --banner-group-font-weight: unset;
23
+ --banner-group-gap: unset;
24
+ --banner-group-padding-bottom: unset;
25
+ --banner-group-padding-left: unset;
26
+ --banner-group-padding-right: unset;
27
+ --banner-group-padding-top: unset;
28
+ --banner-group-transition-duration: unset;
29
+ --banner-group-transition-mode: unset;
30
+ --banner-group-transition-property: unset;
31
+ --banner-group-translate: unset;
32
+ }
33
+
34
+ @media screen and (prefers-reduced-motion: reduce) {
35
+ :host {
36
+ transition-duration: .01ms;
37
+ }
38
+ }
39
+
40
+ :host {
41
+ box-sizing: border-box;
42
+ display: block;
43
+ position: relative;
44
+ }
45
+
46
+ :host *, :host :before, :host :after {
47
+ box-sizing: border-box;
48
+ background-repeat: no-repeat;
49
+ }
50
+
51
+ :host :before, :host :after {
52
+ text-decoration: inherit;
53
+ vertical-align: inherit;
54
+ }
55
+
56
+ :host([hidden]) {
57
+ display: none !important;
58
+ }
59
+
60
+ :host {
61
+ --banner-group-gap: 0px;
62
+ --banner-group-indicator-size: 8px;
63
+ --banner-group-indicator-gap: 8px;
64
+ --banner-group-depth-scale-step: .08;
65
+ --banner-group-depth-translate-step: 6;
66
+ --banner-group-depth-opacity-step: 0;
67
+ display: block;
68
+ position: relative;
69
+ }
70
+
71
+ :host [part="viewport"] {
72
+ gap: var(--banner-group-gap);
73
+ flex-direction: column;
74
+ display: flex;
75
+ }
76
+
77
+ :host([reverse]) [part="viewport"] {
78
+ flex-direction: column-reverse;
79
+ }
80
+
81
+ :host([orientation="horizontal"]) [part="viewport"] {
82
+ flex-direction: row;
83
+ }
84
+
85
+ :host ::slotted([hidden]) {
86
+ display: none !important;
87
+ }
88
+
89
+ :host([stacking="depth"]) [part="viewport"] {
90
+ align-items: center;
91
+ position: relative;
92
+ }
93
+
94
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item) {
95
+ will-change: opacity, transform;
96
+ transition: opacity .22s, transform .32s cubic-bezier(.22, .61, .36, 1);
97
+ }
98
+
99
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[hidden]) {
100
+ display: none !important;
101
+ }
102
+
103
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[data-active="true"]) {
104
+ opacity: 1;
105
+ position: relative;
106
+ transform: translate3d(0, 0, 0);
107
+ }
108
+
109
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item:not([data-active="true"]):not([data-leaving="true"])) {
110
+ opacity: 0;
111
+ transform: translate3d(0, 8px, 0);
112
+ }
113
+
114
+ :host([orientation="horizontal"]:not([stacking="depth"])) ::slotted(.banner-group-item:not([data-active="true"]):not([data-leaving="true"])) {
115
+ transform: translate3d(8px, 0, 0);
116
+ }
117
+
118
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[data-leaving="true"]) {
119
+ opacity: 0;
120
+ transform: translate3d(0, -8px, 0);
121
+ }
122
+
123
+ :host([orientation="horizontal"]:not([stacking="depth"])) ::slotted(.banner-group-item[data-leaving="true"]) {
124
+ transform: translate3d(-8px, 0, 0);
125
+ }
126
+
127
+ :host([stacking="depth"]) ::slotted(.banner-group-item) {
128
+ transform-origin: top;
129
+ pointer-events: none;
130
+ --_depth-offset: var(--banner-group-item-depth-offset, 0);
131
+ --_item-index: var(--banner-group-item-index, 0);
132
+ --_direction: 1;
133
+ --_translate-primary: calc(var(--banner-group-depth-translate-step) * var(--_depth-offset) * var(--_direction) * 1px);
134
+ --_scale: calc(1 - (var(--banner-group-depth-scale-step) * var(--_depth-offset)));
135
+ --_opacity: calc(1 - (var(--banner-group-depth-opacity-step) * var(--_depth-offset)));
136
+ z-index: calc(var(--banner-group-visible-count, 1) - var(--_depth-offset));
137
+ transform: translateY(var(--_translate-primary)) scale(var(--_scale));
138
+ opacity: var(--_opacity);
139
+ transition: transform .16s, opacity .16s;
140
+ position: absolute;
141
+ inset: 0;
142
+ }
143
+
144
+ :host([stacking="depth"][reverse]) ::slotted(.banner-group-item) {
145
+ --_direction: -1;
146
+ transform-origin: bottom;
147
+ }
148
+
149
+ :host([stacking="depth"][orientation="horizontal"]) ::slotted(.banner-group-item) {
150
+ transform: translateX(var(--_translate-primary)) scale(var(--_scale));
151
+ }
152
+
153
+ :host([stacking="depth"][orientation="horizontal"][reverse]) ::slotted(.banner-group-item) {
154
+ --_direction: -1;
155
+ transform-origin: center;
156
+ }
157
+
158
+ :host([stacking="depth"]) ::slotted(.banner-group-item[data-active="true"]) {
159
+ z-index: 1000;
160
+ pointer-events: auto;
161
+ position: relative;
162
+ }
163
+
164
+ :host([stacking="depth"]:hover) ::slotted(.banner-group-item) {
165
+ opacity: 1;
166
+ pointer-events: auto;
167
+ z-index: auto;
168
+ position: static;
169
+ inset: auto;
170
+ transform: none;
171
+ }
172
+
173
+ :host([stacking="depth"][orientation="horizontal"]:hover) ::slotted(.banner-group-item) {
174
+ transform: none;
175
+ }
176
+
177
+ `;
178
+ }
179
+ //# sourceMappingURL=BannerGroupElement.Joy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerGroupElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,0BAA0B;IACtC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmKT,CAAC;AACN,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type CSSResult } from '../../../../../Dom/Css';
2
+ /**
3
+ * @public
4
+ */
5
+ export declare function bannerGroupElementRetroStyle(): CSSResult;
6
+ //# sourceMappingURL=BannerGroupElement.Retro.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerGroupElement.Retro.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Retro.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,SAAS,CAqKxD"}
@@ -0,0 +1,179 @@
1
+ // ------------------------------------------------------------------------------
2
+ // <auto-generated>
3
+ // This code was generated by a tool.
4
+ // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
5
+ // </auto-generated>
6
+ // ------------------------------------------------------------------------------
7
+ // #region Imports
8
+ import { css } from '../../../../../Dom/Css';
9
+ // #endregion
10
+ /**
11
+ * @public
12
+ */
13
+ export function bannerGroupElementRetroStyle() {
14
+ return css `
15
+ :host {
16
+ --banner-group-font-family: unset;
17
+ --banner-group-font-letter-spacing: unset;
18
+ --banner-group-font-line-height: unset;
19
+ --banner-group-font-size: unset;
20
+ --banner-group-font-text-decoration: unset;
21
+ --banner-group-font-text-transform: unset;
22
+ --banner-group-font-weight: unset;
23
+ --banner-group-gap: unset;
24
+ --banner-group-padding-bottom: unset;
25
+ --banner-group-padding-left: unset;
26
+ --banner-group-padding-right: unset;
27
+ --banner-group-padding-top: unset;
28
+ --banner-group-transition-duration: unset;
29
+ --banner-group-transition-mode: unset;
30
+ --banner-group-transition-property: unset;
31
+ --banner-group-translate: unset;
32
+ }
33
+
34
+ @media screen and (prefers-reduced-motion: reduce) {
35
+ :host {
36
+ transition-duration: .01ms;
37
+ }
38
+ }
39
+
40
+ :host {
41
+ box-sizing: border-box;
42
+ display: block;
43
+ position: relative;
44
+ }
45
+
46
+ :host *, :host :before, :host :after {
47
+ box-sizing: border-box;
48
+ background-repeat: no-repeat;
49
+ }
50
+
51
+ :host :before, :host :after {
52
+ text-decoration: inherit;
53
+ vertical-align: inherit;
54
+ }
55
+
56
+ :host([hidden]) {
57
+ display: none !important;
58
+ }
59
+
60
+ :host {
61
+ --banner-group-gap: 0px;
62
+ --banner-group-indicator-size: 8px;
63
+ --banner-group-indicator-gap: 8px;
64
+ --banner-group-depth-scale-step: .08;
65
+ --banner-group-depth-translate-step: 6;
66
+ --banner-group-depth-opacity-step: 0;
67
+ display: block;
68
+ position: relative;
69
+ }
70
+
71
+ :host [part="viewport"] {
72
+ gap: var(--banner-group-gap);
73
+ flex-direction: column;
74
+ display: flex;
75
+ }
76
+
77
+ :host([reverse]) [part="viewport"] {
78
+ flex-direction: column-reverse;
79
+ }
80
+
81
+ :host([orientation="horizontal"]) [part="viewport"] {
82
+ flex-direction: row;
83
+ }
84
+
85
+ :host ::slotted([hidden]) {
86
+ display: none !important;
87
+ }
88
+
89
+ :host([stacking="depth"]) [part="viewport"] {
90
+ align-items: center;
91
+ position: relative;
92
+ }
93
+
94
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item) {
95
+ will-change: opacity, transform;
96
+ transition: opacity .22s, transform .32s cubic-bezier(.22, .61, .36, 1);
97
+ }
98
+
99
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[hidden]) {
100
+ display: none !important;
101
+ }
102
+
103
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[data-active="true"]) {
104
+ opacity: 1;
105
+ position: relative;
106
+ transform: translate3d(0, 0, 0);
107
+ }
108
+
109
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item:not([data-active="true"]):not([data-leaving="true"])) {
110
+ opacity: 0;
111
+ transform: translate3d(0, 8px, 0);
112
+ }
113
+
114
+ :host([orientation="horizontal"]:not([stacking="depth"])) ::slotted(.banner-group-item:not([data-active="true"]):not([data-leaving="true"])) {
115
+ transform: translate3d(8px, 0, 0);
116
+ }
117
+
118
+ :host(:not([stacking="depth"])) ::slotted(.banner-group-item[data-leaving="true"]) {
119
+ opacity: 0;
120
+ transform: translate3d(0, -8px, 0);
121
+ }
122
+
123
+ :host([orientation="horizontal"]:not([stacking="depth"])) ::slotted(.banner-group-item[data-leaving="true"]) {
124
+ transform: translate3d(-8px, 0, 0);
125
+ }
126
+
127
+ :host([stacking="depth"]) ::slotted(.banner-group-item) {
128
+ transform-origin: top;
129
+ pointer-events: none;
130
+ --_depth-offset: var(--banner-group-item-depth-offset, 0);
131
+ --_item-index: var(--banner-group-item-index, 0);
132
+ --_direction: 1;
133
+ --_translate-primary: calc(var(--banner-group-depth-translate-step) * var(--_depth-offset) * var(--_direction) * 1px);
134
+ --_scale: calc(1 - (var(--banner-group-depth-scale-step) * var(--_depth-offset)));
135
+ --_opacity: calc(1 - (var(--banner-group-depth-opacity-step) * var(--_depth-offset)));
136
+ z-index: calc(var(--banner-group-visible-count, 1) - var(--_depth-offset));
137
+ transform: translateY(var(--_translate-primary)) scale(var(--_scale));
138
+ opacity: var(--_opacity);
139
+ transition: transform .16s, opacity .16s;
140
+ position: absolute;
141
+ inset: 0;
142
+ }
143
+
144
+ :host([stacking="depth"][reverse]) ::slotted(.banner-group-item) {
145
+ --_direction: -1;
146
+ transform-origin: bottom;
147
+ }
148
+
149
+ :host([stacking="depth"][orientation="horizontal"]) ::slotted(.banner-group-item) {
150
+ transform: translateX(var(--_translate-primary)) scale(var(--_scale));
151
+ }
152
+
153
+ :host([stacking="depth"][orientation="horizontal"][reverse]) ::slotted(.banner-group-item) {
154
+ --_direction: -1;
155
+ transform-origin: center;
156
+ }
157
+
158
+ :host([stacking="depth"]) ::slotted(.banner-group-item[data-active="true"]) {
159
+ z-index: 1000;
160
+ pointer-events: auto;
161
+ position: relative;
162
+ }
163
+
164
+ :host([stacking="depth"]:hover) ::slotted(.banner-group-item) {
165
+ opacity: 1;
166
+ pointer-events: auto;
167
+ z-index: auto;
168
+ position: static;
169
+ inset: auto;
170
+ transform: none;
171
+ }
172
+
173
+ :host([stacking="depth"][orientation="horizontal"]:hover) ::slotted(.banner-group-item) {
174
+ transform: none;
175
+ }
176
+
177
+ `;
178
+ }
179
+ //# sourceMappingURL=BannerGroupElement.Retro.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerGroupElement.Retro.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/BannerGroup/Themes/BannerGroupElement.Retro.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,4BAA4B;IACxC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmKT,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbsoluteElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Absolute/AbsoluteElement.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;AAOrE;;;;;;GAMG;AACH,qBAUa,eACT,SAAQ,oBACR,YAAW,qBAAqB;IAOhC;;OAEG;;IASH;;;;;;;;OAQG;IACH,WAA2B,EAAE,IAAI,MAAM,CAEtC;CAIJ;AAED;;GAEG;AACH,yBAAiB,eAAe,CAAC;IAC7B,KAAY,KAAK,GAAG,qBAAqB,CAAC;CAC7C;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IAEX,UAAU,qBAAqB;QAE3B,iBAAiB,EAAE,eAAe,CAAC;KACtC;CACJ"}
1
+ {"version":3,"file":"AbsoluteElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Absolute/AbsoluteElement.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;AAOrE;;;;;;GAMG;AACH,qBAUa,eACT,SAAQ,oBACR,YAAW,qBAAqB;IAOhC;;OAEG;;IASH;;;;;;;;OAQG;IACH,WAA2B,EAAE,IAAI,MAAM,CAEtC;CAIJ;AAED;;GAEG;AACH,yBAAiB,eAAe,CAAC;IAC7B,KAAY,KAAK,GAAG,qBAAqB,CAAC;CAC7C;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,iBAAiB,EAAE,eAAe,CAAC;KACtC;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbsoluteItemElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Absolute/AbsoluteItemElement.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAItD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;;AAO7E;;;;;;GAMG;AACH,qBAUa,mBACT,SAAQ,wBACR,YAAW,yBAAyB;IAIpC,OAAO,CAAC,KAAK,CAA+B;IAC5C,OAAO,CAAC,IAAI,CAA+B;IAC3C,OAAO,CAAC,OAAO,CAA+B;IAC9C,OAAO,CAAC,MAAM,CAA+B;IAM7C;;OAEG;;IAcH;;;;;;;OAOG;IACH,WAAkB,EAAE,IAAI,MAAM,CAE7B;IAED;;;;;OAKG;IACH,IACW,IAAI,IAAI,SAAS,GAAG,IAAI,GAAG,SAAS,CAE9C;IACD,IAAW,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,EAKlD;IAED;;;;;OAKG;IACH,IACW,GAAG,IAAI,SAAS,GAAG,IAAI,GAAG,SAAS,CAE7C;IACD,IAAW,GAAG,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,EAKjD;IAED;;;;;OAKG;IACH,IACW,MAAM,IAAI,SAAS,GAAG,IAAI,GAAG,SAAS,CAEhD;IACD,IAAW,MAAM,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,EAKpD;IAED;;;;;OAKG;IACH,IACW,KAAK,IAAI,SAAS,GAAG,IAAI,GAAG,SAAS,CAE/C;IACD,IAAW,KAAK,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,EAKnD;IAMD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H,yBAAiB,mBAAmB,CAAC;IACjC,KAAY,KAAK,GAAG,yBAAyB,CAAC;CACjD;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,sBAAsB,EAAE,mBAAmB,CAAC;KAC/C;CACJ"}
@@ -0,0 +1,7 @@
1
+ export declare const BannerGroupDismissBehavior: {
2
+ readonly Remove: "remove";
3
+ readonly Hide: "hide";
4
+ readonly None: "none";
5
+ };
6
+ export type BannerGroupDismissBehavior = typeof BannerGroupDismissBehavior[keyof typeof BannerGroupDismissBehavior];
7
+ //# sourceMappingURL=BannerGroupDismissBehavior.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerGroupDismissBehavior.d.ts","sourceRoot":"","sources":["../../../src/Controls/Types/BannerGroupDismissBehavior.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B;;;;CAI7B,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export const BannerGroupDismissBehavior = {
2
+ Remove: 'remove',
3
+ Hide: 'hide',
4
+ None: 'none'
5
+ };
6
+ //# sourceMappingURL=BannerGroupDismissBehavior.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerGroupDismissBehavior.js","sourceRoot":"","sources":["../../../src/Controls/Types/BannerGroupDismissBehavior.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACN,CAAC"}