@lmvz-ds/components 0.12.3-alpha.3 → 0.12.3
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/dist/cjs/{Effect-BIlTHtLK.js → Effect-CNhHt4Xb.js} +615 -885
- package/dist/cjs/MutableQueue-Bk9tBfaK.js +462 -0
- package/dist/cjs/{aria-validation-controller-B7unOPxT.js → aria-validation-controller-B3hMkau3.js} +157 -156
- package/dist/cjs/assets-iuJtMMdw.js +60 -0
- package/dist/cjs/{icons-CvFeZlNJ.js → icons-CAiJpiUC.js} +22 -74
- package/dist/cjs/index.cjs.js +4 -2
- package/dist/cjs/lmvz-button.cjs.entry.js +3 -2
- package/dist/cjs/lmvz-card.cjs.entry.js +7 -2
- package/dist/cjs/lmvz-header.cjs.entry.js +3 -2
- package/dist/cjs/lmvz-icon.cjs.entry.js +5 -3
- package/dist/cjs/lmvz-input.cjs.entry.js +3 -2
- package/dist/cjs/lmvz-menuitem.cjs.entry.js +3 -2
- package/dist/collection/components/lmvz-card/lmvz-card.js +8 -3
- package/dist/collection/components/lmvz-icon/icons.js +3 -3
- package/dist/collection/utils/{url.js → assets.js} +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/lmvz-button.js +1 -1
- package/dist/components/lmvz-card.js +1 -1
- package/dist/components/lmvz-header.js +1 -1
- package/dist/components/lmvz-icon.js +1 -1
- package/dist/components/lmvz-input.js +1 -1
- package/dist/components/lmvz-menuitem.js +1 -1
- package/dist/components/p-3I3wZmp8.js +1 -0
- package/dist/components/p-BQTNPxka.js +1 -0
- package/dist/components/p-CdofjRtQ.js +1 -0
- package/dist/components/p-xpxyPpHZ.js +1 -0
- package/dist/esm/{Effect-D9S7OTyY.js → Effect-BhQLGXPs.js} +568 -829
- package/dist/esm/MutableQueue-CNlEFklh.js +431 -0
- package/dist/esm/{aria-validation-controller-C7nQzCCq.js → aria-validation-controller-iA4YWFG-.js} +2 -1
- package/dist/esm/assets-BymuU366.js +57 -0
- package/dist/esm/{icons-AUbenGXq.js → icons-D7UubWaN.js} +5 -57
- package/dist/esm/index.js +4 -2
- package/dist/esm/lmvz-button.entry.js +3 -2
- package/dist/esm/lmvz-card.entry.js +8 -3
- package/dist/esm/lmvz-header.entry.js +3 -2
- package/dist/esm/lmvz-icon.entry.js +5 -3
- package/dist/esm/lmvz-input.entry.js +3 -2
- package/dist/esm/lmvz-menuitem.entry.js +3 -2
- package/dist/lmvz-components/index.esm.js +1 -1
- package/dist/lmvz-components/lmvz-components.esm.js +1 -1
- package/dist/lmvz-components/p-1d916449.entry.js +1 -0
- package/dist/lmvz-components/p-274c36df.entry.js +1 -0
- package/dist/lmvz-components/p-4b70fe08.entry.js +1 -0
- package/dist/lmvz-components/p-68001ab7.entry.js +1 -0
- package/dist/lmvz-components/p-77e26e71.entry.js +1 -0
- package/dist/lmvz-components/p-BhQLGXPs.js +1 -0
- package/dist/lmvz-components/p-CXWyvf0D.js +1 -0
- package/dist/lmvz-components/p-Ce_AL9kY.js +1 -0
- package/dist/lmvz-components/p-D7I-Bc5i.js +1 -0
- package/dist/lmvz-components/p-DohldYb4.js +1 -0
- package/dist/lmvz-components/p-de18e27e.entry.js +1 -0
- package/dist/manifest.json +1 -1
- package/dist/types/components/lmvz-card/lmvz-card.d.ts +1 -0
- package/dist/types/utils/{url.d.ts → assets.d.ts} +1 -1
- package/hydrate/index.js +487 -7
- package/hydrate/index.mjs +487 -7
- package/package.json +4 -4
- package/dist/components/p-4GImsUGe.js +0 -1
- package/dist/components/p-BFwzIh71.js +0 -1
- package/dist/lmvz-components/assets/LMVZ_logo_175.svg +0 -1
- package/dist/lmvz-components/assets/card-placeholder.svg +0 -4
- package/dist/lmvz-components/assets/fonts/Router-Bold.woff +0 -0
- package/dist/lmvz-components/assets/fonts/Router-Book.woff +0 -0
- package/dist/lmvz-components/assets/fonts/Router-Medium.woff +0 -0
- package/dist/lmvz-components/assets/icons/Logo.svg +0 -10
- package/dist/lmvz-components/assets/icons/actions.svg +0 -5
- package/dist/lmvz-components/assets/icons/adduser.svg +0 -3
- package/dist/lmvz-components/assets/icons/alert.svg +0 -3
- package/dist/lmvz-components/assets/icons/apple.svg +0 -3
- package/dist/lmvz-components/assets/icons/arrow-down.svg +0 -3
- package/dist/lmvz-components/assets/icons/arrow-left.svg +0 -3
- package/dist/lmvz-components/assets/icons/arrow-right.svg +0 -3
- package/dist/lmvz-components/assets/icons/arrow-up.svg +0 -3
- package/dist/lmvz-components/assets/icons/book.svg +0 -3
- package/dist/lmvz-components/assets/icons/bookmark.svg +0 -3
- package/dist/lmvz-components/assets/icons/checkmark.svg +0 -3
- package/dist/lmvz-components/assets/icons/chevron-down.svg +0 -3
- package/dist/lmvz-components/assets/icons/chevron-left.svg +0 -3
- package/dist/lmvz-components/assets/icons/chevron-right.svg +0 -3
- package/dist/lmvz-components/assets/icons/chevron-up.svg +0 -3
- package/dist/lmvz-components/assets/icons/close-l.svg +0 -3
- package/dist/lmvz-components/assets/icons/close-sm.svg +0 -3
- package/dist/lmvz-components/assets/icons/cog.svg +0 -4
- package/dist/lmvz-components/assets/icons/computer.svg +0 -3
- package/dist/lmvz-components/assets/icons/dashboard.svg +0 -6
- package/dist/lmvz-components/assets/icons/delete.svg +0 -3
- package/dist/lmvz-components/assets/icons/download.svg +0 -3
- package/dist/lmvz-components/assets/icons/edit.svg +0 -3
- package/dist/lmvz-components/assets/icons/external.svg +0 -3
- package/dist/lmvz-components/assets/icons/facebook.svg +0 -3
- package/dist/lmvz-components/assets/icons/favorite.svg +0 -3
- package/dist/lmvz-components/assets/icons/filter.svg +0 -3
- package/dist/lmvz-components/assets/icons/group.svg +0 -3
- package/dist/lmvz-components/assets/icons/hide.svg +0 -3
- package/dist/lmvz-components/assets/icons/home.svg +0 -3
- package/dist/lmvz-components/assets/icons/info.svg +0 -3
- package/dist/lmvz-components/assets/icons/instagram.svg +0 -3
- package/dist/lmvz-components/assets/icons/letter.svg +0 -3
- package/dist/lmvz-components/assets/icons/linkedin.svg +0 -5
- package/dist/lmvz-components/assets/icons/logout.svg +0 -3
- package/dist/lmvz-components/assets/icons/map.svg +0 -3
- package/dist/lmvz-components/assets/icons/minus.svg +0 -3
- package/dist/lmvz-components/assets/icons/navigation.svg +0 -3
- package/dist/lmvz-components/assets/icons/plus.svg +0 -3
- package/dist/lmvz-components/assets/icons/qr-scan.svg +0 -3
- package/dist/lmvz-components/assets/icons/question.svg +0 -10
- package/dist/lmvz-components/assets/icons/reader.svg +0 -3
- package/dist/lmvz-components/assets/icons/reset.svg +0 -3
- package/dist/lmvz-components/assets/icons/school.svg +0 -3
- package/dist/lmvz-components/assets/icons/search.svg +0 -3
- package/dist/lmvz-components/assets/icons/send.svg +0 -3
- package/dist/lmvz-components/assets/icons/settings.svg +0 -3
- package/dist/lmvz-components/assets/icons/share.svg +0 -10
- package/dist/lmvz-components/assets/icons/shopping-cart.svg +0 -3
- package/dist/lmvz-components/assets/icons/show.svg +0 -3
- package/dist/lmvz-components/assets/icons/snapchat.svg +0 -3
- package/dist/lmvz-components/assets/icons/sort.svg +0 -3
- package/dist/lmvz-components/assets/icons/speech-bubble.svg +0 -3
- package/dist/lmvz-components/assets/icons/star.svg +0 -3
- package/dist/lmvz-components/assets/icons/student.svg +0 -3
- package/dist/lmvz-components/assets/icons/upload.svg +0 -3
- package/dist/lmvz-components/assets/icons/user.svg +0 -3
- package/dist/lmvz-components/assets/icons/warn-circle.svg +0 -3
- package/dist/lmvz-components/assets/icons/warn-triangle.svg +0 -3
- package/dist/lmvz-components/assets/icons/whatsapp.svg +0 -4
- package/dist/lmvz-components/assets/icons/world.svg +0 -10
- package/dist/lmvz-components/assets/icons/x.svg +0 -3
- package/dist/lmvz-components/assets/icons/youtube.svg +0 -3
- package/dist/lmvz-components/assets/zukunftslinie.svg +0 -3
- package/dist/lmvz-components/p-CMnnKjsp.js +0 -1
- package/dist/lmvz-components/p-D9S7OTyY.js +0 -1
- package/dist/lmvz-components/p-DlrjrWsu.js +0 -1
- package/dist/lmvz-components/p-a4615e4b.entry.js +0 -1
- package/dist/lmvz-components/p-a8c88454.entry.js +0 -1
- package/dist/lmvz-components/p-b7f0a6fd.entry.js +0 -1
- package/dist/lmvz-components/p-e63e239a.entry.js +0 -1
- package/dist/lmvz-components/p-f956a5e7.entry.js +0 -1
- package/dist/lmvz-components/p-fefd2fe4.entry.js +0 -1
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
import { aq as deferredMake, aB as deferredAwait, az as deferredSucceed, bZ as deferredFailCause, aG as deferredUnsafeMake, b_ as deferredInterrupt, b$ as deferredDone, c0 as deferredIsDone, c1 as exitIsFailure, c2 as exitIsSuccess, c3 as exitMatch, c4 as exitFailCause, c5 as exitSucceed, c6 as exitFail, c7 as exitZipRight, c8 as exitCollectAll, c9 as exitVoid, ca as exitDie, cb as exitMap, cc as exitZip, ap as dual, as as pipeArguments, cd as NodeInspectSymbol, ce as toJSON, cf as format, aJ as prepend, aO as empty$1, cg as reverse } from './Effect-BhQLGXPs.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new `Deferred`.
|
|
5
|
+
*
|
|
6
|
+
* @since 2.0.0
|
|
7
|
+
* @category constructors
|
|
8
|
+
*/
|
|
9
|
+
const make$1 = deferredMake;
|
|
10
|
+
const _await = deferredAwait;
|
|
11
|
+
/**
|
|
12
|
+
* Exits the `Deferred` with the specified `Exit` value, which will be
|
|
13
|
+
* propagated to all fibers waiting on the value of the `Deferred`.
|
|
14
|
+
*
|
|
15
|
+
* @since 2.0.0
|
|
16
|
+
* @category utils
|
|
17
|
+
*/
|
|
18
|
+
const done = deferredDone;
|
|
19
|
+
/**
|
|
20
|
+
* Fails the `Deferred` with the specified `Cause`, which will be propagated to
|
|
21
|
+
* all fibers waiting on the value of the `Deferred`.
|
|
22
|
+
*
|
|
23
|
+
* @since 2.0.0
|
|
24
|
+
* @category utils
|
|
25
|
+
*/
|
|
26
|
+
const failCause$1 = deferredFailCause;
|
|
27
|
+
/**
|
|
28
|
+
* Completes the `Deferred` with interruption. This will interrupt all fibers
|
|
29
|
+
* waiting on the value of the `Deferred` with the `FiberId` of the fiber
|
|
30
|
+
* calling this method.
|
|
31
|
+
*
|
|
32
|
+
* @since 2.0.0
|
|
33
|
+
* @category utils
|
|
34
|
+
*/
|
|
35
|
+
const interrupt = deferredInterrupt;
|
|
36
|
+
/**
|
|
37
|
+
* Returns `true` if this `Deferred` has already been completed with a value or
|
|
38
|
+
* an error, `false` otherwise.
|
|
39
|
+
*
|
|
40
|
+
* @since 2.0.0
|
|
41
|
+
* @category getters
|
|
42
|
+
*/
|
|
43
|
+
const isDone = deferredIsDone;
|
|
44
|
+
/**
|
|
45
|
+
* Completes the `Deferred` with the specified value.
|
|
46
|
+
*
|
|
47
|
+
* @since 2.0.0
|
|
48
|
+
* @category utils
|
|
49
|
+
*/
|
|
50
|
+
const succeed$1 = deferredSucceed;
|
|
51
|
+
/**
|
|
52
|
+
* Unsafely creates a new `Deferred` from the specified `FiberId`.
|
|
53
|
+
*
|
|
54
|
+
* @since 2.0.0
|
|
55
|
+
* @category unsafe
|
|
56
|
+
*/
|
|
57
|
+
const unsafeMake = deferredUnsafeMake;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Returns `true` if the specified `Exit` is a `Failure`, `false` otherwise.
|
|
61
|
+
*
|
|
62
|
+
* @since 2.0.0
|
|
63
|
+
* @category refinements
|
|
64
|
+
*/
|
|
65
|
+
const isFailure = exitIsFailure;
|
|
66
|
+
/**
|
|
67
|
+
* Returns `true` if the specified `Exit` is a `Success`, `false` otherwise.
|
|
68
|
+
*
|
|
69
|
+
* @since 2.0.0
|
|
70
|
+
* @category refinements
|
|
71
|
+
*/
|
|
72
|
+
const isSuccess = exitIsSuccess;
|
|
73
|
+
/**
|
|
74
|
+
* Collects all of the specified exit values into a `Some<Exit<List<A>, E>>`. If
|
|
75
|
+
* the provided iterable contains no elements, `None` will be returned.
|
|
76
|
+
*
|
|
77
|
+
* @since 2.0.0
|
|
78
|
+
* @category constructors
|
|
79
|
+
*/
|
|
80
|
+
const all = exitCollectAll;
|
|
81
|
+
/**
|
|
82
|
+
* Constructs a new `Exit.Failure` from the specified unrecoverable defect.
|
|
83
|
+
*
|
|
84
|
+
* @since 2.0.0
|
|
85
|
+
* @category constructors
|
|
86
|
+
*/
|
|
87
|
+
const die = exitDie;
|
|
88
|
+
/**
|
|
89
|
+
* Constructs a new `Exit.Failure` from the specified recoverable error of type
|
|
90
|
+
* `E`.
|
|
91
|
+
*
|
|
92
|
+
* @since 2.0.0
|
|
93
|
+
* @category constructors
|
|
94
|
+
*/
|
|
95
|
+
const fail = exitFail;
|
|
96
|
+
/**
|
|
97
|
+
* Constructs a new `Exit.Failure` from the specified `Cause` of type `E`.
|
|
98
|
+
*
|
|
99
|
+
* @since 2.0.0
|
|
100
|
+
* @category constructors
|
|
101
|
+
*/
|
|
102
|
+
const failCause = exitFailCause;
|
|
103
|
+
/**
|
|
104
|
+
* Maps over the `Success` value of the specified exit using the provided
|
|
105
|
+
* function.
|
|
106
|
+
*
|
|
107
|
+
* @since 2.0.0
|
|
108
|
+
* @category mapping
|
|
109
|
+
*/
|
|
110
|
+
const map = exitMap;
|
|
111
|
+
/**
|
|
112
|
+
* @since 2.0.0
|
|
113
|
+
* @category folding
|
|
114
|
+
*/
|
|
115
|
+
const match = exitMatch;
|
|
116
|
+
/**
|
|
117
|
+
* Constructs a new `Exit.Success` containing the specified value of type `A`.
|
|
118
|
+
*
|
|
119
|
+
* @since 2.0.0
|
|
120
|
+
* @category constructors
|
|
121
|
+
*/
|
|
122
|
+
const succeed = exitSucceed;
|
|
123
|
+
const void_ = exitVoid;
|
|
124
|
+
/**
|
|
125
|
+
* Sequentially zips the this result with the specified result or else returns
|
|
126
|
+
* the failed `Cause<E | E2>`.
|
|
127
|
+
*
|
|
128
|
+
* @since 2.0.0
|
|
129
|
+
* @category zipping
|
|
130
|
+
*/
|
|
131
|
+
const zip = exitZip;
|
|
132
|
+
/**
|
|
133
|
+
* Sequentially zips the this result with the specified result discarding the
|
|
134
|
+
* first element of the tuple or else returns the failed `Cause<E | E2>`.
|
|
135
|
+
*
|
|
136
|
+
* @since 2.0.0
|
|
137
|
+
* @category zipping
|
|
138
|
+
*/
|
|
139
|
+
const zipRight = exitZipRight;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @since 2.0.0
|
|
143
|
+
*/
|
|
144
|
+
const TypeId$1 = /*#__PURE__*/Symbol.for("effect/MutableList");
|
|
145
|
+
const MutableListProto = {
|
|
146
|
+
[TypeId$1]: TypeId$1,
|
|
147
|
+
[Symbol.iterator]() {
|
|
148
|
+
let done = false;
|
|
149
|
+
let head = this.head;
|
|
150
|
+
return {
|
|
151
|
+
next() {
|
|
152
|
+
if (done) {
|
|
153
|
+
return this.return();
|
|
154
|
+
}
|
|
155
|
+
if (head == null) {
|
|
156
|
+
done = true;
|
|
157
|
+
return this.return();
|
|
158
|
+
}
|
|
159
|
+
const value = head.value;
|
|
160
|
+
head = head.next;
|
|
161
|
+
return {
|
|
162
|
+
done,
|
|
163
|
+
value
|
|
164
|
+
};
|
|
165
|
+
},
|
|
166
|
+
return(value) {
|
|
167
|
+
if (!done) {
|
|
168
|
+
done = true;
|
|
169
|
+
}
|
|
170
|
+
return {
|
|
171
|
+
done: true,
|
|
172
|
+
value
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
},
|
|
177
|
+
toString() {
|
|
178
|
+
return format(this.toJSON());
|
|
179
|
+
},
|
|
180
|
+
toJSON() {
|
|
181
|
+
return {
|
|
182
|
+
_id: "MutableList",
|
|
183
|
+
values: Array.from(this).map(toJSON)
|
|
184
|
+
};
|
|
185
|
+
},
|
|
186
|
+
[NodeInspectSymbol]() {
|
|
187
|
+
return this.toJSON();
|
|
188
|
+
},
|
|
189
|
+
pipe() {
|
|
190
|
+
return pipeArguments(this, arguments);
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
/** @internal */
|
|
194
|
+
const makeNode = value => ({
|
|
195
|
+
value,
|
|
196
|
+
removed: false,
|
|
197
|
+
prev: undefined,
|
|
198
|
+
next: undefined
|
|
199
|
+
});
|
|
200
|
+
/**
|
|
201
|
+
* Creates an empty `MutableList`.
|
|
202
|
+
*
|
|
203
|
+
* @since 2.0.0
|
|
204
|
+
* @category constructors
|
|
205
|
+
*/
|
|
206
|
+
const empty = () => {
|
|
207
|
+
const list = Object.create(MutableListProto);
|
|
208
|
+
list.head = undefined;
|
|
209
|
+
list.tail = undefined;
|
|
210
|
+
list._length = 0;
|
|
211
|
+
return list;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Returns `true` if the list contains zero elements, `false`, otherwise.
|
|
215
|
+
*
|
|
216
|
+
* @since 2.0.0
|
|
217
|
+
* @category getters
|
|
218
|
+
*/
|
|
219
|
+
const isEmpty$1 = self => length$1(self) === 0;
|
|
220
|
+
/**
|
|
221
|
+
* Returns the length of the list.
|
|
222
|
+
*
|
|
223
|
+
* @since 2.0.0
|
|
224
|
+
* @category getters
|
|
225
|
+
*/
|
|
226
|
+
const length$1 = self => self._length;
|
|
227
|
+
/**
|
|
228
|
+
* Appends the specified element to the end of the `MutableList`.
|
|
229
|
+
*
|
|
230
|
+
* @category concatenating
|
|
231
|
+
* @since 2.0.0
|
|
232
|
+
*/
|
|
233
|
+
const append = /*#__PURE__*/dual(2, (self, value) => {
|
|
234
|
+
const node = makeNode(value);
|
|
235
|
+
if (self.head === undefined) {
|
|
236
|
+
self.head = node;
|
|
237
|
+
}
|
|
238
|
+
if (self.tail === undefined) {
|
|
239
|
+
self.tail = node;
|
|
240
|
+
} else {
|
|
241
|
+
self.tail.next = node;
|
|
242
|
+
node.prev = self.tail;
|
|
243
|
+
self.tail = node;
|
|
244
|
+
}
|
|
245
|
+
self._length += 1;
|
|
246
|
+
return self;
|
|
247
|
+
});
|
|
248
|
+
/**
|
|
249
|
+
* Removes the first value from the list and returns it, if it exists.
|
|
250
|
+
*
|
|
251
|
+
* @since 0.0.1
|
|
252
|
+
*/
|
|
253
|
+
const shift = self => {
|
|
254
|
+
const head = self.head;
|
|
255
|
+
if (head !== undefined) {
|
|
256
|
+
remove(self, head);
|
|
257
|
+
return head.value;
|
|
258
|
+
}
|
|
259
|
+
return undefined;
|
|
260
|
+
};
|
|
261
|
+
const remove = (self, node) => {
|
|
262
|
+
if (node.removed) {
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
node.removed = true;
|
|
266
|
+
if (node.prev !== undefined && node.next !== undefined) {
|
|
267
|
+
node.prev.next = node.next;
|
|
268
|
+
node.next.prev = node.prev;
|
|
269
|
+
} else if (node.prev !== undefined) {
|
|
270
|
+
self.tail = node.prev;
|
|
271
|
+
node.prev.next = undefined;
|
|
272
|
+
} else if (node.next !== undefined) {
|
|
273
|
+
self.head = node.next;
|
|
274
|
+
node.next.prev = undefined;
|
|
275
|
+
} else {
|
|
276
|
+
self.tail = undefined;
|
|
277
|
+
self.head = undefined;
|
|
278
|
+
}
|
|
279
|
+
if (self._length > 0) {
|
|
280
|
+
self._length -= 1;
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @since 2.0.0
|
|
286
|
+
*/
|
|
287
|
+
const TypeId = /*#__PURE__*/Symbol.for("effect/MutableQueue");
|
|
288
|
+
/**
|
|
289
|
+
* @since 2.0.0
|
|
290
|
+
* @category symbol
|
|
291
|
+
*/
|
|
292
|
+
const EmptyMutableQueue = /*#__PURE__*/Symbol.for("effect/mutable/MutableQueue/Empty");
|
|
293
|
+
const MutableQueueProto = {
|
|
294
|
+
[TypeId]: TypeId,
|
|
295
|
+
[Symbol.iterator]() {
|
|
296
|
+
return Array.from(this.queue)[Symbol.iterator]();
|
|
297
|
+
},
|
|
298
|
+
toString() {
|
|
299
|
+
return format(this.toJSON());
|
|
300
|
+
},
|
|
301
|
+
toJSON() {
|
|
302
|
+
return {
|
|
303
|
+
_id: "MutableQueue",
|
|
304
|
+
values: Array.from(this).map(toJSON)
|
|
305
|
+
};
|
|
306
|
+
},
|
|
307
|
+
[NodeInspectSymbol]() {
|
|
308
|
+
return this.toJSON();
|
|
309
|
+
},
|
|
310
|
+
pipe() {
|
|
311
|
+
return pipeArguments(this, arguments);
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
const make = capacity => {
|
|
315
|
+
const queue = Object.create(MutableQueueProto);
|
|
316
|
+
queue.queue = empty();
|
|
317
|
+
queue.capacity = capacity;
|
|
318
|
+
return queue;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Creates a new bounded `MutableQueue`.
|
|
322
|
+
*
|
|
323
|
+
* @since 2.0.0
|
|
324
|
+
* @category constructors
|
|
325
|
+
*/
|
|
326
|
+
const bounded = capacity => make(capacity);
|
|
327
|
+
/**
|
|
328
|
+
* Creates a new unbounded `MutableQueue`.
|
|
329
|
+
*
|
|
330
|
+
* @since 2.0.0
|
|
331
|
+
* @category constructors
|
|
332
|
+
*/
|
|
333
|
+
const unbounded = () => make(undefined);
|
|
334
|
+
/**
|
|
335
|
+
* Returns the current number of elements in the queue.
|
|
336
|
+
*
|
|
337
|
+
* @since 2.0.0
|
|
338
|
+
* @category getters
|
|
339
|
+
*/
|
|
340
|
+
const length = self => length$1(self.queue);
|
|
341
|
+
/**
|
|
342
|
+
* Returns `true` if the queue is empty, `false` otherwise.
|
|
343
|
+
*
|
|
344
|
+
* @since 2.0.0
|
|
345
|
+
* @category getters
|
|
346
|
+
*/
|
|
347
|
+
const isEmpty = self => isEmpty$1(self.queue);
|
|
348
|
+
/**
|
|
349
|
+
* The **maximum** number of elements that a queue can hold.
|
|
350
|
+
*
|
|
351
|
+
* **Note**: unbounded queues can still implement this interface with
|
|
352
|
+
* `capacity = Infinity`.
|
|
353
|
+
*
|
|
354
|
+
* @since 2.0.0
|
|
355
|
+
* @category getters
|
|
356
|
+
*/
|
|
357
|
+
const capacity = self => self.capacity === undefined ? Infinity : self.capacity;
|
|
358
|
+
/**
|
|
359
|
+
* Offers an element to the queue.
|
|
360
|
+
*
|
|
361
|
+
* Returns whether the enqueue was successful or not.
|
|
362
|
+
*
|
|
363
|
+
* @since 2.0.0
|
|
364
|
+
*/
|
|
365
|
+
const offer = /*#__PURE__*/dual(2, (self, value) => {
|
|
366
|
+
const queueLength = length$1(self.queue);
|
|
367
|
+
if (self.capacity !== undefined && queueLength === self.capacity) {
|
|
368
|
+
return false;
|
|
369
|
+
}
|
|
370
|
+
append(value)(self.queue);
|
|
371
|
+
return true;
|
|
372
|
+
});
|
|
373
|
+
/**
|
|
374
|
+
* Enqueues a collection of values into the queue.
|
|
375
|
+
*
|
|
376
|
+
* Returns a `Chunk` of the values that were **not** able to be enqueued.
|
|
377
|
+
*
|
|
378
|
+
* @since 2.0.0
|
|
379
|
+
*/
|
|
380
|
+
const offerAll = /*#__PURE__*/dual(2, (self, values) => {
|
|
381
|
+
const iterator = values[Symbol.iterator]();
|
|
382
|
+
let next;
|
|
383
|
+
let remainder = empty$1();
|
|
384
|
+
let offering = true;
|
|
385
|
+
while (offering && (next = iterator.next()) && !next.done) {
|
|
386
|
+
offering = offer(next.value)(self);
|
|
387
|
+
}
|
|
388
|
+
while (next != null && !next.done) {
|
|
389
|
+
remainder = prepend(next.value)(remainder);
|
|
390
|
+
next = iterator.next();
|
|
391
|
+
}
|
|
392
|
+
return reverse(remainder);
|
|
393
|
+
});
|
|
394
|
+
/**
|
|
395
|
+
* Dequeues an element from the queue.
|
|
396
|
+
*
|
|
397
|
+
* Returns either an element from the queue, or the `def` param.
|
|
398
|
+
*
|
|
399
|
+
* **Note**: if there is no meaningful default for your type, you can always
|
|
400
|
+
* use `poll(MutableQueue.EmptyMutableQueue)`.
|
|
401
|
+
*
|
|
402
|
+
* @since 2.0.0
|
|
403
|
+
*/
|
|
404
|
+
const poll = /*#__PURE__*/dual(2, (self, def) => {
|
|
405
|
+
if (isEmpty$1(self.queue)) {
|
|
406
|
+
return def;
|
|
407
|
+
}
|
|
408
|
+
return shift(self.queue);
|
|
409
|
+
});
|
|
410
|
+
/**
|
|
411
|
+
* Dequeues up to `n` elements from the queue.
|
|
412
|
+
*
|
|
413
|
+
* Returns a `List` of up to `n` elements.
|
|
414
|
+
*
|
|
415
|
+
* @since 2.0.0
|
|
416
|
+
*/
|
|
417
|
+
const pollUpTo = /*#__PURE__*/dual(2, (self, n) => {
|
|
418
|
+
let result = empty$1();
|
|
419
|
+
let count = 0;
|
|
420
|
+
while (count < n) {
|
|
421
|
+
const element = poll(EmptyMutableQueue)(self);
|
|
422
|
+
if (element === EmptyMutableQueue) {
|
|
423
|
+
break;
|
|
424
|
+
}
|
|
425
|
+
result = prepend(element)(result);
|
|
426
|
+
count += 1;
|
|
427
|
+
}
|
|
428
|
+
return reverse(result);
|
|
429
|
+
});
|
|
430
|
+
|
|
431
|
+
export { zip as A, isSuccess as B, EmptyMutableQueue as E, _await as _, unbounded as a, pollUpTo as b, isEmpty as c, done as d, offerAll as e, bounded as f, capacity as g, isFailure as h, interrupt as i, failCause as j, all as k, length as l, match as m, die as n, offer as o, poll as p, map as q, make$1 as r, succeed as s, isDone as t, unsafeMake as u, void_ as v, succeed$1 as w, failCause$1 as x, fail as y, zipRight as z };
|
package/dist/esm/{aria-validation-controller-C7nQzCCq.js → aria-validation-controller-iA4YWFG-.js}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { B as Build } from './index-smGPjoDX.js';
|
|
2
|
-
import {
|
|
2
|
+
import { a6 as make$4, a7 as modify$1, a8 as get$1, a9 as update$1, aa as isInterrupted$1, ab as fail$2, ac as failureOrCause$1, ad as flipCauseOption$1, ae as map$3, af as die$1, ag as interrupt$2, ah as isDieType$1, ai as interruptors$1, aj as isInterruptedOnly$1, ak as join$1, al as interruptFiber, am as _await$1, an as inheritAll$1, ao as interruptAsFiber, N as pipe, F as flatMap$2, q as sync$1, ap as dual, j as map$4, L as make$5, aq as deferredMake, ar as Class, as as pipeArguments, v as suspend$2, at as catchAll, au as interrupt$3, av as get$2, y as none, B as some, aw as uninterruptible, ax as withFiberRuntime, K as set, U as asVoid, ay as whenEffect, az as deferredSucceed, Y as zipRight$1, aA as forEachConcurrentDiscard, aB as deferredAwait, x as succeed$1, aC as fromIterable, aD as empty, aE as splitAt, aF as isEmpty, aG as deferredUnsafeMake, X as onInterrupt, aH as fromIterable$1, aI as deferredUnsafeDone, aJ as prepend, aK as filter, aL as appendAll, aM as append, aN as deferredInterruptWith, aO as empty$1, aP as void_$1, o as fiberId, S as hasProperty, aQ as isEffect, i as identity, aR as match$1, aS as _void, aT as ignore, aU as zipWith, aV as exit, aW as sync$2, aX as provide, aY as matchCauseEffect, aZ as zipRight$3, a_ as flatMap$3, a$ as forkDaemon, b0 as interruptible, b1 as suspend$3, b2 as ensuring$2, b3 as uninterruptible$1, b4 as map$5, b5 as zip$1, b6 as forEach, s as succeed$3, A as isSome, b7 as getOrElse, b8 as dieMessage, b9 as catchAllCause, ba as uninterruptibleMask, bb as all$1, bc as fork, bd as sequential, be as acquireUseRelease, bf as forkIn, bg as size$2, bh as combineAll, bi as intoDeferred, bj as zipLeft, bk as tapErrorCause, bl as addFinalizer, bm as failCause$4, bn as flatten$2, bo as fiberIdWith, bp as interrupt$4, d as left, b as right, bq as matchCause, br as scopedWith$2, bs as unsafeGet, bt as constVoid, bu as scope, $ as gen, bv as withFiberRuntime$1, bw as make$7, bx as extend, by as close, bz as raceWith, bA as runtime, bB as tap, bC as addFinalizerExit, bD as makeSemaphore, bE as when, bF as race, bG as as, m as match$3, bH as repeat, bI as asVoid$1, T as equals, bJ as raceFirst, bK as forever, bL as of$1, bM as fail$4, bN as mapError, bO as reduce, bP as map$7, bQ as match$4, bR as splitWhere, bS as head, bT as filterMap, c as catchAll$1, bU as catchSomeCause, bV as unsafeFromArray, bW as runFork, bX as promise, bY as async } from './Effect-BhQLGXPs.js';
|
|
3
|
+
import { a as unbounded$2, l as length, p as poll, E as EmptyMutableQueue, o as offer$2, b as pollUpTo, c as isEmpty$1, e as offerAll, f as bounded$2, g as capacity, h as isFailure, z as zipRight$2, s as succeed$2, j as failCause$3, m as match$2, k as all, v as void_$2, n as die$2, q as map$6, r as make$6, t as isDone, w as succeed$4, _ as _await$2, x as failCause$5, y as fail$3, A as zip$2, B as isSuccess } from './MutableQueue-CNlEFklh.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* @since 2.0.0
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { a as getAssetPath } from './index-smGPjoDX.js';
|
|
2
|
+
import { a4 as YieldableError, a1 as try_, t as tapError, a2 as logWarning, a5 as orElseSucceed } from './Effect-BhQLGXPs.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Provides a constructor for a Case Class.
|
|
6
|
+
*
|
|
7
|
+
* @since 2.0.0
|
|
8
|
+
* @category constructors
|
|
9
|
+
*/
|
|
10
|
+
const Error = /*#__PURE__*/function () {
|
|
11
|
+
const plainArgsSymbol = /*#__PURE__*/Symbol.for("effect/Data/Error/plainArgs");
|
|
12
|
+
const O = {
|
|
13
|
+
BaseEffectError: class extends YieldableError {
|
|
14
|
+
constructor(args) {
|
|
15
|
+
super(args?.message, args?.cause ? {
|
|
16
|
+
cause: args.cause
|
|
17
|
+
} : undefined);
|
|
18
|
+
if (args) {
|
|
19
|
+
Object.assign(this, args);
|
|
20
|
+
// @effect-diagnostics-next-line floatingEffect:off
|
|
21
|
+
Object.defineProperty(this, plainArgsSymbol, {
|
|
22
|
+
value: args,
|
|
23
|
+
enumerable: false
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
toJSON() {
|
|
28
|
+
return {
|
|
29
|
+
...this[plainArgsSymbol],
|
|
30
|
+
...this
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
return O.BaseEffectError;
|
|
36
|
+
}();
|
|
37
|
+
/**
|
|
38
|
+
* @since 2.0.0
|
|
39
|
+
* @category constructors
|
|
40
|
+
*/
|
|
41
|
+
const TaggedError = tag => {
|
|
42
|
+
const O = {
|
|
43
|
+
BaseEffectError: class extends Error {
|
|
44
|
+
_tag = tag;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
O.BaseEffectError.prototype.name = tag;
|
|
48
|
+
return O.BaseEffectError;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
class URLCreationError extends TaggedError('URLCreationError') {
|
|
52
|
+
}
|
|
53
|
+
const syncCreateAssetUrlSafely = (file) => try_(() => getAssetPath(['../../assets', file].join('/').replace('//', '/').replace('/./', '/'))).pipe(tapError(() => logWarning(`Failed to create URL for icon "${file}".
|
|
54
|
+
Please provide an absolute URL in your app's 'setAssetPath(...)' configuration!
|
|
55
|
+
Falling back to /assets/`)), orElseSucceed(() => window.location.origin + '/assets/' + file));
|
|
56
|
+
|
|
57
|
+
export { TaggedError as T, syncCreateAssetUrlSafely as s };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { g as getOrThrowWith,
|
|
2
|
-
import { a as
|
|
1
|
+
import { g as getOrThrowWith, b as right, d as left, i as identity, e as isRight, f as getRight, m as match, h as decode, j as map, k as all, n as context, o as fiberId, p as merge, q as sync, u as size, v as suspend, w as get, x as succeed, y as none, z as has, A as isSome, B as some, C as getOrUndefined, D as set, E as struct, F as flatMap, G as remove, H as empty, I as clockWith, J as compareAndSet, K as set$1, L as make$2, M as symbol, N as pipe, O as cached, P as combine, Q as hash, R as symbol$1, S as hasProperty, T as equals, U as asVoid, V as when, W as toMillis, X as onInterrupt, Y as zipRight, Z as exit, _ as provideContext, $ as gen, a0 as tryPromise, a1 as try_, a2 as logWarning, a3 as infinity } from './Effect-BhQLGXPs.js';
|
|
2
|
+
import { u as unsafeMake, o as offer, p as poll, E as EmptyMutableQueue, a as unbounded, _ as _await, s as succeed$1, i as interrupt, d as done } from './MutableQueue-CNlEFklh.js';
|
|
3
|
+
import { T as TaggedError, s as syncCreateAssetUrlSafely } from './assets-BymuU366.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* This module provides types and utility functions to create and work with branded types,
|
|
@@ -518,53 +519,6 @@ const makeWith = options => map(all([context(), fiberId]), ([context, fiberId])
|
|
|
518
519
|
*/
|
|
519
520
|
const make = make$1;
|
|
520
521
|
|
|
521
|
-
/**
|
|
522
|
-
* Provides a constructor for a Case Class.
|
|
523
|
-
*
|
|
524
|
-
* @since 2.0.0
|
|
525
|
-
* @category constructors
|
|
526
|
-
*/
|
|
527
|
-
const Error$1 = /*#__PURE__*/function () {
|
|
528
|
-
const plainArgsSymbol = /*#__PURE__*/Symbol.for("effect/Data/Error/plainArgs");
|
|
529
|
-
const O = {
|
|
530
|
-
BaseEffectError: class extends YieldableError {
|
|
531
|
-
constructor(args) {
|
|
532
|
-
super(args?.message, args?.cause ? {
|
|
533
|
-
cause: args.cause
|
|
534
|
-
} : undefined);
|
|
535
|
-
if (args) {
|
|
536
|
-
Object.assign(this, args);
|
|
537
|
-
// @effect-diagnostics-next-line floatingEffect:off
|
|
538
|
-
Object.defineProperty(this, plainArgsSymbol, {
|
|
539
|
-
value: args,
|
|
540
|
-
enumerable: false
|
|
541
|
-
});
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
toJSON() {
|
|
545
|
-
return {
|
|
546
|
-
...this[plainArgsSymbol],
|
|
547
|
-
...this
|
|
548
|
-
};
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
};
|
|
552
|
-
return O.BaseEffectError;
|
|
553
|
-
}();
|
|
554
|
-
/**
|
|
555
|
-
* @since 2.0.0
|
|
556
|
-
* @category constructors
|
|
557
|
-
*/
|
|
558
|
-
const TaggedError = tag => {
|
|
559
|
-
const O = {
|
|
560
|
-
BaseEffectError: class extends Error$1 {
|
|
561
|
-
_tag = tag;
|
|
562
|
-
}
|
|
563
|
-
};
|
|
564
|
-
O.BaseEffectError.prototype.name = tag;
|
|
565
|
-
return O.BaseEffectError;
|
|
566
|
-
};
|
|
567
|
-
|
|
568
522
|
class FetchError extends TaggedError('FetchError') {
|
|
569
523
|
}
|
|
570
524
|
class NotFoundError extends TaggedError('NotFoundError') {
|
|
@@ -589,12 +543,6 @@ const responseAsText = (res) => tryPromise({
|
|
|
589
543
|
catch: error => new ResponseTextError(error),
|
|
590
544
|
});
|
|
591
545
|
|
|
592
|
-
class URLCreationError extends TaggedError('URLCreationError') {
|
|
593
|
-
}
|
|
594
|
-
const createAssetUrlSafely = (file) => try_(() => getAssetPath([file].join('/').replace('//', '/'))).pipe(tapError(() => logWarning(`Failed to create URL for icon "${file}".
|
|
595
|
-
Please provide an absolute URL in your app's 'setAssetPath(...)' configuration!
|
|
596
|
-
Falling back to /assets/`)), orElseSucceed(() => window.location.origin + '/assets/' + file));
|
|
597
|
-
|
|
598
546
|
const SVGString = refined(isValidSVG, () => error('SVG data is malformed'));
|
|
599
547
|
class BrandValidationError extends TaggedError('BrandValidationError') {
|
|
600
548
|
constructor(error, type) {
|
|
@@ -625,8 +573,8 @@ const createIconCache = () => make({
|
|
|
625
573
|
timeToLive: infinity,
|
|
626
574
|
lookup: (key) => gen(function* () {
|
|
627
575
|
const name = key;
|
|
628
|
-
const icon =
|
|
629
|
-
const assetPath = yield*
|
|
576
|
+
const icon = `/icons/${name}.svg`;
|
|
577
|
+
const assetPath = yield* syncCreateAssetUrlSafely(icon);
|
|
630
578
|
const res = yield* httpClient(assetPath);
|
|
631
579
|
const responseString = yield* responseAsText(res);
|
|
632
580
|
return yield* createValidSVGString(responseString);
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { c as clearIconCache } from './icons-
|
|
2
|
-
import { r as runPromise } from './Effect-
|
|
1
|
+
export { c as clearIconCache } from './icons-D7UubWaN.js';
|
|
2
|
+
import { r as runPromise } from './Effect-BhQLGXPs.js';
|
|
3
|
+
import './MutableQueue-CNlEFklh.js';
|
|
4
|
+
import './assets-BymuU366.js';
|
|
3
5
|
import './index-smGPjoDX.js';
|
|
4
6
|
|
|
5
7
|
const variants = ['primary', 'secondary', 'tertiary'];
|
|
@@ -2,9 +2,10 @@ import { g as getElement, r as registerInstance, c as createEvent, h, H as Host
|
|
|
2
2
|
import { c as classNames } from './index-Bt32KzDW.js';
|
|
3
3
|
import { i as inheritAriaAttributes, f as findFormByRef } from './component-B3JVFwO1.js';
|
|
4
4
|
import { E as ElementActivationController } from './element-activation-controller-CN0JX9-m.js';
|
|
5
|
-
import { R as ReactiveControllerHost, A as AriaValidationController } from './aria-validation-controller-
|
|
5
|
+
import { R as ReactiveControllerHost, A as AriaValidationController } from './aria-validation-controller-iA4YWFG-.js';
|
|
6
6
|
import './_commonjsHelpers-B85MJLTf.js';
|
|
7
|
-
import './Effect-
|
|
7
|
+
import './Effect-BhQLGXPs.js';
|
|
8
|
+
import './MutableQueue-CNlEFklh.js';
|
|
8
9
|
|
|
9
10
|
const lmvzButtonCss = () => ` @layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.theme { @font-face { font-family: Router; src: local('Router-Book'), url('/assets/fonts/Router-Book.woff') format('woff'), local('Router'); font-weight: 400 normal; } @font-face { font-family: Router; src: local('Router-Medium'), url('/assets/fonts/Router-Medium.woff') format('woff'), local('Router'); font-weight: 500; } @font-face { font-family: Router; src: local('Router-Bold'), url('/assets/fonts/Router-Bold.woff') format('woff'), local('Router'); font-weight: 700 bold; } } @layer lmvz-ds.reset { h1, h2, h3, h4, h5, h6 { margin: 0; } } :host { button { --lmvz-button-color: var(--lmvz-component-color, var(--lmvz-semantic-color-int-on-primary, #ffffff)); --lmvz-button-padding-inline: var(--lmvz-button-padding, var(--lmvz-component-input-md-padding-x, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-padding-block: var(--lmvz-button-padding, var(--lmvz-component-input-md-padding-y, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.4 Router); --lmvz-button-radius: var(--lmvz-component-input-radius-default, 999px); --lmvz-button-border-width: 0; --lmvz-button-border-color: transparent; --lmvz-button-background: var(--lmvz-semantic-color-int-primary, #000000); display: inline-flex; align-items: center; justify-content: center; gap: var(--lmvz-button-gap); padding-block: var(--lmvz-button-padding-block); padding-inline: var(--lmvz-button-padding-inline); border-radius: var(--lmvz-button-radius); border: var(--lmvz-button-border-width) solid var(--lmvz-button-border-color); background-color: var(--lmvz-button-background); color: var(--lmvz-button-color); cursor: pointer; font: var(--lmvz-button-font); text-align: center; text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; } button > * { font: inherit; color: inherit; } button:focus-visible { outline: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-status-selected, #f1f9fe); outline-offset: var(--lmvz-component-input-sm-padding-x, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); } button:is([disabled], .disabled) { cursor: not-allowed; pointer-events: none; opacity: var(--lmvz-component-input-disabled-opacity, 40%); } button:not([disabled]):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-primary-hover, #2e2e2e); } button:not([disabled]):active { --lmvz-button-background: var(--lmvz-semantic-color-int-primary-active, #545454); } button.secondary { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary, #f0f0f0); --lmvz-button-color: var(--lmvz-semantic-color-int-on-secondary, #000000); --lmvz-button-border-width: var(--lmvz-semantic-border-width-default, 1px); --lmvz-button-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0); } button.secondary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary-hover, #e0e0e0); --lmvz-button-border-color: var(--lmvz-semantic-color-border-hover, #c7c7c7); } button.secondary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary-active, #d4d4d4); --lmvz-button-border-color: var(--lmvz-semantic-color-border-active, #d4d4d4); } button.tertiary { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary, #ffffff); --lmvz-button-color: var(--lmvz-semantic-color-int-on-tertiary, #545454); } button.tertiary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary-hover, #f0f0f0); } button.tertiary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary-active, #e0e0e0); } button.small { --lmvz-button-padding-inline: var(--lmvz-component-input-sm-padding-x, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --lmvz-button-padding-block: var(--lmvz-component-input-sm-padding-y, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --lmvz-button-gap: var(--lmvz-component-input-sm-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.4 Router); } button.large { --lmvz-button-padding-inline: var(--lmvz-component-input-lg-padding-x, clamp(0.88rem, 0.78rem + 0.39vw, 1.25rem)); --lmvz-button-padding-block: var(--lmvz-component-input-lg-padding-y, clamp(0.88rem, 0.78rem + 0.39vw, 1.25rem)); --lmvz-button-gap: var(--lmvz-component-input-lg-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.4 Router); } display: contents; } ::slotted(*) { --lmvz-component-color: var(--lmvz-button-color); } `;
|
|
10
11
|
|