@tamagui/web 3.0.0-beta.1099.1 → 3.0.0-beta.1109.1
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/helpers/createDesignSystem.cjs +2 -2
- package/dist/cjs/helpers/getCSSStylesAtomic.cjs +1 -1
- package/dist/cjs/helpers/getSplitStyles.cjs +1 -1
- package/dist/cjs/helpers/getSplitStyles.native.cjs +1 -1
- package/dist/cjs/helpers/getSplitStyles.native.js +1 -1
- package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/esm/helpers/createDesignSystem.mjs +2 -2
- package/dist/esm/helpers/createDesignSystem.mjs.map +1 -1
- package/dist/esm/helpers/getCSSStylesAtomic.mjs +1 -1
- package/dist/esm/helpers/getCSSStylesAtomic.mjs.map +1 -1
- package/dist/esm/helpers/getSplitStyles.mjs +1 -1
- package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
- package/dist/esm/helpers/getSplitStyles.native.js +1 -1
- package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
- package/package.json +17 -17
- package/src/helpers/createDesignSystem.ts +2 -2
- package/src/helpers/getCSSStylesAtomic.ts +1 -1
- package/src/helpers/getSplitStyles.tsx +8 -1
- package/types/helpers/getSplitStyles.d.ts.map +1 -1
|
@@ -141,8 +141,8 @@ const getStaticCSS = (themeConfig, separator, withThemes, state) => {
|
|
|
141
141
|
@scope (.is_Text) to (.is_View) { :where(.is_Text) { white-space: inherit; word-wrap: inherit; } }
|
|
142
142
|
._dsp_contents {display:contents;}
|
|
143
143
|
._no_backdrop::backdrop {display: none;}
|
|
144
|
-
:
|
|
145
|
-
:
|
|
144
|
+
:where(._pe-boxonly)>* {pointer-events:none;}
|
|
145
|
+
:where(._pe-boxnone)>* {pointer-events:auto;}
|
|
146
146
|
._hsb-x::-webkit-scrollbar:horizontal { display: none !important; }
|
|
147
147
|
._hsb-y::-webkit-scrollbar:vertical { display: none !important; }
|
|
148
148
|
._hsb-x { scrollbar-width: none !important; }
|
|
@@ -241,7 +241,7 @@ function createAtomicRules(identifier, property, value, condition = "", wrappers
|
|
|
241
241
|
if (direct) {
|
|
242
242
|
const subject = value === "none" || value === "box-none" ? "none" : "auto";
|
|
243
243
|
const children = value === "none" || value === "box-only" ? "none" : "auto";
|
|
244
|
-
rules.push(`${selector}{pointer-events:${subject}}`,
|
|
244
|
+
rules.push(`${selector}{pointer-events:${subject}}`, `:where(${selector})>*{pointer-events:${children}}`);
|
|
245
245
|
break;
|
|
246
246
|
}
|
|
247
247
|
let finalValue = value;
|
|
@@ -1330,7 +1330,7 @@ function configuredValue(state, property, raw, embedded = false) {
|
|
|
1330
1330
|
}
|
|
1331
1331
|
if (process.env.NODE_ENV === "development") {
|
|
1332
1332
|
const category = grammar.tokenCategory(property) || grammar.tokenCategory(state.conf.shorthands[property] || property);
|
|
1333
|
-
if (category && category !== "color" && state.conf.tokensParsed.color?.[name]) (0, import_warnOnce.warnOnce)(`"${name}" contributes to "color", not "${property}"`);
|
|
1333
|
+
if (category && category !== "color" && category !== "boxShadow" && category !== "textShadow" && state.conf.tokensParsed.color?.[name]) (0, import_warnOnce.warnOnce)(`"${name}" contributes to "color", not "${property}"`);
|
|
1334
1334
|
if (!value && !fontProperty) {
|
|
1335
1335
|
if (name.charCodeAt(0) === 36 || raw.charCodeAt(0) === 36) {
|
|
1336
1336
|
const suggested = name.charCodeAt(0) === 36 ? name.slice(1) : raw.slice(1);
|
|
@@ -1352,7 +1352,7 @@ function configuredValue(state, property, raw) {
|
|
|
1352
1352
|
if (process.env.NODE_ENV === "development") {
|
|
1353
1353
|
var _state_conf_tokensParsed_color1;
|
|
1354
1354
|
var category1 = grammar.tokenCategory(property) || grammar.tokenCategory(state.conf.shorthands[property] || property);
|
|
1355
|
-
if (category1 && category1 !== "color" && ((_state_conf_tokensParsed_color1 = state.conf.tokensParsed.color) === null || _state_conf_tokensParsed_color1 === void 0 ? void 0 : _state_conf_tokensParsed_color1[name])) (0, import_warnOnce.warnOnce)(`"${name}" contributes to "color", not "${property}"`);
|
|
1355
|
+
if (category1 && category1 !== "color" && category1 !== "boxShadow" && category1 !== "textShadow" && ((_state_conf_tokensParsed_color1 = state.conf.tokensParsed.color) === null || _state_conf_tokensParsed_color1 === void 0 ? void 0 : _state_conf_tokensParsed_color1[name])) (0, import_warnOnce.warnOnce)(`"${name}" contributes to "color", not "${property}"`);
|
|
1356
1356
|
if (!value && !fontProperty) {
|
|
1357
1357
|
if (name.charCodeAt(0) === 36 || raw.charCodeAt(0) === 36) {
|
|
1358
1358
|
var suggested = name.charCodeAt(0) === 36 ? name.slice(1) : raw.slice(1);
|
|
@@ -1352,7 +1352,7 @@ function configuredValue(state, property, raw) {
|
|
|
1352
1352
|
if (process.env.NODE_ENV === "development") {
|
|
1353
1353
|
var _state_conf_tokensParsed_color1;
|
|
1354
1354
|
var category1 = grammar.tokenCategory(property) || grammar.tokenCategory(state.conf.shorthands[property] || property);
|
|
1355
|
-
if (category1 && category1 !== "color" && ((_state_conf_tokensParsed_color1 = state.conf.tokensParsed.color) === null || _state_conf_tokensParsed_color1 === void 0 ? void 0 : _state_conf_tokensParsed_color1[name])) (0, import_warnOnce.warnOnce)(`"${name}" contributes to "color", not "${property}"`);
|
|
1355
|
+
if (category1 && category1 !== "color" && category1 !== "boxShadow" && category1 !== "textShadow" && ((_state_conf_tokensParsed_color1 = state.conf.tokensParsed.color) === null || _state_conf_tokensParsed_color1 === void 0 ? void 0 : _state_conf_tokensParsed_color1[name])) (0, import_warnOnce.warnOnce)(`"${name}" contributes to "color", not "${property}"`);
|
|
1356
1356
|
if (!value && !fontProperty) {
|
|
1357
1357
|
if (name.charCodeAt(0) === 36 || raw.charCodeAt(0) === 36) {
|
|
1358
1358
|
var suggested = name.charCodeAt(0) === 36 ? name.slice(1) : raw.slice(1);
|