Content-Length: 263161 | pFad | http://github.com/NativeScript/NativeScript/pull/10692/files

FA feat(core): tailwind v4 support by NathanWalker · Pull Request #10692 · NativeScript/NativeScript · GitHub
Skip to content

feat(core): tailwind v4 support #10692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions packages/core/ui/core/properties/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,12 @@ export function _evaluateCssCalcExpression(value: string) {

if (isCssCalcExpression(value)) {
// WORKAROUND: reduce-css-calc can't handle the dip-unit.
return require('reduce-css-calc')(value.replace(/([0-9]+(\.[0-9]+)?)dip\b/g, '$1'));
let cssValue = value.replace(/([0-9]+(\.[0-9]+)?)dip\b/g, '$1');
if (cssValue.includes('unset')) {
// ensure unset is properly handled before processing calc
cssValue = cssValue.replace(/unset/g, '0');
}
return require('reduce-css-calc')(cssValue);
} else {
return value;
}
Expand Down Expand Up @@ -920,10 +925,10 @@ export class CssAnimationProperty<T extends Style, U> implements CssAnimationPro
get: getsComputed
? function (this: T) {
return this[computedValue];
}
}
: function (this: T) {
return this[symbol];
},
},
set(this: T, boxedValue: U | string) {
const view = this.viewRef.get();
if (!view) {
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/pull/10692/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy