@hjmds/react 1.46.0 → 1.47.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/actions.d.ts +2 -2
- package/dist/activity-chip.d.ts +1 -1
- package/dist/advanced-display.d.ts +6 -0
- package/dist/advanced-display.d.ts.map +1 -1
- package/dist/advanced-display.js +4 -2
- package/dist/advanced-display.js.map +1 -1
- package/dist/advanced-forms.d.ts +2 -2
- package/dist/auth-screen.d.ts +1 -1
- package/dist/bottom-navigation.d.ts.map +1 -1
- package/dist/bottom-navigation.js +1 -1
- package/dist/bottom-navigation.js.map +1 -1
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.js +31 -24
- package/dist/calendar.js.map +1 -1
- package/dist/carousel.d.ts +5 -1
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.js +2 -2
- package/dist/carousel.js.map +1 -1
- package/dist/clipboard.d.ts +2 -2
- package/dist/color-picker.d.ts +33 -3
- package/dist/color-picker.d.ts.map +1 -1
- package/dist/color-picker.js +73 -10
- package/dist/color-picker.js.map +1 -1
- package/dist/communication.d.ts +6 -1
- package/dist/communication.d.ts.map +1 -1
- package/dist/communication.js +2 -2
- package/dist/communication.js.map +1 -1
- package/dist/conversation-row.d.ts +7 -1
- package/dist/conversation-row.d.ts.map +1 -1
- package/dist/conversation-row.js +4 -2
- package/dist/conversation-row.js.map +1 -1
- package/dist/date-range.d.ts +24 -3
- package/dist/date-range.d.ts.map +1 -1
- package/dist/date-range.js +38 -17
- package/dist/date-range.js.map +1 -1
- package/dist/display.d.ts +28 -0
- package/dist/display.d.ts.map +1 -1
- package/dist/display.js +11 -9
- package/dist/display.js.map +1 -1
- package/dist/evidence.d.ts +1 -1
- package/dist/evidence.js +1 -1
- package/dist/evidence.js.map +1 -1
- package/dist/feedback.d.ts +1 -1
- package/dist/floating-action-button.d.ts +1 -1
- package/dist/follow-list.d.ts +58 -0
- package/dist/follow-list.d.ts.map +1 -0
- package/dist/follow-list.js +25 -0
- package/dist/follow-list.js.map +1 -0
- package/dist/forms.d.ts +3 -3
- package/dist/image-viewer.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/calendar-paint.d.ts +12 -0
- package/dist/internal/calendar-paint.d.ts.map +1 -0
- package/dist/internal/calendar-paint.js +3 -0
- package/dist/internal/calendar-paint.js.map +1 -0
- package/dist/internal/identity-action.d.ts +12 -0
- package/dist/internal/identity-action.d.ts.map +1 -0
- package/dist/internal/identity-action.js +10 -0
- package/dist/internal/identity-action.js.map +1 -0
- package/dist/internal.d.ts +1 -1
- package/dist/layout.d.ts +1 -1
- package/dist/overlays.d.ts +4 -0
- package/dist/overlays.d.ts.map +1 -1
- package/dist/overlays.js +3 -3
- package/dist/overlays.js.map +1 -1
- package/dist/provider-button.d.ts +1 -1
- package/dist/public-exports.generated.d.ts +3 -0
- package/dist/public-exports.generated.d.ts.map +1 -1
- package/dist/public-exports.generated.js +9 -0
- package/dist/public-exports.generated.js.map +1 -1
- package/dist/screen-flows.d.ts +33 -4
- package/dist/screen-flows.d.ts.map +1 -1
- package/dist/screen-flows.js +25 -10
- package/dist/screen-flows.js.map +1 -1
- package/dist/screens.d.ts +38 -6
- package/dist/screens.d.ts.map +1 -1
- package/dist/screens.js +26 -12
- package/dist/screens.js.map +1 -1
- package/dist/selection.d.ts +1 -1
- package/dist/social-compositions.d.ts +10 -0
- package/dist/social-compositions.d.ts.map +1 -1
- package/dist/social-compositions.js +3 -2
- package/dist/social-compositions.js.map +1 -1
- package/dist/styles.css +108 -46
- package/dist/styles.layered.css +108 -46
- package/dist/toast.d.ts +1 -1
- package/dist/top-bar.d.ts +1 -1
- package/package.json +8 -3
package/dist/evidence.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export type ReactRendererEvidenceManifest = Readonly<{
|
|
|
34
34
|
export declare const reactRendererEvidence: {
|
|
35
35
|
readonly schemaVersion: 2;
|
|
36
36
|
readonly packageName: "@hjmds/react";
|
|
37
|
-
readonly packageVersion: "1.
|
|
37
|
+
readonly packageVersion: "1.47.0";
|
|
38
38
|
readonly surface: "web";
|
|
39
39
|
readonly components: Readonly<{
|
|
40
40
|
/** Canonical component id from the design-contracts catalog. */
|
package/dist/evidence.js
CHANGED
|
@@ -135,7 +135,7 @@ const activeWebEntries = componentCatalog.filter((entry) => {
|
|
|
135
135
|
export const reactRendererEvidence = {
|
|
136
136
|
schemaVersion: reactRendererEvidenceSchemaVersion,
|
|
137
137
|
packageName: "@hjmds/react",
|
|
138
|
-
packageVersion: "1.
|
|
138
|
+
packageVersion: "1.47.0",
|
|
139
139
|
surface: "web",
|
|
140
140
|
components: activeWebEntries.map(derivedClaim),
|
|
141
141
|
};
|
package/dist/evidence.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evidence.js","sourceRoot":"","sources":["../src/evidence.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,yBAAyB,EAA8B,MAAM,iCAAiC,CAAC;AACzI,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAU,CAAC;AA6B7D,MAAM,gBAAgB,GAAG,kCAA2C,CAAC;AACrE,MAAM,eAAe,GAAG,uCAAgD,CAAC;AACzE,MAAM,mBAAmB,GAAG,mCAA4C,CAAC;AAIzE;;;;;GAKG;AACH,MAAM,eAAe,GAAuE,EAAE,CAAC;AAc/F,MAAM,QAAQ,GAAG,CAAC,OAAkB,mBAAmB,EAAe,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;AAC3H,MAAM,mBAAmB,GAAG,CAAC,IAAe,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AC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;QACnG,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;KACnE,CAAC;IACF,OAAO;QACL,WAAW;QACX,WAAW;QACX,OAAO;QACP,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;QACrD,MAAM;KACP,CAAC;AACJ,CAAC;AAED,MAAM,gBAAgB,GAAqC,gBAAgB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3F,MAAM,MAAM,GAAG,yBAAyB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACvD,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,MAAM,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,aAAa,EAAE,kCAAkC;IACjD,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,QAAQ;IACxB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,gBAAgB,CAAC,GAAG,CAAC,YAAY,CAAC;CACE,CAAC","sourcesContent":["import type { ShowcaseScenarioId } from \"@hjmds/design-contracts/showcase\";\nimport { getRequiredShowcaseEvidence } from \"@hjmds/design-contracts/showcase\";\nimport { componentCatalog, componentIdOf, getComponentSurfaceStatus, type ComponentCatalogEntry } from \"@hjmds/design-contracts/catalog\";\nimport { publicExportEntries } from \"./public-exports.generated.js\";\n\nexport const reactRendererEvidenceSchemaVersion = 2 as const;\n\nexport type ReactRendererEvidenceScenario = Exclude<ShowcaseScenarioId, \"contract\" | \"native-actions\">;\n\nexport type ReactRendererEvidenceComponent = Readonly<{\n /** Canonical component id from the design-contracts catalog. */\n componentId: string;\n /** Public symbols that implement this contract on the declared subpath. */\n exportNames: readonly string[];\n /** Granular @hjmds/react export used by consumers. */\n subpath: `./${string}`;\n /** Scenarios supported by automated first-party renderer evidence. */\n scenarios: readonly ReactRendererEvidenceScenario[];\n /** Repository-local executable proof for every claimed scenario. */\n proofs: readonly Readonly<{\n scenarios: readonly ReactRendererEvidenceScenario[];\n file: `test/${string}.test.tsx`;\n caseId: string;\n }>[];\n}>;\n\nexport type ReactRendererEvidenceManifest = Readonly<{\n schemaVersion: typeof reactRendererEvidenceSchemaVersion;\n packageName: \"@hjmds/react\";\n packageVersion: string;\n surface: \"web\";\n components: readonly ReactRendererEvidenceComponent[];\n}>;\n\nconst defaultProofFile = \"test/default-render.ssr.test.tsx\" as const;\nconst matrixProofFile = \"test/scenario-matrix.browser.test.tsx\" as const;\nconst stableCoreProofFile = \"test/stable-core.browser.test.tsx\" as const;\n\ntype ProofFile = `test/${string}.test.tsx`;\n\n/**\n * Scenarios a component does not pass yet. Each entry is promotion debt that\n * the generated evidence projection reports; remove it when the component is\n * fixed and the matrix case passes. Stable surfaces cannot carry a gap\n * (scripts/check-workspace-sync.mjs).\n */\nconst webScenarioGaps: Readonly<Record<string, readonly ReactRendererEvidenceScenario[]>> = {};\n\n/**\n * Proofs that live outside the shared default/matrix files: keyboard behavior in a dedicated browser test,\n * long copy proven inside a portal by the component's own test, or a whole matrix run in a component file.\n * Everything else about a claim derives from the catalog row (2026-10-18 registration input).\n */\ntype ClaimExtras = Readonly<{\n /** Extra proofs; their scenarios are removed from the shared matrix proof. */\n proofs?: readonly Readonly<{ scenarios: readonly ReactRendererEvidenceScenario[]; file: ProofFile }>[];\n /** Hooks or helpers published beside the component symbols on the same subpath. */\n exportNames?: readonly string[];\n}>;\n\nconst keyboard = (file: ProofFile = stableCoreProofFile): ClaimExtras => ({ proofs: [{ scenarios: [\"keyboard\"], file }] });\nconst keyboardAndLongCopy = (file: ProofFile): ClaimExtras => ({ proofs: [{ scenarios: [\"keyboard\", \"long-copy\"], file }] });\n\nconst claimExtras: Readonly<Record<string, ClaimExtras>> = {\n \"time-picker\": keyboard(\"test/time-picker.browser.test.tsx\"),\n \"design-system-provider\": { exportNames: [\"useHjmTheme\"] },\n layout: keyboard(),\n link: keyboard(),\n field: keyboard(),\n \"search-field\": keyboard(),\n \"password-field\": keyboard(),\n \"otp-field\": keyboard(),\n \"number-field\": keyboard(),\n slider: keyboard(),\n form: keyboard(\"test/form.keyboard.browser.test.tsx\"),\n \"date-picker\": keyboard(),\n calendar: keyboard(\"test/calendar.browser.test.tsx\"),\n \"file-picker\": keyboard(\"test/file-picker.keyboard.browser.test.tsx\"),\n checkbox: keyboard(),\n \"checkbox-group\": keyboard(),\n \"radio-group\": keyboard(),\n switch: keyboard(),\n \"segmented-control\": keyboard(),\n chip: keyboard(),\n tabs: keyboard(\"test/tabs.keyboard.browser.test.tsx\"),\n breadcrumb: keyboard(\"test/page-navigation.browser.test.tsx\"),\n pagination: keyboard(\"test/pagination.keyboard.browser.test.tsx\"),\n popover: keyboardAndLongCopy(\"test/popover.browser.test.tsx\"),\n \"side-panel\": keyboardAndLongCopy(\"test/side-panel.browser.test.tsx\"),\n splitter: keyboard(\"test/splitter.browser.test.tsx\"),\n tour: keyboardAndLongCopy(\"test/tour.browser.test.tsx\"),\n tree: keyboard(\"test/tree.browser.test.tsx\"),\n \"transfer-list\": keyboard(\"test/transfer-list.browser.test.tsx\"),\n mentions: keyboard(\"test/mentions.browser.test.tsx\"),\n \"command-palette\": keyboardAndLongCopy(\"test/command-palette.browser.test.tsx\"),\n agreement: keyboard(\"test/agreement.keyboard.browser.test.tsx\"),\n \"toggle-group\": keyboard(),\n \"tags-input\": keyboard(),\n \"skip-nav\": keyboardAndLongCopy(\"test/skip-nav.browser.test.tsx\"),\n sidebar: keyboard(\"test/sidebar.browser.test.tsx\"),\n \"date-range-picker\": keyboard(\"test/date-range.keyboard.browser.test.tsx\"),\n \"auth-provider-button\": keyboard(),\n \"data-table\": keyboard(\"test/data-table.keyboard.browser.test.tsx\"),\n collapsible: keyboard(\"test/collapsible.keyboard.browser.test.tsx\"),\n \"context-menu\": keyboardAndLongCopy(\"test/context-menu.interactions.browser.test.tsx\"),\n menubar: keyboard(\"test/menubar.keyboard.browser.test.tsx\"),\n anchor: keyboard(\"test/anchor.browser.test.tsx\"),\n \"bottom-navigation\": keyboard(\"test/bottom-navigation.keyboard.browser.test.tsx\"),\n \"load-more\": keyboard(\"test/load-more.interactions.browser.test.tsx\"),\n carousel: keyboard(\"test/carousel.browser.test.tsx\"),\n \"floating-action-button\": keyboard(),\n accordion: keyboard(\"test/accordion.keyboard.browser.test.tsx\"),\n \"upload-item\": keyboard(\"test/upload-item.browser.test.tsx\"),\n // ThinkingOrb runs its whole environment matrix in its own file (canvas timing), not in scenario-matrix.\n \"thinking-orb\": { proofs: [{ scenarios: [\"dark\", \"large-text\", \"rtl\", \"reduced-motion\", \"accessibility\"], file: \"test/thinking-orb.browser.test.tsx\" }] },\n \"color-picker\": keyboard(\"test/web-additions.browser.test.tsx\"),\n // SSR proves semantics but cannot catch the close-only row seen in BurnTok.\n // Keep real geometry evidence attached without promoting catalog maturity.\n toast: {\n exportNames: [\"useToast\"],\n proofs: [\n { scenarios: [\"keyboard\"], file: stableCoreProofFile },\n { scenarios: [\"dark\", \"long-copy\", \"large-text\", \"rtl\"], file: \"test/toast-layout.browser.test.tsx\" },\n ],\n },\n select: keyboard(),\n combobox: keyboard(),\n dialog: keyboard(\"test/advanced.browser.test.tsx\"),\n \"alert-dialog\": keyboardAndLongCopy(\"test/alert-dialog.keyboard.browser.test.tsx\"),\n sheet: keyboardAndLongCopy(\"test/sheet-layout.browser.test.tsx\"),\n tooltip: keyboard(\"test/tooltip.browser.test.tsx\"),\n menu: keyboardAndLongCopy(\"test/menu.keyboard.browser.test.tsx\"),\n};\n\nconst exportEntries: Readonly<Record<string, readonly `./${string}`[] | undefined>> = publicExportEntries;\n\n/**\n * One claim per active Web row of the catalog. The subpath is the symbol's canonical granular entry, the export\n * names are the row's own symbol plus the companions published on that entry, and the scenarios are the row's\n * required Web evidence minus recorded gaps. Keyboard is never implied: it comes only from a dedicated proof.\n */\nfunction derivedClaim(entry: ComponentCatalogEntry): ReactRendererEvidenceComponent {\n const componentId = componentIdOf(entry);\n const extras = claimExtras[componentId] ?? {};\n const symbols = entry.name === \"DesignSystemProvider\" ? [\"HjmProvider\"] : [entry.name, ...(entry.companions ?? [])];\n // A row whose own name is not a symbol (Chart) claims through its first published companion.\n const subpath = symbols.map((symbol) => exportEntries[symbol]?.[0]).find((entry) => entry !== undefined);\n if (!subpath) throw new Error(`${entry.name} has no granular @hjmds/react export to claim evidence on`);\n const exportNames = [\n ...symbols.filter((symbol) => exportEntries[symbol]?.includes(subpath)),\n ...(extras.exportNames ?? []),\n ];\n const required = getRequiredShowcaseEvidence(entry).find((evidence) => evidence.surface === \"web\")?.scenarios ?? [];\n const gaps = webScenarioGaps[componentId] ?? [];\n const extraProofs = extras.proofs ?? [];\n const proven = new Set(extraProofs.flatMap((proof) => proof.scenarios));\n const matrix = required.filter((scenario): scenario is ReactRendererEvidenceScenario =>\n scenario !== \"default\" && scenario !== \"keyboard\" && scenario !== \"native-actions\" && scenario !== \"contract\"\n && !gaps.includes(scenario as ReactRendererEvidenceScenario) && !proven.has(scenario as ReactRendererEvidenceScenario));\n const proofs = [\n { scenarios: [\"default\" as const], file: defaultProofFile, caseId: componentId },\n ...(matrix.length === 0 ? [] : [{ scenarios: matrix, file: matrixProofFile, caseId: componentId }]),\n ...extraProofs.map((proof) => ({ ...proof, caseId: componentId })),\n ];\n return {\n componentId,\n exportNames,\n subpath,\n scenarios: proofs.flatMap((proof) => proof.scenarios),\n proofs,\n };\n}\n\nconst activeWebEntries: readonly ComponentCatalogEntry[] = componentCatalog.filter((entry) => {\n const status = getComponentSurfaceStatus(entry, \"web\");\n return status === \"stable\" || status === \"beta\";\n});\n\n/**\n * First-party Web renderer claims. Scenario axes remain fail-closed: the\n * default scenario is an SSR render, the environment and accessibility\n * scenarios are computed-style assertions in scenario-matrix.browser.\n * Keyboard and cross-platform parity remain fail-closed until dedicated\n * interaction or paired-renderer proofs are mapped one-to-one.\n */\nexport const reactRendererEvidence = {\n schemaVersion: reactRendererEvidenceSchemaVersion,\n packageName: \"@hjmds/react\",\n packageVersion: \"1.46.0\",\n surface: \"web\",\n components: activeWebEntries.map(derivedClaim),\n} as const satisfies ReactRendererEvidenceManifest;\n"]}
|
|
1
|
+
{"version":3,"file":"evidence.js","sourceRoot":"","sources":["../src/evidence.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,yBAAyB,EAA8B,MAAM,iCAAiC,CAAC;AACzI,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAU,CAAC;AA6B7D,MAAM,gBAAgB,GAAG,kCAA2C,CAAC;AACrE,MAAM,eAAe,GAAG,uCAAgD,CAAC;AACzE,MAAM,mBAAmB,GAAG,mCAA4C,CAAC;AAIzE;;;;;GAKG;AACH,MAAM,eAAe,GAAuE,EAAE,CAAC;AAc/F,MAAM,QAAQ,GAAG,CAAC,OAAkB,mBAAmB,EAAe,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;AAC3H,MAAM,mBAAmB,GAAG,CAAC,IAAe,EAAe,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;AAE7H,MAAM,WAAW,GAA0C;IACzD,aAAa,EAAE,QAAQ,CAAC,mCAAmC,CAAC;IAC5D,wBAAwB,EAAE,EAAE,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IACF,OAAO;QACL,WAAW;QACX,WAAW;QACX,OAAO;QACP,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;QACrD,MAAM;KACP,CAAC;AACJ,CAAC;AAED,MAAM,gBAAgB,GAAqC,gBAAgB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3F,MAAM,MAAM,GAAG,yBAAyB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACvD,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,MAAM,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,aAAa,EAAE,kCAAkC;IACjD,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,QAAQ;IACxB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,gBAAgB,CAAC,GAAG,CAAC,YAAY,CAAC;CACE,CAAC","sourcesContent":["import type { ShowcaseScenarioId } from \"@hjmds/design-contracts/showcase\";\nimport { getRequiredShowcaseEvidence } from \"@hjmds/design-contracts/showcase\";\nimport { componentCatalog, componentIdOf, getComponentSurfaceStatus, type ComponentCatalogEntry } from \"@hjmds/design-contracts/catalog\";\nimport { publicExportEntries } from \"./public-exports.generated.js\";\n\nexport const reactRendererEvidenceSchemaVersion = 2 as const;\n\nexport type ReactRendererEvidenceScenario = Exclude<ShowcaseScenarioId, \"contract\" | \"native-actions\">;\n\nexport type ReactRendererEvidenceComponent = Readonly<{\n /** Canonical component id from the design-contracts catalog. */\n componentId: string;\n /** Public symbols that implement this contract on the declared subpath. */\n exportNames: readonly string[];\n /** Granular @hjmds/react export used by consumers. */\n subpath: `./${string}`;\n /** Scenarios supported by automated first-party renderer evidence. */\n scenarios: readonly ReactRendererEvidenceScenario[];\n /** Repository-local executable proof for every claimed scenario. */\n proofs: readonly Readonly<{\n scenarios: readonly ReactRendererEvidenceScenario[];\n file: `test/${string}.test.tsx`;\n caseId: string;\n }>[];\n}>;\n\nexport type ReactRendererEvidenceManifest = Readonly<{\n schemaVersion: typeof reactRendererEvidenceSchemaVersion;\n packageName: \"@hjmds/react\";\n packageVersion: string;\n surface: \"web\";\n components: readonly ReactRendererEvidenceComponent[];\n}>;\n\nconst defaultProofFile = \"test/default-render.ssr.test.tsx\" as const;\nconst matrixProofFile = \"test/scenario-matrix.browser.test.tsx\" as const;\nconst stableCoreProofFile = \"test/stable-core.browser.test.tsx\" as const;\n\ntype ProofFile = `test/${string}.test.tsx`;\n\n/**\n * Scenarios a component does not pass yet. Each entry is promotion debt that\n * the generated evidence projection reports; remove it when the component is\n * fixed and the matrix case passes. Stable surfaces cannot carry a gap\n * (scripts/check-workspace-sync.mjs).\n */\nconst webScenarioGaps: Readonly<Record<string, readonly ReactRendererEvidenceScenario[]>> = {};\n\n/**\n * Proofs that live outside the shared default/matrix files: keyboard behavior in a dedicated browser test,\n * long copy proven inside a portal by the component's own test, or a whole matrix run in a component file.\n * Everything else about a claim derives from the catalog row (2026-10-18 registration input).\n */\ntype ClaimExtras = Readonly<{\n /** Extra proofs; their scenarios are removed from the shared matrix proof. */\n proofs?: readonly Readonly<{ scenarios: readonly ReactRendererEvidenceScenario[]; file: ProofFile }>[];\n /** Hooks or helpers published beside the component symbols on the same subpath. */\n exportNames?: readonly string[];\n}>;\n\nconst keyboard = (file: ProofFile = stableCoreProofFile): ClaimExtras => ({ proofs: [{ scenarios: [\"keyboard\"], file }] });\nconst keyboardAndLongCopy = (file: ProofFile): ClaimExtras => ({ proofs: [{ scenarios: [\"keyboard\", \"long-copy\"], file }] });\n\nconst claimExtras: Readonly<Record<string, ClaimExtras>> = {\n \"time-picker\": keyboard(\"test/time-picker.browser.test.tsx\"),\n \"design-system-provider\": { exportNames: [\"useHjmTheme\"] },\n layout: keyboard(),\n link: keyboard(),\n field: keyboard(),\n \"search-field\": keyboard(),\n \"password-field\": keyboard(),\n \"otp-field\": keyboard(),\n \"number-field\": keyboard(),\n slider: keyboard(),\n form: keyboard(\"test/form.keyboard.browser.test.tsx\"),\n \"date-picker\": keyboard(),\n calendar: keyboard(\"test/calendar.browser.test.tsx\"),\n \"file-picker\": keyboard(\"test/file-picker.keyboard.browser.test.tsx\"),\n checkbox: keyboard(),\n \"checkbox-group\": keyboard(),\n \"radio-group\": keyboard(),\n switch: keyboard(),\n \"segmented-control\": keyboard(),\n chip: keyboard(),\n tabs: keyboard(\"test/tabs.keyboard.browser.test.tsx\"),\n breadcrumb: keyboard(\"test/page-navigation.browser.test.tsx\"),\n pagination: keyboard(\"test/pagination.keyboard.browser.test.tsx\"),\n popover: keyboardAndLongCopy(\"test/popover.browser.test.tsx\"),\n \"side-panel\": keyboardAndLongCopy(\"test/side-panel.browser.test.tsx\"),\n splitter: keyboard(\"test/splitter.browser.test.tsx\"),\n tour: keyboardAndLongCopy(\"test/tour.browser.test.tsx\"),\n tree: keyboard(\"test/tree.browser.test.tsx\"),\n \"transfer-list\": keyboard(\"test/transfer-list.browser.test.tsx\"),\n mentions: keyboard(\"test/mentions.browser.test.tsx\"),\n \"command-palette\": keyboardAndLongCopy(\"test/command-palette.browser.test.tsx\"),\n agreement: keyboard(\"test/agreement.keyboard.browser.test.tsx\"),\n \"toggle-group\": keyboard(),\n \"tags-input\": keyboard(),\n \"skip-nav\": keyboardAndLongCopy(\"test/skip-nav.browser.test.tsx\"),\n sidebar: keyboard(\"test/sidebar.browser.test.tsx\"),\n \"date-range-picker\": keyboard(\"test/date-range.keyboard.browser.test.tsx\"),\n \"auth-provider-button\": keyboard(),\n \"data-table\": keyboard(\"test/data-table.keyboard.browser.test.tsx\"),\n collapsible: keyboard(\"test/collapsible.keyboard.browser.test.tsx\"),\n \"context-menu\": keyboardAndLongCopy(\"test/context-menu.interactions.browser.test.tsx\"),\n menubar: keyboard(\"test/menubar.keyboard.browser.test.tsx\"),\n anchor: keyboard(\"test/anchor.browser.test.tsx\"),\n \"bottom-navigation\": keyboard(\"test/bottom-navigation.keyboard.browser.test.tsx\"),\n \"load-more\": keyboard(\"test/load-more.interactions.browser.test.tsx\"),\n carousel: keyboard(\"test/carousel.browser.test.tsx\"),\n \"floating-action-button\": keyboard(),\n accordion: keyboard(\"test/accordion.keyboard.browser.test.tsx\"),\n \"upload-item\": keyboard(\"test/upload-item.browser.test.tsx\"),\n // ThinkingOrb runs its whole environment matrix in its own file (canvas timing), not in scenario-matrix.\n \"thinking-orb\": { proofs: [{ scenarios: [\"dark\", \"large-text\", \"rtl\", \"reduced-motion\", \"accessibility\"], file: \"test/thinking-orb.browser.test.tsx\" }] },\n \"color-picker\": keyboard(\"test/web-additions.browser.test.tsx\"),\n // SSR proves semantics but cannot catch the close-only row seen in BurnTok.\n // Keep real geometry evidence attached without promoting catalog maturity.\n toast: {\n exportNames: [\"useToast\"],\n proofs: [\n { scenarios: [\"keyboard\"], file: stableCoreProofFile },\n { scenarios: [\"dark\", \"long-copy\", \"large-text\", \"rtl\"], file: \"test/toast-layout.browser.test.tsx\" },\n ],\n },\n select: keyboard(),\n combobox: keyboard(),\n dialog: keyboard(\"test/advanced.browser.test.tsx\"),\n \"alert-dialog\": keyboardAndLongCopy(\"test/alert-dialog.keyboard.browser.test.tsx\"),\n sheet: keyboardAndLongCopy(\"test/sheet-layout.browser.test.tsx\"),\n tooltip: keyboard(\"test/tooltip.browser.test.tsx\"),\n menu: keyboardAndLongCopy(\"test/menu.keyboard.browser.test.tsx\"),\n};\n\nconst exportEntries: Readonly<Record<string, readonly `./${string}`[] | undefined>> = publicExportEntries;\n\n/**\n * One claim per active Web row of the catalog. The subpath is the symbol's canonical granular entry, the export\n * names are the row's own symbol plus the companions published on that entry, and the scenarios are the row's\n * required Web evidence minus recorded gaps. Keyboard is never implied: it comes only from a dedicated proof.\n */\nfunction derivedClaim(entry: ComponentCatalogEntry): ReactRendererEvidenceComponent {\n const componentId = componentIdOf(entry);\n const extras = claimExtras[componentId] ?? {};\n const symbols = entry.name === \"DesignSystemProvider\" ? [\"HjmProvider\"] : [entry.name, ...(entry.companions ?? [])];\n // A row whose own name is not a symbol (Chart) claims through its first published companion.\n const subpath = symbols.map((symbol) => exportEntries[symbol]?.[0]).find((entry) => entry !== undefined);\n if (!subpath) throw new Error(`${entry.name} has no granular @hjmds/react export to claim evidence on`);\n const exportNames = [\n ...symbols.filter((symbol) => exportEntries[symbol]?.includes(subpath)),\n ...(extras.exportNames ?? []),\n ];\n const required = getRequiredShowcaseEvidence(entry).find((evidence) => evidence.surface === \"web\")?.scenarios ?? [];\n const gaps = webScenarioGaps[componentId] ?? [];\n const extraProofs = extras.proofs ?? [];\n const proven = new Set(extraProofs.flatMap((proof) => proof.scenarios));\n const matrix = required.filter((scenario): scenario is ReactRendererEvidenceScenario =>\n scenario !== \"default\" && scenario !== \"keyboard\" && scenario !== \"native-actions\" && scenario !== \"contract\"\n && !gaps.includes(scenario as ReactRendererEvidenceScenario) && !proven.has(scenario as ReactRendererEvidenceScenario));\n const proofs = [\n { scenarios: [\"default\" as const], file: defaultProofFile, caseId: componentId },\n ...(matrix.length === 0 ? [] : [{ scenarios: matrix, file: matrixProofFile, caseId: componentId }]),\n ...extraProofs.map((proof) => ({ ...proof, caseId: componentId })),\n ];\n return {\n componentId,\n exportNames,\n subpath,\n scenarios: proofs.flatMap((proof) => proof.scenarios),\n proofs,\n };\n}\n\nconst activeWebEntries: readonly ComponentCatalogEntry[] = componentCatalog.filter((entry) => {\n const status = getComponentSurfaceStatus(entry, \"web\");\n return status === \"stable\" || status === \"beta\";\n});\n\n/**\n * First-party Web renderer claims. Scenario axes remain fail-closed: the\n * default scenario is an SSR render, the environment and accessibility\n * scenarios are computed-style assertions in scenario-matrix.browser.\n * Keyboard and cross-platform parity remain fail-closed until dedicated\n * interaction or paired-renderer proofs are mapped one-to-one.\n */\nexport const reactRendererEvidence = {\n schemaVersion: reactRendererEvidenceSchemaVersion,\n packageName: \"@hjmds/react\",\n packageVersion: \"1.47.0\",\n surface: \"web\",\n components: activeWebEntries.map(derivedClaim),\n} as const satisfies ReactRendererEvidenceManifest;\n"]}
|
package/dist/feedback.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export type ResultProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "tit
|
|
|
52
52
|
layoutStyle?: HjmCompositionStyleProp;
|
|
53
53
|
}>;
|
|
54
54
|
/** A terminal flow outcome. EmptyState remains reserved for fillable content. */
|
|
55
|
-
export declare const Result: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "
|
|
55
|
+
export declare const Result: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "children" | "title"> & Readonly<{
|
|
56
56
|
status: import("@hjmds/design-contracts/components/result").ResultStatus;
|
|
57
57
|
title: string;
|
|
58
58
|
description?: string;
|
|
@@ -16,7 +16,7 @@ export type FloatingActionButtonProps = Pick<ButtonProps, "onClick" | "onFocus"
|
|
|
16
16
|
onContentClearanceChange: (clearance: number) => void;
|
|
17
17
|
}>;
|
|
18
18
|
/** One persistent button preserves focus while its label collapses. */
|
|
19
|
-
export declare const FloatingActionButton: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "
|
|
19
|
+
export declare const FloatingActionButton: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "className" | "onClick" | "id" | "onFocus" | "onBlur"> & Readonly<{
|
|
20
20
|
descriptor: FloatingActionButtonDescriptor;
|
|
21
21
|
size?: "medium" | "large";
|
|
22
22
|
renderIcon: (icon: Readonly<{
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type ScreenLayoutProps } from "./screens.js";
|
|
3
|
+
import { type ListRowProps } from "./display.js";
|
|
4
|
+
export type FollowListPerson = Readonly<{
|
|
5
|
+
id: string;
|
|
6
|
+
username: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
avatar?: ReactNode;
|
|
9
|
+
following: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** Hide for self/unknown relationships; products decide permission and ownership. */
|
|
12
|
+
showFollow?: boolean;
|
|
13
|
+
followLabel?: string;
|
|
14
|
+
followAccessibilityLabel?: string;
|
|
15
|
+
/** Product-owned extra action, such as confirmed removal from my followers. */
|
|
16
|
+
action?: ReactNode;
|
|
17
|
+
/** A confirmed relationship can offer messaging without toggling follow. */
|
|
18
|
+
message?: Readonly<{
|
|
19
|
+
label: string;
|
|
20
|
+
accessibilityLabel?: string;
|
|
21
|
+
onPress(): void;
|
|
22
|
+
}>;
|
|
23
|
+
href?: string;
|
|
24
|
+
renderLink?: ListRowProps["renderLink"];
|
|
25
|
+
}>;
|
|
26
|
+
export type FollowListScreenProps = Omit<ScreenLayoutProps, "children" | "notice" | "contentInset"> & Readonly<{
|
|
27
|
+
tab: "followers" | "following";
|
|
28
|
+
/** Complete localized tab labels, including server-confirmed counts. */
|
|
29
|
+
labels: Readonly<{
|
|
30
|
+
followers: string;
|
|
31
|
+
following: string;
|
|
32
|
+
tabs: string;
|
|
33
|
+
search: string;
|
|
34
|
+
clearSearch: string;
|
|
35
|
+
searching: string;
|
|
36
|
+
empty: string;
|
|
37
|
+
follow: string;
|
|
38
|
+
followed: string;
|
|
39
|
+
pending: string;
|
|
40
|
+
failed: string;
|
|
41
|
+
}>;
|
|
42
|
+
people: readonly FollowListPerson[];
|
|
43
|
+
query: string;
|
|
44
|
+
notice?: ReactNode;
|
|
45
|
+
/** Product sorting and search controls, between tabs and the optional search field. */
|
|
46
|
+
toolbar?: ReactNode;
|
|
47
|
+
searchVisible?: boolean;
|
|
48
|
+
/** Virtualized hosts use scroll="content" and retain HJM's row layout and action scope. */
|
|
49
|
+
renderPeople?: (people: readonly FollowListPerson[], renderPerson: (person: FollowListPerson) => ReactNode) => ReactNode;
|
|
50
|
+
onTabChange(tab: "followers" | "following"): void;
|
|
51
|
+
onQueryChange(query: string): void;
|
|
52
|
+
onOpenProfile(id: string): void;
|
|
53
|
+
/** Resolve after updating people with the server-confirmed state; reject on failure. */
|
|
54
|
+
onFollowChange(id: string, following: boolean): void | Promise<void>;
|
|
55
|
+
}>;
|
|
56
|
+
/** Products own queries, pagination, permissions and mutations. HJM owns the two-tab people layout. */
|
|
57
|
+
export declare function FollowListScreen({ tab, labels, people, query, onTabChange, onQueryChange, onOpenProfile, onFollowChange, state, notice, toolbar, searchVisible, renderPeople, ...screen }: FollowListScreenProps): import("react").JSX.Element;
|
|
58
|
+
//# sourceMappingURL=follow-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"follow-list.d.ts","sourceRoot":"","sources":["../src/follow-list.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGpE,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAM1D,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;IACtC,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,SAAS,CAAC;IAChE,SAAS,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACvC,qFAAqF;IACrF,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAC9E,+EAA+E;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,4EAA4E;IAC5E,OAAO,CAAC,EAAE,QAAQ,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,IAAI,IAAI,CAAA;KAAE,CAAC,CAAC;IACpF,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,YAAY,CAAC,YAAY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CACtE,CAAC,CAAC;AAEH,uGAAuG;AACvG,wBAAgB,gBAAgB,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAoB,EAAE,YAAY,EAAE,GAAG,MAAM,EAAE,EAAE,qBAAqB,+BAyBvN"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useId } from "react";
|
|
4
|
+
import { ScreenLayout } from "./screens.js";
|
|
5
|
+
import { Tabs, TabPanel } from "./navigation.js";
|
|
6
|
+
import { SearchField } from "./forms.js";
|
|
7
|
+
import { ListRow } from "./display.js";
|
|
8
|
+
import { Avatar, List } from "./advanced-display.js";
|
|
9
|
+
import { Stack, Text } from "./layout.js";
|
|
10
|
+
import { Button } from "./actions.js";
|
|
11
|
+
import { useCompositionAction } from "./internal/use-composition-action.js";
|
|
12
|
+
/** Products own queries, pagination, permissions and mutations. HJM owns the two-tab people layout. */
|
|
13
|
+
export function FollowListScreen({ tab, labels, people, query, onTabChange, onQueryChange, onOpenProfile, onFollowChange, state, notice, toolbar, searchVisible = true, renderPeople, ...screen }) {
|
|
14
|
+
const tabsId = useId();
|
|
15
|
+
const contentState = (state?.kind ?? "ready") === "ready" && people.length === 0
|
|
16
|
+
? { kind: "empty", title: labels.empty } : state;
|
|
17
|
+
const renderPerson = (person) => _jsx(FollowPersonRow, { person: person, labels: labels, onOpenProfile: onOpenProfile, onFollowChange: onFollowChange }, person.id);
|
|
18
|
+
return _jsx(ScreenLayout, { ...screen, initialFocus: screen.initialFocus ?? "none", contentInset: "default", ...(contentState ? { state: contentState } : {}), notice: _jsxs(Stack, { gap: "sm", children: [_jsx(Tabs, { id: tabsId, label: labels.tabs, value: tab, onValueChange: value => onTabChange(value), items: [{ id: "followers", label: labels.followers }, { id: "following", label: labels.following }], layout: "fitted", appearance: "standard", indicator: "underline", panelMode: "dynamic", renderPanels: false }), _jsxs(Stack, { gap: "xs", children: [toolbar, searchVisible && _jsx(SearchField, { "aria-label": labels.search, placeholder: labels.search, clearLabel: labels.clearSearch, value: query, onValueChange: onQueryChange })] }), notice] }), children: _jsx(TabPanel, { className: "hjm-follow-list__panel", tabsId: tabsId, activeValue: tab, mode: "dynamic", children: renderPeople ? renderPeople(people, renderPerson) : _jsx(List, { label: labels[tab], separator: "none", appearance: "plain", children: people.map(renderPerson) }) }) });
|
|
19
|
+
}
|
|
20
|
+
function FollowPersonRow({ person, labels, onOpenProfile, onFollowChange }) {
|
|
21
|
+
const action = useCompositionAction(person.disabled);
|
|
22
|
+
// Keep the confirmed relationship visible until success; failures never leave a false followed state.
|
|
23
|
+
return _jsxs(Stack, { gap: "xxs", children: [_jsx(ListRow, { className: "hjm-follow-list__person", title: person.username, ...(person.name ? { description: person.name } : {}), leadingShape: "circle", leadingSize: "large", density: "comfortable", leading: person.avatar ?? _jsx(Avatar, { size: "large", name: person.name ?? person.username, "aria-hidden": true }), ...(person.href ? { href: person.href, ...(person.renderLink ? { renderLink: person.renderLink } : {}) } : { onClick: () => onOpenProfile(person.id) }), trailingAction: _jsxs(Stack, { axis: "inline", gap: "xs", align: "center", children: [person.message ? _jsx(Button, { size: "small", tone: "secondary", "aria-label": person.message.accessibilityLabel ?? `${person.username}: ${person.message.label}`, onClick: person.message.onPress, className: "hjm-follow-list__relationship", children: person.message.label }) : person.showFollow !== false && _jsx(Button, { className: "hjm-follow-list__relationship", size: "small", tone: person.following ? "secondary" : "primary", loading: action.pending, disabled: person.disabled === true, "aria-pressed": person.following, "aria-label": action.pending ? `${person.username}: ${labels.pending}` : person.followAccessibilityLabel ?? `${person.username}: ${person.followLabel ?? (person.following ? labels.followed : labels.follow)}`, onClick: () => { void action.run(!person.following, () => onFollowChange(person.id, !person.following)); }, children: person.followLabel ?? (person.following ? labels.followed : labels.follow) }), person.action] }) }), action.failed ? _jsx(Text, { role: "alert", tone: "danger", children: labels.failed }) : null] });
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=follow-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"follow-list.js","sourceRoot":"","sources":["../src/follow-list.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,KAAK,EAAkB,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,YAAY,EAA0B,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,OAAO,EAAqB,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAkC5E,uGAAuG;AACvG,MAAM,UAAU,gBAAgB,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI,EAAE,YAAY,EAAE,GAAG,MAAM,EAAyB;IACtN,MAAM,MAAM,GAAG,KAAK,EAAE,CAAC;IACvB,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,IAAI,IAAI,OAAO,CAAC,KAAK,OAAO,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAC9E,CAAC,CAAC,EAAE,IAAI,EAAE,OAAgB,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,C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AG,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,YACzG,MAAM,CAAC,WAAW,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GACpE,EAAE,MAAM,CAAC,MAAM,IAAS,GAAI,EACtC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,QAAQ,YAAE,MAAM,CAAC,MAAM,GAAQ,CAAC,CAAC,CAAC,IAAI,IACzE,CAAC;AACX,CAAC","sourcesContent":["\"use client\";\nimport { useId, type ReactNode } from \"react\";\nimport { ScreenLayout, type ScreenLayoutProps } from \"./screens.js\";\nimport { Tabs, TabPanel } from \"./navigation.js\";\nimport { SearchField } from \"./forms.js\";\nimport { ListRow, type ListRowProps } from \"./display.js\";\nimport { Avatar, List } from \"./advanced-display.js\";\nimport { Stack, Text } from \"./layout.js\";\nimport { Button } from \"./actions.js\";\nimport { useCompositionAction } from \"./internal/use-composition-action.js\";\n\nexport type FollowListPerson = Readonly<{\n id: string; username: string; name?: string; avatar?: ReactNode;\n following: boolean; disabled?: boolean;\n /** Hide for self/unknown relationships; products decide permission and ownership. */\n showFollow?: boolean; followLabel?: string; followAccessibilityLabel?: string;\n /** Product-owned extra action, such as confirmed removal from my followers. */\n action?: ReactNode;\n /** A confirmed relationship can offer messaging without toggling follow. */\n message?: Readonly<{ label: string; accessibilityLabel?: string; onPress(): void }>;\n href?: string; renderLink?: ListRowProps[\"renderLink\"];\n}>;\nexport type FollowListScreenProps = Omit<ScreenLayoutProps, \"children\" | \"notice\" | \"contentInset\"> & Readonly<{\n tab: \"followers\" | \"following\";\n /** Complete localized tab labels, including server-confirmed counts. */\n labels: Readonly<{ followers: string; following: string; tabs: string; search: string;\n clearSearch: string; searching: string; empty: string; follow: string; followed: string;\n pending: string; failed: string }>;\n people: readonly FollowListPerson[];\n query: string;\n notice?: ReactNode;\n /** Product sorting and search controls, between tabs and the optional search field. */\n toolbar?: ReactNode;\n searchVisible?: boolean;\n /** Virtualized hosts use scroll=\"content\" and retain HJM's row layout and action scope. */\n renderPeople?: (people: readonly FollowListPerson[], renderPerson: (person: FollowListPerson) => ReactNode) => ReactNode;\n onTabChange(tab: \"followers\" | \"following\"): void;\n onQueryChange(query: string): void;\n onOpenProfile(id: string): void;\n /** Resolve after updating people with the server-confirmed state; reject on failure. */\n onFollowChange(id: string, following: boolean): void | Promise<void>;\n}>;\n\n/** Products own queries, pagination, permissions and mutations. HJM owns the two-tab people layout. */\nexport function FollowListScreen({ tab, labels, people, query, onTabChange, onQueryChange, onOpenProfile, onFollowChange, state, notice, toolbar, searchVisible = true, renderPeople, ...screen }: FollowListScreenProps) {\n const tabsId = useId();\n const contentState = (state?.kind ?? \"ready\") === \"ready\" && people.length === 0\n ? { kind: \"empty\" as const, title: labels.empty } : state;\n const renderPerson = (person: FollowListPerson) => <FollowPersonRow key={person.id} person={person} labels={labels}\n onOpenProfile={onOpenProfile} onFollowChange={onFollowChange} />;\n return <ScreenLayout {...screen} initialFocus={screen.initialFocus ?? \"none\"} contentInset=\"default\"\n {...(contentState ? { state: contentState } : {})}\n notice={<Stack gap=\"sm\">\n <Tabs id={tabsId} label={labels.tabs} value={tab} onValueChange={value => onTabChange(value as \"followers\" | \"following\")}\n items={[{ id: \"followers\", label: labels.followers }, { id: \"following\", label: labels.following }]}\n layout=\"fitted\" appearance=\"standard\" indicator=\"underline\" panelMode=\"dynamic\" renderPanels={false} />\n <Stack gap=\"xs\">\n {toolbar}\n {searchVisible && <SearchField aria-label={labels.search} placeholder={labels.search} clearLabel={labels.clearSearch}\n value={query} onValueChange={onQueryChange} />}\n </Stack>\n {notice}\n </Stack>}>\n <TabPanel className=\"hjm-follow-list__panel\" tabsId={tabsId} activeValue={tab} mode=\"dynamic\">\n {renderPeople ? renderPeople(people, renderPerson) : <List label={labels[tab]} separator=\"none\" appearance=\"plain\">\n {people.map(renderPerson)}\n </List>}\n </TabPanel>\n </ScreenLayout>;\n}\n\nfunction FollowPersonRow({ person, labels, onOpenProfile, onFollowChange }: Pick<FollowListScreenProps, \"labels\" | \"onOpenProfile\" | \"onFollowChange\"> & { person: FollowListPerson }) {\n const action = useCompositionAction<boolean>(person.disabled);\n // Keep the confirmed relationship visible until success; failures never leave a false followed state.\n return <Stack gap=\"xxs\">\n <ListRow className=\"hjm-follow-list__person\" title={person.username} {...(person.name ? { description: person.name } : {})} leadingShape=\"circle\" leadingSize=\"large\" density=\"comfortable\"\n leading={person.avatar ?? <Avatar size=\"large\" name={person.name ?? person.username} aria-hidden />}\n {...(person.href ? { href: person.href, ...(person.renderLink ? { renderLink: person.renderLink } : {}) } : { onClick: () => onOpenProfile(person.id) })}\n trailingAction={<Stack axis=\"inline\" gap=\"xs\" align=\"center\">{person.message ? <Button size=\"small\" tone=\"secondary\"\n aria-label={person.message.accessibilityLabel ?? `${person.username}: ${person.message.label}`}\n onClick={person.message.onPress} className=\"hjm-follow-list__relationship\">\n {person.message.label}\n </Button> : person.showFollow !== false && <Button className=\"hjm-follow-list__relationship\" size=\"small\" tone={person.following ? \"secondary\" : \"primary\"}\n loading={action.pending} disabled={person.disabled === true}\n aria-pressed={person.following}\n aria-label={action.pending ? `${person.username}: ${labels.pending}` : person.followAccessibilityLabel ?? `${person.username}: ${person.followLabel ?? (person.following ? labels.followed : labels.follow)}`}\n onClick={() => { void action.run(!person.following, () => onFollowChange(person.id, !person.following)); }}>\n {person.followLabel ?? (person.following ? labels.followed : labels.follow)}\n </Button>}{person.action}</Stack>} />\n {action.failed ? <Text role=\"alert\" tone=\"danger\">{labels.failed}</Text> : null}\n </Stack>;\n}\n"]}
|
package/dist/forms.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ export type SearchFieldIconRenderProps = Readonly<{
|
|
|
182
182
|
color: "currentColor";
|
|
183
183
|
size: number;
|
|
184
184
|
}>;
|
|
185
|
-
export declare const SearchField: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "
|
|
185
|
+
export declare const SearchField: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "value" | "defaultValue"> & Readonly<{
|
|
186
186
|
label?: ReactNode;
|
|
187
187
|
description?: ReactNode;
|
|
188
188
|
error?: ReactNode;
|
|
@@ -247,7 +247,7 @@ export type PasswordFieldProps = Omit<TextFieldProps, "autoComplete" | "characte
|
|
|
247
247
|
renderToggleIcon?: (props: PasswordFieldToggleRenderProps) => ReactNode;
|
|
248
248
|
}>;
|
|
249
249
|
/** Password input with an independently controlled, selection-safe reveal action. */
|
|
250
|
-
export declare const PasswordField: import("react").ForwardRefExoticComponent<Omit<TextFieldProps, "
|
|
250
|
+
export declare const PasswordField: import("react").ForwardRefExoticComponent<Omit<TextFieldProps, "type" | "size" | "value" | "defaultValue" | "trailing" | "autoComplete" | "characterCount"> & Readonly<{
|
|
251
251
|
value?: string;
|
|
252
252
|
defaultValue?: string;
|
|
253
253
|
onValueChange?: (value: string) => void;
|
|
@@ -271,7 +271,7 @@ export type OtpFieldProps = Omit<TextFieldProps, "autoComplete" | "characterCoun
|
|
|
271
271
|
busy?: boolean;
|
|
272
272
|
}>;
|
|
273
273
|
/** One accessible numeric input rendered as decorative OTP slots. */
|
|
274
|
-
export declare const OtpField: import("react").ForwardRefExoticComponent<Omit<TextFieldProps, "
|
|
274
|
+
export declare const OtpField: import("react").ForwardRefExoticComponent<Omit<TextFieldProps, "type" | "size" | "value" | "defaultValue" | "variant" | "leading" | "trailing" | "shape" | "maxLength" | "autoComplete" | "characterCount"> & Readonly<{
|
|
275
275
|
length: number;
|
|
276
276
|
value?: string;
|
|
277
277
|
defaultValue?: string;
|
package/dist/image-viewer.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export type ImageViewerTriggerProps = Omit<ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
33
33
|
* Button around product media that opens ImageViewer. The product keeps the viewer's `open` state and calls it from
|
|
34
34
|
* `onClick`; the trigger owns the name, focus ring on the image frame radius, zoom cursor and pressed opacity.
|
|
35
35
|
*/
|
|
36
|
-
export declare const ImageViewerTrigger: import("react").ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "
|
|
36
|
+
export declare const ImageViewerTrigger: import("react").ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "type" | "style" | "aria-label"> & Readonly<{
|
|
37
37
|
/** Localized accessible name, e.g. "사진 크게 보기". The media inside is decorative. */
|
|
38
38
|
label: string;
|
|
39
39
|
/** Product media (HJM `Image` with `decorative`, `<img alt="">`). */
|
package/dist/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export { TagsInput, type TagsInputProps } from "./tags-input.js";
|
|
|
47
47
|
export { SkipNav, type SkipNavProps } from "./skip-nav.js";
|
|
48
48
|
export { BottomInfo, type BottomInfoProps } from "./bottom-info.js";
|
|
49
49
|
export { Sidebar, type SidebarLinkRenderProps, type SidebarProps, type SidebarSize } from "./sidebar.js";
|
|
50
|
-
export { DateRangePicker, type DateRangePickerProps } from "./date-range.js";
|
|
50
|
+
export { DateRangePicker, type DateRangePickerProps, type DateRangePresetOption, type DateRangeSummary } from "./date-range.js";
|
|
51
51
|
export { OverlayStackProvider, useOverlayStack, useDialog, useSheet, type OverlayStackApi, type OverlayStackProviderProps, type OverlayHandle, } from "./overlay-stack.js";
|
|
52
52
|
export { AuthProviderButton, type AuthProviderButtonProps } from "./provider-button.js";
|
|
53
53
|
export { AuthScreenLayout, AuthScreenHero, AuthScreenFooter, type AuthScreenLayoutProps, type AuthScreenHeroProps, type AuthScreenFooterProps, type AuthScreenPolicyLink } from "./auth-screen.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","s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AAM,kBAAkB,CAAC;AACzF,OAAO,EAAE,WAAW,EAA+C,MAAM,mBAAmB,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAqB,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,UAAU,EAAyC,MAAM,YAAY,CAAC;AAEtF,OAAO,EAAE,UAAU,EAAwB,MAAM,kBAAkB,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAwB,MAAM,kBAAkB,CAAC","sourcesContent":["export {\n HjmProvider,\n useHjmTheme,\n type HjmBrandPalette,\n type HjmProviderHost,\n type HjmProviderProps,\n} from \"./provider.js\";\n\nexport { TopBar, type TopBarProps } from \"./top-bar.js\";\nexport { BottomCTA, type BottomCTAAction, type BottomCTAProps } from \"./bottom-cta.js\";\n\nexport {\n hjmCompositionStyleKeys,\n type HjmCompositionStyle,\n type HjmCompositionStyleKey,\n type HjmCompositionStyleProp,\n} from \"./composition-style.js\";\n\nexport {\n AspectRatio,\n Container,\n Grid,\n Layout,\n Section,\n Stack,\n Surface,\n Text,\n VisuallyHidden,\n type AspectRatioProps,\n type AspectRatioValue,\n type ContainerGutter,\n type ContainerProps,\n type ContainerSize,\n type GridGap,\n type GridProps,\n type LayoutProps,\n type LayoutSidebar,\n type SectionProps,\n type StackAlign,\n type StackAxis,\n type StackGap,\n type StackJustify,\n type StackProps,\n type SurfacePadding,\n type SurfaceProps,\n type SurfaceRadius,\n type SurfaceTone,\n type TextEmphasis,\n type TextProps,\n type TextTone,\n type VisuallyHiddenProps,\n} from \"./layout.js\";\n\nexport {\n Button,\n ButtonLink,\n type ButtonLinkProps,\n IconButton,\n IconButtonLink,\n type IconButtonLinkProps,\n Link,\n type ButtonAlign,\n type ButtonProps,\n type ButtonShape,\n type ButtonAppearance,\n type ButtonSize,\n type ButtonTone,\n type IconButtonProps,\n type IconButtonShape,\n type IconButtonSize,\n type IconButtonTone,\n type LinkRenderProps,\n type LinkProps,\n} from \"./actions.js\";\n\nexport {\n Field,\n OtpField,\n PasswordField,\n SearchField,\n TextArea,\n TextField,\n type FieldControlProps,\n type FieldProps,\n type OtpFieldProps,\n type PasswordFieldProps,\n type PasswordFieldToggleRenderProps,\n type SearchFieldProps,\n type SearchFieldIconRenderProps,\n type TextAreaProps,\n type TextFieldProps,\n} from \"./forms.js\";\n\nexport {\n Combobox,\n Form,\n type ComboboxItem,\n type ComboboxOpenChangeReason,\n type ComboboxProps,\n type FormProps,\n type FormSubmitHandler,\n NativeSelect,\n type NativeSelectProps,\n type SelectOption,\n} from \"./advanced-forms.js\";\n\nexport {\n Select,\n type SelectItem,\n type SelectLeadingRenderProps,\n type SelectOptionLeadingRenderProps,\n type SelectProps,\n type SelectSection,\n} from \"./select.js\";\n\nexport {\n NumberField,\n type NumberFieldProps,\n} from \"./number-field.js\";\n\nexport {\n Slider,\n type SliderProps,\n} from \"./slider.js\";\n\nexport {\n DatePicker,\n type DatePickerMonthAction,\n type DatePickerProps,\n} from \"./date-picker.js\";\n\nexport {\n FilePicker,\n type FilePickerProps,\n} from \"./file-picker.js\";\n\nexport {\n Checkbox,\n CheckboxGroup,\n Chip,\n Radio,\n RadioGroup,\n SegmentedControl,\n Switch,\n type CheckboxProps,\n type CheckboxGroupItem,\n type CheckboxGroupProps,\n type ChipProps,\n type ChoiceLeadingRenderProps,\n type RadioProps,\n type RadioGroupItem,\n type RadioGroupProps,\n type SegmentedControlItem,\n type SegmentedControlProps,\n type SwitchProps,\n type SwitchSize,\n} from \"./selection.js\";\n\nexport {\n TabPanel,\n Tabs,\n getDynamicTabPanelId,\n getTabId,\n getTabPanelId,\n type TabLeadingRenderProps,\n type TabItem,\n type TabPanelProps,\n type TabsProps,\n} from \"./navigation.js\";\n\nexport { Breadcrumb, type BreadcrumbProps } from \"./breadcrumb.js\";\nexport { Pagination, type PaginationProps } from \"./pagination.js\";\n\nexport {\n LoadMore,\n type LoadMoreProps,\n} from \"./supplemental-navigation.js\";\n\nexport {\n Steps,\n type StepsProps,\n} from \"./steps.js\";\n\nexport {\n BottomNavigation,\n BottomNavigationInsetProvider,\n useBottomNavigationInset,\n getBottomNavigationGridColumn,\n isUnmodifiedPrimaryBottomNavigationClick,\n shouldHideBottomNavigationForKeyboard,\n type BottomNavigationIconRenderProps,\n type BottomNavigationInsetProviderProps,\n type BottomNavigationLinkRenderProps,\n type BottomNavigationProps,\n} from \"./bottom-navigation.js\";\n\nexport {\n Badge,\n Card,\n QuoteCard,\n ListRow,\n Tag,\n type BadgeProps,\n type BadgeVariant,\n type CardHeadingLevel,\n type CardProps,\n type QuoteCardProps,\n type ListRowProps,\n type TagProps,\n type TagTone,\n} from \"./display.js\";\n\nexport {\n CounterBadge,\n Icon,\n Image,\n type CounterBadgeProps,\n type IconProps,\n type ImageAdapterProps,\n type ImageProps,\n} from \"./supplemental-display.js\";\n\nexport {\n Accordion,\n Avatar,\n AvatarGroup,\n type AvatarGroupProps,\n DescriptionList,\n Divider,\n List,\n ListSeparator,\n Statistic,\n StatisticGroup,\n Table,\n Timeline,\n type AccordionItem,\n type AccordionProps,\n type AvatarProps,\n type AvatarImageRenderProps,\n type DescriptionListProps,\n type DividerInset,\n type DividerOrientation,\n type DividerProps,\n type ListAppearance,\n type ListProps,\n type ListSeparatorProps,\n type StatisticProps,\n type StatisticGroupProps,\n type StatisticTrendMarkRenderProps,\n type ComposeStatisticAccessibilityLabel,\n type TableColumn,\n type TableProps,\n type TableSortDirection,\n type TimelineProps,\n} from \"./advanced-display.js\";\n\nexport {\n UploadItem,\n type UploadItemProps,\n} from \"./upload-item.js\";\n\nexport {\n EmptyState,\n Notice,\n Progress,\n Result,\n Skeleton,\n Spinner,\n PendingContent,\n type PendingContentProps,\n type EmptyStateProps,\n type NoticeProps,\n type ProgressProps,\n type ResultProps,\n type SkeletonProps,\n type SpinnerProps,\n} from \"./feedback.js\";\n\nexport {\n Toast,\n ToastProvider,\n useToast,\n type ToastApi,\n type ToastProps,\n type ToastProviderProps,\n} from \"./toast.js\";\n\nexport {\n AlertDialog,\n Dialog,\n ImmersiveOverlay,\n Menu,\n Sheet,\n Tooltip,\n type AlertDialogProps,\n type DialogOpenChangeReason,\n type DialogProps,\n type ImmersiveOverlayOpenChangeReason,\n type ImmersiveOverlayProps,\n type MenuItem,\n type MenuAsyncState,\n type MenuOpenChangeReason,\n type MenuProps,\n type MenuSection,\n type OverlayTrigger,\n type SheetPlacement,\n type SheetProps,\n type SheetSize,\n type TooltipProps,\n} from \"./overlays.js\";\n\nexport { Carousel, PageIndicator, type CarouselProps, type CarouselLabels, type PageIndicatorProps } from \"./carousel.js\";\n\nexport { FloatingActionButton, useFloatingActionButtonScroll, resolveFloatingActionButtonContentClearance, type FloatingActionButtonProps } from \"./floating-action-button.js\";\n\nexport { Calendar, type CalendarProps, type CalendarMonthAction, type CalendarHandle, type CalendarOverflow } from \"./calendar.js\";\n\nexport { Anchor, type AnchorProps } from \"./anchor.js\";\n\nexport { Popover, type PopoverProps, type PopoverContentActions } from \"./popover.js\";\nexport { SidePanel, type SidePanelProps } from \"./side-panel.js\";\nexport { Splitter, type SplitterProps } from \"./splitter.js\";\nexport { Tour, type TourProps } from \"./tour.js\";\nexport { Tree, type TreeProps } from \"./tree.js\";\nexport { TransferList, type TransferListProps, type TransferListLabels } from \"./transfer-list.js\";\nexport { Mentions, type MentionsProps, type MentionCandidate } from \"./mentions.js\";\nexport { CommandPalette, type CommandPaletteProps } from \"./command-palette.js\";\nexport { Agreement, type AgreementProps } from \"./agreement.js\";\nexport { Top, type TopProps } from \"./top.js\";\nexport { Heading, type HeadingProps } from \"./heading.js\";\nexport { TextFormat, type TextFormatProps } from \"./text-formats.js\";\nexport { ClipboardButton, ClipboardIconButton, type ClipboardButtonProps, type ClipboardIconButtonProps } from \"./clipboard.js\";\nexport { ToggleGroup, type ToggleGroupProps } from \"./toggle-group.js\";\nexport { TagsInput, type TagsInputProps } from \"./tags-input.js\";\nexport { SkipNav, type SkipNavProps } from \"./skip-nav.js\";\nexport { BottomInfo, type BottomInfoProps } from \"./bottom-info.js\";\nexport { Sidebar, type SidebarLinkRenderProps, type SidebarProps, type SidebarSize } from \"./sidebar.js\";\nexport { DateRangePicker, type DateRangePickerProps } from \"./date-range.js\";\nexport {\n OverlayStackProvider,\n useOverlayStack,\n useDialog,\n useSheet,\n type OverlayStackApi,\n type OverlayStackProviderProps,\n type OverlayHandle,\n} from \"./overlay-stack.js\";\nexport { AuthProviderButton, type AuthProviderButtonProps } from \"./provider-button.js\";\nexport { AuthScreenLayout, AuthScreenHero, AuthScreenFooter, type AuthScreenLayoutProps, type AuthScreenHeroProps, type AuthScreenFooterProps, type AuthScreenPolicyLink } from \"./auth-screen.js\";\nexport { DataTable, type DataTableProps, type DataTableLabels } from \"./data-table.js\";\nexport { Collapsible, CollapsibleMarker, type CollapsibleProps } from \"./collapsible.js\";\nexport { ContextMenu, type ContextMenuItem, type ContextMenuProps } from \"./context-menu.js\";\nexport { Menubar, type MenubarProps } from \"./menubar.js\";\nexport { Asset, AssetGroup, type AssetProps, type AssetGroupProps } from \"./asset.js\";\n\nexport { StatusText, type StatusTextProps } from \"./status-text.js\";\n\nexport { TimePicker, type TimePickerProps } from \"./time-picker.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,WAAW,GAIZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAoB,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,SAAS,EAA6C,MAAM,iBAAiB,CAAC;AAEvF,OAAO,EACL,uBAAuB,GAIxB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,WAAW,EACX,SAAS,EACT,IAAI,EACJ,MAAM,EACN,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,EACJ,cAAc,GAwBf,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,MAAM,EACN,UAAU,EAEV,UAAU,EACV,cAAc,EAEd,IAAI,GAaL,MAAM,cAAc,CAAC;AAEt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1D,OAAO,EAAE,UAAU,EAAwB,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAA4D,MAAM,gBAAgB,CAAC;AAChI,OAAO,EAAE,WAAW,EAAyB,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAuB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAqB,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAwB,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAoE,MAAM,cAAc,CAAC;AACzG,OAAO,EAAE,eAAe,EAAgF,MAAM,iBAAiB,CAAC;AAChI,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,SAAS,EACT,QAAQ,GAIT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAgC,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAA+G,MAAM,kBAAkB,CAAC;AACnM,OAAO,EAAE,SAAS,EAA6C,MAAM,iBAAiB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAyB,MAAM,kBAAkB,CAAC;AACzF,OAAO,EAAE,WAAW,EAA+C,MAAM,mBAAmB,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAqB,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,UAAU,EAAyC,MAAM,YAAY,CAAC;AAEtF,OAAO,EAAE,UAAU,EAAwB,MAAM,kBAAkB,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAwB,MAAM,kBAAkB,CAAC","sourcesContent":["export {\n HjmProvider,\n useHjmTheme,\n type HjmBrandPalette,\n type HjmProviderHost,\n type HjmProviderProps,\n} from \"./provider.js\";\n\nexport { TopBar, type TopBarProps } from \"./top-bar.js\";\nexport { BottomCTA, type BottomCTAAction, type BottomCTAProps } from \"./bottom-cta.js\";\n\nexport {\n hjmCompositionStyleKeys,\n type HjmCompositionStyle,\n type HjmCompositionStyleKey,\n type HjmCompositionStyleProp,\n} from \"./composition-style.js\";\n\nexport {\n AspectRatio,\n Container,\n Grid,\n Layout,\n Section,\n Stack,\n Surface,\n Text,\n VisuallyHidden,\n type AspectRatioProps,\n type AspectRatioValue,\n type ContainerGutter,\n type ContainerProps,\n type ContainerSize,\n type GridGap,\n type GridProps,\n type LayoutProps,\n type LayoutSidebar,\n type SectionProps,\n type StackAlign,\n type StackAxis,\n type StackGap,\n type StackJustify,\n type StackProps,\n type SurfacePadding,\n type SurfaceProps,\n type SurfaceRadius,\n type SurfaceTone,\n type TextEmphasis,\n type TextProps,\n type TextTone,\n type VisuallyHiddenProps,\n} from \"./layout.js\";\n\nexport {\n Button,\n ButtonLink,\n type ButtonLinkProps,\n IconButton,\n IconButtonLink,\n type IconButtonLinkProps,\n Link,\n type ButtonAlign,\n type ButtonProps,\n type ButtonShape,\n type ButtonAppearance,\n type ButtonSize,\n type ButtonTone,\n type IconButtonProps,\n type IconButtonShape,\n type IconButtonSize,\n type IconButtonTone,\n type LinkRenderProps,\n type LinkProps,\n} from \"./actions.js\";\n\nexport {\n Field,\n OtpField,\n PasswordField,\n SearchField,\n TextArea,\n TextField,\n type FieldControlProps,\n type FieldProps,\n type OtpFieldProps,\n type PasswordFieldProps,\n type PasswordFieldToggleRenderProps,\n type SearchFieldProps,\n type SearchFieldIconRenderProps,\n type TextAreaProps,\n type TextFieldProps,\n} from \"./forms.js\";\n\nexport {\n Combobox,\n Form,\n type ComboboxItem,\n type ComboboxOpenChangeReason,\n type ComboboxProps,\n type FormProps,\n type FormSubmitHandler,\n NativeSelect,\n type NativeSelectProps,\n type SelectOption,\n} from \"./advanced-forms.js\";\n\nexport {\n Select,\n type SelectItem,\n type SelectLeadingRenderProps,\n type SelectOptionLeadingRenderProps,\n type SelectProps,\n type SelectSection,\n} from \"./select.js\";\n\nexport {\n NumberField,\n type NumberFieldProps,\n} from \"./number-field.js\";\n\nexport {\n Slider,\n type SliderProps,\n} from \"./slider.js\";\n\nexport {\n DatePicker,\n type DatePickerMonthAction,\n type DatePickerProps,\n} from \"./date-picker.js\";\n\nexport {\n FilePicker,\n type FilePickerProps,\n} from \"./file-picker.js\";\n\nexport {\n Checkbox,\n CheckboxGroup,\n Chip,\n Radio,\n RadioGroup,\n SegmentedControl,\n Switch,\n type CheckboxProps,\n type CheckboxGroupItem,\n type CheckboxGroupProps,\n type ChipProps,\n type ChoiceLeadingRenderProps,\n type RadioProps,\n type RadioGroupItem,\n type RadioGroupProps,\n type SegmentedControlItem,\n type SegmentedControlProps,\n type SwitchProps,\n type SwitchSize,\n} from \"./selection.js\";\n\nexport {\n TabPanel,\n Tabs,\n getDynamicTabPanelId,\n getTabId,\n getTabPanelId,\n type TabLeadingRenderProps,\n type TabItem,\n type TabPanelProps,\n type TabsProps,\n} from \"./navigation.js\";\n\nexport { Breadcrumb, type BreadcrumbProps } from \"./breadcrumb.js\";\nexport { Pagination, type PaginationProps } from \"./pagination.js\";\n\nexport {\n LoadMore,\n type LoadMoreProps,\n} from \"./supplemental-navigation.js\";\n\nexport {\n Steps,\n type StepsProps,\n} from \"./steps.js\";\n\nexport {\n BottomNavigation,\n BottomNavigationInsetProvider,\n useBottomNavigationInset,\n getBottomNavigationGridColumn,\n isUnmodifiedPrimaryBottomNavigationClick,\n shouldHideBottomNavigationForKeyboard,\n type BottomNavigationIconRenderProps,\n type BottomNavigationInsetProviderProps,\n type BottomNavigationLinkRenderProps,\n type BottomNavigationProps,\n} from \"./bottom-navigation.js\";\n\nexport {\n Badge,\n Card,\n QuoteCard,\n ListRow,\n Tag,\n type BadgeProps,\n type BadgeVariant,\n type CardHeadingLevel,\n type CardProps,\n type QuoteCardProps,\n type ListRowProps,\n type TagProps,\n type TagTone,\n} from \"./display.js\";\n\nexport {\n CounterBadge,\n Icon,\n Image,\n type CounterBadgeProps,\n type IconProps,\n type ImageAdapterProps,\n type ImageProps,\n} from \"./supplemental-display.js\";\n\nexport {\n Accordion,\n Avatar,\n AvatarGroup,\n type AvatarGroupProps,\n DescriptionList,\n Divider,\n List,\n ListSeparator,\n Statistic,\n StatisticGroup,\n Table,\n Timeline,\n type AccordionItem,\n type AccordionProps,\n type AvatarProps,\n type AvatarImageRenderProps,\n type DescriptionListProps,\n type DividerInset,\n type DividerOrientation,\n type DividerProps,\n type ListAppearance,\n type ListProps,\n type ListSeparatorProps,\n type StatisticProps,\n type StatisticGroupProps,\n type StatisticTrendMarkRenderProps,\n type ComposeStatisticAccessibilityLabel,\n type TableColumn,\n type TableProps,\n type TableSortDirection,\n type TimelineProps,\n} from \"./advanced-display.js\";\n\nexport {\n UploadItem,\n type UploadItemProps,\n} from \"./upload-item.js\";\n\nexport {\n EmptyState,\n Notice,\n Progress,\n Result,\n Skeleton,\n Spinner,\n PendingContent,\n type PendingContentProps,\n type EmptyStateProps,\n type NoticeProps,\n type ProgressProps,\n type ResultProps,\n type SkeletonProps,\n type SpinnerProps,\n} from \"./feedback.js\";\n\nexport {\n Toast,\n ToastProvider,\n useToast,\n type ToastApi,\n type ToastProps,\n type ToastProviderProps,\n} from \"./toast.js\";\n\nexport {\n AlertDialog,\n Dialog,\n ImmersiveOverlay,\n Menu,\n Sheet,\n Tooltip,\n type AlertDialogProps,\n type DialogOpenChangeReason,\n type DialogProps,\n type ImmersiveOverlayOpenChangeReason,\n type ImmersiveOverlayProps,\n type MenuItem,\n type MenuAsyncState,\n type MenuOpenChangeReason,\n type MenuProps,\n type MenuSection,\n type OverlayTrigger,\n type SheetPlacement,\n type SheetProps,\n type SheetSize,\n type TooltipProps,\n} from \"./overlays.js\";\n\nexport { Carousel, PageIndicator, type CarouselProps, type CarouselLabels, type PageIndicatorProps } from \"./carousel.js\";\n\nexport { FloatingActionButton, useFloatingActionButtonScroll, resolveFloatingActionButtonContentClearance, type FloatingActionButtonProps } from \"./floating-action-button.js\";\n\nexport { Calendar, type CalendarProps, type CalendarMonthAction, type CalendarHandle, type CalendarOverflow } from \"./calendar.js\";\n\nexport { Anchor, type AnchorProps } from \"./anchor.js\";\n\nexport { Popover, type PopoverProps, type PopoverContentActions } from \"./popover.js\";\nexport { SidePanel, type SidePanelProps } from \"./side-panel.js\";\nexport { Splitter, type SplitterProps } from \"./splitter.js\";\nexport { Tour, type TourProps } from \"./tour.js\";\nexport { Tree, type TreeProps } from \"./tree.js\";\nexport { TransferList, type TransferListProps, type TransferListLabels } from \"./transfer-list.js\";\nexport { Mentions, type MentionsProps, type MentionCandidate } from \"./mentions.js\";\nexport { CommandPalette, type CommandPaletteProps } from \"./command-palette.js\";\nexport { Agreement, type AgreementProps } from \"./agreement.js\";\nexport { Top, type TopProps } from \"./top.js\";\nexport { Heading, type HeadingProps } from \"./heading.js\";\nexport { TextFormat, type TextFormatProps } from \"./text-formats.js\";\nexport { ClipboardButton, ClipboardIconButton, type ClipboardButtonProps, type ClipboardIconButtonProps } from \"./clipboard.js\";\nexport { ToggleGroup, type ToggleGroupProps } from \"./toggle-group.js\";\nexport { TagsInput, type TagsInputProps } from \"./tags-input.js\";\nexport { SkipNav, type SkipNavProps } from \"./skip-nav.js\";\nexport { BottomInfo, type BottomInfoProps } from \"./bottom-info.js\";\nexport { Sidebar, type SidebarLinkRenderProps, type SidebarProps, type SidebarSize } from \"./sidebar.js\";\nexport { DateRangePicker, type DateRangePickerProps, type DateRangePresetOption, type DateRangeSummary } from \"./date-range.js\";\nexport {\n OverlayStackProvider,\n useOverlayStack,\n useDialog,\n useSheet,\n type OverlayStackApi,\n type OverlayStackProviderProps,\n type OverlayHandle,\n} from \"./overlay-stack.js\";\nexport { AuthProviderButton, type AuthProviderButtonProps } from \"./provider-button.js\";\nexport { AuthScreenLayout, AuthScreenHero, AuthScreenFooter, type AuthScreenLayoutProps, type AuthScreenHeroProps, type AuthScreenFooterProps, type AuthScreenPolicyLink } from \"./auth-screen.js\";\nexport { DataTable, type DataTableProps, type DataTableLabels } from \"./data-table.js\";\nexport { Collapsible, CollapsibleMarker, type CollapsibleProps } from \"./collapsible.js\";\nexport { ContextMenu, type ContextMenuItem, type ContextMenuProps } from \"./context-menu.js\";\nexport { Menubar, type MenubarProps } from \"./menubar.js\";\nexport { Asset, AssetGroup, type AssetProps, type AssetGroupProps } from \"./asset.js\";\n\nexport { StatusText, type StatusTextProps } from \"./status-text.js\";\n\nexport { TimePicker, type TimePickerProps } from \"./time-picker.js\";\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DateRangeCellPaint } from "@hjmds/design-contracts/components/date-range";
|
|
2
|
+
export type CalendarPaint = Readonly<{
|
|
3
|
+
paint: (date: string) => DateRangeCellPaint;
|
|
4
|
+
/** Pointer preview of the not-yet-committed end. */
|
|
5
|
+
onDayHover: (date: string) => void;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const CalendarPaintContext: import("react").Context<Readonly<{
|
|
8
|
+
paint: (date: string) => DateRangeCellPaint;
|
|
9
|
+
/** Pointer preview of the not-yet-committed end. */
|
|
10
|
+
onDayHover: (date: string) => void;
|
|
11
|
+
}> | null>;
|
|
12
|
+
//# sourceMappingURL=calendar-paint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-paint.d.ts","sourceRoot":"","sources":["../../src/internal/calendar-paint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAKxF,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,kBAAkB,CAAC;IAC5C,oDAAoD;IACpD,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC,CAAC;AAEH,eAAO,MAAM,oBAAoB;WALxB,CAAC,IAAI,EAAE,MAAM,KAAK,kBAAkB;IAC3C,oDAAoD;gBACxC,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI;UAGyC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-paint.js","sourceRoot":"","sources":["../../src/internal/calendar-paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAYtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAuB,IAAI,CAAC,CAAC","sourcesContent":["import { createContext } from \"react\";\nimport type { DateRangeCellPaint } from \"@hjmds/design-contracts/components/date-range\";\n\n// DateRangePicker paints its band and two filled edges through Calendar's own day cells instead of\n// renderCellContent: the content slot adds a label line to every row and an absolutely positioned layer inside\n// it could not reach the date circle (2026-10-25 range redesign). Internal so Calendar's public API is unchanged.\nexport type CalendarPaint = Readonly<{\n paint: (date: string) => DateRangeCellPaint;\n /** Pointer preview of the not-yet-committed end. */\n onDayHover: (date: string) => void;\n}>;\n\nexport const CalendarPaintContext = createContext<CalendarPaint | null>(null);\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HjmCompositionStyleProp } from "../composition-style.js";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export declare function IdentityAction({ action, children, layoutStyle }: Readonly<{
|
|
4
|
+
action: Readonly<{
|
|
5
|
+
label: string;
|
|
6
|
+
onPress(): void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
layoutStyle?: HjmCompositionStyleProp;
|
|
11
|
+
}>): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=identity-action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity-action.d.ts","sourceRoot":"","sources":["../../src/internal/identity-action.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,QAAQ,CAAC;IAAE,MAAM,EAAE,QAAQ,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,IAAI,IAAI,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAC;IAAC,WAAW,CAAC,EAAE,uBAAuB,CAAA;CAAE,CAAC,+BAGnN"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { iconButtonRecipe } from "@hjmds/design-contracts/recipes";
|
|
3
|
+
// Interactive identity marks reserve the standard control target; navigation stays outside bubble gestures.
|
|
4
|
+
export function IdentityAction({ action, children, layoutStyle }) {
|
|
5
|
+
if (!action.label.trim())
|
|
6
|
+
throw new TypeError("Member profile action requires a localized label");
|
|
7
|
+
return _jsx("button", { type: "button", className: "hjm-identity-action", style: { ...layoutStyle, minInlineSize: iconButtonRecipe.sizes.medium.diameter, minBlockSize: iconButtonRecipe.sizes.medium.diameter, opacity: action.disabled ? iconButtonRecipe.states.disabledOpacity : undefined, "--hjm-identity-pressed-opacity": iconButtonRecipe.states.pressedOpacity, "--hjm-identity-target": `${iconButtonRecipe.sizes.medium.diameter}px` }, disabled: action.disabled, "aria-label": action.label, title: action.label, onClick: event => { event.stopPropagation(); if (!action.disabled)
|
|
8
|
+
action.onPress(); }, children: _jsx("span", { "aria-hidden": "true", children: children }) });
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=identity-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity-action.js","sourceRoot":"","sources":["../../src/internal/identity-action.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAInE,4GAA4G;AAC5G,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAsJ;IAClN,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE;QAAE,MAAM,IAAI,SAAS,CAAC,kDAAkD,CAAC,CAAC;IAClG,OAAO,iBAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,qBAAqB,EAAC,KAAK,EAAE,EAAC,GAAG,WAAW,EAAC,aAAa,EAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAC,YAAY,EAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAC,OAAO,EAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAA,gBAAgB,CAAC,MAAM,CAAC,eAAe,CAAA,CAAC,CAAA,SAAS,EAAC,gCAAgC,EAAC,gBAAgB,CAAC,MAAM,CAAC,cAAc,EAAC,uBAAuB,EAAC,GAAG,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,gBAAc,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,IAAG,CAAC,MAAM,CAAC,QAAQ;YAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,YAAE,8BAAkB,MAAM,YAAE,QAAQ,GAAQ,GAAS,CAAC;AAC9nB,CAAC","sourcesContent":["import { iconButtonRecipe } from \"@hjmds/design-contracts/recipes\";\nimport type { HjmCompositionStyleProp } from \"../composition-style.js\";\nimport type { CSSProperties, ReactNode } from \"react\";\n\n// Interactive identity marks reserve the standard control target; navigation stays outside bubble gestures.\nexport function IdentityAction({ action, children, layoutStyle }: Readonly<{ action: Readonly<{ label: string; onPress(): void; disabled?: boolean }>; children: ReactNode; layoutStyle?: HjmCompositionStyleProp }>) {\n if (!action.label.trim()) throw new TypeError(\"Member profile action requires a localized label\");\n return <button type=\"button\" className=\"hjm-identity-action\" style={{...layoutStyle,minInlineSize:iconButtonRecipe.sizes.medium.diameter,minBlockSize:iconButtonRecipe.sizes.medium.diameter,opacity:action.disabled?iconButtonRecipe.states.disabledOpacity:undefined,\"--hjm-identity-pressed-opacity\":iconButtonRecipe.states.pressedOpacity,\"--hjm-identity-target\":`${iconButtonRecipe.sizes.medium.diameter}px`} as CSSProperties} disabled={action.disabled} aria-label={action.label} title={action.label} onClick={event => { event.stopPropagation(); if(!action.disabled)action.onPress(); }}><span aria-hidden=\"true\">{children}</span></button>;\n}\n\n"]}
|
package/dist/internal.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export declare const DesignProfileContext: import("react").Context<Readonly<{
|
|
|
28
28
|
tokens: Readonly<{
|
|
29
29
|
radius: Readonly<Record<"sm" | "md" | "lg" | "xl" | "full", number>>;
|
|
30
30
|
fontFamily: import("@hjmds/design-contracts/foundations").FontFamilyRoles;
|
|
31
|
-
typography: Readonly<Record<"
|
|
31
|
+
typography: Readonly<Record<"label" | "title" | "caption" | "heading" | "body" | "bodyLarge" | "titleLarge", Readonly<{
|
|
32
32
|
fontSize: number;
|
|
33
33
|
lineHeight: number;
|
|
34
34
|
fontWeight: import("@hjmds/design-contracts/foundations").FontWeightValue;
|
package/dist/layout.d.ts
CHANGED
|
@@ -219,7 +219,7 @@ export type SectionProps = Omit<HTMLAttributes<HTMLElement>, "children" | "title
|
|
|
219
219
|
layoutStyle?: HjmCompositionStyleProp;
|
|
220
220
|
}>;
|
|
221
221
|
/** Large-text-safe semantic content section with an optional header action. */
|
|
222
|
-
export declare const Section: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLElement>, "
|
|
222
|
+
export declare const Section: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLElement>, "children" | "title"> & Readonly<{
|
|
223
223
|
title?: ReactNode;
|
|
224
224
|
description?: ReactNode;
|
|
225
225
|
action?: ReactNode;
|
package/dist/overlays.d.ts
CHANGED
|
@@ -204,6 +204,10 @@ type MenuBaseProps = Readonly<{
|
|
|
204
204
|
presentation?: MenuPresentation;
|
|
205
205
|
/** Required for grouped/bottom; accessible and visible dismiss label. */
|
|
206
206
|
dismissLabel?: string;
|
|
207
|
+
title?: string;
|
|
208
|
+
description?: string;
|
|
209
|
+
/** Modal menus may put the close command beside a compact heading. */
|
|
210
|
+
dismissPlacement?: "header" | "footer" | "none";
|
|
207
211
|
/** Logical alignment against the trigger; automatically mirrors in RTL. */
|
|
208
212
|
align?: "start" | "end";
|
|
209
213
|
disabled?: boolean;
|
package/dist/overlays.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../src/overlays.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAwB,KAAK,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AACtG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAIjF,OAAO,EAKL,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EAExB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAML,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC5B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACtB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAGL,WAAW,EAGX,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf,OAAO,EAOL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,uBAAu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B,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC;qBACpC,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC;IACpD,mFAAmF;oBACnE,MAAM;sBACJ,WAAW;gBACjB,MAAM;mDA6DlB,CAAC"}
|
package/dist/overlays.js
CHANGED
|
@@ -592,7 +592,7 @@ export const Menu = forwardRef(function Menu(props, ref) {
|
|
|
592
592
|
comfortable: menuRecipe.defaults.density,
|
|
593
593
|
compact: "compact",
|
|
594
594
|
});
|
|
595
|
-
const { trigger, label, density: densityProp, presentation = "anchored", dismissLabel, align = "start", disabled = false, asyncState = { status: "idle" }, onAction, onActionAfterDismiss, portalContainer, open: openProp, defaultOpen, onOpenChange, className, layoutStyle, } = props;
|
|
595
|
+
const { trigger, label, density: densityProp, presentation = "anchored", dismissLabel, title, description, dismissPlacement = "footer", align = "start", disabled = false, asyncState = { status: "idle" }, onAction, onActionAfterDismiss, portalContainer, open: openProp, defaultOpen, onOpenChange, className, layoutStyle, } = props;
|
|
596
596
|
const density = densityProp ?? densityDefault;
|
|
597
597
|
if (presentation !== "anchored" && !dismissLabel?.trim())
|
|
598
598
|
throw new TypeError("Modal Menu requires dismissLabel");
|
|
@@ -831,7 +831,7 @@ export const Menu = forwardRef(function Menu(props, ref) {
|
|
|
831
831
|
useModalFocus({ active: open && presentation !== "anchored", contentRef,
|
|
832
832
|
fallbackReturnRef: triggerRef, onEscape: () => close("escape", true) });
|
|
833
833
|
const showItems = asyncState.status !== "empty" && asyncState.status !== "error";
|
|
834
|
-
const content = (_jsxs("div", { ref: setMenuContentRef, id: id, role: "menu", "aria-label": label, className: classNames("hjm-menu__content", className), "data-presentation": presentation, "data-density": density, "data-async-state": asyncState.status, "data-placement": popupPosition.placement, "data-align": popupPosition.align, "aria-busy": asyncState.status === "loading" || asyncState.status === "loadingMore" || undefined, style: presentation === "anchored" ? popupPosition.style : undefined, tabIndex: -1, onKeyDown: handleMenuKeyDown, children: [asyncState.status !== "idle" ? (_jsx("div", { className: "hjm-menu__state-message", role: asyncState.status === "error" ? "alert" : "status", children: asyncState.message })) : null, _jsx("div", { className: "hjm-menu__viewport", children: showItems ? (sections === undefined ? items.map((item, index) => {
|
|
834
|
+
const content = (_jsxs("div", { ref: setMenuContentRef, id: id, role: "menu", "aria-label": label, className: classNames("hjm-menu__content", className), "data-presentation": presentation, "data-dismiss-placement": dismissPlacement, "data-density": density, "data-async-state": asyncState.status, "data-placement": popupPosition.placement, "data-align": popupPosition.align, "aria-busy": asyncState.status === "loading" || asyncState.status === "loadingMore" || undefined, style: presentation === "anchored" ? popupPosition.style : undefined, tabIndex: -1, onKeyDown: handleMenuKeyDown, children: [presentation !== "anchored" && (title || description || dismissPlacement === "header") ? (_jsxs("div", { className: "hjm-menu__header", children: [_jsxs("div", { className: "hjm-menu__heading", children: [title ? _jsx("div", { className: "hjm-menu__title", children: title }) : null, description ? _jsx("div", { className: "hjm-menu__subtitle", children: description }) : null] }), dismissPlacement === "header" ? _jsx("button", { type: "button", className: "hjm-dialog__close", "aria-label": dismissLabel, onClick: () => close("programmatic", true), children: "\u00D7" }) : null] })) : null, asyncState.status !== "idle" ? (_jsx("div", { className: "hjm-menu__state-message", role: asyncState.status === "error" ? "alert" : "status", children: asyncState.message })) : null, _jsx("div", { className: "hjm-menu__viewport", children: showItems ? (sections === undefined ? items.map((item, index) => {
|
|
835
835
|
const selected = itemSelected(item.id);
|
|
836
836
|
const itemDisabled = itemIsDisabled(item);
|
|
837
837
|
const role = selectionMode === "single"
|
|
@@ -856,7 +856,7 @@ export const Menu = forwardRef(function Menu(props, ref) {
|
|
|
856
856
|
: "menuitem";
|
|
857
857
|
return renderMenuItem(item, index, role, selected, itemDisabled);
|
|
858
858
|
})] })] }, section.id));
|
|
859
|
-
})) : null }), presentation !== "anchored" ? _jsx(Button, { tone: "secondary", role: "menuitem", onClick: () => close("programmatic", true), children: dismissLabel }) : null] }));
|
|
859
|
+
})) : null }), presentation !== "anchored" && dismissPlacement === "footer" ? _jsx(Button, { tone: "secondary", role: "menuitem", onClick: () => close("programmatic", true), children: dismissLabel }) : null] }));
|
|
860
860
|
return (_jsxs("span", { ref: wrapperRef, className: "hjm-menu", style: layoutStyle, "data-state": open ? "open" : "closed", children: [renderedTrigger, open ? presentation === "anchored" ? (_jsx(AnchoredPortal, { anchorRef: triggerRef, ssrFallback: "inline", ...(portalContainer === undefined ? {} : { container: portalContainer }), children: content })) : (_jsx(HjmPortal, { ...(portalContainer === undefined ? {} : { container: portalContainer }), children: _jsx("div", { className: "hjm-overlay hjm-menu-positioner", "data-presentation": presentation, style: { zIndex: getModalLayer(0) }, onPointerDown: event => { if (event.target === event.currentTarget)
|
|
861
861
|
close("outside", true); }, children: content }) })) : null] }));
|
|
862
862
|
function renderMenuItem(item, index, role, selected, itemDisabled) {
|