@godxjp/ui 33.19.0 → 33.21.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 (121) hide show
  1. package/README.md +4 -4
  2. package/agent/START-HERE.md +7 -7
  3. package/agent/components/AppSettingPicker.json +0 -1
  4. package/agent/components/AppShell.json +11 -1
  5. package/agent/components/CardShowcase.json +44 -0
  6. package/agent/components/CatalogCard.json +83 -0
  7. package/agent/components/CatalogDetail.json +76 -0
  8. package/agent/components/CatalogDetailSection.json +52 -0
  9. package/agent/components/CatalogDetailTag.json +27 -0
  10. package/agent/components/Descriptions.json +6 -0
  11. package/agent/components/EditorialArticle.json +53 -0
  12. package/agent/components/EditorialAuth.json +53 -0
  13. package/agent/components/EditorialAuthCard.json +52 -0
  14. package/agent/components/EditorialBanner.json +53 -0
  15. package/agent/components/EditorialBreadcrumb.json +38 -0
  16. package/agent/components/EditorialCard.json +70 -0
  17. package/agent/components/EditorialEmptyPanel.json +57 -0
  18. package/agent/components/EditorialFilterBar.json +51 -0
  19. package/agent/components/EditorialFilterField.json +39 -0
  20. package/agent/components/EditorialFilterPanel.json +46 -0
  21. package/agent/components/EditorialFooter.json +54 -0
  22. package/agent/components/EditorialFootnote.json +36 -0
  23. package/agent/components/EditorialHero.json +52 -0
  24. package/agent/components/EditorialInlineSearch.json +54 -0
  25. package/agent/components/EditorialMasthead.json +52 -0
  26. package/agent/components/EditorialMetaBar.json +37 -0
  27. package/agent/components/EditorialPageHeader.json +73 -0
  28. package/agent/components/EditorialPanel.json +48 -0
  29. package/agent/components/EditorialPillNav.json +41 -0
  30. package/agent/components/EditorialPrompt.json +54 -0
  31. package/agent/components/EditorialSearch.json +112 -0
  32. package/agent/components/EditorialSection.json +68 -0
  33. package/agent/components/EditorialSectionHead.json +62 -0
  34. package/agent/components/EditorialStats.json +32 -0
  35. package/agent/components/EditorialTextButton.json +47 -0
  36. package/agent/components/EditorialToggleGroup.json +52 -0
  37. package/agent/components/EditorialToolbar.json +45 -0
  38. package/agent/components/Eyebrow.json +39 -0
  39. package/agent/components/HoldingCard.json +69 -0
  40. package/agent/components/HoldingCardAction.json +51 -0
  41. package/agent/components/HoldingGrid.json +37 -0
  42. package/agent/components/NumberInput.json +5 -0
  43. package/agent/components/PriceSummary.json +32 -0
  44. package/agent/components/SettingsLayout.json +31 -0
  45. package/agent/components/SettingsPanel.json +53 -0
  46. package/agent/components/Tabs.json +2 -2
  47. package/agent/components/ThemePicker.json +54 -0
  48. package/agent/components/TopbarItem.json +5 -0
  49. package/agent/components-index.json +292 -98
  50. package/agent/components.json +2054 -4
  51. package/agent/index.json +7 -7
  52. package/agent/llms.txt +8 -8
  53. package/agent/tokens.json +5646 -126
  54. package/dist/components/data-display/badge.js +4 -2
  55. package/dist/components/data-display/descriptions.d.ts +5 -1
  56. package/dist/components/data-display/descriptions.js +21 -9
  57. package/dist/components/data-entry/form-field.js +2 -2
  58. package/dist/components/data-entry/number-input.d.ts +1 -0
  59. package/dist/components/data-entry/number-input.js +8 -0
  60. package/dist/components/data-entry/select.js +24 -2
  61. package/dist/components/data-entry/toggle.d.ts +2 -1
  62. package/dist/components/data-entry/toggle.js +12 -2
  63. package/dist/components/general/button.js +7 -0
  64. package/dist/components/general/typography.d.ts +1 -1
  65. package/dist/components/layout/app-shell.d.ts +1 -1
  66. package/dist/components/layout/app-shell.js +28 -2
  67. package/dist/components/layout/centered-shell.js +4 -0
  68. package/dist/components/layout/editorial-account.d.ts +51 -0
  69. package/dist/components/layout/editorial-account.js +466 -0
  70. package/dist/components/layout/editorial-catalog.d.ts +18 -0
  71. package/dist/components/layout/editorial-catalog.js +164 -0
  72. package/dist/components/layout/editorial.d.ts +56 -0
  73. package/dist/components/layout/editorial.js +867 -0
  74. package/dist/components/layout/index.d.ts +6 -0
  75. package/dist/components/layout/index.js +98 -0
  76. package/dist/components/layout/mobile-shell.d.ts +2 -0
  77. package/dist/components/layout/mobile-shell.js +18 -11
  78. package/dist/components/layout/responsive-grid.js +9 -1
  79. package/dist/components/layout/topbar-item.d.ts +1 -0
  80. package/dist/components/layout/topbar-item.js +2 -0
  81. package/dist/components/navigation/tabs.d.ts +1 -1
  82. package/dist/components/navigation/tabs.js +17 -5
  83. package/dist/contracts/measurement.json +1 -1
  84. package/dist/lib/toast-clearance.js +1 -1
  85. package/dist/props/components/data-display.prop.d.ts +3 -1
  86. package/dist/props/components/data-entry.prop.d.ts +9 -0
  87. package/dist/props/components/editorial-account.prop.d.ts +249 -0
  88. package/dist/props/components/editorial-account.prop.js +0 -0
  89. package/dist/props/components/general.prop.d.ts +6 -2
  90. package/dist/props/components/layout.prop.d.ts +602 -2
  91. package/dist/props/components/navigation.prop.d.ts +2 -0
  92. package/dist/props/registry.d.ts +1140 -8
  93. package/dist/props/registry.js +805 -1
  94. package/dist/styles/badge-layout.css +2 -0
  95. package/dist/styles/control.css +58 -12
  96. package/dist/styles/core.css +1 -0
  97. package/dist/styles/data-display-layout.css +39 -3
  98. package/dist/styles/editorial-account-layout.css +1130 -0
  99. package/dist/styles/focus-ring.css +33 -10
  100. package/dist/styles/form-layout.css +8 -1
  101. package/dist/styles/index.css +1 -0
  102. package/dist/styles/layers.json +248 -1
  103. package/dist/styles/layout.css +2022 -0
  104. package/dist/styles/navigation-layout.css +5 -0
  105. package/dist/styles/shell-layout.css +100 -2
  106. package/dist/styles/table-layout.css +25 -13
  107. package/dist/styles/text-layout.css +6 -0
  108. package/dist/styles.css +1 -1
  109. package/dist/tokens/base.css +2 -0
  110. package/dist/tokens/components/badge.css +3 -0
  111. package/dist/tokens/components/control.css +9 -0
  112. package/dist/tokens/components/descriptions.css +2 -0
  113. package/dist/tokens/components/editorial-account.css +393 -0
  114. package/dist/tokens/components/editorial.css +721 -0
  115. package/dist/tokens/components/form.css +4 -0
  116. package/dist/tokens/components/navigation.css +2 -0
  117. package/dist/tokens/components/shell.css +23 -0
  118. package/dist/tokens/components/table.css +1 -1
  119. package/docs/TOKENS.md +26 -0
  120. package/package.json +2 -2
  121. package/scripts/ui-audit.mjs +3 -2
