@multiplatform.one/vite-plugin-gnome 7.88.9 → 7.88.11
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/lib/index.cjs +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/lib/index.cjs
CHANGED
|
@@ -78,7 +78,7 @@ const corePatches = [
|
|
|
78
78
|
name: "core-text-line-cap-label",
|
|
79
79
|
module: "@tamagui/core",
|
|
80
80
|
precondition: corePrecondition,
|
|
81
|
-
find: /(\n\
|
|
81
|
+
find: /(\n[ \t]*)supportedProps\.style = \[(\s*)numberOfLines != null && numberOfLines > 1 && \{ WebkitLineClamp: numberOfLines \},/,
|
|
82
82
|
replace: "$1if (numberOfLines != null && numberOfLines > 1) { supportedProps.lines = numberOfLines; supportedProps.ellipsize = 3; }$1supportedProps.style = [$2numberOfLines != null && numberOfLines > 1 && { WebkitLineClamp: numberOfLines },"
|
|
83
83
|
},
|
|
84
84
|
{
|
package/lib/index.mjs
CHANGED
|
@@ -76,7 +76,7 @@ const corePatches = [
|
|
|
76
76
|
name: "core-text-line-cap-label",
|
|
77
77
|
module: "@tamagui/core",
|
|
78
78
|
precondition: corePrecondition,
|
|
79
|
-
find: /(\n\
|
|
79
|
+
find: /(\n[ \t]*)supportedProps\.style = \[(\s*)numberOfLines != null && numberOfLines > 1 && \{ WebkitLineClamp: numberOfLines \},/,
|
|
80
80
|
replace: "$1if (numberOfLines != null && numberOfLines > 1) { supportedProps.lines = numberOfLines; supportedProps.ellipsize = 3; }$1supportedProps.style = [$2numberOfLines != null && numberOfLines > 1 && { WebkitLineClamp: numberOfLines },"
|
|
81
81
|
},
|
|
82
82
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/vite-plugin-gnome",
|
|
3
|
-
"version": "7.88.
|
|
3
|
+
"version": "7.88.11",
|
|
4
4
|
"description": "Vite plugin that makes Tamagui render under react-gnome (GTK4/GJS) — bundle patches for @tamagui/core's native lazy-init chains, the sheet/portal native builds, the hover/animation gates, plus the Tamagui-specific resolver aliases. Pairs with @react-gnome/vite-plugin (generic GJS aliases/conditions/define).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gjs",
|
package/src/index.ts
CHANGED
|
@@ -191,7 +191,7 @@ const corePatches: TamaguiPatch[] = [
|
|
|
191
191
|
name: "core-text-line-cap-label",
|
|
192
192
|
module: "@tamagui/core",
|
|
193
193
|
precondition: corePrecondition,
|
|
194
|
-
find: /(\n\
|
|
194
|
+
find: /(\n[ \t]*)supportedProps\.style = \[(\s*)numberOfLines != null && numberOfLines > 1 && \{ WebkitLineClamp: numberOfLines \},/,
|
|
195
195
|
replace:
|
|
196
196
|
"$1if (numberOfLines != null && numberOfLines > 1) { supportedProps.lines = numberOfLines; supportedProps.ellipsize = 3; }" +
|
|
197
197
|
"$1supportedProps.style = [$2numberOfLines != null && numberOfLines > 1 && { WebkitLineClamp: numberOfLines },",
|