@yahoo/uds-create-config 5.80.1 → 5.81.0

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.
Files changed (34) hide show
  1. package/dist/capture/capture-to-spec.js +119 -24
  2. package/dist/capture/class-grammar.d.ts +3 -0
  3. package/dist/capture/class-grammar.js +4 -0
  4. package/dist/capture/node-ops.js +1 -1
  5. package/dist/configs/react-native-system.d.ts +25 -25
  6. package/dist/entities/native/NativeModifier.d.ts +2 -2
  7. package/dist/entities/native/NativeStyleProperty.d.ts +48 -48
  8. package/dist/entities/native/NativeToken.js +1 -1
  9. package/dist/entities/system/Component.js +1 -1
  10. package/dist/entities/system/Modifier.d.ts +3 -3
  11. package/dist/entities/system/Motion.d.ts +129 -129
  12. package/dist/entities/system/Motion.js +1 -1
  13. package/dist/entities/system/Source.js +1 -1
  14. package/dist/entities/system/StyleProperty.d.ts +1 -1
  15. package/dist/entities/system/StyleProperty.js +1 -1
  16. package/dist/entities/system/Token.js +1 -1
  17. package/dist/entities/system/component-module.js +1 -1
  18. package/dist/entities/system/css-motion-reach.js +1 -1
  19. package/dist/entities/system/linked-style-values.js +1 -1
  20. package/dist/entities/system/linked-token-values.js +1 -1
  21. package/dist/entities/system/motion-convert.js +1 -1
  22. package/dist/entities/system/motion-variants.js +1 -1
  23. package/dist/entities/system/reanimated-motion.d.ts +118 -118
  24. package/dist/entities/system/style-bag.js +2 -2
  25. package/dist/framework/Config.js +1 -1
  26. package/dist/framework/default-conditions.js +1 -1
  27. package/dist/framework/schemas.js +1 -1
  28. package/dist/framework/source-integrity.js +1 -1
  29. package/dist/index.js +2 -2
  30. package/dist/lint/context.js +1 -1
  31. package/dist/migrations/2.0.0/v1-artifact.js +1 -1
  32. package/dist/renderer/wrappers/html-aliases.js +8 -0
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import { isRef, kindOf, pathOf } from "../framework/utils/refs.js";
2
+ import { kebabCase } from "../css/values.js";
2
3
  import { StyleProperty } from "../entities/system/StyleProperty.js";
3
4
  import { LAYER_PROPS, authoredValue, glyphComponentOf } from "../framework/projections.js";
4
5
  import { intoName } from "../framework/prop-surface.js";
@@ -58,10 +59,10 @@ function frameUnits(value, width, height) {
58
59
  return `${Number.isInteger(px) ? px : px.toFixed(2)}px`;
59
60
  });
60
61
  }
