@godxjp/ui 28.10.0 → 28.13.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 (51) hide show
  1. package/agent/START-HERE.md +2 -2
  2. package/agent/components/AppLauncher.json +10 -0
  3. package/agent/components/Attachments.json +27 -1
  4. package/agent/components/BranchScopePicker.json +10 -0
  5. package/agent/components/Cascader.json +5 -0
  6. package/agent/components/Checkbox.json +6 -0
  7. package/agent/components/CredentialReveal.json +21 -0
  8. package/agent/components/InputOTP.json +35 -0
  9. package/agent/components/PermissionMatrix.json +5 -0
  10. package/agent/components/SearchInput.json +5 -0
  11. package/agent/components/ServiceLauncherCard.json +10 -3
  12. package/agent/components/ServiceRolePanel.json +5 -0
  13. package/agent/components/Switch.json +6 -0
  14. package/agent/components/Tabs.json +10 -0
  15. package/agent/components/TimeRangePicker.json +5 -0
  16. package/agent/components/Transfer.json +5 -0
  17. package/agent/components/Upload.json +5 -0
  18. package/agent/components-index.json +1 -1
  19. package/agent/components.json +170 -4
  20. package/agent/index.json +3 -3
  21. package/agent/llms.txt +4 -4
  22. package/agent/tokens.json +30 -25
  23. package/dist/components/data-display/service-launcher-card.d.ts +19 -0
  24. package/dist/components/data-display/service-launcher-card.js +14 -1
  25. package/dist/components/data-entry/attachments.js +77 -33
  26. package/dist/components/ui/avatar.d.ts +1 -18
  27. package/dist/components/ui/avatar.js +1 -36
  28. package/dist/contracts/measurement.json +1 -1
  29. package/dist/i18n/messages/en.json +0 -530
  30. package/dist/i18n/messages/ja.json +0 -524
  31. package/dist/i18n/messages/vi.json +0 -524
  32. package/dist/lib/image-loading-status.d.ts +25 -0
  33. package/dist/lib/image-loading-status.js +41 -0
  34. package/dist/props/registry.d.ts +5 -1
  35. package/dist/props/registry.js +12 -1
  36. package/dist/styles/card-layout.css +6 -0
  37. package/dist/styles/control.css +2 -2
  38. package/dist/styles/data-entry-layout.css +245 -2
  39. package/dist/tokens/components/attachments.css +18 -9
  40. package/dist/tokens/components/segmented.css +2 -2
  41. package/docs/DESIGN-AUTHORITY.md +51 -0
  42. package/docs/assets/service-mark-rose.svg +6 -0
  43. package/docs/assets/service-mark-teal.svg +5 -0
  44. package/docs/data-display/service-launcher-card.tsx +232 -92
  45. package/docs/i18n/messages/en.json +699 -0
  46. package/docs/i18n/messages/ja.json +693 -0
  47. package/docs/i18n/messages/vi.json +693 -0
  48. package/docs/showcase/marketing-page.tsx +3 -2
  49. package/docs/showcase/table-pagination.tsx +18 -7
  50. package/docs/showcase/theme-customization.tsx +2 -1
  51. package/package.json +4 -3
@@ -112,8 +112,9 @@
112
112
  * elements cross the inline edge. The two boxes that do scroll are the `Marquee` viewport and the
113
113
  * `Carousel` viewport, which is what both components are.
114
114
  *