@@ -0,0 +1,56 @@
1
+ import * as React from "react";
2
+ import type { CardShowcaseProp, EditorialArticleProp, EditorialArticleSectionProp, EditorialNoteProp, EditorialPanelProp, CatalogCardProp, CatalogCardTagProp, EditorialBannerProp, EditorialBreadcrumbProp, EditorialCardProp, EditorialFilterBarProp, EditorialFooterProp, EditorialMastheadLinkProp, EditorialMastheadProp, EditorialHeroProp, EditorialPageHeaderProp, EditorialPillNavItemProp, EditorialPillNavProp, EditorialSearchProp, EditorialSectionHeadProp, EditorialSectionProp, EditorialTextLinkProp, EyebrowProp } from "../../props/components/layout.prop.js";
3
+ export type { EditorialArticleProp, EditorialArticleProp as EditorialArticleProps, EditorialArticleSectionProp, EditorialNoteProp, EditorialPanelProp, EditorialPanelProp as EditorialPanelProps, EditorialBreadcrumbProp, EditorialBreadcrumbProp as EditorialBreadcrumbProps, EditorialPageHeaderProp, EditorialPageHeaderProp as EditorialPageHeaderProps, CardShowcaseProp, CardShowcaseProp as CardShowcaseProps, CatalogCardProp, CatalogCardProp as CatalogCardProps, CatalogCardTagProp, EditorialBannerProp, EditorialBannerProp as EditorialBannerProps, EditorialCardProp, EditorialCardProp as EditorialCardProps, EditorialHeroProp, EditorialHeroProp as EditorialHeroProps, EditorialPillNavItemProp, EditorialPillNavProp, EditorialPillNavProp as EditorialPillNavProps, EditorialSearchProp, EditorialSearchProp as EditorialSearchProps, EditorialSearchSuggestionFooterProp, EditorialSearchSuggestionGroupProp, EditorialSearchSuggestionProp, EditorialSectionHeadProp, EditorialSectionHeadProp as EditorialSectionHeadProps, EditorialSectionProp, EditorialSectionProp as EditorialSectionProps, EditorialTextLinkProp, EyebrowProp, EyebrowProp as EyebrowProps, EditorialFilterBarProp, EditorialFooterProp, EditorialMastheadActionProp, EditorialMastheadLinkProp, EditorialMastheadProp, } from "../../props/components/layout.prop.js";
4
+ /** One full-width band of a `flow="sections"` page; the content sits in the landing column. */
5
+ export declare function EditorialSection({ children, tone, divider, spacing, as: Tag, className, ...rest }: EditorialSectionProp): React.JSX.Element;
6
+ /** The opening of an editorial page: copy (kicker, h1, lead, search, suggestions) beside media. */
7
+ export declare function EditorialHero({ eyebrow, title, description, search, footer, media, className, }: EditorialHeroProp): React.JSX.Element;
8
+ /** The small uppercase kicker above an editorial heading, led by a short ornament rule. */
9
+ export declare function Eyebrow({ children, variant, as: Tag, className }: EyebrowProp): React.JSX.Element;
10
+ /** A section's head: kicker, an editorial title, one line of description and a trailing action. */
11
+ export declare function EditorialSectionHead({ eyebrow, title, description, action, level, scale, titleId, className, }: EditorialSectionHeadProp): React.JSX.Element;
12
+ /** The trail at the top of an editorial page: `Breadcrumb` with the editorial rhythm (gh#1437). */
13
+ export declare function EditorialBreadcrumb({ items, linkComponent, ariaLabel, className, }: EditorialBreadcrumbProp): React.JSX.Element;
14
+ /** The intro of an editorial listing page: trail, kicker, the page's h1, a lead and an action. */
15
+ export declare function EditorialPageHeader({ breadcrumb, linkComponent, breadcrumbLabel, eyebrow, title, description, actions, search, titleId, eyebrowTone, className, }: EditorialPageHeaderProp): React.JSX.Element;
16
+ /** The reading column of a long-form editorial page: kicker, the page's h1, intro, sections. */
17
+ export declare function EditorialArticle({ eyebrow, title, intro, children, titleId, className, }: EditorialArticleProp): React.JSX.Element;
18
+ /** One titled section of an `EditorialArticle`: an h2, paragraphs of prose, then anything else. */
19
+ export declare function EditorialArticleSection({ title, paragraphs, children, titleId, className, }: EditorialArticleSectionProp): React.JSX.Element;
20
+ /** A note block in an editorial article, set off by an ornament rule on its start edge. */
21
+ export declare function EditorialNote({ children, className }: EditorialNoteProp): React.JSX.Element;
22
+ /** A bordered panel: a tag, a heading and a list (a roadmap group). */
23
+ export declare function EditorialPanel({ tag, title, items, children, level, className, }: EditorialPanelProp): React.JSX.Element;
24
+ /** An inline call to action with a trailing arrow. `asChild` wraps a router link. */
25
+ export declare function EditorialTextLink({ children, asChild, className, ...rest }: EditorialTextLinkProp): React.JSX.Element;
26
+ /** The site search: `inset` (glyph, field and submit in one box) or `inline` (gh#1439). */
27
+ export declare function EditorialSearch(props: EditorialSearchProp): React.JSX.Element;
28
+ /** A horizontal band of section links, scrolling sideways when it overflows. */
29
+ export declare function EditorialPillNav({ label, children, className, ...rest }: EditorialPillNavProp): React.JSX.Element;
30
+ /** One pill of an `EditorialPillNav`; `aria-current="page"` marks the current one. */
31
+ export declare function EditorialPillNavItem({ children, asChild, icon, className, ...rest }: EditorialPillNavItemProp): React.JSX.Element;
32
+ /** A staged composition of product pictures: a fan of three cards, or a tilted binder page. */
33
+ export declare function CardShowcase({ preset, items, label, caption, className }: CardShowcaseProp): React.JSX.Element;
34
+ /** A rounded brand panel: kicker, title, description and a call to action beside a media slot. */
35
+ export declare function EditorialBanner({ eyebrow, title, description, action, media, level, className, }: EditorialBannerProp): React.JSX.Element;
36
+ /** A catalog tile: framed picture with an overlaid favourite, then overline, title, meta, price. */
37
+ export declare function CatalogCard({ variant, media, favorite, overline, title, level, meta, priceLabel, price, change, footer, className, }: CatalogCardProp): React.JSX.Element;
38
+ /** A small outlined tag in a `CatalogCard` metadata row. */
39
+ export declare function CatalogCardTag({ children, className }: CatalogCardTagProp): React.JSX.Element;
40
+ /** A whole-card link: a journal card (cover, category, title, lines, arrow) or a spotlight row. */
41
+ export declare function EditorialCard({ variant, link, media, overline, title, description, action, level, titleId, className, }: EditorialCardProp): React.JSX.Element;
42
+ /** A public site's header row: logo, primary navigation, actions, and the phone-only menu trigger. */
43
+ export declare function EditorialMasthead({ brand, nav, navLabel, actions, menu, className, }: EditorialMastheadProp): React.JSX.Element;
44
+ /** One primary navigation link of an `EditorialMasthead`; `aria-current="page"` underlines it. */
45
+ export declare function EditorialMastheadLink({ children, asChild, className, ...rest }: EditorialMastheadLinkProp): React.JSX.Element;
46
+ /** A 44px icon control of an `EditorialMasthead` (theme toggle, account). */
47
+ export declare const EditorialMastheadAction: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {
48
+ children: import("../../props/index.js").ChildrenProp;
49
+ asChild?: boolean;
50
+ variant?: "ghost" | "outline";
51
+ collapse?: boolean;
52
+ } & React.RefAttributes<HTMLButtonElement>>;
53
+ /** A public site's footer content: brand and tagline, link groups, and a bottom row. */
54
+ export declare function EditorialFooter({ brand, tagline, groups, level, legal, note, className, }: EditorialFooterProp): React.JSX.Element;
55
+ /** A row of underlined filter toggles (one pressed at a time) with a trailing note. */
56
+ export declare function EditorialFilterBar({ options, value, onValueChange, extra, className, ...rest }: EditorialFilterBarProp): React.JSX.Element;