61
- /** Runtime channels and DOM plumbing a stamp carries that a spec never authors. */
62
+ /** Runtime channels and DOM plumbing a stamp carries that a spec never authors. The call site's
63
+ * `style` is not among them: it is the one inline style that is the author's own. */
62
64
  const SKIP_STAMPED = new Set([
63
65
  "as",
64
- "style",
65
66
  "key",
66
67
  "ref",
67
68
  "tabIndex",
@@ -312,7 +313,7 @@ var Converter = class {
312
313
  if (tag === "img" && !attrs.src) return [];
313
314
  const children = VOID_TAGS.has(tag) ? [] : convertKids();
314
315
  const text = children.length === 0 ? plainText(el) : "";
315
- if (children.length === 0 && !text && !VOID_TAGS.has(tag) && !paints && !el.hasAttribute(EMBED_SPACE_ATTR)) return [];
316
+ if (children.length === 0 && !text && !VOID_TAGS.has(tag) && !paints && !sizesItself(el) && !el.hasAttribute(EMBED_SPACE_ATTR)) return [];
316
317
  if (!(className !== "" || Object.keys(style).length > 0 || Object.keys(attrs).length > 0) && GROUPING_TAGS.has(tag)) {
317
318
  if (text) return this.plainTextRun(text);
318
319
  return children;
@@ -564,12 +565,12 @@ var Converter = class {
564
565
  /**
565
566
  * An unmarked element with an inline style, which is what the page drew it with, as the canvas's
566
567
  * frame component carrying that style. One with nothing inline only groups its children and is
567
- * folded away, and an empty one that paints nothing of its own (a portal's container) places
568
- * nothing.
568
+ * folded away, and an empty one that neither paints nor sizes itself (a portal's container)
569
+ * places nothing. An empty one with a size holds that space, as a spacer or a reserved slot does.
569
570
  */
570
571
  frame(el) {
571
572
  const children = this.convertInside(el);
572
- if (children.length === 0 && !paintsItself(el)) return [];
573
+ if (children.length === 0 && !paintsItself(el) && !sizesItself(el)) return [];
573
574
  const role = canvasRole(this.options.config, "frame");
574
575
  const grammar = role ? this.grammar.component(role.component) : void 0;
575
576
  if (!role || !grammar) return children;
@@ -723,26 +724,31 @@ var Converter = class {
723
724
  looseContent({ el, claimed, takesGlyphs, takesFields, takesText }) {
724
725
  const out = [];
725
726
  const runs = /* @__PURE__ */ new Set();
726
- const walk = (node) => {
727
+ const own = el.getAttribute("data-uds-component");
728
+ const walk = (node, inOwn) => {
727
729
  for (let i = 0; i < node.childNodes.length; i += 1) {
728
730
  if (this.childCap > 0 && out.length >= this.childCap) return;
729
731
  const child = node.childNodes[i];
730
732
  if (!isElement(child)) {
731
733
  const text = (child.textContent ?? "").replace(/\s+/g, " ");
732
- if (takesText && text.trim()) for (const key of this.textRun(text)) {
734
+ if (takesText && !inOwn && text.trim()) for (const key of this.textRun(text)) {
733
735
  runs.add(key);
734
736
  out.push(key);
735
737
  }
736
738
  continue;
737
739
  }
738
740
  if (!visible(child) || claimed.has(child)) continue;
739
- if (child.hasAttribute("data-uds-slot")) continue;
741
+ const nestedRoot = child.hasAttribute("data-uds-component") && child.getAttribute("data-uds-layer") === "root";
742
+ if (child.hasAttribute("data-uds-slot") && !nestedRoot) continue;
743
+ const within = inOwn || ownLayer(child, own);
740
744
  const tag = child.tagName.toLowerCase();
741
- if (child.hasAttribute("data-uds-component") && child.getAttribute("data-uds-layer") === "root") {
745
+ if (nestedRoot) {
746
+ if (inOwn && this.glyphDrawers.has(child.getAttribute("data-uds-component") ?? "")) continue;
742
747
  const keys = this.convert(child);
743
748
  if (takesText) for (const key of keys) this.flowInline(key, child);
744
749
  out.push(...keys);
745
- } else if (tag === "svg") {
750
+ } else if (within) walk(child, true);
751
+ else if (tag === "svg") {
746
752
  if (takesGlyphs) out.push(...this.convert(child));
747
753
  } else if (isImage(child)) out.push(...this.image(child));
748
754
  else if (isField(child)) {
@@ -750,13 +756,13 @@ var Converter = class {
750
756
  } else if (framesItself(child)) out.push(...this.frame(child));
751
757
  else {
752
758
  const before = out.length;
753
- walk(child);
759
+ walk(child, false);
754
760
  const folded = this.pinFolded(child, out.slice(before));
755
761
  out.splice(before, out.length - before, ...folded);
756
762
  }
757
763
  }
758
764
  };
759
- walk(el);
765
+ walk(el, false);
760
766
  if (out.every((key) => runs.has(key))) {
761
767
  for (const key of runs) delete this.elements[key];
762
768
  return [];
@@ -878,7 +884,15 @@ var Converter = class {
878
884
  const grammar = this.grammar.component(path);
879
885
  const props = {};
880
886
  const stamped = stampedProps(el);
881
- if (grammar) this.propsFromClasses(el, grammar, props);
887
+ const layerProps = stampedLayerProps({
888
+ el,
889
+ layers: this.layerNames(path)
890
+ });
891
+ const authored = el.hasAttribute("data-uds-props") ? {
892
+ stamped,
893
+ rootStyle: layerProps?.root?.style
894
+ } : void 0;
895
+ if (grammar && !authored) this.propsFromClasses(el, grammar, props);
882
896
  if (grammar) for (const [prop, raw] of Object.entries(grammar.declared)) {
883
897
  if (stamped[prop] !== void 0) continue;
884
898
  const declared = raw;
@@ -887,12 +901,10 @@ var Converter = class {
887
901
  if (value) props[prop] = value;
888
902
  }
889
903
  Object.assign(props, stamped);
890
- if (grammar) this.propsFromInlineStyle(el, grammar, props, path);
891
- if (grammar) this.propsFromComputed(el, grammar, props, path);
892
- const layerProps = stampedLayerProps({
893
- el,
894
- layers: this.layerNames(path)
895
- });
904
+ if (grammar) {
905
+ this.propsFromInlineStyle(el, grammar, props, path, authored);
906
+ this.propsFromComputed(el, grammar, props, path, authored);
907
+ }
896
908
  if (layerProps) props[LAYER_PROPS] = layerProps;
897
909
  if (props.position === "fixed") props.position = "absolute";
898
910
  const renders = this.options.icons?.renderers.has(path) ?? false;
@@ -1063,8 +1075,38 @@ var Converter = class {
1063
1075
  * an off-scale `[value]` only on a property that takes one. Rendering plumbing (box sizing,
1064
1076
  * transitions, browser defaults) is not a prop and is skipped.
1065
1077
  */
1066
- propsFromInlineStyle(el, grammar, props, path) {
1067
- this.propsFromDeclarations(inlineDeclarations(el), grammar, props, path === void 0 ? void 0 : this.ruledProperties(path));
1078
+ propsFromInlineStyle(el, grammar, props, path, authored) {
1079
+ let declarations = inlineDeclarations(el);
1080
+ if (authored) declarations = declarations.filter(([property, value]) => !this.saidByCallSite({
1081
+ property,
1082
+ value,
1083
+ grammar,
1084
+ authored
1085
+ }));
1086
+ this.propsFromDeclarations(declarations, grammar, props, path === void 0 ? void 0 : this.ruledProperties(path));
1087
+ }
1088
+ /**
1089
+ * Whether an inline declaration on a stamped root is the call site's own word: a property its
1090
+ * `style` (or its root layer's) writes, or a style prop's value as the runtime painted it inline.
1091
+ * A stamped prop painted as a different value is not: the page changed it after the call.
1092
+ */
1093
+ saidByCallSite({ property, value, grammar, authored }) {
1094
+ if (authoredStyleKeys(authored).some((key) => coversProperty(key, property))) return true;
1095
+ const painted = normalizeCssValue(value);
1096
+ for (const option of this.grammar.stylePropsFor(property)) {
1097
+ const prop = grammar.propForStyleProperty.get(option.path);
1098
+ if (!prop) continue;
1099
+ const leaf = authored.stamped[prop];
1100
+ if (leaf === void 0 || leaf === null || typeof leaf === "object") continue;
1101
+ const spellings = option.spellingsOf(leaf === true ? "" : String(leaf));
1102
+ const css = option.negates ? negated(painted) : painted;
1103
+ if (css === void 0) continue;
1104
+ if (equivalents({
1105
+ property,
1106
+ value: css
1107
+ }).some((c) => spellings.includes(c))) return true;
1108
+ }
1109
+ return false;
1068
1110
  }
1069
1111
  /**
1070
1112
  * The styles the page's own classes gave a component's root, from what the browser computed, for
@@ -1072,10 +1114,14 @@ var Converter = class {
1072
1114
  * own, while the width and flex share an app's Tailwind gave it are the page's, and no prop said
1073
1115
  * them. A property a rule, a default or a prop already read sets is left to that.
1074
1116
  */
1075
- propsFromComputed(el, grammar, props, path) {
1117
+ propsFromComputed(el, grammar, props, path, authored) {
1076
1118
  const computed = el.getAttribute(COMPUTED_STYLE_ATTR);
1077
1119
  if (!computed) return;
1078
1120
  const own = new Set(this.ruledProperties(path));
1121
+ for (const key of authoredStyleKeys(authored)) {
1122
+ for (const property of longhandsOf(key)) own.add(property);
1123
+ own.add(key);
1124
+ }
1079
1125
  const { defaultProps = {} } = Component.get(this.options.config, path) ?? {};
1080
1126
  const named = new Set(Object.keys(props));
1081
1127
  for (const [stylePath, prop] of grammar.propForStyleProperty) {
@@ -1087,6 +1133,10 @@ var Converter = class {
1087
1133
  for (const declaration of declarationsOf(computed)) {
1088
1134
  const [property, value] = declaration;
1089
1135
  if (own.has(property) || own.has(LOGICAL_SIDES[property] ?? property)) continue;
1136
+ if (CSS_INITIAL[property]?.includes(value)) {
1137
+ const prop = this.grammar.stylePropsFor(property).map((option) => grammar.propForStyleProperty.get(option.path)).find((found) => found !== void 0);
1138
+ if (prop === void 0 || defaultProps[prop] === void 0) continue;
1139
+ }
1090
1140
  const before = Object.keys(fill).length;
1091
1141
  this.propsFromDeclarations([declaration], grammar, fill);
1092
1142
  if (Object.keys(fill).length === before && COMPONENT_INLINE_LAYOUT.has(property)) {
@@ -1114,7 +1164,7 @@ var Converter = class {
1114
1164
  const rules = Object.values(Component.get(this.options.config, path)?.styles ?? {});
1115
1165
  for (const rule of rules) for (const prop of Object.keys(rule.layers?.root ?? {})) {
1116
1166
  if (prop.startsWith("_")) continue;
1117
- for (const property of StyleProperty.get(this.options.config, prop)?.properties ?? []) out.add(property);
1167
+ for (const property of StyleProperty.get(this.options.config, prop)?.properties ?? []) for (const each of longhandsOf(property)) out.add(each);
1118
1168
  }
1119
1169
  this.ruled.set(path, out);
1120
1170
  return out;
@@ -1296,6 +1346,12 @@ function longhandsOf(property) {
1296
1346
  }
1297
1347
  switch (property) {
1298
1348
  case "inset": return [property, ...SIDES];
1349
+ case "flex": return [
1350
+ property,
1351
+ "flex-grow",
1352
+ "flex-shrink",
1353
+ "flex-basis"
1354
+ ];
1299
1355
  case "gap": return [
1300
1356
  property,
1301
1357
  "row-gap",
@@ -1363,6 +1419,16 @@ function svgAttributeName(name) {
1363
1419
  if (name === "xmlns" || name === "xmlns:xlink") return name === "xmlns" ? "xmlns" : "xmlnsXlink";
1364
1420
  return name.replace(/[-:]([a-z])/g, (_, letter) => letter.toUpperCase());
1365
1421
  }
1422
+ /** The values a layout property has when nothing set it, as a browser computes them. */
1423
+ const CSS_INITIAL = {
1424
+ "flex-direction": ["row"],
1425
+ "flex-wrap": ["nowrap"],
1426
+ "align-items": ["normal", "stretch"],
1427
+ "justify-content": ["normal", "flex-start"],
1428
+ "flex-grow": ["0"],
1429
+ "flex-shrink": ["1"],
1430
+ "flex-basis": ["auto"]
1431
+ };
1366
1432
  /** The layout a component's root may need inline when none of its props can say it. */
1367
1433
  const COMPONENT_INLINE_LAYOUT = new Set([
1368
1434
  "grid-template-columns",
@@ -1513,6 +1579,31 @@ const NOTHING = new Set([
1513
1579
  "0px",
1514
1580
  "initial"
1515
1581
  ]);
1582
+ const SIZING_PROPERTY = new Set([
1583
+ "width",
1584
+ "height",
1585
+ "min-width",
1586
+ "min-height",
1587
+ "flex-basis"
1588
+ ]);
1589
+ /** Whether an element's inline style gives it a size of its own, so it holds space while empty. */
1590
+ function sizesItself(el) {
1591
+ return inlineDeclarations(el).some(([property, value]) => {
1592
+ const size = value.trim().toLowerCase();
1593
+ return SIZING_PROPERTY.has(property) && !NOTHING.has(size) && size !== "auto";
1594
+ });
1595
+ }
1596
+ /** The CSS properties a stamped root's `style` and root layer `style` write, as the page spells them. */
1597
+ function authoredStyleKeys(authored) {
1598
+ if (!authored) return [];
1599
+ return [authored.stamped.style, authored.rootStyle].flatMap((style) => style && typeof style === "object" ? Object.keys(style).map(kebabCase) : []);
1600
+ }
1601
+ /** Whether a declaration of `key` (a shorthand or the property itself) writes `property`. */
1602
+ function coversProperty(key, property) {
1603
+ if (key === property || LOGICAL_SIDES[property] === key) return true;
1604
+ if (longhandsOf(key).includes(property)) return true;
1605
+ return property.startsWith(`${key}-`);
1606
+ }
1516
1607
  /** Whether an element's inline style draws something of its own: a fill, a border or a shadow. */
1517
1608
  function paintsItself(el) {
1518
1609
  return inlineDeclarations(el).some(([property, value]) => {
@@ -1603,6 +1694,10 @@ function slotNames(layer) {
1603
1694
  function slotLayerNamed(layer, slot) {
1604
1695
  return asArray(layer.querySelectorAll("[data-uds-slot]")).find((candidate) => slotNames(candidate).includes(slot) && candidate.parentElement?.closest("[data-uds-slot]") === layer);
1605
1696
  }
1697
+ /** Whether `node` is a layer other than the root of the component `host` names. */
1698
+ function ownLayer(node, host) {
1699
+ return host !== null && node.getAttribute("data-uds-component") === host && node.getAttribute("data-uds-layer") !== "root";
1700
+ }
1606
1701
  function nearestRoot(el) {
1607
1702
  return el.parentElement?.closest(ROOT_LAYER) ?? null;
1608
1703
  }
@@ -49,6 +49,9 @@ interface CssPropertyMatch {
49
49
  readonly negates: boolean;
50
50
  /** The leaf whose value is this CSS value, as `var(--…)` or as the literal it resolves to. */
51
51
  leafFor(cssValue: string): string | undefined;
52
+ /** The CSS a leaf paints as, normalized: a token's `var()` and its literal, or a bracket value's
53
+ * own text. Empty for a leaf the property does not have. */
54
+ spellingsOf(leaf: string): readonly string[];
52
55
  /** The leaf that fills the container (`100%`), which is what a viewport unit means inside a frame. */
53
56
  readonly fullLeaf: string | undefined;
54
57
  }
@@ -83,6 +83,10 @@ function classGrammar(config) {
83
83
  const wanted = normalizeCssValue(cssValue);
84
84
  for (const [leaf, spellings] of valuesOf(path)) if (spellings.includes(wanted)) return leaf;
85
85
  },
86
+ spellingsOf(leaf) {
87
+ if (/^\[.*\]$/.test(leaf)) return [normalizeCssValue(leaf.slice(1, -1).replaceAll("_", " "))];
88
+ return valuesOf(path).get(leaf) ?? [];
89
+ },
86
90
  get fullLeaf() {
87
91
  for (const [leaf, spellings] of valuesOf(path)) if (spellings.includes("100%")) return leaf;
88
92
  }
@@ -122,7 +122,7 @@ const captureNodeOps = { "from-html": {
122
122
  input: fromHtmlInput,
123
123
  readOnly: false,
124
124
  label: "Artboard from a captured page",
125
- description: "Turn a captured page into this node's content: each rendered component becomes an element with the props its classes, inline style and stamps say, its layers become slots, and the whole becomes the node's rows. `tree` is the page parsed into the captured-tree shape (a host that accepts raw HTML parses it first). The node is placed on `page` with `label`; a path that already exists is refused.",
125
+ description: "Turn a captured page into this node's content: each rendered component becomes an element with the props its call site passed where the page stamps them, else the props its classes and inline style say; its layers become slots, and the whole becomes the node's rows. `tree` is the page parsed into the captured-tree shape (a host that accepts raw HTML parses it first). The node is placed on `page` with `label`; a path that already exists is refused.",
126
126
  scope: "item",
127
127
  approval: "destructive",
128
128
  title: (entity) => `Fill ${entity} from a captured page`,
@@ -224,7 +224,6 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
224
224
  turn: "turn";
225
225
  s: "s";
226
226
  ms: "ms";
227
- fr: "fr";
228
227
  unitless: "unitless";
229
228
  lh: "lh";
230
229
  rlh: "rlh";
@@ -232,6 +231,7 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
232
231
  cqh: "cqh";
233
232
  cqi: "cqi";
234
233
  cqb: "cqb";
234
+ fr: "fr";
235
235
  }>]>>;
236
236
  negates: _$zod.ZodDefault<_$zod.ZodBoolean>;
237
237
  selector: _$zod.ZodOptional<_$zod.ZodString>;
@@ -240,36 +240,13 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
240
240
  __ref: _$zod.ZodString;
241
241
  }, _$zod_v4_core0.$strip>]>>>;
242
242
  opacityOf: _$zod.ZodOptional<_$zod.ZodLazy<_$zod.ZodType<Ref, unknown, _$zod_v4_core0.$ZodTypeInternals<Ref, unknown>>>>;
243
- }, "values" | "alpha" | "properties" | "declarations" | "classPrefix" | "selector"> & {
243
+ }, "values" | "alpha" | "properties" | "selector" | "classPrefix" | "declarations"> & {
244
244
  properties: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodPipe<_$zod.ZodString, _$zod.ZodTransform<string, string>>, _$zod.ZodEnum<{
245
245
  transform: "transform";
246
246
  filter: "filter";
247
247
  color: "color";
248
248
  inset: "inset";
249
249
  position: "position";
250
- fontFamily: "fontFamily";
251
- end: "end";
252
- start: "start";
253
- bottom: "bottom";
254
- left: "left";
255
- right: "right";
256
- top: "top";
257
- flex: "flex";
258
- cursor: "cursor";
259
- direction: "direction";
260
- display: "display";
261
- gap: "gap";
262
- height: "height";
263
- isolation: "isolation";
264
- margin: "margin";
265
- opacity: "opacity";
266
- overflow: "overflow";
267
- padding: "padding";
268
- width: "width";
269
- flexGrow: "flexGrow";
270
- flexShrink: "flexShrink";
271
- flexBasis: "flexBasis";
272
- lineHeight: "lineHeight";
273
250
  alignContent: "alignContent";
274
251
  alignItems: "alignItems";
275
252
  alignSelf: "alignSelf";
@@ -308,20 +285,32 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
308
285
  borderTopStartRadius: "borderTopStartRadius";
309
286
  borderTopWidth: "borderTopWidth";
310
287
  borderWidth: "borderWidth";
288
+ bottom: "bottom";
311
289
  boxShadow: "boxShadow";
312
290
  boxSizing: "boxSizing";
313
291
  columnGap: "columnGap";
292
+ cursor: "cursor";
293
+ direction: "direction";
294
+ display: "display";
314
295
  elevation: "elevation";
296
+ end: "end";
315
297
  experimental_backgroundImage: "experimental_backgroundImage";
316
298
  experimental_backgroundPosition: "experimental_backgroundPosition";
317
299
  experimental_backgroundRepeat: "experimental_backgroundRepeat";
318
300
  experimental_backgroundSize: "experimental_backgroundSize";
301
+ flex: "flex";
302
+ flexBasis: "flexBasis";
319
303
  flexDirection: "flexDirection";
304
+ flexGrow: "flexGrow";
305
+ flexShrink: "flexShrink";
320
306
  flexWrap: "flexWrap";
307
+ fontFamily: "fontFamily";
321
308
  fontSize: "fontSize";
322
309
  fontStyle: "fontStyle";
323
310
  fontVariant: "fontVariant";
324
311
  fontWeight: "fontWeight";
312
+ gap: "gap";
313
+ height: "height";
325
314
  includeFontPadding: "includeFontPadding";
326
315
  insetBlock: "insetBlock";
327
316
  insetBlockEnd: "insetBlockEnd";
@@ -329,8 +318,12 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
329
318
  insetInline: "insetInline";
330
319
  insetInlineEnd: "insetInlineEnd";
331
320
  insetInlineStart: "insetInlineStart";
321
+ isolation: "isolation";
332
322
  justifyContent: "justifyContent";
323
+ left: "left";
333
324
  letterSpacing: "letterSpacing";
325
+ lineHeight: "lineHeight";
326
+ margin: "margin";
334
327
  marginBlock: "marginBlock";
335
328
  marginBlockEnd: "marginBlockEnd";
336
329
  marginBlockStart: "marginBlockStart";
@@ -351,11 +344,14 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
351
344
  minWidth: "minWidth";
352
345
  mixBlendMode: "mixBlendMode";
353
346
  objectFit: "objectFit";
347
+ opacity: "opacity";
354
348
  outlineColor: "outlineColor";
355
349
  outlineOffset: "outlineOffset";
356
350
  outlineStyle: "outlineStyle";
357
351
  outlineWidth: "outlineWidth";
352
+ overflow: "overflow";
358
353
  overlayColor: "overlayColor";
354
+ padding: "padding";
359
355
  paddingBlock: "paddingBlock";
360
356
  paddingBlockEnd: "paddingBlockEnd";
361
357
  paddingBlockStart: "paddingBlockStart";
@@ -372,6 +368,7 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
372
368
  paddingVertical: "paddingVertical";
373
369
  pointerEvents: "pointerEvents";
374
370
  resizeMode: "resizeMode";
371
+ right: "right";
375
372
  rotation: "rotation";
376
373
  rowGap: "rowGap";
377
374
  scaleX: "scaleX";
@@ -380,6 +377,7 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
380
377
  shadowOffset: "shadowOffset";
381
378
  shadowOpacity: "shadowOpacity";
382
379
  shadowRadius: "shadowRadius";
380
+ start: "start";
383
381
  textAlign: "textAlign";
384
382
  textAlignVertical: "textAlignVertical";
385
383
  textDecorationColor: "textDecorationColor";
@@ -390,12 +388,14 @@ declare const ReactNativeSystemDefinition: ConfigClass<{
390
388
  textShadowRadius: "textShadowRadius";
391
389
  textTransform: "textTransform";
392
390
  tintColor: "tintColor";
391
+ top: "top";
393
392
  transformMatrix: "transformMatrix";
394
393
  transformOrigin: "transformOrigin";
395
394
  translateX: "translateX";
396
395
  translateY: "translateY";
397
396
  userSelect: "userSelect";
398
397
  verticalAlign: "verticalAlign";
398
+ width: "width";
399
399
  writingDirection: "writingDirection";
400
400
  zIndex: "zIndex";
401
401
  }>>>;
@@ -9,14 +9,14 @@ declare const NativeModifierDefinition: EntityClass<z.ZodObject<{
9
9
  type: z.ZodEnum<{
10
10
  appearance: "appearance";
11
11
  "min-width": "min-width";
12
- state: "state";
13
12
  "operating-system": "operating-system";
13
+ state: "state";
14
14
  }>;
15
15
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
16
  }, z.core.$strip>, z.ZodObject<{
17
17
  type: z.ZodOptional<z.ZodEnum<{
18
- mode: "mode";
19
18
  state: "state";
19
+ mode: "mode";
20
20
  }>>;
21
21
  default: z.ZodOptional<z.ZodObject<{
22
22
  __ref: z.ZodString;