@breadstone/mosaik-elements-foundation 0.0.149 → 0.0.151
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/Controls/Components/Layouts/Stack/IStackElementProps.d.ts +1 -0
- package/Controls/Components/Layouts/Stack/IStackElementProps.d.ts.map +1 -1
- package/Controls/Components/Layouts/Stack/StackElement.d.ts +9 -11
- package/Controls/Components/Layouts/Stack/StackElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/Stack/StackElement.js +25 -11
- package/Controls/Components/Layouts/Stack/StackElement.js.map +1 -1
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Cosmopolitan.js +8 -0
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Joy.js +8 -0
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Joy.js.map +1 -1
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Retro.d.ts.map +1 -1
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Retro.js +8 -0
- package/Controls/Components/Layouts/Stack/Themes/StackElement.Retro.js.map +1 -1
- package/Routing/PathToRegexp.d.ts +1 -1
- package/custom-elements.json +21 -32
- package/package.json +3 -3
|
@@ -12,5 +12,6 @@ import type { IGapableProps } from '../../../Behaviors/Gapable';
|
|
|
12
12
|
export interface IStackElementProps extends IOrientableProps, IFitableProps, IReversibleProps, IGapableProps {
|
|
13
13
|
horizontalAlignment: HorizontalAlignment;
|
|
14
14
|
verticalAlignment: VerticalAlignment;
|
|
15
|
+
wrap: boolean;
|
|
15
16
|
}
|
|
16
17
|
//# sourceMappingURL=IStackElementProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IStackElementProps.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Stack/IStackElementProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE;;;;GAIG;AACH,MAAM,WAAW,kBACb,SAAQ,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa;IAExE,mBAAmB,EAAE,mBAAmB,CAAC;IAEzC,iBAAiB,EAAE,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"IStackElementProps.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Stack/IStackElementProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE;;;;GAIG;AACH,MAAM,WAAW,kBACb,SAAQ,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa;IAExE,mBAAmB,EAAE,mBAAmB,CAAC;IAEzC,iBAAiB,EAAE,iBAAiB,CAAC;IAErC,IAAI,EAAE,OAAO,CAAC;CAEjB"}
|
|
@@ -20,17 +20,6 @@ declare const StackElement_base: (abstract new (...args: Array<any>) => import("
|
|
|
20
20
|
* @csspart content - Content wrapper for stack items and elements
|
|
21
21
|
*
|
|
22
22
|
* @cssprop --stack-gap - Spacing between stack items and elements
|
|
23
|
-
* @cssprop --stack-padding - Internal padding for the stack container
|
|
24
|
-
* @cssprop --stack-alignment - Alignment of items within the stack container
|
|
25
|
-
* @cssprop --stack-justify - Justification of content along the main axis
|
|
26
|
-
* @cssprop --stack-wrap - Whether items should wrap to new lines when needed
|
|
27
|
-
* @cssprop --stack-direction - Direction of the stack layout (column or row)
|
|
28
|
-
* @cssprop --stack-min-width - Minimum width for the stack container
|
|
29
|
-
* @cssprop --stack-max-width - Maximum width for the stack container
|
|
30
|
-
* @cssprop --stack-background - Background color for the stack container
|
|
31
|
-
*
|
|
32
|
-
* @dependency HorizontalAlignment - For horizontal alignment control options
|
|
33
|
-
* @dependency VerticalAlignment - For vertical alignment control options
|
|
34
23
|
*
|
|
35
24
|
* @example
|
|
36
25
|
* ```html
|
|
@@ -102,6 +91,7 @@ declare const StackElement_base: (abstract new (...args: Array<any>) => import("
|
|
|
102
91
|
export declare class StackElement extends StackElement_base implements IStackElementProps {
|
|
103
92
|
private _horizontalAlignment;
|
|
104
93
|
private _verticalAlignment;
|
|
94
|
+
private _wrap;
|
|
105
95
|
/**
|
|
106
96
|
* Constructs a new instance of the `StackElement` class.
|
|
107
97
|
*
|
|
@@ -133,6 +123,14 @@ export declare class StackElement extends StackElement_base implements IStackEle
|
|
|
133
123
|
*/
|
|
134
124
|
get verticalAlignment(): VerticalAlignment;
|
|
135
125
|
set verticalAlignment(value: VerticalAlignment);
|
|
126
|
+
/**
|
|
127
|
+
* Gets or sets the `wrap` property.
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
* @attr
|
|
131
|
+
*/
|
|
132
|
+
get wrap(): boolean;
|
|
133
|
+
set wrap(value: boolean);
|
|
136
134
|
}
|
|
137
135
|
/**
|
|
138
136
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Stack/StackElement.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;;AAU/D
|
|
1
|
+
{"version":3,"file":"StackElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Stack/StackElement.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;;AAU/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,qBAUa,YACT,SAAQ,iBACR,YAAW,kBAAkB;IAI7B,OAAO,CAAC,oBAAoB,CAAsB;IAClD,OAAO,CAAC,kBAAkB,CAAoB;IAC9C,OAAO,CAAC,KAAK,CAAU;IAMvB;;;;OAIG;;IAaH;;;;;;;MAOE;IACF,WAA2B,EAAE,IAAI,MAAM,CAEtC;IAED;;;;;OAKG;IACH,IACW,mBAAmB,IAAI,mBAAmB,CAEpD;IACD,IAAW,mBAAmB,CAAC,KAAK,EAAE,mBAAmB,EAKxD;IAED;;;;;OAKG;IACH,IACW,iBAAiB,IAAI,iBAAiB,CAEhD;IACD,IAAW,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,EAKpD;IAED;;;;;OAKG;IACH,IAIW,IAAI,IAAI,OAAO,CAEzB;IACD,IAAW,IAAI,CAAC,KAAK,EAAE,OAAO,EAK7B;CAIJ;AAED;;GAEG;AACH,yBAAiB,YAAY,CAAC;IAC1B,KAAY,KAAK,GAAG,kBAAkB,CAAC;CAC1C;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,cAAc,EAAE,YAAY,CAAC;KAChC;CACJ"}
|
|
@@ -40,17 +40,6 @@ import { Gapable } from '../../../Behaviors/Gapable';
|
|
|
40
40
|
* @csspart content - Content wrapper for stack items and elements
|
|
41
41
|
*
|
|
42
42
|
* @cssprop --stack-gap - Spacing between stack items and elements
|
|
43
|
-
* @cssprop --stack-padding - Internal padding for the stack container
|
|
44
|
-
* @cssprop --stack-alignment - Alignment of items within the stack container
|
|
45
|
-
* @cssprop --stack-justify - Justification of content along the main axis
|
|
46
|
-
* @cssprop --stack-wrap - Whether items should wrap to new lines when needed
|
|
47
|
-
* @cssprop --stack-direction - Direction of the stack layout (column or row)
|
|
48
|
-
* @cssprop --stack-min-width - Minimum width for the stack container
|
|
49
|
-
* @cssprop --stack-max-width - Maximum width for the stack container
|
|
50
|
-
* @cssprop --stack-background - Background color for the stack container
|
|
51
|
-
*
|
|
52
|
-
* @dependency HorizontalAlignment - For horizontal alignment control options
|
|
53
|
-
* @dependency VerticalAlignment - For vertical alignment control options
|
|
54
43
|
*
|
|
55
44
|
* @example
|
|
56
45
|
* ```html
|
|
@@ -123,6 +112,7 @@ let StackElement = class StackElement extends Themeable(Reversible(Orientable(Fi
|
|
|
123
112
|
// #region Fields
|
|
124
113
|
_horizontalAlignment;
|
|
125
114
|
_verticalAlignment;
|
|
115
|
+
_wrap;
|
|
126
116
|
// #endregion
|
|
127
117
|
// #region Ctor
|
|
128
118
|
/**
|
|
@@ -134,6 +124,7 @@ let StackElement = class StackElement extends Themeable(Reversible(Orientable(Fi
|
|
|
134
124
|
super();
|
|
135
125
|
this._horizontalAlignment = HorizontalAlignment.Stretch;
|
|
136
126
|
this._verticalAlignment = VerticalAlignment.Stretch;
|
|
127
|
+
this._wrap = false;
|
|
137
128
|
}
|
|
138
129
|
// #endregion
|
|
139
130
|
// #region Properties
|
|
@@ -178,6 +169,21 @@ let StackElement = class StackElement extends Themeable(Reversible(Orientable(Fi
|
|
|
178
169
|
this.requestUpdate('verticalAlignment');
|
|
179
170
|
}
|
|
180
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* Gets or sets the `wrap` property.
|
|
174
|
+
*
|
|
175
|
+
* @public
|
|
176
|
+
* @attr
|
|
177
|
+
*/
|
|
178
|
+
get wrap() {
|
|
179
|
+
return this._wrap;
|
|
180
|
+
}
|
|
181
|
+
set wrap(value) {
|
|
182
|
+
if (this._wrap !== value) {
|
|
183
|
+
this._wrap = value;
|
|
184
|
+
this.requestUpdate('wrap');
|
|
185
|
+
}
|
|
186
|
+
}
|
|
181
187
|
};
|
|
182
188
|
__decorate([
|
|
183
189
|
Attribute({ type: String }),
|
|
@@ -189,6 +195,14 @@ __decorate([
|
|
|
189
195
|
__metadata("design:type", String),
|
|
190
196
|
__metadata("design:paramtypes", [String])
|
|
191
197
|
], StackElement.prototype, "verticalAlignment", null);
|
|
198
|
+
__decorate([
|
|
199
|
+
Attribute({
|
|
200
|
+
type: Boolean,
|
|
201
|
+
useDefault: true
|
|
202
|
+
}),
|
|
203
|
+
__metadata("design:type", Boolean),
|
|
204
|
+
__metadata("design:paramtypes", [Boolean])
|
|
205
|
+
], StackElement.prototype, "wrap", null);
|
|
192
206
|
StackElement = __decorate([
|
|
193
207
|
Component({
|
|
194
208
|
selector: 'mosaik-stack',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Stack/StackElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,aAAa;AAEb
|
|
1
|
+
{"version":3,"file":"StackElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/Stack/StackElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE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sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"StackElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,CAmMzD"}
|
|
@@ -192,6 +192,14 @@ export function stackElementCosmopolitanStyle() {
|
|
|
192
192
|
height: 100%;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
:host([wrap]) {
|
|
196
|
+
flex-wrap: wrap;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
:host([wrap][reverse]) {
|
|
200
|
+
flex-wrap: wrap-reverse;
|
|
201
|
+
}
|
|
202
|
+
|
|
195
203
|
:host ::slotted(mosaik-stack) {
|
|
196
204
|
flex: 1;
|
|
197
205
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.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,6BAA6B;IACzC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"StackElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.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,6BAA6B;IACzC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiMT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"StackElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,SAAS,CAmMhD"}
|
|
@@ -192,6 +192,14 @@ export function stackElementJoyStyle() {
|
|
|
192
192
|
height: 100%;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
:host([wrap]) {
|
|
196
|
+
flex-wrap: wrap;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
:host([wrap][reverse]) {
|
|
200
|
+
flex-wrap: wrap-reverse;
|
|
201
|
+
}
|
|
202
|
+
|
|
195
203
|
:host ::slotted(mosaik-stack) {
|
|
196
204
|
flex: 1;
|
|
197
205
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.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,oBAAoB;IAChC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"StackElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.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,oBAAoB;IAChC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiMT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.Retro.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.Retro.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"StackElement.Retro.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.Retro.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,SAAS,CAmMlD"}
|
|
@@ -192,6 +192,14 @@ export function stackElementRetroStyle() {
|
|
|
192
192
|
height: 100%;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
:host([wrap]) {
|
|
196
|
+
flex-wrap: wrap;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
:host([wrap][reverse]) {
|
|
200
|
+
flex-wrap: wrap-reverse;
|
|
201
|
+
}
|
|
202
|
+
|
|
195
203
|
:host ::slotted(mosaik-stack) {
|
|
196
204
|
flex: 1;
|
|
197
205
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackElement.Retro.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.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,sBAAsB;IAClC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"StackElement.Retro.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Layouts/Stack/Themes/StackElement.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,sBAAsB;IAClC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiMT,CAAC;AACN,CAAC"}
|
|
@@ -91,7 +91,7 @@ export interface Options {
|
|
|
91
91
|
*/
|
|
92
92
|
encode?: (value: string) => string;
|
|
93
93
|
}
|
|
94
|
-
export declare function modifierToString(modifier: Modifier): "" | "*" | "
|
|
94
|
+
export declare function modifierToString(modifier: Modifier): "" | "*" | "+" | "?";
|
|
95
95
|
/**
|
|
96
96
|
* Expose a function for taking tokens and returning a RegExp.
|
|
97
97
|
*/
|
package/custom-elements.json
CHANGED
|
@@ -61694,6 +61694,17 @@
|
|
|
61694
61694
|
"module": "./../src/Controls/Components/Layouts/Stack/IStackElementProps.ts"
|
|
61695
61695
|
}
|
|
61696
61696
|
},
|
|
61697
|
+
{
|
|
61698
|
+
"kind": "field",
|
|
61699
|
+
"name": "wrap",
|
|
61700
|
+
"privacy": "public",
|
|
61701
|
+
"description": "Gets or sets the `wrap` property.",
|
|
61702
|
+
"type": "boolean",
|
|
61703
|
+
"inheritedFrom": {
|
|
61704
|
+
"name": "IStackElementProps",
|
|
61705
|
+
"module": "./../src/Controls/Components/Layouts/Stack/IStackElementProps.ts"
|
|
61706
|
+
}
|
|
61707
|
+
},
|
|
61697
61708
|
{
|
|
61698
61709
|
"kind": "field",
|
|
61699
61710
|
"name": "themeName",
|
|
@@ -61993,6 +62004,16 @@
|
|
|
61993
62004
|
"module": "./../src/Controls/Components/Layouts/Stack/IStackElementProps.ts"
|
|
61994
62005
|
}
|
|
61995
62006
|
},
|
|
62007
|
+
{
|
|
62008
|
+
"name": "wrap",
|
|
62009
|
+
"fieldName": "wrap",
|
|
62010
|
+
"description": "Gets or sets the `wrap` property.",
|
|
62011
|
+
"type": "boolean",
|
|
62012
|
+
"inheritedFrom": {
|
|
62013
|
+
"name": "IStackElementProps",
|
|
62014
|
+
"module": "./../src/Controls/Components/Layouts/Stack/IStackElementProps.ts"
|
|
62015
|
+
}
|
|
62016
|
+
},
|
|
61996
62017
|
{
|
|
61997
62018
|
"name": "reverse",
|
|
61998
62019
|
"fieldName": "reverse",
|
|
@@ -62048,38 +62069,6 @@
|
|
|
62048
62069
|
{
|
|
62049
62070
|
"name": "--stack-gap",
|
|
62050
62071
|
"description": "Spacing between stack items and elements"
|
|
62051
|
-
},
|
|
62052
|
-
{
|
|
62053
|
-
"name": "--stack-padding",
|
|
62054
|
-
"description": "Internal padding for the stack container"
|
|
62055
|
-
},
|
|
62056
|
-
{
|
|
62057
|
-
"name": "--stack-alignment",
|
|
62058
|
-
"description": "Alignment of items within the stack container"
|
|
62059
|
-
},
|
|
62060
|
-
{
|
|
62061
|
-
"name": "--stack-justify",
|
|
62062
|
-
"description": "Justification of content along the main axis"
|
|
62063
|
-
},
|
|
62064
|
-
{
|
|
62065
|
-
"name": "--stack-wrap",
|
|
62066
|
-
"description": "Whether items should wrap to new lines when needed"
|
|
62067
|
-
},
|
|
62068
|
-
{
|
|
62069
|
-
"name": "--stack-direction",
|
|
62070
|
-
"description": "Direction of the stack layout (column or row)"
|
|
62071
|
-
},
|
|
62072
|
-
{
|
|
62073
|
-
"name": "--stack-min-width",
|
|
62074
|
-
"description": "Minimum width for the stack container"
|
|
62075
|
-
},
|
|
62076
|
-
{
|
|
62077
|
-
"name": "--stack-max-width",
|
|
62078
|
-
"description": "Maximum width for the stack container"
|
|
62079
|
-
},
|
|
62080
|
-
{
|
|
62081
|
-
"name": "--stack-background",
|
|
62082
|
-
"description": "Background color for the stack container"
|
|
62083
62072
|
}
|
|
62084
62073
|
],
|
|
62085
62074
|
"cssParts": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/mosaik-elements-foundation",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.151",
|
|
4
4
|
"description": "Mosaik elements components package.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@breadstone/mosaik-elements": "^0.0.
|
|
18
|
-
"@breadstone/mosaik-themes": "^0.0.
|
|
17
|
+
"@breadstone/mosaik-elements": "^0.0.151",
|
|
18
|
+
"@breadstone/mosaik-themes": "^0.0.151",
|
|
19
19
|
"@ctrl/tinycolor": "^4.1.0",
|
|
20
20
|
"@floating-ui/dom": "^1.7.4",
|
|
21
21
|
"@lit-labs/virtualizer": "^2.1.1",
|