115
- * Every string and every `aria-label` comes from `t()` (`src/i18n/messages/{en,ja,vi}.json`,
116
- * namespace `marketingShowcase`), and the locale picker in the bar switches all three live. Money
115
+ * Every string and every `aria-label` comes from `t()` (`docs/i18n/messages/{en,ja,vi}.json`,
116
+ * namespace `marketingShowcase` — demo copy the preview registers at startup, never shipped to a
117
+ * consumer; gh#858), and the locale picker in the bar switches all three live. Money
117
118
  * is `Intl.NumberFormat` with the ACTIVE locale and an ISO 4217 code that lives in data, never a
118
119
  * symbol in the copy. The year is `Intl.DateTimeFormat`. Domains are RFC 2606 reserved
119
120
  * (`*.example.jp`), the company is fictional, and every wordmark in the logo wall is invented.
@@ -334,15 +334,26 @@ function CursorPeriodCard() {
334
334
  <CardContent flush>
335
335
  <DataTable data={rows} columns={columns} getRowId={(row) => row.id} density="compact" />
336
336
  </CardContent>
337
- {/* `DataTable.Pagination` owns its own inline inset, because it is normally the lone child
338
- * of a FLUSH container. Here it shares a padded `CardContent` with the period label, so the
339
- * two insets stack — measured 28px against the columns' 16px before this. Zeroing the slot's
340
- * own knob hands the inset to the container that already supplies it; that is what
341
- * `--table-pagination-padding-x` is for, and an instance override is the right tier for one
342
- * element in one arrangement (docs/CUSTOMER-THEMING.md, tier 4). */}
337
+ {/* `DataTable.Pagination` owns its own insets ON BOTH AXES, because it is normally the lone
338
+ * child of a FLUSH container. Here it shares a padded `CardContent` with the period label,
339
+ * so both stack.
340
+ *
341
+ * The first pass at this zeroed only the INLINE knob and declared it done — a two-axis
342
+ * defect fixed on one axis, which looks fixed from the side you were measuring. The block
343
+ * one kept stacking: 16px from the CardContent plus 7.36px of the slot's own, so this
344
+ * footer sat 27px off the last row while the other two cards sat at 20px.
345
+ *
346
+ * Zeroing both hands the insets to the container that already supplies them; that is what
347
+ * these knobs are for, and an instance override is the right tier for one element in one
348
+ * arrangement (docs/CUSTOMER-THEMING.md, tier 4). */}
343
349
  <CardContent
344
350
  className="border-t"
345
- style={{ "--table-pagination-padding-x": "0" } as React.CSSProperties}
351
+ style={
352
+ {
353
+ "--table-pagination-padding-x": "0",
354
+ "--table-pagination-padding-y": "0",
355
+ } as React.CSSProperties
356
+ }
346
357
  >
347
358
  <Flex direction="row" align="center" justify="between" wrap gap="sm">
348
359
  <Text size="xs" tone="muted" tabular>
@@ -68,7 +68,8 @@
68
68
  *
69
69
  * ── i18n / a11y / RTL ────────────────────────────────────────────────────────────────────────
70
70
  * Every string and every `aria-label` comes from `t()` (`themeShowcase.*` in
71
- * src/i18n/messages/{en,ja,vi}.json); the locale picker drives the SAME `AppProvider` locale the
71
+ * docs/i18n/messages/{en,ja,vi}.json — demo copy the preview registers at startup rather than
72
+ * ship to consumers; gh#858); the locale picker drives the SAME `AppProvider` locale the
72
73
  * library's own chrome reads, so the page and its components switch together. Numbers, currency,
73
74
  * dates, lists, regions and plurals go through `Intl` with that locale — no hand-built formats, no
74
75
  * emoji flags. Logical CSS only; no Tailwind spacing or layout utilities on this page's own
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@godxjp/ui",
3
- "version": "28.10.0",
4
- "godxUiMcp": "28.10.0",
3
+ "version": "28.13.0",
4
+ "godxUiMcp": "28.13.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -414,7 +414,8 @@
414
414
  "verify": "pnpm typecheck && pnpm lint && pnpm format && pnpm build && pnpm preview:build && pnpm check:example-imports && pnpm check:core-isolation && pnpm check:no-consumer-coupling && pnpm check:prop-vocabulary && pnpm check:token-tiers && pnpm check:token-width-wins && pnpm check:no-external-assets && pnpm check:token-scale-bypass && pnpm check:radix-surface && pnpm check:dist-tokens-resolve && pnpm check:no-hardcoded-geometry && pnpm check:no-hardcoded-css-values && pnpm check:disclosure-duplication && pnpm check:no-inline-magic-numbers && pnpm check:no-tailwind-class-assertions && pnpm check:control-sizing && pnpm check:rtl && pnpm check:typography && pnpm check:mcp-lockstep && pnpm check:mcp-sync && pnpm check:doc-prop-existence && pnpm check:mcp-catalog-coverage && pnpm check:mcp-orphans && pnpm check:mcp-pattern-imports && pnpm check:audit-sync && pnpm check:frame-coverage && pnpm test",
415
415
  "verify:browser": "pnpm check:contrast && pnpm check:text-ink-clip && pnpm check:frame-overflow && pnpm check:font-fallback-metrics && pnpm check:visual-audit",
416
416
  "verify:ci": "pnpm verify:ci:static && pnpm check:frame-contracts && pnpm test",
417
- "verify:ci:static": "pnpm build && pnpm check:packed-public-contract && pnpm typecheck && pnpm typecheck:docs && pnpm lint && pnpm preview:build && pnpm check:registry && pnpm check:example-imports && pnpm check:core-isolation && pnpm check:no-consumer-coupling && pnpm check:use-client && pnpm check:prop-vocabulary && pnpm check:token-tiers && pnpm check:token-width-wins && pnpm check:no-external-assets && pnpm check:token-scale-bypass && pnpm check:no-antd-runtime && pnpm check:radix-surface && pnpm check:dist-tokens-resolve && pnpm check:no-hardcoded-geometry && pnpm check:no-hardcoded-css-values && pnpm check:disclosure-duplication && pnpm check:no-inline-magic-numbers && pnpm check:no-tailwind-class-assertions && pnpm check:control-sizing && pnpm check:rtl && pnpm check:typography && pnpm check:mcp-lockstep && pnpm check:measurement-contract && pnpm check:mcp-token-sync && pnpm check:email-token-sync && pnpm check:mcp-sync && pnpm check:doc-prop-existence && pnpm check:mcp-catalog-coverage && pnpm check:mcp-orphans && pnpm check:mcp-catalog-completeness && pnpm check:mcp-pattern-imports && pnpm check:audit-sync && pnpm run audit && pnpm check:frame-coverage-report && pnpm check:gate-coverage && pnpm check:mcp-prop-sync && pnpm check:catalog-contradictions && pnpm check:catalog-snippets && pnpm check:absorbed-names && pnpm check:agent-catalog",
417
+ "verify:ci:static:gates": "pnpm build && pnpm check:packed-public-contract && pnpm typecheck && pnpm typecheck:docs && pnpm lint && pnpm preview:build && pnpm check:registry && pnpm check:example-imports && pnpm check:core-isolation && pnpm check:no-consumer-coupling && pnpm check:use-client && pnpm check:prop-vocabulary && pnpm check:token-tiers && pnpm check:token-width-wins && pnpm check:no-external-assets && pnpm check:token-scale-bypass && pnpm check:no-antd-runtime && pnpm check:radix-surface && pnpm check:dist-tokens-resolve && pnpm check:no-hardcoded-geometry && pnpm check:no-hardcoded-css-values && pnpm check:disclosure-duplication && pnpm check:no-inline-magic-numbers && pnpm check:no-tailwind-class-assertions && pnpm check:control-sizing && pnpm check:rtl && pnpm check:typography && pnpm check:mcp-lockstep && pnpm check:measurement-contract && pnpm check:mcp-token-sync && pnpm check:email-token-sync && pnpm check:mcp-sync && pnpm check:doc-prop-existence && pnpm check:mcp-catalog-coverage && pnpm check:mcp-orphans && pnpm check:mcp-catalog-completeness && pnpm check:mcp-pattern-imports && pnpm check:audit-sync && pnpm run audit && pnpm check:frame-coverage-report && pnpm check:gate-coverage && pnpm check:mcp-prop-sync && pnpm check:catalog-contradictions && pnpm check:catalog-snippets && pnpm check:absorbed-names && pnpm check:agent-catalog",
418
+ "verify:ci:static": "node scripts/run-gate-list.mjs verify:ci:static:gates",
418
419
  "verify:publish-tree": "pnpm build && pnpm check:packed-public-contract && pnpm check:use-client && pnpm check:dist-tokens-resolve",
419
420
  "verify:release": "pnpm verify:static && pnpm check:frame-contracts && pnpm check:frame-coverage",
420
421
  "verify:static": "pnpm build && pnpm check:packed-public-contract && pnpm typecheck && pnpm typecheck:docs && pnpm lint && pnpm preview:build && pnpm check:example-imports && pnpm check:core-isolation && pnpm check:no-consumer-coupling && pnpm check:use-client && pnpm check:prop-vocabulary && pnpm check:token-tiers && pnpm check:token-scale-bypass && pnpm check:radix-surface && pnpm check:dist-tokens-resolve && pnpm check:no-hardcoded-geometry && pnpm check:no-hardcoded-css-values && pnpm check:disclosure-duplication && pnpm check:no-inline-magic-numbers && pnpm check:no-tailwind-class-assertions && pnpm check:control-sizing && pnpm check:rtl && pnpm check:typography && pnpm check:mcp-lockstep && pnpm check:mcp-sync && pnpm check:doc-prop-existence && pnpm check:mcp-catalog-coverage && pnpm check:mcp-orphans && pnpm check:mcp-pattern-imports && pnpm check:audit-sync && pnpm check:mcp-prop-sync && pnpm check:contrast && pnpm check:visual-audit && pnpm test",