@godxjp/ui 28.7.0 → 28.8.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.
- package/dist/components/data-display/index.d.ts +2 -0
- package/dist/components/data-display/index.js +2 -0
- package/dist/components/data-display/marquee.d.ts +16 -0
- package/dist/components/data-display/marquee.js +155 -0
- package/dist/components/general/reveal.d.ts +23 -2
- package/dist/components/general/reveal.js +37 -7
- package/dist/components/general/typography.d.ts +4 -1
- package/dist/components/general/typography.js +14 -1
- package/dist/components/layout/affix.d.ts +86 -0
- package/dist/components/layout/affix.js +187 -0
- package/dist/components/layout/index.d.ts +4 -0
- package/dist/components/layout/index.js +4 -0
- package/dist/components/layout/legal-document-shell.js +4 -3
- package/dist/components/layout/masonry.d.ts +74 -0
- package/dist/components/layout/masonry.js +214 -0
- package/dist/components/layout/page-container.js +5 -20
- package/dist/components/navigation/anchor.d.ts +64 -0
- package/dist/components/navigation/anchor.js +284 -0
- package/dist/components/navigation/index.d.ts +4 -0
- package/dist/components/navigation/index.js +4 -0
- package/dist/components/navigation/mega-menu.d.ts +21 -0
- package/dist/components/navigation/mega-menu.js +526 -0
- package/dist/contracts/measurement.json +1 -1
- package/dist/i18n/messages/en.json +517 -0
- package/dist/i18n/messages/ja.json +513 -0
- package/dist/i18n/messages/vi.json +513 -0
- package/dist/lib/hooks.d.ts +68 -0
- package/dist/lib/hooks.js +52 -0
- package/dist/lib/platform.d.ts +14 -0
- package/dist/lib/platform.js +10 -1
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.js +3 -2
- package/dist/props/components/data-display.prop.d.ts +95 -1
- package/dist/props/components/general.prop.d.ts +47 -3
- package/dist/props/components/layout.prop.d.ts +194 -0
- package/dist/props/components/navigation.prop.d.ts +263 -0
- package/dist/props/registry.d.ts +359 -4
- package/dist/props/registry.js +472 -3
- package/dist/props/vocabulary/index.d.ts +1 -1
- package/dist/props/vocabulary/interaction.prop.d.ts +39 -2
- package/dist/styles/control.css +5 -6
- package/dist/styles/data-display-layout.css +2 -1
- package/dist/styles/density.css +4 -0
- package/dist/styles/layout.css +79 -0
- package/dist/styles/motion.css +121 -1
- package/dist/styles/navigation-layout.css +397 -1
- package/dist/styles/shell-layout.css +3 -0
- package/dist/styles/text-layout.css +52 -4
- package/dist/tokens/base.css +5 -0
- package/dist/tokens/components/affix.css +7 -0
- package/dist/tokens/components/anchor.css +17 -0
- package/dist/tokens/components/control.css +3 -3
- package/dist/tokens/components/form.css +1 -1
- package/dist/tokens/components/marquee.css +7 -0
- package/dist/tokens/components/masonry.css +6 -0
- package/dist/tokens/components/mega-menu.css +62 -0
- package/dist/tokens/components/shell.css +3 -0
- package/dist/tokens/foundation.css +11 -0
- package/dist/tokens/semantic/layout.css +7 -0
- package/docs/COMPOSITION-VS-COMPONENT.md +19 -1
- package/docs/DESIGN-AUTHORITY.md +99 -18
- package/docs/FRAME-COVERAGE-REPORT.md +7 -2
- package/docs/data-display/marquee.tsx +254 -0
- package/docs/foundation/_theme-editor-scope.ts +222 -0
- package/docs/foundation/density.tsx +12 -2
- package/docs/foundation/spacing.tsx +5 -0
- package/docs/foundation/theme-editor.tsx +645 -0
- package/docs/general/activity.tsx +65 -0
- package/docs/general/reveal.tsx +290 -22
- package/docs/general/typography.tsx +91 -1
- package/docs/layout/affix.tsx +209 -0
- package/docs/layout/masonry.tsx +291 -0
- package/docs/navigation/anchor.tsx +285 -0
- package/docs/navigation/mega-menu-panel.tsx +86 -0
- package/docs/navigation/mega-menu.tsx +254 -0
- package/docs/roadmap/website-components.md +779 -0
- package/docs/showcase/acme-website.tsx +75 -39
- package/docs/showcase/futurelastic-web.tsx +91 -49
- package/docs/showcase/marketing-page.tsx +885 -0
- package/docs/showcase/table-footer-totals.tsx +12 -2
- package/docs/showcase/theme-customization.tsx +1259 -0
- package/package.json +5 -3
- package/scripts/brand-accent.generated.mjs +27 -0
- package/scripts/ui-audit.mjs +66 -0
- package/scripts/visual-audit-rules.mjs +46 -2
package/dist/props/registry.d.ts
CHANGED
|
@@ -432,7 +432,7 @@ export declare const VOCABULARY_REGISTRY: {
|
|
|
432
432
|
readonly TextSizeProp: {
|
|
433
433
|
readonly file: "vocabulary/interaction.prop.ts";
|
|
434
434
|
readonly category: "interaction";
|
|
435
|
-
readonly description: "Text size —
|
|
435
|
+
readonly description: "Text size — ten type-scale steps shared by Text and Heading, never an arbitrary px: the golden-ratio UI ramp 2xs…2xl (≈11…22px) plus the display ramp 3xl…5xl (≈28/42/54px, derived from --font-size-display) that a marketing hero needs";
|
|
436
436
|
};
|
|
437
437
|
readonly IconSizeProp: {
|
|
438
438
|
readonly file: "vocabulary/interaction.prop.ts";
|
|
@@ -452,7 +452,7 @@ export declare const VOCABULARY_REGISTRY: {
|
|
|
452
452
|
readonly HeadingLevelProp: {
|
|
453
453
|
readonly file: "vocabulary/interaction.prop.ts";
|
|
454
454
|
readonly category: "interaction";
|
|
455
|
-
readonly description: "Heading level 1-4 —
|
|
455
|
+
readonly description: "Heading level 1-4 — the semantic element, and the --heading-h* size it takes unless `size` (TextSizeProp) overrides it";
|
|
456
456
|
};
|
|
457
457
|
readonly TextAlignProp: {
|
|
458
458
|
readonly file: "vocabulary/interaction.prop.ts";
|
|
@@ -564,6 +564,16 @@ export declare const VOCABULARY_REGISTRY: {
|
|
|
564
564
|
readonly category: "interaction";
|
|
565
565
|
readonly description: "Reveal entrance-stagger ordinal (0..6) — an index into the motion ladder, never a raw ms";
|
|
566
566
|
};
|
|
567
|
+
readonly RevealTriggerProp: {
|
|
568
|
+
readonly file: "vocabulary/interaction.prop.ts";
|
|
569
|
+
readonly category: "interaction";
|
|
570
|
+
readonly description: "What starts a Reveal entrance — mount (default, historical) | view (reaches the viewport)";
|
|
571
|
+
};
|
|
572
|
+
readonly InViewAmountProp: {
|
|
573
|
+
readonly file: "vocabulary/interaction.prop.ts";
|
|
574
|
+
readonly category: "interaction";
|
|
575
|
+
readonly description: "How much of an element must be visible to count as in view — some | all | a 0..1 ratio (Motion's useInView `amount`)";
|
|
576
|
+
};
|
|
567
577
|
readonly ActivityVariantProp: {
|
|
568
578
|
readonly file: "vocabulary/interaction.prop.ts";
|
|
569
579
|
readonly category: "interaction";
|
|
@@ -833,6 +843,109 @@ export declare const COMPONENT_PROP_REGISTRY: {
|
|
|
833
843
|
readonly file: "components/layout.prop.ts";
|
|
834
844
|
readonly vocabulary: readonly [];
|
|
835
845
|
};
|
|
846
|
+
readonly MasonryColumnsProp: {
|
|
847
|
+
readonly group: "layout";
|
|
848
|
+
readonly file: "components/layout.prop.ts";
|
|
849
|
+
readonly vocabulary: readonly ["BreakpointProp"];
|
|
850
|
+
};
|
|
851
|
+
readonly MasonryGapProp: {
|
|
852
|
+
readonly group: "layout";
|
|
853
|
+
readonly file: "components/layout.prop.ts";
|
|
854
|
+
readonly vocabulary: readonly ["GapProp"];
|
|
855
|
+
};
|
|
856
|
+
readonly MasonryItemProp: {
|
|
857
|
+
readonly group: "layout";
|
|
858
|
+
readonly file: "components/layout.prop.ts";
|
|
859
|
+
readonly vocabulary: readonly ["ChildrenProp", {
|
|
860
|
+
readonly field: "key";
|
|
861
|
+
readonly local: true;
|
|
862
|
+
readonly reason: "Ant Design `MasonryItem.key` — the tile's identity across re-orders and re-measures, a DATA field on the item descriptor, not React's reserved element key.";
|
|
863
|
+
}, {
|
|
864
|
+
readonly field: "column";
|
|
865
|
+
readonly local: true;
|
|
866
|
+
readonly reason: "Ant Design `MasonryItem.column` — pin to a 0-based column index instead of the shortest-column fill.";
|
|
867
|
+
}, {
|
|
868
|
+
readonly field: "height";
|
|
869
|
+
readonly local: true;
|
|
870
|
+
readonly reason: "Ant Design `MasonryItem.height` — a declared block size that replaces the measurement for this tile.";
|
|
871
|
+
}, {
|
|
872
|
+
readonly field: "data";
|
|
873
|
+
readonly local: true;
|
|
874
|
+
readonly reason: "Ant Design `MasonryItem.data` — arbitrary payload handed back to itemRender/onLayoutChange.";
|
|
875
|
+
}];
|
|
876
|
+
};
|
|
877
|
+
readonly MasonryLayoutEntryProp: {
|
|
878
|
+
readonly group: "layout";
|
|
879
|
+
readonly file: "components/layout.prop.ts";
|
|
880
|
+
readonly vocabulary: readonly [{
|
|
881
|
+
readonly field: "column";
|
|
882
|
+
readonly local: true;
|
|
883
|
+
readonly reason: "The 0-based column the item landed in — the whole payload of Ant Design `onLayoutChange`.";
|
|
884
|
+
}];
|
|
885
|
+
};
|
|
886
|
+
readonly MasonryProp: {
|
|
887
|
+
readonly group: "layout";
|
|
888
|
+
readonly file: "components/layout.prop.ts";
|
|
889
|
+
readonly vocabulary: readonly ["GapProp", "IdProp", "ClassNameProp", {
|
|
890
|
+
readonly field: "items";
|
|
891
|
+
readonly local: true;
|
|
892
|
+
readonly reason: "Ant Design `Masonry.items` — the tile descriptors, in reading order.";
|
|
893
|
+
}, {
|
|
894
|
+
readonly field: "itemRender";
|
|
895
|
+
readonly local: true;
|
|
896
|
+
readonly reason: "Ant Design `Masonry.itemRender` — renders a tile that carries no children.";
|
|
897
|
+
}, {
|
|
898
|
+
readonly field: "columns";
|
|
899
|
+
readonly local: true;
|
|
900
|
+
readonly reason: "Ant Design `Masonry.columns` — fixed count or a per-breakpoint map (MasonryColumnsProp).";
|
|
901
|
+
}, {
|
|
902
|
+
readonly field: "gutter";
|
|
903
|
+
readonly local: true;
|
|
904
|
+
readonly reason: "NOT a prop: typed `never` so antd's spelling of `gap` is a compile error that names the replacement instead of a silently-unspaced grid (docs/DESIGN-AUTHORITY.md).";
|
|
905
|
+
}, {
|
|
906
|
+
readonly field: "fresh";
|
|
907
|
+
readonly local: true;
|
|
908
|
+
readonly reason: "Ant Design `Masonry.fresh` — observe every tile's own size, not just the container's.";
|
|
909
|
+
}, {
|
|
910
|
+
readonly field: "onLayoutChange";
|
|
911
|
+
readonly local: true;
|
|
912
|
+
readonly reason: "Ant Design `Masonry.onLayoutChange` — reports column assignment; not a controlled-value callback, so it is not OnValueChangeProp.";
|
|
913
|
+
}];
|
|
914
|
+
};
|
|
915
|
+
readonly AffixTargetProp: {
|
|
916
|
+
readonly group: "layout";
|
|
917
|
+
readonly file: "components/layout.prop.ts";
|
|
918
|
+
readonly vocabulary: readonly [];
|
|
919
|
+
};
|
|
920
|
+
readonly AffixProp: {
|
|
921
|
+
readonly group: "layout";
|
|
922
|
+
readonly file: "components/layout.prop.ts";
|
|
923
|
+
readonly vocabulary: readonly ["ChildrenProp", "IdProp", "ClassNameProp", {
|
|
924
|
+
readonly field: "offsetBlockStart";
|
|
925
|
+
readonly local: true;
|
|
926
|
+
readonly reason: "Ant Design `Affix.offsetTop` on its LOGICAL axis — the pin distance from the scrollport's block-start edge. A length in pixels, backed by the `--affix-inset-block-start` token; no vocabulary type owns a per-instance pin offset.";
|
|
927
|
+
}, {
|
|
928
|
+
readonly field: "offsetBlockEnd";
|
|
929
|
+
readonly local: true;
|
|
930
|
+
readonly reason: "Ant Design `Affix.offsetBottom` on its LOGICAL axis. See `offsetBlockStart`.";
|
|
931
|
+
}, {
|
|
932
|
+
readonly field: "offsetTop";
|
|
933
|
+
readonly local: true;
|
|
934
|
+
readonly reason: "NOT a prop: typed `never` so antd's physical spelling is a compile error that names `offsetBlockStart` instead of a header that never pins (docs/DESIGN-AUTHORITY.md).";
|
|
935
|
+
}, {
|
|
936
|
+
readonly field: "offsetBottom";
|
|
937
|
+
readonly local: true;
|
|
938
|
+
readonly reason: "NOT a prop: typed `never` so antd's physical spelling is a compile error that names `offsetBlockEnd`.";
|
|
939
|
+
}, {
|
|
940
|
+
readonly field: "target";
|
|
941
|
+
readonly local: true;
|
|
942
|
+
readonly reason: "Ant Design `Affix.target` — the lazy scroll-box getter, the same shape `FloatButton.BackTop.target` already spells here.";
|
|
943
|
+
}, {
|
|
944
|
+
readonly field: "onChange";
|
|
945
|
+
readonly local: true;
|
|
946
|
+
readonly reason: "Ant Design `Affix.onChange` — an OBSERVATION of the pinned boolean, fired only on the transition. There is no pinned VALUE to control, so it is not the OnValueChangeProp half of a triad, and it is not OnChangeProp's DOM ChangeEvent either. `Attachments.onChange` and `ActionsFeedback.onChange` are the precedent.";
|
|
947
|
+
}];
|
|
948
|
+
};
|
|
836
949
|
readonly MasterDetailRailWidthProp: {
|
|
837
950
|
readonly group: "layout";
|
|
838
951
|
readonly file: "components/layout.prop.ts";
|
|
@@ -1232,10 +1345,22 @@ export declare const COMPONENT_PROP_REGISTRY: {
|
|
|
1232
1345
|
readonly RevealProp: {
|
|
1233
1346
|
readonly group: "general";
|
|
1234
1347
|
readonly file: "components/general.prop.ts";
|
|
1235
|
-
readonly vocabulary: readonly ["ChildrenProp", "RevealDelayProp", "AsChildProp", "ClassNameProp", {
|
|
1348
|
+
readonly vocabulary: readonly ["ChildrenProp", "RevealDelayProp", "RevealTriggerProp", "InViewAmountProp", "AsChildProp", "ClassNameProp", {
|
|
1236
1349
|
readonly field: "delay";
|
|
1237
1350
|
readonly local: true;
|
|
1238
1351
|
readonly reason: "Reveal stagger ordinal — RevealDelayProp vocabulary.";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly field: "on";
|
|
1354
|
+
readonly local: true;
|
|
1355
|
+
readonly reason: "Entrance trigger — RevealTriggerProp vocabulary (mount | view).";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly field: "once";
|
|
1358
|
+
readonly local: true;
|
|
1359
|
+
readonly reason: "Reveal-once latch for on='view' — Motion's useInView `once`, borrowed by name and type.";
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly field: "amount";
|
|
1362
|
+
readonly local: true;
|
|
1363
|
+
readonly reason: "Visibility threshold for on='view' — InViewAmountProp vocabulary.";
|
|
1239
1364
|
}];
|
|
1240
1365
|
};
|
|
1241
1366
|
readonly ActivityProp: {
|
|
@@ -1357,7 +1482,7 @@ export declare const COMPONENT_PROP_REGISTRY: {
|
|
|
1357
1482
|
readonly HeadingProp: {
|
|
1358
1483
|
readonly group: "general";
|
|
1359
1484
|
readonly file: "components/general.prop.ts";
|
|
1360
|
-
readonly vocabulary: readonly ["HeadingLevelProp", "TextToneProp", "TextAlignProp", "ClassNameProp"];
|
|
1485
|
+
readonly vocabulary: readonly ["HeadingLevelProp", "TextSizeProp", "TextToneProp", "TextAlignProp", "ClassNameProp"];
|
|
1361
1486
|
};
|
|
1362
1487
|
readonly TypographyProp: {
|
|
1363
1488
|
readonly group: "general";
|
|
@@ -1791,6 +1916,49 @@ export declare const COMPONENT_PROP_REGISTRY: {
|
|
|
1791
1916
|
readonly reason: "Row-local overflow resolution for the title/description column (truncate | wrap, #224).";
|
|
1792
1917
|
}];
|
|
1793
1918
|
};
|
|
1919
|
+
readonly MarqueeDirectionProp: {
|
|
1920
|
+
readonly group: "data-display";
|
|
1921
|
+
readonly file: "components/data-display.prop.ts";
|
|
1922
|
+
readonly vocabulary: readonly [{
|
|
1923
|
+
readonly field: "direction";
|
|
1924
|
+
readonly local: true;
|
|
1925
|
+
readonly reason: "LOGICAL travel direction (start | end) — the edge the track moves towards, so it flips with `dir` instead of naming a physical side the way the prior art's `left | right | up | down` does.";
|
|
1926
|
+
}];
|
|
1927
|
+
};
|
|
1928
|
+
readonly MarqueeSpeedProp: {
|
|
1929
|
+
readonly group: "data-display";
|
|
1930
|
+
readonly file: "components/data-display.prop.ts";
|
|
1931
|
+
readonly vocabulary: readonly [{
|
|
1932
|
+
readonly field: "speed";
|
|
1933
|
+
readonly local: true;
|
|
1934
|
+
readonly reason: "Pace ordinal (slow | base | fast) over the `--marquee-interval` motion token. Not SizeProp: it names a DURATION rung, not a control box, and `xs|sm|md|lg` would read as a size on something that has none.";
|
|
1935
|
+
}];
|
|
1936
|
+
};
|
|
1937
|
+
readonly MarqueeProp: {
|
|
1938
|
+
readonly group: "data-display";
|
|
1939
|
+
readonly file: "components/data-display.prop.ts";
|
|
1940
|
+
readonly vocabulary: readonly ["ChildrenProp", "GapProp", "LabelProp", "ClassNameProp", {
|
|
1941
|
+
readonly field: "play";
|
|
1942
|
+
readonly local: true;
|
|
1943
|
+
readonly reason: "Controlled motion state. The boolean triad spelled for this surface (play / defaultPlay / onPlayChange), the same shape `open`/`defaultOpen`/`onOpenChange` takes for an overlay — `value` would say nothing about what is being valued.";
|
|
1944
|
+
}, {
|
|
1945
|
+
readonly field: "defaultPlay";
|
|
1946
|
+
readonly local: true;
|
|
1947
|
+
readonly reason: "Uncontrolled member of the play triad.";
|
|
1948
|
+
}, {
|
|
1949
|
+
readonly field: "onPlayChange";
|
|
1950
|
+
readonly local: true;
|
|
1951
|
+
readonly reason: "Change member of the play triad; value-first, like every other On*Change here.";
|
|
1952
|
+
}, {
|
|
1953
|
+
readonly field: "pauseOnHover";
|
|
1954
|
+
readonly local: true;
|
|
1955
|
+
readonly reason: "Positive boolean, default false. An ADDITION to the pause control, never the mechanism — hover-only pause is the WCAG 2.2.2 failure (F16) the prior art ships.";
|
|
1956
|
+
}, {
|
|
1957
|
+
readonly field: "fade";
|
|
1958
|
+
readonly local: true;
|
|
1959
|
+
readonly reason: "Positive boolean, default false. Masks both edges over `--marquee-mask-width`; the prior art's `gradient`/`gradientColor`/`gradientWidth` trio is one boolean and one token here.";
|
|
1960
|
+
}];
|
|
1961
|
+
};
|
|
1794
1962
|
readonly CredentialRevealProp: {
|
|
1795
1963
|
readonly group: "data-display";
|
|
1796
1964
|
readonly file: "components/data-display.prop.ts";
|
|
@@ -3392,6 +3560,193 @@ export declare const COMPONENT_PROP_REGISTRY: {
|
|
|
3392
3560
|
readonly file: "components/navigation.prop.ts";
|
|
3393
3561
|
readonly vocabulary: readonly ["ActionsProp", "ValueProp", "DefaultValueProp", "OnValueChangeProp", "LabelProp", "IdProp", "ClassNameProp"];
|
|
3394
3562
|
};
|
|
3563
|
+
readonly MegaMenuTriggerActionProp: {
|
|
3564
|
+
readonly group: "navigation";
|
|
3565
|
+
readonly file: "components/navigation.prop.ts";
|
|
3566
|
+
readonly vocabulary: readonly [];
|
|
3567
|
+
};
|
|
3568
|
+
readonly MegaMenuLinkProp: {
|
|
3569
|
+
readonly group: "navigation";
|
|
3570
|
+
readonly file: "components/navigation.prop.ts";
|
|
3571
|
+
readonly vocabulary: readonly ["LabelProp", "IconProp", "DisabledProp", "DescriptionProp", {
|
|
3572
|
+
readonly field: "key";
|
|
3573
|
+
readonly local: true;
|
|
3574
|
+
readonly reason: "Ant Design MenuItemType.key — the row's identity, not a value axis. Kept as antd spells it so a consumer's existing `items` array transfers unchanged.";
|
|
3575
|
+
}, {
|
|
3576
|
+
readonly field: "href";
|
|
3577
|
+
readonly local: true;
|
|
3578
|
+
readonly reason: "The destination of a nav LINK. Sidebar/NavList already spell it `href` on their own row types; there is no vocabulary entry because no control-shaped component has a destination.";
|
|
3579
|
+
}];
|
|
3580
|
+
};
|
|
3581
|
+
readonly MegaMenuGroupProp: {
|
|
3582
|
+
readonly group: "navigation";
|
|
3583
|
+
readonly file: "components/navigation.prop.ts";
|
|
3584
|
+
readonly vocabulary: readonly ["LabelProp", "IconProp", "DescriptionProp", {
|
|
3585
|
+
readonly field: "key";
|
|
3586
|
+
readonly local: true;
|
|
3587
|
+
readonly reason: "Ant Design MenuItemGroupType identity — see MegaMenuLinkProp.key.";
|
|
3588
|
+
}, {
|
|
3589
|
+
readonly field: "links";
|
|
3590
|
+
readonly local: true;
|
|
3591
|
+
readonly reason: "Ant Design MenuItemGroupType.children, narrowed to leaves. Named for what it holds because a megamenu panel is exactly one level deep — `children` would imply the arbitrary nesting this deliberately does not have.";
|
|
3592
|
+
}];
|
|
3593
|
+
};
|
|
3594
|
+
readonly MegaMenuPanelProp: {
|
|
3595
|
+
readonly group: "navigation";
|
|
3596
|
+
readonly file: "components/navigation.prop.ts";
|
|
3597
|
+
readonly vocabulary: readonly [{
|
|
3598
|
+
readonly field: "groups";
|
|
3599
|
+
readonly local: true;
|
|
3600
|
+
readonly reason: 'The panel\'s columns — Ant Design SubMenuType.children restricted to `type: "group"` entries.';
|
|
3601
|
+
}, {
|
|
3602
|
+
readonly field: "footer";
|
|
3603
|
+
readonly local: true;
|
|
3604
|
+
readonly reason: "A full-width strip below the columns. Same word Card/Dialog use for the slot in that position; no vocabulary type exists for it.";
|
|
3605
|
+
}];
|
|
3606
|
+
};
|
|
3607
|
+
readonly MegaMenuItemProp: {
|
|
3608
|
+
readonly group: "navigation";
|
|
3609
|
+
readonly file: "components/navigation.prop.ts";
|
|
3610
|
+
readonly vocabulary: readonly ["LabelProp", "IconProp", "DisabledProp", {
|
|
3611
|
+
readonly field: "key";
|
|
3612
|
+
readonly local: true;
|
|
3613
|
+
readonly reason: "Ant Design MenuItemType/SubMenuType identity — see MegaMenuLinkProp.key.";
|
|
3614
|
+
}, {
|
|
3615
|
+
readonly field: "href";
|
|
3616
|
+
readonly local: true;
|
|
3617
|
+
readonly reason: "Destination of a top-level LINK — see MegaMenuLinkProp.href.";
|
|
3618
|
+
}, {
|
|
3619
|
+
readonly field: "panel";
|
|
3620
|
+
readonly local: true;
|
|
3621
|
+
readonly reason: "Presence of this field is what makes the item a DISCLOSURE BUTTON rather than a link (Ant Design SubMenuType vs MenuItemType). A discriminant, not a styling axis.";
|
|
3622
|
+
}];
|
|
3623
|
+
};
|
|
3624
|
+
readonly MegaMenuLinkComponentProp: {
|
|
3625
|
+
readonly group: "navigation";
|
|
3626
|
+
readonly file: "components/navigation.prop.ts";
|
|
3627
|
+
readonly vocabulary: readonly [];
|
|
3628
|
+
};
|
|
3629
|
+
readonly MegaMenuProp: {
|
|
3630
|
+
readonly group: "navigation";
|
|
3631
|
+
readonly file: "components/navigation.prop.ts";
|
|
3632
|
+
readonly vocabulary: readonly ["OpenProp", "DefaultOpenProp", "OnOpenChangeProp", "ValueProp", "DefaultValueProp", "OnValueChangeProp", "SizeProp", "LabelProp", "IdProp", "ClassNameProp", {
|
|
3633
|
+
readonly field: "items";
|
|
3634
|
+
readonly local: true;
|
|
3635
|
+
readonly reason: "Ant Design Menu.items — the bar, in antd's own spelling.";
|
|
3636
|
+
}, {
|
|
3637
|
+
readonly field: "triggerAction";
|
|
3638
|
+
readonly local: true;
|
|
3639
|
+
readonly reason: "Ant Design `triggerSubMenuAction`, shortened because there is no sub-MENU here (the APG pattern is disclosure, not menubar). Its own union type MegaMenuTriggerActionProp, mirroring DropdownMenuTriggerActionProp.";
|
|
3640
|
+
}, {
|
|
3641
|
+
readonly field: "openDelay";
|
|
3642
|
+
readonly local: true;
|
|
3643
|
+
readonly reason: "Ant Design `subMenuOpenDelay`, in ms rather than seconds. No vocabulary type: no other component times a hover open.";
|
|
3644
|
+
}, {
|
|
3645
|
+
readonly field: "closeDelay";
|
|
3646
|
+
readonly local: true;
|
|
3647
|
+
readonly reason: "Ant Design `subMenuCloseDelay`, in ms. This is the hover-intent grace period — the diagonal a pointer may take toward the panel without it closing.";
|
|
3648
|
+
}, {
|
|
3649
|
+
readonly field: "expandIcon";
|
|
3650
|
+
readonly local: true;
|
|
3651
|
+
readonly reason: "Ant Design `expandIcon`, kept verbatim including its `false` to remove it.";
|
|
3652
|
+
}, {
|
|
3653
|
+
readonly field: "linkComponent";
|
|
3654
|
+
readonly local: true;
|
|
3655
|
+
readonly reason: "Same contract and same spelling as Sidebar.linkComponent / NavList.linkComponent, so a consumer who wired a router once wires it the same way here.";
|
|
3656
|
+
}];
|
|
3657
|
+
};
|
|
3658
|
+
readonly AnchorContainerProp: {
|
|
3659
|
+
readonly group: "navigation";
|
|
3660
|
+
readonly file: "components/navigation.prop.ts";
|
|
3661
|
+
readonly vocabulary: readonly [];
|
|
3662
|
+
};
|
|
3663
|
+
readonly AnchorDirectionProp: {
|
|
3664
|
+
readonly group: "navigation";
|
|
3665
|
+
readonly file: "components/navigation.prop.ts";
|
|
3666
|
+
readonly vocabulary: readonly [];
|
|
3667
|
+
};
|
|
3668
|
+
readonly AnchorItemProp: {
|
|
3669
|
+
readonly group: "navigation";
|
|
3670
|
+
readonly file: "components/navigation.prop.ts";
|
|
3671
|
+
readonly vocabulary: readonly ["TitleProp", "ChildrenProp", {
|
|
3672
|
+
readonly field: "key";
|
|
3673
|
+
readonly local: true;
|
|
3674
|
+
readonly reason: "Ant Design `AnchorItem.key` — the entry's identity in the `items` DATA, not React's reserved element key.";
|
|
3675
|
+
}, {
|
|
3676
|
+
readonly field: "href";
|
|
3677
|
+
readonly local: true;
|
|
3678
|
+
readonly reason: "Ant Design `AnchorItem.href` — the in-page fragment. It is a real `<a href>`, so the field carries the HTML attribute's own name.";
|
|
3679
|
+
}, {
|
|
3680
|
+
readonly field: "target";
|
|
3681
|
+
readonly local: true;
|
|
3682
|
+
readonly reason: "Ant Design `AnchorItem.target` — the `<a target>` attribute, passed through.";
|
|
3683
|
+
}, {
|
|
3684
|
+
readonly field: "replace";
|
|
3685
|
+
readonly local: true;
|
|
3686
|
+
readonly reason: "Ant Design `AnchorItem.replace` — history replace rather than push, overriding the component-level prop.";
|
|
3687
|
+
}, {
|
|
3688
|
+
readonly field: "targetOffsetBlockStart";
|
|
3689
|
+
readonly local: true;
|
|
3690
|
+
readonly reason: "Ant Design `AnchorItem.targetOffset` (6.4.0) on its LOGICAL axis — this entry's own scroll landing offset.";
|
|
3691
|
+
}];
|
|
3692
|
+
};
|
|
3693
|
+
readonly AnchorProp: {
|
|
3694
|
+
readonly group: "navigation";
|
|
3695
|
+
readonly file: "components/navigation.prop.ts";
|
|
3696
|
+
readonly vocabulary: readonly ["ValueProp", "DefaultValueProp", "OnValueChangeProp", "OnClickProp", "LabelProp", "IdProp", "ClassNameProp", {
|
|
3697
|
+
readonly field: "items";
|
|
3698
|
+
readonly local: true;
|
|
3699
|
+
readonly reason: "Ant Design `Anchor.items` — the entries, in document order.";
|
|
3700
|
+
}, {
|
|
3701
|
+
readonly field: "direction";
|
|
3702
|
+
readonly local: true;
|
|
3703
|
+
readonly reason: "Ant Design `Anchor.direction` — the layout axis, and the same word Separator / Flex / Toolbar already use here for it.";
|
|
3704
|
+
}, {
|
|
3705
|
+
readonly field: "affix";
|
|
3706
|
+
readonly local: true;
|
|
3707
|
+
readonly reason: "Ant Design `Anchor.affix` — `boolean` or the `AffixProp` subset. It is literally antd's own AffixProps minus the fields Anchor supplies, which is why gh#827 lands before gh#828.";
|
|
3708
|
+
}, {
|
|
3709
|
+
readonly field: "bounds";
|
|
3710
|
+
readonly local: true;
|
|
3711
|
+
readonly reason: "Ant Design `Anchor.bounds` — pixel tolerance added to the decision line.";
|
|
3712
|
+
}, {
|
|
3713
|
+
readonly field: "getContainer";
|
|
3714
|
+
readonly local: true;
|
|
3715
|
+
readonly reason: "Ant Design `Anchor.getContainer` — the lazy scroll-box getter.";
|
|
3716
|
+
}, {
|
|
3717
|
+
readonly field: "getCurrentAnchor";
|
|
3718
|
+
readonly local: true;
|
|
3719
|
+
readonly reason: "Ant Design `Anchor.getCurrentAnchor` — antd's own escape hatch, which runs INSIDE the resolution with no render round-trip. A controlled `value` outranks it.";
|
|
3720
|
+
}, {
|
|
3721
|
+
readonly field: "offsetBlockStart";
|
|
3722
|
+
readonly local: true;
|
|
3723
|
+
readonly reason: "Ant Design `Anchor.offsetTop` on its LOGICAL axis — the decision line, and the distance Affix pins the nav at.";
|
|
3724
|
+
}, {
|
|
3725
|
+
readonly field: "targetOffsetBlockStart";
|
|
3726
|
+
readonly local: true;
|
|
3727
|
+
readonly reason: "Ant Design `Anchor.targetOffset` on its LOGICAL axis — where a clicked section lands.";
|
|
3728
|
+
}, {
|
|
3729
|
+
readonly field: "showInkInFixed";
|
|
3730
|
+
readonly local: true;
|
|
3731
|
+
readonly reason: "Ant Design `Anchor.showInkInFixed` — draw the travelling ink even with `affix={false}`.";
|
|
3732
|
+
}, {
|
|
3733
|
+
readonly field: "replace";
|
|
3734
|
+
readonly local: true;
|
|
3735
|
+
readonly reason: "Ant Design `Anchor.replace` — history replace rather than push.";
|
|
3736
|
+
}, {
|
|
3737
|
+
readonly field: "onChange";
|
|
3738
|
+
readonly local: true;
|
|
3739
|
+
readonly reason: "NOT a prop: typed `never` so antd's spelling is a compile error that names `onValueChange` — the active href here is a controlled value (`value` / `defaultValue` / `onValueChange`), which antd has no spelling for.";
|
|
3740
|
+
}, {
|
|
3741
|
+
readonly field: "offsetTop";
|
|
3742
|
+
readonly local: true;
|
|
3743
|
+
readonly reason: "NOT a prop: typed `never` so antd's physical spelling is a compile error that names `offsetBlockStart`.";
|
|
3744
|
+
}, {
|
|
3745
|
+
readonly field: "targetOffset";
|
|
3746
|
+
readonly local: true;
|
|
3747
|
+
readonly reason: "NOT a prop: typed `never` so antd's physical spelling is a compile error that names `targetOffsetBlockStart`.";
|
|
3748
|
+
}];
|
|
3749
|
+
};
|
|
3395
3750
|
readonly WelcomeVariantProp: {
|
|
3396
3751
|
readonly group: "data-display";
|
|
3397
3752
|
readonly file: "components/data-display.prop.ts";
|