react-native-unistyles 3.0.0-alpha.27 → 3.0.0-alpha.28
Sign up to get free protection for your applications and to get access to all the features.
- package/cxx/core/UnistylesRegistry.cpp +4 -8
- package/cxx/core/UnistylesRegistry.h +1 -1
- package/cxx/core/UnistylesState.cpp +2 -10
- package/cxx/core/UnistylesState.h +1 -1
- package/cxx/hybridObjects/HybridStyleSheet.cpp +1 -2
- package/cxx/parser/Parser.cpp +73 -4
- package/cxx/parser/Parser.h +2 -0
- package/lib/commonjs/core/index.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/mq.js +1 -4
- package/lib/commonjs/mq.js.map +2 -1
- package/lib/commonjs/specs/NativePlatform/NativePlatform.nitro.js.map +1 -0
- package/lib/commonjs/specs/NavigtionBar/UnistylesNavigationBar.nitro.js.map +1 -1
- package/lib/commonjs/specs/NavigtionBar/index.js.map +2 -1
- package/lib/commonjs/specs/ShadowRegistry/ShadowRegistry.nitro.js.map +1 -1
- package/lib/commonjs/specs/ShadowRegistry/types.js +3 -0
- package/lib/commonjs/specs/ShadowRegistry/types.js.map +1 -1
- package/lib/commonjs/specs/StatusBar/UnistylesStatusBar.nitro.js.map +1 -1
- package/lib/commonjs/specs/StatusBar/index.js.map +2 -1
- package/lib/commonjs/specs/StyleSheet/UnistylesStyleSheet.nitro.js +2 -4
- package/lib/commonjs/specs/StyleSheet/UnistylesStyleSheet.nitro.js.map +1 -1
- package/lib/commonjs/specs/index.js.map +1 -1
- package/lib/commonjs/specs/types.js +10 -10
- package/lib/commonjs/specs/types.js.map +1 -1
- package/lib/commonjs/types/stylesheet.js.map +1 -1
- package/lib/commonjs/web/convert/index.js +1 -7
- package/lib/commonjs/web/convert/shadow.js +1 -5
- package/lib/commonjs/web/convert/shadow.js.map +2 -1
- package/lib/commonjs/web/convert/textShadow.js +1 -4
- package/lib/commonjs/web/convert/textShadow.js.map +2 -1
- package/lib/commonjs/web/convert/transform.js.map +2 -1
- package/lib/commonjs/web/create.js +1 -5
- package/lib/commonjs/web/create.js.map +2 -1
- package/lib/commonjs/web/mock.js.map +2 -1
- package/lib/commonjs/web/runtime.js.map +2 -1
- package/lib/commonjs/web/state.js.map +1 -1
- package/lib/commonjs/web/utils/common.js +1 -3
- package/lib/commonjs/web/utils/common.js.map +2 -1
- package/lib/commonjs/web/utils/unistyle.js.map +1 -1
- package/lib/commonjs/web/variants/index.js.map +1 -1
- package/lib/module/common.js.map +1 -1
- package/lib/module/core/useBreakpoint.js.map +1 -1
- package/lib/module/core/useBreakpoint.native.js.map +2 -1
- package/lib/module/core/useTheme.js.map +2 -1
- package/lib/module/core/useTheme.native.js.map +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/mq.js +1 -4
- package/lib/module/mq.js.map +2 -1
- package/lib/module/specs/NativePlatform/NativePlatform.nitro.js +5 -6
- package/lib/module/specs/NativePlatform/NativePlatform.nitro.js.map +1 -1
- package/lib/module/specs/NavigtionBar/UnistylesNavigationBar.nitro.js.map +1 -1
- package/lib/module/specs/NavigtionBar/index.js.map +2 -1
- package/lib/module/specs/ShadowRegistry/ShadowRegistry.nitro.js.map +1 -0
- package/lib/module/specs/ShadowRegistry/index.js.map +2 -1
- package/lib/module/specs/ShadowRegistry/types.js +2 -0
- package/lib/module/specs/ShadowRegistry/types.js.map +1 -1
- package/lib/module/specs/StatusBar/UnistylesStatusBar.nitro.js.map +1 -1
- package/lib/module/specs/StyleSheet/UnistylesStyleSheet.nitro.js +1 -1
- package/lib/module/specs/StyleSheet/UnistylesStyleSheet.nitro.js.map +1 -0
- package/lib/module/specs/TurboUnistyles/NativeTurboUnistyles.js +2 -3
- package/lib/module/specs/TurboUnistyles/NativeTurboUnistyles.js.map +2 -1
- package/lib/module/specs/UnistylesRuntime/UnistylesRuntime.nitro.js.map +1 -1
- package/lib/module/specs/index.web.js.map +2 -1
- package/lib/module/specs/types.js.map +1 -1
- package/lib/module/types/stylesheet.js.map +1 -1
- package/lib/module/web/convert/boxShadow.js +1 -4
- package/lib/module/web/convert/boxShadow.js.map +2 -1
- package/lib/module/web/convert/pseudo.js.map +2 -1
- package/lib/module/web/convert/shadow.js +1 -5
- package/lib/module/web/convert/shadow.js.map +2 -1
- package/lib/module/web/convert/style.js.map +2 -1
- package/lib/module/web/convert/textShadow.js +1 -4
- package/lib/module/web/convert/textShadow.js.map +2 -1
- package/lib/module/web/convert/transform.js.map +2 -1
- package/lib/module/web/convert/utils.js.map +2 -1
- package/lib/module/web/index.js +1 -2
- package/lib/module/web/index.js.map +2 -1
- package/lib/module/web/listener.js.map +2 -1
- package/lib/module/web/mock.js.map +2 -1
- package/lib/module/web/registry.js +1 -3
- package/lib/module/web/registry.js.map +2 -1
- package/lib/module/web/runtime.js.map +2 -1
- package/lib/module/web/shadowRegistry.js +1 -9
- package/lib/module/web/shadowRegistry.js.map +2 -1
- package/lib/module/web/state.js.map +1 -1
- package/lib/module/web/utils/index.js.map +1 -1
- package/lib/module/web/utils/unistyle.js.map +2 -1
- package/lib/module/web/variants/index.js.map +1 -1
- package/lib/module/web/variants/useVariants.js +1 -2
- package/lib/module/web/variants/useVariants.js.map +2 -1
- package/lib/typescript/src/global.d.ts +0 -2
- package/lib/typescript/src/global.d.ts.map +1 -1
- package/lib/typescript/src/types/stylesheet.d.ts +4 -2
- package/lib/typescript/src/types/stylesheet.d.ts.map +1 -1
- package/lib/typescript/src/web/create.d.ts +204 -0
- package/lib/typescript/src/web/create.d.ts.map +1 -1
- package/lib/typescript/src/web/index.d.ts +204 -0
- package/lib/typescript/src/web/index.d.ts.map +1 -1
- package/lib/typescript/src/web/runtime.d.ts +3 -3
- package/lib/typescript/src/web/runtime.d.ts.map +1 -1
- package/lib/typescript/src/web/state.d.ts +1 -1
- package/lib/typescript/src/web/state.d.ts.map +1 -1
- package/lib/typescript/src/web/utils/unistyle.d.ts +2 -2
- package/lib/typescript/src/web/utils/unistyle.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/common.js +4 -0
- package/src/core/index.js +2 -0
- package/src/core/useBreakpoint.js +14 -0
- package/src/core/useBreakpoint.native.js +16 -0
- package/src/core/useTheme.js +14 -0
- package/src/core/useTheme.native.js +16 -0
- package/src/global.ts +1 -4
- package/src/index.js +3 -0
- package/src/mq.js +38 -0
- package/src/specs/NativePlatform/NativePlatform.nitro.js +18 -0
- package/src/specs/NativePlatform/index.js +1 -0
- package/src/specs/NavigtionBar/UnistylesNavigationBar.nitro.js +1 -0
- package/src/specs/NavigtionBar/index.js +9 -0
- package/src/specs/ShadowRegistry/ShadowRegistry.nitro.js +1 -0
- package/src/specs/ShadowRegistry/index.js +26 -0
- package/src/specs/ShadowRegistry/types.js +1 -0
- package/src/specs/StatusBar/UnistylesStatusBar.nitro.js +1 -0
- package/src/specs/StatusBar/index.js +25 -0
- package/src/specs/StyleSheet/UnistylesStyleSheet.nitro.js +1 -0
- package/src/specs/StyleSheet/index.js +13 -0
- package/src/specs/TurboUnistyles/NativeTurboUnistyles.js +2 -0
- package/src/specs/TurboUnistyles/index.js +1 -0
- package/src/specs/UnistylesRuntime/UnistylesRuntime.nitro.js +1 -0
- package/src/specs/UnistylesRuntime/index.js +20 -0
- package/src/specs/index.js +8 -0
- package/src/specs/index.web.js +2 -0
- package/src/specs/types.js +17 -0
- package/src/types/stylesheet.ts +5 -3
- package/src/web/convert/boxShadow.js +59 -0
- package/src/web/convert/index.js +56 -0
- package/src/web/convert/pseudo.js +131 -0
- package/src/web/convert/shadow.js +50 -0
- package/src/web/convert/style.js +137 -0
- package/src/web/convert/textShadow.js +56 -0
- package/src/web/convert/transform.js +65 -0
- package/src/web/convert/types.js +2 -0
- package/src/web/convert/utils.js +39 -0
- package/src/web/create.js +39 -0
- package/src/web/index.js +22 -0
- package/src/web/listener.js +26 -0
- package/src/web/mock.js +21 -0
- package/src/web/mq.js +14 -0
- package/src/web/registry.js +168 -0
- package/src/web/runtime.js +160 -0
- package/src/web/runtime.ts +1 -1
- package/src/web/shadowRegistry.js +99 -0
- package/src/web/state.ts +3 -3
- package/src/web/utils/common.js +79 -0
- package/src/web/utils/index.js +2 -0
- package/src/web/utils/unistyle.js +72 -0
- package/src/web/utils/unistyle.ts +2 -2
- package/src/web/variants/getVariants.js +26 -0
- package/src/web/variants/index.js +2 -0
- package/src/web/variants/useVariants.js +50 -0
@@ -5,10 +5,10 @@ using namespace margelo::nitro::unistyles;
|
|
5
5
|
using namespace facebook;
|
6
6
|
using namespace facebook::react;
|
7
7
|
|
8
|
-
void core::UnistylesRegistry::registerTheme(jsi::Runtime& rt, std::string name, jsi::
|
8
|
+
void core::UnistylesRegistry::registerTheme(jsi::Runtime& rt, std::string name, jsi::Value& theme) {
|
9
9
|
auto& state = this->getState(rt);
|
10
10
|
|
11
|
-
state._jsThemes.emplace(name,
|
11
|
+
state._jsThemes.emplace(name, std::move(theme));
|
12
12
|
state._registeredThemeNames.push_back(name);
|
13
13
|
}
|
14
14
|
|
@@ -60,15 +60,11 @@ void core::UnistylesRegistry::updateTheme(jsi::Runtime& rt, std::string& themeNa
|
|
60
60
|
|
61
61
|
helpers::assertThat(rt, it != state._jsThemes.end(), "Unistyles: You're trying to update theme '" + themeName + "' but it wasn't registered.");
|
62
62
|
|
63
|
-
auto
|
64
|
-
|
65
|
-
helpers::assertThat(rt, currentThemeValue.isObject(), "Unistyles: Unable to update your theme from C++. It was already garbage collected.");
|
66
|
-
|
67
|
-
auto result = callback.call(rt, currentThemeValue.asObject(rt));
|
63
|
+
auto result = callback.call(rt, it->second);
|
68
64
|
|
69
65
|
helpers::assertThat(rt, result.isObject(), "Unistyles: Returned theme is not an object. Please check your updateTheme function.");
|
70
66
|
|
71
|
-
it->second =
|
67
|
+
it->second = result.asObject(rt);
|
72
68
|
}
|
73
69
|
|
74
70
|
void core::UnistylesRegistry::linkShadowNodeWithUnistyle(
|
@@ -28,7 +28,7 @@ struct UnistylesRegistry: public StyleSheetRegistry {
|
|
28
28
|
UnistylesRegistry(const UnistylesRegistry&) = delete;
|
29
29
|
UnistylesRegistry(const UnistylesRegistry&&) = delete;
|
30
30
|
|
31
|
-
void registerTheme(jsi::Runtime& rt, std::string name, jsi::
|
31
|
+
void registerTheme(jsi::Runtime& rt, std::string name, jsi::Value& theme);
|
32
32
|
void registerBreakpoints(jsi::Runtime& rt, std::vector<std::pair<std::string, double>>& sortedBreakpoints);
|
33
33
|
void setPrefersAdaptiveThemes(jsi::Runtime& rt, bool prefersAdaptiveThemes);
|
34
34
|
void setInitialThemeName(jsi::Runtime& rt, std::string themeName);
|
@@ -41,11 +41,7 @@ jsi::Object core::UnistylesState::getCurrentJSTheme() {
|
|
41
41
|
|
42
42
|
helpers::assertThat(*_rt, it != this->_jsThemes.end(), "Unistyles: You're trying to get theme '" + _currentThemeName.value() + "', but it was not registered. Did you forget to register it with StyleSheet.configure?");
|
43
43
|
|
44
|
-
|
45
|
-
|
46
|
-
helpers::assertThat(*_rt, maybeTheme.isObject(), "Unistyles: Unable to retrieve your theme from C++ as it has already been garbage collected, likely due to multiple hot reloads. Please live reload the app.");
|
47
|
-
|
48
|
-
return maybeTheme.asObject(*_rt);
|
44
|
+
return it->second.asObject(*_rt);
|
49
45
|
}
|
50
46
|
|
51
47
|
jsi::Object core::UnistylesState::getJSThemeByName(std::string& themeName) {
|
@@ -53,11 +49,7 @@ jsi::Object core::UnistylesState::getJSThemeByName(std::string& themeName) {
|
|
53
49
|
|
54
50
|
helpers::assertThat(*_rt, it != this->_jsThemes.end(), "Unistyles: You're trying to get theme '" + themeName + "', but it was not registered. Did you forget to register it with StyleSheet.configure?");
|
55
51
|
|
56
|
-
|
57
|
-
|
58
|
-
helpers::assertThat(*_rt, maybeTheme.isObject(), "Unistyles: Unable to retrieve your theme from C++ as it has already been garbage collected, likely due to multiple hot reloads. Please live reload the app.");
|
59
|
-
|
60
|
-
return maybeTheme.asObject(*_rt);
|
52
|
+
return it->second.asObject(*_rt);
|
61
53
|
}
|
62
54
|
|
63
55
|
void core::UnistylesState::computeCurrentBreakpoint(int screenWidth) {
|
@@ -37,7 +37,7 @@ struct UnistylesState {
|
|
37
37
|
|
38
38
|
private:
|
39
39
|
jsi::Runtime* _rt;
|
40
|
-
std::unordered_map<std::string, jsi::
|
40
|
+
std::unordered_map<std::string, jsi::Value> _jsThemes{};
|
41
41
|
std::optional<bool> _prefersAdaptiveThemes = std::nullopt;
|
42
42
|
std::optional<std::string> _initialThemeName = std::nullopt;
|
43
43
|
std::optional<std::string> _currentBreakpointName = std::nullopt;
|
@@ -140,11 +140,10 @@ void HybridStyleSheet::parseThemes(jsi::Runtime &rt, jsi::Object themes) {
|
|
140
140
|
helpers::enumerateJSIObject(rt, themes, [&](const std::string& propertyName, jsi::Value& propertyValue){
|
141
141
|
helpers::assertThat(rt, propertyValue.isObject(), "StyleSheet.configure's registered theme '" + propertyName + "' must be an object.");
|
142
142
|
|
143
|
-
registry.registerTheme(rt, propertyName, propertyValue
|
143
|
+
registry.registerTheme(rt, propertyName, propertyValue);
|
144
144
|
});
|
145
145
|
}
|
146
146
|
|
147
|
-
|
148
147
|
void HybridStyleSheet::verifyAndSelectTheme(jsi::Runtime &rt) {
|
149
148
|
auto& state = core::UnistylesRegistry::get().getState(rt);
|
150
149
|
|
package/cxx/parser/Parser.cpp
CHANGED
@@ -270,6 +270,18 @@ jsi::Object parser::Parser::parseFirstLevel(jsi::Runtime& rt, Unistyle::Shared u
|
|
270
270
|
|
271
271
|
return;
|
272
272
|
}
|
273
|
+
|
274
|
+
if (propertyName == "boxShadow" && propertyValueObject.isArray(rt)) {
|
275
|
+
parsedStyle.setProperty(rt, jsi::PropNameID::forUtf8(rt, propertyName), parseBoxShadow(rt, unistyle, propertyValueObject));
|
276
|
+
|
277
|
+
return;
|
278
|
+
}
|
279
|
+
|
280
|
+
if (propertyName == "filter" && propertyValueObject.isArray(rt)) {
|
281
|
+
parsedStyle.setProperty(rt, jsi::PropNameID::forUtf8(rt, propertyName), parseFilters(rt, unistyle, propertyValueObject));
|
282
|
+
|
283
|
+
return;
|
284
|
+
}
|
273
285
|
|
274
286
|
if (propertyName == "fontVariant" && propertyValueObject.isArray(rt)) {
|
275
287
|
parsedStyle.setProperty(rt, jsi::PropNameID::forUtf8(rt, propertyName), propertyValue);
|
@@ -365,10 +377,6 @@ std::vector<UnistyleDependency> parser::Parser::parseDependencies(jsi::Runtime &
|
|
365
377
|
|
366
378
|
// eg. [{ scale: 2 }, { translateX: 100 }]
|
367
379
|
jsi::Value parser::Parser::parseTransforms(jsi::Runtime& rt, Unistyle::Shared unistyle, jsi::Object& obj) {
|
368
|
-
if (!obj.isArray(rt)) {
|
369
|
-
return jsi::Value::undefined();
|
370
|
-
}
|
371
|
-
|
372
380
|
std::vector<jsi::Value> parsedTransforms{};
|
373
381
|
|
374
382
|
parsedTransforms.reserve(2);
|
@@ -398,6 +406,67 @@ jsi::Value parser::Parser::parseTransforms(jsi::Runtime& rt, Unistyle::Shared un
|
|
398
406
|
return result;
|
399
407
|
}
|
400
408
|
|
409
|
+
// eg [{offsetX: 5, offsetY: 5, blurRadius: 5, spreadDistance: 0, color: ‘rgba(255, 0, 0, 0.5)’}]
|
410
|
+
jsi::Value parser::Parser::parseBoxShadow(jsi::Runtime &rt, Unistyle::Shared unistyle, jsi::Object &obj) {
|
411
|
+
std::vector<jsi::Value> parsedBoxShadows{};
|
412
|
+
|
413
|
+
parsedBoxShadows.reserve(2);
|
414
|
+
|
415
|
+
helpers::iterateJSIArray(rt, obj.asArray(rt), [&](size_t i, jsi::Value& value){
|
416
|
+
if (!value.isObject()) {
|
417
|
+
return;
|
418
|
+
}
|
419
|
+
|
420
|
+
auto parsedResult = this->parseSecondLevel(rt, unistyle, value);
|
421
|
+
|
422
|
+
parsedBoxShadows.emplace_back(std::move(parsedResult));
|
423
|
+
});
|
424
|
+
|
425
|
+
// create jsi::Array result with correct box shadows
|
426
|
+
jsi::Array result = jsi::Array(rt, parsedBoxShadows.size());
|
427
|
+
|
428
|
+
for (size_t i = 0; i < parsedBoxShadows.size(); i++) {
|
429
|
+
result.setValueAtIndex(rt, i, parsedBoxShadows[i]);
|
430
|
+
}
|
431
|
+
|
432
|
+
return result;
|
433
|
+
}
|
434
|
+
|
435
|
+
// eg. [{ brightness: 0.5 }, { opacity: 0.25 }]
|
436
|
+
jsi::Value parser::Parser::parseFilters(jsi::Runtime &rt, Unistyle::Shared unistyle, jsi::Object &obj) {
|
437
|
+
std::vector<jsi::Value> parsedFilters{};
|
438
|
+
|
439
|
+
parsedFilters.reserve(2);
|
440
|
+
|
441
|
+
helpers::iterateJSIArray(rt, obj.asArray(rt), [&](size_t i, jsi::Value& value){
|
442
|
+
if (!value.isObject()) {
|
443
|
+
return;
|
444
|
+
}
|
445
|
+
|
446
|
+
auto parsedResult = this->parseSecondLevel(rt, unistyle, value);
|
447
|
+
|
448
|
+
// take only one filter per object
|
449
|
+
jsi::Array propertyNames = parsedResult.asObject(rt).getPropertyNames(rt);
|
450
|
+
size_t length = propertyNames.size(rt);
|
451
|
+
|
452
|
+
// ignore no filters
|
453
|
+
if (length == 0) {
|
454
|
+
return;
|
455
|
+
}
|
456
|
+
|
457
|
+
parsedFilters.emplace_back(std::move(parsedResult));
|
458
|
+
});
|
459
|
+
|
460
|
+
// create jsi::Array result with correct filters
|
461
|
+
jsi::Array result = jsi::Array(rt, parsedFilters.size());
|
462
|
+
|
463
|
+
for (size_t i = 0; i < parsedFilters.size(); i++) {
|
464
|
+
result.setValueAtIndex(rt, i, parsedFilters[i]);
|
465
|
+
}
|
466
|
+
|
467
|
+
return result;
|
468
|
+
}
|
469
|
+
|
401
470
|
// find value based on breakpoints and mq
|
402
471
|
jsi::Value parser::Parser::getValueFromBreakpoints(jsi::Runtime& rt, Unistyle::Shared unistyle, jsi::Object& obj) {
|
403
472
|
auto& registry = core::UnistylesRegistry::get();
|
package/cxx/parser/Parser.h
CHANGED
@@ -35,6 +35,8 @@ private:
|
|
35
35
|
jsi::Function createDynamicFunctionProxy(jsi::Runtime& rt, Unistyle::Shared unistyle);
|
36
36
|
std::vector<UnistyleDependency> parseDependencies(jsi::Runtime &rt, jsi::Object&& dependencies);
|
37
37
|
jsi::Value parseTransforms(jsi::Runtime& rt, Unistyle::Shared unistyle, jsi::Object& obj);
|
38
|
+
jsi::Value parseBoxShadow(jsi::Runtime& rt, Unistyle::Shared unistyle, jsi::Object& obj);
|
39
|
+
jsi::Value parseFilters(jsi::Runtime& rt, Unistyle::Shared unistyle, jsi::Object& obj);
|
38
40
|
jsi::Value getValueFromBreakpoints(jsi::Runtime& rt, Unistyle::Shared unistyle, jsi::Object& obj);
|
39
41
|
jsi::Object parseVariants(jsi::Runtime& rt, Unistyle::Shared unistyle, jsi::Object& obj, Variants& variants);
|
40
42
|
jsi::Value getStylesForVariant(jsi::Runtime& rt, const std::string groupName, jsi::Object&& groupValue, std::optional<std::string> selectedVariant, Variants& variants);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_useBreakpoint","require","_useTheme"],"sourceRoot":"../../../src","sources":["core/index.
|
1
|
+
{"version":3,"names":["_useBreakpoint","require","_useTheme"],"sourceRoot":"../../../src","sources":["core/index.js"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_specs","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_mq","_core"],"sourceRoot":"../../src","sources":["index.
|
1
|
+
{"version":3,"names":["_specs","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_mq","_core"],"sourceRoot":"../../src","sources":["index.js"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,GAAA,GAAAb,OAAA;AACA,IAAAc,KAAA,GAAAd,OAAA","ignoreList":[]}
|
package/lib/commonjs/mq.js
CHANGED
@@ -11,7 +11,6 @@ const getMQValue = value => {
|
|
11
11
|
if (value === null) {
|
12
12
|
return 0;
|
13
13
|
}
|
14
|
-
|
15
14
|
// todo take it from js
|
16
15
|
const breakpoints = {
|
17
16
|
xs: 0,
|
@@ -20,11 +19,9 @@ const getMQValue = value => {
|
|
20
19
|
lg: 800,
|
21
20
|
xl: 1200
|
22
21
|
};
|
23
|
-
|
24
22
|
// @ts-ignore
|
25
23
|
return breakpoints[value] ?? 0;
|
26
24
|
};
|
27
|
-
|
28
25
|
/**
|
29
26
|
* Utility to create cross-platform media queries
|
30
27
|
* @returns - JavaScript symbol to be used in your stylesheet
|
@@ -45,4 +42,4 @@ const mq = exports.mq = {
|
|
45
42
|
}
|
46
43
|
})
|
47
44
|
};
|
48
|
-
//# sourceMappingURL=mq.js.
|
45
|
+
//# sourceMappingURL=mq.js.mapmap
|
package/lib/commonjs/mq.js.map
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
{"version":3,"names":["getMQValue","value","breakpoints","xs","sm","md","lg","xl","mq","exports","only","width","wMin","wMax","Infinity","height","hMin","hMax","and"],"sourceRoot":"../../src","sources":["mq.
|
1
|
+
{"version":3,"names":["getMQValue","value","breakpoints","xs","sm","md","lg","xl","mq","exports","only","width","wMin","wMax","Infinity","height","hMin","hMax","and"],"sourceRoot":"../../src","sources":["mq.js"],"mappings":";;;;;;AAAA,MAAMA,UAAU,GAAIC,KAAK,IAAK;EAC1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,KAAK,MAAMd,UAAU,CAACY,IAAI,CAAC,KAAKZ,UAAU,CAACa,IAAI,CAAC,OAAOb,UAAU,CAACgB,IAAI,CAAC,KAAKhB,UAAU,CAACiB,IAAI,CAAC;IACjI;EACJ,CAAC;AACL,CAAC","ignoreList":[]}
|
2
|
+
gnoreList":[]}
|
@@ -1 +1,2 @@
|
|
1
1
|
{"version":3,"names":["UnistyleDependency","exports"],"sourceRoot":"../../../../src","sources":["specs/NativePlatform/NativePlatform.nitro.ts"],"mappings":";;;;;;IAMYA,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,0BAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAA,OAAlBA,kBAAkB;AAAA,OA+B9B;AACA","ignoreList":[]}
|
2
|
+
AkB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,GAAG,YAAY;EACvEA,kBAAkB,CAACA,kBAAkB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,aAAa;EACzEA,kBAAkB,CAACA,kBAAkB,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,GAAG,qBAAqB;EACzFA,kBAAkB,CAACA,kBAAkB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,QAAQ;EAC/DA,kBAAkB,CAACA,kBAAkB,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,GAAG,YAAY;EACxEA,kBAAkB,CAACA,kBAAkB,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,GAAG,WAAW;EACtEA,kBAAkB,CAACA,kBAAkB,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,GAAG,WAAW;EACtEA,kBAAkB,CAACA,kBAAkB,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,GAAG,eAAe;AAClF,CAAC,EAAEA,kBAAkB,KAAAC,OAAA,CAAAD,kBAAA,GAAKA,kBAAkB,GAAG,CAAC,CAAC,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/NavigtionBar/UnistylesNavigationBar.nitro.
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/NavigtionBar/UnistylesNavigationBar.nitro.js"],"mappings":"","ignoreList":[]}
|
@@ -1 +1,2 @@
|
|
1
|
-
{"version":3,"names":["_reactNative","require","attachNavigationBarJSMethods","hybridObject","privateHybrid","_setBackgroundColor","setBackgroundColor","color","parsedColor","processColor","exports"],"sourceRoot":"../../../../src","sources":["specs/NavigtionBar/index.
|
1
|
+
{"version":3,"names":["_reactNative","require","attachNavigationBarJSMethods","hybridObject","privateHybrid","_setBackgroundColor","setBackgroundColor","color","parsedColor","processColor","exports"],"sourceRoot":"../../../../src","sources":["specs/NavigtionBar/index.js"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACO,MAAMC,4BAA4B,GAAIC,YAAY,IAAK;EAC1D,MAAMC,aAAa,GAAGD,YAAY;EAClCC,aAAa,CAACC,mBAAmB,GAAGF,YAAY,CAACG,kBAAkB;EACnEH,YAAY,CAACG,kBAAkB,GAAIC,KAAK,IAAK;IACzC,MAAMC,WAAW,GAAG,IAAAC,yBAAY,EAACF,KAAK,CAAC,IAAI,CAAC;IAC5CH,aAAa,CAACC,mBAAmB,CAACG,WAAW,CAAC;EAClD,CAAC;AACL,CAAC;AAACE,OAAA,CAAAR,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
2
|
+
]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/ShadowRegistry/ShadowRegistry.nitro.
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/ShadowRegistry/ShadowRegistry.nitro.js"],"mappings":"","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/ShadowRegistry/types.
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/ShadowRegistry/types.js"],"mappings":"","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/StatusBar/UnistylesStatusBar.nitro.
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/StatusBar/UnistylesStatusBar.nitro.js"],"mappings":"","ignoreList":[]}
|
@@ -1 +1,2 @@
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_types","attachStatusBarJSMethods","hybridObject","setStyle","style","animated","StatusBarStyle","Light","NativeStatusBar","setBarStyle","Dark","Default","privateHybrid","_setHidden","setHidden","isHidden","animation","_setBackgroundColor","setBackgroundColor","color","parsedColor","processColor","exports"],"sourceRoot":"../../../../src","sources":["specs/StatusBar/index.
|
1
|
+
{"version":3,"names":["_reactNative","require","_types","attachStatusBarJSMethods","hybridObject","setStyle","style","animated","StatusBarStyle","Light","NativeStatusBar","setBarStyle","Dark","Default","privateHybrid","_setHidden","setHidden","isHidden","animation","_setBackgroundColor","setBackgroundColor","color","parsedColor","processColor","exports"],"sourceRoot":"../../../../src","sources":["specs/StatusBar/index.js"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACO,MAAME,wBAAwB,GAAIC,YAAY,IAAK;EACtDA,YAAY,CAACC,QAAQ,GAAG,CAACC,KAAK,EAAEC,QAAQ,KAAK;IACzC,QAAQD,KAAK;MACT,KAAKE,qBAAc,CAACC,KAAK;QACrB,OAAOC,sBAAe,CAACC,WAAW,CAAC,eAAe,EAAEJ,QAAQ,CAAC;MACjE,KAAKC,qBAAc,CAACI,IAAI;QACpB,OAAOF,sBAAe,CAACC,WAAW,CAAC,cAAc,EAAEJ,QAAQ,CAAC;MAChE,KAAKC,qBAAc,CAACK,OAAO;QACvB,OAAOH,sBAAe,CAACC,WAAW,CAAC,SAAS,EAAEJ,QAAQ,CAAC;IAC/D;EACJ,CAAC;EACD,MAAMO,aAAa,GAAGV,YAAY;EAClCU,aAAa,CAACC,UAAU,GAAGX,YAAY,CAACY,SAAS;EACjDZ,YAAY,CAACY,SAAS,GAAG,CAACC,QAAQ,EAAEC,SAAS,KAAK;IAC9CR,sBAAe,CAACM,SAAS,CAACC,QAAQ,EAAEC,SAAS,CAAC;IAC9CJ,aAAa,CAACC,UAAU,CAACE,QAAQ,CAAC;EACtC,CAAC;EACDH,aAAa,CAACK,mBAAmB,GAAGf,YAAY,CAACgB,kBAAkB;EACnEhB,YAAY,CAACgB,kBAAkB,GAAIC,KAAK,IAAK;IACzC,MAAMC,WAAW,GAAG,IAAAC,yBAAY,EAACF,KAAK,CAAC,IAAI,CAAC;IAC5CP,aAAa,CAACK,mBAAmB,CAACG,WAAW,CAAC;EAClD,CAAC;AACL,CAAC;AAACE,OAAA,CAAArB,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
2
|
+
st":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["specs/StyleSheet/UnistylesStyleSheet.nitro.
|
1
|
+
{"version":3,"names":["_NativePlatform","require"],"sourceRoot":"../../../../src","sources":["specs/StyleSheet/UnistylesStyleSheet.nitro.js"],"mappings":";;AAAA,IAAAA,eAAA,GAAAC,OAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["require","_UnistylesRuntime","_StyleSheet","_ShadowRegistry","_types","_NativePlatform"],"sourceRoot":"../../../src","sources":["specs/index.
|
1
|
+
{"version":3,"names":["require","_UnistylesRuntime","_StyleSheet","_ShadowRegistry","_types","_NativePlatform"],"sourceRoot":"../../../src","sources":["specs/index.js"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAAA,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA","ignoreList":[]}
|
@@ -4,21 +4,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.StatusBarStyle = exports.Orientation = exports.ColorScheme = void 0;
|
7
|
-
|
7
|
+
var ColorScheme;
|
8
|
+
(function (ColorScheme) {
|
8
9
|
ColorScheme["Light"] = "light";
|
9
10
|
ColorScheme["Dark"] = "dark";
|
10
11
|
ColorScheme["Unspecified"] = "unspecified";
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
})(ColorScheme || (exports.ColorScheme = ColorScheme = {}));
|
13
|
+
var Orientation;
|
14
|
+
(function (Orientation) {
|
14
15
|
Orientation["Portrait"] = "portrait";
|
15
16
|
Orientation["Landscape"] = "landscape";
|
16
|
-
|
17
|
-
|
18
|
-
|
17
|
+
})(Orientation || (exports.Orientation = Orientation = {}));
|
18
|
+
var StatusBarStyle;
|
19
|
+
(function (StatusBarStyle) {
|
19
20
|
StatusBarStyle["Default"] = "default";
|
20
21
|
StatusBarStyle["Light"] = "light";
|
21
22
|
StatusBarStyle["Dark"] = "dark";
|
22
|
-
|
23
|
-
|
24
|
-
//# sourceMappingURL=types.js.map
|
23
|
+
})(StatusBarStyle || (exports.StatusBarStyle = StatusBarStyle = {}));
|
24
|
+
//# sourceMappingURL=types.js.mapjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["ColorScheme","exports","Orientation","StatusBarStyle"],"sourceRoot":"../../../src","sources":["specs/types.
|
1
|
+
{"version":3,"names":["ColorScheme","exports","Orientation","StatusBarStyle"],"sourceRoot":"../../../src","sources":["specs/types.js"],"mappings":";;;;;;AAAO,IAAIA,WAAW;AACtB,CAAC,UAAUA,WAAW,EAAE;EACpBA,WAAW,CAAC,OAAO,CAAC,GAAG,OAAO;EAC9BA,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM;EAC5BA,WAAW,CAAC,aAAa,CAAC,GAAG,aAAa;AAC9C,CAAC,EAAEA,WAAW,KAAAC,OAAA,CAAAD,WAAA,GAAKA,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC;AAC9B,IAAIE,WAAW;AACtB,CAAC,UAAUA,WAAW,EAAE;EACpBA,WAAW,CAAC,UAAU,CAAC,GAAG,UAAU;EACpCA,WAAW,CAAC,WAAW,CAAC,GAAG,WAAW;AAC1C,CAAC,EAAEA,WAAW,KAAAD,OAAA,CAAAC,WAAA,GAAKA,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC;AAC9B,IAAIC,cAAc;AACzB,CAAC,UAAUA,cAAc,EAAE;EACvBA,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS;EACrCA,cAAc,CAAC,OAAO,CAAC,GAAG,OAAO;EACjCA,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM;AACnC,CAAC,EAAEA,cAAc,KAAAF,OAAA,CAAAE,cAAA,GAAKA,cAAc,GAAG,CAAC,CAAC,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["create","stylesheet"],"sourceRoot":"../../../src","sources":["types/stylesheet.ts"],"mappings":";;;;;AASA;;
|
1
|
+
{"version":3,"names":["create","stylesheet"],"sourceRoot":"../../../src","sources":["types/stylesheet.ts"],"mappings":";;;;;AASA;;AAwEA,MAAMA,MAAM,GAA0BC,UAAwC,IAAoEA,UAA2E","ignoreList":[]}
|
@@ -24,7 +24,6 @@ const convertUnistyles = value => {
|
|
24
24
|
if (['_classNames', '_web', 'variants', 'compoundVariants', 'uni__dependencies', '__unistyles-secrets__'].includes(unistylesKey) || unistylesKey.startsWith('variant-')) {
|
25
25
|
return [];
|
26
26
|
}
|
27
|
-
|
28
27
|
// Pseudo classes :hover, :before etc.
|
29
28
|
if ((0, _pseudo.isPseudo)(unistylesKey)) {
|
30
29
|
const flattenValues = convertUnistyles(unistylesValue);
|
@@ -32,7 +31,6 @@ const convertUnistyles = value => {
|
|
32
31
|
[unistylesKey]: flattenValues
|
33
32
|
};
|
34
33
|
}
|
35
|
-
|
36
34
|
// Text shadow
|
37
35
|
if ((0, _utils2.isTextShadow)(unistylesKey)) {
|
38
36
|
if (hasTextShadow) {
|
@@ -41,7 +39,6 @@ const convertUnistyles = value => {
|
|
41
39
|
hasTextShadow = true;
|
42
40
|
return (0, _textShadow.getTextShadowStyle)(value);
|
43
41
|
}
|
44
|
-
|
45
42
|
// Box shadow
|
46
43
|
if ((0, _utils2.isBoxShadow)(unistylesKey)) {
|
47
44
|
if (hasBoxShadow) {
|
@@ -50,12 +47,10 @@ const convertUnistyles = value => {
|
|
50
47
|
hasBoxShadow = true;
|
51
48
|
return (0, _boxShadow.getBoxShadowStyle)(value);
|
52
49
|
}
|
53
|
-
|
54
50
|
// Transforms
|
55
51
|
if ((0, _utils2.isTransform)(unistylesKey, unistylesValue)) {
|
56
52
|
return (0, _transform.getTransformStyle)(unistylesValue);
|
57
53
|
}
|
58
|
-
|
59
54
|
// Breakpoints
|
60
55
|
if (typeof unistylesValue === 'object' && unistylesValue !== null) {
|
61
56
|
return Object.entries(unistylesValue).map(([breakpointKey, breakpointValue]) => {
|
@@ -64,11 +59,10 @@ const convertUnistyles = value => {
|
|
64
59
|
};
|
65
60
|
});
|
66
61
|
}
|
67
|
-
|
68
62
|
// Regular styles
|
69
63
|
return (0, _style.getStyle)(unistylesKey, unistylesValue);
|
70
64
|
});
|
71
65
|
return (0, _utils.deepMergeObjects)(...stylesArray);
|
72
66
|
};
|
73
67
|
exports.convertUnistyles = convertUnistyles;
|
74
|
-
//# sourceMappingURL=index.js.map
|
68
|
+
//# sourceMappingURL=index.js.mapjs.map
|
@@ -16,23 +16,19 @@ const validateShadow = (shadowProperties, styles, breakpoints) => {
|
|
16
16
|
width,
|
17
17
|
height
|
18
18
|
} = value;
|
19
|
-
|
20
19
|
// If shadowOffset.width has breakpoints
|
21
20
|
if (typeof width === 'object') {
|
22
21
|
Object.keys(width).forEach(breakpoint => breakpoints.add(breakpoint));
|
23
22
|
}
|
24
|
-
|
25
23
|
// If shadowOffset.height has breakpoints
|
26
24
|
if (typeof height === 'object') {
|
27
25
|
Object.keys(height).forEach(breakpoint => breakpoints.add(breakpoint));
|
28
26
|
}
|
29
27
|
return;
|
30
28
|
}
|
31
|
-
|
32
29
|
// Collect regular breakpoints
|
33
30
|
Object.keys(value).forEach(breakpoint => breakpoints.add(breakpoint));
|
34
31
|
});
|
35
|
-
|
36
32
|
// Validate if all breakpoints are present
|
37
33
|
shadowProperties.forEach(key => {
|
38
34
|
const value = styles[key];
|
@@ -65,4 +61,4 @@ const validateShadow = (shadowProperties, styles, breakpoints) => {
|
|
65
61
|
});
|
66
62
|
};
|
67
63
|
exports.validateShadow = validateShadow;
|
68
|
-
//# sourceMappingURL=shadow.js.map
|
64
|
+
//# sourceMappingURL=shadow.js.map.map
|
@@ -1 +1,2 @@
|
|
1
|
-
{"version":3,"names":["validateShadow","shadowProperties","styles","breakpoints","forEach","key","value","width","height","Object","keys","breakpoint","add","missingBreakpoints","Array","from","filter","length","join","exports"],"sourceRoot":"../../../../src","sources":["web/convert/shadow.
|
1
|
+
{"version":3,"names":["validateShadow","shadowProperties","styles","breakpoints","forEach","key","value","width","height","Object","keys","breakpoint","add","missingBreakpoints","Array","from","filter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Q,EAAE;QAC3B,MAAMM,kBAAkB,GAAGC,KAAK,CAACC,IAAI,CAACZ,WAAW,CAAC,CAACa,MAAM,CAACL,UAAU,IAAI,EAAEA,UAAU,IAAIJ,KAAK,CAAC,CAAC;QAC/F,IAAIM,kBAAkB,CAACI,MAAM,EAAE;UAC3B,MAAM,0BAA0BZ,GAAG,WAAWQ,kBAAkB,CAACK,IAAI,CAAC,IAAI,CAAC,EAAE;QACjF;MACJ;MACA,IAAI,OAAOV,MAAM,KAAK,QAAQ,EAAE;QAC5B,MAAMK,kBAAkB,GAAGC,KAAK,CAACC,IAAI,CAACZ,WAAW,CAAC,CAACa,MAAM,CAACL,UAAU,IAAI,EAAEA,UAAU,IAAIH,MAAM,CAAC,CAAC;QAChG,IAAIK,kBAAkB,CAACI,MAAM,EAAE;UAC3B,MAAM,0BAA0BZ,GAAG,YAAYQ,kBAAkB,CAACK,IAAI,CAAC,IAAI,CAAC,EAAE;QAClF;MACJ;MACA;IACJ;IACA,MAAML,kBAAkB,GAAGC,KAAK,CAACC,IAAI,CAACZ,WAAW,CAAC,CAACa,MAAM,CAACL,UAAU,IAAI,EAAEA,UAAU,IAAIL,KAAK,CAAC,CAAC;IAC/F,IAAIO,kBAAkB,CAACI,MAAM,EAAE;MAC3B,MAAM,0BAA0BZ,GAAG,KAAKQ,kBAAkB,CAACK,IAAI,CAAC,IAAI,CAAC,EAAE;IAC3E;EACJ,CAAC,CAAC;AACN,CAAC;AAACC,OAAA,CAAAnB,cAAA,GAAAA,cAAA","ignoreList":[]}
|
2
|
+
st":[]}
|
@@ -36,14 +36,12 @@ const getTextShadowStyle = styles => {
|
|
36
36
|
return {};
|
37
37
|
}
|
38
38
|
const breakpoints = Array.from(breakpointsSet);
|
39
|
-
|
40
39
|
// If no breakpoints were used return styles without media queries
|
41
40
|
if (breakpoints.length === 0) {
|
42
41
|
return {
|
43
42
|
textShadow: createTextShadowValue(styles)
|
44
43
|
};
|
45
44
|
}
|
46
|
-
|
47
45
|
// Create textShadow for each breakpoint
|
48
46
|
const breakpointStyles = breakpoints.map(breakpoint => {
|
49
47
|
const color = (0, _utils2.extractShadowValue)('textShadowColor', breakpoint, styles);
|
@@ -65,9 +63,8 @@ const getTextShadowStyle = styles => {
|
|
65
63
|
}
|
66
64
|
};
|
67
65
|
});
|
68
|
-
|
69
66
|
// Merge all breakpoints styles into one
|
70
67
|
return (0, _utils.deepMergeObjects)(...breakpointStyles);
|
71
68
|
};
|
72
69
|
exports.getTextShadowStyle = getTextShadowStyle;
|
73
|
-
//# sourceMappingURL=textShadow.js.
|
70
|
+
//# sourceMappingURL=textShadow.js.mapmap
|
@@ -1 +1,2 @@
|
|
1
|
-
{"version":3,"names":["_utils","require","_shadow","_types","_utils2","createTextShadowValue","style","textShadowColor","textShadowOffset","textShadowRadius","offsetX","normalizeNumericValue","width","offsetY","height","radius","color","normalizeColor","getTextShadowStyle","styles","missingStyles","TEXT_SHADOW_STYLES","filter","key","length","warn","join","breakpointsSet","Set","validateShadow","error","breakpoints","Array","from","textShadow","breakpointStyles","map","breakpoint","extractShadowValue","deepMergeObjects","exports"],"sourceRoot":"../../../../src","sources":["web/convert/textShadow.
|
1
|
+
{"version":3,"names":["_utils","require","_shadow","_types","_utils2","createTextShadowValue","style","textShadowColor","textShadowOffset","textShadowRadius","offsetX","normalizeNumericValue","width","offsetY","height","radius","color","normalizeColor","getTextShadowStyle","styles","missingStyles","TEXT_SHADOW_STYLES","filter","key","length","warn","join","breakpointsSet","Set","validateShadow","error","breakpoints","Array","from","textShadow","breakpointStyles","map","breakpoint","extractShadowValue","deepMergeObjects","exports"],"sourceRoot":"../../../../src","sources":["web/convert/textShadow.js"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,MAAMI,qBAAqB,GAAIC,KAAK,IAAK;EACrC,MAAM;IAAEC,eAA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IAAI;IACnD,MAAMrB,KAAK,GAAG,IAAAsB,0BAAkB,EAAC,iBAAiB,EAAED,UAAU,EAAElB,MAAM,CAAC;IACvE,MAAM;MAAEP,KAAK;MAAEE;IAAO,CAAC,GAAG,IAAAwB,0BAAkB,EAAC,kBAAkB,EAAED,UAAU,EAAElB,MAAM,CAAC;IACpF,MAAMJ,MAAM,GAAG,IAAAuB,0BAAkB,EAAC,kBAAkB,EAAED,UAAU,EAAElB,MAAM,CAAC;IACzE,OAAO;MACH,CAACkB,UAAU,GAAG;QACVH,UAAU,EAAE7B,qBAAqB,CAAC;UAC9BE,eAAe,EAAES,KAAK;UACtBR,gBAAgB,EAAE;YACdI,KAAK;YACLE;UACJ,CAAC;UACDL,gBAAgB,EAAEM;QACtB,CAAC;MACL;IACJ,CAAC;EACL,CAAC,CAAC;EACF;EACA,OAAO,IAAAwB,uBAAgB,EAAC,GAAGJ,gBAAgB,CAAC;AAChD,CAAC;AAACK,OAAA,CAAAtB,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
2
|
+
t":[]}
|
@@ -1 +1,2 @@
|
|
1
|
-
{"version":3,"names":["_utils","require","_utils2","normalizeTransform","key","value","includes","normalizeNumericValue","createTransformValue","transforms","map","transform","Object","keys","undefined","join","filter","Boolean","getTransformStyle","breakpoints","Set","normalTransforms","forEach","property","Array","isArray","breakpoint","add","push","breakpointTransforms","from","flatMap","transformsPerBreakpoint","keyInObject","deepMergeObjects","exports"],"sourceRoot":"../../../../src","sources":["web/convert/transform.
|
1
|
+
{"version":3,"names":["_utils","require","_utils2","normalizeTransform","key","value","includes","normalizeNumericValue","createTransformValue","transforms","map","transform","Object","keys","undefined","join","filter","Boolean","getTransformStyle","breakpoints","Set","normalTransforms","forEach","property","Array","isArray","breakpoint","add","push","breakpointTransforms","from","flatMap","transformsPerBreakpoint","keyInObject","deepMergeObjects","exports"],"sourceRoot":"../../../../src","sources":["web/convert/transform.js"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,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const create = stylesheet => {
|
|
30
30
|
...result,
|
31
31
|
...variants[key]
|
32
32
|
};
|
33
|
-
|
34
33
|
// Add secrets to result of dynamic styles function
|
35
34
|
return addSecrets((0, _utils.getStyles)(resultWithVariants), key, args);
|
36
35
|
};
|
37
|
-
|
38
36
|
// Add secrets to dynamic styles function
|
39
37
|
return addSecrets(dynamicStyle, key);
|
40
38
|
}
|
41
|
-
|
42
39
|
// Add secrets to static styles
|
43
40
|
return addSecrets((0, _utils.getStyles)(value), key);
|
44
41
|
});
|
45
|
-
|
46
42
|
// Inject useVariants hook to styles
|
47
43
|
(0, _variants.createUseVariants)(styles, newVariants => Object.entries(newVariants).forEach(([key, value]) => selectedVariants.set(key, value)));
|
48
44
|
return styles;
|
49
45
|
};
|
50
46
|
exports.create = create;
|
51
|
-
//# sourceMappingURL=create.js.map
|
47
|
+
//# sourceMappingURL=create.js.map.map
|
@@ -1 +1,2 @@
|
|
1
|
-
{"version":3,"names":["_utils","require","_runtime","_variants","create","stylesheet","computedStylesheet","UnistylesRuntime","theme","miniRuntime","selectedVariants","Map","copyVariants","Object","fromEntries","entries","addSecrets","value","key","args","assignSecrets","__uni__key","__uni__refs","Set","__uni__stylesheet","__uni__args","__uni__variants","styles","reduceObject","_key","String","dynamicStyle","result","variants","getVariants","resultWithVariants","getStyles","createUseVariants","newVariants","forEach","set","exports"],"sourceRoot":"../../../src","sources":["web/create.
|
1
|
+
{"version":3,"names":["_utils","require","_runtime","_variants","create","stylesheet","computedStylesheet","UnistylesRuntime","theme","miniRuntime","selectedVariants","Map","copyVariants","Object","fromEntries","entries","addSecrets","value","key","args","assignSecrets","__uni__key","__uni__refs","Set","__uni__stylesheet","__uni__args","__uni__variants","styles","reduceObject","_key","String","dynamicStyle","result","variants","getVariants","resultWithVariants","getStyles","createUseVariants","newVariants","forEach","set","exports"],"sourceRoot":"../../../src","sources":["web/create.js"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAA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IAAAoB,gBAAS,EAACD,kBAAkB,CAAC,EAAEjB,GAAG,EAAEC,IAAI,CAAC;MAC/D,CAAC;MACD;MACA,OAAOH,UAAU,CAACe,YAAY,EAAEb,GAAG,CAAC;IACxC;IACA;IACA,OAAOF,UAAU,CAAC,IAAAoB,gBAAS,EAACnB,KAAK,CAAC,EAAEC,GAAG,CAAC;EAC5C,CAAC,CAAC;EACF;EACA,IAAAmB,2BAAiB,EAACV,MAAM,EAAEW,WAAW,IAAIzB,MAAM,CAACE,OAAO,CAACuB,WAAW,CAAC,CAACC,OAAO,CAAC,CAAC,CAACrB,GAAG,EAAED,KAAK,CAAC,KAAKP,gBAAgB,CAAC8B,GAAG,CAACtB,GAAG,EAAED,KAAK,CAAC,CAAC,CAAC;EACjI,OAAOU,MAAM;AACjB,CAAC;AAACc,OAAA,CAAArC,MAAA,GAAAA,MAAA","ignoreList":[]}
|
2
|
+
List":[]}
|
@@ -1 +1,2 @@
|
|
1
|
-
{"version":3,"names":["StatusBar","exports","width","height","setStyle","setHidden","setBackgroundColor","equals","toString","__type","name","NavigationBar"],"sourceRoot":"../../../src","sources":["web/mock.
|
1
|
+
{"version":3,"names":["StatusBar","exports","width","height","setStyle","setHidden","setBackgroundColor","equals","toString","__type","name","NavigationBar"],"sourceRoot":"../../../src","sources":["web/mock.js"],"mappings":";;;;;;AAAO,MAAMA,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG;EACrBE,KAAK,EAAE,CAAC;EACRC,MAAM,EAAE,CAAC;EACTC,QAAQ,EAAEA,CAAA,KAAM,CAAE,CAAC;EACnBC,SAAS,EAAEA,CAAA,KAAM,CAAE,CAAC;EACpBC,kBAAkB,EAAEA,CAAA,KAAM,CAAE,CAAC;EAC7BC,MAAM,EAAEA,CAAA,KAAM,IAAI;EAClBC,QAAQ,EAAEA,CAAA,KAAM,WAAW;EAC3BC,MAAM,EAAE,KAAK;EACbC,IAAI,EAAE;AACV,CAAC;AACM,MAAMC,aAAa,GAAAV,OAAA,CAAAU,aAAA,GAAG;EACzBT,KAAK,EAAE,CAAC;EACRC,MAAM,EAAE,CAAC;EACTE,SAAS,EAAEA,CAAA,KAAM,CAAE,CAAC;EACpBC,kBAAkB,EAAEA,CAAA,KAAM,CAAE,CAAC;EAC7BC,MAAM,EAAEA,CAAA,KAAM,IAAI;EAClBC,QAAQ,EAAEA,CAAA,KAAM,eAAe;EAC/BC,MAAM,EAAE,KAAK;EACbC,IAAI,EAAE;AACV,CAAC","ignoreList":[]}
|
2
|
+
}
|