@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.
- package/agent/START-HERE.md +2 -2
- package/agent/components/AppLauncher.json +10 -0
- package/agent/components/Attachments.json +27 -1
- package/agent/components/BranchScopePicker.json +10 -0
- package/agent/components/Cascader.json +5 -0
- package/agent/components/Checkbox.json +6 -0
- package/agent/components/CredentialReveal.json +21 -0
- package/agent/components/InputOTP.json +35 -0
- package/agent/components/PermissionMatrix.json +5 -0
- package/agent/components/SearchInput.json +5 -0
- package/agent/components/ServiceLauncherCard.json +10 -3
- package/agent/components/ServiceRolePanel.json +5 -0
- package/agent/components/Switch.json +6 -0
- package/agent/components/Tabs.json +10 -0
- package/agent/components/TimeRangePicker.json +5 -0
- package/agent/components/Transfer.json +5 -0
- package/agent/components/Upload.json +5 -0
- package/agent/components-index.json +1 -1
- package/agent/components.json +170 -4
- package/agent/index.json +3 -3
- package/agent/llms.txt +4 -4
- package/agent/tokens.json +30 -25
- package/dist/components/data-display/service-launcher-card.d.ts +19 -0
- package/dist/components/data-display/service-launcher-card.js +14 -1
- package/dist/components/data-entry/attachments.js +77 -33
- package/dist/components/ui/avatar.d.ts +1 -18
- package/dist/components/ui/avatar.js +1 -36
- package/dist/contracts/measurement.json +1 -1
- package/dist/i18n/messages/en.json +0 -530
- package/dist/i18n/messages/ja.json +0 -524
- package/dist/i18n/messages/vi.json +0 -524
- package/dist/lib/image-loading-status.d.ts +25 -0
- package/dist/lib/image-loading-status.js +41 -0
- package/dist/props/registry.d.ts +5 -1
- package/dist/props/registry.js +12 -1
- package/dist/styles/card-layout.css +6 -0
- package/dist/styles/control.css +2 -2
- package/dist/styles/data-entry-layout.css +245 -2
- package/dist/tokens/components/attachments.css +18 -9
- package/dist/tokens/components/segmented.css +2 -2
- package/docs/DESIGN-AUTHORITY.md +51 -0
- package/docs/assets/service-mark-rose.svg +6 -0
- package/docs/assets/service-mark-teal.svg +5 -0
- package/docs/data-display/service-launcher-card.tsx +232 -92
- package/docs/i18n/messages/en.json +699 -0
- package/docs/i18n/messages/ja.json +693 -0
- package/docs/i18n/messages/vi.json +693 -0
- package/docs/showcase/marketing-page.tsx +3 -2
- package/docs/showcase/table-pagination.tsx +18 -7
- package/docs/showcase/theme-customization.tsx +2 -1
- 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()` (`
|
|
116
|
-
* namespace `marketingShowcase`
|
|
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
|
|
338
|
-
* of a FLUSH container. Here it shares a padded `CardContent` with the period label,
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
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={
|
|
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
|
-
*
|
|
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.
|
|
4
|
-
"godxUiMcp": "28.
|
|
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",
|